@vectorize-io/hindsight-coding-agents 0.5.2 → 0.5.4
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/README.md +42 -8
- package/dist/antigravity-hook.js +335 -91
- package/dist/antigravity-statusline.js +17 -10
- package/dist/antigravity-stop-hook.js +340 -92
- package/dist/claude-hook.js +335 -91
- package/dist/claude-sessionstart-hook.js +459 -132
- package/dist/claude-stop-hook.js +340 -92
- package/dist/cline.js +283 -64
- package/dist/codex-hook.js +335 -91
- package/dist/codex-sessionstart-hook.js +459 -132
- package/dist/codex-stop-hook.js +340 -92
- package/dist/copilot-hook.js +335 -91
- package/dist/copilot-sessionstart-hook.js +459 -132
- package/dist/copilot-stop-hook.js +340 -92
- package/dist/cursor-hook.js +335 -91
- package/dist/cursor-sessionstart-hook.js +459 -132
- package/dist/cursor-stop-hook.js +340 -92
- package/dist/daemon-start.js +17 -10
- package/dist/dcode-hook.js +335 -91
- package/dist/dcode-sessionstart-hook.js +459 -132
- package/dist/dcode-stop-hook.js +340 -92
- package/dist/deepen.js +113 -32
- package/dist/devin-hook.js +335 -91
- package/dist/devin-sessionstart-hook.js +459 -132
- package/dist/devin-stop-hook.js +340 -92
- package/dist/droid-hook.js +335 -91
- package/dist/droid-sessionstart-hook.js +459 -132
- package/dist/droid-stop-hook.js +340 -92
- package/dist/dsh.js +322 -101
- package/dist/grok-hook.js +335 -91
- package/dist/grok-sessionstart-hook.js +459 -132
- package/dist/grok-stop-hook.js +340 -92
- package/dist/hindsight-seed.js +17 -10
- package/dist/index.js +322 -101
- package/dist/installer.js +1252 -325
- package/dist/kilo.js +322 -101
- package/dist/mcp-server.js +100 -23
- package/dist/opencode2.js +322 -101
- package/dist/pi.js +321 -100
- package/dist/prime-agent.js +321 -100
- package/dist/qwen-hook.js +335 -91
- package/dist/qwen-sessionstart-hook.js +459 -132
- package/dist/qwen-stop-hook.js +340 -92
- package/dist/status.js +98 -21
- package/dist/survey-supervisor.js +81 -0
- package/dist/zcode-hook.js +2954 -0
- package/dist/zcode-sessionstart-hook.js +3655 -0
- package/dist/zcode-stop-hook.js +3218 -0
- package/package.json +7 -3
- package/plugin.json +1 -1
- package/skill/SKILL.md +17 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectorize-io/hindsight-coding-agents",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/vectorize-io/hindsight.git",
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"hindsight-qwen-hook": "dist/qwen-hook.js",
|
|
33
33
|
"hindsight-qwen-sessionstart-hook": "dist/qwen-sessionstart-hook.js",
|
|
34
34
|
"hindsight-qwen-stop-hook": "dist/qwen-stop-hook.js",
|
|
35
|
+
"hindsight-zcode-hook": "dist/zcode-hook.js",
|
|
36
|
+
"hindsight-zcode-sessionstart-hook": "dist/zcode-sessionstart-hook.js",
|
|
37
|
+
"hindsight-zcode-stop-hook": "dist/zcode-stop-hook.js",
|
|
35
38
|
"hindsight-droid-hook": "dist/droid-hook.js",
|
|
36
39
|
"hindsight-droid-sessionstart-hook": "dist/droid-sessionstart-hook.js",
|
|
37
40
|
"hindsight-droid-stop-hook": "dist/droid-stop-hook.js"
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
85
88
|
"@vectorize-io/hindsight-all": "^0.8.6",
|
|
86
89
|
"jsonc-parser": "^3.3.1",
|
|
90
|
+
"smol-toml": "^1.8.0",
|
|
87
91
|
"zod": "^4.4.3"
|
|
88
92
|
},
|
|
89
93
|
"devDependencies": {
|
|
@@ -93,12 +97,12 @@
|
|
|
93
97
|
"@types/node": "^26.1.0",
|
|
94
98
|
"tsup": "^8.3.0",
|
|
95
99
|
"typescript": "^5.6.0",
|
|
96
|
-
"vitest": "^
|
|
100
|
+
"vitest": "^4.1.11"
|
|
97
101
|
},
|
|
98
102
|
"overrides": {
|
|
99
103
|
"esbuild": ">=0.25.0 <1.0.0",
|
|
100
104
|
"fast-uri": ">=3.1.6 <4.0.0",
|
|
101
|
-
"hono": ">=4.
|
|
105
|
+
"hono": ">=4.13.5 <5.0.0",
|
|
102
106
|
"ip-address": ">=10.3.1 <11.0.0",
|
|
103
107
|
"postcss": ">=8.5.23 <9.0.0",
|
|
104
108
|
"vite": ">=6.4.3 <7.0.0"
|
package/plugin.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -209,8 +209,8 @@ hook by Codex...), so one shared config serves several agents side by side:
|
|
|
209
209
|
| `reflectBudget` | `"high"` | reflect budget for the `hindsight_reflect` tool: `"low"`, `"mid"` or `"high"`. Drop it on a large bank where high-budget synthesis exceeds the server's wall timeout. The automatic session-start reflect always uses `"low"` to fit its hook window and is unaffected |
|
|
210
210
|
| `autoReflect` | `true` | inject a one-time reflect synthesis on the session's **first prompt**. `false` = tool-only reflect: nothing is injected; the agent searches knowledge pages first and reflects only when they are too shallow |
|
|
211
211
|
| `pageRefreshEveryTurns` | `10` | refetch the knowledge pages and re-inject the page roster + tool guide every N user turns |
|
|
212
|
-
| `pageTriggerType` | `"
|
|
213
|
-
| `pageTriggerCron` |
|
|
212
|
+
| `pageTriggerType` | `"cron"` | when NEW knowledge pages refresh, i.e. what keeping them current costs — `"cron"` (default) on `pageTriggerCron` only and only when actually stale, `"auto-refresh"` after every consolidation that produced new material, `"manual"` never on their own. Auto-refresh is the most current and by far the most expensive: one synthesis per page per consolidation. Maps to the page's `trigger.refresh_cron`, or `trigger.refresh_after_consolidation` in the Hindsight API (`true` for auto-refresh, `false` for manual) |
|
|
213
|
+
| `pageTriggerCron` | `"H * * * *"` | schedule for `pageTriggerType: "cron"` — UTC, standard 5-field cron, e.g. `"0 3 * * *"`. The default is hourly, each page on its own hashed minute. Sets the page's `trigger.refresh_cron`, which the API treats as mutually exclusive with `refresh_after_consolidation`; a scheduled refresh is skipped when nothing changed. Write a field as `H` to give each page its own value there — see **Spreading refreshes with `H`** below |
|
|
214
214
|
| `autoSeed` | `true` | SessionStart: auto-seed a cold repo's bank from git history |
|
|
215
215
|
| `seedLimit` | `300` | auto-seed: most-recent-N-commits cap |
|
|
216
216
|
| `codebaseSurvey` | `true` | SessionStart: headless survey of a cold repo's structure, run under the current harness's own CLI (claude/codex/antigravity/opencode), falling back to any available agent |
|
|
@@ -225,6 +225,12 @@ hook by Codex...), so one shared config serves several agents side by side:
|
|
|
225
225
|
| `harnesses.<name>` | — | per-harness override of any field above |
|
|
226
226
|
| `harness` | `opencode` | **deepen engine only**: which session format `--conversations` is read as |
|
|
227
227
|
|
|
228
|
+
By default a page refreshes **hourly, staggered**: `pageTriggerCron` is `"H * * * *"`, so every
|
|
229
|
+
page gets its own minute of the hour (see below) and a tick with nothing new to fold in is skipped
|
|
230
|
+
server-side. That keeps pages within an hour of the repo without paying auto-refresh's price — one
|
|
231
|
+
LLM synthesis per page per consolidation, on a repo that consolidates all day. Set
|
|
232
|
+
`pageTriggerType: "auto-refresh"` to go back to refreshing on every consolidation.
|
|
233
|
+
|
|
228
234
|
`pageTriggerType`/`pageTriggerCron` decide only **when** a page refreshes. **How** it refreshes
|
|
229
235
|
belongs to the server: Hindsight creates a knowledge page with a delta refresh (each pass edits the
|
|
230
236
|
page instead of rebuilding it) that doesn't reflect over sibling pages, and these settings merge
|
|
@@ -254,11 +260,15 @@ problem. It never reaches the API: the plugin resolves it to an ordinary cron ex
|
|
|
254
260
|
one you can edit. Hashing spreads pages out, it does not partition them — two pages can still land
|
|
255
261
|
on the same minute, just not all of them.
|
|
256
262
|
|
|
257
|
-
**These settings apply to pages
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
263
|
+
**These settings apply to the pages a repo already has, too.** Every session compares each page
|
|
264
|
+
this plugin created — the seeded taxonomy and every captured initiative — against the config and
|
|
265
|
+
re-syncs the ones that differ, so a bank seeded before this default changed moves onto the hourly
|
|
266
|
+
schedule by itself, and a page you retriggered by hand in the control plane is put back on the
|
|
267
|
+
configured policy the next time an agent runs. The config
|
|
268
|
+
file is the source of truth for these pages: to give one a different schedule, change
|
|
269
|
+
`pageTriggerType`/`pageTriggerCron` (per bank, if it is only that repo) rather than editing the
|
|
270
|
+
page. Only the fields this plugin states are touched — a page's `mode`, its excluded siblings and
|
|
271
|
+
its minimum refresh interval are left exactly as they are.
|
|
262
272
|
|
|
263
273
|
### A bank you shape yourself — `manageBankConfig`
|
|
264
274
|
|