Skip to content

Commit 14e1cd2

Browse files
committed
fix(skill): handle changelog as directory, add agno/hermes integrations, rebase on main
1 parent d7682d3 commit 14e1cd2

20 files changed

Lines changed: 1317 additions & 64 deletions

File tree

scripts/generate-docs-skill.sh

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ done
159159

160160
# Process standalone pages (e.g. best-practices, faq) from src/pages/
161161
print_info "Processing standalone pages..."
162-
for page in best-practices faq changelog; do
162+
for page in best-practices faq; do
163163
for ext in md mdx; do
164164
src="$PAGES_DIR/$page.$ext"
165165
if [ -f "$src" ]; then
@@ -175,6 +175,38 @@ for page in best-practices faq changelog; do
175175
done
176176
done
177177

178+
# Process changelog — may be a single file or a directory
179+
if [ -f "$PAGES_DIR/changelog.md" ] || [ -f "$PAGES_DIR/changelog.mdx" ]; then
180+
for ext in md mdx; do
181+
src="$PAGES_DIR/changelog.$ext"
182+
if [ -f "$src" ]; then
183+
dest="$REFS_DIR/changelog.md"
184+
mkdir -p "$(dirname "$dest")"
185+
if [[ "$src" == *.mdx ]]; then
186+
convert_mdx_to_md "$src" "$dest"
187+
else
188+
cp "$src" "$dest"
189+
fi
190+
print_info "Included page: changelog.$ext"
191+
fi
192+
done
193+
elif [ -d "$PAGES_DIR/changelog" ]; then
194+
find "$PAGES_DIR/changelog" -type f \( -name "*.md" -o -name "*.mdx" \) | while read -r file; do
195+
rel="${file#$PAGES_DIR/}"
196+
dest="$REFS_DIR/$rel"
197+
if [[ "$file" == *.mdx ]]; then
198+
dest="${dest%.mdx}.md"
199+
fi
200+
mkdir -p "$(dirname "$dest")"
201+
if [[ "$file" == *.mdx ]]; then
202+
convert_mdx_to_md "$file" "$dest"
203+
else
204+
cp "$file" "$dest"
205+
fi
206+
print_info "Included changelog: ${file#$PAGES_DIR/changelog/}"
207+
done
208+
fi
209+
178210
# Copy OpenAPI spec into the skill
179211
OPENAPI_SRC="$ROOT_DIR/hindsight-docs/static/openapi.json"
180212
if [ -f "$OPENAPI_SRC" ]; then
@@ -217,7 +249,7 @@ All documentation is in `references/` organized by category:
217249
references/
218250
├── best-practices.md # START HERE — missions, tags, formats, anti-patterns
219251
├── faq.md # Common questions and decisions
220-
├── changelog.md # Release history and version changes
252+
├── changelog/ # Release history and version changes (index.md + integrations/)
221253
├── openapi.json # Full OpenAPI spec — endpoint schemas, request/response models
222254
├── developer/
223255
│ ├── api/ # Core operations: retain, recall, reflect, memory banks

skills/hindsight-docs/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ All documentation is in `references/` organized by category:
2828
references/
2929
├── best-practices.md # START HERE — missions, tags, formats, anti-patterns
3030
├── faq.md # Common questions and decisions
31-
├── changelog.md # Release history and version changes
31+
├── changelog/ # Release history and version changes (index.md + integrations/)
3232
├── openapi.json # Full OpenAPI spec — endpoint schemas, request/response models
3333
├── developer/
3434
│ ├── api/ # Core operations: retain, recall, reflect, memory banks

skills/hindsight-docs/references/changelog.md renamed to skills/hindsight-docs/references/changelog/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,39 @@ This changelog highlights user-facing changes only. Internal maintenance, CI/CD,
88

99
For full release details, see [GitHub Releases](https://github.com/vectorize-io/hindsight/releases).
1010

11+
## Integration Changelogs
12+
13+
| Integration | Package | Description |
14+
|---|---|---|
15+
| [LiteLLM](integrations/litellm.md) | `hindsight-litellm` | Universal LLM memory via LiteLLM (100+ providers) |
16+
| [Pydantic AI](integrations/pydantic-ai.md) | `hindsight-pydantic-ai` | Persistent memory tools for Pydantic AI agents |
17+
| [CrewAI](integrations/crewai.md) | `hindsight-crewai` | Persistent memory for CrewAI agents |
18+
| [AI SDK](integrations/ai-sdk.md) | `@vectorize-io/hindsight-ai-sdk` | Memory integration for Vercel AI SDK |
19+
| [Chat SDK](integrations/chat.md) | `@vectorize-io/hindsight-chat` | Memory integration for Vercel Chat SDK |
20+
| [OpenClaw](integrations/openclaw.md) | `@vectorize-io/hindsight-openclaw` | Hindsight memory plugin for OpenClaw |
21+
22+
## [0.4.19](https://github.com/vectorize-io/hindsight/releases/tag/v0.4.19)
23+
24+
**Features**
25+
26+
- TypeScript client now works in Deno environments. ([`72c25c97`](https://github.com/vectorize-io/hindsight/commit/72c25c97))
27+
- Added Agno integration to use Hindsight as a memory toolkit. ([`8c378b98`](https://github.com/vectorize-io/hindsight/commit/8c378b98))
28+
- Added Hermes Agent integration (hindsight-hermes) for persistent memory. ([`ef90842f`](https://github.com/vectorize-io/hindsight/commit/ef90842f))
29+
- Expanded retain behavior with new `verbatim` and `chunks` extraction modes and named retain strategies. ([`e4f8a157`](https://github.com/vectorize-io/hindsight/commit/e4f8a157))
30+
31+
**Improvements**
32+
33+
- Improved local reranker performance/efficiency with FP16 and bucketed batching, plus compatibility with Transformers 5.x. ([`e7da7d0e`](https://github.com/vectorize-io/hindsight/commit/e7da7d0e))
34+
35+
**Bug Fixes**
36+
37+
- Prevented silent memory loss when consolidation fails (failed consolidations are tracked and can be recovered). ([`28dac7c7`](https://github.com/vectorize-io/hindsight/commit/28dac7c7))
38+
- Fixed Docker control-plane startup to respect the configured control-plane hostname. ([`8a64dc8d`](https://github.com/vectorize-io/hindsight/commit/8a64dc8d))
39+
- Database cleanup migration now removes orphaned observation memory units to avoid inconsistent memory state. ([`f09ad9de`](https://github.com/vectorize-io/hindsight/commit/f09ad9de))
40+
- Deleting a document now also deletes linked memory units to prevent leftover/stale memory entries. ([`f27bd953`](https://github.com/vectorize-io/hindsight/commit/f27bd953))
41+
- Fixed MCP middleware to send an Accept header, preventing 406 response errors in some setups. ([`836fd81e`](https://github.com/vectorize-io/hindsight/commit/836fd81e))
42+
- Improved compatibility with Gemini tool-calling by preserving thought signature metadata to avoid failures on gemini-3.1-flash-lite-preview. ([`21f9f46c`](https://github.com/vectorize-io/hindsight/commit/21f9f46c))
43+
1144
## [0.4.18](https://github.com/vectorize-io/hindsight/releases/tag/v0.4.18)
1245

1346
**Features**
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# AI SDK Integration Changelog
6+
7+
Changelog for [`@vectorize-io/hindsight-ai-sdk`](https://www.npmjs.com/package/@vectorize-io/hindsight-ai-sdk) — memory integration for Vercel AI SDK.
8+
9+
For the source code, see [`hindsight-integrations/ai-sdk`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/ai-sdk).
10+
11+
[Back to main changelog](../index.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# Chat SDK Integration Changelog
6+
7+
Changelog for [`@vectorize-io/hindsight-chat`](https://www.npmjs.com/package/@vectorize-io/hindsight-chat) — memory integration for Vercel Chat SDK.
8+
9+
For the source code, see [`hindsight-integrations/chat`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/chat).
10+
11+
[Back to main changelog](../index.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# CrewAI Integration Changelog
6+
7+
Changelog for [`hindsight-crewai`](https://pypi.org/project/hindsight-crewai/) — persistent memory for CrewAI agents.
8+
9+
For the source code, see [`hindsight-integrations/crewai`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/crewai).
10+
11+
[Back to main changelog](../index.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# LiteLLM Integration Changelog
6+
7+
Changelog for [`hindsight-litellm`](https://pypi.org/project/hindsight-litellm/) — universal LLM memory integration via LiteLLM.
8+
9+
For the source code, see [`hindsight-integrations/litellm`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/litellm).
10+
11+
[Back to main changelog](../index.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# OpenClaw Integration Changelog
6+
7+
Changelog for [`@vectorize-io/hindsight-openclaw`](https://www.npmjs.com/package/@vectorize-io/hindsight-openclaw) — Hindsight memory plugin for OpenClaw.
8+
9+
For the source code, see [`hindsight-integrations/openclaw`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/openclaw).
10+
11+
[Back to main changelog](../index.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide_table_of_contents: true
3+
---
4+
5+
# Pydantic AI Integration Changelog
6+
7+
Changelog for [`hindsight-pydantic-ai`](https://pypi.org/project/hindsight-pydantic-ai/) — persistent memory tools for Pydantic AI agents.
8+
9+
For the source code, see [`hindsight-integrations/pydantic-ai`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/pydantic-ai).
10+
11+
[Back to main changelog](../index.md)

skills/hindsight-docs/references/developer/api/documents.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ hindsight memory retain my-bank "Meeting notes content..." --doc-id notes-2024-0
7979
hindsight memory retain-files my-bank docs/
8080
```
8181

82+
### Go
83+
84+
```go
85+
# Section 'document-retain' not found in api/documents.go
86+
```
87+
8288
## Update Documents
8389

8490
Re-retaining with the same document_id **replaces** the old content:
@@ -125,6 +131,12 @@ hindsight memory retain my-bank "Project deadline: March 31" --doc-id project-pl
125131
hindsight memory retain my-bank "Project deadline: April 15 (extended)" --doc-id project-plan
126132
```
127133

134+
### Go
135+
136+
```go
137+
# Section 'document-update' not found in api/documents.go
138+
```
139+
128140
## Get Document
129141

130142
Retrieve a document's original text and metadata. This is useful for expanding document context after a recall operation returns memories with document references.
@@ -179,6 +191,12 @@ console.log(`Created: ${doc.created_at}`);
179191
hindsight document get my-bank meeting-2024-03-15
180192
```
181193

194+
### Go
195+
196+
```go
197+
# Section 'document-get' not found in api/documents.go
198+
```
199+
182200
## Update Document
183201

184202
Update mutable fields on an existing document without re-processing the content. Currently supports updating `tags`.
@@ -225,6 +243,12 @@ hindsight document update-tags my-bank meeting-2024-03-15 --tags team-a --tags t
225243
hindsight document update-tags my-bank meeting-2024-03-15
226244
```
227245

246+
### Go
247+
248+
```go
249+
# Section 'document-update' not found in api/documents.go
250+
```
251+
228252
:::info Observations are re-consolidated
229253
When tags change, any consolidated observations derived from the document's memories are invalidated and queued for re-consolidation under the new tags. Co-source memories from other documents that shared those observations are also reset.
230254
## Delete Document
@@ -271,6 +295,12 @@ console.log(`Deleted ${deleteResult.memory_units_deleted} memories`);
271295
hindsight document delete my-bank meeting-2024-03-15
272296
```
273297

298+
### Go
299+
300+
```go
301+
# Section 'document-delete' not found in api/documents.go
302+
```
303+
274304
:::warning
275305
Deleting a document permanently removes all memories extracted from it. This action cannot be undone.
276306
## List Documents
@@ -373,6 +403,12 @@ hindsight document list my-bank --q report
373403
hindsight document list my-bank --tags team-a --tags team-b
374404
```
375405

406+
### Go
407+
408+
```go
409+
# Section 'document-list' not found in api/documents.go
410+
```
411+
376412
### Filtering Options
377413

378414
| Parameter | Description |

0 commit comments

Comments
 (0)