Commit Graph

25 Commits

Author SHA1 Message Date
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