mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(chord): Chord v2 web and terminal surfaces (slice 11)
- Web: base bundles built from the app's entry at start (content-hashed, served forever), plugin scripts that register themselves and one combined file, WebScripts/TuiScripts showing the current set, startPage with the connection loop, in-place plugin reloads and a reload on a new base bundle. - React bindings: HostProvider, useHold, useWatch, useRegistry, useRefState. - Terminal: startTerminal, a launcher that signs in with a token, a token file or device pairing and always runs the app's terminal code in a sandboxed child process (pipes, empty environment, --permission granting nothing, no SQLite, a builtin allowlist and a frozen process inside); output filter, confirmed copy/open/attach actions; startTerminalRuntime and TuiScope inside. - Themes: the Themes registry, ThemeChoice per principal, CSS variables on the page, terminal colours by role; CSS modules in plugin builds. - App kit: startServer gains web and tui; startApp renamed startServer, exportAddress/importAddress renamed exportData/importData and export no longer stops the worker; ephemeral sessions end with their client's last link. - Examples 56-web, 57-tui, 58-themes, 59-chat.
This commit is contained in:
parent
9c248717da
commit
5bc4145165
151 changed files with 9376 additions and 392 deletions
|
|
@ -13,9 +13,16 @@
|
|||
"@earendil-works/chord/next/plugins/runtime": ["./packages/chord/src/next-node/plugins/runtime.ts"],
|
||||
"@acme/app/*": ["./packages/chord/test/next/examples/49-plugin-api/app/*.ts"],
|
||||
"@notes/app/*": ["./packages/chord/test/next/examples/53-app/app/*.ts"],
|
||||
"@board/app/*": ["./packages/chord/test/next/examples/56-web/app/*.ts"],
|
||||
"@chat/app/*": ["./packages/chord/test/next/examples/59-chat/app/*.ts"],
|
||||
"@earendil-works/chord/next/http": ["./packages/chord/src/next-node/http/index.ts"],
|
||||
"@earendil-works/chord/next/workers": ["./packages/chord/src/next-node/workers/index.ts"],
|
||||
"@earendil-works/chord/next/app": ["./packages/chord/src/next-node/app/index.ts"],
|
||||
"@earendil-works/chord/next/web": ["./packages/chord/src/next-web/index.ts"],
|
||||
"@earendil-works/chord/next/web/server": ["./packages/chord/src/next-node/surfaces/index.ts"],
|
||||
"@earendil-works/chord/next/react": ["./packages/chord/src/next-react/index.ts"],
|
||||
"@earendil-works/chord/next/tui": ["./packages/chord/src/next-tui/index.ts"],
|
||||
"@earendil-works/chord/next/tui/launcher": ["./packages/chord/src/next-node/tui/index.ts"],
|
||||
"@earendil-works/chord/node": ["./packages/chord/src/node.ts"],
|
||||
"@earendil-works/chord/output": ["./packages/chord/src/output.ts"],
|
||||
"@earendil-works/chord/telemetry-sqlite": ["./packages/chord/src/telemetry-sqlite/index.ts"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue