@frontmcp/sdk 1.8.5 → 1.8.7
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/agent/flows/call-agent.flow.d.ts.map +1 -1
- package/auth/flows/session.verify.flow.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/common/dynamic/dynamic.adapter.d.ts +1 -1
- package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
- package/common/dynamic/dynamic.plugin.d.ts +18 -3
- package/common/dynamic/dynamic.plugin.d.ts.map +1 -1
- package/common/dynamic/dynamic.utils.d.ts +10 -1
- package/common/dynamic/dynamic.utils.d.ts.map +1 -1
- package/common/interfaces/execution-context.interface.d.ts +14 -0
- package/common/interfaces/execution-context.interface.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +127 -19
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/types/options/http/index.d.ts +1 -1
- package/common/types/options/http/index.d.ts.map +1 -1
- package/common/types/options/http/interfaces.d.ts +36 -1
- package/common/types/options/http/interfaces.d.ts.map +1 -1
- package/common/types/options/http/schema.d.ts +12 -0
- package/common/types/options/http/schema.d.ts.map +1 -1
- package/common/types/options/transport/schema.d.ts +2 -2
- package/common/utils/list-all-pages.utils.d.ts +17 -0
- package/common/utils/list-all-pages.utils.d.ts.map +1 -0
- package/context/frontmcp-context-storage.d.ts.map +1 -1
- package/context/frontmcp-context.d.ts +11 -0
- package/context/frontmcp-context.d.ts.map +1 -1
- package/elicitation/store/elicitation-store.factory.d.ts.map +1 -1
- package/errors/misconfiguration.d.ts +30 -0
- package/errors/misconfiguration.d.ts.map +1 -0
- package/esm/index.mjs +1181 -325
- package/flows/flow.instance.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/ha/ha-headers.d.ts +16 -0
- package/ha/ha-headers.d.ts.map +1 -0
- package/health/health.probes.d.ts +1 -1
- package/health/health.probes.d.ts.map +1 -1
- package/index.js +1259 -407
- package/job/store/job-definition-store.factory.d.ts.map +1 -1
- package/job/store/job-state-store.factory.d.ts.map +1 -1
- package/notification/notification.service.d.ts +4 -1
- package/notification/notification.service.d.ts.map +1 -1
- package/package.json +10 -10
- package/plugin/plugin.registry.d.ts.map +1 -1
- package/remote-mcp/mcp-client.service.d.ts.map +1 -1
- package/remote-mcp/mcp-stateless-client.adapter.d.ts +25 -6
- package/remote-mcp/mcp-stateless-client.adapter.d.ts.map +1 -1
- package/remote-mcp/resilience/health-check.d.ts.map +1 -1
- package/scope/scope.instance.d.ts +8 -0
- package/scope/scope.instance.d.ts.map +1 -1
- package/server/adapters/express.host.adapter.d.ts +6 -1
- package/server/adapters/express.host.adapter.d.ts.map +1 -1
- package/server/middleware/csp.middleware.d.ts +12 -1
- package/server/middleware/csp.middleware.d.ts.map +1 -1
- package/server/security/security-audit.d.ts.map +1 -1
- package/server/server.instance.d.ts.map +1 -1
- package/skill/cache/skill-http-cache.factory.d.ts +0 -5
- package/skill/cache/skill-http-cache.factory.d.ts.map +1 -1
- package/task/store/index.d.ts +1 -1
- package/task/store/index.d.ts.map +1 -1
- package/task/store/task-store.factory.d.ts +6 -0
- package/task/store/task-store.factory.d.ts.map +1 -1
- package/tool/flows/call-tool.flow.d.ts +1 -0
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/ui/ui-option-warnings.d.ts +3 -0
- package/tool/ui/ui-option-warnings.d.ts.map +1 -0
- package/tool/ui/ui-resource.handler.d.ts.map +1 -1
- package/tool/ui/ui-shared.d.ts +14 -0
- package/tool/ui/ui-shared.d.ts.map +1 -1
- package/transport/event-stores/redis.event-store.d.ts.map +1 -1
- package/transport/flows/handle.mcp-20260728.flow.d.ts.map +1 -1
- package/transport/flows/handle.sse.flow.d.ts +25 -0
- package/transport/flows/handle.sse.flow.d.ts.map +1 -1
- package/transport/flows/handle.stateless-http.flow.d.ts +2 -1
- package/transport/flows/handle.stateless-http.flow.d.ts.map +1 -1
- package/transport/flows/handle.streamable-http.flow.d.ts +12 -1
- package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
- package/transport/ipc-server.transport.d.ts +26 -0
- package/transport/ipc-server.transport.d.ts.map +1 -0
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts +9 -2
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts.map +1 -1
- package/transport/mcp-20260728/dispatcher.d.ts.map +1 -1
- package/transport/mcp-20260728/request-state.d.ts +28 -0
- package/transport/mcp-20260728/request-state.d.ts.map +1 -1
- package/transport/transport.registry.d.ts +34 -0
- package/transport/transport.registry.d.ts.map +1 -1
- package/transport/web-fetch-handler.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FlowBase, httpInputSchema, httpOutputSchema, type FlowRunOptions } from '../../common';
|
|
2
2
|
export declare const plan: {
|
|
3
|
-
readonly pre: ["parseInput", "router"];
|
|
3
|
+
readonly pre: ["applyNodeHeaders", "parseInput", "router"];
|
|
4
4
|
readonly execute: ["handleRequest"];
|
|
5
5
|
readonly post: [];
|
|
6
6
|
readonly finalize: ["cleanup"];
|
|
@@ -21,6 +21,7 @@ declare global {
|
|
|
21
21
|
}
|
|
22
22
|
export default class HandleStatelessHttpFlow extends FlowBase<typeof name> {
|
|
23
23
|
name: "handle:stateless-http";
|
|
24
|
+
applyNodeHeaders(): Promise<void>;
|
|
24
25
|
parseInput(): Promise<void>;
|
|
25
26
|
router(): Promise<void>;
|
|
26
27
|
handleRequest(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle.stateless-http.flow.d.ts","sourceRoot":"","sources":["../../../src/transport/flows/handle.stateless-http.flow.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,QAAQ,EAER,eAAe,EACf,gBAAgB,EAKhB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"handle.stateless-http.flow.d.ts","sourceRoot":"","sources":["../../../src/transport/flows/handle.stateless-http.flow.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,QAAQ,EAER,eAAe,EACf,gBAAgB,EAKhB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAKtB,eAAO,MAAM,IAAI;;;;;CAKoB,CAAC;AAEtC,eAAO,MAAM,WAAW;;;;;;;gCAItB,CAAC;AAEH,QAAA,MAAM,IAAI,EAAG,uBAAgC,CAAC;AAG9C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,WAAW;QACnB,uBAAuB,EAAE,cAAc,CACrC,uBAAuB,EACvB,OAAO,IAAI,EACX,OAAO,eAAe,EACtB,OAAO,gBAAgB,EACvB,OAAO,WAAW,CACnB,CAAC;KACH;CACF;AASD,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,QAAQ,CAAC,OAAO,IAAI,CAAC;IACxE,IAAI,0BAAQ;IAGN,gBAAgB;IAKhB,UAAU;IAoBV,MAAM;IAqBN,aAAa;CA4CpB"}
|
|
@@ -3,7 +3,7 @@ import { z } from '@frontmcp/lazy-zod';
|
|
|
3
3
|
import { type RequestId } from '@frontmcp/protocol';
|
|
4
4
|
import { FlowBase, httpInputSchema, httpOutputSchema, type FlowRunOptions, type ServerResponse } from '../../common';
|
|
5
5
|
export declare const plan: {
|
|
6
|
-
readonly pre: ["parseInput", "router"];
|
|
6
|
+
readonly pre: ["applyNodeHeaders", "parseInput", "router"];
|
|
7
7
|
readonly execute: ["onInitialize", "onMessage", "onElicitResult", "onSseListener", "onExtApps"];
|
|
8
8
|
readonly post: [];
|
|
9
9
|
readonly finalize: ["cleanup"];
|
|
@@ -48,6 +48,16 @@ export declare const stateSchema: import("@frontmcp/lazy-zod").ZodObject<{
|
|
|
48
48
|
}, import("zod/v4/core").$strip>;
|
|
49
49
|
type StreamableHttpSession = z.infer<typeof stateSchema>['session'];
|
|
50
50
|
export type StreamableHttpRequestType = NonNullable<z.infer<typeof stateSchema>['requestType']>;
|
|
51
|
+
/**
|
|
52
|
+
* Resolve the session a non-initialize streamable-HTTP request belongs to.
|
|
53
|
+
*
|
|
54
|
+
* A presented `mcp-session-id` is honored only when `session:verify` verified
|
|
55
|
+
* that exact id (it decrypts under this deployment's `MCP_SESSION_SECRET` and
|
|
56
|
+
* its signature matches the caller). Anything else is answered as an unknown
|
|
57
|
+
* session (404), which tells the client to re-initialize. Falling back to the
|
|
58
|
+
* raw header would hand a transport to an id nothing verified: anonymous and
|
|
59
|
+
* static-key sessions all share `token: ''`, so the id is their only credential.
|
|
60
|
+
*/
|
|
51
61
|
export declare function resolveStreamableHttpSession(params: {
|
|
52
62
|
rawHeader: unknown;
|
|
53
63
|
authorizationSession?: StreamableHttpSession;
|
|
@@ -158,6 +168,7 @@ declare global {
|
|
|
158
168
|
}
|
|
159
169
|
export default class HandleStreamableHttpFlow extends FlowBase<typeof name> {
|
|
160
170
|
name: "handle:streamable-http";
|
|
171
|
+
applyNodeHeaders(): Promise<void>;
|
|
161
172
|
parseInput(): Promise<void>;
|
|
162
173
|
router(): Promise<void>;
|
|
163
174
|
onInitialize(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle.streamable-http.flow.d.ts","sourceRoot":"","sources":["../../../src/transport/flows/handle.streamable-http.flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;AACvC,OAAO,EAA2D,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"handle.streamable-http.flow.d.ts","sourceRoot":"","sources":["../../../src/transport/flows/handle.streamable-http.flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;AACvC,OAAO,EAA2D,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;A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C;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEnE,wBAAsB,6BAA6B,CAAC,MAAM,EAAE;IAC1D,gBAAgB,EAAE,oCAAoC,CAAC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,cAAc,CAAC;CAC1B,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAkC/C;AAED,QAAA,MAAM,IAAI,EAAG,wBAAiC,CAAC;AAG/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,WAAW;QACnB,wBAAwB,EAAE,cAAc,CACtC,wBAAwB,EACxB,OAAO,IAAI,EACX,OAAO,eAAe,EACtB,OAAO,gBAAgB,EACvB,OAAO,WAAW,CACnB,CAAC;KACH;CACF;AASD,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,QAAQ,CAAC,OAAO,IAAI,CAAC;IACzE,IAAI,2BAAQ;IAGN,gBAAgB;IAKhB,UAAU;IAsEV,MAAM;IAmCN,YAAY;IAqFZ,cAAc;IAwEd,SAAS;IAoFT,aAAa;IAqDb,SAAS;CA0IhB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { JSONRPCMessage, Transport } from '@frontmcp/protocol';
|
|
2
|
+
/** Marker the child sends on the IPC channel once it can take traffic (`frontmcp dev --stdio --serve`). */
|
|
3
|
+
export declare const IPC_READY_MESSAGE: {
|
|
4
|
+
readonly __frontmcp: "ready";
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Server transport over the Node IPC channel (`process.send` / `process.on('message')`).
|
|
8
|
+
*
|
|
9
|
+
* Used by `frontmcp dev --stdio --serve`: the dev bridge forks the server with an
|
|
10
|
+
* `ipc` stdio slot and `FRONTMCP_DEV_STDIO_FD=3`, then forwards JSON-RPC frames
|
|
11
|
+
* over that channel instead of a loopback HTTP port.
|
|
12
|
+
*/
|
|
13
|
+
export declare class IpcServerTransport implements Transport {
|
|
14
|
+
onclose?: () => void;
|
|
15
|
+
onerror?: (error: Error) => void;
|
|
16
|
+
onmessage?: (message: JSONRPCMessage) => void;
|
|
17
|
+
private started;
|
|
18
|
+
private readonly handleMessage;
|
|
19
|
+
private readonly handleDisconnect;
|
|
20
|
+
start(): Promise<void>;
|
|
21
|
+
send(message: JSONRPCMessage): Promise<void>;
|
|
22
|
+
close(): Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
/** True when this process was started by the dev bridge in pipe mode. */
|
|
25
|
+
export declare function isIpcStdioRequested(): boolean;
|
|
26
|
+
//# sourceMappingURL=ipc-server.transport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipc-server.transport.d.ts","sourceRoot":"","sources":["../../src/transport/ipc-server.transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpE,2GAA2G;AAC3G,eAAO,MAAM,iBAAiB;;CAAmC,CAAC;AAElE;;;;;;GAMG;AACH,qBAAa,kBAAmB,YAAW,SAAS;IAClD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IAE9C,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;IAEF,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAE/B;IAEI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAWtB,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAM7B;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C"}
|
|
@@ -89,12 +89,19 @@ export declare class McpStatelessClient {
|
|
|
89
89
|
* The spec requires this: one malformed tool definition must not prevent the
|
|
90
90
|
* other tools from being used, so the offender is excluded and logged rather
|
|
91
91
|
* than failing the call.
|
|
92
|
+
*
|
|
93
|
+
* Every page is fetched (`nextCursor` is followed to the end), since the
|
|
94
|
+
* schemas cached here are what later `tools/call` headers are derived from.
|
|
92
95
|
*/
|
|
93
96
|
listTools(): Promise<Array<Record<string, unknown>>>;
|
|
94
97
|
callTool(name: string, args?: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
95
98
|
readResource(uri: string): Promise<Record<string, unknown>>;
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
/** One page of `resources/list`; pass the previous page's `nextCursor` for the next. */
|
|
100
|
+
listResources(cursor?: string): Promise<Record<string, unknown>>;
|
|
101
|
+
/** One page of `resources/templates/list`; pass the previous page's `nextCursor` for the next. */
|
|
102
|
+
listResourceTemplates(cursor?: string): Promise<Record<string, unknown>>;
|
|
103
|
+
/** One page of `prompts/list`; pass the previous page's `nextCursor` for the next. */
|
|
104
|
+
listPrompts(cursor?: string): Promise<Record<string, unknown>>;
|
|
98
105
|
getPrompt(name: string, args?: Record<string, string>): Promise<Record<string, unknown>>;
|
|
99
106
|
/**
|
|
100
107
|
* Issue a request, resolving MRTR round trips and task handles transparently.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-stateless.client.d.ts","sourceRoot":"","sources":["../../../../src/transport/mcp-20260728/client/mcp-stateless.client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAA0C,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"mcp-stateless.client.d.ts","sourceRoot":"","sources":["../../../../src/transport/mcp-20260728/client/mcp-stateless.client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAA0C,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKjG,OAAO,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AY;IAsB1B,2EAA2E;YAC7D,OAAO;IAmCrB,OAAO,CAAC,IAAI;CAGb;AAED,uFAAuF;AACvF,eAAO,MAAM,uBAAuB;;;;CAA+C,CAAC;AAEpF,gGAAgG;AAChG,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/dispatcher.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/dispatcher.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAOvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAWhE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,kEAAkE;IAClE,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,8EAA8E;IAC9E,eAAe,CAAC,EAAE,eAAe,CAAC;I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DecodeResult = {
|
|
|
42
42
|
ok: false;
|
|
43
43
|
reason: 'absent' | 'malformed' | 'bad-signature' | 'expired' | 'principal-mismatch' | 'request-mismatch';
|
|
44
44
|
};
|
|
45
|
+
/** Where the `requestState` HMAC key comes from. */
|
|
46
|
+
export type RequestStateKeySource = 'VAULT_SECRET' | 'JWT_SECRET' | 'per-process';
|
|
45
47
|
/**
|
|
46
48
|
* Resolve the HMAC key.
|
|
47
49
|
*
|
|
@@ -53,6 +55,32 @@ export type RequestStateDecodeResult = {
|
|
|
53
55
|
* rejected state only costs the client one extra round trip.
|
|
54
56
|
*/
|
|
55
57
|
export declare function getRequestStateKey(): Uint8Array;
|
|
58
|
+
/**
|
|
59
|
+
* Which secret the `requestState` key comes from — `'per-process'` when neither
|
|
60
|
+
* `VAULT_SECRET` nor `JWT_SECRET` is set, in which case state minted by one
|
|
61
|
+
* instance fails verification on every other one.
|
|
62
|
+
*/
|
|
63
|
+
export declare function getRequestStateKeySource(): RequestStateKeySource;
|
|
64
|
+
/**
|
|
65
|
+
* Warn once, at startup, when multi-round tools cannot resume across instances.
|
|
66
|
+
*
|
|
67
|
+
* A top-level `redis` or an object `transport.persistence` signals a deployment
|
|
68
|
+
* that expects several instances (or restarts) to share work. Under a
|
|
69
|
+
* per-process key each instance signs `requestState` with its own random key,
|
|
70
|
+
* so a round that lands on another instance fails verification and the
|
|
71
|
+
* exchange silently starts over — the only symptom is a repeated question.
|
|
72
|
+
*/
|
|
73
|
+
export declare function warnIfRequestStateKeyNotShared(options: {
|
|
74
|
+
logger: {
|
|
75
|
+
warn(message: string): void;
|
|
76
|
+
};
|
|
77
|
+
metadata: {
|
|
78
|
+
redis?: unknown;
|
|
79
|
+
transport?: {
|
|
80
|
+
persistence?: unknown;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}): void;
|
|
56
84
|
/**
|
|
57
85
|
* Bind state to the request that produced it.
|
|
58
86
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-state.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/request-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"request-state.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/request-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYzD,gDAAgD;AAChD,eAAO,MAAM,4BAA4B,QAAiB,CAAC;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,QAAa,CAAC;AAalD,MAAM,WAAW,mBAAmB;IAClC,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,wBAAwB,GAChC;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,SAAS,EAAE,cAAc,CAAA;CAAE,GACvC;IACE,EAAE,EAAE,KAAK,CAAC;IACV,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,eAAe,GAAG,SAAS,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;CAC1G,CAAC;AAEN,oDAAoD;AACpD,MAAM,MAAM,qBAAqB,GAAG,cAAc,GAAG,YAAY,GAAG,aAAa,CAAC;AAqBlF;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,IAAI,UAAU,CAE/C;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,IAAI,qBAAqB,CAEhE;AAED;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE;IACtD,MAAM,EAAE;QAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IACxC,QAAQ,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,SAAS,CAAC,EAAE;YAAE,WAAW,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;CACtE,GAAG,IAAI,CAaP;AAQD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,CAMzG;AAyBD,kDAAkD;AAClD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,cAAc,EACzB,OAAO,EAAE,mBAAmB,EAC5B,KAAK,GAAE,MAAqC,GAC3C,MAAM,CASR;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,mBAAmB,GAAG,wBAAwB,CA8B1G"}
|
|
@@ -58,8 +58,36 @@ export declare class TransportService {
|
|
|
58
58
|
* Returns undefined if persistence is disabled or not configured.
|
|
59
59
|
*/
|
|
60
60
|
private getDefaultTtlMs;
|
|
61
|
+
/**
|
|
62
|
+
* TTL resolved from `persistence.defaultTtlMs`, then `persistence.redis.defaultTtlMs`, then 1 hour.
|
|
63
|
+
* Set only when a persistence backend is configured.
|
|
64
|
+
*/
|
|
65
|
+
private resolvedTtlMs;
|
|
66
|
+
/** Store config kept after a successful create so a failed ping can be retried. */
|
|
67
|
+
private storeRetryConfig?;
|
|
68
|
+
private storeRetryTimer;
|
|
69
|
+
private storeRetryAttempt;
|
|
70
|
+
private destroyed;
|
|
71
|
+
/** Last time a request refreshed the stored session's TTL, by session id. */
|
|
72
|
+
private readonly lastTtlRefreshAt;
|
|
73
|
+
/**
|
|
74
|
+
* Redis key prefix under which session records are stored.
|
|
75
|
+
* The session store appends `session:` to the transport key prefix.
|
|
76
|
+
*/
|
|
77
|
+
getSessionKeyPrefix(): string;
|
|
61
78
|
constructor(scope: Scope, persistenceConfig?: false | TransportPersistenceConfigInput, bus?: TransportBus);
|
|
62
79
|
private initialize;
|
|
80
|
+
/**
|
|
81
|
+
* Create the session store and validate the connection.
|
|
82
|
+
* Returns true when the store is usable; on failure the store is left undefined.
|
|
83
|
+
*/
|
|
84
|
+
private connectSessionStore;
|
|
85
|
+
/**
|
|
86
|
+
* Retry the session store with exponential backoff (1s doubling to 30s) so a Redis that
|
|
87
|
+
* was down at startup is picked up when it comes back, and `/readyz` turns healthy.
|
|
88
|
+
*/
|
|
89
|
+
private scheduleSessionStoreRetry;
|
|
90
|
+
private retrySessionStore;
|
|
63
91
|
destroy(): Promise<void>;
|
|
64
92
|
/**
|
|
65
93
|
* Drain the configured session store and clear the reference. Probes
|
|
@@ -88,6 +116,12 @@ export declare class TransportService {
|
|
|
88
116
|
/** The backend kind selected at construction (`undefined` if none). Used by
|
|
89
117
|
* the orphan-sqlite WARN guard in scope.instance.ts and by error telemetry. */
|
|
90
118
|
getBackendKind(): 'redis' | 'vercel-kv' | 'sqlite' | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Slide the stored session's TTL while this instance is serving it. Redis and Vercel KV
|
|
121
|
+
* session stores extend the TTL on read, so a plain `get` is enough. Throttled per session
|
|
122
|
+
* to a quarter of the TTL, fire-and-forget.
|
|
123
|
+
*/
|
|
124
|
+
private refreshStoredSessionTtl;
|
|
91
125
|
getTransporter(type: TransportType, token: string, sessionId: string): Promise<Transporter | undefined>;
|
|
92
126
|
/**
|
|
93
127
|
* Get stored session from Redis (without creating a transport).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.registry.d.ts","sourceRoot":"","sources":["../../src/transport/transport.registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIlE,OAAO,KAAK,EAAE,cAAc,EAAE,+BAA+B,EAAE,MAAM,WAAW,CAAC;AAIjF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAOtC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EAIhB,KAAK,aAAa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B,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,WAAW;IAqDnB,OAAO,CAAC,UAAU;CAUnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-fetch-handler.d.ts","sourceRoot":"","sources":["../../src/transport/web-fetch-handler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"web-fetch-handler.d.ts","sourceRoot":"","sources":["../../src/transport/web-fetch-handler.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC5C,0CAA0C;IAC1C,UAAU,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,8BAA8B;IAC9B,SAAS,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC3D;AA2BD,kFAAkF;AAClF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE5G;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAClC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,OAAO,EACZ,GAAG,CAAC,EAAE,eAAe,KAClB,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,2GAA2G;IAC3G,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IACrC,6DAA6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