@arnilo/prism 0.0.1 → 0.0.3
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 +19 -2
- package/README.md +17 -7
- package/dist/agent-definitions.d.ts +12 -0
- package/dist/agent-definitions.js +131 -0
- package/dist/agent-loops.d.ts +14 -0
- package/dist/agent-loops.js +161 -0
- package/dist/agents.js +263 -76
- package/dist/cache-helpers.d.ts +28 -0
- package/dist/cache-helpers.js +73 -0
- package/dist/cli-runner.d.ts +38 -2
- package/dist/cli-runner.js +167 -5
- package/dist/compaction.js +2 -0
- package/dist/config.js +47 -12
- package/dist/contracts.d.ts +581 -6
- package/dist/contracts.js +41 -1
- package/dist/contribution-parsing.d.ts +19 -0
- package/dist/contribution-parsing.js +124 -0
- package/dist/contributions.d.ts +13 -3
- package/dist/contributions.js +96 -20
- package/dist/extensions.js +3 -0
- package/dist/index.d.ts +19 -9
- package/dist/index.js +10 -4
- package/dist/input.d.ts +7 -1
- package/dist/input.js +52 -11
- package/dist/instruction-injection.d.ts +28 -0
- package/dist/instruction-injection.js +55 -0
- package/dist/manifests.d.ts +1 -1
- package/dist/manifests.js +3 -3
- package/dist/models.d.ts +4 -1
- package/dist/models.js +5 -2
- package/dist/node/agent-definitions.d.ts +98 -0
- package/dist/node/agent-definitions.js +389 -0
- package/dist/node/contribution-discovery.d.ts +17 -0
- package/dist/node/contribution-discovery.js +163 -0
- package/dist/node/instruction-injectors.d.ts +32 -0
- package/dist/node/instruction-injectors.js +72 -0
- package/dist/node/session-store-jsonl.d.ts +1 -1
- package/dist/node/session-store-jsonl.js +42 -4
- package/dist/node/system-project-prompts.d.ts +30 -0
- package/dist/node/system-project-prompts.js +53 -0
- package/dist/provider-events.d.ts +3 -1
- package/dist/provider-events.js +34 -0
- package/dist/provider-request-policy.js +15 -1
- package/dist/providers/openai-compatible.js +1 -1
- package/dist/providers.d.ts +6 -2
- package/dist/providers.js +15 -1
- package/dist/redaction.d.ts +2 -1
- package/dist/redaction.js +3 -0
- package/dist/registry-options.d.ts +5 -0
- package/dist/registry-options.js +5 -0
- package/dist/rpc.d.ts +6 -2
- package/dist/rpc.js +71 -13
- package/dist/session-stores.d.ts +3 -1
- package/dist/session-stores.js +67 -6
- package/dist/skills.d.ts +4 -1
- package/dist/skills.js +3 -1
- package/dist/system-prompts.js +6 -2
- package/dist/testing/compaction-conformance.d.ts +17 -0
- package/dist/testing/compaction-conformance.js +61 -0
- package/dist/testing/extension-conformance.d.ts +26 -0
- package/dist/testing/extension-conformance.js +55 -0
- package/dist/testing/provider-conformance.d.ts +7 -0
- package/dist/testing/provider-conformance.js +18 -31
- package/dist/testing/session-store-conformance.d.ts +20 -0
- package/dist/testing/session-store-conformance.js +92 -0
- package/dist/testing/tool-conformance.d.ts +39 -0
- package/dist/testing/tool-conformance.js +79 -0
- package/dist/tools.d.ts +7 -2
- package/dist/tools.js +50 -13
- package/docs/agent-definitions.md +251 -0
- package/docs/agent-events.md +199 -0
- package/docs/agent-loops.md +217 -0
- package/docs/agent-session-runtime.md +20 -8
- package/docs/cli-rpc.md +39 -4
- package/docs/coding-agent-tools.md +208 -0
- package/docs/compaction-and-retry.md +2 -2
- package/docs/compaction-conformance.md +76 -0
- package/docs/compaction-llm.md +6 -3
- package/docs/compaction-observational-memory.md +4 -4
- package/docs/configuration-and-manifests.md +6 -1
- package/docs/context-and-skills.md +79 -6
- package/docs/contribution-discovery.md +149 -0
- package/docs/contribution-registries.md +9 -6
- package/docs/credentials-and-redaction.md +2 -0
- package/docs/customization.md +191 -0
- package/docs/database-persistence.md +407 -0
- package/docs/extension-authoring.md +193 -0
- package/docs/extension-conformance.md +80 -0
- package/docs/extensions.md +6 -0
- package/docs/host-security.md +141 -0
- package/docs/index.md +41 -19
- package/docs/input-and-prompt-assembly.md +19 -3
- package/docs/instruction-injection.md +183 -0
- package/docs/migration.md +201 -0
- package/docs/model-registry.md +122 -0
- package/docs/node-jsonl-session-store.md +5 -4
- package/docs/performance.md +127 -0
- package/docs/provider-caching.md +206 -0
- package/docs/provider-conformance.md +32 -5
- package/docs/provider-layer.md +51 -11
- package/docs/provider-packages.md +65 -5
- package/docs/provider-request-policies.md +113 -0
- package/docs/providers/kimi.md +22 -0
- package/docs/providers/neuralwatt.md +388 -0
- package/docs/providers/openai-compatible.md +1 -0
- package/docs/providers/openai.md +21 -0
- package/docs/providers/opencode-go.md +31 -3
- package/docs/providers/openrouter.md +29 -0
- package/docs/providers/zai.md +17 -0
- package/docs/public-contracts.md +87 -12
- package/docs/release-and-install.md +79 -27
- package/docs/runs-and-usage.md +236 -0
- package/docs/session-store-conformance.md +78 -0
- package/docs/session-stores-and-branching.md +10 -6
- package/docs/session-stores.md +126 -0
- package/docs/settings-auth-trust-security.md +18 -4
- package/docs/structured-output.md +247 -0
- package/docs/system-prompts.md +104 -2
- package/docs/tool-conformance.md +87 -0
- package/docs/tools.md +65 -8
- package/package.json +36 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arnilo/prism",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Agent harness for AI providers, agents, sessions, and tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,6 +18,22 @@
|
|
|
18
18
|
"types": "./dist/testing/provider-conformance.d.ts",
|
|
19
19
|
"default": "./dist/testing/provider-conformance.js"
|
|
20
20
|
},
|
|
21
|
+
"./testing/session-store-conformance": {
|
|
22
|
+
"types": "./dist/testing/session-store-conformance.d.ts",
|
|
23
|
+
"default": "./dist/testing/session-store-conformance.js"
|
|
24
|
+
},
|
|
25
|
+
"./testing/compaction-conformance": {
|
|
26
|
+
"types": "./dist/testing/compaction-conformance.d.ts",
|
|
27
|
+
"default": "./dist/testing/compaction-conformance.js"
|
|
28
|
+
},
|
|
29
|
+
"./testing/tool-conformance": {
|
|
30
|
+
"types": "./dist/testing/tool-conformance.d.ts",
|
|
31
|
+
"default": "./dist/testing/tool-conformance.js"
|
|
32
|
+
},
|
|
33
|
+
"./testing/extension-conformance": {
|
|
34
|
+
"types": "./dist/testing/extension-conformance.d.ts",
|
|
35
|
+
"default": "./dist/testing/extension-conformance.js"
|
|
36
|
+
},
|
|
21
37
|
"./node/config": {
|
|
22
38
|
"types": "./dist/node/config.d.ts",
|
|
23
39
|
"default": "./dist/node/config.js"
|
|
@@ -33,6 +49,22 @@
|
|
|
33
49
|
"./node/session-store-jsonl": {
|
|
34
50
|
"types": "./dist/node/session-store-jsonl.d.ts",
|
|
35
51
|
"default": "./dist/node/session-store-jsonl.js"
|
|
52
|
+
},
|
|
53
|
+
"./node/contribution-discovery": {
|
|
54
|
+
"types": "./dist/node/contribution-discovery.d.ts",
|
|
55
|
+
"default": "./dist/node/contribution-discovery.js"
|
|
56
|
+
},
|
|
57
|
+
"./node/instruction-injectors": {
|
|
58
|
+
"types": "./dist/node/instruction-injectors.d.ts",
|
|
59
|
+
"default": "./dist/node/instruction-injectors.js"
|
|
60
|
+
},
|
|
61
|
+
"./node/system-prompts": {
|
|
62
|
+
"types": "./dist/node/system-project-prompts.d.ts",
|
|
63
|
+
"default": "./dist/node/system-project-prompts.js"
|
|
64
|
+
},
|
|
65
|
+
"./node/agent-definitions": {
|
|
66
|
+
"types": "./dist/node/agent-definitions.d.ts",
|
|
67
|
+
"default": "./dist/node/agent-definitions.js"
|
|
36
68
|
}
|
|
37
69
|
},
|
|
38
70
|
"bin": {
|
|
@@ -48,6 +80,7 @@
|
|
|
48
80
|
"workspaces": [
|
|
49
81
|
"packages/provider-*",
|
|
50
82
|
"packages/compaction-*",
|
|
83
|
+
"packages/coding-agent",
|
|
51
84
|
"packages/prism-providers",
|
|
52
85
|
"packages/prism-compaction",
|
|
53
86
|
"packages/prism-all"
|
|
@@ -58,7 +91,8 @@
|
|
|
58
91
|
"typecheck": "npm run build:core && npm run typecheck --workspaces --if-present && tsc -p examples --noEmit",
|
|
59
92
|
"test": "npm run build && node --test dist/__tests__/*.test.js && npm run test --workspaces --if-present",
|
|
60
93
|
"pack:dry-run": "npm pack --dry-run && npm run pack:dry-run --workspaces --if-present",
|
|
61
|
-
"release:dry-run": "npm
|
|
94
|
+
"release:dry-run": "npm run sdk:ready",
|
|
95
|
+
"sdk:ready": "npm run typecheck && npm test && npm run pack:dry-run"
|
|
62
96
|
},
|
|
63
97
|
"devDependencies": {
|
|
64
98
|
"typescript": "^5.7.0",
|