@co0ontty/wand 4.45.0 → 4.45.1
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/config.d.ts +1 -8
- package/dist/config.js +2 -2
- package/dist/distribution-manager.d.ts +5 -0
- package/dist/distribution-manager.js +13 -0
- package/dist/message-truncator.d.ts +0 -15
- package/dist/message-truncator.js +2 -2
- package/dist/middleware/rate-limit.d.ts +0 -1
- package/dist/middleware/rate-limit.js +1 -1
- package/dist/mission-types.d.ts +2 -1
- package/dist/models.d.ts +6 -5
- package/dist/npm-update-utils.d.ts +0 -17
- package/dist/npm-update-utils.js +5 -5
- package/dist/password-manager.d.ts +2 -5
- package/dist/password-manager.js +4 -4
- package/dist/pidfile.d.ts +0 -1
- package/dist/pidfile.js +1 -1
- package/dist/server-session-routes.d.ts +1 -2
- package/dist/server-session-routes.js +1 -1
- package/dist/server-update-routes.d.ts +2 -0
- package/dist/server-update-routes.js +7 -0
- package/dist/server.d.ts +2 -1
- package/dist/session-transport.d.ts +2 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +1 -1
- package/dist/structured-claude-adapter.d.ts +2 -1
- package/dist/structured-claude-protocol.d.ts +0 -1
- package/dist/structured-claude-protocol.js +1 -1
- package/dist/structured-codex-protocol.d.ts +1 -1
- package/dist/structured-opencode-adapter.d.ts +0 -1
- package/dist/structured-opencode-adapter.js +1 -1
- package/dist/structured-session-manager.d.ts +1 -1
- package/dist/structured-session-manager.js +0 -1
- package/dist/system-ai.d.ts +0 -4
- package/dist/system-ai.js +1 -1
- package/dist/terminal-daemon-protocol.d.ts +0 -1
- package/dist/terminal-daemon-protocol.js +0 -4
- package/dist/tui/commands.d.ts +0 -1
- package/dist/tui/commands.js +1 -1
- package/dist/tui/index.d.ts +2 -1
- package/dist/tui/layout.d.ts +4 -3
- package/dist/tui/session-formatter.d.ts +0 -2
- package/dist/tui/session-formatter.js +1 -1
- package/dist/types.d.ts +17 -20
- package/dist/version-utils.d.ts +0 -2
- package/dist/version-utils.js +1 -1
- package/dist/web-ui/content/scripts.js +1 -1
- package/dist/web-ui/embedded-assets.d.ts +1 -1
- package/dist/web-ui/embedded-assets.js +2 -2
- package/dist/web-ui/index.d.ts +0 -2
- package/dist/web-ui/index.js +1 -1
- package/dist/workspace-binding.d.ts +0 -1
- package/dist/workspace-binding.js +1 -1
- package/package.json +1 -6
package/dist/web-ui/index.d.ts
CHANGED
package/dist/web-ui/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getScriptContent } from "./scripts.js";
|
|
|
6
6
|
// Use String.fromCharCode to avoid template literal interpretation of </script>
|
|
7
7
|
const scriptClose = String.fromCharCode(60, 47) + "script>";
|
|
8
8
|
const scriptOpen = "<" + "script";
|
|
9
|
-
|
|
9
|
+
function vendorAssetUrl(relPath) {
|
|
10
10
|
return `${relPath}?v=${EMBEDDED_WEB_ASSETS.vendor[relPath].hash}`;
|
|
11
11
|
}
|
|
12
12
|
export function renderApp(configPath) {
|
|
@@ -11,7 +11,6 @@ export declare function projectCwdForSession(session: {
|
|
|
11
11
|
worktree?: Pick<WorktreeInfo, "repoRoot" | "path"> | null;
|
|
12
12
|
}): string;
|
|
13
13
|
export declare function findWorkspaceByCwd(storage: WandStorage, cwd: string): Workspace | null;
|
|
14
|
-
export declare function defaultWorkspaceNameForCwd(storage: WandStorage, cwd: string): string;
|
|
15
14
|
/** Find the project for this directory, or create one named after the folder. */
|
|
16
15
|
export declare function ensureWorkspaceForCwd(storage: WandStorage, cwd: string, options?: {
|
|
17
16
|
name?: string;
|
|
@@ -35,7 +35,7 @@ export function findWorkspaceByCwd(storage, cwd) {
|
|
|
35
35
|
return null;
|
|
36
36
|
return storage.listWorkspaces().find((workspace) => normalizeProjectCwd(workspace.cwd) === normalized) ?? null;
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
function defaultWorkspaceNameForCwd(storage, cwd) {
|
|
39
39
|
const normalized = normalizeProjectCwd(cwd);
|
|
40
40
|
if (!normalized)
|
|
41
41
|
return "未命名项目";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@co0ontty/wand",
|
|
3
|
-
"version": "4.45.
|
|
3
|
+
"version": "4.45.1",
|
|
4
4
|
"description": "A web console for Claude Code, Codex, OpenCode, and other local CLI tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
"dev": "node scripts/bundle-xterm.js && node scripts/bundle-browser.js --development && npm run generate:web-assets && tsx src/cli.ts web",
|
|
24
24
|
"check": "node scripts/bundle-xterm.js && node scripts/bundle-browser.js && npm run generate:web-assets && tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.browser.json && tsc --noEmit -p tsconfig.react.json",
|
|
25
25
|
"test": "node --test --import tsx tests/*.test.ts",
|
|
26
|
-
"test:browser": "npm run build && playwright test",
|
|
27
|
-
"test:browser:current": "playwright test",
|
|
28
26
|
"prepublishOnly": "VER=${WAND_PUBLISH_VERSION:-$(git tag --sort=-v:refname --list 'v*' | head -1)} && VER=${VER#v} && npm version \"$VER\" --no-git-tag-version --allow-same-version && npm run build"
|
|
29
27
|
},
|
|
30
28
|
"keywords": [
|
|
@@ -61,9 +59,6 @@
|
|
|
61
59
|
"ws": "^8.19.0"
|
|
62
60
|
},
|
|
63
61
|
"devDependencies": {
|
|
64
|
-
"@axe-core/playwright": "^4.12.1",
|
|
65
|
-
"@playwright/test": "^1.61.1",
|
|
66
|
-
"@types/blessed": "^0.1.27",
|
|
67
62
|
"@types/compression": "^1.8.1",
|
|
68
63
|
"@types/express": "^4.17.21",
|
|
69
64
|
"@types/multer": "^2.1.0",
|