From e7012edef22322d99894fa7c2be345c4bf060c22 Mon Sep 17 00:00:00 2001 From: minhn4 Date: Wed, 22 Apr 2026 11:31:10 +0700 Subject: [PATCH 1/2] chore: update descriptions --- README.md | 2 +- codev-cli/README.md | 2 +- codev-cli/package.json | 5 ++++- codev-cli/src/const.ts | 4 +++- codev-cli/tsconfig.json | 1 + 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ac4152a..893a863 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CoDev -CoDev — AI Coding Agent Hub. Install, configure, and launch AI coding agents (Claude Code, OpenCode) from a single CLI. +CoDev — AI Coding Agent Hub. Install, configure, and manage AI coding agents (Claude Code, OpenCode, etc.) from a single CLI. ## Install diff --git a/codev-cli/README.md b/codev-cli/README.md index 3f32f60..aa2846a 100644 --- a/codev-cli/README.md +++ b/codev-cli/README.md @@ -1,6 +1,6 @@ # CoDev -CoDev — AI Coding Agent Hub. Install, configure, and launch AI coding agents (Claude Code, OpenCode) from a single CLI. +CoDev — AI Coding Agent Hub. Install, configure, and manage AI coding agents (Claude Code, OpenCode, etc.) from a single CLI. ## Install diff --git a/codev-cli/package.json b/codev-cli/package.json index 7a38860..59da458 100644 --- a/codev-cli/package.json +++ b/codev-cli/package.json @@ -1,6 +1,7 @@ { "name": "codev-ai", "version": "0.1.0", + "description": "CoDev — AI Coding Agent Hub. Install, configure, and manage AI coding agents (Claude Code, OpenCode, etc.) from a single CLI.", "type": "module", "bin": { "codev": "./dist/index.js" @@ -16,7 +17,9 @@ "typecheck": "bunx --bun tsc --noEmit", "check": "bunx --bun @biomejs/biome check", "fix": "bunx --bun @biomejs/biome check --write", - "prepublishOnly": "bun run check && bun run typecheck && bun test && bun run build" + "prepublishOnly": "bun run check && bun run typecheck && bun test && bun run build", + "prepack": "mv README.md README.repo.md && mv ../README.md README.md", + "postpack": "mv README.md ../README.md && mv README.repo.md README.md" }, "dependencies": { "ink": "^7.0.1", diff --git a/codev-cli/src/const.ts b/codev-cli/src/const.ts index 5542d84..536be51 100644 --- a/codev-cli/src/const.ts +++ b/codev-cli/src/const.ts @@ -1,2 +1,4 @@ +import pkg from "../package.json" with { type: "json" }; + export const BASE_URL = atob("aHR0cHM6Ly9uZXRtaW5kLnZpZXR0ZWwudm4v"); -export const VERSION = "0.1.0"; +export const VERSION: string = pkg.version; diff --git a/codev-cli/tsconfig.json b/codev-cli/tsconfig.json index 9cdb512..f3d5e76 100644 --- a/codev-cli/tsconfig.json +++ b/codev-cli/tsconfig.json @@ -10,6 +10,7 @@ "moduleResolution": "bundler", "allowImportingTsExtensions": true, + "resolveJsonModule": true, "verbatimModuleSyntax": true, "noEmit": true, From 6584479fb933ae9422d849784e929086dabf2cf5 Mon Sep 17 00:00:00 2001 From: minhn4 Date: Wed, 22 Apr 2026 11:33:16 +0700 Subject: [PATCH 2/2] minor changes --- codev-cli/.gitignore | 4 ++++ codev-cli/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/codev-cli/.gitignore b/codev-cli/.gitignore index a14702c..83de566 100644 --- a/codev-cli/.gitignore +++ b/codev-cli/.gitignore @@ -6,6 +6,10 @@ out dist *.tgz +# transient swap file from the prepack/postpack README swap; +# only exists mid-publish, but may be left behind if publish aborts +README.repo.md + # code coverage coverage *.lcov diff --git a/codev-cli/package.json b/codev-cli/package.json index 59da458..9e87df1 100644 --- a/codev-cli/package.json +++ b/codev-cli/package.json @@ -1,6 +1,6 @@ { "name": "codev-ai", - "version": "0.1.0", + "version": "0.1.1", "description": "CoDev — AI Coding Agent Hub. Install, configure, and manage AI coding agents (Claude Code, OpenCode, etc.) from a single CLI.", "type": "module", "bin": {