@co0ontty/wand 3.1.1 → 4.0.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/auth.d.ts +19 -5
- package/dist/auth.js +83 -45
- package/dist/build-info.json +3 -3
- package/dist/cert.d.ts +1 -1
- package/dist/cert.js +124 -74
- package/dist/config.js +25 -8
- package/dist/express-async.d.ts +6 -0
- package/dist/express-async.js +28 -0
- package/dist/git-quick-commit.d.ts +2 -0
- package/dist/git-quick-commit.js +215 -76
- package/dist/git-utils.d.ts +4 -0
- package/dist/git-utils.js +60 -11
- package/dist/git-worktree.d.ts +8 -1
- package/dist/git-worktree.js +406 -41
- package/dist/models.d.ts +34 -4
- package/dist/models.js +334 -48
- package/dist/process-manager.d.ts +22 -30
- package/dist/process-manager.js +374 -441
- package/dist/provider-history-scanner.d.ts +54 -0
- package/dist/provider-history-scanner.js +354 -0
- package/dist/request-limits.d.ts +1 -0
- package/dist/request-limits.js +8 -0
- package/dist/resume-policy.d.ts +2 -0
- package/dist/resume-policy.js +5 -0
- package/dist/runtime-config.d.ts +16 -0
- package/dist/runtime-config.js +49 -0
- package/dist/server-file-routes.d.ts +17 -0
- package/dist/server-file-routes.js +653 -0
- package/dist/server-session-routes.d.ts +16 -3
- package/dist/server-session-routes.js +170 -149
- package/dist/server-settings-routes.d.ts +43 -0
- package/dist/server-settings-routes.js +225 -0
- package/dist/server-update-routes.d.ts +61 -0
- package/dist/server-update-routes.js +215 -0
- package/dist/server.d.ts +6 -4
- package/dist/server.js +350 -1313
- package/dist/session-logger.d.ts +32 -2
- package/dist/session-logger.js +145 -15
- package/dist/session-registry.d.ts +27 -0
- package/dist/session-registry.js +153 -0
- package/dist/session-transport.d.ts +31 -0
- package/dist/session-transport.js +82 -0
- package/dist/storage.d.ts +24 -6
- package/dist/storage.js +291 -44
- package/dist/structured-claude-adapter.d.ts +19 -0
- package/dist/structured-claude-adapter.js +117 -0
- package/dist/structured-codex-adapter.d.ts +3 -0
- package/dist/structured-codex-adapter.js +29 -0
- package/dist/structured-opencode-adapter.d.ts +11 -0
- package/dist/structured-opencode-adapter.js +115 -0
- package/dist/structured-provider-common.d.ts +11 -0
- package/dist/structured-provider-common.js +77 -0
- package/dist/structured-session-manager.d.ts +32 -35
- package/dist/structured-session-manager.js +551 -605
- package/dist/types.d.ts +10 -0
- package/dist/update-helper.js +5 -1
- package/dist/web-ui/content/scripts.js +32 -32
- package/dist/web-ui/embedded-assets.d.ts +1 -1
- package/dist/web-ui/embedded-assets.js +2 -2
- package/dist/ws-broadcast.d.ts +16 -1
- package/dist/ws-broadcast.js +124 -58
- package/package.json +2 -1
package/dist/types.d.ts
CHANGED
|
@@ -126,6 +126,8 @@ export interface WandConfig {
|
|
|
126
126
|
*/
|
|
127
127
|
inheritEnv?: boolean;
|
|
128
128
|
}
|
|
129
|
+
export type ClaudeModelSource = "builtin" | "configured" | "verified-cache" | "models-api";
|
|
130
|
+
export type ClaudeModelAvailability = "default" | "candidate" | "verified" | "stale";
|
|
129
131
|
export interface ClaudeModelInfo {
|
|
130
132
|
/** 传给 --model 的值(别名或完整模型 ID) */
|
|
131
133
|
id: string;
|
|
@@ -135,6 +137,14 @@ export interface ClaudeModelInfo {
|
|
|
135
137
|
note?: string;
|
|
136
138
|
/** 是否为别名(opus/sonnet 等);完整 ID 为 false */
|
|
137
139
|
alias?: boolean;
|
|
140
|
+
/** Claude 候选的来源;Codex / OpenCode 动态结果通常不提供。 */
|
|
141
|
+
source?: ClaudeModelSource;
|
|
142
|
+
/** Claude Code 默认、候选、已验证或版本/时限过期的验证记录。 */
|
|
143
|
+
availability?: ClaudeModelAvailability;
|
|
144
|
+
/** 最近一次由 Claude Code CLI 成功验证的时间。 */
|
|
145
|
+
lastVerifiedAt?: string;
|
|
146
|
+
/** 完成最近一次验证时的 Claude Code CLI 版本。 */
|
|
147
|
+
verifiedWithClaudeVersion?: string;
|
|
138
148
|
/** Codex 模型声明的可用推理档位;Claude 模型通常不提供。 */
|
|
139
149
|
reasoningEfforts?: ReasoningEffortInfo[];
|
|
140
150
|
/** Codex 模型的默认推理档位。 */
|
package/dist/update-helper.js
CHANGED
|
@@ -294,7 +294,11 @@ WAND_INSTALL_NODE
|
|
|
294
294
|
else
|
|
295
295
|
echo "[wand-update] starting updated standalone process"
|
|
296
296
|
cd "$WORKING_DIRECTORY"
|
|
297
|
-
|
|
297
|
+
# The helper itself already runs in a detached session/process group. BSD
|
|
298
|
+
# nohup can fail here with "can't detach from console" after the original
|
|
299
|
+
# parent exits, so launch the replacement directly inside that detached
|
|
300
|
+
# context and keep all stdio disconnected from the old service.
|
|
301
|
+
"$NODE_BIN" "$GLOBAL_CLI" "$\{CLI_ARGS[@]}" >>"$LOG" 2>&1 </dev/null &
|
|
298
302
|
echo "[wand-update] standalone pid: $!"
|
|
299
303
|
fi
|
|
300
304
|
echo "[wand-update] completed at $(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|