Skip to content

Conversation

@derekmisler
Copy link
Contributor

@derekmisler derekmisler commented Feb 5, 2026

Summary

Adds a new add-prompt-files input that allows users to include additional context files (like AGENTS.md or CLAUDE.md) as system messages in cagent prompts. The action passes these files to cagent using the --prompt-file flag, with cagent handling file resolution via directory hierarchy search.

Changes

  • action.yml: Added add-prompt-files input parameter and shell logic to parse comma-separated file list and pass each as --prompt-file flag to cagent
  • README.md: Documented the new input with usage examples, file resolution behavior, and integration with working-directory

Breaking Changes

This depends on docker/cagent#1618 which adds --prompt-file flag support. I'll want to bump the default version of cagent in this PR after that one is merged and released.

How to Test

  • Add add-prompt-files: "AGENTS.md,CLAUDE.md" to a workflow using this action
  • Verify the files are passed as --prompt-file arguments to cagent
  • Confirm cagent includes the file contents as system messages in the prompt

@derekmisler derekmisler self-assigned this Feb 5, 2026
@derekmisler
Copy link
Contributor Author

/describe

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

✅ PR description has been generated and updated!

@derekmisler derekmisler marked this pull request as ready for review February 5, 2026 20:13
@derekmisler derekmisler requested a review from a team as a code owner February 5, 2026 20:13
@derekmisler derekmisler merged commit b49220a into docker:main Feb 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants