From 351fa63811f20a882aeef16e075565c54e9ff726 Mon Sep 17 00:00:00 2001 From: NagyVikt Date: Fri, 24 Apr 2026 02:40:07 +0200 Subject: [PATCH] Prepare scoped Colony package for publish The public package needs to ship under the owned npm scope while keeping the existing colony binary and release artifacts stable. Constraint: npm package name colony is unowned for this release lane Rejected: Publish from an uncommitted worktree | npm would get ahead of repo truth Confidence: high Scope-risk: narrow Directive: Keep the binary name as colony unless install and hook docs change together Tested: pnpm --filter @imdeadpool/colony typecheck Tested: pnpm --filter @imdeadpool/colony test Tested: pnpm --filter @imdeadpool/colony pack:release Tested: npm publish ./release --dry-run --access public --cache /tmp/agents-hivemind-npm-cache Tested: pnpm exec changeset status --since main Tested: git diff --cached --check --- .changeset/colony-package-namespace.md | 2 +- .changeset/colony-session-cwd-binding.md | 2 +- .changeset/config.json | 2 +- README.md | 2 +- apps/cli/package.json | 4 ++-- package.json | 4 ++-- scripts/e2e-pack-release.sh | 2 +- scripts/e2e-publish.sh | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.changeset/colony-package-namespace.md b/.changeset/colony-package-namespace.md index d6cfa44..ce42350 100644 --- a/.changeset/colony-package-namespace.md +++ b/.changeset/colony-package-namespace.md @@ -1,5 +1,5 @@ --- -"colony": patch +"@imdeadpool/colony": patch "@colony/compress": patch "@colony/config": patch "@colony/core": patch diff --git a/.changeset/colony-session-cwd-binding.md b/.changeset/colony-session-cwd-binding.md index 151a066..f826568 100644 --- a/.changeset/colony-session-cwd-binding.md +++ b/.changeset/colony-session-cwd-binding.md @@ -1,7 +1,7 @@ --- "@colony/hooks": patch "@colony/storage": patch -"colony": patch +"@imdeadpool/colony": patch --- Bind hook-created sessions back to their repository cwd so colony views can see live Codex/Claude work instead of orphan `cwd: null` sessions. diff --git a/.changeset/config.json b/.changeset/config.json index 5c0b1b1..eba51f8 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -3,7 +3,7 @@ "changelog": "@changesets/cli/changelog", "commit": false, "fixed": [], - "linked": [["@colony/*", "colony"]], + "linked": [["@colony/*", "@imdeadpool/colony"]], "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", diff --git a/README.md b/README.md index 522f8b1..16600ee 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The design is ant-colony inspired on purpose. Agents do not need a central plann ## Install ```bash -npm install -g colony +npm install -g @imdeadpool/colony ``` Register Colony with your IDE or agent runtime: diff --git a/apps/cli/package.json b/apps/cli/package.json index d204144..c226910 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,5 +1,5 @@ { - "name": "colony", + "name": "@imdeadpool/colony", "version": "0.2.0", "license": "MIT", "description": "Local-first memory and coordination for Claude Code, Gemini CLI, OpenCode, Codex, and Cursor.", @@ -19,7 +19,7 @@ "homepage": "https://github.com/recodeee/colony", "repository": { "type": "git", - "url": "https://github.com/recodeee/colony.git" + "url": "git+https://github.com/recodeee/colony.git" }, "bugs": { "url": "https://github.com/recodeee/colony/issues" diff --git a/package.json b/package.json index 5a357c4..8ca02cd 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "homepage": "https://github.com/recodeee/colony", "repository": { "type": "git", - "url": "https://github.com/recodeee/colony.git" + "url": "git+https://github.com/recodeee/colony.git" }, "bugs": { "url": "https://github.com/recodeee/colony/issues" @@ -19,7 +19,7 @@ "packageManager": "pnpm@9.12.0", "scripts": { "build": "pnpm -r --filter \"./packages/*\" --filter \"./apps/*\" build", - "dev": "pnpm --filter colony dev", + "dev": "pnpm --filter @imdeadpool/colony dev", "test": "pnpm -r test", "typecheck": "pnpm -r typecheck", "lint": "biome check .", diff --git a/scripts/e2e-pack-release.sh b/scripts/e2e-pack-release.sh index b0349d7..7c2a4b8 100755 --- a/scripts/e2e-pack-release.sh +++ b/scripts/e2e-pack-release.sh @@ -27,7 +27,7 @@ cleanup mkdir -p "$PACK" "$PREFIX" "$HOME_DIR" echo "==> 1. pack:release (build + pack-release.mjs)" -pnpm --filter colony pack:release >/dev/null +pnpm --filter @imdeadpool/colony pack:release >/dev/null REL="$REPO/apps/cli/release" test -f "$REL/package.json" || { echo "release dir missing package.json"; exit 1; } diff --git a/scripts/e2e-publish.sh b/scripts/e2e-publish.sh index cd4016a..3e4ed97 100755 --- a/scripts/e2e-publish.sh +++ b/scripts/e2e-publish.sh @@ -41,7 +41,7 @@ echo "==> 1. build everything" pnpm build >/dev/null echo "==> 2. stage publish files (README, LICENSE, hooks-scripts)" -pnpm --filter colony stage-publish +pnpm --filter @imdeadpool/colony stage-publish echo "==> 3. npm pack from apps/cli" VERSION=$(node -e "console.log(require('$REPO/apps/cli/package.json').version)")