@a5c-ai/agent-mux-gateway 5.0.1-staging.69cb593ea → 5.0.1-staging.69cb593ea536

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 (50) hide show
  1. package/dist/auth/bootstrap.d.ts +1 -0
  2. package/dist/auth/hashing.d.ts +1 -0
  3. package/dist/auth/middleware.d.ts +1 -0
  4. package/dist/auth/tokens.d.ts +1 -0
  5. package/dist/builtin-adapters.d.ts +1 -0
  6. package/dist/config.d.ts +1 -0
  7. package/dist/fanout/client-conn.d.ts +1 -0
  8. package/dist/fanout/subscriber.d.ts +1 -0
  9. package/dist/index.d.ts +1 -0
  10. package/dist/kanban/lib/config-loader.d.ts +1 -0
  11. package/dist/kanban/lib/config.d.ts +1 -0
  12. package/dist/kanban/lib/dispatch-context-audit.d.ts +1 -0
  13. package/dist/kanban/lib/error-handler.d.ts +1 -0
  14. package/dist/kanban/lib/global-registry.d.ts +1 -0
  15. package/dist/kanban/lib/parser.d.ts +1 -0
  16. package/dist/kanban/lib/path-resolver.d.ts +1 -0
  17. package/dist/kanban/lib/review-service.d.ts +1 -0
  18. package/dist/kanban/lib/run-cache.d.ts +1 -0
  19. package/dist/kanban/lib/server-init.d.ts +1 -0
  20. package/dist/kanban/lib/services/automation-rule-service.d.ts +1 -0
  21. package/dist/kanban/lib/services/automation-webhook-service.d.ts +1 -0
  22. package/dist/kanban/lib/services/backlog-query-service.d.ts +1 -0
  23. package/dist/kanban/lib/services/dispatch-context-label-service.d.ts +1 -0
  24. package/dist/kanban/lib/services/kanban-storage.d.ts +1 -0
  25. package/dist/kanban/lib/services/run-query-service.d.ts +1 -0
  26. package/dist/kanban/lib/services/task-tag-service.d.ts +1 -0
  27. package/dist/kanban/lib/settings-section-storage.d.ts +1 -0
  28. package/dist/kanban/lib/source-discovery.d.ts +1 -0
  29. package/dist/kanban/lib/utils.d.ts +1 -0
  30. package/dist/kanban/lib/watcher.d.ts +1 -0
  31. package/dist/kanban/lib/workspace-lifecycle.d.ts +1 -0
  32. package/dist/kanban/routes.d.ts +1 -0
  33. package/dist/kanban/types/breakpoint.d.ts +1 -0
  34. package/dist/kanban/types/index.d.ts +1 -0
  35. package/dist/logging.d.ts +1 -0
  36. package/dist/notifications/types.d.ts +1 -0
  37. package/dist/notifications/webhook-out.d.ts +1 -0
  38. package/dist/pairing/short-code.d.ts +1 -0
  39. package/dist/protocol/errors.d.ts +1 -0
  40. package/dist/protocol/frames.d.ts +1 -0
  41. package/dist/protocol/v1.d.ts +1 -0
  42. package/dist/runs/event-log-index.d.ts +1 -0
  43. package/dist/runs/event-log.d.ts +1 -0
  44. package/dist/runs/hook-broker.d.ts +1 -0
  45. package/dist/runs/manager.d.ts +1 -0
  46. package/dist/runs/session-runtime.d.ts +1 -0
  47. package/dist/runs/types.d.ts +1 -0
  48. package/dist/server.d.ts +1 -0
  49. package/dist/static/webui-server.d.ts +1 -0
  50. package/package.json +3 -3
@@ -87,3 +87,4 @@ export declare class BootstrapAuthService {
87
87
  bootstrapTokenId: string | null;
88
88
  }>;
89
89
  }
90
+ //# sourceMappingURL=bootstrap.d.ts.map
@@ -2,3 +2,4 @@ export declare function hashToken(plaintext: string): Promise<string>;
2
2
  export declare function verifyTokenHash(hash: string, plaintext: string): Promise<boolean>;
3
3
  export declare const hashSecret: typeof hashToken;
4
4
  export declare const verifySecretHash: typeof verifyTokenHash;
5
+ //# sourceMappingURL=hashing.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { TokenStore, TokenRecord } from './tokens.js';
2
2
  export declare function parseBearerToken(headerValue: string | null | undefined): string | null;
3
3
  export declare function authenticateBearerToken(tokenStore: TokenStore, headerValue: string | null | undefined): Promise<TokenRecord | null>;
4
+ //# sourceMappingURL=middleware.d.ts.map
@@ -43,3 +43,4 @@ export declare class SqliteTokenStore implements TokenStore {
43
43
  close(): void;
44
44
  private rowToRecord;
45
45
  }
46
+ //# sourceMappingURL=tokens.d.ts.map
@@ -15,3 +15,4 @@ export interface RunnableGatewayAgent {
15
15
  }
16
16
  export declare function listRunnableGatewayAgents(client?: GatewayRunClient): Promise<RunnableGatewayAgent[]>;
17
17
  export declare function listRunnableGatewayAgentNames(client?: GatewayRunClient): Promise<string[]>;
18
+ //# sourceMappingURL=builtin-adapters.d.ts.map
package/dist/config.d.ts CHANGED
@@ -35,3 +35,4 @@ export interface GatewayConfig {
35
35
  export declare const DEFAULT_GATEWAY_CONFIG: Readonly<GatewayConfig>;
36
36
  export declare function resolveGatewayConfig(config?: Partial<GatewayConfig>): GatewayConfig;
37
37
  export declare function resolveGatewayEnvConfig(env?: NodeJS.ProcessEnv): Partial<GatewayConfig>;
38
+ //# sourceMappingURL=config.d.ts.map
@@ -18,3 +18,4 @@ export declare class ClientConn {
18
18
  private sendEncoded;
19
19
  close(code: number, reason: string): void;
20
20
  }
21
+ //# sourceMappingURL=client-conn.d.ts.map
@@ -10,3 +10,4 @@ export declare class RunSubscriber {
10
10
  sendLive(event: LoggedRunEvent): void;
11
11
  finishCatchUp(): void;
12
12
  }
13
+ //# sourceMappingURL=subscriber.d.ts.map
package/dist/index.d.ts CHANGED
@@ -28,3 +28,4 @@ export interface Gateway {
28
28
  stop(): Promise<void>;
29
29
  }
30
30
  export declare function createGateway(config?: Partial<GatewayConfig>): Gateway;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -27,3 +27,4 @@ export declare function writeConfig(data: {
27
27
  hiddenProjects?: string[];
28
28
  }): Promise<void>;
29
29
  export declare function getConfig(): Promise<KanbanConfig>;
30
+ //# sourceMappingURL=config-loader.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export { isNotFoundError, type WatchSource, type KanbanConfig, type ObserverConfig, invalidateConfigCache, writeConfig, getConfig, } from "./config-loader.js";
2
2
  export { type DiscoveredRun, invalidateDiscoveryCache, discoverAllRunDirs, discoverAllRunsParentDirs, } from "./source-discovery.js";
3
3
  export { findRunDir } from "./path-resolver.js";
4
+ //# sourceMappingURL=config.d.ts.map
@@ -10,3 +10,4 @@ export interface DispatchContextAuditRecord {
10
10
  }
11
11
  export declare function findDispatchContextAuditsByRunId(snapshot: KanbanBacklogSnapshot | null | undefined, runId: string): DispatchContextAuditRecord[];
12
12
  export declare function findDispatchContextAuditsBySessionId(snapshot: KanbanBacklogSnapshot | null | undefined, sessionId: string): DispatchContextAuditRecord[];
13
+ //# sourceMappingURL=dispatch-context-audit.d.ts.map
@@ -26,3 +26,4 @@ export interface NormalizedError {
26
26
  * - Anything else (null, undefined, number, object) → generic 500.
27
27
  */
28
28
  export declare function normalizeError(err: unknown): NormalizedError;
29
+ //# sourceMappingURL=error-handler.d.ts.map
@@ -69,3 +69,4 @@ export declare function clearGlobal<K extends keyof GlobalRegistryMap>(key: K):
69
69
  * Primarily useful in tests.
70
70
  */
71
71
  export declare function clearAllGlobals(): void;
72
+ //# sourceMappingURL=global-registry.d.ts.map
@@ -34,3 +34,4 @@ export declare function parseRunDir(runPath: string, incremental?: IncrementalRu
34
34
  export declare function parseTaskDetail(runPath: string, effectId: string): Promise<TaskDetail | null>;
35
35
  export declare function getRunDigest(runPath: string): Promise<RunDigest>;
36
36
  export declare function getRunIds(runsPath: string): Promise<string[]>;
37
+ //# sourceMappingURL=parser.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import { type DiscoveredRun } from "./source-discovery.js";
2
2
  export declare function findRunDir(runId: string): Promise<DiscoveredRun | null>;
3
+ //# sourceMappingURL=path-resolver.d.ts.map
@@ -61,3 +61,4 @@ export declare class ReviewService {
61
61
  }): Promise<KanbanReviewSnapshot>;
62
62
  applyAction(input: ReviewActionInput): Promise<KanbanReviewSnapshot>;
63
63
  }
64
+ //# sourceMappingURL=review-service.d.ts.map
@@ -34,3 +34,4 @@ export declare function getCacheStats(): {
34
34
  hasFullRun: boolean;
35
35
  }[];
36
36
  };
37
+ //# sourceMappingURL=run-cache.d.ts.map
@@ -24,3 +24,4 @@ export declare function getInitStatus(): {
24
24
  hasCleanup: boolean;
25
25
  serverEventListeners: number;
26
26
  };
27
+ //# sourceMappingURL=server-init.d.ts.map
@@ -95,3 +95,4 @@ export declare class AutomationRuleService {
95
95
  materializeEvent(ruleId: string, body: Record<string, unknown>): Promise<MaterializeAutomationEventResponse>;
96
96
  }
97
97
  export {};
98
+ //# sourceMappingURL=automation-rule-service.d.ts.map
@@ -42,3 +42,4 @@ export declare class AutomationWebhookService {
42
42
  deliver(input: AutomationWebhookDeliveryInput): Promise<AutomationWebhookDeliveryResponse>;
43
43
  }
44
44
  export {};
45
+ //# sourceMappingURL=automation-webhook-service.d.ts.map
@@ -128,3 +128,4 @@ export declare class BacklogQueryService {
128
128
  }): Promise<BacklogOverview>;
129
129
  }
130
130
  export {};
131
+ //# sourceMappingURL=backlog-query-service.d.ts.map
@@ -37,3 +37,4 @@ export declare class DispatchContextLabelService {
37
37
  deleteDispatchContextLabel(dispatchContextLabelId: string): Promise<DispatchContextLabelDeleteResult>;
38
38
  }
39
39
  export {};
40
+ //# sourceMappingURL=dispatch-context-label-service.d.ts.map
@@ -34,3 +34,4 @@ export interface KanbanStorageDeps {
34
34
  export declare const defaultKanbanStorageDeps: KanbanStorageDeps;
35
35
  export declare function readKanbanStorageFile(deps: KanbanStorageDeps): Promise<KanbanStoragePayload | null>;
36
36
  export declare function writeKanbanStorageFile(deps: KanbanStorageDeps, payload: KanbanStoragePayload): Promise<void>;
37
+ //# sourceMappingURL=kanban-storage.d.ts.map
@@ -77,3 +77,4 @@ export declare class RunQueryService {
77
77
  */
78
78
  listAllRuns(params: RunQueryParams): Promise<RunsListResponse>;
79
79
  }
80
+ //# sourceMappingURL=run-query-service.d.ts.map
@@ -37,3 +37,4 @@ export declare class TaskTagService {
37
37
  deleteTaskTag(taskTagId: string): Promise<TaskTagDeleteResult>;
38
38
  }
39
39
  export {};
40
+ //# sourceMappingURL=task-tag-service.d.ts.map
@@ -11,3 +11,4 @@ export interface SettingsSectionStorage {
11
11
  }
12
12
  export declare function loadSettingsSectionStorage(): Promise<SettingsSectionStorage>;
13
13
  export declare function writeSettingsSectionStorage(data: SettingsSectionStorage): Promise<void>;
14
+ //# sourceMappingURL=settings-section-storage.d.ts.map
@@ -8,3 +8,4 @@ export interface DiscoveredRun {
8
8
  export declare function invalidateDiscoveryCache(): void;
9
9
  export declare function discoverAllRunDirs(): Promise<DiscoveredRun[]>;
10
10
  export declare function discoverAllRunsParentDirs(): Promise<string[]>;
11
+ //# sourceMappingURL=source-discovery.d.ts.map
@@ -6,3 +6,4 @@ export declare function getStatusColor(status: string): string;
6
6
  export declare function getStatusBg(status: string): string;
7
7
  export declare function formatShortId(id: string, chars?: number): string;
8
8
  export declare function friendlyProcessName(processId: string): string;
9
+ //# sourceMappingURL=utils.d.ts.map
@@ -12,3 +12,4 @@ export declare function getWatcherStats(): {
12
12
  watchedPaths: string[];
13
13
  pendingDebounces: number;
14
14
  };
15
+ //# sourceMappingURL=watcher.d.ts.map
@@ -66,3 +66,4 @@ export declare class WorkspaceLifecycleService {
66
66
  }): Promise<WorkspaceActionResult>;
67
67
  }
68
68
  export {};
69
+ //# sourceMappingURL=workspace-lifecycle.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Hono } from 'hono';
2
2
  export declare function registerKanbanRoutes(app: Hono): void;
3
+ //# sourceMappingURL=routes.d.ts.map
@@ -11,3 +11,4 @@ export interface BreakpointPayload {
11
11
  files?: BreakpointFile[];
12
12
  };
13
13
  }
14
+ //# sourceMappingURL=breakpoint.d.ts.map
@@ -171,3 +171,4 @@ export interface EventsResponse {
171
171
  export interface TaskDetailResponse {
172
172
  task: TaskDetail;
173
173
  }
174
+ //# sourceMappingURL=index.d.ts.map
package/dist/logging.d.ts CHANGED
@@ -5,3 +5,4 @@ export interface GatewayLogger {
5
5
  error(message: string, meta?: Record<string, unknown>): void;
6
6
  }
7
7
  export declare function createGatewayLogger(): GatewayLogger;
8
+ //# sourceMappingURL=logging.d.ts.map
@@ -16,3 +16,4 @@ export interface NotificationWebhookConfig {
16
16
  token?: string;
17
17
  timeoutMs?: number;
18
18
  }
19
+ //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { HookRequestWebhookPayload, NotificationWebhookConfig } from './types.js';
2
2
  export declare function createHookWebhookPayload(runId: string, hookRequestId: string, kind: string, payload: Record<string, unknown>): HookRequestWebhookPayload;
3
3
  export declare function emitHookWebhook(config: NotificationWebhookConfig, payload: HookRequestWebhookPayload): Promise<void>;
4
+ //# sourceMappingURL=webhook-out.d.ts.map
@@ -18,3 +18,4 @@ export declare class ShortCodeStore {
18
18
  consume(code: string): PairingRecord | null;
19
19
  cleanup(): void;
20
20
  }
21
+ //# sourceMappingURL=short-code.d.ts.map
@@ -8,3 +8,4 @@ export declare class GatewayProtocolError extends Error {
8
8
  readonly closeCode: number;
9
9
  constructor(message: string, closeCode: number);
10
10
  }
11
+ //# sourceMappingURL=errors.d.ts.map
@@ -105,3 +105,4 @@ export declare const gatewayFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
105
105
  }, z.core.$strip>], "type">;
106
106
  export declare function encodeFrame(frame: GatewayFrame): string;
107
107
  export declare function decodeFrame(input: string): GatewayFrame;
108
+ //# sourceMappingURL=frames.d.ts.map
@@ -109,3 +109,4 @@ export interface PairingConsumedFrame {
109
109
  export type ClientFrame = AuthFrame | SubscribeFrame | UnsubscribeFrame | SessionSubscribeFrame | SessionUnsubscribeFrame | SessionStartFrame | SessionMessageFrame | PingFrame | HookDecisionFrame | PairingRegisterFrame | PairingConsumeFrame;
110
110
  export type ServerFrame = HelloFrame | ErrorFrame | PongFrame | RunEventFrame | HookRequestFrame | HookResolvedFrame | PairingConsumedFrame;
111
111
  export type GatewayFrame = ClientFrame | ServerFrame;
112
+ //# sourceMappingURL=v1.d.ts.map
@@ -27,3 +27,4 @@ export declare class EventLogIndex {
27
27
  private rowToRunEntry;
28
28
  private ensureRunsColumn;
29
29
  }
30
+ //# sourceMappingURL=event-log-index.d.ts.map
@@ -23,3 +23,4 @@ export declare class EventLog {
23
23
  private appendSingle;
24
24
  private readAll;
25
25
  }
26
+ //# sourceMappingURL=event-log.d.ts.map
@@ -16,3 +16,4 @@ export declare class HookBroker {
16
16
  private finish;
17
17
  }
18
18
  export {};
19
+ //# sourceMappingURL=hook-broker.d.ts.map
@@ -55,3 +55,4 @@ export declare class RunManager {
55
55
  private readRecentEvents;
56
56
  private toWorkspaceSessionBinding;
57
57
  }
58
+ //# sourceMappingURL=manager.d.ts.map
@@ -6,3 +6,4 @@ export declare function buildWorkspaceRuntimeSurface(input: {
6
6
  runs: RunEntry[];
7
7
  eventsByRunId: Map<string, LoggedRunEvent[]>;
8
8
  }): WorkspaceRuntimeSurface | undefined;
9
+ //# sourceMappingURL=session-runtime.d.ts.map
@@ -53,3 +53,4 @@ export interface SessionEntry {
53
53
  runtime?: WorkspaceRuntimeSurface;
54
54
  source?: 'gateway' | 'native' | 'merged';
55
55
  }
56
+ //# sourceMappingURL=types.d.ts.map
package/dist/server.d.ts CHANGED
@@ -13,3 +13,4 @@ export interface GatewayServer {
13
13
  stop(): Promise<void>;
14
14
  }
15
15
  export declare function createGatewayServer(config: GatewayConfig, logger?: GatewayLogger): GatewayServer;
16
+ //# sourceMappingURL=server.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare function resolveWebuiRoot(configuredRoot: string | null | undefined): string | null;
2
2
  export declare function serveWebuiRequest(requestPath: string, webuiRoot: string | null): Promise<Response | null>;
3
+ //# sourceMappingURL=webui-server.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a5c-ai/agent-mux-gateway",
3
- "version": "5.0.1-staging.69cb593ea",
3
+ "version": "5.0.1-staging.69cb593ea536",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Gateway package for remote and browser-facing agent-mux surfaces",
@@ -49,8 +49,8 @@
49
49
  "prepublishOnly": "npm run build"
50
50
  },
51
51
  "dependencies": {
52
- "@a5c-ai/agent-mux-adapters": "5.0.1-staging.69cb593ea",
53
- "@a5c-ai/agent-mux-core": "5.0.1-staging.69cb593ea",
52
+ "@a5c-ai/agent-mux-adapters": "5.0.1-staging.69cb593ea536",
53
+ "@a5c-ai/agent-mux-core": "5.0.1-staging.69cb593ea536",
54
54
  "@hono/node-server": "^1.19.14",
55
55
  "argon2": "^0.44.0",
56
56
  "hono": "^4.12.14",