Commit Graph

107 Commits

Author SHA1 Message Date
Sean Goedecke 72102e50bf Update src/prompt.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 14:55:49 +10:00
Sean Goedecke 2bc30a525a regenerate dist 2025-07-21 04:35:30 +00:00
Sean Goedecke 8f64ac1284 Fixup types and tests 2025-07-21 04:31:06 +00:00
Sean Goedecke 1f89e942aa licensed cache 2025-07-21 04:25:01 +00:00
Sean Goedecke e385879671 Merge branch 'main' into sgoedecke/prompt-file 2025-07-21 00:21:07 +00:00
Sean Goedecke 1780121e3b Support .prompt.yml files 2025-07-21 00:11:26 +00:00
Sean Goedecke c05344404e Merge pull request #58 from actions/sgoedecke/fixup-bundle
Fixup bundle
v1.2.2
2025-07-16 17:33:26 +10:00
Sean Goedecke aff9eb000b Fixup bundle 2025-07-16 07:30:35 +00:00
Sean Goedecke 0479ac822e Merge pull request #57 from actions/sgoedecke/package-pkce-lib-properly
Ensure pkce-challenge is bundled in dist instead of treated as external
v1.2.1
2025-07-16 17:24:39 +10: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 72c569abf4 Merge pull request #56 from actions/sgoedecke/mcp
Add read-only GitHub MCP support
v1.2.0
2025-07-16 16:52:53 +10:00
Sean Goedecke 22b4dbcd55 licensed 2025-07-16 03:06:59 +00:00
Sean Goedecke a3fe147234 Merge branch 'main' into sgoedecke/mcp 2025-07-16 02:56:55 +00:00
Sean Goedecke 25a2129107 Merge pull request #49 from ainoya/improve-error-response
fix: improve error handling for AI service responses
2025-07-16 12:42:38 +10:00
Sean Goedecke 59d0fd29cd Merge branch 'main' into improve-error-response 2025-07-16 12:23:28 +10:00
Sean Goedecke 2f08c91345 Merge branch 'main' into sgoedecke/mcp 2025-07-16 12:22:22 +10:00
Sean Goedecke bc9da18dc7 Merge pull request #55 from actions/sgoedecke/make-actual-runs-optional
Make actual inference in CI optional, since it depends on org settings
2025-07-16 12:22:15 +10:00
Sean Goedecke 7cf0fec5c5 Merge branch 'main' into sgoedecke/mcp 2025-07-16 12:21:38 +10: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
Sean Goedecke 29bd66249e Merge branch 'main' into sgoedecke/make-actual-runs-optional 2025-07-16 07:31:18 +10:00
Sean Goedecke 75eeed10d7 Cover more steps 2025-07-15 21:26:56 +00:00
Sean Goedecke 305469fbce Make actual inference in CI optional, since it depends on org settings 2025-07-15 21:24:16 +00:00
Naoki Ainoya b678377f9b update bundle 2025-07-02 09:50:57 +09:00
Naoki Ainoya dee5a5edef fix lint 2025-07-02 09:47:42 +09:00
Naoki Ainoya 37fe8eb685 fix: improve error handling for AI service responses
- Add defensive check for response.body existence to prevent undefined property access
- Include x-ms-error-code header in error messages for better debugging
- Provide clearer error messages for different failure scenarios
- Fix 'Cannot read properties of undefined (reading 'error')' runtime error

This improves the debugging experience when AI service requests fail due to
network issues, authentication errors, or unexpected response formats.
2025-07-02 09:18:50 +09:00
Sean Goedecke 8d1f028548 Merge pull request #46 from actions/dependabot/npm_and_yarn/jest/globals-30.0.2
Bump @jest/globals from 29.7.0 to 30.0.2
2025-06-24 10:00:11 +10:00
dependabot[bot] 066de7890e Bump @jest/globals from 29.7.0 to 30.0.2
Bumps [@jest/globals](https://github.com/jestjs/jest/tree/HEAD/packages/jest-globals) from 29.7.0 to 30.0.2.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.0.2/packages/jest-globals)

---
updated-dependencies:
- dependency-name: "@jest/globals"
  dependency-version: 30.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 02:33:09 +00:00
Sean Goedecke f6f8a06896 Merge pull request #41 from actions/sgoedecke/update-readme
Update readme
2025-06-20 11:24:13 +10:00
Sean Goedecke 5129fed34c update readme 2025-06-20 00:21:26 +00:00
Yuzuki 1fc0778df5 Merge pull request #36 from actions/dependabot/npm_and_yarn/npm-development-e8376b7353
Bump the npm-development group across 1 directory with 11 updates
2025-06-16 15:02:26 +10:00
dependabot[bot] 660e85c3b4 Bump the npm-development group across 1 directory with 11 updates
Bumps the npm-development group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@eslint/compat](https://github.com/eslint/rewrite/tree/HEAD/packages/compat) | `1.2.9` | `1.3.0` |
| [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) | `28.0.3` | `28.0.5` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.15.21` | `22.15.31` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.32.1` | `8.34.0` |
| [eslint](https://github.com/eslint/eslint) | `9.27.0` | `9.29.0` |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) | `4.4.0` | `4.4.3` |
| [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `28.11.0` | `28.14.0` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.4.0` | `5.4.1` |
| [rollup](https://github.com/rollup/rollup) | `4.41.1` | `4.43.0` |
| [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.3.4` | `29.4.0` |



Updates `@eslint/compat` from 1.2.9 to 1.3.0
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/compat-v1.3.0/packages/compat)

Updates `@rollup/plugin-commonjs` from 28.0.3 to 28.0.5
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v28.0.5/packages/commonjs)

Updates `@types/node` from 22.15.21 to 22.15.31
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 8.32.1 to 8.34.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.32.1 to 8.34.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.0/packages/parser)

Updates `eslint` from 9.27.0 to 9.29.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.27.0...v9.29.0)

Updates `eslint-import-resolver-typescript` from 4.4.0 to 4.4.3
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.4.0...v4.4.3)

Updates `eslint-plugin-jest` from 28.11.0 to 28.14.0
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.11.0...v28.14.0)

Updates `eslint-plugin-prettier` from 5.4.0 to 5.4.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.4.0...v5.4.1)

Updates `rollup` from 4.41.1 to 4.43.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.41.1...v4.43.0)

Updates `ts-jest` from 29.3.4 to 29.4.0
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.3.4...v29.4.0)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 1.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: "@rollup/plugin-commonjs"
  dependency-version: 28.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-development
- dependency-name: "@types/node"
  dependency-version: 22.15.31
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-development
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: eslint
  dependency-version: 9.29.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: eslint-import-resolver-typescript
  dependency-version: 4.4.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-development
- dependency-name: eslint-plugin-jest
  dependency-version: 28.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: eslint-plugin-prettier
  dependency-version: 5.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-development
- dependency-name: rollup
  dependency-version: 4.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
- dependency-name: ts-jest
  dependency-version: 29.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 02:56:21 +00:00
Marais Rossouw 9216800a52 Merge pull request #29 from actions/mr/licensed
Setup licensed on the codespace
2025-05-27 13:42:50 +10:00
Marais Rossouw 61be4c2d38 fix: linter happy now?? 2025-05-27 13:39:43 +10:00
Marais Rossouw fafa6091c2 chore: yeah copilot was righthere 2025-05-27 13:35:09 +10:00
Marais Rossouw 3c50c93a4b chore: okay fine linter 2025-05-27 13:30:16 +10:00
Marais Rossouw 2605bfac7a feat: setup licensed on the codespace 2025-05-27 13:21:37 +10:00
Sean Goedecke d645f067d8 Merge pull request #27 from mattleibow/dev/system-prompt-file
feat: Add system-prompt-file input for file-based system prompts
v1.1.0
2025-05-27 09:48:56 +10:00
Matthew Leibowitz 9c57490bf1 regen 2025-05-27 01:40:03 +02:00
Matthew Leibowitz aa31275bdc Merge remote-tracking branch 'upstream/main' into dev/system-prompt-file 2025-05-27 01:33:37 +02:00
Sean Goedecke cacab0de8c Merge pull request #28 from actions/dependabot/npm_and_yarn/github/local-action-3.2.1
Bump @github/local-action from 2.2.1 to 3.2.1
2025-05-27 07:40:55 +10:00
dependabot[bot] 8562e77a99 Bump @github/local-action from 2.2.1 to 3.2.1
Bumps [@github/local-action](https://github.com/github/local-action) from 2.2.1 to 3.2.1.
- [Release notes](https://github.com/github/local-action/releases)
- [Changelog](https://github.com/github/local-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/local-action/compare/v2.2.1...v3.2.1)

---
updated-dependencies:
- dependency-name: "@github/local-action"
  dependency-version: 3.2.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 02:24:05 +00: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
dependabot[bot] 7ee5d2347b Merge pull request #24 from actions/dependabot/github_actions/actions-minor-88e1b89f1e 2025-05-26 00:50:33 +00:00
dependabot[bot] c9a9379c71 Bump super-linter/super-linter in the actions-minor group
Bumps the actions-minor group with 1 update: [super-linter/super-linter](https://github.com/super-linter/super-linter).


Updates `super-linter/super-linter` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/super-linter/super-linter/compare/4e8a7c2bf106c4c766c816b35ec612638dc9b6b2...12150456a73e248bdc94d0794898f94e23127c88)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 00:48:34 +00:00
Marais Rossouw ad31e754e3 Merge pull request #25 from actions/mr/bump-versions
Bumps all package versions, and re-builds
2025-05-26 10:46:40 +10:00
Marais Rossouw c4ce17bc84 chore: updates licenses 2025-05-26 00:35:07 +00:00