@kubbisec/ai-win32-x64 0.1.32 → 0.1.33
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/bin/kubbisec.exe +2 -2
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts +2 -2
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts.map +1 -1
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js +25 -12
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js.map +1 -1
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts +1 -1
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map +1 -1
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js +15 -4
- package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js.map +1 -1
- package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts +30 -0
- package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts.map +1 -0
- package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js +99 -0
- package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js.map +1 -0
- package/bundled/node_modules/@kubbisec/shared/package.json +11 -0
- package/package.json +1 -1
package/bin/kubbisec.exe
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/bin/kubbisec.exe
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 112351864 bytes
|
|
4
|
+
sha256: b1c2aba6b1d3bc2fc32578e6aab04e42db239dd7643fb59ff89e2863970c087b
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** Web internal docs. Order
|
|
2
|
-
export declare const NAUS_WEB_DOC_IDS: readonly ["naus-quickstart", "naus-commands", "naus-
|
|
1
|
+
/** Web internal docs. Order matches apps/web/.../naus-docs-meta.ts sidebar. */
|
|
2
|
+
export declare const NAUS_WEB_DOC_IDS: readonly ["naus-quickstart", "naus-commands", "naus-pipeline-overview", "naus-pipeline-run", "naus-pipeline-image", "naus-pipeline-script", "naus-pipeline-before-script", "naus-pipeline-after-script", "naus-pipeline-when", "naus-pipeline-cache", "naus-pipeline-depends", "naus-pipeline-variables", "naus-pipeline-volumes", "naus-pipeline-repository", "naus-pipeline-only", "naus-pipeline-artifacts", "naus-pipeline-anchors", "naus-pipeline-examples", "naus-pipeline-docker-preset", "naus-pipeline-special-values", "naus-pipeline-platform", "naus-pipeline-helm-kubectl", "naus-aspm-integration", "naus-aspm-preset", "naus-aspm-matrix", "naus-aspm-gate", "naus-security", "naus-runners"];
|
|
3
3
|
/**
|
|
4
4
|
* Reads NAUS markdown: web content/naus, legacy docs/naus extras, @kubbisec/naus-validation README.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naus-pipeline-docs-bundle.loader.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"naus-pipeline-docs-bundle.loader.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":"AAKA,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,+qBA6BnB,CAAC;AA2EX;;GAEG;AACH,wBAAsB,kCAAkC,IAAI,OAAO,CAAC;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC,CAmDD"}
|
package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js
CHANGED
|
@@ -6,28 +6,36 @@ const node_fs_1 = require("node:fs");
|
|
|
6
6
|
const promises_1 = require("node:fs/promises");
|
|
7
7
|
const node_path_1 = require("node:path");
|
|
8
8
|
const monorepo_root_js_1 = require("./monorepo-root.js");
|
|
9
|
-
/** Web internal docs. Order
|
|
9
|
+
/** Web internal docs. Order matches apps/web/.../naus-docs-meta.ts sidebar. */
|
|
10
10
|
exports.NAUS_WEB_DOC_IDS = [
|
|
11
11
|
"naus-quickstart",
|
|
12
12
|
"naus-commands",
|
|
13
|
-
"naus-runners",
|
|
14
|
-
"naus-security",
|
|
15
13
|
"naus-pipeline-overview",
|
|
16
|
-
"naus-pipeline-only",
|
|
17
14
|
"naus-pipeline-run",
|
|
15
|
+
"naus-pipeline-image",
|
|
16
|
+
"naus-pipeline-script",
|
|
17
|
+
"naus-pipeline-before-script",
|
|
18
|
+
"naus-pipeline-after-script",
|
|
19
|
+
"naus-pipeline-when",
|
|
20
|
+
"naus-pipeline-cache",
|
|
18
21
|
"naus-pipeline-depends",
|
|
19
|
-
"naus-pipeline-anchors",
|
|
20
22
|
"naus-pipeline-variables",
|
|
21
23
|
"naus-pipeline-volumes",
|
|
22
|
-
"naus-pipeline-script",
|
|
23
24
|
"naus-pipeline-repository",
|
|
24
|
-
"naus-pipeline-
|
|
25
|
-
"naus-pipeline-
|
|
25
|
+
"naus-pipeline-only",
|
|
26
|
+
"naus-pipeline-artifacts",
|
|
27
|
+
"naus-pipeline-anchors",
|
|
26
28
|
"naus-pipeline-examples",
|
|
29
|
+
"naus-pipeline-docker-preset",
|
|
30
|
+
"naus-pipeline-special-values",
|
|
31
|
+
"naus-pipeline-platform",
|
|
32
|
+
"naus-pipeline-helm-kubectl",
|
|
27
33
|
"naus-aspm-integration",
|
|
28
34
|
"naus-aspm-preset",
|
|
29
35
|
"naus-aspm-matrix",
|
|
30
36
|
"naus-aspm-gate",
|
|
37
|
+
"naus-security",
|
|
38
|
+
"naus-runners",
|
|
31
39
|
];
|
|
32
40
|
/** Extra markdown only under docs/naus/ (not duplicated in web tree). */
|
|
33
41
|
const NAUS_LEGACY_DOC_FILES = [
|
|
@@ -103,6 +111,8 @@ async function loadNausPipelineDocsBundleFromDisk() {
|
|
|
103
111
|
const triedPaths = [...webCandidates, ...legacyCandidates, ...listValidationReadmeCandidates()];
|
|
104
112
|
const chunks = [];
|
|
105
113
|
let sourceDir = null;
|
|
114
|
+
let bestWebChunks = [];
|
|
115
|
+
let bestWebDir = null;
|
|
106
116
|
for (const dir of webCandidates) {
|
|
107
117
|
if (!(0, node_fs_1.existsSync)(dir))
|
|
108
118
|
continue;
|
|
@@ -113,12 +123,15 @@ async function loadNausPipelineDocsBundleFromDisk() {
|
|
|
113
123
|
if (chunk)
|
|
114
124
|
webChunks.push(chunk);
|
|
115
125
|
}
|
|
116
|
-
if (webChunks.length >
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
break;
|
|
126
|
+
if (webChunks.length > bestWebChunks.length) {
|
|
127
|
+
bestWebChunks = webChunks;
|
|
128
|
+
bestWebDir = dir;
|
|
120
129
|
}
|
|
121
130
|
}
|
|
131
|
+
if (bestWebChunks.length > 0) {
|
|
132
|
+
chunks.push(...bestWebChunks);
|
|
133
|
+
sourceDir = bestWebDir;
|
|
134
|
+
}
|
|
122
135
|
for (const dir of legacyCandidates) {
|
|
123
136
|
if (!(0, node_fs_1.existsSync)(dir))
|
|
124
137
|
continue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naus-pipeline-docs-bundle.loader.js","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"naus-pipeline-docs-bundle.loader.js","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":";;;AAiHA,gFAuDC;AAxKD,qCAAqC;AACrC,+CAA4C;AAC5C,yCAAiC;AACjC,yDAAkE;AAElE,+EAA+E;AAClE,QAAA,gBAAgB,GAAG;IAC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ACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const NAUS_SCHEMA_OVERVIEW = "NAUS pipeline YAML (cheat sheet \u2014 authoritative prose: naus_pipeline_docs, docs/naus/pipeline-reference.md):\n\nTOP-LEVEL (not GitHub Actions):\n- Required: run: (array of single-key job objects OR map job_id \u2192 config)\n- Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]\n- NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:\n\nCONTAINER JOB (default kind: container):\n- image: + script: [string, ...] (required for container)\n- depends_on: [job_ids] (not needs:)\n- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged\n\nASPM JOBS (declarative \u2014 no manual trivy/aspm CLI in script):\n- kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload\n- kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout\n- kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }\n- kind: aspm_preset + preset: kubbisec/default-security\n- kind: docker \u2014 build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules)\n\nMINIMAL EXAMPLE:\nname: ci\nrun:\n - build:\n image: node:20-alpine\n script: [npm ci, npm run build --if-present]\n - security:\n kind: aspm\n tool: trivy\n mode: scan-and-upload\n depends_on: [build]\n\nAlways call validate_naus_pipeline_yaml before persisting. privileged: true needs kbsc.ci.privileged.run.";
|
|
1
|
+
export declare const NAUS_SCHEMA_OVERVIEW = "NAUS pipeline YAML (cheat sheet \u2014 authoritative prose: naus_pipeline_docs, docs/naus/pipeline-reference.md):\n\nTOP-LEVEL (not GitHub Actions):\n- Required: run: (array of single-key job objects OR map job_id \u2192 config)\n- Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]\n- Optional infra: kubernetes (namespace, aws, kubeconfig), helm (default values), registry (aws_ecr), npm (userconfig), services (sidecars map)\n- NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:\n\nCONTAINER JOB (default kind: container):\n- image: + script: [string or {run, when}, ...] (script required for container)\n- before_script / after_script: merged into script on expand\n- depends_on: [job_ids] (not needs:)\n- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged, cache, npm: inherit|true, when, services[]\n\nASPM JOBS (declarative \u2014 no manual trivy/aspm CLI in script):\n- kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload\n- kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout\n- kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }\n- kind: aspm_preset + preset: kubbisec/default-security\n- kind: docker \u2014 build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules; executor for DinD)\n\nK8S PRESETS:\n- kind: helm + action: lint|template|upgrade; chart required; release required for upgrade; executor.image only (alpine/helm)\n- kind: kubectl + action: rollout_status|apply|wait; resource/files/condition per action\n- pipeline kubernetes: / helm.values: / registry.provider: aws_ecr for ECR+deploy flows\n\nWHEN (job or script step):\n- when.env.VAR: equals|not_equals|in|not_in|exists|empty\n- when.path_exists / path_not_exists: workspace-relative paths\n\nMINIMAL EXAMPLE:\nname: ci\nrun:\n - build:\n image: node:20-alpine\n script: [npm ci, npm run build --if-present]\n - security:\n kind: aspm\n tool: trivy\n mode: scan-and-upload\n depends_on: [build]\n\nAlways call validate_naus_pipeline_yaml before persisting. privileged: true (docker executor) needs kbsc.ci.privileged.run. helm/kubectl executor accepts image only, not privileged/variables.";
|
|
2
2
|
//# sourceMappingURL=naus-schema-overview.d.ts.map
|
package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naus-schema-overview.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"naus-schema-overview.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,60EA0C+J,CAAC"}
|
|
@@ -6,19 +6,30 @@ exports.NAUS_SCHEMA_OVERVIEW = `NAUS pipeline YAML (cheat sheet — authoritativ
|
|
|
6
6
|
TOP-LEVEL (not GitHub Actions):
|
|
7
7
|
- Required: run: (array of single-key job objects OR map job_id → config)
|
|
8
8
|
- Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]
|
|
9
|
+
- Optional infra: kubernetes (namespace, aws, kubeconfig), helm (default values), registry (aws_ecr), npm (userconfig), services (sidecars map)
|
|
9
10
|
- NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:
|
|
10
11
|
|
|
11
12
|
CONTAINER JOB (default kind: container):
|
|
12
|
-
- image: + script: [string, ...] (required for container)
|
|
13
|
+
- image: + script: [string or {run, when}, ...] (script required for container)
|
|
14
|
+
- before_script / after_script: merged into script on expand
|
|
13
15
|
- depends_on: [job_ids] (not needs:)
|
|
14
|
-
- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged
|
|
16
|
+
- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged, cache, npm: inherit|true, when, services[]
|
|
15
17
|
|
|
16
18
|
ASPM JOBS (declarative — no manual trivy/aspm CLI in script):
|
|
17
19
|
- kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload
|
|
18
20
|
- kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout
|
|
19
21
|
- kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }
|
|
20
22
|
- kind: aspm_preset + preset: kubbisec/default-security
|
|
21
|
-
- kind: docker — build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules)
|
|
23
|
+
- kind: docker — build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules; executor for DinD)
|
|
24
|
+
|
|
25
|
+
K8S PRESETS:
|
|
26
|
+
- kind: helm + action: lint|template|upgrade; chart required; release required for upgrade; executor.image only (alpine/helm)
|
|
27
|
+
- kind: kubectl + action: rollout_status|apply|wait; resource/files/condition per action
|
|
28
|
+
- pipeline kubernetes: / helm.values: / registry.provider: aws_ecr for ECR+deploy flows
|
|
29
|
+
|
|
30
|
+
WHEN (job or script step):
|
|
31
|
+
- when.env.VAR: equals|not_equals|in|not_in|exists|empty
|
|
32
|
+
- when.path_exists / path_not_exists: workspace-relative paths
|
|
22
33
|
|
|
23
34
|
MINIMAL EXAMPLE:
|
|
24
35
|
name: ci
|
|
@@ -32,5 +43,5 @@ run:
|
|
|
32
43
|
mode: scan-and-upload
|
|
33
44
|
depends_on: [build]
|
|
34
45
|
|
|
35
|
-
Always call validate_naus_pipeline_yaml before persisting. privileged: true needs kbsc.ci.privileged.run.`;
|
|
46
|
+
Always call validate_naus_pipeline_yaml before persisting. privileged: true (docker executor) needs kbsc.ci.privileged.run. helm/kubectl executor accepts image only, not privileged/variables.`;
|
|
36
47
|
//# sourceMappingURL=naus-schema-overview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naus-schema-overview.js","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG
|
|
1
|
+
{"version":3,"file":"naus-schema-overview.js","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gMA0C4J,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare function mcpSessionOwner(kind: string, context: {
|
|
2
|
+
apiBase: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
organizationId: string;
|
|
5
|
+
organizationSlug: string;
|
|
6
|
+
}): string;
|
|
7
|
+
export declare function mcpPositiveLimit(value: string | undefined, fallback: number): number;
|
|
8
|
+
/** Reserves capacity before async initialization; credentials bind every subsequent request. */
|
|
9
|
+
export declare class McpSessionStore<T> {
|
|
10
|
+
private readonly closeValue;
|
|
11
|
+
private readonly entries;
|
|
12
|
+
private readonly timer;
|
|
13
|
+
private readonly ttlMs;
|
|
14
|
+
private readonly maxSessions;
|
|
15
|
+
private readonly maxPerOwner;
|
|
16
|
+
private readonly maxPerTenant;
|
|
17
|
+
constructor(closeValue: (value: T) => Promise<void>, options?: {
|
|
18
|
+
ttlMs?: number;
|
|
19
|
+
maxSessions?: number;
|
|
20
|
+
maxPerOwner?: number;
|
|
21
|
+
maxPerTenant?: number;
|
|
22
|
+
});
|
|
23
|
+
reserve(owner: string, tenant: string): string | undefined;
|
|
24
|
+
commit(reservation: string, sessionId: string, value: T): boolean;
|
|
25
|
+
get(sessionId: string, owner: string): T | undefined;
|
|
26
|
+
delete(sessionId: string): Promise<void>;
|
|
27
|
+
close(): Promise<void>;
|
|
28
|
+
private prune;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=mcp-sessions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-sessions.d.ts","sourceRoot":"","sources":["../../src/server/mcp-sessions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE;IACP,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GACA,MAAM,CAYR;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpF;AAID,gGAAgG;AAChG,qBAAa,eAAe,CAAC,CAAC;IAS1B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAR7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,EACxD,OAAO,GAAE;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KAClB;IAeR,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAe1D,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO;IAQjE,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAQ9C,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,OAAO,CAAC,KAAK;CAMd"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.McpSessionStore = void 0;
|
|
4
|
+
exports.mcpSessionOwner = mcpSessionOwner;
|
|
5
|
+
exports.mcpPositiveLimit = mcpPositiveLimit;
|
|
6
|
+
const node_crypto_1 = require("node:crypto");
|
|
7
|
+
function mcpSessionOwner(kind, context) {
|
|
8
|
+
return (0, node_crypto_1.createHash)("sha256")
|
|
9
|
+
.update(JSON.stringify([
|
|
10
|
+
kind,
|
|
11
|
+
context.apiBase,
|
|
12
|
+
context.apiKey,
|
|
13
|
+
context.organizationId,
|
|
14
|
+
context.organizationSlug,
|
|
15
|
+
]))
|
|
16
|
+
.digest("hex");
|
|
17
|
+
}
|
|
18
|
+
function mcpPositiveLimit(value, fallback) {
|
|
19
|
+
const number = Number(value);
|
|
20
|
+
return Number.isSafeInteger(number) && number > 0 ? number : fallback;
|
|
21
|
+
}
|
|
22
|
+
/** Reserves capacity before async initialization; credentials bind every subsequent request. */
|
|
23
|
+
class McpSessionStore {
|
|
24
|
+
closeValue;
|
|
25
|
+
entries = new Map();
|
|
26
|
+
timer;
|
|
27
|
+
ttlMs;
|
|
28
|
+
maxSessions;
|
|
29
|
+
maxPerOwner;
|
|
30
|
+
maxPerTenant;
|
|
31
|
+
constructor(closeValue, options = {}) {
|
|
32
|
+
this.closeValue = closeValue;
|
|
33
|
+
this.ttlMs =
|
|
34
|
+
options.ttlMs ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_SESSION_TTL_MS, 30 * 60_000);
|
|
35
|
+
this.maxSessions =
|
|
36
|
+
options.maxSessions ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS, 256);
|
|
37
|
+
this.maxPerOwner =
|
|
38
|
+
options.maxPerOwner ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_OWNER, 16);
|
|
39
|
+
this.maxPerTenant =
|
|
40
|
+
options.maxPerTenant ??
|
|
41
|
+
mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_TENANT, 32);
|
|
42
|
+
this.timer = setInterval(() => this.prune(), Math.min(this.ttlMs, 60_000));
|
|
43
|
+
this.timer.unref();
|
|
44
|
+
}
|
|
45
|
+
reserve(owner, tenant) {
|
|
46
|
+
this.prune();
|
|
47
|
+
if (this.entries.size >= this.maxSessions)
|
|
48
|
+
return undefined;
|
|
49
|
+
let byOwner = 0;
|
|
50
|
+
let byTenant = 0;
|
|
51
|
+
for (const entry of this.entries.values()) {
|
|
52
|
+
if (entry.owner === owner)
|
|
53
|
+
byOwner++;
|
|
54
|
+
if (entry.tenant === tenant)
|
|
55
|
+
byTenant++;
|
|
56
|
+
}
|
|
57
|
+
if (byOwner >= this.maxPerOwner || byTenant >= this.maxPerTenant)
|
|
58
|
+
return undefined;
|
|
59
|
+
const reservation = `pending:${(0, node_crypto_1.randomUUID)()}`;
|
|
60
|
+
this.entries.set(reservation, { owner, tenant, touchedAt: Date.now() });
|
|
61
|
+
return reservation;
|
|
62
|
+
}
|
|
63
|
+
commit(reservation, sessionId, value) {
|
|
64
|
+
const record = this.entries.get(reservation);
|
|
65
|
+
if (!record || this.entries.has(sessionId))
|
|
66
|
+
return false;
|
|
67
|
+
this.entries.delete(reservation);
|
|
68
|
+
this.entries.set(sessionId, { ...record, value, touchedAt: Date.now() });
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
get(sessionId, owner) {
|
|
72
|
+
this.prune();
|
|
73
|
+
const record = this.entries.get(sessionId);
|
|
74
|
+
if (!record || record.owner !== owner || record.value === undefined)
|
|
75
|
+
return undefined;
|
|
76
|
+
record.touchedAt = Date.now();
|
|
77
|
+
return record.value;
|
|
78
|
+
}
|
|
79
|
+
async delete(sessionId) {
|
|
80
|
+
const record = this.entries.get(sessionId);
|
|
81
|
+
this.entries.delete(sessionId);
|
|
82
|
+
if (record?.value !== undefined)
|
|
83
|
+
await this.closeValue(record.value);
|
|
84
|
+
}
|
|
85
|
+
async close() {
|
|
86
|
+
clearInterval(this.timer);
|
|
87
|
+
const ids = [...this.entries.keys()];
|
|
88
|
+
await Promise.allSettled(ids.map((id) => this.delete(id)));
|
|
89
|
+
}
|
|
90
|
+
prune() {
|
|
91
|
+
const cutoff = Date.now() - this.ttlMs;
|
|
92
|
+
for (const [id, record] of this.entries) {
|
|
93
|
+
if (record.touchedAt <= cutoff)
|
|
94
|
+
void this.delete(id).catch(() => { });
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.McpSessionStore = McpSessionStore;
|
|
99
|
+
//# sourceMappingURL=mcp-sessions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-sessions.js","sourceRoot":"","sources":["../../src/server/mcp-sessions.ts"],"names":[],"mappings":";;;AAEA,0CAoBC;AAED,4CAGC;AA3BD,6CAAqD;AAErD,SAAgB,eAAe,CAC7B,IAAY,EACZ,OAKC;IAED,OAAO,IAAA,wBAAU,EAAC,QAAQ,CAAC;SACxB,MAAM,CACL,IAAI,CAAC,SAAS,CAAC;QACb,IAAI;QACJ,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,MAAM;QACd,OAAO,CAAC,cAAc;QACtB,OAAO,CAAC,gBAAgB;KACzB,CAAC,CACH;SACA,MAAM,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAyB,EAAE,QAAgB;IAC1E,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,OAAO,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxE,CAAC;AAID,gGAAgG;AAChG,MAAa,eAAe;IASP;IARF,OAAO,GAAG,IAAI,GAAG,EAA4B,CAAC;IAC9C,KAAK,CAAiC;IACtC,KAAK,CAAS;IACd,WAAW,CAAS;IACpB,WAAW,CAAS;IACpB,YAAY,CAAS;IAEtC,YACmB,UAAuC,EACxD,UAKI,EAAE;QANW,eAAU,GAAV,UAAU,CAA6B;QAQxD,IAAI,CAAC,KAAK;YACR,OAAO,CAAC,KAAK,IAAI,gBAAgB,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,GAAG,MAAM,CAAC,CAAC;QAC1F,IAAI,CAAC,WAAW;YACd,OAAO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AAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,KAAK;QACT,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,MAAM,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACrC,MAAM,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEO,KAAK;QACX,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QACvC,KAAK,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM;gBAAE,KAAK,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QACvE,CAAC;IACH,CAAC;CACF;AA/ED,0CA+EC"}
|
|
@@ -4,7 +4,18 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
"*": {
|
|
9
|
+
"server/mcp-sessions": [
|
|
10
|
+
"dist/server/mcp-sessions.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"exports": {
|
|
15
|
+
"./server/mcp-sessions": {
|
|
16
|
+
"types": "./dist/server/mcp-sessions.d.ts",
|
|
17
|
+
"default": "./dist/server/mcp-sessions.js"
|
|
18
|
+
},
|
|
8
19
|
".": {
|
|
9
20
|
"types": "./dist/index.d.ts",
|
|
10
21
|
"default": "./dist/index.js"
|