@team-attention/hoyeon-cli 0.8.1 → 0.11.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/dist/cli.js CHANGED
@@ -7836,7 +7836,12 @@ var dev_spec_v4_schema_default = {
7836
7836
  created_at: { type: "string" },
7837
7837
  updated_at: { type: "string" },
7838
7838
  approved_by: { type: "string" },
7839
- approved_at: { type: "string" }
7839
+ approved_at: { type: "string" },
7840
+ type: {
7841
+ type: "string",
7842
+ enum: ["dev", "plain"],
7843
+ description: "Spec type: dev = developer task spec (default), plain = lightweight plain task spec"
7844
+ }
7840
7845
  }
7841
7846
  },
7842
7847
  context: {
@@ -8052,7 +8057,9 @@ var dev_spec_v4_schema_default = {
8052
8057
  type: "array",
8053
8058
  items: { type: "string" }
8054
8059
  },
8055
- acceptance_criteria: { $ref: "#/$defs/taskAcceptanceCriteria" }
8060
+ acceptance_criteria: { $ref: "#/$defs/taskAcceptanceCriteria" },
8061
+ tool: { type: "string" },
8062
+ args: { type: "string" }
8056
8063
  }
8057
8064
  },
8058
8065
  historyEntry: {
@@ -8483,6 +8490,15 @@ async function handleInit(args) {
8483
8490
  { ts: now, type: "spec_created" }
8484
8491
  ]
8485
8492
  };
8493
+ if (parsed.type !== void 0) {
8494
+ const validTypes = ["dev", "plain"];
8495
+ if (!validTypes.includes(parsed.type)) {
8496
+ process.stderr.write(`Error: invalid --type '${parsed.type}'. Valid values: ${validTypes.join(", ")}
8497
+ `);
8498
+ process.exit(1);
8499
+ }
8500
+ specData.meta.type = parsed.type;
8501
+ }
8486
8502
  if (parsed.depth || parsed.interaction) {
8487
8503
  specData.meta.mode = {};
8488
8504
  if (parsed.depth) specData.meta.mode.depth = parsed.depth;
@@ -8824,7 +8840,9 @@ function formatSlim(spec2, rounds, criticalPath) {
8824
8840
  action: t.action,
8825
8841
  type: t.type,
8826
8842
  status: t.status || "pending",
8827
- depends_on: t.depends_on || []
8843
+ depends_on: t.depends_on || [],
8844
+ ...t.tool ? { tool: t.tool } : {},
8845
+ ...t.args ? { args: t.args } : {}
8828
8846
  };
8829
8847
  })
8830
8848
  }))
@@ -9988,7 +10006,7 @@ async function main() {
9988
10006
  process.exit(0);
9989
10007
  }
9990
10008
  if (args[0] === "--version") {
9991
- const version = true ? "0.8.1" : "dev";
10009
+ const version = true ? "0.11.0" : "dev";
9992
10010
  process.stdout.write(`hoyeon-cli v${version}
9993
10011
  `);
9994
10012
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-attention/hoyeon-cli",
3
- "version": "0.8.1",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "Developer CLI for managing dev workflow state",
6
6
  "bin": {
@@ -209,7 +209,12 @@
209
209
  "created_at": { "type": "string" },
210
210
  "updated_at": { "type": "string" },
211
211
  "approved_by": { "type": "string" },
212
- "approved_at": { "type": "string" }
212
+ "approved_at": { "type": "string" },
213
+ "type": {
214
+ "type": "string",
215
+ "enum": ["dev", "plain"],
216
+ "description": "Spec type: dev = developer task spec (default), plain = lightweight plain task spec"
217
+ }
213
218
  }
214
219
  },
215
220
  "context": {
@@ -425,7 +430,9 @@
425
430
  "type": "array",
426
431
  "items": { "type": "string" }
427
432
  },
428
- "acceptance_criteria": { "$ref": "#/$defs/taskAcceptanceCriteria" }
433
+ "acceptance_criteria": { "$ref": "#/$defs/taskAcceptanceCriteria" },
434
+ "tool": { "type": "string" },
435
+ "args": { "type": "string" }
429
436
  }
430
437
  },
431
438
  "historyEntry": {