@x12i/memorix-client-api 0.16.0 → 0.17.0

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/HANDOVER.md CHANGED
@@ -39,7 +39,7 @@ The listen port comes from `attachCoreFastify` (`MEMORIX_CLIENT_API_PORT`, defau
39
39
  | `MGC_MCP_URL` | | MGC MCP endpoint. Wins over the source service URL. |
40
40
  | `MGC_SOURCE_SERVICE_URL` or `MGC_URL` | | MGC source host. This process calls `{url}/mcp` when `MGC_MCP_URL` is unset. When both are unset, it reads `genericConnectors.mcpUrl` from Memorix. |
41
41
  | `SCOPER_REASONER` | scripted, or ai-dispatcher when `OPENROUTER_API_KEY` is set | Reasoner for the hosted `@x12i/memorix-scoper@2.3.0`. |
42
- | `SCOPER_AI_MODEL` | `openai/gpt-6-luna` | Model when the reasoner is `ai-dispatcher`. Peer `@x12i/ai-dispatcher@^2.4.1`. |
42
+ | `SCOPER_AI_MODEL` | `openai/gpt-6-luna` | Model when the reasoner is `ai-dispatcher`. Runs on `@x12i/ai-dispatcher@3.2.0`. |
43
43
  | `SCOPER_FUNCTIONS_DIR` | | Pagx directory of saved query and scope functions, passed to `createScoper({ functions })`. |
44
44
  | `SCOPER_FUNCTIONS_PACKAGE` | | Parent package name for that directory. |
45
45
  | `SCOPER_FUNCTIONS_LEARN` | off | `true` asks the coder to write a function on a miss. Needs `@x12i/coder-dispatcher`. |
package/dist/peers.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { PeerMode } from "./config.js";
2
2
  /** Skill-api default. Auto mode probes this when `SKILL_API_URL` is unset. */
3
3
  export declare const DEFAULT_SKILL_API_URL = "http://127.0.0.1:7180";
4
4
  /** Aligned `@x12i/memorix-skills` line. A peer version must be `0.6.x` when it reports one. */
5
- export declare const SKILLS_CONTRACT_VERSION = "0.6.0";
5
+ export declare const SKILLS_CONTRACT_VERSION = "0.6.1";
6
6
  /** Hosted `@x12i/memorix-scoper` line. A peer version must be `2.3.x`. */
7
7
  export declare const SCOPER_CONTRACT_VERSION = "2.3.0";
8
8
  export type PeerKind = "skills" | "scoper";
package/dist/peers.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /** Skill-api default. Auto mode probes this when `SKILL_API_URL` is unset. */
2
2
  export const DEFAULT_SKILL_API_URL = "http://127.0.0.1:7180";
3
3
  /** Aligned `@x12i/memorix-skills` line. A peer version must be `0.6.x` when it reports one. */
4
- export const SKILLS_CONTRACT_VERSION = "0.6.0";
4
+ export const SKILLS_CONTRACT_VERSION = "0.6.1";
5
5
  /** Hosted `@x12i/memorix-scoper` line. A peer version must be `2.3.x`. */
6
6
  export const SCOPER_CONTRACT_VERSION = "2.3.0";
7
7
  const PROBE_TIMEOUT_MS = 1500;
package/dist/scoper.d.ts CHANGED
@@ -5,17 +5,17 @@ import { type MemorixClient } from "@x12i/memorix-client";
5
5
  import type { PeerChoice } from "./peers.js";
6
6
  import type { ClientScope } from "./scope.js";
7
7
  import type { ScoperReasonerKind } from "./config.js";
8
- /** Published packages this process hosts. Skills 0.6.0 uses the same Scoper. */
8
+ /** Published packages this process hosts. Skills 0.6.1 uses the same Scoper. */
9
9
  export declare const SCOPER_RELEASE: {
10
10
  readonly package: "@x12i/memorix-scoper";
11
11
  readonly version: "2.3.0";
12
12
  readonly sdk: "2.1.2";
13
13
  readonly functionsPackage: "0.2.0";
14
14
  readonly pagx: "1.1.0";
15
- readonly skills: "0.6.0";
15
+ readonly skills: "0.6.1";
16
16
  readonly service: "3.17.0";
17
- readonly client: "3.16.3";
18
- readonly aiDispatcher: "2.4.1";
17
+ readonly client: "3.16.4";
18
+ readonly aiDispatcher: "3.2.0";
19
19
  };
20
20
  export { SCOPER_MCP_TOOL_NAMES };
21
21
  export type { ScoperReasonerKind };
package/dist/scoper.js CHANGED
@@ -5,17 +5,17 @@ import { readSubjectData } from "@x12i/memorix-scoper-sdk";
5
5
  import { createMemorixClient, MemorixClientError, } from "@x12i/memorix-client";
6
6
  import { ScoperError } from "@x12i/memorix-scoper-contracts";
7
7
  import { ApiError } from "./errors.js";
8
- /** Published packages this process hosts. Skills 0.6.0 uses the same Scoper. */
8
+ /** Published packages this process hosts. Skills 0.6.1 uses the same Scoper. */
9
9
  export const SCOPER_RELEASE = {
10
10
  package: "@x12i/memorix-scoper",
11
11
  version: "2.3.0",
12
12
  sdk: "2.1.2",
13
13
  functionsPackage: "0.2.0",
14
14
  pagx: "1.1.0",
15
- skills: "0.6.0",
15
+ skills: "0.6.1",
16
16
  service: "3.17.0",
17
- client: "3.16.3",
18
- aiDispatcher: "2.4.1",
17
+ client: "3.16.4",
18
+ aiDispatcher: "3.2.0",
19
19
  };
20
20
  export { SCOPER_MCP_TOOL_NAMES };
21
21
  const MCP_METHODS = ["initialize", "tools/list", "tools/call", "ping"];
@@ -2,8 +2,8 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Memorix client API",
5
- "version": "0.16.0",
6
- "description": "Read API for smart clients. Agents come from x-memorix-agent-ids. The org comes from x-memorix-org-id, or from an Authix bearer token when MEMORIX_AUTH=authix. x-memorix-caller names the calling app. Descriptors are the effective object-type fields for those agents. GET /api/v1/memorix/{path} forwards Memorix read routes. Agent functions are under /api/v1/agent-functions. Nexum subjects and canvas are under /api/v1/nexum. Scoper 2.3.0 is hosted at /api/v1/scoper. MCP is /api/v1/mcp/nexum, /api/v1/mcp/scoper, and /api/v1/mcp/mgc. Aligned with memorix-service 3.17.0 and memorix-skills 0.6.0."
5
+ "version": "0.17.0",
6
+ "description": "Read API for smart clients. Agents come from x-memorix-agent-ids. The org comes from x-memorix-org-id, or from an Authix bearer token when MEMORIX_AUTH=authix. x-memorix-caller names the calling app. Descriptors are the effective object-type fields for those agents. GET /api/v1/memorix/{path} forwards Memorix read routes. Agent functions are under /api/v1/agent-functions. Nexum subjects and canvas are under /api/v1/nexum. Scoper 2.3.0 is hosted at /api/v1/scoper. MCP is /api/v1/mcp/nexum, /api/v1/mcp/scoper, and /api/v1/mcp/mgc. Aligned with memorix-service 3.17.0 and memorix-skills 0.6.1."
7
7
  },
8
8
  "paths": {
9
9
  "/health": {
@@ -393,7 +393,7 @@
393
393
  "get": {
394
394
  "operationId": "scoperInfo",
395
395
  "summary": "Hosted Scoper release",
396
- "description": "Reports @x12i/memorix-scoper 2.3.0, the SDK 2.1.2, whether saved functions are attached, mode embedded or external, and the aligned memorix-service 3.17.0, memorix-skills 0.6.0, memorix-client 3.16.3, and ai-dispatcher 2.4.1. Subject reads use @x12i/memorix-client.",
396
+ "description": "Reports @x12i/memorix-scoper 2.3.0, the SDK 2.1.2, whether saved functions are attached, mode embedded or external, and the aligned memorix-service 3.17.0, memorix-skills 0.6.1, memorix-client 3.16.4, and ai-dispatcher 3.2.0. Subject reads use @x12i/memorix-client.",
397
397
  "parameters": [{ "$ref": "#/components/parameters/ScopeHeaders" }],
398
398
  "responses": { "200": { "description": "Scoper host" } }
399
399
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x12i/memorix-client-api",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Smart-client read API over Memorix, including agent functions, Nexum, Scoper, and MCP. See HANDOVER.md.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,22 +25,29 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "engines": {
28
- "node": ">=20"
28
+ "node": ">=22"
29
29
  },
30
30
  "dependencies": {
31
- "@x12i/ai-dispatcher": "^2.4.1",
31
+ "@x12i/ai-catalogs": "1.2.0",
32
+ "@x12i/ai-dispatcher": "3.2.0",
33
+ "@x12i/ai-profiles": "5.3.0",
32
34
  "@x12i/api-live-view": "^1.4.0",
33
35
  "@x12i/authix-sdk": "1.0.1",
34
36
  "@x12i/core-service": "^1.0.1",
35
37
  "@x12i/memorix-agent-assistants": "0.2.0",
36
- "@x12i/memorix-client": "^3.16.3",
38
+ "@x12i/memorix-client": "^3.16.4",
37
39
  "@x12i/memorix-scoper": "^2.3.0",
38
- "@x12i/memorix-scoper-functions": "^0.2.0",
40
+ "@x12i/memorix-scoper-functions": "^0.2.1",
39
41
  "@x12i/memorix-scoper-pagx": "^1.1.0",
40
42
  "@x12i/memorix-scoper-sdk": "^2.1.2",
41
43
  "fastify": "^5.1.0",
42
44
  "mongodb": "^7.7.0"
43
45
  },
46
+ "overrides": {
47
+ "@x12i/ai-dispatcher": "$@x12i/ai-dispatcher",
48
+ "@x12i/ai-profiles": "$@x12i/ai-profiles",
49
+ "@x12i/ai-catalogs": "$@x12i/ai-catalogs"
50
+ },
44
51
  "devDependencies": {
45
52
  "@types/node": "^20.14.0",
46
53
  "tsx": "^4.19.0",