@aionis/sdk 0.2.28 → 0.3.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/README.md
CHANGED
|
@@ -107,7 +107,7 @@ For token-sensitive Agent calls, request compact prompt rendering:
|
|
|
107
107
|
|
|
108
108
|
```ts
|
|
109
109
|
const compactGuide = await aionis.guide({
|
|
110
|
-
query_text: "Continue the task
|
|
110
|
+
query_text: "Continue the task from the current accepted state.",
|
|
111
111
|
consumer_agent_id: "agent-1",
|
|
112
112
|
context_mode: "compact_agent",
|
|
113
113
|
});
|
|
@@ -148,14 +148,14 @@ procedure steps, acceptance checks, evidence refs, and the safety gate. The
|
|
|
148
148
|
review item is read-only; it does not promote or inject the candidate into an
|
|
149
149
|
Agent prompt.
|
|
150
150
|
|
|
151
|
-
Run the minimal review-item
|
|
151
|
+
Run the minimal review-item verification:
|
|
152
152
|
|
|
153
153
|
```bash
|
|
154
154
|
npm run build
|
|
155
|
-
npm run
|
|
155
|
+
npm run verify:trace-to-skill
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
The
|
|
158
|
+
The verification prints the product path and a safe review item:
|
|
159
159
|
|
|
160
160
|
```text
|
|
161
161
|
trace -> feedback attribution -> measure -> candidate -> review -> promotion gate
|
|
@@ -328,7 +328,7 @@ Product guide:
|
|
|
328
328
|
|
|
329
329
|
```ts
|
|
330
330
|
const result = await aionis.governMemory({
|
|
331
|
-
query_text: "Continue the checkout migration
|
|
331
|
+
query_text: "Continue the checkout migration from the current accepted state.",
|
|
332
332
|
mode: "firewall",
|
|
333
333
|
include_records: true,
|
|
334
334
|
candidates: [
|
|
@@ -377,7 +377,7 @@ const mem0Results = await mem0.search("Continue checkout migration", {
|
|
|
377
377
|
});
|
|
378
378
|
|
|
379
379
|
const governed = await aionis.governMem0SearchResults({
|
|
380
|
-
query_text: "Continue checkout migration
|
|
380
|
+
query_text: "Continue checkout migration from the current accepted state.",
|
|
381
381
|
run_id: "run-001",
|
|
382
382
|
mem0_results: mem0Results,
|
|
383
383
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aionis/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "TypeScript SDK facade for the Aionis state-adjudicated memory Runtime.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.aionis.work/plugins/sdk",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"dist",
|
|
23
|
-
"
|
|
23
|
+
"verification",
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"engines": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsc -p tsconfig.json",
|
|
31
31
|
"test": "npm run build --silent && tsx --test test/*.test.ts",
|
|
32
|
-
"
|
|
32
|
+
"verify:trace-to-skill": "node verification/trace-to-skill-candidate.mjs",
|
|
33
33
|
"prepack": "npm run build"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
File without changes
|