File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 "@ai-sdk/xai" : " 2.0.51" ,
9090 "@aws-sdk/credential-providers" : " 3.993.0" ,
9191 "@clack/prompts" : " 1.0.0-alpha.1" ,
92- "gitlab-ai-provider" : " 5.2.2" ,
93- "opencode-gitlab-auth" : " 2.0.0" ,
9492 "@effect/platform-node" : " catalog:" ,
9593 "@hono/standard-validator" : " 0.1.5" ,
9694 "@hono/zod-validator" : " catalog:" ,
123121 "drizzle-orm" : " catalog:" ,
124122 "effect" : " catalog:" ,
125123 "fuzzysort" : " 3.1.0" ,
124+ "gitlab-ai-provider" : " 5.2.2" ,
126125 "glob" : " 13.0.5" ,
127126 "google-auth-library" : " 10.5.0" ,
128127 "gray-matter" : " 4.0.3" ,
133132 "mime-types" : " 3.0.2" ,
134133 "minimatch" : " 10.0.3" ,
135134 "open" : " 10.1.2" ,
135+ "opencode-gitlab-auth" : " 2.0.0" ,
136136 "opentui-spinner" : " 0.0.6" ,
137137 "partial-json" : " 0.1.7" ,
138138 "remeda" : " catalog:" ,
Original file line number Diff line number Diff line change @@ -199,6 +199,19 @@ for (const item of targets) {
199199 } ,
200200 } )
201201
202+ // Smoke test: only run if binary is for current platform
203+ if ( item . os === process . platform && item . arch === process . arch ) {
204+ const binaryPath = `dist/${ name } /bin/opencode`
205+ console . log ( `Running smoke test: ${ binaryPath } --version` )
206+ try {
207+ const versionOutput = await $ `${ binaryPath } --version` . text ( )
208+ console . log ( `Smoke test passed: ${ versionOutput . trim ( ) } ` )
209+ } catch ( e ) {
210+ console . error ( `Smoke test failed for ${ name } :` , e )
211+ process . exit ( 1 )
212+ }
213+ }
214+
202215 await $ `rm -rf ./dist/${ name } /bin/tui`
203216 await Bun . file ( `dist/${ name } /package.json` ) . write (
204217 JSON . stringify (
You can’t perform that action at this time.
0 commit comments