Archon/package.json
Rasmus Widing 3026a6445d
Add Archon distribution config and directory structure (#101)
* Add Archon distribution config and directory structure

- Create centralized path resolution in src/utils/archon-paths.ts
- Add YAML configuration system (src/config/) with layered loading
- Update Dockerfile and docker-compose for /.archon/ directory
- Add GHCR publish workflow for multi-arch Docker builds
- Create deploy/ directory with end-user docker-compose
- Add /init command to create .archon structure in repos
- Add docs/configuration.md reference guide
- Update README with Quick Start section
- Add bun run validate script
- Update tests for new path defaults (~/.archon/)

Directory structure:
- Local: ~/.archon/{workspaces,worktrees,config.yaml}
- Docker: /.archon/{workspaces,worktrees}
- Repo: .archon/{commands,workflows,config.yaml}

Legacy WORKSPACE_PATH and WORKTREE_BASE env vars still supported.

* Complete Archon distribution config implementation

- Wire up config system in src/index.ts (Task 3.5)
- Remove legacy WORKSPACE_PATH and WORKTREE_BASE support
- Add logConfig() function to config-loader.ts
- Update docker-compose.yml to use ARCHON_DOCKER env var
- Remove legacy env vars from .env.example
- Update all documentation to reference ARCHON_HOME
- Create scripts/validate-setup.sh for setup validation
- Add setup:check script to package.json
- Create docs/getting-started.md guide
- Create docs/archon-architecture.md technical docs
- Update tests to use ARCHON_HOME instead of legacy vars
- Fix validate.md command template for new paths

All plan phases now complete:
- Phase 1: Archon Directory Structure
- Phase 2: Docker Distribution
- Phase 3: YAML Configuration System
- Phase 4: Developer Experience
- Phase 5: Documentation
2025-12-17 21:45:41 +02:00

65 lines
1.8 KiB
JSON

{
"name": "remote-coding-agent",
"version": "1.0.0",
"description": "Remote agentic coding platform - Control AI coding assistants from Telegram, Slack, and GitHub",
"main": "dist/index.js",
"scripts": {
"dev": "bun --watch src/index.ts",
"build": "bun build src/index.ts --outdir=dist --target=bun",
"start": "bun src/index.ts",
"setup-auth": "bun src/scripts/setup-auth.ts",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"test:ci": "bun test --coverage",
"type-check": "bun x tsc --noEmit",
"lint": "bun x eslint . --cache",
"lint:fix": "bun x eslint . --cache --fix",
"format": "bun x prettier --write .",
"format:check": "bun x prettier --check .",
"validate": "bun run type-check && bun run lint && bun test",
"setup:check": "./scripts/validate-setup.sh"
},
"keywords": [
"ai",
"coding-assistant",
"telegram",
"slack",
"github",
"claude",
"codex"
],
"author": "",
"license": "MIT",
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.57",
"@octokit/rest": "^22.0.0",
"@openai/codex-sdk": "^0.64.0",
"@slack/bolt": "^4.6.0",
"discord.js": "^14.16.0",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"pg": "^8.11.0",
"telegraf": "^4.16.0",
"telegramify-markdown": "^1.3.0",
"yaml": "^2.7.1"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/bun": "latest",
"@types/express": "^5.0.5",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "10.1.8",
"prettier": "^3.7.4",
"typescript": "^5.3.0",
"typescript-eslint": "^8.48.0"
},
"engines": {
"bun": ">=1.0.0"
},
"overrides": {
"test-exclude": "^7.0.1"
}
}