@fractary/faber-cli 1.5.37 → 1.5.39
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/plan/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsDpC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/plan/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsDpC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CA0B3C"}
|
|
@@ -19,7 +19,8 @@ import path from 'path';
|
|
|
19
19
|
export function createPlanCommand() {
|
|
20
20
|
return new Command('workflow-plan')
|
|
21
21
|
.description('Plan workflows for GitHub issues')
|
|
22
|
-
.
|
|
22
|
+
.argument('[work-id]', 'Work item ID (e.g., "258")')
|
|
23
|
+
.option('--work-id <ids>', 'Comma-separated list of work item IDs (deprecated: use positional argument)')
|
|
23
24
|
.option('--work-label <labels>', 'Comma-separated label filters (e.g., "workflow:etl,status:approved")')
|
|
24
25
|
.option('--workflow <name>', 'Override workflow (default: read from issue "workflow:*" label)')
|
|
25
26
|
.option('--no-worktree', 'Skip worktree creation')
|
|
@@ -30,8 +31,12 @@ export function createPlanCommand() {
|
|
|
30
31
|
.option('--limit <n>', 'Maximum number of issues to plan', parseInt)
|
|
31
32
|
.option('--order-by <strategy>', 'Order issues by: priority|created|updated (default: none)', 'none')
|
|
32
33
|
.option('--order-direction <dir>', 'Order direction: asc|desc (default: desc)', 'desc')
|
|
33
|
-
.action(async (options) => {
|
|
34
|
+
.action(async (workId, options) => {
|
|
34
35
|
try {
|
|
36
|
+
// Merge positional argument into options (positional takes precedence)
|
|
37
|
+
if (workId && !options.workId) {
|
|
38
|
+
options.workId = workId;
|
|
39
|
+
}
|
|
35
40
|
await executePlanCommand(options);
|
|
36
41
|
}
|
|
37
42
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/commands/session.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/commands/session.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CA6ClD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CA2BlD"}
|
package/dist/commands/session.js
CHANGED
|
@@ -14,6 +14,7 @@ export function createSessionLoadCommand() {
|
|
|
14
14
|
.description('Load active workflow session context')
|
|
15
15
|
.option('--work-id <id>', 'Work item ID to find session for')
|
|
16
16
|
.option('--run-id <id>', 'Specific run ID to load')
|
|
17
|
+
.option('--context <hint>', 'Phase-specific context hint for artifact prioritization')
|
|
17
18
|
.option('--json', 'Output as JSON')
|
|
18
19
|
.action(async (options) => {
|
|
19
20
|
try {
|