@dosu/cli 0.3.2 → 0.3.3

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/dosu.js +3 -6
  2. package/package.json +2 -2
package/bin/dosu.js CHANGED
@@ -4684,8 +4684,7 @@ async function openBrowserForSetup(cfg, opts) {
4684
4684
  cfg.access_token = token.access_token;
4685
4685
  cfg.refresh_token = token.refresh_token;
4686
4686
  cfg.expires_at = Math.floor(Date.now() / 1000) + token.expires_in;
4687
- if (token.mode === MODE_OSS)
4688
- cfg.mode = MODE_OSS;
4687
+ cfg.mode = token.mode === MODE_OSS ? MODE_OSS : undefined;
4689
4688
  saveConfig(cfg);
4690
4689
  return cfg;
4691
4690
  } catch (err) {
@@ -5100,11 +5099,9 @@ init_config();
5100
5099
  init_providers();
5101
5100
 
5102
5101
  // src/version/version.ts
5103
- var VERSION = "0.3.2";
5104
- var COMMIT = "none";
5105
- var DATE = "unknown";
5102
+ var VERSION = "0.3.3";
5106
5103
  function getVersionString() {
5107
- return `dosu ${VERSION} (${COMMIT}, ${DATE})`;
5104
+ return `v${VERSION}`;
5108
5105
  }
5109
5106
 
5110
5107
  // src/cli/cli.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "dev": "bun run src/index.ts",
21
21
  "dev:local": "DOSU_DEV=true bun run src/index.ts",
22
- "build": "bun --env-file=.env.production build --compile --env=DOSU_* --env=SUPABASE_* src/index.ts --outfile bin/dosu",
22
+ "build": "bun --env-file=.env.production run scripts/build-compile.ts",
23
23
  "build:npm": "bun --env-file=.env.production run scripts/build-npm.ts",
24
24
  "build:all": "bun --env-file=.env.production run scripts/build-all.ts",
25
25
  "test": "bunx vitest run",