Peter Steinberger
0e96fc7e10
refactor(agents): trim bootstrap test exports ( #106427 )
...
* refactor(agents): trim bootstrap test exports
* test(agents): isolate bootstrap cache cases
2026-07-13 07:24:33 -07:00
Vincent Koc
8415887646
refactor(agents): remove unused helper exports
2026-06-16 18:19:56 +08:00
Peter Steinberger
53d08d4aef
docs: document agent helper contracts
2026-06-04 06:23:32 -04:00
yozakura-ava
144405e562
fix(agents): cap bootstrap snapshot cache
...
Cap the in-memory workspace bootstrap snapshot cache to 64 session keys so long-lived gateway processes do not retain one loaded bundle per distinct session key indefinitely. Older entries are evicted while active keys continue refreshing against the guarded workspace loader.
Verification:
- node scripts/run-vitest.mjs src/agents/bootstrap-cache.test.ts
PR: #88149
2026-05-31 23:56:47 +01:00
Vincent Koc
015f7dc747
fix(agents): refresh bootstrap snapshot when workspace files change ( #72406 )
...
* fix(agents): refresh bootstrap snapshot when workspace files change
* fix(clownfish): address review for ghcrawl-207042-agentic-merge (1)
2026-04-26 23:39:33 -07:00
拐爷&&老拐瘦
2e31aead39
fix(gateway): invalidate bootstrap cache on session rollover (openclaw#38535)
...
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini
Co-authored-by: yfge <1186273+yfge@users.noreply.github.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-03-06 23:46:02 -06:00
Peter Steinberger
40db3fef49
fix(agents): cache bootstrap snapshots per session key
...
Co-authored-by: Isis Anisoptera <github@lotuswind.net >
2026-02-23 19:19:45 +00:00