@developerz.ai/aitm 0.0.0 โ†’ 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +81 -17
  2. package/package.json +9 -2
package/README.md CHANGED
@@ -1,30 +1,94 @@
1
- # @developerz.ai/aitm
1
+ # ๐Ÿค– @developerz.ai/aitm
2
2
 
3
- Autonomous task orchestrator. Goal in, merged PRs out.
3
+ > Autonomous task orchestrator. Goal in, merged PRs out.
4
4
 
5
- `aitm` drives a plan โ†’ work โ†’ review loop over a real git repo: an Orchestrator
6
- agent decomposes a goal into PR-sized groups, a Worker opens PRs, and a Reviewer
7
- turns review comments into follow-up commits. Inference runs through OpenRouter.
5
+ Give `aitm` a sentence, walk away, come back to a stack of merged pull requests.
6
+ It runs a **Planner โ†’ Worker โ†’ Reviewer** loop against a real repo using the
7
+ [Vercel AI SDK](https://ai-sdk.dev) and [OpenRouter](https://openrouter.ai), and
8
+ ships the work as PR-sized commits with CI gating and review-comment handling
9
+ baked in.
8
10
 
9
- ## Install
11
+ > ๐Ÿ’ก Spiritual successor to the (deprecated)
12
+ > [`developerz-ai/claude-task-master`](https://github.com/developerz-ai/claude-task-master)
13
+ > โ€” same idea, rebuilt on the AI SDK + OpenRouter: provider-agnostic, concurrent
14
+ > PR groups, MCP client support, smaller surface area.
10
15
 
11
- ```sh
12
- npm install -g @developerz.ai/aitm
16
+ ## โšก Install
17
+
18
+ ```bash
19
+ npm install -g @developerz.ai/aitm
20
+ bun install -g @developerz.ai/aitm
21
+ deno install -A npm:@developerz.ai/aitm
13
22
  ```
14
23
 
15
- This installs the `aitm` command.
24
+ The package is scoped; the installed command is just **`aitm`**.
25
+
26
+ ## ๐Ÿš€ Quickstart
27
+
28
+ ```bash
29
+ export OPENROUTER_API_KEY=sk-or-...
30
+ cd path/to/your/repo
31
+ aitm start "add JWT auth to /login" --max-prs 3
32
+ ```
16
33
 
17
- ## Usage
34
+ `aitm` plans the goal into up to 3 PR-sized groups, opens a branch per group,
35
+ works through them in parallel, opens each PR, watches CI, addresses review
36
+ comments, and **auto-merges**. Want a human gate?
18
37
 
19
- ```sh
20
- export OPENROUTER_API_KEY=... # required
21
- aitm start # plan + work the current repo toward a goal
22
- aitm merge-pr # merge the current task's PR
38
+ ```bash
39
+ aitm start "migrate Mongo โ†’ Postgres" --no-automerge
40
+ # ... review the PR in your browser ...
41
+ aitm merge-pr
23
42
  ```
24
43
 
25
- See the [project README](https://github.com/developerz-ai/ai-task-master#readme)
26
- for configuration (`mcpServers`, per-role models) and the full workflow.
44
+ ## ๐Ÿง  How it works
45
+
46
+ | Role | Responsibility |
47
+ | --- | --- |
48
+ | **Orchestrator** | Top-level agent; drives the run group-by-group |
49
+ | **Planner** | Goal in โ†’ ordered PR groups (each a list of tasks) out |
50
+ | **Worker** | One PR group in โ†’ commits + an opened PR out |
51
+ | **Reviewer** | Review comments in โ†’ follow-up commits out |
52
+
53
+ Subagents are wired with the [subagents-as-tools](https://ai-sdk.dev/docs/agents/subagents)
54
+ pattern (isolated context windows, focused prompts, natural parallelism), built
55
+ on [`@developerz.ai/ai-claude-compat`](https://www.npmjs.com/package/@developerz.ai/ai-claude-compat).
56
+
57
+ ## ๐ŸŽฏ Use cases
58
+
59
+ | What you type | What `aitm` does |
60
+ | --- | --- |
61
+ | `aitm start "add password reset flow"` | Splits into schema + endpoint + email + tests, one PR per slice |
62
+ | `aitm start "rename Logger to Tracer everywhere" --max-prs 1` | Single sweeping PR, full test pass before merge |
63
+ | `aitm start "add tests for src/billing/* until 90% coverage"` | Iterates until the coverage target hits, or the session cap |
64
+ | `aitm start "bump zod to v4 and fix all type errors"` | Bumps, fixes, runs tests, opens PR; conflicts surface as `blocked` |
65
+
66
+ ## โš™๏ธ Configuration
67
+
68
+ User config lives at `~/.aitm.json`; per-project overrides at
69
+ `.ai-task-master/config.json`:
70
+
71
+ ```bash
72
+ aitm config set models.smart anthropic/claude-opus-4.7
73
+ aitm config set models.coding anthropic/claude-sonnet-4.6
74
+ aitm config set models.fast openai/gpt-5-mini
75
+ aitm config set autoMerge true --project
76
+ aitm config list
77
+ ```
78
+
79
+ - **Provider**: OpenRouter only (`OPENROUTER_API_KEY`). Any OpenRouter-routed
80
+ model id works per role โ€” no Anthropic SDK involved.
81
+ - **Coding style**: `aitm` reads your repo's `CLAUDE.md` / `AGENTS.md` and feeds
82
+ it to subagents as a style signal (the provider stays OpenRouter).
83
+ - **MCP**: `aitm` is an MCP **client** โ€” declare `mcpServers` in config and their
84
+ tools mount into the subagent tool surfaces.
85
+
86
+ ## ๐Ÿ›  Requirements
87
+
88
+ - `OPENROUTER_API_KEY` in the environment.
89
+ - The [`gh`](https://cli.github.com) CLI, authenticated (PRs, CI status, reviews).
90
+ - Node โ‰ฅ 20, Bun, or Deno โ‰ฅ 1.40 โ€” ESM, no runtime lock-in.
27
91
 
28
92
  ## License
29
93
 
30
- MIT
94
+ MIT ยท [source & full docs](https://github.com/developerz-ai/ai-task-master#readme)
package/package.json CHANGED
@@ -1,9 +1,16 @@
1
1
  {
2
2
  "name": "@developerz.ai/aitm",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "description": "Autonomous task orchestrator. Goal in, merged PRs out.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/developerz-ai/ai-task-master.git",
10
+ "directory": "packages/aitm"
11
+ },
12
+ "homepage": "https://github.com/developerz-ai/ai-task-master/tree/main/packages/aitm#readme",
13
+ "bugs": "https://github.com/developerz-ai/ai-task-master/issues",
7
14
  "publishConfig": {
8
15
  "access": "public",
9
16
  "provenance": true
@@ -35,7 +42,7 @@
35
42
  },
36
43
  "dependencies": {
37
44
  "@ai-sdk/mcp": "^1.0.42",
38
- "@developerz.ai/ai-claude-compat": "0.0.0",
45
+ "@developerz.ai/ai-claude-compat": "0.0.2",
39
46
  "@openrouter/ai-sdk-provider": "^2.9.0",
40
47
  "ai": "^6.0.182",
41
48
  "execa": "^9.6.1",