@codevector/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.
package/README.md CHANGED
@@ -171,12 +171,12 @@ Override the config root with `CODEVECTOR_CONFIG_DIR`.
171
171
 
172
172
  ## Config file reference
173
173
 
174
- | Tool | File | Format |
175
- | ----------------- | --------------------------------------------------------- | ---------------------- |
176
- | Claude Code | `~/.claude/settings.json` / `.claude/settings.local.json` | JSON |
177
- | opencode | `~/.config/opencode/opencode.json` / `./opencode.json` | JSON (JSONC tolerated) |
178
- | qwen-code | `~/.qwen/settings.json` / `.qwen/settings.json` | JSON |
179
- | qwen-code secrets | `~/.qwen/.env` / `.qwen/.env` | dotenv |
180
- | codex | `~/.codex/config.toml` | TOML |
181
- | codevector credentials | `~/.config/codevector/credentials.json` | JSON (chmod 0600) |
182
- | codevector hook script | `~/.config/codevector/hooks/acceptance.sh` | shell |
174
+ | Tool | File | Format |
175
+ | ---------------------- | --------------------------------------------------------- | ---------------------- |
176
+ | Claude Code | `~/.claude/settings.json` / `.claude/settings.local.json` | JSON |
177
+ | opencode | `~/.config/opencode/opencode.json` / `./opencode.json` | JSON (JSONC tolerated) |
178
+ | qwen-code | `~/.qwen/settings.json` / `.qwen/settings.json` | JSON |
179
+ | qwen-code secrets | `~/.qwen/.env` / `.qwen/.env` | dotenv |
180
+ | codex | `~/.codex/config.toml` | TOML |
181
+ | codevector credentials | `~/.config/codevector/credentials.json` | JSON (chmod 0600) |
182
+ | codevector hook script | `~/.config/codevector/hooks/acceptance.sh` | shell |
package/dist/index.js CHANGED
@@ -16558,7 +16558,9 @@ async function readCredentials() {
16558
16558
  try {
16559
16559
  parsed = JSON.parse(raw);
16560
16560
  } catch {
16561
- throw new Error(`${CREDENTIALS_FILE} is not valid JSON. Run \`codevector logout\` and re-login.`);
16561
+ throw new Error(
16562
+ `${CREDENTIALS_FILE} is not valid JSON. Run \`codevector logout\` and re-login.`
16563
+ );
16562
16564
  }
16563
16565
  return CredentialsFileSchema.parse(parsed);
16564
16566
  }
@@ -16668,7 +16670,9 @@ var authLogoutCommand = defineCommand({
16668
16670
  run() {
16669
16671
  const removed = deleteCredentials();
16670
16672
  if (removed) {
16671
- R2.success("Logged out. Hooks are left in place \u2014 run `codevector auth login` to sign back in.");
16673
+ R2.success(
16674
+ "Logged out. Hooks are left in place \u2014 run `codevector auth login` to sign back in."
16675
+ );
16672
16676
  } else {
16673
16677
  R2.info("No credentials were found. Nothing to do.");
16674
16678
  }
@@ -18043,7 +18047,9 @@ var writeOpencodeConfig = ({
18043
18047
  };
18044
18048
  function syncOpencodeModels(path, availableModels) {
18045
18049
  if (!existsSync5(path)) {
18046
- throw new Error(`No opencode config found at ${path}. Run \`codevector configure opencode\` first.`);
18050
+ throw new Error(
18051
+ `No opencode config found at ${path}. Run \`codevector configure opencode\` first.`
18052
+ );
18047
18053
  }
18048
18054
  const raw = readFileSync5(path, "utf8");
18049
18055
  let parsed;
@@ -19053,7 +19059,7 @@ function buildQuery(args) {
19053
19059
  // package.json
19054
19060
  var package_default = {
19055
19061
  name: "@codevector/cli",
19056
- version: "0.3.2",
19062
+ version: "0.3.3",
19057
19063
  description: "CodeVector CLI \u2014 installs and configures first-party coding-tool integrations.",
19058
19064
  license: "UNLICENSED",
19059
19065
  bin: {
@@ -19082,9 +19088,9 @@ var package_default = {
19082
19088
  "smol-toml": "^1.6.1"
19083
19089
  },
19084
19090
  devDependencies: {
19085
- "@types/node": "25.6.0",
19086
19091
  "@codevector/api": "workspace:*",
19087
19092
  "@codevector/common": "workspace:*",
19093
+ "@types/node": "25.6.0",
19088
19094
  tsup: "^8.5.1",
19089
19095
  tsx: "4.21.0",
19090
19096
  typescript: "6.0.3",