@kevlns/art-workshop 0.3.9 → 0.4.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/AGENTS.md +26 -3
- package/README.md +1 -1
- package/art-workshop.mjs +26 -10
- package/docs/commands.md +115 -5
- package/docs/core-guidance.md +12 -4
- package/docs/data-formats.md +31 -5
- package/docs/deployment.md +1 -1
- package/docs/local-models/qwen-image-2.1.json +19 -1
- package/docs/local-models/qwen-image-2.1.md +6 -4
- package/docs/model-architecture.md +4 -0
- package/docs/modes.md +7 -1
- package/docs/troubleshooting.md +5 -2
- package/lib/agent.mjs +3 -1
- package/lib/analysis-worker.mjs +2 -1
- package/lib/analyze.mjs +8 -7
- package/lib/backends.mjs +8 -0
- package/lib/candidates.mjs +10 -4
- package/lib/comfy-recovery.mjs +17 -0
- package/lib/comfyui.mjs +12 -7
- package/lib/core.mjs +24 -7
- package/lib/edit.mjs +11 -8
- package/lib/environment-runtime.mjs +99 -0
- package/lib/environments.mjs +7 -4
- package/lib/executor.mjs +7 -4
- package/lib/favorites.mjs +49 -0
- package/lib/generate.mjs +12 -8
- package/lib/generation-policy.mjs +1 -1
- package/lib/heartbeat.mjs +16 -0
- package/lib/presentation.mjs +3 -1
- package/lib/prompt-structure.mjs +22 -0
- package/lib/shared.mjs +5 -1
- package/lib/style-bundle.mjs +85 -0
- package/lib/style-contract.mjs +14 -1
- package/lib/style-lifecycle.mjs +25 -3
- package/lib/style-review.mjs +10 -1
- package/lib/task-contract.mjs +33 -3
- package/lib/task-references.mjs +13 -1
- package/lib/task-worker.mjs +22 -5
- package/lib/tasks.mjs +23 -6
- package/lib/templates.mjs +4 -2
- package/lib/transparent-output.mjs +74 -0
- package/lib/workspace.mjs +30 -9
- package/package.json +1 -1
- package/rules/core-guidance.json +1 -0
- package/skills/art-workshop/SKILL.md +30 -5
- package/v-cli.plugin.json +271 -7
- package/workflows/vant-builtin-qwen-image-2.1-Q4-8GB.api.json +1 -1
- package/workflows/vant-builtin-qwen-image-2.1-Q4-8GB.json +2 -2
package/v-cli.plugin.json
CHANGED
|
@@ -1128,13 +1128,51 @@
|
|
|
1128
1128
|
"查询不写入;修改验证 revision、归属和停止确认;冻结风格只读"
|
|
1129
1129
|
]
|
|
1130
1130
|
},
|
|
1131
|
+
{
|
|
1132
|
+
"path": [
|
|
1133
|
+
"style",
|
|
1134
|
+
"revise"
|
|
1135
|
+
],
|
|
1136
|
+
"usage": "art-workshop style revise",
|
|
1137
|
+
"description": "按用户要求修订完整规则方案;input 为 {rules,summary,note},沿用未变化的参考证据,不调用模型或自动冻结",
|
|
1138
|
+
"arguments": [],
|
|
1139
|
+
"options": [
|
|
1140
|
+
{
|
|
1141
|
+
"flags": "--project <id>",
|
|
1142
|
+
"description": "工程身份"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"flags": "--id <id>",
|
|
1146
|
+
"description": "对象身份"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"flags": "--revision <number>",
|
|
1150
|
+
"description": "预期对象版本"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"flags": "--input <file>",
|
|
1154
|
+
"description": "JSON {rules,summary,note};rules 为完整规则数组,每条 id/scope/strength/instruction/when,avoid 可含 negative 抽象排除表达数组"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"output": {
|
|
1158
|
+
"format": "json",
|
|
1159
|
+
"description": "校验预期版本及空闲状态后更新对象"
|
|
1160
|
+
},
|
|
1161
|
+
"exitCodes": {
|
|
1162
|
+
"0": "成功",
|
|
1163
|
+
"1": "校验、版本冲突或执行失败"
|
|
1164
|
+
},
|
|
1165
|
+
"safety": [
|
|
1166
|
+
"查询不写入;修改验证 revision、归属和停止确认;冻结风格只读"
|
|
1167
|
+
]
|
|
1168
|
+
},
|
|
1131
1169
|
{
|
|
1132
1170
|
"path": [
|
|
1133
1171
|
"style",
|
|
1134
1172
|
"derive"
|
|
1135
1173
|
],
|
|
1136
1174
|
"usage": "art-workshop style derive",
|
|
1137
|
-
"description": "
|
|
1175
|
+
"description": "派生独立草稿,保留结构化规则与独立参考;当前冻结证据标记沿用,不继承核心、执行或授权",
|
|
1138
1176
|
"arguments": [],
|
|
1139
1177
|
"options": [
|
|
1140
1178
|
{
|
|
@@ -1360,7 +1398,7 @@
|
|
|
1360
1398
|
"discard"
|
|
1361
1399
|
],
|
|
1362
1400
|
"usage": "art-workshop job discard",
|
|
1363
|
-
"description": "
|
|
1401
|
+
"description": "归档已停止的任务,保留配置、参考、收藏、图片与执行历史;可恢复到活跃列表",
|
|
1364
1402
|
"arguments": [],
|
|
1365
1403
|
"options": [
|
|
1366
1404
|
{
|
|
@@ -1378,14 +1416,48 @@
|
|
|
1378
1416
|
],
|
|
1379
1417
|
"output": {
|
|
1380
1418
|
"format": "json",
|
|
1381
|
-
"description": "
|
|
1419
|
+
"description": "归档已停止的任务,保留配置、参考、收藏、图片与执行历史;可恢复到活跃列表"
|
|
1382
1420
|
},
|
|
1383
1421
|
"exitCodes": {
|
|
1384
1422
|
"0": "成功",
|
|
1385
1423
|
"1": "校验、版本冲突或执行失败"
|
|
1386
1424
|
},
|
|
1387
1425
|
"safety": [
|
|
1388
|
-
"
|
|
1426
|
+
"验证 revision、任务归属和停止确认;归档和恢复均保留原配置、收藏与所有历史文件,不自动执行"
|
|
1427
|
+
]
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"path": [
|
|
1431
|
+
"job",
|
|
1432
|
+
"restore"
|
|
1433
|
+
],
|
|
1434
|
+
"usage": "art-workshop job restore",
|
|
1435
|
+
"description": "恢复已归档任务到活跃列表,保留原身份、配置与历史;不重新执行",
|
|
1436
|
+
"arguments": [],
|
|
1437
|
+
"options": [
|
|
1438
|
+
{
|
|
1439
|
+
"flags": "--project <id>",
|
|
1440
|
+
"description": "工程身份"
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"flags": "--id <id>",
|
|
1444
|
+
"description": "对象身份"
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"flags": "--revision <number>",
|
|
1448
|
+
"description": "预期对象版本"
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"output": {
|
|
1452
|
+
"format": "json",
|
|
1453
|
+
"description": "恢复已归档任务到活跃列表,保留原身份、配置与历史;不重新执行"
|
|
1454
|
+
},
|
|
1455
|
+
"exitCodes": {
|
|
1456
|
+
"0": "成功",
|
|
1457
|
+
"1": "校验、版本冲突或执行失败"
|
|
1458
|
+
},
|
|
1459
|
+
"safety": [
|
|
1460
|
+
"验证 revision、任务归属和停止确认;归档和恢复均保留原配置、收藏与所有历史文件,不自动执行"
|
|
1389
1461
|
]
|
|
1390
1462
|
},
|
|
1391
1463
|
{
|
|
@@ -1688,6 +1760,74 @@
|
|
|
1688
1760
|
"只读;校验批次计划和候选身份"
|
|
1689
1761
|
]
|
|
1690
1762
|
},
|
|
1763
|
+
{
|
|
1764
|
+
"path": [
|
|
1765
|
+
"candidate",
|
|
1766
|
+
"favorites"
|
|
1767
|
+
],
|
|
1768
|
+
"usage": "art-workshop candidate favorites --project <id>",
|
|
1769
|
+
"description": "网格收藏夹的数据来源,列出工程中仍可用的收藏图片及源任务身份",
|
|
1770
|
+
"arguments": [],
|
|
1771
|
+
"options": [
|
|
1772
|
+
{
|
|
1773
|
+
"flags": "--project <id>",
|
|
1774
|
+
"description": "工程身份"
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"output": {
|
|
1778
|
+
"format": "json",
|
|
1779
|
+
"description": "收藏图片、源任务名称、资产及批次身份"
|
|
1780
|
+
},
|
|
1781
|
+
"exitCodes": {
|
|
1782
|
+
"0": "成功",
|
|
1783
|
+
"1": "校验或读取失败"
|
|
1784
|
+
},
|
|
1785
|
+
"safety": [
|
|
1786
|
+
"只读;忽略已删除的图片和已归档的任务"
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"path": [
|
|
1791
|
+
"candidate",
|
|
1792
|
+
"favorite"
|
|
1793
|
+
],
|
|
1794
|
+
"usage": "art-workshop candidate favorite --project <id> --job <id> --run <id> --candidate <id> --value <true|false>",
|
|
1795
|
+
"description": "设置图片收藏状态,不修改任务需求、版本、定版或运行状态",
|
|
1796
|
+
"arguments": [],
|
|
1797
|
+
"options": [
|
|
1798
|
+
{
|
|
1799
|
+
"flags": "--project <id>",
|
|
1800
|
+
"description": "工程身份"
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"flags": "--job <id>",
|
|
1804
|
+
"description": "源任务身份"
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"flags": "--run <id>",
|
|
1808
|
+
"description": "源批次身份"
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"flags": "--candidate <id>",
|
|
1812
|
+
"description": "图片候选身份"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"flags": "--value <true|false>",
|
|
1816
|
+
"description": "true 收藏,false 取消收藏"
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"output": {
|
|
1820
|
+
"format": "json",
|
|
1821
|
+
"description": "更新后的工程收藏列表"
|
|
1822
|
+
},
|
|
1823
|
+
"exitCodes": {
|
|
1824
|
+
"0": "成功",
|
|
1825
|
+
"1": "校验或写入失败"
|
|
1826
|
+
},
|
|
1827
|
+
"safety": [
|
|
1828
|
+
"仅修改工程收藏记录;重复操作幂等,不启动分析或生成"
|
|
1829
|
+
]
|
|
1830
|
+
},
|
|
1691
1831
|
{
|
|
1692
1832
|
"path": [
|
|
1693
1833
|
"candidate",
|
|
@@ -1982,7 +2122,7 @@
|
|
|
1982
2122
|
"from-candidate"
|
|
1983
2123
|
],
|
|
1984
2124
|
"usage": "v-cli art job from-candidate --project <id> --id <task> --run <id> --candidate <id>",
|
|
1985
|
-
"description": "
|
|
2125
|
+
"description": "将已停止批次中的可用图片导入私有底图,创建独立编辑草稿,不要求定版通过、不运行",
|
|
1986
2126
|
"arguments": [],
|
|
1987
2127
|
"options": [
|
|
1988
2128
|
{
|
|
@@ -1999,12 +2139,12 @@
|
|
|
1999
2139
|
},
|
|
2000
2140
|
{
|
|
2001
2141
|
"flags": "--candidate <id>",
|
|
2002
|
-
"description": "
|
|
2142
|
+
"description": "可用图片的候选身份"
|
|
2003
2143
|
}
|
|
2004
2144
|
],
|
|
2005
2145
|
"output": {
|
|
2006
2146
|
"format": "json",
|
|
2007
|
-
"description": "
|
|
2147
|
+
"description": "将已停止批次中的可用图片导入私有底图,创建独立编辑草稿,不要求定版通过、不运行"
|
|
2008
2148
|
},
|
|
2009
2149
|
"exitCodes": {
|
|
2010
2150
|
"0": "成功",
|
|
@@ -2090,6 +2230,40 @@
|
|
|
2090
2230
|
"1": "验收或执行失败"
|
|
2091
2231
|
}
|
|
2092
2232
|
},
|
|
2233
|
+
{
|
|
2234
|
+
"path": [
|
|
2235
|
+
"environment",
|
|
2236
|
+
"prepare"
|
|
2237
|
+
],
|
|
2238
|
+
"description": "自动准备兼容 Python 运行时,保留已有环境",
|
|
2239
|
+
"usage": "art-workshop environment prepare",
|
|
2240
|
+
"arguments": [],
|
|
2241
|
+
"options": [
|
|
2242
|
+
{
|
|
2243
|
+
"flags": "--directory <value>",
|
|
2244
|
+
"description": "本机环境根目录"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"flags": "--endpoint <value>",
|
|
2248
|
+
"description": "本机 HTTP 服务根地址"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"flags": "--guide <id>",
|
|
2252
|
+
"description": "部署指南标识;省略使用环境登记或推荐方案"
|
|
2253
|
+
}
|
|
2254
|
+
],
|
|
2255
|
+
"output": {
|
|
2256
|
+
"format": "json",
|
|
2257
|
+
"description": "环境事实与验收结果"
|
|
2258
|
+
},
|
|
2259
|
+
"safety": [
|
|
2260
|
+
"仅在目标目录创建运行时;复用兼容 Python,不兼容虚拟环境先改名保留,不修改全局 Python"
|
|
2261
|
+
],
|
|
2262
|
+
"exitCodes": {
|
|
2263
|
+
"0": "成功",
|
|
2264
|
+
"1": "验收或执行失败"
|
|
2265
|
+
}
|
|
2266
|
+
},
|
|
2093
2267
|
{
|
|
2094
2268
|
"path": [
|
|
2095
2269
|
"environment",
|
|
@@ -2217,6 +2391,96 @@
|
|
|
2217
2391
|
"0": "成功",
|
|
2218
2392
|
"1": "验收或执行失败"
|
|
2219
2393
|
}
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"path": [
|
|
2397
|
+
"style",
|
|
2398
|
+
"export"
|
|
2399
|
+
],
|
|
2400
|
+
"usage": "art-workshop style export",
|
|
2401
|
+
"description": "导出冻结风格及必要参考,不复制运行状态",
|
|
2402
|
+
"arguments": [],
|
|
2403
|
+
"options": [
|
|
2404
|
+
{
|
|
2405
|
+
"flags": "--project <value>",
|
|
2406
|
+
"description": "工程身份"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"flags": "--id <value>",
|
|
2410
|
+
"description": "冻结风格身份"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"flags": "--out <value>",
|
|
2414
|
+
"description": "风格包输出文件"
|
|
2415
|
+
}
|
|
2416
|
+
],
|
|
2417
|
+
"output": {
|
|
2418
|
+
"format": "json",
|
|
2419
|
+
"description": "导出冻结风格及必要参考,不复制运行状态"
|
|
2420
|
+
},
|
|
2421
|
+
"exitCodes": {
|
|
2422
|
+
"0": "成功",
|
|
2423
|
+
"1": "校验失败"
|
|
2424
|
+
},
|
|
2425
|
+
"safety": [
|
|
2426
|
+
"冻结风格包只读;不覆盖已有文件;修改请派生草稿;只导出明确引用的参考图片"
|
|
2427
|
+
]
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"path": [
|
|
2431
|
+
"style",
|
|
2432
|
+
"import"
|
|
2433
|
+
],
|
|
2434
|
+
"usage": "art-workshop style import",
|
|
2435
|
+
"description": "导入固定版本的共享冻结风格,保留原身份和版本",
|
|
2436
|
+
"arguments": [],
|
|
2437
|
+
"options": [
|
|
2438
|
+
{
|
|
2439
|
+
"flags": "--project <value>",
|
|
2440
|
+
"description": "目标工程"
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"flags": "--file <value>",
|
|
2444
|
+
"description": "风格包文件"
|
|
2445
|
+
}
|
|
2446
|
+
],
|
|
2447
|
+
"output": {
|
|
2448
|
+
"format": "json",
|
|
2449
|
+
"description": "导入固定版本的共享冻结风格,保留原身份和版本"
|
|
2450
|
+
},
|
|
2451
|
+
"exitCodes": {
|
|
2452
|
+
"0": "成功",
|
|
2453
|
+
"1": "校验失败"
|
|
2454
|
+
},
|
|
2455
|
+
"safety": [
|
|
2456
|
+
"冻结风格包只读;不覆盖已有文件;修改请派生草稿;只导出明确引用的参考图片"
|
|
2457
|
+
]
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"path": [
|
|
2461
|
+
"style",
|
|
2462
|
+
"sources"
|
|
2463
|
+
],
|
|
2464
|
+
"usage": "art-workshop style sources",
|
|
2465
|
+
"description": "只读列出多个冻结风格来源并报告不可用目录和身份冲突",
|
|
2466
|
+
"arguments": [],
|
|
2467
|
+
"options": [
|
|
2468
|
+
{
|
|
2469
|
+
"flags": "--input <value>",
|
|
2470
|
+
"description": "来源目录列表 JSON 文件"
|
|
2471
|
+
}
|
|
2472
|
+
],
|
|
2473
|
+
"output": {
|
|
2474
|
+
"format": "json",
|
|
2475
|
+
"description": "只读列出多个冻结风格来源并报告不可用目录和身份冲突"
|
|
2476
|
+
},
|
|
2477
|
+
"exitCodes": {
|
|
2478
|
+
"0": "成功",
|
|
2479
|
+
"1": "校验失败"
|
|
2480
|
+
},
|
|
2481
|
+
"safety": [
|
|
2482
|
+
"冻结风格包只读;不覆盖已有文件;修改请派生草稿;只导出明确引用的参考图片"
|
|
2483
|
+
]
|
|
2220
2484
|
}
|
|
2221
2485
|
]
|
|
2222
2486
|
}
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
123456,
|
|
456
456
|
"fixed",
|
|
457
457
|
25,
|
|
458
|
-
|
|
458
|
+
3,
|
|
459
459
|
"euler",
|
|
460
460
|
"simple",
|
|
461
461
|
1
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
"seed": 123456,
|
|
465
465
|
"control_after_generate": "fixed",
|
|
466
466
|
"steps": 25,
|
|
467
|
-
"cfg":
|
|
467
|
+
"cfg": 3,
|
|
468
468
|
"sampler_name": "euler",
|
|
469
469
|
"scheduler": "simple",
|
|
470
470
|
"denoise": 1
|