jumbo-cli 2.10.0 → 2.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/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js +11 -6
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/goal.approve.d.ts +1 -0
- package/dist/presentation/cli/commands/goals/approve/goal.approve.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/goal.approve.js +6 -4
- package/dist/presentation/cli/commands/goals/approve/goal.approve.js.map +1 -1
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js +9 -5
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/close/goal.close.d.ts +1 -0
- package/dist/presentation/cli/commands/goals/close/goal.close.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/close/goal.close.js +6 -4
- package/dist/presentation/cli/commands/goals/close/goal.close.js.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js +9 -3
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/goal.commit.d.ts +1 -0
- package/dist/presentation/cli/commands/goals/commit/goal.commit.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/goal.commit.js +3 -2
- package/dist/presentation/cli/commands/goals/commit/goal.commit.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js +12 -4
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/goal.reject.d.ts +1 -0
- package/dist/presentation/cli/commands/goals/reject/goal.reject.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/goal.reject.js +3 -2
- package/dist/presentation/cli/commands/goals/reject/goal.reject.js.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js +15 -6
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/goal.submit.d.ts +1 -0
- package/dist/presentation/cli/commands/goals/submit/goal.submit.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/goal.submit.js +3 -2
- package/dist/presentation/cli/commands/goals/submit/goal.submit.js.map +1 -1
- package/dist/presentation/cli/commands/registry/CommandMetadata.d.ts +5 -0
- package/dist/presentation/cli/commands/registry/CommandMetadata.d.ts.map +1 -1
- package/dist/presentation/cli/commands/registry/CommandMetadata.js +9 -0
- package/dist/presentation/cli/commands/registry/CommandMetadata.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export declare class GoalApproveOutputBuilder {
|
|
|
14
14
|
* Build output for successful goal approval.
|
|
15
15
|
* Renders approval result with next steps.
|
|
16
16
|
*/
|
|
17
|
-
buildSuccess(response: QualifyGoalResponse): TerminalOutput;
|
|
17
|
+
buildSuccess(response: QualifyGoalResponse, continueFlag?: boolean): TerminalOutput;
|
|
18
18
|
/**
|
|
19
19
|
* Build output for goal approval failure.
|
|
20
20
|
* Renders error message when goal approval fails.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalApproveOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAE9G;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,mBAAmB,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"GoalApproveOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAE9G;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,mBAAmB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IAqC1F;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -17,9 +17,8 @@ class GoalApproveOutputBuilder {
|
|
|
17
17
|
* Build output for successful goal approval.
|
|
18
18
|
* Renders approval result with next steps.
|
|
19
19
|
*/
|
|
20
|
-
buildSuccess(response) {
|
|
20
|
+
buildSuccess(response, continueFlag = false) {
|
|
21
21
|
this.builder.reset();
|
|
22
|
-
// Header and success message
|
|
23
22
|
this.builder.addPrompt("# Goal Approved\n" +
|
|
24
23
|
`Goal ID: ${response.goalId}\n` +
|
|
25
24
|
`Objective: ${response.objective}\n` +
|
|
@@ -28,10 +27,16 @@ class GoalApproveOutputBuilder {
|
|
|
28
27
|
"## QA Review Passed\n" +
|
|
29
28
|
"The goal has been approved and is ready for codification.\n" +
|
|
30
29
|
"---");
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
30
|
+
let nextSteps;
|
|
31
|
+
if (continueFlag) {
|
|
32
|
+
nextSteps = "## Next Steps\n" +
|
|
33
|
+
"Codify the goal:\n" +
|
|
34
|
+
` Run: jumbo goal codify --id ${response.goalId}`;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
nextSteps = "## [Next Phase] Codification\n" +
|
|
38
|
+
`To codify the goal: jumbo goal codify --id ${response.goalId}`;
|
|
39
|
+
}
|
|
35
40
|
if (response.nextGoalId) {
|
|
36
41
|
nextSteps += "\n\nAfter closing, the next goal in the queue is:\n" +
|
|
37
42
|
` Goal ID: ${response.nextGoalId}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalApproveOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,wBAAwB;IAGnC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA6B;
|
|
1
|
+
{"version":3,"file":"GoalApproveOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,wBAAwB;IAGnC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IA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9B,CAAC;CACF;AA5DD,4DA4DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.approve.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"goal.approve.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAiBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAC3C,SAAS,EAAE,qBAAqB,iBAqBjC"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.metadata = void 0;
|
|
13
13
|
exports.goalApprove = goalApprove;
|
|
14
|
+
const CommandMetadata_js_1 = require("../../registry/CommandMetadata.js");
|
|
14
15
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
15
16
|
const GoalApproveOutputBuilder_js_1 = require("./GoalApproveOutputBuilder.js");
|
|
16
17
|
/**
|
|
@@ -25,7 +26,7 @@ exports.metadata = {
|
|
|
25
26
|
description: "ID of the goal to approve"
|
|
26
27
|
}
|
|
27
28
|
],
|
|
28
|
-
options: [],
|
|
29
|
+
options: [CommandMetadata_js_1.CONTINUE_OPTION],
|
|
29
30
|
examples: [
|
|
30
31
|
{
|
|
31
32
|
command: "jumbo goal approve --id goal_abc123",
|
|
@@ -40,18 +41,19 @@ exports.metadata = {
|
|
|
40
41
|
*/
|
|
41
42
|
async function goalApprove(options, container) {
|
|
42
43
|
const renderer = Renderer_js_1.Renderer.getInstance();
|
|
44
|
+
const outputBuilder = new GoalApproveOutputBuilder_js_1.GoalApproveOutputBuilder();
|
|
43
45
|
try {
|
|
44
46
|
// 1. Execute via controller (delegates to same QualifyGoalController)
|
|
45
47
|
const response = await container.qualifyGoalController.handle({
|
|
46
48
|
goalId: options.id,
|
|
47
49
|
});
|
|
48
50
|
// 2. Build and render output using builder pattern
|
|
49
|
-
const
|
|
50
|
-
const output = outputBuilder.buildSuccess(response);
|
|
51
|
+
const output = outputBuilder.buildSuccess(response, options.continue === true);
|
|
51
52
|
renderer.info(output.toHumanReadable());
|
|
52
53
|
}
|
|
53
54
|
catch (error) {
|
|
54
|
-
|
|
55
|
+
const errorOutput = outputBuilder.buildFailureError(error instanceof Error ? error : String(error));
|
|
56
|
+
renderer.error(errorOutput.toHumanReadable());
|
|
55
57
|
process.exit(1);
|
|
56
58
|
}
|
|
57
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.approve.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAiCH,
|
|
1
|
+
{"version":3,"file":"goal.approve.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAiCH,kCAuBC;AAtDD,0EAAqF;AAErF,gEAA0D;AAC1D,+EAAyE;AAEzE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,2BAA2B;SACzC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qCAAqC;YAC9C,WAAW,EAAE,uCAAuC;SACrD;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,YAAY,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,WAAW,CAC/B,OAA2C,EAC3C,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,MAAM,aAAa,GAAG,IAAI,sDAAwB,EAAE,CAAC;IAErD,IAAI,CAAC;QACH,sEAAsE;QACtE,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,qBAAqB,CAAC,MAAM,CAAC;YAC5D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;QAC/E,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACpG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare class GoalCloseOutputBuilder {
|
|
|
14
14
|
* Build output for successful goal close.
|
|
15
15
|
* Renders close confirmation and optional next goal information.
|
|
16
16
|
*/
|
|
17
|
-
buildSuccess(response: CloseGoalResponse): TerminalOutput;
|
|
17
|
+
buildSuccess(response: CloseGoalResponse, continueFlag?: boolean): TerminalOutput;
|
|
18
18
|
/**
|
|
19
19
|
* Build output for goal close failure.
|
|
20
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCloseOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAC;AAExG;;;;;;GAMG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,iBAAiB,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"GoalCloseOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAC;AAExG;;;;;;GAMG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,iBAAiB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IAmCxF;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -17,15 +17,13 @@ class GoalCloseOutputBuilder {
|
|
|
17
17
|
* Build output for successful goal close.
|
|
18
18
|
* Renders close confirmation and optional next goal information.
|
|
19
19
|
*/
|
|
20
|
-
buildSuccess(response) {
|
|
20
|
+
buildSuccess(response, continueFlag = false) {
|
|
21
21
|
this.builder.reset();
|
|
22
|
-
// Header
|
|
23
22
|
this.builder.addPrompt("# Goal Closed\n" +
|
|
24
23
|
`Goal ID: ${response.goalId}\n` +
|
|
25
24
|
`Objective: ${response.objective}\n` +
|
|
26
25
|
`Status: ${response.status}\n` +
|
|
27
26
|
"---");
|
|
28
|
-
// Next goal in chain (if exists)
|
|
29
27
|
if (response.nextGoal) {
|
|
30
28
|
this.builder.addPrompt("## Next goal in chain:");
|
|
31
29
|
this.builder.addData({
|
|
@@ -33,8 +31,14 @@ class GoalCloseOutputBuilder {
|
|
|
33
31
|
objective: response.nextGoal.objective,
|
|
34
32
|
status: response.nextGoal.status,
|
|
35
33
|
});
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
if (continueFlag) {
|
|
35
|
+
this.builder.addPrompt("Start the next goal immediately. Run:\n" +
|
|
36
|
+
` jumbo goal start --id ${response.nextGoal.goalId}`);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.builder.addPrompt("[Next Phase] Implementation\n" +
|
|
40
|
+
`To start the next goal: jumbo goal start --id ${response.nextGoal.goalId}`);
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
43
|
return this.builder.build();
|
|
40
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCloseOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,sBAAsB;IAGjC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA2B;
|
|
1
|
+
{"version":3,"file":"GoalCloseOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,sBAAsB;IAGjC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA2B,EAAE,eAAwB,KAAK;QACrE,IAAI,CAAC,OA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AO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AAzDD,wDAyDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.close.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"goal.close.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAiBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,SAAS,CAC7B,OAAO,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAC3C,SAAS,EAAE,qBAAqB,iBAqBjC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.metadata = void 0;
|
|
10
10
|
exports.goalClose = goalClose;
|
|
11
|
+
const CommandMetadata_js_1 = require("../../registry/CommandMetadata.js");
|
|
11
12
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
12
13
|
const GoalCloseOutputBuilder_js_1 = require("./GoalCloseOutputBuilder.js");
|
|
13
14
|
/**
|
|
@@ -22,7 +23,7 @@ exports.metadata = {
|
|
|
22
23
|
description: "ID of the goal to close"
|
|
23
24
|
}
|
|
24
25
|
],
|
|
25
|
-
options: [],
|
|
26
|
+
options: [CommandMetadata_js_1.CONTINUE_OPTION],
|
|
26
27
|
examples: [
|
|
27
28
|
{
|
|
28
29
|
command: "jumbo goal close --id goal_abc123",
|
|
@@ -37,18 +38,19 @@ exports.metadata = {
|
|
|
37
38
|
*/
|
|
38
39
|
async function goalClose(options, container) {
|
|
39
40
|
const renderer = Renderer_js_1.Renderer.getInstance();
|
|
41
|
+
const outputBuilder = new GoalCloseOutputBuilder_js_1.GoalCloseOutputBuilder();
|
|
40
42
|
try {
|
|
41
43
|
// 1. Execute via controller
|
|
42
44
|
const response = await container.closeGoalController.handle({
|
|
43
45
|
goalId: options.id,
|
|
44
46
|
});
|
|
45
47
|
// 2. Build and render output using builder pattern
|
|
46
|
-
const
|
|
47
|
-
const output = outputBuilder.buildSuccess(response);
|
|
48
|
+
const output = outputBuilder.buildSuccess(response, options.continue === true);
|
|
48
49
|
renderer.info(output.toHumanReadable());
|
|
49
50
|
}
|
|
50
51
|
catch (error) {
|
|
51
|
-
|
|
52
|
+
const errorOutput = outputBuilder.buildFailureError(error instanceof Error ? error : String(error));
|
|
53
|
+
renderer.error(errorOutput.toHumanReadable());
|
|
52
54
|
process.exit(1);
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.close.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,
|
|
1
|
+
{"version":3,"file":"goal.close.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,8BAuBC;AAtDD,0EAAqF;AAErF,gEAA0D;AAC1D,2EAAqE;AAErE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,yBAAyB;SACvC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,mCAAmC;YAC5C,WAAW,EAAE,iCAAiC;SAC/C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;CACvC,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,SAAS,CAC7B,OAA2C,EAC3C,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,MAAM,aAAa,GAAG,IAAI,kDAAsB,EAAE,CAAC;IAEnD,IAAI,CAAC;QACH,4BAA4B;QAC5B,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC;YAC1D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;QAC/E,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACpG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare class GoalCommitOutputBuilder {
|
|
|
13
13
|
* Build output for successful goal commit.
|
|
14
14
|
* Renders success message with next step to start the goal.
|
|
15
15
|
*/
|
|
16
|
-
buildSuccess(goalId: string, status: string): TerminalOutput;
|
|
16
|
+
buildSuccess(goalId: string, status: string, continueFlag?: boolean): TerminalOutput;
|
|
17
17
|
/**
|
|
18
18
|
* Build output for goal not found error.
|
|
19
19
|
* Renders error message when goal doesn't exist.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCommitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"GoalCommitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IAoB3F;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;IAOtD;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -17,12 +17,18 @@ class GoalCommitOutputBuilder {
|
|
|
17
17
|
* Build output for successful goal commit.
|
|
18
18
|
* Renders success message with next step to start the goal.
|
|
19
19
|
*/
|
|
20
|
-
buildSuccess(goalId, status) {
|
|
20
|
+
buildSuccess(goalId, status, continueFlag = false) {
|
|
21
21
|
this.builder.reset();
|
|
22
22
|
this.builder.addPrompt("✓ Goal committed");
|
|
23
23
|
this.builder.addData({ goalId, status });
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
if (continueFlag) {
|
|
25
|
+
this.builder.addPrompt("\n@LLM: Goal refinement is committed and ready to start.\n" +
|
|
26
|
+
`Run: jumbo goal start --id ${goalId}`);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.builder.addPrompt("\n[Next Phase] Implementation\n" +
|
|
30
|
+
`The goal is now refined and can be started with: jumbo goal start --id ${goalId}`);
|
|
31
|
+
}
|
|
26
32
|
return this.builder.build();
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCommitOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,MAAc,EAAE,MAAc;
|
|
1
|
+
{"version":3,"file":"GoalCommitOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,MAAc,EAAE,MAAc,EAAE,eAAwB,KAAK;QACxE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;QAEzC,IAAI,YAAY,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,4DAA4D;gBAC5D,8BAA8B,MAAM,EAAE,CACvC,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,iCAAiC;gBACjC,0EAA0E,MAAM,EAAE,CACnF,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,sBAAsB,CAAC,MAAc;QACnC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,2BAA2B,MAAM,EAAE,EAAE,CAAC,CAAC;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,iBAAiB,CAAC,KAAqB;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AAtDD,0DAsDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.commit.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/goal.commit.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"goal.commit.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/goal.commit.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAiBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAC3C,SAAS,EAAE,qBAAqB,iBAoBjC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.metadata = void 0;
|
|
10
10
|
exports.goalCommit = goalCommit;
|
|
11
|
+
const CommandMetadata_js_1 = require("../../registry/CommandMetadata.js");
|
|
11
12
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
12
13
|
const GoalCommitOutputBuilder_js_1 = require("./GoalCommitOutputBuilder.js");
|
|
13
14
|
/**
|
|
@@ -22,7 +23,7 @@ exports.metadata = {
|
|
|
22
23
|
description: "ID of the goal to commit"
|
|
23
24
|
}
|
|
24
25
|
],
|
|
25
|
-
options: [],
|
|
26
|
+
options: [CommandMetadata_js_1.CONTINUE_OPTION],
|
|
26
27
|
examples: [
|
|
27
28
|
{
|
|
28
29
|
command: "jumbo goal commit --id goal_abc123",
|
|
@@ -44,7 +45,7 @@ async function goalCommit(options, container) {
|
|
|
44
45
|
goalId: options.id,
|
|
45
46
|
});
|
|
46
47
|
// 2. Build and render output using builder pattern
|
|
47
|
-
const output = outputBuilder.buildSuccess(response.goalId, response.status);
|
|
48
|
+
const output = outputBuilder.buildSuccess(response.goalId, response.status, options.continue === true);
|
|
48
49
|
renderer.info(output.toHumanReadable());
|
|
49
50
|
}
|
|
50
51
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.commit.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/goal.commit.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;
|
|
1
|
+
{"version":3,"file":"goal.commit.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/goal.commit.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;AArDD,0EAAqF;AAErF,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,oCAAoC;YAC7C,WAAW,EAAE,8CAA8C;SAC5D;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,cAAc,CAAC;CACvD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAC9B,OAA2C,EAC3C,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;IAEpD,IAAI,CAAC;QACH,4BAA4B;QAC5B,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC3D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;QACvG,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACpG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare class GoalRejectOutputBuilder {
|
|
|
14
14
|
* Build output for successful goal rejection.
|
|
15
15
|
* Renders rejection result with review issues and next steps for the implementing agent.
|
|
16
16
|
*/
|
|
17
|
-
buildSuccess(response: RejectGoalResponse): TerminalOutput;
|
|
17
|
+
buildSuccess(response: RejectGoalResponse, continueFlag?: boolean): TerminalOutput;
|
|
18
18
|
/**
|
|
19
19
|
* Build output for goal rejection failure.
|
|
20
20
|
* Renders error message when goal rejection fails.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalRejectOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAE3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"GoalRejectOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAE3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IAuCzF;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -17,7 +17,7 @@ class GoalRejectOutputBuilder {
|
|
|
17
17
|
* Build output for successful goal rejection.
|
|
18
18
|
* Renders rejection result with review issues and next steps for the implementing agent.
|
|
19
19
|
*/
|
|
20
|
-
buildSuccess(response) {
|
|
20
|
+
buildSuccess(response, continueFlag = false) {
|
|
21
21
|
this.builder.reset();
|
|
22
22
|
this.builder.addPrompt("# Goal Rejected\n" +
|
|
23
23
|
`Goal ID: ${response.goalId}\n` +
|
|
@@ -28,9 +28,17 @@ class GoalRejectOutputBuilder {
|
|
|
28
28
|
"The goal has been returned for rework. The following issues were found:\n\n" +
|
|
29
29
|
`${response.reviewIssues}\n` +
|
|
30
30
|
"---");
|
|
31
|
-
let nextSteps
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
let nextSteps;
|
|
32
|
+
if (continueFlag) {
|
|
33
|
+
nextSteps = "## Next Steps\n" +
|
|
34
|
+
"The implementing agent should address the review issues and restart the goal:\n" +
|
|
35
|
+
` Run: jumbo goal start --id ${response.goalId}`;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
nextSteps = "## [Next Phase] Rework\n" +
|
|
39
|
+
"The implementing agent should address the review issues.\n" +
|
|
40
|
+
`To restart the goal: jumbo goal start --id ${response.goalId}`;
|
|
41
|
+
}
|
|
34
42
|
if (response.nextGoalId) {
|
|
35
43
|
nextSteps += "\n\nThe next goal in the queue is:\n" +
|
|
36
44
|
` Goal ID: ${response.nextGoalId}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalRejectOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B;
|
|
1
|
+
{"version":3,"file":"GoalRejectOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B,EAAE,eAAwB,KAAK;QACtE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAErB,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,mBAAmB;YACnB,YAAY,QAAQ,CAAC,MAAM,IAAI;YAC/B,cAAc,QAAQ,CAAC,SAAS,IAAI;YACpC,WAAW,QAAQ,CAAC,MAAM,IAAI;YAC9B,SAAS;YACT,uBAAuB;YACvB,6EAA6E;YAC7E,GAAG,QAAQ,CAAC,YAAY,IAAI;YAC5B,KAAK,CACN,CAAC;QAEF,IAAI,SAAiB,CAAC;QAEtB,IAAI,YAAY,EAAE,CAAC;YACjB,SAAS,GAAG,iBAAiB;gBACjB,iFAAiF;gBACjF,gCAAgC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAChE,CAAC;aAAM,CAAC;YACN,SAAS,GAAG,0BAA0B;gBAC1B,4DAA4D;gBAC5D,8CAA8C,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC9E,CAAC;QAED,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;YACxB,SAAS,IAAI,sCAAsC;gBACtC,cAAc,QAAQ,CAAC,UAAU,EAAE,CAAC;QACnD,CAAC;QAED,SAAS,IAAI,SAAS,CAAC;QAEvB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAElC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,iBAAiB,CAAC,KAAqB;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AA9DD,0DA8DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.reject.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/goal.reject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"goal.reject.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/goal.reject.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAqBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EACjE,SAAS,EAAE,qBAAqB,iBAqBjC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.metadata = void 0;
|
|
11
11
|
exports.goalReject = goalReject;
|
|
12
|
+
const CommandMetadata_js_1 = require("../../registry/CommandMetadata.js");
|
|
12
13
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
13
14
|
const GoalRejectOutputBuilder_js_1 = require("./GoalRejectOutputBuilder.js");
|
|
14
15
|
/**
|
|
@@ -27,7 +28,7 @@ exports.metadata = {
|
|
|
27
28
|
description: "Description of implementation problems that need fixing"
|
|
28
29
|
}
|
|
29
30
|
],
|
|
30
|
-
options: [],
|
|
31
|
+
options: [CommandMetadata_js_1.CONTINUE_OPTION],
|
|
31
32
|
examples: [
|
|
32
33
|
{
|
|
33
34
|
command: 'jumbo goal reject --id goal_abc123 --review-issues "Missing error handling in API endpoint"',
|
|
@@ -50,7 +51,7 @@ async function goalReject(options, container) {
|
|
|
50
51
|
reviewIssues: options.reviewIssues,
|
|
51
52
|
});
|
|
52
53
|
// 2. Build and render output using builder pattern
|
|
53
|
-
const output = outputBuilder.buildSuccess(response);
|
|
54
|
+
const output = outputBuilder.buildSuccess(response, options.continue === true);
|
|
54
55
|
renderer.info(output.toHumanReadable());
|
|
55
56
|
}
|
|
56
57
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.reject.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/goal.reject.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqCH,gCAuBC;
|
|
1
|
+
{"version":3,"file":"goal.reject.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/reject/goal.reject.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqCH,gCAuBC;AA1DD,0EAAqF;AAErF,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,MAAM;IAChB,eAAe,EA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7 @@ export declare class GoalSubmitOutputBuilder {
|
|
|
14
14
|
* Build output for successful goal submission.
|
|
15
15
|
* Renders success message with next step to review the goal.
|
|
16
16
|
*/
|
|
17
|
-
buildSuccess(response: SubmitGoalResponse): TerminalOutput;
|
|
17
|
+
buildSuccess(response: SubmitGoalResponse, continueFlag?: boolean): TerminalOutput;
|
|
18
18
|
/**
|
|
19
19
|
* Build output for goal submit failure.
|
|
20
20
|
* Renders error message when goal submission fails.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalSubmitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAE3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"GoalSubmitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAE3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IA4BzF;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -17,16 +17,25 @@ class GoalSubmitOutputBuilder {
|
|
|
17
17
|
* Build output for successful goal submission.
|
|
18
18
|
* Renders success message with next step to review the goal.
|
|
19
19
|
*/
|
|
20
|
-
buildSuccess(response) {
|
|
20
|
+
buildSuccess(response, continueFlag = false) {
|
|
21
21
|
this.builder.reset();
|
|
22
|
-
|
|
22
|
+
const header = "# Goal Submitted\n" +
|
|
23
23
|
`Goal ID: ${response.goalId}\n` +
|
|
24
24
|
`Objective: ${response.objective}\n` +
|
|
25
25
|
`Status: ${response.status}\n` +
|
|
26
|
-
"---\n
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
"---\n";
|
|
27
|
+
if (continueFlag) {
|
|
28
|
+
this.builder.addPrompt(header + "\n" +
|
|
29
|
+
"@LLM: Implementation submitted. The goal is now awaiting QA review.\n" +
|
|
30
|
+
`Run: jumbo goal review --id ${response.goalId}\n` +
|
|
31
|
+
"---");
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.builder.addPrompt(header + "\n" +
|
|
35
|
+
"[Next Phase] QA Review\n" +
|
|
36
|
+
`The goal is now awaiting QA review. To start the review: jumbo goal review --id ${response.goalId}\n` +
|
|
37
|
+
"---");
|
|
38
|
+
}
|
|
30
39
|
return this.builder.build();
|
|
31
40
|
}
|
|
32
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalSubmitOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B;
|
|
1
|
+
{"version":3,"file":"GoalSubmitOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;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.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/goal.submit.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"goal.submit.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/goal.submit.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAiBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAC3C,SAAS,EAAE,qBAAqB,iBAoBjC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.metadata = void 0;
|
|
10
10
|
exports.goalSubmit = goalSubmit;
|
|
11
|
+
const CommandMetadata_js_1 = require("../../registry/CommandMetadata.js");
|
|
11
12
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
12
13
|
const GoalSubmitOutputBuilder_js_1 = require("./GoalSubmitOutputBuilder.js");
|
|
13
14
|
/**
|
|
@@ -22,7 +23,7 @@ exports.metadata = {
|
|
|
22
23
|
description: "ID of the goal to submit"
|
|
23
24
|
}
|
|
24
25
|
],
|
|
25
|
-
options: [],
|
|
26
|
+
options: [CommandMetadata_js_1.CONTINUE_OPTION],
|
|
26
27
|
examples: [
|
|
27
28
|
{
|
|
28
29
|
command: "jumbo goal submit --id goal_abc123",
|
|
@@ -44,7 +45,7 @@ async function goalSubmit(options, container) {
|
|
|
44
45
|
goalId: options.id,
|
|
45
46
|
});
|
|
46
47
|
// 2. Build and render output using builder pattern
|
|
47
|
-
const output = outputBuilder.buildSuccess(response);
|
|
48
|
+
const output = outputBuilder.buildSuccess(response, options.continue === true);
|
|
48
49
|
renderer.info(output.toHumanReadable());
|
|
49
50
|
}
|
|
50
51
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.submit.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/goal.submit.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;
|
|
1
|
+
{"version":3,"file":"goal.submit.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/submit/goal.submit.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;AArDD,0EAAqF;AAErF,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,oCAAoC;YAC7C,WAAW,EAAE,gDAAgD;SAC9D;KACF;IACD,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,CAAC;CACtD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAC9B,OAA2C,EAC3C,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;IAEpD,IAAI,CAAC;QACH,4BAA4B;QAC5B,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC3D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;QAC/E,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACpG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -60,6 +60,11 @@ export interface CommandMetadata {
|
|
|
60
60
|
*/
|
|
61
61
|
requiresProject?: boolean;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Shared option for cross-phase transition commands.
|
|
65
|
+
* When present, next-step output is a directive; when absent, output is informational guidance.
|
|
66
|
+
*/
|
|
67
|
+
export declare const CONTINUE_OPTION: CommandOption;
|
|
63
68
|
/**
|
|
64
69
|
* Registered command with handler
|
|
65
70
|
* Generated at build time by scanning command files
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/registry/CommandMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,iCAAiC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,mBAAmB,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,4DAA4D;IAC5D,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAClC,uBAAuB;IACvB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mGAAmG;IACnG,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,+BAA+B;IAC/B,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAiBA"}
|
|
1
|
+
{"version":3,"file":"CommandMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/registry/CommandMetadata.ts"],"names":[],"mappings":"AA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IAC1B,+BAA+B;IAC/B,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAiBA"}
|
|
@@ -9,7 +9,16 @@
|
|
|
9
9
|
* - Build-time command discovery
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CONTINUE_OPTION = void 0;
|
|
12
13
|
exports.parseCommandPath = parseCommandPath;
|
|
14
|
+
/**
|
|
15
|
+
* Shared option for cross-phase transition commands.
|
|
16
|
+
* When present, next-step output is a directive; when absent, output is informational guidance.
|
|
17
|
+
*/
|
|
18
|
+
exports.CONTINUE_OPTION = {
|
|
19
|
+
flags: "-c, --continue",
|
|
20
|
+
description: "Output next-step as a directive instead of informational guidance",
|
|
21
|
+
};
|
|
13
22
|
/**
|
|
14
23
|
* Convention: Command file paths map to command paths
|
|
15
24
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandMetadata.js","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/registry/CommandMetadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG
|
|
1
|
+
{"version":3,"file":"CommandMetadata.js","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/registry/CommandMetadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AA8FH,4CAoBC;AAvDD;;;GAGG;AACU,QAAA,eAAe,GAAkB;IAC5C,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,mEAAmE;CACjF,CAAC;AAeF;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,QAAgB;IAI/C,qEAAqE;IACrE,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC;IAEvE,iDAAiD;IACjD,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CACb,6BAA6B,QAAQ,6CAA6C,CACnF,CAAC;IACJ,CAAC;IAED,OAAO;QACL,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;QAChB,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;KACrB,CAAC;AACJ,CAAC"}
|