tod-ai 0.1.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/LICENSE +21 -0
- package/README.md +64 -0
- package/dist/cli.js +20009 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tyler
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# tod
|
|
2
|
+
|
|
3
|
+
An operator harness that turns any AGENTS.md-compatible coding agent into a software factory for non-technical builders.
|
|
4
|
+
|
|
5
|
+
You describe what you want built; your coding agent builds it. tod sits between you and that agent, making the agent behave like your product team: it learns who you are, communicates at your level, tracks work across your projects, and follows a safe git workflow so you never end up in a state you cannot recover from.
|
|
6
|
+
|
|
7
|
+
tod has opinions about process, but it never writes application code, never scaffolds projects, never touches your project folders, and never deploys. It guides the agent you already use.
|
|
8
|
+
|
|
9
|
+
## How it works
|
|
10
|
+
|
|
11
|
+
tod installs a delimited instruction block into your agent's own global instruction file, and keeps its state in `~/.tod/`:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
~/.agents/AGENTS.md # cross-agent standard (Codex, opencode, ...)
|
|
15
|
+
~/.claude/CLAUDE.md # Claude Code
|
|
16
|
+
~/.tod/
|
|
17
|
+
config.json # settings, communication style
|
|
18
|
+
operator.md # what your agents know about you
|
|
19
|
+
work.json # projects, features, tasks
|
|
20
|
+
log.jsonl # append-only activity log
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Everything outside tod's markers stays untouched, byte for byte. Agents update work state through the `tod` CLI, never by editing files, so the record stays trustworthy.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm install -g tod-ai # or: bun add -g tod-ai
|
|
29
|
+
tod init
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
`tod init` asks nothing. Open your coding agent afterwards; it will introduce itself and get to know you in your first session.
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
The CLI is designed for agents to run, but it is safe to use yourself:
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
tod status # what is in flight across all your projects
|
|
40
|
+
tod init # set up the harness (idempotent)
|
|
41
|
+
tod sync # repair tod-managed content after any damage
|
|
42
|
+
tod work # record and update features, bugs, tasks (agent-facing)
|
|
43
|
+
tod log # append to the activity log (agent-facing)
|
|
44
|
+
tod config # read or change settings such as communication style
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Every command is non-interactive and idempotent, refuses to write outside `~/.agents/`, `~/.claude/`, and `~/.tod/`, and reports exactly what it changed.
|
|
48
|
+
|
|
49
|
+
## Supported agents
|
|
50
|
+
|
|
51
|
+
Any agent that reads the global `~/.agents/AGENTS.md` works with zero configuration, including Codex CLI and opencode. Claude Code is supported through `~/.claude/CLAUDE.md`. Adding another agent is a one-line target in `src/paths.ts`.
|
|
52
|
+
|
|
53
|
+
## Development
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
bun install
|
|
57
|
+
bun run check # typecheck + lint + tests
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
61
|
+
|
|
62
|
+
## Licence
|
|
63
|
+
|
|
64
|
+
MIT
|