stigmergy 1.3.77-beta.2 → 1.3.77-beta.3
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
|
@@ -814,8 +814,24 @@ module.exports = ResumeSessionCommand;
|
|
|
814
814
|
|
|
815
815
|
// Export handler function for router
|
|
816
816
|
module.exports.handleResumeCommand = async function(args, options) {
|
|
817
|
-
|
|
818
|
-
|
|
817
|
+
// Always use the enhanced resumesession functionality
|
|
818
|
+
const { spawnSync } = require('child_process');
|
|
819
|
+
const path = require('path');
|
|
820
|
+
|
|
821
|
+
const scriptPath = path.join(__dirname, '../../../..', 'skills', 'resumesession', 'independent-resume.js');
|
|
822
|
+
const result = spawnSync('node', [scriptPath], {
|
|
823
|
+
stdio: 'pipe',
|
|
824
|
+
encoding: 'utf-8',
|
|
825
|
+
cwd: process.cwd()
|
|
826
|
+
});
|
|
827
|
+
|
|
828
|
+
if (result.status === 0) {
|
|
829
|
+
console.log(result.stdout);
|
|
830
|
+
return 0;
|
|
831
|
+
} else {
|
|
832
|
+
console.error('Enhanced resumesession failed:', result.stderr);
|
|
833
|
+
return 1;
|
|
834
|
+
}
|
|
819
835
|
};
|
|
820
836
|
|
|
821
837
|
// Export help function
|