@frontmcp/sdk 1.11.1-rc.1 → 1.11.1
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/app/instances/app.esm.instance.d.ts.map +1 -1
- package/app/instances/empty-app-registries.d.ts +1 -0
- package/app/instances/empty-app-registries.d.ts.map +1 -1
- package/auth/flows/oauth.callback.flow.d.ts +5 -0
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.connect.flow.d.ts +4 -2
- package/auth/flows/oauth.connect.flow.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +2 -0
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/auth/vault/auth-providers.providers.d.ts +22 -16
- package/auth/vault/auth-providers.providers.d.ts.map +1 -1
- package/auth/vault/index.d.ts +1 -2
- package/auth/vault/index.d.ts.map +1 -1
- package/auth/vault/unconfigured-auth-providers.d.ts +4 -0
- package/auth/vault/unconfigured-auth-providers.d.ts.map +1 -0
- package/browser/app/instances/app.esm.instance.mjs +2 -0
- package/browser/app/instances/empty-app-registries.mjs +2 -0
- package/browser/auth/flows/oauth.callback.flow.mjs +26 -1
- package/browser/auth/flows/oauth.connect.flow.mjs +31 -24
- package/browser/auth/instances/instance.local-primary-auth.mjs +3 -0
- package/browser/auth/vault/auth-providers.providers.mjs +114 -0
- package/browser/auth/vault/credential-cache.mjs +5 -0
- package/browser/auth/vault/unconfigured-auth-providers.mjs +21 -0
- package/browser/common/entries/scope.entry.mjs +23 -4
- package/browser/common/interfaces/execution-context.interface.mjs +5 -0
- package/browser/common/interfaces/internal/primary-auth-provider.interface.mjs +4 -0
- package/browser/common/interfaces/server.interface.mjs +2 -0
- package/browser/common/metadata/front-mcp.metadata.mjs +3 -0
- package/browser/common/tokens/front-mcp.tokens.mjs +1 -0
- package/browser/direct/direct-client.mjs +2 -1
- package/browser/direct/token-auth-info.mjs +2 -0
- package/browser/elicitation/helpers/elicit.helper.mjs +10 -7
- package/browser/errors/index.mjs +1 -1
- package/browser/errors/misconfiguration.mjs +3 -1
- package/browser/errors/plugin.errors.mjs +20 -0
- package/browser/errors/tool-credentials-required.error.mjs +18 -5
- package/browser/front-mcp/front-mcp.mjs +1 -3
- package/browser/health/health.service.mjs +14 -10
- package/browser/index.cjs +2873 -2332
- package/browser/index.mjs +9 -3
- package/browser/notification/notification.service.mjs +5 -5
- package/browser/plugin/plugin.registry.mjs +39 -2
- package/browser/provider/provider.registry.mjs +2 -0
- package/browser/scope/dev-events-observability.mjs +9 -5
- package/browser/scope/scope.instance.mjs +15 -2
- package/browser/skill/errors/skill-bundle-not-loaded.error.mjs +21 -0
- package/browser/skill/flows/load-skill.flow.mjs +13 -9
- package/browser/skill/flows/search-skills.flow.mjs +10 -2
- package/browser/skill/index.mjs +2 -0
- package/browser/skill/sep-2640/resources/skill-index.resource.mjs +2 -0
- package/browser/skill/sep-2640/sep-2640.resource-helpers.mjs +5 -2
- package/browser/skill/skill-catalog-source.mjs +33 -1
- package/browser/skill/skill-instructions.helper.mjs +14 -14
- package/browser/skill/skill.registry.mjs +6 -0
- package/browser/surface/index.mjs +6 -0
- package/browser/surface/list-change-batch.mjs +51 -0
- package/browser/surface/live-surface.mjs +2 -2
- package/browser/tool/flows/call-tool.flow.mjs +18 -4
- package/browser/tool/flows/tool-credentials.gate.mjs +60 -10
- package/browser/tool/tool.registry.mjs +9 -2
- package/browser/transport/mcp-20260728/mrtr.mjs +13 -6
- package/browser/transport/mcp-20260728/subscriptions.mjs +6 -6
- package/browser/transport/mcp-handlers/skills-list-request.handler.mjs +19 -7
- package/browser/transport/mcp-handlers/skills-mcp.types.mjs +6 -4
- package/browser/transport/web-fetch-handler.mjs +6 -8
- package/common/entries/scope.entry.d.ts +15 -3
- package/common/entries/scope.entry.d.ts.map +1 -1
- package/common/interfaces/execution-context.interface.d.ts +3 -1
- package/common/interfaces/execution-context.interface.d.ts.map +1 -1
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts +3 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
- package/common/interfaces/server.interface.d.ts +2 -0
- package/common/interfaces/server.interface.d.ts.map +1 -1
- package/common/metadata/app.metadata.d.ts +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +304 -92
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
- package/common/types/options/elicitation/schema.d.ts +1 -1
- package/common/types/options/redis/schema.d.ts +3 -3
- package/common/types/options/redis/schema.d.ts.map +1 -1
- package/common/types/options/skills-http/schema.d.ts +2 -2
- package/common/types/options/transport/schema.d.ts +4 -4
- package/context/frontmcp-context.d.ts +1 -1
- package/context/frontmcp-context.d.ts.map +1 -1
- package/direct/client.types.d.ts +48 -28
- package/direct/client.types.d.ts.map +1 -1
- package/direct/index.d.ts +1 -1
- package/direct/index.d.ts.map +1 -1
- package/direct/token-auth-info.d.ts +5 -1
- package/direct/token-auth-info.d.ts.map +1 -1
- package/elicitation/helpers/elicit.helper.d.ts +5 -0
- package/elicitation/helpers/elicit.helper.d.ts.map +1 -1
- package/errors/error-handler.d.ts +1 -0
- package/errors/error-handler.d.ts.map +1 -1
- package/errors/mcp.error.d.ts +2 -0
- package/errors/mcp.error.d.ts.map +1 -1
- package/errors/misconfiguration.d.ts.map +1 -1
- package/errors/plugin.errors.d.ts +8 -0
- package/errors/plugin.errors.d.ts.map +1 -1
- package/errors/tool-credentials-required.error.d.ts +10 -2
- package/errors/tool-credentials-required.error.d.ts.map +1 -1
- package/esm/index.mjs +31 -31
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/health/health.service.d.ts +8 -4
- package/health/health.service.d.ts.map +1 -1
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +38 -38
- package/package.json +10 -10
- package/plugin/plugin.registry.d.ts +3 -1
- package/plugin/plugin.registry.d.ts.map +1 -1
- package/provider/provider.registry.d.ts.map +1 -1
- package/scope/dev-events-observability.d.ts +2 -0
- package/scope/dev-events-observability.d.ts.map +1 -1
- package/scope/scope.instance.d.ts.map +1 -1
- package/server/adapters/utf8-json.parser.d.ts +2 -0
- package/server/adapters/utf8-json.parser.d.ts.map +1 -1
- package/skill/errors/index.d.ts +1 -0
- package/skill/errors/index.d.ts.map +1 -1
- package/skill/errors/skill-bundle-not-loaded.error.d.ts +16 -0
- package/skill/errors/skill-bundle-not-loaded.error.d.ts.map +1 -0
- package/skill/flows/load-skill.flow.d.ts +2 -2
- package/skill/flows/load-skill.flow.d.ts.map +1 -1
- package/skill/flows/search-skills.flow.d.ts +5 -1
- package/skill/flows/search-skills.flow.d.ts.map +1 -1
- package/skill/index.d.ts +1 -0
- package/skill/index.d.ts.map +1 -1
- package/skill/sep-2640/resources/skill-index.resource.d.ts.map +1 -1
- package/skill/sep-2640/sep-2640.resource-helpers.d.ts +2 -1
- package/skill/sep-2640/sep-2640.resource-helpers.d.ts.map +1 -1
- package/skill/skill-catalog-source.d.ts +24 -2
- package/skill/skill-catalog-source.d.ts.map +1 -1
- package/skill/skill-instructions.helper.d.ts +5 -0
- package/skill/skill-instructions.helper.d.ts.map +1 -1
- package/skill/skill.registry.d.ts +9 -0
- package/skill/skill.registry.d.ts.map +1 -1
- package/surface/index.d.ts +1 -0
- package/surface/index.d.ts.map +1 -1
- package/surface/list-change-batch.d.ts +28 -0
- package/surface/list-change-batch.d.ts.map +1 -0
- package/tool/flows/call-tool.flow.d.ts +5 -2
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/flows/tool-credentials.gate.d.ts +26 -0
- package/tool/flows/tool-credentials.gate.d.ts.map +1 -1
- package/tool/tool.registry.d.ts +2 -0
- package/tool/tool.registry.d.ts.map +1 -1
- package/transport/mcp-20260728/mrtr.d.ts +6 -2
- package/transport/mcp-20260728/mrtr.d.ts.map +1 -1
- package/transport/mcp-20260728/subscriptions.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-mcp.types.d.ts +3 -1
- package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -1
- package/auth/vault/auth-providers.context-extension.d.ts +0 -68
- package/auth/vault/auth-providers.context-extension.d.ts.map +0 -1
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type { Token } from '@frontmcp/di';
|
|
2
2
|
import type { NormalizedToolAuthProvider } from '../../common/metadata/tool.metadata';
|
|
3
|
+
import type { FrontMcpContext } from '../../context';
|
|
4
|
+
import { ToolCredentialsRequiredError } from '../../errors';
|
|
5
|
+
import { type ClientCapabilities } from '../../notification';
|
|
3
6
|
/** Outcome for a single required provider whose credential is unavailable. */
|
|
4
7
|
export interface MissingProvider {
|
|
5
8
|
/** Provider id (the credential key / registered provider name). */
|
|
6
9
|
name: string;
|
|
7
10
|
/** Best-effort connect/authorize URL to (re)authorize, if resolvable. */
|
|
8
11
|
authUrl?: string;
|
|
12
|
+
/** Set when the caller has to sign in to this server before it can connect the provider. */
|
|
13
|
+
signInRequired?: true;
|
|
9
14
|
}
|
|
10
15
|
/** Result of evaluating the credential gate for a tool. */
|
|
11
16
|
export interface CredentialGateResult {
|
|
@@ -28,4 +33,25 @@ export interface CredentialGateResult {
|
|
|
28
33
|
* @returns whether the gate was evaluated and which required providers are missing.
|
|
29
34
|
*/
|
|
30
35
|
export declare function evaluateToolCredentialGate(providers: NormalizedToolAuthProvider[], tryGet: <T>(token: Token<T>) => T | undefined): Promise<CredentialGateResult>;
|
|
36
|
+
/**
|
|
37
|
+
* The error a call missing these credentials answers with: every missing provider id, the first connect URL (callers
|
|
38
|
+
* connect one provider at a time), and whether the caller has to sign in first.
|
|
39
|
+
*/
|
|
40
|
+
export declare function credentialsRequiredErrorOf(toolId: string, missing: MissingProvider[]): ToolCredentialsRequiredError;
|
|
41
|
+
/** What asking the client to open a connect page needs: the call's context, and the server's elicitation setting. */
|
|
42
|
+
export interface ConnectPageAsk {
|
|
43
|
+
context: FrontMcpContext | undefined;
|
|
44
|
+
getClientCapabilities: (sessionId: string) => ClientCapabilities | undefined;
|
|
45
|
+
elicitationEnabled: boolean;
|
|
46
|
+
toolId: string;
|
|
47
|
+
toolInput: unknown;
|
|
48
|
+
signal?: AbortSignal;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Ask the client to open the connect page of each missing provider (URL-mode elicitation), when the server enables
|
|
52
|
+
* elicitation, the client declared URL mode, and every missing provider has a page. True when the user accepted every
|
|
53
|
+
* page, so the gate checks the credentials again. On protocol 2026-07-28 the first ask answers the call with an
|
|
54
|
+
* `input_required` result, and the client's retry carries the answer.
|
|
55
|
+
*/
|
|
56
|
+
export declare function askToOpenConnectPages(ask: ConnectPageAsk, missing: MissingProvider[]): Promise<boolean>;
|
|
31
57
|
//# sourceMappingURL=tool-credentials.gate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-credentials.gate.d.ts","sourceRoot":"","sources":["../../../src/tool/flows/tool-credentials.gate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-credentials.gate.d.ts","sourceRoot":"","sources":["../../../src/tool/flows/tool-credentials.gate.ts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAuB,4BAA4B,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAElF,8EAA8E;AAC9E,MAAM,WAAW,eAAe;IAC9B,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4FAA4F;IAC5F,cAAc,CAAC,EAAE,IAAI,CAAC;CACvB;AAED,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB,6DAA6D;IAC7D,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAoBD;;;;;;;;;GASG;AACH,wBAAsB,0BAA0B,CAC9C,SAAS,EAAE,0BAA0B,EAAE,EACvC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,SAAS,GAC5C,OAAO,CAAC,oBAAoB,CAAC,CAuB/B;AA4DD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,4BAA4B,CAOnH;AAED,qHAAqH;AACrH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,eAAe,GAAG,SAAS,CAAC;IACrC,qBAAqB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IAC7E,kBAAkB,EAAE,OAAO,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CA4B7G"}
|
package/tool/tool.registry.d.ts
CHANGED
|
@@ -113,6 +113,8 @@ ToolRecord, ToolType[]> {
|
|
|
113
113
|
/** Tell listeners the listed tools changed though none was added or removed, as when an `enabled` source flips. */
|
|
114
114
|
notifyListChanged(): void;
|
|
115
115
|
private bump;
|
|
116
|
+
/** Report a change of `tool`; an internal tool is never listed, so its change leaves the tool list as it was. */
|
|
117
|
+
private bumpFor;
|
|
116
118
|
/** Build an IndexedTool row */
|
|
117
119
|
private makeRow;
|
|
118
120
|
/** Clone a child row and prepend lineage (with adjacent de-dup to avoid double prefixes). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.registry.d.ts","sourceRoot":"","sources":["../../src/tool/tool.registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,KAAK,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7D,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,WAAW,CAAC;AAanB,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"tool.registry.d.ts","sourceRoot":"","sources":["../../src/tool/tool.registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,KAAK,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7D,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,WAAW,CAAC;AAanB,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAO5E,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAuB,KAAK,iBAAiB,EAAoB,MAAM,cAAc,CAAC;AAG7F,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,gBAAgB,CACxD,YAAY,EAAE,kEAAkE;AAChF,UAAU,EACV,QAAQ,EAAE,CACX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B,iEAAiE;IACjE,MAAM,IAAI,OAAO;IAIjB;;;;OAIG;IACH,UAAU,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI;IAmDxD;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAkB1B;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,oBAAoB,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI;IAyC3C;;;;;;;OAOG;IACH,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO;IAc7C;;;;;;;;;OASG;IACH,eAAe,IAAI,OAAO,CAAC,kBAAkB,CAAC;CAO/C"}
|
|
@@ -131,11 +131,15 @@ export declare class MrtrExchange {
|
|
|
131
131
|
* `inputRequests` entry the client cannot honor.
|
|
132
132
|
*/
|
|
133
133
|
private resolve;
|
|
134
|
-
/**
|
|
135
|
-
|
|
134
|
+
/**
|
|
135
|
+
* Resolve the next `elicit()` call. An `inputKey` names a question that is asked only on some runs (the call-tool
|
|
136
|
+
* credential gate's connect page), so the call's other questions keep their keys across the replay.
|
|
137
|
+
*/
|
|
138
|
+
resolveElicitation(pending: PendingElicitation, inputKey?: string): {
|
|
136
139
|
status: ElicitStatus;
|
|
137
140
|
content?: unknown;
|
|
138
141
|
};
|
|
142
|
+
private nextKeyOf;
|
|
139
143
|
/** Resolve the next `sample()` call. */
|
|
140
144
|
resolveSampling(pending: PendingSampling): SamplingAnswer;
|
|
141
145
|
/** Resolve the next `listRoots()` call. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mrtr.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/mrtr.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAExE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,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AM,CAAC,MAAM,EAAE,OAAO,CAAC,CAM7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/subscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAwD,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-20260728/subscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAwD,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAInH,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAMzC,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,KAAK,CAAC;IACb,mFAAmF;IACnF,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,+CAA+C;IAC/C,SAAS,EAAE,kBAAkB,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,gFAAgF;IAChF,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CACtD;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,kBAAkB,GAAG,kBAAkB,CAiBzG;AAsBD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,yBAAyB,GAAG;IAC5E,YAAY,EAAE,kBAAkB,CAAC;IACjC,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;CACnC,CA8HA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills-list-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-list-request.handler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skills-list-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-list-request.handler.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AA8B5B;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CA8DrE"}
|
|
@@ -31,6 +31,7 @@ export declare const SkillsSearchResultSchema: import("@frontmcp/lazy-zod").ZodO
|
|
|
31
31
|
external: "external";
|
|
32
32
|
local: "local";
|
|
33
33
|
}>;
|
|
34
|
+
bundleVersion: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
|
|
34
35
|
}, import("zod/v4/core").$strip>>;
|
|
35
36
|
total: import("@frontmcp/lazy-zod").ZodNumber;
|
|
36
37
|
hasMore: import("@frontmcp/lazy-zod").ZodBoolean;
|
|
@@ -89,7 +90,7 @@ export declare const SkillsLoadResultSchema: import("@frontmcp/lazy-zod").ZodObj
|
|
|
89
90
|
availableTools: import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>;
|
|
90
91
|
missingTools: import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>;
|
|
91
92
|
isComplete: import("@frontmcp/lazy-zod").ZodBoolean;
|
|
92
|
-
formattedContent: import("@frontmcp/lazy-zod").
|
|
93
|
+
formattedContent: import("@frontmcp/lazy-zod").ZodString;
|
|
93
94
|
session: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodObject<{
|
|
94
95
|
activated: import("@frontmcp/lazy-zod").ZodBoolean;
|
|
95
96
|
sessionId: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
|
|
@@ -144,6 +145,7 @@ export declare const SkillsListResultSchema: import("@frontmcp/lazy-zod").ZodObj
|
|
|
144
145
|
description: import("@frontmcp/lazy-zod").ZodString;
|
|
145
146
|
tags: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>>;
|
|
146
147
|
priority: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>;
|
|
148
|
+
bundleVersion: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
|
|
147
149
|
}, import("zod/v4/core").$strip>>;
|
|
148
150
|
total: import("@frontmcp/lazy-zod").ZodNumber;
|
|
149
151
|
hasMore: import("@frontmcp/lazy-zod").ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills-mcp.types.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-mcp.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,oBAAoB,CAAC;AAMpD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;gCASpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"skills-mcp.types.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-mcp.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,oBAAoB,CAAC;AAMpD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;gCASpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;gCAgBnC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,GAAG;IAC1E,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;gCAalC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA+CjC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,GAAG;IACtE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;gCAYlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;gCAajC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,GAAG;IACtE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AuthProviders Context Extension
|
|
3
|
-
*
|
|
4
|
-
* Provides module augmentation and context extension configuration
|
|
5
|
-
* for adding `this.authProviders` to ExecutionContextBase.
|
|
6
|
-
*/
|
|
7
|
-
import type { ContextExtension } from '../../common/metadata/plugin.metadata';
|
|
8
|
-
import { type AuthProvidersAccessor } from '@frontmcp/auth';
|
|
9
|
-
/**
|
|
10
|
-
* Module augmentation to add type safety for this.authProviders
|
|
11
|
-
*/
|
|
12
|
-
declare module '../../common/interfaces/execution-context.interface' {
|
|
13
|
-
interface ExecutionContextBase {
|
|
14
|
-
/**
|
|
15
|
-
* Access auth providers for credential retrieval.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```typescript
|
|
19
|
-
* @Tool({ name: 'my_tool' })
|
|
20
|
-
* class MyTool extends ToolContext {
|
|
21
|
-
* async execute(input: Input): Promise<Output> {
|
|
22
|
-
* // Get a specific credential
|
|
23
|
-
* const github = await this.authProviders.get('github');
|
|
24
|
-
*
|
|
25
|
-
* // Get headers for HTTP requests
|
|
26
|
-
* const headers = await this.authProviders.headers('github');
|
|
27
|
-
*
|
|
28
|
-
* // Check if credential is available
|
|
29
|
-
* if (await this.authProviders.has('jira')) {
|
|
30
|
-
* const jira = await this.authProviders.get('jira');
|
|
31
|
-
* }
|
|
32
|
-
*
|
|
33
|
-
* // Force refresh a credential
|
|
34
|
-
* const refreshed = await this.authProviders.refresh('github');
|
|
35
|
-
* }
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
readonly authProviders: AuthProvidersAccessor;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Context extension configuration for authProviders.
|
|
44
|
-
* Used to register the lazy getter on ExecutionContextBase.prototype.
|
|
45
|
-
*/
|
|
46
|
-
export declare const authProvidersContextExtension: ContextExtension;
|
|
47
|
-
/**
|
|
48
|
-
* Get AuthProvidersAccessor from context.
|
|
49
|
-
* Throws if not available.
|
|
50
|
-
*
|
|
51
|
-
* @param ctx - Execution context
|
|
52
|
-
* @returns AuthProvidersAccessor
|
|
53
|
-
* @throws AuthProvidersNotConfiguredError if AuthProviders not configured
|
|
54
|
-
*/
|
|
55
|
-
export declare function getAuthProviders(ctx: {
|
|
56
|
-
get: <T>(token: unknown) => T;
|
|
57
|
-
}): AuthProvidersAccessor;
|
|
58
|
-
/**
|
|
59
|
-
* Try to get AuthProvidersAccessor from context.
|
|
60
|
-
* Returns undefined if not available (graceful degradation).
|
|
61
|
-
*
|
|
62
|
-
* @param ctx - Execution context
|
|
63
|
-
* @returns AuthProvidersAccessor or undefined
|
|
64
|
-
*/
|
|
65
|
-
export declare function tryGetAuthProviders(ctx: {
|
|
66
|
-
get: <T>(token: unknown) => T;
|
|
67
|
-
}): AuthProvidersAccessor | undefined;
|
|
68
|
-
//# sourceMappingURL=auth-providers.context-extension.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-providers.context-extension.d.ts","sourceRoot":"","sources":["../../../src/auth/vault/auth-providers.context-extension.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAA2B,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAOrF;;GAEG;AACH,OAAO,QAAQ,qDAAqD,CAAC;IACnE,UAAU,oBAAoB;QAC5B;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC;KAC/C;CACF;AASD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,gBAM3C,CAAC;AAMF;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE;IAAE,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,CAAC,CAAA;CAAE,GAAG,qBAAqB,CAM9F;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE;IAAE,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,CAAC,CAAA;CAAE,GAAG,qBAAqB,GAAG,SAAS,CAM7G"}
|