@co0ontty/wand 1.25.5 → 1.29.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/types.d.ts CHANGED
@@ -67,6 +67,11 @@ export interface AndroidApkConfig {
67
67
  apkDir?: string;
68
68
  currentApkFile?: string;
69
69
  }
70
+ export interface MacosDmgConfig {
71
+ enabled?: boolean;
72
+ dmgDir?: string;
73
+ currentDmgFile?: string;
74
+ }
70
75
  export interface WandConfig {
71
76
  host: string;
72
77
  port: number;
@@ -87,6 +92,7 @@ export interface WandConfig {
87
92
  /** Per-instance secret for app connection code encryption. Auto-generated on first run. */
88
93
  appSecret?: string;
89
94
  android?: AndroidApkConfig;
95
+ macos?: MacosDmgConfig;
90
96
  /** Default expand/collapse state for card types in structured chat view */
91
97
  cardDefaults?: CardExpandDefaults;
92
98
  /** 新建会话时默认使用的 Claude 模型(别名或完整 ID)。留空则不传 --model,由 claude 自行决定。 */
@@ -169,6 +175,18 @@ export interface GitStatusResult {
169
175
  repoRoot?: string;
170
176
  /** Truthy when the repo has no commits yet (initial state). */
171
177
  initialCommit?: boolean;
178
+ /** Upstream tracking branch (e.g. `origin/main`). Absent when none is configured. */
179
+ upstream?: string;
180
+ /** Number of local commits not yet on upstream. Only meaningful when `upstream` is set. */
181
+ ahead?: number;
182
+ /** Number of upstream commits not yet locally. Only meaningful when `upstream` is set. */
183
+ behind?: number;
184
+ /** HEAD commit subject + short hash (handy for "tag the current commit" UX). */
185
+ lastCommit?: {
186
+ hash: string;
187
+ shortHash: string;
188
+ subject: string;
189
+ };
172
190
  error?: string;
173
191
  }
174
192
  export interface QuickCommitResult {
@@ -183,6 +201,30 @@ export interface QuickCommitResult {
183
201
  pushed?: boolean;
184
202
  /** commit 已成功但 push 失败时填入;前端用它显示"已提交但 push 失败"。 */
185
203
  pushError?: string;
204
+ /**
205
+ * 父仓库 commit 之前,先在 submodule 内单独提交的记录。仅包含 internal dirty
206
+ * 或 untracked 触发的 submodule 提交;纯指针变化(commitChanged)不会进来。
207
+ */
208
+ submoduleCommits?: {
209
+ path: string;
210
+ hash: string;
211
+ }[];
212
+ }
213
+ export interface TagHeadResult {
214
+ ok: boolean;
215
+ tag: {
216
+ name: string;
217
+ commit: string;
218
+ };
219
+ pushed?: boolean;
220
+ pushError?: string;
221
+ }
222
+ export interface PushResult {
223
+ ok: boolean;
224
+ pushedCommits: boolean;
225
+ pushedTags: boolean;
226
+ /** Either operation failed — the other may still have succeeded. */
227
+ error?: string;
186
228
  }
187
229
  export interface CommandRequest {
188
230
  command: string;
@@ -360,6 +402,14 @@ export interface SessionSnapshot {
360
402
  currentTaskTitle?: string;
361
403
  /** 用户为此会话选定的 Claude 模型(别名或完整 ID)。结构化会话下次 spawn 时使用;PTY 会话仅用于展示。 */
362
404
  selectedModel?: string | null;
405
+ /**
406
+ * 用户选定的思考深度。
407
+ * - off: 不启用思考(SDK: 不传 thinking;CLI: 不插魔法词;Codex: --reasoning-effort minimal)
408
+ * - standard: 标准(SDK: budget 4096;CLI: think;Codex: low)
409
+ * - deep: 深度(SDK: budget 16000;CLI: think hard;Codex: medium)
410
+ * - max: 最深(SDK: budget 31999;CLI: ultrathink;Codex: high)
411
+ */
412
+ thinkingEffort?: "off" | "standard" | "deep" | "max" | null;
363
413
  /** 当前 PTY 列宽,由最近一次 resize 决定。前端用它来判断本端 fit 是否需要校准。 */
364
414
  ptyCols?: number;
365
415
  /** 当前 PTY 行数,由最近一次 resize 决定。 */