@arnilo/prism 0.2.9 → 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/CHANGELOG.md +39 -0
- package/README.md +12 -5
- package/dist/agent-loops.js +45 -8
- package/dist/agent-session/helpers.js +2 -2
- package/dist/cache-helpers.d.ts +11 -0
- package/dist/cache-helpers.js +29 -5
- package/dist/cli-provider-add.js +2 -1
- package/dist/context-budget.js +9 -6
- package/dist/contracts-core/agent.d.ts +2 -0
- package/dist/contracts-core/provider.d.ts +2 -0
- package/dist/contracts-protocol.d.ts +31 -1
- package/dist/delegated-agent-step.d.ts +20 -0
- package/dist/delegated-agent-step.js +99 -0
- package/dist/event-multiplexer.js +0 -4
- package/dist/index.d.ts +6 -2
- package/dist/index.js +5 -2
- package/dist/input.js +19 -11
- package/dist/node/session-store-jsonl.js +7 -3
- package/dist/providers/openai-compatible.js +2 -1
- package/dist/providers/openai-primitives.js +2 -1
- package/dist/providers/schema.d.ts +7 -0
- package/dist/providers/schema.js +25 -0
- package/dist/testing/provider-conformance.d.ts +10 -0
- package/dist/testing/provider-conformance.js +37 -0
- package/dist/trim-trailing-slashes.d.ts +8 -0
- package/dist/trim-trailing-slashes.js +14 -0
- package/docs/0.1.0-readiness.md +8 -8
- package/docs/acp.md +5 -3
- package/docs/ag-ui.md +6 -2
- package/docs/agent-events.md +8 -1
- package/docs/agent-loops.md +3 -0
- package/docs/agent-session-runtime.md +1 -0
- package/docs/antigravity-agent.md +207 -0
- package/docs/browser-automation.md +1 -0
- package/docs/coding-agent-tools.md +32 -4
- package/docs/computer-use-linux.md +122 -0
- package/docs/database-persistence.md +1 -1
- package/docs/device-adapters.md +4 -3
- package/docs/graft.md +125 -0
- package/docs/host-security.md +3 -1
- package/docs/index.md +21 -10
- package/docs/input-and-prompt-assembly.md +11 -6
- package/docs/instruction-injection.md +1 -1
- package/docs/mcp-tools.md +2 -1
- package/docs/migration.md +25 -2
- package/docs/node-jsonl-session-store.md +1 -1
- package/docs/obscura.md +175 -0
- package/docs/observability.md +21 -1
- package/docs/performance.md +58 -4
- package/docs/ponytail.md +1 -1
- package/docs/provider-caching.md +13 -11
- package/docs/provider-conformance.md +6 -0
- package/docs/provider-packages.md +1 -1
- package/docs/provider-primitives.md +15 -2
- package/docs/providers/ai-sdk.md +1 -1
- package/docs/providers/anthropic.md +1 -1
- package/docs/providers/azure.md +1 -0
- package/docs/providers/bedrock.md +1 -0
- package/docs/providers/kimi.md +2 -1
- package/docs/providers/openai.md +19 -7
- package/docs/providers/opencode-go.md +3 -1
- package/docs/providers/openrouter.md +4 -3
- package/docs/providers/vertex.md +1 -0
- package/docs/public-contracts.md +2 -1
- package/docs/rag.md +55 -8
- package/docs/release-and-install.md +105 -25
- package/docs/server.md +1 -0
- package/docs/supervisors.md +3 -2
- package/docs/system-prompts.md +1 -1
- package/docs/tools.md +1 -1
- package/docs/web-tools.md +2 -0
- package/docs/wiki.md +140 -0
- package/docs/workflows.md +4 -3
- package/docs/working-and-semantic-memory.md +20 -0
- package/package.json +14 -5
- package/docs/api-page-template.md +0 -32
- package/docs/release-0.2.7-evidence.md +0 -514
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arnilo/prism",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Agent harness for AI providers, agents, sessions, and tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"types": "./dist/providers/openai-primitives.d.ts",
|
|
23
23
|
"default": "./dist/providers/openai-primitives.js"
|
|
24
24
|
},
|
|
25
|
+
"./providers/schema": {
|
|
26
|
+
"types": "./dist/providers/schema.d.ts",
|
|
27
|
+
"default": "./dist/providers/schema.js"
|
|
28
|
+
},
|
|
25
29
|
"./providers/media": {
|
|
26
30
|
"types": "./dist/providers/media.d.ts",
|
|
27
31
|
"default": "./dist/providers/media.js"
|
|
@@ -112,11 +116,15 @@
|
|
|
112
116
|
"!dist/**/*.map",
|
|
113
117
|
"docs",
|
|
114
118
|
"!docs/_evidence",
|
|
119
|
+
"!docs/release-*-evidence.md",
|
|
120
|
+
"!docs/api-page-template.md",
|
|
115
121
|
"templates",
|
|
116
122
|
"CHANGELOG.md"
|
|
117
123
|
],
|
|
118
124
|
"workspaces": [
|
|
119
125
|
"packages/provider-*",
|
|
126
|
+
"packages/memory",
|
|
127
|
+
"packages/rag",
|
|
120
128
|
"packages/compaction-*",
|
|
121
129
|
"packages/observability-*",
|
|
122
130
|
"packages/tool-validator-*",
|
|
@@ -127,8 +135,6 @@
|
|
|
127
135
|
"packages/workflows",
|
|
128
136
|
"packages/coding-agent",
|
|
129
137
|
"packages/coding-security",
|
|
130
|
-
"packages/memory",
|
|
131
|
-
"packages/rag",
|
|
132
138
|
"packages/server",
|
|
133
139
|
"packages/supervisor",
|
|
134
140
|
"packages/web-tools",
|
|
@@ -137,9 +143,12 @@
|
|
|
137
143
|
"packages/model-router",
|
|
138
144
|
"packages/enterprise-postgres",
|
|
139
145
|
"packages/browser",
|
|
146
|
+
"packages/obscura",
|
|
140
147
|
"packages/ag-ui",
|
|
141
148
|
"packages/acp-agent",
|
|
149
|
+
"packages/computer-use-linux",
|
|
142
150
|
"packages/document-reader",
|
|
151
|
+
"packages/antigravity-agent",
|
|
143
152
|
"packages/prism-*"
|
|
144
153
|
],
|
|
145
154
|
"scripts": {
|
|
@@ -148,7 +157,7 @@
|
|
|
148
157
|
"build": "npm run build:core && npm run build --workspaces --if-present",
|
|
149
158
|
"typecheck": "npm run build && npm run typecheck --workspaces --if-present && tsc -p examples --noEmit",
|
|
150
159
|
"sweep:unused": "node scripts/sweep-unused.mjs --json",
|
|
151
|
-
"test": "npm run build && node scripts/with-build-lock.mjs node --test dist/__tests__/*.test.js && node scripts/with-build-lock.mjs node --test scripts/release-gate.test.mjs scripts/tooling-gate.test.mjs scripts/budget-gate.test.mjs scripts/phase8-conformance.test.mjs scripts/phase9-conformance.test.mjs scripts/phase10-conformance.test.mjs scripts/phase11-conformance.test.mjs scripts/phase11-freeze.test.mjs scripts/phase12-freeze.test.mjs scripts/phase13-freeze.test.mjs scripts/phase14-freeze.test.mjs scripts/phase15-freeze.test.mjs scripts/phase16-freeze.test.mjs scripts/phase17-freeze.test.mjs scripts/phase18-freeze.test.mjs scripts/phase19-freeze.test.mjs scripts/phase20-freeze.test.mjs scripts/phase21-freeze.test.mjs scripts/benchmark-0.1.0.test.mjs scripts/sweep-unused.test.mjs scripts/e2e-enterprise-journey.test.mjs scripts/e2e-coding-journey.test.mjs scripts/phase23-quality-gates.test.mjs scripts/phase24-truth.test.mjs scripts/phase25-bounded-accumulation.test.mjs scripts/phase26-freeze.test.mjs scripts/phase27-freeze.test.mjs scripts/phase27-ha.test.mjs scripts/phase27-erp-journey.test.mjs scripts/phase27-release.test.mjs scripts/phase29-freeze.test.mjs scripts/phase26-index-benchmark.test.mjs && node --test scripts/phase23-build-race.test.mjs && npm run test --workspaces --if-present",
|
|
160
|
+
"test": "npm run build && node scripts/with-build-lock.mjs node --test dist/__tests__/*.test.js && node scripts/with-build-lock.mjs node --test scripts/release-gate.test.mjs scripts/tooling-gate.test.mjs scripts/budget-gate.test.mjs scripts/phase8-conformance.test.mjs scripts/phase9-conformance.test.mjs scripts/phase10-conformance.test.mjs scripts/phase11-conformance.test.mjs scripts/phase11-freeze.test.mjs scripts/phase12-freeze.test.mjs scripts/phase13-freeze.test.mjs scripts/phase14-freeze.test.mjs scripts/phase15-freeze.test.mjs scripts/phase16-freeze.test.mjs scripts/phase17-freeze.test.mjs scripts/phase18-freeze.test.mjs scripts/phase19-freeze.test.mjs scripts/phase20-freeze.test.mjs scripts/phase21-freeze.test.mjs scripts/benchmark-0.1.0.test.mjs scripts/benchmark-multi-agent.test.mjs scripts/sweep-unused.test.mjs scripts/e2e-enterprise-journey.test.mjs scripts/e2e-coding-journey.test.mjs scripts/phase23-quality-gates.test.mjs scripts/phase24-truth.test.mjs scripts/phase25-bounded-accumulation.test.mjs scripts/phase26-freeze.test.mjs scripts/phase27-freeze.test.mjs scripts/phase27-ha.test.mjs scripts/phase27-erp-journey.test.mjs scripts/phase27-release.test.mjs scripts/phase29-freeze.test.mjs scripts/phase30-freeze.test.mjs scripts/phase30-release.test.mjs scripts/phase34-freeze.test.mjs scripts/phase37-provider-matrix.test.mjs scripts/phase26-index-benchmark.test.mjs scripts/obscura-host-conformance.test.mjs && node --test scripts/phase23-build-race.test.mjs && npm run test --workspaces --if-present",
|
|
152
161
|
"test:coverage": "node scripts/with-build-lock.mjs node --test --experimental-test-coverage --test-coverage-lines=60 --test-coverage-functions=70 --test-coverage-branches=75 --test-coverage-exclude='**/__tests__/**' --test-coverage-exclude='**/node_modules/**' --test-coverage-exclude='**/scripts/**' --test-coverage-exclude='**/packages/**' --test-coverage-exclude='**/examples/**' dist/__tests__/*.test.js && node scripts/with-build-lock.mjs node scripts/coverage-summary.mjs && node --test scripts/phase23-coverage.test.mjs && node --test scripts/phase23-skip-manifest.test.mjs",
|
|
153
162
|
"coverage:summary": "node scripts/with-build-lock.mjs node scripts/coverage-summary.mjs",
|
|
154
163
|
"lint": "biome lint . --reporter=sarif --reporter-file=scripts/lint-report.sarif",
|
|
@@ -162,7 +171,7 @@
|
|
|
162
171
|
"release:evidence": "node scripts/release-skip-manifest.mjs",
|
|
163
172
|
"sdk:ready": "npm run typecheck && npm run lint && npm run format:check && npm test && npm run test:coverage && npm run pack:dry-run && npm run release:gate",
|
|
164
173
|
"release:gate": "node scripts/release-skip-manifest.mjs && node scripts/check-client-neutrality.mjs && node scripts/release.mjs gate",
|
|
165
|
-
"security:threat-suites": "node --test scripts/phase8-conformance.test.mjs scripts/phase9-conformance.test.mjs scripts/phase10-conformance.test.mjs scripts/phase11-conformance.test.mjs scripts/phase20-security.test.mjs scripts/phase21-security.test.mjs scripts/phase22-security.test.mjs scripts/phase23-security.test.mjs"
|
|
174
|
+
"security:threat-suites": "node --test scripts/phase8-conformance.test.mjs scripts/phase9-conformance.test.mjs scripts/phase10-conformance.test.mjs scripts/phase11-conformance.test.mjs scripts/phase20-security.test.mjs scripts/phase21-security.test.mjs scripts/phase22-security.test.mjs scripts/phase23-security.test.mjs scripts/phase38-codeql-regression.test.mjs"
|
|
166
175
|
},
|
|
167
176
|
"devDependencies": {
|
|
168
177
|
"@biomejs/biome": "^2.5.5",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# <API name>
|
|
2
|
-
|
|
3
|
-
## What it does
|
|
4
|
-
<Small description of what the API does.>
|
|
5
|
-
|
|
6
|
-
## When to use it
|
|
7
|
-
<When an app/package/extension should use this API.>
|
|
8
|
-
|
|
9
|
-
## Inputs / request
|
|
10
|
-
<Field table or typed shape.>
|
|
11
|
-
|
|
12
|
-
## Outputs / response / events
|
|
13
|
-
<Field table, return type, events, or side effects.>
|
|
14
|
-
|
|
15
|
-
## Request/response example
|
|
16
|
-
```json
|
|
17
|
-
<minimal example payload or config>
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Implementation example
|
|
21
|
-
```ts
|
|
22
|
-
<minimal working TypeScript example>
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Extension and configuration notes
|
|
26
|
-
<How extensions/plugins/config can replace or contribute behavior.>
|
|
27
|
-
|
|
28
|
-
## Security and performance notes
|
|
29
|
-
<Secrets, permissions, trust boundaries, resource use, latency, limits.>
|
|
30
|
-
|
|
31
|
-
## Related APIs
|
|
32
|
-
- `<API or page>`: <relationship>
|