@tanagram/cli 0.5.33 → 0.5.34
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/dist/npm/darwin-arm64/tanagram +0 -0
- package/dist/npm/darwin-x64/tanagram +0 -0
- package/dist/npm/linux-arm64/tanagram +0 -0
- package/dist/npm/linux-x64/tanagram +0 -0
- package/dist/npm/tanagram_0.5.34_darwin_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.34_darwin_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.34_linux_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.34_linux_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.34_windows_amd64.zip +0 -0
- package/dist/npm/win32-x64/tanagram.exe +0 -0
- package/install.js +32 -0
- package/package.json +1 -1
- package/dist/npm/tanagram_0.5.33_darwin_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.33_darwin_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.33_linux_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.33_linux_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.33_windows_amd64.zip +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/install.js
CHANGED
|
@@ -174,6 +174,35 @@ function installClaudeSkill() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
+
function ensureOpenCode() {
|
|
178
|
+
if (isCIEnvironment()) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
const { execSync } = require('child_process');
|
|
183
|
+
|
|
184
|
+
// Check if opencode is already installed
|
|
185
|
+
try {
|
|
186
|
+
execSync('opencode --version', { stdio: 'ignore' });
|
|
187
|
+
console.error('✓ OpenCode already installed');
|
|
188
|
+
return;
|
|
189
|
+
} catch {
|
|
190
|
+
// Not installed, proceed
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
console.error('Installing OpenCode (LLM agent runtime)...');
|
|
194
|
+
|
|
195
|
+
try {
|
|
196
|
+
execSync('npm install -g opencode-ai', { stdio: 'pipe' });
|
|
197
|
+
console.error('✓ OpenCode installed successfully');
|
|
198
|
+
track('cli.opencode.install.success');
|
|
199
|
+
} catch (err) {
|
|
200
|
+
console.error('Warning: Failed to install OpenCode globally:', err.message);
|
|
201
|
+
console.error(' You can install it manually: npm install -g opencode-ai');
|
|
202
|
+
track('cli.opencode.install.failure', { error: err.message });
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
177
206
|
// Main installation flow
|
|
178
207
|
(async () => {
|
|
179
208
|
// Check if this is a first-time install (no .tanagram directory exists)
|
|
@@ -191,6 +220,9 @@ function installClaudeSkill() {
|
|
|
191
220
|
// Install Claude skill
|
|
192
221
|
installClaudeSkill();
|
|
193
222
|
|
|
223
|
+
// Install OpenCode (LLM agent for eval)
|
|
224
|
+
ensureOpenCode();
|
|
225
|
+
|
|
194
226
|
// Track install success
|
|
195
227
|
track('cli.install.success');
|
|
196
228
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|