lua-cli 3.32.5 → 3.32.6

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/docs/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # lua-cli v3.32.5
1
+ # lua-cli v3.32.6
2
2
 
3
- Welcome to the comprehensive API documentation for lua-cli v3.32.5. This guide covers every API, class, and function exported by the package.
3
+ Welcome to the comprehensive API documentation for lua-cli v3.32.6. This guide covers every API, class, and function exported by the package.
4
4
 
5
5
  ## 📚 Documentation Index
6
6
 
@@ -48,7 +48,7 @@ Offline, `lua workflows run --approve <id>` completes the node with `decidedBy:
48
48
 
49
49
  ## Edited payloads
50
50
 
51
- `editable: true` + `editablePaths: ['amount', 'drafts[*].body']` (the `a.b[0].c` / `[*]` grammar) lets the approver patch the payload. The sequence is **fetch → patch → approve-with-fingerprint**: the approve call echoes the fingerprint of the revision the approver saw, so a concurrent edit forces a re-read. Out-of-grammar paths are refused; `editedPayloadSchema` validates the result.
51
+ `editablePaths: ['amount', 'drafts[*].body']` (the `a.b[0].c` / `[*]` grammar) lets the approver patch the payload — a non-empty list implies `editable: true`, so the flag is optional (3.32.6, LUA-825; an explicit `editable: false` beside paths is refused as contradictory). The sequence is **fetch → patch → approve-with-fingerprint**: the approve call echoes the fingerprint of the revision the approver saw, so a concurrent edit forces a re-read. Out-of-grammar paths are refused; `editedPayloadSchema` validates the result.
52
52
 
53
53
  From the CLI: `lua workflows approval-payload <runId> --approval <wfa_…>` prints the current payload with its `payloadFingerprint`, `editRevision` and the editable paths (a large payload answers the arrays to page — `--path drafts [--limit n] [--cursor c]` reads one page); then `lua workflows approve <runId> --approval <wfa_…> --edit @edited.json --fingerprint <payloadFingerprint>`. A stale fingerprint is `409 PAYLOAD_MISMATCH` — refetch and retry.
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "3.32.5",
3
+ "version": "3.32.6",
4
4
  "description": "Build, test, and deploy AI agents with custom tools, webhooks, and scheduled jobs. Features LuaAgent unified configuration, streaming chat, and batch deployment.",
5
5
  "readmeFilename": "README.md",
6
6
  "main": "dist/api-exports.js",
@@ -114,8 +114,8 @@
114
114
  "ts-node": "^10.9.2",
115
115
  "tsup": "^8.5.1",
116
116
  "@lua/sandbox-runtime": "0.0.1",
117
- "@lua/shared-source-sync": "0.0.1",
118
117
  "@lua/shared-sandbox": "0.0.1",
118
+ "@lua/shared-source-sync": "0.0.1",
119
119
  "@lua/shared-types": "0.0.1",
120
120
  "@lua/workflow-graph": "0.0.1"
121
121
  },
@@ -20,7 +20,7 @@
20
20
  "inquirer": "^12.9.6",
21
21
  "stripe": "^17.5.0",
22
22
  "js-yaml": "^4.1.0",
23
- "lua-cli": "^3.32.5",
23
+ "lua-cli": "^3.32.6",
24
24
  "openai": "^5.23.0",
25
25
  "uuid": "^13.0.0",
26
26
  "zod": "^3.24.1"