@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.
Files changed (54) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/config.d.ts +1 -8
  3. package/dist/config.js +2 -2
  4. package/dist/distribution-manager.d.ts +5 -0
  5. package/dist/distribution-manager.js +13 -0
  6. package/dist/message-truncator.d.ts +0 -15
  7. package/dist/message-truncator.js +2 -2
  8. package/dist/middleware/rate-limit.d.ts +0 -1
  9. package/dist/middleware/rate-limit.js +1 -1
  10. package/dist/mission-types.d.ts +2 -1
  11. package/dist/models.d.ts +6 -5
  12. package/dist/npm-update-utils.d.ts +0 -17
  13. package/dist/npm-update-utils.js +5 -5
  14. package/dist/password-manager.d.ts +2 -5
  15. package/dist/password-manager.js +4 -4
  16. package/dist/pidfile.d.ts +0 -1
  17. package/dist/pidfile.js +1 -1
  18. package/dist/server-session-routes.d.ts +1 -2
  19. package/dist/server-session-routes.js +1 -1
  20. package/dist/server-update-routes.d.ts +2 -0
  21. package/dist/server-update-routes.js +7 -0
  22. package/dist/server.d.ts +2 -1
  23. package/dist/session-transport.d.ts +2 -1
  24. package/dist/storage.d.ts +2 -2
  25. package/dist/storage.js +1 -1
  26. package/dist/structured-claude-adapter.d.ts +2 -1
  27. package/dist/structured-claude-protocol.d.ts +0 -1
  28. package/dist/structured-claude-protocol.js +1 -1
  29. package/dist/structured-codex-protocol.d.ts +1 -1
  30. package/dist/structured-opencode-adapter.d.ts +0 -1
  31. package/dist/structured-opencode-adapter.js +1 -1
  32. package/dist/structured-session-manager.d.ts +1 -1
  33. package/dist/structured-session-manager.js +0 -1
  34. package/dist/system-ai.d.ts +0 -4
  35. package/dist/system-ai.js +1 -1
  36. package/dist/terminal-daemon-protocol.d.ts +0 -1
  37. package/dist/terminal-daemon-protocol.js +0 -4
  38. package/dist/tui/commands.d.ts +0 -1
  39. package/dist/tui/commands.js +1 -1
  40. package/dist/tui/index.d.ts +2 -1
  41. package/dist/tui/layout.d.ts +4 -3
  42. package/dist/tui/session-formatter.d.ts +0 -2
  43. package/dist/tui/session-formatter.js +1 -1
  44. package/dist/types.d.ts +17 -20
  45. package/dist/version-utils.d.ts +0 -2
  46. package/dist/version-utils.js +1 -1
  47. package/dist/web-ui/content/scripts.js +1 -1
  48. package/dist/web-ui/embedded-assets.d.ts +1 -1
  49. package/dist/web-ui/embedded-assets.js +2 -2
  50. package/dist/web-ui/index.d.ts +0 -2
  51. package/dist/web-ui/index.js +1 -1
  52. package/dist/workspace-binding.d.ts +0 -1
  53. package/dist/workspace-binding.js +1 -1
  54. package/package.json +1 -6
@@ -1,3 +1 @@
1
- import { type EmbeddedVendorAssetPath } from "./embedded-assets.js";
2
- export declare function vendorAssetUrl(relPath: EmbeddedVendorAssetPath): string;
3
1
  export declare function renderApp(configPath: string): string;
@@ -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
- export function vendorAssetUrl(relPath) {
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
- export function defaultWorkspaceNameForCwd(storage, cwd) {
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.0",
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",