@vicoa/cli 0.1.3 → 0.1.4-darwin-arm64

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 (288) hide show
  1. package/bin/_internal/81d243bd2c585b0f4821__mypyc.cpython-312-darwin.so +0 -0
  2. package/bin/_internal/_cffi_backend.cpython-312-darwin.so +0 -0
  3. package/bin/_internal/aiohttp/_http_parser.cpython-312-darwin.so +0 -0
  4. package/bin/_internal/aiohttp/_http_writer.cpython-312-darwin.so +0 -0
  5. package/bin/_internal/aiohttp/_websocket/mask.cpython-312-darwin.so +0 -0
  6. package/bin/_internal/aiohttp/_websocket/reader_c.cpython-312-darwin.so +0 -0
  7. package/bin/_internal/asyncpg/protocol/protocol.cpython-312-darwin.so +0 -0
  8. package/bin/_internal/attrs-26.1.0.dist-info/INSTALLER +1 -0
  9. package/bin/_internal/attrs-26.1.0.dist-info/METADATA +199 -0
  10. package/bin/_internal/attrs-26.1.0.dist-info/RECORD +55 -0
  11. package/bin/_internal/attrs-26.1.0.dist-info/WHEEL +4 -0
  12. package/bin/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
  13. package/bin/_internal/base_library.zip +0 -0
  14. package/bin/_internal/certifi/cacert.pem +4494 -0
  15. package/bin/_internal/certifi/py.typed +0 -0
  16. package/bin/_internal/charset_normalizer/cd.cpython-312-darwin.so +0 -0
  17. package/bin/_internal/charset_normalizer/md.cpython-312-darwin.so +0 -0
  18. package/bin/_internal/click-8.3.2.dist-info/INSTALLER +1 -0
  19. package/bin/_internal/click-8.3.2.dist-info/METADATA +84 -0
  20. package/bin/_internal/click-8.3.2.dist-info/RECORD +40 -0
  21. package/bin/_internal/click-8.3.2.dist-info/WHEEL +4 -0
  22. package/bin/_internal/click-8.3.2.dist-info/licenses/LICENSE.txt +28 -0
  23. package/bin/_internal/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
  24. package/bin/_internal/cryptography-46.0.7.dist-info/INSTALLER +1 -0
  25. package/bin/_internal/cryptography-46.0.7.dist-info/METADATA +139 -0
  26. package/bin/_internal/cryptography-46.0.7.dist-info/RECORD +180 -0
  27. package/bin/_internal/cryptography-46.0.7.dist-info/WHEEL +4 -0
  28. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE +3 -0
  29. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE.APACHE +202 -0
  30. package/bin/_internal/cryptography-46.0.7.dist-info/licenses/LICENSE.BSD +27 -0
  31. package/bin/_internal/email_validator-2.1.0.dist-info/INSTALLER +1 -0
  32. package/bin/_internal/email_validator-2.1.0.dist-info/LICENSE +121 -0
  33. package/bin/_internal/email_validator-2.1.0.dist-info/METADATA +482 -0
  34. package/bin/_internal/email_validator-2.1.0.dist-info/RECORD +26 -0
  35. package/bin/_internal/email_validator-2.1.0.dist-info/REQUESTED +0 -0
  36. package/bin/_internal/email_validator-2.1.0.dist-info/WHEEL +5 -0
  37. package/bin/_internal/email_validator-2.1.0.dist-info/entry_points.txt +2 -0
  38. package/bin/_internal/email_validator-2.1.0.dist-info/top_level.txt +1 -0
  39. package/bin/_internal/fastmcp-2.9.2.dist-info/INSTALLER +1 -0
  40. package/bin/_internal/fastmcp-2.9.2.dist-info/METADATA +465 -0
  41. package/bin/_internal/fastmcp-2.9.2.dist-info/RECORD +150 -0
  42. package/bin/_internal/fastmcp-2.9.2.dist-info/REQUESTED +0 -0
  43. package/bin/_internal/fastmcp-2.9.2.dist-info/WHEEL +4 -0
  44. package/bin/_internal/fastmcp-2.9.2.dist-info/entry_points.txt +2 -0
  45. package/bin/_internal/fastmcp-2.9.2.dist-info/licenses/LICENSE +201 -0
  46. package/bin/_internal/frozenlist/_frozenlist.cpython-312-darwin.so +0 -0
  47. package/bin/_internal/h2-4.3.0.dist-info/INSTALLER +1 -0
  48. package/bin/_internal/h2-4.3.0.dist-info/METADATA +129 -0
  49. package/bin/_internal/h2-4.3.0.dist-info/RECORD +29 -0
  50. package/bin/_internal/h2-4.3.0.dist-info/WHEEL +5 -0
  51. package/bin/_internal/h2-4.3.0.dist-info/licenses/LICENSE +21 -0
  52. package/bin/_internal/h2-4.3.0.dist-info/top_level.txt +1 -0
  53. package/bin/_internal/httptools/parser/parser.cpython-312-darwin.so +0 -0
  54. package/bin/_internal/httptools/parser/url_parser.cpython-312-darwin.so +0 -0
  55. package/bin/_internal/integrations/cli_wrappers/IMPORTANT_USE_CASES.md +33 -0
  56. package/bin/_internal/integrations/github/claude-code-action/.prettierignore +2 -0
  57. package/bin/_internal/integrations/github/claude-code-action/.prettierrc +1 -0
  58. package/bin/_internal/integrations/github/claude-code-action/CLAUDE.md +136 -0
  59. package/bin/_internal/integrations/github/claude-code-action/CODE_OF_CONDUCT.md +128 -0
  60. package/bin/_internal/integrations/github/claude-code-action/CONTRIBUTING.md +116 -0
  61. package/bin/_internal/integrations/github/claude-code-action/LICENSE +21 -0
  62. package/bin/_internal/integrations/github/claude-code-action/README.md +53 -0
  63. package/bin/_internal/integrations/github/claude-code-action/ROADMAP.md +20 -0
  64. package/bin/_internal/integrations/github/claude-code-action/SECURITY.md +15 -0
  65. package/bin/_internal/integrations/github/claude-code-action/action.yml +294 -0
  66. package/bin/_internal/integrations/github/claude-code-action/base-action/.prettierrc +1 -0
  67. package/bin/_internal/integrations/github/claude-code-action/base-action/CLAUDE.md +60 -0
  68. package/bin/_internal/integrations/github/claude-code-action/base-action/CODE_OF_CONDUCT.md +128 -0
  69. package/bin/_internal/integrations/github/claude-code-action/base-action/CONTRIBUTING.md +136 -0
  70. package/bin/_internal/integrations/github/claude-code-action/base-action/LICENSE +21 -0
  71. package/bin/_internal/integrations/github/claude-code-action/base-action/MIRROR_DISCLAIMER.md +11 -0
  72. package/bin/_internal/integrations/github/claude-code-action/base-action/README.md +521 -0
  73. package/bin/_internal/integrations/github/claude-code-action/base-action/action.yml +149 -0
  74. package/bin/_internal/integrations/github/claude-code-action/base-action/bun.lock +54 -0
  75. package/bin/_internal/integrations/github/claude-code-action/base-action/examples/issue-triage.yml +108 -0
  76. package/bin/_internal/integrations/github/claude-code-action/base-action/package.json +23 -0
  77. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/install-hooks.sh +13 -0
  78. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/pre-push +46 -0
  79. package/bin/_internal/integrations/github/claude-code-action/base-action/src/index.ts +82 -0
  80. package/bin/_internal/integrations/github/claude-code-action/base-action/src/prepare-prompt.ts +82 -0
  81. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-claude.ts +257 -0
  82. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-vicoa.ts +301 -0
  83. package/bin/_internal/integrations/github/claude-code-action/base-action/src/setup-claude-code-settings.ts +68 -0
  84. package/bin/_internal/integrations/github/claude-code-action/base-action/src/validate-env.ts +54 -0
  85. package/bin/_internal/integrations/github/claude-code-action/base-action/test-local.sh +12 -0
  86. package/bin/_internal/integrations/github/claude-code-action/base-action/test-mcp-local.sh +18 -0
  87. package/bin/_internal/integrations/github/claude-code-action/base-action/tsconfig.json +30 -0
  88. package/bin/_internal/integrations/github/claude-code-action/bun.lock +384 -0
  89. package/bin/_internal/integrations/github/claude-code-action/docs/capabilities-and-limitations.md +33 -0
  90. package/bin/_internal/integrations/github/claude-code-action/docs/cloud-providers.md +99 -0
  91. package/bin/_internal/integrations/github/claude-code-action/docs/configuration.md +345 -0
  92. package/bin/_internal/integrations/github/claude-code-action/docs/custom-automations.md +113 -0
  93. package/bin/_internal/integrations/github/claude-code-action/docs/experimental.md +128 -0
  94. package/bin/_internal/integrations/github/claude-code-action/docs/faq.md +205 -0
  95. package/bin/_internal/integrations/github/claude-code-action/docs/migration-guide.md +261 -0
  96. package/bin/_internal/integrations/github/claude-code-action/docs/security.md +38 -0
  97. package/bin/_internal/integrations/github/claude-code-action/docs/setup.md +146 -0
  98. package/bin/_internal/integrations/github/claude-code-action/docs/usage.md +213 -0
  99. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/auto-fix-ci.yml +97 -0
  100. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/commands/fix-ci.md +127 -0
  101. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/auto-fix-ci-signed.yml +97 -0
  102. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/commands/fix-ci-signed.md +148 -0
  103. package/bin/_internal/integrations/github/claude-code-action/examples/issue-deduplication.yml +63 -0
  104. package/bin/_internal/integrations/github/claude-code-action/examples/issue-triage.yml +75 -0
  105. package/bin/_internal/integrations/github/claude-code-action/examples/vicoa.yml +75 -0
  106. package/bin/_internal/integrations/github/claude-code-action/package.json +31 -0
  107. package/bin/_internal/integrations/github/claude-code-action/scripts/install-hooks.sh +13 -0
  108. package/bin/_internal/integrations/github/claude-code-action/scripts/pre-commit +46 -0
  109. package/bin/_internal/integrations/github/claude-code-action/scripts/setup-network-restrictions.sh +123 -0
  110. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/index.ts +799 -0
  111. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/types.ts +102 -0
  112. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/collect-inputs.ts +58 -0
  113. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/format-turns.ts +465 -0
  114. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/prepare.ts +98 -0
  115. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/update-comment-link.ts +245 -0
  116. package/bin/_internal/integrations/github/claude-code-action/src/github/api/client.ts +23 -0
  117. package/bin/_internal/integrations/github/claude-code-action/src/github/api/config.ts +4 -0
  118. package/bin/_internal/integrations/github/claude-code-action/src/github/api/queries/github.ts +117 -0
  119. package/bin/_internal/integrations/github/claude-code-action/src/github/context.ts +277 -0
  120. package/bin/_internal/integrations/github/claude-code-action/src/github/data/fetcher.ts +233 -0
  121. package/bin/_internal/integrations/github/claude-code-action/src/github/data/formatter.ts +144 -0
  122. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch-cleanup.ts +132 -0
  123. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch.ts +163 -0
  124. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comment-logic.ts +203 -0
  125. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/common.ts +33 -0
  126. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/create-initial.ts +111 -0
  127. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-claude-comment.ts +70 -0
  128. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-with-branch.ts +57 -0
  129. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/git-config.ts +62 -0
  130. package/bin/_internal/integrations/github/claude-code-action/src/github/token.ts +108 -0
  131. package/bin/_internal/integrations/github/claude-code-action/src/github/types.ts +98 -0
  132. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/image-downloader.ts +246 -0
  133. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/sanitizer.ts +100 -0
  134. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/actor.ts +64 -0
  135. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/permissions.ts +47 -0
  136. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/trigger.ts +148 -0
  137. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-actions-server.ts +279 -0
  138. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-comment-server.ts +101 -0
  139. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-file-ops-server.ts +677 -0
  140. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-inline-comment-server.ts +184 -0
  141. package/bin/_internal/integrations/github/claude-code-action/src/mcp/install-mcp-server.ts +201 -0
  142. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/index.ts +152 -0
  143. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/parse-tools.ts +22 -0
  144. package/bin/_internal/integrations/github/claude-code-action/src/modes/detector.ts +66 -0
  145. package/bin/_internal/integrations/github/claude-code-action/src/modes/registry.ts +54 -0
  146. package/bin/_internal/integrations/github/claude-code-action/src/modes/tag/index.ts +187 -0
  147. package/bin/_internal/integrations/github/claude-code-action/src/modes/types.ts +100 -0
  148. package/bin/_internal/integrations/github/claude-code-action/src/prepare/index.ts +20 -0
  149. package/bin/_internal/integrations/github/claude-code-action/src/prepare/types.ts +20 -0
  150. package/bin/_internal/integrations/github/claude-code-action/src/utils/retry.ts +40 -0
  151. package/bin/_internal/integrations/github/claude-code-action/tsconfig.json +30 -0
  152. package/bin/_internal/integrations/n8n/.prettierrc +10 -0
  153. package/bin/_internal/integrations/n8n/LICENSE +21 -0
  154. package/bin/_internal/integrations/n8n/README.md +298 -0
  155. package/bin/_internal/integrations/n8n/package-lock.json +2989 -0
  156. package/bin/_internal/integrations/n8n/package.json +68 -0
  157. package/bin/_internal/jiter/jiter.cpython-312-darwin.so +0 -0
  158. package/bin/_internal/libbz2.dylib +0 -0
  159. package/bin/_internal/libcom_err.3.0.dylib +0 -0
  160. package/bin/_internal/libcrypto.3.dylib +0 -0
  161. package/bin/_internal/libexpat.1.dylib +0 -0
  162. package/bin/_internal/libffi.8.dylib +0 -0
  163. package/bin/_internal/libgssapi_krb5.2.2.dylib +0 -0
  164. package/bin/_internal/libintl.8.dylib +0 -0
  165. package/bin/_internal/libk5crypto.3.1.dylib +0 -0
  166. package/bin/_internal/libkrb5.3.3.dylib +0 -0
  167. package/bin/_internal/libkrb5support.1.1.dylib +0 -0
  168. package/bin/_internal/liblzma.5.dylib +0 -0
  169. package/bin/_internal/libncursesw.6.dylib +0 -0
  170. package/bin/_internal/libpq.5.dylib +0 -0
  171. package/bin/_internal/libpython3.12.dylib +0 -0
  172. package/bin/_internal/libreadline.8.dylib +0 -0
  173. package/bin/_internal/libsqlite3.dylib +0 -0
  174. package/bin/_internal/libssl.3.dylib +0 -0
  175. package/bin/_internal/libtinfow.6.dylib +0 -0
  176. package/bin/_internal/libz.1.dylib +0 -0
  177. package/bin/_internal/mcp-1.9.4.dist-info/INSTALLER +1 -0
  178. package/bin/_internal/mcp-1.9.4.dist-info/METADATA +939 -0
  179. package/bin/_internal/mcp-1.9.4.dist-info/RECORD +154 -0
  180. package/bin/_internal/mcp-1.9.4.dist-info/WHEEL +4 -0
  181. package/bin/_internal/mcp-1.9.4.dist-info/entry_points.txt +2 -0
  182. package/bin/_internal/mcp-1.9.4.dist-info/licenses/LICENSE +21 -0
  183. package/bin/_internal/multidict/_multidict.cpython-312-darwin.so +0 -0
  184. package/bin/_internal/propcache/_helpers_c.cpython-312-darwin.so +0 -0
  185. package/bin/_internal/psycopg2/.dylibs/libcom_err.3.0.dylib +0 -0
  186. package/bin/_internal/psycopg2/.dylibs/libcrypto.3.dylib +0 -0
  187. package/bin/_internal/psycopg2/.dylibs/libgssapi_krb5.2.2.dylib +0 -0
  188. package/bin/_internal/psycopg2/.dylibs/libintl.8.dylib +0 -0
  189. package/bin/_internal/psycopg2/.dylibs/libk5crypto.3.1.dylib +0 -0
  190. package/bin/_internal/psycopg2/.dylibs/libkrb5.3.3.dylib +0 -0
  191. package/bin/_internal/psycopg2/.dylibs/libkrb5support.1.1.dylib +0 -0
  192. package/bin/_internal/psycopg2/.dylibs/libpq.5.dylib +0 -0
  193. package/bin/_internal/psycopg2/.dylibs/libssl.3.dylib +0 -0
  194. package/bin/_internal/psycopg2/_psycopg.cpython-312-darwin.so +0 -0
  195. package/bin/_internal/pydantic_core/_pydantic_core.cpython-312-darwin.so +0 -0
  196. package/bin/_internal/python3.12/lib-dynload/_asyncio.cpython-312-darwin.so +0 -0
  197. package/bin/_internal/python3.12/lib-dynload/_bisect.cpython-312-darwin.so +0 -0
  198. package/bin/_internal/python3.12/lib-dynload/_blake2.cpython-312-darwin.so +0 -0
  199. package/bin/_internal/python3.12/lib-dynload/_bz2.cpython-312-darwin.so +0 -0
  200. package/bin/_internal/python3.12/lib-dynload/_codecs_cn.cpython-312-darwin.so +0 -0
  201. package/bin/_internal/python3.12/lib-dynload/_codecs_hk.cpython-312-darwin.so +0 -0
  202. package/bin/_internal/python3.12/lib-dynload/_codecs_iso2022.cpython-312-darwin.so +0 -0
  203. package/bin/_internal/python3.12/lib-dynload/_codecs_jp.cpython-312-darwin.so +0 -0
  204. package/bin/_internal/python3.12/lib-dynload/_codecs_kr.cpython-312-darwin.so +0 -0
  205. package/bin/_internal/python3.12/lib-dynload/_codecs_tw.cpython-312-darwin.so +0 -0
  206. package/bin/_internal/python3.12/lib-dynload/_contextvars.cpython-312-darwin.so +0 -0
  207. package/bin/_internal/python3.12/lib-dynload/_csv.cpython-312-darwin.so +0 -0
  208. package/bin/_internal/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so +0 -0
  209. package/bin/_internal/python3.12/lib-dynload/_datetime.cpython-312-darwin.so +0 -0
  210. package/bin/_internal/python3.12/lib-dynload/_decimal.cpython-312-darwin.so +0 -0
  211. package/bin/_internal/python3.12/lib-dynload/_hashlib.cpython-312-darwin.so +0 -0
  212. package/bin/_internal/python3.12/lib-dynload/_heapq.cpython-312-darwin.so +0 -0
  213. package/bin/_internal/python3.12/lib-dynload/_json.cpython-312-darwin.so +0 -0
  214. package/bin/_internal/python3.12/lib-dynload/_lzma.cpython-312-darwin.so +0 -0
  215. package/bin/_internal/python3.12/lib-dynload/_md5.cpython-312-darwin.so +0 -0
  216. package/bin/_internal/python3.12/lib-dynload/_multibytecodec.cpython-312-darwin.so +0 -0
  217. package/bin/_internal/python3.12/lib-dynload/_multiprocessing.cpython-312-darwin.so +0 -0
  218. package/bin/_internal/python3.12/lib-dynload/_opcode.cpython-312-darwin.so +0 -0
  219. package/bin/_internal/python3.12/lib-dynload/_pickle.cpython-312-darwin.so +0 -0
  220. package/bin/_internal/python3.12/lib-dynload/_posixshmem.cpython-312-darwin.so +0 -0
  221. package/bin/_internal/python3.12/lib-dynload/_posixsubprocess.cpython-312-darwin.so +0 -0
  222. package/bin/_internal/python3.12/lib-dynload/_queue.cpython-312-darwin.so +0 -0
  223. package/bin/_internal/python3.12/lib-dynload/_random.cpython-312-darwin.so +0 -0
  224. package/bin/_internal/python3.12/lib-dynload/_scproxy.cpython-312-darwin.so +0 -0
  225. package/bin/_internal/python3.12/lib-dynload/_sha1.cpython-312-darwin.so +0 -0
  226. package/bin/_internal/python3.12/lib-dynload/_sha2.cpython-312-darwin.so +0 -0
  227. package/bin/_internal/python3.12/lib-dynload/_sha3.cpython-312-darwin.so +0 -0
  228. package/bin/_internal/python3.12/lib-dynload/_socket.cpython-312-darwin.so +0 -0
  229. package/bin/_internal/python3.12/lib-dynload/_sqlite3.cpython-312-darwin.so +0 -0
  230. package/bin/_internal/python3.12/lib-dynload/_ssl.cpython-312-darwin.so +0 -0
  231. package/bin/_internal/python3.12/lib-dynload/_statistics.cpython-312-darwin.so +0 -0
  232. package/bin/_internal/python3.12/lib-dynload/_struct.cpython-312-darwin.so +0 -0
  233. package/bin/_internal/python3.12/lib-dynload/_uuid.cpython-312-darwin.so +0 -0
  234. package/bin/_internal/python3.12/lib-dynload/_zoneinfo.cpython-312-darwin.so +0 -0
  235. package/bin/_internal/python3.12/lib-dynload/array.cpython-312-darwin.so +0 -0
  236. package/bin/_internal/python3.12/lib-dynload/binascii.cpython-312-darwin.so +0 -0
  237. package/bin/_internal/python3.12/lib-dynload/fcntl.cpython-312-darwin.so +0 -0
  238. package/bin/_internal/python3.12/lib-dynload/grp.cpython-312-darwin.so +0 -0
  239. package/bin/_internal/python3.12/lib-dynload/math.cpython-312-darwin.so +0 -0
  240. package/bin/_internal/python3.12/lib-dynload/mmap.cpython-312-darwin.so +0 -0
  241. package/bin/_internal/python3.12/lib-dynload/pyexpat.cpython-312-darwin.so +0 -0
  242. package/bin/_internal/python3.12/lib-dynload/readline.cpython-312-darwin.so +0 -0
  243. package/bin/_internal/python3.12/lib-dynload/resource.cpython-312-darwin.so +0 -0
  244. package/bin/_internal/python3.12/lib-dynload/select.cpython-312-darwin.so +0 -0
  245. package/bin/_internal/python3.12/lib-dynload/syslog.cpython-312-darwin.so +0 -0
  246. package/bin/_internal/python3.12/lib-dynload/termios.cpython-312-darwin.so +0 -0
  247. package/bin/_internal/python3.12/lib-dynload/unicodedata.cpython-312-darwin.so +0 -0
  248. package/bin/_internal/python3.12/lib-dynload/zlib.cpython-312-darwin.so +0 -0
  249. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/INSTALLER +1 -0
  250. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/METADATA +133 -0
  251. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/RECORD +21 -0
  252. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/REQUESTED +0 -0
  253. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/WHEEL +5 -0
  254. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +73 -0
  255. package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/top_level.txt +1 -0
  256. package/bin/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +2 -0
  257. package/bin/_internal/sqlalchemy/cyextension/collections.cpython-312-darwin.so +0 -0
  258. package/bin/_internal/sqlalchemy/cyextension/immutabledict.cpython-312-darwin.so +0 -0
  259. package/bin/_internal/sqlalchemy/cyextension/processors.cpython-312-darwin.so +0 -0
  260. package/bin/_internal/sqlalchemy/cyextension/resultproxy.cpython-312-darwin.so +0 -0
  261. package/bin/_internal/sqlalchemy/cyextension/util.cpython-312-darwin.so +0 -0
  262. package/bin/_internal/uvloop/loop.cpython-312-darwin.so +0 -0
  263. package/bin/_internal/vicoa/_bin/README.md +28 -0
  264. package/bin/_internal/vicoa-1.3.9.dist-info/INSTALLER +1 -0
  265. package/bin/_internal/vicoa-1.3.9.dist-info/METADATA +311 -0
  266. package/bin/_internal/vicoa-1.3.9.dist-info/RECORD +11 -0
  267. package/bin/_internal/vicoa-1.3.9.dist-info/REQUESTED +0 -0
  268. package/bin/_internal/vicoa-1.3.9.dist-info/WHEEL +5 -0
  269. package/bin/_internal/vicoa-1.3.9.dist-info/direct_url.json +1 -0
  270. package/bin/_internal/vicoa-1.3.9.dist-info/entry_points.txt +2 -0
  271. package/bin/_internal/vicoa-1.3.9.dist-info/licenses/LICENSE +201 -0
  272. package/bin/_internal/vicoa-1.3.9.dist-info/top_level.txt +3 -0
  273. package/bin/_internal/watchfiles/_rust_notify.cpython-312-darwin.so +0 -0
  274. package/bin/_internal/websockets/speedups.cpython-312-darwin.so +0 -0
  275. package/bin/_internal/websockets-14.2.dist-info/INSTALLER +1 -0
  276. package/bin/_internal/websockets-14.2.dist-info/LICENSE +24 -0
  277. package/bin/_internal/websockets-14.2.dist-info/METADATA +178 -0
  278. package/bin/_internal/websockets-14.2.dist-info/RECORD +98 -0
  279. package/bin/_internal/websockets-14.2.dist-info/WHEEL +5 -0
  280. package/bin/_internal/websockets-14.2.dist-info/top_level.txt +1 -0
  281. package/bin/_internal/yaml/_yaml.cpython-312-darwin.so +0 -0
  282. package/bin/_internal/yarl/_quoting_c.cpython-312-darwin.so +0 -0
  283. package/bin/_internal/zstandard/_cffi.cpython-312-darwin.so +0 -0
  284. package/bin/_internal/zstandard/backend_c.cpython-312-darwin.so +0 -0
  285. package/bin/vicoa +0 -0
  286. package/package.json +10 -17
  287. package/README.md +0 -57
  288. package/bin/vicoa.js +0 -38
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,129 @@
1
+ Metadata-Version: 2.4
2
+ Name: h2
3
+ Version: 4.3.0
4
+ Summary: Pure-Python HTTP/2 protocol implementation
5
+ Author-email: Cory Benfield <cory@lukasa.co.uk>
6
+ Maintainer-email: Thomas Kriechbaumer <thomas@kriechbaumer.name>
7
+ License: The MIT License (MIT)
8
+
9
+ Copyright (c) 2015-2020 Cory Benfield and contributors
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in
19
+ all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+ THE SOFTWARE.
28
+
29
+ Project-URL: Homepage, https://github.com/python-hyper/h2/
30
+ Project-URL: Bug Reports, https://github.com/python-hyper/h2/issues
31
+ Project-URL: Source, https://github.com/python-hyper/h2/
32
+ Project-URL: Documentation, https://python-hyper.org/
33
+ Classifier: Development Status :: 5 - Production/Stable
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Programming Language :: Python
37
+ Classifier: Programming Language :: Python :: 3 :: Only
38
+ Classifier: Programming Language :: Python :: 3
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Programming Language :: Python :: Implementation :: CPython
45
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
46
+ Requires-Python: >=3.9
47
+ Description-Content-Type: text/x-rst
48
+ License-File: LICENSE
49
+ Requires-Dist: hyperframe<7,>=6.1
50
+ Requires-Dist: hpack<5,>=4.1
51
+ Dynamic: license-file
52
+
53
+ =========================
54
+ h2: HTTP/2 Protocol Stack
55
+ =========================
56
+
57
+ .. image:: https://github.com/python-hyper/h2/workflows/CI/badge.svg
58
+ :target: https://github.com/python-hyper/h2/actions
59
+ :alt: Build Status
60
+ .. image:: https://codecov.io/gh/python-hyper/h2/branch/master/graph/badge.svg
61
+ :target: https://codecov.io/gh/python-hyper/h2
62
+ :alt: Code Coverage
63
+ .. image:: https://readthedocs.org/projects/h2/badge/?version=latest
64
+ :target: https://h2.readthedocs.io/en/latest/
65
+ :alt: Documentation Status
66
+ .. image:: https://img.shields.io/badge/chat-join_now-brightgreen.svg
67
+ :target: https://gitter.im/python-hyper/community
68
+ :alt: Chat community
69
+
70
+ .. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
71
+
72
+ This repository contains a pure-Python implementation of a HTTP/2 protocol
73
+ stack. It's written from the ground up to be embeddable in whatever program you
74
+ choose to use, ensuring that you can speak HTTP/2 regardless of your
75
+ programming paradigm.
76
+
77
+ You use it like this:
78
+
79
+ .. code-block:: python
80
+
81
+ import h2.connection
82
+ import h2.config
83
+
84
+ config = h2.config.H2Configuration()
85
+ conn = h2.connection.H2Connection(config=config)
86
+ conn.send_headers(stream_id=stream_id, headers=headers)
87
+ conn.send_data(stream_id, data)
88
+ socket.sendall(conn.data_to_send())
89
+ events = conn.receive_data(socket_data)
90
+
91
+ This repository does not provide a parsing layer, a network layer, or any rules
92
+ about concurrency. Instead, it's a purely in-memory solution, defined in terms
93
+ of data actions and HTTP/2 frames. This is one building block of a full Python
94
+ HTTP implementation.
95
+
96
+ To install it, just run:
97
+
98
+ .. code-block:: console
99
+
100
+ $ python -m pip install h2
101
+
102
+ Documentation
103
+ =============
104
+
105
+ Documentation is available at https://h2.readthedocs.io .
106
+
107
+ Contributing
108
+ ============
109
+
110
+ ``h2`` welcomes contributions from anyone! Unlike many other projects we
111
+ are happy to accept cosmetic contributions and small contributions, in addition
112
+ to large feature requests and changes.
113
+
114
+ Before you contribute (either by opening an issue or filing a pull request),
115
+ please `read the contribution guidelines`_.
116
+
117
+ .. _read the contribution guidelines: https://python-hyper.org/en/latest/contributing.html
118
+
119
+ License
120
+ =======
121
+
122
+ ``h2`` is made available under the MIT License. For more details, see the
123
+ ``LICENSE`` file in the repository.
124
+
125
+ Authors
126
+ =======
127
+
128
+ ``h2`` was authored by Cory Benfield and is maintained
129
+ by the members of `python-hyper <https://github.com/orgs/python-hyper/people>`_.
@@ -0,0 +1,29 @@
1
+ h2-4.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ h2-4.3.0.dist-info/METADATA,sha256=svR_ggFJFCBkLCKeX8vL1Vdsev0CMmTctZtesi3LsmU,5139
3
+ h2-4.3.0.dist-info/RECORD,,
4
+ h2-4.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ h2-4.3.0.dist-info/licenses/LICENSE,sha256=emWlrwy6vxwWJRx8ayt8tG0WpyIueZdbm2H81mouPyg,1102
6
+ h2-4.3.0.dist-info/top_level.txt,sha256=Hiulx8KxI2jFUM1dG7-CZeRkO3j50MBwCLG36Vrq-kI,3
7
+ h2/__init__.py,sha256=s4ksGPdUE4dUld9jcuPxKbKTojA5LD8bQgAfuSuXP18,109
8
+ h2/__pycache__/__init__.cpython-312.pyc,,
9
+ h2/__pycache__/config.cpython-312.pyc,,
10
+ h2/__pycache__/connection.cpython-312.pyc,,
11
+ h2/__pycache__/errors.cpython-312.pyc,,
12
+ h2/__pycache__/events.cpython-312.pyc,,
13
+ h2/__pycache__/exceptions.cpython-312.pyc,,
14
+ h2/__pycache__/frame_buffer.cpython-312.pyc,,
15
+ h2/__pycache__/settings.cpython-312.pyc,,
16
+ h2/__pycache__/stream.cpython-312.pyc,,
17
+ h2/__pycache__/utilities.cpython-312.pyc,,
18
+ h2/__pycache__/windows.cpython-312.pyc,,
19
+ h2/config.py,sha256=Z-wr5rFizcB2-WTVWCuGte8y-8ceb5B2-rlcV0L5tuU,8344
20
+ h2/connection.py,sha256=ABrBDdsXZ0JXXbxrHHdHERPYhfDOCGC2XlYmmtwPlBk,86876
21
+ h2/errors.py,sha256=S-TdYaJfP_hwlFj2uQGJGQ4S4_yWiU_9E44aPxdACbE,1581
22
+ h2/events.py,sha256=ww7BeIFy1AzTVnfK3z4roxVIijF195xe3CRZ-4DTzg4,22408
23
+ h2/exceptions.py,sha256=3Em3mLMQBHxYpOKoaPdKCGFGn8A9re9ABtUdKlY3bZM,5308
24
+ h2/frame_buffer.py,sha256=_v-RI4sI286i7oHLrLZLjUF4Cb_Jv7PEjlUkgL6XEN0,6553
25
+ h2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ h2/settings.py,sha256=jRBkghniIiUGQv162Q3mzWQTmi0F45UmmzIHjb4Mu1U,12323
27
+ h2/stream.py,sha256=uoYIFSJw7pG7hGcUn_cns_yL7BrWvq07QYIGpJ64Ll8,58752
28
+ h2/utilities.py,sha256=ANEtdL9p0rMEqkFYQshKQKL8yQb3C_JzFKa6MF5SBG4,26531
29
+ h2/windows.py,sha256=JpWNhDv-x4J5jIXSWp0INHkq9IIgPP27xr9FXYvazFE,5492
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-2020 Cory Benfield and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+ # Important Use Cases
2
+
3
+ This document summarizes important use cases for testing whether the wrapper works.
4
+
5
+ ## Normal messages
6
+
7
+ 1. User message sent from UI should be sent and submitted to terminal
8
+ 2. User message sent from terminal should be displayed in UI.
9
+ 3. Agent message from terminal should be displayed in UI.
10
+ 4. No duplicate of user or agent messages
11
+
12
+ ## Push Notifications
13
+
14
+ 5. Push notifications should be sent to user when agent completes a task, not while it is running.
15
+
16
+ ## Permission Requests
17
+
18
+ 6. Permission request response options should be properly displayed in UI.
19
+ 7. Selecting an option of permission request in UI should be sent to terminal.
20
+ 8. Selecting options like "No" of permission request response options, it should be able to send new messages from UI to terminal.
21
+
22
+ ## Control Messages
23
+
24
+ e.g. interruption, change permission mode, change model, change agent, etc.
25
+
26
+ 9. Interrupt the agent from UI while it is busy.
27
+ 10. User messages sent while agent is busy should be handled directly, control messages are processed, other messages are send to the terminal directly.
28
+ 11. Permission mode changes in terminal is reflected in UI with a response.
29
+ 12. Permission mode changes from UI should be reflected in terminal.
30
+
31
+ ## Close Terminal
32
+
33
+ 13. Closing the terminal should update the session status.
@@ -0,0 +1,2 @@
1
+ # Test fixtures should not be formatted to preserve exact output matching
2
+ test/fixtures/
@@ -0,0 +1,136 @@
1
+ # CLAUDE.md
2
+
3
+ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
+
5
+ ## Development Tools
6
+
7
+ - Runtime: Bun 1.2.11
8
+ - TypeScript with strict configuration
9
+
10
+ ## Common Development Tasks
11
+
12
+ ### Available npm/bun scripts from package.json:
13
+
14
+ ```bash
15
+ # Test
16
+ bun test
17
+
18
+ # Formatting
19
+ bun run format # Format code with prettier
20
+ bun run format:check # Check code formatting
21
+
22
+ # Type checking
23
+ bun run typecheck # Run TypeScript type checker
24
+ ```
25
+
26
+ ## Architecture Overview
27
+
28
+ This is a GitHub Action that enables Claude to interact with GitHub PRs and issues. The action operates in two main phases:
29
+
30
+ ### Phase 1: Preparation (`src/entrypoints/prepare.ts`)
31
+
32
+ 1. **Authentication Setup**: Establishes GitHub token via OIDC or GitHub App
33
+ 2. **Permission Validation**: Verifies actor has write permissions
34
+ 3. **Trigger Detection**: Uses mode-specific logic to determine if Claude should respond
35
+ 4. **Context Creation**: Prepares GitHub context and initial tracking comment
36
+
37
+ ### Phase 2: Execution (`base-action/`)
38
+
39
+ The `base-action/` directory contains the core Claude Code execution logic, which serves a dual purpose:
40
+
41
+ - **Standalone Action**: Published separately as `@anthropic-ai/claude-code-base-action` for direct use
42
+ - **Inner Logic**: Used internally by this GitHub Action after preparation phase completes
43
+
44
+ Execution steps:
45
+
46
+ 1. **MCP Server Setup**: Installs and configures GitHub MCP server for tool access
47
+ 2. **Prompt Generation**: Creates context-rich prompts from GitHub data
48
+ 3. **Claude Integration**: Executes via multiple providers (Anthropic API, AWS Bedrock, Google Vertex AI)
49
+ 4. **Result Processing**: Updates comments and creates branches/PRs as needed
50
+
51
+ ### Key Architectural Components
52
+
53
+ #### Mode System (`src/modes/`)
54
+
55
+ - **Tag Mode** (`tag/`): Responds to `@claude` mentions and issue assignments
56
+ - **Agent Mode** (`agent/`): Direct execution when explicit prompt is provided
57
+ - Extensible registry pattern in `modes/registry.ts`
58
+
59
+ #### GitHub Integration (`src/github/`)
60
+
61
+ - **Context Parsing** (`context.ts`): Unified GitHub event handling
62
+ - **Data Fetching** (`data/fetcher.ts`): Retrieves PR/issue data via GraphQL/REST
63
+ - **Data Formatting** (`data/formatter.ts`): Converts GitHub data to Claude-readable format
64
+ - **Branch Operations** (`operations/branch.ts`): Handles branch creation and cleanup
65
+ - **Comment Management** (`operations/comments/`): Creates and updates tracking comments
66
+
67
+ #### MCP Server Integration (`src/mcp/`)
68
+
69
+ - **GitHub Actions Server** (`github-actions-server.ts`): Workflow and CI access
70
+ - **GitHub Comment Server** (`github-comment-server.ts`): Comment operations
71
+ - **GitHub File Operations** (`github-file-ops-server.ts`): File system access
72
+ - Auto-installation and configuration in `install-mcp-server.ts`
73
+
74
+ #### Authentication & Security (`src/github/`)
75
+
76
+ - **Token Management** (`token.ts`): OIDC token exchange and GitHub App authentication
77
+ - **Permission Validation** (`validation/permissions.ts`): Write access verification
78
+ - **Actor Validation** (`validation/actor.ts`): Human vs bot detection
79
+
80
+ ### Project Structure
81
+
82
+ ```
83
+ src/
84
+ ├── entrypoints/ # Action entry points
85
+ │ ├── prepare.ts # Main preparation logic
86
+ │ ├── update-comment-link.ts # Post-execution comment updates
87
+ │ └── format-turns.ts # Claude conversation formatting
88
+ ├── github/ # GitHub integration layer
89
+ │ ├── api/ # REST/GraphQL clients
90
+ │ ├── data/ # Data fetching and formatting
91
+ │ ├── operations/ # Branch, comment, git operations
92
+ │ ├── validation/ # Permission and trigger validation
93
+ │ └── utils/ # Image downloading, sanitization
94
+ ├── modes/ # Execution modes
95
+ │ ├── tag/ # @claude mention mode
96
+ │ ├── agent/ # Automation mode
97
+ │ └── registry.ts # Mode selection logic
98
+ ├── mcp/ # MCP server implementations
99
+ ├── prepare/ # Preparation orchestration
100
+ └── utils/ # Shared utilities
101
+ ```
102
+
103
+ ## Important Implementation Notes
104
+
105
+ ### Authentication Flow
106
+
107
+ - Uses GitHub OIDC token exchange for secure authentication
108
+ - Supports custom GitHub Apps via `APP_ID` and `APP_PRIVATE_KEY`
109
+ - Falls back to official Claude GitHub App if no custom app provided
110
+
111
+ ### MCP Server Architecture
112
+
113
+ - Each MCP server has specific GitHub API access patterns
114
+ - Servers are auto-installed in `~/.claude/mcp/github-{type}-server/`
115
+ - Configuration merged with user-provided MCP config via `mcp_config` input
116
+
117
+ ### Mode System Design
118
+
119
+ - Modes implement `Mode` interface with `shouldTrigger()` and `prepare()` methods
120
+ - Registry validates mode compatibility with GitHub event types
121
+ - Agent mode triggers when explicit prompt is provided
122
+
123
+ ### Comment Threading
124
+
125
+ - Single tracking comment updated throughout execution
126
+ - Progress indicated via dynamic checkboxes
127
+ - Links to job runs and created branches/PRs
128
+ - Sticky comment option for consolidated PR comments
129
+
130
+ ## Code Conventions
131
+
132
+ - Use Bun-specific TypeScript configuration with `moduleResolution: "bundler"`
133
+ - Strict TypeScript with `noUnusedLocals` and `noUnusedParameters` enabled
134
+ - Prefer explicit error handling with detailed error messages
135
+ - Use discriminated unions for GitHub context types
136
+ - Implement retry logic for GitHub API operations via `utils/retry.ts`