Illia Polosukhin and Claude Opus 4.5
383fb21c07
Add workspace integration tests
...
- Create tests/workspace_integration.rs with 10 database tests
- Export MockEmbeddings for use in integration tests
- Tests cover: read/write, append, nested paths, delete, memory ops,
daily log, FTS search, hybrid search, list_all, system_prompt
Requires: DATABASE_URL=postgres://localhost/near_agent_test
Co-Authored-By: Claude Opus 4.5 <[email protected] >
2026-02-02 22:01:09 -08:00
Illia Polosukhin and Claude Opus 4.5
3718cfa767
Simplify workspace to path-based storage, remove legacy code
...
- Consolidate all migrations into V1__initial.sql
- Replace DocType enum with flexible path-based file storage
- Add list_workspace_files SQL function for directory listing
- Update memory tools for path-based API (memory_read, memory_write,
memory_search, memory_list)
- Remove unused OpenAI/Anthropic providers (NEAR AI only)
- Simplify config to remove multi-provider support
- Update CLAUDE.md documentation
Co-Authored-By: Claude Opus 4.5 <[email protected] >
2026-02-02 21:38:53 -08:00
Illia Polosukhin and Claude Opus 4.5
4e238e60ac
Add workspace and memory system (OpenClaw-inspired)
...
Implements persistent memory for agents with hybrid search:
- Database-backed workspace with PostgreSQL (not filesystem)
- Memory documents: MEMORY.md, daily logs, identity files
- Chunked content with FTS (tsvector) + vector (pgvector) indexes
- Reciprocal Rank Fusion (RRF) for hybrid search combining BM25 and semantic
- Memory tools: memory_search, memory_write, memory_read
- Proactive heartbeat system for periodic execution (30 min default)
- OpenAI embeddings provider (text-embedding-3-small)
Key patterns from OpenClaw:
- "Memory is files, not RAM" - explicit persistence required
- Two-tier memory: daily logs (raw) + curated MEMORY.md
- Session isolation via user_id/agent_id scoping
Co-Authored-By: Claude Opus 4.5 <[email protected] >
2026-02-02 21:18:47 -08:00