Commit graph

30 commits

Author SHA1 Message Date
Erik van der Boom
3cc323ba48 Update tool references to include "bindery_" prefix for consistency 2026-07-20 22:02:50 +02:00
Erik van der Boom
65207bd69f Refactor MCP tools to use "bindery_" prefix
- Updated test cases in index-contract.test.ts and integration-stdio.test.ts to reflect new tool names with "bindery_" prefix.
- Modified README.md and manifest.json to document and register new tool names.
- Adjusted check-tool-parity script to ensure consistency across all surfaces for the new tool naming convention.
- Updated VS Code extension documentation to reflect changes in available MCP tools.
2026-07-18 00:28:27 +02:00
Erik van der Boom
5d6b46f70d Remove chapter status tracking functionality from the project
- Deleted chapter status template function and related code from tools.ts.
- Removed chapter status update and get functions, including their tests.
- Updated README and manifest files to reflect the removal of chapter status features.
- Cleaned up related commands and interfaces in the VS Code extension.
2026-07-18 00:01:21 +02:00
Erik van der Boom
fba4827d2c feat(release): add standalone MCP zip asset and standardized release notes 2026-07-14 22:39:15 +02:00
Erik van der Boom
b582f11aff feat: add inbox triage tools (inbox_process / inbox_resolve)
Add a confirmation-gated inbox triage workflow over Notes/Inbox.md:

- inbox_process (read-only): enumerates loose inbox items with stable
  numbers and returns a structured triage proposal plus the destination
  tools to route them. Never moves, deletes, or categorizes.
- inbox_resolve (destructive): removes already-routed items by their
  item numbers after the user confirms, preserving other items and the
  heading/intro.

A shared deterministic parser splits Inbox.md on `## ` headings, or on
blank-line blocks when there are no headings, so item numbers stay stable
between process and resolve.

- tools + registration (mcp-ts), VS Code + Obsidian commands, LM tools,
  MCPB manifest, and command/tool parity rows (44 tools, 38 commands)
- guidance update: rough/unsorted/pasted material routes to the Inbox and
  is triaged with inbox_process/inbox_resolve, not dumped into memory
  (memory skill, generated assistant templates, generated README, public
  docs); bumped touched template versions
- inbox scaffold intro references the triage tools
- tests for inbox_process / inbox_resolve incl. empty state, heading vs
  blank-line splitting, out-of-range rejection, and intro preservation

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 15:51:42 +02:00
Erik van der Boom
21d6e5768f feat: add session focus tools with SESSION/PREFERENCES split
Add session_focus_get and session_focus_update over an ephemeral
SESSION.md working-state file, and split durable user preferences into
a separate user-owned PREFERENCES.md. Drops the COWORK.md default, which
collided with Claude Cowork's own convention; the two fixed, role-named
files are harness-independent and let generated skills reference a stable
SESSION.md token.

session_focus_update is section-aware: it touches only the neutral
SESSION.md sections (Current Focus, Next Actions, Open Questions, Handoff
Notes) and preserves everything else. PREFERENCES.md is scaffolded once
and never tool-written.

- tools + registration (mcp-ts), settings defaults + getPreferencesFile
- init_workspace scaffolds both files and persists preferencesFile;
  existing workspaces keep their explicit sessionFile (no migration)
- VS Code + Obsidian commands, LM tools, MCPB manifest, parity rows
- updated skills, generated assistant templates, and public docs;
  bumped touched template versions
- tests for session_focus and the split scaffold

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 15:51:42 +02:00
Erik van der Boom
288b491cc4 feat: add authoring tools for notes, characters, and arcs
- Introduced commands for managing notes: list, get, create, and append.
- Added character management commands: list, get, create, and update.
- Implemented arc management commands: list, get, create, and update.
- Enhanced AI setup to include new character and arc functionalities.
- Updated package.json to reflect new commands and tools.
- Improved workspace settings handling for story, notes, and arc folders.
- Added input validation and prompts for user interactions in commands.
2026-05-29 00:03:54 +02:00
Erik van der Boom
a7049e1900 refactor: update descriptions for bindery_git_snapshot command in README and package.json 2026-05-12 23:43:22 +02:00
Erik van der Boom
036f2ba306 feat: update README to include Obsidian plugin and enhance architecture overview 2026-05-04 09:13:22 +02:00
Erik van der Boom
e4773fdf28 feat: integrate @bindery/merge for book merging and tool location
- Added bindery-merge as a workspace in package.json.
- Updated vscode-ext to include @bindery/merge as a dependency.
- Refactored merge.ts to re-export merging functionalities from @bindery/merge, removing legacy code.
- Simplified tool-locate.ts by re-exporting tool location logic from @bindery/merge, enhancing code reuse and maintainability.

Co-authored-by: Copilot <copilot@github.com>
2026-05-03 23:50:11 +02:00
copilot-swe-agent[bot]
12fc7fcad4
fix: address review comments - non-happy-path tests, template version bump, docs corrections
Agent-Logs-Url: https://github.com/evdboom/Bindery/sessions/a2b366fc-035f-4121-bc85-f986219e774f

Co-authored-by: evdboom <18037882+evdboom@users.noreply.github.com>
2026-05-03 07:11:56 +00:00
Erik van der Boom
d2ceecd255 feat: add review marker commands and enhance editor functionality in Obsidian plugin
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 08:59:38 +02:00
Erik van der Boom
be9ace839c feat(review): marker-based review regions + default keybindings
Adds <!-- Bindery: Review start --> / <!-- Bindery: Review stop --> markers so committed work-in-progress can still be surfaced for review. get_review_text now returns a two-section payload (Git diff + Review markers); autoStage consumes the marker lines so the next pass starts clean.

Adds VS Code commands 'Insert Review Start Marker (or wrap selection)' and 'Insert Review Stop Marker', plus default keybindings (markdown editors only):

  Ctrl+K Ctrl+B : Format Typography
  Ctrl+K Ctrl+, : Insert Review Start Marker
  Ctrl+K Ctrl+. : Insert Review Stop Marker
2026-04-27 23:05:24 +02:00
Erik van der Boom
651d0028ac docs: rewrite READMEs with complete tool tables and setup guides
Root README: expand feature list, add CI badge section, update
installation and development instructions.

vscode-ext README: full rewrite — add complete command table (12),
MCP tool table (25), dialect/translation workflow, autodetect docs,
and format-on-save configuration details.
2026-04-19 22:33:37 +02:00
Erik van der Boom
967383ca55
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-04-10 09:26:39 +02:00
Erik van der Boom
340c1e0776
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-04-10 09:26:14 +02:00
Erik van der Boom
e1fe6e57a7
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-04-10 09:25:49 +02:00
Erik van der Boom
dbdcc7d5c7
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-04-10 09:25:22 +02:00
Erik van der Boom
5f33b1230d
Improve README.md content and formatting
Revised project description for clarity and flow. Updated prerequisites section for better readability.
2026-04-10 08:57:02 +02:00
Erik van der Boom
538af1652c Fix spelling of "Initialized" in documentation and code comments 2026-04-10 00:02:43 +02:00
Erik van der Boom
aa557bba7e
Update README.md 2026-04-09 23:48:53 +02:00
Erik van der Boom
429852e28a readme update 2026-04-09 23:32:43 +02:00
Erik van der Boom
a0d77832ac Refactor: Replace replace with replaceAll for consistent string replacements
- Updated `format.ts`, `index.ts`, `registry.ts`, `search.ts`, `templates.ts`, `tools.ts`, and `vscode-ext` files to use `replaceAll` instead of `replace` for string manipulations.
- Changed import statements in various files to use `node:` prefix for built-in modules.
- Adjusted test files to reflect changes in string replacement methods and updated descriptions for clarity.
- Modified README and manifest files to correct descriptions related to notes file handling.
2026-04-09 21:56:12 +02:00
Erik van der Boom
110c9b7020 feat: add Ollama integration validation for semantic search and update privacy policy 2026-04-09 21:29:02 +02:00
Erik van der Boom
b60db1cd55 feature: full semantic support and warning refactor
refactor: update imports to use node: prefix, adjust tool references, and improve test coverage

- Changed imports in test files to use 'node:' prefix for fs, os, and path modules.
- Updated tool references in tests from 'retrieve_context' to 'search' and adjusted related assertions.
- Modified tests to await asynchronous tool functions where necessary.
- Removed outdated templates parity test file.
- Added tsconfig.json for test directory to include node types.
- Enhanced README and manifest files to reflect changes in search modes and index building.
- Updated VS Code extension README and package.json to align with new tool descriptions and functionalities.
- Refactored mcp.ts to support new search modes and ensure proper async handling in tool registrations.
2026-04-09 21:20:47 +02:00
copilot-swe-agent[bot]
eafdeba4da
Stabilize AI template source-of-truth testing and VS Code resilience
Agent-Logs-Url: https://github.com/evdboom/Bindery/sessions/87484cb7-798a-4fd0-91b5-e75ed43e4213

Co-authored-by: evdboom <18037882+evdboom@users.noreply.github.com>
2026-04-07 22:06:37 +00:00
Erik van der Boom
83f7f19cb3 feat: add review and snapshot tools for git integration
- Implemented `toolGetReviewText` to retrieve structured git diffs of uncommitted changes, with options for language filtering and auto-staging.
- Added `toolGitSnapshot` for committing changes in specified content folders with customizable commit messages.
- Introduced `toolAddTranslation` for managing dialect substitution rules in translations.json.
- Updated README.md to reflect new features and installation instructions.
- Enhanced manifest.json with privacy policy and updated tool descriptions.
- Modified VS Code extension to support new commands for reviewing changes and adding translations.
- Ensured git repository initialization during workspace setup, including .gitignore creation.
2026-03-31 21:57:13 +02:00
Erik van der Boom
cc649851b2 feat: Implement book registry and CLI integration
- Add registry.js and registry.ts for managing book paths via CLI flags and environment variables.
- Introduce resolveBook, listBooks, and findBookByPath functions for book management.
- Update index.ts to utilize the new book registry, requiring explicit book arguments for tool calls.
- Enhance MCP server configuration to accept book paths through --book args and BINDERY_BOOKS env variable.
- Modify README.md and manifest.json to reflect new configuration options for books.
- Update VS Code extension to pass book information to the MCP server.
- Adjust regex patterns in merge.ts for improved folder name matching.
2026-03-31 19:45:21 +02:00
Erik van der Boom
18017267a2 refactor: remove legacy MCP server and ONNX model scripts
- Deleted the MCP server wrapper in `mcpb/server/index.js` to streamline the integration process.
- Removed the ONNX model download script `scripts/download_onnx_model.py` and related server `scripts/onnx_embed_server.py` to simplify the codebase.
- Cleared out ONNX export and runtime requirements from `scripts/onnx_export_requirements.txt` and `scripts/onnx_requirements.txt`.
- Eliminated batch scripts for starting the ONNX server to reduce clutter.
- Updated VS Code extension to include new commands for MCP server registration and translations management.
- Enhanced the README and package metadata for clarity and accuracy.
2026-03-31 16:49:30 +02:00
Erik van der Boom
629f9c94e8 initial commit in won repo 2026-03-31 13:27:21 +02:00