@masslessai/push-todo 4.2.7 → 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 +12 -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
|
|