bondulance is your personal local coding assistant that avoids having a stronk.
  • JavaScript 69.3%
  • CSS 18.5%
  • HTML 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-18 03:50:04 +01:00
agents Review by GLM5.3 2026-11-18 03:50:04 +01:00
click-dummy Commit initial plan, re-organize repo 2026-11-17 22:39:35 +01:00
docs Commit initial plan, re-organize repo 2026-11-17 22:39:35 +01:00
.gitignore Commit initial plan, re-organize repo 2026-11-17 22:39:35 +01:00
AGENTS.md Review by Qwen3.8 Flash Next 2026-11-18 03:04:36 +01:00
README.md Refactoring complete 2026-11-01 21:33:02 +01:00

Submodules

  • GUI

    • Tauri
    • Frontend: HTMX + Mermaid + MathJAX + Markdown renderer
    • Chat log (tabbed for sub-agents with indicator if an agent is running, finished or waiting for user input)
    • File tree with added functionality per sandbox and one for the main checkout:
      • Git viewer (commit list, diffs, git lanes, only main: commit, push, pull, branch creation)
      • File viewer (Syntax highlighed, Markdown rendered, images, etc.)
    • Settings page
    • Background service state/management
    • Proxy allow/deny list
    • Session management
  • Web

    • Same interface as in GUI but available remotely via web-browser
  • TUI

    • Probably ratatui, same functionality as GUI without image support
  • CLI

    • Actions to run TUI and GUI
    • Action to send text to a running session (e.g. Command output) either directly or as a code block into the user's input field
    • Doctor action to validate config and dependencies as well as LLM connectivitiy
  • Agentloop

    • Runs the chat loop
    • Compaction
    • Sub-Agent spawning
    • Keeps the chat model (includes bondulance status messages)
    • Runs tool-calls after running through the fixer
    • Manages the Sandbox
    • Triggers git-mergeback
    • Hooks
      • On file access insert rule
      • On agent run start/end
      • On sub-agent spawn/end
      • On session start
      • Pre tool use
      • Post tool use
  • Fixer

    • Fix bad shell calls
      • head and tail -> translate to tool parameters
      • timeout -> translate to tool parameters
      • split chained calls
      • cd -> translate to tool parameters
      • sed -> translate to file read or regex replace
      • grep -> translate to grep tool
    • Fix bad behaviour
      • sed, awk or python to edit files -> reject, guide to tool use
      • git -> reject, guide to tool use
      • nohup or & for backgrounding -> reject, guide to service runner
      • build. lint, fmt -> reject, guide to corresponding tool
      • test -> reject, guide to test tool
      • inline scripting (python, node, shell, perl) -> reject, guide to run_script
  • Git

    • Git client that merges branches or worktrees
    • Merge conflict resolution
    • Allow users to commit, push, pull, create branches and merge
  • Editor/Viewer

    • Show syntax highlighted code
    • Show diffs
    • Show images
    • Show markdown in rendered state including Mermaid and MathJax
  • Source tree

    • Show tree of project directory
    • Filters:
      • Only changed/untracked/deleted (git repo status view)
      • Only show files not in .gitignore
      • Show non-hidden files
      • Show all files
  • Persistence

    • Session list (tree, sessions can have sub-agents)
    • Serialization of all files needed (including spill files which have to be fetched from the sandbox)
    • Session reload from serialized state
  • Tools

    • Shell tool runs output through tokf
  • Skill, Agent, Hooks and Rules parser

    • Parses skill and agent files
    • Maintains a registry
    • Replaces relative paths in skill files to match the sandbox env so a load performed by the model will work

Tools

Directory (runs inside sandbox):

  • list_directory: List files and sub-directories
    • path: defaults to workspace directory, path to list
    • recursive: default false, list recursive
  • create_directory: Create a new directory
    • path: path to create
    • with_parents: default false, create missing parent directories
    • existing_ok: default false, no error when path already exists
  • copy_directory: Copy an existing directory
    • source_path: path to copy
    • destination_path: destination
    • recursive: default true, also copy sub-directories recursively
  • delete_directory: Remove a directory
    • path: path to delete
    • recursive: default false, also delete all files and sub-directories
    • non_existing_ok: default false, removal of non-existing path does not return error
  • move_directory: Move or rename a directory
    • source_path: Directory to move or rename
    • destination_path: Destination or new name

File (runs inside sandbox):

  • read_file: Read file content, in multi-modal context it reads all supported types.
    • path: Path to the file
    • head_lines: optional, number of lines to read from the start of the file
    • tail_lines: optional, number of lines to read from the end of the file
    • start_line: optional, defaults to 1 when no head_lines or tail_lines were specified, invalid if head or tail requested, first line to read
    • end_line: optional, invalid if head or tail requested, last line to read
    • num_lines: optional, invalid if head or tail requested or end_line is set, number of lines to read from start_line
    • line_numbers: default false, add line numbers at start of each line
  • write_file: Create a new file or overwrite a file
    • path: Path to the file
    • overwrite: default false, overwrite the file if it exists
    • content: content to write to the file, empty string is allowed here to truncate a file
  • edit_file: Edit a file by replacing a chunk of lines or a string
    • path: Path to the file
    • start_line: First line to replace or search for the string
    • end_line: Last line to replace or search for the string
    • needle: optional, search string to replace, use in combination with replacement
    • replacement: optional, use in combination with needle to replace a string
    • content: When not searching for a needle this content replaces the range of start_line to end_line
  • copy_file: Copy a file
    • source_path: Path to the file to copy
    • destination_path: Destination of the copy
    • overwrite: default false, overwrite the file at the destination if it exists
  • delete_file: Delete a file
    • path: Path to the file
    • non_existing_ok: default false, removal of non-existing path does not return error
  • move_file: Move or rename a file
    • source_path: Path to the file to move
    • destination_path: Destination of the move
    • overwrite: default false, overwrite the file at the destination if it exists
  • apply_patch: Apply a patch to a file
    • path: Path to the file
    • patch: The patch to apply
  • diff: Create a diff of two files
    • a: Path to first file
    • b: Path to second file to compare a to

Search (runs inside sandbox):

  • find: Find a directory or file by name, extension or glob-pattern
    • path: defaults to workspace, path to start in
    • name: optional, name to search, may contain simple wildcards like * and ?
    • extension: optional, extension to search
    • glob: optional, glob pattern to search
  • grep: Find files by their content or search a single file for a string or regex
    • path: defaults to workspace, path to start in, may be a file then only this file is searched
    • extension: optional, only search in files with this file extension
    • recursive: defaults to true, search path and all sub-directories
    • regex: optional, list of regex patterns to search for, either single string or array of strings
    • string: optional, list of strings to search for, either single string or an array
    • context_lines: defaults to 0, lines of context before and after the found place
    • context_before: defaults to context_lines, lines of context before the found place
    • context_after: defaults to context_lines, lines of context after the found place

Git (runs outside sandbox):

  • git
    • command: the part after git as if you're writing a shell command

Shell (runs inside sandbox):

  • shell: Run a command inside the sandbox
    • command: The command to run
    • timeout: defaults to 60 seconds, timeout after which the command is killed
    • head_lines: optional, only return the first n lines of the output
    • tail_lines: optional, only return the last n lines of the output
    • grep_string: optional, filter output lines to only those containing this string
    • grep_regex: optional, filter the output lines by this regex
    • spill: optional, set to true to re-direct the output to a temporary file instead of returning it in the response; In this case only the exit code and the filename are returned.
  • run_script: Run a one-time script in a defined scripting language
    • language: scripting language to use (e.g. javascript, python, shell, perl)
    • script: the script code to run
    • spill: optional, set to true to re-direct the output to a temporary file instead of returning it in the response; In this case only the exit code and the filename are returned.
  • start_service: Start a previously registered service
    • id: service id to start
  • stop_service: Stop a previously registered and running service
    • id: service id to stop
    • signal: defaults to SIGTERM, signal to send (e.g. SIGTERM, SIGHUP, SIGKILL)
  • lint: Run the configured linter
    • path: optional, defaults to complete workspace, directory or file to lint
  • auto_format: Run the configured auto-formatter
    • path: optional, defaults to complete workspace, directory or file to format
    • dry_run: defaults to false, only check formatting, do not reformat anything
  • check: Run the configured checker
    • path: optional, defaults to complete workspace, directory or file to check
  • build: Compile/build the project, parameters depend on the test runner
    • target: optional, target to build
    • environment: optional, environment to build, probably defaults to develop or debug
    • extra_paramaeters: optional, extra parameters for the builder
  • test: Run the test suite, parameters depend on the test runner
    • type: defaults to all, one of unit-tests, integration-tests, all
    • name: optional, test name to run
    • pattern: optional, pattern of tests to run
    • path: optional, path to tests to run
    • extra_parameters: optional, extra parameters for the test runner

Management (runs outside sandbox, affects only bondulance):

  • list_models: List available models available for spawn_agent, carries capability information
  • list_agents: List available agents to be spawned from this run, may be empty
  • spawn_agent: Spawn a sub-agent
    • agent: optional, defaults to running agent, the name of the agent to spawn
    • title: title for the sub-agent run, displayed to the user
    • preload_skill: optional, pre-load a skill into the agent context
    • preload_agents_md: defaults to true, load AGENTS.md into the agent context
    • model: defaults to current model, model to run the agent on
    • prompt: prompt to send to the sub-agent
  • list_services: List registered services, contains name, status information, registered command line and forwarded port if specified
  • register_service: Register a background service, stdout and stderr are written to a log file
    • name: human readable name
    • command: command to run, do not add backgrounding like nohup or & at the end
    • port: optional, port to forward to the outside
    • auto_start: defaults to false, start the service when the sandbox starts
    • auto_restart: defaults to false, restart the service when it crashes
  • service_status: Fetch service status and last 10 log lines of a registered service
    • id: service id
  • delete_service Un-register or delete a previously registered background service, service is automatically stopped when it is removed.
    • id: service id
  • find_tool: search for a tool, if no query is used it lists all mcp services
    • keyword: optional, search by keyword
    • service: optional, search for a service name
    • similarity: optional, search by similarity search
  • add_todo: Add a todo task, returns its path
    • path: optional, set a path to add the task to so it becomes a sub-task
    • name: name for the todo item (internal, sluggified)
    • title: human readable title
  • remove_todo: Remove a todo task
    • path: path to remove, will remove all sub-tasks
  • resolve_todo: Resolve a todo task
    • path: path to resolve. If the todo is a sub-task its parent will automatically resolve once all sub-tasks are resolved
  • list_todos: List saved todos
    • path: optional, path to list
    • recursive: defaults to true, recursively list tasks and sub-tasks

Network (runs through proxy):

  • fetch_url: Fetch an URL from the web, goes through the proxy so the fetch may be denied by a rule. In multi-modal context all modalities are supported.
    • url: URL to fetch
    • parse: defaults to false, parse the fetched file into a text representation so it may be read by the agent directly. If set to false the bytes are forwarded verbatim if the model can handle them, returns an error for unknown binary files. If parse is set to true and the model is multi-modal data may be loaded into the context depending on the modality (e.g. images are loaded when vision capability is available)
  • download_url: Download an URL from the web and store it in a file, goes through the proxy so the fetch may be denied by a rule.
    • url: URL to download
    • destination_path: Path where to store the download
    • max_size: defaults to 5 megabytes, maximum size to accept, returns error message when the file is bigger than this.
  • search_web: Use the configured search service to run a web-search
    • query: search query
    • max_results: defaults to 5, maxmimum number of results to return

Management inside sandbox:

  • list_skills: List available skills and their description
  • load_skill: Load a skill by name
    • name: skill to load
  • activate_mcp: Activate an MCP server discovered by find_tool and make its tools available
    • name: Name of the MCP server