stigmergy 1.3.2-beta.5 → 1.3.2-beta.7
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/package.json
CHANGED
package/src/cli/router-beta.js
CHANGED
|
@@ -348,7 +348,7 @@ async function main() {
|
|
|
348
348
|
});
|
|
349
349
|
|
|
350
350
|
// Route commands to CLI tools
|
|
351
|
-
for (const tool of ['claude', 'gemini', 'qwen', 'codebuddy', 'codex', 'iflow', 'qodercli', 'copilot', 'kode']) {
|
|
351
|
+
for (const tool of ['claude', 'gemini', 'qwen', 'codebuddy', 'codex', 'iflow', 'qodercli', 'copilot', 'kode', 'resumesession']) {
|
|
352
352
|
program
|
|
353
353
|
.command(tool)
|
|
354
354
|
.description(`Use ${tool} CLI tool`)
|
|
@@ -20,7 +20,8 @@ class HookDeploymentManager {
|
|
|
20
20
|
'codebuddy',
|
|
21
21
|
'codex',
|
|
22
22
|
'copilot',
|
|
23
|
-
'kode'
|
|
23
|
+
'kode'
|
|
24
|
+
// Note: 'resumesession' is handled separately as a session recovery tool, not a regular CLI
|
|
24
25
|
];
|
|
25
26
|
|
|
26
27
|
// Initialize generators
|
|
@@ -46,6 +47,12 @@ class HookDeploymentManager {
|
|
|
46
47
|
async deployHooksForCLI(cliName, options = {}) {
|
|
47
48
|
console.log(`[HOOK_DEPLOYMENT] Deploying hooks for ${cliName}...`);
|
|
48
49
|
|
|
50
|
+
// Skip resumesession as it's a session recovery tool, not a regular CLI tool
|
|
51
|
+
if (cliName.toLowerCase() === 'resumesession') {
|
|
52
|
+
console.log(`[HOOK_DEPLOYMENT] Skipping hooks deployment for ${cliName} (session recovery tool)`);
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
49
56
|
if (!this.supportedCLIs.includes(cliName.toLowerCase())) {
|
|
50
57
|
throw new Error(`Unsupported CLI: ${cliName}`);
|
|
51
58
|
}
|
|
@@ -7,7 +7,7 @@ class ResumeSessionGenerator {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
this.supportedCLIs = [
|
|
9
9
|
'claude', 'gemini', 'qwen', 'codebuddy', 'codex',
|
|
10
|
-
'iflow', 'qodercli', 'copilot', 'kode'
|
|
10
|
+
'iflow', 'qodercli', 'copilot', 'kode', 'resumesession'
|
|
11
11
|
];
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -691,6 +691,7 @@ if (typeof module !== 'undefined' && module.exports) {
|
|
|
691
691
|
case 'codebuddy':
|
|
692
692
|
case 'codex':
|
|
693
693
|
case 'kode':
|
|
694
|
+
case 'resumesession':
|
|
694
695
|
return 'resumesession-history.js';
|
|
695
696
|
case 'qodercli':
|
|
696
697
|
return 'history.js';
|