chapterhouse 0.3.7 → 0.3.8
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/api/ralph.js +153 -0
- package/dist/api/ralph.test.js +101 -0
- package/dist/api/server.js +76 -1
- package/dist/copilot/agents.js +6 -1
- package/dist/copilot/hooks.js +157 -0
- package/dist/copilot/hooks.test.js +315 -0
- package/dist/copilot/orchestrator.js +61 -26
- package/dist/copilot/session-manager.js +3 -0
- package/dist/copilot/session-manager.test.js +70 -0
- package/dist/copilot/squad-event-bus.js +27 -0
- package/dist/copilot/tools.js +2 -0
- package/dist/daemon.js +9 -0
- package/dist/squad/charter.js +18 -1
- package/package.json +1 -1
- package/web/dist/assets/{index-Dp72-ITT.js → index-0dDxvEWK.js} +82 -79
- package/web/dist/assets/index-0dDxvEWK.js.map +1 -0
- package/web/dist/assets/index-26ooi9MH.css +10 -0
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-C6ZKr0jC.css +0 -10
- package/web/dist/assets/index-Dp72-ITT.js.map +0 -1
package/dist/squad/charter.js
CHANGED
|
@@ -80,7 +80,16 @@ export async function getSquadCoordinatorSystemMessage(projectRoot) {
|
|
|
80
80
|
const teamContent = existsSync(teamMdPath)
|
|
81
81
|
? readFileSync(teamMdPath, 'utf-8')
|
|
82
82
|
: '(not found — create .squad/team.md to provide project charter context)';
|
|
83
|
-
// 3.
|
|
83
|
+
// 3. Identity files — what the team is focused on and what patterns we use
|
|
84
|
+
const nowMdPath = `${projectRoot}/.squad/identity/now.md`;
|
|
85
|
+
const nowContent = existsSync(nowMdPath)
|
|
86
|
+
? readFileSync(nowMdPath, 'utf-8')
|
|
87
|
+
: '(not found — create .squad/identity/now.md to share current focus)';
|
|
88
|
+
const wisdomMdPath = `${projectRoot}/.squad/identity/wisdom.md`;
|
|
89
|
+
const wisdomContent = existsSync(wisdomMdPath)
|
|
90
|
+
? readFileSync(wisdomMdPath, 'utf-8')
|
|
91
|
+
: '(not found — create .squad/identity/wisdom.md to capture team patterns)';
|
|
92
|
+
// 4. Recent decisions — last ~4000 chars
|
|
84
93
|
const decisionsMdPath = `${projectRoot}/.squad/decisions.md`;
|
|
85
94
|
let decisionsContent = '(no decisions recorded yet)';
|
|
86
95
|
if (existsSync(decisionsMdPath)) {
|
|
@@ -100,6 +109,14 @@ export async function getSquadCoordinatorSystemMessage(projectRoot) {
|
|
|
100
109
|
'',
|
|
101
110
|
teamContent,
|
|
102
111
|
'',
|
|
112
|
+
'## Team Current Focus (What We\'re Doing Now)',
|
|
113
|
+
'',
|
|
114
|
+
nowContent,
|
|
115
|
+
'',
|
|
116
|
+
'## Team Wisdom (Patterns & Lessons)',
|
|
117
|
+
'',
|
|
118
|
+
wisdomContent,
|
|
119
|
+
'',
|
|
103
120
|
'## Recent Decisions',
|
|
104
121
|
'',
|
|
105
122
|
decisionsContent,
|
package/package.json
CHANGED