litedbmodel-gen 0.6.1 → 0.6.3
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/cli-contract.yaml +33 -0
- package/dist/{dsl-4XI72SJ5.js → chunk-GERYNDPH.js} +645 -3
- package/dist/chunk-GERYNDPH.js.map +1 -0
- package/dist/cli.js +98 -3
- package/dist/cli.js.map +1 -1
- package/dist/dist-3WIAIIE5.js +7333 -0
- package/dist/dist-3WIAIIE5.js.map +1 -0
- package/dist/dsl-GOTBG3JL.js +19 -0
- package/dist/dsl-GOTBG3JL.js.map +1 -0
- package/dist/litedbmodel-gen.bundle.mjs +697 -281
- package/dist/litedbmodel-gen.bundle.mjs.map +4 -4
- package/docs/cli-reference.md +42 -0
- package/package.json +2 -2
- package/dist/dsl-4XI72SJ5.js.map +0 -1
package/docs/cli-reference.md
CHANGED
|
@@ -10,6 +10,7 @@ embedoc-based model code generator for litedbmodel. Parses SQL DDL (PostgreSQL /
|
|
|
10
10
|
- [init](#litedbmodel-gen-init)
|
|
11
11
|
- [audit](#litedbmodel-gen-audit)
|
|
12
12
|
- [implement](#litedbmodel-gen-implement)
|
|
13
|
+
- [agents](#litedbmodel-gen-agents)
|
|
13
14
|
|
|
14
15
|
---
|
|
15
16
|
|
|
@@ -236,3 +237,44 @@ x-agent:
|
|
|
236
237
|
```
|
|
237
238
|
|
|
238
239
|
---
|
|
240
|
+
|
|
241
|
+
### agents
|
|
242
|
+
|
|
243
|
+
Output the full resolved agent DSL as structured data.
|
|
244
|
+
|
|
245
|
+
Outputs the complete resolved agent-contracts DSL (agents, tasks, workflows, handoff_types) embedded in this CLI binary. Useful for debugging, external tooling integration, and DSL inspection.
|
|
246
|
+
|
|
247
|
+
**Usage:**
|
|
248
|
+
|
|
249
|
+
```
|
|
250
|
+
litedbmodel-gen agents [--format]
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
#### Options
|
|
254
|
+
|
|
255
|
+
| Option | Aliases | Required | Default | Description |
|
|
256
|
+
|---|---|---|---|---|
|
|
257
|
+
| `--format` | -F | No | `"yaml"` | Output format. |
|
|
258
|
+
|
|
259
|
+
#### Exit Codes
|
|
260
|
+
|
|
261
|
+
**Exit 0:** DSL output successfully.
|
|
262
|
+
|
|
263
|
+
- **stdout:** format=`text`
|
|
264
|
+
|
|
265
|
+
**Exit 1:** Failed to load embedded DSL.
|
|
266
|
+
|
|
267
|
+
- **stderr:** format=`text`
|
|
268
|
+
|
|
269
|
+
#### Extensions
|
|
270
|
+
|
|
271
|
+
```yaml
|
|
272
|
+
x-agent:
|
|
273
|
+
riskLevel: low
|
|
274
|
+
requiresConfirmation: false
|
|
275
|
+
idempotent: true
|
|
276
|
+
sideEffects:
|
|
277
|
+
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "litedbmodel-gen",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "embedoc-based model code generator for litedbmodel — generates TypeScript column definitions from SQL DDL (PostgreSQL/MySQL/SQLite)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@types/js-yaml": "^4.0.9",
|
|
74
74
|
"@types/node": "^25.3.3",
|
|
75
75
|
"agent-contracts": "^0.33.1",
|
|
76
|
-
"agent-contracts-runtime": "^0.
|
|
76
|
+
"agent-contracts-runtime": "^0.33.3",
|
|
77
77
|
"cli-contracts": "^0.32.0",
|
|
78
78
|
"commander": "^14.0.3",
|
|
79
79
|
"embedoc": "^0.11.0",
|