@cognipeer/agent-sdk 0.6.1 → 0.6.2

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/index.d.cts CHANGED
@@ -383,8 +383,6 @@ type SmartAgentContextConfig = {
383
383
  policy?: ContextPolicy;
384
384
  lastTurnsToKeep?: number;
385
385
  toolResponsePolicy?: ToolResponseRetentionPolicy;
386
- archiveLargeToolResponses?: boolean;
387
- retrieveArchivedToolResponseOnDemand?: boolean;
388
386
  budget?: SmartAgentBudgetConfig;
389
387
  };
390
388
  type SmartAgentPlanningConfig = {
@@ -430,8 +428,8 @@ type SmartAgentToolResponseConfig = {
430
428
  toolResponseRetentionByTool?: Record<string, ToolResponseRetentionPolicy>;
431
429
  /** Tool names whose responses are never reduced by the summarizer or hard cap. */
432
430
  criticalTools?: string[];
431
+ /** Controls whether Zod-backed tool schemas fail fast or warn on invalid args. */
433
432
  schemaValidation?: "strict" | "warn";
434
- retryOnSchemaError?: boolean;
435
433
  };
436
434
  type SmartAgentCustomProfileConfig = {
437
435
  extends?: BuiltInRuntimeProfile;
package/dist/index.d.ts CHANGED
@@ -383,8 +383,6 @@ type SmartAgentContextConfig = {
383
383
  policy?: ContextPolicy;
384
384
  lastTurnsToKeep?: number;
385
385
  toolResponsePolicy?: ToolResponseRetentionPolicy;
386
- archiveLargeToolResponses?: boolean;
387
- retrieveArchivedToolResponseOnDemand?: boolean;
388
386
  budget?: SmartAgentBudgetConfig;
389
387
  };
390
388
  type SmartAgentPlanningConfig = {
@@ -430,8 +428,8 @@ type SmartAgentToolResponseConfig = {
430
428
  toolResponseRetentionByTool?: Record<string, ToolResponseRetentionPolicy>;
431
429
  /** Tool names whose responses are never reduced by the summarizer or hard cap. */
432
430
  criticalTools?: string[];
431
+ /** Controls whether Zod-backed tool schemas fail fast or warn on invalid args. */
433
432
  schemaValidation?: "strict" | "warn";
434
- retryOnSchemaError?: boolean;
435
433
  };
436
434
  type SmartAgentCustomProfileConfig = {
437
435
  extends?: BuiltInRuntimeProfile;
package/dist/index.mjs CHANGED
@@ -2099,8 +2099,6 @@ var BASE_DEFAULTS = {
2099
2099
  policy: "hybrid",
2100
2100
  lastTurnsToKeep: 8,
2101
2101
  toolResponsePolicy: "summarize_archive",
2102
- archiveLargeToolResponses: true,
2103
- retrieveArchivedToolResponseOnDemand: true,
2104
2102
  budget: {
2105
2103
  systemReserveTokens: 1200,
2106
2104
  goalsReserveTokens: 1200,
@@ -2133,8 +2131,7 @@ var BASE_DEFAULTS = {
2133
2131
  defaultPolicy: "summarize_archive",
2134
2132
  toolResponseRetentionByTool: {},
2135
2133
  criticalTools: [...DEFAULT_CRITICAL_TOOLS],
2136
- schemaValidation: "strict",
2137
- retryOnSchemaError: true
2134
+ schemaValidation: "strict"
2138
2135
  }
2139
2136
  };
2140
2137
  function buildProfile(overrides) {