Commit Graph

24 Commits

Author SHA1 Message Date
Simon Klee 0733b5382c runtime: support Bun 1.4 (#1400) 2026-09-04 21:09:49 +02:00
Sebastian 09a0dd695d fix(native): ship stripped libraries with separate release symbols (#1437) 2026-08-31 22:38:28 +02:00
Sebastian e69cf0cc54 ci: migrate npm publishing to OIDC (#1395) 2026-08-20 18:42:01 +02:00
Simon Klee 6dec16a77c native: move Zig sources into packages/native (#1391)
Separate the native implementation from the TypeScript bindings. Keep
core on
the public bindings and keep the current native artifact packages and
release
workflows.

packages/native owns the Zig source, tests, benches, and vendor updates.
The
package is private and unpublished for now Core still packages the
@opentui/core-* artifacts. build:native, test:native, and bench:native
still
work from core and delegate to native.

Expose a Zig import root and a no-JS hello example for proof of concept,
not a focus point, just a smoke test.
2026-08-20 11:34:03 +02:00
Simon Klee 532917707b core: migrate to zig 0.16 (#1286)
Mechanically migrate core to Zig 0.16 without changing behavior,
ownership or api.

- Pin Zig `0.16.0`
- Port the build graph to 0.16 module-level C/C++ APIs; replace
`@cImport` with Translate-C for
  miniaudio and Yoga.
- Add one process-lifetime `std.Io.Threaded.init_single_threaded` seam;
keep existing `std.Thread.spawn` for renderer/audio (no `Io.async` /
`Evented` yet)
- Migrate locks, clocks, writers, allocators, and removed std APIs
- Forward SSH/mosh markers in auto terminal env so remote sessions do
not inherit host
  capabilities
- Upgrade to Unicode 17 data from `uucode`

**Out of scope:** `std.Io.Evented`, renderer/FFI redesign, fixing
pre-existing issues.


| Surface                        | Result             |
| ------------------------------ | ------------------ |
| Production exports             | 347 unchanged      |
| Linux dynamic export names     | Identical (1,760)  |
| TS FFI struct layouts          | Byte-identical     |
| Linux glibc floor              | Still `GLIBC_2.17` |
| Release targets / native paths | Unchanged          |
2026-08-07 12:40:13 +02:00
James Long 92081082a4 build(core): statically link libghostty (#1317)
---------

Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-08-05 16:02:22 +02:00
Sebastian 6ae5d05c8e feat(core): support ICC PNG profiles (#1327) 2026-08-04 03:32:21 +02:00
Sebastian 078bb44862 feat(core): add native image rendering (#1283)
---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-08-03 01:15:56 +02:00
Matt Simpson 9ef4691410 feat(ssh): add @opentui/ssh package (#1151)
## Summary

Adds `@opentui/ssh`, renderer-agnostic ssh server package for serving
apps to remote terminals.

Highlights:
- `createServer(config).use(...).serve(handler)` builder api with typed
middleware context
- open, public key, password, and keyboard-interactive auth, including
verified public-key possession and `authorized_keys` allowlists
- host key loading/generation, startup banner, logging middleware,
session resize/close hooks, raw writes, idle/max timeouts, and graceful
shutdown

---------

Co-authored-by: opencode-agent <opencode-agent@opencode.ai>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-06-11 00:41:50 +02:00
Simon Klee 5da54b9091 ci: fix Zig cache restore on Blacksmith (#1164)
Use Blacksmith-compatible cache restoration so CI jobs can reuse Zig
artifacts instead of rebuilding them on every run.
2026-06-10 10:06:59 +02:00
blacksmith-sh[bot] 4c9a82793b .github/workflows: Migrate workflows to Blacksmith runners (#1159)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-06-09 08:52:20 +02:00
Simon Klee 4d038e2d2c ci: harden workflow execution (#1153)
Pin tool versions, restrict permissions and trusted triggers, and update
actions. Ensure preview releases validate the complete package set.
2026-06-08 11:57:51 +02:00
Sebastian Herrlinger 0d449d4c17 fix musl release 2026-06-04 15:21:06 +02:00
Sebastian db12ee3b19 upgrade gh workflows to node 24 (#1117) 2026-05-28 00:55:46 +02:00
Allyn Malventano 8c11fc9b30 fix(core): guard recalculateBarProps sticky scroll with _hasManualScroll (#1088)
---------

Co-authored-by: malventano <malventano@users.noreply.github.com>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-05-27 00:08:06 +02:00
Filip ebd8c99d50 feat: qr code component (#1021)
---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-05-20 15:16:26 +02:00
Simon Klee deca33147f ci: replace zig action (#1031) 2026-05-06 22:18:14 +02:00
Simon Klee a10e71c9bf chore(three): move three-related code to separate package (#994)
I moved examples to packages/three. When we add a separate
packages/examples i'll merge it in again, but just keep it simple for
now.

Close #408
2026-04-30 11:01:13 +02:00
Sebastian Herrlinger 97d2493040 fix release maybe 2026-04-28 02:53:01 +02:00
Sebastian f1c511780e Keymap (#983)
See `docs/keymap/overview.mdx` for details.

---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-04-28 02:10:37 +02:00
Sebastian Herrlinger f7a3f0a40b build all packages for CI 2026-01-08 23:42:38 +01:00
Matt Simpson 63eb8d8450 chore: remove unmaintained vue and go packages (#494) 2026-01-08 16:02:58 +01:00
Tommy D. Rossi c85d93284a Upgrade to Zig 0.15.2 (#439)
---------

Co-authored-by: Sebastian <hasta84@gmail.com>
2026-01-06 16:26:37 +01:00
Sebastian 7104c68208 setup release pipeline (no it is not stable yet) (#312) 2025-11-13 12:05:56 +01:00