@vicoa/cli 1.3.13-win32-x64 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/README.md +82 -0
  2. package/bin/vicoa.js +38 -0
  3. package/package.json +29 -10
  4. package/bin/_internal/81d243bd2c585b0f4821__mypyc.cp312-win_amd64.pyd +0 -0
  5. package/bin/_internal/VCRUNTIME140.dll +0 -0
  6. package/bin/_internal/VCRUNTIME140_1.dll +0 -0
  7. package/bin/_internal/_asyncio.pyd +0 -0
  8. package/bin/_internal/_bz2.pyd +0 -0
  9. package/bin/_internal/_cffi_backend.cp312-win_amd64.pyd +0 -0
  10. package/bin/_internal/_ctypes.pyd +0 -0
  11. package/bin/_internal/_decimal.pyd +0 -0
  12. package/bin/_internal/_hashlib.pyd +0 -0
  13. package/bin/_internal/_lzma.pyd +0 -0
  14. package/bin/_internal/_multiprocessing.pyd +0 -0
  15. package/bin/_internal/_overlapped.pyd +0 -0
  16. package/bin/_internal/_queue.pyd +0 -0
  17. package/bin/_internal/_socket.pyd +0 -0
  18. package/bin/_internal/_ssl.pyd +0 -0
  19. package/bin/_internal/_uuid.pyd +0 -0
  20. package/bin/_internal/_wmi.pyd +0 -0
  21. package/bin/_internal/_zoneinfo.pyd +0 -0
  22. package/bin/_internal/aiofile-3.9.0.dist-info/INSTALLER +0 -1
  23. package/bin/_internal/aiofile-3.9.0.dist-info/LICENCE +0 -195
  24. package/bin/_internal/aiofile-3.9.0.dist-info/LICENCE.md +0 -195
  25. package/bin/_internal/aiofile-3.9.0.dist-info/METADATA +0 -492
  26. package/bin/_internal/aiofile-3.9.0.dist-info/RECORD +0 -15
  27. package/bin/_internal/aiofile-3.9.0.dist-info/WHEEL +0 -4
  28. package/bin/_internal/aiohttp/_http_parser.cp312-win_amd64.pyd +0 -0
  29. package/bin/_internal/aiohttp/_http_writer.cp312-win_amd64.pyd +0 -0
  30. package/bin/_internal/aiohttp/_websocket/mask.cp312-win_amd64.pyd +0 -0
  31. package/bin/_internal/aiohttp/_websocket/reader_c.cp312-win_amd64.pyd +0 -0
  32. package/bin/_internal/api-ms-win-core-console-l1-1-0.dll +0 -0
  33. package/bin/_internal/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  34. package/bin/_internal/api-ms-win-core-debug-l1-1-0.dll +0 -0
  35. package/bin/_internal/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  36. package/bin/_internal/api-ms-win-core-fibers-l1-1-0.dll +0 -0
  37. package/bin/_internal/api-ms-win-core-fibers-l1-1-1.dll +0 -0
  38. package/bin/_internal/api-ms-win-core-file-l1-1-0.dll +0 -0
  39. package/bin/_internal/api-ms-win-core-file-l1-2-0.dll +0 -0
  40. package/bin/_internal/api-ms-win-core-file-l2-1-0.dll +0 -0
  41. package/bin/_internal/api-ms-win-core-handle-l1-1-0.dll +0 -0
  42. package/bin/_internal/api-ms-win-core-heap-l1-1-0.dll +0 -0
  43. package/bin/_internal/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  44. package/bin/_internal/api-ms-win-core-kernel32-legacy-l1-1-1.dll +0 -0
  45. package/bin/_internal/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  46. package/bin/_internal/api-ms-win-core-localization-l1-2-0.dll +0 -0
  47. package/bin/_internal/api-ms-win-core-memory-l1-1-0.dll +0 -0
  48. package/bin/_internal/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  49. package/bin/_internal/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  50. package/bin/_internal/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  51. package/bin/_internal/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  52. package/bin/_internal/api-ms-win-core-profile-l1-1-0.dll +0 -0
  53. package/bin/_internal/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  54. package/bin/_internal/api-ms-win-core-string-l1-1-0.dll +0 -0
  55. package/bin/_internal/api-ms-win-core-synch-l1-1-0.dll +0 -0
  56. package/bin/_internal/api-ms-win-core-synch-l1-2-0.dll +0 -0
  57. package/bin/_internal/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  58. package/bin/_internal/api-ms-win-core-sysinfo-l1-2-0.dll +0 -0
  59. package/bin/_internal/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  60. package/bin/_internal/api-ms-win-core-util-l1-1-0.dll +0 -0
  61. package/bin/_internal/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  62. package/bin/_internal/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  63. package/bin/_internal/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  64. package/bin/_internal/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  65. package/bin/_internal/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  66. package/bin/_internal/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  67. package/bin/_internal/api-ms-win-crt-math-l1-1-0.dll +0 -0
  68. package/bin/_internal/api-ms-win-crt-process-l1-1-0.dll +0 -0
  69. package/bin/_internal/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  70. package/bin/_internal/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  71. package/bin/_internal/api-ms-win-crt-string-l1-1-0.dll +0 -0
  72. package/bin/_internal/api-ms-win-crt-time-l1-1-0.dll +0 -0
  73. package/bin/_internal/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  74. package/bin/_internal/attrs-26.1.0.dist-info/INSTALLER +0 -1
  75. package/bin/_internal/attrs-26.1.0.dist-info/METADATA +0 -199
  76. package/bin/_internal/attrs-26.1.0.dist-info/RECORD +0 -55
  77. package/bin/_internal/attrs-26.1.0.dist-info/WHEEL +0 -4
  78. package/bin/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +0 -21
  79. package/bin/_internal/base_library.zip +0 -0
  80. package/bin/_internal/certifi/cacert.pem +0 -4494
  81. package/bin/_internal/certifi/py.typed +0 -0
  82. package/bin/_internal/charset_normalizer/cd.cp312-win_amd64.pyd +0 -0
  83. package/bin/_internal/charset_normalizer/md.cp312-win_amd64.pyd +0 -0
  84. package/bin/_internal/click-8.3.2.dist-info/INSTALLER +0 -1
  85. package/bin/_internal/click-8.3.2.dist-info/METADATA +0 -84
  86. package/bin/_internal/click-8.3.2.dist-info/RECORD +0 -40
  87. package/bin/_internal/click-8.3.2.dist-info/WHEEL +0 -4
  88. package/bin/_internal/click-8.3.2.dist-info/licenses/LICENSE.txt +0 -28
  89. package/bin/_internal/cryptography/hazmat/bindings/_rust.pyd +0 -0
  90. package/bin/_internal/cryptography-46.0.7.dist-info/INSTALLER +0 -1
  91. package/bin/_internal/cryptography-46.0.7.dist-info/METADATA +0 -139
  92. package/bin/_internal/cryptography-46.0.7.dist-info/RECORD +0 -180
  93. package/bin/_internal/cryptography-46.0.7.dist-info/WHEEL +0 -4
  94. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE +0 -3
  95. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE.APACHE +0 -202
  96. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE.BSD +0 -27
  97. package/bin/_internal/email_validator-2.3.0.dist-info/INSTALLER +0 -1
  98. package/bin/_internal/email_validator-2.3.0.dist-info/METADATA +0 -466
  99. package/bin/_internal/email_validator-2.3.0.dist-info/RECORD +0 -27
  100. package/bin/_internal/email_validator-2.3.0.dist-info/WHEEL +0 -5
  101. package/bin/_internal/email_validator-2.3.0.dist-info/entry_points.txt +0 -2
  102. package/bin/_internal/email_validator-2.3.0.dist-info/licenses/LICENSE +0 -27
  103. package/bin/_internal/email_validator-2.3.0.dist-info/top_level.txt +0 -1
  104. package/bin/_internal/frozenlist/_frozenlist.cp312-win_amd64.pyd +0 -0
  105. package/bin/_internal/importlib_metadata-8.7.1.dist-info/INSTALLER +0 -1
  106. package/bin/_internal/importlib_metadata-8.7.1.dist-info/METADATA +0 -133
  107. package/bin/_internal/importlib_metadata-8.7.1.dist-info/RECORD +0 -33
  108. package/bin/_internal/importlib_metadata-8.7.1.dist-info/WHEEL +0 -5
  109. package/bin/_internal/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +0 -73
  110. package/bin/_internal/importlib_metadata-8.7.1.dist-info/top_level.txt +0 -1
  111. package/bin/_internal/integrations/cli_wrappers/IMPORTANT_USE_CASES.md +0 -33
  112. package/bin/_internal/integrations/github/claude-code-action/CLAUDE.md +0 -136
  113. package/bin/_internal/integrations/github/claude-code-action/CODE_OF_CONDUCT.md +0 -128
  114. package/bin/_internal/integrations/github/claude-code-action/CONTRIBUTING.md +0 -116
  115. package/bin/_internal/integrations/github/claude-code-action/LICENSE +0 -21
  116. package/bin/_internal/integrations/github/claude-code-action/README.md +0 -53
  117. package/bin/_internal/integrations/github/claude-code-action/ROADMAP.md +0 -20
  118. package/bin/_internal/integrations/github/claude-code-action/SECURITY.md +0 -15
  119. package/bin/_internal/integrations/github/claude-code-action/action.yml +0 -294
  120. package/bin/_internal/integrations/github/claude-code-action/base-action/CLAUDE.md +0 -60
  121. package/bin/_internal/integrations/github/claude-code-action/base-action/CODE_OF_CONDUCT.md +0 -128
  122. package/bin/_internal/integrations/github/claude-code-action/base-action/CONTRIBUTING.md +0 -136
  123. package/bin/_internal/integrations/github/claude-code-action/base-action/LICENSE +0 -21
  124. package/bin/_internal/integrations/github/claude-code-action/base-action/MIRROR_DISCLAIMER.md +0 -11
  125. package/bin/_internal/integrations/github/claude-code-action/base-action/README.md +0 -521
  126. package/bin/_internal/integrations/github/claude-code-action/base-action/action.yml +0 -149
  127. package/bin/_internal/integrations/github/claude-code-action/base-action/bun.lock +0 -54
  128. package/bin/_internal/integrations/github/claude-code-action/base-action/examples/issue-triage.yml +0 -108
  129. package/bin/_internal/integrations/github/claude-code-action/base-action/package.json +0 -23
  130. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/install-hooks.sh +0 -13
  131. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/pre-push +0 -46
  132. package/bin/_internal/integrations/github/claude-code-action/base-action/src/index.ts +0 -82
  133. package/bin/_internal/integrations/github/claude-code-action/base-action/src/prepare-prompt.ts +0 -82
  134. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-claude.ts +0 -257
  135. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-vicoa.ts +0 -301
  136. package/bin/_internal/integrations/github/claude-code-action/base-action/src/setup-claude-code-settings.ts +0 -68
  137. package/bin/_internal/integrations/github/claude-code-action/base-action/src/validate-env.ts +0 -54
  138. package/bin/_internal/integrations/github/claude-code-action/base-action/test-local.sh +0 -12
  139. package/bin/_internal/integrations/github/claude-code-action/base-action/test-mcp-local.sh +0 -18
  140. package/bin/_internal/integrations/github/claude-code-action/base-action/tsconfig.json +0 -30
  141. package/bin/_internal/integrations/github/claude-code-action/bun.lock +0 -384
  142. package/bin/_internal/integrations/github/claude-code-action/docs/capabilities-and-limitations.md +0 -33
  143. package/bin/_internal/integrations/github/claude-code-action/docs/cloud-providers.md +0 -99
  144. package/bin/_internal/integrations/github/claude-code-action/docs/configuration.md +0 -345
  145. package/bin/_internal/integrations/github/claude-code-action/docs/custom-automations.md +0 -113
  146. package/bin/_internal/integrations/github/claude-code-action/docs/experimental.md +0 -128
  147. package/bin/_internal/integrations/github/claude-code-action/docs/faq.md +0 -205
  148. package/bin/_internal/integrations/github/claude-code-action/docs/migration-guide.md +0 -261
  149. package/bin/_internal/integrations/github/claude-code-action/docs/security.md +0 -38
  150. package/bin/_internal/integrations/github/claude-code-action/docs/setup.md +0 -146
  151. package/bin/_internal/integrations/github/claude-code-action/docs/usage.md +0 -213
  152. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/auto-fix-ci.yml +0 -97
  153. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/commands/fix-ci.md +0 -127
  154. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/auto-fix-ci-signed.yml +0 -97
  155. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/commands/fix-ci-signed.md +0 -148
  156. package/bin/_internal/integrations/github/claude-code-action/examples/issue-deduplication.yml +0 -63
  157. package/bin/_internal/integrations/github/claude-code-action/examples/issue-triage.yml +0 -75
  158. package/bin/_internal/integrations/github/claude-code-action/examples/vicoa.yml +0 -75
  159. package/bin/_internal/integrations/github/claude-code-action/package.json +0 -31
  160. package/bin/_internal/integrations/github/claude-code-action/scripts/install-hooks.sh +0 -13
  161. package/bin/_internal/integrations/github/claude-code-action/scripts/pre-commit +0 -46
  162. package/bin/_internal/integrations/github/claude-code-action/scripts/setup-network-restrictions.sh +0 -123
  163. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/index.ts +0 -799
  164. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/types.ts +0 -102
  165. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/collect-inputs.ts +0 -58
  166. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/format-turns.ts +0 -465
  167. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/prepare.ts +0 -98
  168. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/update-comment-link.ts +0 -245
  169. package/bin/_internal/integrations/github/claude-code-action/src/github/api/client.ts +0 -23
  170. package/bin/_internal/integrations/github/claude-code-action/src/github/api/config.ts +0 -4
  171. package/bin/_internal/integrations/github/claude-code-action/src/github/api/queries/github.ts +0 -117
  172. package/bin/_internal/integrations/github/claude-code-action/src/github/context.ts +0 -277
  173. package/bin/_internal/integrations/github/claude-code-action/src/github/data/fetcher.ts +0 -233
  174. package/bin/_internal/integrations/github/claude-code-action/src/github/data/formatter.ts +0 -144
  175. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch-cleanup.ts +0 -132
  176. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch.ts +0 -163
  177. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comment-logic.ts +0 -203
  178. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/common.ts +0 -33
  179. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/create-initial.ts +0 -111
  180. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-claude-comment.ts +0 -70
  181. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-with-branch.ts +0 -57
  182. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/git-config.ts +0 -62
  183. package/bin/_internal/integrations/github/claude-code-action/src/github/token.ts +0 -108
  184. package/bin/_internal/integrations/github/claude-code-action/src/github/types.ts +0 -98
  185. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/image-downloader.ts +0 -246
  186. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/sanitizer.ts +0 -100
  187. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/actor.ts +0 -64
  188. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/permissions.ts +0 -47
  189. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/trigger.ts +0 -148
  190. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-actions-server.ts +0 -279
  191. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-comment-server.ts +0 -101
  192. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-file-ops-server.ts +0 -677
  193. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-inline-comment-server.ts +0 -184
  194. package/bin/_internal/integrations/github/claude-code-action/src/mcp/install-mcp-server.ts +0 -201
  195. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/index.ts +0 -152
  196. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/parse-tools.ts +0 -22
  197. package/bin/_internal/integrations/github/claude-code-action/src/modes/detector.ts +0 -66
  198. package/bin/_internal/integrations/github/claude-code-action/src/modes/registry.ts +0 -54
  199. package/bin/_internal/integrations/github/claude-code-action/src/modes/tag/index.ts +0 -187
  200. package/bin/_internal/integrations/github/claude-code-action/src/modes/types.ts +0 -100
  201. package/bin/_internal/integrations/github/claude-code-action/src/prepare/index.ts +0 -20
  202. package/bin/_internal/integrations/github/claude-code-action/src/prepare/types.ts +0 -20
  203. package/bin/_internal/integrations/github/claude-code-action/src/utils/retry.ts +0 -40
  204. package/bin/_internal/integrations/github/claude-code-action/tsconfig.json +0 -30
  205. package/bin/_internal/integrations/n8n/LICENSE +0 -21
  206. package/bin/_internal/integrations/n8n/README.md +0 -298
  207. package/bin/_internal/integrations/n8n/package-lock.json +0 -2989
  208. package/bin/_internal/integrations/n8n/package.json +0 -68
  209. package/bin/_internal/integrations/n8n/src/credentials/OmnaraApi.credentials.ts +0 -52
  210. package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.json +0 -35
  211. package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.ts +0 -304
  212. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/index.ts +0 -37
  213. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/send.operation.ts +0 -151
  214. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/sendAndWait.operation.ts +0 -252
  215. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/end.operation.ts +0 -56
  216. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/index.ts +0 -29
  217. package/bin/_internal/integrations/n8n/src/nodes/Omnara/vicoa.png +0 -0
  218. package/bin/_internal/integrations/n8n/src/utils/GenericFunctions.ts +0 -93
  219. package/bin/_internal/integrations/n8n/src/utils/sendAndWait/configureWaitTillDate.ts +0 -42
  220. package/bin/_internal/integrations/n8n/src/utils/sendAndWait/descriptions.ts +0 -20
  221. package/bin/_internal/integrations/n8n/src/utils/sendAndWaitWebhook.ts +0 -72
  222. package/bin/_internal/integrations/n8n/tsconfig.json +0 -20
  223. package/bin/_internal/jiter/jiter.cp312-win_amd64.pyd +0 -0
  224. package/bin/_internal/jsonschema/benchmarks/issue232/issue.json +0 -2653
  225. package/bin/_internal/jsonschema-4.26.0.dist-info/INSTALLER +0 -1
  226. package/bin/_internal/jsonschema-4.26.0.dist-info/METADATA +0 -170
  227. package/bin/_internal/jsonschema-4.26.0.dist-info/RECORD +0 -82
  228. package/bin/_internal/jsonschema-4.26.0.dist-info/WHEEL +0 -4
  229. package/bin/_internal/jsonschema-4.26.0.dist-info/entry_points.txt +0 -2
  230. package/bin/_internal/jsonschema-4.26.0.dist-info/licenses/COPYING +0 -19
  231. package/bin/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json +0 -42
  232. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +0 -56
  233. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/content +0 -17
  234. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/core +0 -57
  235. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/format +0 -14
  236. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +0 -37
  237. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/validation +0 -98
  238. package/bin/_internal/jsonschema_specifications/schemas/draft202012/metaschema.json +0 -58
  239. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +0 -48
  240. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/content +0 -17
  241. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/core +0 -51
  242. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +0 -14
  243. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +0 -14
  244. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +0 -37
  245. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +0 -15
  246. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/validation +0 -98
  247. package/bin/_internal/jsonschema_specifications/schemas/draft3/metaschema.json +0 -172
  248. package/bin/_internal/jsonschema_specifications/schemas/draft4/metaschema.json +0 -149
  249. package/bin/_internal/jsonschema_specifications/schemas/draft6/metaschema.json +0 -153
  250. package/bin/_internal/jsonschema_specifications/schemas/draft7/metaschema.json +0 -166
  251. package/bin/_internal/libcrypto-3.dll +0 -0
  252. package/bin/_internal/libffi-8.dll +0 -0
  253. package/bin/_internal/libssl-3.dll +0 -0
  254. package/bin/_internal/mcp-1.27.0.dist-info/INSTALLER +0 -1
  255. package/bin/_internal/mcp-1.27.0.dist-info/METADATA +0 -230
  256. package/bin/_internal/mcp-1.27.0.dist-info/RECORD +0 -226
  257. package/bin/_internal/mcp-1.27.0.dist-info/WHEEL +0 -4
  258. package/bin/_internal/mcp-1.27.0.dist-info/entry_points.txt +0 -2
  259. package/bin/_internal/mcp-1.27.0.dist-info/licenses/LICENSE +0 -21
  260. package/bin/_internal/multidict/_multidict.cp312-win_amd64.pyd +0 -0
  261. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/INSTALLER +0 -1
  262. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/METADATA +0 -45
  263. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/RECORD +0 -81
  264. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/WHEEL +0 -4
  265. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/entry_points.txt +0 -15
  266. package/bin/_internal/opentelemetry_api-1.41.0.dist-info/licenses/LICENSE +0 -201
  267. package/bin/_internal/propcache/_helpers_c.cp312-win_amd64.pyd +0 -0
  268. package/bin/_internal/pydantic-2.13.3.dist-info/INSTALLER +0 -1
  269. package/bin/_internal/pydantic-2.13.3.dist-info/METADATA +0 -1279
  270. package/bin/_internal/pydantic-2.13.3.dist-info/RECORD +0 -217
  271. package/bin/_internal/pydantic-2.13.3.dist-info/WHEEL +0 -4
  272. package/bin/_internal/pydantic-2.13.3.dist-info/licenses/LICENSE +0 -21
  273. package/bin/_internal/pydantic_core/_pydantic_core.cp312-win_amd64.pyd +0 -0
  274. package/bin/_internal/pyexpat.pyd +0 -0
  275. package/bin/_internal/python3.dll +0 -0
  276. package/bin/_internal/python312.dll +0 -0
  277. package/bin/_internal/pywin32_system32/pythoncom312.dll +0 -0
  278. package/bin/_internal/pywin32_system32/pywintypes312.dll +0 -0
  279. package/bin/_internal/rpds/rpds.cp312-win_amd64.pyd +0 -0
  280. package/bin/_internal/select.pyd +0 -0
  281. package/bin/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +0 -2
  282. package/bin/_internal/ucrtbase.dll +0 -0
  283. package/bin/_internal/unicodedata.pyd +0 -0
  284. package/bin/_internal/vicoa/_bin/README.md +0 -28
  285. package/bin/_internal/vicoa-1.3.13.dist-info/INSTALLER +0 -1
  286. package/bin/_internal/vicoa-1.3.13.dist-info/METADATA +0 -311
  287. package/bin/_internal/vicoa-1.3.13.dist-info/RECORD +0 -11
  288. package/bin/_internal/vicoa-1.3.13.dist-info/REQUESTED +0 -0
  289. package/bin/_internal/vicoa-1.3.13.dist-info/WHEEL +0 -5
  290. package/bin/_internal/vicoa-1.3.13.dist-info/direct_url.json +0 -1
  291. package/bin/_internal/vicoa-1.3.13.dist-info/entry_points.txt +0 -2
  292. package/bin/_internal/vicoa-1.3.13.dist-info/licenses/LICENSE +0 -201
  293. package/bin/_internal/vicoa-1.3.13.dist-info/top_level.txt +0 -3
  294. package/bin/_internal/watchfiles/_rust_notify.cp312-win_amd64.pyd +0 -0
  295. package/bin/_internal/websockets/speedups.cp312-win_amd64.pyd +0 -0
  296. package/bin/_internal/websockets-16.0.dist-info/INSTALLER +0 -1
  297. package/bin/_internal/websockets-16.0.dist-info/METADATA +0 -179
  298. package/bin/_internal/websockets-16.0.dist-info/RECORD +0 -108
  299. package/bin/_internal/websockets-16.0.dist-info/WHEEL +0 -5
  300. package/bin/_internal/websockets-16.0.dist-info/entry_points.txt +0 -2
  301. package/bin/_internal/websockets-16.0.dist-info/licenses/LICENSE +0 -24
  302. package/bin/_internal/websockets-16.0.dist-info/top_level.txt +0 -1
  303. package/bin/_internal/win32/_win32sysloader.pyd +0 -0
  304. package/bin/_internal/win32/win32api.pyd +0 -0
  305. package/bin/_internal/win32/win32evtlog.pyd +0 -0
  306. package/bin/_internal/win32/win32job.pyd +0 -0
  307. package/bin/_internal/yaml/_yaml.cp312-win_amd64.pyd +0 -0
  308. package/bin/_internal/yarl/_quoting_c.cp312-win_amd64.pyd +0 -0
  309. package/bin/vicoa.exe +0 -0
@@ -1,149 +0,0 @@
1
- name: "Claude Code Base Action"
2
- description: "Run Claude Code in GitHub Actions workflows"
3
- branding:
4
- icon: "code"
5
- color: "orange"
6
-
7
- inputs:
8
- # Claude Code arguments
9
- prompt:
10
- description: "The prompt to send to Claude Code (mutually exclusive with prompt_file)"
11
- required: false
12
- default: ""
13
- prompt_file:
14
- description: "Path to a file containing the prompt to send to Claude Code (mutually exclusive with prompt)"
15
- required: false
16
- default: ""
17
- settings:
18
- description: "Claude Code settings as JSON string or path to settings JSON file"
19
- required: false
20
- default: ""
21
-
22
- # Action settings
23
- claude_args:
24
- description: "Additional arguments to pass directly to Claude CLI (e.g., '--max-turns 3 --mcp-config /path/to/config.json')"
25
- required: false
26
- default: ""
27
-
28
- # Authentication settings
29
- anthropic_api_key:
30
- description: "Anthropic API key (required for direct Anthropic API)"
31
- required: false
32
- default: ""
33
- claude_code_oauth_token:
34
- description: "Claude Code OAuth token (alternative to anthropic_api_key)"
35
- required: false
36
- default: ""
37
- use_bedrock:
38
- description: "Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API"
39
- required: false
40
- default: "false"
41
- use_vertex:
42
- description: "Use Google Vertex AI with OIDC authentication instead of direct Anthropic API"
43
- required: false
44
- default: "false"
45
-
46
- use_node_cache:
47
- description: "Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files)"
48
- required: false
49
- default: "false"
50
- path_to_claude_code_executable:
51
- description: "Optional path to a custom Claude Code executable. If provided, skips automatic installation and uses this executable instead. WARNING: Using an older version may cause problems if the action begins taking advantage of new Claude Code features. This input is typically not needed unless you're debugging something specific or have unique needs in your environment."
52
- required: false
53
- default: ""
54
- path_to_bun_executable:
55
- description: "Optional path to a custom Bun executable. If provided, skips automatic Bun installation and uses this executable instead. WARNING: Using an incompatible version may cause problems if the action requires specific Bun features. This input is typically not needed unless you're debugging something specific or have unique needs in your environment."
56
- required: false
57
- default: ""
58
-
59
- outputs:
60
- conclusion:
61
- description: "Execution status of Claude Code ('success' or 'failure')"
62
- value: ${{ steps.run_claude.outputs.conclusion }}
63
- execution_file:
64
- description: "Path to the JSON file containing Claude Code execution log"
65
- value: ${{ steps.run_claude.outputs.execution_file }}
66
-
67
- runs:
68
- using: "composite"
69
- steps:
70
- - name: Setup Node.js
71
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # https://github.com/actions/setup-node/releases/tag/v4.4.0
72
- with:
73
- node-version: ${{ env.NODE_VERSION || '18.x' }}
74
- cache: ${{ inputs.use_node_cache == 'true' && 'npm' || '' }}
75
-
76
- - name: Install Bun
77
- if: inputs.path_to_bun_executable == ''
78
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # https://github.com/oven-sh/setup-bun/releases/tag/v2.0.2
79
- with:
80
- bun-version: 1.2.11
81
-
82
- - name: Setup Custom Bun Path
83
- if: inputs.path_to_bun_executable != ''
84
- shell: bash
85
- run: |
86
- echo "Using custom Bun executable: ${{ inputs.path_to_bun_executable }}"
87
- # Add the directory containing the custom executable to PATH
88
- BUN_DIR=$(dirname "${{ inputs.path_to_bun_executable }}")
89
- echo "$BUN_DIR" >> "$GITHUB_PATH"
90
-
91
- - name: Install Dependencies
92
- shell: bash
93
- run: |
94
- cd ${GITHUB_ACTION_PATH}
95
- bun install
96
-
97
- - name: Install Claude Code
98
- shell: bash
99
- run: |
100
- if [ -z "${{ inputs.path_to_claude_code_executable }}" ]; then
101
- echo "Installing Claude Code..."
102
- curl -fsSL https://claude.ai/install.sh | bash -s 1.0.93
103
- else
104
- echo "Using custom Claude Code executable: ${{ inputs.path_to_claude_code_executable }}"
105
- # Add the directory containing the custom executable to PATH
106
- CLAUDE_DIR=$(dirname "${{ inputs.path_to_claude_code_executable }}")
107
- echo "$CLAUDE_DIR" >> "$GITHUB_PATH"
108
- fi
109
-
110
- - name: Run Claude Code Action
111
- shell: bash
112
- id: run_claude
113
- run: |
114
- # Change to CLAUDE_WORKING_DIR if set (for running in custom directories)
115
- if [ -n "$CLAUDE_WORKING_DIR" ]; then
116
- echo "Changing directory to CLAUDE_WORKING_DIR: $CLAUDE_WORKING_DIR"
117
- cd "$CLAUDE_WORKING_DIR"
118
- fi
119
- bun run ${GITHUB_ACTION_PATH}/src/index.ts
120
- env:
121
- # Model configuration
122
- CLAUDE_CODE_ACTION: "1"
123
- INPUT_PROMPT: ${{ inputs.prompt }}
124
- INPUT_PROMPT_FILE: ${{ inputs.prompt_file }}
125
- INPUT_SETTINGS: ${{ inputs.settings }}
126
- INPUT_CLAUDE_ARGS: ${{ inputs.claude_args }}
127
- INPUT_PATH_TO_CLAUDE_CODE_EXECUTABLE: ${{ inputs.path_to_claude_code_executable }}
128
- INPUT_PATH_TO_BUN_EXECUTABLE: ${{ inputs.path_to_bun_executable }}
129
-
130
- # Provider configuration
131
- ANTHROPIC_API_KEY: ${{ inputs.anthropic_api_key }}
132
- CLAUDE_CODE_OAUTH_TOKEN: ${{ inputs.claude_code_oauth_token }}
133
- ANTHROPIC_BASE_URL: ${{ env.ANTHROPIC_BASE_URL }}
134
- # Only set provider flags if explicitly true, since any value (including "false") is truthy
135
- CLAUDE_CODE_USE_BEDROCK: ${{ inputs.use_bedrock == 'true' && '1' || '' }}
136
- CLAUDE_CODE_USE_VERTEX: ${{ inputs.use_vertex == 'true' && '1' || '' }}
137
-
138
- # AWS configuration
139
- AWS_REGION: ${{ env.AWS_REGION }}
140
- AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
141
- AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
142
- AWS_SESSION_TOKEN: ${{ env.AWS_SESSION_TOKEN }}
143
- ANTHROPIC_BEDROCK_BASE_URL: ${{ env.ANTHROPIC_BEDROCK_BASE_URL || (env.AWS_REGION && format('https://bedrock-runtime.{0}.amazonaws.com', env.AWS_REGION)) }}
144
-
145
- # GCP configuration
146
- ANTHROPIC_VERTEX_PROJECT_ID: ${{ env.ANTHROPIC_VERTEX_PROJECT_ID }}
147
- CLOUD_ML_REGION: ${{ env.CLOUD_ML_REGION }}
148
- GOOGLE_APPLICATION_CREDENTIALS: ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
149
- ANTHROPIC_VERTEX_BASE_URL: ${{ env.ANTHROPIC_VERTEX_BASE_URL }}
@@ -1,54 +0,0 @@
1
- {
2
- "lockfileVersion": 1,
3
- "workspaces": {
4
- "": {
5
- "name": "@anthropic-ai/claude-code-base-action",
6
- "dependencies": {
7
- "@actions/core": "^1.10.1",
8
- "shell-quote": "^1.8.3",
9
- },
10
- "devDependencies": {
11
- "@types/bun": "^1.2.12",
12
- "@types/node": "^20.0.0",
13
- "@types/shell-quote": "^1.7.5",
14
- "prettier": "3.5.3",
15
- "typescript": "^5.8.3",
16
- },
17
- },
18
- },
19
- "packages": {
20
- "@actions/core": ["@actions/core@1.11.1", "", { "dependencies": { "@actions/exec": "^1.1.1", "@actions/http-client": "^2.0.1" } }, "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A=="],
21
-
22
- "@actions/exec": ["@actions/exec@1.1.1", "", { "dependencies": { "@actions/io": "^1.0.1" } }, "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w=="],
23
-
24
- "@actions/http-client": ["@actions/http-client@2.2.3", "", { "dependencies": { "tunnel": "^0.0.6", "undici": "^5.25.4" } }, "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA=="],
25
-
26
- "@actions/io": ["@actions/io@1.1.3", "", {}, "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q=="],
27
-
28
- "@fastify/busboy": ["@fastify/busboy@2.1.1", "", {}, "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA=="],
29
-
30
- "@types/bun": ["@types/bun@1.2.19", "", { "dependencies": { "bun-types": "1.2.19" } }, "sha512-d9ZCmrH3CJ2uYKXQIUuZ/pUnTqIvLDS0SK7pFmbx8ma+ziH/FRMoAq5bYpRG7y+w1gl+HgyNZbtqgMq4W4e2Lg=="],
31
-
32
- "@types/node": ["@types/node@20.19.9", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-cuVNgarYWZqxRJDQHEB58GEONhOK79QVR/qYx4S7kcUObQvUwvFnYxJuuHUKm2aieN9X3yZB4LZsuYNU1Qphsw=="],
33
-
34
- "@types/react": ["@types/react@19.1.8", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g=="],
35
-
36
- "@types/shell-quote": ["@types/shell-quote@1.7.5", "", {}, "sha512-+UE8GAGRPbJVQDdxi16dgadcBfQ+KG2vgZhV1+3A1XmHbmwcdwhCUwIdy+d3pAGrbvgRoVSjeI9vOWyq376Yzw=="],
37
-
38
- "bun-types": ["bun-types@1.2.19", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-uAOTaZSPuYsWIXRpj7o56Let0g/wjihKCkeRqUBhlLVM/Bt+Fj9xTo+LhC1OV1XDaGkz4hNC80et5xgy+9KTHQ=="],
39
-
40
- "csstype": ["csstype@3.1.3", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],
41
-
42
- "prettier": ["prettier@3.5.3", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw=="],
43
-
44
- "shell-quote": ["shell-quote@1.8.3", "", {}, "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw=="],
45
-
46
- "tunnel": ["tunnel@0.0.6", "", {}, "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="],
47
-
48
- "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
49
-
50
- "undici": ["undici@5.29.0", "", { "dependencies": { "@fastify/busboy": "^2.0.0" } }, "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg=="],
51
-
52
- "undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
53
- }
54
- }
@@ -1,108 +0,0 @@
1
- name: Claude Issue Triage Example
2
- description: Run Claude Code for issue triage in GitHub Actions
3
- on:
4
- issues:
5
- types: [opened]
6
-
7
- jobs:
8
- triage-issue:
9
- runs-on: ubuntu-latest
10
- timeout-minutes: 10
11
- permissions:
12
- contents: read
13
- issues: write
14
-
15
- steps:
16
- - name: Checkout repository
17
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18
- with:
19
- fetch-depth: 0
20
-
21
- - name: Setup GitHub MCP Server
22
- run: |
23
- mkdir -p /tmp/mcp-config
24
- cat > /tmp/mcp-config/mcp-servers.json << 'EOF'
25
- {
26
- "mcpServers": {
27
- "github": {
28
- "command": "docker",
29
- "args": [
30
- "run",
31
- "-i",
32
- "--rm",
33
- "-e",
34
- "GITHUB_PERSONAL_ACCESS_TOKEN",
35
- "ghcr.io/github/github-mcp-server:sha-7aced2b"
36
- ],
37
- "env": {
38
- "GITHUB_PERSONAL_ACCESS_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
39
- }
40
- }
41
- }
42
- }
43
- EOF
44
-
45
- - name: Create triage prompt
46
- run: |
47
- mkdir -p /tmp/claude-prompts
48
- cat > /tmp/claude-prompts/triage-prompt.txt << 'EOF'
49
- You're an issue triage assistant for GitHub issues. Your task is to analyze the issue and select appropriate labels from the provided list.
50
-
51
- IMPORTANT: Don't post any comments or messages to the issue. Your only action should be to apply labels.
52
-
53
- Issue Information:
54
- - REPO: ${GITHUB_REPOSITORY}
55
- - ISSUE_NUMBER: ${{ github.event.issue.number }}
56
-
57
- TASK OVERVIEW:
58
-
59
- 1. First, fetch the list of labels available in this repository by running: `gh label list`. Run exactly this command with nothing else.
60
-
61
- 2. Next, use the GitHub tools to get context about the issue:
62
- - You have access to these tools:
63
- - mcp__github__get_issue: Use this to retrieve the current issue's details including title, description, and existing labels
64
- - mcp__github__get_issue_comments: Use this to read any discussion or additional context provided in the comments
65
- - mcp__github__update_issue: Use this to apply labels to the issue (do not use this for commenting)
66
- - mcp__github__search_issues: Use this to find similar issues that might provide context for proper categorization and to identify potential duplicate issues
67
- - mcp__github__list_issues: Use this to understand patterns in how other issues are labeled
68
- - Start by using mcp__github__get_issue to get the issue details
69
-
70
- 3. Analyze the issue content, considering:
71
- - The issue title and description
72
- - The type of issue (bug report, feature request, question, etc.)
73
- - Technical areas mentioned
74
- - Severity or priority indicators
75
- - User impact
76
- - Components affected
77
-
78
- 4. Select appropriate labels from the available labels list provided above:
79
- - Choose labels that accurately reflect the issue's nature
80
- - Be specific but comprehensive
81
- - Select priority labels if you can determine urgency (high-priority, med-priority, or low-priority)
82
- - Consider platform labels (android, ios) if applicable
83
- - If you find similar issues using mcp__github__search_issues, consider using a "duplicate" label if appropriate. Only do so if the issue is a duplicate of another OPEN issue.
84
-
85
- 5. Apply the selected labels:
86
- - Use mcp__github__update_issue to apply your selected labels
87
- - DO NOT post any comments explaining your decision
88
- - DO NOT communicate directly with users
89
- - If no labels are clearly applicable, do not apply any labels
90
-
91
- IMPORTANT GUIDELINES:
92
- - Be thorough in your analysis
93
- - Only select labels from the provided list above
94
- - DO NOT post any comments to the issue
95
- - Your ONLY action should be to apply labels using mcp__github__update_issue
96
- - It's okay to not add any labels if none are clearly applicable
97
- EOF
98
- env:
99
- GITHUB_REPOSITORY: ${{ github.repository }}
100
-
101
- - name: Run Claude Code for Issue Triage
102
- uses: anthropics/claude-code-base-action@beta
103
- with:
104
- prompt_file: /tmp/claude-prompts/triage-prompt.txt
105
- allowed_tools: "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues"
106
- claude_args: |
107
- --mcp-config /tmp/mcp-config/mcp-servers.json
108
- anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
@@ -1,23 +0,0 @@
1
- {
2
- "name": "@anthropic-ai/claude-code-base-action",
3
- "version": "1.0.0",
4
- "private": true,
5
- "scripts": {
6
- "format": "prettier --write .",
7
- "format:check": "prettier --check .",
8
- "install-hooks": "bun run scripts/install-hooks.sh",
9
- "test": "bun test",
10
- "typecheck": "tsc --noEmit"
11
- },
12
- "dependencies": {
13
- "@actions/core": "^1.10.1",
14
- "shell-quote": "^1.8.3"
15
- },
16
- "devDependencies": {
17
- "@types/bun": "^1.2.12",
18
- "@types/node": "^20.0.0",
19
- "@types/shell-quote": "^1.7.5",
20
- "prettier": "3.5.3",
21
- "typescript": "^5.8.3"
22
- }
23
- }
@@ -1,13 +0,0 @@
1
- #!/bin/sh
2
-
3
- # Install git hooks
4
- echo "Installing git hooks..."
5
-
6
- # Make sure hooks directory exists
7
- mkdir -p .git/hooks
8
-
9
- # Install pre-push hook
10
- cp scripts/pre-push .git/hooks/pre-push
11
- chmod +x .git/hooks/pre-push
12
-
13
- echo "Git hooks installed successfully!"
@@ -1,46 +0,0 @@
1
- #!/bin/sh
2
-
3
- # Check if files need formatting before push
4
- echo "Checking code formatting..."
5
-
6
- # First check if any files need formatting
7
- if ! bun run format:check; then
8
- echo "Code formatting errors found. Running formatter..."
9
- bun run format
10
-
11
- # Check if there are any staged changes after formatting
12
- if git diff --name-only --exit-code; then
13
- echo "All files are now properly formatted."
14
- else
15
- echo ""
16
- echo "ERROR: Code has been formatted but changes need to be committed!"
17
- echo "Please commit the formatted files and try again."
18
- echo ""
19
- echo "The following files were modified:"
20
- git diff --name-only
21
- echo ""
22
- exit 1
23
- fi
24
- else
25
- echo "Code formatting is already correct."
26
- fi
27
-
28
- # Run type checking
29
- echo "Running type checking..."
30
- if ! bun run typecheck; then
31
- echo "Type checking failed. Please fix the type errors and try again."
32
- exit 1
33
- else
34
- echo "Type checking passed."
35
- fi
36
-
37
- # Run tests
38
- echo "Running tests..."
39
- if ! bun run test; then
40
- echo "Tests failed. Please fix the failing tests and try again."
41
- exit 1
42
- else
43
- echo "All tests passed."
44
- fi
45
-
46
- exit 0
@@ -1,82 +0,0 @@
1
- #!/usr/bin/env bun
2
-
3
- import * as core from "@actions/core";
4
- import { preparePrompt } from "./prepare-prompt";
5
- import { runClaude } from "./run-claude";
6
- import { runVicoa } from "./run-vicoa";
7
- import { setupClaudeCodeSettings } from "./setup-claude-code-settings";
8
- import { validateEnvironmentVariables } from "./validate-env";
9
-
10
- async function run() {
11
- try {
12
- validateEnvironmentVariables();
13
-
14
- await setupClaudeCodeSettings(
15
- process.env.INPUT_SETTINGS,
16
- undefined, // homeDir
17
- );
18
-
19
- const promptConfig = await preparePrompt({
20
- prompt: process.env.INPUT_PROMPT || "",
21
- promptFile: process.env.INPUT_PROMPT_FILE || "",
22
- });
23
-
24
- // Dynamically determine whether to use Vicoa based on:
25
- // 1. VICOA_API_KEY is present (from repository_dispatch or secrets)
26
- // 2. Trigger phrase contains "vicoa" (case-insensitive)
27
- // This allows both @claude (regular) and @vicoa (with tracking) in same repo
28
- const triggerPhrase = process.env.TRIGGER_PHRASE || "@claude";
29
- const isVicoaTrigger = triggerPhrase.toLowerCase().includes("vicoa");
30
- const hasVicoaKey = !!process.env.VICOA_API_KEY;
31
- const isRepositoryDispatch = process.env.GITHUB_EVENT_NAME === "repository_dispatch";
32
-
33
- // Check if @vicoa was used without API key - fall back to Claude with warning
34
- if (isVicoaTrigger && !hasVicoaKey) {
35
- console.warn("⚠️ WARNING: @vicoa was used but VICOA_API_KEY is not set in repository secrets.");
36
- console.warn("⚠️ Falling back to standard Claude Code without session tracking.");
37
- console.warn("⚠️ To enable Vicoa tracking, add VICOA_API_KEY to your repository secrets.");
38
- }
39
-
40
- if (hasVicoaKey && (isVicoaTrigger || isRepositoryDispatch)) {
41
- // Use Vicoa headless for session tracking
42
- console.log("✅ Using Vicoa headless for session tracking");
43
- await runVicoa(promptConfig.path, {
44
- allowedTools: process.env.INPUT_ALLOWED_TOOLS,
45
- disallowedTools: process.env.INPUT_DISALLOWED_TOOLS,
46
- maxTurns: process.env.INPUT_MAX_TURNS,
47
- mcpConfig: process.env.INPUT_MCP_CONFIG,
48
- systemPrompt: process.env.INPUT_SYSTEM_PROMPT,
49
- appendSystemPrompt: process.env.INPUT_APPEND_SYSTEM_PROMPT,
50
- claudeEnv: process.env.INPUT_CLAUDE_ENV,
51
- fallbackModel: process.env.INPUT_FALLBACK_MODEL,
52
- model: process.env.ANTHROPIC_MODEL,
53
- timeoutMinutes: process.env.INPUT_TIMEOUT_MINUTES,
54
- });
55
- } else {
56
- // Use standard Claude Code
57
- console.log("ℹ️ Using standard Claude Code (no Vicoa tracking)");
58
- await runClaude(promptConfig.path, {
59
- claudeArgs: process.env.INPUT_CLAUDE_ARGS,
60
- allowedTools: process.env.INPUT_ALLOWED_TOOLS,
61
- disallowedTools: process.env.INPUT_DISALLOWED_TOOLS,
62
- maxTurns: process.env.INPUT_MAX_TURNS,
63
- mcpConfig: process.env.INPUT_MCP_CONFIG,
64
- systemPrompt: process.env.INPUT_SYSTEM_PROMPT,
65
- appendSystemPrompt: process.env.INPUT_APPEND_SYSTEM_PROMPT,
66
- claudeEnv: process.env.INPUT_CLAUDE_ENV,
67
- fallbackModel: process.env.INPUT_FALLBACK_MODEL,
68
- model: process.env.ANTHROPIC_MODEL,
69
- pathToClaudeCodeExecutable:
70
- process.env.INPUT_PATH_TO_CLAUDE_CODE_EXECUTABLE,
71
- });
72
- }
73
- } catch (error) {
74
- core.setFailed(`Action failed with error: ${error}`);
75
- core.setOutput("conclusion", "failure");
76
- process.exit(1);
77
- }
78
- }
79
-
80
- if (import.meta.main) {
81
- run();
82
- }
@@ -1,82 +0,0 @@
1
- import { existsSync, statSync } from "fs";
2
- import { mkdir, writeFile } from "fs/promises";
3
-
4
- export type PreparePromptInput = {
5
- prompt: string;
6
- promptFile: string;
7
- };
8
-
9
- export type PreparePromptConfig = {
10
- type: "file" | "inline";
11
- path: string;
12
- };
13
-
14
- async function validateAndPreparePrompt(
15
- input: PreparePromptInput,
16
- ): Promise<PreparePromptConfig> {
17
- // Validate inputs
18
- if (!input.prompt && !input.promptFile) {
19
- throw new Error(
20
- "Neither 'prompt' nor 'prompt_file' was provided. At least one is required.",
21
- );
22
- }
23
-
24
- if (input.prompt && input.promptFile) {
25
- throw new Error(
26
- "Both 'prompt' and 'prompt_file' were provided. Please specify only one.",
27
- );
28
- }
29
-
30
- // Handle prompt file
31
- if (input.promptFile) {
32
- if (!existsSync(input.promptFile)) {
33
- throw new Error(`Prompt file '${input.promptFile}' does not exist.`);
34
- }
35
-
36
- // Validate that the file is not empty
37
- const stats = statSync(input.promptFile);
38
- if (stats.size === 0) {
39
- throw new Error(
40
- "Prompt file is empty. Please provide a non-empty prompt.",
41
- );
42
- }
43
-
44
- return {
45
- type: "file",
46
- path: input.promptFile,
47
- };
48
- }
49
-
50
- // Handle inline prompt
51
- if (!input.prompt || input.prompt.trim().length === 0) {
52
- throw new Error("Prompt is empty. Please provide a non-empty prompt.");
53
- }
54
-
55
- const inlinePath = "/tmp/claude-action/prompt.txt";
56
- return {
57
- type: "inline",
58
- path: inlinePath,
59
- };
60
- }
61
-
62
- async function createTemporaryPromptFile(
63
- prompt: string,
64
- promptPath: string,
65
- ): Promise<void> {
66
- // Create the directory path
67
- const dirPath = promptPath.substring(0, promptPath.lastIndexOf("/"));
68
- await mkdir(dirPath, { recursive: true });
69
- await writeFile(promptPath, prompt);
70
- }
71
-
72
- export async function preparePrompt(
73
- input: PreparePromptInput,
74
- ): Promise<PreparePromptConfig> {
75
- const config = await validateAndPreparePrompt(input);
76
-
77
- if (config.type === "inline") {
78
- await createTemporaryPromptFile(input.prompt, config.path);
79
- }
80
-
81
- return config;
82
- }