fleet-memory/hindsight-docs/static/img/icons
DK09876 e1c6220f0e
feat: add OpenCode persistent memory plugin (#853)
* feat: add OpenCode persistent memory plugin

Add hindsight-opencode integration with:
- Three custom tools: hindsight_retain, hindsight_recall, hindsight_reflect
- Auto-retain on session.idle with document_id deduplication
- Memory injection on session start via system transform hook
- Memory preservation during context window compaction
- Sliding window retain with retainOverlapTurns support
- 4-level config hierarchy (defaults, user file, plugin options, env vars)
- Dynamic bank ID derivation (agent, project, channel, user dimensions)
- CI job, release script entry, docs page

79 tests across 6 test files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address review findings for opencode integration

1. Pre-compaction retain now uses shared retainSession() helper,
   respecting retainMode, documentId, and session_id metadata
   consistently with idle-retain (was bypassing retention policy).

2. System transform recall is only consumed after successful injection.
   If Hindsight is briefly unavailable, the plugin retries on the next
   LLM call instead of permanently skipping recall for the session.

3. Config validation for retainMode and recallBudget — typos like
   "full_session" or "maximum" now log a warning and fall back to
   the default instead of silently changing retention semantics.

85 tests (6 new covering compaction documentId, recall retry, and
config validation).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: docs/tools findings from second review round

1. Remove "session" from supported dynamic bank fields in docs —
   the implementation can't vary bank ID per session since it's
   derived once at plugin startup.

2. Explicit tools (retain, reflect) now call ensureBankMission()
   before API calls, so bankMission/retainMission are applied even
   when the agent uses tools exclusively without triggering hooks.

3. Added tests for mission setup via tools path.

88 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: recall retry semantics and README bank scoping clarity

1. recallForContext now returns { context, ok } to distinguish
   "no results" (ok=true) from "API error" (ok=false). System
   transform consumes the session on ok=true even with 0 results,
   so empty banks don't cause repeated queries. Only transient API
   failures preserve retry.

2. README clarifies that channel/user bank dimensions are process-
   scoped (set via env vars before launch), not per-session dynamic
   within a running OpenCode process.

89 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: review fixes for opencode integration

- Rename CI job from build-opencode-integration to test-opencode-integration
  to match naming convention for integrations that run tests
- Fix tsconfig module resolution to Node16 (consistent with other integrations)
- Extract shared makeConfig test helper to avoid duplication across 3 test files

* fix: remove unused PluginState import from tools.ts

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Nicolò Boschi <boschi1997@gmail.com>
2026-04-07 10:11:57 +02:00
..
ag2.svg docs: add AG2 integration page (#723) 2026-03-27 10:58:42 +01:00
agno.png docs: add 0.4.19 release blog post, Agno and Hermes integration pages (#608) 2026-03-18 17:35:54 +01:00
autogen.svg feat: add AutoGen integration for Hindsight (#719) 2026-04-01 17:48:11 +02:00
claudecode.svg doc: Claude Code + Telegram + Hindsight blog post (#656) 2026-03-23 15:44:07 +01:00
crewai.png doc: 0.4.13 changelog (#411) 2026-02-19 20:48:50 +01:00
crewai.svg doc: 0.4.13 changelog (#411) 2026-02-19 20:48:50 +01:00
golang.png doc: add go client examples (#380) 2026-02-16 14:43:03 +01:00
hermes.png feat: hindsight-hermes integration for Hermes Agent (#600) 2026-03-17 18:06:55 +01:00
hindclaw.png docs: update HindClaw integration listing (#653) 2026-03-23 11:11:00 +01:00
langgraph.png doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
litellm.png docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
llamaindex.png refactor(llamaindex): merge into single hindsight-llamaindex package (#760) 2026-03-30 14:30:48 +02:00
mcp.png docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
nemoclaw.png doc: add langgraph and nemoclaw (#633) 2026-03-20 16:18:05 +01:00
nodejs.png doc: update cookbook (#479) 2026-03-03 18:46:59 +01:00
openai.png refactor(llamaindex): merge into single hindsight-llamaindex package (#760) 2026-03-30 14:30:48 +02:00
openclaw.png docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
opencode.svg feat: add OpenCode persistent memory plugin (#853) 2026-04-07 10:11:57 +02:00
package.svg docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
pydanticai.png feat: add Pydantic AI integration to CI, release pipeline, and docs (#467) 2026-03-02 15:40:37 +01:00
python.svg docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
README.md docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
skills.png docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
strands.png feat: add Strands Agents SDK integration with Hindsight memory tools (#659) 2026-03-24 17:21:30 +01:00
terminal.svg docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
typescript.png docs: revamp sidebar with icon grids and language support (#563) 2026-03-13 14:12:42 +01:00
vercel.png docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00

Sidebar Icons

This directory contains SVG icons for the sidebar navigation items.

Required Icons

Client Icons

Integration Icons

Specifications

  • Format: SVG (preferred) or PNG
  • Size: 16x16px or larger (will be scaled to 14x14px)
  • Style: Monochrome or simple colors work best
  • Color: Icons should work on both light and dark backgrounds

Alternative: Using Remote URLs

Instead of local files, you can use remote URLs directly in the CSS:

a.menu__link[href*="/sdks/python"]::before {
  background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v10/icons/python.svg');
}

Popular icon CDNs:

Creating Icons

If you need to create custom icons, use tools like: