Skip to content

Conversation

@christso
Copy link
Contributor

Summary

  • Add support for copying .github folder content (prompts, copilot-instructions.md) from plugins to workspace when the copilot client is configured
  • Add githubPath property to ClientMapping interface for clients that use GitHub-specific folders
  • Add copyGitHubContent function to copy .github folder recursively from plugins

Changes

  • src/models/client-mapping.ts: Add githubPath?: string to interface, configure .github/ for copilot client
  • src/core/transform.ts: Add copyGitHubContent function, include it in copyPluginToWorkspace
  • tests/unit/core/github-content.test.ts: Add tests for the new functionality

Test plan

  • Unit tests pass for copyGitHubContent function
  • Full test suite passes (612 tests)
  • Build succeeds
  • Lint passes

Closes #122

Add support for copying .github folder content (prompts,
copilot-instructions.md) from plugins to workspace when the
copilot client is configured.

- Add githubPath to ClientMapping interface
- Configure githubPath: '.github/' for copilot client
- Add copyGitHubContent function in transform.ts
- Include GitHub content copying in copyPluginToWorkspace

Closes #122
@cloudflare-workers-and-pages
Copy link

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 719a4be
Status: ✅  Deploy successful!
Preview URL: https://a991ccad.allagents.pages.dev
Branch Preview URL: https://fix-122-github-folder-copy.allagents.pages.dev

View logs

@christso christso merged commit 764a342 into main Feb 12, 2026
1 check passed
@christso christso deleted the fix/122-github-folder-copy branch February 12, 2026 07:38
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.

bug: agents and prompts under .github folder not copied to target workspace

1 participant