Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The design is ant-colony inspired on purpose. Agents do not need a central plann
## Install

```bash
npm install -g @imdeadpool/colony
npm install -g @imdeadpool/colony-cli
```

Register Colony with your IDE or agent runtime:
Expand Down
5 changes: 3 additions & 2 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# @imdeadpool/colony
# @imdeadpool/colony-cli

> History note: the CLI was published as `cavemem` through 0.3.0 and renamed to
> `@imdeadpool/colony` during the 0.3.0 cycle. Version 0.4.0 was consumed by the
> `@imdeadpool/colony` during the 0.3.0 cycle, then `@imdeadpool/colony-cli`
> during the 0.5.0 cycle. Version 0.4.0 was consumed by the
> `@colony/mcp-server` heartbeat bump (the CLI did not publish a 0.4.0); 0.5.0
> is the first linked release where the CLI and `@colony/*` workspace packages
> ship together.
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@imdeadpool/colony",
"name": "@imdeadpool/colony-cli",
"version": "0.5.0",
"license": "MIT",
"description": "Local-first memory and coordination for Claude Code, Gemini CLI, OpenCode, Codex, and Cursor.",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"packageManager": "pnpm@9.12.0",
"scripts": {
"build": "pnpm -r --filter \"./packages/*\" --filter \"./apps/*\" build",
"dev": "pnpm --filter @imdeadpool/colony dev",
"dev": "pnpm --filter @imdeadpool/colony-cli dev",
"test": "pnpm -r test",
"typecheck": "pnpm -r typecheck",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"clean": "pnpm -r exec rm -rf dist && rm -rf node_modules/.cache",
"p": "pnpm run publish:cli",
"publish:cli": "pnpm --filter @imdeadpool/colony pack:release && npm publish apps/cli/release --access public --cache /tmp/agents-hivemind-npm-cache",
"publish:cli:dry-run": "pnpm --filter @imdeadpool/colony pack:release && npm publish apps/cli/release --dry-run --access public --cache /tmp/agents-hivemind-npm-cache",
"publish:cli": "pnpm --filter @imdeadpool/colony-cli pack:release && npm publish apps/cli/release --access public --cache /tmp/agents-hivemind-npm-cache",
"publish:cli:dry-run": "pnpm --filter @imdeadpool/colony-cli pack:release && npm publish apps/cli/release --dry-run --access public --cache /tmp/agents-hivemind-npm-cache",
"release": "changeset publish"
},
"devDependencies": {
Expand Down
7 changes: 3 additions & 4 deletions scripts/e2e-pack-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cleanup
mkdir -p "$PACK" "$PREFIX" "$HOME_DIR"

echo "==> 1. pack:release (build + pack-release.mjs)"
pnpm --filter @imdeadpool/colony pack:release >/dev/null
pnpm --filter @imdeadpool/colony-cli pack:release >/dev/null

REL="$REPO/apps/cli/release"
test -f "$REL/package.json" || { echo "release dir missing package.json"; exit 1; }
Expand All @@ -36,10 +36,9 @@ test -f "$REL/LICENSE" || { echo "release dir missing LICENSE"; exit 1; }
test -d "$REL/hooks-scripts" || { echo "release dir missing hooks-scripts"; exit 1; }

echo "==> 2. npm pack the release dir (mirrors what publish:release uploads)"
VERSION=$(node -e "console.log(require('$REPO/apps/cli/package.json').version)")
( cd "$REL" && npm pack --pack-destination "$PACK" >/dev/null )
TGZ="$PACK/colony-$VERSION.tgz"
test -f "$TGZ" || { echo "tarball missing at $TGZ"; ls "$PACK"; exit 1; }
TGZ=$(node -e "const fs=require('fs'); const path=require('path'); const f=fs.readdirSync('$PACK').find((name)=>name.endsWith('.tgz')); if (!f) process.exit(1); console.log(path.join('$PACK', f));")
test -f "$TGZ" || { echo "tarball missing in $PACK"; ls "$PACK"; exit 1; }

echo "==> 3. install -g into isolated prefix"
npm install --prefix "$PREFIX" --global "$TGZ" >/dev/null
Expand Down
7 changes: 3 additions & 4 deletions scripts/e2e-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ echo "==> 1. build everything"
pnpm build >/dev/null

echo "==> 2. stage publish files (README, LICENSE, hooks-scripts)"
pnpm --filter @imdeadpool/colony stage-publish
pnpm --filter @imdeadpool/colony-cli stage-publish

echo "==> 3. npm pack from apps/cli"
VERSION=$(node -e "console.log(require('$REPO/apps/cli/package.json').version)")
( cd "$REPO/apps/cli" && npm pack --pack-destination "$PACK" >/dev/null )
TGZ="$PACK/colony-$VERSION.tgz"
test -f "$TGZ" || { echo "tarball missing at $TGZ"; ls "$PACK"; exit 1; }
TGZ=$(node -e "const fs=require('fs'); const path=require('path'); const f=fs.readdirSync('$PACK').find((name)=>name.endsWith('.tgz')); if (!f) process.exit(1); console.log(path.join('$PACK', f));")
test -f "$TGZ" || { echo "tarball missing in $PACK"; ls "$PACK"; exit 1; }

echo "==> 4. inspect tarball contents"
tar -tzf "$TGZ" | sort
Expand Down
Loading