@gencode/agents 0.7.3 → 0.7.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @gencode/agents
2
2
 
3
+ ## 0.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - aaad130: Persist final model request failures to session transcripts after retry attempts are exhausted.
8
+
3
9
  ## 0.7.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -383,7 +383,9 @@ type UserEntry = {
383
383
  /** An assistant message turn; may include tool calls when the LLM used tools */
384
384
  type AssistantEntry = {
385
385
  role: "assistant"; /** Text response from the assistant (may be empty when the turn is tool-only) */
386
- content: string; /** Tool calls issued by the assistant during this turn */
386
+ content: string; /** Persisted SDK stop reason when the assistant turn ended abnormally. */
387
+ stopReason?: "stop" | "length" | "toolUse" | "error" | "aborted"; /** Pi-compatible assistant error text for failed model turns. */
388
+ errorMessage?: string; /** Tool calls issued by the assistant during this turn */
387
389
  toolCalls?: Array<{
388
390
  id: string;
389
391
  name: string;