gm-oc 2.0.148 → 2.0.149

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.
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
 
3
3
  if (process.env.AGENTGUI_SUBPROCESS === '1') {
4
4
  console.log(JSON.stringify({ additionalContext: '' }));
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
@@ -75,29 +75,13 @@ When exploring unfamiliar code, finding similar patterns, understanding integrat
75
75
  encoding: 'utf-8',
76
76
  stdio: ['pipe', 'pipe', 'pipe'],
77
77
  cwd: projectDir,
78
- timeout: 180000,
78
+ timeout: 15000,
79
79
  killSignal: 'SIGTERM'
80
80
  });
81
81
  } catch (bunErr) {
82
- if (bunErr.killed && bunErr.signal === 'SIGTERM') {
83
- thornOutput = '=== mcp-thorns ===\nSkipped (3min timeout)';
84
- } else {
85
- try {
86
- thornOutput = execSync(`npx -y mcp-thorns@latest`, {
87
- encoding: 'utf-8',
88
- stdio: ['pipe', 'pipe', 'pipe'],
89
- cwd: projectDir,
90
- timeout: 180000,
91
- killSignal: 'SIGTERM'
92
- });
93
- } catch (npxErr) {
94
- if (npxErr.killed && npxErr.signal === 'SIGTERM') {
95
- thornOutput = '=== mcp-thorns ===\nSkipped (3min timeout)';
96
- } else {
97
- thornOutput = `=== mcp-thorns ===\nSkipped (error: ${bunErr.message.split('\n')[0]})`;
98
- }
99
- }
100
- }
82
+ thornOutput = bunErr.killed
83
+ ? '=== mcp-thorns ===\nSkipped (timeout)'
84
+ : `=== mcp-thorns ===\nSkipped (error: ${bunErr.message.split('\n')[0]})`;
101
85
  }
102
86
  outputs.push(`=== This is your initial insight of the repository, look at every possible aspect of this for initial opinionation and to offset the need for code exploration ===\n${thornOutput}`);
103
87
  } catch (e) {
@@ -165,7 +149,3 @@ When exploring unfamiliar code, finding similar patterns, understanding integrat
165
149
 
166
150
 
167
151
 
168
-
169
-
170
-
171
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-oc",
3
- "version": "2.0.148",
3
+ "version": "2.0.149",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",