@interactive-inc/claude-funnel 0.56.0 → 0.58.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/dist/bin.js +258 -219
- package/dist/claude.d.ts +2 -2
- package/dist/claude.js +1 -1
- package/dist/{connector-adapter-1PxjN-Uk.d.ts → connector-adapter-BkYC6qiK.d.ts} +1 -1
- package/dist/connectors/discord.d.ts +2 -19
- package/dist/connectors/discord.js +1 -1
- package/dist/connectors/gh.d.ts +1 -1
- package/dist/connectors/slack.d.ts +18 -3
- package/dist/connectors/slack.js +1 -1
- package/dist/{discord-connector-schema-CPgcZkXh.d.ts → discord-connector-schema-CWHVNIcB.d.ts} +18 -1
- package/dist/{discord-listener-C0MoKdQO.js → discord-listener-CKsZGTnH.js} +1 -1
- package/dist/gateway/daemon.js +196 -196
- package/dist/gateway.d.ts +1 -1
- package/dist/gateway.js +1 -1
- package/dist/{index-CrngHrne.d.ts → index-tP67P1Sy.d.ts} +38 -3
- package/dist/index.d.ts +6 -5
- package/dist/index.js +76 -11
- package/dist/{local-config-sync-B8b04LrZ.d.ts → local-config-sync-BY20ixEV.d.ts} +2 -2
- package/dist/local-config.d.ts +2 -2
- package/dist/{memory-diagnostic-log-BbFVqDzz.js → memory-diagnostic-log-CvqobDDs.js} +134 -50
- package/dist/{memory-token-prompter-Lo3YRDzq.d.ts → memory-token-prompter-DOgptiIb.d.ts} +1 -1
- package/dist/{slack-listener-DUKPcpJH.js → slack-listener-C4wlZaOq.js} +69 -7
- package/dist/{slack-listener-COQA8wAZ.d.ts → slack-listener-DFW9vck4.d.ts} +26 -1
- package/dist/{yaml-render-OhUN-qkS.js → yaml-render-C9Hhjk-0.js} +1 -1
- package/package.json +8 -2
package/dist/claude.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as ProcessGuard, c as ChannelResolver, i as SessionStore, n as FunnelClaude, o as McpInstaller, r as LaunchOptions, s as GatewayController, t as FileProcessGuard } from "./file-process-guard-DI1742H5.js";
|
|
2
2
|
import { n as FunnelFileSystem } from "./file-system-Wub9Nto4.js";
|
|
3
3
|
import { t as FunnelProfiles } from "./profiles-EHTeCOqB.js";
|
|
4
|
-
import { C as profileSpecSchema, S as localConfigSchema, _ as LOCAL_CONFIG_FILENAME, b as channelSpecSchema, g as ConnectorSpec, h as ChannelSpec, i as FunnelTokenPrompter, m as FunnelLocalConfig, n as FunnelLocalConfigSync, r as LocalConfigSyncResult, t as ConnectorSyncOutcome, v as LocalConfig, x as connectorSpecSchema, y as ProfileSpec } from "./local-config-sync-
|
|
5
|
-
import { i as funnelJsonSchema, n as NodeFunnelTokenPrompter, r as FunnelLocalConfigWriter, t as MemoryFunnelTokenPrompter } from "./memory-token-prompter-
|
|
4
|
+
import { C as profileSpecSchema, S as localConfigSchema, _ as LOCAL_CONFIG_FILENAME, b as channelSpecSchema, g as ConnectorSpec, h as ChannelSpec, i as FunnelTokenPrompter, m as FunnelLocalConfig, n as FunnelLocalConfigSync, r as LocalConfigSyncResult, t as ConnectorSyncOutcome, v as LocalConfig, x as connectorSpecSchema, y as ProfileSpec } from "./local-config-sync-BY20ixEV.js";
|
|
5
|
+
import { i as funnelJsonSchema, n as NodeFunnelTokenPrompter, r as FunnelLocalConfigWriter, t as MemoryFunnelTokenPrompter } from "./memory-token-prompter-DOgptiIb.js";
|
|
6
6
|
|
|
7
7
|
//#region lib/engine/mcp/mcp.d.ts
|
|
8
8
|
declare const FUNNEL_MCP_COMMAND = "bun";
|
package/dist/claude.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as settingsSchema, s as resolveFunnelPort, t as gatewayLoopbackUrl } from "./gateway-base-url-6foMXfFf.js";
|
|
2
|
-
import { a as FunnelMcp, i as FUNNEL_MCP_NAME, n as FUNNEL_MCP_ARGS, o as FileProcessGuard, r as FUNNEL_MCP_COMMAND, s as FunnelClaude, t as renderYaml } from "./yaml-render-
|
|
2
|
+
import { a as FunnelMcp, i as FUNNEL_MCP_NAME, n as FUNNEL_MCP_ARGS, o as FileProcessGuard, r as FUNNEL_MCP_COMMAND, s as FunnelClaude, t as renderYaml } from "./yaml-render-C9Hhjk-0.js";
|
|
3
3
|
import { t as FunnelDocs } from "./funnel-docs-ng5K8w4j.js";
|
|
4
4
|
import { a as FunnelLocalConfig, c as connectorSpecSchema, i as FunnelTokenPrompter, l as localConfigSchema, n as NodeFunnelTokenPrompter, o as LOCAL_CONFIG_FILENAME, r as FunnelLocalConfigSync, s as channelSpecSchema, t as funnelJsonSchema, u as profileSpecSchema } from "./local-config-json-schema-DE1zkMcb.js";
|
|
5
5
|
import { t as FunnelProfiles } from "./profiles-MnXvYfZF.js";
|
|
@@ -1,24 +1,7 @@
|
|
|
1
1
|
import { S as FunnelLogger, b as FunnelConnectorListener, o as ConnectorDiagnosticLog, x as NotifyFn } from "../diagnostic-log-Bxe7Bbvw.js";
|
|
2
|
-
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-
|
|
3
|
-
import { n as discordConnectorSchema, t as DiscordConnectorConfig } from "../discord-connector-schema-
|
|
2
|
+
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-BkYC6qiK.js";
|
|
3
|
+
import { n as discordConnectorSchema, r as FunnelHttpClient, t as DiscordConnectorConfig } from "../discord-connector-schema-CWHVNIcB.js";
|
|
4
4
|
|
|
5
|
-
//#region lib/engine/http/http-client.d.ts
|
|
6
|
-
type HttpRequest = {
|
|
7
|
-
method: string;
|
|
8
|
-
url: string;
|
|
9
|
-
headers?: Record<string, string>;
|
|
10
|
-
body?: string;
|
|
11
|
-
};
|
|
12
|
-
type HttpResponse = {
|
|
13
|
-
status: number;
|
|
14
|
-
ok: boolean;
|
|
15
|
-
text(): Promise<string>;
|
|
16
|
-
json(): Promise<unknown>;
|
|
17
|
-
};
|
|
18
|
-
declare abstract class FunnelHttpClient {
|
|
19
|
-
abstract fetch(request: HttpRequest): Promise<HttpResponse>;
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
5
|
//#region lib/engine/connectors/discord-adapter.d.ts
|
|
23
6
|
type Deps$1 = {
|
|
24
7
|
config: DiscordConnectorConfig; /** Environment used to resolve a `botTokenEnv` reference. Defaults to process.env. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as FunnelDiscordEventProcessor, r as FunnelDiscordAdapter, t as FunnelDiscordListener } from "../discord-listener-
|
|
1
|
+
import { n as FunnelDiscordEventProcessor, r as FunnelDiscordAdapter, t as FunnelDiscordListener } from "../discord-listener-CKsZGTnH.js";
|
|
2
2
|
import { t as discordConnectorSchema } from "../discord-connector-schema-B_N6IXLz.js";
|
|
3
3
|
export { FunnelDiscordAdapter, FunnelDiscordEventProcessor, FunnelDiscordListener, discordConnectorSchema };
|
package/dist/connectors/gh.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as FunnelLogger, b as FunnelConnectorListener, o as ConnectorDiagnosticLog, x as NotifyFn } from "../diagnostic-log-Bxe7Bbvw.js";
|
|
2
2
|
import { r as FunnelProcessRunner } from "../process-runner-D5I_jhYQ.js";
|
|
3
|
-
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-
|
|
3
|
+
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-BkYC6qiK.js";
|
|
4
4
|
import { n as ghConnectorSchema, t as GhConnectorConfig } from "../gh-connector-schema-CU1ojfIF.js";
|
|
5
5
|
|
|
6
6
|
//#region lib/engine/connectors/gh-adapter.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-
|
|
2
|
-
import { a as slackConnectorSchema, c as SlackProcessedEmit, d as SlackSkipReason, i as SlackConnectorConfig, l as SlackProcessedSkip, n as SlackOnAppCreated, o as FunnelSlackEventProcessor, r as SlackPreprocessEvent, s as SlackProcessed, t as FunnelSlackListener, u as SlackRawEvent } from "../slack-listener-
|
|
1
|
+
import { n as FunnelConnectorAdapter, t as CallInput } from "../connector-adapter-BkYC6qiK.js";
|
|
2
|
+
import { a as slackConnectorSchema, c as SlackProcessedEmit, d as SlackSkipReason, f as SlackEvent, i as SlackConnectorConfig, l as SlackProcessedSkip, m as SlackReactionEvent, n as SlackOnAppCreated, o as FunnelSlackEventProcessor, p as SlackMessageEvent, r as SlackPreprocessEvent, s as SlackProcessed, t as FunnelSlackListener, u as SlackRawEvent } from "../slack-listener-DFW9vck4.js";
|
|
3
3
|
|
|
4
4
|
//#region lib/engine/connectors/slack-adapter.d.ts
|
|
5
5
|
type SlackWebClientLike = {
|
|
@@ -14,6 +14,21 @@ declare class FunnelSlackAdapter extends FunnelConnectorAdapter {
|
|
|
14
14
|
private readonly client;
|
|
15
15
|
constructor(deps: Deps);
|
|
16
16
|
call(input: CallInput): Promise<unknown>;
|
|
17
|
+
postMessage(props: {
|
|
18
|
+
channel: string;
|
|
19
|
+
text: string;
|
|
20
|
+
threadTs?: string;
|
|
21
|
+
}): Promise<unknown>;
|
|
22
|
+
addReaction(props: {
|
|
23
|
+
channel: string;
|
|
24
|
+
timestamp: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}): Promise<unknown>;
|
|
27
|
+
removeReaction(props: {
|
|
28
|
+
channel: string;
|
|
29
|
+
timestamp: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}): Promise<unknown>;
|
|
17
32
|
}
|
|
18
33
|
//#endregion
|
|
19
|
-
export { FunnelSlackAdapter, FunnelSlackEventProcessor, FunnelSlackListener, SlackConnectorConfig, SlackOnAppCreated, SlackPreprocessEvent, SlackProcessed, SlackProcessedEmit, SlackProcessedSkip, SlackRawEvent, SlackSkipReason, SlackWebClientLike, slackConnectorSchema };
|
|
34
|
+
export { FunnelSlackAdapter, FunnelSlackEventProcessor, FunnelSlackListener, SlackConnectorConfig, SlackEvent, SlackMessageEvent, SlackOnAppCreated, SlackPreprocessEvent, SlackProcessed, SlackProcessedEmit, SlackProcessedSkip, SlackRawEvent, SlackReactionEvent, SlackSkipReason, SlackWebClientLike, slackConnectorSchema };
|
package/dist/connectors/slack.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as FunnelSlackEventProcessor, r as FunnelSlackAdapter, t as FunnelSlackListener } from "../slack-listener-
|
|
1
|
+
import { n as FunnelSlackEventProcessor, r as FunnelSlackAdapter, t as FunnelSlackListener } from "../slack-listener-C4wlZaOq.js";
|
|
2
2
|
import { t as slackConnectorSchema } from "../slack-connector-schema-C1zEf4TG.js";
|
|
3
3
|
export { FunnelSlackAdapter, FunnelSlackEventProcessor, FunnelSlackListener, slackConnectorSchema };
|
package/dist/{discord-connector-schema-CPgcZkXh.d.ts → discord-connector-schema-CWHVNIcB.d.ts}
RENAMED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
|
+
//#region lib/engine/http/http-client.d.ts
|
|
4
|
+
type HttpRequest = {
|
|
5
|
+
method: string;
|
|
6
|
+
url: string;
|
|
7
|
+
headers?: Record<string, string>;
|
|
8
|
+
body?: string;
|
|
9
|
+
};
|
|
10
|
+
type HttpResponse = {
|
|
11
|
+
status: number;
|
|
12
|
+
ok: boolean;
|
|
13
|
+
text(): Promise<string>;
|
|
14
|
+
json(): Promise<unknown>;
|
|
15
|
+
};
|
|
16
|
+
declare abstract class FunnelHttpClient {
|
|
17
|
+
abstract fetch(request: HttpRequest): Promise<HttpResponse>;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
3
20
|
//#region lib/engine/connectors/discord-connector-schema.d.ts
|
|
4
21
|
/**
|
|
5
22
|
* Like slack, a discord connector holds either a literal `botToken` or a
|
|
@@ -19,4 +36,4 @@ declare const discordConnectorSchema: z.ZodObject<{
|
|
|
19
36
|
}, z.core.$strip>;
|
|
20
37
|
type DiscordConnectorConfig = z.infer<typeof discordConnectorSchema>;
|
|
21
38
|
//#endregion
|
|
22
|
-
export { discordConnectorSchema as n, DiscordConnectorConfig as t };
|
|
39
|
+
export { HttpResponse as a, HttpRequest as i, discordConnectorSchema as n, FunnelHttpClient as r, DiscordConnectorConfig as t };
|
|
@@ -224,4 +224,4 @@ const messageOf = (error) => {
|
|
|
224
224
|
return error instanceof Error ? error.message : String(error);
|
|
225
225
|
};
|
|
226
226
|
//#endregion
|
|
227
|
-
export { FunnelDiscordEventProcessor as n, FunnelDiscordAdapter as r, FunnelDiscordListener as t };
|
|
227
|
+
export { FunnelHttpClient as a, NodeFunnelHttpClient as i, FunnelDiscordEventProcessor as n, FunnelDiscordAdapter as r, FunnelDiscordListener as t };
|