@kevlns/art-workshop 0.5.0 → 0.5.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.
Files changed (66) hide show
  1. package/AGENTS.md +25 -109
  2. package/LICENSE +21 -21
  3. package/README.md +63 -63
  4. package/art-workshop.mjs +174 -168
  5. package/docs/commands.md +116 -8
  6. package/docs/configuration.md +82 -82
  7. package/docs/core-guidance.md +50 -50
  8. package/docs/data-formats.md +85 -85
  9. package/docs/deployment.md +32 -32
  10. package/docs/local-models/qwen-image-2.1.json +73 -73
  11. package/docs/local-models/qwen-image-2.1.md +33 -33
  12. package/docs/model-architecture.md +78 -78
  13. package/docs/modes.md +67 -67
  14. package/lib/agent.mjs +32 -47
  15. package/lib/analysis-worker.mjs +32 -29
  16. package/lib/analyze.mjs +85 -78
  17. package/lib/asset-profile.mjs +23 -21
  18. package/lib/candidates.mjs +103 -101
  19. package/lib/comfy-recovery.mjs +17 -17
  20. package/lib/conversation.mjs +77 -0
  21. package/lib/core.mjs +75 -89
  22. package/lib/deployment-guide.mjs +12 -12
  23. package/lib/design.mjs +29 -29
  24. package/lib/dimensions.mjs +22 -22
  25. package/lib/edit.mjs +41 -40
  26. package/lib/environment-operations.mjs +49 -49
  27. package/lib/environment-runtime.mjs +99 -99
  28. package/lib/environments.mjs +55 -55
  29. package/lib/errors.mjs +32 -0
  30. package/lib/executor.mjs +107 -107
  31. package/lib/generate.mjs +58 -57
  32. package/lib/heartbeat.mjs +16 -16
  33. package/lib/images.mjs +1 -1
  34. package/lib/lifecycle.mjs +53 -53
  35. package/lib/migration.mjs +154 -154
  36. package/lib/object-format.mjs +112 -0
  37. package/lib/process-identity.mjs +14 -14
  38. package/lib/project.mjs +39 -39
  39. package/lib/refs.mjs +26 -26
  40. package/lib/runtime.mjs +25 -25
  41. package/lib/service.mjs +126 -126
  42. package/lib/settings.mjs +50 -50
  43. package/lib/shared.mjs +67 -66
  44. package/lib/style-bundle.mjs +85 -85
  45. package/lib/style-contract.mjs +74 -35
  46. package/lib/style-evidence.mjs +39 -0
  47. package/lib/style-lifecycle.mjs +125 -120
  48. package/lib/style-report.mjs +201 -0
  49. package/lib/style-review.mjs +14 -75
  50. package/lib/task-contract.mjs +93 -91
  51. package/lib/tasks.mjs +497 -495
  52. package/lib/templates.mjs +80 -74
  53. package/lib/vision.mjs +56 -46
  54. package/lib/workspace.mjs +292 -238
  55. package/package.json +3 -5
  56. package/rules/core-guidance.json +22 -22
  57. package/skills/art-workshop/SKILL.md +17 -116
  58. package/skills/art-workshop/references/conversation.md +11 -0
  59. package/skills/art-workshop/references/expression.md +27 -0
  60. package/skills/art-workshop/references/getty.md +76 -0
  61. package/skills/art-workshop/references/project.md +109 -0
  62. package/skills/art-workshop/references/style-discussion.md +27 -0
  63. package/skills/art-workshop/scripts/getty.py +269 -0
  64. package/v-cli.plugin.json +2747 -2491
  65. package/scripts/sync-skill.mjs +0 -6
  66. /package/{skills/art-workshop → adapters/codex}/agents/openai.yaml +0 -0
@@ -1,6 +0,0 @@
1
- import {autoSync} from '../lib/agent.mjs';
2
- import {loadSettings} from '../lib/settings.mjs';
3
- try {
4
- const result=process.env.npm_lifecycle_event==='postinstall'&&!loadSettings().autoSyncSkills?{skipped:true,reason:'autoSyncSkills=false'}:autoSync({cwd:process.env.INIT_CWD??process.cwd()});
5
- console.log(JSON.stringify(result,null,2));
6
- } catch(error) {console.error(`美术工坊 skill 同步失败:${error.message};可稍后运行 agent init 重试。`);process.exitCode=1;}