jumbo-cli 2.1.0 → 2.3.1
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/README.md +4 -6
- package/assets/skills/refine-jumbo-goals/SKILL.md +1 -1
- package/dist/application/context/project/init/IAgentFileProtocol.d.ts +33 -9
- package/dist/application/context/project/init/IAgentFileProtocol.d.ts.map +1 -1
- package/dist/application/context/project/init/IAgentFileProtocol.js +2 -1
- package/dist/application/context/project/init/IAgentFileProtocol.js.map +1 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.d.ts +3 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.d.ts.map +1 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.js +4 -1
- package/dist/application/context/project/init/LocalInitializeProjectGateway.js.map +1 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js +1 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js.map +1 -1
- package/dist/application/context/sessions/start/IBrownfieldStatusReader.d.ts +17 -0
- package/dist/application/context/sessions/start/IBrownfieldStatusReader.d.ts.map +1 -0
- package/dist/application/{SolutionContextView.js → context/sessions/start/IBrownfieldStatusReader.js} +1 -1
- package/dist/application/context/sessions/start/IBrownfieldStatusReader.js.map +1 -0
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +3 -3
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js +3 -3
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
- package/dist/application/evolve/EvolveController.d.ts.map +1 -1
- package/dist/application/evolve/EvolveController.js +3 -0
- package/dist/application/evolve/EvolveController.js.map +1 -1
- package/dist/application/host/IApplicationContainer.d.ts +2 -4
- package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
- package/dist/domain/project/AgentFileReferenceContent.d.ts +11 -10
- package/dist/domain/project/AgentFileReferenceContent.d.ts.map +1 -1
- package/dist/domain/project/AgentFileReferenceContent.js +17 -31
- package/dist/domain/project/AgentFileReferenceContent.js.map +1 -1
- package/dist/domain/project/AgentsMdContent.d.ts +4 -3
- package/dist/domain/project/AgentsMdContent.d.ts.map +1 -1
- package/dist/domain/project/AgentsMdContent.js +6 -74
- package/dist/domain/project/AgentsMdContent.js.map +1 -1
- package/dist/domain/project/CopilotInstructionsContent.d.ts +11 -6
- package/dist/domain/project/CopilotInstructionsContent.d.ts.map +1 -1
- package/dist/domain/project/CopilotInstructionsContent.js +35 -48
- package/dist/domain/project/CopilotInstructionsContent.js.map +1 -1
- package/dist/domain/project/JumboMdContent.d.ts +45 -0
- package/dist/domain/project/JumboMdContent.d.ts.map +1 -0
- package/dist/domain/project/JumboMdContent.js +157 -0
- package/dist/domain/project/JumboMdContent.js.map +1 -0
- package/dist/infrastructure/context/project/init/AgentFileProtocol.d.ts +10 -2
- package/dist/infrastructure/context/project/init/AgentFileProtocol.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/AgentFileProtocol.js +60 -10
- package/dist/infrastructure/context/project/init/AgentFileProtocol.js.map +1 -1
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.d.ts +3 -3
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.js +13 -14
- package/dist/infrastructure/context/project/init/ClaudeConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/CopilotConfigurer.d.ts +2 -2
- package/dist/infrastructure/context/project/init/CopilotConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/CopilotConfigurer.js +16 -8
- package/dist/infrastructure/context/project/init/CopilotConfigurer.js.map +1 -1
- package/dist/infrastructure/context/project/init/GeminiConfigurer.d.ts +3 -3
- package/dist/infrastructure/context/project/init/GeminiConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/GeminiConfigurer.js +13 -14
- package/dist/infrastructure/context/project/init/GeminiConfigurer.js.map +1 -1
- package/dist/infrastructure/context/sessions/start/SqliteBrownfieldStatusReader.d.ts +16 -0
- package/dist/infrastructure/context/sessions/start/SqliteBrownfieldStatusReader.d.ts.map +1 -0
- package/dist/infrastructure/context/sessions/start/SqliteBrownfieldStatusReader.js +32 -0
- package/dist/infrastructure/context/sessions/start/SqliteBrownfieldStatusReader.js.map +1 -0
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +8 -12
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.d.ts +9 -5
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js +69 -70
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts +33 -0
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js +178 -0
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionGoalsOutputBuilder.d.ts +41 -0
- package/dist/presentation/cli/commands/sessions/start/SessionGoalsOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionGoalsOutputBuilder.js +111 -0
- package/dist/presentation/cli/commands/sessions/start/SessionGoalsOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +26 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +72 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts +6 -28
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js +27 -223
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.d.ts +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.js +6 -22
- package/dist/presentation/cli/commands/sessions/start/session.start.js.map +1 -1
- package/package.json +1 -1
- package/dist/application/ISolutionContextReader.d.ts +0 -17
- package/dist/application/ISolutionContextReader.d.ts.map +0 -1
- package/dist/application/ISolutionContextReader.js +0 -3
- package/dist/application/ISolutionContextReader.js.map +0 -1
- package/dist/application/SolutionContextView.d.ts +0 -26
- package/dist/application/SolutionContextView.d.ts.map +0 -1
- package/dist/application/SolutionContextView.js.map +0 -1
- package/dist/application/UnprimedBrownfieldQualifier.d.ts +0 -29
- package/dist/application/UnprimedBrownfieldQualifier.d.ts.map +0 -1
- package/dist/application/UnprimedBrownfieldQualifier.js +0 -47
- package/dist/application/UnprimedBrownfieldQualifier.js.map +0 -1
- package/dist/infrastructure/SqliteSolutionContextReader.d.ts +0 -20
- package/dist/infrastructure/SqliteSolutionContextReader.d.ts.map +0 -1
- package/dist/infrastructure/SqliteSolutionContextReader.js +0 -138
- package/dist/infrastructure/SqliteSolutionContextReader.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Domain Value Object: AGENTS.md Content
|
|
3
3
|
*
|
|
4
|
-
* Codifies the
|
|
4
|
+
* Codifies the thin reference content for AGENTS.md files that
|
|
5
|
+
* points agents to JUMBO.md as the single source of truth.
|
|
5
6
|
* Handles content generation, section marker management, and
|
|
6
7
|
* section replacement for both current and legacy markers.
|
|
7
8
|
*
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
*/
|
|
11
12
|
export declare class AgentsMdContent {
|
|
12
13
|
/**
|
|
13
|
-
* Generate the Jumbo
|
|
14
|
+
* Generate the Jumbo reference section for AGENTS.md
|
|
14
15
|
*/
|
|
15
16
|
static getJumboSection(): string;
|
|
16
17
|
/**
|
|
@@ -28,7 +29,7 @@ export declare class AgentsMdContent {
|
|
|
28
29
|
*/
|
|
29
30
|
static getLegacyJumboSectionMarkers(): string[];
|
|
30
31
|
/**
|
|
31
|
-
* Replace the Jumbo section in AGENTS.md with the current version.
|
|
32
|
+
* Replace the Jumbo section in AGENTS.md with the current thin reference version.
|
|
32
33
|
* Checks the current marker and all legacy markers to find the section,
|
|
33
34
|
* then replaces everything from the matched marker to the next "## " heading
|
|
34
35
|
* (or EOF) with current getJumboSection().
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentsMdContent.d.ts","sourceRoot":"","sources":["../../../src/domain/project/AgentsMdContent.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AgentsMdContent.d.ts","sourceRoot":"","sources":["../../../src/domain/project/AgentsMdContent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,qBAAa,eAAe;IAC1B;;OAEG;IACH,MAAM,CAAC,eAAe,IAAI,MAAM;IAOhC;;OAEG;IACH,MAAM,CAAC,cAAc,IAAI,MAAM;IAM/B;;OAEG;IACH,MAAM,CAAC,4BAA4B,IAAI,MAAM;IAI7C;;;;OAIG;IACH,MAAM,CAAC,4BAA4B,IAAI,MAAM,EAAE;IAM/C;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CA6BnE"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Domain Value Object: AGENTS.md Content
|
|
4
4
|
*
|
|
5
|
-
* Codifies the
|
|
5
|
+
* Codifies the thin reference content for AGENTS.md files that
|
|
6
|
+
* points agents to JUMBO.md as the single source of truth.
|
|
6
7
|
* Handles content generation, section marker management, and
|
|
7
8
|
* section replacement for both current and legacy markers.
|
|
8
9
|
*
|
|
@@ -13,88 +14,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
14
|
exports.AgentsMdContent = void 0;
|
|
14
15
|
class AgentsMdContent {
|
|
15
16
|
/**
|
|
16
|
-
* Generate the Jumbo
|
|
17
|
+
* Generate the Jumbo reference section for AGENTS.md
|
|
17
18
|
*/
|
|
18
19
|
static getJumboSection() {
|
|
19
20
|
return `## Instructions for Agents on how to collaborate with Jumbo
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
This project uses Jumbo CLI for agent orchestration and context management. Follow all prompts received from running \`jumbo\` commands, and take full advantage of \`jumbo\` commands to ensure optimal collaboration and maximal efficiency in executing goals.
|
|
24
|
-
|
|
25
|
-
Sincerely,
|
|
26
|
-
Project Administrator
|
|
27
|
-
|
|
28
|
-
### When you start a new Session Start
|
|
29
|
-
Run \`jumbo session start\`
|
|
30
|
-
|
|
31
|
-
This orients you with the current state of the project: high-level project, recent events and a goal backlog to select work from.
|
|
32
|
-
|
|
33
|
-
### Pre Compaction/Compression
|
|
34
|
-
If a goal is actively being implemented.
|
|
35
|
-
|
|
36
|
-
Run \`jumbo work pause\`
|
|
37
|
-
|
|
38
|
-
### After Compaction/Compression
|
|
39
|
-
Run \`jumbo work resume\`
|
|
40
|
-
|
|
41
|
-
This will automatically serve context of a goal that you were progressing on prior to compaction.
|
|
42
|
-
|
|
43
|
-
### Before Finishing a Session
|
|
44
|
-
Run \`jumbo session end --focus {focus-description}\` --summary {summary-of-what-transpired}
|
|
45
|
-
|
|
46
|
-
### Before Starting Work on a Goal
|
|
47
|
-
Run \`jumbo goal start --id <id>\`
|
|
48
|
-
|
|
49
|
-
### Be Proactive - Use Jumbo to the Fullest Extent
|
|
50
|
-
Jumbo supercharges your abilities and consistency by supplying you with durable memory. Use is unsparingly. Be vigilant in identifying user decisions that change the existing standards for the project. Document when new patterns are introduced or removed. Capture corrections made by the user in the form of invariants or guidelines. If a new pattern is introduced, capture it. If a new component is introduced capture it. If new relations are relevant, register them. Use the full jumbo command catalog to quickly gain project insights. The rate of successful collaborations and ability to deliver on the developers wishes without error will highly increase the more you leverage Jumbo.
|
|
51
|
-
|
|
52
|
-
### Available Commands
|
|
53
|
-
\`jumbo --help \`
|
|
54
|
-
\`jumbo goal add --help \`
|
|
55
|
-
\`jumbo goal block --help \`
|
|
56
|
-
\`jumbo goal complete --help \`
|
|
57
|
-
\`jumbo goal remove --help \`
|
|
58
|
-
\`jumbo goal reset --help \`
|
|
59
|
-
\`jumbo goal resume --help \`
|
|
60
|
-
\`jumbo goal show --help \`
|
|
61
|
-
\`jumbo goal start --help \`
|
|
62
|
-
\`jumbo goal unblock --help \`
|
|
63
|
-
\`jumbo goal update --help \`
|
|
64
|
-
\`jumbo goals list --help \`
|
|
65
|
-
\`jumbo session end --help \`
|
|
66
|
-
\`jumbo session pause --help \`
|
|
67
|
-
\`jumbo session resume --help \`
|
|
68
|
-
\`jumbo session start --help \`
|
|
69
|
-
\`jumbo architecture define --help \`
|
|
70
|
-
\`jumbo architecture update --help \`
|
|
71
|
-
\`jumbo component add --help \`
|
|
72
|
-
\`jumbo component deprecate --help \`
|
|
73
|
-
\`jumbo component remove --help \`
|
|
74
|
-
\`jumbo component update --help \`
|
|
75
|
-
\`jumbo decision add --help \`
|
|
76
|
-
\`jumbo decision reverse --help \`
|
|
77
|
-
\`jumbo decision supersede --help \`
|
|
78
|
-
\`jumbo decision update --help \`
|
|
79
|
-
\`jumbo dependency add --help \`
|
|
80
|
-
\`jumbo dependency remove --help \`
|
|
81
|
-
\`jumbo dependency update --help \`
|
|
82
|
-
\`jumbo guideline add --help \`
|
|
83
|
-
\`jumbo guideline remove --help \`
|
|
84
|
-
\`jumbo guideline update --help \`
|
|
85
|
-
\`jumbo invariant add --help \`
|
|
86
|
-
\`jumbo invariant remove --help \`
|
|
87
|
-
\`jumbo invariant update --help \`
|
|
88
|
-
|
|
89
|
-
### Next step:
|
|
90
|
-
Run \`jumbo session start\` to retrieve project orientation.
|
|
22
|
+
See JUMBO.md and follow all instructions. If the file does not exist, then ignore this instruction.
|
|
91
23
|
`;
|
|
92
24
|
}
|
|
93
25
|
/**
|
|
94
26
|
* Generate complete AGENTS.md file content
|
|
95
27
|
*/
|
|
96
28
|
static getFullContent() {
|
|
97
|
-
return `#
|
|
29
|
+
return `# AGENTS.md
|
|
98
30
|
|
|
99
31
|
${this.getJumboSection()}`;
|
|
100
32
|
}
|
|
@@ -115,7 +47,7 @@ ${this.getJumboSection()}`;
|
|
|
115
47
|
];
|
|
116
48
|
}
|
|
117
49
|
/**
|
|
118
|
-
* Replace the Jumbo section in AGENTS.md with the current version.
|
|
50
|
+
* Replace the Jumbo section in AGENTS.md with the current thin reference version.
|
|
119
51
|
* Checks the current marker and all legacy markers to find the section,
|
|
120
52
|
* then replaces everything from the matched marker to the next "## " heading
|
|
121
53
|
* (or EOF) with current getJumboSection().
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentsMdContent.js","sourceRoot":"","sources":["../../../src/domain/project/AgentsMdContent.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"AgentsMdContent.js","sourceRoot":"","sources":["../../../src/domain/project/AgentsMdContent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,eAAe;IAC1B;;OAEG;IACH,MAAM,CAAC,eAAe;QACpB,OAAO;;;CAGV,CAAC;IACA,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAc;QACnB,OAAO;;EAET,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,4BAA4B;QACjC,OAAO,6DAA6D,CAAC;IACvE,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,4BAA4B;QACjC,OAAO;YACL,2BAA2B;SAC5B,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,CAAC,eAAuB;QAChD,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,GAAG,IAAI,CAAC,4BAA4B,EAAE,CAAC,CAAC;QAEjG,IAAI,aAAa,GAAkB,IAAI,CAAC;QACxC,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;QAErB,KAAK,MAAM,MAAM,IAAI,UAAU,EAAE,CAAC;YAChC,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC9C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACjB,aAAa,GAAG,MAAM,CAAC;gBACvB,WAAW,GAAG,KAAK,CAAC;gBACpB,MAAM;YACR,CAAC;QACH,CAAC;QAED,IAAI,aAAa,KAAK,IAAI,IAAI,WAAW,KAAK,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;QAE9D,qDAAqD;QACrD,MAAM,WAAW,GAAG,eAAe,CAAC,SAAS,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QAClF,MAAM,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,QAAQ,GAAG,gBAAgB;YAC/B,CAAC,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,GAAG,gBAAgB,CAAC,KAAM;YAC9D,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC;QAE3B,MAAM,MAAM,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACzD,MAAM,KAAK,GAAG,eAAe,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAElD,OAAO,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,GAAG,KAAK,CAAC;IACjD,CAAC;CACF;AA3ED,0CA2EC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Domain Value Object: Copilot Instructions Content
|
|
3
3
|
*
|
|
4
|
-
* Codifies the
|
|
4
|
+
* Codifies the thin reference content for copilot-instructions.md
|
|
5
|
+
* that directs agents to read JUMBO.md on startup.
|
|
5
6
|
* Handles content generation, section marker detection, and section replacement.
|
|
6
7
|
*
|
|
7
8
|
* Rationale: Codified in domain rather than template file to support
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
*/
|
|
10
11
|
export declare class CopilotInstructionsContent {
|
|
11
12
|
/**
|
|
12
|
-
* Generate
|
|
13
|
+
* Generate thin reference content for copilot-instructions.md
|
|
13
14
|
*/
|
|
14
15
|
static getCopilotInstructions(): string;
|
|
15
16
|
/**
|
|
@@ -17,11 +18,15 @@ export declare class CopilotInstructionsContent {
|
|
|
17
18
|
*/
|
|
18
19
|
static getCopilotSectionMarker(): string;
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
* Legacy marker from the previous verbose Copilot instructions.
|
|
22
|
+
*/
|
|
23
|
+
private static getLegacyCopilotSectionMarker;
|
|
24
|
+
/**
|
|
25
|
+
* Replace the Copilot section in copilot-instructions.md with the current thin reference.
|
|
26
|
+
* Finds current or legacy section marker and replaces everything from there
|
|
27
|
+
* to the next "## " heading (or EOF) with current thin reference section.
|
|
23
28
|
*
|
|
24
|
-
* @returns Updated content, or null if marker
|
|
29
|
+
* @returns Updated content, or null if no marker found
|
|
25
30
|
*/
|
|
26
31
|
static replaceCopilotSection(existingContent: string): string | null;
|
|
27
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotInstructionsContent.d.ts","sourceRoot":"","sources":["../../../src/domain/project/CopilotInstructionsContent.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"CopilotInstructionsContent.d.ts","sourceRoot":"","sources":["../../../src/domain/project/CopilotInstructionsContent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,qBAAa,0BAA0B;IACrC;;OAEG;IACH,MAAM,CAAC,sBAAsB,IAAI,MAAM;IASvC;;OAEG;IACH,MAAM,CAAC,uBAAuB,IAAI,MAAM;IAIxC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,6BAA6B;IAI5C;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAkCrE"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Domain Value Object: Copilot Instructions Content
|
|
4
4
|
*
|
|
5
|
-
* Codifies the
|
|
5
|
+
* Codifies the thin reference content for copilot-instructions.md
|
|
6
|
+
* that directs agents to read JUMBO.md on startup.
|
|
6
7
|
* Handles content generation, section marker detection, and section replacement.
|
|
7
8
|
*
|
|
8
9
|
* Rationale: Codified in domain rather than template file to support
|
|
@@ -12,76 +13,62 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
13
|
exports.CopilotInstructionsContent = void 0;
|
|
13
14
|
class CopilotInstructionsContent {
|
|
14
15
|
/**
|
|
15
|
-
* Generate
|
|
16
|
+
* Generate thin reference content for copilot-instructions.md
|
|
16
17
|
*/
|
|
17
18
|
static getCopilotInstructions() {
|
|
18
|
-
return
|
|
19
|
+
return `# copilot-instructions.md
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
## Instructions for Agents on how to collaborate with Jumbo
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
run Jumbo commands to load project context.
|
|
24
|
-
|
|
25
|
-
### MANDATORY FIRST ACTION
|
|
26
|
-
|
|
27
|
-
**Run \`jumbo session start\` at the beginning of each session.**
|
|
28
|
-
|
|
29
|
-
This loads orientation context including:
|
|
30
|
-
- Recent completed work and session state
|
|
31
|
-
- Planned goals and their success criteria
|
|
32
|
-
- Active architectural decisions
|
|
33
|
-
- System invariants and guidelines
|
|
34
|
-
- Project context and domain knowledge
|
|
35
|
-
|
|
36
|
-
### Working with Jumbo
|
|
37
|
-
|
|
38
|
-
1. **Start each session**: Run \`jumbo session start\` to load orientation context
|
|
39
|
-
2. **Start a goal**: Before working on a task, run \`jumbo goal start --id <id>\` to load goal-specific context
|
|
40
|
-
3. **Capture memories**: As you work, run jumbo commands to capture project knowledge:
|
|
41
|
-
- \`jumbo component add\` - Track architectural components
|
|
42
|
-
- \`jumbo decision add\` - Record architectural decisions (ADRs)
|
|
43
|
-
- \`jumbo guideline add\` - Capture coding standards and preferences
|
|
44
|
-
- \`jumbo invariant add\` - Document non-negotiable constraints
|
|
45
|
-
- \`jumbo relation add\` - Link related entities
|
|
46
|
-
|
|
47
|
-
### Available Commands
|
|
48
|
-
|
|
49
|
-
Run \`jumbo --help\` to see all available commands.
|
|
50
|
-
|
|
51
|
-
### Learn More
|
|
52
|
-
|
|
53
|
-
See AGENTS.md for complete instructions on using Jumbo.
|
|
54
|
-
|
|
55
|
-
Run \`jumbo capabilities\` to learn about Jumbo's workflow and philosophy.
|
|
23
|
+
See ../JUMBO.md and follow all instructions. If the file does not exist, then ignore this instruction.
|
|
56
24
|
`;
|
|
57
25
|
}
|
|
58
26
|
/**
|
|
59
27
|
* Marker used to detect if Jumbo section already exists in copilot-instructions.md
|
|
60
28
|
*/
|
|
61
29
|
static getCopilotSectionMarker() {
|
|
30
|
+
return "## Instructions for Agents on how to collaborate with Jumbo";
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Legacy marker from the previous verbose Copilot instructions.
|
|
34
|
+
*/
|
|
35
|
+
static getLegacyCopilotSectionMarker() {
|
|
62
36
|
return "## Jumbo Context Management";
|
|
63
37
|
}
|
|
64
38
|
/**
|
|
65
|
-
* Replace the Copilot section in copilot-instructions.md with the current
|
|
66
|
-
* Finds
|
|
67
|
-
* to the next "## " heading (or EOF) with current
|
|
39
|
+
* Replace the Copilot section in copilot-instructions.md with the current thin reference.
|
|
40
|
+
* Finds current or legacy section marker and replaces everything from there
|
|
41
|
+
* to the next "## " heading (or EOF) with current thin reference section.
|
|
68
42
|
*
|
|
69
|
-
* @returns Updated content, or null if marker
|
|
43
|
+
* @returns Updated content, or null if no marker found
|
|
70
44
|
*/
|
|
71
45
|
static replaceCopilotSection(existingContent) {
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
46
|
+
const allMarkers = [this.getCopilotSectionMarker(), this.getLegacyCopilotSectionMarker()];
|
|
47
|
+
let matchedMarker = null;
|
|
48
|
+
let markerIndex = -1;
|
|
49
|
+
for (const marker of allMarkers) {
|
|
50
|
+
const index = existingContent.indexOf(marker);
|
|
51
|
+
if (index !== -1) {
|
|
52
|
+
matchedMarker = marker;
|
|
53
|
+
markerIndex = index;
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (matchedMarker === null || markerIndex === -1)
|
|
75
58
|
return null;
|
|
76
59
|
// Find the next ## heading after the marker (or EOF)
|
|
77
|
-
const afterMarker = existingContent.substring(markerIndex +
|
|
60
|
+
const afterMarker = existingContent.substring(markerIndex + matchedMarker.length);
|
|
78
61
|
const nextHeadingMatch = afterMarker.match(/\n## /);
|
|
79
62
|
const endIndex = nextHeadingMatch
|
|
80
|
-
? markerIndex +
|
|
63
|
+
? markerIndex + matchedMarker.length + nextHeadingMatch.index
|
|
81
64
|
: existingContent.length;
|
|
82
65
|
const before = existingContent.substring(0, markerIndex);
|
|
83
66
|
const after = existingContent.substring(endIndex);
|
|
84
|
-
|
|
67
|
+
const sectionContent = `## Instructions for Agents on how to collaborate with Jumbo
|
|
68
|
+
|
|
69
|
+
See ../JUMBO.md and follow all instructions. If the file does not exist, then ignore this instruction.
|
|
70
|
+
`;
|
|
71
|
+
return before + sectionContent + after;
|
|
85
72
|
}
|
|
86
73
|
}
|
|
87
74
|
exports.CopilotInstructionsContent = CopilotInstructionsContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotInstructionsContent.js","sourceRoot":"","sources":["../../../src/domain/project/CopilotInstructionsContent.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"CopilotInstructionsContent.js","sourceRoot":"","sources":["../../../src/domain/project/CopilotInstructionsContent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,MAAa,0BAA0B;IACrC;;OAEG;IACH,MAAM,CAAC,sBAAsB;QAC3B,OAAO;;;;;CAKV,CAAC;IACA,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,uBAAuB;QAC5B,OAAO,6DAA6D,CAAC;IACvE,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,6BAA6B;QAC1C,OAAO,6BAA6B,CAAC;IACvC,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAAC,eAAuB;QAClD,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,CAAC,6BAA6B,EAAE,CAAC,CAAC;QAE1F,IAAI,aAAa,GAAkB,IAAI,CAAC;QACxC,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;QAErB,KAAK,MAAM,MAAM,IAAI,UAAU,EAAE,CAAC;YAChC,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC9C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACjB,aAAa,GAAG,MAAM,CAAC;gBACvB,WAAW,GAAG,KAAK,CAAC;gBACpB,MAAM;YACR,CAAC;QACH,CAAC;QAED,IAAI,aAAa,KAAK,IAAI,IAAI,WAAW,KAAK,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;QAE9D,qDAAqD;QACrD,MAAM,WAAW,GAAG,eAAe,CAAC,SAAS,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QAClF,MAAM,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,QAAQ,GAAG,gBAAgB;YAC/B,CAAC,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,GAAG,gBAAgB,CAAC,KAAM;YAC9D,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC;QAE3B,MAAM,MAAM,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACzD,MAAM,KAAK,GAAG,eAAe,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAElD,MAAM,cAAc,GAAG;;;CAG1B,CAAC;QAEE,OAAO,MAAM,GAAG,cAAc,GAAG,KAAK,CAAC;IACzC,CAAC;CACF;AApED,gEAoEC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domain Value Object: JUMBO.md Content
|
|
3
|
+
*
|
|
4
|
+
* Codifies the centralized Jumbo instructions for JUMBO.md, which
|
|
5
|
+
* serves as the single source of truth for agent onboarding.
|
|
6
|
+
* All other agent files (AGENTS.md, CLAUDE.md, GEMINI.md,
|
|
7
|
+
* copilot-instructions.md) are thin references pointing here.
|
|
8
|
+
*
|
|
9
|
+
* Handles content generation, section marker management, and
|
|
10
|
+
* section replacement for both current and legacy markers.
|
|
11
|
+
*
|
|
12
|
+
* Rationale: Codified in domain rather than template file to support
|
|
13
|
+
* npm distribution (no file copying during build).
|
|
14
|
+
*/
|
|
15
|
+
export declare class JumboMdContent {
|
|
16
|
+
/**
|
|
17
|
+
* Generate the Jumbo instructions section for JUMBO.md
|
|
18
|
+
*/
|
|
19
|
+
static getJumboSection(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Generate complete JUMBO.md file content
|
|
22
|
+
*/
|
|
23
|
+
static getFullContent(): string;
|
|
24
|
+
/**
|
|
25
|
+
* The current section heading extracted from getJumboSection().
|
|
26
|
+
*/
|
|
27
|
+
static getCurrentSectionMarker(): string;
|
|
28
|
+
/**
|
|
29
|
+
* All historically used section headings for the Jumbo section.
|
|
30
|
+
* Carried over from AgentsMdContent legacy markers.
|
|
31
|
+
* When the current heading changes, add the previous heading here
|
|
32
|
+
* so that repair/init can find and replace old installations.
|
|
33
|
+
*/
|
|
34
|
+
static getLegacySectionMarkers(): string[];
|
|
35
|
+
/**
|
|
36
|
+
* Replace the Jumbo section in JUMBO.md with the current version.
|
|
37
|
+
* Checks the current marker and all legacy markers to find the section,
|
|
38
|
+
* then replaces everything from the matched marker to the next "## " heading
|
|
39
|
+
* (or EOF) with current getJumboSection().
|
|
40
|
+
*
|
|
41
|
+
* @returns Updated content, or null if no marker found
|
|
42
|
+
*/
|
|
43
|
+
static replaceJumboSection(existingContent: string): string | null;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=JumboMdContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JumboMdContent.d.ts","sourceRoot":"","sources":["../../../src/domain/project/JumboMdContent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,qBAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,eAAe,IAAI,MAAM;IA6EhC;;OAEG;IACH,MAAM,CAAC,cAAc,IAAI,MAAM;IAM/B;;OAEG;IACH,MAAM,CAAC,uBAAuB,IAAI,MAAM;IAIxC;;;;;OAKG;IACH,MAAM,CAAC,uBAAuB,IAAI,MAAM,EAAE;IAM1C;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CA6BnE"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Domain Value Object: JUMBO.md Content
|
|
4
|
+
*
|
|
5
|
+
* Codifies the centralized Jumbo instructions for JUMBO.md, which
|
|
6
|
+
* serves as the single source of truth for agent onboarding.
|
|
7
|
+
* All other agent files (AGENTS.md, CLAUDE.md, GEMINI.md,
|
|
8
|
+
* copilot-instructions.md) are thin references pointing here.
|
|
9
|
+
*
|
|
10
|
+
* Handles content generation, section marker management, and
|
|
11
|
+
* section replacement for both current and legacy markers.
|
|
12
|
+
*
|
|
13
|
+
* Rationale: Codified in domain rather than template file to support
|
|
14
|
+
* npm distribution (no file copying during build).
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.JumboMdContent = void 0;
|
|
18
|
+
class JumboMdContent {
|
|
19
|
+
/**
|
|
20
|
+
* Generate the Jumbo instructions section for JUMBO.md
|
|
21
|
+
*/
|
|
22
|
+
static getJumboSection() {
|
|
23
|
+
return `## Instructions for Agents on how to collaborate with Jumbo
|
|
24
|
+
|
|
25
|
+
Dear Agent,
|
|
26
|
+
|
|
27
|
+
This project uses Jumbo CLI for agent orchestration and context management. Jumbo is a proxy for me. You must follow all prompts received from running \`jumbo\` commands, and take full advantage of \`jumbo\` commands to ensure optimal collaboration and maximal efficiency in executing goals.
|
|
28
|
+
|
|
29
|
+
Sincerely,
|
|
30
|
+
Project Administrator
|
|
31
|
+
|
|
32
|
+
### When you start a new Session Start
|
|
33
|
+
Run \`jumbo session start\`
|
|
34
|
+
|
|
35
|
+
This orients you with the current state of the project: high-level project, recent events and a goal backlog to select work from.
|
|
36
|
+
|
|
37
|
+
### Pre Compaction/Compression
|
|
38
|
+
If a goal is actively being implemented.
|
|
39
|
+
|
|
40
|
+
Run \`jumbo work pause\`
|
|
41
|
+
|
|
42
|
+
### After Compaction/Compression
|
|
43
|
+
Run \`jumbo work resume\`
|
|
44
|
+
|
|
45
|
+
This will automatically serve context of a goal that you were progressing on prior to compaction.
|
|
46
|
+
|
|
47
|
+
### Before Finishing a Session
|
|
48
|
+
Run \`jumbo session end --focus {focus-description}\` --summary {summary-of-what-transpired}
|
|
49
|
+
|
|
50
|
+
### Before Starting Work on a Goal
|
|
51
|
+
Run \`jumbo goal start --id <id>\`
|
|
52
|
+
|
|
53
|
+
### Be Proactive - Use Jumbo to the Fullest Extent
|
|
54
|
+
Jumbo supercharges your abilities and consistency by supplying you with durable memory. Use is unsparingly. Be vigilant in identifying user decisions that change the existing standards for the project. Document when new patterns are introduced or removed. Capture corrections made by the user in the form of invariants or guidelines. If a new pattern is introduced, capture it. If a new component is introduced capture it. If new relations are relevant, register them. Use the full jumbo command catalog to quickly gain project insights. The rate of successful collaborations and ability to deliver on the developers wishes without error will highly increase the more you leverage Jumbo.
|
|
55
|
+
|
|
56
|
+
### Available Commands
|
|
57
|
+
\`jumbo --help \`
|
|
58
|
+
\`jumbo goal add --help \`
|
|
59
|
+
\`jumbo goal refine --help \`
|
|
60
|
+
\`jumbo goal block --help \`
|
|
61
|
+
\`jumbo goal complete --help \`
|
|
62
|
+
\`jumbo goal remove --help \`
|
|
63
|
+
\`jumbo goal reset --help \`
|
|
64
|
+
\`jumbo goal resume --help \`
|
|
65
|
+
\`jumbo goal show --help \`
|
|
66
|
+
\`jumbo goal start --help \`
|
|
67
|
+
\`jumbo goal unblock --help \`
|
|
68
|
+
\`jumbo goal update --help \`
|
|
69
|
+
\`jumbo goals list --help \`
|
|
70
|
+
\`jumbo session end --help \`
|
|
71
|
+
\`jumbo session pause --help \`
|
|
72
|
+
\`jumbo session resume --help \`
|
|
73
|
+
\`jumbo session start --help \`
|
|
74
|
+
\`jumbo architecture define --help \`
|
|
75
|
+
\`jumbo architecture update --help \`
|
|
76
|
+
\`jumbo component add --help \`
|
|
77
|
+
\`jumbo component deprecate --help \`
|
|
78
|
+
\`jumbo component remove --help \`
|
|
79
|
+
\`jumbo component update --help \`
|
|
80
|
+
\`jumbo decision add --help \`
|
|
81
|
+
\`jumbo decision reverse --help \`
|
|
82
|
+
\`jumbo decision supersede --help \`
|
|
83
|
+
\`jumbo decision update --help \`
|
|
84
|
+
\`jumbo dependency add --help \`
|
|
85
|
+
\`jumbo dependency remove --help \`
|
|
86
|
+
\`jumbo dependency update --help \`
|
|
87
|
+
\`jumbo guideline add --help \`
|
|
88
|
+
\`jumbo guideline remove --help \`
|
|
89
|
+
\`jumbo guideline update --help \`
|
|
90
|
+
\`jumbo invariant add --help \`
|
|
91
|
+
\`jumbo invariant remove --help \`
|
|
92
|
+
\`jumbo invariant update --help \`
|
|
93
|
+
|
|
94
|
+
### Next step:
|
|
95
|
+
Run \`jumbo session start\` to retrieve project orientation.
|
|
96
|
+
`;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Generate complete JUMBO.md file content
|
|
100
|
+
*/
|
|
101
|
+
static getFullContent() {
|
|
102
|
+
return `# JUMBO.md
|
|
103
|
+
|
|
104
|
+
${this.getJumboSection()}`;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The current section heading extracted from getJumboSection().
|
|
108
|
+
*/
|
|
109
|
+
static getCurrentSectionMarker() {
|
|
110
|
+
return "## Instructions for Agents on how to collaborate with Jumbo";
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* All historically used section headings for the Jumbo section.
|
|
114
|
+
* Carried over from AgentsMdContent legacy markers.
|
|
115
|
+
* When the current heading changes, add the previous heading here
|
|
116
|
+
* so that repair/init can find and replace old installations.
|
|
117
|
+
*/
|
|
118
|
+
static getLegacySectionMarkers() {
|
|
119
|
+
return [
|
|
120
|
+
"## Instructions for Jumbo",
|
|
121
|
+
];
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Replace the Jumbo section in JUMBO.md with the current version.
|
|
125
|
+
* Checks the current marker and all legacy markers to find the section,
|
|
126
|
+
* then replaces everything from the matched marker to the next "## " heading
|
|
127
|
+
* (or EOF) with current getJumboSection().
|
|
128
|
+
*
|
|
129
|
+
* @returns Updated content, or null if no marker found
|
|
130
|
+
*/
|
|
131
|
+
static replaceJumboSection(existingContent) {
|
|
132
|
+
const allMarkers = [this.getCurrentSectionMarker(), ...this.getLegacySectionMarkers()];
|
|
133
|
+
let matchedMarker = null;
|
|
134
|
+
let markerIndex = -1;
|
|
135
|
+
for (const marker of allMarkers) {
|
|
136
|
+
const index = existingContent.indexOf(marker);
|
|
137
|
+
if (index !== -1) {
|
|
138
|
+
matchedMarker = marker;
|
|
139
|
+
markerIndex = index;
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (matchedMarker === null || markerIndex === -1)
|
|
144
|
+
return null;
|
|
145
|
+
// Find the next ## heading after the marker (or EOF)
|
|
146
|
+
const afterMarker = existingContent.substring(markerIndex + matchedMarker.length);
|
|
147
|
+
const nextHeadingMatch = afterMarker.match(/\n## /);
|
|
148
|
+
const endIndex = nextHeadingMatch
|
|
149
|
+
? markerIndex + matchedMarker.length + nextHeadingMatch.index
|
|
150
|
+
: existingContent.length;
|
|
151
|
+
const before = existingContent.substring(0, markerIndex);
|
|
152
|
+
const after = existingContent.substring(endIndex);
|
|
153
|
+
return before + this.getJumboSection() + after;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.JumboMdContent = JumboMdContent;
|
|
157
|
+
//# sourceMappingURL=JumboMdContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JumboMdContent.js","sourceRoot":"","sources":["../../../src/domain/project/JumboMdContent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,MAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,eAAe;QACpB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEV,CAAC;IACA,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAc;QACnB,OAAO;;EAET,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,uBAAuB;QAC5B,OAAO,6DAA6D,CAAC;IACvE,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,uBAAuB;QAC5B,OAAO;YACL,2BAA2B;SAC5B,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,mBAAmB,CAAC,eAAuB;QAChD,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,GAAG,IAAI,CAAC,uBAAuB,EAAE,CAAC,CAAC;QAEvF,IAAI,aAAa,GAAkB,IAAI,CAAC;QACxC,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;QAErB,KAAK,MAAM,MAAM,IAAI,UAAU,EAAE,CAAC;YAChC,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC9C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACjB,aAAa,GAAG,MAAM,CAAC;gBACvB,WAAW,GAAG,KAAK,CAAC;gBACpB,MAAM;YACR,CAAC;QACH,CAAC;QAED,IAAI,aAAa,KAAK,IAAI,IAAI,WAAW,KAAK,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;QAE9D,qDAAqD;QACrD,MAAM,WAAW,GAAG,eAAe,CAAC,SAAS,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QAClF,MAAM,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,QAAQ,GAAG,gBAAgB;YAC/B,CAAC,CAAC,WAAW,GAAG,aAAa,CAAC,MAAM,GAAG,gBAAgB,CAAC,KAAM;YAC9D,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC;QAE3B,MAAM,MAAM,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACzD,MAAM,KAAK,GAAG,eAAe,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAElD,OAAO,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,GAAG,KAAK,CAAC;IACjD,CAAC;CACF;AAlJD,wCAkJC"}
|
|
@@ -19,7 +19,11 @@ export declare class AgentFileProtocol implements IAgentFileProtocol {
|
|
|
19
19
|
private readonly configurers;
|
|
20
20
|
constructor(templateSkillsRoot?: string);
|
|
21
21
|
/**
|
|
22
|
-
* Ensure
|
|
22
|
+
* Ensure JUMBO.md exists with full Jumbo instructions
|
|
23
|
+
*/
|
|
24
|
+
ensureJumboMd(projectRoot: string): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Ensure AGENTS.md exists with thin reference to JUMBO.md
|
|
23
27
|
*/
|
|
24
28
|
ensureAgentsMd(projectRoot: string): Promise<void>;
|
|
25
29
|
/**
|
|
@@ -27,7 +31,11 @@ export declare class AgentFileProtocol implements IAgentFileProtocol {
|
|
|
27
31
|
*/
|
|
28
32
|
ensureAgentConfigurations(projectRoot: string): Promise<void>;
|
|
29
33
|
/**
|
|
30
|
-
* Repair
|
|
34
|
+
* Repair JUMBO.md by replacing the Jumbo section with the current version
|
|
35
|
+
*/
|
|
36
|
+
repairJumboMd(projectRoot: string): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Repair AGENTS.md by replacing the Jumbo section with the current thin reference
|
|
31
39
|
*/
|
|
32
40
|
repairAgentsMd(projectRoot: string): Promise<void>;
|
|
33
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentFileProtocol.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/AgentFileProtocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AACxG,OAAO,EAAE,iBAAiB,EAAE,MAAM,mEAAmE,CAAC;
|
|
1
|
+
{"version":3,"file":"AgentFileProtocol.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/AgentFileProtocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AACxG,OAAO,EAAE,iBAAiB,EAAE,MAAM,mEAAmE,CAAC;AAgCtG,qBAAa,iBAAkB,YAAW,kBAAkB;IAQ9C,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAP/C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAK1B;gBAE2B,kBAAkB,GAAE,MAAqC;IAEtF;;OAEG;IACG,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBvD;;OAEG;IACG,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBxD;;OAEG;IACG,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQnE;;OAEG;IACG,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBvD;;OAEG;IACG,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBxD;;OAEG;IACG,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYnE;;OAEG;IACG,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;YA+BhE,0BAA0B;YAiC1B,yBAAyB;YAkCzB,0BAA0B;YA6B1B,qBAAqB;CAYpC"}
|