@interactive-inc/claude-funnel 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -13
- package/dist/bin.js +489 -924
- package/dist/connectors/discord.d.ts +1 -1
- package/dist/connectors/discord.js +1 -1
- package/dist/connectors/slack.d.ts +1 -1
- package/dist/connectors/slack.js +1 -1
- package/dist/{discord-connector-schema-RzDvrNE5.js → discord-connector-schema-BeThExJp.js} +5 -3
- package/dist/{discord-connector-schema-Df_McRJI.d.ts → discord-connector-schema-DF4pL3Sc.d.ts} +4 -2
- package/dist/gateway/daemon.js +223 -201
- package/dist/index.d.ts +6 -7
- package/dist/index.js +22 -2229
- package/dist/{resolve-connector-token-Ch6XWMJM.js → resolve-connector-token-BHmZLRrV.js} +1 -1
- package/dist/{slack-connector-schema-CHbRJHGp.js → slack-connector-schema-DDbSGPZn.js} +6 -7
- package/dist/{slack-listener-CLTiOEJw.d.ts → slack-listener-9UdAn_ui.d.ts} +5 -6
- package/funnel.schema.json +4 -0
- package/package.json +1 -5
- package/dist/highlights-eq9cgrbb.scm +0 -604
- package/dist/highlights-ghv9g403.scm +0 -205
- package/dist/highlights-hk7bwhj4.scm +0 -284
- package/dist/highlights-r812a2qc.scm +0 -150
- package/dist/highlights-x6tmsnaa.scm +0 -115
- package/dist/injections-73j83es3.scm +0 -27
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
|
@@ -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-
|
|
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-
|
|
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-
|
|
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 = {
|
package/dist/connectors/slack.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as FunnelSlackAdapter, n as FunnelSlackListener, r as FunnelSlackEventProcessor, t as slackConnectorSchema } from "../slack-connector-schema-
|
|
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-
|
|
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
|
|
232
|
-
* reference form keeps the secret
|
|
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(),
|
package/dist/{discord-connector-schema-Df_McRJI.d.ts → discord-connector-schema-DF4pL3Sc.d.ts}
RENAMED
|
@@ -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
|
|
7
|
-
* reference form keeps the secret
|
|
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;
|