@plumbus/ai-decision-typesafe 0.2.2 → 0.3.0-beta.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 +7 -0
- package/README.md +5 -4
- package/dist/.tsbuildinfo +1 -1
- package/instructions/README.md +2 -2
- package/instructions/framework.md +3 -3
- package/instructions/testing.md +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0-beta.0 — 2026-09-23 — core 0.8 beta family
|
|
4
|
+
|
|
5
|
+
### Upgrade boundary
|
|
6
|
+
|
|
7
|
+
- Beta prerelease of the coordinated core 0.8 family (core 0.8.x, UI 0.9.x, MCP 0.7.x, voice 0.6.x, other add-ons 0.3.x), published under the branch-named npm dist-tag `plumbus-next` (`latest` stays on the 0.7 family). Previous caret ranges exclude it; install the whole family together and follow the [0.8 upgrade notes](../../docs/upgrading-core-0.8.md). Internal peers use prerelease-inclusive ranges (for example `>=0.8.0-beta.0 <0.9.0`) until the family goes stable.
|
|
8
|
+
- Same adapter as 0.2.2; the `@plumbus/core` peer is `>=0.8.0-beta.0 <0.9.0` and the shared contracts dependency is `@plumbus/ai-decision` `~0.3.0-beta.0`.
|
|
9
|
+
|
|
3
10
|
## 0.2.2 — Unreleased
|
|
4
11
|
|
|
5
12
|
- Document core 0.7.4+ classification with per-call provider/model and probability threshold. Link the packaged classification recipe from agent instructions and correct stale package-only guidance. Core peer compatibility remains `0.7.x`.
|
package/README.md
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
# @plumbus/ai-decision-typesafe
|
|
2
2
|
|
|
3
|
-
Release notes: [changelog](./CHANGELOG.md) and [
|
|
3
|
+
Release notes: [changelog](./CHANGELOG.md) and [0.8 upgrade notes](../../docs/upgrading-core-0.8.md).
|
|
4
4
|
|
|
5
5
|
TypeSafe/Jev provider for typed choices, scores, and probabilities.
|
|
6
6
|
|
|
7
|
-
Version `0.
|
|
7
|
+
Version `0.3.0-beta.0` (core 0.8 beta family, npm dist-tag `plumbus-next`); required peer
|
|
8
|
+
`@plumbus/core` `>=0.8.0-beta.0 <0.9.0`; Node.js 20.6+.
|
|
8
9
|
Install explicitly with `pnpm add @plumbus/ai-decision-typesafe`. Provider packages install
|
|
9
10
|
`@plumbus/ai-decision` transitively. There is no dependency on the other provider.
|
|
10
11
|
|
|
11
12
|
## Scope
|
|
12
13
|
|
|
13
|
-
Core `0.
|
|
14
|
+
Core `0.8.0-beta.6+` provides `ctx.ai.decide()` with shared validation, security, budgets,
|
|
14
15
|
and per-call cost recording. Define named contracts with `defineDecision` from
|
|
15
16
|
`@plumbus/ai-decision`, and export explicit provider registration as `decisions`
|
|
16
17
|
from `app/server.ts` for API and worker processes. See the
|
|
@@ -18,7 +19,7 @@ from `app/server.ts` for API and worker processes. See the
|
|
|
18
19
|
Direct adapter calls remain useful for infrastructure tests and do not record costs
|
|
19
20
|
in core. Keep these adapters separate from the text-generation provider registry.
|
|
20
21
|
|
|
21
|
-
Core **0.
|
|
22
|
+
Core **0.8.0-beta.6+** also supports `ctx.ai.classify({ text, labels, provider, model, threshold })`
|
|
22
23
|
for generative or decision models. Start with
|
|
23
24
|
`node_modules/@plumbus/core/instructions/ai-classification.md` for registration,
|
|
24
25
|
model defaults, multi-label semantics, and cost recording.
|