Skip to content

Feature/20260202 new features#6

Merged
leduclinh7141 merged 21 commits into
mainfrom
feature/20260202-new-features
Feb 4, 2026
Merged

Feature/20260202 new features#6
leduclinh7141 merged 21 commits into
mainfrom
feature/20260202-new-features

Conversation

@leduclinh7141

Copy link
Copy Markdown
Contributor

No description provided.

…nagement

- Added ai-enrichment.ts to handle AI-generated insights for tool observations.
- Integrated AI enrichment into MemoryHookService for enhanced observation data.
- Introduced user prompt tracking with saveUserPrompt and getSessionPrompts methods.
- Enhanced session summary generation to include structured summaries and user prompts.
- Updated database schema to support new fields for observations and session summaries.
- Improved markdown generation to include recent user prompts and session summaries.
- Added utility functions for extracting facts and concepts from tool usage.
- Updated vitest configuration to include setup files for testing.
- Implemented __IMPORTANT meta-tool to guide users on memory workflow and usage.
- Added memory_delete and memory_update tools for managing existing memories.
- Introduced advanced filtering options (dateStart, dateEnd, orderBy) in memory_search.
- Enhanced context handling in ContextHook to provide better user guidance when no previous sessions exist.
- Created UserMessageHook to display memory status to users without altering conversation context.
- Improved observation handling in ObservationHook with AI enrichment in a fire-and-forget manner.
- Updated MemoryHookService to support asynchronous AI enrichment of observations.
- Enhanced tests to cover new tools and features, ensuring robust functionality.
…ion summary enrichment

- Updated AI enrichment logic to utilize the `claude --print` CLI instead of the Claude Agent SDK.
- Introduced new command `enrich-summary` for enriching session summaries using transcript data.
- Implemented background processing for AI enrichment and embedding generation.
- Enhanced MemoryHookService to manage embedding queue and worker processes.
- Added utility functions for extracting the last assistant message from transcripts.
- Updated tests to reflect changes in AI enrichment and CLI integration.
- Expanded observation types to include `MultiEdit` for better handling of tool actions.
- Implement tests to skip empty or no-op tool calls in hook handlers.
- Add tests for spawning enrich workers when AI enrichment is enabled.
- Create a new test suite for MemoryHookService covering task queue, worker lifecycle, session summaries, user prompts, and transcript extraction.
- Enhance existing tests for generating narratives and extracting facts from various tools.
- Ensure proper handling of edge cases in narrative generation and fact extraction.
- Implemented functions for compressing individual observations and generating session-level digests using AI.
- Added new CLI command 'compress-session' to process compression tasks in the background.
- Enhanced the MemoryHookService to handle observation compression and session digest creation.
- Introduced content hashing for deduplication of observations and prompts.
- Updated database schema to support new features, including compressed summaries and parent session tracking.
- Improved context display to show user statistics and memory usage.
- Implemented intent detection in storeObservation to add intent tags to concepts based on user prompts.
- Added tests for intent detection and lifecycle management functionalities.
- Enhanced lifecycle management with tasks for archiving, deleting, and compressing sessions and observations.
- Introduced export/import functionalities for sessions, including deduplication of observations and prompts.
- Updated CLI commands to support lifecycle tasks and export/import operations.
- Expanded types to include lifecycle configuration and statistics.
…pression tasks; enhance session initialization
- Implemented a new rules generator in `rules-generator.ts` to create platform-specific rules files for AI coding assistants.
- The generator includes memory workflow instructions and token efficiency rules.
- Added functionality to install or update rules files in the project directory.

refactor: Enhance setup process for multiple AI platforms

- Updated `setup.ts` to support additional platforms: Cline and OpenCode.
- Improved MCP server configuration to handle different formats for various platforms.
- Integrated rules file installation into the setup process for supported platforms.

test: Add unit tests for platform adapters

- Created comprehensive tests for `ClaudeCodeAdapter`, `OpenCodeAdapter`, and `GenericAdapter`.
- Ensured consistent behavior across adapters and validated input/output formats.

feat: Implement platform adapters for hook handling

- Developed `ClaudeCodeAdapter`, `OpenCodeAdapter`, and `GenericAdapter` to normalize input and output for different platforms.
- Added a `resolveAdapter` function to select the appropriate adapter based on environment variables.

chore: Update CLI to utilize platform adapters

- Modified the CLI to read input using the resolved adapter and output responses accordingly.
- Ensured backward compatibility with existing formats while supporting new adapters.
…sion embedding generation and refresh functionality
- Bump package version in package.json and package-lock.json to 2.2.0
- Introduce a new README translation tool in scripts/translate-readme
- Add CLI support for translating README.md files to multiple languages
- Implement caching mechanism to avoid redundant translations
- Provide programmatic API for integration in build scripts
- Include detailed README for the translation tool with usage examples and supported languages
@leduclinh7141 leduclinh7141 merged commit 07ed946 into main Feb 4, 2026
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant