@kairyou/agent-tools 0.12.0 → 0.13.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/config.default.jsonc +12 -3
- package/dist/log/hook.mjs +1581 -0
- package/dist/log/opencode-plugin.mjs +113 -0
- package/docs/en/extras.md +85 -5
- package/docs/zh-CN/extras.md +84 -5
- package/integrations/log/hook.mjs +926 -0
- package/integrations/log/opencode-plugin.mjs +137 -0
- package/package.json +1 -1
- package/scripts/build.mjs +6 -0
- package/scripts/install.mjs +110 -7
- package/skills/workflow/at-daily-log/SKILL.md +13 -4
- package/skills/workflow/at-self-eval/SKILL.md +7 -2
package/config.default.jsonc
CHANGED
|
@@ -15,19 +15,28 @@
|
|
|
15
15
|
"providerUsage": {
|
|
16
16
|
"days": 30, // recent days of spend to count
|
|
17
17
|
"debug": false // true: log probes to ~/.agent-tools/logs/usage-debug.log
|
|
18
|
+
},
|
|
19
|
+
// log capability: AI session work log; see the extras doc for details.
|
|
20
|
+
"log": {
|
|
21
|
+
"enabled": true, // false: pause recording without uninstalling
|
|
22
|
+
"output": "~/.agent-tools/logs/ai-log.md", // daily: one file; detailed: a directory
|
|
23
|
+
"language": "zh", // zh | en (detailed report headings)
|
|
24
|
+
"format": "daily", // daily | detailed
|
|
25
|
+
"projects": [ // record only these; empty: record everything
|
|
26
|
+
// "C:\\projects\\project-a"
|
|
27
|
+
]
|
|
18
28
|
}
|
|
19
29
|
|
|
20
30
|
// Optional blocks below: uncomment every line of a block, including its leading comma.
|
|
21
31
|
|
|
22
32
|
// at-self-eval, at-daily-log: default projects (otherwise just the current repo).
|
|
23
|
-
// Optional prompt: free text that tunes how that project is summarized.
|
|
24
33
|
// , "workProjects": [
|
|
25
34
|
// "C:\\projects\\project-a",
|
|
26
|
-
//
|
|
35
|
+
// "C:\\projects\\project-b"
|
|
27
36
|
// ]
|
|
28
37
|
|
|
29
38
|
// at-daily-log: default file when asked to record; at-self-eval reads it as fallback
|
|
30
39
|
// , "dailyLog": {
|
|
31
|
-
// "output": "C:\\
|
|
40
|
+
// "output": "C:\\logs\\daily-log.md"
|
|
32
41
|
// }
|
|
33
42
|
}
|