@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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from the Host 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,29 +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
|
-
export const TYPERT_REMOTE = {
|
|
1239
|
+
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
1022
1240
|
package: '@cerbur/clutch-dsh-worktree',
|
|
1023
|
-
|
|
1024
|
-
{
|
|
1025
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/adoptWorktreeBranch',
|
|
1241
|
+
methods: {
|
|
1242
|
+
'worktreeManager/adoptWorktreeBranch': {
|
|
1026
1243
|
service: 'worktreeManager',
|
|
1027
|
-
namespace: 'worktreeManager',
|
|
1028
|
-
method: 'adoptWorktreeBranch',
|
|
1029
1244
|
invocation: { kind: 'direct' },
|
|
1030
1245
|
parameters: [
|
|
1031
1246
|
{
|
|
1032
1247
|
name: 'input',
|
|
1033
|
-
wire: 'input',
|
|
1034
1248
|
source: 'json',
|
|
1035
1249
|
codec: {
|
|
1036
1250
|
mode: 'strict',
|
|
1037
1251
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/adoptWorktreeBranch:input',
|
|
1038
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},
|
|
1039
1260
|
},
|
|
1040
1261
|
},
|
|
1041
1262
|
],
|
|
@@ -1043,24 +1264,28 @@ export const TYPERT_REMOTE = {
|
|
|
1043
1264
|
mode: 'strict',
|
|
1044
1265
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1045
1266
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_adoptWorktreeBranch_result$schema,
|
|
1267
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1046
1268
|
},
|
|
1047
1269
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":379,"column":3},
|
|
1048
1270
|
},
|
|
1049
|
-
{
|
|
1050
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/bindSession',
|
|
1271
|
+
'worktreeManager/bindSession': {
|
|
1051
1272
|
service: 'worktreeManager',
|
|
1052
|
-
namespace: 'worktreeManager',
|
|
1053
|
-
method: 'bindSession',
|
|
1054
1273
|
invocation: { kind: 'direct' },
|
|
1055
1274
|
parameters: [
|
|
1056
1275
|
{
|
|
1057
1276
|
name: 'input',
|
|
1058
|
-
wire: 'input',
|
|
1059
1277
|
source: 'json',
|
|
1060
1278
|
codec: {
|
|
1061
1279
|
mode: 'strict',
|
|
1062
1280
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/bindSession:input',
|
|
1063
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},
|
|
1064
1289
|
},
|
|
1065
1290
|
},
|
|
1066
1291
|
],
|
|
@@ -1068,24 +1293,28 @@ export const TYPERT_REMOTE = {
|
|
|
1068
1293
|
mode: 'strict',
|
|
1069
1294
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1070
1295
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_bindSession_result$schema,
|
|
1296
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1071
1297
|
},
|
|
1072
1298
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":428,"column":3},
|
|
1073
1299
|
},
|
|
1074
|
-
{
|
|
1075
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/canReuseLocalSession',
|
|
1300
|
+
'worktreeManager/canReuseLocalSession': {
|
|
1076
1301
|
service: 'worktreeManager',
|
|
1077
|
-
namespace: 'worktreeManager',
|
|
1078
|
-
method: 'canReuseLocalSession',
|
|
1079
1302
|
invocation: { kind: 'direct' },
|
|
1080
1303
|
parameters: [
|
|
1081
1304
|
{
|
|
1082
1305
|
name: 'input',
|
|
1083
|
-
wire: 'input',
|
|
1084
1306
|
source: 'json',
|
|
1085
1307
|
codec: {
|
|
1086
1308
|
mode: 'strict',
|
|
1087
1309
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/canReuseLocalSession:input',
|
|
1088
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},
|
|
1089
1318
|
},
|
|
1090
1319
|
},
|
|
1091
1320
|
],
|
|
@@ -1093,24 +1322,28 @@ export const TYPERT_REMOTE = {
|
|
|
1093
1322
|
mode: 'strict',
|
|
1094
1323
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1095
1324
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_canReuseLocalSession_result$schema,
|
|
1325
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1096
1326
|
},
|
|
1097
1327
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":178,"column":3},
|
|
1098
1328
|
},
|
|
1099
|
-
{
|
|
1100
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/cleanWorktree',
|
|
1329
|
+
'worktreeManager/cleanWorktree': {
|
|
1101
1330
|
service: 'worktreeManager',
|
|
1102
|
-
namespace: 'worktreeManager',
|
|
1103
|
-
method: 'cleanWorktree',
|
|
1104
1331
|
invocation: { kind: 'direct' },
|
|
1105
1332
|
parameters: [
|
|
1106
1333
|
{
|
|
1107
1334
|
name: 'input',
|
|
1108
|
-
wire: 'input',
|
|
1109
1335
|
source: 'json',
|
|
1110
1336
|
codec: {
|
|
1111
1337
|
mode: 'strict',
|
|
1112
1338
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/cleanWorktree:input',
|
|
1113
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},
|
|
1114
1347
|
},
|
|
1115
1348
|
},
|
|
1116
1349
|
],
|
|
@@ -1118,24 +1351,28 @@ export const TYPERT_REMOTE = {
|
|
|
1118
1351
|
mode: 'strict',
|
|
1119
1352
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1120
1353
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_cleanWorktree_result$schema,
|
|
1354
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1121
1355
|
},
|
|
1122
1356
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":394,"column":3},
|
|
1123
1357
|
},
|
|
1124
|
-
{
|
|
1125
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktree',
|
|
1358
|
+
'worktreeManager/createWorktree': {
|
|
1126
1359
|
service: 'worktreeManager',
|
|
1127
|
-
namespace: 'worktreeManager',
|
|
1128
|
-
method: 'createWorktree',
|
|
1129
1360
|
invocation: { kind: 'direct' },
|
|
1130
1361
|
parameters: [
|
|
1131
1362
|
{
|
|
1132
1363
|
name: 'input',
|
|
1133
|
-
wire: 'input',
|
|
1134
1364
|
source: 'json',
|
|
1135
1365
|
codec: {
|
|
1136
1366
|
mode: 'strict',
|
|
1137
1367
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktree:input',
|
|
1138
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},
|
|
1139
1376
|
},
|
|
1140
1377
|
},
|
|
1141
1378
|
],
|
|
@@ -1143,24 +1380,28 @@ export const TYPERT_REMOTE = {
|
|
|
1143
1380
|
mode: 'strict',
|
|
1144
1381
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1145
1382
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktree_result$schema,
|
|
1383
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1146
1384
|
},
|
|
1147
1385
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":342,"column":3},
|
|
1148
1386
|
},
|
|
1149
|
-
{
|
|
1150
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/createWorktreeSession',
|
|
1387
|
+
'worktreeManager/createWorktreeSession': {
|
|
1151
1388
|
service: 'worktreeManager',
|
|
1152
|
-
namespace: 'worktreeManager',
|
|
1153
|
-
method: 'createWorktreeSession',
|
|
1154
1389
|
invocation: { kind: 'direct' },
|
|
1155
1390
|
parameters: [
|
|
1156
1391
|
{
|
|
1157
1392
|
name: 'input',
|
|
1158
|
-
wire: 'input',
|
|
1159
1393
|
source: 'json',
|
|
1160
1394
|
codec: {
|
|
1161
1395
|
mode: 'strict',
|
|
1162
1396
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeSessionCreationRequest',
|
|
1163
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},
|
|
1164
1405
|
},
|
|
1165
1406
|
},
|
|
1166
1407
|
],
|
|
@@ -1169,24 +1410,28 @@ export const TYPERT_REMOTE = {
|
|
|
1169
1410
|
mode: 'strict',
|
|
1170
1411
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1171
1412
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_createWorktreeSession_result$schema,
|
|
1413
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1172
1414
|
},
|
|
1173
1415
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":194,"column":3},
|
|
1174
1416
|
},
|
|
1175
|
-
{
|
|
1176
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/fetchRemoteBranches',
|
|
1417
|
+
'worktreeManager/fetchRemoteBranches': {
|
|
1177
1418
|
service: 'worktreeManager',
|
|
1178
|
-
namespace: 'worktreeManager',
|
|
1179
|
-
method: 'fetchRemoteBranches',
|
|
1180
1419
|
invocation: { kind: 'direct' },
|
|
1181
1420
|
parameters: [
|
|
1182
1421
|
{
|
|
1183
1422
|
name: 'input',
|
|
1184
|
-
wire: 'input',
|
|
1185
1423
|
source: 'json',
|
|
1186
1424
|
codec: {
|
|
1187
1425
|
mode: 'strict',
|
|
1188
1426
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/fetchRemoteBranches:input',
|
|
1189
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},
|
|
1190
1435
|
},
|
|
1191
1436
|
},
|
|
1192
1437
|
],
|
|
@@ -1194,24 +1439,28 @@ export const TYPERT_REMOTE = {
|
|
|
1194
1439
|
mode: 'strict',
|
|
1195
1440
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1196
1441
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_fetchRemoteBranches_result$schema,
|
|
1442
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1197
1443
|
},
|
|
1198
1444
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":330,"column":3},
|
|
1199
1445
|
},
|
|
1200
|
-
{
|
|
1201
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/forgetWorktree',
|
|
1446
|
+
'worktreeManager/forgetWorktree': {
|
|
1202
1447
|
service: 'worktreeManager',
|
|
1203
|
-
namespace: 'worktreeManager',
|
|
1204
|
-
method: 'forgetWorktree',
|
|
1205
1448
|
invocation: { kind: 'direct' },
|
|
1206
1449
|
parameters: [
|
|
1207
1450
|
{
|
|
1208
1451
|
name: 'input',
|
|
1209
|
-
wire: 'input',
|
|
1210
1452
|
source: 'json',
|
|
1211
1453
|
codec: {
|
|
1212
1454
|
mode: 'strict',
|
|
1213
1455
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/forgetWorktree:input',
|
|
1214
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},
|
|
1215
1464
|
},
|
|
1216
1465
|
},
|
|
1217
1466
|
],
|
|
@@ -1219,24 +1468,28 @@ export const TYPERT_REMOTE = {
|
|
|
1219
1468
|
mode: 'strict',
|
|
1220
1469
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1221
1470
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_forgetWorktree_result$schema,
|
|
1471
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1222
1472
|
},
|
|
1223
1473
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":403,"column":3},
|
|
1224
1474
|
},
|
|
1225
|
-
{
|
|
1226
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getToolSettings',
|
|
1475
|
+
'worktreeManager/getToolSettings': {
|
|
1227
1476
|
service: 'worktreeManager',
|
|
1228
|
-
namespace: 'worktreeManager',
|
|
1229
|
-
method: 'getToolSettings',
|
|
1230
1477
|
invocation: { kind: 'direct' },
|
|
1231
1478
|
parameters: [
|
|
1232
1479
|
{
|
|
1233
1480
|
name: 'input',
|
|
1234
|
-
wire: 'input',
|
|
1235
1481
|
source: 'json',
|
|
1236
1482
|
codec: {
|
|
1237
1483
|
mode: 'strict',
|
|
1238
1484
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getToolSettings:input',
|
|
1239
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},
|
|
1240
1493
|
},
|
|
1241
1494
|
},
|
|
1242
1495
|
],
|
|
@@ -1244,24 +1497,28 @@ export const TYPERT_REMOTE = {
|
|
|
1244
1497
|
mode: 'strict',
|
|
1245
1498
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1246
1499
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getToolSettings_result$schema,
|
|
1500
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1247
1501
|
},
|
|
1248
1502
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":210,"column":9},
|
|
1249
1503
|
},
|
|
1250
|
-
{
|
|
1251
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceCheckout',
|
|
1504
|
+
'worktreeManager/getWorkspaceCheckout': {
|
|
1252
1505
|
service: 'worktreeManager',
|
|
1253
|
-
namespace: 'worktreeManager',
|
|
1254
|
-
method: 'getWorkspaceCheckout',
|
|
1255
1506
|
invocation: { kind: 'direct' },
|
|
1256
1507
|
parameters: [
|
|
1257
1508
|
{
|
|
1258
1509
|
name: 'input',
|
|
1259
|
-
wire: 'input',
|
|
1260
1510
|
source: 'json',
|
|
1261
1511
|
codec: {
|
|
1262
1512
|
mode: 'strict',
|
|
1263
1513
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceCheckout:input',
|
|
1264
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},
|
|
1265
1522
|
},
|
|
1266
1523
|
},
|
|
1267
1524
|
],
|
|
@@ -1269,24 +1526,28 @@ export const TYPERT_REMOTE = {
|
|
|
1269
1526
|
mode: 'strict',
|
|
1270
1527
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1271
1528
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceCheckout_result$schema,
|
|
1529
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1272
1530
|
},
|
|
1273
1531
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":337,"column":3},
|
|
1274
1532
|
},
|
|
1275
|
-
{
|
|
1276
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceGitState',
|
|
1533
|
+
'worktreeManager/getWorkspaceGitState': {
|
|
1277
1534
|
service: 'worktreeManager',
|
|
1278
|
-
namespace: 'worktreeManager',
|
|
1279
|
-
method: 'getWorkspaceGitState',
|
|
1280
1535
|
invocation: { kind: 'direct' },
|
|
1281
1536
|
parameters: [
|
|
1282
1537
|
{
|
|
1283
1538
|
name: 'input',
|
|
1284
|
-
wire: 'input',
|
|
1285
1539
|
source: 'json',
|
|
1286
1540
|
codec: {
|
|
1287
1541
|
mode: 'strict',
|
|
1288
1542
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorkspaceGitState:input',
|
|
1289
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},
|
|
1290
1551
|
},
|
|
1291
1552
|
},
|
|
1292
1553
|
],
|
|
@@ -1294,24 +1555,28 @@ export const TYPERT_REMOTE = {
|
|
|
1294
1555
|
mode: 'strict',
|
|
1295
1556
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1296
1557
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorkspaceGitState_result$schema,
|
|
1558
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1297
1559
|
},
|
|
1298
1560
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":275,"column":3},
|
|
1299
1561
|
},
|
|
1300
|
-
{
|
|
1301
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeCommitFileDiff',
|
|
1562
|
+
'worktreeManager/getWorktreeCommitFileDiff': {
|
|
1302
1563
|
service: 'worktreeManager',
|
|
1303
|
-
namespace: 'worktreeManager',
|
|
1304
|
-
method: 'getWorktreeCommitFileDiff',
|
|
1305
1564
|
invocation: { kind: 'direct' },
|
|
1306
1565
|
parameters: [
|
|
1307
1566
|
{
|
|
1308
1567
|
name: 'input',
|
|
1309
|
-
wire: 'input',
|
|
1310
1568
|
source: 'json',
|
|
1311
1569
|
codec: {
|
|
1312
1570
|
mode: 'strict',
|
|
1313
1571
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitFileDiffRequest',
|
|
1314
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',
|
|
1315
1580
|
},
|
|
1316
1581
|
},
|
|
1317
1582
|
],
|
|
@@ -1319,24 +1584,28 @@ export const TYPERT_REMOTE = {
|
|
|
1319
1584
|
mode: 'strict',
|
|
1320
1585
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1321
1586
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeCommitFileDiff_result$schema,
|
|
1587
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1322
1588
|
},
|
|
1323
1589
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":309,"column":3},
|
|
1324
1590
|
},
|
|
1325
|
-
{
|
|
1326
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeInstructions',
|
|
1591
|
+
'worktreeManager/getWorktreeInstructions': {
|
|
1327
1592
|
service: 'worktreeManager',
|
|
1328
|
-
namespace: 'worktreeManager',
|
|
1329
|
-
method: 'getWorktreeInstructions',
|
|
1330
1593
|
invocation: { kind: 'direct' },
|
|
1331
1594
|
parameters: [
|
|
1332
1595
|
{
|
|
1333
1596
|
name: 'input',
|
|
1334
|
-
wire: 'input',
|
|
1335
1597
|
source: 'json',
|
|
1336
1598
|
codec: {
|
|
1337
1599
|
mode: 'strict',
|
|
1338
1600
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/getWorktreeInstructions:input',
|
|
1339
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},
|
|
1340
1609
|
},
|
|
1341
1610
|
},
|
|
1342
1611
|
],
|
|
@@ -1344,24 +1613,28 @@ export const TYPERT_REMOTE = {
|
|
|
1344
1613
|
mode: 'strict',
|
|
1345
1614
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1346
1615
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_getWorktreeInstructions_result$schema,
|
|
1616
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1347
1617
|
},
|
|
1348
1618
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":247,"column":3},
|
|
1349
1619
|
},
|
|
1350
|
-
{
|
|
1351
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/importWorktree',
|
|
1620
|
+
'worktreeManager/importWorktree': {
|
|
1352
1621
|
service: 'worktreeManager',
|
|
1353
|
-
namespace: 'worktreeManager',
|
|
1354
|
-
method: 'importWorktree',
|
|
1355
1622
|
invocation: { kind: 'direct' },
|
|
1356
1623
|
parameters: [
|
|
1357
1624
|
{
|
|
1358
1625
|
name: 'input',
|
|
1359
|
-
wire: 'input',
|
|
1360
1626
|
source: 'json',
|
|
1361
1627
|
codec: {
|
|
1362
1628
|
mode: 'strict',
|
|
1363
1629
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/importWorktree:input',
|
|
1364
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},
|
|
1365
1638
|
},
|
|
1366
1639
|
},
|
|
1367
1640
|
],
|
|
@@ -1369,24 +1642,28 @@ export const TYPERT_REMOTE = {
|
|
|
1369
1642
|
mode: 'strict',
|
|
1370
1643
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1371
1644
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_importWorktree_result$schema,
|
|
1645
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1372
1646
|
},
|
|
1373
1647
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":353,"column":3},
|
|
1374
1648
|
},
|
|
1375
|
-
{
|
|
1376
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/insertWorktreeBefore',
|
|
1649
|
+
'worktreeManager/insertWorktreeBefore': {
|
|
1377
1650
|
service: 'worktreeManager',
|
|
1378
|
-
namespace: 'worktreeManager',
|
|
1379
|
-
method: 'insertWorktreeBefore',
|
|
1380
1651
|
invocation: { kind: 'direct' },
|
|
1381
1652
|
parameters: [
|
|
1382
1653
|
{
|
|
1383
1654
|
name: 'input',
|
|
1384
|
-
wire: 'input',
|
|
1385
1655
|
source: 'json',
|
|
1386
1656
|
codec: {
|
|
1387
1657
|
mode: 'strict',
|
|
1388
1658
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/insertWorktreeBefore:input',
|
|
1389
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},
|
|
1390
1667
|
},
|
|
1391
1668
|
},
|
|
1392
1669
|
],
|
|
@@ -1394,24 +1671,28 @@ export const TYPERT_REMOTE = {
|
|
|
1394
1671
|
mode: 'strict',
|
|
1395
1672
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1396
1673
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_insertWorktreeBefore_result$schema,
|
|
1674
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1397
1675
|
},
|
|
1398
1676
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":412,"column":3},
|
|
1399
1677
|
},
|
|
1400
|
-
{
|
|
1401
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listBindings',
|
|
1678
|
+
'worktreeManager/listBindings': {
|
|
1402
1679
|
service: 'worktreeManager',
|
|
1403
|
-
namespace: 'worktreeManager',
|
|
1404
|
-
method: 'listBindings',
|
|
1405
1680
|
invocation: { kind: 'direct' },
|
|
1406
1681
|
parameters: [
|
|
1407
1682
|
{
|
|
1408
1683
|
name: 'input',
|
|
1409
|
-
wire: 'input',
|
|
1410
1684
|
source: 'json',
|
|
1411
1685
|
codec: {
|
|
1412
1686
|
mode: 'strict',
|
|
1413
1687
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBindings:input',
|
|
1414
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},
|
|
1415
1696
|
},
|
|
1416
1697
|
},
|
|
1417
1698
|
],
|
|
@@ -1419,24 +1700,28 @@ export const TYPERT_REMOTE = {
|
|
|
1419
1700
|
mode: 'strict',
|
|
1420
1701
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1421
1702
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBindings_result$schema,
|
|
1703
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1422
1704
|
},
|
|
1423
1705
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":421,"column":3},
|
|
1424
1706
|
},
|
|
1425
|
-
{
|
|
1426
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listBranches',
|
|
1707
|
+
'worktreeManager/listBranches': {
|
|
1427
1708
|
service: 'worktreeManager',
|
|
1428
|
-
namespace: 'worktreeManager',
|
|
1429
|
-
method: 'listBranches',
|
|
1430
1709
|
invocation: { kind: 'direct' },
|
|
1431
1710
|
parameters: [
|
|
1432
1711
|
{
|
|
1433
1712
|
name: 'input',
|
|
1434
|
-
wire: 'input',
|
|
1435
1713
|
source: 'json',
|
|
1436
1714
|
codec: {
|
|
1437
1715
|
mode: 'strict',
|
|
1438
1716
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listBranches:input',
|
|
1439
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},
|
|
1440
1725
|
},
|
|
1441
1726
|
},
|
|
1442
1727
|
],
|
|
@@ -1444,24 +1729,28 @@ export const TYPERT_REMOTE = {
|
|
|
1444
1729
|
mode: 'strict',
|
|
1445
1730
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1446
1731
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listBranches_result$schema,
|
|
1732
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1447
1733
|
},
|
|
1448
1734
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":323,"column":3},
|
|
1449
1735
|
},
|
|
1450
|
-
{
|
|
1451
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listImportCandidates',
|
|
1736
|
+
'worktreeManager/listImportCandidates': {
|
|
1452
1737
|
service: 'worktreeManager',
|
|
1453
|
-
namespace: 'worktreeManager',
|
|
1454
|
-
method: 'listImportCandidates',
|
|
1455
1738
|
invocation: { kind: 'direct' },
|
|
1456
1739
|
parameters: [
|
|
1457
1740
|
{
|
|
1458
1741
|
name: 'input',
|
|
1459
|
-
wire: 'input',
|
|
1460
1742
|
source: 'json',
|
|
1461
1743
|
codec: {
|
|
1462
1744
|
mode: 'strict',
|
|
1463
1745
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listImportCandidates:input',
|
|
1464
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},
|
|
1465
1754
|
},
|
|
1466
1755
|
},
|
|
1467
1756
|
],
|
|
@@ -1469,24 +1758,28 @@ export const TYPERT_REMOTE = {
|
|
|
1469
1758
|
mode: 'strict',
|
|
1470
1759
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1471
1760
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listImportCandidates_result$schema,
|
|
1761
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1472
1762
|
},
|
|
1473
1763
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":316,"column":3},
|
|
1474
1764
|
},
|
|
1475
|
-
{
|
|
1476
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktreeCommitFiles',
|
|
1765
|
+
'worktreeManager/listWorktreeCommitFiles': {
|
|
1477
1766
|
service: 'worktreeManager',
|
|
1478
|
-
namespace: 'worktreeManager',
|
|
1479
|
-
method: 'listWorktreeCommitFiles',
|
|
1480
1767
|
invocation: { kind: 'direct' },
|
|
1481
1768
|
parameters: [
|
|
1482
1769
|
{
|
|
1483
1770
|
name: 'input',
|
|
1484
|
-
wire: 'input',
|
|
1485
1771
|
source: 'json',
|
|
1486
1772
|
codec: {
|
|
1487
1773
|
mode: 'strict',
|
|
1488
1774
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitCommitFilesRequest',
|
|
1489
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',
|
|
1490
1783
|
},
|
|
1491
1784
|
},
|
|
1492
1785
|
],
|
|
@@ -1494,24 +1787,28 @@ export const TYPERT_REMOTE = {
|
|
|
1494
1787
|
mode: 'strict',
|
|
1495
1788
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1496
1789
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommitFiles_result$schema,
|
|
1790
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1497
1791
|
},
|
|
1498
1792
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":302,"column":3},
|
|
1499
1793
|
},
|
|
1500
|
-
{
|
|
1501
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktreeCommits',
|
|
1794
|
+
'worktreeManager/listWorktreeCommits': {
|
|
1502
1795
|
service: 'worktreeManager',
|
|
1503
|
-
namespace: 'worktreeManager',
|
|
1504
|
-
method: 'listWorktreeCommits',
|
|
1505
1796
|
invocation: { kind: 'direct' },
|
|
1506
1797
|
parameters: [
|
|
1507
1798
|
{
|
|
1508
1799
|
name: 'input',
|
|
1509
|
-
wire: 'input',
|
|
1510
1800
|
source: 'json',
|
|
1511
1801
|
codec: {
|
|
1512
1802
|
mode: 'strict',
|
|
1513
1803
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeGitHistoryRequest',
|
|
1514
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},
|
|
1515
1812
|
},
|
|
1516
1813
|
},
|
|
1517
1814
|
],
|
|
@@ -1519,24 +1816,28 @@ export const TYPERT_REMOTE = {
|
|
|
1519
1816
|
mode: 'strict',
|
|
1520
1817
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1521
1818
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktreeCommits_result$schema,
|
|
1819
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1522
1820
|
},
|
|
1523
1821
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":297,"column":3},
|
|
1524
1822
|
},
|
|
1525
|
-
{
|
|
1526
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktrees',
|
|
1823
|
+
'worktreeManager/listWorktrees': {
|
|
1527
1824
|
service: 'worktreeManager',
|
|
1528
|
-
namespace: 'worktreeManager',
|
|
1529
|
-
method: 'listWorktrees',
|
|
1530
1825
|
invocation: { kind: 'direct' },
|
|
1531
1826
|
parameters: [
|
|
1532
1827
|
{
|
|
1533
1828
|
name: 'input',
|
|
1534
|
-
wire: 'input',
|
|
1535
1829
|
source: 'json',
|
|
1536
1830
|
codec: {
|
|
1537
1831
|
mode: 'strict',
|
|
1538
1832
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/listWorktrees:input',
|
|
1539
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},
|
|
1540
1841
|
},
|
|
1541
1842
|
},
|
|
1542
1843
|
],
|
|
@@ -1544,24 +1845,28 @@ export const TYPERT_REMOTE = {
|
|
|
1544
1845
|
mode: 'strict',
|
|
1545
1846
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1546
1847
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_listWorktrees_result$schema,
|
|
1848
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1547
1849
|
},
|
|
1548
1850
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":285,"column":3},
|
|
1549
1851
|
},
|
|
1550
|
-
{
|
|
1551
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorkspaceNavigation',
|
|
1852
|
+
'worktreeManager/readWorkspaceNavigation': {
|
|
1552
1853
|
service: 'worktreeManager',
|
|
1553
|
-
namespace: 'worktreeManager',
|
|
1554
|
-
method: 'readWorkspaceNavigation',
|
|
1555
1854
|
invocation: { kind: 'direct' },
|
|
1556
1855
|
parameters: [
|
|
1557
1856
|
{
|
|
1558
1857
|
name: 'input',
|
|
1559
|
-
wire: 'input',
|
|
1560
1858
|
source: 'json',
|
|
1561
1859
|
codec: {
|
|
1562
1860
|
mode: 'strict',
|
|
1563
1861
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorkspaceNavigation:input',
|
|
1564
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},
|
|
1565
1870
|
},
|
|
1566
1871
|
},
|
|
1567
1872
|
],
|
|
@@ -1569,24 +1874,28 @@ export const TYPERT_REMOTE = {
|
|
|
1569
1874
|
mode: 'strict',
|
|
1570
1875
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1571
1876
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorkspaceNavigation_result$schema,
|
|
1877
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1572
1878
|
},
|
|
1573
1879
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":280,"column":3},
|
|
1574
1880
|
},
|
|
1575
|
-
{
|
|
1576
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorktreeSessionState',
|
|
1881
|
+
'worktreeManager/readWorktreeSessionState': {
|
|
1577
1882
|
service: 'worktreeManager',
|
|
1578
|
-
namespace: 'worktreeManager',
|
|
1579
|
-
method: 'readWorktreeSessionState',
|
|
1580
1883
|
invocation: { kind: 'direct' },
|
|
1581
1884
|
parameters: [
|
|
1582
1885
|
{
|
|
1583
1886
|
name: 'input',
|
|
1584
|
-
wire: 'input',
|
|
1585
1887
|
source: 'json',
|
|
1586
1888
|
codec: {
|
|
1587
1889
|
mode: 'strict',
|
|
1588
1890
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/readWorktreeSessionState:input',
|
|
1589
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},
|
|
1590
1899
|
},
|
|
1591
1900
|
},
|
|
1592
1901
|
],
|
|
@@ -1594,24 +1903,28 @@ export const TYPERT_REMOTE = {
|
|
|
1594
1903
|
mode: 'strict',
|
|
1595
1904
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1596
1905
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_readWorktreeSessionState_result$schema,
|
|
1906
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1597
1907
|
},
|
|
1598
1908
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":292,"column":3},
|
|
1599
1909
|
},
|
|
1600
|
-
{
|
|
1601
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/recoverWorktrees',
|
|
1910
|
+
'worktreeManager/recoverWorktrees': {
|
|
1602
1911
|
service: 'worktreeManager',
|
|
1603
|
-
namespace: 'worktreeManager',
|
|
1604
|
-
method: 'recoverWorktrees',
|
|
1605
1912
|
invocation: { kind: 'direct' },
|
|
1606
1913
|
parameters: [
|
|
1607
1914
|
{
|
|
1608
1915
|
name: 'input',
|
|
1609
|
-
wire: 'input',
|
|
1610
1916
|
source: 'json',
|
|
1611
1917
|
codec: {
|
|
1612
1918
|
mode: 'strict',
|
|
1613
1919
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/recoverWorktrees:input',
|
|
1614
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},
|
|
1615
1928
|
},
|
|
1616
1929
|
},
|
|
1617
1930
|
],
|
|
@@ -1619,24 +1932,28 @@ export const TYPERT_REMOTE = {
|
|
|
1619
1932
|
mode: 'strict',
|
|
1620
1933
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1621
1934
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_recoverWorktrees_result$schema,
|
|
1935
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1622
1936
|
},
|
|
1623
1937
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":389,"column":3},
|
|
1624
1938
|
},
|
|
1625
|
-
{
|
|
1626
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/removeWorktree',
|
|
1939
|
+
'worktreeManager/removeWorktree': {
|
|
1627
1940
|
service: 'worktreeManager',
|
|
1628
|
-
namespace: 'worktreeManager',
|
|
1629
|
-
method: 'removeWorktree',
|
|
1630
1941
|
invocation: { kind: 'direct' },
|
|
1631
1942
|
parameters: [
|
|
1632
1943
|
{
|
|
1633
1944
|
name: 'input',
|
|
1634
|
-
wire: 'input',
|
|
1635
1945
|
source: 'json',
|
|
1636
1946
|
codec: {
|
|
1637
1947
|
mode: 'strict',
|
|
1638
1948
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/removeWorktree:input',
|
|
1639
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},
|
|
1640
1957
|
},
|
|
1641
1958
|
},
|
|
1642
1959
|
],
|
|
@@ -1644,24 +1961,28 @@ export const TYPERT_REMOTE = {
|
|
|
1644
1961
|
mode: 'strict',
|
|
1645
1962
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1646
1963
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_removeWorktree_result$schema,
|
|
1964
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1647
1965
|
},
|
|
1648
1966
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":361,"column":3},
|
|
1649
1967
|
},
|
|
1650
|
-
{
|
|
1651
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/syncWorktreeBaseline',
|
|
1968
|
+
'worktreeManager/syncWorktreeBaseline': {
|
|
1652
1969
|
service: 'worktreeManager',
|
|
1653
|
-
namespace: 'worktreeManager',
|
|
1654
|
-
method: 'syncWorktreeBaseline',
|
|
1655
1970
|
invocation: { kind: 'direct' },
|
|
1656
1971
|
parameters: [
|
|
1657
1972
|
{
|
|
1658
1973
|
name: 'input',
|
|
1659
|
-
wire: 'input',
|
|
1660
1974
|
source: 'json',
|
|
1661
1975
|
codec: {
|
|
1662
1976
|
mode: 'strict',
|
|
1663
1977
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeBaselineSyncRequest',
|
|
1664
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},
|
|
1665
1986
|
},
|
|
1666
1987
|
},
|
|
1667
1988
|
],
|
|
@@ -1670,24 +1991,28 @@ export const TYPERT_REMOTE = {
|
|
|
1670
1991
|
mode: 'strict',
|
|
1671
1992
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1672
1993
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_syncWorktreeBaseline_result$schema,
|
|
1994
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1673
1995
|
},
|
|
1674
1996
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":202,"column":3},
|
|
1675
1997
|
},
|
|
1676
|
-
{
|
|
1677
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/unarchiveWorktree',
|
|
1998
|
+
'worktreeManager/unarchiveWorktree': {
|
|
1678
1999
|
service: 'worktreeManager',
|
|
1679
|
-
namespace: 'worktreeManager',
|
|
1680
|
-
method: 'unarchiveWorktree',
|
|
1681
2000
|
invocation: { kind: 'direct' },
|
|
1682
2001
|
parameters: [
|
|
1683
2002
|
{
|
|
1684
2003
|
name: 'input',
|
|
1685
|
-
wire: 'input',
|
|
1686
2004
|
source: 'json',
|
|
1687
2005
|
codec: {
|
|
1688
2006
|
mode: 'strict',
|
|
1689
2007
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/unarchiveWorktree:input',
|
|
1690
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},
|
|
1691
2016
|
},
|
|
1692
2017
|
},
|
|
1693
2018
|
],
|
|
@@ -1695,24 +2020,28 @@ export const TYPERT_REMOTE = {
|
|
|
1695
2020
|
mode: 'strict',
|
|
1696
2021
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1697
2022
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_unarchiveWorktree_result$schema,
|
|
2023
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1698
2024
|
},
|
|
1699
2025
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":370,"column":3},
|
|
1700
2026
|
},
|
|
1701
|
-
{
|
|
1702
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateToolSettings',
|
|
2027
|
+
'worktreeManager/updateToolSettings': {
|
|
1703
2028
|
service: 'worktreeManager',
|
|
1704
|
-
namespace: 'worktreeManager',
|
|
1705
|
-
method: 'updateToolSettings',
|
|
1706
2029
|
invocation: { kind: 'direct' },
|
|
1707
2030
|
parameters: [
|
|
1708
2031
|
{
|
|
1709
2032
|
name: 'input',
|
|
1710
|
-
wire: 'input',
|
|
1711
2033
|
source: 'json',
|
|
1712
2034
|
codec: {
|
|
1713
2035
|
mode: 'strict',
|
|
1714
2036
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateToolSettings:input',
|
|
1715
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},
|
|
1716
2045
|
},
|
|
1717
2046
|
},
|
|
1718
2047
|
],
|
|
@@ -1720,24 +2049,28 @@ export const TYPERT_REMOTE = {
|
|
|
1720
2049
|
mode: 'strict',
|
|
1721
2050
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1722
2051
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateToolSettings_result$schema,
|
|
2052
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1723
2053
|
},
|
|
1724
2054
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":216,"column":9},
|
|
1725
2055
|
},
|
|
1726
|
-
{
|
|
1727
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeBaseBranch',
|
|
2056
|
+
'worktreeManager/updateWorktreeBaseBranch': {
|
|
1728
2057
|
service: 'worktreeManager',
|
|
1729
|
-
namespace: 'worktreeManager',
|
|
1730
|
-
method: 'updateWorktreeBaseBranch',
|
|
1731
2058
|
invocation: { kind: 'direct' },
|
|
1732
2059
|
parameters: [
|
|
1733
2060
|
{
|
|
1734
2061
|
name: 'input',
|
|
1735
|
-
wire: 'input',
|
|
1736
2062
|
source: 'json',
|
|
1737
2063
|
codec: {
|
|
1738
2064
|
mode: 'strict',
|
|
1739
2065
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeBaseBranch:input',
|
|
1740
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},
|
|
1741
2074
|
},
|
|
1742
2075
|
},
|
|
1743
2076
|
],
|
|
@@ -1745,24 +2078,28 @@ export const TYPERT_REMOTE = {
|
|
|
1745
2078
|
mode: 'strict',
|
|
1746
2079
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1747
2080
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeBaseBranch_result$schema,
|
|
2081
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1748
2082
|
},
|
|
1749
2083
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":265,"column":3},
|
|
1750
2084
|
},
|
|
1751
|
-
{
|
|
1752
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeInstructions',
|
|
2085
|
+
'worktreeManager/updateWorktreeInstructions': {
|
|
1753
2086
|
service: 'worktreeManager',
|
|
1754
|
-
namespace: 'worktreeManager',
|
|
1755
|
-
method: 'updateWorktreeInstructions',
|
|
1756
2087
|
invocation: { kind: 'direct' },
|
|
1757
2088
|
parameters: [
|
|
1758
2089
|
{
|
|
1759
2090
|
name: 'input',
|
|
1760
|
-
wire: 'input',
|
|
1761
2091
|
source: 'json',
|
|
1762
2092
|
codec: {
|
|
1763
2093
|
mode: 'strict',
|
|
1764
2094
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/updateWorktreeInstructions:input',
|
|
1765
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},
|
|
1766
2103
|
},
|
|
1767
2104
|
},
|
|
1768
2105
|
],
|
|
@@ -1770,24 +2107,28 @@ export const TYPERT_REMOTE = {
|
|
|
1770
2107
|
mode: 'strict',
|
|
1771
2108
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1772
2109
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_updateWorktreeInstructions_result$schema,
|
|
2110
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1773
2111
|
},
|
|
1774
2112
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":255,"column":3},
|
|
1775
2113
|
},
|
|
1776
|
-
{
|
|
1777
|
-
id: '@cerbur/clutch-dsh-worktree#worktreeManager/watchToolChanges',
|
|
2114
|
+
'worktreeManager/watchToolChanges': {
|
|
1778
2115
|
service: 'worktreeManager',
|
|
1779
|
-
namespace: 'worktreeManager',
|
|
1780
|
-
method: 'watchToolChanges',
|
|
1781
2116
|
invocation: { kind: 'direct' },
|
|
1782
2117
|
parameters: [
|
|
1783
2118
|
{
|
|
1784
2119
|
name: 'input',
|
|
1785
|
-
wire: 'input',
|
|
1786
2120
|
source: 'json',
|
|
1787
2121
|
codec: {
|
|
1788
2122
|
mode: 'strict',
|
|
1789
2123
|
typeSymbol: '@cerbur/clutch-dsh-worktree#worktreeManager/watchToolChanges:input',
|
|
1790
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},
|
|
1791
2132
|
},
|
|
1792
2133
|
},
|
|
1793
2134
|
],
|
|
@@ -1796,10 +2137,11 @@ export const TYPERT_REMOTE = {
|
|
|
1796
2137
|
mode: 'strict',
|
|
1797
2138
|
typeSymbol: '@cerbur/clutch-dsh-worktree/contract#WorktreeRemoteResult',
|
|
1798
2139
|
create: _cerbur_clutch_dsh_worktree_worktreeManager_watchToolChanges_result$schema,
|
|
2140
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1799
2141
|
},
|
|
1800
2142
|
sourceLocation: {"file":"packages/clutch-dsh-worktree/src/host/service.ts","line":239,"column":9},
|
|
1801
2143
|
},
|
|
1802
|
-
|
|
1803
|
-
}
|
|
2144
|
+
},
|
|
2145
|
+
}, z)
|
|
1804
2146
|
|
|
1805
2147
|
export default TYPERT_REMOTE
|