@openclaw/ai 2026.11.5 → 2026.11.7
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/README.md +7 -1
- package/dist/.source-module-urls/fe058cc430242ce2ab0dfbcbe153e240a52cf9c3072c3dc0a73e5f956b6ba49b.json +1 -1
- package/dist/{anthropic-CNEzO12C.mjs → anthropic-OsxZVxT3.mjs} +5 -5
- package/dist/{anthropic-payload-policy-DVk38bnY.d.mts → anthropic-payload-policy-CcIAtAos.d.mts} +3 -3
- package/dist/{anthropic-stream-lifecycle-DJUtasDB.mjs → anthropic-stream-lifecycle-BA3FkIQn.mjs} +10 -10
- package/dist/{anthropic-tool-projection-DKAlondV.d.mts → anthropic-tool-projection-DFvJiCQy.d.mts} +1 -1
- package/dist/{anthropic-tool-projection-DcvsDiyX.mjs → anthropic-tool-projection-DP6R_sBq.mjs} +1 -1
- package/dist/{api-registry-DY2MLUyg.d.mts → api-registry-CvAtt60P.d.mts} +2 -2
- package/dist/{assistant-output-C3czmoN4.mjs → assistant-output-ByrQmF0P.mjs} +1 -1
- package/dist/{azure-openai-responses-client-compat-D0dvJMbZ.mjs → azure-deployment-map-DKJ8Xc4c.mjs} +1 -14
- package/dist/{azure-openai-responses-DRkduRmW.mjs → azure-openai-responses-NfpppzMN.mjs} +6 -5
- package/dist/azure-openai-responses-client-compat-a5PrPIdL.mjs +14 -0
- package/dist/diagnostics.d.mts +3 -3
- package/dist/event-stream-C1QKiamS.d.mts +1 -0
- package/dist/{event-stream-BYmtRe8-.d.mts → event-stream-DSHjzUpL.d.mts} +1 -1
- package/dist/event-stream.d.mts +2 -2
- package/dist/{google-DqG05iBa.mjs → google-DkwM8MvM.mjs} +2 -2
- package/dist/{google-interactions-BE7cxFPc.mjs → google-interactions-BUXAmg4x.mjs} +10 -10
- package/dist/{google-messages-p2iBzsAp.mjs → google-messages-ClSK5R7R.mjs} +3 -3
- package/dist/{google-provider-stream-DZ6tqteU.mjs → google-provider-stream-BiDLtKTp.mjs} +6 -6
- package/dist/{google-shared-BMYt1xSI.mjs → google-shared-Bny3gZ6L.mjs} +5 -5
- package/dist/{google-vertex-CAq2q1Ln.mjs → google-vertex-DQ3ErTAp.mjs} +2 -2
- package/dist/{host-DqX-64Pb.mjs → host-BVynqwGC.mjs} +40 -28
- package/dist/{host-ccbwPC3A.d.mts → host-bx8W0SER.d.mts} +3 -3
- package/dist/{host-policy-Bk85E9ue.mjs → host-policy-C1VDPJqb.mjs} +1 -1
- package/dist/{index-Bczt0MnO.d.mts → index-DqIreoGH.d.mts} +3 -3
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +2 -2
- package/dist/internal/anthropic.d.mts +6 -6
- package/dist/internal/anthropic.mjs +4 -4
- package/dist/internal/google.d.mts +3 -3
- package/dist/internal/google.mjs +1 -1
- package/dist/internal/openai-completions-compat.d.mts +1 -1
- package/dist/internal/openai-completions-compat.mjs +1 -1
- package/dist/internal/openai-responses-payload-policy.d.mts +1 -1
- package/dist/internal/openai-responses-payload-policy.mjs +2 -2
- package/dist/internal/openai.d.mts +10 -10
- package/dist/internal/openai.mjs +11 -10
- package/dist/internal/runtime.d.mts +8 -8
- package/dist/internal/runtime.mjs +4 -4
- package/dist/internal/shared.d.mts +10 -10
- package/dist/internal/shared.mjs +3 -3
- package/dist/internal/tool-schema.d.mts +2 -2
- package/dist/internal/tool-schema.mjs +3 -3
- package/dist/{mistral-DIGInqJI.mjs → mistral-C_S0gC58.mjs} +9 -9
- package/dist/{openai-chatgpt-responses-C6rEZcsZ.mjs → openai-chatgpt-responses-Dzj5zqW6.mjs} +11 -11
- package/dist/{openai-completions-B93R3N3b.mjs → openai-completions-7jTg6B6X.mjs} +3 -3
- package/dist/{openai-completions-compat-CJ-NsDzg.d.mts → openai-completions-compat-C26ajk4r.d.mts} +3 -3
- package/dist/{openai-completions-compat-CS3dlDBR.mjs → openai-completions-compat-CDNGOoQn.mjs} +2 -2
- package/dist/{openai-completions-transport-DHTFq-BM.mjs → openai-completions-transport-DKSeBBXY.mjs} +67 -441
- package/dist/{openai-tool-schema-CvxySRyf.mjs → openai-function-tool-8ION6Su5.mjs} +22 -22
- package/dist/{openai-prompt-cache-3H_Fz0ya.mjs → openai-prompt-cache-CZSWH8rC.mjs} +1 -1
- package/dist/{openai-prompt-cache-BZGaIWYh.d.mts → openai-prompt-cache-rhVEVVcq.d.mts} +2 -2
- package/dist/{openai-responses-DSxPKV0U.mjs → openai-responses-Dn3ad3e-.mjs} +6 -6
- package/dist/{openai-responses-compaction-replay-DXF5BjD2.d.mts → openai-responses-compaction-replay-DpVAOvpR.d.mts} +6 -5
- package/dist/{openai-responses-contracts-Cb1IIRRG.d.mts → openai-responses-contracts-D6OypGUv.d.mts} +5 -5
- package/dist/{openai-responses-contracts-xU-n9AJJ.mjs → openai-responses-contracts-YlVzpuW_.mjs} +2 -2
- package/dist/{openai-responses-endpoint-CqO3ejTe.mjs → openai-responses-endpoint-D8fhfY4d.mjs} +1 -1
- package/dist/{openai-responses-request-lifecycle-C_3FKkl7.mjs → openai-responses-request-lifecycle-BRnD7G5s.mjs} +6 -6
- package/dist/{openai-responses-shared-En3Jf0Vg.mjs → openai-responses-shared-CNBWb5iO.mjs} +2034 -1918
- package/dist/{openai-responses-terminal-usage-D7IhRA6i.d.mts → openai-responses-terminal-usage-B9dUhNQJ.d.mts} +2 -2
- package/dist/openai-responses-websocket-BbTCvD64.mjs +385 -0
- package/dist/{openai-stop-reason-8s70vDXj.mjs → openai-stop-reason-CpYv2sZh.mjs} +3 -1
- package/dist/{otel-B2u5HGvm.mjs → otel-Cmspirtq.mjs} +1 -1
- package/dist/{provider-options-BQ2Msop2.d.mts → provider-options-2vKAAn7G.d.mts} +3 -3
- package/dist/{provider-replay-context--QGWotXx.mjs → provider-replay-context-CeMMMu55.mjs} +1 -1
- package/dist/{provider-transcript-transform-Hr1kCoMX.mjs → provider-transcript-transform-C99cDpZV.mjs} +1 -1
- package/dist/{provider-transport-turn-state-DyaOKAYm.mjs → provider-transport-turn-state-DIis-pzH.mjs} +22 -4
- package/dist/{provider-types-B1e98js5.d.mts → provider-types-C8GKdM8d.d.mts} +4 -4
- package/dist/provider-types.d.mts +6 -6
- package/dist/providers.d.mts +2 -2
- package/dist/providers.mjs +10 -10
- package/dist/{sanitize-unicode-BISmUlUv.d.mts → sanitize-unicode-DzL-LjLt.d.mts} +3 -3
- package/dist/{simple-options-CQNPKCEb.mjs → simple-options-M4Ngy-Ej.mjs} +3 -3
- package/dist/{stream-DM-q0y5H.mjs → stream-Dm0EMT-0.mjs} +1 -1
- package/dist/{telemetry-DJibfNKZ.mjs → telemetry-X9oIHyf3.mjs} +2 -2
- package/dist/{tool-schema-json-projection-BSHb4gaJ.mjs → tool-schema-json-projection-BIs0pwdB.mjs} +1 -1
- package/dist/{transport-stream-shared-CBVh6QEc.mjs → transport-stream-shared-CBr4U0TY.mjs} +4 -3
- package/dist/{transport-stream-shared-D3IAU4jn.d.mts → transport-stream-shared-CMWWoyy5.d.mts} +6 -5
- package/dist/{transport-utils-rxOHnq9y.mjs → transport-utils-DSJQf0i_.mjs} +2 -2
- package/dist/transports.d.mts +21 -15
- package/dist/transports.mjs +22 -14
- package/dist/{types-BVdTf0YV.d.mts → types-B6vvn8is.d.mts} +15 -2
- package/dist/types-a4Eg5L2z.d.mts +1 -0
- package/dist/types.d.mts +6 -6
- package/dist/{validation-QmyD0E5A.d.mts → validation-B3VZTKei.d.mts} +1 -1
- package/dist/validation.d.mts +1 -1
- package/package.json +1 -1
- package/dist/event-stream-B4ZcSvsu.d.mts +0 -1
- package/dist/types-Cb3-5WM9.d.mts +0 -1
package/README.md
CHANGED
|
@@ -24,7 +24,8 @@ provider plugin hooks, and diagnostics logging) can be injected with
|
|
|
24
24
|
`configureAiTransportHost`; the defaults are inert. Node callers that need
|
|
25
25
|
runtime-local policy can use `createNodeLlmRuntime`; it preserves that host across
|
|
26
26
|
provider work without replacing the process default. `createLlmRuntime` continues
|
|
27
|
-
to use the process-default host.
|
|
27
|
+
to use the process-default host. The default host and its asynchronous scope are
|
|
28
|
+
shared across duplicate package module instances, including native plugins.
|
|
28
29
|
|
|
29
30
|
Embedding hosts can implement optional `isLogEnabled(subsystem, level)` to skip
|
|
30
31
|
diagnostic preparation for disabled sinks. Hosts without it retain emission-time
|
|
@@ -35,6 +36,11 @@ OpenAI HTTP adapters report rejected response status and headers through
|
|
|
35
36
|
invoke the callback before the first event. Retry and failover policy remains
|
|
36
37
|
with the application.
|
|
37
38
|
|
|
39
|
+
Anthropic Messages and OpenAI-compatible Chat Completions calls stop waiting for
|
|
40
|
+
payload and response hooks when the request signal aborts. A hook can continue
|
|
41
|
+
running after cancellation; embedding hosts can retain that work through
|
|
42
|
+
`observePendingProviderWork` until it settles.
|
|
43
|
+
|
|
38
44
|
Hosts that attach request state to async contexts should supply
|
|
39
45
|
`runInDetachedAsyncContext` from a context-free root initialized before requests
|
|
40
46
|
start. Retained HTTP continuation timers use it at creation so completed caller
|