@arnilo/prism 0.11.1 → 0.12.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/CHANGELOG.md +27 -0
- package/README.md +28 -27
- package/dist/cli-dev.js +1 -1
- package/dist/cli-init.js +4 -4
- package/dist/cli-provider-add.js +2 -2
- package/dist/field-evidence.d.ts +53 -0
- package/dist/field-evidence.js +143 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/run-bundle.js +2 -2
- package/docs/acp-agent.md +2 -2
- package/docs/ag-ui.md +1 -1
- package/docs/attention-compiler.md +1 -1
- package/docs/cli-rpc.md +2 -2
- package/docs/coding-tools.md +3 -3
- package/docs/compaction-observational-memory.md +13 -3
- package/docs/computer-use-linux.md +2 -2
- package/docs/core.md +9 -10
- package/docs/dev-inspector.md +1 -1
- package/docs/disaster-recovery.md +1 -1
- package/docs/document-extraction.md +140 -0
- package/docs/evaluations.md +1 -1
- package/docs/execution-timeline.md +30 -0
- package/docs/guardrails.md +53 -0
- package/docs/history/130-cyclic-workflows-primitive-review.md +293 -0
- package/docs/history/132-document-ingestion-primitive-review.md +124 -0
- package/docs/history/README.md +2 -0
- package/docs/history/migrate-to-0.12.0.md +57 -0
- package/docs/history/retire-node-runtime.md +59 -0
- package/docs/hooks.md +1 -1
- package/docs/host-compositions.md +2 -2
- package/docs/host-security.md +1 -1
- package/docs/index.md +29 -25
- package/docs/live-testing.md +1 -1
- package/docs/mcp-tools.md +2 -2
- package/docs/messaging-channels.md +1 -1
- package/docs/migrate-to-0.7.md +1 -1
- package/docs/migrate-to-0.8.md +2 -2
- package/docs/migrate-to-0.9.md +1 -1
- package/docs/migration.md +2 -2
- package/docs/model-registry.md +1 -1
- package/docs/model-routing.md +21 -0
- package/docs/multi-agent-patterns.md +77 -4
- package/docs/obscura.md +1 -1
- package/docs/openapi-tools.md +1 -1
- package/docs/operations.md +2 -2
- package/docs/peer-dependencies.md +18 -17
- package/docs/performance.md +32 -32
- package/docs/prompt-registry.md +1 -1
- package/docs/provider-packages.md +22 -22
- package/docs/providers/decisions.md +134 -0
- package/docs/providers/laya.md +3 -0
- package/docs/providers/typesafe.md +5 -2
- package/docs/rag.md +17 -5
- package/docs/release-and-install.md +118 -114
- package/docs/run-bundle.md +4 -0
- package/docs/runs-and-usage.md +1 -1
- package/docs/signal-channel.md +1 -1
- package/docs/sqlite-persistence.md +5 -5
- package/docs/synapta-integration-review.md +238 -0
- package/docs/telegram-channel.md +1 -1
- package/docs/testing.md +33 -14
- package/docs/wiki.md +12 -11
- package/docs/work-sandbox.md +2 -0
- package/docs/work-tools.md +3 -3
- package/docs/workflows.md +213 -11
- package/package.json +22 -21
- package/templates/business-worker/README.md.tmpl +3 -3
- package/templates/business-worker/package.json.tmpl +4 -5
- package/templates/business-worker/src/tests/agent.test.ts.tmpl +1 -1
- package/templates/business-worker/tsconfig.json.tmpl +2 -1
- package/templates/deep-research/README.md.tmpl +4 -4
- package/templates/deep-research/package.json.tmpl +4 -5
- package/templates/deep-research/src/tests/research.test.ts.tmpl +1 -1
- package/templates/deep-research/tsconfig.json.tmpl +2 -1
- package/templates/init/README.md.tmpl +3 -3
- package/templates/init/optional/evals-example.ts.tmpl +1 -1
- package/templates/init/optional/workflows-example.ts.tmpl +1 -1
- package/templates/init/package.json.tmpl +4 -5
- package/templates/init/src/tests/agent.test.ts.tmpl +1 -1
- package/templates/init/tsconfig.json.tmpl +2 -1
- package/templates/personal-assistant/README.md.tmpl +3 -3
- package/templates/personal-assistant/package.json.tmpl +4 -5
- package/templates/personal-assistant/src/tests/agent.test.ts.tmpl +1 -1
- package/templates/personal-assistant/tsconfig.json.tmpl +2 -1
- package/templates/provider/README.md.tmpl +2 -2
- package/templates/provider/package.json.tmpl +3 -4
- package/templates/provider/src/tests/provider.test.ts.tmpl +1 -1
- package/templates/provider/tsconfig.json.tmpl +1 -1
|
@@ -3,21 +3,20 @@
|
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
|
+
"packageManager": "bun@1.4.2",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"build": "tsc -p tsconfig.json",
|
|
8
9
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
9
|
-
"test": "
|
|
10
|
-
"start": "
|
|
10
|
+
"test": "bun run build && bun test dist/__tests__/agent.test.js",
|
|
11
|
+
"start": "bun run build && bun dist/index.js",
|
|
11
12
|
"dev": "prism dev"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
14
15
|
__DEPENDENCIES__
|
|
15
16
|
},
|
|
16
17
|
"devDependencies": {
|
|
18
|
+
"@types/bun": "^1.4.2",
|
|
17
19
|
"@types/node": "^22.0.0",
|
|
18
20
|
"typescript": "^5.7.0"
|
|
19
|
-
},
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=20"
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -5,7 +5,7 @@ __PROVIDER_ID__ provider package for Prism (OpenAI-compatible Chat Completions).
|
|
|
5
5
|
## Quick start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
bun add __PACKAGE_NAME__ @arnilo/prism
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Wire the provider and models into your Prism host. The package registers an
|
|
@@ -31,7 +31,7 @@ docs-verified model metadata (limits, costs, cache behavior) before publishing.
|
|
|
31
31
|
|
|
32
32
|
## Conformance
|
|
33
33
|
|
|
34
|
-
`
|
|
34
|
+
`bun test` builds the package and runs the offline conformance suite wired to
|
|
35
35
|
`@arnilo/prism/testing/provider-conformance` (stream shape, tool-call delta
|
|
36
36
|
reconstruction, header ownership, secret-leak redaction, serialized content
|
|
37
37
|
coverage).
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"version": "__PRISM_VERSION__",
|
|
4
4
|
"description": "__PROVIDER_ID__ provider package for Prism.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"packageManager": "bun@1.4.2",
|
|
6
7
|
"main": "./dist/index.js",
|
|
7
8
|
"types": "./dist/index.d.ts",
|
|
8
9
|
"exports": {
|
|
@@ -21,19 +22,17 @@
|
|
|
21
22
|
"scripts": {
|
|
22
23
|
"build": "tsc -p tsconfig.json",
|
|
23
24
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
24
|
-
"test": "
|
|
25
|
+
"test": "bun run build && bun test dist/__tests__/",
|
|
25
26
|
"pack:dry-run": "npm pack --dry-run"
|
|
26
27
|
},
|
|
27
28
|
"peerDependencies": {
|
|
28
29
|
"@arnilo/prism": "__PRISM_VERSION__"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
32
|
+
"@types/bun": "^1.4.2",
|
|
31
33
|
"@types/node": "^22.0.0",
|
|
32
34
|
"typescript": "^5.7.0"
|
|
33
35
|
},
|
|
34
|
-
"engines": {
|
|
35
|
-
"node": ">=20"
|
|
36
|
-
},
|
|
37
36
|
"license": "MIT",
|
|
38
37
|
"keywords": [
|
|
39
38
|
"prism",
|