@cognipeer/agent-sdk 0.17.0 → 0.18.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/README.md +1 -1
- package/dist/index.cjs +1998 -367
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +574 -38
- package/dist/index.d.ts +574 -38
- package/dist/index.mjs +1992 -368
- package/dist/index.mjs.map +1 -1
- package/dist/{model-rules-Bg9nSqyN.d.cts → model-rules--welxWDw.d.cts} +2 -0
- package/dist/{model-rules-Bg9nSqyN.d.ts → model-rules--welxWDw.d.ts} +2 -0
- package/dist/model-rules.d.cts +1 -1
- package/dist/model-rules.d.ts +1 -1
- package/package.json +2 -1
|
@@ -216,6 +216,8 @@ type ToolCall = {
|
|
|
216
216
|
arguments: string;
|
|
217
217
|
/** Gemini `thoughtSignature` attached to a functionCall part; must be echoed back on the next turn. */
|
|
218
218
|
thoughtSignature?: string;
|
|
219
|
+
/** True when `id` was made up by the adapter (the provider gave none), not supplied by the provider. */
|
|
220
|
+
idSynthesized?: boolean;
|
|
219
221
|
/** Position of the call within the assistant turn. Set on streamed deltas so a consumer can frame them (OpenAI `tool_calls[].index`). */
|
|
220
222
|
index?: number;
|
|
221
223
|
};
|
|
@@ -216,6 +216,8 @@ type ToolCall = {
|
|
|
216
216
|
arguments: string;
|
|
217
217
|
/** Gemini `thoughtSignature` attached to a functionCall part; must be echoed back on the next turn. */
|
|
218
218
|
thoughtSignature?: string;
|
|
219
|
+
/** True when `id` was made up by the adapter (the provider gave none), not supplied by the provider. */
|
|
220
|
+
idSynthesized?: boolean;
|
|
219
221
|
/** Position of the call within the assistant turn. Set on streamed deltas so a consumer can frame them (OpenAI `tool_calls[].index`). */
|
|
220
222
|
index?: number;
|
|
221
223
|
};
|
package/dist/model-rules.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { I as EffortMapping, k as MODEL_RULES, W as MaxTokensParam, D as ModelRule, F as ModelRules, Q as OffMechanism, H as ReasoningEffort, N as ReasoningStyle, G as ResolvedModelRule, K as RuleFamily, R as RulePatch, L as RuleSource, X as SamplingField, S as TemperatureRule, n as allowsSampling, p as effortBudget, m as mapReasoningEffort, l as modelIdCandidates, r as resolveModelRule } from './model-rules
|
|
1
|
+
export { I as EffortMapping, k as MODEL_RULES, W as MaxTokensParam, D as ModelRule, F as ModelRules, Q as OffMechanism, H as ReasoningEffort, N as ReasoningStyle, G as ResolvedModelRule, K as RuleFamily, R as RulePatch, L as RuleSource, X as SamplingField, S as TemperatureRule, n as allowsSampling, p as effortBudget, m as mapReasoningEffort, l as modelIdCandidates, r as resolveModelRule } from './model-rules--welxWDw.cjs';
|
package/dist/model-rules.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { I as EffortMapping, k as MODEL_RULES, W as MaxTokensParam, D as ModelRule, F as ModelRules, Q as OffMechanism, H as ReasoningEffort, N as ReasoningStyle, G as ResolvedModelRule, K as RuleFamily, R as RulePatch, L as RuleSource, X as SamplingField, S as TemperatureRule, n as allowsSampling, p as effortBudget, m as mapReasoningEffort, l as modelIdCandidates, r as resolveModelRule } from './model-rules
|
|
1
|
+
export { I as EffortMapping, k as MODEL_RULES, W as MaxTokensParam, D as ModelRule, F as ModelRules, Q as OffMechanism, H as ReasoningEffort, N as ReasoningStyle, G as ResolvedModelRule, K as RuleFamily, R as RulePatch, L as RuleSource, X as SamplingField, S as TemperatureRule, n as allowsSampling, p as effortBudget, m as mapReasoningEffort, l as modelIdCandidates, r as resolveModelRule } from './model-rules--welxWDw.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognipeer/agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Composable lightweight smart agent core (no LangGraph) with pluggable model adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
"@vitest/ui": "^4.0.18",
|
|
125
125
|
"eslint": "^9.9.0",
|
|
126
126
|
"openai": "^6.17.0",
|
|
127
|
+
"protobufjs": "8.8.0",
|
|
127
128
|
"tsup": "^8.1.0",
|
|
128
129
|
"tsx": "^4.16.2",
|
|
129
130
|
"typescript": "^5.5.4",
|