berget 2.2.1 → 2.2.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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"
@@ -353,7 +353,7 @@ function installOpencode() {
353
353
  console.log(chalk_1.default.cyan('Installing OpenCode via npm...'));
354
354
  try {
355
355
  yield new Promise((resolve, reject) => {
356
- const install = (0, child_process_1.spawn)('npm', ['install', '-g', 'opencode-ai'], {
356
+ const install = (0, child_process_1.spawn)('npm', ['install', '-g', 'opencode-ai@1.2.27'], {
357
357
  stdio: 'inherit',
358
358
  });
359
359
  install.on('close', (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"
@@ -369,7 +369,7 @@ async function installOpencode(): Promise<boolean> {
369
369
 
370
370
  try {
371
371
  await new Promise<void>((resolve, reject) => {
372
- const install = spawn('npm', ['install', '-g', 'opencode-ai'], {
372
+ const install = spawn('npm', ['install', '-g', 'opencode-ai@1.2.27'], {
373
373
  stdio: 'inherit',
374
374
  })
375
375