@deepseek-ai/dsh-experimental-client-ui-forge 0.0.0-stage → 0.2.2-alpha.2
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/LICENSE +21 -0
- package/README.i18n.yaml +37 -0
- package/README.md +134 -2
- package/README.zh.md +135 -0
- package/lib/client.js +8745 -0
- package/lib/index.js +3131 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +2222 -0
- package/lib/typert.remote-client.d.ts +79 -0
- package/lib/typert.remote-client.js +1284 -0
- package/lib/types/client/ActionToast.d.ts +14 -0
- package/lib/types/client/ChangeRequestCard.d.ts +54 -0
- package/lib/types/client/ChangesTab.d.ts +49 -0
- package/lib/types/client/ChangesTabTitle.d.ts +13 -0
- package/lib/types/client/DiffFile.d.ts +75 -0
- package/lib/types/client/FileLabel.d.ts +20 -0
- package/lib/types/client/ForgeTab.d.ts +54 -0
- package/lib/types/client/ForgeTabTitle.d.ts +11 -0
- package/lib/types/client/HeaderButton.d.ts +27 -0
- package/lib/types/client/LocalChangesCard.d.ts +29 -0
- package/lib/types/client/RefreshGlyph.d.ts +18 -0
- package/lib/types/client/SessionHoverForge.d.ts +20 -0
- package/lib/types/client/SessionRowForge.d.ts +39 -0
- package/lib/types/client/WorktreeProgress.d.ts +44 -0
- package/lib/types/client/WorktreeToggle.d.ts +42 -0
- package/lib/types/client/changes-address.d.ts +70 -0
- package/lib/types/client/changes-store.d.ts +39 -0
- package/lib/types/client/checkout.d.ts +34 -0
- package/lib/types/client/diff-rows.d.ts +96 -0
- package/lib/types/client/format.d.ts +21 -0
- package/lib/types/client/glyphs.d.ts +33 -0
- package/lib/types/client/index.d.ts +25 -0
- package/lib/types/client/locales.d.ts +228 -0
- package/lib/types/client/mount.d.ts +17 -0
- package/lib/types/client/session-list.d.ts +46 -0
- package/lib/types/client/source.d.ts +146 -0
- package/lib/types/client/status.d.ts +95 -0
- package/lib/types/diff.d.ts +32 -0
- package/lib/types/git.d.ts +93 -0
- package/lib/types/index.d.ts +275 -0
- package/lib/types/local-diff.d.ts +93 -0
- package/lib/types/panel.d.ts +135 -0
- package/lib/types/parse.d.ts +57 -0
- package/lib/types/patch-cache.d.ts +33 -0
- package/lib/types/states.d.ts +89 -0
- package/lib/types/types.d.ts +395 -0
- package/lib/types/worktree.d.ts +225 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +123 -3
|
@@ -0,0 +1,1284 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
|
|
5
|
+
|
|
6
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema$value
|
|
7
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema$value ??= z.string())
|
|
8
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema$value
|
|
9
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema$value ??= z.object({
|
|
10
|
+
'current': z.union([z.literal(null), z.string()]).readonly().describe('Checked-out branch, or null when HEAD is detached.'),
|
|
11
|
+
'branches': z.array(z.string()).readonly().describe('Local branch names, `current` first and then most recently committed first, at most `maxBranches`.'),
|
|
12
|
+
}))
|
|
13
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema$value
|
|
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema$value
|
|
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_changeRequestDiff_parameter_0$schema$value
|
|
18
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value
|
|
20
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value ??= z.string())
|
|
21
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value
|
|
22
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value ??= z.object({
|
|
23
|
+
'headSha': z.string().readonly().describe('Head commit the diff describes.'),
|
|
24
|
+
'files': z.array(z.object({
|
|
25
|
+
'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
|
|
26
|
+
'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
|
|
27
|
+
'status': z.union([z.literal("deleted"), z.literal("added"), z.literal("modified"), z.literal("renamed")]).readonly().describe('How the file changed.'),
|
|
28
|
+
'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
|
|
29
|
+
'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
|
|
30
|
+
'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
|
|
31
|
+
'additions': z.number().readonly().describe('Lines added.'),
|
|
32
|
+
'deletions': z.number().readonly().describe('Lines deleted.'),
|
|
33
|
+
'hunks': z.array(z.object({
|
|
34
|
+
'oldStart': z.number().readonly().describe('First old line the hunk covers, or the old line it comes before when it covers none.'),
|
|
35
|
+
'oldLines': z.number().readonly().describe('Old lines the hunk covers.'),
|
|
36
|
+
'newStart': z.number().readonly().describe('First new line the hunk covers, or the new line it comes before when it covers none.'),
|
|
37
|
+
'newLines': z.number().readonly().describe('New lines the hunk covers.'),
|
|
38
|
+
'lines': z.array(z.string()).readonly().describe('Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline.'),
|
|
39
|
+
})).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),
|
|
40
|
+
})).readonly().describe('Changed files in the host\'s order.'),
|
|
41
|
+
'localAhead': z.union([z.literal(null), z.number()]).readonly().describe('Commits the checkout\'s branch has beyond the head when that branch is the change request\'s head branch and the head commit is present locally; null otherwise.'),
|
|
42
|
+
'fileUrls': z.record(z.string(), z.string()).readonly().readonly().describe('Web page of each changed file at the head commit, by path.'),
|
|
43
|
+
}))
|
|
44
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema$value
|
|
45
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema$value ??= z.union([z.object({
|
|
46
|
+
'type': z.literal("baseline").readonly(),
|
|
47
|
+
'states': z.array(z.object({
|
|
48
|
+
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
49
|
+
'state': z.union([z.literal("open"), z.literal("closed"), z.literal("merged")]).readonly().describe('Lifecycle state.'),
|
|
50
|
+
'url': z.string().readonly().describe('Web page of the change request.'),
|
|
51
|
+
'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),
|
|
52
|
+
'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
|
|
53
|
+
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
54
|
+
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
55
|
+
'number': z.number().readonly().describe('Change request number on its code host.'),
|
|
56
|
+
})).readonly(),
|
|
57
|
+
}), z.object({
|
|
58
|
+
'type': z.literal("changed").readonly(),
|
|
59
|
+
'states': z.array(z.object({
|
|
60
|
+
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
61
|
+
'state': z.union([z.literal("open"), z.literal("closed"), z.literal("merged")]).readonly().describe('Lifecycle state.'),
|
|
62
|
+
'url': z.string().readonly().describe('Web page of the change request.'),
|
|
63
|
+
'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),
|
|
64
|
+
'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
|
|
65
|
+
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
66
|
+
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
67
|
+
'number': z.number().readonly().describe('Change request number on its code host.'),
|
|
68
|
+
})).readonly(),
|
|
69
|
+
})]))
|
|
70
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema$value
|
|
71
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema$value ??= z.string())
|
|
72
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema$value
|
|
73
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema$value ??= z.string())
|
|
74
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema$value
|
|
75
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema$value ??= z.string())
|
|
76
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema$value
|
|
77
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema$value ??= z.string())
|
|
78
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema$value
|
|
79
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema$value ??= z.string())
|
|
80
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema$value
|
|
81
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema$value ??= z.string())
|
|
82
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema$value
|
|
83
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema$value ??= z.void())
|
|
84
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value
|
|
85
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value ??= z.string())
|
|
86
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema$value
|
|
87
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema$value ??= z.string())
|
|
88
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema$value
|
|
89
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema$value ??= z.void())
|
|
90
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema$value
|
|
91
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema$value ??= z.string())
|
|
92
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema$value
|
|
93
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema$value ??= z.object({
|
|
94
|
+
'directory': z.string().readonly().describe('Current working directory of the Session.'),
|
|
95
|
+
'checkout': z.union([z.object({
|
|
96
|
+
'state': z.literal("pending").readonly(),
|
|
97
|
+
}), z.object({
|
|
98
|
+
'state': z.literal("none").readonly(),
|
|
99
|
+
}), z.object({
|
|
100
|
+
'state': z.literal("failed").readonly(),
|
|
101
|
+
'message': z.string().readonly(),
|
|
102
|
+
}), z.object({
|
|
103
|
+
'state': z.literal("ready").readonly(),
|
|
104
|
+
'checkout': z.object({
|
|
105
|
+
'root': z.string().readonly().describe('Top-level directory of the checkout.'),
|
|
106
|
+
'branch': z.union([z.literal(null), z.string()]).readonly().describe('Checked-out branch, or null when HEAD is detached.'),
|
|
107
|
+
'linked': z.boolean().readonly().describe('Whether the checkout is a linked worktree of another checkout\'s repository.'),
|
|
108
|
+
'commit': z.union([z.literal(null), z.string()]).readonly().describe('Abbreviated commit HEAD names, or null while the checked-out branch has no commit.'),
|
|
109
|
+
}).readonly(),
|
|
110
|
+
})]).readonly().describe('Inspection result for `directory`.'),
|
|
111
|
+
'repository': z.union([z.literal(null), z.object({
|
|
112
|
+
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
113
|
+
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
114
|
+
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
115
|
+
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
116
|
+
})]).readonly().describe('Code host repository of the checkout\'s upstream remote or `origin`, or null when no provider serves them.'),
|
|
117
|
+
'readiness': z.union([z.literal(null), z.object({
|
|
118
|
+
'state': z.union([z.literal("ready"), z.literal("unauthenticated"), z.literal("unavailable")]).readonly().describe('`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable).'),
|
|
119
|
+
'message': z.union([z.literal(null), z.string()]).readonly().describe('Human-readable detail, or null when ready.'),
|
|
120
|
+
})]).readonly().describe('Sign-in state for the repository\'s host, or null before the first probe and without a repository.'),
|
|
121
|
+
'changeRequests': z.array(z.object({
|
|
122
|
+
'snapshot': z.union([z.literal(null), z.object({
|
|
123
|
+
'ref': z.object({
|
|
124
|
+
'repository': z.object({
|
|
125
|
+
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
126
|
+
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
127
|
+
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
128
|
+
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
129
|
+
}).readonly().describe('Repository that holds the change request.'),
|
|
130
|
+
'number': z.number().readonly().describe('Host-assigned change request number.'),
|
|
131
|
+
}).readonly().describe('Change request the snapshot describes.'),
|
|
132
|
+
'url': z.string().readonly().describe('Web page of the change request.'),
|
|
133
|
+
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
134
|
+
'state': z.union([z.literal("open"), z.literal("closed"), z.literal("merged")]).readonly().describe('Lifecycle state.'),
|
|
135
|
+
'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),
|
|
136
|
+
'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),
|
|
137
|
+
'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
|
|
138
|
+
'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
|
|
139
|
+
'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
|
|
140
|
+
'additions': z.number().readonly().describe('Lines the change request adds.'),
|
|
141
|
+
'deletions': z.number().readonly().describe('Lines the change request deletes.'),
|
|
142
|
+
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
143
|
+
'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.'),
|
|
144
|
+
'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.'),
|
|
145
|
+
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
146
|
+
'checks': z.array(z.object({
|
|
147
|
+
'name': z.string().readonly().describe('Check name as the host displays it.'),
|
|
148
|
+
'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.'),
|
|
149
|
+
'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
|
|
150
|
+
'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
|
|
151
|
+
'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.'),
|
|
152
|
+
'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.'),
|
|
153
|
+
})).readonly().describe('Checks on the head commit in host order.'),
|
|
154
|
+
'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
|
|
155
|
+
'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
|
|
156
|
+
'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
|
|
157
|
+
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
158
|
+
'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.'),
|
|
159
|
+
})]).readonly().describe('Latest snapshot a poll returned, kept while later polls fail, or null before the first successful poll.'),
|
|
160
|
+
'url': z.string().readonly().describe('Web URL as first recorded.'),
|
|
161
|
+
'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
|
|
162
|
+
'ref': z.union([z.literal(null), z.object({
|
|
163
|
+
'repository': z.object({
|
|
164
|
+
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
165
|
+
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
166
|
+
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
167
|
+
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
168
|
+
}).readonly().describe('Repository that holds the change request.'),
|
|
169
|
+
'number': z.number().readonly().describe('Host-assigned change request number.'),
|
|
170
|
+
})]).readonly().describe('Parsed reference, or null when no registered provider serves the URL.'),
|
|
171
|
+
'update': z.union([z.literal(null), z.object({
|
|
172
|
+
'key': z.string().readonly().describe('Canonical identity of the watched change request.'),
|
|
173
|
+
'fetchedAt': z.number().readonly().describe('Epoch milliseconds when the result settled.'),
|
|
174
|
+
'snapshot': z.object({
|
|
175
|
+
'ref': z.object({
|
|
176
|
+
'repository': z.object({
|
|
177
|
+
'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
|
|
178
|
+
'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
|
|
179
|
+
'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
|
|
180
|
+
'name': z.string().readonly().describe('Repository name as the host spells it.'),
|
|
181
|
+
}).readonly().describe('Repository that holds the change request.'),
|
|
182
|
+
'number': z.number().readonly().describe('Host-assigned change request number.'),
|
|
183
|
+
}).readonly().describe('Change request the snapshot describes.'),
|
|
184
|
+
'url': z.string().readonly().describe('Web page of the change request.'),
|
|
185
|
+
'title': z.string().readonly().describe('Title as the author wrote it.'),
|
|
186
|
+
'state': z.union([z.literal("open"), z.literal("closed"), z.literal("merged")]).readonly().describe('Lifecycle state.'),
|
|
187
|
+
'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),
|
|
188
|
+
'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),
|
|
189
|
+
'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
|
|
190
|
+
'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
|
|
191
|
+
'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
|
|
192
|
+
'additions': z.number().readonly().describe('Lines the change request adds.'),
|
|
193
|
+
'deletions': z.number().readonly().describe('Lines the change request deletes.'),
|
|
194
|
+
'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
|
|
195
|
+
'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.'),
|
|
196
|
+
'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.'),
|
|
197
|
+
'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
|
|
198
|
+
'checks': z.array(z.object({
|
|
199
|
+
'name': z.string().readonly().describe('Check name as the host displays it.'),
|
|
200
|
+
'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.'),
|
|
201
|
+
'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
|
|
202
|
+
'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
|
|
203
|
+
'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.'),
|
|
204
|
+
'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.'),
|
|
205
|
+
})).readonly().describe('Checks on the head commit in host order.'),
|
|
206
|
+
'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
|
|
207
|
+
'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
|
|
208
|
+
'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
|
|
209
|
+
'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
|
|
210
|
+
'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.'),
|
|
211
|
+
}).readonly().describe('Status read from the host.'),
|
|
212
|
+
}), z.object({
|
|
213
|
+
'key': z.string().readonly().describe('Canonical identity of the watched change request.'),
|
|
214
|
+
'fetchedAt': z.number().readonly().describe('Epoch milliseconds when the result settled.'),
|
|
215
|
+
'failure': z.object({
|
|
216
|
+
'code': z.union([z.literal("unauthenticated"), z.literal("unavailable"), z.literal("not-found"), z.literal("too-large")]).readonly().describe('`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `unavailable`: any other failure.'),
|
|
217
|
+
'message': z.string().readonly().describe('Human-readable cause.'),
|
|
218
|
+
}).readonly().describe('Reason the status could not be read.'),
|
|
219
|
+
})]).readonly().describe('Latest polling result, or null before the first poll and without a provider.'),
|
|
220
|
+
})).readonly().describe('Visible change request bindings with their latest polling results, in first-recorded order.'),
|
|
221
|
+
'worktree': z.object({
|
|
222
|
+
'editable': z.boolean().readonly().describe('Whether the Session can still request or withdraw a worktree: a worktree service is mounted, no turn has started, and none was created.'),
|
|
223
|
+
'blocker': z.union([z.literal(null), z.literal("read-only"), z.literal("not-git"), z.literal("outside-writable-root")]).readonly().describe('Why the checkout cannot host a worktree, or null when it can, before the first inspection, and after a failed one.'),
|
|
224
|
+
'request': z.union([z.literal(null), z.object({
|
|
225
|
+
'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch, or null for HEAD of the source checkout.'),
|
|
226
|
+
})]).readonly().describe('Open request, or null without one.'),
|
|
227
|
+
'created': z.union([z.literal(null), z.object({
|
|
228
|
+
'path': z.string().readonly().describe('Canonical checkout directory.'),
|
|
229
|
+
'branch': z.string().readonly().describe('Branch created for the checkout.'),
|
|
230
|
+
'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
|
|
231
|
+
'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
|
|
232
|
+
'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
|
|
233
|
+
})]).readonly().describe('Created worktree, or null before creation.'),
|
|
234
|
+
'creation': z.union([z.literal(null), z.object({
|
|
235
|
+
'phase': z.union([z.literal("prepare"), z.literal("checkout")]).readonly().describe('Running step: `prepare` validates and creates the branch, then `checkout` writes the files.'),
|
|
236
|
+
'branch': z.string().readonly().describe('Branch the attempt creates.'),
|
|
237
|
+
'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch, or null for HEAD.'),
|
|
238
|
+
'held': z.boolean().readonly().describe('Whether a message waits for the creation before its turn starts. Only such a creation can be stopped, after which the message keeps waiting; a creation at the first step serves a message the Session already holds.'),
|
|
239
|
+
})]).readonly().describe('Running creation, or null.'),
|
|
240
|
+
'failure': z.union([z.literal(null), z.object({
|
|
241
|
+
'branch': z.union([z.literal(null), z.string()]).readonly().describe('Branch the attempt created, or null when it failed before naming one.'),
|
|
242
|
+
'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch of the attempt, or null for HEAD.'),
|
|
243
|
+
'phase': z.union([z.literal("prepare"), z.literal("checkout")]).readonly().describe('Step that failed.'),
|
|
244
|
+
'message': z.string().readonly().describe('Failure text.'),
|
|
245
|
+
})]).readonly().describe('The last failed attempt of the creation a message waits for, or null. It clears when another attempt starts, when the request changes or is withdrawn, and when the wait ends.'),
|
|
246
|
+
'missing': z.union([z.literal(null), z.object({
|
|
247
|
+
'branchExists': z.union([z.literal(null), z.literal(false), z.literal(true)]).readonly().describe('Whether its branch exists, or null when an incomplete restoration cannot inspect it.'),
|
|
248
|
+
})]).readonly().describe('The created worktree the Session works in when its directory is gone, or null.'),
|
|
249
|
+
'restoration': z.union([z.literal(null), z.object({
|
|
250
|
+
'phase': z.union([z.literal("prepare"), z.literal("checkout")]).readonly().describe('Running step: `prepare` registers the checkout again, creating a missing branch, then `checkout` writes the files.'),
|
|
251
|
+
})]).readonly().describe('Running restoration of the removed worktree, or null.'),
|
|
252
|
+
'waiting': z.union([z.literal(null), z.literal("creation"), z.literal("restoration")]).readonly().describe('What a message of the Session waits for before its turn starts, or null while none waits.'),
|
|
253
|
+
}).readonly().describe('Worktree request and creation state.'),
|
|
254
|
+
'local': z.union([z.literal(null), z.object({
|
|
255
|
+
'base': z.string().readonly().describe('Ref or abbreviated commit the scope compares with.'),
|
|
256
|
+
'files': z.array(z.object({
|
|
257
|
+
'path': z.string().readonly().describe('Path relative to the repository root after the change.'),
|
|
258
|
+
'additions': z.number().readonly().describe('Lines added, or 0 for a binary file.'),
|
|
259
|
+
'deletions': z.number().readonly().describe('Lines deleted, or 0 for a binary file.'),
|
|
260
|
+
'binary': z.boolean().readonly().describe('Whether the content is binary.'),
|
|
261
|
+
})).readonly().describe('Changed files in Git\'s path order, untracked files last, at most `maxUntrackedFiles` of those.'),
|
|
262
|
+
})]).readonly().describe('Files the `branch` scope changes, or null before the first inspection, outside a checkout, and without a fork point.'),
|
|
263
|
+
}))
|
|
264
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema$value
|
|
265
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema$value ??= z.string())
|
|
266
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value
|
|
267
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value ??= z.union([z.object({
|
|
268
|
+
'kind': z.literal("branch").readonly(),
|
|
269
|
+
}), z.object({
|
|
270
|
+
'kind': z.literal("uncommitted").readonly(),
|
|
271
|
+
}), z.object({
|
|
272
|
+
'kind': z.literal("unstaged").readonly(),
|
|
273
|
+
}), z.object({
|
|
274
|
+
'kind': z.literal("staged").readonly(),
|
|
275
|
+
})]))
|
|
276
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value
|
|
277
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value ??= z.object({
|
|
278
|
+
'base': z.union([z.literal(null), z.string()]).readonly().describe('Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes.'),
|
|
279
|
+
'files': z.array(z.object({
|
|
280
|
+
'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
|
|
281
|
+
'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
|
|
282
|
+
'status': z.union([z.literal("deleted"), z.literal("added"), z.literal("modified"), z.literal("renamed")]).readonly().describe('How the file changed.'),
|
|
283
|
+
'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
|
|
284
|
+
'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
|
|
285
|
+
'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
|
|
286
|
+
'additions': z.number().readonly().describe('Lines added.'),
|
|
287
|
+
'deletions': z.number().readonly().describe('Lines deleted.'),
|
|
288
|
+
'hunks': z.array(z.object({
|
|
289
|
+
'oldStart': z.number().readonly().describe('First old line the hunk covers, or the old line it comes before when it covers none.'),
|
|
290
|
+
'oldLines': z.number().readonly().describe('Old lines the hunk covers.'),
|
|
291
|
+
'newStart': z.number().readonly().describe('First new line the hunk covers, or the new line it comes before when it covers none.'),
|
|
292
|
+
'newLines': z.number().readonly().describe('New lines the hunk covers.'),
|
|
293
|
+
'lines': z.array(z.string()).readonly().describe('Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline.'),
|
|
294
|
+
})).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),
|
|
295
|
+
})).readonly().describe('Changed files in Git\'s path order, untracked files last.'),
|
|
296
|
+
'omitted': z.number().readonly().describe('Untracked files left out beyond `maxUntrackedFiles`.'),
|
|
297
|
+
}))
|
|
298
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value
|
|
299
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value ??= z.string())
|
|
300
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value
|
|
301
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value ??= z.union([z.object({
|
|
302
|
+
'kind': z.literal("branch").readonly(),
|
|
303
|
+
}), z.object({
|
|
304
|
+
'kind': z.literal("uncommitted").readonly(),
|
|
305
|
+
}), z.object({
|
|
306
|
+
'kind': z.literal("unstaged").readonly(),
|
|
307
|
+
}), z.object({
|
|
308
|
+
'kind': z.literal("staged").readonly(),
|
|
309
|
+
})]))
|
|
310
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value
|
|
311
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value ??= z.string())
|
|
312
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value
|
|
313
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value ??= z.string())
|
|
314
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value
|
|
315
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value ??= z.string())
|
|
316
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value
|
|
317
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value ??= z.string())
|
|
318
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema$value
|
|
319
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema$value ??= z.void())
|
|
320
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema$value
|
|
321
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema$value ??= z.string())
|
|
322
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema$value
|
|
323
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema$value ??= z.string())
|
|
324
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema$value
|
|
325
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema$value ??= z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]))
|
|
326
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema$value
|
|
327
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema$value ??= z.string())
|
|
328
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema$value
|
|
329
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema$value ??= z.void())
|
|
330
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema$value
|
|
331
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema$value ??= z.string())
|
|
332
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema$value
|
|
333
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema$value ??= z.void())
|
|
334
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema$value
|
|
335
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema$value ??= z.string())
|
|
336
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema$value
|
|
337
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
338
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema$value
|
|
339
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema$value ??= z.void())
|
|
340
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema$value
|
|
341
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema$value ??= z.string())
|
|
342
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema$value
|
|
343
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema$value ??= z.void())
|
|
344
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema$value
|
|
345
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema$value ??= z.string())
|
|
346
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value
|
|
347
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value ??= z.void())
|
|
348
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema$value
|
|
349
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value
|
|
351
|
+
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())
|
|
352
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value
|
|
353
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema$value
|
|
355
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema$value ??= z.string())
|
|
356
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema$value
|
|
357
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema$value ??= z.void())
|
|
358
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema$value
|
|
359
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value
|
|
361
|
+
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())
|
|
362
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value
|
|
363
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value
|
|
365
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value ??= z.string())
|
|
366
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema$value
|
|
367
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema$value ??= z.string())
|
|
368
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema$value
|
|
369
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema$value ??= z.string())
|
|
370
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema$value
|
|
371
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema$value ??= z.string())
|
|
372
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema$value
|
|
373
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema$value ??= z.string())
|
|
374
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema$value
|
|
375
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema$value ??= z.string())
|
|
376
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value
|
|
377
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value ??= z.string())
|
|
378
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value
|
|
379
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value ??= z.string())
|
|
380
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value
|
|
381
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value ??= z.string())
|
|
382
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value
|
|
383
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value ??= z.string())
|
|
384
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value
|
|
385
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
386
|
+
'kind': z.literal("branch").readonly(),
|
|
387
|
+
}), z.strictObject({
|
|
388
|
+
'kind': z.literal("uncommitted").readonly(),
|
|
389
|
+
}), z.strictObject({
|
|
390
|
+
'kind': z.literal("unstaged").readonly(),
|
|
391
|
+
}), z.strictObject({
|
|
392
|
+
'kind': z.literal("staged").readonly(),
|
|
393
|
+
})]))
|
|
394
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value
|
|
395
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value ??= z.string())
|
|
396
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value
|
|
397
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value ??= z.union([z.strictObject({
|
|
398
|
+
'kind': z.literal("branch").readonly(),
|
|
399
|
+
}), z.strictObject({
|
|
400
|
+
'kind': z.literal("uncommitted").readonly(),
|
|
401
|
+
}), z.strictObject({
|
|
402
|
+
'kind': z.literal("unstaged").readonly(),
|
|
403
|
+
}), z.strictObject({
|
|
404
|
+
'kind': z.literal("staged").readonly(),
|
|
405
|
+
})]))
|
|
406
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value
|
|
407
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value ??= z.string())
|
|
408
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value
|
|
409
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value ??= z.string())
|
|
410
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value
|
|
411
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value ??= z.string())
|
|
412
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema$value
|
|
413
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema$value ??= z.string())
|
|
414
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema$value
|
|
415
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema$value ??= z.string())
|
|
416
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema$value
|
|
417
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema$value ??= z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]))
|
|
418
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema$value
|
|
419
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema$value ??= z.string())
|
|
420
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema$value
|
|
421
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema$value ??= z.string())
|
|
422
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema$value
|
|
423
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema$value ??= z.string())
|
|
424
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema$value
|
|
425
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
426
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema$value
|
|
427
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema$value ??= z.string())
|
|
428
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value
|
|
429
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value
|
|
431
|
+
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())
|
|
432
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema$value
|
|
433
|
+
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
|
+
let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value
|
|
435
|
+
const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value ??= z.string())
|
|
436
|
+
|
|
437
|
+
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
438
|
+
package: '@deepseek-ai/dsh-experimental-client-ui-forge',
|
|
439
|
+
methods: {
|
|
440
|
+
'forgePanel/branches': {
|
|
441
|
+
service: 'forgePanel',
|
|
442
|
+
description: 'List the local branches that can start a worktree of the Session\'s current checkout.',
|
|
443
|
+
invocation: { kind: 'direct' },
|
|
444
|
+
parameters: [
|
|
445
|
+
{
|
|
446
|
+
name: 'session',
|
|
447
|
+
wire: 'sessionId',
|
|
448
|
+
description: 'Session whose current directory is listed.',
|
|
449
|
+
source: 'lookup',
|
|
450
|
+
lookup: 'session',
|
|
451
|
+
codec: {
|
|
452
|
+
mode: 'strict',
|
|
453
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
454
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema,
|
|
455
|
+
jsonSchema: {"type":"string"},
|
|
456
|
+
},
|
|
457
|
+
strictCodec: {
|
|
458
|
+
mode: 'strict',
|
|
459
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
460
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema,
|
|
461
|
+
jsonSchema: {"type":"string"},
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
],
|
|
465
|
+
cancellation: { parameter: 'signal' },
|
|
466
|
+
result: {
|
|
467
|
+
mode: 'strict',
|
|
468
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBranches',
|
|
469
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema,
|
|
470
|
+
description: 'the checked-out branch and at most `maxBranches` local branches, the checked-out one first.',
|
|
471
|
+
jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Checked-out branch, or null when HEAD is detached."},"branches":{"type":"array","items":{"type":"string"},"description":"Local branch names, `current` first and then most recently committed first, at most `maxBranches`."}},"required":["current","branches"],"additionalProperties":true},
|
|
472
|
+
},
|
|
473
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":188,"column":9},
|
|
474
|
+
},
|
|
475
|
+
'forgePanel/cancelWorktree': {
|
|
476
|
+
service: 'forgePanel',
|
|
477
|
+
description: 'Withdraw the open worktree request of a Session with its failed attempt, which lets a waiting message go on in the current checkout; without a request the Session is unchanged. Withdrawing needs no worktree service.',
|
|
478
|
+
invocation: { kind: 'direct' },
|
|
479
|
+
parameters: [
|
|
480
|
+
{
|
|
481
|
+
name: 'session',
|
|
482
|
+
wire: 'sessionId',
|
|
483
|
+
description: 'Session without a started turn.',
|
|
484
|
+
source: 'lookup',
|
|
485
|
+
lookup: 'session',
|
|
486
|
+
codec: {
|
|
487
|
+
mode: 'strict',
|
|
488
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
489
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema,
|
|
490
|
+
jsonSchema: {"type":"string"},
|
|
491
|
+
},
|
|
492
|
+
strictCodec: {
|
|
493
|
+
mode: 'strict',
|
|
494
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
495
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema,
|
|
496
|
+
jsonSchema: {"type":"string"},
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
cancellation: { parameter: 'signal' },
|
|
501
|
+
result: {
|
|
502
|
+
mode: 'strict',
|
|
503
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/cancelWorktree:result',
|
|
504
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,
|
|
505
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
506
|
+
},
|
|
507
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":407,"column":9},
|
|
508
|
+
},
|
|
509
|
+
'forgePanel/changeRequestDiff': {
|
|
510
|
+
service: 'forgePanel',
|
|
511
|
+
description: 'Read the changes of a change request of a Session as its code host computes them, at the head commit of its latest status. A patch already read at the same head commit and base branch is reused from memory, for any Session, until `maxCachedDiffBytes` evicts it.',
|
|
512
|
+
invocation: { kind: 'direct' },
|
|
513
|
+
parameters: [
|
|
514
|
+
{
|
|
515
|
+
name: 'session',
|
|
516
|
+
wire: 'sessionId',
|
|
517
|
+
description: 'Session the change request is bound to.',
|
|
518
|
+
source: 'lookup',
|
|
519
|
+
lookup: 'session',
|
|
520
|
+
codec: {
|
|
521
|
+
mode: 'strict',
|
|
522
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
523
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema,
|
|
524
|
+
jsonSchema: {"type":"string"},
|
|
525
|
+
},
|
|
526
|
+
strictCodec: {
|
|
527
|
+
mode: 'strict',
|
|
528
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
529
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema,
|
|
530
|
+
jsonSchema: {"type":"string"},
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: 'url',
|
|
535
|
+
description: 'binding URL of the change request.',
|
|
536
|
+
source: 'json',
|
|
537
|
+
codec: {
|
|
538
|
+
mode: 'strict',
|
|
539
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:url',
|
|
540
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema,
|
|
541
|
+
jsonSchema: {"type":"string"},
|
|
542
|
+
},
|
|
543
|
+
strictCodec: {
|
|
544
|
+
mode: 'strict',
|
|
545
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:url',
|
|
546
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema,
|
|
547
|
+
jsonSchema: {"type":"string"},
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
cancellation: { parameter: 'signal' },
|
|
552
|
+
result: {
|
|
553
|
+
mode: 'strict',
|
|
554
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestDiff',
|
|
555
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema,
|
|
556
|
+
description: 'the files, the head commit, each file\'s web page, and the commits the checkout has beyond the head.',
|
|
557
|
+
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
558
|
+
},
|
|
559
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":287,"column":9},
|
|
560
|
+
},
|
|
561
|
+
'forgePanel/changeRequestStates': {
|
|
562
|
+
service: 'forgePanel',
|
|
563
|
+
description: 'Stream the last known state of every change request that a listed Session the caller may read binds: the stored states first, then each state a poll changes or a new binding reveals. Listing reads no Session log: loaded Sessions report their bindings, others the cached Session summary, and a Session without one shows nothing until it is opened. Closed requests are polled at the idle cadence so reopening is observed. The stream ends when `signal` aborts or the Remote stops.',
|
|
564
|
+
mode: 'stream',
|
|
565
|
+
invocation: { kind: 'direct' },
|
|
566
|
+
parameters: [
|
|
567
|
+
],
|
|
568
|
+
cancellation: { parameter: 'signal' },
|
|
569
|
+
result: {
|
|
570
|
+
mode: 'strict',
|
|
571
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestStatesFrame',
|
|
572
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema,
|
|
573
|
+
description: 'frames in publication order.',
|
|
574
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"baseline"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"changed"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true}]},
|
|
575
|
+
},
|
|
576
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":175,"column":10},
|
|
577
|
+
},
|
|
578
|
+
'forgePanel/changeRequestText': {
|
|
579
|
+
service: 'forgePanel',
|
|
580
|
+
description: 'Read one file of a change request\'s repository at a commit, which supplies the unchanged lines between the hunks of its diff.',
|
|
581
|
+
invocation: { kind: 'direct' },
|
|
582
|
+
parameters: [
|
|
583
|
+
{
|
|
584
|
+
name: 'session',
|
|
585
|
+
wire: 'sessionId',
|
|
586
|
+
description: 'Session the change request is bound to.',
|
|
587
|
+
source: 'lookup',
|
|
588
|
+
lookup: 'session',
|
|
589
|
+
codec: {
|
|
590
|
+
mode: 'strict',
|
|
591
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
592
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema,
|
|
593
|
+
jsonSchema: {"type":"string"},
|
|
594
|
+
},
|
|
595
|
+
strictCodec: {
|
|
596
|
+
mode: 'strict',
|
|
597
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
598
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema,
|
|
599
|
+
jsonSchema: {"type":"string"},
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
name: 'url',
|
|
604
|
+
description: 'binding URL of the change request.',
|
|
605
|
+
source: 'json',
|
|
606
|
+
codec: {
|
|
607
|
+
mode: 'strict',
|
|
608
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
|
|
609
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema,
|
|
610
|
+
jsonSchema: {"type":"string"},
|
|
611
|
+
},
|
|
612
|
+
strictCodec: {
|
|
613
|
+
mode: 'strict',
|
|
614
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
|
|
615
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema,
|
|
616
|
+
jsonSchema: {"type":"string"},
|
|
617
|
+
},
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
name: 'commit',
|
|
621
|
+
description: 'commit object name, the head commit of the diff.',
|
|
622
|
+
source: 'json',
|
|
623
|
+
codec: {
|
|
624
|
+
mode: 'strict',
|
|
625
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
|
|
626
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema,
|
|
627
|
+
jsonSchema: {"type":"string"},
|
|
628
|
+
},
|
|
629
|
+
strictCodec: {
|
|
630
|
+
mode: 'strict',
|
|
631
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
|
|
632
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema,
|
|
633
|
+
jsonSchema: {"type":"string"},
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
name: 'path',
|
|
638
|
+
description: 'path relative to the repository root.',
|
|
639
|
+
source: 'json',
|
|
640
|
+
codec: {
|
|
641
|
+
mode: 'strict',
|
|
642
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
|
|
643
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema,
|
|
644
|
+
jsonSchema: {"type":"string"},
|
|
645
|
+
},
|
|
646
|
+
strictCodec: {
|
|
647
|
+
mode: 'strict',
|
|
648
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
|
|
649
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema,
|
|
650
|
+
jsonSchema: {"type":"string"},
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
cancellation: { parameter: 'signal' },
|
|
655
|
+
result: {
|
|
656
|
+
mode: 'strict',
|
|
657
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:result',
|
|
658
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema,
|
|
659
|
+
description: 'the text.',
|
|
660
|
+
jsonSchema: {"type":"string"},
|
|
661
|
+
},
|
|
662
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":331,"column":9},
|
|
663
|
+
},
|
|
664
|
+
'forgePanel/continueInProject': {
|
|
665
|
+
service: 'forgePanel',
|
|
666
|
+
description: 'Move a Session from its created worktree to the source checkout the worktree came from; the Session no longer works in the worktree. Runs as Agent maintenance, inside the wait of a message that waits for the removed worktree, which then goes on.',
|
|
667
|
+
invocation: { kind: 'direct' },
|
|
668
|
+
parameters: [
|
|
669
|
+
{
|
|
670
|
+
name: 'session',
|
|
671
|
+
wire: 'sessionId',
|
|
672
|
+
description: 'Session with a created worktree.',
|
|
673
|
+
source: 'lookup',
|
|
674
|
+
lookup: 'session',
|
|
675
|
+
codec: {
|
|
676
|
+
mode: 'strict',
|
|
677
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
678
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema,
|
|
679
|
+
jsonSchema: {"type":"string"},
|
|
680
|
+
},
|
|
681
|
+
strictCodec: {
|
|
682
|
+
mode: 'strict',
|
|
683
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
684
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema,
|
|
685
|
+
jsonSchema: {"type":"string"},
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
],
|
|
689
|
+
cancellation: { parameter: 'signal' },
|
|
690
|
+
result: {
|
|
691
|
+
mode: 'strict',
|
|
692
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/continueInProject:result',
|
|
693
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
|
|
694
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
695
|
+
},
|
|
696
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":488,"column":9},
|
|
697
|
+
},
|
|
698
|
+
'forgePanel/dismiss': {
|
|
699
|
+
service: 'forgePanel',
|
|
700
|
+
description: 'Hide a visible binding of a Session; other URLs leave the Session unchanged.',
|
|
701
|
+
invocation: { kind: 'direct' },
|
|
702
|
+
parameters: [
|
|
703
|
+
{
|
|
704
|
+
name: 'session',
|
|
705
|
+
wire: 'sessionId',
|
|
706
|
+
description: 'Session that owns the binding.',
|
|
707
|
+
source: 'lookup',
|
|
708
|
+
lookup: 'session',
|
|
709
|
+
codec: {
|
|
710
|
+
mode: 'strict',
|
|
711
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
712
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema,
|
|
713
|
+
jsonSchema: {"type":"string"},
|
|
714
|
+
},
|
|
715
|
+
strictCodec: {
|
|
716
|
+
mode: 'strict',
|
|
717
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
718
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema,
|
|
719
|
+
jsonSchema: {"type":"string"},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
name: 'url',
|
|
724
|
+
description: 'web URL of the change request.',
|
|
725
|
+
source: 'json',
|
|
726
|
+
codec: {
|
|
727
|
+
mode: 'strict',
|
|
728
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
|
|
729
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema,
|
|
730
|
+
jsonSchema: {"type":"string"},
|
|
731
|
+
},
|
|
732
|
+
strictCodec: {
|
|
733
|
+
mode: 'strict',
|
|
734
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
|
|
735
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema,
|
|
736
|
+
jsonSchema: {"type":"string"},
|
|
737
|
+
},
|
|
738
|
+
},
|
|
739
|
+
],
|
|
740
|
+
cancellation: { parameter: 'signal' },
|
|
741
|
+
result: {
|
|
742
|
+
mode: 'strict',
|
|
743
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:result',
|
|
744
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,
|
|
745
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
746
|
+
},
|
|
747
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":216,"column":9},
|
|
748
|
+
},
|
|
749
|
+
'forgePanel/follow': {
|
|
750
|
+
service: 'forgePanel',
|
|
751
|
+
description: 'Stream the panel state of a Session: the current state first, then each later state. Intermediate states may be skipped when the reader is slower than the updates. The stream ends when `signal` aborts or the Remote stops.',
|
|
752
|
+
mode: 'stream',
|
|
753
|
+
invocation: { kind: 'direct' },
|
|
754
|
+
parameters: [
|
|
755
|
+
{
|
|
756
|
+
name: 'session',
|
|
757
|
+
wire: 'sessionId',
|
|
758
|
+
description: 'Session to follow.',
|
|
759
|
+
source: 'lookup',
|
|
760
|
+
lookup: 'session',
|
|
761
|
+
codec: {
|
|
762
|
+
mode: 'strict',
|
|
763
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
764
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema,
|
|
765
|
+
jsonSchema: {"type":"string"},
|
|
766
|
+
},
|
|
767
|
+
strictCodec: {
|
|
768
|
+
mode: 'strict',
|
|
769
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
770
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema,
|
|
771
|
+
jsonSchema: {"type":"string"},
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
],
|
|
775
|
+
cancellation: { parameter: 'signal' },
|
|
776
|
+
result: {
|
|
777
|
+
mode: 'strict',
|
|
778
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgePanelState',
|
|
779
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema,
|
|
780
|
+
description: 'panel states in publication order.',
|
|
781
|
+
jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
|
|
782
|
+
},
|
|
783
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":158,"column":10},
|
|
784
|
+
},
|
|
785
|
+
'forgePanel/localDiff': {
|
|
786
|
+
service: 'forgePanel',
|
|
787
|
+
description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git confined to the Session\'s read-only sandbox.',
|
|
788
|
+
invocation: { kind: 'direct' },
|
|
789
|
+
parameters: [
|
|
790
|
+
{
|
|
791
|
+
name: 'session',
|
|
792
|
+
wire: 'sessionId',
|
|
793
|
+
description: 'Session whose checkout is read.',
|
|
794
|
+
source: 'lookup',
|
|
795
|
+
lookup: 'session',
|
|
796
|
+
codec: {
|
|
797
|
+
mode: 'strict',
|
|
798
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
799
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema,
|
|
800
|
+
jsonSchema: {"type":"string"},
|
|
801
|
+
},
|
|
802
|
+
strictCodec: {
|
|
803
|
+
mode: 'strict',
|
|
804
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
805
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema,
|
|
806
|
+
jsonSchema: {"type":"string"},
|
|
807
|
+
},
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
name: 'scope',
|
|
811
|
+
description: 'which changes to read.',
|
|
812
|
+
source: 'json',
|
|
813
|
+
codec: {
|
|
814
|
+
mode: 'strict',
|
|
815
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
816
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,
|
|
817
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
|
|
818
|
+
},
|
|
819
|
+
strictCodec: {
|
|
820
|
+
mode: 'strict',
|
|
821
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
822
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema,
|
|
823
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
|
|
824
|
+
},
|
|
825
|
+
},
|
|
826
|
+
],
|
|
827
|
+
cancellation: { parameter: 'signal' },
|
|
828
|
+
result: {
|
|
829
|
+
mode: 'strict',
|
|
830
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalDiff',
|
|
831
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema,
|
|
832
|
+
description: 'the files, the base of the `branch` scope, and the untracked files left out.',
|
|
833
|
+
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
|
+
},
|
|
835
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":245,"column":9},
|
|
836
|
+
},
|
|
837
|
+
'forgePanel/localText': {
|
|
838
|
+
service: 'forgePanel',
|
|
839
|
+
description: '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.',
|
|
840
|
+
invocation: { kind: 'direct' },
|
|
841
|
+
parameters: [
|
|
842
|
+
{
|
|
843
|
+
name: 'session',
|
|
844
|
+
wire: 'sessionId',
|
|
845
|
+
description: 'Session whose checkout is read.',
|
|
846
|
+
source: 'lookup',
|
|
847
|
+
lookup: 'session',
|
|
848
|
+
codec: {
|
|
849
|
+
mode: 'strict',
|
|
850
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
851
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema,
|
|
852
|
+
jsonSchema: {"type":"string"},
|
|
853
|
+
},
|
|
854
|
+
strictCodec: {
|
|
855
|
+
mode: 'strict',
|
|
856
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
857
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema,
|
|
858
|
+
jsonSchema: {"type":"string"},
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
name: 'scope',
|
|
863
|
+
description: 'the scope the diff was read in.',
|
|
864
|
+
source: 'json',
|
|
865
|
+
codec: {
|
|
866
|
+
mode: 'strict',
|
|
867
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
868
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema,
|
|
869
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
|
|
870
|
+
},
|
|
871
|
+
strictCodec: {
|
|
872
|
+
mode: 'strict',
|
|
873
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
|
|
874
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema,
|
|
875
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
|
|
876
|
+
},
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
name: 'path',
|
|
880
|
+
description: 'path relative to the checkout\'s top-level directory, as the diff names it.',
|
|
881
|
+
source: 'json',
|
|
882
|
+
codec: {
|
|
883
|
+
mode: 'strict',
|
|
884
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:path',
|
|
885
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema,
|
|
886
|
+
jsonSchema: {"type":"string"},
|
|
887
|
+
},
|
|
888
|
+
strictCodec: {
|
|
889
|
+
mode: 'strict',
|
|
890
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:path',
|
|
891
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema,
|
|
892
|
+
jsonSchema: {"type":"string"},
|
|
893
|
+
},
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
cancellation: { parameter: 'signal' },
|
|
897
|
+
result: {
|
|
898
|
+
mode: 'strict',
|
|
899
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:result',
|
|
900
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema,
|
|
901
|
+
description: 'the text.',
|
|
902
|
+
jsonSchema: {"type":"string"},
|
|
903
|
+
},
|
|
904
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":267,"column":9},
|
|
905
|
+
},
|
|
906
|
+
'forgePanel/markReady': {
|
|
907
|
+
service: 'forgePanel',
|
|
908
|
+
description: 'Mark a draft change request of a Session ready for review; the change request is polled again once the host answers.',
|
|
909
|
+
invocation: { kind: 'direct' },
|
|
910
|
+
parameters: [
|
|
911
|
+
{
|
|
912
|
+
name: 'session',
|
|
913
|
+
wire: 'sessionId',
|
|
914
|
+
description: 'Session the change request is bound to.',
|
|
915
|
+
source: 'lookup',
|
|
916
|
+
lookup: 'session',
|
|
917
|
+
codec: {
|
|
918
|
+
mode: 'strict',
|
|
919
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
920
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema,
|
|
921
|
+
jsonSchema: {"type":"string"},
|
|
922
|
+
},
|
|
923
|
+
strictCodec: {
|
|
924
|
+
mode: 'strict',
|
|
925
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
926
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema,
|
|
927
|
+
jsonSchema: {"type":"string"},
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
name: 'url',
|
|
932
|
+
description: 'binding URL of the change request.',
|
|
933
|
+
source: 'json',
|
|
934
|
+
codec: {
|
|
935
|
+
mode: 'strict',
|
|
936
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
|
|
937
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema,
|
|
938
|
+
jsonSchema: {"type":"string"},
|
|
939
|
+
},
|
|
940
|
+
strictCodec: {
|
|
941
|
+
mode: 'strict',
|
|
942
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
|
|
943
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema,
|
|
944
|
+
jsonSchema: {"type":"string"},
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
],
|
|
948
|
+
cancellation: { parameter: 'signal' },
|
|
949
|
+
result: {
|
|
950
|
+
mode: 'strict',
|
|
951
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:result',
|
|
952
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
|
|
953
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
954
|
+
},
|
|
955
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":348,"column":9},
|
|
956
|
+
},
|
|
957
|
+
'forgePanel/merge': {
|
|
958
|
+
service: 'forgePanel',
|
|
959
|
+
description: 'Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.',
|
|
960
|
+
invocation: { kind: 'direct' },
|
|
961
|
+
parameters: [
|
|
962
|
+
{
|
|
963
|
+
name: 'session',
|
|
964
|
+
wire: 'sessionId',
|
|
965
|
+
description: 'Session the change request is bound to.',
|
|
966
|
+
source: 'lookup',
|
|
967
|
+
lookup: 'session',
|
|
968
|
+
codec: {
|
|
969
|
+
mode: 'strict',
|
|
970
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
971
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema,
|
|
972
|
+
jsonSchema: {"type":"string"},
|
|
973
|
+
},
|
|
974
|
+
strictCodec: {
|
|
975
|
+
mode: 'strict',
|
|
976
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
977
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema,
|
|
978
|
+
jsonSchema: {"type":"string"},
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: 'url',
|
|
983
|
+
description: 'binding URL of the change request.',
|
|
984
|
+
source: 'json',
|
|
985
|
+
codec: {
|
|
986
|
+
mode: 'strict',
|
|
987
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
|
|
988
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema,
|
|
989
|
+
jsonSchema: {"type":"string"},
|
|
990
|
+
},
|
|
991
|
+
strictCodec: {
|
|
992
|
+
mode: 'strict',
|
|
993
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
|
|
994
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema,
|
|
995
|
+
jsonSchema: {"type":"string"},
|
|
996
|
+
},
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
name: 'method',
|
|
1000
|
+
description: 'how the commits enter the base branch.',
|
|
1001
|
+
source: 'json',
|
|
1002
|
+
codec: {
|
|
1003
|
+
mode: 'strict',
|
|
1004
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
|
|
1005
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema,
|
|
1006
|
+
jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
|
|
1007
|
+
},
|
|
1008
|
+
strictCodec: {
|
|
1009
|
+
mode: 'strict',
|
|
1010
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
|
|
1011
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema,
|
|
1012
|
+
jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
|
|
1013
|
+
},
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
name: 'headSha',
|
|
1017
|
+
description: 'head commit the user confirmed.',
|
|
1018
|
+
source: 'json',
|
|
1019
|
+
codec: {
|
|
1020
|
+
mode: 'strict',
|
|
1021
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
|
|
1022
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema,
|
|
1023
|
+
jsonSchema: {"type":"string"},
|
|
1024
|
+
},
|
|
1025
|
+
strictCodec: {
|
|
1026
|
+
mode: 'strict',
|
|
1027
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
|
|
1028
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema,
|
|
1029
|
+
jsonSchema: {"type":"string"},
|
|
1030
|
+
},
|
|
1031
|
+
},
|
|
1032
|
+
],
|
|
1033
|
+
cancellation: { parameter: 'signal' },
|
|
1034
|
+
result: {
|
|
1035
|
+
mode: 'strict',
|
|
1036
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:result',
|
|
1037
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
|
|
1038
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1039
|
+
},
|
|
1040
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":367,"column":9},
|
|
1041
|
+
},
|
|
1042
|
+
'forgePanel/refresh': {
|
|
1043
|
+
service: 'forgePanel',
|
|
1044
|
+
description: 'Reinspect a followed Session\'s checkout, probe sign-in again, and poll its change requests at once; an unfollowed Session is unchanged.',
|
|
1045
|
+
invocation: { kind: 'direct' },
|
|
1046
|
+
parameters: [
|
|
1047
|
+
{
|
|
1048
|
+
name: 'session',
|
|
1049
|
+
wire: 'sessionId',
|
|
1050
|
+
description: 'Session whose panel refreshes.',
|
|
1051
|
+
source: 'lookup',
|
|
1052
|
+
lookup: 'session',
|
|
1053
|
+
codec: {
|
|
1054
|
+
mode: 'strict',
|
|
1055
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1056
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema,
|
|
1057
|
+
jsonSchema: {"type":"string"},
|
|
1058
|
+
},
|
|
1059
|
+
strictCodec: {
|
|
1060
|
+
mode: 'strict',
|
|
1061
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1062
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema,
|
|
1063
|
+
jsonSchema: {"type":"string"},
|
|
1064
|
+
},
|
|
1065
|
+
},
|
|
1066
|
+
],
|
|
1067
|
+
cancellation: { parameter: 'signal' },
|
|
1068
|
+
result: {
|
|
1069
|
+
mode: 'strict',
|
|
1070
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/refresh:result',
|
|
1071
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema,
|
|
1072
|
+
description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
|
|
1073
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1074
|
+
},
|
|
1075
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":229,"column":9},
|
|
1076
|
+
},
|
|
1077
|
+
'forgePanel/requestWorktree': {
|
|
1078
|
+
service: 'forgePanel',
|
|
1079
|
+
description: 'Ask for a new worktree before the Session\'s first turn, replacing an open request and forgetting a failed attempt. While the next message waits in the inbox, or else at the first step proposal, the panel creates a branch from `from`, or from HEAD of the current checkout when it is null, and enters its checkout. A message that already waits after a failed or stopped attempt keeps waiting for {@link ForgePanelController.retryWorktree}.',
|
|
1080
|
+
invocation: { kind: 'direct' },
|
|
1081
|
+
parameters: [
|
|
1082
|
+
{
|
|
1083
|
+
name: 'session',
|
|
1084
|
+
wire: 'sessionId',
|
|
1085
|
+
description: 'Session without a started turn.',
|
|
1086
|
+
source: 'lookup',
|
|
1087
|
+
lookup: 'session',
|
|
1088
|
+
codec: {
|
|
1089
|
+
mode: 'strict',
|
|
1090
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1091
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema,
|
|
1092
|
+
jsonSchema: {"type":"string"},
|
|
1093
|
+
},
|
|
1094
|
+
strictCodec: {
|
|
1095
|
+
mode: 'strict',
|
|
1096
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1097
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema,
|
|
1098
|
+
jsonSchema: {"type":"string"},
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'from',
|
|
1103
|
+
description: 'local base branch, or null for HEAD.',
|
|
1104
|
+
source: 'json',
|
|
1105
|
+
codec: {
|
|
1106
|
+
mode: 'strict',
|
|
1107
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
|
|
1108
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema,
|
|
1109
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
1110
|
+
},
|
|
1111
|
+
strictCodec: {
|
|
1112
|
+
mode: 'strict',
|
|
1113
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
|
|
1114
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema,
|
|
1115
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1118
|
+
],
|
|
1119
|
+
cancellation: { parameter: 'signal' },
|
|
1120
|
+
result: {
|
|
1121
|
+
mode: 'strict',
|
|
1122
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:result',
|
|
1123
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
|
|
1124
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1125
|
+
},
|
|
1126
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":388,"column":9},
|
|
1127
|
+
},
|
|
1128
|
+
'forgePanel/restoreWorktree': {
|
|
1129
|
+
service: 'forgePanel',
|
|
1130
|
+
description: 'Check out the created worktree of a Session again at its recorded directory when that directory is gone: its branch when the branch still exists, otherwise a new branch of the same name at the base commit. Changes that were never committed are not recovered. Runs as Agent maintenance, inside the wait of a message that waits for the restoration, which then goes on; without a missing directory the Session is unchanged.',
|
|
1131
|
+
invocation: { kind: 'direct' },
|
|
1132
|
+
parameters: [
|
|
1133
|
+
{
|
|
1134
|
+
name: 'session',
|
|
1135
|
+
wire: 'sessionId',
|
|
1136
|
+
description: 'Session whose worktree directory is gone.',
|
|
1137
|
+
source: 'lookup',
|
|
1138
|
+
lookup: 'session',
|
|
1139
|
+
codec: {
|
|
1140
|
+
mode: 'strict',
|
|
1141
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1142
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema,
|
|
1143
|
+
jsonSchema: {"type":"string"},
|
|
1144
|
+
},
|
|
1145
|
+
strictCodec: {
|
|
1146
|
+
mode: 'strict',
|
|
1147
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1148
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema,
|
|
1149
|
+
jsonSchema: {"type":"string"},
|
|
1150
|
+
},
|
|
1151
|
+
},
|
|
1152
|
+
],
|
|
1153
|
+
cancellation: { parameter: 'signal' },
|
|
1154
|
+
result: {
|
|
1155
|
+
mode: 'strict',
|
|
1156
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/restoreWorktree:result',
|
|
1157
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
|
|
1158
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1159
|
+
},
|
|
1160
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":457,"column":9},
|
|
1161
|
+
},
|
|
1162
|
+
'forgePanel/retryWorktree': {
|
|
1163
|
+
service: 'forgePanel',
|
|
1164
|
+
description: 'Make another attempt, with a new branch name, at the worktree a message of the Session waits for after a failed or stopped attempt.',
|
|
1165
|
+
invocation: { kind: 'direct' },
|
|
1166
|
+
parameters: [
|
|
1167
|
+
{
|
|
1168
|
+
name: 'session',
|
|
1169
|
+
wire: 'sessionId',
|
|
1170
|
+
description: 'Session whose message waits.',
|
|
1171
|
+
source: 'lookup',
|
|
1172
|
+
lookup: 'session',
|
|
1173
|
+
codec: {
|
|
1174
|
+
mode: 'strict',
|
|
1175
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1176
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema,
|
|
1177
|
+
jsonSchema: {"type":"string"},
|
|
1178
|
+
},
|
|
1179
|
+
strictCodec: {
|
|
1180
|
+
mode: 'strict',
|
|
1181
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1182
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema,
|
|
1183
|
+
jsonSchema: {"type":"string"},
|
|
1184
|
+
},
|
|
1185
|
+
},
|
|
1186
|
+
],
|
|
1187
|
+
cancellation: { parameter: 'signal' },
|
|
1188
|
+
result: {
|
|
1189
|
+
mode: 'strict',
|
|
1190
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/retryWorktree:result',
|
|
1191
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
|
|
1192
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1193
|
+
},
|
|
1194
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":436,"column":9},
|
|
1195
|
+
},
|
|
1196
|
+
'forgePanel/stopCreation': {
|
|
1197
|
+
service: 'forgePanel',
|
|
1198
|
+
description: 'Stop the creation a message of the Session waits for; the message keeps waiting with the request still open. Without such a creation the Session is unchanged.',
|
|
1199
|
+
invocation: { kind: 'direct' },
|
|
1200
|
+
parameters: [
|
|
1201
|
+
{
|
|
1202
|
+
name: 'session',
|
|
1203
|
+
wire: 'sessionId',
|
|
1204
|
+
description: 'Session whose creation stops.',
|
|
1205
|
+
source: 'lookup',
|
|
1206
|
+
lookup: 'session',
|
|
1207
|
+
codec: {
|
|
1208
|
+
mode: 'strict',
|
|
1209
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1210
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema,
|
|
1211
|
+
jsonSchema: {"type":"string"},
|
|
1212
|
+
},
|
|
1213
|
+
strictCodec: {
|
|
1214
|
+
mode: 'strict',
|
|
1215
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1216
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema,
|
|
1217
|
+
jsonSchema: {"type":"string"},
|
|
1218
|
+
},
|
|
1219
|
+
},
|
|
1220
|
+
],
|
|
1221
|
+
cancellation: { parameter: 'signal' },
|
|
1222
|
+
result: {
|
|
1223
|
+
mode: 'strict',
|
|
1224
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/stopCreation:result',
|
|
1225
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,
|
|
1226
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1227
|
+
},
|
|
1228
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":423,"column":9},
|
|
1229
|
+
},
|
|
1230
|
+
'forgePanel/track': {
|
|
1231
|
+
service: 'forgePanel',
|
|
1232
|
+
description: 'Bind a change request to a Session by URL, or restore a dismissed binding.',
|
|
1233
|
+
invocation: { kind: 'direct' },
|
|
1234
|
+
parameters: [
|
|
1235
|
+
{
|
|
1236
|
+
name: 'session',
|
|
1237
|
+
wire: 'sessionId',
|
|
1238
|
+
description: 'Session that receives the binding.',
|
|
1239
|
+
source: 'lookup',
|
|
1240
|
+
lookup: 'session',
|
|
1241
|
+
codec: {
|
|
1242
|
+
mode: 'strict',
|
|
1243
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1244
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema,
|
|
1245
|
+
jsonSchema: {"type":"string"},
|
|
1246
|
+
},
|
|
1247
|
+
strictCodec: {
|
|
1248
|
+
mode: 'strict',
|
|
1249
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1250
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema,
|
|
1251
|
+
jsonSchema: {"type":"string"},
|
|
1252
|
+
},
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
name: 'url',
|
|
1256
|
+
description: 'web URL of the change request.',
|
|
1257
|
+
source: 'json',
|
|
1258
|
+
codec: {
|
|
1259
|
+
mode: 'strict',
|
|
1260
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:url',
|
|
1261
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema,
|
|
1262
|
+
jsonSchema: {"type":"string"},
|
|
1263
|
+
},
|
|
1264
|
+
strictCodec: {
|
|
1265
|
+
mode: 'strict',
|
|
1266
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:url',
|
|
1267
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema,
|
|
1268
|
+
jsonSchema: {"type":"string"},
|
|
1269
|
+
},
|
|
1270
|
+
},
|
|
1271
|
+
],
|
|
1272
|
+
cancellation: { parameter: 'signal' },
|
|
1273
|
+
result: {
|
|
1274
|
+
mode: 'strict',
|
|
1275
|
+
typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:result',
|
|
1276
|
+
create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema,
|
|
1277
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
1278
|
+
},
|
|
1279
|
+
sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":201,"column":9},
|
|
1280
|
+
},
|
|
1281
|
+
},
|
|
1282
|
+
}, z)
|
|
1283
|
+
|
|
1284
|
+
export default TYPERT_REMOTE
|