@deepseek-ai/dsh-experimental-client-ui-forge 0.2.2-alpha.2 → 0.2.2-alpha.3
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.i18n.yaml +12 -12
- package/README.md +19 -11
- package/README.zh.md +20 -12
- package/lib/client.js +7869 -4812
- package/lib/index.js +159 -52
- package/lib/typert.host.js +298 -18
- package/lib/typert.remote-client.d.ts +7 -1
- package/lib/typert.remote-client.js +267 -13
- package/lib/types/client/ChangeRequestCard.d.ts +3 -1
- package/lib/types/client/ChangedFiles.d.ts +36 -0
- package/lib/types/client/ChangesTab.d.ts +11 -1
- package/lib/types/client/DiffFile.d.ts +3 -2
- package/lib/types/client/FileTreePane.d.ts +15 -0
- package/lib/types/client/ForgeTab.d.ts +7 -4
- package/lib/types/client/LocalChangesCard.d.ts +3 -3
- package/lib/types/client/ReviewComposer.d.ts +40 -0
- package/lib/types/client/ReviewThread.d.ts +26 -0
- package/lib/types/client/SubmitReview.d.ts +22 -0
- package/lib/types/client/WorktreeToggle.d.ts +6 -5
- package/lib/types/client/changes-address.d.ts +1 -1
- package/lib/types/client/code-selection.d.ts +23 -0
- package/lib/types/client/file-tree.d.ts +33 -0
- package/lib/types/client/locales.d.ts +58 -4
- package/lib/types/client/review-queue.d.ts +136 -0
- package/lib/types/client/review.d.ts +56 -0
- package/lib/types/client/status.d.ts +6 -2
- package/lib/types/git.d.ts +10 -10
- package/lib/types/index.d.ts +25 -4
- package/lib/types/local-diff.d.ts +11 -4
- package/lib/types/states.d.ts +9 -3
- package/lib/types/types.d.ts +4 -0
- package/package.json +47 -47
package/lib/typert.host.js
CHANGED
|
@@ -14,6 +14,51 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_para
|
|
|
14
14
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema$value ??= z.string())
|
|
15
15
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema$value
|
|
16
16
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema$value ??= z.void())
|
|
17
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema$value
|
|
18
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema$value ??= z.string())
|
|
19
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema$value
|
|
20
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema$value ??= z.string())
|
|
21
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema$value
|
|
22
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema$value ??= z.string())
|
|
23
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema$value
|
|
24
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema$value ??= z.object({
|
|
25
|
+
'ref': z.object({
|
|
26
|
+
'repository': z.object({
|
|
27
|
+
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
28
|
+
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
29
|
+
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
30
|
+
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
31
|
+
}).readonly().describe('Repository that holds the change request.'),
|
|
32
|
+
'number': z.number().readonly().describe('Host-assigned change request number.'),
|
|
33
|
+
}).readonly().describe('Change request the snapshot describes.'),
|
|
34
|
+
'url': z.string().readonly().describe('Web page of the change request.'),
|
|
35
|
+
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
36
|
+
'state': z.union([z.literal("open"), z.literal("closed"), z.literal("merged")]).readonly().describe('Lifecycle state.'),
|
|
37
|
+
'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),
|
|
38
|
+
'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),
|
|
39
|
+
'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
|
|
40
|
+
'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
|
|
41
|
+
'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
|
|
42
|
+
'additions': z.number().readonly().describe('Lines the change request adds.'),
|
|
43
|
+
'deletions': z.number().readonly().describe('Lines the change request deletes.'),
|
|
44
|
+
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
45
|
+
'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
|
|
46
|
+
'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
|
|
47
|
+
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
48
|
+
'checks': z.array(z.object({
|
|
49
|
+
'name': z.string().readonly().describe('Check name as the host displays it.'),
|
|
50
|
+
'state': z.union([z.literal("cancelled"), z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
|
|
51
|
+
'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
|
|
52
|
+
'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
|
|
53
|
+
'startedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check started, or null before it starts and when the host reports none.'),
|
|
54
|
+
'completedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check completed, or null while it runs and when the host reports none.'),
|
|
55
|
+
})).readonly().describe('Checks on the head commit in host order.'),
|
|
56
|
+
'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
|
|
57
|
+
'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
|
|
58
|
+
'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
|
|
59
|
+
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
60
|
+
'closedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the change request was merged or closed, or null while it is open.'),
|
|
61
|
+
}))
|
|
17
62
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema$value
|
|
18
63
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema$value ??= z.string())
|
|
19
64
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value
|
|
@@ -349,6 +394,43 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parame
|
|
|
349
394
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema$value ??= z.string())
|
|
350
395
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value
|
|
351
396
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value ??= z.void())
|
|
397
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema$value
|
|
398
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema$value ??= z.string())
|
|
399
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema$value
|
|
400
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema$value ??= z.string())
|
|
401
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema$value
|
|
402
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema$value ??= z.union([z.object({
|
|
403
|
+
'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),
|
|
404
|
+
'kind': z.literal("comment").readonly(),
|
|
405
|
+
'comment': z.object({
|
|
406
|
+
'path': z.string().readonly(),
|
|
407
|
+
'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
|
|
408
|
+
'startLine': z.number().readonly(),
|
|
409
|
+
'endLine': z.number().readonly(),
|
|
410
|
+
'body': z.string().readonly(),
|
|
411
|
+
}).readonly(),
|
|
412
|
+
}), z.object({
|
|
413
|
+
'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),
|
|
414
|
+
'kind': z.literal("review").readonly(),
|
|
415
|
+
'event': z.union([z.literal("comment"), z.literal("approve"), z.literal("request-changes")]).readonly(),
|
|
416
|
+
'body': z.string().readonly(),
|
|
417
|
+
'comments': z.array(z.object({
|
|
418
|
+
'path': z.string().readonly(),
|
|
419
|
+
'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
|
|
420
|
+
'startLine': z.number().readonly(),
|
|
421
|
+
'endLine': z.number().readonly(),
|
|
422
|
+
'body': z.string().readonly(),
|
|
423
|
+
})).readonly(),
|
|
424
|
+
})]))
|
|
425
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema$value
|
|
426
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema$value ??= z.union([z.object({
|
|
427
|
+
'ok': z.literal(true).readonly(),
|
|
428
|
+
'url': z.string().readonly(),
|
|
429
|
+
}), z.object({
|
|
430
|
+
'ok': z.literal(false).readonly(),
|
|
431
|
+
'code': z.union([z.literal("failed"), z.literal("unknown"), z.literal("unsupported"), z.literal("stale")]).readonly(),
|
|
432
|
+
'message': z.string().readonly(),
|
|
433
|
+
})]))
|
|
352
434
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value
|
|
353
435
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value ??= z.string())
|
|
354
436
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema$value
|
|
@@ -359,6 +441,12 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_
|
|
|
359
441
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema$value ??= z.string())
|
|
360
442
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value
|
|
361
443
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value ??= z.string())
|
|
444
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema$value
|
|
445
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema$value ??= z.string())
|
|
446
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema$value
|
|
447
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema$value ??= z.string())
|
|
448
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema$value
|
|
449
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema$value ??= z.string())
|
|
362
450
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value
|
|
363
451
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value ??= z.string())
|
|
364
452
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value
|
|
@@ -429,6 +517,34 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
|
|
|
429
517
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value ??= z.string())
|
|
430
518
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value
|
|
431
519
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value ??= z.string())
|
|
520
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema$value
|
|
521
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema$value ??= z.string())
|
|
522
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema$value
|
|
523
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema$value ??= z.string())
|
|
524
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema$value
|
|
525
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema$value ??= z.union([z.strictObject({
|
|
526
|
+
'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),
|
|
527
|
+
'kind': z.literal("comment").readonly(),
|
|
528
|
+
'comment': z.strictObject({
|
|
529
|
+
'path': z.string().readonly(),
|
|
530
|
+
'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
|
|
531
|
+
'startLine': z.number().readonly(),
|
|
532
|
+
'endLine': z.number().readonly(),
|
|
533
|
+
'body': z.string().readonly(),
|
|
534
|
+
}).readonly(),
|
|
535
|
+
}), z.strictObject({
|
|
536
|
+
'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),
|
|
537
|
+
'kind': z.literal("review").readonly(),
|
|
538
|
+
'event': z.union([z.literal("comment"), z.literal("approve"), z.literal("request-changes")]).readonly(),
|
|
539
|
+
'body': z.string().readonly(),
|
|
540
|
+
'comments': z.array(z.strictObject({
|
|
541
|
+
'path': z.string().readonly(),
|
|
542
|
+
'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
|
|
543
|
+
'startLine': z.number().readonly(),
|
|
544
|
+
'endLine': z.number().readonly(),
|
|
545
|
+
'body': z.string().readonly(),
|
|
546
|
+
})).readonly(),
|
|
547
|
+
})]))
|
|
432
548
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema$value
|
|
433
549
|
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema$value ??= z.string())
|
|
434
550
|
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value
|
|
@@ -504,7 +620,76 @@ const $remote = createTypertRemoteInfo({
|
|
|
504
620
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,
|
|
505
621
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
506
622
|
},
|
|
507
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
623
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":449,"column":9},
|
|
624
|
+
},
|
|
625
|
+
'forgePanel/changeRequestChecks': {
|
|
626
|
+
service: 'forgePanel',
|
|
627
|
+
description: 'Load complete checks for the change request whose list the user opened.',
|
|
628
|
+
invocation: { kind: 'direct' },
|
|
629
|
+
parameters: [
|
|
630
|
+
{
|
|
631
|
+
name: 'session',
|
|
632
|
+
wire: 'sessionId',
|
|
633
|
+
description: 'Session retaining the visible binding.',
|
|
634
|
+
source: 'lookup',
|
|
635
|
+
lookup: 'session',
|
|
636
|
+
codec: {
|
|
637
|
+
mode: 'strict',
|
|
638
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
639
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema,
|
|
640
|
+
jsonSchema: {"type":"string"},
|
|
641
|
+
},
|
|
642
|
+
strictCodec: {
|
|
643
|
+
mode: 'strict',
|
|
644
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
645
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema,
|
|
646
|
+
jsonSchema: {"type":"string"},
|
|
647
|
+
},
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: 'url',
|
|
651
|
+
description: 'binding URL.',
|
|
652
|
+
source: 'json',
|
|
653
|
+
codec: {
|
|
654
|
+
mode: 'strict',
|
|
655
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:url',
|
|
656
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema,
|
|
657
|
+
jsonSchema: {"type":"string"},
|
|
658
|
+
},
|
|
659
|
+
strictCodec: {
|
|
660
|
+
mode: 'strict',
|
|
661
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:url',
|
|
662
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema,
|
|
663
|
+
jsonSchema: {"type":"string"},
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
name: 'headSha',
|
|
668
|
+
description: 'commit displayed by the card; a different head rejects the result.',
|
|
669
|
+
source: 'json',
|
|
670
|
+
codec: {
|
|
671
|
+
mode: 'strict',
|
|
672
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:headSha',
|
|
673
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema,
|
|
674
|
+
jsonSchema: {"type":"string"},
|
|
675
|
+
},
|
|
676
|
+
strictCodec: {
|
|
677
|
+
mode: 'strict',
|
|
678
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:headSha',
|
|
679
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema,
|
|
680
|
+
jsonSchema: {"type":"string"},
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
cancellation: { parameter: 'signal' },
|
|
685
|
+
result: {
|
|
686
|
+
mode: 'strict',
|
|
687
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
|
|
688
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema,
|
|
689
|
+
description: 'the complete snapshot at the displayed head.',
|
|
690
|
+
jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["cancelled","pending","neutral","success","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."}},"required":["name","state","url","workflow","startedAt","completedAt"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"unresolvedThreads":{"type":"number","description":"Number of review threads that are not resolved."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","reviewDecision","checks","checksRollup","checksTruncated","unresolvedThreads","updatedAt","closedAt"],"additionalProperties":true},
|
|
691
|
+
},
|
|
692
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":285,"column":9},
|
|
508
693
|
},
|
|
509
694
|
'forgePanel/changeRequestDiff': {
|
|
510
695
|
service: 'forgePanel',
|
|
@@ -556,7 +741,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
556
741
|
description: 'the files, the head commit, each file\'s web page, and the commits the checkout has beyond the head.',
|
|
557
742
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
558
743
|
},
|
|
559
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
744
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":308,"column":9},
|
|
560
745
|
},
|
|
561
746
|
'forgePanel/changeRequestStates': {
|
|
562
747
|
service: 'forgePanel',
|
|
@@ -659,7 +844,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
659
844
|
description: 'the text.',
|
|
660
845
|
jsonSchema: {"type":"string"},
|
|
661
846
|
},
|
|
662
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
847
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":352,"column":9},
|
|
663
848
|
},
|
|
664
849
|
'forgePanel/continueInProject': {
|
|
665
850
|
service: 'forgePanel',
|
|
@@ -693,7 +878,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
693
878
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
|
|
694
879
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
695
880
|
},
|
|
696
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
881
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":530,"column":9},
|
|
697
882
|
},
|
|
698
883
|
'forgePanel/dismiss': {
|
|
699
884
|
service: 'forgePanel',
|
|
@@ -784,7 +969,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
784
969
|
},
|
|
785
970
|
'forgePanel/localDiff': {
|
|
786
971
|
service: 'forgePanel',
|
|
787
|
-
description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git
|
|
972
|
+
description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git using the Session\'s sandbox policy.',
|
|
788
973
|
invocation: { kind: 'direct' },
|
|
789
974
|
parameters: [
|
|
790
975
|
{
|
|
@@ -832,7 +1017,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
832
1017
|
description: 'the files, the base of the `branch` scope, and the untracked files left out.',
|
|
833
1018
|
jsonSchema: {"type":"object","properties":{"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root after the change, or before it for a deleted file."},"previousPath":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Path before a rename, else null."},"status":{"type":"string","enum":["deleted","added","modified","renamed"],"description":"How the file changed."},"binary":{"type":"boolean","description":"Whether the content is binary, which carries no hunks."},"oversized":{"type":"boolean","description":"Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks."},"untracked":{"type":"boolean","description":"Whether Git does not track the file yet; only local diffs list such files."},"additions":{"type":"number","description":"Lines added."},"deletions":{"type":"number","description":"Lines deleted."},"hunks":{"type":"array","items":{"type":"object","properties":{"oldStart":{"type":"number","description":"First old line the hunk covers, or the old line it comes before when it covers none."},"oldLines":{"type":"number","description":"Old lines the hunk covers."},"newStart":{"type":"number","description":"First new line the hunk covers, or the new line it comes before when it covers none."},"newLines":{"type":"number","description":"New lines the hunk covers."},"lines":{"type":"array","items":{"type":"string"},"description":"Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline."}},"required":["oldStart","oldLines","newStart","newLines","lines"],"additionalProperties":true},"description":"Hunks in file order; none for a binary file or a change of mode or name only."}},"required":["path","previousPath","status","binary","oversized","untracked","additions","deletions","hunks"],"additionalProperties":true},"description":"Changed files in Git's path order, untracked files last."},"omitted":{"type":"number","description":"Untracked files left out beyond `maxUntrackedFiles`."}},"required":["base","files","omitted"],"additionalProperties":true},
|
|
834
1019
|
},
|
|
835
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1020
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":246,"column":9},
|
|
836
1021
|
},
|
|
837
1022
|
'forgePanel/localText': {
|
|
838
1023
|
service: 'forgePanel',
|
|
@@ -901,7 +1086,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
901
1086
|
description: 'the text.',
|
|
902
1087
|
jsonSchema: {"type":"string"},
|
|
903
1088
|
},
|
|
904
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1089
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":268,"column":9},
|
|
905
1090
|
},
|
|
906
1091
|
'forgePanel/markReady': {
|
|
907
1092
|
service: 'forgePanel',
|
|
@@ -952,7 +1137,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
952
1137
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
|
|
953
1138
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
954
1139
|
},
|
|
955
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1140
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":390,"column":9},
|
|
956
1141
|
},
|
|
957
1142
|
'forgePanel/merge': {
|
|
958
1143
|
service: 'forgePanel',
|
|
@@ -1037,7 +1222,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1037
1222
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
|
|
1038
1223
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1039
1224
|
},
|
|
1040
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1225
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":409,"column":9},
|
|
1041
1226
|
},
|
|
1042
1227
|
'forgePanel/refresh': {
|
|
1043
1228
|
service: 'forgePanel',
|
|
@@ -1123,7 +1308,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1123
1308
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
|
|
1124
1309
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1125
1310
|
},
|
|
1126
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1311
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":430,"column":9},
|
|
1127
1312
|
},
|
|
1128
1313
|
'forgePanel/restoreWorktree': {
|
|
1129
1314
|
service: 'forgePanel',
|
|
@@ -1157,7 +1342,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1157
1342
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
|
|
1158
1343
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1159
1344
|
},
|
|
1160
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1345
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":499,"column":9},
|
|
1161
1346
|
},
|
|
1162
1347
|
'forgePanel/retryWorktree': {
|
|
1163
1348
|
service: 'forgePanel',
|
|
@@ -1191,7 +1376,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1191
1376
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
|
|
1192
1377
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1193
1378
|
},
|
|
1194
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1379
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":478,"column":9},
|
|
1195
1380
|
},
|
|
1196
1381
|
'forgePanel/stopCreation': {
|
|
1197
1382
|
service: 'forgePanel',
|
|
@@ -1225,7 +1410,76 @@ const $remote = createTypertRemoteInfo({
|
|
|
1225
1410
|
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,
|
|
1226
1411
|
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1227
1412
|
},
|
|
1228
|
-
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":
|
|
1413
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":465,"column":9},
|
|
1414
|
+
},
|
|
1415
|
+
'forgePanel/submitReview': {
|
|
1416
|
+
service: 'forgePanel',
|
|
1417
|
+
description: 'Publish a line comment or completed review for a visible Session binding.',
|
|
1418
|
+
invocation: { kind: 'direct' },
|
|
1419
|
+
parameters: [
|
|
1420
|
+
{
|
|
1421
|
+
name: 'session',
|
|
1422
|
+
wire: 'sessionId',
|
|
1423
|
+
description: 'Session retaining the change request.',
|
|
1424
|
+
source: 'lookup',
|
|
1425
|
+
lookup: 'session',
|
|
1426
|
+
codec: {
|
|
1427
|
+
mode: 'strict',
|
|
1428
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1429
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema,
|
|
1430
|
+
jsonSchema: {"type":"string"},
|
|
1431
|
+
},
|
|
1432
|
+
strictCodec: {
|
|
1433
|
+
mode: 'strict',
|
|
1434
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1435
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema,
|
|
1436
|
+
jsonSchema: {"type":"string"},
|
|
1437
|
+
},
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
name: 'url',
|
|
1441
|
+
description: 'visible binding URL.',
|
|
1442
|
+
source: 'json',
|
|
1443
|
+
codec: {
|
|
1444
|
+
mode: 'strict',
|
|
1445
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/submitReview:url',
|
|
1446
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema,
|
|
1447
|
+
jsonSchema: {"type":"string"},
|
|
1448
|
+
},
|
|
1449
|
+
strictCodec: {
|
|
1450
|
+
mode: 'strict',
|
|
1451
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/submitReview:url',
|
|
1452
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema,
|
|
1453
|
+
jsonSchema: {"type":"string"},
|
|
1454
|
+
},
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
name: 'request',
|
|
1458
|
+
description: 'reviewed head, ranges, plain text, and explicit review decision.',
|
|
1459
|
+
source: 'json',
|
|
1460
|
+
codec: {
|
|
1461
|
+
mode: 'strict',
|
|
1462
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewRequest',
|
|
1463
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema,
|
|
1464
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"headSha":{"type":"string","description":"Commit the user reviewed; providers must check it before writing and address that commit explicitly."},"kind":{"type":"string","const":"comment"},"comment":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":true}},"required":["headSha","kind","comment"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Commit the user reviewed; providers must check it before writing and address that commit explicitly."},"kind":{"type":"string","const":"review"},"event":{"type":"string","enum":["comment","approve","request-changes"]},"body":{"type":"string"},"comments":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":true}}},"required":["headSha","kind","event","body","comments"],"additionalProperties":true}]},
|
|
1465
|
+
},
|
|
1466
|
+
strictCodec: {
|
|
1467
|
+
mode: 'strict',
|
|
1468
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewRequest',
|
|
1469
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema,
|
|
1470
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"headSha":{"type":"string","description":"Commit the user reviewed; providers must check it before writing and address that commit explicitly."},"kind":{"type":"string","const":"comment"},"comment":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":false}},"required":["headSha","kind","comment"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Commit the user reviewed; providers must check it before writing and address that commit explicitly."},"kind":{"type":"string","const":"review"},"event":{"type":"string","enum":["comment","approve","request-changes"]},"body":{"type":"string"},"comments":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":false}}},"required":["headSha","kind","event","body","comments"],"additionalProperties":false}]},
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1473
|
+
],
|
|
1474
|
+
cancellation: { parameter: 'signal' },
|
|
1475
|
+
result: {
|
|
1476
|
+
mode: 'strict',
|
|
1477
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewResult',
|
|
1478
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema,
|
|
1479
|
+
description: 'confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.',
|
|
1480
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"url":{"type":"string"}},"required":["ok","url"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","unsupported","stale"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
|
|
1481
|
+
},
|
|
1482
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":368,"column":9},
|
|
1229
1483
|
},
|
|
1230
1484
|
'forgePanel/track': {
|
|
1231
1485
|
service: 'forgePanel',
|
|
@@ -1290,10 +1544,10 @@ export const TYPERT = {
|
|
|
1290
1544
|
model: {
|
|
1291
1545
|
"services": [
|
|
1292
1546
|
{
|
|
1293
|
-
"description": "Serves the forge panel. Following a Session inspects the checkout of its current directory
|
|
1547
|
+
"description": "Serves the forge panel. Following a Session inspects the checkout of its current directory using the Session's permissions and execution world, recognizes the code host of the upstream remote or `origin`, probes sign-in for that host, and polls the Session's bound change requests through `ctx.forge` until the last follower of that Session leaves. A worktree request makes the panel create a branch and checkout through an optional `ctx.worktrees` and enter it while the Session's first message waits in the inbox, or at the first step proposal of a message no wait took. After a failed or stopped attempt the message keeps waiting for another attempt or for the request to be withdrawn. A message also waits while the worktree the Session works in is gone, until that worktree is checked out again or left for the source checkout. Changes to a Session's checkout run as Agent maintenance, so a message that arrives meanwhile waits for them.",
|
|
1294
1548
|
"summary": "Serves the forge panel.",
|
|
1295
1549
|
"tags": [],
|
|
1296
|
-
"jsDoc": "/**\n * Serves the forge panel. Following a Session inspects the checkout of its\n * current directory
|
|
1550
|
+
"jsDoc": "/**\n * Serves the forge panel. Following a Session inspects the checkout of its\n * current directory using the Session's permissions and execution world, recognizes the\n * code host of the upstream remote or `origin`, probes sign-in for that host,\n * and polls the Session's bound change requests through `ctx.forge` until the\n * last follower of that Session leaves. A worktree request makes the panel\n * create a branch and checkout through an optional `ctx.worktrees` and enter\n * it while the Session's first message waits in the inbox, or at the first\n * step proposal of a message no wait took. After a failed or stopped attempt\n * the message keeps waiting for another attempt or for the request to be\n * withdrawn. A message also waits while the worktree the Session works in is\n * gone, until that worktree is checked out again or left for the source\n * checkout. Changes to a Session's checkout run as Agent maintenance, so a\n * message that arrives meanwhile waits for them.\n */",
|
|
1297
1551
|
"key": "forgePanel",
|
|
1298
1552
|
"exportName": "ForgePanelController",
|
|
1299
1553
|
"members": [
|
|
@@ -1343,8 +1597,8 @@ export const TYPERT = {
|
|
|
1343
1597
|
"kind": "method",
|
|
1344
1598
|
"name": "localDiff",
|
|
1345
1599
|
"signature": "@Remote async localDiff(session: Session, scope: ForgeLocalScope, signal: AbortSignal): Promise<ForgeLocalDiff>",
|
|
1346
|
-
"summary": "Read the changes one scope covers in the checkout of the Session's current directory, with Git
|
|
1347
|
-
"jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's\n * current directory, with Git
|
|
1600
|
+
"summary": "Read the changes one scope covers in the checkout of the Session's current directory, with Git using the Session's sandbox policy.",
|
|
1601
|
+
"jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's\n * current directory, with Git using the Session's sandbox policy.\n * @param session - Session whose checkout is read.\n * @param scope - which changes to read.\n * @param signal - request cancellation.\n * @returns the files, the base of the `branch` scope, and the untracked files left out.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/no-fork-point` for the `branch`\n * scope of a checkout without one; `forgePanel/filter-config-failed` when filter configuration cannot be read\n * completely, before any comparison; `forgePanel/diff-too-large` over `maxDiffBytes`; the Git error when Git fails.\n */"
|
|
1348
1602
|
},
|
|
1349
1603
|
{
|
|
1350
1604
|
"kind": "method",
|
|
@@ -1353,6 +1607,13 @@ export const TYPERT = {
|
|
|
1353
1607
|
"summary": "Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, else the working tree.",
|
|
1354
1608
|
"jsDoc": "/**\n * Read the new side of one changed file in a scope, which supplies the\n * unchanged lines between its hunks: the index for `staged`, else the working tree.\n * @param session - Session whose checkout is read.\n * @param scope - the scope the diff was read in.\n * @param path - path relative to the checkout's top-level directory, as the diff names it.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/diff-too-large` over `maxDiffBytes`;\n * an error for a path outside the checkout, binary content, or a failed read.\n */"
|
|
1355
1609
|
},
|
|
1610
|
+
{
|
|
1611
|
+
"kind": "method",
|
|
1612
|
+
"name": "changeRequestChecks",
|
|
1613
|
+
"signature": "@Remote async changeRequestChecks(session: Session, url: string, headSha: string, signal: AbortSignal): Promise<ChangeRequestSnapshot>",
|
|
1614
|
+
"summary": "Load complete checks for the change request whose list the user opened.",
|
|
1615
|
+
"jsDoc": "/**\n * Load complete checks for the change request whose list the user opened.\n * @param session - Session retaining the visible binding.\n * @param url - binding URL.\n * @param headSha - commit displayed by the card; a different head rejects the result.\n * @param signal - cancellation when the list closes.\n * @returns the complete snapshot at the displayed head.\n * @throws `forgePanel/not-bound` for an invisible binding, `forgePanel/stale-head` for a moved head,\n * or `forgePanel/checks-failed` when the provider cannot complete the read.\n */"
|
|
1616
|
+
},
|
|
1356
1617
|
{
|
|
1357
1618
|
"kind": "method",
|
|
1358
1619
|
"name": "changeRequestDiff",
|
|
@@ -1367,6 +1628,13 @@ export const TYPERT = {
|
|
|
1367
1628
|
"summary": "Read one file of a change request's repository at a commit, which supplies the unchanged lines between the hunks of its diff.",
|
|
1368
1629
|
"jsDoc": "/**\n * Read one file of a change request's repository at a commit, which\n * supplies the unchanged lines between the hunks of its diff.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param commit - commit object name, the head commit of the diff.\n * @param path - path relative to the repository root.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/diff-too-large` when the host or its provider refuses the file over a size limit;\n * `forgePanel/diff-failed` when the host does not provide the file otherwise.\n */"
|
|
1369
1630
|
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "method",
|
|
1633
|
+
"name": "submitReview",
|
|
1634
|
+
"signature": "@Remote async submitReview(session: Session, url: string, request: ForgeReviewRequest, signal: AbortSignal): Promise<ForgeReviewResult>",
|
|
1635
|
+
"summary": "Publish a line comment or completed review for a visible Session binding.",
|
|
1636
|
+
"jsDoc": "/**\n * Publish a line comment or completed review for a visible Session binding.\n * @param session - Session retaining the change request.\n * @param url - visible binding URL.\n * @param request - reviewed head, ranges, plain text, and explicit review decision.\n * @param signal - request cancellation.\n * @returns confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.\n */"
|
|
1637
|
+
},
|
|
1370
1638
|
{
|
|
1371
1639
|
"kind": "method",
|
|
1372
1640
|
"name": "markReady",
|
|
@@ -1645,6 +1913,10 @@ export const TYPERT = {
|
|
|
1645
1913
|
"name": "ForgeFailure",
|
|
1646
1914
|
"declaration": "export interface ForgeFailure {\n readonly code: 'not-found' | 'unauthenticated' | 'too-large' | 'unavailable';\n readonly message: string;\n}"
|
|
1647
1915
|
},
|
|
1916
|
+
{
|
|
1917
|
+
"name": "ForgeLineComment",
|
|
1918
|
+
"declaration": "export interface ForgeLineComment {\n readonly path: string;\n readonly side: 'L' | 'R';\n readonly startLine: number;\n readonly endLine: number;\n readonly body: string;\n}"
|
|
1919
|
+
},
|
|
1648
1920
|
{
|
|
1649
1921
|
"name": "ForgeLocalChanges",
|
|
1650
1922
|
"declaration": "export interface ForgeLocalChanges {\n readonly base: string;\n readonly files: readonly ForgeChangedFile[];\n}"
|
|
@@ -1681,6 +1953,14 @@ export const TYPERT = {
|
|
|
1681
1953
|
"name": "ForgeRepository",
|
|
1682
1954
|
"declaration": "export interface ForgeRepository {\n readonly forge: string;\n readonly host: string;\n readonly owner: string;\n readonly name: string;\n}"
|
|
1683
1955
|
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "ForgeReviewRequest",
|
|
1958
|
+
"declaration": "export type ForgeReviewRequest = { readonly headSha: string; } & ({ readonly kind: 'comment'; readonly comment: ForgeLineComment; } | { readonly kind: 'review'; readonly event: 'comment' | 'approve' | 'request-changes'; readonly body: string; readonly comments: readonly ForgeLineComment[]; });"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"name": "ForgeReviewResult",
|
|
1962
|
+
"declaration": "export type ForgeReviewResult = { readonly ok: true; readonly url: string; } | { readonly ok: false; readonly code: 'unsupported' | 'stale' | 'failed' | 'unknown'; readonly message: string; };"
|
|
1963
|
+
},
|
|
1684
1964
|
{
|
|
1685
1965
|
"name": "ForgeSessionWorktree",
|
|
1686
1966
|
"declaration": "export interface ForgeSessionWorktree {\n readonly path: string;\n readonly branch: string;\n readonly from: string | null;\n readonly baseCommit: string;\n readonly repositoryRoot: string;\n}"
|
|
@@ -1999,7 +2279,7 @@ export const TYPERT = {
|
|
|
1999
2279
|
},
|
|
2000
2280
|
{
|
|
2001
2281
|
"name": "SessionEventMap",
|
|
2002
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
|
|
2282
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
|
|
2003
2283
|
},
|
|
2004
2284
|
{
|
|
2005
2285
|
"name": "SessionEventType",
|
|
@@ -6,13 +6,14 @@ import type {
|
|
|
6
6
|
TypertRemoteMethod,
|
|
7
7
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
8
8
|
import type { ForgeBranches, ForgeChangeRequestDiff, ForgeChangeRequestStatesFrame, ForgeLocalDiff, ForgeLocalScope, ForgePanelState } from '@deepseek-ai/dsh-experimental-client-ui-forge/types'
|
|
9
|
-
import type { MergeMethod } from '@deepseek-ai/dsh-experimental-forge/types'
|
|
9
|
+
import type { ChangeRequestSnapshot, ForgeReviewRequest, ForgeReviewResult, MergeMethod } from '@deepseek-ai/dsh-experimental-forge/types'
|
|
10
10
|
import type { SessionId } from '@deepseek-ai/dsh-session/types'
|
|
11
11
|
|
|
12
12
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
13
13
|
interface TypertRemoteNamespace$666f72676550616e656c {
|
|
14
14
|
branches: (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<ForgeBranches>>
|
|
15
15
|
cancelWorktree: (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
16
|
+
changeRequestChecks: (sessionId: SessionId, url: string, headSha: string, signal?: AbortSignal) => Promise<RemoteResult<ChangeRequestSnapshot>>
|
|
16
17
|
changeRequestDiff: (sessionId: SessionId, url: string, signal?: AbortSignal) => Promise<RemoteResult<ForgeChangeRequestDiff>>
|
|
17
18
|
changeRequestStates: (signal?: AbortSignal) => RemoteStreamHandle<ForgeChangeRequestStatesFrame, never>
|
|
18
19
|
changeRequestText: (sessionId: SessionId, url: string, commit: string, path: string, signal?: AbortSignal) => Promise<RemoteResult<string>>
|
|
@@ -28,11 +29,13 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
28
29
|
restoreWorktree: (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
29
30
|
retryWorktree: (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
30
31
|
stopCreation: (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
32
|
+
submitReview: (sessionId: SessionId, url: string, request: ForgeReviewRequest, signal?: AbortSignal) => Promise<RemoteResult<ForgeReviewResult>>
|
|
31
33
|
track: (sessionId: SessionId, url: string, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
32
34
|
}
|
|
33
35
|
interface TypertRemoteMap {
|
|
34
36
|
'forgePanel/branches': (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<ForgeBranches>>
|
|
35
37
|
'forgePanel/cancelWorktree': (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
38
|
+
'forgePanel/changeRequestChecks': (sessionId: SessionId, url: string, headSha: string, signal?: AbortSignal) => Promise<RemoteResult<ChangeRequestSnapshot>>
|
|
36
39
|
'forgePanel/changeRequestDiff': (sessionId: SessionId, url: string, signal?: AbortSignal) => Promise<RemoteResult<ForgeChangeRequestDiff>>
|
|
37
40
|
'forgePanel/changeRequestStates': (signal?: AbortSignal) => RemoteStreamHandle<ForgeChangeRequestStatesFrame, never>
|
|
38
41
|
'forgePanel/changeRequestText': (sessionId: SessionId, url: string, commit: string, path: string, signal?: AbortSignal) => Promise<RemoteResult<string>>
|
|
@@ -48,6 +51,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
48
51
|
'forgePanel/restoreWorktree': (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
49
52
|
'forgePanel/retryWorktree': (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
50
53
|
'forgePanel/stopCreation': (sessionId: SessionId, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
54
|
+
'forgePanel/submitReview': (sessionId: SessionId, url: string, request: ForgeReviewRequest, signal?: AbortSignal) => Promise<RemoteResult<ForgeReviewResult>>
|
|
51
55
|
'forgePanel/track': (sessionId: SessionId, url: string, signal?: AbortSignal) => Promise<RemoteResult<void>>
|
|
52
56
|
}
|
|
53
57
|
interface TypertRemoteNamespaceMap {
|
|
@@ -58,6 +62,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
58
62
|
export declare const TYPERT_REMOTE: TypertRemoteInfo<{
|
|
59
63
|
readonly 'forgePanel/branches': TypertRemoteMethod<{ readonly 'sessionId': SessionId }, ForgeBranches>
|
|
60
64
|
readonly 'forgePanel/cancelWorktree': TypertRemoteMethod<{ readonly 'sessionId': SessionId }, void>
|
|
65
|
+
readonly 'forgePanel/changeRequestChecks': TypertRemoteMethod<{ readonly 'sessionId': SessionId; readonly 'url': string; readonly 'headSha': string }, ChangeRequestSnapshot>
|
|
61
66
|
readonly 'forgePanel/changeRequestDiff': TypertRemoteMethod<{ readonly 'sessionId': SessionId; readonly 'url': string }, ForgeChangeRequestDiff>
|
|
62
67
|
readonly 'forgePanel/changeRequestStates': TypertRemoteMethod<{ }, ForgeChangeRequestStatesFrame, 'stream'>
|
|
63
68
|
readonly 'forgePanel/changeRequestText': TypertRemoteMethod<{ readonly 'sessionId': SessionId; readonly 'url': string; readonly 'commit': string; readonly 'path': string }, string>
|
|
@@ -73,6 +78,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
|
|
|
73
78
|
readonly 'forgePanel/restoreWorktree': TypertRemoteMethod<{ readonly 'sessionId': SessionId }, void>
|
|
74
79
|
readonly 'forgePanel/retryWorktree': TypertRemoteMethod<{ readonly 'sessionId': SessionId }, void>
|
|
75
80
|
readonly 'forgePanel/stopCreation': TypertRemoteMethod<{ readonly 'sessionId': SessionId }, void>
|
|
81
|
+
readonly 'forgePanel/submitReview': TypertRemoteMethod<{ readonly 'sessionId': SessionId; readonly 'url': string; readonly 'request': ForgeReviewRequest }, ForgeReviewResult>
|
|
76
82
|
readonly 'forgePanel/track': TypertRemoteMethod<{ readonly 'sessionId': SessionId; readonly 'url': string }, void>
|
|
77
83
|
}>
|
|
78
84
|
export default TYPERT_REMOTE
|