Repository navigation
Commit 9e6afbf
committed
refactor(cli): share one report list for agents with weekly reports
STANDARD_WEEKLY_AGENT_REPORTS was an exact copy of
OPENCODE_AGENT_REPORTS. The copy existed because the original was named
after one agent rather than the report set it describes, so a second
agent with the same reports could not reuse it by name.
Rename OPENCODE_AGENT_REPORTS to ALL_AGENT_REPORTS, since it lists every
AgentReportKind, and use it for both OpenCode and Cline. The matching
arms in agent_report_supported are merged too, and the ccusage-cli
public-surface list is updated to the new name.1 parent ad1df28 commit 9e6afbf
4 files changed
Lines changed: 15 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
366 | 362 | | |
367 | 363 | | |
368 | 364 | | |
| |||
632 | 628 | | |
633 | 629 | | |
634 | 630 | | |
635 | | - | |
| 631 | + | |
636 | 632 | | |
637 | 633 | | |
638 | 634 | | |
| |||
1038 | 1034 | | |
1039 | 1035 | | |
1040 | 1036 | | |
1041 | | - | |
1042 | | - | |
| 1037 | + | |
1043 | 1038 | | |
1044 | 1039 | | |
1045 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 224 | + | |
232 | 225 | | |
233 | 226 | | |
234 | 227 | | |
| |||
0 commit comments