litedbmodel-gen 0.6.3 → 0.7.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.
@@ -108,10 +108,11 @@ litedbmodel-gen audit src/services/user-service.ts --fail-on warning --report-fo
108
108
  |---|---|---|---|---|
109
109
  | `--adapter` | | No | `"mock"` | LLM adapter to use for the audit. |
110
110
  | `--model` | | No | | Model name override for the selected adapter. |
111
- | `--dry-run` | | No | `false` | Output the constructed prompt without calling the LLM. |
111
+ | `--show-prompt` | | No | `false` | Output the constructed prompt without calling the LLM API. |
112
112
  | `--fail-on` | | No | `"error"` | Minimum finding severity that causes exit code 10. Findings below this threshold are still reported. |
113
113
  | `--output` | -o | No | | Write the report to a file instead of stdout. |
114
114
  | `--report-format` | | No | `"json"` | Output format for the audit report. |
115
+ | `--log-file` | -l | No | | File path to write structured progress logs. |
115
116
 
116
117
  #### Exit Codes
117
118
 
@@ -146,10 +147,11 @@ x-agent:
146
147
  riskLevel: low
147
148
  requiresConfirmation: false
148
149
  idempotent: true
150
+ dsl_task: audit-litedbmodel-usage
149
151
  sideEffects:
150
152
  - network
151
153
  sideEffectNote: Makes network calls to the configured LLM provider when adapter is not "mock". Writes to the filesystem only when --output is specified.
152
- safeDryRunOption: dry-run
154
+ safeDryRunOption: show-prompt
153
155
  expectedDurationMs: 120000
154
156
  retryableExitCodes:
155
157
  - 1
@@ -187,10 +189,11 @@ litedbmodel-gen implement "Add bulk upsert for order items" --target src/service
187
189
  | `--models` | | No | `"models/**/*.ts"` | Glob pattern for model definition files. The agent reads these to understand available models, columns, and relations. |
188
190
  | `--adapter` | | No | `"mock"` | LLM adapter to use for code generation. |
189
191
  | `--model` | | No | | Model name override for the selected adapter. |
190
- | `--dry-run` | | No | `false` | Output the constructed prompt without calling the LLM. |
192
+ | `--show-prompt` | | No | `false` | Output the constructed prompt without calling the LLM API. |
191
193
  | `--fail-on` | | No | `"error"` | Minimum finding severity that causes exit code 10. Design concerns (info/warning) are still reported at exit 0. |
192
194
  | `--output` | -o | No | | Write the report to a file instead of stdout. |
193
195
  | `--report-format` | | No | `"json"` | Output format for the implementation report. |
196
+ | `--log-file` | -l | No | | File path to write structured progress logs. |
194
197
 
195
198
  #### Exit Codes
196
199
 
@@ -225,11 +228,12 @@ x-agent:
225
228
  riskLevel: high
226
229
  requiresConfirmation: true
227
230
  idempotent: false
231
+ dsl_task: implement-litedbmodel-feature
228
232
  sideEffects:
229
233
  - network
230
234
  - filesystem_write
231
235
  sideEffectNote: The agent reads project files and writes implementation code directly to the target source file(s). Uses an agentic adapter (claude/cursor) with file read/write tools.
232
- safeDryRunOption: dry-run
236
+ safeDryRunOption: show-prompt
233
237
  expectedDurationMs: 120000
234
238
  retryableExitCodes:
235
239
  - 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litedbmodel-gen",
3
- "version": "0.6.3",
3
+ "version": "0.7.1",
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.33.3",
76
+ "agent-contracts-runtime": "^0.35.2",
77
77
  "cli-contracts": "^0.32.0",
78
78
  "commander": "^14.0.3",
79
79
  "embedoc": "^0.11.0",