@nikcli-ai/sdk 1.309.0 → 1.310.0
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/dist/httpapi/compat.d.ts +91 -3
- package/dist/httpapi/compat.js +5 -464
- package/dist/httpapi/generated/compat.d.ts +1234 -0
- package/dist/httpapi/generated/compat.js +434 -0
- package/dist/server.d.ts +134 -8
- package/package.json +1 -1
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
export const makeCompat = (raw, helpers) => {
|
|
2
|
+
const { result, result0, resultAt, stream, stream0 } = helpers;
|
|
3
|
+
return {
|
|
4
|
+
analytics: {
|
|
5
|
+
daily: result(raw["analytics"]["daily"]),
|
|
6
|
+
data: result(raw["analytics"]["data"]),
|
|
7
|
+
global: result0(raw["analytics"]["global"]),
|
|
8
|
+
leaderboard: result0(raw["analytics"]["leaderboard"]),
|
|
9
|
+
session: result(raw["analytics"]["session"]),
|
|
10
|
+
sessions: result0(raw["analytics"]["sessions"]),
|
|
11
|
+
},
|
|
12
|
+
app: {
|
|
13
|
+
agents: result0(raw["top-level"]["agent"]),
|
|
14
|
+
log: result(raw["app"]["log"]),
|
|
15
|
+
skill: { create: result(raw["app"]["skillCreate"]), delete: result(raw["app"]["skillDelete"]) },
|
|
16
|
+
skills: result0(raw["top-level"]["skill"]),
|
|
17
|
+
},
|
|
18
|
+
auth: { remove: result(raw["auth"]["remove"]), set: result(raw["auth"]["set"]) },
|
|
19
|
+
brain: { status: result0(raw["brain"]["status"]), trigger: result(raw["brain"]["trigger"]) },
|
|
20
|
+
chatbot: {
|
|
21
|
+
bots: result0(raw["chatbot"]["bots"]),
|
|
22
|
+
start: result(raw["chatbot"]["start"]),
|
|
23
|
+
stop: result(raw["chatbot"]["stop"]),
|
|
24
|
+
},
|
|
25
|
+
discord: {
|
|
26
|
+
status: result0(raw["discord"]["status"]),
|
|
27
|
+
setup: result(raw["discord"]["setup"]),
|
|
28
|
+
start: result0(raw["discord"]["start"]),
|
|
29
|
+
stop: result0(raw["discord"]["stop"]),
|
|
30
|
+
},
|
|
31
|
+
voice: { transcribe: result(raw["voice"]["transcribe"]) },
|
|
32
|
+
command: { list: result0(raw["top-level"]["command"]) },
|
|
33
|
+
config: {
|
|
34
|
+
get: result0(raw["config"]["get"]),
|
|
35
|
+
providers: result0(raw["config"]["providers"]),
|
|
36
|
+
reload: result0(raw["config-management"]["reload"]),
|
|
37
|
+
update: result(raw["config"]["update"]),
|
|
38
|
+
},
|
|
39
|
+
connectors: {
|
|
40
|
+
auth: { remove: result(raw["connectors"]["authRemove"]), set: result(raw["connectors"]["authSet"]) },
|
|
41
|
+
invalidate: result(raw["connectors"]["invalidate"]),
|
|
42
|
+
status: result0(raw["connectors"]["status"]),
|
|
43
|
+
},
|
|
44
|
+
deleteConfigMcpName: result(raw["config-management"]["mcpRemove"]),
|
|
45
|
+
doctor: { run: result0(raw["doctor"]["run"]) },
|
|
46
|
+
event: { subscribe: stream0(raw["events"]["subscribe"]) },
|
|
47
|
+
experimental: {
|
|
48
|
+
resource: { list: result0(raw["experimental"]["resource"]) },
|
|
49
|
+
workspace: {
|
|
50
|
+
adaptor: { list: result0(raw["workspace"]["adaptors"]) },
|
|
51
|
+
create: result(raw["workspace"]["create"]),
|
|
52
|
+
events: result(raw["workspace-extra"]["events"]),
|
|
53
|
+
list: result0(raw["workspace"]["list"]),
|
|
54
|
+
remove: result(raw["workspace"]["remove"]),
|
|
55
|
+
restore: result(raw["workspace"]["restore"]),
|
|
56
|
+
session: {
|
|
57
|
+
restore: result(raw["workspace"]["sessionRestore"]),
|
|
58
|
+
warp: result(raw["workspace-extra"]["sessionWarp"]),
|
|
59
|
+
},
|
|
60
|
+
status: result0(raw["workspace"]["status"]),
|
|
61
|
+
syncList: result0(raw["workspace"]["syncList"]),
|
|
62
|
+
warp: result(raw["workspace"]["warp"]),
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
file: {
|
|
66
|
+
list: result(raw["file"]["list"]),
|
|
67
|
+
read: result(raw["file"]["content"]),
|
|
68
|
+
status: result0(raw["file"]["status"]),
|
|
69
|
+
write: result(raw["file"]["write"]),
|
|
70
|
+
},
|
|
71
|
+
find: {
|
|
72
|
+
files: result(raw["file"]["findFile"]),
|
|
73
|
+
symbols: result(raw["file"]["findSymbol"]),
|
|
74
|
+
text: result(raw["file"]["findText"]),
|
|
75
|
+
},
|
|
76
|
+
formatter: { status: result0(raw["top-level"]["formatter"]) },
|
|
77
|
+
getApiShareShareId: result(raw["share"]["api"]),
|
|
78
|
+
getApiShareShareIdData: result(raw["share"]["data"]),
|
|
79
|
+
getShareShareId: result(raw["share"]["page"]),
|
|
80
|
+
getSShareId: result(raw["share"]["short"]),
|
|
81
|
+
global: {
|
|
82
|
+
dispose: result0(raw["global"]["dispose"]),
|
|
83
|
+
event: stream0(raw["events"]["global"]),
|
|
84
|
+
health: result0(raw["global"]["health"]),
|
|
85
|
+
},
|
|
86
|
+
instance: { dispose: result0(raw["top-level"]["dispose"]) },
|
|
87
|
+
loop: {
|
|
88
|
+
abort: result(raw["loop"]["abort"]),
|
|
89
|
+
delete: result(raw["loop"]["remove"]),
|
|
90
|
+
generate: result(raw["loop"]["generate"]),
|
|
91
|
+
get: result(raw["loop"]["get"]),
|
|
92
|
+
list: result0(raw["loop"]["list"]),
|
|
93
|
+
pause: result(raw["loop"]["pause"]),
|
|
94
|
+
recentRuns: result(raw["loop"]["recentRuns"]),
|
|
95
|
+
resume: result(raw["loop"]["resume"]),
|
|
96
|
+
run: result(raw["loop"]["run"]),
|
|
97
|
+
runs: result(raw["loop"]["runs"]),
|
|
98
|
+
templates: result0(raw["loop"]["templates"]),
|
|
99
|
+
toggle: result(raw["loop"]["toggle"]),
|
|
100
|
+
update: result(raw["loop"]["update"]),
|
|
101
|
+
upsert: result(raw["loop"]["upsert"]),
|
|
102
|
+
},
|
|
103
|
+
lsp: { status: result0(raw["top-level"]["lsp"]) },
|
|
104
|
+
managedWorktree: {
|
|
105
|
+
ancestors: result(raw["experimental"]["managedWorktreeAncestors"]),
|
|
106
|
+
children: result(raw["experimental"]["managedWorktreeChildren"]),
|
|
107
|
+
create: result(raw["experimental"]["managedWorktreeCreate"]),
|
|
108
|
+
link: result(raw["experimental"]["managedWorktreeLink"]),
|
|
109
|
+
list: result0(raw["experimental"]["managedWorktreeList"]),
|
|
110
|
+
remove: result(raw["experimental"]["managedWorktreeRemove"]),
|
|
111
|
+
},
|
|
112
|
+
mcp: {
|
|
113
|
+
add: result(raw["mcp"]["add"]),
|
|
114
|
+
auth: {
|
|
115
|
+
authenticate: result(raw["mcp"]["authenticate"]),
|
|
116
|
+
callback: result(raw["mcp"]["authCallback"]),
|
|
117
|
+
remove: result(raw["mcp"]["removeAuth"]),
|
|
118
|
+
start: result(raw["mcp"]["startAuth"]),
|
|
119
|
+
},
|
|
120
|
+
connect: result(raw["mcp"]["connect"]),
|
|
121
|
+
disconnect: result(raw["mcp"]["disconnect"]),
|
|
122
|
+
status: result0(raw["mcp"]["status"]),
|
|
123
|
+
toggle: result(raw["mcp"]["toggle"]),
|
|
124
|
+
},
|
|
125
|
+
mission: {
|
|
126
|
+
cancel: result(raw["mission"]["cancel"]),
|
|
127
|
+
delete: result(raw["mission"]["remove"]),
|
|
128
|
+
execs: result(raw["mission"]["execs"]),
|
|
129
|
+
feature: { mutate: result(raw["mission"]["featureMutate"]) },
|
|
130
|
+
generate: result(raw["mission"]["generate"]),
|
|
131
|
+
get: result(raw["mission"]["get"]),
|
|
132
|
+
list: result0(raw["mission"]["list"]),
|
|
133
|
+
pause: result(raw["mission"]["pause"]),
|
|
134
|
+
recentExecs: result(raw["mission"]["recentExecs"]),
|
|
135
|
+
start: result(raw["mission"]["start"]),
|
|
136
|
+
templates: result0(raw["mission"]["templates"]),
|
|
137
|
+
update: result(raw["mission"]["update"]),
|
|
138
|
+
upsert: result(raw["mission"]["upsert"]),
|
|
139
|
+
},
|
|
140
|
+
mobile: {
|
|
141
|
+
auth: {
|
|
142
|
+
token: {
|
|
143
|
+
create: result(raw["mobile"]["authTokenCreate"]),
|
|
144
|
+
list: result0(raw["mobile"]["authTokenList"]),
|
|
145
|
+
revoke: result(raw["mobile"]["authTokenRevoke"]),
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
bootstrap: result0(raw["mobile"]["bootstrap"]),
|
|
149
|
+
brain: { get: result0(raw["mobile"]["brainStatus"]), trigger: result(raw["mobile"]["brainTrigger"]) },
|
|
150
|
+
chatbot: {
|
|
151
|
+
list: result0(raw["mobile"]["chatBotList"]),
|
|
152
|
+
start: result(raw["mobile"]["chatBotStart"]),
|
|
153
|
+
stop: result(raw["mobile"]["chatBotStop"]),
|
|
154
|
+
},
|
|
155
|
+
command: { list: result0(raw["mobile"]["commandList"]) },
|
|
156
|
+
events: stream0(raw["mobile"]["events"]),
|
|
157
|
+
fusion: { list: result0(raw["mobile"]["fusionList"]), set: result(raw["mobile"]["fusionSet"]) },
|
|
158
|
+
git: {
|
|
159
|
+
branches: result0(raw["mobile"]["gitBranches"]),
|
|
160
|
+
checkout: result(raw["mobile"]["gitCheckout"]),
|
|
161
|
+
commit: result(raw["mobile"]["gitCommit"]),
|
|
162
|
+
commits: result(raw["mobile"]["gitCommits"]),
|
|
163
|
+
diff: result(raw["mobile"]["gitDiff"]),
|
|
164
|
+
discard: result(raw["mobile"]["gitDiscard"]),
|
|
165
|
+
pull: result0(raw["mobile"]["gitPull"]),
|
|
166
|
+
push: result(raw["mobile"]["gitPush"]),
|
|
167
|
+
stage: result(raw["mobile"]["gitStage"]),
|
|
168
|
+
status: result0(raw["mobile"]["gitStatus"]),
|
|
169
|
+
unstage: result(raw["mobile"]["gitUnstage"]),
|
|
170
|
+
},
|
|
171
|
+
github: {
|
|
172
|
+
auth: { remove: result0(raw["mobile"]["githubAuthRemove"]), set: result(raw["mobile"]["githubAuthSet"]) },
|
|
173
|
+
branches: result(raw["mobile"]["githubBranches"]),
|
|
174
|
+
import: result(raw["mobile"]["githubImport"]),
|
|
175
|
+
imports: result0(raw["mobile"]["githubImports"]),
|
|
176
|
+
oauth: {
|
|
177
|
+
clientId: { set: result(raw["mobile"]["githubOauthClient"]) },
|
|
178
|
+
device: {
|
|
179
|
+
poll: result(raw["mobile"]["githubOauthDevicePoll"]),
|
|
180
|
+
start: result0(raw["mobile"]["githubOauthDeviceStart"]),
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
repos: result0(raw["mobile"]["githubRepos"]),
|
|
184
|
+
session: {
|
|
185
|
+
cleanup: result(raw["mobile"]["sessionCleanup"]),
|
|
186
|
+
create: result(raw["mobile"]["githubSessionCreate"]),
|
|
187
|
+
publish: result(raw["mobile"]["sessionPublish"]),
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
host: {
|
|
191
|
+
browser: result0(raw["mobile"]["hostBrowser"]),
|
|
192
|
+
computer: result0(raw["mobile"]["hostComputer"]),
|
|
193
|
+
devtools: result0(raw["mobile"]["hostDevtools"]),
|
|
194
|
+
herdr: { get: result0(raw["mobile"]["hostHerdrGet"]), set: result(raw["mobile"]["hostHerdrSet"]) },
|
|
195
|
+
island: result0(raw["mobile"]["hostIsland"]),
|
|
196
|
+
},
|
|
197
|
+
lsp: { status: result0(raw["mobile"]["lspStatus"]) },
|
|
198
|
+
loop: {
|
|
199
|
+
abort: result(raw["mobile"]["loopAbort"]),
|
|
200
|
+
create: result(raw["mobile"]["loopCreate"]),
|
|
201
|
+
delete: result(raw["mobile"]["loopDelete"]),
|
|
202
|
+
generate: result(raw["mobile"]["loopGenerate"]),
|
|
203
|
+
get: result(raw["mobile"]["loopGet"]),
|
|
204
|
+
list: result0(raw["mobile"]["loopList"]),
|
|
205
|
+
pause: result(raw["mobile"]["loopPause"]),
|
|
206
|
+
resume: result(raw["mobile"]["loopResume"]),
|
|
207
|
+
run: result(raw["mobile"]["loopRun"]),
|
|
208
|
+
runs: result(raw["mobile"]["loopRuns"]),
|
|
209
|
+
runs2: { recent: result(raw["mobile"]["loopRunsRecent"]) },
|
|
210
|
+
templates: result0(raw["mobile"]["loopTemplates"]),
|
|
211
|
+
toggle: result(raw["mobile"]["loopToggle"]),
|
|
212
|
+
update: result(raw["mobile"]["loopUpdate"]),
|
|
213
|
+
},
|
|
214
|
+
memory: {
|
|
215
|
+
history: result0(raw["mobile"]["memoryHistory"]),
|
|
216
|
+
search: result(raw["mobile"]["memorySearch"]),
|
|
217
|
+
stash: {
|
|
218
|
+
create: result(raw["mobile"]["memoryStashCreate"]),
|
|
219
|
+
delete: result(raw["mobile"]["memoryStashDelete"]),
|
|
220
|
+
list: result0(raw["mobile"]["memoryStashList"]),
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
mission: {
|
|
224
|
+
cancel: result(raw["mobile"]["missionCancel"]),
|
|
225
|
+
create: result(raw["mobile"]["missionCreate"]),
|
|
226
|
+
delete: result(raw["mobile"]["missionDelete"]),
|
|
227
|
+
execs: result(raw["mobile"]["missionExecs"]),
|
|
228
|
+
execs2: { recent: result(raw["mobile"]["missionExecsRecent"]) },
|
|
229
|
+
feature: { mutate: result(raw["mobile"]["missionFeatureMutate"]) },
|
|
230
|
+
generate: result(raw["mobile"]["missionGenerate"]),
|
|
231
|
+
get: result(raw["mobile"]["missionGet"]),
|
|
232
|
+
list: result0(raw["mobile"]["missionList"]),
|
|
233
|
+
pause: result(raw["mobile"]["missionPause"]),
|
|
234
|
+
start: result(raw["mobile"]["missionStart"]),
|
|
235
|
+
templates: result0(raw["mobile"]["missionTemplates"]),
|
|
236
|
+
update: result(raw["mobile"]["missionUpdate"]),
|
|
237
|
+
},
|
|
238
|
+
observability: {
|
|
239
|
+
get: result0(raw["mobile"]["observabilityGet"]),
|
|
240
|
+
set: result(raw["mobile"]["observabilitySet"]),
|
|
241
|
+
},
|
|
242
|
+
permission: { respond: result(raw["mobile"]["permissionRespond"]) },
|
|
243
|
+
project: { list: result0(raw["mobile"]["projectList"]) },
|
|
244
|
+
pty: {
|
|
245
|
+
create: result(raw["mobile"]["ptyCreate"]),
|
|
246
|
+
get: result(raw["mobile"]["ptyGet"]),
|
|
247
|
+
list: result0(raw["mobile"]["ptyList"]),
|
|
248
|
+
remove: result(raw["mobile"]["ptyRemove"]),
|
|
249
|
+
update: result(raw["mobile"]["ptyUpdate"]),
|
|
250
|
+
},
|
|
251
|
+
question: { reject: result(raw["mobile"]["questionReject"]), respond: result(raw["mobile"]["questionRespond"]) },
|
|
252
|
+
routine: {
|
|
253
|
+
create: result(raw["mobile"]["routineCreate"]),
|
|
254
|
+
delete: result(raw["mobile"]["routineDelete"]),
|
|
255
|
+
get: result(raw["mobile"]["routineGet"]),
|
|
256
|
+
list: result0(raw["mobile"]["routineList"]),
|
|
257
|
+
pause: result(raw["mobile"]["routinePause"]),
|
|
258
|
+
resume: result(raw["mobile"]["routineResume"]),
|
|
259
|
+
run: result(raw["mobile"]["routineRun"]),
|
|
260
|
+
trigger: result(raw["mobile"]["routineTrigger"]),
|
|
261
|
+
update: result(raw["mobile"]["routineUpdate"]),
|
|
262
|
+
},
|
|
263
|
+
session: {
|
|
264
|
+
abort: result(raw["mobile"]["sessionAbort"]),
|
|
265
|
+
command: result(raw["mobile"]["sessionCommand"]),
|
|
266
|
+
command2: { list: result(raw["mobile"]["sessionCommandList"]) },
|
|
267
|
+
create: result(raw["mobile"]["sessionCreate"]),
|
|
268
|
+
delete: result(raw["mobile"]["sessionDelete"]),
|
|
269
|
+
detail: result(raw["mobile"]["sessionDetail"]),
|
|
270
|
+
diff: result(raw["mobile"]["sessionDiff"]),
|
|
271
|
+
list: result(raw["mobile"]["sessionList"]),
|
|
272
|
+
message: result(raw["mobile"]["sessionMessage"]),
|
|
273
|
+
rename: result(raw["mobile"]["sessionRename"]),
|
|
274
|
+
stream: stream(raw["mobile"]["sessionStream"]),
|
|
275
|
+
teleport: result(raw["mobile"]["teleportIn"]),
|
|
276
|
+
teleport2: {
|
|
277
|
+
out: result(raw["mobile"]["teleportOut"]),
|
|
278
|
+
upload: {
|
|
279
|
+
begin: result0(raw["mobile"]["teleportUploadBegin"]),
|
|
280
|
+
chunk: result(raw["mobile"]["teleportUploadChunk"]),
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
todo: result(raw["mobile"]["sessionTodo"]),
|
|
284
|
+
},
|
|
285
|
+
worktree: {
|
|
286
|
+
create: result(raw["mobile"]["worktreeCreate"]),
|
|
287
|
+
remove: resultAt(raw["mobile"]["worktreeRemove"]),
|
|
288
|
+
reset: resultAt(raw["mobile"]["worktreeReset"]),
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
part: { delete: result(raw["session"]["partRemove"]), update: result(raw["session"]["partUpdate"]) },
|
|
292
|
+
patchConfigMcpName: result(raw["config-management"]["mcpUpdate"]),
|
|
293
|
+
patchUserId: result(raw["users"]["update"]),
|
|
294
|
+
path: { get: result0(raw["top-level"]["path"]) },
|
|
295
|
+
permission: {
|
|
296
|
+
list: result0(raw["permission"]["list"]),
|
|
297
|
+
reply: result(raw["permission"]["reply"]),
|
|
298
|
+
respond: result(raw["session"]["permissionRespond"]),
|
|
299
|
+
},
|
|
300
|
+
postConfigMcp: result(raw["config-management"]["mcpAdd"]),
|
|
301
|
+
postConfigProfiles: result(raw["config-management"]["profileCreate"]),
|
|
302
|
+
postConfigProfilesActivateName: result(raw["config-management"]["profileActivate"]),
|
|
303
|
+
postUserLogin: result(raw["users"]["login"]),
|
|
304
|
+
postUserRegister: result(raw["users"]["register"]),
|
|
305
|
+
profile: {
|
|
306
|
+
clear: result0(raw["profile"]["clear"]),
|
|
307
|
+
clearHabits: result(raw["profile"]["clearHabits"]),
|
|
308
|
+
get: result0(raw["profile"]["get"]),
|
|
309
|
+
habits: result(raw["profile"]["habits"]),
|
|
310
|
+
patch: result(raw["profile"]["patch"]),
|
|
311
|
+
preview: result(raw["profile"]["preview"]),
|
|
312
|
+
},
|
|
313
|
+
project: {
|
|
314
|
+
current: result0(raw["project"]["current"]),
|
|
315
|
+
copy: {
|
|
316
|
+
create: resultAt(raw["project"]["copyCreate"]),
|
|
317
|
+
refresh: result(raw["project"]["copyRefresh"]),
|
|
318
|
+
remove: resultAt(raw["project"]["copyRemove"]),
|
|
319
|
+
},
|
|
320
|
+
directory: { list: result(raw["project"]["directoryList"]) },
|
|
321
|
+
list: result0(raw["project"]["list"]),
|
|
322
|
+
update: result(raw["project"]["update"]),
|
|
323
|
+
},
|
|
324
|
+
provider: {
|
|
325
|
+
api: { set: result(raw["provider"]["api"]) },
|
|
326
|
+
auth: result0(raw["provider"]["auth"]),
|
|
327
|
+
auth2: { remove: result(raw["provider"]["removeAuth"]) },
|
|
328
|
+
list: result0(raw["provider"]["list"]),
|
|
329
|
+
oauth: {
|
|
330
|
+
authorize: result(raw["provider"]["oauthAuthorize"]),
|
|
331
|
+
callback: result(raw["provider"]["oauthCallback"]),
|
|
332
|
+
},
|
|
333
|
+
},
|
|
334
|
+
pty: {
|
|
335
|
+
create: result(raw["pty"]["create"]),
|
|
336
|
+
get: result(raw["pty"]["get"]),
|
|
337
|
+
list: result0(raw["pty"]["list"]),
|
|
338
|
+
remove: result(raw["pty"]["remove"]),
|
|
339
|
+
update: result(raw["pty"]["update"]),
|
|
340
|
+
},
|
|
341
|
+
question: {
|
|
342
|
+
list: result0(raw["question"]["list"]),
|
|
343
|
+
reject: result(raw["question"]["reject"]),
|
|
344
|
+
reply: result(raw["question"]["reply"]),
|
|
345
|
+
},
|
|
346
|
+
session: {
|
|
347
|
+
abort: result(raw["session"]["abort"]),
|
|
348
|
+
background: result(raw["session"]["background"]),
|
|
349
|
+
background2: {
|
|
350
|
+
cancel: result(raw["session"]["backgroundCancel"]),
|
|
351
|
+
inspect: result(raw["session"]["backgroundInspect"]),
|
|
352
|
+
read: result(raw["session"]["backgroundRead"]),
|
|
353
|
+
},
|
|
354
|
+
children: result(raw["session"]["children"]),
|
|
355
|
+
command: result(raw["session"]["command"]),
|
|
356
|
+
context: result(raw["session"]["contextBreakdown"]),
|
|
357
|
+
contextToggle: result(raw["session"]["contextToggle"]),
|
|
358
|
+
create: result(raw["session"]["create"]),
|
|
359
|
+
delete: result(raw["session"]["remove"]),
|
|
360
|
+
diff: result(raw["session"]["diff"]),
|
|
361
|
+
fork: result(raw["session"]["fork"]),
|
|
362
|
+
get: result(raw["session"]["get"]),
|
|
363
|
+
goal: result(raw["session"]["goal"]),
|
|
364
|
+
instructions: result(raw["session"]["instructions"]),
|
|
365
|
+
list: resultAt(raw["session"]["list"]),
|
|
366
|
+
message: result(raw["session"]["message"]),
|
|
367
|
+
messageDelete: result(raw["session"]["messageRemove"]),
|
|
368
|
+
messages: result(raw["session"]["messages"]),
|
|
369
|
+
monitor: result(raw["session"]["monitor"]),
|
|
370
|
+
monitorCancel: result(raw["session"]["monitorCancel"]),
|
|
371
|
+
monitorLog: result(raw["session"]["monitorLog"]),
|
|
372
|
+
pending: result(raw["session"]["pending"]),
|
|
373
|
+
pendingSteer: result(raw["session"]["pendingSteer"]),
|
|
374
|
+
prompt: result(raw["session-prompt"]["prompt"]),
|
|
375
|
+
promptAsync: result(raw["session-prompt"]["promptAsync"]),
|
|
376
|
+
revert: result(raw["session"]["revert"]),
|
|
377
|
+
share: result(raw["session"]["share"]),
|
|
378
|
+
shell: result(raw["session"]["shell"]),
|
|
379
|
+
status: result0(raw["session"]["status"]),
|
|
380
|
+
summarize: result(raw["session"]["summarize"]),
|
|
381
|
+
todo: result(raw["session"]["todo"]),
|
|
382
|
+
unrevert: result(raw["session"]["unrevert"]),
|
|
383
|
+
unshare: result(raw["session"]["unshare"]),
|
|
384
|
+
update: result(raw["session"]["update"]),
|
|
385
|
+
v2: {
|
|
386
|
+
entries: result(raw["session"]["v2Entries"]),
|
|
387
|
+
events: result(raw["session"]["v2Events"]),
|
|
388
|
+
state: result(raw["session"]["v2State"]),
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
sync: {
|
|
392
|
+
config: { set: result(raw["sync"]["config"]) },
|
|
393
|
+
connect: result0(raw["sync"]["connect"]),
|
|
394
|
+
disconnect: result0(raw["sync"]["disconnect"]),
|
|
395
|
+
drain: result0(raw["sync"]["drain"]),
|
|
396
|
+
event: { push: result(raw["sync"]["event"]), stream: stream(raw["sync"]["stream"]) },
|
|
397
|
+
outbox: { list: result(raw["sync"]["outbox"]) },
|
|
398
|
+
snapshot: { get: result(raw["sync"]["snapshot"]) },
|
|
399
|
+
stats: result(raw["sync"]["stats"]),
|
|
400
|
+
},
|
|
401
|
+
tool: { ids: result0(raw["experimental"]["toolIDs"]), list: result(raw["experimental"]["tools"]) },
|
|
402
|
+
tui: {
|
|
403
|
+
appendPrompt: result(raw["tui"]["appendPrompt"]),
|
|
404
|
+
clearPrompt: result0(raw["tui"]["clearPrompt"]),
|
|
405
|
+
config: result0(raw["tui"]["config"]),
|
|
406
|
+
control: { next: result0(raw["tui"]["controlNext"]), response: result(raw["tui"]["controlResponse"]) },
|
|
407
|
+
executeCommand: result(raw["tui"]["executeCommand"]),
|
|
408
|
+
openHelp: result0(raw["tui"]["openHelp"]),
|
|
409
|
+
openModels: result0(raw["tui"]["openModels"]),
|
|
410
|
+
openSessions: result0(raw["tui"]["openSessions"]),
|
|
411
|
+
openThemes: result0(raw["tui"]["openThemes"]),
|
|
412
|
+
publish: result(raw["tui"]["publish"]),
|
|
413
|
+
selectSession: result(raw["tui"]["selectSession"]),
|
|
414
|
+
showToast: result(raw["tui"]["showToast"]),
|
|
415
|
+
submitPrompt: result0(raw["tui"]["submitPrompt"]),
|
|
416
|
+
},
|
|
417
|
+
vcs: {
|
|
418
|
+
apply: result(raw["top-level"]["vcsApply"]),
|
|
419
|
+
diff: { raw: result0(raw["top-level"]["vcsDiffRaw"]) },
|
|
420
|
+
get: result0(raw["top-level"]["vcs"]),
|
|
421
|
+
status: result0(raw["top-level"]["vcsStatus"]),
|
|
422
|
+
},
|
|
423
|
+
worktree: {
|
|
424
|
+
create: result(raw["experimental"]["worktreeCreate"]),
|
|
425
|
+
list: result0(raw["experimental"]["worktree"]),
|
|
426
|
+
remove: resultAt(raw["experimental"]["worktreeRemove"]),
|
|
427
|
+
reset: resultAt(raw["experimental"]["worktreeReset"]),
|
|
428
|
+
},
|
|
429
|
+
getAccount: result0(raw["account"]["active"]),
|
|
430
|
+
getConfigProfiles: result0(raw["config-management"]["profilesList"]),
|
|
431
|
+
postAccountLogin: result0(raw["account"]["login"]),
|
|
432
|
+
postAccountLoginComplete: result(raw["account"]["complete"]),
|
|
433
|
+
};
|
|
434
|
+
};
|
package/dist/server.d.ts
CHANGED
|
@@ -421,9 +421,37 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
421
421
|
};
|
|
422
422
|
};
|
|
423
423
|
bootstrap: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileBootstrap>>;
|
|
424
|
+
brain: {
|
|
425
|
+
get: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileBrainStatusOutput>>;
|
|
426
|
+
trigger: (input: import("./httpapi/client.js").MobileBrainTriggerInput & {
|
|
427
|
+
readonly directory?: string;
|
|
428
|
+
readonly workspace?: string;
|
|
429
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileBrainTriggerOutput>>;
|
|
430
|
+
};
|
|
431
|
+
chatbot: {
|
|
432
|
+
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileChatBotListOutput>>;
|
|
433
|
+
start: (input: import("./httpapi/client.js").MobileChatBotStartInput & {
|
|
434
|
+
readonly directory?: string;
|
|
435
|
+
readonly workspace?: string;
|
|
436
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileChatBotStartOutput>>;
|
|
437
|
+
stop: (input: import("./httpapi/client.js").MobileChatBotStopInput & {
|
|
438
|
+
readonly directory?: string;
|
|
439
|
+
readonly workspace?: string;
|
|
440
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileChatBotStopOutput>>;
|
|
441
|
+
};
|
|
424
442
|
command: {
|
|
425
443
|
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileCommandListOutput>>;
|
|
426
444
|
};
|
|
445
|
+
events: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<{
|
|
446
|
+
stream: AsyncIterable<unknown>;
|
|
447
|
+
}>;
|
|
448
|
+
fusion: {
|
|
449
|
+
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileFusionListOutput>>;
|
|
450
|
+
set: (input: import("./httpapi/client.js").MobileFusionSetInput & {
|
|
451
|
+
readonly directory?: string;
|
|
452
|
+
readonly workspace?: string;
|
|
453
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileFusionSetOutput>>;
|
|
454
|
+
};
|
|
427
455
|
git: {
|
|
428
456
|
branches: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileGitBranchesOutput>>;
|
|
429
457
|
checkout: (input: import("./httpapi/client.js").MobileGitCheckoutInput & {
|
|
@@ -509,6 +537,22 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
509
537
|
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileGithubPublishResult>>;
|
|
510
538
|
};
|
|
511
539
|
};
|
|
540
|
+
host: {
|
|
541
|
+
browser: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostBrowserOutput>>;
|
|
542
|
+
computer: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostComputerOutput>>;
|
|
543
|
+
devtools: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostDevtoolsOutput>>;
|
|
544
|
+
herdr: {
|
|
545
|
+
get: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostHerdrGetOutput>>;
|
|
546
|
+
set: (input: import("./httpapi/client.js").MobileHostHerdrSetInput & {
|
|
547
|
+
readonly directory?: string;
|
|
548
|
+
readonly workspace?: string;
|
|
549
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostHerdrSetOutput>>;
|
|
550
|
+
};
|
|
551
|
+
island: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostIslandOutput>>;
|
|
552
|
+
};
|
|
553
|
+
lsp: {
|
|
554
|
+
status: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileLspStatusOutput>>;
|
|
555
|
+
};
|
|
512
556
|
loop: {
|
|
513
557
|
abort: (input: import("./httpapi/client.js").MobileLoopAbortInput & {
|
|
514
558
|
readonly directory?: string;
|
|
@@ -581,6 +625,65 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
581
625
|
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMemoryStashListOutput>>;
|
|
582
626
|
};
|
|
583
627
|
};
|
|
628
|
+
mission: {
|
|
629
|
+
cancel: (input: import("./httpapi/client.js").MobileMissionCancelInput & {
|
|
630
|
+
readonly directory?: string;
|
|
631
|
+
readonly workspace?: string;
|
|
632
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
633
|
+
create: (input: import("./httpapi/client.js").MobileMissionCreateInput & {
|
|
634
|
+
readonly directory?: string;
|
|
635
|
+
readonly workspace?: string;
|
|
636
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionDefinition>>;
|
|
637
|
+
delete: (input: import("./httpapi/client.js").MobileMissionDeleteInput & {
|
|
638
|
+
readonly directory?: string;
|
|
639
|
+
readonly workspace?: string;
|
|
640
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
641
|
+
execs: (input: import("./httpapi/client.js").MobileMissionExecsInput & {
|
|
642
|
+
readonly directory?: string;
|
|
643
|
+
readonly workspace?: string;
|
|
644
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionExecsOutput>>;
|
|
645
|
+
execs2: {
|
|
646
|
+
recent: (input?: (import("./httpapi/client.js").MobileMissionExecsRecentInput & {
|
|
647
|
+
readonly directory?: string;
|
|
648
|
+
readonly workspace?: string;
|
|
649
|
+
}) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionExecsRecentOutput>>;
|
|
650
|
+
};
|
|
651
|
+
feature: {
|
|
652
|
+
mutate: (input: import("./httpapi/client.js").MobileMissionFeatureMutateInput & {
|
|
653
|
+
readonly directory?: string;
|
|
654
|
+
readonly workspace?: string;
|
|
655
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionDefinition>>;
|
|
656
|
+
};
|
|
657
|
+
generate: (input: import("./httpapi/client.js").MobileMissionGenerateInput & {
|
|
658
|
+
readonly directory?: string;
|
|
659
|
+
readonly workspace?: string;
|
|
660
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionDefinition>>;
|
|
661
|
+
get: (input: import("./httpapi/client.js").MobileMissionGetInput & {
|
|
662
|
+
readonly directory?: string;
|
|
663
|
+
readonly workspace?: string;
|
|
664
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionGetOutput>>;
|
|
665
|
+
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionListOutput>>;
|
|
666
|
+
pause: (input: import("./httpapi/client.js").MobileMissionPauseInput & {
|
|
667
|
+
readonly directory?: string;
|
|
668
|
+
readonly workspace?: string;
|
|
669
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
670
|
+
start: (input: import("./httpapi/client.js").MobileMissionStartInput & {
|
|
671
|
+
readonly directory?: string;
|
|
672
|
+
readonly workspace?: string;
|
|
673
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
674
|
+
templates: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionTemplatesOutput>>;
|
|
675
|
+
update: (input: import("./httpapi/client.js").MobileMissionUpdateInput & {
|
|
676
|
+
readonly directory?: string;
|
|
677
|
+
readonly workspace?: string;
|
|
678
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileMissionDefinition>>;
|
|
679
|
+
};
|
|
680
|
+
observability: {
|
|
681
|
+
get: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileObservabilityGetOutput>>;
|
|
682
|
+
set: (input: import("./httpapi/client.js").MobileObservabilitySetInput & {
|
|
683
|
+
readonly directory?: string;
|
|
684
|
+
readonly workspace?: string;
|
|
685
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileObservabilitySetOutput>>;
|
|
686
|
+
};
|
|
584
687
|
permission: {
|
|
585
688
|
respond: (input: import("./httpapi/client.js").MobilePermissionRespondInput & {
|
|
586
689
|
readonly directory?: string;
|
|
@@ -720,20 +823,18 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
720
823
|
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileTeleportUploadChunkOutput>>;
|
|
721
824
|
};
|
|
722
825
|
};
|
|
826
|
+
todo: (input: import("./httpapi/client.js").MobileSessionTodoInput & {
|
|
827
|
+
readonly directory?: string;
|
|
828
|
+
readonly workspace?: string;
|
|
829
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSessionTodoOutput>>;
|
|
723
830
|
};
|
|
724
831
|
worktree: {
|
|
725
832
|
create: (input?: (import("./httpapi/client.js").MobileWorktreeCreateInput & {
|
|
726
833
|
readonly directory?: string;
|
|
727
834
|
readonly workspace?: string;
|
|
728
835
|
}) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Worktree>>;
|
|
729
|
-
remove: (input: import("./httpapi/client.js").MobileWorktreeRemoveInput
|
|
730
|
-
|
|
731
|
-
readonly workspace?: string;
|
|
732
|
-
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
733
|
-
reset: (input: import("./httpapi/client.js").MobileWorktreeResetInput & {
|
|
734
|
-
readonly directory?: string;
|
|
735
|
-
readonly workspace?: string;
|
|
736
|
-
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
836
|
+
remove: (input: import("./httpapi/client.js").MobileWorktreeRemoveInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
837
|
+
reset: (input: import("./httpapi/client.js").MobileWorktreeResetInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
|
|
737
838
|
};
|
|
738
839
|
};
|
|
739
840
|
part: {
|
|
@@ -810,6 +911,20 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
810
911
|
};
|
|
811
912
|
project: {
|
|
812
913
|
current: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Project>>;
|
|
914
|
+
copy: {
|
|
915
|
+
create: (input: import("./httpapi/client.js").ProjectCopyCreateInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProjectCopy>>;
|
|
916
|
+
refresh: (input: import("./httpapi/client.js").ProjectCopyRefreshInput & {
|
|
917
|
+
readonly directory?: string;
|
|
918
|
+
readonly workspace?: string;
|
|
919
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProjectCopyRefresh>>;
|
|
920
|
+
remove: (input: import("./httpapi/client.js").ProjectCopyRemoveInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<void>>;
|
|
921
|
+
};
|
|
922
|
+
directory: {
|
|
923
|
+
list: (input: import("./httpapi/client.js").ProjectDirectoryListInput & {
|
|
924
|
+
readonly directory?: string;
|
|
925
|
+
readonly workspace?: string;
|
|
926
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProjectDirectoryListOutput>>;
|
|
927
|
+
};
|
|
813
928
|
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProjectListOutput>>;
|
|
814
929
|
update: (input: import("./httpapi/client.js").ProjectUpdateInput & {
|
|
815
930
|
readonly directory?: string;
|
|
@@ -944,6 +1059,10 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
944
1059
|
readonly directory?: string;
|
|
945
1060
|
readonly workspace?: string;
|
|
946
1061
|
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MessageWithParts>>;
|
|
1062
|
+
messageDelete: (input: import("./httpapi/client.js").SessionMessageRemoveInput & {
|
|
1063
|
+
readonly directory?: string;
|
|
1064
|
+
readonly workspace?: string;
|
|
1065
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
|
|
947
1066
|
messages: (input: import("./httpapi/client.js").SessionMessagesInput & {
|
|
948
1067
|
readonly directory?: string;
|
|
949
1068
|
readonly workspace?: string;
|
|
@@ -1126,6 +1245,13 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
1126
1245
|
remove: (input: import("./httpapi/client.js").ExperimentalWorktreeRemoveInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
|
|
1127
1246
|
reset: (input: import("./httpapi/client.js").ExperimentalWorktreeResetInput, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
|
|
1128
1247
|
};
|
|
1248
|
+
getAccount: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<unknown>>;
|
|
1249
|
+
getConfigProfiles: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ConfigProfilesList>>;
|
|
1250
|
+
postAccountLogin: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<unknown>>;
|
|
1251
|
+
postAccountLoginComplete: (input: import("./httpapi/client.js").AccountCompleteInput & {
|
|
1252
|
+
readonly directory?: string;
|
|
1253
|
+
readonly workspace?: string;
|
|
1254
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<unknown>>;
|
|
1129
1255
|
};
|
|
1130
1256
|
server: {
|
|
1131
1257
|
url: string;
|