@agentdock/wire 0.0.95 → 0.0.97

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.
Files changed (78) hide show
  1. package/dist/agentCapabilities.d.ts +5 -2
  2. package/dist/agentCapabilities.js +1 -1
  3. package/dist/agentCompatibility.d.ts +83 -0
  4. package/dist/agentCompatibility.js +1 -0
  5. package/dist/agentInstallGuide.js +1 -1
  6. package/dist/checkpointSchemas.d.ts +5 -0
  7. package/dist/checkpointSchemas.js +1 -1
  8. package/dist/enterpriseCurrency.d.ts +120 -0
  9. package/dist/enterpriseCurrency.js +1 -0
  10. package/dist/enterpriseDirectory.d.ts +636 -0
  11. package/dist/enterpriseDirectory.js +1 -0
  12. package/dist/enterpriseFileService.d.ts +7 -0
  13. package/dist/enterpriseFileService.js +1 -0
  14. package/dist/enterpriseGatewayExports.d.ts +4 -0
  15. package/dist/enterpriseGatewayExports.js +1 -0
  16. package/dist/enterpriseOverview.d.ts +423 -0
  17. package/dist/enterpriseOverview.js +1 -0
  18. package/dist/enterprisePolicy.d.ts +452 -489
  19. package/dist/enterprisePolicy.js +1 -1
  20. package/dist/enterprisePolicyExports.d.ts +4 -2
  21. package/dist/enterprisePolicyExports.js +1 -1
  22. package/dist/enterpriseRange.d.ts +19 -0
  23. package/dist/enterpriseRange.js +1 -0
  24. package/dist/enterpriseRuntime.d.ts +574 -46
  25. package/dist/enterpriseRuntime.js +1 -1
  26. package/dist/enterpriseUserContainer.d.ts +2 -0
  27. package/dist/enterpriseUserContainer.js +1 -0
  28. package/dist/gateway.d.ts +1393 -876
  29. package/dist/gateway.js +1 -1
  30. package/dist/gatewayBodyRetention.d.ts +149 -0
  31. package/dist/gatewayBodyRetention.js +2 -0
  32. package/dist/gatewayUsage.d.ts +3248 -0
  33. package/dist/gatewayUsage.js +1 -0
  34. package/dist/inboundEvents.d.ts +0 -6
  35. package/dist/inboundEvents.js +1 -1
  36. package/dist/index.d.ts +15 -6
  37. package/dist/index.js +1 -1
  38. package/dist/interactionEvents.d.ts +2 -2
  39. package/dist/legacyProtocol.d.ts +36 -36
  40. package/dist/machine.d.ts +1 -6
  41. package/dist/machine.js +1 -1
  42. package/dist/messageMeta.d.ts +9 -7
  43. package/dist/messageMeta.js +1 -1
  44. package/dist/messages.d.ts +36 -36
  45. package/dist/ops.d.ts +112 -0
  46. package/dist/ops.js +1 -1
  47. package/dist/opsExports.d.ts +4 -0
  48. package/dist/opsExports.js +1 -0
  49. package/dist/pushPreferences.d.ts +12 -0
  50. package/dist/pushPreferences.js +1 -0
  51. package/dist/rpc.d.ts +537 -66
  52. package/dist/rpc.js +1 -1
  53. package/dist/scheduledTasks.d.ts +96 -21
  54. package/dist/scheduledTasks.js +1 -1
  55. package/dist/session.d.ts +4 -0
  56. package/dist/session.js +1 -0
  57. package/dist/sessionBtw.d.ts +2 -2
  58. package/dist/sessionFiles.d.ts +70 -0
  59. package/dist/sessionFiles.js +1 -0
  60. package/dist/sessionSlashCommands.d.ts +15 -0
  61. package/dist/sessionSlashCommands.js +1 -0
  62. package/dist/spawnError.d.ts +3 -3
  63. package/dist/stats.d.ts +31 -31
  64. package/dist/sync.d.ts +45 -45
  65. package/dist/sync.js +1 -1
  66. package/dist/telemetry.d.ts +13 -13
  67. package/dist/telemetry.js +1 -1
  68. package/dist/workspaceFileReaderProtocol.d.ts +270 -0
  69. package/dist/workspaceFileReaderProtocol.js +1 -0
  70. package/dist/workspaceFileRelay.d.ts +188 -0
  71. package/dist/workspaceFileRelay.js +1 -0
  72. package/package.json +1 -1
  73. package/dist/agentRuntimeSettings.d.ts +0 -139
  74. package/dist/agentRuntimeSettings.js +0 -1
  75. package/dist/enterpriseGateway.d.ts +0 -214
  76. package/dist/enterpriseGateway.js +0 -1
  77. package/dist/goals.d.ts +0 -829
  78. package/dist/goals.js +0 -1
@@ -1,13 +1,15 @@
1
1
  import { z } from 'zod';
2
2
 
3
- export declare const AgentTypeSchema: z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>;
3
+ export declare const AgentTypeSchema: z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>;
4
4
  export type AgentType = z.infer<typeof AgentTypeSchema>;
5
5
 
6
- export declare const AGENT_TYPES: ["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"];
6
+ export declare const AGENT_TYPES: ["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"];
7
7
 
8
- export declare const SPAWNABLE_AGENTS: ("hermes" | "codex" | "claude" | "copilot" | "opencode" | "gemini" | "openclaw")[];
8
+ export declare const SPAWNABLE_AGENT_SCHEMA: z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw"]>;
9
9
 
10
- export declare const CLI_AGENT_TYPES: readonly ["claude", "copilot", "opencode", "codex", "gemini", "hermes", "openclaw"];
10
+ export declare const SPAWNABLE_AGENTS: ["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw"];
11
+
12
+ export declare const CLI_AGENT_TYPES: ["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw"];
11
13
  export type CliAgentType = (typeof CLI_AGENT_TYPES)[number];
12
14
  export declare const MessageMetaSchema: z.ZodObject<{
13
15
  sentFrom: z.ZodOptional<z.ZodString>;
@@ -20,7 +22,7 @@ export declare const MessageMetaSchema: z.ZodObject<{
20
22
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
21
23
  displayText: z.ZodOptional<z.ZodString>;
22
24
 
23
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
25
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
24
26
 
25
27
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
 
@@ -36,7 +38,7 @@ export declare const MessageMetaSchema: z.ZodObject<{
36
38
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
37
39
  displayText: z.ZodOptional<z.ZodString>;
38
40
 
39
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
41
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
40
42
 
41
43
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
44
 
@@ -52,7 +54,7 @@ export declare const MessageMetaSchema: z.ZodObject<{
52
54
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
53
55
  displayText: z.ZodOptional<z.ZodString>;
54
56
 
55
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
57
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
56
58
 
57
59
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
60
 
@@ -1 +1 @@
1
- "use strict";import{z as e}from"zod";export const AgentTypeSchema=e.enum(["claude","copilot","codex","gemini","opencode","hermes","openclaw","custom"]),AGENT_TYPES=AgentTypeSchema.options,SPAWNABLE_AGENTS=AGENT_TYPES.filter(o=>o!=="custom"),CLI_AGENT_TYPES=["claude","copilot","opencode","codex","gemini","hermes","openclaw"],MessageMetaSchema=e.object({sentFrom:e.string().optional(),permissionMode:e.string().optional(),model:e.string().nullable().optional(),fallbackModel:e.string().nullable().optional(),customSystemPrompt:e.string().nullable().optional(),appendSystemPrompt:e.string().nullable().optional(),allowedTools:e.array(e.string()).nullable().optional(),disallowedTools:e.array(e.string()).nullable().optional(),displayText:e.string().optional(),agentType:AgentTypeSchema.nullable().optional(),startedAt:e.number().nullable().optional(),sessionStatus:e.enum(["running","idle","completed","failed","cancelled"]).nullable().optional()}).passthrough(),AGENT_SUPPORTS_IMAGES={claude:!0,copilot:!0,codex:!1,gemini:!0,opencode:!0,hermes:!1,openclaw:!1,custom:!0},AGENT_DISPLAY_NAMES={claude:"Claude",copilot:"Copilot",codex:"Codex",gemini:"Gemini",opencode:"OpenCode",hermes:"Hermes",openclaw:"OpenClaw",custom:"Custom"};
1
+ "use strict";import{z as e}from"zod";export const AgentTypeSchema=e.enum(["claude","codex","opencode","pi","copilot","gemini","hermes","openclaw","custom"]),AGENT_TYPES=AgentTypeSchema.options,SPAWNABLE_AGENT_SCHEMA=AgentTypeSchema.exclude(["custom"]),SPAWNABLE_AGENTS=SPAWNABLE_AGENT_SCHEMA.options,CLI_AGENT_TYPES=SPAWNABLE_AGENTS,MessageMetaSchema=e.object({sentFrom:e.string().optional(),permissionMode:e.string().optional(),model:e.string().nullable().optional(),fallbackModel:e.string().nullable().optional(),customSystemPrompt:e.string().nullable().optional(),appendSystemPrompt:e.string().nullable().optional(),allowedTools:e.array(e.string()).nullable().optional(),disallowedTools:e.array(e.string()).nullable().optional(),displayText:e.string().optional(),agentType:AgentTypeSchema.nullable().optional(),startedAt:e.number().nullable().optional(),sessionStatus:e.enum(["running","idle","completed","failed","cancelled"]).nullable().optional()}).passthrough(),AGENT_SUPPORTS_IMAGES={claude:!0,copilot:!0,codex:!1,gemini:!0,opencode:!0,hermes:!1,openclaw:!1,pi:!0,custom:!0},AGENT_DISPLAY_NAMES={claude:"Claude",copilot:"Copilot",codex:"Codex",gemini:"Gemini",opencode:"OpenCode",hermes:"Hermes",openclaw:"OpenClaw",pi:"Pi",custom:"Custom"};
@@ -5870,7 +5870,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
5870
5870
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5871
5871
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5872
5872
  displayText: z.ZodOptional<z.ZodString>;
5873
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
5873
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
5874
5874
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5875
5875
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
5876
5876
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -5883,7 +5883,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
5883
5883
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5884
5884
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5885
5885
  displayText: z.ZodOptional<z.ZodString>;
5886
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
5886
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
5887
5887
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5888
5888
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
5889
5889
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -5896,7 +5896,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
5896
5896
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5897
5897
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
5898
5898
  displayText: z.ZodOptional<z.ZodString>;
5899
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
5899
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
5900
5900
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5901
5901
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
5902
5902
  }, z.ZodTypeAny, "passthrough">>>;
@@ -11678,7 +11678,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
11678
11678
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11679
11679
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11680
11680
  displayText: z.ZodOptional<z.ZodString>;
11681
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
11681
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
11682
11682
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11683
11683
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
11684
11684
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -11691,7 +11691,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
11691
11691
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11692
11692
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11693
11693
  displayText: z.ZodOptional<z.ZodString>;
11694
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
11694
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
11695
11695
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11696
11696
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
11697
11697
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -11704,7 +11704,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
11704
11704
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11705
11705
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11706
11706
  displayText: z.ZodOptional<z.ZodString>;
11707
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
11707
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
11708
11708
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11709
11709
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
11710
11710
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17486,7 +17486,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
17486
17486
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17487
17487
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17488
17488
  displayText: z.ZodOptional<z.ZodString>;
17489
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17489
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17490
17490
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17491
17491
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17492
17492
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17499,7 +17499,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
17499
17499
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17500
17500
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17501
17501
  displayText: z.ZodOptional<z.ZodString>;
17502
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17502
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17503
17503
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17504
17504
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17505
17505
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17512,7 +17512,7 @@ export declare const SessionProtocolMessageSchema: z.ZodObject<{
17512
17512
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17513
17513
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17514
17514
  displayText: z.ZodOptional<z.ZodString>;
17515
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17515
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17516
17516
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17517
17517
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17518
17518
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17541,7 +17541,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17541
17541
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17542
17542
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17543
17543
  displayText: z.ZodOptional<z.ZodString>;
17544
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17544
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17545
17545
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17546
17546
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17547
17547
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17554,7 +17554,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17554
17554
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17555
17555
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17556
17556
  displayText: z.ZodOptional<z.ZodString>;
17557
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17557
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17558
17558
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17559
17559
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17560
17560
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17567,7 +17567,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17567
17567
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17568
17568
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17569
17569
  displayText: z.ZodOptional<z.ZodString>;
17570
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17570
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17571
17571
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17572
17572
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17573
17573
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17594,7 +17594,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17594
17594
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17595
17595
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17596
17596
  displayText: z.ZodOptional<z.ZodString>;
17597
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17597
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17598
17598
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17599
17599
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17600
17600
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17607,7 +17607,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17607
17607
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17608
17608
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17609
17609
  displayText: z.ZodOptional<z.ZodString>;
17610
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17610
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17611
17611
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17612
17612
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17613
17613
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17620,7 +17620,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17620
17620
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17621
17621
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17622
17622
  displayText: z.ZodOptional<z.ZodString>;
17623
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17623
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17624
17624
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17625
17625
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17626
17626
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17647,7 +17647,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17647
17647
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17648
17648
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17649
17649
  displayText: z.ZodOptional<z.ZodString>;
17650
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17650
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17651
17651
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17652
17652
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17653
17653
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17660,7 +17660,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17660
17660
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17661
17661
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17662
17662
  displayText: z.ZodOptional<z.ZodString>;
17663
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17663
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17664
17664
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17665
17665
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17666
17666
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17673,7 +17673,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17673
17673
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17674
17674
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17675
17675
  displayText: z.ZodOptional<z.ZodString>;
17676
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17676
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17677
17677
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17678
17678
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17679
17679
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17696,7 +17696,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17696
17696
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17697
17697
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17698
17698
  displayText: z.ZodOptional<z.ZodString>;
17699
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17699
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17700
17700
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17701
17701
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17702
17702
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17709,7 +17709,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17709
17709
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17710
17710
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17711
17711
  displayText: z.ZodOptional<z.ZodString>;
17712
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17712
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17713
17713
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17714
17714
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17715
17715
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17722,7 +17722,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17722
17722
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17723
17723
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17724
17724
  displayText: z.ZodOptional<z.ZodString>;
17725
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17725
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17726
17726
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17727
17727
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17728
17728
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17745,7 +17745,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17745
17745
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17746
17746
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17747
17747
  displayText: z.ZodOptional<z.ZodString>;
17748
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17748
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17749
17749
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17750
17750
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17751
17751
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17758,7 +17758,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17758
17758
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17759
17759
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17760
17760
  displayText: z.ZodOptional<z.ZodString>;
17761
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17761
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17762
17762
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17763
17763
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17764
17764
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17771,7 +17771,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17771
17771
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17772
17772
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17773
17773
  displayText: z.ZodOptional<z.ZodString>;
17774
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17774
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17775
17775
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17776
17776
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17777
17777
  }, z.ZodTypeAny, "passthrough">>>;
@@ -17794,7 +17794,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17794
17794
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17795
17795
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17796
17796
  displayText: z.ZodOptional<z.ZodString>;
17797
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17797
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17798
17798
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17799
17799
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17800
17800
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17807,7 +17807,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17807
17807
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17808
17808
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17809
17809
  displayText: z.ZodOptional<z.ZodString>;
17810
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17810
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17811
17811
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17812
17812
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17813
17813
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -17820,7 +17820,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
17820
17820
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17821
17821
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17822
17822
  displayText: z.ZodOptional<z.ZodString>;
17823
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
17823
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
17824
17824
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17825
17825
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
17826
17826
  }, z.ZodTypeAny, "passthrough">>>;
@@ -23602,7 +23602,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
23602
23602
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23603
23603
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23604
23604
  displayText: z.ZodOptional<z.ZodString>;
23605
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
23605
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
23606
23606
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23607
23607
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
23608
23608
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -23615,7 +23615,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
23615
23615
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23616
23616
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23617
23617
  displayText: z.ZodOptional<z.ZodString>;
23618
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
23618
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
23619
23619
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23620
23620
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
23621
23621
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -23628,7 +23628,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
23628
23628
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23629
23629
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
23630
23630
  displayText: z.ZodOptional<z.ZodString>;
23631
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
23631
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
23632
23632
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23633
23633
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
23634
23634
  }, z.ZodTypeAny, "passthrough">>>;
@@ -29410,7 +29410,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
29410
29410
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29411
29411
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29412
29412
  displayText: z.ZodOptional<z.ZodString>;
29413
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
29413
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
29414
29414
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29415
29415
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
29416
29416
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -29423,7 +29423,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
29423
29423
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29424
29424
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29425
29425
  displayText: z.ZodOptional<z.ZodString>;
29426
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
29426
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
29427
29427
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29428
29428
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
29429
29429
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -29436,7 +29436,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
29436
29436
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29437
29437
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
29438
29438
  displayText: z.ZodOptional<z.ZodString>;
29439
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
29439
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
29440
29440
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29441
29441
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
29442
29442
  }, z.ZodTypeAny, "passthrough">>>;
@@ -35218,7 +35218,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
35218
35218
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35219
35219
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35220
35220
  displayText: z.ZodOptional<z.ZodString>;
35221
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
35221
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
35222
35222
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35223
35223
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
35224
35224
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -35231,7 +35231,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
35231
35231
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35232
35232
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35233
35233
  displayText: z.ZodOptional<z.ZodString>;
35234
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
35234
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
35235
35235
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35236
35236
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
35237
35237
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -35244,7 +35244,7 @@ export declare const MessageContentSchema: z.ZodDiscriminatedUnion<"role", [z.Zo
35244
35244
  allowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35245
35245
  disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35246
35246
  displayText: z.ZodOptional<z.ZodString>;
35247
- agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "copilot", "codex", "gemini", "opencode", "hermes", "openclaw", "custom"]>>>;
35247
+ agentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw", "custom"]>>>;
35248
35248
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35249
35249
  sessionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["running", "idle", "completed", "failed", "cancelled"]>>>;
35250
35250
  }, z.ZodTypeAny, "passthrough">>>;
package/dist/ops.d.ts CHANGED
@@ -54,6 +54,118 @@ export declare const FileEntrySchema: z.ZodObject<{
54
54
  mimeType: z.ZodOptional<z.ZodString>;
55
55
  }, z.ZodTypeAny, "passthrough">>;
56
56
  export type FileEntry = z.infer<typeof FileEntrySchema>;
57
+
58
+ export declare const FileListShowHiddenSchema: z.ZodEnum<["true", "false"]>;
59
+ export type FileListShowHidden = z.infer<typeof FileListShowHiddenSchema>;
60
+
61
+ export declare const FileListQuerySchema: z.ZodObject<{
62
+ path: z.ZodOptional<z.ZodString>;
63
+ showHidden: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
64
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
65
+ path: z.ZodOptional<z.ZodString>;
66
+ showHidden: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
67
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
68
+ path: z.ZodOptional<z.ZodString>;
69
+ showHidden: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
70
+ }, z.ZodTypeAny, "passthrough">>;
71
+ export type FileListQuery = z.infer<typeof FileListQuerySchema>;
72
+
73
+ export declare const FileListResultSchema: z.ZodObject<{
74
+ entries: z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ type: z.ZodEnum<["file", "directory"]>;
77
+ size: z.ZodNumber;
78
+ modifiedAt: z.ZodNumber;
79
+ mimeType: z.ZodOptional<z.ZodString>;
80
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
81
+ name: z.ZodString;
82
+ type: z.ZodEnum<["file", "directory"]>;
83
+ size: z.ZodNumber;
84
+ modifiedAt: z.ZodNumber;
85
+ mimeType: z.ZodOptional<z.ZodString>;
86
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
87
+ name: z.ZodString;
88
+ type: z.ZodEnum<["file", "directory"]>;
89
+ size: z.ZodNumber;
90
+ modifiedAt: z.ZodNumber;
91
+ mimeType: z.ZodOptional<z.ZodString>;
92
+ }, z.ZodTypeAny, "passthrough">>, "many">;
93
+ total: z.ZodNumber;
94
+ truncated: z.ZodBoolean;
95
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
96
+ entries: z.ZodArray<z.ZodObject<{
97
+ name: z.ZodString;
98
+ type: z.ZodEnum<["file", "directory"]>;
99
+ size: z.ZodNumber;
100
+ modifiedAt: z.ZodNumber;
101
+ mimeType: z.ZodOptional<z.ZodString>;
102
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
103
+ name: z.ZodString;
104
+ type: z.ZodEnum<["file", "directory"]>;
105
+ size: z.ZodNumber;
106
+ modifiedAt: z.ZodNumber;
107
+ mimeType: z.ZodOptional<z.ZodString>;
108
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
109
+ name: z.ZodString;
110
+ type: z.ZodEnum<["file", "directory"]>;
111
+ size: z.ZodNumber;
112
+ modifiedAt: z.ZodNumber;
113
+ mimeType: z.ZodOptional<z.ZodString>;
114
+ }, z.ZodTypeAny, "passthrough">>, "many">;
115
+ total: z.ZodNumber;
116
+ truncated: z.ZodBoolean;
117
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
118
+ entries: z.ZodArray<z.ZodObject<{
119
+ name: z.ZodString;
120
+ type: z.ZodEnum<["file", "directory"]>;
121
+ size: z.ZodNumber;
122
+ modifiedAt: z.ZodNumber;
123
+ mimeType: z.ZodOptional<z.ZodString>;
124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
125
+ name: z.ZodString;
126
+ type: z.ZodEnum<["file", "directory"]>;
127
+ size: z.ZodNumber;
128
+ modifiedAt: z.ZodNumber;
129
+ mimeType: z.ZodOptional<z.ZodString>;
130
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
131
+ name: z.ZodString;
132
+ type: z.ZodEnum<["file", "directory"]>;
133
+ size: z.ZodNumber;
134
+ modifiedAt: z.ZodNumber;
135
+ mimeType: z.ZodOptional<z.ZodString>;
136
+ }, z.ZodTypeAny, "passthrough">>, "many">;
137
+ total: z.ZodNumber;
138
+ truncated: z.ZodBoolean;
139
+ }, z.ZodTypeAny, "passthrough">>;
140
+ export type FileListResult = z.infer<typeof FileListResultSchema>;
141
+
142
+ export declare const FileRawTicketRequestSchema: z.ZodObject<{
143
+ scope: z.ZodEnum<["my", "shared", "admin"]>;
144
+ path: z.ZodString;
145
+ username: z.ZodOptional<z.ZodString>;
146
+ }, "strict", z.ZodTypeAny, {
147
+ path: string;
148
+ scope: "shared" | "my" | "admin";
149
+ username?: string | undefined;
150
+ }, {
151
+ path: string;
152
+ scope: "shared" | "my" | "admin";
153
+ username?: string | undefined;
154
+ }>;
155
+ export type FileRawTicketRequest = z.infer<typeof FileRawTicketRequestSchema>;
156
+ export declare const FileRawTicketResponseSchema: z.ZodObject<{
157
+ url: z.ZodString;
158
+ expiresAt: z.ZodNumber;
159
+ }, "strict", z.ZodTypeAny, {
160
+ url: string;
161
+ expiresAt: number;
162
+ }, {
163
+ url: string;
164
+ expiresAt: number;
165
+ }>;
166
+ export type FileRawTicketResponse = z.infer<typeof FileRawTicketResponseSchema>;
167
+ export declare function isHiddenInWorkspaceListing(name: string): boolean;
168
+ export declare function isHiddenInSharedListing(name: string): boolean;
57
169
  export declare const FileStatSchema: z.ZodObject<{
58
170
  name: z.ZodString;
59
171
  path: z.ZodString;
package/dist/ops.js CHANGED
@@ -1 +1 @@
1
- "use strict";import{z as e}from"zod";export const OpsMethodSchema=e.string().min(1).regex(/^[a-z]+\.[a-z][a-z0-9-]*$/),OpsRpcTypeSchema=e.enum(["request","response","event"]),DockerImageRefSchema=e.string().min(1).max(256).regex(/^[a-zA-Z0-9][a-zA-Z0-9._/:@-]*$/),OpsRpcMessageSchema=e.object({id:e.string().min(1),type:OpsRpcTypeSchema,method:OpsMethodSchema,payload:e.unknown()}).passthrough(),FileEntrySchema=e.object({name:e.string(),type:e.enum(["file","directory"]),size:e.number().int().nonnegative(),modifiedAt:e.number(),mimeType:e.string().optional()}).passthrough(),FileStatSchema=e.object({name:e.string(),path:e.string(),type:e.enum(["file","directory"]),size:e.number().int().nonnegative(),modifiedAt:e.string(),createdAt:e.string(),mimeType:e.string().optional()}).passthrough(),StorageUsageSchema=e.object({used:e.number().int().nonnegative(),limit:e.number().int().nonnegative(),fileCount:e.number().int().nonnegative()}).passthrough(),SyncUserSchema=e.object({username:e.string().min(1),displayName:e.string(),machineId:e.string().nullable(),containerStatus:e.string(),healthStatus:e.string().nullable(),enabled:e.boolean()}).passthrough(),SyncFullPayloadSchema=e.object({users:e.array(SyncUserSchema)}).passthrough(),SyncUserCreatedPayloadSchema=e.object({username:e.string().min(1),displayName:e.string()}).passthrough(),SyncContainerStatusPayloadSchema=e.object({username:e.string().min(1),containerStatus:e.string(),healthStatus:e.string().nullable().optional()}).passthrough(),SyncUserPairedPayloadSchema=e.object({username:e.string().min(1),machineId:e.string().min(1)}).passthrough();
1
+ "use strict";import{z as e}from"zod";export const OpsMethodSchema=e.string().min(1).regex(/^[a-z]+\.[a-z][a-z0-9-]*$/),OpsRpcTypeSchema=e.enum(["request","response","event"]),DockerImageRefSchema=e.string().min(1).max(256).regex(/^[a-zA-Z0-9][a-zA-Z0-9._/:@-]*$/),OpsRpcMessageSchema=e.object({id:e.string().min(1),type:OpsRpcTypeSchema,method:OpsMethodSchema,payload:e.unknown()}).passthrough(),FileEntrySchema=e.object({name:e.string(),type:e.enum(["file","directory"]),size:e.number().int().nonnegative(),modifiedAt:e.number(),mimeType:e.string().optional()}).passthrough(),FileListShowHiddenSchema=e.enum(["true","false"]),FileListQuerySchema=e.object({path:e.string().optional(),showHidden:FileListShowHiddenSchema.optional()}).passthrough(),FileListResultSchema=e.object({entries:e.array(FileEntrySchema),total:e.number().int().nonnegative(),truncated:e.boolean()}).passthrough(),FileRawTicketRequestSchema=e.object({scope:e.enum(["my","shared","admin"]),path:e.string().min(1),username:e.string().min(1).optional()}).strict(),FileRawTicketResponseSchema=e.object({url:e.string().min(1),expiresAt:e.number().int().positive()}).strict();const n=[".claude",".ccpark-enterprise",".git","node_modules"],i=[".ccpark"],s=".env";export function isHiddenInWorkspaceListing(t){return n.includes(t)||t.startsWith(s)}export function isHiddenInSharedListing(t){return n.includes(t)||i.includes(t)||t.startsWith(s)}export const FileStatSchema=e.object({name:e.string(),path:e.string(),type:e.enum(["file","directory"]),size:e.number().int().nonnegative(),modifiedAt:e.string(),createdAt:e.string(),mimeType:e.string().optional()}).passthrough(),StorageUsageSchema=e.object({used:e.number().int().nonnegative(),limit:e.number().int().nonnegative(),fileCount:e.number().int().nonnegative()}).passthrough(),SyncUserSchema=e.object({username:e.string().min(1),displayName:e.string(),machineId:e.string().nullable(),containerStatus:e.string(),healthStatus:e.string().nullable(),enabled:e.boolean()}).passthrough(),SyncFullPayloadSchema=e.object({users:e.array(SyncUserSchema)}).passthrough(),SyncUserCreatedPayloadSchema=e.object({username:e.string().min(1),displayName:e.string()}).passthrough(),SyncContainerStatusPayloadSchema=e.object({username:e.string().min(1),containerStatus:e.string(),healthStatus:e.string().nullable().optional()}).passthrough(),SyncUserPairedPayloadSchema=e.object({username:e.string().min(1),machineId:e.string().min(1)}).passthrough();
@@ -0,0 +1,4 @@
1
+ export * from './workspaceFileRelay.js';
2
+ export * from './workspaceFileReaderProtocol.js';
3
+ export { OpsRpcMessageSchema, OpsMethodSchema, OpsRpcTypeSchema, DockerImageRefSchema, FileEntrySchema, FileListShowHiddenSchema, FileListQuerySchema, FileListResultSchema, FileRawTicketRequestSchema, FileRawTicketResponseSchema, isHiddenInWorkspaceListing, isHiddenInSharedListing, FileStatSchema, StorageUsageSchema, SyncUserSchema, SyncFullPayloadSchema, SyncUserCreatedPayloadSchema, SyncContainerStatusPayloadSchema, SyncUserPairedPayloadSchema, } from './ops.js';
4
+ export type { OpsRpcMessage, OpsMethod, OpsRpcType, DockerImageRef, OpsTunnelMetrics, FileEntry, FileListShowHidden, FileListQuery, FileListResult, FileRawTicketRequest, FileRawTicketResponse, FileStat, StorageUsage, SyncUser, SyncFullPayload, SyncUserCreatedPayload, SyncContainerStatusPayload, SyncUserPairedPayload, } from './ops.js';
@@ -0,0 +1 @@
1
+ "use strict";export*from"./workspaceFileRelay.js";export*from"./workspaceFileReaderProtocol.js";export{OpsRpcMessageSchema,OpsMethodSchema,OpsRpcTypeSchema,DockerImageRefSchema,FileEntrySchema,FileListShowHiddenSchema,FileListQuerySchema,FileListResultSchema,FileRawTicketRequestSchema,FileRawTicketResponseSchema,isHiddenInWorkspaceListing,isHiddenInSharedListing,FileStatSchema,StorageUsageSchema,SyncUserSchema,SyncFullPayloadSchema,SyncUserCreatedPayloadSchema,SyncContainerStatusPayloadSchema,SyncUserPairedPayloadSchema}from"./ops.js";
@@ -0,0 +1,12 @@
1
+ export declare const NOTIFICATION_CHANNELS: readonly ["pwa", "im"];
2
+ export type NotificationChannel = (typeof NOTIFICATION_CHANNELS)[number];
3
+ export declare const PUSH_EVENT_TYPES: readonly ["permission_required", "completed", "error", "task_completed", "task_failed"];
4
+ export type PushEventType = (typeof PUSH_EVENT_TYPES)[number];
5
+ export declare const IM_EVENT_TYPES: readonly ["completed", "error", "task_completed", "task_failed"];
6
+ export type ImEventType = (typeof IM_EVENT_TYPES)[number];
7
+ export interface PushPreferences {
8
+ readonly channel: NotificationChannel;
9
+ readonly pushEvents: Readonly<Record<PushEventType, boolean>>;
10
+ readonly imEvents: Readonly<Record<ImEventType, boolean>>;
11
+ }
12
+ export declare const DEFAULT_PUSH_PREFERENCES: PushPreferences;
@@ -0,0 +1 @@
1
+ "use strict";export const NOTIFICATION_CHANNELS=["pwa","im"],PUSH_EVENT_TYPES=["permission_required","completed","error","task_completed","task_failed"],IM_EVENT_TYPES=["completed","error","task_completed","task_failed"],DEFAULT_PUSH_PREFERENCES={channel:"pwa",pushEvents:{permission_required:!0,completed:!0,error:!0,task_completed:!0,task_failed:!0},imEvents:{completed:!0,error:!0,task_completed:!0,task_failed:!0}};