@treeport/treeport 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/dist-BsLn2Gbc.js +1630 -0
- package/dist/node/cli/index.js +95 -72
- package/dist/node/server/core/launcher.js +11 -49
- package/dist/node/server/index.js +10049 -8120
- package/dist/node/server/terminal-host-entry.js +962 -0
- package/dist/{shell-integration-Be_c91lw.js → shell-integration-CPmrVa3B.js} +46 -46
- package/dist/terminal-host-protocol-DZkQRAUF.js +378 -0
- package/dist/{update-qVp7yL5D.js → update-UYS2lMdD.js} +86 -56
- package/dist/web/assets/index-BWYDUD7N.css +2 -0
- package/dist/web/assets/index-C5cx0N4G.js +84 -0
- package/dist/web/index.html +2 -2
- package/drizzle/0012_terminal_host_cutover.sql +41 -0
- package/drizzle/0013_workspace_item_order.sql +13 -0
- package/drizzle/meta/0012_snapshot.json +919 -0
- package/drizzle/meta/0013_snapshot.json +987 -0
- package/drizzle/meta/_journal.json +14 -0
- package/package.json +18 -13
- package/skills/treeport/SKILL.md +4 -4
- package/dist/dist-Crk_Xr82.js +0 -735
- package/dist/web/assets/index-2LLiNn3-.js +0 -146
- package/dist/web/assets/index-DmDs47YU.css +0 -2
|
@@ -85,6 +85,20 @@
|
|
|
85
85
|
"when": 1787939530241,
|
|
86
86
|
"tag": "0011_free_magdalene",
|
|
87
87
|
"breakpoints": true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"idx": 12,
|
|
91
|
+
"version": "6",
|
|
92
|
+
"when": 1788000000000,
|
|
93
|
+
"tag": "0012_terminal_host_cutover",
|
|
94
|
+
"breakpoints": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"idx": 13,
|
|
98
|
+
"version": "6",
|
|
99
|
+
"when": 1788100000000,
|
|
100
|
+
"tag": "0013_workspace_item_order",
|
|
101
|
+
"breakpoints": true
|
|
88
102
|
}
|
|
89
103
|
]
|
|
90
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeport/treeport",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A tree-first terminal driver for persistent development workspaces.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -35,26 +35,29 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@effect/opentelemetry": "^0.64.0",
|
|
39
|
+
"@effect/platform": "^0.97.1",
|
|
40
|
+
"@effect/platform-node": "^0.108.1",
|
|
41
|
+
"@effect/rpc": "^0.76.2",
|
|
40
42
|
"@libsql/client": "^0.17.4",
|
|
43
|
+
"@opentelemetry/sdk-trace-base": "^2.11.0",
|
|
44
|
+
"@opentelemetry/sdk-trace-node": "^2.11.0",
|
|
41
45
|
"@playwright/cli": "0.1.18",
|
|
42
46
|
"@radix-ui/react-context-menu": "^2.3.7",
|
|
43
47
|
"@vitejs/plugin-react": "5.2.0",
|
|
44
|
-
"@xterm/
|
|
48
|
+
"@xterm/addon-serialize": "0.15.0-beta.301",
|
|
49
|
+
"@xterm/headless": "6.1.0-beta.303",
|
|
45
50
|
"cmdk": "^1.1.1",
|
|
46
51
|
"commander": "14.0.3",
|
|
47
52
|
"drizzle-orm": "^0.45.2",
|
|
48
|
-
"effect": "^3.22.
|
|
49
|
-
"hono": "^4.11.7",
|
|
53
|
+
"effect": "^3.22.1",
|
|
50
54
|
"jsonc-parser": "^3.3.1",
|
|
51
55
|
"node-pty": "1.2.0-beta.14",
|
|
52
56
|
"playwright": "1.61.1",
|
|
53
|
-
"socket.io": "4.8.3",
|
|
54
|
-
"socket.io-client": "4.8.3",
|
|
55
57
|
"vite": "8.1.5",
|
|
58
|
+
"ws": "^8.21.1",
|
|
56
59
|
"zod": "^4.3.6",
|
|
57
|
-
"@treeport/panel-sdk": "0.
|
|
60
|
+
"@treeport/panel-sdk": "0.7.0"
|
|
58
61
|
},
|
|
59
62
|
"devDependencies": {
|
|
60
63
|
"@fontsource-variable/inter": "^5.2.8",
|
|
@@ -71,9 +74,11 @@
|
|
|
71
74
|
"@tanstack/react-router": "^1.170.18",
|
|
72
75
|
"@types/react": "^19.2.10",
|
|
73
76
|
"@types/react-dom": "^19.2.3",
|
|
74
|
-
"@
|
|
75
|
-
"@xterm/addon-
|
|
76
|
-
"@xterm/
|
|
77
|
+
"@types/ws": "^8.18.1",
|
|
78
|
+
"@xterm/addon-fit": "0.12.0-beta.301",
|
|
79
|
+
"@xterm/addon-image": "0.10.0-beta.301",
|
|
80
|
+
"@xterm/addon-web-links": "0.13.0-beta.301",
|
|
81
|
+
"@xterm/xterm": "6.1.0-beta.304",
|
|
77
82
|
"class-variance-authority": "^0.7.1",
|
|
78
83
|
"clsx": "^2.1.1",
|
|
79
84
|
"drizzle-kit": "^0.31.10",
|
|
@@ -92,7 +97,7 @@
|
|
|
92
97
|
"build:node": "tsdown",
|
|
93
98
|
"build:web": "vite build",
|
|
94
99
|
"check:package": "node scripts/check-package.mjs",
|
|
95
|
-
"test:package": "node scripts/smoke-package.mjs",
|
|
100
|
+
"test:package": "node scripts/smoke-package.mjs && node scripts/smoke-upgrade.mjs",
|
|
96
101
|
"dev": "node scripts/development.mjs",
|
|
97
102
|
"dev:server": "rm -rf .treeport-dev-dist && TREEPORT_DATA_DIR=.treeport-dev/data TREEPORT_RUNTIME_DIR=.treeport-dev/runtime TREEPORT_DAEMON_LIFECYCLE=external tsdown --watch --out-dir .treeport-dev-dist",
|
|
98
103
|
"start": "TREEPORT_WEB_DIST=dist/web node dist/node/server/index.js",
|
package/skills/treeport/SKILL.md
CHANGED
|
@@ -8,7 +8,7 @@ compatibility: Requires the treeport CLI on PATH and a reachable Treeport daemon
|
|
|
8
8
|
|
|
9
9
|
In a managed Pi session, use the injected CLI guidance for routine terminal and browser operations. Load this skill only when you need more detail.
|
|
10
10
|
|
|
11
|
-
Treeport is a generic terminal and tree layer. Its terminals are
|
|
11
|
+
Treeport is a generic terminal and tree layer. Its persistent terminals are owned by Treeport's detached terminal host and appear in the Treeport UI. A user can open a created terminal, take control of the normal application TUI, and continue working in the same session.
|
|
12
12
|
|
|
13
13
|
Treeport does not define task sources, planning or approval states, agent tool policies, or provider-specific workflows. The caller owns names, commands, prompts, and higher-level orchestration.
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ Treeport does not define task sources, planning or approval states, agent tool p
|
|
|
23
23
|
- When the lifecycle is `external`, never run `treeport start`, `treeport stop`, or `treeport remote enable`.
|
|
24
24
|
- In the external lifecycle, the parent process owns startup, shutdown, and remote exposure.
|
|
25
25
|
- When the lifecycle is `service`, normal `start` and `stop` delegate to the OS manager.
|
|
26
|
-
- Use bare `treeport update` to update a supported local npm installation. It preserves
|
|
26
|
+
- Use bare `treeport update` to update a supported local npm installation. It preserves hosted terminals and an enabled service, and restarts only a daemon that was running.
|
|
27
27
|
- Never run bare `treeport update` for an external or selected remote daemon.
|
|
28
28
|
- Never invoke `sudo` for a normal service or update operation.
|
|
29
29
|
- Normal macOS service mode is a user/login LaunchAgent and does not need an administrator.
|
|
@@ -61,7 +61,7 @@ Launch a program directly:
|
|
|
61
61
|
treeport terminal create --worktree <tree-id> --name <terminal-name> -- <program> <arg> ...
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
The command returns after
|
|
64
|
+
The command returns after the detached terminal host creates the session. The program continues independently of the browser, API daemon, and caller that created it.
|
|
65
65
|
|
|
66
66
|
## Create a child tree and terminal
|
|
67
67
|
|
|
@@ -82,7 +82,7 @@ Treeport serializes tree mutations per project. If a caller needs several child
|
|
|
82
82
|
|
|
83
83
|
## Interpret creation results
|
|
84
84
|
|
|
85
|
-
A successful `terminal create` means the
|
|
85
|
+
A successful `terminal create` means the hosted terminal was created. The requested program can still exit later.
|
|
86
86
|
|
|
87
87
|
`spawn` is intentionally non-atomic after Git creates the worktree:
|
|
88
88
|
|