@plumbus/core 0.6.17 → 0.6.18
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 +18 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/ai/ai/provider.d.ts +19 -6
- package/dist/ai/ai-service.d.ts +4 -1
- package/dist/ai/ai-service.d.ts.map +1 -1
- package/dist/ai/ai-service.js +31 -9
- package/dist/ai/ai-service.js.map +1 -1
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/provider.d.ts +19 -6
- package/dist/ai/provider.d.ts.map +1 -1
- package/dist/ai/provider.js +94 -12
- package/dist/ai/provider.js.map +1 -1
- package/dist/ai/tool-loop.d.ts.map +1 -1
- package/dist/ai/tool-loop.js +6 -1
- package/dist/ai/tool-loop.js.map +1 -1
- package/dist/ai/types/config.d.ts +4 -0
- package/dist/ai/types/prompt.d.ts +108 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server/bootstrap.d.ts +3 -1
- package/dist/server/bootstrap.d.ts.map +1 -1
- package/dist/server/bootstrap.js.map +1 -1
- package/dist/testing/context.d.ts.map +1 -1
- package/dist/testing/context.js +1 -0
- package/dist/testing/context.js.map +1 -1
- package/dist/types/config.d.ts +4 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/context.d.ts +40 -2
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/prompt.d.ts +24 -6
- package/dist/types/prompt.d.ts.map +1 -1
- package/dist/types/prompt.js +5 -1
- package/dist/types/prompt.js.map +1 -1
- package/instructions/ai.md +17 -3
- package/instructions/peer-dependencies.md +1 -1
- package/instructions/prompts.md +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @plumbus/core changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.18 — 2026-09-01 — provider-aware tool-call AI configuration
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Per-call AI provider/model override.** `generate`, `generateWithUsage`, and `streamGenerate` accept `provider` and `model` without changing the registered prompt or global default.
|
|
8
|
+
- **Provider-neutral reasoning contract.** `AIReasoningConfig` expresses `disabled`, `effort`, or token `budget` intent. Built-in OpenAI and Anthropic adapters translate the intent to native fields and reject adapter-level incompatibilities with `AIInvalidRequestError`. Custom providers implement the same contract in their own `AIProviderAdapter`.
|
|
9
|
+
- **Reasoning capability metadata.** Adapters can expose supported reasoning modes/efforts through `AIProviderCapabilities`.
|
|
10
|
+
- **Provider tool continuation state.** Anthropic thinking/redacted-thinking blocks are carried opaquely across tool-result rounds so the Messages API receives the original assistant content unmodified.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Reasoning wire translation lives exclusively in provider adapters. Chat and application code pass intent and contain no provider payload fields or model-name compatibility branches.
|
|
15
|
+
|
|
16
|
+
### Compatibility
|
|
17
|
+
|
|
18
|
+
- The exported legacy `ReasoningEffort` remains exactly `'low' | 'medium' | 'high'` and keeps its OpenAI-only behavior. New levels, disabled mode, and Anthropic thinking require the new `reasoning` property.
|
|
19
|
+
- Anthropic requests without the new `reasoning` property keep the previous `temperature: 0.7` default and continue to ignore legacy `reasoningEffort`.
|
|
20
|
+
|
|
3
21
|
## 0.6.17 — 2026-08-16 — `plumbus e2e` server lifecycle hardening
|
|
4
22
|
|
|
5
23
|
### Changed
|