@exellix/ai-skills 7.0.20 → 7.0.21
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/README.md +8 -11
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,14 +4,14 @@ Foundational skill execution layer for the exellix ecosystem: templates live in
|
|
|
4
4
|
|
|
5
5
|
🚀 **Env-Ready**: Provider keys can be loaded from `.env` automatically. **`catalox` is required** at construction time (see Quick Start).
|
|
6
6
|
|
|
7
|
-
> **Catalox 6
|
|
7
|
+
> **Catalox 6:** Skill catalogs bootstrap via **Mongo** (`ensureCataloxFromEnv` / `createCataloxFromEnvAsync` from **`@exellix/catalox-ai-skills`**). Env: **`MONGO_URI`** or **`MONGODB_URI`**. See [**`documenations/catalox-6-rollout.md`**](../documenations/catalox-6-rollout.md).
|
|
8
8
|
|
|
9
9
|
## Documentation
|
|
10
10
|
|
|
11
11
|
| Topic | Doc |
|
|
12
12
|
|--------|-----|
|
|
13
13
|
| Flex-MD vs gateway parsing, integration tests | **[docs/FLEX_MD_AND_TESTING.md](docs/FLEX_MD_AND_TESTING.md)** |
|
|
14
|
-
| Catalox integration & env notes | **[docs/CATALOX_PEER_GUIDE.md](docs/CATALOX_PEER_GUIDE.md)** · [Environment (
|
|
14
|
+
| Catalox integration & env notes | **[docs/CATALOX_PEER_GUIDE.md](docs/CATALOX_PEER_GUIDE.md)** · [Environment (Mongo & Catalox 6)](#environment-mongo--catalox-6) |
|
|
15
15
|
| Activix integration best practices | **[.docs/activix-integration-best-practices-checklist.md](.docs/activix-integration-best-practices-checklist.md)** |
|
|
16
16
|
| Per-package log level (`AI_SKILLS_LOGS_LEVEL`) | **[Logging](#logging-aiskills--x12ilogxer)** below · [Logxer integration checklist](docs/LOGXER_INTEGRATION_CHECKLIST.md) · [@x12i/logxer on npm](https://www.npmjs.com/package/@x12i/logxer) |
|
|
17
17
|
| Gateway templates (v4), `invoke()` vs `invokeChat()`, `templateRendering` | **[docs/GATEWAY_TEMPLATE_PROTOCOL_V4.md](docs/GATEWAY_TEMPLATE_PROTOCOL_V4.md)** |
|
|
@@ -47,7 +47,7 @@ Foundational skill execution layer for the exellix ecosystem: templates live in
|
|
|
47
47
|
npm install @exellix/ai-skills
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
This package depends on **`@x12i/ai-gateway`**, **`@x12i/catalox`**, **`@x12i/logxer`**, **`@x12i/env`**, **`@x12i/rendrix`**, and
|
|
50
|
+
This package depends on **`@x12i/ai-gateway`**, **`@x12i/catalox`**, **`@x12i/logxer`**, **`@x12i/env`**, **`@x12i/rendrix`**, and **`@exellix/catalox-ai-skills`** (Mongo Catalox bootstrap). **`@x12i/catalox` ≥ 6.0** expects **Node 20+**.
|
|
51
51
|
|
|
52
52
|
**`@x12i/ai-gateway` ≥ 11.0.0** (openrouter-runtime **1.0.4**, `@x12i/ai-tools` **3.3.5**) (see `package.json`) with **`@x12i/activix` ^9.0** and **`@x12i/ai-profiles` ^3.4** is required: every invoke needs an explicit wire **`model`** and **`maxTokens`** (this package supplies **`maxTokens`** via **`@x12i/optimixer`** before `gateway.invoke()`). Invoke **`metadata`** includes routing fields (≥9.1.1), rejection **`metadata`** on failures (≥9.1.2), normalized billing (**`costUsd`**, **`cost`**, **`costStatus: priced | unpriced`**, optional **`costBreakdown`**) on success (≥9.3; ai-tools catalog pricing in gateway ≥10.1), and optional **OpenRouter server-tool metadata** (≥10.4.1). **This package does not use `@x12i/ai-tools` directly** — cost is resolved by the gateway. See **`docs/UPGRADING_AI_GATEWAY_10.md`** and **`docs/AI_GATEWAY_INVOKE_EXECUTION_METADATA.md`**. Every **`runSkill`** call must include **`agentId`**, **`jobTypeId`**, and **`taskTypeId`** (Activix linkage — no package defaults).
|
|
53
53
|
|
|
@@ -57,17 +57,14 @@ Custom admin flows that call Catalox with **`createCatalog`**, **`bindCatalogToA
|
|
|
57
57
|
|
|
58
58
|
**Publishing:** the npm tarball is limited to **`dist/`**, **`README.md`**, and **`erc-manifest.json`** via the **`files`** field in **`package.json`** (avoids shipping tests, logs, or local scratch files).
|
|
59
59
|
|
|
60
|
-
## Environment variables (
|
|
60
|
+
## Environment variables (Mongo & Catalox 6)
|
|
61
61
|
|
|
62
|
-
**`
|
|
62
|
+
**`createCataloxFromEnvAsync()`** / **`ensureCataloxFromEnv()`** from **`@exellix/catalox-ai-skills`** delegate to **`@x12i/catalox/mongo`**.
|
|
63
63
|
|
|
64
64
|
| Variable | Notes |
|
|
65
65
|
|----------|--------|
|
|
66
|
-
| **`
|
|
67
|
-
| **`
|
|
68
|
-
| **`FIRESTORE_DATABASE_ID`** | Optional named Firestore database id; omit for the default database. |
|
|
69
|
-
|
|
70
|
-
**Not supported in Catalox v4:** an environment variable (or secret-token **`_path`** field) that points at a **service-account JSON file on disk**. Use **`GOOGLE_SERVICE_ACCOUNT_BASE64`**, Application Default Credentials (workload identity, **`GOOGLE_APPLICATION_CREDENTIALS`**, etc.), or load a key file **in your application** and pass **`cert(...)`** / Catalox’s **`serviceAccountPath`** bootstrap **option** (caller-supplied string only).
|
|
66
|
+
| **`MONGO_URI`** or **`MONGODB_URI`** | **Required** — Mongo connection string for Catalox catalogs |
|
|
67
|
+
| **`MONGO_DB_NAME`** / **`MONGODB_DB`** | Optional database name (default `catalox`) |
|
|
71
68
|
|
|
72
69
|
Provider keys for the default gateway (**`OPENAI_API_KEY`**, **`GROK_API_KEY`**, **`OPEN_ROUTER_KEY`** / **`OPENROUTER_API_KEY`**) are unchanged — see **Troubleshooting** below.
|
|
73
70
|
|
|
@@ -76,7 +73,7 @@ Provider keys for the default gateway (**`OPENAI_API_KEY`**, **`GROK_API_KEY`**,
|
|
|
76
73
|
### 0) Prerequisites
|
|
77
74
|
|
|
78
75
|
1. **Node.js 20+** — matches **`@x12i/catalox`** engine requirements.
|
|
79
|
-
2. **
|
|
76
|
+
2. **Mongo Catalox** — set **`MONGO_URI`** or **`MONGODB_URI`** (see [above](#environment-mongo--catalox-6)). Use **`await createCataloxFromEnvAsync()`** or pass your own **`Catalox`** from **`createCataloxFromMongoEnv`**.
|
|
80
77
|
3. **Provision the catalog** (creates/updates Catalox app bindings, descriptors, and skill rows):
|
|
81
78
|
|
|
82
79
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exellix/ai-skills",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.21",
|
|
4
4
|
"description": "Foundational skill execution layer for exellix ecosystem using @x12i/ai-gateway with FlexMD 2.0 support and Catalox as the catalog store",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@exellix/catalox-ai-skills": "^1.0.7",
|
|
64
|
-
"@x12i/activix": "^9.0.
|
|
65
|
-
"@x12i/ai-gateway": "^11.1.
|
|
66
|
-
"@x12i/ai-profiles": "^4.
|
|
64
|
+
"@x12i/activix": "^9.0.6",
|
|
65
|
+
"@x12i/ai-gateway": "^11.1.4",
|
|
66
|
+
"@x12i/ai-profiles": "^4.4.0",
|
|
67
67
|
"@x12i/catalox": "^6.0.0",
|
|
68
68
|
"@x12i/env": "^4.0.3",
|
|
69
69
|
"@x12i/execution-memory-manager": "^1.2.0",
|