@intentic/sandbox-contract 1.159.0 → 1.161.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 +50 -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 +72 -15
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +3 -2
- 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/usage.contract.js +2 -2
- package/dist/contracts/usage.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 +124 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +21 -3
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +491 -30
- 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 +374 -14
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +145 -15
- 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 +16 -4
- package/src/contracts/system.contract.ts +4 -0
- package/src/contracts/translator.contract.ts +3 -2
- package/src/contracts/usage.contract.ts +2 -2
- package/src/contracts/workspace.contract.ts +6 -0
- package/src/events.ts +85 -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 +30 -1
- package/src/schemas.ts +500 -42
- 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,40 @@ 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
|
+
terseHoldout: z.ZodDefault<z.ZodNumber>;
|
|
659
|
+
systemPromptMode: z.ZodDefault<z.ZodEnum<{
|
|
660
|
+
claude: "claude";
|
|
661
|
+
custom: "custom";
|
|
662
|
+
intentic: "intentic";
|
|
663
|
+
}>>;
|
|
664
|
+
systemPrompt: z.ZodDefault<z.ZodString>;
|
|
523
665
|
iqSearch: z.ZodDefault<z.ZodBoolean>;
|
|
524
666
|
outputCleaners: z.ZodDefault<z.ZodString>;
|
|
525
667
|
outputHoldout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -527,10 +669,30 @@ export declare const SandboxSettingsSchema: z.ZodObject<{
|
|
|
527
669
|
native: "native";
|
|
528
670
|
rtk: "rtk";
|
|
529
671
|
}>>;
|
|
672
|
+
quickModel: z.ZodDefault<z.ZodString>;
|
|
530
673
|
agentRetentionDays: z.ZodDefault<z.ZodNumber>;
|
|
674
|
+
autoLand: z.ZodDefault<z.ZodBoolean>;
|
|
675
|
+
autoResumeOnLimit: z.ZodDefault<z.ZodBoolean>;
|
|
676
|
+
resumeAfterOutage: z.ZodDefault<z.ZodBoolean>;
|
|
531
677
|
}, z.core.$strip>;
|
|
532
678
|
export type SandboxSettings = z.infer<typeof SandboxSettingsSchema>;
|
|
533
|
-
export declare const
|
|
679
|
+
export declare const BuiltinPromptTextSchema: z.ZodObject<{
|
|
680
|
+
text: z.ZodString;
|
|
681
|
+
version: z.ZodString;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
export type BuiltinPromptText = z.infer<typeof BuiltinPromptTextSchema>;
|
|
684
|
+
export declare const SavingsStageSchema: z.ZodObject<{
|
|
685
|
+
id: z.ZodString;
|
|
686
|
+
commands: z.ZodNumber;
|
|
687
|
+
savedTokens: z.ZodNumber;
|
|
688
|
+
}, z.core.$strip>;
|
|
689
|
+
export declare const InputSavingsSchema: z.ZodObject<{
|
|
690
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
691
|
+
native: "native";
|
|
692
|
+
rtk: "rtk";
|
|
693
|
+
}>>;
|
|
694
|
+
windowed: z.ZodBoolean;
|
|
695
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
534
696
|
commands: z.ZodNumber;
|
|
535
697
|
rawTokens: z.ZodNumber;
|
|
536
698
|
emittedTokens: z.ZodNumber;
|
|
@@ -538,6 +700,7 @@ export declare const CleanerSavingsSchema: z.ZodObject<{
|
|
|
538
700
|
perCleaner: z.ZodArray<z.ZodObject<{
|
|
539
701
|
id: z.ZodString;
|
|
540
702
|
commands: z.ZodNumber;
|
|
703
|
+
savedTokens: z.ZodNumber;
|
|
541
704
|
}, z.core.$strip>>;
|
|
542
705
|
holdout: z.ZodObject<{
|
|
543
706
|
cleaned: z.ZodNumber;
|
|
@@ -549,7 +712,69 @@ export declare const CleanerSavingsSchema: z.ZodObject<{
|
|
|
549
712
|
tokens: z.ZodNumber;
|
|
550
713
|
}, z.core.$strip>>;
|
|
551
714
|
}, z.core.$strip>;
|
|
552
|
-
export type
|
|
715
|
+
export type InputSavings = z.infer<typeof InputSavingsSchema>;
|
|
716
|
+
export declare const SavingsArmSchema: z.ZodObject<{
|
|
717
|
+
turns: z.ZodNumber;
|
|
718
|
+
meanOutputTokens: z.ZodNumber;
|
|
719
|
+
}, z.core.$strip>;
|
|
720
|
+
export declare const OutputSavingsSchema: z.ZodObject<{
|
|
721
|
+
on: z.ZodObject<{
|
|
722
|
+
turns: z.ZodNumber;
|
|
723
|
+
meanOutputTokens: z.ZodNumber;
|
|
724
|
+
}, z.core.$strip>;
|
|
725
|
+
off: z.ZodObject<{
|
|
726
|
+
turns: z.ZodNumber;
|
|
727
|
+
meanOutputTokens: z.ZodNumber;
|
|
728
|
+
}, z.core.$strip>;
|
|
729
|
+
minTurns: z.ZodNumber;
|
|
730
|
+
deltaPct: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
marginPct: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
savedTokens: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
}, z.core.$strip>;
|
|
734
|
+
export type OutputSavings = z.infer<typeof OutputSavingsSchema>;
|
|
735
|
+
export declare const SavingsReportSchema: z.ZodObject<{
|
|
736
|
+
input: z.ZodObject<{
|
|
737
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
738
|
+
native: "native";
|
|
739
|
+
rtk: "rtk";
|
|
740
|
+
}>>;
|
|
741
|
+
windowed: z.ZodBoolean;
|
|
742
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
commands: z.ZodNumber;
|
|
744
|
+
rawTokens: z.ZodNumber;
|
|
745
|
+
emittedTokens: z.ZodNumber;
|
|
746
|
+
savedPct: z.ZodNumber;
|
|
747
|
+
perCleaner: z.ZodArray<z.ZodObject<{
|
|
748
|
+
id: z.ZodString;
|
|
749
|
+
commands: z.ZodNumber;
|
|
750
|
+
savedTokens: z.ZodNumber;
|
|
751
|
+
}, z.core.$strip>>;
|
|
752
|
+
holdout: z.ZodObject<{
|
|
753
|
+
cleaned: z.ZodNumber;
|
|
754
|
+
heldOut: z.ZodNumber;
|
|
755
|
+
measuredSavedPct: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
}, z.core.$strip>;
|
|
757
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
758
|
+
command: z.ZodString;
|
|
759
|
+
tokens: z.ZodNumber;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
}, z.core.$strip>;
|
|
762
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
on: z.ZodObject<{
|
|
764
|
+
turns: z.ZodNumber;
|
|
765
|
+
meanOutputTokens: z.ZodNumber;
|
|
766
|
+
}, z.core.$strip>;
|
|
767
|
+
off: z.ZodObject<{
|
|
768
|
+
turns: z.ZodNumber;
|
|
769
|
+
meanOutputTokens: z.ZodNumber;
|
|
770
|
+
}, z.core.$strip>;
|
|
771
|
+
minTurns: z.ZodNumber;
|
|
772
|
+
deltaPct: z.ZodOptional<z.ZodNumber>;
|
|
773
|
+
marginPct: z.ZodOptional<z.ZodNumber>;
|
|
774
|
+
savedTokens: z.ZodOptional<z.ZodNumber>;
|
|
775
|
+
}, z.core.$strip>>;
|
|
776
|
+
}, z.core.$strip>;
|
|
777
|
+
export type SavingsReport = z.infer<typeof SavingsReportSchema>;
|
|
553
778
|
export declare const IntenticRunSchema: z.ZodObject<{
|
|
554
779
|
args: z.ZodArray<z.ZodString>;
|
|
555
780
|
}, z.core.$strip>;
|
|
@@ -609,6 +834,16 @@ export declare const GitFileSchema: z.ZodObject<{
|
|
|
609
834
|
export declare const CommitResultSchema: z.ZodObject<{
|
|
610
835
|
committed: z.ZodBoolean;
|
|
611
836
|
}, z.core.$strip>;
|
|
837
|
+
export declare const CommitMessageDraftSchema: z.ZodObject<{
|
|
838
|
+
repos: z.ZodArray<z.ZodString>;
|
|
839
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
840
|
+
}, z.core.$strip>;
|
|
841
|
+
export declare const CommitMessageSchema: z.ZodObject<{
|
|
842
|
+
message: z.ZodString;
|
|
843
|
+
provider: z.ZodString;
|
|
844
|
+
model: z.ZodString;
|
|
845
|
+
}, z.core.$strip>;
|
|
846
|
+
export type CommitMessageDraft = z.infer<typeof CommitMessageSchema>;
|
|
612
847
|
export declare const GitChangeSchema: z.ZodObject<{
|
|
613
848
|
path: z.ZodString;
|
|
614
849
|
status: z.ZodEnum<{
|
|
@@ -709,6 +944,7 @@ export declare const RepoChangesSchema: z.ZodObject<{
|
|
|
709
944
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
710
945
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
711
946
|
}, z.core.$strip>>;
|
|
947
|
+
truncated: z.ZodOptional<z.ZodNumber>;
|
|
712
948
|
remote: z.ZodOptional<z.ZodObject<{
|
|
713
949
|
remote: z.ZodOptional<z.ZodString>;
|
|
714
950
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -720,6 +956,11 @@ export declare const RepoChangesSchema: z.ZodObject<{
|
|
|
720
956
|
error: z.ZodOptional<z.ZodString>;
|
|
721
957
|
}, z.core.$strip>;
|
|
722
958
|
export type RepoChanges = z.infer<typeof RepoChangesSchema>;
|
|
959
|
+
export declare const OriginAgentSchema: z.ZodObject<{
|
|
960
|
+
title: z.ZodOptional<z.ZodString>;
|
|
961
|
+
provider: z.ZodString;
|
|
962
|
+
}, z.core.$strip>;
|
|
963
|
+
export type OriginAgent = z.infer<typeof OriginAgentSchema>;
|
|
723
964
|
export declare const GitChangesSchema: z.ZodObject<{
|
|
724
965
|
repos: z.ZodArray<z.ZodObject<{
|
|
725
966
|
repo: z.ZodString;
|
|
@@ -766,6 +1007,7 @@ export declare const GitChangesSchema: z.ZodObject<{
|
|
|
766
1007
|
additions: z.ZodOptional<z.ZodNumber>;
|
|
767
1008
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
768
1009
|
}, z.core.$strip>>;
|
|
1010
|
+
truncated: z.ZodOptional<z.ZodNumber>;
|
|
769
1011
|
remote: z.ZodOptional<z.ZodObject<{
|
|
770
1012
|
remote: z.ZodOptional<z.ZodString>;
|
|
771
1013
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -776,6 +1018,10 @@ export declare const GitChangesSchema: z.ZodObject<{
|
|
|
776
1018
|
origins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
777
1019
|
error: z.ZodOptional<z.ZodString>;
|
|
778
1020
|
}, z.core.$strip>>;
|
|
1021
|
+
originAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1022
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
provider: z.ZodString;
|
|
1024
|
+
}, z.core.$strip>>>;
|
|
779
1025
|
}, z.core.$strip>;
|
|
780
1026
|
export type GitChanges = z.infer<typeof GitChangesSchema>;
|
|
781
1027
|
export declare const AgentChangeSchema: z.ZodObject<{
|
|
@@ -834,6 +1080,18 @@ export declare const AgentChangesSchema: z.ZodObject<{
|
|
|
834
1080
|
landed: z.ZodBoolean;
|
|
835
1081
|
}, z.core.$strip>>;
|
|
836
1082
|
}, z.core.$strip>>;
|
|
1083
|
+
conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1084
|
+
repo: z.ZodString;
|
|
1085
|
+
paths: z.ZodArray<z.ZodObject<{
|
|
1086
|
+
path: z.ZodString;
|
|
1087
|
+
reason: z.ZodEnum<{
|
|
1088
|
+
binary: "binary";
|
|
1089
|
+
diverged: "diverged";
|
|
1090
|
+
workspace: "workspace";
|
|
1091
|
+
}>;
|
|
1092
|
+
}, z.core.$strip>>;
|
|
1093
|
+
clean: z.ZodNumber;
|
|
1094
|
+
}, z.core.$strip>>>;
|
|
837
1095
|
}, z.core.$strip>;
|
|
838
1096
|
export type AgentChanges = z.infer<typeof AgentChangesSchema>;
|
|
839
1097
|
export declare const GitCommitSchema: z.ZodObject<{
|
|
@@ -1013,7 +1271,6 @@ export declare const WorkspaceTreeEntrySchema: z.ZodObject<{
|
|
|
1013
1271
|
file: "file";
|
|
1014
1272
|
}>;
|
|
1015
1273
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1017
1274
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1018
1275
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1019
1276
|
}, z.core.$strip>;
|
|
@@ -1028,11 +1285,10 @@ export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
|
1028
1285
|
file: "file";
|
|
1029
1286
|
}>;
|
|
1030
1287
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1031
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1032
1288
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1033
1289
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1034
1290
|
}, z.core.$strip>>;
|
|
1035
|
-
|
|
1291
|
+
hidden: z.ZodNumber;
|
|
1036
1292
|
}, z.core.$strip>;
|
|
1037
1293
|
export type WorkspaceTree = z.infer<typeof WorkspaceTreeSchema>;
|
|
1038
1294
|
export declare const WorkspaceChildrenQuerySchema: z.ZodObject<{
|
|
@@ -1047,11 +1303,10 @@ export declare const WorkspaceChildrenSchema: z.ZodObject<{
|
|
|
1047
1303
|
file: "file";
|
|
1048
1304
|
}>;
|
|
1049
1305
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1050
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1051
1306
|
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1052
1307
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1053
1308
|
}, z.core.$strip>>;
|
|
1054
|
-
|
|
1309
|
+
hidden: z.ZodNumber;
|
|
1055
1310
|
}, z.core.$strip>;
|
|
1056
1311
|
export type WorkspaceChildren = z.infer<typeof WorkspaceChildrenSchema>;
|
|
1057
1312
|
export declare const WorkspaceFileQuerySchema: z.ZodObject<{
|
|
@@ -1242,6 +1497,59 @@ export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
|
1242
1497
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1243
1498
|
}, z.core.$strip>;
|
|
1244
1499
|
export type WorkspaceSearchResult = z.infer<typeof WorkspaceSearchResultSchema>;
|
|
1500
|
+
export declare const HEALTH_LIMIT = 20;
|
|
1501
|
+
export declare const WorkspaceHealthQuerySchema: z.ZodObject<{
|
|
1502
|
+
repo: z.ZodString;
|
|
1503
|
+
since: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1505
|
+
}, z.core.$strip>;
|
|
1506
|
+
export declare const WorkspaceHotspotSchema: z.ZodObject<{
|
|
1507
|
+
path: z.ZodString;
|
|
1508
|
+
commits: z.ZodNumber;
|
|
1509
|
+
adds: z.ZodNumber;
|
|
1510
|
+
dels: z.ZodNumber;
|
|
1511
|
+
complexity: z.ZodNumber;
|
|
1512
|
+
score: z.ZodNumber;
|
|
1513
|
+
latestMs: z.ZodNumber;
|
|
1514
|
+
}, z.core.$strip>;
|
|
1515
|
+
export type WorkspaceHotspot = z.infer<typeof WorkspaceHotspotSchema>;
|
|
1516
|
+
export declare const WorkspaceKeyModuleSchema: z.ZodObject<{
|
|
1517
|
+
path: z.ZodString;
|
|
1518
|
+
exports: z.ZodNumber;
|
|
1519
|
+
}, z.core.$strip>;
|
|
1520
|
+
export type WorkspaceKeyModule = z.infer<typeof WorkspaceKeyModuleSchema>;
|
|
1521
|
+
export declare const WorkspaceHealthSchema: z.ZodObject<{
|
|
1522
|
+
repo: z.ZodString;
|
|
1523
|
+
totals: z.ZodObject<{
|
|
1524
|
+
files: z.ZodNumber;
|
|
1525
|
+
symbols: z.ZodNumber;
|
|
1526
|
+
complexity: z.ZodNumber;
|
|
1527
|
+
hotspots: z.ZodNumber;
|
|
1528
|
+
}, z.core.$strip>;
|
|
1529
|
+
hotspots: z.ZodArray<z.ZodObject<{
|
|
1530
|
+
path: z.ZodString;
|
|
1531
|
+
commits: z.ZodNumber;
|
|
1532
|
+
adds: z.ZodNumber;
|
|
1533
|
+
dels: z.ZodNumber;
|
|
1534
|
+
complexity: z.ZodNumber;
|
|
1535
|
+
score: z.ZodNumber;
|
|
1536
|
+
latestMs: z.ZodNumber;
|
|
1537
|
+
}, z.core.$strip>>;
|
|
1538
|
+
modules: z.ZodArray<z.ZodObject<{
|
|
1539
|
+
path: z.ZodString;
|
|
1540
|
+
exports: z.ZodNumber;
|
|
1541
|
+
}, z.core.$strip>>;
|
|
1542
|
+
freshness: z.ZodObject<{
|
|
1543
|
+
state: z.ZodEnum<{
|
|
1544
|
+
building: "building";
|
|
1545
|
+
fresh: "fresh";
|
|
1546
|
+
stale: "stale";
|
|
1547
|
+
}>;
|
|
1548
|
+
ageMs: z.ZodOptional<z.ZodNumber>;
|
|
1549
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
1550
|
+
}, z.core.$strip>;
|
|
1551
|
+
}, z.core.$strip>;
|
|
1552
|
+
export type WorkspaceHealth = z.infer<typeof WorkspaceHealthSchema>;
|
|
1245
1553
|
export declare const ProjectSetupSchema: z.ZodObject<{
|
|
1246
1554
|
dir: z.ZodString;
|
|
1247
1555
|
ecosystem: z.ZodEnum<{
|
|
@@ -1363,7 +1671,7 @@ export declare const TemplatesListSchema: z.ZodObject<{
|
|
|
1363
1671
|
export type TemplatesList = z.infer<typeof TemplatesListSchema>;
|
|
1364
1672
|
export declare const RepoAppSchema: z.ZodObject<{
|
|
1365
1673
|
app: z.ZodString;
|
|
1366
|
-
|
|
1674
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1367
1675
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1368
1676
|
running: z.ZodBoolean;
|
|
1369
1677
|
healthy: z.ZodBoolean;
|
|
@@ -1372,7 +1680,7 @@ export type RepoApp = z.infer<typeof RepoAppSchema>;
|
|
|
1372
1680
|
export declare const AppsListSchema: z.ZodObject<{
|
|
1373
1681
|
apps: z.ZodArray<z.ZodObject<{
|
|
1374
1682
|
app: z.ZodString;
|
|
1375
|
-
|
|
1683
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1376
1684
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1377
1685
|
running: z.ZodBoolean;
|
|
1378
1686
|
healthy: z.ZodBoolean;
|
|
@@ -2211,6 +2519,7 @@ export declare const ExtensionSummarySchema: z.ZodObject<{
|
|
|
2211
2519
|
surface: z.ZodEnum<{
|
|
2212
2520
|
directory: "directory";
|
|
2213
2521
|
rail: "rail";
|
|
2522
|
+
sandbox: "sandbox";
|
|
2214
2523
|
}>;
|
|
2215
2524
|
}, z.core.$strip>>>;
|
|
2216
2525
|
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2328,6 +2637,7 @@ export declare const ExtensionsListSchema: z.ZodObject<{
|
|
|
2328
2637
|
surface: z.ZodEnum<{
|
|
2329
2638
|
directory: "directory";
|
|
2330
2639
|
rail: "rail";
|
|
2640
|
+
sandbox: "sandbox";
|
|
2331
2641
|
}>;
|
|
2332
2642
|
}, z.core.$strip>>>;
|
|
2333
2643
|
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2462,6 +2772,7 @@ export declare const WorkspaceEventSchema: z.ZodObject<{
|
|
|
2462
2772
|
error: "error";
|
|
2463
2773
|
idle: "idle";
|
|
2464
2774
|
landed: "landed";
|
|
2775
|
+
ready: "ready";
|
|
2465
2776
|
}>;
|
|
2466
2777
|
repos: z.ZodArray<z.ZodObject<{
|
|
2467
2778
|
repo: z.ZodString;
|
|
@@ -2755,6 +3066,7 @@ export declare const PanelSummarySchema: z.ZodObject<{
|
|
|
2755
3066
|
directoryUi: z.ZodBoolean;
|
|
2756
3067
|
monorepo: z.ZodBoolean;
|
|
2757
3068
|
vitest: z.ZodBoolean;
|
|
3069
|
+
userStories: z.ZodBoolean;
|
|
2758
3070
|
}, z.core.$strip>;
|
|
2759
3071
|
export type PanelSummary = z.infer<typeof PanelSummarySchema>;
|
|
2760
3072
|
export declare const PanelsListSchema: z.ZodObject<{
|
|
@@ -2775,6 +3087,7 @@ export declare const PanelsListSchema: z.ZodObject<{
|
|
|
2775
3087
|
directoryUi: z.ZodBoolean;
|
|
2776
3088
|
monorepo: z.ZodBoolean;
|
|
2777
3089
|
vitest: z.ZodBoolean;
|
|
3090
|
+
userStories: z.ZodBoolean;
|
|
2778
3091
|
}, z.core.$strip>>;
|
|
2779
3092
|
}, z.core.$strip>;
|
|
2780
3093
|
export type PanelsList = z.infer<typeof PanelsListSchema>;
|
|
@@ -2837,6 +3150,8 @@ export declare const TerminalSessionSchema: z.ZodObject<{
|
|
|
2837
3150
|
shell: "shell";
|
|
2838
3151
|
}>;
|
|
2839
3152
|
running: z.ZodBoolean;
|
|
3153
|
+
activityAt: z.ZodNumber;
|
|
3154
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2840
3155
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
2841
3156
|
processName: z.ZodOptional<z.ZodString>;
|
|
2842
3157
|
}, z.core.$strip>;
|
|
@@ -2852,6 +3167,8 @@ export declare const TerminalsListSchema: z.ZodObject<{
|
|
|
2852
3167
|
shell: "shell";
|
|
2853
3168
|
}>;
|
|
2854
3169
|
running: z.ZodBoolean;
|
|
3170
|
+
activityAt: z.ZodNumber;
|
|
3171
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2855
3172
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
2856
3173
|
processName: z.ZodOptional<z.ZodString>;
|
|
2857
3174
|
}, z.core.$strip>>;
|
|
@@ -2953,6 +3270,12 @@ export declare const InfoSchema: z.ZodObject<{
|
|
|
2953
3270
|
latest: z.ZodOptional<z.ZodString>;
|
|
2954
3271
|
updateAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
2955
3272
|
}, z.core.$strip>;
|
|
3273
|
+
export declare const DaemonSessionSchema: z.ZodObject<{
|
|
3274
|
+
token: z.ZodString;
|
|
3275
|
+
expiresAt: z.ZodNumber;
|
|
3276
|
+
email: z.ZodString;
|
|
3277
|
+
}, z.core.$strip>;
|
|
3278
|
+
export type DaemonSession = z.infer<typeof DaemonSessionSchema>;
|
|
2956
3279
|
export declare const HostTunnelInputSchema: z.ZodObject<{
|
|
2957
3280
|
hostName: z.ZodString;
|
|
2958
3281
|
}, z.core.$strip>;
|
|
@@ -3065,6 +3388,7 @@ export declare const UsageTurnSchema: z.ZodObject<{
|
|
|
3065
3388
|
cacheCreationTokens: z.ZodNumber;
|
|
3066
3389
|
costUsd: z.ZodNumber;
|
|
3067
3390
|
durationMs: z.ZodNumber;
|
|
3391
|
+
terse: z.ZodOptional<z.ZodBoolean>;
|
|
3068
3392
|
}, z.core.$strip>;
|
|
3069
3393
|
export type UsageTurn = z.infer<typeof UsageTurnSchema>;
|
|
3070
3394
|
export declare const UsageRollupRowSchema: z.ZodObject<{
|
|
@@ -3083,11 +3407,11 @@ export declare const UsageRollupRowSchema: z.ZodObject<{
|
|
|
3083
3407
|
durationMs: z.ZodNumber;
|
|
3084
3408
|
}, z.core.$strip>;
|
|
3085
3409
|
export type UsageRollupRow = z.infer<typeof UsageRollupRowSchema>;
|
|
3086
|
-
export declare const
|
|
3410
|
+
export declare const DayWindowQuerySchema: z.ZodObject<{
|
|
3087
3411
|
from: z.ZodOptional<z.ZodString>;
|
|
3088
3412
|
to: z.ZodOptional<z.ZodString>;
|
|
3089
3413
|
}, z.core.$strip>;
|
|
3090
|
-
export type
|
|
3414
|
+
export type DayWindowQuery = z.infer<typeof DayWindowQuerySchema>;
|
|
3091
3415
|
export declare const UsageRollupSchema: z.ZodObject<{
|
|
3092
3416
|
rows: z.ZodArray<z.ZodObject<{
|
|
3093
3417
|
day: z.ZodString;
|
|
@@ -3152,6 +3476,38 @@ export declare const LogReadSchema: z.ZodObject<{
|
|
|
3152
3476
|
truncated: z.ZodBoolean;
|
|
3153
3477
|
}, z.core.$strip>;
|
|
3154
3478
|
export type LogRead = z.infer<typeof LogReadSchema>;
|
|
3479
|
+
export declare const MemoryFileEntrySchema: z.ZodObject<{
|
|
3480
|
+
project: z.ZodString;
|
|
3481
|
+
name: z.ZodString;
|
|
3482
|
+
sizeBytes: z.ZodNumber;
|
|
3483
|
+
modifiedAt: z.ZodNumber;
|
|
3484
|
+
}, z.core.$strip>;
|
|
3485
|
+
export type MemoryFileEntry = z.infer<typeof MemoryFileEntrySchema>;
|
|
3486
|
+
export declare const MemoryListSchema: z.ZodObject<{
|
|
3487
|
+
files: z.ZodArray<z.ZodObject<{
|
|
3488
|
+
project: z.ZodString;
|
|
3489
|
+
name: z.ZodString;
|
|
3490
|
+
sizeBytes: z.ZodNumber;
|
|
3491
|
+
modifiedAt: z.ZodNumber;
|
|
3492
|
+
}, z.core.$strip>>;
|
|
3493
|
+
}, z.core.$strip>;
|
|
3494
|
+
export declare const MemoryFileQuerySchema: z.ZodObject<{
|
|
3495
|
+
project: z.ZodString;
|
|
3496
|
+
name: z.ZodString;
|
|
3497
|
+
}, z.core.$strip>;
|
|
3498
|
+
export declare const MemoryFileSchema: z.ZodObject<{
|
|
3499
|
+
project: z.ZodString;
|
|
3500
|
+
name: z.ZodString;
|
|
3501
|
+
content: z.ZodString;
|
|
3502
|
+
sizeBytes: z.ZodNumber;
|
|
3503
|
+
modifiedAt: z.ZodNumber;
|
|
3504
|
+
}, z.core.$strip>;
|
|
3505
|
+
export type MemoryFile = z.infer<typeof MemoryFileSchema>;
|
|
3506
|
+
export declare const MemoryWriteSchema: z.ZodObject<{
|
|
3507
|
+
project: z.ZodString;
|
|
3508
|
+
name: z.ZodString;
|
|
3509
|
+
content: z.ZodString;
|
|
3510
|
+
}, z.core.$strip>;
|
|
3155
3511
|
export declare const PresenceReportSchema: z.ZodObject<{
|
|
3156
3512
|
clientId: z.ZodString;
|
|
3157
3513
|
idle: z.ZodBoolean;
|
|
@@ -3186,4 +3542,8 @@ export declare const PushEndpointSchema: z.ZodObject<{
|
|
|
3186
3542
|
export declare const PushConfigQuerySchema: z.ZodObject<{
|
|
3187
3543
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
3188
3544
|
}, z.core.$strip>;
|
|
3545
|
+
export declare const PushTestSchema: z.ZodObject<{
|
|
3546
|
+
delivered: z.ZodNumber;
|
|
3547
|
+
}, z.core.$strip>;
|
|
3548
|
+
export type PushTest = z.infer<typeof PushTestSchema>;
|
|
3189
3549
|
//# sourceMappingURL=schemas.d.ts.map
|