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