@xenonbyte/da-vinci-workflow 0.1.19 → 0.1.21
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/CHANGELOG.md +24 -0
- package/README.md +40 -54
- package/README.zh-CN.md +34 -54
- package/SKILL.md +4 -0
- package/commands/claude/dv/build.md +6 -0
- package/commands/claude/dv/continue.md +5 -0
- package/commands/codex/prompts/dv-build.md +4 -0
- package/commands/codex/prompts/dv-continue.md +5 -0
- package/commands/gemini/dv/build.toml +4 -0
- package/commands/gemini/dv/continue.toml +5 -0
- package/docs/codex-natural-language-usage.md +3 -0
- package/docs/dv-command-reference.md +10 -0
- package/docs/mode-use-cases.md +2 -0
- package/docs/pencil-rendering-workflow.md +16 -0
- package/docs/prompt-entrypoints.md +7 -0
- package/docs/prompt-presets/README.md +2 -0
- package/docs/prompt-presets/desktop-app.md +4 -0
- package/docs/prompt-presets/mobile-app.md +4 -0
- package/docs/prompt-presets/tablet-app.md +4 -0
- package/docs/prompt-presets/web-app.md +4 -0
- package/docs/visual-adapters.md +24 -80
- package/docs/visual-assist-presets/desktop-app.md +20 -68
- package/docs/visual-assist-presets/mobile-app.md +20 -68
- package/docs/visual-assist-presets/tablet-app.md +20 -68
- package/docs/visual-assist-presets/web-app.md +20 -68
- package/docs/workflow-examples.md +2 -0
- package/docs/workflow-overview.md +11 -0
- package/docs/zh-CN/codex-natural-language-usage.md +3 -0
- package/docs/zh-CN/dv-command-reference.md +10 -0
- package/docs/zh-CN/mode-use-cases.md +2 -0
- package/docs/zh-CN/pencil-rendering-workflow.md +16 -0
- package/docs/zh-CN/prompt-entrypoints.md +7 -0
- package/docs/zh-CN/prompt-presets/README.md +2 -0
- package/docs/zh-CN/prompt-presets/desktop-app.md +3 -0
- package/docs/zh-CN/prompt-presets/mobile-app.md +3 -0
- package/docs/zh-CN/prompt-presets/tablet-app.md +3 -0
- package/docs/zh-CN/prompt-presets/web-app.md +3 -0
- package/docs/zh-CN/visual-adapters.md +24 -80
- package/docs/zh-CN/visual-assist-presets/desktop-app.md +20 -68
- package/docs/zh-CN/visual-assist-presets/mobile-app.md +20 -68
- package/docs/zh-CN/visual-assist-presets/tablet-app.md +20 -68
- package/docs/zh-CN/visual-assist-presets/web-app.md +20 -68
- package/docs/zh-CN/workflow-examples.md +2 -0
- package/docs/zh-CN/workflow-overview.md +11 -0
- package/examples/greenfield-spec-markupflow/DA-VINCI.md +4 -13
- package/lib/audit.js +455 -0
- package/lib/cli.js +6 -1
- package/lib/pencil-session.js +6 -0
- package/package.json +2 -1
- package/references/artifact-templates.md +38 -0
- package/references/checkpoints.md +16 -0
- package/references/prompt-recipes.md +5 -0
- package/scripts/test-audit-context-delta.js +446 -0
- package/scripts/test-mode-consistency.js +50 -0
- package/scripts/test-pencil-session.js +40 -0
- package/scripts/test-persistence-flows.js +31 -1
|
@@ -241,9 +241,39 @@ runTest("parallel mixed projects are serialized by the global Pencil lock", () =
|
|
|
241
241
|
runCli(harness, ["pencil-session", "begin", "--project", existing.root, "--pen", existing.penPath]),
|
|
242
242
|
/lock is already held/i
|
|
243
243
|
);
|
|
244
|
+
expectOk(
|
|
245
|
+
"parallel A persist",
|
|
246
|
+
runCli(harness, [
|
|
247
|
+
"pencil-session",
|
|
248
|
+
"persist",
|
|
249
|
+
"--project",
|
|
250
|
+
freshA.root,
|
|
251
|
+
"--pen",
|
|
252
|
+
freshA.penPath,
|
|
253
|
+
"--nodes-file",
|
|
254
|
+
freshA.nodesFile,
|
|
255
|
+
"--variables-file",
|
|
256
|
+
freshA.variablesFile,
|
|
257
|
+
"--version",
|
|
258
|
+
fixture.version
|
|
259
|
+
])
|
|
260
|
+
);
|
|
244
261
|
expectOk(
|
|
245
262
|
"parallel A end",
|
|
246
|
-
runCli(harness, [
|
|
263
|
+
runCli(harness, [
|
|
264
|
+
"pencil-session",
|
|
265
|
+
"end",
|
|
266
|
+
"--project",
|
|
267
|
+
freshA.root,
|
|
268
|
+
"--pen",
|
|
269
|
+
freshA.penPath,
|
|
270
|
+
"--nodes-file",
|
|
271
|
+
freshA.nodesFile,
|
|
272
|
+
"--variables-file",
|
|
273
|
+
freshA.variablesFile,
|
|
274
|
+
"--version",
|
|
275
|
+
fixture.version
|
|
276
|
+
])
|
|
247
277
|
);
|
|
248
278
|
|
|
249
279
|
expectOk(
|