@futdevpro/nts-dynamo 1.15.296 → 1.15.297

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.
@@ -0,0 +1,74 @@
1
+ import { DyNTS_Mcp_Settings } from '../_models/interfaces/mcp-settings.interface';
2
+ /**
3
+ * Opaque, agent-friendly entity references (HP-DOPL MP-3.7, DMCP-008) — lifted from the organizer `Mcp_Ref_Util`:
4
+ * `<system>:<namespace>:<id>` (e.g. `org:note:01H…`). The agent never builds an id path, it passes the ref back.
5
+ *
6
+ * Bedrock differences to the organizer original:
7
+ * - the system prefix is not hard-coded (`org`): it comes from `mcp_settings.refSystem` or the call;
8
+ * - the namespace is any consumer string (usually the consumer's own enum), so the bedrock knows no entity;
9
+ * - the `id` is everything after the second `:` (an id may contain `:`), exactly as in the organizer.
10
+ *
11
+ * ⭐ The etag of the same entity is `DyFM_OperationGuardrails_Util.buildEtag(entity.__v)` (fsm, MP-1.2) — the organizer
12
+ * `buildEtag` format, so both refs and etags stay compatible with the organizer MCP.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * DyNTS_global_settings.mcp_settings = { refSystem: 'org' };
17
+ * const ref: string = DyNTS_McpRef_Util.toRef({ namespace: 'note', id: note._id }); // 'org:note:01H…'
18
+ * const { id } = DyNTS_McpRef_Util.parseAndValidateRef({ ref: args.ref, namespace: 'note', method: 'notes.get' });
19
+ * ```
20
+ */
21
+ export declare class DyNTS_McpRef_Util {
22
+ /**
23
+ * Builds the ref of an entity.
24
+ * @param set.namespace - the entity namespace (e.g. `note`)
25
+ * @param set.id - the entity id
26
+ * @param set.system - the system prefix (default: `mcp_settings.refSystem`)
27
+ * @throws 500 `DyNTS-MRF-CFG` when no system is configured or a segment/id is invalid
28
+ */
29
+ static toRef(set: {
30
+ namespace: string;
31
+ id: string;
32
+ system?: string;
33
+ settings?: DyNTS_Mcp_Settings | null;
34
+ }): string;
35
+ /**
36
+ * Splits a ref of the configured system; anything else is `null` (never throws).
37
+ * @param set.ref - the ref from the caller
38
+ * @param set.system - the system prefix (default: `mcp_settings.refSystem`)
39
+ */
40
+ static parseRef(set: {
41
+ ref: unknown;
42
+ system?: string;
43
+ settings?: DyNTS_Mcp_Settings | null;
44
+ }): {
45
+ system: string;
46
+ namespace: string;
47
+ id: string;
48
+ } | null;
49
+ /**
50
+ * Parses the ref and checks its namespace — the input guard of a tool that takes a ref.
51
+ * @param set.ref - the ref from the caller
52
+ * @param set.namespace - the accepted namespace(s)
53
+ * @param set.method - the tool name, for the error data
54
+ * @param set.field - the argument name (default: `ref`, e.g. `parentRef`)
55
+ * @throws `DyNTS_Mcp_InvalidParamsError` (-32602) with field / received / expected / suggestion data
56
+ */
57
+ static parseAndValidateRef(set: {
58
+ ref: unknown;
59
+ namespace: string | string[];
60
+ method: string;
61
+ field?: string;
62
+ system?: string;
63
+ settings?: DyNTS_Mcp_Settings | null;
64
+ }): {
65
+ system: string;
66
+ namespace: string;
67
+ id: string;
68
+ };
69
+ /** The system prefix of a call, validated. */
70
+ private static systemOf;
71
+ /** A server configuration error (not the caller's fault). */
72
+ private static configError;
73
+ }
74
+ //# sourceMappingURL=mcp-ref.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-ref.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/mcp/_collections/mcp-ref.util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAMlF;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,iBAAiB;IAC5B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAA;KAAE,GAAG,MAAM;IAanH;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE;QACnB,GAAG,EAAE,OAAO,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;KACtC,GAAG;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAgB5D;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,CAAC,GAAG,EAAE;QAC9B,GAAG,EAAE,OAAO,CAAC;QACb,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;QAC7B,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;KACtC,GAAG;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE;IAkCrD,8CAA8C;IAC9C,OAAO,CAAC,MAAM,CAAC,QAAQ;IAavB,6DAA6D;IAC7D,OAAO,CAAC,MAAM,CAAC,WAAW;CAO3B"}
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DyNTS_McpRef_Util = void 0;
4
+ const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
5
+ const global_settings_const_1 = require("../../../_collections/global-settings.const");
6
+ const mcp_invalid_params_error_1 = require("../_models/errors/mcp-invalid-params.error");
7
+ /** A ref segment (system or namespace): starts with a letter, letters/digits/`_`/`-`, no `:`. */
8
+ const DyNTS_mcpRefSegment = /^[A-Za-z][A-Za-z0-9_-]*$/;
9
+ /**
10
+ * Opaque, agent-friendly entity references (HP-DOPL MP-3.7, DMCP-008) — lifted from the organizer `Mcp_Ref_Util`:
11
+ * `<system>:<namespace>:<id>` (e.g. `org:note:01H…`). The agent never builds an id path, it passes the ref back.
12
+ *
13
+ * Bedrock differences to the organizer original:
14
+ * - the system prefix is not hard-coded (`org`): it comes from `mcp_settings.refSystem` or the call;
15
+ * - the namespace is any consumer string (usually the consumer's own enum), so the bedrock knows no entity;
16
+ * - the `id` is everything after the second `:` (an id may contain `:`), exactly as in the organizer.
17
+ *
18
+ * ⭐ The etag of the same entity is `DyFM_OperationGuardrails_Util.buildEtag(entity.__v)` (fsm, MP-1.2) — the organizer
19
+ * `buildEtag` format, so both refs and etags stay compatible with the organizer MCP.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * DyNTS_global_settings.mcp_settings = { refSystem: 'org' };
24
+ * const ref: string = DyNTS_McpRef_Util.toRef({ namespace: 'note', id: note._id }); // 'org:note:01H…'
25
+ * const { id } = DyNTS_McpRef_Util.parseAndValidateRef({ ref: args.ref, namespace: 'note', method: 'notes.get' });
26
+ * ```
27
+ */
28
+ class DyNTS_McpRef_Util {
29
+ /**
30
+ * Builds the ref of an entity.
31
+ * @param set.namespace - the entity namespace (e.g. `note`)
32
+ * @param set.id - the entity id
33
+ * @param set.system - the system prefix (default: `mcp_settings.refSystem`)
34
+ * @throws 500 `DyNTS-MRF-CFG` when no system is configured or a segment/id is invalid
35
+ */
36
+ static toRef(set) {
37
+ const system = DyNTS_McpRef_Util.systemOf(set.system, set.settings);
38
+ if (!DyNTS_mcpRefSegment.test(set.namespace ?? '') || typeof set.id !== 'string' || !set.id) {
39
+ throw DyNTS_McpRef_Util.configError(`a ref needs a namespace (letters, digits, "_", "-") and a non-empty id (got: ${JSON.stringify(set.namespace)}, ` +
40
+ `${JSON.stringify(set.id)})`);
41
+ }
42
+ return `${system}:${set.namespace}:${set.id}`;
43
+ }
44
+ /**
45
+ * Splits a ref of the configured system; anything else is `null` (never throws).
46
+ * @param set.ref - the ref from the caller
47
+ * @param set.system - the system prefix (default: `mcp_settings.refSystem`)
48
+ */
49
+ static parseRef(set) {
50
+ const system = DyNTS_McpRef_Util.systemOf(set.system, set.settings);
51
+ const prefix = `${system}:`;
52
+ if (typeof set.ref !== 'string' || !set.ref.startsWith(prefix)) {
53
+ return null;
54
+ }
55
+ const rest = set.ref.slice(prefix.length);
56
+ const colon = rest.indexOf(':');
57
+ const namespace = colon > 0 ? rest.slice(0, colon) : '';
58
+ const id = colon > 0 ? rest.slice(colon + 1) : '';
59
+ return DyNTS_mcpRefSegment.test(namespace) && id ? { system: system, namespace: namespace, id: id } : null;
60
+ }
61
+ /**
62
+ * Parses the ref and checks its namespace — the input guard of a tool that takes a ref.
63
+ * @param set.ref - the ref from the caller
64
+ * @param set.namespace - the accepted namespace(s)
65
+ * @param set.method - the tool name, for the error data
66
+ * @param set.field - the argument name (default: `ref`, e.g. `parentRef`)
67
+ * @throws `DyNTS_Mcp_InvalidParamsError` (-32602) with field / received / expected / suggestion data
68
+ */
69
+ static parseAndValidateRef(set) {
70
+ const system = DyNTS_McpRef_Util.systemOf(set.system, set.settings);
71
+ const accepted = Array.isArray(set.namespace) ? set.namespace : [set.namespace];
72
+ const field = set.field ?? 'ref';
73
+ const parsed = DyNTS_McpRef_Util.parseRef({ ref: set.ref, system: system });
74
+ const expected = `${field}: string, format ${system}:<namespace>:<id> (namespace: ${accepted.join(' | ')})`;
75
+ if (!parsed) {
76
+ throw new mcp_invalid_params_error_1.DyNTS_Mcp_InvalidParamsError(`Invalid ${field} format: ${String(set.ref)}`, {
77
+ data: {
78
+ message: `Invalid ${field} format: ${String(set.ref)}`,
79
+ userMessage: `The ${field} is not valid. A ref looks like ${system}:<namespace>:<id>.`,
80
+ method: set.method, field: field, received: set.ref, expected: expected,
81
+ suggestion: `Pass back a ${field} exactly as a previous tool result returned it.`,
82
+ },
83
+ });
84
+ }
85
+ if (!accepted.includes(parsed.namespace)) {
86
+ const message = `Invalid ${field} namespace: expected '${accepted.join("' or '")}' but got '${parsed.namespace}'`;
87
+ throw new mcp_invalid_params_error_1.DyNTS_Mcp_InvalidParamsError(message, {
88
+ data: {
89
+ message: message, userMessage: message, method: set.method, field: field, received: set.ref, expected: expected,
90
+ suggestion: `Use a ${field} of a ${accepted.join(' or ')} entity.`,
91
+ },
92
+ });
93
+ }
94
+ return parsed;
95
+ }
96
+ /** The system prefix of a call, validated. */
97
+ static systemOf(system, settings) {
98
+ const resolved = system ?? (settings === undefined ?
99
+ global_settings_const_1.DyNTS_global_settings.mcp_settings?.refSystem : settings?.refSystem);
100
+ if (!resolved || !DyNTS_mcpRefSegment.test(resolved)) {
101
+ throw DyNTS_McpRef_Util.configError(`the ref system is missing or invalid (got: ${JSON.stringify(resolved)}) - set mcp_settings.refSystem (e.g. 'org')`);
102
+ }
103
+ return resolved;
104
+ }
105
+ /** A server configuration error (not the caller's fault). */
106
+ static configError(message) {
107
+ return new fsm_dynamo_1.DyFM_Error({
108
+ status: 500,
109
+ errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-MRF-CFG`,
110
+ message: `DyNTS_McpRef_Util: ${message}`,
111
+ });
112
+ }
113
+ }
114
+ exports.DyNTS_McpRef_Util = DyNTS_McpRef_Util;
115
+ //# sourceMappingURL=mcp-ref.util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-ref.util.js","sourceRoot":"","sources":["../../../../src/_modules/mcp/_collections/mcp-ref.util.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AAEnD,uFAAoF;AACpF,yFAA0F;AAI1F,iGAAiG;AACjG,MAAM,mBAAmB,GAAW,0BAA0B,CAAC;AAE/D;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,iBAAiB;IAC5B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,GAA6F;QACxG,MAAM,MAAM,GAAW,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE5E,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,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gBAAgB;YACvE,OAAO,EAAE,sBAAsB,OAAO,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AArHD,8CAqHC"}
@@ -5,6 +5,8 @@
5
5
  export interface DyNTS_Mcp_Settings {
6
6
  /** Prepended to every generated tool name (e.g. `organizer.` → `organizer.notes.get`); default: none. */
7
7
  toolPrefix?: string;
8
+ /** The system prefix of entity refs (`<refSystem>:<namespace>:<id>`, e.g. `org`); required to use `DyNTS_McpRef_Util`. */
9
+ refSystem?: string;
8
10
  /** A read-only MCP server advertises only `read-only` tools; default: `false`. */
9
11
  readOnly?: boolean;
10
12
  /** How many HEAVY tool calls may run at once (DMCP-013 serialization); default: `1`. */
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-settings.interface.d.ts","sourceRoot":"","sources":["../../../../../src/_modules/mcp/_models/interfaces/mcp-settings.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,yGAAyG;IACzG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wFAAwF;IACxF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sHAAsH;IACtH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C"}
1
+ {"version":3,"file":"mcp-settings.interface.d.ts","sourceRoot":"","sources":["../../../../../src/_modules/mcp/_models/interfaces/mcp-settings.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,yGAAyG;IACzG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0HAA0H;IAC1H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wFAAwF;IACxF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sHAAsH;IACtH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C"}
@@ -13,6 +13,7 @@ export * from './_models/errors/mcp-invalid-params.error';
13
13
  export * from './_models/errors/mcp-method-not-found.error';
14
14
  export * from './_models/control-models/mcp-tool-params.control-model';
15
15
  export * from './_collections/mcp-error.util';
16
+ export * from './_collections/mcp-ref.util';
16
17
  export * from './_collections/mcp-tool-load.util';
17
18
  export * from './_services/dynts-mcp.adapter';
18
19
  export * from './_services/mcp-server.service-base';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/mcp/index.ts"],"names":[],"mappings":"AAQA,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AAGrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0DAA0D,CAAC;AAGzE,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAG5D,cAAc,wDAAwD,CAAC;AAGvE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/mcp/index.ts"],"names":[],"mappings":"AAQA,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AAGrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0DAA0D,CAAC;AAGzE,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAG5D,cAAc,wDAAwD,CAAC;AAGvE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC"}
@@ -25,6 +25,7 @@ tslib_1.__exportStar(require("./_models/errors/mcp-method-not-found.error"), exp
25
25
  tslib_1.__exportStar(require("./_models/control-models/mcp-tool-params.control-model"), exports);
26
26
  // COLLECTIONS
27
27
  tslib_1.__exportStar(require("./_collections/mcp-error.util"), exports);
28
+ tslib_1.__exportStar(require("./_collections/mcp-ref.util"), exports);
28
29
  tslib_1.__exportStar(require("./_collections/mcp-tool-load.util"), exports);
29
30
  // SERVICES
30
31
  tslib_1.__exportStar(require("./_services/dynts-mcp.adapter"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/mcp/index.ts"],"names":[],"mappings":";AAEA,iGAAiG;AACjG,6FAA6F;AAC7F,4GAA4G;AAC5G,kGAAkG;;;AAElG,QAAQ;AACR,4EAAkD;AAClD,+EAAqD;AAErD,aAAa;AACb,mFAAyD;AACzD,wFAA8D;AAC9D,4FAAkE;AAClE,sFAA4D;AAC5D,mGAAyE;AAEzE,SAAS;AACT,0EAAgD;AAChD,8EAAoD;AACpD,+EAAqD;AACrD,8EAAoD;AACpD,oFAA0D;AAC1D,sFAA4D;AAE5D,iBAAiB;AACjB,iGAAuE;AAEvE,cAAc;AACd,wEAA8C;AAC9C,4EAAkD;AAElD,WAAW;AACX,wEAA8C;AAC9C,8EAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/mcp/index.ts"],"names":[],"mappings":";AAEA,iGAAiG;AACjG,6FAA6F;AAC7F,4GAA4G;AAC5G,kGAAkG;;;AAElG,QAAQ;AACR,4EAAkD;AAClD,+EAAqD;AAErD,aAAa;AACb,mFAAyD;AACzD,wFAA8D;AAC9D,4FAAkE;AAClE,sFAA4D;AAC5D,mGAAyE;AAEzE,SAAS;AACT,0EAAgD;AAChD,8EAAoD;AACpD,+EAAqD;AACrD,8EAAoD;AACpD,oFAA0D;AAC1D,sFAA4D;AAE5D,iBAAiB;AACjB,iGAAuE;AAEvE,cAAc;AACd,wEAA8C;AAC9C,sEAA4C;AAC5C,4EAAkD;AAElD,WAAW;AACX,wEAA8C;AAC9C,8EAAoD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futdevpro/nts-dynamo",
3
- "version": "01.15.296",
3
+ "version": "01.15.297",
4
4
  "description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
5
5
  "DyBu_settings": {
6
6
  "packageType": "server-package",