berget 2.2.2 → 2.2.4
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 +1 -1
- package/dist/src/commands/code.js +3 -3
- package/package.json +1 -1
- package/src/commands/code.ts +3 -3
package/dist/package.json
CHANGED
|
@@ -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@1.
|
|
356
|
+
const install = (0, child_process_1.spawn)('npm', ['install', '-g', 'opencode-ai@1.3'], {
|
|
357
357
|
stdio: 'inherit',
|
|
358
358
|
});
|
|
359
359
|
install.on('close', (code) => {
|
|
@@ -452,7 +452,7 @@ function registerCodeCommands(program) {
|
|
|
452
452
|
// Create opencode.json config — plugin handles auth, models, and provider
|
|
453
453
|
const config = {
|
|
454
454
|
$schema: 'https://opencode.ai/config.json',
|
|
455
|
-
plugin: ['@bergetai/opencode-auth@1.0.
|
|
455
|
+
plugin: ['@bergetai/opencode-auth@1.0.15'],
|
|
456
456
|
username: 'berget-code',
|
|
457
457
|
theme: 'berget-dark',
|
|
458
458
|
share: 'manual',
|
|
@@ -755,7 +755,7 @@ function registerCodeCommands(program) {
|
|
|
755
755
|
// Create latest configuration — plugin handles auth, models, and provider
|
|
756
756
|
const latestConfig = {
|
|
757
757
|
$schema: 'https://opencode.ai/config.json',
|
|
758
|
-
plugin: ['@bergetai/opencode-auth@1.0.
|
|
758
|
+
plugin: ['@bergetai/opencode-auth@1.0.15'],
|
|
759
759
|
username: 'berget-code',
|
|
760
760
|
theme: 'berget-dark',
|
|
761
761
|
share: 'manual',
|
package/package.json
CHANGED
package/src/commands/code.ts
CHANGED
|
@@ -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@1.
|
|
372
|
+
const install = spawn('npm', ['install', '-g', 'opencode-ai@1.3'], {
|
|
373
373
|
stdio: 'inherit',
|
|
374
374
|
})
|
|
375
375
|
|
|
@@ -502,7 +502,7 @@ export function registerCodeCommands(program: Command): void {
|
|
|
502
502
|
// Create opencode.json config — plugin handles auth, models, and provider
|
|
503
503
|
const config = {
|
|
504
504
|
$schema: 'https://opencode.ai/config.json',
|
|
505
|
-
plugin: ['@bergetai/opencode-auth@1.0.
|
|
505
|
+
plugin: ['@bergetai/opencode-auth@1.0.15'],
|
|
506
506
|
username: 'berget-code',
|
|
507
507
|
theme: 'berget-dark',
|
|
508
508
|
share: 'manual',
|
|
@@ -885,7 +885,7 @@ export function registerCodeCommands(program: Command): void {
|
|
|
885
885
|
// Create latest configuration — plugin handles auth, models, and provider
|
|
886
886
|
const latestConfig = {
|
|
887
887
|
$schema: 'https://opencode.ai/config.json',
|
|
888
|
-
plugin: ['@bergetai/opencode-auth@1.0.
|
|
888
|
+
plugin: ['@bergetai/opencode-auth@1.0.15'],
|
|
889
889
|
username: 'berget-code',
|
|
890
890
|
theme: 'berget-dark',
|
|
891
891
|
share: 'manual',
|