lua-cli 3.38.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.
- package/dist/api-exports.d.ts +82 -0
- package/dist/api-exports.js +917 -3
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +1726 -129
- package/dist/index.js.map +1 -1
- package/dist/workflow-builder.js +901 -2
- package/dist/workflow-builder.js.map +1 -1
- package/docs/CLI_REFERENCE.md +16 -1
- package/package.json +4 -4
- package/template/package.json +1 -1
package/docs/CLI_REFERENCE.md
CHANGED
|
@@ -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.
|
|
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",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
"ts-node": "^10.9.2",
|
|
115
115
|
"tsup": "^8.5.1",
|
|
116
116
|
"@lua/sandbox-runtime": "0.0.1",
|
|
117
|
-
"@lua/shared-sandbox": "0.0.1",
|
|
118
117
|
"@lua/shared-source-sync": "0.0.1",
|
|
119
|
-
"@lua/shared-
|
|
120
|
-
"@lua/workflow-graph": "0.0.1"
|
|
118
|
+
"@lua/shared-sandbox": "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",
|