@co0ontty/wand 4.53.0 → 4.54.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/dist/build-info.json +3 -3
- package/dist/git-quick-commit.js +1 -1
- package/dist/process-manager.js +6 -3
- package/dist/server-session-routes.js +1 -1
- package/dist/server-workspace-routes.d.ts +1 -1
- package/dist/server-workspace-routes.js +91 -37
- package/dist/session-topic.d.ts +14 -2
- package/dist/session-topic.js +107 -2
- package/dist/storage.d.ts +7 -1
- package/dist/storage.js +57 -11
- package/dist/structured-grok-adapter.js +116 -0
- package/dist/structured-opencode-adapter.js +1 -1
- package/dist/structured-pi-adapter.js +84 -16
- package/dist/structured-qoder-adapter.js +4 -0
- package/dist/terminal-daemon-client.d.ts +1 -0
- package/dist/terminal-daemon-client.js +33 -9
- package/dist/types.d.ts +6 -0
- package/dist/types.js +2 -1
- package/dist/web-ui/content/scripts.js +178 -74
- package/dist/web-ui/content/styles.css +1 -1
- package/dist/web-ui/embedded-assets.js +2 -2
- package/dist/workspace-binding.js +2 -1
- package/package.json +1 -1
|
@@ -33,7 +33,8 @@ export function findWorkspaceByCwd(storage, cwd) {
|
|
|
33
33
|
const normalized = normalizeProjectCwd(cwd);
|
|
34
34
|
if (!normalized)
|
|
35
35
|
return null;
|
|
36
|
-
|
|
36
|
+
const matches = storage.listWorkspaces().filter((workspace) => normalizeProjectCwd(workspace.cwd) === normalized);
|
|
37
|
+
return matches.find((workspace) => workspace.kind !== "global") ?? matches[0] ?? null;
|
|
37
38
|
}
|
|
38
39
|
function defaultWorkspaceNameForCwd(storage, cwd) {
|
|
39
40
|
const normalized = normalizeProjectCwd(cwd);
|