jumbo-cli 2.4.0 → 2.6.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/assets/skills/refine-jumbo-goals/SKILL.md +10 -5
- package/dist/application/context/project/get/ContextualProjectView.d.ts +4 -1
- package/dist/application/context/project/get/ContextualProjectView.d.ts.map +1 -1
- package/dist/application/context/project/init/AgentSelection.d.ts +6 -0
- package/dist/application/context/project/init/AgentSelection.d.ts.map +1 -0
- package/dist/application/context/project/init/AgentSelection.js +3 -0
- package/dist/application/context/project/init/AgentSelection.js.map +1 -0
- package/dist/application/context/project/init/IAgentFileProtocol.d.ts +8 -3
- package/dist/application/context/project/init/IAgentFileProtocol.d.ts.map +1 -1
- package/dist/application/context/project/init/InitializeProjectCommandHandler.d.ts +2 -1
- package/dist/application/context/project/init/InitializeProjectCommandHandler.d.ts.map +1 -1
- package/dist/application/context/project/init/InitializeProjectCommandHandler.js +2 -2
- package/dist/application/context/project/init/InitializeProjectCommandHandler.js.map +1 -1
- package/dist/application/context/project/init/InitializeProjectRequest.d.ts +2 -0
- package/dist/application/context/project/init/InitializeProjectRequest.d.ts.map +1 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.d.ts.map +1 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.js +2 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.js.map +1 -1
- package/dist/application/context/project/init/LocalPlanProjectInitGateway.d.ts.map +1 -1
- package/dist/application/context/project/init/LocalPlanProjectInitGateway.js +3 -2
- package/dist/application/context/project/init/LocalPlanProjectInitGateway.js.map +1 -1
- package/dist/application/context/project/init/PlanProjectInitRequest.d.ts +2 -0
- package/dist/application/context/project/init/PlanProjectInitRequest.d.ts.map +1 -1
- package/dist/application/context/project/init/PlanProjectInitResponse.d.ts +2 -0
- package/dist/application/context/project/init/PlanProjectInitResponse.d.ts.map +1 -1
- package/dist/application/context/sessions/SessionInstructionSignal.d.ts +8 -0
- package/dist/application/context/sessions/SessionInstructionSignal.d.ts.map +1 -0
- package/dist/application/context/sessions/SessionInstructionSignal.js +10 -0
- package/dist/application/context/sessions/SessionInstructionSignal.js.map +1 -0
- package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts +3 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts.map +1 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js +5 -3
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +2 -3
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js +19 -10
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts +2 -4
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/AgentFileProtocol.d.ts +7 -3
- package/dist/infrastructure/context/project/init/AgentFileProtocol.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/AgentFileProtocol.js +40 -29
- package/dist/infrastructure/context/project/init/AgentFileProtocol.js.map +1 -1
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.d.ts +5 -0
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.js +7 -0
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/CopilotConfigurer.d.ts +5 -0
- package/dist/infrastructure/context/project/init/CopilotConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/CopilotConfigurer.js +7 -0
- package/dist/infrastructure/context/project/init/CopilotConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/GeminiConfigurer.d.ts +5 -0
- package/dist/infrastructure/context/project/init/GeminiConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/GeminiConfigurer.js +7 -0
- package/dist/infrastructure/context/project/init/GeminiConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/GitHubHooksConfigurer.d.ts +5 -0
- package/dist/infrastructure/context/project/init/GitHubHooksConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/GitHubHooksConfigurer.js +7 -0
- package/dist/infrastructure/context/project/init/GitHubHooksConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/IConfigurer.d.ts +3 -0
- package/dist/infrastructure/context/project/init/IConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +5 -7
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/infrastructure/logging/FileLogger.d.ts +3 -2
- package/dist/infrastructure/logging/FileLogger.d.ts.map +1 -1
- package/dist/infrastructure/logging/FileLogger.js +9 -3
- package/dist/infrastructure/logging/FileLogger.js.map +1 -1
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js +10 -7
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/project/init/project.init.d.ts +10 -0
- package/dist/presentation/cli/commands/project/init/project.init.d.ts.map +1 -1
- package/dist/presentation/cli/commands/project/init/project.init.js +373 -3
- package/dist/presentation/cli/commands/project/init/project.init.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js +36 -3
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +3 -5
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +4 -28
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.js +2 -2
- package/dist/presentation/cli/commands/sessions/start/session.start.js.map +1 -1
- package/package.json +1 -1
|
@@ -20,9 +20,9 @@ class SessionStartOutputBuilder {
|
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Build complete human-readable session start output.
|
|
23
|
-
* Composes project context,
|
|
23
|
+
* Composes project context, session summary, goals, and LLM instructions.
|
|
24
24
|
*/
|
|
25
|
-
buildSessionStartOutput(context
|
|
25
|
+
buildSessionStartOutput(context) {
|
|
26
26
|
this.builder.reset();
|
|
27
27
|
const contextOutput = this.sessionContextOutputBuilder.buildSessionContext(context);
|
|
28
28
|
for (const section of contextOutput.getSections()) {
|
|
@@ -30,9 +30,6 @@ class SessionStartOutputBuilder {
|
|
|
30
30
|
this.builder.addPrompt(section.content);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
if (activityMirror) {
|
|
34
|
-
this.builder.addPrompt(this.renderActivityMirror(activityMirror));
|
|
35
|
-
}
|
|
36
33
|
const allGoals = [
|
|
37
34
|
...context.context.activeGoals,
|
|
38
35
|
...context.context.pausedGoals,
|
|
@@ -49,7 +46,7 @@ class SessionStartOutputBuilder {
|
|
|
49
46
|
/**
|
|
50
47
|
* Build structured JSON output for session start command.
|
|
51
48
|
*/
|
|
52
|
-
buildStructuredOutput(context, sessionId
|
|
49
|
+
buildStructuredOutput(context, sessionId) {
|
|
53
50
|
const allGoals = [
|
|
54
51
|
...context.context.activeGoals,
|
|
55
52
|
...context.context.pausedGoals,
|
|
@@ -57,7 +54,7 @@ class SessionStartOutputBuilder {
|
|
|
57
54
|
];
|
|
58
55
|
const contextData = this.sessionContextOutputBuilder.buildStructuredSessionContext(context);
|
|
59
56
|
const goalsData = this.sessionGoalsOutputBuilder.buildStructuredGoals(allGoals);
|
|
60
|
-
|
|
57
|
+
return {
|
|
61
58
|
projectContext: contextData.projectContext,
|
|
62
59
|
sessionContext: contextData.sessionContext,
|
|
63
60
|
goals: goalsData.goals,
|
|
@@ -69,27 +66,6 @@ class SessionStartOutputBuilder {
|
|
|
69
66
|
sessionId,
|
|
70
67
|
},
|
|
71
68
|
};
|
|
72
|
-
if (activityMirror) {
|
|
73
|
-
result.activityMirror = activityMirror;
|
|
74
|
-
}
|
|
75
|
-
return result;
|
|
76
|
-
}
|
|
77
|
-
renderActivityMirror(mirror) {
|
|
78
|
-
const parts = [];
|
|
79
|
-
if (mirror.entitiesRegistered > 0) {
|
|
80
|
-
parts.push(`${mirror.entitiesRegistered} entities registered`);
|
|
81
|
-
}
|
|
82
|
-
if (mirror.decisionsRecorded > 0) {
|
|
83
|
-
parts.push(`${mirror.decisionsRecorded} decisions recorded`);
|
|
84
|
-
}
|
|
85
|
-
if (mirror.relationsAdded > 0) {
|
|
86
|
-
parts.push(`${mirror.relationsAdded} relations added`);
|
|
87
|
-
}
|
|
88
|
-
if (mirror.goalsAdded > 0) {
|
|
89
|
-
parts.push(`${mirror.goalsAdded} goals added`);
|
|
90
|
-
}
|
|
91
|
-
return `[Activity Mirror] Last ${mirror.sessionCount} sessions: ${parts.join(", ")}\n` +
|
|
92
|
-
`@LLM: This is your impact. These context maintenance actions you took are now available to all future sessions and agents on this project. Keep it up.`;
|
|
93
69
|
}
|
|
94
70
|
}
|
|
95
71
|
exports.SessionStartOutputBuilder = SessionStartOutputBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,qFAA+E;AAC/E,iFAA2E;
|
|
1
|
+
{"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/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AAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,qBAAqB,CAAC,OAA+B,EAAE,SAAiB;QACtE,MAAM,QAAQ,GAAG;YACf,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY;SAChC,CAAC;QAEF,MAAM,WAAW,GAAG,IAAI,CAAC,2BAA2B,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;QAC5F,MAAM,SAAS,GAAG,IAAI,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QAEhF,OAAO;YACL,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,eAAe,EAAE;gBACf,cAAc,EAAE,WAAW,CAAC,4BAA4B;gBACxD,SAAS,EAAE,SAAS,CAAC,uBAAuB;aAC7C;YACD,YAAY,EAAE;gBACZ,SAAS;aACV;SACF,CAAC;IACJ,CAAC;CACF;AAlED,8DAkEC"}
|
|
@@ -47,14 +47,14 @@ async function sessionStart(options, container) {
|
|
|
47
47
|
// 2. RENDER: Display context and result
|
|
48
48
|
const outputBuilder = new SessionStartOutputBuilder_js_1.SessionStartOutputBuilder();
|
|
49
49
|
if (isTextOutput) {
|
|
50
|
-
const output = outputBuilder.buildSessionStartOutput(response.context
|
|
50
|
+
const output = outputBuilder.buildSessionStartOutput(response.context);
|
|
51
51
|
renderer.info(output.toHumanReadable());
|
|
52
52
|
renderer.success("Session started", {
|
|
53
53
|
sessionId: response.sessionId,
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
|
-
renderer.data(outputBuilder.buildStructuredOutput(response.context, response.sessionId
|
|
57
|
+
renderer.data(outputBuilder.buildStructuredOutput(response.context, response.sessionId));
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAiCH,oCAmCC;AAhED,gEAA0D;AAC1D,iFAA2E;AAE3E;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EAAE,6BAA6B;SAC3C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,YAAY,CAAC;CACxD,CAAC;AAEF;;;;;;;;;GASG;AACI,KAAK,UAAU,YAAY,CAChC,OAA8B,EAC9B,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACpC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,KAAK,MAAM,CAAC;QAE9C,IAAI,YAAY,EAAE,CAAC;YACjB,QAAQ,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACpD,CAAC;QAED,2CAA2C;QAC3C,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAEnE,wCAAwC;QACxC,MAAM,aAAa,GAAG,IAAI,wDAAyB,EAAE,CAAC;QAEtD,IAAI,YAAY,EAAE,CAAC;YACjB,MAAM,MAAM,GAAG,aAAa,CAAC,uBAAuB,CAAC,QAAQ,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":";A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