@intentic/sandbox-contract 1.159.0 → 1.160.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/agent-catalog.d.ts +1 -0
- package/dist/agent-catalog.d.ts.map +1 -1
- package/dist/agent-catalog.js +1 -0
- package/dist/agent-catalog.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +28 -4
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +2 -1
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +195 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +7 -2
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/claude.contract.d.ts +26 -0
- package/dist/contracts/claude.contract.d.ts.map +1 -1
- package/dist/contracts/claude.contract.js +2 -1
- package/dist/contracts/claude.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +1 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.d.ts +13 -0
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.js +2 -1
- package/dist/contracts/git.contract.js.map +1 -1
- package/dist/contracts/grok.contract.d.ts +2 -0
- package/dist/contracts/grok.contract.d.ts.map +1 -1
- package/dist/contracts/kimi.contract.d.ts +26 -0
- package/dist/contracts/kimi.contract.d.ts.map +1 -1
- package/dist/contracts/kimi.contract.js +2 -1
- package/dist/contracts/kimi.contract.js.map +1 -1
- package/dist/contracts/memory.contract.d.ts +34 -0
- package/dist/contracts/memory.contract.d.ts.map +1 -0
- package/dist/contracts/memory.contract.js +9 -0
- package/dist/contracts/memory.contract.js.map +1 -0
- package/dist/contracts/panels.contract.d.ts +1 -0
- package/dist/contracts/panels.contract.d.ts.map +1 -1
- package/dist/contracts/push.contract.d.ts +1 -1
- package/dist/contracts/push.contract.js +2 -2
- package/dist/contracts/push.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +2 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +32 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +2 -1
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +15 -2
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +2 -1
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/translator.contract.d.ts +13 -3
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/translator.contract.js +1 -1
- package/dist/contracts/translator.contract.js.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +38 -5
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +2 -1
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events.d.ts +100 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +12 -3
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +429 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/model-order.d.ts +1 -0
- package/dist/model-order.d.ts.map +1 -1
- package/dist/model-order.js +1 -0
- package/dist/model-order.js.map +1 -1
- package/dist/path-refs.d.ts +1 -0
- package/dist/path-refs.d.ts.map +1 -1
- package/dist/path-refs.js +3 -0
- package/dist/path-refs.js.map +1 -1
- package/dist/quick-model.d.ts +13 -0
- package/dist/quick-model.d.ts.map +1 -0
- package/dist/quick-model.js +33 -0
- package/dist/quick-model.js.map +1 -0
- package/dist/schemas.d.ts +298 -10
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +126 -11
- package/dist/schemas.js.map +1 -1
- package/dist/title.d.ts +6 -0
- package/dist/title.d.ts.map +1 -0
- package/dist/title.js +149 -0
- package/dist/title.js.map +1 -0
- package/package.json +2 -2
- package/src/agent-catalog.ts +6 -0
- package/src/contracts/agent.contract.ts +14 -1
- package/src/contracts/agents.contract.ts +25 -1
- package/src/contracts/claude.contract.ts +4 -1
- package/src/contracts/git.contract.ts +6 -0
- package/src/contracts/kimi.contract.ts +13 -2
- package/src/contracts/memory.contract.ts +13 -0
- package/src/contracts/push.contract.ts +2 -2
- package/src/contracts/settings.contract.ts +5 -1
- package/src/contracts/system.contract.ts +4 -0
- package/src/contracts/translator.contract.ts +3 -2
- package/src/contracts/workspace.contract.ts +6 -0
- package/src/events.ts +47 -6
- package/src/index.ts +7 -1
- package/src/model-order.test.ts +40 -1
- package/src/model-order.ts +15 -0
- package/src/path-refs.test.ts +27 -1
- package/src/path-refs.ts +16 -0
- package/src/quick-model.test.ts +88 -0
- package/src/quick-model.ts +103 -0
- package/src/schemas.test.ts +23 -1
- package/src/schemas.ts +412 -35
- package/src/title.test.ts +130 -0
- package/src/title.ts +254 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -101,7 +101,9 @@ export declare const AgentStatusSchema: z.ZodEnum<{
|
|
|
101
101
|
conflict: "conflict";
|
|
102
102
|
error: "error";
|
|
103
103
|
idle: "idle";
|
|
104
|
+
interrupted: "interrupted";
|
|
104
105
|
landed: "landed";
|
|
106
|
+
ready: "ready";
|
|
105
107
|
running: "running";
|
|
106
108
|
}>;
|
|
107
109
|
export type AgentStatus = z.infer<typeof AgentStatusSchema>;
|
|
@@ -127,7 +129,9 @@ export declare const AgentSummarySchema: z.ZodObject<{
|
|
|
127
129
|
conflict: "conflict";
|
|
128
130
|
error: "error";
|
|
129
131
|
idle: "idle";
|
|
132
|
+
interrupted: "interrupted";
|
|
130
133
|
landed: "landed";
|
|
134
|
+
ready: "ready";
|
|
131
135
|
running: "running";
|
|
132
136
|
}>;
|
|
133
137
|
provider: z.ZodString;
|
|
@@ -136,8 +140,11 @@ export declare const AgentSummarySchema: z.ZodObject<{
|
|
|
136
140
|
native: "native";
|
|
137
141
|
}>;
|
|
138
142
|
model: z.ZodOptional<z.ZodString>;
|
|
143
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
144
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
139
145
|
account: z.ZodOptional<z.ZodString>;
|
|
140
146
|
branch: z.ZodOptional<z.ZodString>;
|
|
147
|
+
autoLand: z.ZodOptional<z.ZodBoolean>;
|
|
141
148
|
origin: z.ZodOptional<z.ZodObject<{
|
|
142
149
|
automationId: z.ZodString;
|
|
143
150
|
provider: z.ZodString;
|
|
@@ -184,7 +191,9 @@ export declare const AgentsListSchema: z.ZodObject<{
|
|
|
184
191
|
conflict: "conflict";
|
|
185
192
|
error: "error";
|
|
186
193
|
idle: "idle";
|
|
194
|
+
interrupted: "interrupted";
|
|
187
195
|
landed: "landed";
|
|
196
|
+
ready: "ready";
|
|
188
197
|
running: "running";
|
|
189
198
|
}>;
|
|
190
199
|
provider: z.ZodString;
|
|
@@ -193,8 +202,11 @@ export declare const AgentsListSchema: z.ZodObject<{
|
|
|
193
202
|
native: "native";
|
|
194
203
|
}>;
|
|
195
204
|
model: z.ZodOptional<z.ZodString>;
|
|
205
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
206
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
196
207
|
account: z.ZodOptional<z.ZodString>;
|
|
197
208
|
branch: z.ZodOptional<z.ZodString>;
|
|
209
|
+
autoLand: z.ZodOptional<z.ZodBoolean>;
|
|
198
210
|
origin: z.ZodOptional<z.ZodObject<{
|
|
199
211
|
automationId: z.ZodString;
|
|
200
212
|
provider: z.ZodString;
|
|
@@ -251,7 +263,9 @@ export declare const AgentsMovedSchema: z.ZodObject<{
|
|
|
251
263
|
conflict: "conflict";
|
|
252
264
|
error: "error";
|
|
253
265
|
idle: "idle";
|
|
266
|
+
interrupted: "interrupted";
|
|
254
267
|
landed: "landed";
|
|
268
|
+
ready: "ready";
|
|
255
269
|
running: "running";
|
|
256
270
|
}>;
|
|
257
271
|
provider: z.ZodString;
|
|
@@ -260,8 +274,11 @@ export declare const AgentsMovedSchema: z.ZodObject<{
|
|
|
260
274
|
native: "native";
|
|
261
275
|
}>;
|
|
262
276
|
model: z.ZodOptional<z.ZodString>;
|
|
277
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
278
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
263
279
|
account: z.ZodOptional<z.ZodString>;
|
|
264
280
|
branch: z.ZodOptional<z.ZodString>;
|
|
281
|
+
autoLand: z.ZodOptional<z.ZodBoolean>;
|
|
265
282
|
origin: z.ZodOptional<z.ZodObject<{
|
|
266
283
|
automationId: z.ZodString;
|
|
267
284
|
provider: z.ZodString;
|
|
@@ -300,33 +317,125 @@ export declare const AgentsMovedSchema: z.ZodObject<{
|
|
|
300
317
|
rev: z.ZodNumber;
|
|
301
318
|
}, z.core.$strip>;
|
|
302
319
|
export type AgentsMoved = z.infer<typeof AgentsMovedSchema>;
|
|
320
|
+
export declare const AgentsRemovedSchema: z.ZodObject<{
|
|
321
|
+
removed: z.ZodArray<z.ZodString>;
|
|
322
|
+
}, z.core.$strip>;
|
|
323
|
+
export type AgentsRemoved = z.infer<typeof AgentsRemovedSchema>;
|
|
324
|
+
export declare const AgentSearchQuerySchema: z.ZodObject<{
|
|
325
|
+
query: z.ZodString;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
export declare const AgentMatchSchema: z.ZodObject<{
|
|
328
|
+
id: z.ZodString;
|
|
329
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
export type AgentMatch = z.infer<typeof AgentMatchSchema>;
|
|
332
|
+
export declare const AgentSearchResultSchema: z.ZodObject<{
|
|
333
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
334
|
+
id: z.ZodString;
|
|
335
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
scanned: z.ZodNumber;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
export type AgentSearchResult = z.infer<typeof AgentSearchResultSchema>;
|
|
303
340
|
export declare const AgentRenameSchema: z.ZodObject<{
|
|
304
341
|
id: z.ZodString;
|
|
305
342
|
title: z.ZodString;
|
|
306
343
|
}, z.core.$strip>;
|
|
344
|
+
export declare const AgentAutoLandSchema: z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
autoLand: z.ZodNullable<z.ZodBoolean>;
|
|
347
|
+
}, z.core.$strip>;
|
|
307
348
|
export declare const AgentFileDiffQuerySchema: z.ZodObject<{
|
|
308
349
|
id: z.ZodString;
|
|
309
350
|
repo: z.ZodString;
|
|
310
351
|
path: z.ZodString;
|
|
311
352
|
}, z.core.$strip>;
|
|
353
|
+
export declare const LandConflictReasonSchema: z.ZodEnum<{
|
|
354
|
+
binary: "binary";
|
|
355
|
+
diverged: "diverged";
|
|
356
|
+
workspace: "workspace";
|
|
357
|
+
}>;
|
|
358
|
+
export type LandConflictReason = z.infer<typeof LandConflictReasonSchema>;
|
|
359
|
+
export declare const LandConflictPathSchema: z.ZodObject<{
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
reason: z.ZodEnum<{
|
|
362
|
+
binary: "binary";
|
|
363
|
+
diverged: "diverged";
|
|
364
|
+
workspace: "workspace";
|
|
365
|
+
}>;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
export declare const LandConflictSchema: z.ZodObject<{
|
|
368
|
+
repo: z.ZodString;
|
|
369
|
+
paths: z.ZodArray<z.ZodObject<{
|
|
370
|
+
path: z.ZodString;
|
|
371
|
+
reason: z.ZodEnum<{
|
|
372
|
+
binary: "binary";
|
|
373
|
+
diverged: "diverged";
|
|
374
|
+
workspace: "workspace";
|
|
375
|
+
}>;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
clean: z.ZodNumber;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
export type LandConflict = z.infer<typeof LandConflictSchema>;
|
|
312
380
|
export declare const LandResultSchema: z.ZodObject<{
|
|
313
381
|
landed: z.ZodBoolean;
|
|
314
382
|
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
383
|
+
repo: z.ZodString;
|
|
384
|
+
paths: z.ZodArray<z.ZodObject<{
|
|
385
|
+
path: z.ZodString;
|
|
386
|
+
reason: z.ZodEnum<{
|
|
387
|
+
binary: "binary";
|
|
388
|
+
diverged: "diverged";
|
|
389
|
+
workspace: "workspace";
|
|
390
|
+
}>;
|
|
391
|
+
}, z.core.$strip>>;
|
|
392
|
+
clean: z.ZodNumber;
|
|
393
|
+
}, z.core.$strip>>>;
|
|
394
|
+
resolving: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
315
395
|
repo: z.ZodString;
|
|
316
396
|
paths: z.ZodArray<z.ZodString>;
|
|
317
397
|
}, z.core.$strip>>>;
|
|
398
|
+
held: z.ZodOptional<z.ZodBoolean>;
|
|
318
399
|
}, z.core.$strip>;
|
|
319
400
|
export type LandResult = z.infer<typeof LandResultSchema>;
|
|
401
|
+
export declare const LandModeSchema: z.ZodEnum<{
|
|
402
|
+
check: "check";
|
|
403
|
+
measure: "measure";
|
|
404
|
+
merge: "merge";
|
|
405
|
+
}>;
|
|
406
|
+
export type LandMode = z.infer<typeof LandModeSchema>;
|
|
407
|
+
export declare const AgentLandSchema: z.ZodObject<{
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
check: "check";
|
|
411
|
+
measure: "measure";
|
|
412
|
+
merge: "merge";
|
|
413
|
+
}>>;
|
|
414
|
+
}, z.core.$strip>;
|
|
320
415
|
export declare const KeyedProviderSchema: z.ZodEnum<{
|
|
321
416
|
codex: "codex";
|
|
322
417
|
gemini: "gemini";
|
|
323
418
|
grok: "grok";
|
|
324
419
|
}>;
|
|
325
420
|
export type KeyedProvider = z.infer<typeof KeyedProviderSchema>;
|
|
421
|
+
export declare const TranslatorAccountSchema: z.ZodObject<{
|
|
422
|
+
name: z.ZodString;
|
|
423
|
+
label: z.ZodString;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
export type TranslatorAccount = z.infer<typeof TranslatorAccountSchema>;
|
|
326
426
|
export declare const TranslatorAccountsSchema: z.ZodObject<{
|
|
327
|
-
codex: z.
|
|
328
|
-
|
|
329
|
-
|
|
427
|
+
codex: z.ZodArray<z.ZodObject<{
|
|
428
|
+
name: z.ZodString;
|
|
429
|
+
label: z.ZodString;
|
|
430
|
+
}, z.core.$strip>>;
|
|
431
|
+
grok: z.ZodArray<z.ZodObject<{
|
|
432
|
+
name: z.ZodString;
|
|
433
|
+
label: z.ZodString;
|
|
434
|
+
}, z.core.$strip>>;
|
|
435
|
+
gemini: z.ZodArray<z.ZodObject<{
|
|
436
|
+
name: z.ZodString;
|
|
437
|
+
label: z.ZodString;
|
|
438
|
+
}, z.core.$strip>>;
|
|
330
439
|
}, z.core.$strip>;
|
|
331
440
|
export type TranslatorAccounts = z.infer<typeof TranslatorAccountsSchema>;
|
|
332
441
|
export declare const AgentReplySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -370,6 +479,10 @@ export declare const SteerSchema: z.ZodObject<{
|
|
|
370
479
|
export declare const StopTurnSchema: z.ZodObject<{
|
|
371
480
|
conversationId: z.ZodString;
|
|
372
481
|
}, z.core.$strip>;
|
|
482
|
+
export declare const ResumeLimitSchema: z.ZodObject<{
|
|
483
|
+
conversationId: z.ZodString;
|
|
484
|
+
account: z.ZodOptional<z.ZodString>;
|
|
485
|
+
}, z.core.$strip>;
|
|
373
486
|
export declare const RateLimitInfoSchema: z.ZodObject<{
|
|
374
487
|
status: z.ZodEnum<{
|
|
375
488
|
allowed: "allowed";
|
|
@@ -401,6 +514,8 @@ export type AccountUsage = z.infer<typeof AccountUsageSchema>;
|
|
|
401
514
|
export declare const OauthAccountSchema: z.ZodObject<{
|
|
402
515
|
id: z.ZodString;
|
|
403
516
|
label: z.ZodString;
|
|
517
|
+
email: z.ZodOptional<z.ZodString>;
|
|
518
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
404
519
|
scope: z.ZodOptional<z.ZodString>;
|
|
405
520
|
connectedAt: z.ZodNumber;
|
|
406
521
|
needsReauth: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -420,6 +535,8 @@ export declare const OauthAccountListSchema: z.ZodObject<{
|
|
|
420
535
|
accounts: z.ZodArray<z.ZodObject<{
|
|
421
536
|
id: z.ZodString;
|
|
422
537
|
label: z.ZodString;
|
|
538
|
+
email: z.ZodOptional<z.ZodString>;
|
|
539
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
423
540
|
scope: z.ZodOptional<z.ZodString>;
|
|
424
541
|
connectedAt: z.ZodNumber;
|
|
425
542
|
needsReauth: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -438,6 +555,10 @@ export declare const OauthAccountListSchema: z.ZodObject<{
|
|
|
438
555
|
export declare const AccountIdSchema: z.ZodObject<{
|
|
439
556
|
id: z.ZodString;
|
|
440
557
|
}, z.core.$strip>;
|
|
558
|
+
export declare const AccountRenameSchema: z.ZodObject<{
|
|
559
|
+
id: z.ZodString;
|
|
560
|
+
label: z.ZodString;
|
|
561
|
+
}, z.core.$strip>;
|
|
441
562
|
export declare const OauthExchangeSchema: z.ZodObject<{
|
|
442
563
|
code: z.ZodString;
|
|
443
564
|
verifier: z.ZodString;
|
|
@@ -507,19 +628,39 @@ export declare const SessionSummarySchema: z.ZodObject<{
|
|
|
507
628
|
id: z.ZodString;
|
|
508
629
|
title: z.ZodString;
|
|
509
630
|
updatedAt: z.ZodNumber;
|
|
631
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
510
632
|
}, z.core.$strip>;
|
|
511
633
|
export declare const SessionsListSchema: z.ZodObject<{
|
|
512
634
|
sessions: z.ZodArray<z.ZodObject<{
|
|
513
635
|
id: z.ZodString;
|
|
514
636
|
title: z.ZodString;
|
|
515
637
|
updatedAt: z.ZodNumber;
|
|
638
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
516
639
|
}, z.core.$strip>>;
|
|
517
640
|
}, z.core.$strip>;
|
|
641
|
+
export declare const SystemPromptModeSchema: z.ZodEnum<{
|
|
642
|
+
claude: "claude";
|
|
643
|
+
custom: "custom";
|
|
644
|
+
intentic: "intentic";
|
|
645
|
+
}>;
|
|
646
|
+
export type SystemPromptMode = z.infer<typeof SystemPromptModeSchema>;
|
|
647
|
+
export declare const BuiltinPromptSchema: z.ZodObject<{
|
|
648
|
+
base: z.ZodEnum<{
|
|
649
|
+
claude: "claude";
|
|
650
|
+
intentic: "intentic";
|
|
651
|
+
}>;
|
|
652
|
+
}, z.core.$strip>;
|
|
518
653
|
export declare const SandboxSettingsSchema: z.ZodObject<{
|
|
519
654
|
stableSystemPrompt: z.ZodDefault<z.ZodBoolean>;
|
|
520
655
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
521
656
|
hashlineEdits: z.ZodDefault<z.ZodBoolean>;
|
|
522
657
|
terseOutput: z.ZodDefault<z.ZodBoolean>;
|
|
658
|
+
systemPromptMode: z.ZodDefault<z.ZodEnum<{
|
|
659
|
+
claude: "claude";
|
|
660
|
+
custom: "custom";
|
|
661
|
+
intentic: "intentic";
|
|
662
|
+
}>>;
|
|
663
|
+
systemPrompt: z.ZodDefault<z.ZodString>;
|
|
523
664
|
iqSearch: z.ZodDefault<z.ZodBoolean>;
|
|
524
665
|
outputCleaners: z.ZodDefault<z.ZodString>;
|
|
525
666
|
outputHoldout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -527,10 +668,23 @@ export declare const SandboxSettingsSchema: z.ZodObject<{
|
|
|
527
668
|
native: "native";
|
|
528
669
|
rtk: "rtk";
|
|
529
670
|
}>>;
|
|
671
|
+
quickModel: z.ZodDefault<z.ZodString>;
|
|
530
672
|
agentRetentionDays: z.ZodDefault<z.ZodNumber>;
|
|
673
|
+
autoLand: z.ZodDefault<z.ZodBoolean>;
|
|
674
|
+
autoResumeOnLimit: z.ZodDefault<z.ZodBoolean>;
|
|
531
675
|
}, z.core.$strip>;
|
|
532
676
|
export type SandboxSettings = z.infer<typeof SandboxSettingsSchema>;
|
|
677
|
+
export declare const BuiltinPromptTextSchema: z.ZodObject<{
|
|
678
|
+
text: z.ZodString;
|
|
679
|
+
version: z.ZodString;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
export type BuiltinPromptText = z.infer<typeof BuiltinPromptTextSchema>;
|
|
533
682
|
export declare const CleanerSavingsSchema: z.ZodObject<{
|
|
683
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
684
|
+
native: "native";
|
|
685
|
+
rtk: "rtk";
|
|
686
|
+
}>>;
|
|
687
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
534
688
|
commands: z.ZodNumber;
|
|
535
689
|
rawTokens: z.ZodNumber;
|
|
536
690
|
emittedTokens: z.ZodNumber;
|
|
@@ -609,6 +763,16 @@ export declare const GitFileSchema: z.ZodObject<{
|
|
|
609
763
|
export declare const CommitResultSchema: z.ZodObject<{
|
|
610
764
|
committed: z.ZodBoolean;
|
|
611
765
|
}, z.core.$strip>;
|
|
766
|
+
export declare const CommitMessageDraftSchema: z.ZodObject<{
|
|
767
|
+
repos: z.ZodArray<z.ZodString>;
|
|
768
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
+
}, z.core.$strip>;
|
|
770
|
+
export declare const CommitMessageSchema: z.ZodObject<{
|
|
771
|
+
message: z.ZodString;
|
|
772
|
+
provider: z.ZodString;
|
|
773
|
+
model: z.ZodString;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
export type CommitMessageDraft = z.infer<typeof CommitMessageSchema>;
|
|
612
776
|
export declare const GitChangeSchema: z.ZodObject<{
|
|
613
777
|
path: z.ZodString;
|
|
614
778
|
status: z.ZodEnum<{
|
|
@@ -709,6 +873,7 @@ export declare const RepoChangesSchema: z.ZodObject<{
|
|
|
709
873
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
710
874
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
711
875
|
}, z.core.$strip>>;
|
|
876
|
+
truncated: z.ZodOptional<z.ZodNumber>;
|
|
712
877
|
remote: z.ZodOptional<z.ZodObject<{
|
|
713
878
|
remote: z.ZodOptional<z.ZodString>;
|
|
714
879
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -720,6 +885,11 @@ export declare const RepoChangesSchema: z.ZodObject<{
|
|
|
720
885
|
error: z.ZodOptional<z.ZodString>;
|
|
721
886
|
}, z.core.$strip>;
|
|
722
887
|
export type RepoChanges = z.infer<typeof RepoChangesSchema>;
|
|
888
|
+
export declare const OriginAgentSchema: z.ZodObject<{
|
|
889
|
+
title: z.ZodOptional<z.ZodString>;
|
|
890
|
+
provider: z.ZodString;
|
|
891
|
+
}, z.core.$strip>;
|
|
892
|
+
export type OriginAgent = z.infer<typeof OriginAgentSchema>;
|
|
723
893
|
export declare const GitChangesSchema: z.ZodObject<{
|
|
724
894
|
repos: z.ZodArray<z.ZodObject<{
|
|
725
895
|
repo: z.ZodString;
|
|
@@ -766,6 +936,7 @@ export declare const GitChangesSchema: z.ZodObject<{
|
|
|
766
936
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
767
937
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
768
938
|
}, z.core.$strip>>;
|
|
939
|
+
truncated: z.ZodOptional<z.ZodNumber>;
|
|
769
940
|
remote: z.ZodOptional<z.ZodObject<{
|
|
770
941
|
remote: z.ZodOptional<z.ZodString>;
|
|
771
942
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -776,6 +947,10 @@ export declare const GitChangesSchema: z.ZodObject<{
|
|
|
776
947
|
origins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
777
948
|
error: z.ZodOptional<z.ZodString>;
|
|
778
949
|
}, z.core.$strip>>;
|
|
950
|
+
originAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
951
|
+
title: z.ZodOptional<z.ZodString>;
|
|
952
|
+
provider: z.ZodString;
|
|
953
|
+
}, z.core.$strip>>>;
|
|
779
954
|
}, z.core.$strip>;
|
|
780
955
|
export type GitChanges = z.infer<typeof GitChangesSchema>;
|
|
781
956
|
export declare const AgentChangeSchema: z.ZodObject<{
|
|
@@ -834,6 +1009,18 @@ export declare const AgentChangesSchema: z.ZodObject<{
|
|
|
834
1009
|
landed: z.ZodBoolean;
|
|
835
1010
|
}, z.core.$strip>>;
|
|
836
1011
|
}, z.core.$strip>>;
|
|
1012
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1013
|
+
repo: z.ZodString;
|
|
1014
|
+
paths: z.ZodArray<z.ZodObject<{
|
|
1015
|
+
path: z.ZodString;
|
|
1016
|
+
reason: z.ZodEnum<{
|
|
1017
|
+
binary: "binary";
|
|
1018
|
+
diverged: "diverged";
|
|
1019
|
+
workspace: "workspace";
|
|
1020
|
+
}>;
|
|
1021
|
+
}, z.core.$strip>>;
|
|
1022
|
+
clean: z.ZodNumber;
|
|
1023
|
+
}, z.core.$strip>>>;
|
|
837
1024
|
}, z.core.$strip>;
|
|
838
1025
|
export type AgentChanges = z.infer<typeof AgentChangesSchema>;
|
|
839
1026
|
export declare const GitCommitSchema: z.ZodObject<{
|
|
@@ -1013,7 +1200,6 @@ export declare const WorkspaceTreeEntrySchema: z.ZodObject<{
|
|
|
1013
1200
|
file: "file";
|
|
1014
1201
|
}>;
|
|
1015
1202
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1017
1203
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1018
1204
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1019
1205
|
}, z.core.$strip>;
|
|
@@ -1028,11 +1214,10 @@ export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
|
1028
1214
|
file: "file";
|
|
1029
1215
|
}>;
|
|
1030
1216
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1031
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1032
1217
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1033
1218
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1034
1219
|
}, z.core.$strip>>;
|
|
1035
|
-
|
|
1220
|
+
hidden: z.ZodNumber;
|
|
1036
1221
|
}, z.core.$strip>;
|
|
1037
1222
|
export type WorkspaceTree = z.infer<typeof WorkspaceTreeSchema>;
|
|
1038
1223
|
export declare const WorkspaceChildrenQuerySchema: z.ZodObject<{
|
|
@@ -1047,11 +1232,10 @@ export declare const WorkspaceChildrenSchema: z.ZodObject<{
|
|
|
1047
1232
|
file: "file";
|
|
1048
1233
|
}>;
|
|
1049
1234
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1050
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1051
1235
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1052
1236
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1053
1237
|
}, z.core.$strip>>;
|
|
1054
|
-
|
|
1238
|
+
hidden: z.ZodNumber;
|
|
1055
1239
|
}, z.core.$strip>;
|
|
1056
1240
|
export type WorkspaceChildren = z.infer<typeof WorkspaceChildrenSchema>;
|
|
1057
1241
|
export declare const WorkspaceFileQuerySchema: z.ZodObject<{
|
|
@@ -1242,6 +1426,59 @@ export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
|
1242
1426
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1243
1427
|
}, z.core.$strip>;
|
|
1244
1428
|
export type WorkspaceSearchResult = z.infer<typeof WorkspaceSearchResultSchema>;
|
|
1429
|
+
export declare const HEALTH_LIMIT = 20;
|
|
1430
|
+
export declare const WorkspaceHealthQuerySchema: z.ZodObject<{
|
|
1431
|
+
repo: z.ZodString;
|
|
1432
|
+
since: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1434
|
+
}, z.core.$strip>;
|
|
1435
|
+
export declare const WorkspaceHotspotSchema: z.ZodObject<{
|
|
1436
|
+
path: z.ZodString;
|
|
1437
|
+
commits: z.ZodNumber;
|
|
1438
|
+
adds: z.ZodNumber;
|
|
1439
|
+
dels: z.ZodNumber;
|
|
1440
|
+
complexity: z.ZodNumber;
|
|
1441
|
+
score: z.ZodNumber;
|
|
1442
|
+
latestMs: z.ZodNumber;
|
|
1443
|
+
}, z.core.$strip>;
|
|
1444
|
+
export type WorkspaceHotspot = z.infer<typeof WorkspaceHotspotSchema>;
|
|
1445
|
+
export declare const WorkspaceKeyModuleSchema: z.ZodObject<{
|
|
1446
|
+
path: z.ZodString;
|
|
1447
|
+
exports: z.ZodNumber;
|
|
1448
|
+
}, z.core.$strip>;
|
|
1449
|
+
export type WorkspaceKeyModule = z.infer<typeof WorkspaceKeyModuleSchema>;
|
|
1450
|
+
export declare const WorkspaceHealthSchema: z.ZodObject<{
|
|
1451
|
+
repo: z.ZodString;
|
|
1452
|
+
totals: z.ZodObject<{
|
|
1453
|
+
files: z.ZodNumber;
|
|
1454
|
+
symbols: z.ZodNumber;
|
|
1455
|
+
complexity: z.ZodNumber;
|
|
1456
|
+
hotspots: z.ZodNumber;
|
|
1457
|
+
}, z.core.$strip>;
|
|
1458
|
+
hotspots: z.ZodArray<z.ZodObject<{
|
|
1459
|
+
path: z.ZodString;
|
|
1460
|
+
commits: z.ZodNumber;
|
|
1461
|
+
adds: z.ZodNumber;
|
|
1462
|
+
dels: z.ZodNumber;
|
|
1463
|
+
complexity: z.ZodNumber;
|
|
1464
|
+
score: z.ZodNumber;
|
|
1465
|
+
latestMs: z.ZodNumber;
|
|
1466
|
+
}, z.core.$strip>>;
|
|
1467
|
+
modules: z.ZodArray<z.ZodObject<{
|
|
1468
|
+
path: z.ZodString;
|
|
1469
|
+
exports: z.ZodNumber;
|
|
1470
|
+
}, z.core.$strip>>;
|
|
1471
|
+
freshness: z.ZodObject<{
|
|
1472
|
+
state: z.ZodEnum<{
|
|
1473
|
+
building: "building";
|
|
1474
|
+
fresh: "fresh";
|
|
1475
|
+
stale: "stale";
|
|
1476
|
+
}>;
|
|
1477
|
+
ageMs: z.ZodOptional<z.ZodNumber>;
|
|
1478
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
1479
|
+
}, z.core.$strip>;
|
|
1480
|
+
}, z.core.$strip>;
|
|
1481
|
+
export type WorkspaceHealth = z.infer<typeof WorkspaceHealthSchema>;
|
|
1245
1482
|
export declare const ProjectSetupSchema: z.ZodObject<{
|
|
1246
1483
|
dir: z.ZodString;
|
|
1247
1484
|
ecosystem: z.ZodEnum<{
|
|
@@ -1363,7 +1600,7 @@ export declare const TemplatesListSchema: z.ZodObject<{
|
|
|
1363
1600
|
export type TemplatesList = z.infer<typeof TemplatesListSchema>;
|
|
1364
1601
|
export declare const RepoAppSchema: z.ZodObject<{
|
|
1365
1602
|
app: z.ZodString;
|
|
1366
|
-
|
|
1603
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1367
1604
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1368
1605
|
running: z.ZodBoolean;
|
|
1369
1606
|
healthy: z.ZodBoolean;
|
|
@@ -1372,7 +1609,7 @@ export type RepoApp = z.infer<typeof RepoAppSchema>;
|
|
|
1372
1609
|
export declare const AppsListSchema: z.ZodObject<{
|
|
1373
1610
|
apps: z.ZodArray<z.ZodObject<{
|
|
1374
1611
|
app: z.ZodString;
|
|
1375
|
-
|
|
1612
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1376
1613
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1377
1614
|
running: z.ZodBoolean;
|
|
1378
1615
|
healthy: z.ZodBoolean;
|
|
@@ -2211,6 +2448,7 @@ export declare const ExtensionSummarySchema: z.ZodObject<{
|
|
|
2211
2448
|
surface: z.ZodEnum<{
|
|
2212
2449
|
directory: "directory";
|
|
2213
2450
|
rail: "rail";
|
|
2451
|
+
sandbox: "sandbox";
|
|
2214
2452
|
}>;
|
|
2215
2453
|
}, z.core.$strip>>>;
|
|
2216
2454
|
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2328,6 +2566,7 @@ export declare const ExtensionsListSchema: z.ZodObject<{
|
|
|
2328
2566
|
surface: z.ZodEnum<{
|
|
2329
2567
|
directory: "directory";
|
|
2330
2568
|
rail: "rail";
|
|
2569
|
+
sandbox: "sandbox";
|
|
2331
2570
|
}>;
|
|
2332
2571
|
}, z.core.$strip>>>;
|
|
2333
2572
|
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2462,6 +2701,7 @@ export declare const WorkspaceEventSchema: z.ZodObject<{
|
|
|
2462
2701
|
error: "error";
|
|
2463
2702
|
idle: "idle";
|
|
2464
2703
|
landed: "landed";
|
|
2704
|
+
ready: "ready";
|
|
2465
2705
|
}>;
|
|
2466
2706
|
repos: z.ZodArray<z.ZodObject<{
|
|
2467
2707
|
repo: z.ZodString;
|
|
@@ -2755,6 +2995,7 @@ export declare const PanelSummarySchema: z.ZodObject<{
|
|
|
2755
2995
|
directoryUi: z.ZodBoolean;
|
|
2756
2996
|
monorepo: z.ZodBoolean;
|
|
2757
2997
|
vitest: z.ZodBoolean;
|
|
2998
|
+
userStories: z.ZodBoolean;
|
|
2758
2999
|
}, z.core.$strip>;
|
|
2759
3000
|
export type PanelSummary = z.infer<typeof PanelSummarySchema>;
|
|
2760
3001
|
export declare const PanelsListSchema: z.ZodObject<{
|
|
@@ -2775,6 +3016,7 @@ export declare const PanelsListSchema: z.ZodObject<{
|
|
|
2775
3016
|
directoryUi: z.ZodBoolean;
|
|
2776
3017
|
monorepo: z.ZodBoolean;
|
|
2777
3018
|
vitest: z.ZodBoolean;
|
|
3019
|
+
userStories: z.ZodBoolean;
|
|
2778
3020
|
}, z.core.$strip>>;
|
|
2779
3021
|
}, z.core.$strip>;
|
|
2780
3022
|
export type PanelsList = z.infer<typeof PanelsListSchema>;
|
|
@@ -2837,6 +3079,8 @@ export declare const TerminalSessionSchema: z.ZodObject<{
|
|
|
2837
3079
|
shell: "shell";
|
|
2838
3080
|
}>;
|
|
2839
3081
|
running: z.ZodBoolean;
|
|
3082
|
+
activityAt: z.ZodNumber;
|
|
3083
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2840
3084
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
2841
3085
|
processName: z.ZodOptional<z.ZodString>;
|
|
2842
3086
|
}, z.core.$strip>;
|
|
@@ -2852,6 +3096,8 @@ export declare const TerminalsListSchema: z.ZodObject<{
|
|
|
2852
3096
|
shell: "shell";
|
|
2853
3097
|
}>;
|
|
2854
3098
|
running: z.ZodBoolean;
|
|
3099
|
+
activityAt: z.ZodNumber;
|
|
3100
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2855
3101
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
2856
3102
|
processName: z.ZodOptional<z.ZodString>;
|
|
2857
3103
|
}, z.core.$strip>>;
|
|
@@ -2953,6 +3199,12 @@ export declare const InfoSchema: z.ZodObject<{
|
|
|
2953
3199
|
latest: z.ZodOptional<z.ZodString>;
|
|
2954
3200
|
updateAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
2955
3201
|
}, z.core.$strip>;
|
|
3202
|
+
export declare const DaemonSessionSchema: z.ZodObject<{
|
|
3203
|
+
token: z.ZodString;
|
|
3204
|
+
expiresAt: z.ZodNumber;
|
|
3205
|
+
email: z.ZodString;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3207
|
+
export type DaemonSession = z.infer<typeof DaemonSessionSchema>;
|
|
2956
3208
|
export declare const HostTunnelInputSchema: z.ZodObject<{
|
|
2957
3209
|
hostName: z.ZodString;
|
|
2958
3210
|
}, z.core.$strip>;
|
|
@@ -3152,6 +3404,38 @@ export declare const LogReadSchema: z.ZodObject<{
|
|
|
3152
3404
|
truncated: z.ZodBoolean;
|
|
3153
3405
|
}, z.core.$strip>;
|
|
3154
3406
|
export type LogRead = z.infer<typeof LogReadSchema>;
|
|
3407
|
+
export declare const MemoryFileEntrySchema: z.ZodObject<{
|
|
3408
|
+
project: z.ZodString;
|
|
3409
|
+
name: z.ZodString;
|
|
3410
|
+
sizeBytes: z.ZodNumber;
|
|
3411
|
+
modifiedAt: z.ZodNumber;
|
|
3412
|
+
}, z.core.$strip>;
|
|
3413
|
+
export type MemoryFileEntry = z.infer<typeof MemoryFileEntrySchema>;
|
|
3414
|
+
export declare const MemoryListSchema: z.ZodObject<{
|
|
3415
|
+
files: z.ZodArray<z.ZodObject<{
|
|
3416
|
+
project: z.ZodString;
|
|
3417
|
+
name: z.ZodString;
|
|
3418
|
+
sizeBytes: z.ZodNumber;
|
|
3419
|
+
modifiedAt: z.ZodNumber;
|
|
3420
|
+
}, z.core.$strip>>;
|
|
3421
|
+
}, z.core.$strip>;
|
|
3422
|
+
export declare const MemoryFileQuerySchema: z.ZodObject<{
|
|
3423
|
+
project: z.ZodString;
|
|
3424
|
+
name: z.ZodString;
|
|
3425
|
+
}, z.core.$strip>;
|
|
3426
|
+
export declare const MemoryFileSchema: z.ZodObject<{
|
|
3427
|
+
project: z.ZodString;
|
|
3428
|
+
name: z.ZodString;
|
|
3429
|
+
content: z.ZodString;
|
|
3430
|
+
sizeBytes: z.ZodNumber;
|
|
3431
|
+
modifiedAt: z.ZodNumber;
|
|
3432
|
+
}, z.core.$strip>;
|
|
3433
|
+
export type MemoryFile = z.infer<typeof MemoryFileSchema>;
|
|
3434
|
+
export declare const MemoryWriteSchema: z.ZodObject<{
|
|
3435
|
+
project: z.ZodString;
|
|
3436
|
+
name: z.ZodString;
|
|
3437
|
+
content: z.ZodString;
|
|
3438
|
+
}, z.core.$strip>;
|
|
3155
3439
|
export declare const PresenceReportSchema: z.ZodObject<{
|
|
3156
3440
|
clientId: z.ZodString;
|
|
3157
3441
|
idle: z.ZodBoolean;
|
|
@@ -3186,4 +3470,8 @@ export declare const PushEndpointSchema: z.ZodObject<{
|
|
|
3186
3470
|
export declare const PushConfigQuerySchema: z.ZodObject<{
|
|
3187
3471
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
3188
3472
|
}, z.core.$strip>;
|
|
3473
|
+
export declare const PushTestSchema: z.ZodObject<{
|
|
3474
|
+
delivered: z.ZodNumber;
|
|
3475
|
+
}, z.core.$strip>;
|
|
3476
|
+
export type PushTest = z.infer<typeof PushTestSchema>;
|
|
3189
3477
|
//# sourceMappingURL=schemas.d.ts.map
|