Skip to content

Releases: kitproj/coding-context-cli

v0.0.21

04 Dec 17:24
52fbcce

Choose a tag to compare

What's Changed

  • [WIP] Update documentation to use task names instead of free-text by @Copilot in #134
  • Fix documentation inconsistencies and errors by @Copilot in #132
  • docs: verify and fix documentation against code implementation by @alexec in #135
  • Fix incorrect README documentation about task file matching by @Copilot in #136
  • Convert MCP servers from slice to map structure by @Copilot in #137

Full Changelog: v0.0.20...v0.0.21

v0.0.20

02 Dec 05:20
511ce5a

Choose a tag to compare

What's Changed

  • refactor: replace WithRemotePaths with WithSearchPaths in coding context by @alexec in #126
  • feat: Accept free-text prompt with optional slash command extraction by @Copilot in #127
  • Add .agents/commands as a search path for tasks by @Copilot in #131
  • Add named parameter support to slash commands by @Copilot in #128

Full Changelog: v0.0.19...v0.0.20

v0.0.19

22 Nov 19:30
ef8d40f

Choose a tag to compare

What's Changed

  • feat: add ParseParams function with quote handling by @alexec in #123

Full Changelog: v0.0.18...v0.0.19

v0.0.18

22 Nov 18:25
4c030f9

Choose a tag to compare

What's Changed

  • Remove unused pkg/slashcommand package by @Copilot in #120
  • Remove redundant WithEmitTaskFrontmatter option - always emit frontmatter by @Copilot in #121
  • Add standard frontmatter fields with typed generic Markdown (metadata-only) by @Copilot in #122

Full Changelog: V0.0.17...v0.0.18

v0.0.17

21 Nov 04:44
354ab52

Choose a tag to compare

What's Changed

  • Update README installation URLs to v0.0.16 by @Copilot in #115
  • Fix binary name and version references in documentation by @Copilot in #114
  • Make ParseSlashCommand find commands anywhere in string and return found boolean by @Copilot in #117
  • Add -a flag to specify target agent (excludes target agent's own paths) by @Copilot in #116
  • Add support for parsing frontmatter into custom structs by @Copilot in #119
  • Add slash command substitution to codingcontext package by @Copilot in #118

Full Changelog: v0.0.16...v0.0.17

V0.0.17

21 Nov 04:43
354ab52

Choose a tag to compare

Add slash command substitution to codingcontext package (#118)

* Initial plan

* Add slash command support to main package

- Move slash command parsing from pkg/slashcommand to pkg/codingcontext
- Add WithSlashCommand(bool) option to Context
- Implement slash command substitution in Run()
- Add tests for slash command functionality
- Add --slash-command flag to CLI

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Add documentation for --slash-command flag

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Add logging for parameter overrides in slash commands

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Change flag from --slash-command to -l and always reload task file

- Changed flag from --slash-command to -l for brevity
- Removed conditional check - always reload task file even if same name
- Updated documentation to reflect -l flag
- Added clarification that slash params override existing params

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Improve logging clarity for same vs different task reload

- Use "Reloading" when slash command references same task
- Use "Switching" when slash command references different task
- Makes log messages more accurate and helpful

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Remove WithSlashCommand option - slash commands always enabled

- Removed slashCommand field from Context struct
- Removed WithSlashCommand option function
- Removed -l flag from CLI
- Slash command parsing now always enabled by default
- Updated tests to remove slashCommandEnabled parameter
- Updated documentation to reflect always-on behavior

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Slash command parameters fully replace existing parameters

- Changed from merging to complete replacement of parameters
- When slash command is found, both task name and parameters are replaced
- Removed parameter override logging (no longer relevant)
- Added test case to verify complete parameter replacement
- Updated documentation to clarify full replacement behavior

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Expand parameters before checking for slash commands

- Allows slash commands in parameter values (free-text use case)
- Expand task content with parameters first, then parse for slash commands
- Added test case for slash command in parameter value
- Enables use case: free-text task with text="/fix-bug PROJ-123"

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Refactor to eliminate code duplication

- Extracted parameter expansion to expandParams helper method
- Removed duplicate my-task.md creation in tests
- Improved code maintainability

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Add clarifying comment for double parameter expansion

- Explains why parameters are expanded twice
- First for slash command detection, second for final output
- Task content may differ between expansions if slash command found

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Add test cases for slash commands with leading periods and spaces

- Tests confirm slash commands work with patterns like ".   /taskname"
- Already supported by existing implementation
- Added explicit test cases for documentation and regression testing

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

* Merge origin/main into slash command branch

- Resolved conflicts in main.go (kept both -a and -t flags)
- Resolved conflicts in context_test.go (kept both TestSlashCommandSubstitution and TestTargetAgentIntegration)
- All tests passing

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Co-authored-by: Alex Collins <alexec@users.noreply.github.com>

v0.0.16

20 Nov 23:28
c6a47f8

Choose a tag to compare

What's Changed

  • Update README.md installation instructions to v0.0.15 by @Copilot in #95
  • Rename paramMap to Params and add ParseParams function by @Copilot in #97
  • Rename selectorMap type to selectors by @Copilot in #99
  • Switch to slog for logging by @alexec in #101
  • Extend parameter templating to rule files by @Copilot in #107
  • Add ParseSlashCommand for parsing AI assistant slash commands with bash-like arguments by @Copilot in #102
  • Convert to library: extract core functionality to pkg/codingcontext by @Copilot in #105

Full Changelog: v0.0.15...v0.0.16

v0.0.15

18 Nov 04:40
409f600

Choose a tag to compare

What's Changed

  • Add task file support for .opencode/command directory with optional task_name by @Copilot in #94

Full Changelog: V0.0.14...v0.0.15

v0.0.13

13 Nov 16:49
621781c

Choose a tag to compare

What's Changed

  • Add remote directories documentation by @Copilot in #85
  • Migrate from deprecated go.yaml.in/yaml/v2 to gopkg.in/yaml.v3 by @Copilot in #86
  • Add -t flag to print task frontmatter by @Copilot in #87
  • feat: Support Tool / Rule Filters in Task Frontmatter, Emit Task Frontmatter by @swedishborgie in #88
  • Document task frontmatter selectors and -t flag by @Copilot in #90
  • Add .cursor/commands to task search paths by @Copilot in #91

New Contributors

Full Changelog: v0.0.12...v0.0.13

V0.0.14

14 Nov 03:47
71b8d96

Choose a tag to compare

What's Changed

  • Update README installation instructions to v0.0.13 with Linux and macOS support by @Copilot in #92
  • Add bootstrap script support for tasks by @Copilot in #93

Full Changelog: v0.0.13...V0.0.14