daedalus-cli 1.52.2 → 1.53.0

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/AGENTS.md CHANGED
@@ -1,39 +1,27 @@
1
- # Daedalus — Agent Conventions
2
-
3
- ## Project Identity
1
+ # Daedalus — Agent Conventions ## Project Identity
4
2
  - **Name:** Daedalus (`daedalus-cli` on npm)
5
3
  - **Description:** Local-first AI coding CLI with embedded model router, multi-agent orchestration, and codebase indexing
6
4
  - **Language:** TypeScript (ESM, `"type": "module"`)
7
- - **Node:** >=20
8
-
9
- ## Code Conventions
5
+ - **Node:** >=20 ## Code Conventions
10
6
  - **No comments** in source files unless absolutely necessary for clarity
11
7
  - No emoji in code or docs unless user explicitly requests
12
8
  - Exports: named exports only (no default exports)
13
9
  - Types: Zod schemas in config files, interfaces in `src/types.ts`
14
10
  - Imports: always include `.js` extension in ESM imports (e.g., `'./file.js'`)
15
- - Error handling: throw typed errors, prefer `result` pattern for tool returns
16
-
17
- ## Architecture
11
+ - Error handling: throw typed errors, prefer `result` pattern for tool returns ## Architecture
18
12
  - `src/index.ts` — CLI entry point, REPL loop, command dispatch
19
13
  - `src/config/` — Zod-schema validated config at `~/.daedalus/config.json`
20
14
  - `src/router/` — Model routing (priority/round-robin/fastest), health checks, rate limiting
21
15
  - `src/session/` — SQLite-backed session persistence, project memory, JSONL export
22
16
  - `src/agents/` — Multi-agent orchestration (planner, coder, reviewer, debugger, researcher)
23
17
  - `src/tools/` — 16 built-in tools + MCP transport (stdio + HTTP/SSE)
24
- - `src/indexing/` — FTS5 codebase indexing (TS/JS, Python, Go, Rust)
25
-
26
- ## Testing
18
+ - `src/indexing/` — FTS5 codebase indexing (TS/JS, Python, Go, Rust) ## Testing
27
19
  - Framework: vitest
28
20
  - Run: `npm test` (vitest run, 347+ tests across 40 files)
29
- - Tests co-located as `*.test.ts` under `src/`
30
-
31
- ## Lint
21
+ - Tests co-located as `*.test.ts` under `src/` ## Lint
32
22
  - Framework: eslint v10 (flat config)
33
- - Run: `npm run lint` (eslint src --ext .ts)
34
-
35
- ## CI/CD
36
- - **CI** (`.github/workflows/ci.yml`): on PR lint (ubuntu) + test (win/ubuntu/macos)
37
- - **Release** (`.github/workflows/release.yml`): on push to `main` → `npx semantic-release`
38
- - **Canary** (`.github/workflows/canary.yml`): manual dispatch → publish with `--tag canary`
23
+ - Run: `npm run lint` (eslint src --ext .ts) ## CI/CD
24
+ - **CI** (`.github/workflows/ci.yml`): on PR lint (ubuntu) + test (win/ubuntu/macos)
25
+ - **Release** (`.github/workflows/release.yml`): on push to `main` `npx semantic-release`
26
+ - **Canary** (`.github/workflows/canary.yml`): manual dispatch publish with `--tag canary`
39
27
  - Requires `NPM_TOKEN` and `GITHUB_TOKEN` GitHub secrets