44 Commits

Author SHA1 Message Date
doum1004
799d069cbb Update README with star history and visitor badge
Added star history chart and visitor badge to README.
2026-04-29 01:14:59 -04:00
github-actions[bot]
8287b55c01 chore: release v0.2.3 v0.2.3 2026-04-15 19:03:18 +00:00
doum1004
cf0bf05163 Refactor storage backend: Remove Supabase support and related code
- Removed Supabase-related SQL schema and configuration options from the init command.
- Updated profile command to reflect changes in storage profile handling.
- Refactored search command to use new profile management.
- Removed SupabaseProvider and related JWT parsing functionality.
- Updated registry management to eliminate legacy Supabase profiles.
- Introduced new profile validation and resolution logic.
- Updated tests to remove Supabase-related cases and added tests for new profile functionality.
2026-04-15 15:01:31 -04:00
github-actions[bot]
a810007ecb chore: release v0.2.2 v0.2.2 2026-04-13 04:18:42 +00:00
doum1004
901d063ba1 feat: add frontmatter extraction and activity log parsing to templates 2026-04-13 00:10:44 -04:00
doum1004
b19bd2e408 Add foundational concepts and entities related to LLMs and AI agents
- Create context-window.md to explain the significance of context window size in LLMs.
- Add llm-scaling-laws.md detailing the empirical relationships between model performance and resources.
- Introduce retrieval-augmented-generation.md to describe RAG architecture and its advantages.
- Add entity pages for key figures and organizations: andrej-karpathy.md, anthropic.md, google-deepmind.md, openai.md, sam-altman.md.
- Create sources for foundational papers: attention-is-all-you-need.md, claude-model-card.md, gpt4-technical-report.md, react-paper.md.
- Synthesize insights on AI agent patterns and RAG vs fine-tuning in dedicated pages.
- Update index.md to include new entities and concepts.
- Log all activities related to the wiki's development in log.md.
2026-04-13 00:05:30 -04:00
doum1004
51b4ce6ca7 feat: enhance git integration and improve wiki initialization
- Updated wiki initialization command to use `wiki init` with backend options.
- Introduced `resolvedGitToken` function to prioritize environment variables for GitHub PAT.
- Added `renameCurrentBranchToMain` function to standardize branch naming for GitHub Pages.
- Changed default repository visibility to public for easier GitHub Pages usage.
- Refactored Git provider creation to utilize resolved Git token.
- Modified template generation to include new environment variables and improved styling.
- Added tests for new functionalities including token resolution and branch renaming.
2026-04-12 23:25:25 -04:00
doum1004
3082a07726 feat: add support for storage profiles in wiki commands and providers
- Introduced `--profile` option for `wiki init` and `wiki profile` commands to manage storage profiles.
- Updated `GitProvider` to support a `wikiDataRoot` for markdown I/O.
- Enhanced `SupabaseProvider` to handle user-specific data isolation using JWTs.
- Merged legacy `supabaseProfiles` into `storageProfiles` in the registry.
- Added functions to validate and resolve storage profiles.
- Implemented tests for new profile management features and Supabase interactions.
2026-04-12 23:01:10 -04:00
doum1004
bd0107ab2a feat: add npm install and uninstall commands to permissions, and improve Supabase initialization logic 2026-04-11 02:56:14 -04:00
doum1004
63de75a13c feat: add GitHub Pages visualization support with scaffolding options for git backend 2026-04-11 01:48:20 -04:00
github-actions[bot]
1f0019a523 chore: release v0.2.1 v0.2.1 2026-04-11 05:23:09 +00:00
doum1004
bf2ddb1ca5 refactor: remove deprecated commands and authentication logic
- Deleted push, repo, sync, and auth commands as they are no longer needed.
- Updated the use command to handle wiki selection without relying on the picker.
- Refactored GitProvider to handle automatic commits and push logic.
- Simplified GitHub API interactions by removing unnecessary functions and parameters.
- Updated types to reflect changes in configuration and removed unused imports.
- Cleaned up tests related to removed functionalities.
2026-04-11 01:10:57 -04:00
doum1004
0d621759cf feat: implement tests for SupabaseProvider and GitProvider, and refactor StorageProvider tests 2026-04-11 00:50:41 -04:00
doum1004
a346a2f2ed refactor: remove Git backend commands from documentation 2026-04-11 00:42:30 -04:00
doum1004
d0d4f23252 feat: update documentation to reflect StorageProvider abstraction and backend options 2026-04-11 00:37:50 -04:00
doum1004
5ed99c7b45 feat: add Supabase backend support for wiki storage and commands 2026-04-11 00:37:50 -04:00
doum1004
9e8f913bc1 feat: implement Git backend support for wiki storage and commands 2026-04-11 00:37:50 -04:00
doum1004
2a591b6f5d Refactor storage management and command handling
- Introduced a new StorageProvider interface to abstract storage operations.
- Implemented createProvider function to create a filesystem-based storage provider.
- Updated commands to use the new provider for reading, writing, and managing pages.
- Refactored IndexManager and LogManager to work with the StorageProvider.
- Modified resolveWiki function to return a context with the provider.
- Added requireFilesystem utility to enforce filesystem backend requirements in commands.
- Updated tests to validate the new storage provider functionality and ensure compatibility.
2026-04-11 00:37:50 -04:00
github-actions[bot]
b2736fe0be chore: release v0.1.5 v0.1.5 2026-04-11 03:42:01 +00:00
doum1004
3157fbee2c feat: add Git author and committer environment variables to runWiki function 2026-04-10 23:38:03 -04:00
doum1004
a6df78d840 feat: add skill command to print LLM agent skill guide and update documentation references 2026-04-10 23:31:59 -04:00
doum1004
65d9196f01 feat: add LLM Agent Skill Guide for improved CLI usage reference 2026-04-10 23:29:31 -04:00
doum1004
2fe13f4fe6 feat: add npm test command to settings and update test count in README 2026-04-10 23:22:38 -04:00
doum1004
cf49167ef6 Add comprehensive tests for Git operations, GitHub API interactions, and WikiManager functionality
- Enhance git.test.ts with tests for commit messages with special characters, log limits, diff outputs, branch retrieval, remote addition, file deletion staging, conflict detection, and file-specific logs.
- Introduce github.test.ts to validate GitHub API functions including repository listing, filtering, error handling, and repository creation with various scenarios.
- Expand index-manager.test.ts to cover entry addition, duplicate handling, reading from missing files, entry removal, and case-insensitive category matching.
- Update links.test.ts to ensure proper link resolution, handling of self-referential links, and multiple links to the same target.
- Add lint.test.ts for frontmatter edge cases, including handling empty frontmatter, invalid YAML, and ensuring parseable output.
- Enhance log-manager.test.ts with tests for empty logs, filtering by type and count, log creation, timestamp format, and preserving entry formats.
- Extend read-write.test.ts to skip certain directories, handle deeply nested paths, and ensure consistent path formatting across platforms.
- Improve search.test.ts to escape regex characters, filter by directory, manage snippet generation, enforce default limits, and handle searches in empty wikis.
2026-04-10 23:18:31 -04:00
doum1004
d74498f9fc feat: enhance error handling and conflict resolution in git commands 2026-04-10 23:01:36 -04:00
doum1004
987dc62504 feat: enhance git commands to use current branch for pull and push operations 2026-04-10 19:30:41 -04:00
doum1004
e8df760de1 fix: update context retrieval in index and log commands to use optsWithGlobals directly 2026-04-10 19:18:01 -04:00
doum1004
c01191d8c4 feat: implement promptUser function for user input handling in authentication and repository commands 2026-04-10 19:10:32 -04:00
doum1004
86ca9f000c feat: add GitHub CLI permissions for repository management and authentication 2026-04-10 19:10:32 -04:00
doum1004
f332b54f89 Update README.md 2026-04-10 02:46:57 -04:00
github-actions[bot]
95df135a3f chore: release v0.1.4 v0.1.4 2026-04-10 06:35:47 +00:00
doum1004
140b224b1a feat: add MIT license file and specify license in package.json 2026-04-10 02:27:38 -04:00
doum1004
3e6dfcaed7 fix: correct punctuation and enhance README clarity 2026-04-10 02:23:25 -04:00
doum1004
58a1261610 Phase 5: GitHub Auth + Repo Management
Add GitHub integration for backup and multi-device sync:
- wiki auth login/status/logout with PAT-based authentication
- wiki repo list/create/clone/connect for GitHub repo management
- wiki push/pull/sync for remote operations
- GitHub API client and token storage
- 6 new tests (93 total)

All 5 phases complete.
2026-04-10 02:21:04 -04:00
github-actions[bot]
3b938d288a chore: release v0.1.3 v0.1.3 2026-04-10 06:17:27 +00:00
doum1004
6b054472ed Phase 4: Lint + Links + Status
Add wiki health checks and link graph navigation:
- wiki lint with broken links, orphans, frontmatter, index consistency
- wiki links/backlinks for navigating the wikilink graph
- wiki orphans to find unlinked pages
- wiki status with page counts, link stats, recent activity, git info
- Frontmatter parser and wikilink resolution engine
- 19 new tests (87 total)
2026-04-10 02:16:38 -04:00
github-actions[bot]
006d3d1532 chore: release v0.1.2 v0.1.2 2026-04-10 06:06:52 +00:00
doum1004
b23e8c0b81 Phase 3: Index + Log + Git Commands
Add bookkeeping and git operations:
- wiki index show/add/remove with auto-section detection
- wiki log show/append with --last and --type filters
- wiki commit with auto-message from last log entry
- wiki history with per-file support, wiki diff
- IndexManager and LogManager in src/lib/
- 22 new tests (68 total)
2026-04-10 02:05:59 -04:00
doum1004
f9c8d47b31 Phase 2: Read + Write + List + Search
Add core page operations and text search:
- wiki read/write/append for page CRUD via stdin/stdout
- wiki list with --tree and --json output
- wiki search with term-frequency scoring, snippets, --all flag
- WikiManager class and search engine in src/lib/
- 23 new tests (46 total)
2026-04-10 01:59:46 -04:00
github-actions[bot]
fb39b3b1ff chore: release v0.1.1 v0.1.1 2026-04-10 05:51:43 +00:00
doum1004
c3c161bef9 Add settings.local.json with permissions configuration 2026-04-10 01:49:05 -04:00
doum1004
7ef1378321 Update README and package.json with additional metadata and badges 2026-04-10 01:49:00 -04:00
doum1004
3e788ce513 Add CI, publish workflow, funding, and changelog
- CI: runs tests on push/PR to main
- Publish: manual workflow for version bump, npm + GitHub Packages publish, changelog, GitHub Release
- Funding: Ko-fi link
- CHANGELOG.md: marker for automated entries
2026-04-10 01:39:23 -04:00
doum1004
6a8b9a5612 Phase 1: Bootstrap + Init + Registry
Implement llmwiki-cli v0.1.0 — a CLI tool for LLM agents to build and
maintain personal knowledge bases via pure filesystem + git operations.

Phase 1 includes:
- wiki init: create wiki with directory structure, SCHEMA.md, git init
- wiki registry: list all registered wikis
- wiki use: switch active wiki
- Global registry at ~/.config/llmwiki/
- Wiki resolution chain (--wiki flag > cwd > walk up > default)
- 23 tests passing
- Published to npm as llmwiki-cli
2026-04-10 01:36:17 -04:00