@masslessai/push-todo 4.2.6 → 4.2.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/lib/daemon.js +14 -0
- package/package.json +1 -1
package/lib/daemon.js
CHANGED
|
@@ -394,6 +394,18 @@ function detectCapabilities() {
|
|
|
394
394
|
|
|
395
395
|
caps.project_skills = discoverProjectSkills();
|
|
396
396
|
|
|
397
|
+
// Agent CLI versions (claude-code, openai-codex, openclaw)
|
|
398
|
+
const agentVersions = getAgentVersions();
|
|
399
|
+
const versions = {};
|
|
400
|
+
for (const [type, info] of Object.entries(agentVersions)) {
|
|
401
|
+
if (info.installed && info.version) {
|
|
402
|
+
versions[type] = info.version;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
if (Object.keys(versions).length > 0) {
|
|
406
|
+
caps.agent_versions = versions;
|
|
407
|
+
}
|
|
408
|
+
|
|
397
409
|
return caps;
|
|
398
410
|
}
|
|
399
411
|
|
|
@@ -2136,6 +2148,7 @@ function extractSemanticSummary(worktreePath, sessionId) {
|
|
|
2136
2148
|
const result = execFileSync('claude', [
|
|
2137
2149
|
'--resume', sessionId,
|
|
2138
2150
|
'--print',
|
|
2151
|
+
'--output-format', 'text',
|
|
2139
2152
|
'Summarize what you accomplished in 1-2 sentences. Be specific about outcomes (what was built, fixed, drafted), not process. If you failed or got stuck, explain what went wrong. If no code changes were made, say so. Do not use markdown.'
|
|
2140
2153
|
], {
|
|
2141
2154
|
cwd: worktreePath,
|
|
@@ -2170,6 +2183,7 @@ function extractVisualArtifact(worktreePath, sessionId) {
|
|
|
2170
2183
|
const result = execFileSync('claude', [
|
|
2171
2184
|
'--resume', sessionId,
|
|
2172
2185
|
'--print',
|
|
2186
|
+
'--output-format', 'text',
|
|
2173
2187
|
'Generate a Mermaid diagram showing the key architectural change or flow you implemented. ' +
|
|
2174
2188
|
'Use graph LR for component relationships, sequenceDiagram for API/data flow, ' +
|
|
2175
2189
|
'or gitGraph for branch operations. Keep it simple (5-10 nodes max). ' +
|