@herdctl/core 4.0.0 → 4.1.1

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 (156) hide show
  1. package/dist/config/index.d.ts +1 -1
  2. package/dist/config/index.d.ts.map +1 -1
  3. package/dist/config/index.js +3 -1
  4. package/dist/config/index.js.map +1 -1
  5. package/dist/config/loader.d.ts.map +1 -1
  6. package/dist/config/loader.js +3 -1
  7. package/dist/config/loader.js.map +1 -1
  8. package/dist/config/schema.d.ts +571 -0
  9. package/dist/config/schema.d.ts.map +1 -1
  10. package/dist/config/schema.js +67 -1
  11. package/dist/config/schema.js.map +1 -1
  12. package/dist/fleet-manager/__tests__/coverage.test.js +8 -0
  13. package/dist/fleet-manager/__tests__/coverage.test.js.map +1 -1
  14. package/dist/fleet-manager/__tests__/discord-manager.test.js +2 -2
  15. package/dist/fleet-manager/__tests__/discord-manager.test.js.map +1 -1
  16. package/dist/fleet-manager/__tests__/slack-manager.test.d.ts +11 -0
  17. package/dist/fleet-manager/__tests__/slack-manager.test.d.ts.map +1 -0
  18. package/dist/fleet-manager/__tests__/slack-manager.test.js +1027 -0
  19. package/dist/fleet-manager/__tests__/slack-manager.test.js.map +1 -0
  20. package/dist/fleet-manager/context.d.ts +4 -0
  21. package/dist/fleet-manager/context.d.ts.map +1 -1
  22. package/dist/fleet-manager/discord-manager.js +7 -7
  23. package/dist/fleet-manager/discord-manager.js.map +1 -1
  24. package/dist/fleet-manager/event-types.d.ts +113 -0
  25. package/dist/fleet-manager/event-types.d.ts.map +1 -1
  26. package/dist/fleet-manager/fleet-manager.d.ts +3 -0
  27. package/dist/fleet-manager/fleet-manager.d.ts.map +1 -1
  28. package/dist/fleet-manager/fleet-manager.js +15 -9
  29. package/dist/fleet-manager/fleet-manager.js.map +1 -1
  30. package/dist/fleet-manager/job-control.d.ts.map +1 -1
  31. package/dist/fleet-manager/job-control.js +6 -3
  32. package/dist/fleet-manager/job-control.js.map +1 -1
  33. package/dist/fleet-manager/job-queue.d.ts.map +1 -1
  34. package/dist/fleet-manager/job-queue.js +2 -6
  35. package/dist/fleet-manager/job-queue.js.map +1 -1
  36. package/dist/fleet-manager/slack-manager.d.ts +158 -0
  37. package/dist/fleet-manager/slack-manager.d.ts.map +1 -0
  38. package/dist/fleet-manager/slack-manager.js +570 -0
  39. package/dist/fleet-manager/slack-manager.js.map +1 -0
  40. package/dist/fleet-manager/status-queries.d.ts +2 -1
  41. package/dist/fleet-manager/status-queries.d.ts.map +1 -1
  42. package/dist/fleet-manager/status-queries.js +42 -3
  43. package/dist/fleet-manager/status-queries.js.map +1 -1
  44. package/dist/fleet-manager/types.d.ts +43 -3
  45. package/dist/fleet-manager/types.d.ts.map +1 -1
  46. package/dist/hooks/__tests__/slack-runner.test.d.ts +5 -0
  47. package/dist/hooks/__tests__/slack-runner.test.d.ts.map +1 -0
  48. package/dist/hooks/__tests__/slack-runner.test.js +307 -0
  49. package/dist/hooks/__tests__/slack-runner.test.js.map +1 -0
  50. package/dist/hooks/hook-executor.d.ts +1 -0
  51. package/dist/hooks/hook-executor.d.ts.map +1 -1
  52. package/dist/hooks/hook-executor.js +8 -0
  53. package/dist/hooks/hook-executor.js.map +1 -1
  54. package/dist/hooks/index.d.ts +2 -1
  55. package/dist/hooks/index.d.ts.map +1 -1
  56. package/dist/hooks/index.js +2 -0
  57. package/dist/hooks/index.js.map +1 -1
  58. package/dist/hooks/runners/slack.d.ts +62 -0
  59. package/dist/hooks/runners/slack.d.ts.map +1 -0
  60. package/dist/hooks/runners/slack.js +329 -0
  61. package/dist/hooks/runners/slack.js.map +1 -0
  62. package/dist/hooks/types.d.ts +4 -4
  63. package/dist/hooks/types.d.ts.map +1 -1
  64. package/dist/index.d.ts +1 -0
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +2 -0
  67. package/dist/index.js.map +1 -1
  68. package/dist/runner/__tests__/file-sender-mcp.test.d.ts +2 -0
  69. package/dist/runner/__tests__/file-sender-mcp.test.d.ts.map +1 -0
  70. package/dist/runner/__tests__/file-sender-mcp.test.js +177 -0
  71. package/dist/runner/__tests__/file-sender-mcp.test.js.map +1 -0
  72. package/dist/runner/__tests__/job-executor.test.js +12 -12
  73. package/dist/runner/__tests__/job-executor.test.js.map +1 -1
  74. package/dist/runner/file-sender-mcp.d.ts +69 -0
  75. package/dist/runner/file-sender-mcp.d.ts.map +1 -0
  76. package/dist/runner/file-sender-mcp.js +145 -0
  77. package/dist/runner/file-sender-mcp.js.map +1 -0
  78. package/dist/runner/index.d.ts +1 -0
  79. package/dist/runner/index.d.ts.map +1 -1
  80. package/dist/runner/index.js +2 -0
  81. package/dist/runner/index.js.map +1 -1
  82. package/dist/runner/job-executor.d.ts +1 -0
  83. package/dist/runner/job-executor.d.ts.map +1 -1
  84. package/dist/runner/job-executor.js +38 -11
  85. package/dist/runner/job-executor.js.map +1 -1
  86. package/dist/runner/runtime/__tests__/docker-security.test.js +12 -12
  87. package/dist/runner/runtime/__tests__/docker-security.test.js.map +1 -1
  88. package/dist/runner/runtime/__tests__/mcp-http-bridge.test.d.ts +2 -0
  89. package/dist/runner/runtime/__tests__/mcp-http-bridge.test.d.ts.map +1 -0
  90. package/dist/runner/runtime/__tests__/mcp-http-bridge.test.js +191 -0
  91. package/dist/runner/runtime/__tests__/mcp-http-bridge.test.js.map +1 -0
  92. package/dist/runner/runtime/cli-runtime.d.ts.map +1 -1
  93. package/dist/runner/runtime/cli-runtime.js +29 -27
  94. package/dist/runner/runtime/cli-runtime.js.map +1 -1
  95. package/dist/runner/runtime/cli-session-watcher.d.ts.map +1 -1
  96. package/dist/runner/runtime/cli-session-watcher.js +20 -18
  97. package/dist/runner/runtime/cli-session-watcher.js.map +1 -1
  98. package/dist/runner/runtime/container-manager.d.ts +5 -1
  99. package/dist/runner/runtime/container-manager.d.ts.map +1 -1
  100. package/dist/runner/runtime/container-manager.js +117 -5
  101. package/dist/runner/runtime/container-manager.js.map +1 -1
  102. package/dist/runner/runtime/container-runner.d.ts +2 -0
  103. package/dist/runner/runtime/container-runner.d.ts.map +1 -1
  104. package/dist/runner/runtime/container-runner.js +127 -78
  105. package/dist/runner/runtime/container-runner.js.map +1 -1
  106. package/dist/runner/runtime/index.d.ts +1 -0
  107. package/dist/runner/runtime/index.d.ts.map +1 -1
  108. package/dist/runner/runtime/index.js +2 -0
  109. package/dist/runner/runtime/index.js.map +1 -1
  110. package/dist/runner/runtime/interface.d.ts +2 -0
  111. package/dist/runner/runtime/interface.d.ts.map +1 -1
  112. package/dist/runner/runtime/mcp-http-bridge.d.ts +39 -0
  113. package/dist/runner/runtime/mcp-http-bridge.d.ts.map +1 -0
  114. package/dist/runner/runtime/mcp-http-bridge.js +205 -0
  115. package/dist/runner/runtime/mcp-http-bridge.js.map +1 -0
  116. package/dist/runner/runtime/sdk-runtime.d.ts.map +1 -1
  117. package/dist/runner/runtime/sdk-runtime.js +74 -1
  118. package/dist/runner/runtime/sdk-runtime.js.map +1 -1
  119. package/dist/runner/types.d.ts +44 -0
  120. package/dist/runner/types.d.ts.map +1 -1
  121. package/dist/scheduler/__tests__/scheduler.test.js +2 -2
  122. package/dist/scheduler/__tests__/scheduler.test.js.map +1 -1
  123. package/dist/scheduler/schedule-runner.d.ts.map +1 -1
  124. package/dist/scheduler/schedule-runner.js +2 -6
  125. package/dist/scheduler/schedule-runner.js.map +1 -1
  126. package/dist/scheduler/schedule-state.d.ts.map +1 -1
  127. package/dist/scheduler/schedule-state.js +2 -3
  128. package/dist/scheduler/schedule-state.js.map +1 -1
  129. package/dist/scheduler/scheduler.d.ts.map +1 -1
  130. package/dist/scheduler/scheduler.js +3 -7
  131. package/dist/scheduler/scheduler.js.map +1 -1
  132. package/dist/state/fleet-state.d.ts.map +1 -1
  133. package/dist/state/fleet-state.js +2 -3
  134. package/dist/state/fleet-state.js.map +1 -1
  135. package/dist/state/index.d.ts +1 -1
  136. package/dist/state/index.d.ts.map +1 -1
  137. package/dist/state/index.js +1 -1
  138. package/dist/state/index.js.map +1 -1
  139. package/dist/state/schemas/job-output.d.ts +2 -2
  140. package/dist/state/session-validation.d.ts +8 -0
  141. package/dist/state/session-validation.d.ts.map +1 -1
  142. package/dist/state/session-validation.js +36 -0
  143. package/dist/state/session-validation.js.map +1 -1
  144. package/dist/utils/__tests__/logger.test.d.ts +2 -0
  145. package/dist/utils/__tests__/logger.test.d.ts.map +1 -0
  146. package/dist/utils/__tests__/logger.test.js +360 -0
  147. package/dist/utils/__tests__/logger.test.js.map +1 -0
  148. package/dist/utils/index.d.ts +5 -0
  149. package/dist/utils/index.d.ts.map +1 -0
  150. package/dist/utils/index.js +5 -0
  151. package/dist/utils/index.js.map +1 -0
  152. package/dist/utils/logger.d.ts +72 -0
  153. package/dist/utils/logger.d.ts.map +1 -0
  154. package/dist/utils/logger.js +117 -0
  155. package/dist/utils/logger.js.map +1 -0
  156. package/package.json +1 -9
@@ -2147,6 +2147,109 @@ export declare const AgentChatDiscordSchema: z.ZodObject<{
2147
2147
  activity_message?: string | undefined;
2148
2148
  } | undefined;
2149
2149
  }>;
2150
+ /**
2151
+ * Slack channel configuration for an agent's bot
2152
+ *
2153
+ * @example
2154
+ * ```yaml
2155
+ * channels:
2156
+ * - id: "C0123456789"
2157
+ * name: "#support"
2158
+ * ```
2159
+ */
2160
+ export declare const SlackChannelSchema: z.ZodObject<{
2161
+ /** Slack channel ID */
2162
+ id: z.ZodString;
2163
+ /** Human-readable channel name (for documentation) */
2164
+ name: z.ZodOptional<z.ZodString>;
2165
+ /** Channel message mode: "mention" = only respond to @mentions, "auto" = respond to all messages */
2166
+ mode: z.ZodDefault<z.ZodEnum<["mention", "auto"]>>;
2167
+ /** Number of context messages to include (future use) */
2168
+ context_messages: z.ZodDefault<z.ZodNumber>;
2169
+ }, "strip", z.ZodTypeAny, {
2170
+ mode: "mention" | "auto";
2171
+ id: string;
2172
+ context_messages: number;
2173
+ name?: string | undefined;
2174
+ }, {
2175
+ id: string;
2176
+ name?: string | undefined;
2177
+ mode?: "mention" | "auto" | undefined;
2178
+ context_messages?: number | undefined;
2179
+ }>;
2180
+ /**
2181
+ * Per-agent Slack bot configuration schema
2182
+ *
2183
+ * Unlike Discord where each agent has its own bot token,
2184
+ * Slack uses a single app with one bot token per workspace.
2185
+ * All agents share the same bot + app token pair.
2186
+ *
2187
+ * @example
2188
+ * ```yaml
2189
+ * chat:
2190
+ * slack:
2191
+ * bot_token_env: SLACK_BOT_TOKEN
2192
+ * app_token_env: SLACK_APP_TOKEN
2193
+ * session_expiry_hours: 24
2194
+ * log_level: standard
2195
+ * channels:
2196
+ * - id: "C0123456789"
2197
+ * name: "#support"
2198
+ * ```
2199
+ */
2200
+ export declare const AgentChatSlackSchema: z.ZodObject<{
2201
+ /** Environment variable name containing the bot token (xoxb-...) */
2202
+ bot_token_env: z.ZodDefault<z.ZodString>;
2203
+ /** Environment variable name containing the app token for Socket Mode (xapp-...) */
2204
+ app_token_env: z.ZodDefault<z.ZodString>;
2205
+ /** Session expiry in hours (default: 24) */
2206
+ session_expiry_hours: z.ZodDefault<z.ZodNumber>;
2207
+ /** Log level for this agent's Slack connector */
2208
+ log_level: z.ZodDefault<z.ZodEnum<["minimal", "standard", "verbose"]>>;
2209
+ /** Channels this agent listens in */
2210
+ channels: z.ZodArray<z.ZodObject<{
2211
+ /** Slack channel ID */
2212
+ id: z.ZodString;
2213
+ /** Human-readable channel name (for documentation) */
2214
+ name: z.ZodOptional<z.ZodString>;
2215
+ /** Channel message mode: "mention" = only respond to @mentions, "auto" = respond to all messages */
2216
+ mode: z.ZodDefault<z.ZodEnum<["mention", "auto"]>>;
2217
+ /** Number of context messages to include (future use) */
2218
+ context_messages: z.ZodDefault<z.ZodNumber>;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ mode: "mention" | "auto";
2221
+ id: string;
2222
+ context_messages: number;
2223
+ name?: string | undefined;
2224
+ }, {
2225
+ id: string;
2226
+ name?: string | undefined;
2227
+ mode?: "mention" | "auto" | undefined;
2228
+ context_messages?: number | undefined;
2229
+ }>, "many">;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ channels: {
2232
+ mode: "mention" | "auto";
2233
+ id: string;
2234
+ context_messages: number;
2235
+ name?: string | undefined;
2236
+ }[];
2237
+ bot_token_env: string;
2238
+ session_expiry_hours: number;
2239
+ log_level: "minimal" | "standard" | "verbose";
2240
+ app_token_env: string;
2241
+ }, {
2242
+ channels: {
2243
+ id: string;
2244
+ name?: string | undefined;
2245
+ mode?: "mention" | "auto" | undefined;
2246
+ context_messages?: number | undefined;
2247
+ }[];
2248
+ bot_token_env?: string | undefined;
2249
+ session_expiry_hours?: number | undefined;
2250
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
2251
+ app_token_env?: string | undefined;
2252
+ }>;
2150
2253
  export declare const AgentChatSchema: z.ZodObject<{
2151
2254
  discord: z.ZodOptional<z.ZodObject<{
2152
2255
  /** Environment variable name containing the bot token (never store tokens in config) */
@@ -2345,6 +2448,59 @@ export declare const AgentChatSchema: z.ZodObject<{
2345
2448
  activity_message?: string | undefined;
2346
2449
  } | undefined;
2347
2450
  }>>;
2451
+ slack: z.ZodOptional<z.ZodObject<{
2452
+ /** Environment variable name containing the bot token (xoxb-...) */
2453
+ bot_token_env: z.ZodDefault<z.ZodString>;
2454
+ /** Environment variable name containing the app token for Socket Mode (xapp-...) */
2455
+ app_token_env: z.ZodDefault<z.ZodString>;
2456
+ /** Session expiry in hours (default: 24) */
2457
+ session_expiry_hours: z.ZodDefault<z.ZodNumber>;
2458
+ /** Log level for this agent's Slack connector */
2459
+ log_level: z.ZodDefault<z.ZodEnum<["minimal", "standard", "verbose"]>>;
2460
+ /** Channels this agent listens in */
2461
+ channels: z.ZodArray<z.ZodObject<{
2462
+ /** Slack channel ID */
2463
+ id: z.ZodString;
2464
+ /** Human-readable channel name (for documentation) */
2465
+ name: z.ZodOptional<z.ZodString>;
2466
+ /** Channel message mode: "mention" = only respond to @mentions, "auto" = respond to all messages */
2467
+ mode: z.ZodDefault<z.ZodEnum<["mention", "auto"]>>;
2468
+ /** Number of context messages to include (future use) */
2469
+ context_messages: z.ZodDefault<z.ZodNumber>;
2470
+ }, "strip", z.ZodTypeAny, {
2471
+ mode: "mention" | "auto";
2472
+ id: string;
2473
+ context_messages: number;
2474
+ name?: string | undefined;
2475
+ }, {
2476
+ id: string;
2477
+ name?: string | undefined;
2478
+ mode?: "mention" | "auto" | undefined;
2479
+ context_messages?: number | undefined;
2480
+ }>, "many">;
2481
+ }, "strip", z.ZodTypeAny, {
2482
+ channels: {
2483
+ mode: "mention" | "auto";
2484
+ id: string;
2485
+ context_messages: number;
2486
+ name?: string | undefined;
2487
+ }[];
2488
+ bot_token_env: string;
2489
+ session_expiry_hours: number;
2490
+ log_level: "minimal" | "standard" | "verbose";
2491
+ app_token_env: string;
2492
+ }, {
2493
+ channels: {
2494
+ id: string;
2495
+ name?: string | undefined;
2496
+ mode?: "mention" | "auto" | undefined;
2497
+ context_messages?: number | undefined;
2498
+ }[];
2499
+ bot_token_env?: string | undefined;
2500
+ session_expiry_hours?: number | undefined;
2501
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
2502
+ app_token_env?: string | undefined;
2503
+ }>>;
2348
2504
  }, "strip", z.ZodTypeAny, {
2349
2505
  discord?: {
2350
2506
  bot_token_env: string;
@@ -2383,6 +2539,18 @@ export declare const AgentChatSchema: z.ZodObject<{
2383
2539
  activity_message?: string | undefined;
2384
2540
  } | undefined;
2385
2541
  } | undefined;
2542
+ slack?: {
2543
+ channels: {
2544
+ mode: "mention" | "auto";
2545
+ id: string;
2546
+ context_messages: number;
2547
+ name?: string | undefined;
2548
+ }[];
2549
+ bot_token_env: string;
2550
+ session_expiry_hours: number;
2551
+ log_level: "minimal" | "standard" | "verbose";
2552
+ app_token_env: string;
2553
+ } | undefined;
2386
2554
  }, {
2387
2555
  discord?: {
2388
2556
  bot_token_env: string;
@@ -2421,6 +2589,18 @@ export declare const AgentChatSchema: z.ZodObject<{
2421
2589
  activity_message?: string | undefined;
2422
2590
  } | undefined;
2423
2591
  } | undefined;
2592
+ slack?: {
2593
+ channels: {
2594
+ id: string;
2595
+ name?: string | undefined;
2596
+ mode?: "mention" | "auto" | undefined;
2597
+ context_messages?: number | undefined;
2598
+ }[];
2599
+ bot_token_env?: string | undefined;
2600
+ session_expiry_hours?: number | undefined;
2601
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
2602
+ app_token_env?: string | undefined;
2603
+ } | undefined;
2424
2604
  }>;
2425
2605
  /**
2426
2606
  * Hook events that can trigger hooks
@@ -2539,6 +2719,41 @@ export declare const DiscordHookConfigSchema: z.ZodObject<{
2539
2719
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2540
2720
  when?: string | undefined;
2541
2721
  }>;
2722
+ /**
2723
+ * Slack hook configuration - sends notification to a Slack channel
2724
+ */
2725
+ export declare const SlackHookConfigSchema: z.ZodObject<{
2726
+ /** Human-readable name for this hook (used in logs) */
2727
+ name: z.ZodOptional<z.ZodString>;
2728
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
2729
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2730
+ /** Filter which events trigger this hook (default: all events) */
2731
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
2732
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
2733
+ when: z.ZodOptional<z.ZodString>;
2734
+ } & {
2735
+ type: z.ZodLiteral<"slack">;
2736
+ /** Slack channel ID to post to */
2737
+ channel_id: z.ZodString;
2738
+ /** Environment variable name containing the bot token */
2739
+ bot_token_env: z.ZodDefault<z.ZodString>;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ type: "slack";
2742
+ bot_token_env: string;
2743
+ continue_on_error: boolean;
2744
+ channel_id: string;
2745
+ name?: string | undefined;
2746
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2747
+ when?: string | undefined;
2748
+ }, {
2749
+ type: "slack";
2750
+ channel_id: string;
2751
+ name?: string | undefined;
2752
+ bot_token_env?: string | undefined;
2753
+ continue_on_error?: boolean | undefined;
2754
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2755
+ when?: string | undefined;
2756
+ }>;
2542
2757
  /**
2543
2758
  * Union of all hook configuration types
2544
2759
  */
@@ -2643,6 +2858,37 @@ export declare const HookConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2643
2858
  continue_on_error?: boolean | undefined;
2644
2859
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2645
2860
  when?: string | undefined;
2861
+ }>, z.ZodObject<{
2862
+ /** Human-readable name for this hook (used in logs) */
2863
+ name: z.ZodOptional<z.ZodString>;
2864
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
2865
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2866
+ /** Filter which events trigger this hook (default: all events) */
2867
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
2868
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
2869
+ when: z.ZodOptional<z.ZodString>;
2870
+ } & {
2871
+ type: z.ZodLiteral<"slack">;
2872
+ /** Slack channel ID to post to */
2873
+ channel_id: z.ZodString;
2874
+ /** Environment variable name containing the bot token */
2875
+ bot_token_env: z.ZodDefault<z.ZodString>;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ type: "slack";
2878
+ bot_token_env: string;
2879
+ continue_on_error: boolean;
2880
+ channel_id: string;
2881
+ name?: string | undefined;
2882
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2883
+ when?: string | undefined;
2884
+ }, {
2885
+ type: "slack";
2886
+ channel_id: string;
2887
+ name?: string | undefined;
2888
+ bot_token_env?: string | undefined;
2889
+ continue_on_error?: boolean | undefined;
2890
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2891
+ when?: string | undefined;
2646
2892
  }>]>;
2647
2893
  /**
2648
2894
  * Agent hooks configuration
@@ -2750,6 +2996,37 @@ export declare const AgentHooksSchema: z.ZodObject<{
2750
2996
  continue_on_error?: boolean | undefined;
2751
2997
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2752
2998
  when?: string | undefined;
2999
+ }>, z.ZodObject<{
3000
+ /** Human-readable name for this hook (used in logs) */
3001
+ name: z.ZodOptional<z.ZodString>;
3002
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
3003
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3004
+ /** Filter which events trigger this hook (default: all events) */
3005
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
3006
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
3007
+ when: z.ZodOptional<z.ZodString>;
3008
+ } & {
3009
+ type: z.ZodLiteral<"slack">;
3010
+ /** Slack channel ID to post to */
3011
+ channel_id: z.ZodString;
3012
+ /** Environment variable name containing the bot token */
3013
+ bot_token_env: z.ZodDefault<z.ZodString>;
3014
+ }, "strip", z.ZodTypeAny, {
3015
+ type: "slack";
3016
+ bot_token_env: string;
3017
+ continue_on_error: boolean;
3018
+ channel_id: string;
3019
+ name?: string | undefined;
3020
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3021
+ when?: string | undefined;
3022
+ }, {
3023
+ type: "slack";
3024
+ channel_id: string;
3025
+ name?: string | undefined;
3026
+ bot_token_env?: string | undefined;
3027
+ continue_on_error?: boolean | undefined;
3028
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3029
+ when?: string | undefined;
2753
3030
  }>]>, "many">>;
2754
3031
  /** Hooks to run only when a job fails */
2755
3032
  on_error: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -2853,6 +3130,37 @@ export declare const AgentHooksSchema: z.ZodObject<{
2853
3130
  continue_on_error?: boolean | undefined;
2854
3131
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2855
3132
  when?: string | undefined;
3133
+ }>, z.ZodObject<{
3134
+ /** Human-readable name for this hook (used in logs) */
3135
+ name: z.ZodOptional<z.ZodString>;
3136
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
3137
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3138
+ /** Filter which events trigger this hook (default: all events) */
3139
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
3140
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
3141
+ when: z.ZodOptional<z.ZodString>;
3142
+ } & {
3143
+ type: z.ZodLiteral<"slack">;
3144
+ /** Slack channel ID to post to */
3145
+ channel_id: z.ZodString;
3146
+ /** Environment variable name containing the bot token */
3147
+ bot_token_env: z.ZodDefault<z.ZodString>;
3148
+ }, "strip", z.ZodTypeAny, {
3149
+ type: "slack";
3150
+ bot_token_env: string;
3151
+ continue_on_error: boolean;
3152
+ channel_id: string;
3153
+ name?: string | undefined;
3154
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3155
+ when?: string | undefined;
3156
+ }, {
3157
+ type: "slack";
3158
+ channel_id: string;
3159
+ name?: string | undefined;
3160
+ bot_token_env?: string | undefined;
3161
+ continue_on_error?: boolean | undefined;
3162
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3163
+ when?: string | undefined;
2856
3164
  }>]>, "many">>;
2857
3165
  }, "strip", z.ZodTypeAny, {
2858
3166
  after_run?: ({
@@ -2881,6 +3189,14 @@ export declare const AgentHooksSchema: z.ZodObject<{
2881
3189
  name?: string | undefined;
2882
3190
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2883
3191
  when?: string | undefined;
3192
+ } | {
3193
+ type: "slack";
3194
+ bot_token_env: string;
3195
+ continue_on_error: boolean;
3196
+ channel_id: string;
3197
+ name?: string | undefined;
3198
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3199
+ when?: string | undefined;
2884
3200
  })[] | undefined;
2885
3201
  on_error?: ({
2886
3202
  type: "shell";
@@ -2908,6 +3224,14 @@ export declare const AgentHooksSchema: z.ZodObject<{
2908
3224
  name?: string | undefined;
2909
3225
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2910
3226
  when?: string | undefined;
3227
+ } | {
3228
+ type: "slack";
3229
+ bot_token_env: string;
3230
+ continue_on_error: boolean;
3231
+ channel_id: string;
3232
+ name?: string | undefined;
3233
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3234
+ when?: string | undefined;
2911
3235
  })[] | undefined;
2912
3236
  }, {
2913
3237
  after_run?: ({
@@ -2936,6 +3260,14 @@ export declare const AgentHooksSchema: z.ZodObject<{
2936
3260
  continue_on_error?: boolean | undefined;
2937
3261
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2938
3262
  when?: string | undefined;
3263
+ } | {
3264
+ type: "slack";
3265
+ channel_id: string;
3266
+ name?: string | undefined;
3267
+ bot_token_env?: string | undefined;
3268
+ continue_on_error?: boolean | undefined;
3269
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3270
+ when?: string | undefined;
2939
3271
  })[] | undefined;
2940
3272
  on_error?: ({
2941
3273
  type: "shell";
@@ -2963,6 +3295,14 @@ export declare const AgentHooksSchema: z.ZodObject<{
2963
3295
  continue_on_error?: boolean | undefined;
2964
3296
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
2965
3297
  when?: string | undefined;
3298
+ } | {
3299
+ type: "slack";
3300
+ channel_id: string;
3301
+ name?: string | undefined;
3302
+ bot_token_env?: string | undefined;
3303
+ continue_on_error?: boolean | undefined;
3304
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3305
+ when?: string | undefined;
2966
3306
  })[] | undefined;
2967
3307
  }>;
2968
3308
  export declare const AgentWorkingDirectorySchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -3492,6 +3832,59 @@ export declare const AgentConfigSchema: z.ZodObject<{
3492
3832
  activity_message?: string | undefined;
3493
3833
  } | undefined;
3494
3834
  }>>;
3835
+ slack: z.ZodOptional<z.ZodObject<{
3836
+ /** Environment variable name containing the bot token (xoxb-...) */
3837
+ bot_token_env: z.ZodDefault<z.ZodString>;
3838
+ /** Environment variable name containing the app token for Socket Mode (xapp-...) */
3839
+ app_token_env: z.ZodDefault<z.ZodString>;
3840
+ /** Session expiry in hours (default: 24) */
3841
+ session_expiry_hours: z.ZodDefault<z.ZodNumber>;
3842
+ /** Log level for this agent's Slack connector */
3843
+ log_level: z.ZodDefault<z.ZodEnum<["minimal", "standard", "verbose"]>>;
3844
+ /** Channels this agent listens in */
3845
+ channels: z.ZodArray<z.ZodObject<{
3846
+ /** Slack channel ID */
3847
+ id: z.ZodString;
3848
+ /** Human-readable channel name (for documentation) */
3849
+ name: z.ZodOptional<z.ZodString>;
3850
+ /** Channel message mode: "mention" = only respond to @mentions, "auto" = respond to all messages */
3851
+ mode: z.ZodDefault<z.ZodEnum<["mention", "auto"]>>;
3852
+ /** Number of context messages to include (future use) */
3853
+ context_messages: z.ZodDefault<z.ZodNumber>;
3854
+ }, "strip", z.ZodTypeAny, {
3855
+ mode: "mention" | "auto";
3856
+ id: string;
3857
+ context_messages: number;
3858
+ name?: string | undefined;
3859
+ }, {
3860
+ id: string;
3861
+ name?: string | undefined;
3862
+ mode?: "mention" | "auto" | undefined;
3863
+ context_messages?: number | undefined;
3864
+ }>, "many">;
3865
+ }, "strip", z.ZodTypeAny, {
3866
+ channels: {
3867
+ mode: "mention" | "auto";
3868
+ id: string;
3869
+ context_messages: number;
3870
+ name?: string | undefined;
3871
+ }[];
3872
+ bot_token_env: string;
3873
+ session_expiry_hours: number;
3874
+ log_level: "minimal" | "standard" | "verbose";
3875
+ app_token_env: string;
3876
+ }, {
3877
+ channels: {
3878
+ id: string;
3879
+ name?: string | undefined;
3880
+ mode?: "mention" | "auto" | undefined;
3881
+ context_messages?: number | undefined;
3882
+ }[];
3883
+ bot_token_env?: string | undefined;
3884
+ session_expiry_hours?: number | undefined;
3885
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
3886
+ app_token_env?: string | undefined;
3887
+ }>>;
3495
3888
  }, "strip", z.ZodTypeAny, {
3496
3889
  discord?: {
3497
3890
  bot_token_env: string;
@@ -3530,6 +3923,18 @@ export declare const AgentConfigSchema: z.ZodObject<{
3530
3923
  activity_message?: string | undefined;
3531
3924
  } | undefined;
3532
3925
  } | undefined;
3926
+ slack?: {
3927
+ channels: {
3928
+ mode: "mention" | "auto";
3929
+ id: string;
3930
+ context_messages: number;
3931
+ name?: string | undefined;
3932
+ }[];
3933
+ bot_token_env: string;
3934
+ session_expiry_hours: number;
3935
+ log_level: "minimal" | "standard" | "verbose";
3936
+ app_token_env: string;
3937
+ } | undefined;
3533
3938
  }, {
3534
3939
  discord?: {
3535
3940
  bot_token_env: string;
@@ -3568,6 +3973,18 @@ export declare const AgentConfigSchema: z.ZodObject<{
3568
3973
  activity_message?: string | undefined;
3569
3974
  } | undefined;
3570
3975
  } | undefined;
3976
+ slack?: {
3977
+ channels: {
3978
+ id: string;
3979
+ name?: string | undefined;
3980
+ mode?: "mention" | "auto" | undefined;
3981
+ context_messages?: number | undefined;
3982
+ }[];
3983
+ bot_token_env?: string | undefined;
3984
+ session_expiry_hours?: number | undefined;
3985
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
3986
+ app_token_env?: string | undefined;
3987
+ } | undefined;
3571
3988
  }>>;
3572
3989
  hooks: z.ZodOptional<z.ZodObject<{
3573
3990
  /** Hooks to run after every job (success or failure) */
@@ -3672,6 +4089,37 @@ export declare const AgentConfigSchema: z.ZodObject<{
3672
4089
  continue_on_error?: boolean | undefined;
3673
4090
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3674
4091
  when?: string | undefined;
4092
+ }>, z.ZodObject<{
4093
+ /** Human-readable name for this hook (used in logs) */
4094
+ name: z.ZodOptional<z.ZodString>;
4095
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
4096
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4097
+ /** Filter which events trigger this hook (default: all events) */
4098
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
4099
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
4100
+ when: z.ZodOptional<z.ZodString>;
4101
+ } & {
4102
+ type: z.ZodLiteral<"slack">;
4103
+ /** Slack channel ID to post to */
4104
+ channel_id: z.ZodString;
4105
+ /** Environment variable name containing the bot token */
4106
+ bot_token_env: z.ZodDefault<z.ZodString>;
4107
+ }, "strip", z.ZodTypeAny, {
4108
+ type: "slack";
4109
+ bot_token_env: string;
4110
+ continue_on_error: boolean;
4111
+ channel_id: string;
4112
+ name?: string | undefined;
4113
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4114
+ when?: string | undefined;
4115
+ }, {
4116
+ type: "slack";
4117
+ channel_id: string;
4118
+ name?: string | undefined;
4119
+ bot_token_env?: string | undefined;
4120
+ continue_on_error?: boolean | undefined;
4121
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4122
+ when?: string | undefined;
3675
4123
  }>]>, "many">>;
3676
4124
  /** Hooks to run only when a job fails */
3677
4125
  on_error: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -3775,6 +4223,37 @@ export declare const AgentConfigSchema: z.ZodObject<{
3775
4223
  continue_on_error?: boolean | undefined;
3776
4224
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3777
4225
  when?: string | undefined;
4226
+ }>, z.ZodObject<{
4227
+ /** Human-readable name for this hook (used in logs) */
4228
+ name: z.ZodOptional<z.ZodString>;
4229
+ /** Whether to continue with subsequent hooks if this hook fails (default: true) */
4230
+ continue_on_error: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4231
+ /** Filter which events trigger this hook (default: all events) */
4232
+ on_events: z.ZodOptional<z.ZodArray<z.ZodEnum<["completed", "failed", "timeout", "cancelled"]>, "many">>;
4233
+ /** Conditional execution: dot-notation path to a boolean field in the hook context (e.g., "metadata.shouldNotify") */
4234
+ when: z.ZodOptional<z.ZodString>;
4235
+ } & {
4236
+ type: z.ZodLiteral<"slack">;
4237
+ /** Slack channel ID to post to */
4238
+ channel_id: z.ZodString;
4239
+ /** Environment variable name containing the bot token */
4240
+ bot_token_env: z.ZodDefault<z.ZodString>;
4241
+ }, "strip", z.ZodTypeAny, {
4242
+ type: "slack";
4243
+ bot_token_env: string;
4244
+ continue_on_error: boolean;
4245
+ channel_id: string;
4246
+ name?: string | undefined;
4247
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4248
+ when?: string | undefined;
4249
+ }, {
4250
+ type: "slack";
4251
+ channel_id: string;
4252
+ name?: string | undefined;
4253
+ bot_token_env?: string | undefined;
4254
+ continue_on_error?: boolean | undefined;
4255
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4256
+ when?: string | undefined;
3778
4257
  }>]>, "many">>;
3779
4258
  }, "strip", z.ZodTypeAny, {
3780
4259
  after_run?: ({
@@ -3803,6 +4282,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
3803
4282
  name?: string | undefined;
3804
4283
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3805
4284
  when?: string | undefined;
4285
+ } | {
4286
+ type: "slack";
4287
+ bot_token_env: string;
4288
+ continue_on_error: boolean;
4289
+ channel_id: string;
4290
+ name?: string | undefined;
4291
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4292
+ when?: string | undefined;
3806
4293
  })[] | undefined;
3807
4294
  on_error?: ({
3808
4295
  type: "shell";
@@ -3830,6 +4317,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
3830
4317
  name?: string | undefined;
3831
4318
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3832
4319
  when?: string | undefined;
4320
+ } | {
4321
+ type: "slack";
4322
+ bot_token_env: string;
4323
+ continue_on_error: boolean;
4324
+ channel_id: string;
4325
+ name?: string | undefined;
4326
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4327
+ when?: string | undefined;
3833
4328
  })[] | undefined;
3834
4329
  }, {
3835
4330
  after_run?: ({
@@ -3858,6 +4353,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
3858
4353
  continue_on_error?: boolean | undefined;
3859
4354
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3860
4355
  when?: string | undefined;
4356
+ } | {
4357
+ type: "slack";
4358
+ channel_id: string;
4359
+ name?: string | undefined;
4360
+ bot_token_env?: string | undefined;
4361
+ continue_on_error?: boolean | undefined;
4362
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4363
+ when?: string | undefined;
3861
4364
  })[] | undefined;
3862
4365
  on_error?: ({
3863
4366
  type: "shell";
@@ -3885,6 +4388,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
3885
4388
  continue_on_error?: boolean | undefined;
3886
4389
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
3887
4390
  when?: string | undefined;
4391
+ } | {
4392
+ type: "slack";
4393
+ channel_id: string;
4394
+ name?: string | undefined;
4395
+ bot_token_env?: string | undefined;
4396
+ continue_on_error?: boolean | undefined;
4397
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4398
+ when?: string | undefined;
3888
4399
  })[] | undefined;
3889
4400
  }>>;
3890
4401
  docker: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -4109,6 +4620,18 @@ export declare const AgentConfigSchema: z.ZodObject<{
4109
4620
  activity_message?: string | undefined;
4110
4621
  } | undefined;
4111
4622
  } | undefined;
4623
+ slack?: {
4624
+ channels: {
4625
+ mode: "mention" | "auto";
4626
+ id: string;
4627
+ context_messages: number;
4628
+ name?: string | undefined;
4629
+ }[];
4630
+ bot_token_env: string;
4631
+ session_expiry_hours: number;
4632
+ log_level: "minimal" | "standard" | "verbose";
4633
+ app_token_env: string;
4634
+ } | undefined;
4112
4635
  } | undefined;
4113
4636
  description?: string | undefined;
4114
4637
  identity?: {
@@ -4181,6 +4704,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
4181
4704
  name?: string | undefined;
4182
4705
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4183
4706
  when?: string | undefined;
4707
+ } | {
4708
+ type: "slack";
4709
+ bot_token_env: string;
4710
+ continue_on_error: boolean;
4711
+ channel_id: string;
4712
+ name?: string | undefined;
4713
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4714
+ when?: string | undefined;
4184
4715
  })[] | undefined;
4185
4716
  on_error?: ({
4186
4717
  type: "shell";
@@ -4208,6 +4739,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
4208
4739
  name?: string | undefined;
4209
4740
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4210
4741
  when?: string | undefined;
4742
+ } | {
4743
+ type: "slack";
4744
+ bot_token_env: string;
4745
+ continue_on_error: boolean;
4746
+ channel_id: string;
4747
+ name?: string | undefined;
4748
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4749
+ when?: string | undefined;
4211
4750
  })[] | undefined;
4212
4751
  } | undefined;
4213
4752
  metadata_file?: string | undefined;
@@ -4307,6 +4846,18 @@ export declare const AgentConfigSchema: z.ZodObject<{
4307
4846
  activity_message?: string | undefined;
4308
4847
  } | undefined;
4309
4848
  } | undefined;
4849
+ slack?: {
4850
+ channels: {
4851
+ id: string;
4852
+ name?: string | undefined;
4853
+ mode?: "mention" | "auto" | undefined;
4854
+ context_messages?: number | undefined;
4855
+ }[];
4856
+ bot_token_env?: string | undefined;
4857
+ session_expiry_hours?: number | undefined;
4858
+ log_level?: "minimal" | "standard" | "verbose" | undefined;
4859
+ app_token_env?: string | undefined;
4860
+ } | undefined;
4310
4861
  } | undefined;
4311
4862
  description?: string | undefined;
4312
4863
  identity?: {
@@ -4379,6 +4930,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
4379
4930
  continue_on_error?: boolean | undefined;
4380
4931
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4381
4932
  when?: string | undefined;
4933
+ } | {
4934
+ type: "slack";
4935
+ channel_id: string;
4936
+ name?: string | undefined;
4937
+ bot_token_env?: string | undefined;
4938
+ continue_on_error?: boolean | undefined;
4939
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4940
+ when?: string | undefined;
4382
4941
  })[] | undefined;
4383
4942
  on_error?: ({
4384
4943
  type: "shell";
@@ -4406,6 +4965,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
4406
4965
  continue_on_error?: boolean | undefined;
4407
4966
  on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4408
4967
  when?: string | undefined;
4968
+ } | {
4969
+ type: "slack";
4970
+ channel_id: string;
4971
+ name?: string | undefined;
4972
+ bot_token_env?: string | undefined;
4973
+ continue_on_error?: boolean | undefined;
4974
+ on_events?: ("timeout" | "completed" | "failed" | "cancelled")[] | undefined;
4975
+ when?: string | undefined;
4409
4976
  })[] | undefined;
4410
4977
  } | undefined;
4411
4978
  metadata_file?: string | undefined;
@@ -5625,17 +6192,21 @@ export type DiscordGuild = z.infer<typeof DiscordGuildSchema>;
5625
6192
  export type DiscordOutput = z.infer<typeof DiscordOutputSchema>;
5626
6193
  export type AgentChatDiscord = z.infer<typeof AgentChatDiscordSchema>;
5627
6194
  export type AgentChat = z.infer<typeof AgentChatSchema>;
6195
+ export type SlackChannel = z.infer<typeof SlackChannelSchema>;
6196
+ export type AgentChatSlack = z.infer<typeof AgentChatSlackSchema>;
5628
6197
  export type AgentWorkingDirectory = z.infer<typeof AgentWorkingDirectorySchema>;
5629
6198
  export type AgentConfig = z.infer<typeof AgentConfigSchema>;
5630
6199
  export type HookEvent = z.infer<typeof HookEventSchema>;
5631
6200
  export type ShellHookConfig = z.infer<typeof ShellHookConfigSchema>;
5632
6201
  export type WebhookHookConfig = z.infer<typeof WebhookHookConfigSchema>;
5633
6202
  export type DiscordHookConfig = z.infer<typeof DiscordHookConfigSchema>;
6203
+ export type SlackHookConfig = z.infer<typeof SlackHookConfigSchema>;
5634
6204
  export type HookConfig = z.infer<typeof HookConfigSchema>;
5635
6205
  export type AgentHooks = z.infer<typeof AgentHooksSchema>;
5636
6206
  export type ShellHookConfigInput = z.input<typeof ShellHookConfigSchema>;
5637
6207
  export type WebhookHookConfigInput = z.input<typeof WebhookHookConfigSchema>;
5638
6208
  export type DiscordHookConfigInput = z.input<typeof DiscordHookConfigSchema>;
6209
+ export type SlackHookConfigInput = z.input<typeof SlackHookConfigSchema>;
5639
6210
  export type HookConfigInput = z.input<typeof HookConfigSchema>;
5640
6211
  export type AgentHooksInput = z.input<typeof AgentHooksSchema>;
5641
6212
  //# sourceMappingURL=schema.d.ts.map