@kmmao/happy-wire 0.16.2 → 0.16.3

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 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";
@@ -2216,6 +2223,7 @@ exports.KnowledgeInjectionRequestSchema = KnowledgeInjectionRequestSchema;
2216
2223
  exports.KnowledgeInjectionResponseSchema = KnowledgeInjectionResponseSchema;
2217
2224
  exports.KnowledgeStatusSchema = KnowledgeStatusSchema;
2218
2225
  exports.LegacyMessageContentSchema = LegacyMessageContentSchema;
2226
+ exports.LiveKitTokenResponseSchema = LiveKitTokenResponseSchema;
2219
2227
  exports.MachineMetadataSchema = MachineMetadataSchema;
2220
2228
  exports.McpCallRequestSchema = McpCallRequestSchema;
2221
2229
  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,8 +1564,8 @@ 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>;
@@ -1577,12 +1577,12 @@ declare const AutomationJobKindSchema: z.ZodEnum<{
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<{
@@ -1594,16 +1594,16 @@ declare const AutomationJobSummarySchema: z.ZodObject<{
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;
@@ -1757,16 +1757,16 @@ declare const AutomationStateSchema: z.ZodObject<{
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;
@@ -1999,16 +1999,16 @@ declare const DaemonStateSchema: z.ZodObject<{
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<{
2165
+ session: "session";
2164
2166
  user: "user";
2165
2167
  supervisor: "supervisor";
2166
- session: "session";
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<{
2199
+ session: "session";
2197
2200
  user: "user";
2198
2201
  supervisor: "supervisor";
2199
- session: "session";
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,21 +2510,27 @@ 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<{
@@ -2530,17 +2544,17 @@ 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
2560
  webhook: "webhook";
@@ -2565,8 +2579,8 @@ 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>;
@@ -2580,8 +2594,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
2580
2594
  prompt: z.ZodString;
2581
2595
  directory: z.ZodString;
2582
2596
  priority: z.ZodEnum<{
2583
- urgent: "urgent";
2584
2597
  user: "user";
2598
+ urgent: "urgent";
2585
2599
  background: "background";
2586
2600
  }>;
2587
2601
  projectId: z.ZodOptional<z.ZodString>;
@@ -2648,12 +2662,12 @@ type TaskOutcome = z.infer<typeof TaskOutcomeSchema>;
2648
2662
  declare const TaskStatusReportSchema: z.ZodObject<{
2649
2663
  taskId: z.ZodString;
2650
2664
  status: z.ZodEnum<{
2651
- queued: "queued";
2652
- dispatching: "dispatching";
2653
- running: "running";
2654
2665
  completed: "completed";
2655
2666
  failed: "failed";
2656
2667
  cancelled: "cancelled";
2668
+ running: "running";
2669
+ queued: "queued";
2670
+ dispatching: "dispatching";
2657
2671
  }>;
2658
2672
  outcome: z.ZodOptional<z.ZodEnum<{
2659
2673
  completed: "completed";
@@ -2669,12 +2683,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
2669
2683
  taskId: z.ZodString;
2670
2684
  machineId: z.ZodOptional<z.ZodString>;
2671
2685
  status: z.ZodEnum<{
2672
- queued: "queued";
2673
- dispatching: "dispatching";
2674
- running: "running";
2675
2686
  completed: "completed";
2676
2687
  failed: "failed";
2677
2688
  cancelled: "cancelled";
2689
+ running: "running";
2690
+ queued: "queued";
2691
+ dispatching: "dispatching";
2678
2692
  }>;
2679
2693
  sessionId: z.ZodOptional<z.ZodString>;
2680
2694
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -2719,10 +2733,10 @@ declare const SkillContentSchema: z.ZodObject<{
2719
2733
  type SkillContent = z.infer<typeof SkillContentSchema>;
2720
2734
 
2721
2735
  declare const InboxCategorySchema: z.ZodEnum<{
2736
+ session: "session";
2722
2737
  supervisor: "supervisor";
2723
2738
  task: "task";
2724
2739
  trigger: "trigger";
2725
- session: "session";
2726
2740
  knowledge: "knowledge";
2727
2741
  system: "system";
2728
2742
  }>;
@@ -2736,10 +2750,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
2736
2750
  declare const InboxItemSummarySchema: z.ZodObject<{
2737
2751
  id: z.ZodString;
2738
2752
  category: z.ZodEnum<{
2753
+ session: "session";
2739
2754
  supervisor: "supervisor";
2740
2755
  task: "task";
2741
2756
  trigger: "trigger";
2742
- session: "session";
2743
2757
  knowledge: "knowledge";
2744
2758
  system: "system";
2745
2759
  }>;
@@ -2764,10 +2778,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
2764
2778
  item: z.ZodObject<{
2765
2779
  id: z.ZodString;
2766
2780
  category: z.ZodEnum<{
2781
+ session: "session";
2767
2782
  supervisor: "supervisor";
2768
2783
  task: "task";
2769
2784
  trigger: "trigger";
2770
- session: "session";
2771
2785
  knowledge: "knowledge";
2772
2786
  system: "system";
2773
2787
  }>;
@@ -3702,8 +3716,8 @@ declare const GetMcpServersResponseSchema: z$1.ZodObject<{
3702
3716
  servers: z$1.ZodArray<z$1.ZodObject<{
3703
3717
  name: z$1.ZodString;
3704
3718
  status: z$1.ZodEnum<{
3705
- connected: "connected";
3706
3719
  failed: "failed";
3720
+ connected: "connected";
3707
3721
  pending: "pending";
3708
3722
  "needs-auth": "needs-auth";
3709
3723
  disabled: "disabled";
@@ -3730,5 +3744,5 @@ type GetMcpServersResponse = z$1.infer<typeof GetMcpServersResponseSchema>;
3730
3744
  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
3745
  type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
3732
3746
 
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 };
3747
+ 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 };
3748
+ 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,8 +1564,8 @@ 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>;
@@ -1577,12 +1577,12 @@ declare const AutomationJobKindSchema: z.ZodEnum<{
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<{
@@ -1594,16 +1594,16 @@ declare const AutomationJobSummarySchema: z.ZodObject<{
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;
@@ -1757,16 +1757,16 @@ declare const AutomationStateSchema: z.ZodObject<{
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;
@@ -1999,16 +1999,16 @@ declare const DaemonStateSchema: z.ZodObject<{
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<{
2165
+ session: "session";
2164
2166
  user: "user";
2165
2167
  supervisor: "supervisor";
2166
- session: "session";
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<{
2199
+ session: "session";
2197
2200
  user: "user";
2198
2201
  supervisor: "supervisor";
2199
- session: "session";
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,21 +2510,27 @@ 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<{
@@ -2530,17 +2544,17 @@ 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
2560
  webhook: "webhook";
@@ -2565,8 +2579,8 @@ 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>;
@@ -2580,8 +2594,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
2580
2594
  prompt: z.ZodString;
2581
2595
  directory: z.ZodString;
2582
2596
  priority: z.ZodEnum<{
2583
- urgent: "urgent";
2584
2597
  user: "user";
2598
+ urgent: "urgent";
2585
2599
  background: "background";
2586
2600
  }>;
2587
2601
  projectId: z.ZodOptional<z.ZodString>;
@@ -2648,12 +2662,12 @@ type TaskOutcome = z.infer<typeof TaskOutcomeSchema>;
2648
2662
  declare const TaskStatusReportSchema: z.ZodObject<{
2649
2663
  taskId: z.ZodString;
2650
2664
  status: z.ZodEnum<{
2651
- queued: "queued";
2652
- dispatching: "dispatching";
2653
- running: "running";
2654
2665
  completed: "completed";
2655
2666
  failed: "failed";
2656
2667
  cancelled: "cancelled";
2668
+ running: "running";
2669
+ queued: "queued";
2670
+ dispatching: "dispatching";
2657
2671
  }>;
2658
2672
  outcome: z.ZodOptional<z.ZodEnum<{
2659
2673
  completed: "completed";
@@ -2669,12 +2683,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
2669
2683
  taskId: z.ZodString;
2670
2684
  machineId: z.ZodOptional<z.ZodString>;
2671
2685
  status: z.ZodEnum<{
2672
- queued: "queued";
2673
- dispatching: "dispatching";
2674
- running: "running";
2675
2686
  completed: "completed";
2676
2687
  failed: "failed";
2677
2688
  cancelled: "cancelled";
2689
+ running: "running";
2690
+ queued: "queued";
2691
+ dispatching: "dispatching";
2678
2692
  }>;
2679
2693
  sessionId: z.ZodOptional<z.ZodString>;
2680
2694
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -2719,10 +2733,10 @@ declare const SkillContentSchema: z.ZodObject<{
2719
2733
  type SkillContent = z.infer<typeof SkillContentSchema>;
2720
2734
 
2721
2735
  declare const InboxCategorySchema: z.ZodEnum<{
2736
+ session: "session";
2722
2737
  supervisor: "supervisor";
2723
2738
  task: "task";
2724
2739
  trigger: "trigger";
2725
- session: "session";
2726
2740
  knowledge: "knowledge";
2727
2741
  system: "system";
2728
2742
  }>;
@@ -2736,10 +2750,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
2736
2750
  declare const InboxItemSummarySchema: z.ZodObject<{
2737
2751
  id: z.ZodString;
2738
2752
  category: z.ZodEnum<{
2753
+ session: "session";
2739
2754
  supervisor: "supervisor";
2740
2755
  task: "task";
2741
2756
  trigger: "trigger";
2742
- session: "session";
2743
2757
  knowledge: "knowledge";
2744
2758
  system: "system";
2745
2759
  }>;
@@ -2764,10 +2778,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
2764
2778
  item: z.ZodObject<{
2765
2779
  id: z.ZodString;
2766
2780
  category: z.ZodEnum<{
2781
+ session: "session";
2767
2782
  supervisor: "supervisor";
2768
2783
  task: "task";
2769
2784
  trigger: "trigger";
2770
- session: "session";
2771
2785
  knowledge: "knowledge";
2772
2786
  system: "system";
2773
2787
  }>;
@@ -3702,8 +3716,8 @@ declare const GetMcpServersResponseSchema: z$1.ZodObject<{
3702
3716
  servers: z$1.ZodArray<z$1.ZodObject<{
3703
3717
  name: z$1.ZodString;
3704
3718
  status: z$1.ZodEnum<{
3705
- connected: "connected";
3706
3719
  failed: "failed";
3720
+ connected: "connected";
3707
3721
  pending: "pending";
3708
3722
  "needs-auth": "needs-auth";
3709
3723
  disabled: "disabled";
@@ -3730,5 +3744,5 @@ type GetMcpServersResponse = z$1.infer<typeof GetMcpServersResponseSchema>;
3730
3744
  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
3745
  type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
3732
3746
 
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 };
3747
+ 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 };
3748
+ 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";
@@ -2110,4 +2117,4 @@ const CLAUDE_CONTROL_METHODS = [
2110
2117
  "get_mcp_servers"
2111
2118
  ];
2112
2119
 
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 };
2120
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",