lua-cli 3.38.0 → 3.39.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.
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "3.38.0",
3
+ "version": "3.39.1",
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",
@@ -113,11 +113,11 @@
113
113
  "stripe": "^19.2.0",
114
114
  "ts-node": "^10.9.2",
115
115
  "tsup": "^8.5.1",
116
- "@lua/sandbox-runtime": "0.0.1",
117
- "@lua/shared-sandbox": "0.0.1",
118
116
  "@lua/shared-source-sync": "0.0.1",
117
+ "@lua/workflow-graph": "0.0.1",
119
118
  "@lua/shared-types": "0.0.1",
120
- "@lua/workflow-graph": "0.0.1"
119
+ "@lua/shared-sandbox": "0.0.1",
120
+ "@lua/sandbox-runtime": "0.0.1"
121
121
  },
122
122
  "scripts": {
123
123
  "clean": "rm -rf dist temp",
@@ -127,7 +127,8 @@
127
127
  "build:dts-rollup": "node scripts/run-api-extractor.mjs",
128
128
  "typecheck": "tsc -p tsconfig.typecheck.json",
129
129
  "test": "node ../../scripts/test-gate.mjs jest",
130
- "test:watch": "jest --watch",
130
+ "test:watch": "node ../../scripts/test-gate.mjs jest --watch",
131
+ "test:related": "node ../../scripts/test-gate.mjs jest --changedSince=origin/main",
131
132
  "test:coverage": "node ../../scripts/test-gate.mjs jest --coverage",
132
133
  "test:compat-matrix": "node scripts/compat-matrix-previous-cli.mjs"
133
134
  }
@@ -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.38.0",
23
+ "lua-cli": "^3.39.1",
24
24
  "openai": "^5.23.0",
25
25
  "uuid": "^13.0.0",
26
26
  "zod": "^3.24.1"