dlw-machine-setup 0.5.10 → 0.5.11

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 (2) hide show
  1. package/bin/installer.js +24 -10
  2. package/package.json +1 -1
package/bin/installer.js CHANGED
@@ -3886,6 +3886,11 @@ async function fetchFactory(token, repo, targetDir) {
3886
3886
  copyDirectory2(workflowSrc, (0, import_path3.join)(factoryDir, "workflow"));
3887
3887
  result.filesInstalled.push("factory/workflow/");
3888
3888
  }
3889
+ const docsSrc = (0, import_path3.join)(extractedPath, "docs");
3890
+ if ((0, import_fs3.existsSync)(docsSrc)) {
3891
+ copyDirectory2(docsSrc, (0, import_path3.join)(factoryDir, "docs"));
3892
+ result.filesInstalled.push("factory/docs/");
3893
+ }
3889
3894
  const rootEntries = (0, import_fs3.readdirSync)(extractedPath, { withFileTypes: true });
3890
3895
  for (const entry of rootEntries) {
3891
3896
  if (entry.isFile()) {
@@ -4221,17 +4226,26 @@ function buildFactorySection() {
4221
4226
  return [
4222
4227
  `## Factory Dev Workflow`,
4223
4228
  ``,
4224
- `Factory is installed. Use \`/factory:dev-plan\` to start or resume the workflow.`,
4229
+ `Factory is installed. Use \`/factory-advisor\` to start or resume the workflow.`,
4225
4230
  ``,
4226
4231
  `Available commands:`,
4227
- `- \`/factory:dev-plan\` \u2014 start or resume the workflow`,
4228
- `- \`/factory:progress\` \u2014 check status`,
4229
- `- \`/factory:analyst\` \u2014 validate a story`,
4230
- `- \`/factory:architect\` \u2014 design architecture`,
4231
- `- \`/factory:planner\` \u2014 create story plan`,
4232
- `- \`/factory:verifier\` \u2014 code review`,
4233
- `- \`/factory:security\` \u2014 OWASP security review`,
4234
- `- \`/factory:test-analyst\` \u2014 test quality review`,
4232
+ `- \`/factory-advisor\` \u2014 start or resume the workflow (main entry point)`,
4233
+ `- \`/factory-flow\` \u2014 guided workflow execution`,
4234
+ `- \`/factory-feature-dev\` \u2014 add a feature to an existing project`,
4235
+ `- \`/factory-dev\` \u2014 execute development tasks`,
4236
+ `- \`/factory-progress\` \u2014 check status`,
4237
+ `- \`/factory-init-state\` \u2014 initialize state for a brownfield project`,
4238
+ `- \`/factory-analyst\` \u2014 validate requirements`,
4239
+ `- \`/factory-architect\` \u2014 design architecture`,
4240
+ `- \`/factory-planner\` \u2014 create story plan`,
4241
+ `- \`/factory-verifier\` \u2014 code review`,
4242
+ `- \`/factory-security\` \u2014 OWASP security review`,
4243
+ `- \`/factory-test-analyst\` \u2014 test quality review`,
4244
+ `- \`/factory-explorer\` \u2014 explore and understand code`,
4245
+ `- \`/factory-docs\` \u2014 documentation hub`,
4246
+ `- \`/factory-docs-generate\` \u2014 auto-generate documentation`,
4247
+ `- \`/factory-docs-manual\` \u2014 manual documentation workflow`,
4248
+ `- \`/factory-office\` \u2014 office mode discussion`,
4235
4249
  ``
4236
4250
  ].join("\n");
4237
4251
  }
@@ -4369,7 +4383,7 @@ var update_gitignore_default = defineStep({
4369
4383
  var import_fs7 = require("fs");
4370
4384
  var import_path7 = require("path");
4371
4385
  var import_os2 = require("os");
4372
- var INSTALLER_VERSION = "0.5.10";
4386
+ var INSTALLER_VERSION = "0.5.11";
4373
4387
  var write_state_default = defineStep({
4374
4388
  name: "write-state",
4375
4389
  label: "Saving installation state",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlw-machine-setup",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "description": "One-shot installer for The Machine toolchain",
5
5
  "bin": {
6
6
  "dlw-machine-setup": "bin/installer.js"