@plumbus/ai-decision-typesafe 0.2.3 → 0.3.0-beta.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0-beta.1 — 2026-10-12
4
+
5
+ - Require shared decision contracts `~0.3.0-beta.1` when packed and refresh the provider README. TypeSafe response validation remains strict and runtime behavior is unchanged.
6
+
7
+ ## 0.3.0-beta.0 — 2026-09-23 — core 0.8 beta family
8
+
9
+ ### Upgrade boundary
10
+
11
+ - 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.
12
+ - 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`.
13
+
3
14
  ## 0.2.3 — 2026-10-08
4
15
 
5
16
  - The README now uses the standard Plumbus package format (badges, Why?, What you get, When to use this vs alternatives, Status, Pricing, Configuration, Key gotchas, Links), keeping all of its earlier content. Runtime behavior and the core peer range are unchanged from 0.2.2.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@plumbus/ai-decision-typesafe.svg)](https://www.npmjs.com/package/@plumbus/ai-decision-typesafe)
6
6
  [![license](https://img.shields.io/npm/l/@plumbus/ai-decision-typesafe.svg)](https://github.com/plumbus-framework/plumbus/blob/main/LICENSE)
7
- [![peer: @plumbus/core 0.7.x](https://img.shields.io/badge/peer-%40plumbus%2Fcore%200.7.x-blue)](https://www.npmjs.com/package/@plumbus/core)
7
+ [![peer: @plumbus/core 0.8 beta](https://img.shields.io/badge/peer-%40plumbus%2Fcore%200.8%20beta-blue)](https://www.npmjs.com/package/@plumbus/core)
8
8
 
9
9
  ## What is this?
10
10
 
@@ -45,11 +45,11 @@ This package gives apps that use TypeSafe's hosted Jev models a registered decis
45
45
 
46
46
  ## Status
47
47
 
48
- Optional decision provider, version `0.2.3` (version-locked **`0.2.x`**); required peer `@plumbus/core` exactly **`0.7.x`**; Node.js 20.6+. **Runtime floor:** `ctx.ai.decide()` needs `@plumbus/core` **≥ 0.7.3** and `ctx.ai.classify({ provider })` needs **≥ 0.7.4**; agent wiring **v17** (core 0.7.4+) links these instructions. Depends on `@plumbus/ai-decision` `~0.2.3`. Install alone is not enough until the adapter is registered under `decisions.providers`.
48
+ Optional decision provider, version `0.3.0-beta.1` (core 0.8 beta family, npm dist-tag `plumbus-next`); required peer `@plumbus/core` **`>=0.8.0-beta.0 <0.9.0`**; Node.js 20.6+. **Runtime floor:** `ctx.ai.decide()` needs `@plumbus/core` **≥ 0.7.3** and `ctx.ai.classify({ provider })` needs **≥ 0.7.4**; agent wiring **v17** (core 0.7.4+) links these instructions. Depends on `@plumbus/ai-decision` `~0.3.0-beta.1`. Install alone is not enough until the adapter is registered under `decisions.providers`.
49
49
 
50
50
  Not included: vendor model catalogs, automatic environment provider discovery, and dedicated decision CLI commands.
51
51
 
52
- Release notes: [changelog](./CHANGELOG.md) and [version/upgrade guide](../../docs/upgrading-classification.md).
52
+ Release notes: [changelog](./CHANGELOG.md) and [0.8 upgrade notes](../../docs/upgrading-core-0.8.md), and [classification upgrade guide](../../docs/upgrading-classification.md).
53
53
 
54
54
  ## Install
55
55
 
@@ -71,7 +71,7 @@ plumbus doctor
71
71
 
72
72
  ## Quick start
73
73
 
74
- Core `0.7.3+` provides `ctx.ai.decide()` with shared validation, security, budgets,
74
+ Core `0.8.0-beta.6+` provides `ctx.ai.decide()` with shared validation, security, budgets,
75
75
  and per-call cost recording. Define named contracts with `defineDecision` from
76
76
  `@plumbus/ai-decision`, and export explicit provider registration as `decisions`
77
77
  from `app/server.ts` for API and worker processes. See the
@@ -102,7 +102,7 @@ const result = await ctx.ai.decide({
102
102
  result.answers.refund.probability; // P(true), not a boolean
103
103
  ```
104
104
 
105
- Core **0.7.4+** also supports `ctx.ai.classify({ text, labels, provider, model, threshold })`
105
+ Core **0.8.0-beta.6+** also supports `ctx.ai.classify({ text, labels, provider, model, threshold })`
106
106
  for generative or decision models. Start with
107
107
  `node_modules/@plumbus/core/instructions/ai-classification.md` for registration,
108
108
  model defaults, multi-label semantics, and cost recording.