@tea-agent/loop-agent 0.34.0 → 0.34.1
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 +30 -0
- package/dist/application/task-lifecycle/advance.js +57 -7
- package/dist/application/task-lifecycle/plan-transitions.js +13 -21
- package/dist/executors/dag-pi-executor.js +18 -3
- package/dist/shared/operator/capabilities.js +26 -2
- package/dist/task/source-prepare/prepare.js +49 -2
- package/dist/worker/console/interview/grill-me.js +7 -6
- package/dist/worker/console/operator-actions.js +231 -22
- package/dist/worker/console/prd-intake-bridge.js +393 -0
- package/dist/worker/console/recovery-cta.js +35 -6
- package/dist/worker/console/static/assets/index-BpuHmlSP.js +29 -0
- package/dist/worker/console/static/index.html +1 -1
- package/dist/worker/console/static-src/app/console-types.js +1 -0
- package/dist/worker/console/static-src/app/usePrdImport.js +2 -1
- package/dist/worker/console/static-src/app/useRecoveryActions.js +24 -1
- package/dist/worker/console/static-src/app/useRecoveryConsole.js +19 -1
- package/dist/worker/console/static-src/app/useTaskWizard.js +57 -2
- package/dist/worker/observability/read-model.js +3 -0
- package/dist/workflows/dag/failure-category.js +3 -0
- package/dist/workflows/dag/init-hybrid.js +15 -9
- package/dist/workflows/dag/node-execution.js +3 -2
- package/dist/workflows/dag/retry-policy.js +44 -11
- package/dist/workflows/dag/runner.js +6 -0
- package/dist/workflows/dag/scheduler.js +49 -1
- package/dist/workflows/dag/validate.js +16 -2
- package/docs/templates/agent-dag.schema.json +4 -4
- package/package.json +1 -1
- package/dist/worker/console/static/assets/index-CMHovlqG.js +0 -32
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"type": "object",
|
|
402
402
|
"additionalProperties": false,
|
|
403
403
|
"required": ["maxAttempts"],
|
|
404
|
-
"description": "Retry policy for safe read-only Pi nodes
|
|
404
|
+
"description": "Retry policy for safe read-only Pi nodes and validation-gated bounded writer exceptions. Total attempts include the first try and are capped at five. Standard implementation-outcome writers may use exactly two attempts with only writer-clean-timeout after the executor proves zero attributed writes and zero write-tool calls; requireChangedFiles writers retain their dedicated writer-empty-diff/completeness policies.",
|
|
405
405
|
"properties": {
|
|
406
406
|
"maxAttempts": {
|
|
407
407
|
"type": "integer",
|
|
@@ -423,10 +423,10 @@
|
|
|
423
423
|
"retryCategories": {
|
|
424
424
|
"type": "array",
|
|
425
425
|
"items": {
|
|
426
|
-
"enum": ["timeout", "network", "rate-limit", "unavailable", "empty-output", "output-too-large", "protocol-invalid", "writer-empty-diff"]
|
|
426
|
+
"enum": ["timeout", "network", "rate-limit", "unavailable", "empty-output", "output-too-large", "protocol-invalid", "invalid-output", "writer-empty-diff", "incomplete-write-set", "writer-clean-timeout"]
|
|
427
427
|
},
|
|
428
|
-
"default": ["timeout", "network", "rate-limit", "unavailable"],
|
|
429
|
-
"description": "Failure categories eligible for retry. quota
|
|
428
|
+
"default": ["timeout", "network", "rate-limit", "unavailable", "empty-output"],
|
|
429
|
+
"description": "Failure categories eligible for retry. quota/auth/write-guard are never eligible. invalid-output is allowed only on explicit structured/protocol policies; writer-empty-diff and incomplete-write-set are reserved for requireChangedFiles generation/completeness writers; writer-clean-timeout is reserved for standard bounded writers after explicit zero-write-tool-call and empty-diff evidence."
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
},
|