@hachej/boring-ui-cli 0.1.53 → 0.1.54
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/dist/server/modeApps.js +8 -1
- package/package.json +6 -6
package/dist/server/modeApps.js
CHANGED
|
@@ -501,7 +501,14 @@ async function createWorkspacesModeApp(opts) {
|
|
|
501
501
|
},
|
|
502
502
|
getWorkspaceId: async (request) => (await workspaceFromRequest(request)).id,
|
|
503
503
|
getWorkspaceRoot: async (workspaceId) => (await requireWorkspace(workspaceId)).path,
|
|
504
|
-
|
|
504
|
+
// Intentionally NOT namespaced by workspace id. Returning undefined makes the
|
|
505
|
+
// session store fall back to defaultSessionDir(workspaceRoot), whose cwd-encoding
|
|
506
|
+
// is byte-identical to pi-coding-agent's getDefaultSessionDirPath. So CLI-mode
|
|
507
|
+
// sessions land in the exact ~/.pi/agent/sessions/--<path>-- folder a standalone
|
|
508
|
+
// `pi` run in the same workspace uses, and the two share one session list both
|
|
509
|
+
// ways. Trade-off: sessions are keyed by filesystem path, not registry id — moving
|
|
510
|
+
// a workspace orphans its old sessions (acceptable; unification is the goal).
|
|
511
|
+
getSessionNamespace: async () => void 0,
|
|
505
512
|
provisionRuntime: async ({ workspaceId, workspaceRoot, runtimeMode, runtimeLayout, provisioningAdapter }) => {
|
|
506
513
|
if (runtimeProvisioningByWorkspace.has(workspaceId)) {
|
|
507
514
|
return runtimeProvisioningByWorkspace.get(workspaceId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-ui-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.54",
|
|
4
4
|
"description": "Turn an agent into an app",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"lucide-react": "^1.8.0",
|
|
21
21
|
"typescript": "^5.8.3",
|
|
22
22
|
"vite": "^6.0.0",
|
|
23
|
-
"@hachej/boring-
|
|
24
|
-
"@hachej/boring-ui-kit": "0.1.
|
|
25
|
-
"@hachej/boring-ui-plugin-cli": "0.1.
|
|
26
|
-
"@hachej/boring-workspace": "0.1.
|
|
27
|
-
"@hachej/boring-
|
|
23
|
+
"@hachej/boring-agent": "0.1.54",
|
|
24
|
+
"@hachej/boring-ui-kit": "0.1.54",
|
|
25
|
+
"@hachej/boring-ui-plugin-cli": "0.1.54",
|
|
26
|
+
"@hachej/boring-workspace": "0.1.54",
|
|
27
|
+
"@hachej/boring-ask-user": "0.1.54"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@tailwindcss/vite": "^4.0.0",
|