@plumbus/ai-decision-laya 0.2.1 → 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 +11 -1
- package/README.md +9 -3
- package/dist/.tsbuildinfo +1 -1
- package/instructions/README.md +8 -3
- package/instructions/framework.md +15 -3
- package/instructions/testing.md +6 -1
- package/package.json +4 -4
- package/service/test_audit_round_two.py +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
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 and Python reference service 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
|
+
- The connection-capacity service test reads the over-capacity 503 without sending a request. The server refuses at accept before reading, so a client still writing its body could be reset first; the test failed about one run in ten.
|
|
10
|
+
|
|
11
|
+
## 0.2.2 — Unreleased
|
|
12
|
+
|
|
13
|
+
- 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`.
|
|
4
14
|
|
|
5
15
|
- Run offline Laya tests with one worker and serial files. One-off smoke runs now stop servers they start on both success and failure; explicit persistent servers and the model cache are preserved.
|
|
6
16
|
|
package/README.md
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
# @plumbus/ai-decision-laya
|
|
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
|
Laya provider for self-hosted typed decision inference, with a persistent Python reference service.
|
|
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-laya`. 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,6 +19,11 @@ 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
|
|
|
22
|
+
Core **0.8.0-beta.6+** also supports `ctx.ai.classify({ text, labels, provider, model, threshold })`
|
|
23
|
+
for generative or decision models. Start with
|
|
24
|
+
`node_modules/@plumbus/core/instructions/ai-classification.md` for registration,
|
|
25
|
+
model defaults, multi-label semantics, and cost recording.
|
|
26
|
+
|
|
21
27
|
## Quick start (infrastructure / smoke testing)
|
|
22
28
|
|
|
23
29
|
```ts
|