lua-cli 3.37.0 → 3.39.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.
@@ -145,7 +145,7 @@ lua test [options]
145
145
  ```
146
146
 
147
147
  **Description:**
148
- Interactive testing environment for individual primitives. Runs code in local sandbox with full API access.
148
+ Interactive testing environment for individual primitives. Runs code in local sandbox with full API access. The success banner and result are printed only when the selected primitive's handler completes without throwing — if the handler throws, the command exits non-zero (and, under `--json`, prints the `{success:false,error:{...}}` envelope on stdout).
149
149
 
150
150
  **Interactive Flow:**
151
151
 
@@ -460,6 +460,21 @@ lua logs [options]
460
460
  **Description:**
461
461
  Interactive log viewer with filtering, search, and real-time streaming.
462
462
 
463
+ **Subcommand: `lua logs export`**
464
+
465
+ ```bash
466
+ lua logs export --since <when> [--until <when>] [--type <sources>] [--out <dir>] [--org <id>] [--no-wait] [--json]
467
+ ```
468
+
469
+ Starts an asynchronous organization-wide export of the logs in a window, polls it, and
470
+ downloads each gzip NDJSON part into `--out`. The window is at most 31 days and the job
471
+ at most 10,000,000 records; one export runs per organization at a time, and a second
472
+ invocation follows the running one rather than refusing. Download links expire 24 hours
473
+ after the export finishes and the files are removed after 7 days. Message bodies are
474
+ excluded unless the export was started with the `logs:manage` scope.
475
+
476
+ This replaces the 10,000-row CSV download, which is deprecated for one release.
477
+
463
478
  **Example:**
464
479
 
465
480
  ```bash
package/docs/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # lua-cli v3.37.0
1
+ # lua-cli v3.38.0
2
2
 
3
- Welcome to the comprehensive API documentation for lua-cli v3.37.0. This guide covers every API, class, and function exported by the package.
3
+ Welcome to the comprehensive API documentation for lua-cli v3.38.0. This guide covers every API, class, and function exported by the package.
4
4
 
5
5
  ## 📚 Documentation Index
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "3.37.0",
3
+ "version": "3.39.0",
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",
@@ -115,9 +115,9 @@
115
115
  "tsup": "^8.5.1",
116
116
  "@lua/sandbox-runtime": "0.0.1",
117
117
  "@lua/shared-source-sync": "0.0.1",
118
- "@lua/shared-types": "0.0.1",
119
118
  "@lua/shared-sandbox": "0.0.1",
120
- "@lua/workflow-graph": "0.0.1"
119
+ "@lua/workflow-graph": "0.0.1",
120
+ "@lua/shared-types": "0.0.1"
121
121
  },
122
122
  "scripts": {
123
123
  "clean": "rm -rf dist temp",
@@ -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.37.0",
23
+ "lua-cli": "^3.39.0",
24
24
  "openai": "^5.23.0",
25
25
  "uuid": "^13.0.0",
26
26
  "zod": "^3.24.1"