Commit Graph

24 Commits

Author SHA1 Message Date
Sean Goedecke
aff9eb000b Fixup bundle 2025-07-16 07:30:35 +00:00
Sean Goedecke
5a874b9aa1 Ensure pkce-challenge is bundled in dist instead of treated as external 2025-07-16 07:12:45 +00:00
Sean Goedecke
a3fe147234 Merge branch 'main' into sgoedecke/mcp 2025-07-16 02:56:55 +00:00
Sean Goedecke
4fd6464105 Add read-only MCP support 2025-07-16 02:19:49 +00:00
Sean Goedecke
86c0691fbf Add tests 2025-07-16 00:12:41 +00:00
Sean Goedecke
886d4717d7 Make it work 2025-07-15 23:31:48 +00:00
Sean Goedecke
0b82ac474e Sketch out MCP 2025-07-15 23:23:39 +00:00
Naoki Ainoya
b678377f9b update bundle 2025-07-02 09:50:57 +09:00
Matthew Leibowitz
9c57490bf1 regen 2025-05-27 01:40:03 +02:00
Matthew Leibowitz
9aac9c75b3 Formatting 2025-05-26 04:03:09 +02:00
Matthew Leibowitz
eb37c9a493 Formatting 2025-05-26 03:46:39 +02:00
Marais Rossouw
c0259b3c7d chore: re-builds bundle 2025-05-26 00:34:45 +00:00
Matthew Leibowitz
91ba53d8b4 feat: Add system-prompt-file input for file-based system prompts
This enhancement adds the ability to load a system prompt from a file, similar to
the existing prompt-file functionality, providing more flexibility when working with
complex system prompts.

Key changes:
- Added new `system-prompt-file` input to action.yml with proper description
- Updated main.ts implementation to handle file-based system prompts with:
  - File existence checking and appropriate error handling
  - Proper precedence (system-prompt-file takes priority over system-prompt)
  - Consistent error messages with existing prompt-file implementation

Test coverage added:
- Basic usage: Test verifies system-prompt-file loads content correctly
- Error handling: Test ensures proper errors when system-prompt-file doesn't exist
- Precedence: Test confirms system-prompt-file overrides system-prompt when both exist
- Integration: Test validates both prompt-file and system-prompt-file work together
- Max tokens: Test verifies custom token limits are properly passed to the model
- Testing infrastructure: Improved mock implementations that detect unexpected calls

Documentation:
- Updated README.md with system-prompt-file in inputs table
- Added dedicated usage example for system-prompt-file
- Fixed formatting in inputs table

CI/CD:
- Updated workflow to test system-prompt-file functionality with actual file content

This feature maintains backward compatibility while adding a useful option
for workflows that need to use more complex system prompts stored in files.
2025-05-24 03:50:15 +02:00
Aiqiao Yan
1c557cdc25 react to feedback 2025-04-17 20:23:07 +00:00
Aiqiao Yan
f1591cfa68 add test 2025-04-17 20:13:47 +00:00
Aiqiao Yan
43f6a3831f read prompt from file and print output to file 2025-04-17 17:41:35 +00:00
Sean Goedecke
e670dd5178 Set user agent 2025-04-10 02:53:54 +00:00
Sean Goedecke
84fee7a0e6 Use user-provided endpoint 2025-04-08 20:22:47 +00:00
Sean Goedecke
e5b826567d rebuild 2025-04-08 05:18:48 +00:00
Sean Goedecke
efbbaa2667 Use correct Azure inference endpoint 2025-04-07 23:52:33 +00:00
Sean Goedecke
32ebbe708a Make token configurable 2025-04-07 04:53:19 +00:00
Sean Goedecke
d86d983567 update README 2025-04-07 00:09:42 +00:00
Sean Goedecke
6932781e1f fixup tests and npm run all 2025-04-06 23:21:29 +00:00
Sean Goedecke
0905e36402 Initial commit 2025-04-04 07:27:58 +11:00