@interactive-inc/claude-funnel 0.50.0 → 0.52.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/claude.d.ts CHANGED
@@ -1,28 +1,9 @@
1
- import { a as McpInstaller, i as ProcessGuard, n as LaunchOptions, o as GatewayController, r as SessionStore, s as ChannelResolver, t as FunnelClaude } from "./claude-CB1WkV77.js";
2
- import { r as FunnelProcessRunner } from "./process-runner-DfniuWVU.js";
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-BgrVHe9I.js";
3
2
  import { n as FunnelFileSystem } from "./file-system-BeOKXjlV.js";
4
3
  import { t as FunnelProfiles } from "./profiles-f0mNmEyP.js";
5
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-BdsrDZOu.js";
6
5
  import { i as funnelJsonSchema, n as NodeFunnelTokenPrompter, r as FunnelLocalConfigWriter, t as MemoryFunnelTokenPrompter } from "./memory-token-prompter-B5FFCsGP.js";
7
6
 
8
- //#region lib/engine/claude/file-process-guard.d.ts
9
- type Deps$1 = {
10
- fs?: FunnelFileSystem;
11
- process?: FunnelProcessRunner;
12
- dir?: string;
13
- };
14
- declare class FileProcessGuard implements ProcessGuard {
15
- private readonly fs;
16
- private readonly process;
17
- private readonly pidDir;
18
- constructor(deps?: Deps$1);
19
- isRunning(profileId: string): boolean;
20
- acquire(profileId: string): void;
21
- release(profileId: string): void;
22
- private pidPath;
23
- private readPid;
24
- }
25
- //#endregion
26
7
  //#region lib/engine/mcp/mcp.d.ts
27
8
  declare const FUNNEL_MCP_COMMAND = "bun";
28
9
  declare const FUNNEL_MCP_ARGS: string[];
@@ -1,6 +1,7 @@
1
1
  import { n as FunnelIdGenerator, r as ChannelConfig } from "./settings-reader-BSU6JyvM.js";
2
2
  import { S as FunnelLogger } from "./connector-diagnostic-log-yTOojKUR.js";
3
3
  import { r as FunnelProcessRunner } from "./process-runner-DfniuWVU.js";
4
+ import { n as FunnelFileSystem } from "./file-system-BeOKXjlV.js";
4
5
 
5
6
  //#region lib/engine/claude/channel-resolver.d.ts
6
7
  type ChannelResolver = {
@@ -61,7 +62,7 @@ type LaunchOptions = {
61
62
  * does not need the funnel binary as an MCP endpoint. */
62
63
  installMcp?: boolean;
63
64
  };
64
- type Deps = {
65
+ type Deps$1 = {
65
66
  channels: ChannelResolver;
66
67
  mcp: McpInstaller;
67
68
  gateway: GatewayController;
@@ -86,7 +87,7 @@ declare class FunnelClaude {
86
87
  private readonly process;
87
88
  private readonly idGenerator;
88
89
  private readonly logger;
89
- constructor(deps: Deps);
90
+ constructor(deps: Deps$1);
90
91
  launch(options: LaunchOptions): Promise<number>;
91
92
  private buildArgs;
92
93
  /**
@@ -112,4 +113,22 @@ declare class FunnelClaude {
112
113
  private buildEnv;
113
114
  }
114
115
  //#endregion
115
- export { McpInstaller as a, ProcessGuard as i, LaunchOptions as n, GatewayController as o, SessionStore as r, ChannelResolver as s, FunnelClaude as t };
116
+ //#region lib/engine/claude/file-process-guard.d.ts
117
+ type Deps = {
118
+ fs?: FunnelFileSystem;
119
+ process?: FunnelProcessRunner;
120
+ dir?: string;
121
+ };
122
+ declare class FileProcessGuard implements ProcessGuard {
123
+ private readonly fs;
124
+ private readonly process;
125
+ private readonly pidDir;
126
+ constructor(deps?: Deps);
127
+ isRunning(profileId: string): boolean;
128
+ acquire(profileId: string): void;
129
+ release(profileId: string): void;
130
+ private pidPath;
131
+ private readPid;
132
+ }
133
+ //#endregion
134
+ export { ProcessGuard as a, ChannelResolver as c, SessionStore as i, FunnelClaude as n, McpInstaller as o, LaunchOptions as r, GatewayController as s, FileProcessGuard as t };