@interactive-inc/claude-funnel 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-VA6undzc.js";
2
- import { n as discordConnectorSchema, t as DiscordConnectorConfig } from "../discord-connector-schema-Df_McRJI.js";
2
+ import { n as discordConnectorSchema, t as DiscordConnectorConfig } from "../discord-connector-schema-DF4pL3Sc.js";
3
3
  import { S as NotifyFn, b as FunnelLogger, o as ConnectorDiagnosticLog, x as FunnelConnectorListener } from "../connector-diagnostic-log-OPpPi9V9.js";
4
4
 
5
5
  //#region lib/engine/http/http-client.d.ts
@@ -1,2 +1,2 @@
1
- import { i as FunnelDiscordAdapter, n as FunnelDiscordListener, r as FunnelDiscordEventProcessor, t as discordConnectorSchema } from "../discord-connector-schema-RzDvrNE5.js";
1
+ import { i as FunnelDiscordAdapter, n as FunnelDiscordListener, r as FunnelDiscordEventProcessor, t as discordConnectorSchema } from "../discord-connector-schema-BeThExJp.js";
2
2
  export { FunnelDiscordAdapter, FunnelDiscordEventProcessor, FunnelDiscordListener, discordConnectorSchema };
@@ -1,5 +1,5 @@
1
1
  import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-VA6undzc.js";
2
- import { a as SlackProcessed, c as SlackRawEvent, d as slackConnectorSchema, i as FunnelSlackEventProcessor, l as SlackSkipReason, n as SlackOnAppCreated, o as SlackProcessedEmit, r as SlackPreprocessEvent, s as SlackProcessedSkip, t as FunnelSlackListener, u as SlackConnectorConfig } from "../slack-listener-CLTiOEJw.js";
2
+ import { a as SlackProcessed, c as SlackRawEvent, d as slackConnectorSchema, i as FunnelSlackEventProcessor, l as SlackSkipReason, n as SlackOnAppCreated, o as SlackProcessedEmit, r as SlackPreprocessEvent, s as SlackProcessedSkip, t as FunnelSlackListener, u as SlackConnectorConfig } from "../slack-listener-9UdAn_ui.js";
3
3
 
4
4
  //#region lib/connectors/slack-adapter.d.ts
5
5
  type SlackWebClientLike = {
@@ -1,2 +1,2 @@
1
- import { i as FunnelSlackAdapter, n as FunnelSlackListener, r as FunnelSlackEventProcessor, t as slackConnectorSchema } from "../slack-connector-schema-CHbRJHGp.js";
1
+ import { i as FunnelSlackAdapter, n as FunnelSlackListener, r as FunnelSlackEventProcessor, t as slackConnectorSchema } from "../slack-connector-schema-DDbSGPZn.js";
2
2
  export { FunnelSlackAdapter, FunnelSlackEventProcessor, FunnelSlackListener, slackConnectorSchema };
@@ -1,5 +1,5 @@
1
1
  import { t as FunnelConnectorAdapter } from "./connector-adapter-D5Utumgz.js";
2
- import { t as resolveConnectorToken } from "./resolve-connector-token-Ch6XWMJM.js";
2
+ import { t as resolveConnectorToken } from "./resolve-connector-token-BHmZLRrV.js";
3
3
  import { n as FunnelConnectorListener } from "./logger-Czli2OKh.js";
4
4
  import { Client, GatewayIntentBits, Partials } from "discord.js";
5
5
  import { z } from "zod";
@@ -228,8 +228,10 @@ const messageOf = (error) => {
228
228
  //#region lib/connectors/discord-connector-schema.ts
229
229
  /**
230
230
  * Like slack, a discord connector holds either a literal `botToken` or a
231
- * `botTokenEnv` reference resolved from the environment at listener start. The
232
- * reference form keeps the secret in `.env.local` and out of settings.json.
231
+ * `botTokenEnv` reference resolved from `process.env` at listener start. The
232
+ * reference form keeps the secret out of settings.json, but is only set through
233
+ * the engine API (`new Funnel(...)`); funnel.json and the `fnl` CLI produce
234
+ * literals.
233
235
  */
234
236
  const discordConnectorSchema = z.object({
235
237
  id: z.string(),
@@ -3,8 +3,10 @@ import { z } from "zod";
3
3
  //#region lib/connectors/discord-connector-schema.d.ts
4
4
  /**
5
5
  * Like slack, a discord connector holds either a literal `botToken` or a
6
- * `botTokenEnv` reference resolved from the environment at listener start. The
7
- * reference form keeps the secret in `.env.local` and out of settings.json.
6
+ * `botTokenEnv` reference resolved from `process.env` at listener start. The
7
+ * reference form keeps the secret out of settings.json, but is only set through
8
+ * the engine API (`new Funnel(...)`); funnel.json and the `fnl` CLI produce
9
+ * literals.
8
10
  */
9
11
  declare const discordConnectorSchema: z.ZodObject<{
10
12
  id: z.ZodString;