Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8de6fab
feat: Complete rename terraphim-tui to terraphim-agent
AlexMikhalev Nov 16, 2025
99d32c5
feat(ci): Configure CARGO_REGISTRY_TOKEN from 1Password
AlexMikhalev Nov 16, 2025
9740170
fix: Update secret name and dependencies for publishing
AlexMikhalev Nov 16, 2025
c1f282f
fix: Add version requirements to remaining dependencies for publishing
AlexMikhalev Nov 16, 2025
e9a2d15
fix: Disable atomic feature dependencies to unblock publishing
AlexMikhalev Nov 16, 2025
7f5c364
fix: Update test imports for terraphim_agent package rename
AlexMikhalev Nov 16, 2025
a72ac6b
fix: Add complete metadata to terraphim_agent package
AlexMikhalev Nov 16, 2025
7273ec9
fix: Reduce keywords to 5 maximum for crates.io compliance
AlexMikhalev Nov 16, 2025
a835dec
chore: add PLAN.md
AlexMikhalev Nov 16, 2025
3c5c4b8
fix: reapply Python test fixes after rebase
AlexMikhalev Nov 16, 2025
96c2314
ci: migrate workflows to self-hosted runners
AlexMikhalev Nov 16, 2025
389062a
docs: update PLAN.md with progress tracking
AlexMikhalev Nov 16, 2025
6caedad
docs: add comprehensive autoupdate documentation
AlexMikhalev Nov 17, 2025
f1aae72
WIP:Whole sunday work
AlexMikhalev Nov 17, 2025
bd45cf0
fix: add terraphim_truthforge to workspace exclusions
AlexMikhalev Nov 17, 2025
667a53b
refactor: rename terraphim_tui to terraphim_agent folder
AlexMikhalev Nov 17, 2025
162cf00
fix: update terraphim_server dependency to use terraphim_agent
AlexMikhalev Nov 17, 2025
eb4b153
resolve: merge fixes_sunday branch with conflict resolution
AlexMikhalev Nov 17, 2025
6986621
Merge remote main into local branch
AlexMikhalev Nov 23, 2025
100051e
docs: add comprehensive Terraphim Desktop technical specification
claude Nov 24, 2025
e40a3a3
docs: organize desktop specification and update documentation
claude Nov 24, 2025
2361183
Merge pull request #335 from terraphim/claude/terraphim-desktop-spec-…
AlexMikhalev Nov 24, 2025
42657af
chore(deps)(deps): bump rmcp from 0.6.4 to 0.9.0
dependabot[bot] Nov 24, 2025
cb4e0f2
chore(deps)(deps): bump wiremock from 0.5.22 to 0.6.4
dependabot[bot] Nov 24, 2025
492d301
chore(deps)(deps): bump mockall from 0.13.1 to 0.14.0
dependabot[bot] Nov 24, 2025
380c5dc
chore(deps)(deps): bump ed25519-dalek from 1.0.1 to 2.2.0
dependabot[bot] Nov 24, 2025
a96bf21
chore(deps)(deps): bump axum from 0.8.6 to 0.8.7
dependabot[bot] Nov 24, 2025
271c320
chore(deps)(deps): bump tiptap-markdown from 0.8.10 to 0.9.0 in /desktop
dependabot[bot] Nov 25, 2025
d8986bd
Merge branch 'main' of github.com:terraphim/terraphim-ai
AlexMikhalev Nov 25, 2025
4d72166
Merge pull request #346 from terraphim/dependabot/npm_and_yarn/deskto…
AlexMikhalev Nov 25, 2025
96c6610
Merge branch 'main' of github.com:terraphim/terraphim-ai
AlexMikhalev Nov 25, 2025
afd949c
Merge pull request #345 from terraphim/dependabot/cargo/axum-0.8.7
AlexMikhalev Nov 25, 2025
02b6ebf
Merge pull request #344 from terraphim/dependabot/cargo/ed25519-dalek…
AlexMikhalev Nov 25, 2025
bce600f
Merge branch 'main' of github.com:terraphim/terraphim-ai
AlexMikhalev Nov 25, 2025
e1db495
Merge pull request #343 from terraphim/dependabot/cargo/mockall-0.14.0
AlexMikhalev Nov 25, 2025
615e9e3
Merge pull request #342 from terraphim/dependabot/cargo/wiremock-0.6.4
AlexMikhalev Nov 25, 2025
05d684d
Merge pull request #341 from terraphim/dependabot/cargo/rmcp-0.9.0
AlexMikhalev Nov 25, 2025
c93f3df
Merge branch 'main' of github.com:terraphim/terraphim-ai
AlexMikhalev Nov 25, 2025
26e54dc
fix: GitHub Actions publishing workflows for crates.io, npm & PyPI
AlexMikhalev Nov 27, 2025
a34027a
feat: create reusable publishing scripts for crates.io, PyPI and npm
AlexMikhalev Nov 27, 2025
2442a08
fix: use correct 1Password path for PyPI token (password not token)\n…
AlexMikhalev Nov 27, 2025
18907d2
improve: auto-detect 1Password tokens in publishing scripts
AlexMikhalev Nov 27, 2025
f2942b5
chore(deps)(deps): bump env_logger from 0.10.2 to 0.11.8
dependabot[bot] Nov 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .docs/summary-CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ Provides comprehensive guidance to Claude Code (claude.ai/code) when working wit
- **Knowledge Graph System**: Thesaurus format, automata construction, rolegraph management
- **AI Integration**: OpenRouter, Ollama support with LLM client abstraction

## Recent Updates
## Recent Updates (v1.0.0 Release)
- **Multi-Language Package Ecosystem**: Added comprehensive Rust, Node.js, Python package information
- **Package Manager Support**: Enhanced with Bun optimization for Node.js ecosystem
- **CI/CD Infrastructure**: Updated with self-hosted runners and 1Password integration
- **Grep.app Integration**: Added search across 500,000+ GitHub repositories
- **MCP Server**: Complete Model Context Protocol implementation for AI integration
- **Binary Update**: terraphim-tui → terraphim-agent with updated references
- **Performance Metrics**: Added comprehensive benchmarks and optimization details
- **Publishing Documentation**: Complete guides for multi-language package publishing

## Legacy Updates
- Added workspace structure section
- Expanded crate documentation (agent systems, haystacks)
- Added TUI build variations and feature flags
Expand Down
26 changes: 24 additions & 2 deletions .docs/summary-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,38 @@ Main project documentation for Terraphim AI, a privacy-first AI assistant that o
- **Rolegraph**: Knowledge graph using Aho-Corasick automata for ranking

## Installation Options

### 🎉 v1.0.0 Multi-Language Packages

**🦀 Rust (crates.io)**:
```bash
cargo install terraphim_agent
terraphim-agent --help
```

**📦 Node.js (npm)**:
```bash
npm install @terraphim/autocomplete
# or with Bun
bun add @terraphim/autocomplete
```

**🐍 Python (PyPI)**:
```bash
pip install terraphim-automata
```

### Traditional Installation
- **Docker**: `docker run ghcr.io/terraphim/terraphim-server:latest`
- **Homebrew**: `brew install terraphim/terraphim-ai/terraphim-ai`
- **Quick Install**: `curl -fsSL https://raw.githubusercontent.com/terraphim/terraphim-ai/main/release/v0.2.3/install.sh | bash`
- **Development**: `git clone && cargo run`

## Development Setup
1. Clone repository
2. Install pre-commit hooks: `./scripts/install-hooks.sh`
3. Start backend: `cargo run`
4. Start frontend: `cd desktop && yarn run dev` (web) or `yarn run tauri dev` (desktop)
5. TUI: `cargo build -p terraphim_tui --features repl-full --release`
5. TUI: `cargo build -p terraphim_tui --features repl-full --release && ./target/release/terraphim-agent`

## Important Details
- Storage backends: Local by default (memory, dashmap, sqlite, redb); optional AWS S3 for cloud
Expand Down
2 changes: 2 additions & 0 deletions .docs/summary-TESTING_SCRIPTS_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## Purpose
Comprehensive documentation for testing scripts used in Novel editor autocomplete integration with Terraphim's knowledge graph system. Provides automated testing workflows and service management.

**Updated for v1.0.0**: Now includes testing for multi-language packages (Rust, Node.js, Python) and comprehensive validation of autocomplete functionality across all platforms.

## Key Scripts
- **quick-start-autocomplete.sh**: Interactive menu with preset configurations (full, mcp, dev, test, status, stop)
- **start-autocomplete-test.sh**: Main testing script with full control over services and configuration
Expand Down
22 changes: 22 additions & 0 deletions .docs/summary-lessons-learned.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,28 @@ Captures critical technical insights, development patterns, and lessons from Ter
- **Categories**: Prompt injection, command injection, memory safety, network validation
- **Coverage**: 99 comprehensive tests across multiple attack vectors

**Pattern 6: Multi-Language Package Publishing Strategy**
- **Context**: v1.0.0 release with Rust, Node.js, Python packages
- **Learning**: Platform-specific bindings require different approaches but unified API design
- **Rust (crates.io)**: Native publishing with comprehensive documentation
- **Node.js (npm)**: NAPI bindings for zero-overhead native performance
- **Python (PyPI)**: PyO3 bindings for maximum speed with universal wheels
- **Key Success**: Consistent API design across all languages while leveraging platform strengths

**Pattern 7: Comprehensive Multi-Package-Manager Support**
- **Context**: Node.js ecosystem evolution beyond npm
- **Learning**: Support multiple package managers for maximum reach
- **Implementation**: npm + Bun optimization with performance benchmarking
- **Benefits**: Faster installation (Bun), broader compatibility (npm), developer choice
- **Testing**: Automated testing across all supported package managers

**Pattern 8: CI/CD Infrastructure Migration**
- **Context**: Earthly to GitHub Actions migration for self-hosted runners
- **Learning**: Gradual migration with parallel systems reduces risk
- **Approach**: Maintain Earthly while building GitHub Actions, then switch
- **Key Benefits**: Self-hosted runners, 1Password integration, faster builds
- **Security**: OIDC authentication for package publishing with secure token management

## Technical Insights

**UI Development**:
Expand Down
21 changes: 21 additions & 0 deletions .docs/summary-memories.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,27 @@ Comprehensive development history and progress tracking for the Terraphim AI pro

## Critical Sections

### v1.0.0 Major Release Achievements (2025-11-16)

**Multi-Language Package Ecosystem (COMPLETE ✅)**:
- **Rust terraphim_agent**: Published to crates.io with CLI/TUI interface
- **Node.js @terraphim/autocomplete**: Published to npm with NAPI bindings and Bun support
- **Python terraphim-automata**: Published to PyPI with PyO3 bindings
- **10 Core Rust Crates**: All successfully published to crates.io
- **Comprehensive CI/CD**: Self-hosted runners with 1Password integration

**Enhanced Search Integration (COMPLETE ✅)**:
- **Grep.app Integration**: Search across 500,000+ GitHub repositories
- **Advanced Filtering**: Language, repository, and path-based filtering
- **MCP Server**: Complete Model Context Protocol implementation
- **Claude Code Hooks**: Automated workflows and integration templates

**Documentation & Release (COMPLETE ✅)**:
- **Comprehensive v1.0.0 Documentation**: README, release notes, API docs
- **Multi-Language Installation Guides**: Step-by-step instructions
- **GitHub Release**: Complete with changelog and installation instructions
- **terraphim-agent Binary**: Successfully updated from terraphim-tui references

### Recent Major Achievements (2025-10-08)

**TruthForge Phase 5 UI Development (COMPLETE ✅)**:
Expand Down
41 changes: 25 additions & 16 deletions .docs/summary-scratchpad.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,31 @@ Active task management and current work tracking for Terraphim AI development. D
- **System Status**: Current health of various components
- **Phase Planning**: Upcoming work and priorities

## Current Status (Latest Update: October 18, 2025)

**✅ Phase 1 Security Testing Complete**
- 43 security tests implemented (19 in terraphim-ai, 24 in firecracker-rust)
- All critical vulnerabilities fixed: prompt injection, command injection, unsafe memory, network injection
- 28 tests passing on bigbox validation
- Risk level reduced from HIGH to MEDIUM

**🔄 Phase 2 Security Bypass Testing - Ready to Start**
- **Objective**: Test effectiveness of implemented security controls
- **Timeline**: October 18-25, 2025
- **Focus Areas**:
- Advanced prompt injection bypass (encoding, context manipulation)
- Command injection bypass (shell metacharacter evasion)
- Memory safety bypass (buffer overflow attempts)
- Network security bypass (interface name spoofing)
## Current Status (Latest Update: November 16, 2025)

**🎉 v1.0.0 MAJOR RELEASE COMPLETE**
- Multi-language package ecosystem successfully released
- All 10 core Rust crates published to crates.io
- Node.js @terraphim/autocomplete published to npm with Bun support
- Python terraphim-automata published to PyPI
- Comprehensive documentation and GitHub release completed
- terraphim-tui successfully renamed to terraphim-agent across all references

**✅ v1.0.0 Release Achievements**
- **Multi-Language Support**: Rust, Node.js, Python packages available
- **Enhanced Search**: Grep.app integration (500K+ GitHub repos)
- **AI Integration**: Complete MCP server and Claude Code hooks
- **Infrastructure**: Self-hosted CI/CD runners with 1Password integration
- **Performance**: Sub-2s startup, sub-millisecond search, optimized binaries

**🔄 Next Development Phase - Ready to Start**
- **Objective**: Build upon v1.0.0 foundation with advanced features
- **Timeline**: November 2025 onward
- **Potential Focus Areas**:
- Enhanced WebAssembly support
- Plugin architecture for extensions
- Advanced AI model integrations
- Performance optimizations and benchmarks

## Critical Sections

Expand Down
Loading
Loading