@seecoolai/cli 0.0.0-stage → 0.1.0-canary.2.bb757c0e

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.
@@ -0,0 +1,19 @@
1
+ # Async Delivery & Failure Policy
2
+
3
+ ## Exit Codes
4
+
5
+ | Exit Code | Meaning | Agent Action |
6
+ | --- | --- | --- |
7
+ | `0` | Success | Parse `data` from `stdout` |
8
+ | `2` | Invalid arguments or config | Fix flags or `seecool.toml`; inspect `seecool-cli schema --json` |
9
+ | `3` | Unauthorized / expired token | Guide user to run `seecool-cli login` or fix `SEECOOL_TOKEN` |
10
+ | `4` | Forbidden | Verify active organization with `seecool-cli org list --json` |
11
+ | `5` | Resource not found | Re-query parent list instead of guessing IDs |
12
+ | `6` | Business conflict or preflight blocked | Report blocking details; do not force-resubmit |
13
+ | `1` | General or upstream error | Retry only when `error.retryable === true` |
14
+
15
+ ## Failure & Non-Duplication Rules
16
+
17
+ - Never blindly re-submit a paid generation task if a request timed out or returned an uncertain result; query task status first.
18
+ - Keep output payloads compact for large lists by passing `--fields`.
19
+ - When delivering generated media to the user, report real returned URLs/keys and explicitly state any partial failures.