@cerbur/clutch-dsh-worktree 0.1.25 → 0.1.27
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/README.md +44 -10
- package/README.zh.md +35 -7
- package/lib/client/locales.d.ts +2 -0
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/locales.js +2 -0
- package/lib/client/locales.js.map +1 -1
- package/lib/client/surface/actions/useLifecycleActions.d.ts.map +1 -1
- package/lib/client/surface/actions/useLifecycleActions.js +8 -6
- package/lib/client/surface/actions/useLifecycleActions.js.map +1 -1
- package/lib/client.js +25 -17
- package/lib/client.js.map +1 -1
- package/lib/contract/index.d.ts +2 -0
- package/lib/contract/index.d.ts.map +1 -1
- package/lib/host/service.d.ts +2 -1
- package/lib/host/service.d.ts.map +1 -1
- package/lib/host/service.js.map +1 -1
- package/lib/manage/manager-worktrees.d.ts +1 -0
- package/lib/manage/manager-worktrees.d.ts.map +1 -1
- package/lib/manage/manager-worktrees.js +1 -0
- package/lib/manage/manager-worktrees.js.map +1 -1
- package/lib/manage/manager.d.ts +1 -0
- package/lib/manage/manager.d.ts.map +1 -1
- package/lib/manage/manager.js.map +1 -1
- package/lib/manage/types.d.ts +1 -0
- package/lib/manage/types.d.ts.map +1 -1
- package/lib/provider/sidecar/sidecar-persistence.d.ts +3 -0
- package/lib/provider/sidecar/sidecar-persistence.d.ts.map +1 -1
- package/lib/provider/sidecar/sidecar-persistence.js +72 -1
- package/lib/provider/sidecar/sidecar-persistence.js.map +1 -1
- package/lib/provider/transaction/recovery/recover.d.ts +3 -1
- package/lib/provider/transaction/recovery/recover.d.ts.map +1 -1
- package/lib/provider/transaction/recovery/recover.js +143 -119
- package/lib/provider/transaction/recovery/recover.js.map +1 -1
- package/lib/provider/transaction/types.d.ts +2 -0
- package/lib/provider/transaction/types.d.ts.map +1 -1
- package/lib/provider/types.d.ts +2 -0
- package/lib/provider/types.d.ts.map +1 -1
- package/lib/provider/types.js.map +1 -1
- package/lib/tool/context.d.ts +3 -0
- package/lib/tool/context.d.ts.map +1 -1
- package/lib/tool/context.js +13 -6
- package/lib/tool/context.js.map +1 -1
- package/lib/tool/index.d.ts.map +1 -1
- package/lib/tool/index.js +87 -33
- package/lib/tool/index.js.map +1 -1
- package/lib/tool/native-session.d.ts.map +1 -1
- package/lib/tool/native-session.js +16 -0
- package/lib/tool/native-session.js.map +1 -1
- package/lib/tool/types.d.ts +1 -1
- package/lib/tool/types.d.ts.map +1 -1
- package/lib/typert.host.js +625 -278
- package/lib/typert.remote-client.d.ts +37 -4
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +619 -277
- package/package.json +59 -54
package/lib/typert.host.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
|
+
import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
|
|
5
|
+
|
|
4
6
|
let JsonValueRemoteCodec$schema$value
|
|
5
7
|
const JsonValueRemoteCodec$schema = () => (JsonValueRemoteCodec$schema$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema())).readonly()]))
|
|
6
8
|
let JsonValueRemoteCodec$schema2$value
|
|
@@ -159,26 +161,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_result$schema =
|
|
|
159
161
|
}), z.object({
|
|
160
162
|
'ok': z.literal(true).readonly(),
|
|
161
163
|
'value': z.object({
|
|
162
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
163
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
164
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
165
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
164
166
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
165
167
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
166
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
168
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
167
169
|
'worktreeId': z.string().readonly(),
|
|
168
170
|
'workspaceId': z.string().readonly(),
|
|
169
|
-
'absolutePath': z.string().readonly(),
|
|
170
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
171
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
172
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
171
173
|
'branch': z.string().readonly(),
|
|
172
174
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
173
175
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
174
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
175
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
176
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
176
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
177
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
178
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
177
179
|
'currentHead': z.union([z.undefined(), z.object({
|
|
178
180
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
179
181
|
'name': z.string().readonly(),
|
|
180
182
|
'commit': z.string().readonly(),
|
|
181
|
-
})]).readonly().optional(),
|
|
183
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
182
184
|
'activity': z.union([z.undefined(), z.object({
|
|
183
185
|
'state': z.literal("idle").readonly(),
|
|
184
186
|
}), z.object({
|
|
@@ -186,15 +188,15 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_result$schema =
|
|
|
186
188
|
'sessionIds': z.array(z.string()).readonly(),
|
|
187
189
|
}), z.object({
|
|
188
190
|
'state': z.literal("unknown").readonly(),
|
|
189
|
-
})]).readonly().optional(),
|
|
190
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
191
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
192
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
191
193
|
}).readonly(),
|
|
192
194
|
})]))
|
|
193
195
|
let _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0$schema$value
|
|
194
196
|
const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0$schema$value ??= z.object({
|
|
195
197
|
'workspaceId': z.string().readonly(),
|
|
196
198
|
'worktreeId': z.string().readonly(),
|
|
197
|
-
'requestId': z.string().readonly(),
|
|
199
|
+
'requestId': z.string().readonly().describe('Stable across uncertain transport retries; scoped to one Host lifetime.'),
|
|
198
200
|
}))
|
|
199
201
|
let _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$schema$value
|
|
200
202
|
const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$schema$value ??= z.union([z.object({
|
|
@@ -214,26 +216,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$s
|
|
|
214
216
|
'workspaceId': z.string().readonly(),
|
|
215
217
|
'revision': z.string().readonly(),
|
|
216
218
|
'target': z.union([z.undefined(), z.object({
|
|
217
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
218
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
219
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
220
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
219
221
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
220
222
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
221
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
223
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
222
224
|
'worktreeId': z.string().readonly(),
|
|
223
225
|
'workspaceId': z.string().readonly(),
|
|
224
|
-
'absolutePath': z.string().readonly(),
|
|
225
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
226
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
227
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
226
228
|
'branch': z.string().readonly(),
|
|
227
229
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
228
230
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
229
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
230
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
231
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
231
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
232
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
233
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
232
234
|
'currentHead': z.union([z.undefined(), z.object({
|
|
233
235
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
234
236
|
'name': z.string().readonly(),
|
|
235
237
|
'commit': z.string().readonly(),
|
|
236
|
-
})]).readonly().optional(),
|
|
238
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
237
239
|
'activity': z.union([z.undefined(), z.object({
|
|
238
240
|
'state': z.literal("idle").readonly(),
|
|
239
241
|
}), z.object({
|
|
@@ -241,8 +243,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$s
|
|
|
241
243
|
'sessionIds': z.array(z.string()).readonly(),
|
|
242
244
|
}), z.object({
|
|
243
245
|
'state': z.literal("unknown").readonly(),
|
|
244
|
-
})]).readonly().optional(),
|
|
245
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
246
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
247
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
246
248
|
})]).readonly().optional(),
|
|
247
249
|
'bindings': z.array(z.object({
|
|
248
250
|
'workspaceId': z.string().readonly(),
|
|
@@ -268,9 +270,9 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_result$sch
|
|
|
268
270
|
}), z.object({
|
|
269
271
|
'ok': z.literal(true).readonly(),
|
|
270
272
|
'value': z.array(z.object({
|
|
271
|
-
'name': z.string().readonly(),
|
|
273
|
+
'name': z.string().readonly().describe('Display name only. Use ref as the stable selection identity when available.'),
|
|
272
274
|
'ref': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
273
|
-
'kind': z.union([z.undefined(), z.literal("local"), z.literal("remote")]).readonly().optional(),
|
|
275
|
+
'kind': z.union([z.undefined(), z.literal("local"), z.literal("remote")]).readonly().optional().describe('Missing kind denotes a local branch for older injected adapters.'),
|
|
274
276
|
'remote': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
275
277
|
'isCurrent': z.boolean().readonly(),
|
|
276
278
|
'checkedOut': z.boolean().readonly(),
|
|
@@ -338,7 +340,7 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_result$sc
|
|
|
338
340
|
'ok': z.literal(true).readonly(),
|
|
339
341
|
'value': z.object({
|
|
340
342
|
'gitRootPath': z.string().readonly(),
|
|
341
|
-
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
343
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Physical Workspace directory, paired with the physical checkout root.'),
|
|
342
344
|
'currentHead': z.union([z.undefined(), z.object({
|
|
343
345
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
344
346
|
'name': z.string().readonly(),
|
|
@@ -365,29 +367,25 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_result$sc
|
|
|
365
367
|
}).readonly(),
|
|
366
368
|
})]))
|
|
367
369
|
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema$value
|
|
368
|
-
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema$value ??= z.union([z.
|
|
370
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema$value ??= z.union([z.object({
|
|
369
371
|
'workspaceId': z.string().readonly(),
|
|
370
372
|
'worktreeId': z.string().readonly(),
|
|
371
|
-
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
372
|
-
}), z.object({
|
|
373
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
373
374
|
'commit': z.string().readonly(),
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
})), z.intersection(z.intersection(z.object({
|
|
375
|
+
'path': z.string().readonly().describe('Canonical Workspace-relative path returned by listWorktreeCommitFiles; ../ may name other checkout files.'),
|
|
376
|
+
}), z.object({
|
|
377
377
|
'workspaceId': z.string().readonly(),
|
|
378
378
|
'worktreeId': z.string().readonly(),
|
|
379
|
-
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
380
|
-
}), z.object({
|
|
379
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
381
380
|
'selection': z.union([z.object({
|
|
382
381
|
'kind': z.literal("summary").readonly(),
|
|
383
|
-
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
382
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
384
383
|
}), z.object({
|
|
385
384
|
'kind': z.literal("commits").readonly(),
|
|
386
385
|
'commits': z.array(z.string()).readonly(),
|
|
387
386
|
})]).readonly(),
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
}))]))
|
|
387
|
+
'path': z.string().readonly().describe('Canonical Workspace-relative path returned by listWorktreeCommitFiles; ../ may name other checkout files.'),
|
|
388
|
+
})]))
|
|
391
389
|
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_result$schema$value
|
|
392
390
|
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_result$schema$value ??= z.union([z.object({
|
|
393
391
|
'ok': z.literal(false).readonly(),
|
|
@@ -399,18 +397,18 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_resu
|
|
|
399
397
|
}), z.object({
|
|
400
398
|
'ok': z.literal(true).readonly(),
|
|
401
399
|
'value': z.object({
|
|
402
|
-
'commit': z.string().readonly(),
|
|
403
|
-
'path': z.string().readonly(),
|
|
400
|
+
'commit': z.string().readonly().describe('The requested commit for legacy reads, or the synthetic summary/first selected commit id.'),
|
|
401
|
+
'path': z.string().readonly().describe('The requested Workspace-relative changed-file identity. Patch text retains Git\'s native headers.'),
|
|
404
402
|
'patch': z.string().readonly(),
|
|
405
403
|
'binary': z.boolean().readonly(),
|
|
406
404
|
'truncated': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
407
405
|
'selection': z.union([z.undefined(), z.object({
|
|
408
406
|
'kind': z.literal("summary").readonly(),
|
|
409
|
-
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
407
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
410
408
|
}), z.object({
|
|
411
409
|
'kind': z.literal("commits").readonly(),
|
|
412
410
|
'commits': z.array(z.string()).readonly(),
|
|
413
|
-
})]).readonly().optional(),
|
|
411
|
+
})]).readonly().optional().describe('Per-commit patches for an exact multi-commit selection.'),
|
|
414
412
|
'segments': z.union([z.undefined(), z.array(z.object({
|
|
415
413
|
'commit': z.string().readonly(),
|
|
416
414
|
'patch': z.string().readonly(),
|
|
@@ -452,26 +450,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_result$schema =
|
|
|
452
450
|
}), z.object({
|
|
453
451
|
'ok': z.literal(true).readonly(),
|
|
454
452
|
'value': z.object({
|
|
455
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
456
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
453
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
454
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
457
455
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
458
456
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
459
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
457
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
460
458
|
'worktreeId': z.string().readonly(),
|
|
461
459
|
'workspaceId': z.string().readonly(),
|
|
462
|
-
'absolutePath': z.string().readonly(),
|
|
463
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
460
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
461
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
464
462
|
'branch': z.string().readonly(),
|
|
465
463
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
466
464
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
467
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
468
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
469
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
465
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
466
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
467
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
470
468
|
'currentHead': z.union([z.undefined(), z.object({
|
|
471
469
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
472
470
|
'name': z.string().readonly(),
|
|
473
471
|
'commit': z.string().readonly(),
|
|
474
|
-
})]).readonly().optional(),
|
|
472
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
475
473
|
'activity': z.union([z.undefined(), z.object({
|
|
476
474
|
'state': z.literal("idle").readonly(),
|
|
477
475
|
}), z.object({
|
|
@@ -479,8 +477,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_result$schema =
|
|
|
479
477
|
'sessionIds': z.array(z.string()).readonly(),
|
|
480
478
|
}), z.object({
|
|
481
479
|
'state': z.literal("unknown").readonly(),
|
|
482
|
-
})]).readonly().optional(),
|
|
483
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
480
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
481
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
484
482
|
}).readonly(),
|
|
485
483
|
})]))
|
|
486
484
|
let _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0$schema$value
|
|
@@ -537,9 +535,9 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_result$schema = (
|
|
|
537
535
|
}), z.object({
|
|
538
536
|
'ok': z.literal(true).readonly(),
|
|
539
537
|
'value': z.array(z.object({
|
|
540
|
-
'name': z.string().readonly(),
|
|
538
|
+
'name': z.string().readonly().describe('Display name only. Use ref as the stable selection identity when available.'),
|
|
541
539
|
'ref': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
542
|
-
'kind': z.union([z.undefined(), z.literal("local"), z.literal("remote")]).readonly().optional(),
|
|
540
|
+
'kind': z.union([z.undefined(), z.literal("local"), z.literal("remote")]).readonly().optional().describe('Missing kind denotes a local branch for older injected adapters.'),
|
|
543
541
|
'remote': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
544
542
|
'isCurrent': z.boolean().readonly(),
|
|
545
543
|
'checkedOut': z.boolean().readonly(),
|
|
@@ -565,25 +563,23 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_result$sc
|
|
|
565
563
|
})).readonly(),
|
|
566
564
|
})]))
|
|
567
565
|
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema$value
|
|
568
|
-
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema$value ??= z.union([z.
|
|
566
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema$value ??= z.union([z.object({
|
|
569
567
|
'workspaceId': z.string().readonly(),
|
|
570
568
|
'worktreeId': z.string().readonly(),
|
|
571
|
-
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
572
|
-
}), z.object({
|
|
569
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
573
570
|
'commit': z.string().readonly(),
|
|
574
|
-
})
|
|
571
|
+
}), z.object({
|
|
575
572
|
'workspaceId': z.string().readonly(),
|
|
576
573
|
'worktreeId': z.string().readonly(),
|
|
577
|
-
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
578
|
-
}), z.object({
|
|
574
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
579
575
|
'selection': z.union([z.object({
|
|
580
576
|
'kind': z.literal("summary").readonly(),
|
|
581
|
-
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
577
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
582
578
|
}), z.object({
|
|
583
579
|
'kind': z.literal("commits").readonly(),
|
|
584
580
|
'commits': z.array(z.string()).readonly(),
|
|
585
581
|
})]).readonly(),
|
|
586
|
-
})
|
|
582
|
+
})]))
|
|
587
583
|
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result$schema$value
|
|
588
584
|
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result$schema$value ??= z.union([z.object({
|
|
589
585
|
'ok': z.literal(false).readonly(),
|
|
@@ -595,33 +591,33 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result
|
|
|
595
591
|
}), z.object({
|
|
596
592
|
'ok': z.literal(true).readonly(),
|
|
597
593
|
'value': z.object({
|
|
598
|
-
'commit': z.string().readonly(),
|
|
594
|
+
'commit': z.string().readonly().describe('The requested commit for legacy reads, or the synthetic summary/first selected commit id.'),
|
|
599
595
|
'selection': z.union([z.undefined(), z.object({
|
|
600
596
|
'kind': z.literal("summary").readonly(),
|
|
601
|
-
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
597
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
602
598
|
}), z.object({
|
|
603
599
|
'kind': z.literal("commits").readonly(),
|
|
604
600
|
'commits': z.array(z.string()).readonly(),
|
|
605
|
-
})]).readonly().optional(),
|
|
601
|
+
})]).readonly().optional().describe('Present when this response came from an aggregate diff request.'),
|
|
606
602
|
'files': z.array(z.object({
|
|
607
|
-
'path': z.string().readonly(),
|
|
608
|
-
'oldPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
603
|
+
'path': z.string().readonly().describe('Relative to this Worktree\'s Workspace directory, not the Git checkout root.'),
|
|
604
|
+
'oldPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Previous name in the same Workspace coordinates, including cross-directory renames.'),
|
|
609
605
|
'status': z.union([z.literal("added"), z.literal("modified"), z.literal("deleted"), z.literal("renamed"), z.literal("copied"), z.literal("type-changed")]).readonly(),
|
|
610
|
-
'additions': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
611
|
-
'deletions': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
612
|
-
'commits': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
|
|
606
|
+
'additions': z.union([z.undefined(), z.number()]).readonly().optional().describe('Added text lines; omitted when Git reports a binary file.'),
|
|
607
|
+
'deletions': z.union([z.undefined(), z.number()]).readonly().optional().describe('Deleted text lines; omitted when Git reports a binary file.'),
|
|
608
|
+
'commits': z.union([z.undefined(), z.array(z.string())]).readonly().optional().describe('Selected commit contributors for an aggregate commit view.'),
|
|
613
609
|
})).readonly(),
|
|
614
|
-
'truncated': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
610
|
+
'truncated': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Git output exceeded the adapter bound, so this list is explicitly incomplete.'),
|
|
615
611
|
}).readonly(),
|
|
616
612
|
})]))
|
|
617
613
|
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0$schema$value
|
|
618
614
|
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0$schema$value ??= z.object({
|
|
619
615
|
'offset': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
620
|
-
'expectedHeadCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
616
|
+
'expectedHeadCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Subsequent pages must still belong to this comparison projection.'),
|
|
621
617
|
'expectedBaselineCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
622
618
|
'workspaceId': z.string().readonly(),
|
|
623
619
|
'worktreeId': z.string().readonly(),
|
|
624
|
-
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
620
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
625
621
|
}))
|
|
626
622
|
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$schema$value
|
|
627
623
|
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$schema$value ??= z.union([z.object({
|
|
@@ -634,17 +630,17 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$sch
|
|
|
634
630
|
}), z.object({
|
|
635
631
|
'ok': z.literal(true).readonly(),
|
|
636
632
|
'value': z.object({
|
|
637
|
-
'nextOffset': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
633
|
+
'nextOffset': z.union([z.undefined(), z.number()]).readonly().optional().describe('Offset of the next 50-commit page; absent at the end of history.'),
|
|
638
634
|
'headCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
639
635
|
'baseline': z.union([z.undefined(), z.object({
|
|
640
|
-
'commit': z.string().readonly(),
|
|
641
|
-
'ref': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
642
|
-
'source': z.union([z.literal("branch"), z.literal("captured"), z.literal("derived")]).readonly(),
|
|
636
|
+
'commit': z.string().readonly().describe('The selected branch tip (or captured/derived baseline identity); tree diffs may use its merge base.'),
|
|
637
|
+
'ref': z.union([z.undefined(), z.string()]).readonly().optional().describe('The local or fetched remote branch selected as the baseline, when the projection was branch-selected.'),
|
|
638
|
+
'source': z.union([z.literal("branch"), z.literal("captured"), z.literal("derived")]).readonly().describe('Branch selection is the UI source; captured/derived values remain for legacy API compatibility.'),
|
|
643
639
|
})]).readonly().optional(),
|
|
644
|
-
'ahead': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
645
|
-
'behind': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
640
|
+
'ahead': z.union([z.undefined(), z.number()]).readonly().optional().describe('Number of commits reachable only from the Worktree HEAD.'),
|
|
641
|
+
'behind': z.union([z.undefined(), z.number()]).readonly().optional().describe('Number of commits reachable only from the selected baseline.'),
|
|
646
642
|
'commits': z.array(z.object({
|
|
647
|
-
'sha': z.string().readonly(),
|
|
643
|
+
'sha': z.string().readonly().describe('A Git SHA for commits, or WORKTREE_GIT_WORKING_TREE for the live working tree entry.'),
|
|
648
644
|
'kind': z.union([z.undefined(), z.literal("commit"), z.literal("working-tree")]).readonly().optional(),
|
|
649
645
|
'parents': z.array(z.string()).readonly(),
|
|
650
646
|
'subject': z.string().readonly(),
|
|
@@ -671,26 +667,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_result$schema =
|
|
|
671
667
|
}), z.object({
|
|
672
668
|
'ok': z.literal(true).readonly(),
|
|
673
669
|
'value': z.array(z.object({
|
|
674
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
675
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
670
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
671
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
676
672
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
677
673
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
678
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
674
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
679
675
|
'worktreeId': z.string().readonly(),
|
|
680
676
|
'workspaceId': z.string().readonly(),
|
|
681
|
-
'absolutePath': z.string().readonly(),
|
|
682
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
677
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
678
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
683
679
|
'branch': z.string().readonly(),
|
|
684
680
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
685
681
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
686
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
687
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
688
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
682
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
683
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
684
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
689
685
|
'currentHead': z.union([z.undefined(), z.object({
|
|
690
686
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
691
687
|
'name': z.string().readonly(),
|
|
692
688
|
'commit': z.string().readonly(),
|
|
693
|
-
})]).readonly().optional(),
|
|
689
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
694
690
|
'activity': z.union([z.undefined(), z.object({
|
|
695
691
|
'state': z.literal("idle").readonly(),
|
|
696
692
|
}), z.object({
|
|
@@ -698,8 +694,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_result$schema =
|
|
|
698
694
|
'sessionIds': z.array(z.string()).readonly(),
|
|
699
695
|
}), z.object({
|
|
700
696
|
'state': z.literal("unknown").readonly(),
|
|
701
|
-
})]).readonly().optional(),
|
|
702
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
697
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
698
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
703
699
|
})).readonly(),
|
|
704
700
|
})]))
|
|
705
701
|
let _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0$schema$value
|
|
@@ -718,26 +714,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_result
|
|
|
718
714
|
'ok': z.literal(true).readonly(),
|
|
719
715
|
'value': z.object({
|
|
720
716
|
'worktrees': z.array(z.object({
|
|
721
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
722
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
717
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
718
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
723
719
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
724
720
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
725
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
721
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
726
722
|
'worktreeId': z.string().readonly(),
|
|
727
723
|
'workspaceId': z.string().readonly(),
|
|
728
|
-
'absolutePath': z.string().readonly(),
|
|
729
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
724
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
725
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
730
726
|
'branch': z.string().readonly(),
|
|
731
727
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
732
728
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
733
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
734
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
735
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
729
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
730
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
731
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
736
732
|
'currentHead': z.union([z.undefined(), z.object({
|
|
737
733
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
738
734
|
'name': z.string().readonly(),
|
|
739
735
|
'commit': z.string().readonly(),
|
|
740
|
-
})]).readonly().optional(),
|
|
736
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
741
737
|
'activity': z.union([z.undefined(), z.object({
|
|
742
738
|
'state': z.literal("idle").readonly(),
|
|
743
739
|
}), z.object({
|
|
@@ -745,8 +741,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_result
|
|
|
745
741
|
'sessionIds': z.array(z.string()).readonly(),
|
|
746
742
|
}), z.object({
|
|
747
743
|
'state': z.literal("unknown").readonly(),
|
|
748
|
-
})]).readonly().optional(),
|
|
749
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
744
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
745
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
750
746
|
})).readonly(),
|
|
751
747
|
'bindings': z.array(z.object({
|
|
752
748
|
'workspaceId': z.string().readonly(),
|
|
@@ -770,7 +766,7 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_result
|
|
|
770
766
|
})]).readonly(),
|
|
771
767
|
'checkout': z.union([z.undefined(), z.object({
|
|
772
768
|
'gitRootPath': z.string().readonly(),
|
|
773
|
-
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
769
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Physical Workspace directory, paired with the physical checkout root.'),
|
|
774
770
|
'currentHead': z.union([z.undefined(), z.object({
|
|
775
771
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
776
772
|
'name': z.string().readonly(),
|
|
@@ -798,26 +794,26 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_resul
|
|
|
798
794
|
'workspaceId': z.string().readonly(),
|
|
799
795
|
'revision': z.string().readonly(),
|
|
800
796
|
'target': z.union([z.undefined(), z.object({
|
|
801
|
-
'instructions': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
802
|
-
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
797
|
+
'instructions': z.union([z.undefined(), z.string()]).readonly().optional().describe('User-authored shared instructions; empty or absent disables injection.'),
|
|
798
|
+
'createdAt': z.union([z.undefined(), z.string()]).readonly().optional().describe('Acquisition facts; legacy records remain unknown.'),
|
|
803
799
|
'importedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
804
800
|
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
805
|
-
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
801
|
+
'baseCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Legacy acquisition commit retained for compatibility and recovery; the Dashboard selects a branch.'),
|
|
806
802
|
'worktreeId': z.string().readonly(),
|
|
807
803
|
'workspaceId': z.string().readonly(),
|
|
808
|
-
'absolutePath': z.string().readonly(),
|
|
809
|
-
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
804
|
+
'absolutePath': z.string().readonly().describe('Workspace working directory inside this checkout; used for cwd, copying, and Open In.'),
|
|
805
|
+
'gitRootPath': z.union([z.undefined(), z.string()]).readonly().optional().describe('Git checkout root for nested Workspaces. Otherwise absolutePath is also the Git root.'),
|
|
810
806
|
'branch': z.string().readonly(),
|
|
811
807
|
'source': z.union([z.literal("plugin"), z.literal("external")]).readonly(),
|
|
812
808
|
'status': z.union([z.literal("active"), z.literal("removed")]).readonly(),
|
|
813
|
-
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional(),
|
|
814
|
-
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional(),
|
|
815
|
-
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
|
|
809
|
+
'diskCleanup': z.union([z.undefined(), z.literal("completed")]).readonly().optional().describe('Cleanup flow completed, including missing-.git reconciliation that preserves residual files.'),
|
|
810
|
+
'health': z.union([z.undefined(), z.literal("ready"), z.literal("repair"), z.literal("recovery-needed"), z.literal("cleaned"), z.literal("branch-drift")]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
811
|
+
'currentBranch': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('Runtime-only Git branch; null means detached HEAD, undefined means unavailable.'),
|
|
816
812
|
'currentHead': z.union([z.undefined(), z.object({
|
|
817
813
|
'kind': z.union([z.literal("branch"), z.literal("tag"), z.literal("commit")]).readonly(),
|
|
818
814
|
'name': z.string().readonly(),
|
|
819
815
|
'commit': z.string().readonly(),
|
|
820
|
-
})]).readonly().optional(),
|
|
816
|
+
})]).readonly().optional().describe('Runtime-only observed HEAD; never written to the sidecar.'),
|
|
821
817
|
'activity': z.union([z.undefined(), z.object({
|
|
822
818
|
'state': z.literal("idle").readonly(),
|
|
823
819
|
}), z.object({
|
|
@@ -825,8 +821,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_resul
|
|
|
825
821
|
'sessionIds': z.array(z.string()).readonly(),
|
|
826
822
|
}), z.object({
|
|
827
823
|
'state': z.literal("unknown").readonly(),
|
|
828
|
-
})]).readonly().optional(),
|
|
829
|
-
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
824
|
+
})]).readonly().optional().describe('Runtime-only; never written to the sidecar.'),
|
|
825
|
+
'mutationToken': z.union([z.undefined(), z.string()]).readonly().optional().describe('Opaque runtime-only snapshot token for destructive-action stale-state checks.'),
|
|
830
826
|
})]).readonly().optional(),
|
|
831
827
|
'bindings': z.array(z.object({
|
|
832
828
|
'workspaceId': z.string().readonly(),
|
|
@@ -839,6 +835,7 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_resul
|
|
|
839
835
|
let _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0$schema$value
|
|
840
836
|
const _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0$schema$value ??= z.object({
|
|
841
837
|
'workspaceId': z.string(),
|
|
838
|
+
'quarantineOperationId': z.union([z.undefined(), z.string()]).optional(),
|
|
842
839
|
}))
|
|
843
840
|
let _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_result$schema$value
|
|
844
841
|
const _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_result$schema$value ??= z.union([z.object({
|
|
@@ -875,8 +872,8 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter
|
|
|
875
872
|
'workspaceId': z.string().readonly(),
|
|
876
873
|
'worktreeId': z.string().readonly(),
|
|
877
874
|
'strategy': z.union([z.literal("rebase"), z.literal("merge")]).readonly(),
|
|
878
|
-
'baseBranch': z.string().readonly(),
|
|
879
|
-
'requestId': z.string().readonly(),
|
|
875
|
+
'baseBranch': z.string().readonly().describe('Saved baseline witnessed by the confirmation dialog.'),
|
|
876
|
+
'requestId': z.string().readonly().describe('One admission identity; reuse it after transport failure.'),
|
|
880
877
|
}))
|
|
881
878
|
let _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_result$schema$value
|
|
882
879
|
const _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_result$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_result$schema$value ??= z.union([z.object({
|
|
@@ -1013,32 +1010,253 @@ const _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_result$schema
|
|
|
1013
1010
|
'changes': z.array(z.object({
|
|
1014
1011
|
'workspaceId': z.string().readonly(),
|
|
1015
1012
|
'worktreeId': z.string().readonly(),
|
|
1016
|
-
'requestId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
1013
|
+
'requestId': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional admission identity, shared with the initiating Client refresh.'),
|
|
1017
1014
|
})).readonly(),
|
|
1018
1015
|
}).readonly(),
|
|
1019
1016
|
})]))
|
|
1017
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_parameter_0_strict$schema$value
|
|
1018
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1019
|
+
'workspaceId': z.string(),
|
|
1020
|
+
'worktreeId': z.string(),
|
|
1021
|
+
'mutationToken': z.string(),
|
|
1022
|
+
'expectedBranch': z.string(),
|
|
1023
|
+
}))
|
|
1024
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_parameter_0_strict$schema$value
|
|
1025
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_bindSession_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1026
|
+
'workspaceId': z.string().readonly(),
|
|
1027
|
+
'worktreeId': z.string().readonly(),
|
|
1028
|
+
'sessionId': z.string().readonly(),
|
|
1029
|
+
}))
|
|
1030
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_parameter_0_strict$schema$value
|
|
1031
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1032
|
+
'workspaceId': z.string(),
|
|
1033
|
+
'sessionId': z.string(),
|
|
1034
|
+
}))
|
|
1035
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_parameter_0_strict$schema$value
|
|
1036
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1037
|
+
'workspaceId': z.string().readonly(),
|
|
1038
|
+
'worktreeId': z.string().readonly(),
|
|
1039
|
+
'mutationToken': z.string().readonly(),
|
|
1040
|
+
}))
|
|
1041
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_parameter_0_strict$schema$value
|
|
1042
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1043
|
+
'workspaceId': z.string().readonly(),
|
|
1044
|
+
'branch': z.string().readonly(),
|
|
1045
|
+
'newBranch': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
1046
|
+
'fromHead': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional(),
|
|
1047
|
+
'expectedHeadCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
1048
|
+
}))
|
|
1049
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0_strict$schema$value
|
|
1050
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1051
|
+
'workspaceId': z.string().readonly(),
|
|
1052
|
+
'worktreeId': z.string().readonly(),
|
|
1053
|
+
'requestId': z.string().readonly().describe('Stable across uncertain transport retries; scoped to one Host lifetime.'),
|
|
1054
|
+
}))
|
|
1055
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_parameter_0_strict$schema$value
|
|
1056
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1057
|
+
'workspaceId': z.string().readonly(),
|
|
1058
|
+
}))
|
|
1059
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_parameter_0_strict$schema$value
|
|
1060
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1061
|
+
'workspaceId': z.string().readonly(),
|
|
1062
|
+
'worktreeId': z.string().readonly(),
|
|
1063
|
+
'mutationToken': z.string().readonly(),
|
|
1064
|
+
}))
|
|
1065
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_parameter_0_strict$schema$value
|
|
1066
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1067
|
+
'scope': z.union([z.strictObject({
|
|
1068
|
+
'kind': z.literal("general").readonly(),
|
|
1069
|
+
}), z.strictObject({
|
|
1070
|
+
'kind': z.literal("local").readonly(),
|
|
1071
|
+
'workspaceId': z.string().readonly(),
|
|
1072
|
+
}), z.strictObject({
|
|
1073
|
+
'kind': z.literal("worktree").readonly(),
|
|
1074
|
+
'workspaceId': z.string().readonly(),
|
|
1075
|
+
'worktreeId': z.string().readonly(),
|
|
1076
|
+
})]),
|
|
1077
|
+
}))
|
|
1078
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_parameter_0_strict$schema$value
|
|
1079
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1080
|
+
'workspaceId': z.string().readonly(),
|
|
1081
|
+
}))
|
|
1082
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_parameter_0_strict$schema$value
|
|
1083
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1084
|
+
'workspaceId': z.string(),
|
|
1085
|
+
}))
|
|
1086
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0_strict$schema$value
|
|
1087
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0_strict$schema$value ??= z.union([z.strictObject({
|
|
1088
|
+
'workspaceId': z.string().readonly(),
|
|
1089
|
+
'worktreeId': z.string().readonly(),
|
|
1090
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
1091
|
+
'commit': z.string().readonly(),
|
|
1092
|
+
'path': z.string().readonly().describe('Canonical Workspace-relative path returned by listWorktreeCommitFiles; ../ may name other checkout files.'),
|
|
1093
|
+
}), z.strictObject({
|
|
1094
|
+
'workspaceId': z.string().readonly(),
|
|
1095
|
+
'worktreeId': z.string().readonly(),
|
|
1096
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
1097
|
+
'selection': z.union([z.strictObject({
|
|
1098
|
+
'kind': z.literal("summary").readonly(),
|
|
1099
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
1100
|
+
}), z.strictObject({
|
|
1101
|
+
'kind': z.literal("commits").readonly(),
|
|
1102
|
+
'commits': z.array(z.string()).readonly(),
|
|
1103
|
+
})]).readonly(),
|
|
1104
|
+
'path': z.string().readonly().describe('Canonical Workspace-relative path returned by listWorktreeCommitFiles; ../ may name other checkout files.'),
|
|
1105
|
+
})]))
|
|
1106
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_parameter_0_strict$schema$value
|
|
1107
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1108
|
+
'workspaceId': z.string(),
|
|
1109
|
+
'worktreeId': z.string(),
|
|
1110
|
+
}))
|
|
1111
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_parameter_0_strict$schema$value
|
|
1112
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1113
|
+
'workspaceId': z.string().readonly(),
|
|
1114
|
+
'absolutePath': z.string().readonly(),
|
|
1115
|
+
}))
|
|
1116
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0_strict$schema$value
|
|
1117
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1118
|
+
'workspaceId': z.string().readonly(),
|
|
1119
|
+
'worktreeId': z.string().readonly(),
|
|
1120
|
+
'beforeWorktreeId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
1121
|
+
}))
|
|
1122
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_parameter_0_strict$schema$value
|
|
1123
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listBindings_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1124
|
+
'workspaceId': z.string().readonly(),
|
|
1125
|
+
}))
|
|
1126
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_parameter_0_strict$schema$value
|
|
1127
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listBranches_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1128
|
+
'workspaceId': z.string().readonly(),
|
|
1129
|
+
}))
|
|
1130
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_parameter_0_strict$schema$value
|
|
1131
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1132
|
+
'workspaceId': z.string().readonly(),
|
|
1133
|
+
}))
|
|
1134
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0_strict$schema$value
|
|
1135
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0_strict$schema$value ??= z.union([z.strictObject({
|
|
1136
|
+
'workspaceId': z.string().readonly(),
|
|
1137
|
+
'worktreeId': z.string().readonly(),
|
|
1138
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
1139
|
+
'commit': z.string().readonly(),
|
|
1140
|
+
}), z.strictObject({
|
|
1141
|
+
'workspaceId': z.string().readonly(),
|
|
1142
|
+
'worktreeId': z.string().readonly(),
|
|
1143
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
1144
|
+
'selection': z.union([z.strictObject({
|
|
1145
|
+
'kind': z.literal("summary").readonly(),
|
|
1146
|
+
'includeWorkingTree': z.union([z.undefined(), z.literal(false), z.literal(true)]).readonly().optional().describe('Include staged, unstaged, and untracked files in the net summary.'),
|
|
1147
|
+
}), z.strictObject({
|
|
1148
|
+
'kind': z.literal("commits").readonly(),
|
|
1149
|
+
'commits': z.array(z.string()).readonly(),
|
|
1150
|
+
})]).readonly(),
|
|
1151
|
+
})]))
|
|
1152
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0_strict$schema$value
|
|
1153
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1154
|
+
'offset': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
1155
|
+
'expectedHeadCommit': z.union([z.undefined(), z.string()]).readonly().optional().describe('Subsequent pages must still belong to this comparison projection.'),
|
|
1156
|
+
'expectedBaselineCommit': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
1157
|
+
'workspaceId': z.string().readonly(),
|
|
1158
|
+
'worktreeId': z.string().readonly(),
|
|
1159
|
+
'baseBranch': z.union([z.undefined(), z.string()]).readonly().optional().describe('Optional local or fetched remote branch selected as the comparison baseline.'),
|
|
1160
|
+
}))
|
|
1161
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_parameter_0_strict$schema$value
|
|
1162
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1163
|
+
'workspaceId': z.string().readonly(),
|
|
1164
|
+
}))
|
|
1165
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0_strict$schema$value
|
|
1166
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1167
|
+
'workspaceId': z.string(),
|
|
1168
|
+
}))
|
|
1169
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_parameter_0_strict$schema$value
|
|
1170
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1171
|
+
'workspaceId': z.string(),
|
|
1172
|
+
'worktreeId': z.string(),
|
|
1173
|
+
}))
|
|
1174
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0_strict$schema$value
|
|
1175
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1176
|
+
'workspaceId': z.string(),
|
|
1177
|
+
'quarantineOperationId': z.union([z.undefined(), z.string()]).optional(),
|
|
1178
|
+
}))
|
|
1179
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_parameter_0_strict$schema$value
|
|
1180
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1181
|
+
'workspaceId': z.string().readonly(),
|
|
1182
|
+
'worktreeId': z.string().readonly(),
|
|
1183
|
+
'mutationToken': z.string().readonly(),
|
|
1184
|
+
}))
|
|
1185
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter_0_strict$schema$value
|
|
1186
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1187
|
+
'workspaceId': z.string().readonly(),
|
|
1188
|
+
'worktreeId': z.string().readonly(),
|
|
1189
|
+
'strategy': z.union([z.literal("rebase"), z.literal("merge")]).readonly(),
|
|
1190
|
+
'baseBranch': z.string().readonly().describe('Saved baseline witnessed by the confirmation dialog.'),
|
|
1191
|
+
'requestId': z.string().readonly().describe('One admission identity; reuse it after transport failure.'),
|
|
1192
|
+
}))
|
|
1193
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_parameter_0_strict$schema$value
|
|
1194
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1195
|
+
'workspaceId': z.string().readonly(),
|
|
1196
|
+
'worktreeId': z.string().readonly(),
|
|
1197
|
+
'mutationToken': z.string().readonly(),
|
|
1198
|
+
}))
|
|
1199
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_parameter_0_strict$schema$value
|
|
1200
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1201
|
+
'scope': z.union([z.strictObject({
|
|
1202
|
+
'kind': z.literal("general").readonly(),
|
|
1203
|
+
}), z.strictObject({
|
|
1204
|
+
'kind': z.literal("local").readonly(),
|
|
1205
|
+
'workspaceId': z.string().readonly(),
|
|
1206
|
+
}), z.strictObject({
|
|
1207
|
+
'kind': z.literal("worktree").readonly(),
|
|
1208
|
+
'workspaceId': z.string().readonly(),
|
|
1209
|
+
'worktreeId': z.string().readonly(),
|
|
1210
|
+
})]),
|
|
1211
|
+
'selection': z.strictObject({
|
|
1212
|
+
'enabled': z.boolean().readonly(),
|
|
1213
|
+
'tools': z.array(z.union([z.literal("clutch_new_worktree"), z.literal("clutch_list_worktrees"), z.literal("clutch_span_worktree"), z.literal("clutch_list_models"), z.literal("clutch_list_sessions"), z.literal("clutch_send_message")])).readonly(),
|
|
1214
|
+
}),
|
|
1215
|
+
'expected': z.strictObject({
|
|
1216
|
+
'enabled': z.boolean().readonly(),
|
|
1217
|
+
'tools': z.array(z.union([z.literal("clutch_new_worktree"), z.literal("clutch_list_worktrees"), z.literal("clutch_span_worktree"), z.literal("clutch_list_models"), z.literal("clutch_list_sessions"), z.literal("clutch_send_message")])).readonly(),
|
|
1218
|
+
}),
|
|
1219
|
+
}))
|
|
1220
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_parameter_0_strict$schema$value
|
|
1221
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1222
|
+
'workspaceId': z.string(),
|
|
1223
|
+
'worktreeId': z.string(),
|
|
1224
|
+
'baseBranch': z.string(),
|
|
1225
|
+
'expectedBaseBranch': z.union([z.undefined(), z.string()]).optional(),
|
|
1226
|
+
}))
|
|
1227
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_parameter_0_strict$schema$value
|
|
1228
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1229
|
+
'workspaceId': z.string(),
|
|
1230
|
+
'worktreeId': z.string(),
|
|
1231
|
+
'instructions': z.string(),
|
|
1232
|
+
'expectedInstructions': z.string(),
|
|
1233
|
+
}))
|
|
1234
|
+
let _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_parameter_0_strict$schema$value
|
|
1235
|
+
const _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_parameter_0_strict$schema = () => (_cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1236
|
+
'afterRevision': z.number().readonly(),
|
|
1237
|
+
}))
|
|
1020
1238
|
|
|
1021
|
-
|
|
1239
|
+
const $remote = createTypertRemoteInfo({
|
|
1022
1240
|
package: '@cerbur/clutch-dsh-worktree',
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
],
|
|
1026
|
-
invocations: [
|
|
1027
|
-
{
|
|
1028
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/adoptWorktreeBranch',
|
|
1241
|
+
methods: {
|
|
1242
|
+
'worktreeManager/adoptWorktreeBranch': {
|
|
1029
1243
|
service: 'worktreeManager',
|
|
1030
|
-
namespace: 'worktreeManager',
|
|
1031
|
-
method: 'adoptWorktreeBranch',
|
|
1032
1244
|
invocation: { kind: 'direct' },
|
|
1033
1245
|
parameters: [
|
|
1034
1246
|
{
|
|
1035
1247
|
name: 'input',
|
|
1036
|
-
wire: 'input',
|
|
1037
1248
|
source: 'json',
|
|
1038
1249
|
codec: {
|
|
1039
1250
|
mode: 'strict',
|
|
1040
1251
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/adoptWorktreeBranch:input',
|
|
1041
1252
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_parameter_0$schema,
|
|
1253
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"},"expectedBranch":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken","expectedBranch"],"additionalProperties":true},
|
|
1254
|
+
},
|
|
1255
|
+
strictCodec: {
|
|
1256
|
+
mode: 'strict',
|
|
1257
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/adoptWorktreeBranch:input',
|
|
1258
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_parameter_0_strict$schema,
|
|
1259
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"},"expectedBranch":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken","expectedBranch"],"additionalProperties":false},
|
|
1042
1260
|
},
|
|
1043
1261
|
},
|
|
1044
1262
|
],
|
|
@@ -1046,24 +1264,28 @@ export const TYPERT = {
|
|
|
1046
1264
|
mode: 'strict',
|
|
1047
1265
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1048
1266
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_result$schema,
|
|
1267
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1049
1268
|
},
|
|
1050
1269
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":379,"column":3},
|
|
1051
1270
|
},
|
|
1052
|
-
{
|
|
1053
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/bindSession',
|
|
1271
|
+
'worktreeManager/bindSession': {
|
|
1054
1272
|
service: 'worktreeManager',
|
|
1055
|
-
namespace: 'worktreeManager',
|
|
1056
|
-
method: 'bindSession',
|
|
1057
1273
|
invocation: { kind: 'direct' },
|
|
1058
1274
|
parameters: [
|
|
1059
1275
|
{
|
|
1060
1276
|
name: 'input',
|
|
1061
|
-
wire: 'input',
|
|
1062
1277
|
source: 'json',
|
|
1063
1278
|
codec: {
|
|
1064
1279
|
mode: 'strict',
|
|
1065
1280
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/bindSession:input',
|
|
1066
1281
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_parameter_0$schema,
|
|
1282
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"sessionId":{"type":"string"}},"required":["workspaceId","worktreeId","sessionId"],"additionalProperties":true},
|
|
1283
|
+
},
|
|
1284
|
+
strictCodec: {
|
|
1285
|
+
mode: 'strict',
|
|
1286
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/bindSession:input',
|
|
1287
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_parameter_0_strict$schema,
|
|
1288
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"sessionId":{"type":"string"}},"required":["workspaceId","worktreeId","sessionId"],"additionalProperties":false},
|
|
1067
1289
|
},
|
|
1068
1290
|
},
|
|
1069
1291
|
],
|
|
@@ -1071,24 +1293,28 @@ export const TYPERT = {
|
|
|
1071
1293
|
mode: 'strict',
|
|
1072
1294
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1073
1295
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_result$schema,
|
|
1296
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1074
1297
|
},
|
|
1075
1298
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":428,"column":3},
|
|
1076
1299
|
},
|
|
1077
|
-
{
|
|
1078
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/canReuseLocalSession',
|
|
1300
|
+
'worktreeManager/canReuseLocalSession': {
|
|
1079
1301
|
service: 'worktreeManager',
|
|
1080
|
-
namespace: 'worktreeManager',
|
|
1081
|
-
method: 'canReuseLocalSession',
|
|
1082
1302
|
invocation: { kind: 'direct' },
|
|
1083
1303
|
parameters: [
|
|
1084
1304
|
{
|
|
1085
1305
|
name: 'input',
|
|
1086
|
-
wire: 'input',
|
|
1087
1306
|
source: 'json',
|
|
1088
1307
|
codec: {
|
|
1089
1308
|
mode: 'strict',
|
|
1090
1309
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/canReuseLocalSession:input',
|
|
1091
1310
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_parameter_0$schema,
|
|
1311
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"}},"required":["workspaceId","sessionId"],"additionalProperties":true},
|
|
1312
|
+
},
|
|
1313
|
+
strictCodec: {
|
|
1314
|
+
mode: 'strict',
|
|
1315
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/canReuseLocalSession:input',
|
|
1316
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_parameter_0_strict$schema,
|
|
1317
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"sessionId":{"type":"string"}},"required":["workspaceId","sessionId"],"additionalProperties":false},
|
|
1092
1318
|
},
|
|
1093
1319
|
},
|
|
1094
1320
|
],
|
|
@@ -1096,24 +1322,28 @@ export const TYPERT = {
|
|
|
1096
1322
|
mode: 'strict',
|
|
1097
1323
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1098
1324
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_result$schema,
|
|
1325
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1099
1326
|
},
|
|
1100
1327
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":178,"column":3},
|
|
1101
1328
|
},
|
|
1102
|
-
{
|
|
1103
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/cleanWorktree',
|
|
1329
|
+
'worktreeManager/cleanWorktree': {
|
|
1104
1330
|
service: 'worktreeManager',
|
|
1105
|
-
namespace: 'worktreeManager',
|
|
1106
|
-
method: 'cleanWorktree',
|
|
1107
1331
|
invocation: { kind: 'direct' },
|
|
1108
1332
|
parameters: [
|
|
1109
1333
|
{
|
|
1110
1334
|
name: 'input',
|
|
1111
|
-
wire: 'input',
|
|
1112
1335
|
source: 'json',
|
|
1113
1336
|
codec: {
|
|
1114
1337
|
mode: 'strict',
|
|
1115
1338
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/cleanWorktree:input',
|
|
1116
1339
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_parameter_0$schema,
|
|
1340
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":true},
|
|
1341
|
+
},
|
|
1342
|
+
strictCodec: {
|
|
1343
|
+
mode: 'strict',
|
|
1344
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/cleanWorktree:input',
|
|
1345
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_parameter_0_strict$schema,
|
|
1346
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":false},
|
|
1117
1347
|
},
|
|
1118
1348
|
},
|
|
1119
1349
|
],
|
|
@@ -1121,24 +1351,28 @@ export const TYPERT = {
|
|
|
1121
1351
|
mode: 'strict',
|
|
1122
1352
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1123
1353
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_result$schema,
|
|
1354
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1124
1355
|
},
|
|
1125
1356
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":394,"column":3},
|
|
1126
1357
|
},
|
|
1127
|
-
{
|
|
1128
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktree',
|
|
1358
|
+
'worktreeManager/createWorktree': {
|
|
1129
1359
|
service: 'worktreeManager',
|
|
1130
|
-
namespace: 'worktreeManager',
|
|
1131
|
-
method: 'createWorktree',
|
|
1132
1360
|
invocation: { kind: 'direct' },
|
|
1133
1361
|
parameters: [
|
|
1134
1362
|
{
|
|
1135
1363
|
name: 'input',
|
|
1136
|
-
wire: 'input',
|
|
1137
1364
|
source: 'json',
|
|
1138
1365
|
codec: {
|
|
1139
1366
|
mode: 'strict',
|
|
1140
1367
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktree:input',
|
|
1141
1368
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_parameter_0$schema,
|
|
1369
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"branch":{"type":"string"},"newBranch":{"type":"string"},"fromHead":{"type":"boolean","enum":[false,true]},"expectedHeadCommit":{"type":"string"}},"required":["workspaceId","branch"],"additionalProperties":true},
|
|
1370
|
+
},
|
|
1371
|
+
strictCodec: {
|
|
1372
|
+
mode: 'strict',
|
|
1373
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktree:input',
|
|
1374
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_parameter_0_strict$schema,
|
|
1375
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"branch":{"type":"string"},"newBranch":{"type":"string"},"fromHead":{"type":"boolean","enum":[false,true]},"expectedHeadCommit":{"type":"string"}},"required":["workspaceId","branch"],"additionalProperties":false},
|
|
1142
1376
|
},
|
|
1143
1377
|
},
|
|
1144
1378
|
],
|
|
@@ -1146,24 +1380,28 @@ export const TYPERT = {
|
|
|
1146
1380
|
mode: 'strict',
|
|
1147
1381
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1148
1382
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_result$schema,
|
|
1383
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1149
1384
|
},
|
|
1150
1385
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":342,"column":3},
|
|
1151
1386
|
},
|
|
1152
|
-
{
|
|
1153
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktreeSession',
|
|
1387
|
+
'worktreeManager/createWorktreeSession': {
|
|
1154
1388
|
service: 'worktreeManager',
|
|
1155
|
-
namespace: 'worktreeManager',
|
|
1156
|
-
method: 'createWorktreeSession',
|
|
1157
1389
|
invocation: { kind: 'direct' },
|
|
1158
1390
|
parameters: [
|
|
1159
1391
|
{
|
|
1160
1392
|
name: 'input',
|
|
1161
|
-
wire: 'input',
|
|
1162
1393
|
source: 'json',
|
|
1163
1394
|
codec: {
|
|
1164
1395
|
mode: 'strict',
|
|
1165
1396
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeSessionCreationRequest',
|
|
1166
1397
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0$schema,
|
|
1398
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"requestId":{"type":"string","description":"Stable across uncertain transport retries; scoped to one Host lifetime."}},"required":["workspaceId","worktreeId","requestId"],"additionalProperties":true},
|
|
1399
|
+
},
|
|
1400
|
+
strictCodec: {
|
|
1401
|
+
mode: 'strict',
|
|
1402
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeSessionCreationRequest',
|
|
1403
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_parameter_0_strict$schema,
|
|
1404
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"requestId":{"type":"string","description":"Stable across uncertain transport retries; scoped to one Host lifetime."}},"required":["workspaceId","worktreeId","requestId"],"additionalProperties":false},
|
|
1167
1405
|
},
|
|
1168
1406
|
},
|
|
1169
1407
|
],
|
|
@@ -1172,24 +1410,28 @@ export const TYPERT = {
|
|
|
1172
1410
|
mode: 'strict',
|
|
1173
1411
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1174
1412
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$schema,
|
|
1413
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1175
1414
|
},
|
|
1176
1415
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":194,"column":3},
|
|
1177
1416
|
},
|
|
1178
|
-
{
|
|
1179
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/fetchRemoteBranches',
|
|
1417
|
+
'worktreeManager/fetchRemoteBranches': {
|
|
1180
1418
|
service: 'worktreeManager',
|
|
1181
|
-
namespace: 'worktreeManager',
|
|
1182
|
-
method: 'fetchRemoteBranches',
|
|
1183
1419
|
invocation: { kind: 'direct' },
|
|
1184
1420
|
parameters: [
|
|
1185
1421
|
{
|
|
1186
1422
|
name: 'input',
|
|
1187
|
-
wire: 'input',
|
|
1188
1423
|
source: 'json',
|
|
1189
1424
|
codec: {
|
|
1190
1425
|
mode: 'strict',
|
|
1191
1426
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/fetchRemoteBranches:input',
|
|
1192
1427
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_parameter_0$schema,
|
|
1428
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1429
|
+
},
|
|
1430
|
+
strictCodec: {
|
|
1431
|
+
mode: 'strict',
|
|
1432
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/fetchRemoteBranches:input',
|
|
1433
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_parameter_0_strict$schema,
|
|
1434
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1193
1435
|
},
|
|
1194
1436
|
},
|
|
1195
1437
|
],
|
|
@@ -1197,24 +1439,28 @@ export const TYPERT = {
|
|
|
1197
1439
|
mode: 'strict',
|
|
1198
1440
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1199
1441
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_result$schema,
|
|
1442
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1200
1443
|
},
|
|
1201
1444
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":330,"column":3},
|
|
1202
1445
|
},
|
|
1203
|
-
{
|
|
1204
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/forgetWorktree',
|
|
1446
|
+
'worktreeManager/forgetWorktree': {
|
|
1205
1447
|
service: 'worktreeManager',
|
|
1206
|
-
namespace: 'worktreeManager',
|
|
1207
|
-
method: 'forgetWorktree',
|
|
1208
1448
|
invocation: { kind: 'direct' },
|
|
1209
1449
|
parameters: [
|
|
1210
1450
|
{
|
|
1211
1451
|
name: 'input',
|
|
1212
|
-
wire: 'input',
|
|
1213
1452
|
source: 'json',
|
|
1214
1453
|
codec: {
|
|
1215
1454
|
mode: 'strict',
|
|
1216
1455
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/forgetWorktree:input',
|
|
1217
1456
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_parameter_0$schema,
|
|
1457
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":true},
|
|
1458
|
+
},
|
|
1459
|
+
strictCodec: {
|
|
1460
|
+
mode: 'strict',
|
|
1461
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/forgetWorktree:input',
|
|
1462
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_parameter_0_strict$schema,
|
|
1463
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":false},
|
|
1218
1464
|
},
|
|
1219
1465
|
},
|
|
1220
1466
|
],
|
|
@@ -1222,24 +1468,28 @@ export const TYPERT = {
|
|
|
1222
1468
|
mode: 'strict',
|
|
1223
1469
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1224
1470
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_result$schema,
|
|
1471
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1225
1472
|
},
|
|
1226
1473
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":403,"column":3},
|
|
1227
1474
|
},
|
|
1228
|
-
{
|
|
1229
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getToolSettings',
|
|
1475
|
+
'worktreeManager/getToolSettings': {
|
|
1230
1476
|
service: 'worktreeManager',
|
|
1231
|
-
namespace: 'worktreeManager',
|
|
1232
|
-
method: 'getToolSettings',
|
|
1233
1477
|
invocation: { kind: 'direct' },
|
|
1234
1478
|
parameters: [
|
|
1235
1479
|
{
|
|
1236
1480
|
name: 'input',
|
|
1237
|
-
wire: 'input',
|
|
1238
1481
|
source: 'json',
|
|
1239
1482
|
codec: {
|
|
1240
1483
|
mode: 'strict',
|
|
1241
1484
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getToolSettings:input',
|
|
1242
1485
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_parameter_0$schema,
|
|
1486
|
+
jsonSchema: {"type":"object","properties":{"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"general"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"local"},"workspaceId":{"type":"string"}},"required":["kind","workspaceId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"worktree"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["kind","workspaceId","worktreeId"],"additionalProperties":true}]}},"required":["scope"],"additionalProperties":true},
|
|
1487
|
+
},
|
|
1488
|
+
strictCodec: {
|
|
1489
|
+
mode: 'strict',
|
|
1490
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getToolSettings:input',
|
|
1491
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_parameter_0_strict$schema,
|
|
1492
|
+
jsonSchema: {"type":"object","properties":{"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"general"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"local"},"workspaceId":{"type":"string"}},"required":["kind","workspaceId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"worktree"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["kind","workspaceId","worktreeId"],"additionalProperties":false}]}},"required":["scope"],"additionalProperties":false},
|
|
1243
1493
|
},
|
|
1244
1494
|
},
|
|
1245
1495
|
],
|
|
@@ -1247,24 +1497,28 @@ export const TYPERT = {
|
|
|
1247
1497
|
mode: 'strict',
|
|
1248
1498
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1249
1499
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_result$schema,
|
|
1500
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1250
1501
|
},
|
|
1251
1502
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":210,"column":9},
|
|
1252
1503
|
},
|
|
1253
|
-
{
|
|
1254
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceCheckout',
|
|
1504
|
+
'worktreeManager/getWorkspaceCheckout': {
|
|
1255
1505
|
service: 'worktreeManager',
|
|
1256
|
-
namespace: 'worktreeManager',
|
|
1257
|
-
method: 'getWorkspaceCheckout',
|
|
1258
1506
|
invocation: { kind: 'direct' },
|
|
1259
1507
|
parameters: [
|
|
1260
1508
|
{
|
|
1261
1509
|
name: 'input',
|
|
1262
|
-
wire: 'input',
|
|
1263
1510
|
source: 'json',
|
|
1264
1511
|
codec: {
|
|
1265
1512
|
mode: 'strict',
|
|
1266
1513
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceCheckout:input',
|
|
1267
1514
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_parameter_0$schema,
|
|
1515
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1516
|
+
},
|
|
1517
|
+
strictCodec: {
|
|
1518
|
+
mode: 'strict',
|
|
1519
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceCheckout:input',
|
|
1520
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_parameter_0_strict$schema,
|
|
1521
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1268
1522
|
},
|
|
1269
1523
|
},
|
|
1270
1524
|
],
|
|
@@ -1272,24 +1526,28 @@ export const TYPERT = {
|
|
|
1272
1526
|
mode: 'strict',
|
|
1273
1527
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1274
1528
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_result$schema,
|
|
1529
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1275
1530
|
},
|
|
1276
1531
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":337,"column":3},
|
|
1277
1532
|
},
|
|
1278
|
-
{
|
|
1279
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceGitState',
|
|
1533
|
+
'worktreeManager/getWorkspaceGitState': {
|
|
1280
1534
|
service: 'worktreeManager',
|
|
1281
|
-
namespace: 'worktreeManager',
|
|
1282
|
-
method: 'getWorkspaceGitState',
|
|
1283
1535
|
invocation: { kind: 'direct' },
|
|
1284
1536
|
parameters: [
|
|
1285
1537
|
{
|
|
1286
1538
|
name: 'input',
|
|
1287
|
-
wire: 'input',
|
|
1288
1539
|
source: 'json',
|
|
1289
1540
|
codec: {
|
|
1290
1541
|
mode: 'strict',
|
|
1291
1542
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceGitState:input',
|
|
1292
1543
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_parameter_0$schema,
|
|
1544
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1545
|
+
},
|
|
1546
|
+
strictCodec: {
|
|
1547
|
+
mode: 'strict',
|
|
1548
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceGitState:input',
|
|
1549
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_parameter_0_strict$schema,
|
|
1550
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1293
1551
|
},
|
|
1294
1552
|
},
|
|
1295
1553
|
],
|
|
@@ -1297,24 +1555,28 @@ export const TYPERT = {
|
|
|
1297
1555
|
mode: 'strict',
|
|
1298
1556
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1299
1557
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_result$schema,
|
|
1558
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1300
1559
|
},
|
|
1301
1560
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":275,"column":3},
|
|
1302
1561
|
},
|
|
1303
|
-
{
|
|
1304
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeCommitFileDiff',
|
|
1562
|
+
'worktreeManager/getWorktreeCommitFileDiff': {
|
|
1305
1563
|
service: 'worktreeManager',
|
|
1306
|
-
namespace: 'worktreeManager',
|
|
1307
|
-
method: 'getWorktreeCommitFileDiff',
|
|
1308
1564
|
invocation: { kind: 'direct' },
|
|
1309
1565
|
parameters: [
|
|
1310
1566
|
{
|
|
1311
1567
|
name: 'input',
|
|
1312
|
-
wire: 'input',
|
|
1313
1568
|
source: 'json',
|
|
1314
1569
|
codec: {
|
|
1315
1570
|
mode: 'strict',
|
|
1316
1571
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitFileDiffRequest',
|
|
1317
1572
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0$schema,
|
|
1573
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
1574
|
+
},
|
|
1575
|
+
strictCodec: {
|
|
1576
|
+
mode: 'strict',
|
|
1577
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitFileDiffRequest',
|
|
1578
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_parameter_0_strict$schema,
|
|
1579
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
1318
1580
|
},
|
|
1319
1581
|
},
|
|
1320
1582
|
],
|
|
@@ -1322,24 +1584,28 @@ export const TYPERT = {
|
|
|
1322
1584
|
mode: 'strict',
|
|
1323
1585
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1324
1586
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_result$schema,
|
|
1587
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1325
1588
|
},
|
|
1326
1589
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":309,"column":3},
|
|
1327
1590
|
},
|
|
1328
|
-
{
|
|
1329
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeInstructions',
|
|
1591
|
+
'worktreeManager/getWorktreeInstructions': {
|
|
1330
1592
|
service: 'worktreeManager',
|
|
1331
|
-
namespace: 'worktreeManager',
|
|
1332
|
-
method: 'getWorktreeInstructions',
|
|
1333
1593
|
invocation: { kind: 'direct' },
|
|
1334
1594
|
parameters: [
|
|
1335
1595
|
{
|
|
1336
1596
|
name: 'input',
|
|
1337
|
-
wire: 'input',
|
|
1338
1597
|
source: 'json',
|
|
1339
1598
|
codec: {
|
|
1340
1599
|
mode: 'strict',
|
|
1341
1600
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeInstructions:input',
|
|
1342
1601
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_parameter_0$schema,
|
|
1602
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":true},
|
|
1603
|
+
},
|
|
1604
|
+
strictCodec: {
|
|
1605
|
+
mode: 'strict',
|
|
1606
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeInstructions:input',
|
|
1607
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_parameter_0_strict$schema,
|
|
1608
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":false},
|
|
1343
1609
|
},
|
|
1344
1610
|
},
|
|
1345
1611
|
],
|
|
@@ -1347,24 +1613,28 @@ export const TYPERT = {
|
|
|
1347
1613
|
mode: 'strict',
|
|
1348
1614
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1349
1615
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_result$schema,
|
|
1616
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1350
1617
|
},
|
|
1351
1618
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":247,"column":3},
|
|
1352
1619
|
},
|
|
1353
|
-
{
|
|
1354
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/importWorktree',
|
|
1620
|
+
'worktreeManager/importWorktree': {
|
|
1355
1621
|
service: 'worktreeManager',
|
|
1356
|
-
namespace: 'worktreeManager',
|
|
1357
|
-
method: 'importWorktree',
|
|
1358
1622
|
invocation: { kind: 'direct' },
|
|
1359
1623
|
parameters: [
|
|
1360
1624
|
{
|
|
1361
1625
|
name: 'input',
|
|
1362
|
-
wire: 'input',
|
|
1363
1626
|
source: 'json',
|
|
1364
1627
|
codec: {
|
|
1365
1628
|
mode: 'strict',
|
|
1366
1629
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/importWorktree:input',
|
|
1367
1630
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_parameter_0$schema,
|
|
1631
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"absolutePath":{"type":"string"}},"required":["workspaceId","absolutePath"],"additionalProperties":true},
|
|
1632
|
+
},
|
|
1633
|
+
strictCodec: {
|
|
1634
|
+
mode: 'strict',
|
|
1635
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/importWorktree:input',
|
|
1636
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_parameter_0_strict$schema,
|
|
1637
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"absolutePath":{"type":"string"}},"required":["workspaceId","absolutePath"],"additionalProperties":false},
|
|
1368
1638
|
},
|
|
1369
1639
|
},
|
|
1370
1640
|
],
|
|
@@ -1372,24 +1642,28 @@ export const TYPERT = {
|
|
|
1372
1642
|
mode: 'strict',
|
|
1373
1643
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1374
1644
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_result$schema,
|
|
1645
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1375
1646
|
},
|
|
1376
1647
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":353,"column":3},
|
|
1377
1648
|
},
|
|
1378
|
-
{
|
|
1379
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/insertWorktreeBefore',
|
|
1649
|
+
'worktreeManager/insertWorktreeBefore': {
|
|
1380
1650
|
service: 'worktreeManager',
|
|
1381
|
-
namespace: 'worktreeManager',
|
|
1382
|
-
method: 'insertWorktreeBefore',
|
|
1383
1651
|
invocation: { kind: 'direct' },
|
|
1384
1652
|
parameters: [
|
|
1385
1653
|
{
|
|
1386
1654
|
name: 'input',
|
|
1387
|
-
wire: 'input',
|
|
1388
1655
|
source: 'json',
|
|
1389
1656
|
codec: {
|
|
1390
1657
|
mode: 'strict',
|
|
1391
1658
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/insertWorktreeBefore:input',
|
|
1392
1659
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0$schema,
|
|
1660
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"beforeWorktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":true},
|
|
1661
|
+
},
|
|
1662
|
+
strictCodec: {
|
|
1663
|
+
mode: 'strict',
|
|
1664
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/insertWorktreeBefore:input',
|
|
1665
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_parameter_0_strict$schema,
|
|
1666
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"beforeWorktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":false},
|
|
1393
1667
|
},
|
|
1394
1668
|
},
|
|
1395
1669
|
],
|
|
@@ -1397,24 +1671,28 @@ export const TYPERT = {
|
|
|
1397
1671
|
mode: 'strict',
|
|
1398
1672
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1399
1673
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_result$schema,
|
|
1674
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1400
1675
|
},
|
|
1401
1676
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":412,"column":3},
|
|
1402
1677
|
},
|
|
1403
|
-
{
|
|
1404
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listBindings',
|
|
1678
|
+
'worktreeManager/listBindings': {
|
|
1405
1679
|
service: 'worktreeManager',
|
|
1406
|
-
namespace: 'worktreeManager',
|
|
1407
|
-
method: 'listBindings',
|
|
1408
1680
|
invocation: { kind: 'direct' },
|
|
1409
1681
|
parameters: [
|
|
1410
1682
|
{
|
|
1411
1683
|
name: 'input',
|
|
1412
|
-
wire: 'input',
|
|
1413
1684
|
source: 'json',
|
|
1414
1685
|
codec: {
|
|
1415
1686
|
mode: 'strict',
|
|
1416
1687
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBindings:input',
|
|
1417
1688
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_parameter_0$schema,
|
|
1689
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1690
|
+
},
|
|
1691
|
+
strictCodec: {
|
|
1692
|
+
mode: 'strict',
|
|
1693
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBindings:input',
|
|
1694
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_parameter_0_strict$schema,
|
|
1695
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1418
1696
|
},
|
|
1419
1697
|
},
|
|
1420
1698
|
],
|
|
@@ -1422,24 +1700,28 @@ export const TYPERT = {
|
|
|
1422
1700
|
mode: 'strict',
|
|
1423
1701
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1424
1702
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_result$schema,
|
|
1703
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1425
1704
|
},
|
|
1426
1705
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":421,"column":3},
|
|
1427
1706
|
},
|
|
1428
|
-
{
|
|
1429
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listBranches',
|
|
1707
|
+
'worktreeManager/listBranches': {
|
|
1430
1708
|
service: 'worktreeManager',
|
|
1431
|
-
namespace: 'worktreeManager',
|
|
1432
|
-
method: 'listBranches',
|
|
1433
1709
|
invocation: { kind: 'direct' },
|
|
1434
1710
|
parameters: [
|
|
1435
1711
|
{
|
|
1436
1712
|
name: 'input',
|
|
1437
|
-
wire: 'input',
|
|
1438
1713
|
source: 'json',
|
|
1439
1714
|
codec: {
|
|
1440
1715
|
mode: 'strict',
|
|
1441
1716
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBranches:input',
|
|
1442
1717
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_parameter_0$schema,
|
|
1718
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1719
|
+
},
|
|
1720
|
+
strictCodec: {
|
|
1721
|
+
mode: 'strict',
|
|
1722
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBranches:input',
|
|
1723
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_parameter_0_strict$schema,
|
|
1724
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1443
1725
|
},
|
|
1444
1726
|
},
|
|
1445
1727
|
],
|
|
@@ -1447,24 +1729,28 @@ export const TYPERT = {
|
|
|
1447
1729
|
mode: 'strict',
|
|
1448
1730
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1449
1731
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_result$schema,
|
|
1732
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1450
1733
|
},
|
|
1451
1734
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":323,"column":3},
|
|
1452
1735
|
},
|
|
1453
|
-
{
|
|
1454
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listImportCandidates',
|
|
1736
|
+
'worktreeManager/listImportCandidates': {
|
|
1455
1737
|
service: 'worktreeManager',
|
|
1456
|
-
namespace: 'worktreeManager',
|
|
1457
|
-
method: 'listImportCandidates',
|
|
1458
1738
|
invocation: { kind: 'direct' },
|
|
1459
1739
|
parameters: [
|
|
1460
1740
|
{
|
|
1461
1741
|
name: 'input',
|
|
1462
|
-
wire: 'input',
|
|
1463
1742
|
source: 'json',
|
|
1464
1743
|
codec: {
|
|
1465
1744
|
mode: 'strict',
|
|
1466
1745
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listImportCandidates:input',
|
|
1467
1746
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_parameter_0$schema,
|
|
1747
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1748
|
+
},
|
|
1749
|
+
strictCodec: {
|
|
1750
|
+
mode: 'strict',
|
|
1751
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listImportCandidates:input',
|
|
1752
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_parameter_0_strict$schema,
|
|
1753
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1468
1754
|
},
|
|
1469
1755
|
},
|
|
1470
1756
|
],
|
|
@@ -1472,24 +1758,28 @@ export const TYPERT = {
|
|
|
1472
1758
|
mode: 'strict',
|
|
1473
1759
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1474
1760
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_result$schema,
|
|
1761
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1475
1762
|
},
|
|
1476
1763
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":316,"column":3},
|
|
1477
1764
|
},
|
|
1478
|
-
{
|
|
1479
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktreeCommitFiles',
|
|
1765
|
+
'worktreeManager/listWorktreeCommitFiles': {
|
|
1480
1766
|
service: 'worktreeManager',
|
|
1481
|
-
namespace: 'worktreeManager',
|
|
1482
|
-
method: 'listWorktreeCommitFiles',
|
|
1483
1767
|
invocation: { kind: 'direct' },
|
|
1484
1768
|
parameters: [
|
|
1485
1769
|
{
|
|
1486
1770
|
name: 'input',
|
|
1487
|
-
wire: 'input',
|
|
1488
1771
|
source: 'json',
|
|
1489
1772
|
codec: {
|
|
1490
1773
|
mode: 'strict',
|
|
1491
1774
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitCommitFilesRequest',
|
|
1492
1775
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0$schema,
|
|
1776
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
1777
|
+
},
|
|
1778
|
+
strictCodec: {
|
|
1779
|
+
mode: 'strict',
|
|
1780
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitCommitFilesRequest',
|
|
1781
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_parameter_0_strict$schema,
|
|
1782
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
1493
1783
|
},
|
|
1494
1784
|
},
|
|
1495
1785
|
],
|
|
@@ -1497,24 +1787,28 @@ export const TYPERT = {
|
|
|
1497
1787
|
mode: 'strict',
|
|
1498
1788
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1499
1789
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result$schema,
|
|
1790
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1500
1791
|
},
|
|
1501
1792
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":302,"column":3},
|
|
1502
1793
|
},
|
|
1503
|
-
{
|
|
1504
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktreeCommits',
|
|
1794
|
+
'worktreeManager/listWorktreeCommits': {
|
|
1505
1795
|
service: 'worktreeManager',
|
|
1506
|
-
namespace: 'worktreeManager',
|
|
1507
|
-
method: 'listWorktreeCommits',
|
|
1508
1796
|
invocation: { kind: 'direct' },
|
|
1509
1797
|
parameters: [
|
|
1510
1798
|
{
|
|
1511
1799
|
name: 'input',
|
|
1512
|
-
wire: 'input',
|
|
1513
1800
|
source: 'json',
|
|
1514
1801
|
codec: {
|
|
1515
1802
|
mode: 'strict',
|
|
1516
1803
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitHistoryRequest',
|
|
1517
1804
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0$schema,
|
|
1805
|
+
jsonSchema: {"type":"object","properties":{"offset":{"type":"number"},"expectedHeadCommit":{"type":"string","description":"Subsequent pages must still belong to this comparison projection."},"expectedBaselineCommit":{"type":"string"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"baseBranch":{"type":"string","description":"Optional local or fetched remote branch selected as the comparison baseline."}},"required":["workspaceId","worktreeId"],"additionalProperties":true},
|
|
1806
|
+
},
|
|
1807
|
+
strictCodec: {
|
|
1808
|
+
mode: 'strict',
|
|
1809
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitHistoryRequest',
|
|
1810
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_parameter_0_strict$schema,
|
|
1811
|
+
jsonSchema: {"type":"object","properties":{"offset":{"type":"number"},"expectedHeadCommit":{"type":"string","description":"Subsequent pages must still belong to this comparison projection."},"expectedBaselineCommit":{"type":"string"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"baseBranch":{"type":"string","description":"Optional local or fetched remote branch selected as the comparison baseline."}},"required":["workspaceId","worktreeId"],"additionalProperties":false},
|
|
1518
1812
|
},
|
|
1519
1813
|
},
|
|
1520
1814
|
],
|
|
@@ -1522,24 +1816,28 @@ export const TYPERT = {
|
|
|
1522
1816
|
mode: 'strict',
|
|
1523
1817
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1524
1818
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$schema,
|
|
1819
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1525
1820
|
},
|
|
1526
1821
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":297,"column":3},
|
|
1527
1822
|
},
|
|
1528
|
-
{
|
|
1529
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktrees',
|
|
1823
|
+
'worktreeManager/listWorktrees': {
|
|
1530
1824
|
service: 'worktreeManager',
|
|
1531
|
-
namespace: 'worktreeManager',
|
|
1532
|
-
method: 'listWorktrees',
|
|
1533
1825
|
invocation: { kind: 'direct' },
|
|
1534
1826
|
parameters: [
|
|
1535
1827
|
{
|
|
1536
1828
|
name: 'input',
|
|
1537
|
-
wire: 'input',
|
|
1538
1829
|
source: 'json',
|
|
1539
1830
|
codec: {
|
|
1540
1831
|
mode: 'strict',
|
|
1541
1832
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktrees:input',
|
|
1542
1833
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_parameter_0$schema,
|
|
1834
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1835
|
+
},
|
|
1836
|
+
strictCodec: {
|
|
1837
|
+
mode: 'strict',
|
|
1838
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktrees:input',
|
|
1839
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_parameter_0_strict$schema,
|
|
1840
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1543
1841
|
},
|
|
1544
1842
|
},
|
|
1545
1843
|
],
|
|
@@ -1547,24 +1845,28 @@ export const TYPERT = {
|
|
|
1547
1845
|
mode: 'strict',
|
|
1548
1846
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1549
1847
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_result$schema,
|
|
1848
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1550
1849
|
},
|
|
1551
1850
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":285,"column":3},
|
|
1552
1851
|
},
|
|
1553
|
-
{
|
|
1554
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorkspaceNavigation',
|
|
1852
|
+
'worktreeManager/readWorkspaceNavigation': {
|
|
1555
1853
|
service: 'worktreeManager',
|
|
1556
|
-
namespace: 'worktreeManager',
|
|
1557
|
-
method: 'readWorkspaceNavigation',
|
|
1558
1854
|
invocation: { kind: 'direct' },
|
|
1559
1855
|
parameters: [
|
|
1560
1856
|
{
|
|
1561
1857
|
name: 'input',
|
|
1562
|
-
wire: 'input',
|
|
1563
1858
|
source: 'json',
|
|
1564
1859
|
codec: {
|
|
1565
1860
|
mode: 'strict',
|
|
1566
1861
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorkspaceNavigation:input',
|
|
1567
1862
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0$schema,
|
|
1863
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1864
|
+
},
|
|
1865
|
+
strictCodec: {
|
|
1866
|
+
mode: 'strict',
|
|
1867
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorkspaceNavigation:input',
|
|
1868
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_parameter_0_strict$schema,
|
|
1869
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1568
1870
|
},
|
|
1569
1871
|
},
|
|
1570
1872
|
],
|
|
@@ -1572,24 +1874,28 @@ export const TYPERT = {
|
|
|
1572
1874
|
mode: 'strict',
|
|
1573
1875
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1574
1876
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_result$schema,
|
|
1877
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1575
1878
|
},
|
|
1576
1879
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":280,"column":3},
|
|
1577
1880
|
},
|
|
1578
|
-
{
|
|
1579
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorktreeSessionState',
|
|
1881
|
+
'worktreeManager/readWorktreeSessionState': {
|
|
1580
1882
|
service: 'worktreeManager',
|
|
1581
|
-
namespace: 'worktreeManager',
|
|
1582
|
-
method: 'readWorktreeSessionState',
|
|
1583
1883
|
invocation: { kind: 'direct' },
|
|
1584
1884
|
parameters: [
|
|
1585
1885
|
{
|
|
1586
1886
|
name: 'input',
|
|
1587
|
-
wire: 'input',
|
|
1588
1887
|
source: 'json',
|
|
1589
1888
|
codec: {
|
|
1590
1889
|
mode: 'strict',
|
|
1591
1890
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorktreeSessionState:input',
|
|
1592
1891
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_parameter_0$schema,
|
|
1892
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":true},
|
|
1893
|
+
},
|
|
1894
|
+
strictCodec: {
|
|
1895
|
+
mode: 'strict',
|
|
1896
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorktreeSessionState:input',
|
|
1897
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_parameter_0_strict$schema,
|
|
1898
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["workspaceId","worktreeId"],"additionalProperties":false},
|
|
1593
1899
|
},
|
|
1594
1900
|
},
|
|
1595
1901
|
],
|
|
@@ -1597,24 +1903,28 @@ export const TYPERT = {
|
|
|
1597
1903
|
mode: 'strict',
|
|
1598
1904
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1599
1905
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_result$schema,
|
|
1906
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1600
1907
|
},
|
|
1601
1908
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":292,"column":3},
|
|
1602
1909
|
},
|
|
1603
|
-
{
|
|
1604
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/recoverWorktrees',
|
|
1910
|
+
'worktreeManager/recoverWorktrees': {
|
|
1605
1911
|
service: 'worktreeManager',
|
|
1606
|
-
namespace: 'worktreeManager',
|
|
1607
|
-
method: 'recoverWorktrees',
|
|
1608
1912
|
invocation: { kind: 'direct' },
|
|
1609
1913
|
parameters: [
|
|
1610
1914
|
{
|
|
1611
1915
|
name: 'input',
|
|
1612
|
-
wire: 'input',
|
|
1613
1916
|
source: 'json',
|
|
1614
1917
|
codec: {
|
|
1615
1918
|
mode: 'strict',
|
|
1616
1919
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/recoverWorktrees:input',
|
|
1617
1920
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0$schema,
|
|
1921
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"quarantineOperationId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
|
|
1922
|
+
},
|
|
1923
|
+
strictCodec: {
|
|
1924
|
+
mode: 'strict',
|
|
1925
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/recoverWorktrees:input',
|
|
1926
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_parameter_0_strict$schema,
|
|
1927
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"quarantineOperationId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":false},
|
|
1618
1928
|
},
|
|
1619
1929
|
},
|
|
1620
1930
|
],
|
|
@@ -1622,24 +1932,28 @@ export const TYPERT = {
|
|
|
1622
1932
|
mode: 'strict',
|
|
1623
1933
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1624
1934
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_result$schema,
|
|
1935
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1625
1936
|
},
|
|
1626
1937
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":389,"column":3},
|
|
1627
1938
|
},
|
|
1628
|
-
{
|
|
1629
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/removeWorktree',
|
|
1939
|
+
'worktreeManager/removeWorktree': {
|
|
1630
1940
|
service: 'worktreeManager',
|
|
1631
|
-
namespace: 'worktreeManager',
|
|
1632
|
-
method: 'removeWorktree',
|
|
1633
1941
|
invocation: { kind: 'direct' },
|
|
1634
1942
|
parameters: [
|
|
1635
1943
|
{
|
|
1636
1944
|
name: 'input',
|
|
1637
|
-
wire: 'input',
|
|
1638
1945
|
source: 'json',
|
|
1639
1946
|
codec: {
|
|
1640
1947
|
mode: 'strict',
|
|
1641
1948
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/removeWorktree:input',
|
|
1642
1949
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_parameter_0$schema,
|
|
1950
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":true},
|
|
1951
|
+
},
|
|
1952
|
+
strictCodec: {
|
|
1953
|
+
mode: 'strict',
|
|
1954
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/removeWorktree:input',
|
|
1955
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_parameter_0_strict$schema,
|
|
1956
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":false},
|
|
1643
1957
|
},
|
|
1644
1958
|
},
|
|
1645
1959
|
],
|
|
@@ -1647,24 +1961,28 @@ export const TYPERT = {
|
|
|
1647
1961
|
mode: 'strict',
|
|
1648
1962
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1649
1963
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_result$schema,
|
|
1964
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1650
1965
|
},
|
|
1651
1966
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":361,"column":3},
|
|
1652
1967
|
},
|
|
1653
|
-
{
|
|
1654
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/syncWorktreeBaseline',
|
|
1968
|
+
'worktreeManager/syncWorktreeBaseline': {
|
|
1655
1969
|
service: 'worktreeManager',
|
|
1656
|
-
namespace: 'worktreeManager',
|
|
1657
|
-
method: 'syncWorktreeBaseline',
|
|
1658
1970
|
invocation: { kind: 'direct' },
|
|
1659
1971
|
parameters: [
|
|
1660
1972
|
{
|
|
1661
1973
|
name: 'input',
|
|
1662
|
-
wire: 'input',
|
|
1663
1974
|
source: 'json',
|
|
1664
1975
|
codec: {
|
|
1665
1976
|
mode: 'strict',
|
|
1666
1977
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeBaselineSyncRequest',
|
|
1667
1978
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter_0$schema,
|
|
1979
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"strategy":{"type":"string","enum":["rebase","merge"]},"baseBranch":{"type":"string","description":"Saved baseline witnessed by the confirmation dialog."},"requestId":{"type":"string","description":"One admission identity; reuse it after transport failure."}},"required":["workspaceId","worktreeId","strategy","baseBranch","requestId"],"additionalProperties":true},
|
|
1980
|
+
},
|
|
1981
|
+
strictCodec: {
|
|
1982
|
+
mode: 'strict',
|
|
1983
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeBaselineSyncRequest',
|
|
1984
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_parameter_0_strict$schema,
|
|
1985
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"strategy":{"type":"string","enum":["rebase","merge"]},"baseBranch":{"type":"string","description":"Saved baseline witnessed by the confirmation dialog."},"requestId":{"type":"string","description":"One admission identity; reuse it after transport failure."}},"required":["workspaceId","worktreeId","strategy","baseBranch","requestId"],"additionalProperties":false},
|
|
1668
1986
|
},
|
|
1669
1987
|
},
|
|
1670
1988
|
],
|
|
@@ -1673,24 +1991,28 @@ export const TYPERT = {
|
|
|
1673
1991
|
mode: 'strict',
|
|
1674
1992
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1675
1993
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_result$schema,
|
|
1994
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1676
1995
|
},
|
|
1677
1996
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":202,"column":3},
|
|
1678
1997
|
},
|
|
1679
|
-
{
|
|
1680
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/unarchiveWorktree',
|
|
1998
|
+
'worktreeManager/unarchiveWorktree': {
|
|
1681
1999
|
service: 'worktreeManager',
|
|
1682
|
-
namespace: 'worktreeManager',
|
|
1683
|
-
method: 'unarchiveWorktree',
|
|
1684
2000
|
invocation: { kind: 'direct' },
|
|
1685
2001
|
parameters: [
|
|
1686
2002
|
{
|
|
1687
2003
|
name: 'input',
|
|
1688
|
-
wire: 'input',
|
|
1689
2004
|
source: 'json',
|
|
1690
2005
|
codec: {
|
|
1691
2006
|
mode: 'strict',
|
|
1692
2007
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/unarchiveWorktree:input',
|
|
1693
2008
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_parameter_0$schema,
|
|
2009
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":true},
|
|
2010
|
+
},
|
|
2011
|
+
strictCodec: {
|
|
2012
|
+
mode: 'strict',
|
|
2013
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/unarchiveWorktree:input',
|
|
2014
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_parameter_0_strict$schema,
|
|
2015
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"mutationToken":{"type":"string"}},"required":["workspaceId","worktreeId","mutationToken"],"additionalProperties":false},
|
|
1694
2016
|
},
|
|
1695
2017
|
},
|
|
1696
2018
|
],
|
|
@@ -1698,24 +2020,28 @@ export const TYPERT = {
|
|
|
1698
2020
|
mode: 'strict',
|
|
1699
2021
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1700
2022
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_result$schema,
|
|
2023
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1701
2024
|
},
|
|
1702
2025
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":370,"column":3},
|
|
1703
2026
|
},
|
|
1704
|
-
{
|
|
1705
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateToolSettings',
|
|
2027
|
+
'worktreeManager/updateToolSettings': {
|
|
1706
2028
|
service: 'worktreeManager',
|
|
1707
|
-
namespace: 'worktreeManager',
|
|
1708
|
-
method: 'updateToolSettings',
|
|
1709
2029
|
invocation: { kind: 'direct' },
|
|
1710
2030
|
parameters: [
|
|
1711
2031
|
{
|
|
1712
2032
|
name: 'input',
|
|
1713
|
-
wire: 'input',
|
|
1714
2033
|
source: 'json',
|
|
1715
2034
|
codec: {
|
|
1716
2035
|
mode: 'strict',
|
|
1717
2036
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateToolSettings:input',
|
|
1718
2037
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_parameter_0$schema,
|
|
2038
|
+
jsonSchema: {"type":"object","properties":{"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"general"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"local"},"workspaceId":{"type":"string"}},"required":["kind","workspaceId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"worktree"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["kind","workspaceId","worktreeId"],"additionalProperties":true}]},"selection":{"type":"object","properties":{"enabled":{"type":"boolean"},"tools":{"type":"array","items":{"type":"string","enum":["clutch_new_worktree","clutch_list_worktrees","clutch_span_worktree","clutch_list_models","clutch_list_sessions","clutch_send_message"]}}},"required":["enabled","tools"],"additionalProperties":true},"expected":{"type":"object","properties":{"enabled":{"type":"boolean"},"tools":{"type":"array","items":{"type":"string","enum":["clutch_new_worktree","clutch_list_worktrees","clutch_span_worktree","clutch_list_models","clutch_list_sessions","clutch_send_message"]}}},"required":["enabled","tools"],"additionalProperties":true}},"required":["scope","selection","expected"],"additionalProperties":true},
|
|
2039
|
+
},
|
|
2040
|
+
strictCodec: {
|
|
2041
|
+
mode: 'strict',
|
|
2042
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateToolSettings:input',
|
|
2043
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_parameter_0_strict$schema,
|
|
2044
|
+
jsonSchema: {"type":"object","properties":{"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"general"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"local"},"workspaceId":{"type":"string"}},"required":["kind","workspaceId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"worktree"},"workspaceId":{"type":"string"},"worktreeId":{"type":"string"}},"required":["kind","workspaceId","worktreeId"],"additionalProperties":false}]},"selection":{"type":"object","properties":{"enabled":{"type":"boolean"},"tools":{"type":"array","items":{"type":"string","enum":["clutch_new_worktree","clutch_list_worktrees","clutch_span_worktree","clutch_list_models","clutch_list_sessions","clutch_send_message"]}}},"required":["enabled","tools"],"additionalProperties":false},"expected":{"type":"object","properties":{"enabled":{"type":"boolean"},"tools":{"type":"array","items":{"type":"string","enum":["clutch_new_worktree","clutch_list_worktrees","clutch_span_worktree","clutch_list_models","clutch_list_sessions","clutch_send_message"]}}},"required":["enabled","tools"],"additionalProperties":false}},"required":["scope","selection","expected"],"additionalProperties":false},
|
|
1719
2045
|
},
|
|
1720
2046
|
},
|
|
1721
2047
|
],
|
|
@@ -1723,24 +2049,28 @@ export const TYPERT = {
|
|
|
1723
2049
|
mode: 'strict',
|
|
1724
2050
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1725
2051
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_result$schema,
|
|
2052
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1726
2053
|
},
|
|
1727
2054
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":216,"column":9},
|
|
1728
2055
|
},
|
|
1729
|
-
{
|
|
1730
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeBaseBranch',
|
|
2056
|
+
'worktreeManager/updateWorktreeBaseBranch': {
|
|
1731
2057
|
service: 'worktreeManager',
|
|
1732
|
-
namespace: 'worktreeManager',
|
|
1733
|
-
method: 'updateWorktreeBaseBranch',
|
|
1734
2058
|
invocation: { kind: 'direct' },
|
|
1735
2059
|
parameters: [
|
|
1736
2060
|
{
|
|
1737
2061
|
name: 'input',
|
|
1738
|
-
wire: 'input',
|
|
1739
2062
|
source: 'json',
|
|
1740
2063
|
codec: {
|
|
1741
2064
|
mode: 'strict',
|
|
1742
2065
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeBaseBranch:input',
|
|
1743
2066
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_parameter_0$schema,
|
|
2067
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"baseBranch":{"type":"string"},"expectedBaseBranch":{"type":"string"}},"required":["workspaceId","worktreeId","baseBranch"],"additionalProperties":true},
|
|
2068
|
+
},
|
|
2069
|
+
strictCodec: {
|
|
2070
|
+
mode: 'strict',
|
|
2071
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeBaseBranch:input',
|
|
2072
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_parameter_0_strict$schema,
|
|
2073
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"baseBranch":{"type":"string"},"expectedBaseBranch":{"type":"string"}},"required":["workspaceId","worktreeId","baseBranch"],"additionalProperties":false},
|
|
1744
2074
|
},
|
|
1745
2075
|
},
|
|
1746
2076
|
],
|
|
@@ -1748,24 +2078,28 @@ export const TYPERT = {
|
|
|
1748
2078
|
mode: 'strict',
|
|
1749
2079
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1750
2080
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_result$schema,
|
|
2081
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1751
2082
|
},
|
|
1752
2083
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":265,"column":3},
|
|
1753
2084
|
},
|
|
1754
|
-
{
|
|
1755
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeInstructions',
|
|
2085
|
+
'worktreeManager/updateWorktreeInstructions': {
|
|
1756
2086
|
service: 'worktreeManager',
|
|
1757
|
-
namespace: 'worktreeManager',
|
|
1758
|
-
method: 'updateWorktreeInstructions',
|
|
1759
2087
|
invocation: { kind: 'direct' },
|
|
1760
2088
|
parameters: [
|
|
1761
2089
|
{
|
|
1762
2090
|
name: 'input',
|
|
1763
|
-
wire: 'input',
|
|
1764
2091
|
source: 'json',
|
|
1765
2092
|
codec: {
|
|
1766
2093
|
mode: 'strict',
|
|
1767
2094
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeInstructions:input',
|
|
1768
2095
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_parameter_0$schema,
|
|
2096
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"instructions":{"type":"string"},"expectedInstructions":{"type":"string"}},"required":["workspaceId","worktreeId","instructions","expectedInstructions"],"additionalProperties":true},
|
|
2097
|
+
},
|
|
2098
|
+
strictCodec: {
|
|
2099
|
+
mode: 'strict',
|
|
2100
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeInstructions:input',
|
|
2101
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_parameter_0_strict$schema,
|
|
2102
|
+
jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"},"worktreeId":{"type":"string"},"instructions":{"type":"string"},"expectedInstructions":{"type":"string"}},"required":["workspaceId","worktreeId","instructions","expectedInstructions"],"additionalProperties":false},
|
|
1769
2103
|
},
|
|
1770
2104
|
},
|
|
1771
2105
|
],
|
|
@@ -1773,24 +2107,28 @@ export const TYPERT = {
|
|
|
1773
2107
|
mode: 'strict',
|
|
1774
2108
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1775
2109
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_result$schema,
|
|
2110
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1776
2111
|
},
|
|
1777
2112
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":255,"column":3},
|
|
1778
2113
|
},
|
|
1779
|
-
{
|
|
1780
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/watchToolChanges',
|
|
2114
|
+
'worktreeManager/watchToolChanges': {
|
|
1781
2115
|
service: 'worktreeManager',
|
|
1782
|
-
namespace: 'worktreeManager',
|
|
1783
|
-
method: 'watchToolChanges',
|
|
1784
2116
|
invocation: { kind: 'direct' },
|
|
1785
2117
|
parameters: [
|
|
1786
2118
|
{
|
|
1787
2119
|
name: 'input',
|
|
1788
|
-
wire: 'input',
|
|
1789
2120
|
source: 'json',
|
|
1790
2121
|
codec: {
|
|
1791
2122
|
mode: 'strict',
|
|
1792
2123
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/watchToolChanges:input',
|
|
1793
2124
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_parameter_0$schema,
|
|
2125
|
+
jsonSchema: {"type":"object","properties":{"afterRevision":{"type":"number"}},"required":["afterRevision"],"additionalProperties":true},
|
|
2126
|
+
},
|
|
2127
|
+
strictCodec: {
|
|
2128
|
+
mode: 'strict',
|
|
2129
|
+
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/watchToolChanges:input',
|
|
2130
|
+
create: _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_parameter_0_strict$schema,
|
|
2131
|
+
jsonSchema: {"type":"object","properties":{"afterRevision":{"type":"number"}},"required":["afterRevision"],"additionalProperties":false},
|
|
1794
2132
|
},
|
|
1795
2133
|
},
|
|
1796
2134
|
],
|
|
@@ -1799,10 +2137,19 @@ export const TYPERT = {
|
|
|
1799
2137
|
mode: 'strict',
|
|
1800
2138
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1801
2139
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_result$schema,
|
|
2140
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1802
2141
|
},
|
|
1803
2142
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":239,"column":9},
|
|
1804
2143
|
},
|
|
2144
|
+
},
|
|
2145
|
+
}, z)
|
|
2146
|
+
|
|
2147
|
+
export const TYPERT = {
|
|
2148
|
+
package: '@cerbur/clutch-dsh-worktree',
|
|
2149
|
+
face: 'host',
|
|
2150
|
+
schemas: [
|
|
1805
2151
|
],
|
|
2152
|
+
get invocations() { return $remote.descriptors },
|
|
1806
2153
|
model: {
|
|
1807
2154
|
"services": [],
|
|
1808
2155
|
"events": [],
|