litedbmodel-gen 0.7.2 → 0.7.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/README.md +3 -4
- package/cli-contract.yaml +4 -4
- package/dist/cli.js +6 -8
- package/dist/cli.js.map +1 -1
- package/dist/litedbmodel-gen.bundle.mjs +7 -9
- package/dist/litedbmodel-gen.bundle.mjs.map +2 -2
- package/docs/cli-reference.md +2 -2
- package/package.json +1 -1
package/docs/cli-reference.md
CHANGED
|
@@ -164,7 +164,7 @@ x-agent:
|
|
|
164
164
|
|
|
165
165
|
Implement a feature using litedbmodel best practices.
|
|
166
166
|
|
|
167
|
-
Reads the project's model definitions, then implements the described feature directly in the target source file(s), applying litedbmodel best-practice patterns: createMany for batch inserts, upsert with onConflict/onConflictUpdate for idempotent writes, forUpdate for concurrent-safe reads, and DBModel.transaction for multi-step operations. Avoids all eight common litedbmodel anti-patterns. Requires an agentic adapter (claude
|
|
167
|
+
Reads the project's model definitions, then implements the described feature directly in the target source file(s), applying litedbmodel best-practice patterns: createMany for batch inserts, upsert with onConflict/onConflictUpdate for idempotent writes, forUpdate for concurrent-safe reads, and DBModel.transaction for multi-step operations. Avoids all eight common litedbmodel anti-patterns. Requires an agentic adapter (claude) that can read and write project files.
|
|
168
168
|
|
|
169
169
|
**Usage:**
|
|
170
170
|
|
|
@@ -232,7 +232,7 @@ x-agent:
|
|
|
232
232
|
sideEffects:
|
|
233
233
|
- network
|
|
234
234
|
- filesystem_write
|
|
235
|
-
sideEffectNote: The agent reads project files and writes implementation code directly to the target source file(s). Uses an agentic adapter (claude
|
|
235
|
+
sideEffectNote: The agent reads project files and writes implementation code directly to the target source file(s). Uses an agentic adapter (claude) with file read/write tools.
|
|
236
236
|
safeDryRunOption: show-prompt
|
|
237
237
|
expectedDurationMs: 120000
|
|
238
238
|
retryableExitCodes:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "litedbmodel-gen",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.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",
|