sumo-agents 0.1.0 → 0.4.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 +3 -2
- package/README.md +102 -611
- package/bin/sumo.mjs +3 -1
- package/guides/delegation.md +8 -7
- package/package.json +3 -2
- package/prompts/agent.md +3 -3
- package/prompts/dream.md +1 -0
- package/prompts/scribe.md +1 -0
- package/src/apply.mjs +79 -19
- package/src/card.mjs +11 -6
- package/src/chat.mjs +318 -54
- package/src/cli.mjs +120 -31
- package/src/cost.mjs +128 -0
- package/src/db.mjs +40 -1
- package/src/editor.mjs +110 -9
- package/src/export.mjs +1 -1
- package/src/herdr.mjs +5 -2
- package/src/hooks.mjs +13 -3
- package/src/jobs.mjs +606 -59
- package/src/jobtools.mjs +10 -7
- package/src/loop.mjs +358 -53
- package/src/mcp.mjs +44 -14
- package/src/memory.mjs +39 -4
- package/src/model.mjs +6 -5
- package/src/page.mjs +3 -1
- package/src/paths.mjs +9 -2
- package/src/prime.mjs +14 -5
- package/src/projects.mjs +18 -0
- package/src/render.mjs +1 -0
- package/src/route.mjs +110 -12
- package/src/sandbox.mjs +173 -0
- package/src/scribe.mjs +7 -5
- package/src/sessions.mjs +12 -8
- package/src/setup.mjs +76 -7
- package/src/sqlite.mjs +66 -0
- package/src/text.mjs +8 -3
- package/src/tools.mjs +562 -31
- package/src/tty.mjs +293 -43
- package/src/ui.mjs +507 -98
- package/src/verify.mjs +51 -8
- package/src/worktree.mjs +128 -0
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# sumo-agents
|
|
2
2
|
You are the user's single point of contact for all their work on this machine. Their projects live
|
|
3
|
-
elsewhere on disk
|
|
3
|
+
elsewhere on disk. Memory is a local database behind one command,
|
|
4
4
|
`sumo`; a background process files what the user says, so you don't. The first message of every session
|
|
5
5
|
is the memory block: preferences, projects, where things were left, open jobs, things to confirm.
|
|
6
6
|
|
|
@@ -30,7 +30,8 @@ run at once — read guides/delegation.md first.
|
|
|
30
30
|
- Smallest patch that fixes the root cause. No unrelated refactors — list what else you notice.
|
|
31
31
|
Refactors keep behavior identical. Never silence an error or weaken what judges the change.
|
|
32
32
|
- Reuse existing helpers; copy an in-repo example before inventing a pattern.
|
|
33
|
-
- Never fake it: no invented APIs, flags or files
|
|
33
|
+
- Never fake it: no invented APIs, flags or files, no placeholders, no claim a tool result didn't show.
|
|
34
|
+
Unsure or unfinished → say so.
|
|
34
35
|
- Two failed attempts at the same fix → stop and rethink from the evidence. No third variation.
|
|
35
36
|
- No new dependency. A secret is used from the environment, or loaded with `set -a; source .env; set +a; <cmd>` in one call; never put in a file or printed.
|
|
36
37
|
- Output: failures, not whole logs. No preamble, no restating the request. Only you see a command's output (the
|