@linnlabs/linnkit 0.46.0 → 0.47.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 +29 -0
- package/dist/cli.cjs +64 -246
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +64 -246
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +7 -7
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.js +7 -7
- package/dist/context-manager.js.map +1 -1
- package/dist/index.cjs +74 -257
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +74 -257
- package/dist/index.js.map +1 -1
- package/dist/ports/llm-call.d.cts +2 -16
- package/dist/ports/llm-call.d.ts +2 -16
- package/dist/quickstart.cjs +64 -246
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.js +64 -246
- package/dist/quickstart.js.map +1 -1
- package/dist/runtime-kernel/graph-engine/executor.d.cts +0 -2
- package/dist/runtime-kernel/graph-engine/executor.d.ts +0 -2
- package/dist/runtime-kernel/graph-engine/types.d.cts +1 -2
- package/dist/runtime-kernel/graph-engine/types.d.ts +1 -2
- package/dist/runtime-kernel/llm/definitions/llmFallbackObserver.d.cts +1 -2
- package/dist/runtime-kernel/llm/definitions/llmFallbackObserver.d.ts +1 -2
- package/dist/runtime-kernel/llm/modelCatalog.d.cts +2 -3
- package/dist/runtime-kernel/llm/modelCatalog.d.ts +2 -3
- package/dist/runtime-kernel/tools/toolContextRuntime.d.cts +1 -1
- package/dist/runtime-kernel/tools/toolContextRuntime.d.ts +1 -1
- package/dist/runtime-kernel/tools/toolExecutionContext.d.cts +0 -10
- package/dist/runtime-kernel/tools/toolExecutionContext.d.ts +0 -10
- package/dist/runtime-kernel.cjs +74 -257
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.js +74 -257
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +82 -265
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.js +82 -265
- package/dist/testkit.js.map +1 -1
- package/docs/integration/llm-provider.md +1 -1
- package/docs/integration/tool-development-guide.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
## [0.47.0] - 2026-11-26
|
|
20
|
+
|
|
21
|
+
### Removed
|
|
22
|
+
|
|
23
|
+
- Cloud quota fallback. `GraphAgentExecutorDependencies.cloudQuotaFallbackModelId`,
|
|
24
|
+
`LlmCallOptions.cloud_quota_fallback_model_id`,
|
|
25
|
+
`LlmFallbackObserver.onCloudQuotaFallbackApplied`, the `'cloud-quota'`
|
|
26
|
+
`ModelFallbackPolicy`, `ErrorClassifier.isCloudQuotaError` and the run model
|
|
27
|
+
lock (`ExecutorLocalState.runLockedModelId`) are gone. The quota detection
|
|
28
|
+
matched one host's Chinese error wording and keyed off its billing mode, which
|
|
29
|
+
does not belong in a general framework; a service that wants to fall back to
|
|
30
|
+
another model on quota errors should do it server-side. Checkpoints saved by
|
|
31
|
+
0.46.0 and earlier that carry `runLockedModelId` still load; the field is
|
|
32
|
+
dropped and the run continues with the requested model.
|
|
33
|
+
- The two quota message patterns in `ErrorClassifier` ("已达上限", "免费期已结束").
|
|
34
|
+
Such errors are now classified by the generic rules.
|
|
35
|
+
- `ToolExecutionContext.activeModelId`, added in 0.46.0. Without the run model
|
|
36
|
+
lock it always equalled `modelId`; decide tool result delivery from `modelId`.
|
|
37
|
+
- `ModelCatalogEntry.billing_mode`. Linnkit no longer reads billing modes.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- A model with `enable_client_retry: false` is never retried by the client, even
|
|
42
|
+
when the call passes `retry_policy: 'client'`. This replaces the hard
|
|
43
|
+
"no client retry for cloud billing" rule: hosts mark models whose every request
|
|
44
|
+
is billed (or retried server-side) with `enable_client_retry: false`.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
19
48
|
## [0.46.0] - 2026-11-26
|
|
20
49
|
|
|
21
50
|
### Added
|