@kmmao/happy-wire 0.16.2 → 0.17.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/index.cjs +19 -3
- package/dist/index.d.cts +67 -51
- package/dist/index.d.mts +67 -51
- package/dist/index.mjs +19 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -622,8 +622,10 @@ const KnowledgeEntryTypeSchema = z__namespace.enum([
|
|
|
622
622
|
// Bug fix record
|
|
623
623
|
"convention",
|
|
624
624
|
// Code convention / process rule
|
|
625
|
-
"warning"
|
|
625
|
+
"warning",
|
|
626
626
|
// Known pitfall or gotcha
|
|
627
|
+
"repo_map"
|
|
628
|
+
// Static repo structure snapshot (file tree + key exports)
|
|
627
629
|
]);
|
|
628
630
|
const KnowledgeContributorTypeSchema = z__namespace.enum([
|
|
629
631
|
"session",
|
|
@@ -793,6 +795,11 @@ const VoiceTokenResponseSchema = z__namespace.discriminatedUnion("allowed", [
|
|
|
793
795
|
VoiceTokenAllowedSchema,
|
|
794
796
|
VoiceTokenDeniedSchema
|
|
795
797
|
]);
|
|
798
|
+
const LiveKitTokenResponseSchema = z__namespace.object({
|
|
799
|
+
token: z__namespace.string(),
|
|
800
|
+
url: z__namespace.string(),
|
|
801
|
+
roomName: z__namespace.string()
|
|
802
|
+
});
|
|
796
803
|
|
|
797
804
|
const CODEX_APP_SERVER_BACKEND = "codex-app-server";
|
|
798
805
|
const CODEX_MCP_LEGACY_BACKEND = "codex-mcp-legacy";
|
|
@@ -1451,7 +1458,11 @@ const CreateTaskBodySchema = z__namespace.object({
|
|
|
1451
1458
|
// "anthropic" or AiBackendProfile.profileKey for the account. Optional:
|
|
1452
1459
|
// when omitted the server falls back to Project.supervisorConfig.defaultProfileId
|
|
1453
1460
|
// via the unified runtimeProfileResolver (feature-flagged).
|
|
1454
|
-
profileId: z__namespace.string().optional()
|
|
1461
|
+
profileId: z__namespace.string().optional(),
|
|
1462
|
+
// When true, the CLI creates a dedicated git worktree at execution time
|
|
1463
|
+
// instead of the App creating one upfront. Enables isolation for cron/webhook
|
|
1464
|
+
// triggered tasks as well as manual tasks (wire 0.17.0+).
|
|
1465
|
+
worktreeIsolation: z__namespace.boolean().optional()
|
|
1455
1466
|
});
|
|
1456
1467
|
const TaskTriggerDataSchema = z__namespace.object({
|
|
1457
1468
|
type: z__namespace.literal("task-trigger"),
|
|
@@ -1478,7 +1489,11 @@ const TaskTriggerDataSchema = z__namespace.object({
|
|
|
1478
1489
|
// backward compatibility; starting from wire 0.14.0 + server unified resolver
|
|
1479
1490
|
// these are always populated for scheduled/webhook/manual tasks.
|
|
1480
1491
|
profileId: z__namespace.string().optional(),
|
|
1481
|
-
runtimeProfile: ResolvedRuntimeProfileSchema.optional()
|
|
1492
|
+
runtimeProfile: ResolvedRuntimeProfileSchema.optional(),
|
|
1493
|
+
// When true, the CLI creates a dedicated git worktree from `directory` at
|
|
1494
|
+
// execution time rather than running directly in `directory`. Optional for
|
|
1495
|
+
// backward compatibility (wire 0.17.0+).
|
|
1496
|
+
worktreeIsolation: z__namespace.boolean().optional()
|
|
1482
1497
|
});
|
|
1483
1498
|
const TaskOutcomeSchema = z__namespace.enum([
|
|
1484
1499
|
"completed",
|
|
@@ -2216,6 +2231,7 @@ exports.KnowledgeInjectionRequestSchema = KnowledgeInjectionRequestSchema;
|
|
|
2216
2231
|
exports.KnowledgeInjectionResponseSchema = KnowledgeInjectionResponseSchema;
|
|
2217
2232
|
exports.KnowledgeStatusSchema = KnowledgeStatusSchema;
|
|
2218
2233
|
exports.LegacyMessageContentSchema = LegacyMessageContentSchema;
|
|
2234
|
+
exports.LiveKitTokenResponseSchema = LiveKitTokenResponseSchema;
|
|
2219
2235
|
exports.MachineMetadataSchema = MachineMetadataSchema;
|
|
2220
2236
|
exports.McpCallRequestSchema = McpCallRequestSchema;
|
|
2221
2237
|
exports.McpCallResponseSchema = McpCallResponseSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -181,8 +181,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
181
181
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
182
|
t: z.ZodLiteral<"session-state-changed">;
|
|
183
183
|
state: z.ZodEnum<{
|
|
184
|
-
running: "running";
|
|
185
184
|
idle: "idle";
|
|
185
|
+
running: "running";
|
|
186
186
|
requires_action: "requires_action";
|
|
187
187
|
}>;
|
|
188
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -439,8 +439,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
439
439
|
}, z.core.$strip>, z.ZodObject<{
|
|
440
440
|
t: z.ZodLiteral<"session-state-changed">;
|
|
441
441
|
state: z.ZodEnum<{
|
|
442
|
-
running: "running";
|
|
443
442
|
idle: "idle";
|
|
443
|
+
running: "running";
|
|
444
444
|
requires_action: "requires_action";
|
|
445
445
|
}>;
|
|
446
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1077,8 +1077,8 @@ declare const sessionNeedsContinueEventSchema: z.ZodObject<{
|
|
|
1077
1077
|
declare const sessionStateChangedEventSchema: z.ZodObject<{
|
|
1078
1078
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1079
1079
|
state: z.ZodEnum<{
|
|
1080
|
-
running: "running";
|
|
1081
1080
|
idle: "idle";
|
|
1081
|
+
running: "running";
|
|
1082
1082
|
requires_action: "requires_action";
|
|
1083
1083
|
}>;
|
|
1084
1084
|
}, z.core.$strip>;
|
|
@@ -1239,8 +1239,8 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1239
1239
|
}, z.core.$strip>, z.ZodObject<{
|
|
1240
1240
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1241
1241
|
state: z.ZodEnum<{
|
|
1242
|
-
running: "running";
|
|
1243
1242
|
idle: "idle";
|
|
1243
|
+
running: "running";
|
|
1244
1244
|
requires_action: "requires_action";
|
|
1245
1245
|
}>;
|
|
1246
1246
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1403,8 +1403,8 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
1403
1403
|
}, z.core.$strip>, z.ZodObject<{
|
|
1404
1404
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1405
1405
|
state: z.ZodEnum<{
|
|
1406
|
-
running: "running";
|
|
1407
1406
|
idle: "idle";
|
|
1407
|
+
running: "running";
|
|
1408
1408
|
requires_action: "requires_action";
|
|
1409
1409
|
}>;
|
|
1410
1410
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1564,46 +1564,46 @@ declare const TunnelStateSchema: z.ZodObject<{
|
|
|
1564
1564
|
}, z.core.$strip>;
|
|
1565
1565
|
type TunnelState = z.infer<typeof TunnelStateSchema>;
|
|
1566
1566
|
declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
1567
|
-
urgent: "urgent";
|
|
1568
1567
|
user: "user";
|
|
1568
|
+
urgent: "urgent";
|
|
1569
1569
|
background: "background";
|
|
1570
1570
|
}>;
|
|
1571
1571
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
1572
1572
|
declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
1573
|
-
supervisor: "supervisor";
|
|
1574
1573
|
webhook: "webhook";
|
|
1574
|
+
supervisor: "supervisor";
|
|
1575
1575
|
agent_loop: "agent_loop";
|
|
1576
1576
|
task: "task";
|
|
1577
1577
|
}>;
|
|
1578
1578
|
type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
|
|
1579
1579
|
declare const AutomationJobStatusSchema: z.ZodEnum<{
|
|
1580
|
-
queued: "queued";
|
|
1581
|
-
dispatching: "dispatching";
|
|
1582
|
-
running: "running";
|
|
1583
1580
|
completed: "completed";
|
|
1584
1581
|
failed: "failed";
|
|
1585
1582
|
cancelled: "cancelled";
|
|
1583
|
+
running: "running";
|
|
1584
|
+
queued: "queued";
|
|
1585
|
+
dispatching: "dispatching";
|
|
1586
1586
|
}>;
|
|
1587
1587
|
type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
1588
1588
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
1589
1589
|
id: z.ZodString;
|
|
1590
1590
|
kind: z.ZodEnum<{
|
|
1591
|
-
supervisor: "supervisor";
|
|
1592
1591
|
webhook: "webhook";
|
|
1592
|
+
supervisor: "supervisor";
|
|
1593
1593
|
agent_loop: "agent_loop";
|
|
1594
1594
|
task: "task";
|
|
1595
1595
|
}>;
|
|
1596
1596
|
status: z.ZodEnum<{
|
|
1597
|
-
queued: "queued";
|
|
1598
|
-
dispatching: "dispatching";
|
|
1599
|
-
running: "running";
|
|
1600
1597
|
completed: "completed";
|
|
1601
1598
|
failed: "failed";
|
|
1602
1599
|
cancelled: "cancelled";
|
|
1600
|
+
running: "running";
|
|
1601
|
+
queued: "queued";
|
|
1602
|
+
dispatching: "dispatching";
|
|
1603
1603
|
}>;
|
|
1604
1604
|
priority: z.ZodEnum<{
|
|
1605
|
-
urgent: "urgent";
|
|
1606
1605
|
user: "user";
|
|
1606
|
+
urgent: "urgent";
|
|
1607
1607
|
background: "background";
|
|
1608
1608
|
}>;
|
|
1609
1609
|
dedupeKey: z.ZodString;
|
|
@@ -1751,22 +1751,22 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1751
1751
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1752
1752
|
id: z.ZodString;
|
|
1753
1753
|
kind: z.ZodEnum<{
|
|
1754
|
-
supervisor: "supervisor";
|
|
1755
1754
|
webhook: "webhook";
|
|
1755
|
+
supervisor: "supervisor";
|
|
1756
1756
|
agent_loop: "agent_loop";
|
|
1757
1757
|
task: "task";
|
|
1758
1758
|
}>;
|
|
1759
1759
|
status: z.ZodEnum<{
|
|
1760
|
-
queued: "queued";
|
|
1761
|
-
dispatching: "dispatching";
|
|
1762
|
-
running: "running";
|
|
1763
1760
|
completed: "completed";
|
|
1764
1761
|
failed: "failed";
|
|
1765
1762
|
cancelled: "cancelled";
|
|
1763
|
+
running: "running";
|
|
1764
|
+
queued: "queued";
|
|
1765
|
+
dispatching: "dispatching";
|
|
1766
1766
|
}>;
|
|
1767
1767
|
priority: z.ZodEnum<{
|
|
1768
|
-
urgent: "urgent";
|
|
1769
1768
|
user: "user";
|
|
1769
|
+
urgent: "urgent";
|
|
1770
1770
|
background: "background";
|
|
1771
1771
|
}>;
|
|
1772
1772
|
dedupeKey: z.ZodString;
|
|
@@ -1993,22 +1993,22 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1993
1993
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1994
1994
|
id: z.ZodString;
|
|
1995
1995
|
kind: z.ZodEnum<{
|
|
1996
|
-
supervisor: "supervisor";
|
|
1997
1996
|
webhook: "webhook";
|
|
1997
|
+
supervisor: "supervisor";
|
|
1998
1998
|
agent_loop: "agent_loop";
|
|
1999
1999
|
task: "task";
|
|
2000
2000
|
}>;
|
|
2001
2001
|
status: z.ZodEnum<{
|
|
2002
|
-
queued: "queued";
|
|
2003
|
-
dispatching: "dispatching";
|
|
2004
|
-
running: "running";
|
|
2005
2002
|
completed: "completed";
|
|
2006
2003
|
failed: "failed";
|
|
2007
2004
|
cancelled: "cancelled";
|
|
2005
|
+
running: "running";
|
|
2006
|
+
queued: "queued";
|
|
2007
|
+
dispatching: "dispatching";
|
|
2008
2008
|
}>;
|
|
2009
2009
|
priority: z.ZodEnum<{
|
|
2010
|
-
urgent: "urgent";
|
|
2011
2010
|
user: "user";
|
|
2011
|
+
urgent: "urgent";
|
|
2012
2012
|
background: "background";
|
|
2013
2013
|
}>;
|
|
2014
2014
|
dedupeKey: z.ZodString;
|
|
@@ -2158,12 +2158,13 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2158
2158
|
fix: "fix";
|
|
2159
2159
|
convention: "convention";
|
|
2160
2160
|
warning: "warning";
|
|
2161
|
+
repo_map: "repo_map";
|
|
2161
2162
|
}>;
|
|
2162
2163
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2163
2164
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2164
2165
|
user: "user";
|
|
2165
|
-
supervisor: "supervisor";
|
|
2166
2166
|
session: "session";
|
|
2167
|
+
supervisor: "supervisor";
|
|
2167
2168
|
}>;
|
|
2168
2169
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2169
2170
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2192,11 +2193,12 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2192
2193
|
fix: "fix";
|
|
2193
2194
|
convention: "convention";
|
|
2194
2195
|
warning: "warning";
|
|
2196
|
+
repo_map: "repo_map";
|
|
2195
2197
|
}>;
|
|
2196
2198
|
contributorType: z.ZodEnum<{
|
|
2197
2199
|
user: "user";
|
|
2198
|
-
supervisor: "supervisor";
|
|
2199
2200
|
session: "session";
|
|
2201
|
+
supervisor: "supervisor";
|
|
2200
2202
|
}>;
|
|
2201
2203
|
action: z.ZodEnum<{
|
|
2202
2204
|
create: "create";
|
|
@@ -2248,6 +2250,7 @@ declare const QueryKnowledgeParamsSchema: z.ZodObject<{
|
|
|
2248
2250
|
fix: "fix";
|
|
2249
2251
|
convention: "convention";
|
|
2250
2252
|
warning: "warning";
|
|
2253
|
+
repo_map: "repo_map";
|
|
2251
2254
|
}>>;
|
|
2252
2255
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2253
2256
|
active: "active";
|
|
@@ -2301,6 +2304,7 @@ declare const KnowledgeInjectionResponseSchema: z.ZodObject<{
|
|
|
2301
2304
|
fix: "fix";
|
|
2302
2305
|
convention: "convention";
|
|
2303
2306
|
warning: "warning";
|
|
2307
|
+
repo_map: "repo_map";
|
|
2304
2308
|
}>;
|
|
2305
2309
|
title: z.ZodString;
|
|
2306
2310
|
content: z.ZodString;
|
|
@@ -2331,6 +2335,7 @@ declare const KnowledgeChainEntrySchema: z.ZodObject<{
|
|
|
2331
2335
|
fix: "fix";
|
|
2332
2336
|
convention: "convention";
|
|
2333
2337
|
warning: "warning";
|
|
2338
|
+
repo_map: "repo_map";
|
|
2334
2339
|
}>;
|
|
2335
2340
|
action: z.ZodEnum<{
|
|
2336
2341
|
create: "create";
|
|
@@ -2364,6 +2369,7 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
|
|
|
2364
2369
|
fix: "fix";
|
|
2365
2370
|
convention: "convention";
|
|
2366
2371
|
warning: "warning";
|
|
2372
|
+
repo_map: "repo_map";
|
|
2367
2373
|
}>;
|
|
2368
2374
|
action: z.ZodEnum<{
|
|
2369
2375
|
create: "create";
|
|
@@ -2407,6 +2413,7 @@ declare const CrossProjectSearchResultSchema: z.ZodObject<{
|
|
|
2407
2413
|
fix: "fix";
|
|
2408
2414
|
convention: "convention";
|
|
2409
2415
|
warning: "warning";
|
|
2416
|
+
repo_map: "repo_map";
|
|
2410
2417
|
}>;
|
|
2411
2418
|
title: z.ZodString;
|
|
2412
2419
|
content: z.ZodString;
|
|
@@ -2431,6 +2438,7 @@ declare const CrossProjectSearchResponseSchema: z.ZodObject<{
|
|
|
2431
2438
|
fix: "fix";
|
|
2432
2439
|
convention: "convention";
|
|
2433
2440
|
warning: "warning";
|
|
2441
|
+
repo_map: "repo_map";
|
|
2434
2442
|
}>;
|
|
2435
2443
|
title: z.ZodString;
|
|
2436
2444
|
content: z.ZodString;
|
|
@@ -2502,27 +2510,33 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2502
2510
|
limitSeconds: z.ZodNumber;
|
|
2503
2511
|
agentId: z.ZodString;
|
|
2504
2512
|
}, z.core.$strip>], "allowed">;
|
|
2513
|
+
declare const LiveKitTokenResponseSchema: z.ZodObject<{
|
|
2514
|
+
token: z.ZodString;
|
|
2515
|
+
url: z.ZodString;
|
|
2516
|
+
roomName: z.ZodString;
|
|
2517
|
+
}, z.core.$strip>;
|
|
2505
2518
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2519
|
+
type LiveKitTokenResponse = z.infer<typeof LiveKitTokenResponseSchema>;
|
|
2506
2520
|
|
|
2507
2521
|
declare const TaskPrioritySchema: z.ZodEnum<{
|
|
2508
|
-
urgent: "urgent";
|
|
2509
2522
|
user: "user";
|
|
2523
|
+
urgent: "urgent";
|
|
2510
2524
|
background: "background";
|
|
2511
2525
|
}>;
|
|
2512
2526
|
type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
2513
2527
|
declare const TaskStatusSchema: z.ZodEnum<{
|
|
2514
|
-
queued: "queued";
|
|
2515
|
-
dispatching: "dispatching";
|
|
2516
|
-
running: "running";
|
|
2517
2528
|
completed: "completed";
|
|
2518
2529
|
failed: "failed";
|
|
2519
2530
|
cancelled: "cancelled";
|
|
2531
|
+
running: "running";
|
|
2532
|
+
queued: "queued";
|
|
2533
|
+
dispatching: "dispatching";
|
|
2520
2534
|
}>;
|
|
2521
2535
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2522
2536
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
2523
|
-
webhook: "webhook";
|
|
2524
2537
|
manual: "manual";
|
|
2525
2538
|
cron: "cron";
|
|
2539
|
+
webhook: "webhook";
|
|
2526
2540
|
}>;
|
|
2527
2541
|
type TaskTriggerType = z.infer<typeof TaskTriggerTypeSchema>;
|
|
2528
2542
|
declare const TaskSummarySchema: z.ZodObject<{
|
|
@@ -2530,22 +2544,22 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2530
2544
|
projectId: z.ZodNullable<z.ZodString>;
|
|
2531
2545
|
machineId: z.ZodString;
|
|
2532
2546
|
priority: z.ZodEnum<{
|
|
2533
|
-
urgent: "urgent";
|
|
2534
2547
|
user: "user";
|
|
2548
|
+
urgent: "urgent";
|
|
2535
2549
|
background: "background";
|
|
2536
2550
|
}>;
|
|
2537
2551
|
status: z.ZodEnum<{
|
|
2538
|
-
queued: "queued";
|
|
2539
|
-
dispatching: "dispatching";
|
|
2540
|
-
running: "running";
|
|
2541
2552
|
completed: "completed";
|
|
2542
2553
|
failed: "failed";
|
|
2543
2554
|
cancelled: "cancelled";
|
|
2555
|
+
running: "running";
|
|
2556
|
+
queued: "queued";
|
|
2557
|
+
dispatching: "dispatching";
|
|
2544
2558
|
}>;
|
|
2545
2559
|
triggerType: z.ZodEnum<{
|
|
2546
|
-
webhook: "webhook";
|
|
2547
2560
|
manual: "manual";
|
|
2548
2561
|
cron: "cron";
|
|
2562
|
+
webhook: "webhook";
|
|
2549
2563
|
}>;
|
|
2550
2564
|
triggerRef: z.ZodOptional<z.ZodString>;
|
|
2551
2565
|
attempt: z.ZodNumber;
|
|
@@ -2565,13 +2579,14 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2565
2579
|
machineId: z.ZodString;
|
|
2566
2580
|
prompt: z.ZodString;
|
|
2567
2581
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
2568
|
-
urgent: "urgent";
|
|
2569
2582
|
user: "user";
|
|
2583
|
+
urgent: "urgent";
|
|
2570
2584
|
background: "background";
|
|
2571
2585
|
}>>;
|
|
2572
2586
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
2573
2587
|
skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2574
2588
|
profileId: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
worktreeIsolation: z.ZodOptional<z.ZodBoolean>;
|
|
2575
2590
|
}, z.core.$strip>;
|
|
2576
2591
|
type CreateTaskBody = z.infer<typeof CreateTaskBodySchema>;
|
|
2577
2592
|
declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
@@ -2580,8 +2595,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2580
2595
|
prompt: z.ZodString;
|
|
2581
2596
|
directory: z.ZodString;
|
|
2582
2597
|
priority: z.ZodEnum<{
|
|
2583
|
-
urgent: "urgent";
|
|
2584
2598
|
user: "user";
|
|
2599
|
+
urgent: "urgent";
|
|
2585
2600
|
background: "background";
|
|
2586
2601
|
}>;
|
|
2587
2602
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2637,6 +2652,7 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2637
2652
|
}>>;
|
|
2638
2653
|
defaultModelMode: z.ZodOptional<z.ZodString>;
|
|
2639
2654
|
}, z.core.$strip>>;
|
|
2655
|
+
worktreeIsolation: z.ZodOptional<z.ZodBoolean>;
|
|
2640
2656
|
}, z.core.$strip>;
|
|
2641
2657
|
type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
2642
2658
|
declare const TaskOutcomeSchema: z.ZodEnum<{
|
|
@@ -2648,12 +2664,12 @@ type TaskOutcome = z.infer<typeof TaskOutcomeSchema>;
|
|
|
2648
2664
|
declare const TaskStatusReportSchema: z.ZodObject<{
|
|
2649
2665
|
taskId: z.ZodString;
|
|
2650
2666
|
status: z.ZodEnum<{
|
|
2651
|
-
queued: "queued";
|
|
2652
|
-
dispatching: "dispatching";
|
|
2653
|
-
running: "running";
|
|
2654
2667
|
completed: "completed";
|
|
2655
2668
|
failed: "failed";
|
|
2656
2669
|
cancelled: "cancelled";
|
|
2670
|
+
running: "running";
|
|
2671
|
+
queued: "queued";
|
|
2672
|
+
dispatching: "dispatching";
|
|
2657
2673
|
}>;
|
|
2658
2674
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
2659
2675
|
completed: "completed";
|
|
@@ -2669,12 +2685,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
|
|
|
2669
2685
|
taskId: z.ZodString;
|
|
2670
2686
|
machineId: z.ZodOptional<z.ZodString>;
|
|
2671
2687
|
status: z.ZodEnum<{
|
|
2672
|
-
queued: "queued";
|
|
2673
|
-
dispatching: "dispatching";
|
|
2674
|
-
running: "running";
|
|
2675
2688
|
completed: "completed";
|
|
2676
2689
|
failed: "failed";
|
|
2677
2690
|
cancelled: "cancelled";
|
|
2691
|
+
running: "running";
|
|
2692
|
+
queued: "queued";
|
|
2693
|
+
dispatching: "dispatching";
|
|
2678
2694
|
}>;
|
|
2679
2695
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2680
2696
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2719,10 +2735,10 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2719
2735
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2720
2736
|
|
|
2721
2737
|
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2738
|
+
session: "session";
|
|
2722
2739
|
supervisor: "supervisor";
|
|
2723
2740
|
task: "task";
|
|
2724
2741
|
trigger: "trigger";
|
|
2725
|
-
session: "session";
|
|
2726
2742
|
knowledge: "knowledge";
|
|
2727
2743
|
system: "system";
|
|
2728
2744
|
}>;
|
|
@@ -2736,10 +2752,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
|
2736
2752
|
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2737
2753
|
id: z.ZodString;
|
|
2738
2754
|
category: z.ZodEnum<{
|
|
2755
|
+
session: "session";
|
|
2739
2756
|
supervisor: "supervisor";
|
|
2740
2757
|
task: "task";
|
|
2741
2758
|
trigger: "trigger";
|
|
2742
|
-
session: "session";
|
|
2743
2759
|
knowledge: "knowledge";
|
|
2744
2760
|
system: "system";
|
|
2745
2761
|
}>;
|
|
@@ -2764,10 +2780,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
|
|
|
2764
2780
|
item: z.ZodObject<{
|
|
2765
2781
|
id: z.ZodString;
|
|
2766
2782
|
category: z.ZodEnum<{
|
|
2783
|
+
session: "session";
|
|
2767
2784
|
supervisor: "supervisor";
|
|
2768
2785
|
task: "task";
|
|
2769
2786
|
trigger: "trigger";
|
|
2770
|
-
session: "session";
|
|
2771
2787
|
knowledge: "knowledge";
|
|
2772
2788
|
system: "system";
|
|
2773
2789
|
}>;
|
|
@@ -3702,8 +3718,8 @@ declare const GetMcpServersResponseSchema: z$1.ZodObject<{
|
|
|
3702
3718
|
servers: z$1.ZodArray<z$1.ZodObject<{
|
|
3703
3719
|
name: z$1.ZodString;
|
|
3704
3720
|
status: z$1.ZodEnum<{
|
|
3705
|
-
connected: "connected";
|
|
3706
3721
|
failed: "failed";
|
|
3722
|
+
connected: "connected";
|
|
3707
3723
|
pending: "pending";
|
|
3708
3724
|
"needs-auth": "needs-auth";
|
|
3709
3725
|
disabled: "disabled";
|
|
@@ -3730,5 +3746,5 @@ type GetMcpServersResponse = z$1.infer<typeof GetMcpServersResponseSchema>;
|
|
|
3730
3746
|
declare const CLAUDE_CONTROL_METHODS: readonly ["get_session_cost", "get_binary_version", "set_color", "read_file", "mcp_call", "get_context_usage", "get_mcp_servers"];
|
|
3731
3747
|
type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
|
|
3732
3748
|
|
|
3733
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3734
|
-
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetContextUsageRequest, GetContextUsageResponse, GetMcpServersRequest, GetMcpServersResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
|
3749
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, LiveKitTokenResponseSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3750
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetContextUsageRequest, GetContextUsageResponse, GetMcpServersRequest, GetMcpServersResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, LiveKitTokenResponse, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.d.mts
CHANGED
|
@@ -181,8 +181,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
181
181
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
182
|
t: z.ZodLiteral<"session-state-changed">;
|
|
183
183
|
state: z.ZodEnum<{
|
|
184
|
-
running: "running";
|
|
185
184
|
idle: "idle";
|
|
185
|
+
running: "running";
|
|
186
186
|
requires_action: "requires_action";
|
|
187
187
|
}>;
|
|
188
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -439,8 +439,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
439
439
|
}, z.core.$strip>, z.ZodObject<{
|
|
440
440
|
t: z.ZodLiteral<"session-state-changed">;
|
|
441
441
|
state: z.ZodEnum<{
|
|
442
|
-
running: "running";
|
|
443
442
|
idle: "idle";
|
|
443
|
+
running: "running";
|
|
444
444
|
requires_action: "requires_action";
|
|
445
445
|
}>;
|
|
446
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1077,8 +1077,8 @@ declare const sessionNeedsContinueEventSchema: z.ZodObject<{
|
|
|
1077
1077
|
declare const sessionStateChangedEventSchema: z.ZodObject<{
|
|
1078
1078
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1079
1079
|
state: z.ZodEnum<{
|
|
1080
|
-
running: "running";
|
|
1081
1080
|
idle: "idle";
|
|
1081
|
+
running: "running";
|
|
1082
1082
|
requires_action: "requires_action";
|
|
1083
1083
|
}>;
|
|
1084
1084
|
}, z.core.$strip>;
|
|
@@ -1239,8 +1239,8 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1239
1239
|
}, z.core.$strip>, z.ZodObject<{
|
|
1240
1240
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1241
1241
|
state: z.ZodEnum<{
|
|
1242
|
-
running: "running";
|
|
1243
1242
|
idle: "idle";
|
|
1243
|
+
running: "running";
|
|
1244
1244
|
requires_action: "requires_action";
|
|
1245
1245
|
}>;
|
|
1246
1246
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1403,8 +1403,8 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
1403
1403
|
}, z.core.$strip>, z.ZodObject<{
|
|
1404
1404
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1405
1405
|
state: z.ZodEnum<{
|
|
1406
|
-
running: "running";
|
|
1407
1406
|
idle: "idle";
|
|
1407
|
+
running: "running";
|
|
1408
1408
|
requires_action: "requires_action";
|
|
1409
1409
|
}>;
|
|
1410
1410
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1564,46 +1564,46 @@ declare const TunnelStateSchema: z.ZodObject<{
|
|
|
1564
1564
|
}, z.core.$strip>;
|
|
1565
1565
|
type TunnelState = z.infer<typeof TunnelStateSchema>;
|
|
1566
1566
|
declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
1567
|
-
urgent: "urgent";
|
|
1568
1567
|
user: "user";
|
|
1568
|
+
urgent: "urgent";
|
|
1569
1569
|
background: "background";
|
|
1570
1570
|
}>;
|
|
1571
1571
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
1572
1572
|
declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
1573
|
-
supervisor: "supervisor";
|
|
1574
1573
|
webhook: "webhook";
|
|
1574
|
+
supervisor: "supervisor";
|
|
1575
1575
|
agent_loop: "agent_loop";
|
|
1576
1576
|
task: "task";
|
|
1577
1577
|
}>;
|
|
1578
1578
|
type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
|
|
1579
1579
|
declare const AutomationJobStatusSchema: z.ZodEnum<{
|
|
1580
|
-
queued: "queued";
|
|
1581
|
-
dispatching: "dispatching";
|
|
1582
|
-
running: "running";
|
|
1583
1580
|
completed: "completed";
|
|
1584
1581
|
failed: "failed";
|
|
1585
1582
|
cancelled: "cancelled";
|
|
1583
|
+
running: "running";
|
|
1584
|
+
queued: "queued";
|
|
1585
|
+
dispatching: "dispatching";
|
|
1586
1586
|
}>;
|
|
1587
1587
|
type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
1588
1588
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
1589
1589
|
id: z.ZodString;
|
|
1590
1590
|
kind: z.ZodEnum<{
|
|
1591
|
-
supervisor: "supervisor";
|
|
1592
1591
|
webhook: "webhook";
|
|
1592
|
+
supervisor: "supervisor";
|
|
1593
1593
|
agent_loop: "agent_loop";
|
|
1594
1594
|
task: "task";
|
|
1595
1595
|
}>;
|
|
1596
1596
|
status: z.ZodEnum<{
|
|
1597
|
-
queued: "queued";
|
|
1598
|
-
dispatching: "dispatching";
|
|
1599
|
-
running: "running";
|
|
1600
1597
|
completed: "completed";
|
|
1601
1598
|
failed: "failed";
|
|
1602
1599
|
cancelled: "cancelled";
|
|
1600
|
+
running: "running";
|
|
1601
|
+
queued: "queued";
|
|
1602
|
+
dispatching: "dispatching";
|
|
1603
1603
|
}>;
|
|
1604
1604
|
priority: z.ZodEnum<{
|
|
1605
|
-
urgent: "urgent";
|
|
1606
1605
|
user: "user";
|
|
1606
|
+
urgent: "urgent";
|
|
1607
1607
|
background: "background";
|
|
1608
1608
|
}>;
|
|
1609
1609
|
dedupeKey: z.ZodString;
|
|
@@ -1751,22 +1751,22 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1751
1751
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1752
1752
|
id: z.ZodString;
|
|
1753
1753
|
kind: z.ZodEnum<{
|
|
1754
|
-
supervisor: "supervisor";
|
|
1755
1754
|
webhook: "webhook";
|
|
1755
|
+
supervisor: "supervisor";
|
|
1756
1756
|
agent_loop: "agent_loop";
|
|
1757
1757
|
task: "task";
|
|
1758
1758
|
}>;
|
|
1759
1759
|
status: z.ZodEnum<{
|
|
1760
|
-
queued: "queued";
|
|
1761
|
-
dispatching: "dispatching";
|
|
1762
|
-
running: "running";
|
|
1763
1760
|
completed: "completed";
|
|
1764
1761
|
failed: "failed";
|
|
1765
1762
|
cancelled: "cancelled";
|
|
1763
|
+
running: "running";
|
|
1764
|
+
queued: "queued";
|
|
1765
|
+
dispatching: "dispatching";
|
|
1766
1766
|
}>;
|
|
1767
1767
|
priority: z.ZodEnum<{
|
|
1768
|
-
urgent: "urgent";
|
|
1769
1768
|
user: "user";
|
|
1769
|
+
urgent: "urgent";
|
|
1770
1770
|
background: "background";
|
|
1771
1771
|
}>;
|
|
1772
1772
|
dedupeKey: z.ZodString;
|
|
@@ -1993,22 +1993,22 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1993
1993
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1994
1994
|
id: z.ZodString;
|
|
1995
1995
|
kind: z.ZodEnum<{
|
|
1996
|
-
supervisor: "supervisor";
|
|
1997
1996
|
webhook: "webhook";
|
|
1997
|
+
supervisor: "supervisor";
|
|
1998
1998
|
agent_loop: "agent_loop";
|
|
1999
1999
|
task: "task";
|
|
2000
2000
|
}>;
|
|
2001
2001
|
status: z.ZodEnum<{
|
|
2002
|
-
queued: "queued";
|
|
2003
|
-
dispatching: "dispatching";
|
|
2004
|
-
running: "running";
|
|
2005
2002
|
completed: "completed";
|
|
2006
2003
|
failed: "failed";
|
|
2007
2004
|
cancelled: "cancelled";
|
|
2005
|
+
running: "running";
|
|
2006
|
+
queued: "queued";
|
|
2007
|
+
dispatching: "dispatching";
|
|
2008
2008
|
}>;
|
|
2009
2009
|
priority: z.ZodEnum<{
|
|
2010
|
-
urgent: "urgent";
|
|
2011
2010
|
user: "user";
|
|
2011
|
+
urgent: "urgent";
|
|
2012
2012
|
background: "background";
|
|
2013
2013
|
}>;
|
|
2014
2014
|
dedupeKey: z.ZodString;
|
|
@@ -2158,12 +2158,13 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2158
2158
|
fix: "fix";
|
|
2159
2159
|
convention: "convention";
|
|
2160
2160
|
warning: "warning";
|
|
2161
|
+
repo_map: "repo_map";
|
|
2161
2162
|
}>;
|
|
2162
2163
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2163
2164
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2164
2165
|
user: "user";
|
|
2165
|
-
supervisor: "supervisor";
|
|
2166
2166
|
session: "session";
|
|
2167
|
+
supervisor: "supervisor";
|
|
2167
2168
|
}>;
|
|
2168
2169
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2169
2170
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2192,11 +2193,12 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2192
2193
|
fix: "fix";
|
|
2193
2194
|
convention: "convention";
|
|
2194
2195
|
warning: "warning";
|
|
2196
|
+
repo_map: "repo_map";
|
|
2195
2197
|
}>;
|
|
2196
2198
|
contributorType: z.ZodEnum<{
|
|
2197
2199
|
user: "user";
|
|
2198
|
-
supervisor: "supervisor";
|
|
2199
2200
|
session: "session";
|
|
2201
|
+
supervisor: "supervisor";
|
|
2200
2202
|
}>;
|
|
2201
2203
|
action: z.ZodEnum<{
|
|
2202
2204
|
create: "create";
|
|
@@ -2248,6 +2250,7 @@ declare const QueryKnowledgeParamsSchema: z.ZodObject<{
|
|
|
2248
2250
|
fix: "fix";
|
|
2249
2251
|
convention: "convention";
|
|
2250
2252
|
warning: "warning";
|
|
2253
|
+
repo_map: "repo_map";
|
|
2251
2254
|
}>>;
|
|
2252
2255
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2253
2256
|
active: "active";
|
|
@@ -2301,6 +2304,7 @@ declare const KnowledgeInjectionResponseSchema: z.ZodObject<{
|
|
|
2301
2304
|
fix: "fix";
|
|
2302
2305
|
convention: "convention";
|
|
2303
2306
|
warning: "warning";
|
|
2307
|
+
repo_map: "repo_map";
|
|
2304
2308
|
}>;
|
|
2305
2309
|
title: z.ZodString;
|
|
2306
2310
|
content: z.ZodString;
|
|
@@ -2331,6 +2335,7 @@ declare const KnowledgeChainEntrySchema: z.ZodObject<{
|
|
|
2331
2335
|
fix: "fix";
|
|
2332
2336
|
convention: "convention";
|
|
2333
2337
|
warning: "warning";
|
|
2338
|
+
repo_map: "repo_map";
|
|
2334
2339
|
}>;
|
|
2335
2340
|
action: z.ZodEnum<{
|
|
2336
2341
|
create: "create";
|
|
@@ -2364,6 +2369,7 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
|
|
|
2364
2369
|
fix: "fix";
|
|
2365
2370
|
convention: "convention";
|
|
2366
2371
|
warning: "warning";
|
|
2372
|
+
repo_map: "repo_map";
|
|
2367
2373
|
}>;
|
|
2368
2374
|
action: z.ZodEnum<{
|
|
2369
2375
|
create: "create";
|
|
@@ -2407,6 +2413,7 @@ declare const CrossProjectSearchResultSchema: z.ZodObject<{
|
|
|
2407
2413
|
fix: "fix";
|
|
2408
2414
|
convention: "convention";
|
|
2409
2415
|
warning: "warning";
|
|
2416
|
+
repo_map: "repo_map";
|
|
2410
2417
|
}>;
|
|
2411
2418
|
title: z.ZodString;
|
|
2412
2419
|
content: z.ZodString;
|
|
@@ -2431,6 +2438,7 @@ declare const CrossProjectSearchResponseSchema: z.ZodObject<{
|
|
|
2431
2438
|
fix: "fix";
|
|
2432
2439
|
convention: "convention";
|
|
2433
2440
|
warning: "warning";
|
|
2441
|
+
repo_map: "repo_map";
|
|
2434
2442
|
}>;
|
|
2435
2443
|
title: z.ZodString;
|
|
2436
2444
|
content: z.ZodString;
|
|
@@ -2502,27 +2510,33 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2502
2510
|
limitSeconds: z.ZodNumber;
|
|
2503
2511
|
agentId: z.ZodString;
|
|
2504
2512
|
}, z.core.$strip>], "allowed">;
|
|
2513
|
+
declare const LiveKitTokenResponseSchema: z.ZodObject<{
|
|
2514
|
+
token: z.ZodString;
|
|
2515
|
+
url: z.ZodString;
|
|
2516
|
+
roomName: z.ZodString;
|
|
2517
|
+
}, z.core.$strip>;
|
|
2505
2518
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2519
|
+
type LiveKitTokenResponse = z.infer<typeof LiveKitTokenResponseSchema>;
|
|
2506
2520
|
|
|
2507
2521
|
declare const TaskPrioritySchema: z.ZodEnum<{
|
|
2508
|
-
urgent: "urgent";
|
|
2509
2522
|
user: "user";
|
|
2523
|
+
urgent: "urgent";
|
|
2510
2524
|
background: "background";
|
|
2511
2525
|
}>;
|
|
2512
2526
|
type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
2513
2527
|
declare const TaskStatusSchema: z.ZodEnum<{
|
|
2514
|
-
queued: "queued";
|
|
2515
|
-
dispatching: "dispatching";
|
|
2516
|
-
running: "running";
|
|
2517
2528
|
completed: "completed";
|
|
2518
2529
|
failed: "failed";
|
|
2519
2530
|
cancelled: "cancelled";
|
|
2531
|
+
running: "running";
|
|
2532
|
+
queued: "queued";
|
|
2533
|
+
dispatching: "dispatching";
|
|
2520
2534
|
}>;
|
|
2521
2535
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2522
2536
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
2523
|
-
webhook: "webhook";
|
|
2524
2537
|
manual: "manual";
|
|
2525
2538
|
cron: "cron";
|
|
2539
|
+
webhook: "webhook";
|
|
2526
2540
|
}>;
|
|
2527
2541
|
type TaskTriggerType = z.infer<typeof TaskTriggerTypeSchema>;
|
|
2528
2542
|
declare const TaskSummarySchema: z.ZodObject<{
|
|
@@ -2530,22 +2544,22 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2530
2544
|
projectId: z.ZodNullable<z.ZodString>;
|
|
2531
2545
|
machineId: z.ZodString;
|
|
2532
2546
|
priority: z.ZodEnum<{
|
|
2533
|
-
urgent: "urgent";
|
|
2534
2547
|
user: "user";
|
|
2548
|
+
urgent: "urgent";
|
|
2535
2549
|
background: "background";
|
|
2536
2550
|
}>;
|
|
2537
2551
|
status: z.ZodEnum<{
|
|
2538
|
-
queued: "queued";
|
|
2539
|
-
dispatching: "dispatching";
|
|
2540
|
-
running: "running";
|
|
2541
2552
|
completed: "completed";
|
|
2542
2553
|
failed: "failed";
|
|
2543
2554
|
cancelled: "cancelled";
|
|
2555
|
+
running: "running";
|
|
2556
|
+
queued: "queued";
|
|
2557
|
+
dispatching: "dispatching";
|
|
2544
2558
|
}>;
|
|
2545
2559
|
triggerType: z.ZodEnum<{
|
|
2546
|
-
webhook: "webhook";
|
|
2547
2560
|
manual: "manual";
|
|
2548
2561
|
cron: "cron";
|
|
2562
|
+
webhook: "webhook";
|
|
2549
2563
|
}>;
|
|
2550
2564
|
triggerRef: z.ZodOptional<z.ZodString>;
|
|
2551
2565
|
attempt: z.ZodNumber;
|
|
@@ -2565,13 +2579,14 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2565
2579
|
machineId: z.ZodString;
|
|
2566
2580
|
prompt: z.ZodString;
|
|
2567
2581
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
2568
|
-
urgent: "urgent";
|
|
2569
2582
|
user: "user";
|
|
2583
|
+
urgent: "urgent";
|
|
2570
2584
|
background: "background";
|
|
2571
2585
|
}>>;
|
|
2572
2586
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
2573
2587
|
skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2574
2588
|
profileId: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
worktreeIsolation: z.ZodOptional<z.ZodBoolean>;
|
|
2575
2590
|
}, z.core.$strip>;
|
|
2576
2591
|
type CreateTaskBody = z.infer<typeof CreateTaskBodySchema>;
|
|
2577
2592
|
declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
@@ -2580,8 +2595,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2580
2595
|
prompt: z.ZodString;
|
|
2581
2596
|
directory: z.ZodString;
|
|
2582
2597
|
priority: z.ZodEnum<{
|
|
2583
|
-
urgent: "urgent";
|
|
2584
2598
|
user: "user";
|
|
2599
|
+
urgent: "urgent";
|
|
2585
2600
|
background: "background";
|
|
2586
2601
|
}>;
|
|
2587
2602
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2637,6 +2652,7 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2637
2652
|
}>>;
|
|
2638
2653
|
defaultModelMode: z.ZodOptional<z.ZodString>;
|
|
2639
2654
|
}, z.core.$strip>>;
|
|
2655
|
+
worktreeIsolation: z.ZodOptional<z.ZodBoolean>;
|
|
2640
2656
|
}, z.core.$strip>;
|
|
2641
2657
|
type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
2642
2658
|
declare const TaskOutcomeSchema: z.ZodEnum<{
|
|
@@ -2648,12 +2664,12 @@ type TaskOutcome = z.infer<typeof TaskOutcomeSchema>;
|
|
|
2648
2664
|
declare const TaskStatusReportSchema: z.ZodObject<{
|
|
2649
2665
|
taskId: z.ZodString;
|
|
2650
2666
|
status: z.ZodEnum<{
|
|
2651
|
-
queued: "queued";
|
|
2652
|
-
dispatching: "dispatching";
|
|
2653
|
-
running: "running";
|
|
2654
2667
|
completed: "completed";
|
|
2655
2668
|
failed: "failed";
|
|
2656
2669
|
cancelled: "cancelled";
|
|
2670
|
+
running: "running";
|
|
2671
|
+
queued: "queued";
|
|
2672
|
+
dispatching: "dispatching";
|
|
2657
2673
|
}>;
|
|
2658
2674
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
2659
2675
|
completed: "completed";
|
|
@@ -2669,12 +2685,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
|
|
|
2669
2685
|
taskId: z.ZodString;
|
|
2670
2686
|
machineId: z.ZodOptional<z.ZodString>;
|
|
2671
2687
|
status: z.ZodEnum<{
|
|
2672
|
-
queued: "queued";
|
|
2673
|
-
dispatching: "dispatching";
|
|
2674
|
-
running: "running";
|
|
2675
2688
|
completed: "completed";
|
|
2676
2689
|
failed: "failed";
|
|
2677
2690
|
cancelled: "cancelled";
|
|
2691
|
+
running: "running";
|
|
2692
|
+
queued: "queued";
|
|
2693
|
+
dispatching: "dispatching";
|
|
2678
2694
|
}>;
|
|
2679
2695
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2680
2696
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2719,10 +2735,10 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2719
2735
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2720
2736
|
|
|
2721
2737
|
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2738
|
+
session: "session";
|
|
2722
2739
|
supervisor: "supervisor";
|
|
2723
2740
|
task: "task";
|
|
2724
2741
|
trigger: "trigger";
|
|
2725
|
-
session: "session";
|
|
2726
2742
|
knowledge: "knowledge";
|
|
2727
2743
|
system: "system";
|
|
2728
2744
|
}>;
|
|
@@ -2736,10 +2752,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
|
2736
2752
|
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2737
2753
|
id: z.ZodString;
|
|
2738
2754
|
category: z.ZodEnum<{
|
|
2755
|
+
session: "session";
|
|
2739
2756
|
supervisor: "supervisor";
|
|
2740
2757
|
task: "task";
|
|
2741
2758
|
trigger: "trigger";
|
|
2742
|
-
session: "session";
|
|
2743
2759
|
knowledge: "knowledge";
|
|
2744
2760
|
system: "system";
|
|
2745
2761
|
}>;
|
|
@@ -2764,10 +2780,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
|
|
|
2764
2780
|
item: z.ZodObject<{
|
|
2765
2781
|
id: z.ZodString;
|
|
2766
2782
|
category: z.ZodEnum<{
|
|
2783
|
+
session: "session";
|
|
2767
2784
|
supervisor: "supervisor";
|
|
2768
2785
|
task: "task";
|
|
2769
2786
|
trigger: "trigger";
|
|
2770
|
-
session: "session";
|
|
2771
2787
|
knowledge: "knowledge";
|
|
2772
2788
|
system: "system";
|
|
2773
2789
|
}>;
|
|
@@ -3702,8 +3718,8 @@ declare const GetMcpServersResponseSchema: z$1.ZodObject<{
|
|
|
3702
3718
|
servers: z$1.ZodArray<z$1.ZodObject<{
|
|
3703
3719
|
name: z$1.ZodString;
|
|
3704
3720
|
status: z$1.ZodEnum<{
|
|
3705
|
-
connected: "connected";
|
|
3706
3721
|
failed: "failed";
|
|
3722
|
+
connected: "connected";
|
|
3707
3723
|
pending: "pending";
|
|
3708
3724
|
"needs-auth": "needs-auth";
|
|
3709
3725
|
disabled: "disabled";
|
|
@@ -3730,5 +3746,5 @@ type GetMcpServersResponse = z$1.infer<typeof GetMcpServersResponseSchema>;
|
|
|
3730
3746
|
declare const CLAUDE_CONTROL_METHODS: readonly ["get_session_cost", "get_binary_version", "set_color", "read_file", "mcp_call", "get_context_usage", "get_mcp_servers"];
|
|
3731
3747
|
type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
|
|
3732
3748
|
|
|
3733
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3734
|
-
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetContextUsageRequest, GetContextUsageResponse, GetMcpServersRequest, GetMcpServersResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
|
3749
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, LiveKitTokenResponseSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3750
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetContextUsageRequest, GetContextUsageResponse, GetMcpServersRequest, GetMcpServersResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, LiveKitTokenResponse, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.mjs
CHANGED
|
@@ -602,8 +602,10 @@ const KnowledgeEntryTypeSchema = z.enum([
|
|
|
602
602
|
// Bug fix record
|
|
603
603
|
"convention",
|
|
604
604
|
// Code convention / process rule
|
|
605
|
-
"warning"
|
|
605
|
+
"warning",
|
|
606
606
|
// Known pitfall or gotcha
|
|
607
|
+
"repo_map"
|
|
608
|
+
// Static repo structure snapshot (file tree + key exports)
|
|
607
609
|
]);
|
|
608
610
|
const KnowledgeContributorTypeSchema = z.enum([
|
|
609
611
|
"session",
|
|
@@ -773,6 +775,11 @@ const VoiceTokenResponseSchema = z.discriminatedUnion("allowed", [
|
|
|
773
775
|
VoiceTokenAllowedSchema,
|
|
774
776
|
VoiceTokenDeniedSchema
|
|
775
777
|
]);
|
|
778
|
+
const LiveKitTokenResponseSchema = z.object({
|
|
779
|
+
token: z.string(),
|
|
780
|
+
url: z.string(),
|
|
781
|
+
roomName: z.string()
|
|
782
|
+
});
|
|
776
783
|
|
|
777
784
|
const CODEX_APP_SERVER_BACKEND = "codex-app-server";
|
|
778
785
|
const CODEX_MCP_LEGACY_BACKEND = "codex-mcp-legacy";
|
|
@@ -1431,7 +1438,11 @@ const CreateTaskBodySchema = z.object({
|
|
|
1431
1438
|
// "anthropic" or AiBackendProfile.profileKey for the account. Optional:
|
|
1432
1439
|
// when omitted the server falls back to Project.supervisorConfig.defaultProfileId
|
|
1433
1440
|
// via the unified runtimeProfileResolver (feature-flagged).
|
|
1434
|
-
profileId: z.string().optional()
|
|
1441
|
+
profileId: z.string().optional(),
|
|
1442
|
+
// When true, the CLI creates a dedicated git worktree at execution time
|
|
1443
|
+
// instead of the App creating one upfront. Enables isolation for cron/webhook
|
|
1444
|
+
// triggered tasks as well as manual tasks (wire 0.17.0+).
|
|
1445
|
+
worktreeIsolation: z.boolean().optional()
|
|
1435
1446
|
});
|
|
1436
1447
|
const TaskTriggerDataSchema = z.object({
|
|
1437
1448
|
type: z.literal("task-trigger"),
|
|
@@ -1458,7 +1469,11 @@ const TaskTriggerDataSchema = z.object({
|
|
|
1458
1469
|
// backward compatibility; starting from wire 0.14.0 + server unified resolver
|
|
1459
1470
|
// these are always populated for scheduled/webhook/manual tasks.
|
|
1460
1471
|
profileId: z.string().optional(),
|
|
1461
|
-
runtimeProfile: ResolvedRuntimeProfileSchema.optional()
|
|
1472
|
+
runtimeProfile: ResolvedRuntimeProfileSchema.optional(),
|
|
1473
|
+
// When true, the CLI creates a dedicated git worktree from `directory` at
|
|
1474
|
+
// execution time rather than running directly in `directory`. Optional for
|
|
1475
|
+
// backward compatibility (wire 0.17.0+).
|
|
1476
|
+
worktreeIsolation: z.boolean().optional()
|
|
1462
1477
|
});
|
|
1463
1478
|
const TaskOutcomeSchema = z.enum([
|
|
1464
1479
|
"completed",
|
|
@@ -2110,4 +2125,4 @@ const CLAUDE_CONTROL_METHODS = [
|
|
|
2110
2125
|
"get_mcp_servers"
|
|
2111
2126
|
];
|
|
2112
2127
|
|
|
2113
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
2128
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetContextUsageRequestSchema, GetContextUsageResponseSchema, GetMcpServersRequestSchema, GetMcpServersResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, LiveKitTokenResponseSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|