Commit e5c98ef
feat: sus init (#18)
* feat: add sus init command with AGENTS.md docs index
Replace per-agent-folder skills with compressed AGENTS.md docs index
following Vercel's research showing passive context outperforms active
skill retrieval (100% vs 79% pass rate).
Changes:
- Add `sus init` command to configure project settings
- Add `sus.json` config file with `agents_md` toggle
- Save package docs to `.sus-docs/` directory (flat structure)
- Update AGENTS.md with compressed index on add/remove
- Remove old per-agent-folder skills logic (AGENT_ROOTS, save_agent_skills)
- Add --yes/-y flag for non-interactive init
New files:
- crates/cli/src/config.rs - sus.json read/write
- crates/cli/src/agents_md.rs - AGENTS.md index management
- crates/cli/src/commands/init.rs - init command
Reference: https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals
Co-authored-by: Cursor <cursoragent@cursor.com>
* chore: bump version to 0.1.4
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent b14bfe7 commit e5c98ef
File tree
9 files changed
+725
-263
lines changed- crates/cli/src
- commands
9 files changed
+725
-263
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
| 123 | + | |
115 | 124 | | |
116 | 125 | | |
117 | 126 | | |
| |||
147 | 156 | | |
148 | 157 | | |
149 | 158 | | |
150 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
151 | 162 | | |
152 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
153 | 167 | | |
154 | | - | |
| 168 | + | |
155 | 169 | | |
156 | 170 | | |
157 | 171 | | |
| |||
181 | 195 | | |
182 | 196 | | |
183 | 197 | | |
184 | | - | |
| 198 | + | |
185 | 199 | | |
186 | 200 | | |
187 | 201 | | |
| |||
210 | 224 | | |
211 | 225 | | |
212 | 226 | | |
213 | | - | |
| 227 | + | |
214 | 228 | | |
215 | 229 | | |
216 | 230 | | |
| |||
0 commit comments