snow-flow 8.5.0 → 8.5.2

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.
Files changed (2) hide show
  1. package/bin/opencode +17 -0
  2. package/package.json +3 -2
package/bin/opencode ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { execFileSync } = require('child_process');
4
+ const path = require('path');
5
+
6
+ // Get the path to the nested opencode binary
7
+ const opencodePath = path.join(__dirname, '..', 'node_modules', 'snow-flow-opencode', 'bin', 'opencode');
8
+
9
+ // Execute the opencode binary with all arguments
10
+ try {
11
+ execFileSync(opencodePath, process.argv.slice(2), {
12
+ stdio: 'inherit',
13
+ cwd: process.cwd()
14
+ });
15
+ } catch (error) {
16
+ process.exit(error.status || 1);
17
+ }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "8.5.0",
3
+ "version": "8.5.2",
4
4
  "description": "ServiceNow development with OpenCode - 75+ LLM providers (Claude, GPT, Gemini, Llama, Mistral, DeepSeek, Groq, Ollama) • 410 Optimized Tools • 2 MCP Servers • Native Predictive Intelligence builder • Multi-agent orchestration • Use ANY AI coding assistant",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",
7
7
  "bin": {
8
- "snow-flow": "bin/snow-flow"
8
+ "snow-flow": "bin/snow-flow",
9
+ "opencode": "bin/opencode"
9
10
  },
10
11
  "files": [
11
12
  "dist/",