@opencow-ai/opencow-agent-sdk 0.4.12 → 0.4.14
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/dist/cli.mjs +427 -148
- package/dist/client.js +417 -119
- package/dist/controller/compact/autoCompact.d.ts +4 -0
- package/dist/controller/loop.d.ts +1 -0
- package/dist/entrypoints/sdk/logTypes.d.ts +33 -2
- package/dist/entrypoints/sdk/runtimeTypes.d.ts +39 -14
- package/dist/providers/codex/shim.d.ts +3 -3
- package/dist/providers/openai/shim.d.ts +12 -20
- package/dist/providers/provider.d.ts +1 -1
- package/dist/providers/shared/config.d.ts +10 -7
- package/dist/providers/shared/httpObservability.d.ts +5 -0
- package/dist/providers/shared/model/maxTokens.d.ts +1 -0
- package/dist/providers/shared/requestSideChannels.d.ts +1 -0
- package/dist/providers/shared/routing.d.ts +9 -10
- package/dist/query.d.ts +1 -0
- package/dist/sdk.js +417 -119
- package/dist/session/sideQuery.d.ts +1 -1
- package/dist/types/toolRuntime.d.ts +1 -0
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ export type SideQueryOptions = {
|
|
|
46
46
|
/**
|
|
47
47
|
* Lightweight API wrapper for "side queries" outside the main conversation loop.
|
|
48
48
|
*
|
|
49
|
-
* Use this instead of direct client.
|
|
49
|
+
* Use this instead of direct client.messages.create() calls to ensure
|
|
50
50
|
* proper OAuth token validation with fingerprint attribution headers.
|
|
51
51
|
*
|
|
52
52
|
* This handles:
|
|
@@ -112,6 +112,7 @@ export type ToolRuntimeContext = {
|
|
|
112
112
|
agentDefinitions: AgentDefinitionsResult;
|
|
113
113
|
maxBudgetUsd?: number;
|
|
114
114
|
maxOutputTokens?: number;
|
|
115
|
+
maxOutputTokensLimit?: number;
|
|
115
116
|
contextWindow?: number;
|
|
116
117
|
customSystemPrompt?: string;
|
|
117
118
|
appendSystemPrompt?: string;
|
package/package.json
CHANGED