Skip to content

Releases: ColdBox/coldbox-cli

8.14.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 15:47

Added

  • Agent file conflict detection and resolution
    • coldbox ai install and coldbox ai refresh now detect existing agent configuration files (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules) that were not created by ColdBox CLI and prompt the user to choose how to handle them:
    • Overwrite — Replace all conflicting files with ColdBox CLI content (also applied automatically when using --force)
    • Merge — Prepend the ColdBox CLI managed section at the top, preserving user content below
    • Skip — Leave existing files untouched
  • Kilo Code agent support — New supported agent in AgentRegistry with AGENTS.md for instructions and .kilo/skills/ for dedicated skills directory; skill symlinks created automatically for Kilo alongside other active agents
  • Pi agent support — New supported agent in AgentRegistry with AGENTS.md for instructions and .pi/skills/ for dedicated skills directory; skill symlinks created automatically for Pi alongside other active agents
  • Agent skill-directory symlinks
    • Each supported AI agent now has a dedicated skills directory registered in AgentRegistry (AGENT_SKILLS_DIRS):
    • claude.claude/skills
    • copilot.github/instructions
    • cursor.cursor/rules
    • kilo.kilo/skills
    • pi.pi/skills
    • codex, gemini, opencode → no dedicated skills directory (use .agents/skills directly)
    • When a skill is installed via coldbox ai install, coldbox ai skills install, or coldbox ai refresh, the skill directory is created at the canonical .agents/skills/{name}/ location and a relative directory symlink is created inside every active agent's dedicated skills directory (e.g. .claude/skills/{name}../../.agents/skills/{name}). This lets each agent discover skills through its own expected path without duplicating content.
    • Symlinks are automatically removed when a skill is removed (coldbox ai skills remove) or pruned during refresh.

Fixed

  • Invalid scope on FUNCTION_PATTERN variable in Agent Registry
  • coldbox ai install now registers the correct MCP server URL (https://boxlang.ortusbooks.com/~gitbook/mcp) for the BoxLang core language documentation entry instead of the BoxLang AI module URL

8.13.0

Choose a tag to compare

@github-actions github-actions released this 28 May 08:22
7e01715

Fixed

  • coldbox create handler --boxlang / --noboxlang now propagates language selection to auto-generated views so view extensions match the requested mode (.bxm for BoxLang, .cfm for CFML)
  • coldbox create model --tests now prefixes the right location of the models
  • coldbox watch-reinit now honors server.json webroot-based server discovery so running apps in subdirectory webroots are correctly found and reinitialized

8.12.0

Choose a tag to compare

@github-actions github-actions released this 11 May 20:57

Fixed

  • coldbox ai doctor and coldbox ai uninstall checking wrong directory
    • Both commands were checking for a .ai directory instead of .agents, causing them to always report "not installed" even after a successful coldbox ai install
    • AIService.diagnose() now uses the static.AI_DIR constant (.agents) instead of the hardcoded /.ai path
    • coldbox ai uninstall now correctly checks, removes, and references the .agents directory
  • coldbox ai skills add slug --list was not working.
  • coldbox ai skills remove reinstalling removed skills during refresh
    • When a skill was removed via coldbox ai skills remove, the subsequent agent config regeneration step (refresh()) would detect the skill as "missing" (because its module dependency was still present in box.json) and immediately reinstall it
    • Removed skills are now tracked in a new manifest.excludes[] array so that refresh() will never auto-reinstall them
    • Explicitly re-installing a previously excluded skill via coldbox ai skills install lifts the exclusion and restores normal auto-management

Added

  • VSCode Copilot MCP Mirroring
    • When Copilot is a configured agent, MCP server configuration is now mirrored to .vscode/mcp.json using the VSCode-specific schema ("servers" + "inputs": [])
    • Ensures GitHub Copilot agents in VSCode can discover MCP servers registered via coldbox ai mcp commands
    • .vscode/mcp.json is written alongside the root .mcp.json whenever generateMCPJson() runs (install, refresh, MCP add/remove)
  • coldbox ai skills list --json flag to output the skills manifest in JSON format for easier parsing in scripts and CI pipelines
  • coldbox ai skills update command to re-download and overwrite all installed registry skills with per-skill feedback and progress updates
  • coldbox ai skills update <name> command to re-download and overwrite a single installed registry skill by local name

Improvements

  • New progress bar when doing coldbox ai skills list --outdated to check for updates in the registry, providing better feedback during potentially long-running integrity checks

8.11.0

Choose a tag to compare

@github-actions github-actions released this 28 Apr 22:02

Changed

  • GitHub Copilot migrated to AGENTS.md

    • GitHub Copilot agent configuration now uses AGENTS.md (shared with Codex and OpenCode) instead of .github/copilot-instructions.md
    • Follows the Agents.md standard now supported by GitHub Copilot
    • Provides a single source of truth for Copilot, Codex, and OpenCode agents
    • Existing .github/copilot-instructions.md files are not removed automatically; run coldbox ai refresh to write the updated location
  • AI Directory Structure Standardized

    • Renamed /.ai/ directory to /.agents/ to follow BoxLang skill repository conventions
    • All generated agent configurations, guidelines, and skills now use /.agents/ instead of /.ai/
    • Updated all internal code paths, CLI commands, and documentation to reference /.agents/
    • Ensures consistency with the .agents/skills/ directory naming used in BoxLang ecosystem

Added

  • Auto-Install Module Skills on Refresh

    • When a module is added to box.json, coldbox ai refresh now automatically detects and installs its corresponding skill from the registry
    • Mirrors the existing MCP server auto-detection behavior — ensures skills and servers are always in sync with project dependencies
  • Auto-Recovery of Missing Skills

    • coldbox ai refresh now detects and reinstalls any missing core skills (boxlang, coldbox, testbox, commandbox) that may have been lost
    • Previously, if a skill failed to reinstall, it would be removed from the manifest permanently; now it will be recovered on the next refresh
  • Improved coldbox ai skills install --list Command

    • The --list flag now accepts an optional slug parameter to pre-filter the interactive skill list
    • Examples:
      • coldbox ai skills install --list → show all available skills
      • coldbox ai skills install --list coldbox/skills → show only ColdBox skills
      • coldbox ai skills install --list coldbox/skills/coldbox-testing → show only testing category skills
  • .mcp.json Support

    • New file in project root to track registered MCP documentation servers for AI integration
    • Updated coldbox ai mcp commands to read/write from this file for consistent MCP server management
    • MCP server entries include name, url, description, and source (core, module, custom)
    • MCP servers registered via coldbox ai mcp add are now saved to .mcp.json in addition to the manifest for AI agent access
  • MCP Server Auto-Detection

    • During coldbox ai refresh, the CLI now auto-detects MCP documentation servers from installed modules and updates both the manifest and .mcp.json with any new servers found
  • ColdBox MCP Server Support

    • New coldbox ai mcp install command to install the cbMCP module and register it as a custom MCP server in the manifest and .mcp.json. The cbMCP module exposes your running ColdBox application as a live MCP server at http://<host>:<port>/cbmcp, allowing AI agents to introspect your routes, handlers, and models in real time. Supports --host, --port, and --force flags.
  • Pretty print saving of manifest on installation

Changed

  • Reduced agent file size

    • Core ColdBox/BoxLang guidelines are no longer inlined in generated agent files. Guidelines are stored locally in .ai/guidelines/core/ and referenced via read_file instructions — reducing generated agent files from ~1,000 lines to ~250 lines
  • Skills inventory grouped by category

    • Skills in agent files are now organized by prefix (ColdBox, BoxLang, TestBox, CommandBox, etc.) with 80-character truncated descriptions for faster agent scanning
  • Cleaner project documentation section

    • The user-editable section in generated agent files now shows 3 focused TODO comment lines instead of 8 empty placeholder headings
  • Core guideline files slimmed

    • Full implementation examples removed from coldbox.md, boxlang.md, and cfml.md — each now ends with a skills-reference note directing agents to implementation-detail skills
  • Post-install project context reminder

    • coldbox ai install now prominently reminds users to add their project context (business domain, key services, auth, API endpoints, etc.) to the generated agent file

8.10.1

Choose a tag to compare

@github-actions github-actions released this 15 Apr 10:28
1732dab

Fixed

  • Corruption of box.json on build process overlapping

8.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Apr 10:18
c0f146c

Added

  • Automatic app layout detection for code generation commands. The CLI now detects whether the project uses a modern layout (with app/ and public/ directories) or a flat layout, and automatically places generated files in the correct location (e.g., app/models vs models, app/handlers vs handlers, etc.).

8.9.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 11:44

Updates

  • CLAUDE.md now contains @AGENTS.md to point Claude to the shared AGENTS.md file, avoiding duplicate content

Fixed

  • Fix fwreinit not recognizing webroot setting in server.json
  • Fixes for invalid commands in readmes and ai guideline.
  • Updated html helper guideline to reflect the new helper syntax and added more examples.

8.8.0

Choose a tag to compare

@github-actions github-actions released this 12 Mar 18:57
  • Fix invalid aliases

8.7.0

Choose a tag to compare

@github-actions github-actions released this 12 Mar 15:25
82384f6
v8.7.0

Latest Release v8.7.0

8.6.0

Choose a tag to compare

@github-actions github-actions released this 10 Mar 23:54
bc4c8a7
v8.6.0

Latest Release v8.6.0