@linnlabs/linnkit 0.45.0 → 0.46.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.
@@ -7576,6 +7576,7 @@ var executor = zod.z.object({
7576
7576
  systemReminderPolicy: AgentSpecSystemReminderPolicy.optional(),
7577
7577
  toolObservationPolicy: AgentSpecToolObservationGovernancePolicy.optional(),
7578
7578
  runLockedModelId: zod.z.string().optional(),
7579
+ // 0.45 及更早的 checkpoint 可能带这个已删除字段;照常接受,读入时丢弃。
7579
7580
  lastSuccessfulLlmModelId: zod.z.string().optional(),
7580
7581
  llmInvocationKind: zod.z.enum(["user_initiated", "continuation"]).optional(),
7581
7582
  llmInvocationCount: counter.optional(),
@@ -7585,7 +7586,7 @@ var executor = zod.z.object({
7585
7586
  committedCount: counter,
7586
7587
  lastCommittedFingerprint: zod.z.string().optional()
7587
7588
  }).strict().optional()
7588
- }).strict();
7589
+ }).strict().transform(({ lastSuccessfulLlmModelId: _retired, ...state }) => state);
7589
7590
  zod.z.object({
7590
7591
  nodeId: zod.z.string().min(1),
7591
7592
  schemaVersion: zod.z.literal(ENGINE_STATE_SCHEMA_VERSION).optional(),