@vicoa/cli 1.4.2-win32-x64 → 1.4.2
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.
- package/README.md +82 -0
- package/bin/vicoa.js +38 -0
- package/package.json +29 -10
- package/bin/_internal/81d243bd2c585b0f4821__mypyc.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/VCRUNTIME140.dll +0 -0
- package/bin/_internal/VCRUNTIME140_1.dll +0 -0
- package/bin/_internal/_asyncio.pyd +0 -0
- package/bin/_internal/_bz2.pyd +0 -0
- package/bin/_internal/_cffi_backend.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/_ctypes.pyd +0 -0
- package/bin/_internal/_decimal.pyd +0 -0
- package/bin/_internal/_hashlib.pyd +0 -0
- package/bin/_internal/_lzma.pyd +0 -0
- package/bin/_internal/_multiprocessing.pyd +0 -0
- package/bin/_internal/_overlapped.pyd +0 -0
- package/bin/_internal/_queue.pyd +0 -0
- package/bin/_internal/_socket.pyd +0 -0
- package/bin/_internal/_ssl.pyd +0 -0
- package/bin/_internal/_uuid.pyd +0 -0
- package/bin/_internal/_wmi.pyd +0 -0
- package/bin/_internal/_zoneinfo.pyd +0 -0
- package/bin/_internal/aiofile-3.11.1.dist-info/INSTALLER +0 -1
- package/bin/_internal/aiofile-3.11.1.dist-info/METADATA +0 -511
- package/bin/_internal/aiofile-3.11.1.dist-info/RECORD +0 -15
- package/bin/_internal/aiofile-3.11.1.dist-info/WHEEL +0 -4
- package/bin/_internal/aiofile-3.11.1.dist-info/licenses/LICENCE +0 -195
- package/bin/_internal/aiofile-3.11.1.dist-info/licenses/LICENCE.md +0 -195
- package/bin/_internal/aiohttp/_http_parser.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/aiohttp/_http_writer.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/aiohttp/_websocket/mask.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/aiohttp/_websocket/reader_c.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/api-ms-win-core-console-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-datetime-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-debug-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-fibers-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-fibers-l1-1-1.dll +0 -0
- package/bin/_internal/api-ms-win-core-file-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-file-l1-2-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-file-l2-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-handle-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-heap-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-kernel32-legacy-l1-1-1.dll +0 -0
- package/bin/_internal/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-localization-l1-2-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-memory-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
- package/bin/_internal/api-ms-win-core-profile-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-string-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-synch-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-synch-l1-2-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-sysinfo-l1-2-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-timezone-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-core-util-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-conio-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-convert-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-environment-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-heap-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-locale-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-math-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-process-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-string-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-time-l1-1-0.dll +0 -0
- package/bin/_internal/api-ms-win-crt-utility-l1-1-0.dll +0 -0
- package/bin/_internal/attrs-26.1.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/attrs-26.1.0.dist-info/METADATA +0 -199
- package/bin/_internal/attrs-26.1.0.dist-info/RECORD +0 -55
- package/bin/_internal/attrs-26.1.0.dist-info/WHEEL +0 -4
- package/bin/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +0 -21
- package/bin/_internal/base_library.zip +0 -0
- package/bin/_internal/certifi/cacert.pem +0 -3933
- package/bin/_internal/certifi/py.typed +0 -0
- package/bin/_internal/charset_normalizer/cd.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/charset_normalizer/md.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/click-8.3.3.dist-info/INSTALLER +0 -1
- package/bin/_internal/click-8.3.3.dist-info/METADATA +0 -84
- package/bin/_internal/click-8.3.3.dist-info/RECORD +0 -40
- package/bin/_internal/click-8.3.3.dist-info/WHEEL +0 -4
- package/bin/_internal/click-8.3.3.dist-info/licenses/LICENSE.txt +0 -28
- package/bin/_internal/cryptography/hazmat/bindings/_rust.pyd +0 -0
- package/bin/_internal/cryptography-48.0.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/cryptography-48.0.0.dist-info/METADATA +0 -110
- package/bin/_internal/cryptography-48.0.0.dist-info/RECORD +0 -195
- package/bin/_internal/cryptography-48.0.0.dist-info/WHEEL +0 -4
- package/bin/_internal/cryptography-48.0.0.dist-info/licenses/LICENSE +0 -3
- package/bin/_internal/cryptography-48.0.0.dist-info/licenses/LICENSE.APACHE +0 -202
- package/bin/_internal/cryptography-48.0.0.dist-info/licenses/LICENSE.BSD +0 -27
- package/bin/_internal/cryptography-48.0.0.dist-info/sboms/cryptography-rust.cyclonedx.json +0 -1362
- package/bin/_internal/cryptography-48.0.0.dist-info/sboms/sbom.json +0 -43
- package/bin/_internal/email_validator-2.3.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/email_validator-2.3.0.dist-info/METADATA +0 -466
- package/bin/_internal/email_validator-2.3.0.dist-info/RECORD +0 -27
- package/bin/_internal/email_validator-2.3.0.dist-info/WHEEL +0 -5
- package/bin/_internal/email_validator-2.3.0.dist-info/entry_points.txt +0 -2
- package/bin/_internal/email_validator-2.3.0.dist-info/licenses/LICENSE +0 -27
- package/bin/_internal/email_validator-2.3.0.dist-info/top_level.txt +0 -1
- package/bin/_internal/fastmcp-3.3.1.dist-info/INSTALLER +0 -1
- package/bin/_internal/fastmcp-3.3.1.dist-info/METADATA +0 -157
- package/bin/_internal/fastmcp-3.3.1.dist-info/RECORD +0 -5
- package/bin/_internal/fastmcp-3.3.1.dist-info/WHEEL +0 -4
- package/bin/_internal/fastmcp-3.3.1.dist-info/licenses/LICENSE +0 -201
- package/bin/_internal/frozenlist/_frozenlist.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/integrations/cli_wrappers/IMPORTANT_USE_CASES.md +0 -33
- package/bin/_internal/integrations/github/claude-code-action/CLAUDE.md +0 -136
- package/bin/_internal/integrations/github/claude-code-action/CODE_OF_CONDUCT.md +0 -128
- package/bin/_internal/integrations/github/claude-code-action/CONTRIBUTING.md +0 -116
- package/bin/_internal/integrations/github/claude-code-action/LICENSE +0 -21
- package/bin/_internal/integrations/github/claude-code-action/README.md +0 -53
- package/bin/_internal/integrations/github/claude-code-action/ROADMAP.md +0 -20
- package/bin/_internal/integrations/github/claude-code-action/SECURITY.md +0 -15
- package/bin/_internal/integrations/github/claude-code-action/action.yml +0 -294
- package/bin/_internal/integrations/github/claude-code-action/base-action/CLAUDE.md +0 -60
- package/bin/_internal/integrations/github/claude-code-action/base-action/CODE_OF_CONDUCT.md +0 -128
- package/bin/_internal/integrations/github/claude-code-action/base-action/CONTRIBUTING.md +0 -136
- package/bin/_internal/integrations/github/claude-code-action/base-action/LICENSE +0 -21
- package/bin/_internal/integrations/github/claude-code-action/base-action/MIRROR_DISCLAIMER.md +0 -11
- package/bin/_internal/integrations/github/claude-code-action/base-action/README.md +0 -521
- package/bin/_internal/integrations/github/claude-code-action/base-action/action.yml +0 -149
- package/bin/_internal/integrations/github/claude-code-action/base-action/bun.lock +0 -54
- package/bin/_internal/integrations/github/claude-code-action/base-action/examples/issue-triage.yml +0 -108
- package/bin/_internal/integrations/github/claude-code-action/base-action/package.json +0 -23
- package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/install-hooks.sh +0 -13
- package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/pre-push +0 -46
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/index.ts +0 -82
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/prepare-prompt.ts +0 -82
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-claude.ts +0 -257
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-vicoa.ts +0 -301
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/setup-claude-code-settings.ts +0 -68
- package/bin/_internal/integrations/github/claude-code-action/base-action/src/validate-env.ts +0 -54
- package/bin/_internal/integrations/github/claude-code-action/base-action/test-local.sh +0 -12
- package/bin/_internal/integrations/github/claude-code-action/base-action/test-mcp-local.sh +0 -18
- package/bin/_internal/integrations/github/claude-code-action/base-action/tsconfig.json +0 -30
- package/bin/_internal/integrations/github/claude-code-action/bun.lock +0 -384
- package/bin/_internal/integrations/github/claude-code-action/docs/capabilities-and-limitations.md +0 -33
- package/bin/_internal/integrations/github/claude-code-action/docs/cloud-providers.md +0 -99
- package/bin/_internal/integrations/github/claude-code-action/docs/configuration.md +0 -345
- package/bin/_internal/integrations/github/claude-code-action/docs/custom-automations.md +0 -113
- package/bin/_internal/integrations/github/claude-code-action/docs/experimental.md +0 -128
- package/bin/_internal/integrations/github/claude-code-action/docs/faq.md +0 -205
- package/bin/_internal/integrations/github/claude-code-action/docs/migration-guide.md +0 -261
- package/bin/_internal/integrations/github/claude-code-action/docs/security.md +0 -38
- package/bin/_internal/integrations/github/claude-code-action/docs/setup.md +0 -146
- package/bin/_internal/integrations/github/claude-code-action/docs/usage.md +0 -213
- package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/auto-fix-ci.yml +0 -97
- package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/commands/fix-ci.md +0 -127
- package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/auto-fix-ci-signed.yml +0 -97
- package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/commands/fix-ci-signed.md +0 -148
- package/bin/_internal/integrations/github/claude-code-action/examples/issue-deduplication.yml +0 -63
- package/bin/_internal/integrations/github/claude-code-action/examples/issue-triage.yml +0 -75
- package/bin/_internal/integrations/github/claude-code-action/examples/vicoa.yml +0 -75
- package/bin/_internal/integrations/github/claude-code-action/package.json +0 -31
- package/bin/_internal/integrations/github/claude-code-action/scripts/install-hooks.sh +0 -13
- package/bin/_internal/integrations/github/claude-code-action/scripts/pre-commit +0 -46
- package/bin/_internal/integrations/github/claude-code-action/scripts/setup-network-restrictions.sh +0 -123
- package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/index.ts +0 -799
- package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/types.ts +0 -102
- package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/collect-inputs.ts +0 -58
- package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/format-turns.ts +0 -465
- package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/prepare.ts +0 -98
- package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/update-comment-link.ts +0 -245
- package/bin/_internal/integrations/github/claude-code-action/src/github/api/client.ts +0 -23
- package/bin/_internal/integrations/github/claude-code-action/src/github/api/config.ts +0 -4
- package/bin/_internal/integrations/github/claude-code-action/src/github/api/queries/github.ts +0 -117
- package/bin/_internal/integrations/github/claude-code-action/src/github/context.ts +0 -277
- package/bin/_internal/integrations/github/claude-code-action/src/github/data/fetcher.ts +0 -233
- package/bin/_internal/integrations/github/claude-code-action/src/github/data/formatter.ts +0 -144
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch-cleanup.ts +0 -132
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch.ts +0 -163
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comment-logic.ts +0 -203
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/common.ts +0 -33
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/create-initial.ts +0 -111
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-claude-comment.ts +0 -70
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-with-branch.ts +0 -57
- package/bin/_internal/integrations/github/claude-code-action/src/github/operations/git-config.ts +0 -62
- package/bin/_internal/integrations/github/claude-code-action/src/github/token.ts +0 -108
- package/bin/_internal/integrations/github/claude-code-action/src/github/types.ts +0 -98
- package/bin/_internal/integrations/github/claude-code-action/src/github/utils/image-downloader.ts +0 -246
- package/bin/_internal/integrations/github/claude-code-action/src/github/utils/sanitizer.ts +0 -100
- package/bin/_internal/integrations/github/claude-code-action/src/github/validation/actor.ts +0 -64
- package/bin/_internal/integrations/github/claude-code-action/src/github/validation/permissions.ts +0 -47
- package/bin/_internal/integrations/github/claude-code-action/src/github/validation/trigger.ts +0 -148
- package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-actions-server.ts +0 -279
- package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-comment-server.ts +0 -101
- package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-file-ops-server.ts +0 -677
- package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-inline-comment-server.ts +0 -184
- package/bin/_internal/integrations/github/claude-code-action/src/mcp/install-mcp-server.ts +0 -201
- package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/index.ts +0 -152
- package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/parse-tools.ts +0 -22
- package/bin/_internal/integrations/github/claude-code-action/src/modes/detector.ts +0 -66
- package/bin/_internal/integrations/github/claude-code-action/src/modes/registry.ts +0 -54
- package/bin/_internal/integrations/github/claude-code-action/src/modes/tag/index.ts +0 -187
- package/bin/_internal/integrations/github/claude-code-action/src/modes/types.ts +0 -100
- package/bin/_internal/integrations/github/claude-code-action/src/prepare/index.ts +0 -20
- package/bin/_internal/integrations/github/claude-code-action/src/prepare/types.ts +0 -20
- package/bin/_internal/integrations/github/claude-code-action/src/utils/retry.ts +0 -40
- package/bin/_internal/integrations/github/claude-code-action/tsconfig.json +0 -30
- package/bin/_internal/integrations/headless/tests/README.md +0 -58
- package/bin/_internal/integrations/n8n/LICENSE +0 -21
- package/bin/_internal/integrations/n8n/README.md +0 -298
- package/bin/_internal/integrations/n8n/package-lock.json +0 -2989
- package/bin/_internal/integrations/n8n/package.json +0 -68
- package/bin/_internal/integrations/n8n/src/credentials/OmnaraApi.credentials.ts +0 -52
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.json +0 -35
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.ts +0 -304
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/index.ts +0 -37
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/send.operation.ts +0 -151
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/sendAndWait.operation.ts +0 -252
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/end.operation.ts +0 -56
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/index.ts +0 -29
- package/bin/_internal/integrations/n8n/src/nodes/Omnara/vicoa.png +0 -0
- package/bin/_internal/integrations/n8n/src/utils/GenericFunctions.ts +0 -93
- package/bin/_internal/integrations/n8n/src/utils/sendAndWait/configureWaitTillDate.ts +0 -42
- package/bin/_internal/integrations/n8n/src/utils/sendAndWait/descriptions.ts +0 -20
- package/bin/_internal/integrations/n8n/src/utils/sendAndWaitWebhook.ts +0 -72
- package/bin/_internal/integrations/n8n/tsconfig.json +0 -20
- package/bin/_internal/jiter/jiter.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/jsonschema/benchmarks/issue232/issue.json +0 -2653
- package/bin/_internal/jsonschema-4.26.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/jsonschema-4.26.0.dist-info/METADATA +0 -170
- package/bin/_internal/jsonschema-4.26.0.dist-info/RECORD +0 -82
- package/bin/_internal/jsonschema-4.26.0.dist-info/WHEEL +0 -4
- package/bin/_internal/jsonschema-4.26.0.dist-info/entry_points.txt +0 -2
- package/bin/_internal/jsonschema-4.26.0.dist-info/licenses/COPYING +0 -19
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json +0 -42
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +0 -56
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/content +0 -17
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/core +0 -57
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/format +0 -14
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +0 -37
- package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/validation +0 -98
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/metaschema.json +0 -58
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +0 -48
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/content +0 -17
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/core +0 -51
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +0 -14
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +0 -14
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +0 -37
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +0 -15
- package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/validation +0 -98
- package/bin/_internal/jsonschema_specifications/schemas/draft3/metaschema.json +0 -172
- package/bin/_internal/jsonschema_specifications/schemas/draft4/metaschema.json +0 -149
- package/bin/_internal/jsonschema_specifications/schemas/draft6/metaschema.json +0 -153
- package/bin/_internal/jsonschema_specifications/schemas/draft7/metaschema.json +0 -166
- package/bin/_internal/libcrypto-3.dll +0 -0
- package/bin/_internal/libffi-8.dll +0 -0
- package/bin/_internal/libssl-3.dll +0 -0
- package/bin/_internal/mcp-1.27.1.dist-info/INSTALLER +0 -1
- package/bin/_internal/mcp-1.27.1.dist-info/METADATA +0 -230
- package/bin/_internal/mcp-1.27.1.dist-info/RECORD +0 -226
- package/bin/_internal/mcp-1.27.1.dist-info/WHEEL +0 -4
- package/bin/_internal/mcp-1.27.1.dist-info/entry_points.txt +0 -2
- package/bin/_internal/mcp-1.27.1.dist-info/licenses/LICENSE +0 -21
- package/bin/_internal/multidict/_multidict.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/METADATA +0 -43
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/RECORD +0 -81
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/WHEEL +0 -4
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/entry_points.txt +0 -15
- package/bin/_internal/opentelemetry_api-1.42.0.dist-info/licenses/LICENSE +0 -201
- package/bin/_internal/propcache/_helpers_c.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/pydantic-2.13.4.dist-info/INSTALLER +0 -1
- package/bin/_internal/pydantic-2.13.4.dist-info/METADATA +0 -1294
- package/bin/_internal/pydantic-2.13.4.dist-info/RECORD +0 -217
- package/bin/_internal/pydantic-2.13.4.dist-info/WHEEL +0 -4
- package/bin/_internal/pydantic-2.13.4.dist-info/licenses/LICENSE +0 -21
- package/bin/_internal/pydantic_core/_pydantic_core.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/pyexpat.pyd +0 -0
- package/bin/_internal/python3.dll +0 -0
- package/bin/_internal/python312.dll +0 -0
- package/bin/_internal/pywin32_system32/pythoncom312.dll +0 -0
- package/bin/_internal/pywin32_system32/pywintypes312.dll +0 -0
- package/bin/_internal/rpds/rpds.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/select.pyd +0 -0
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/INSTALLER +0 -1
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/METADATA +0 -133
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/RECORD +0 -21
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/REQUESTED +0 -0
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/WHEEL +0 -5
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +0 -73
- package/bin/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/top_level.txt +0 -1
- package/bin/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +0 -2
- package/bin/_internal/ucrtbase.dll +0 -0
- package/bin/_internal/unicodedata.pyd +0 -0
- package/bin/_internal/vicoa/_bin/README.md +0 -28
- package/bin/_internal/vicoa-1.4.2.dist-info/INSTALLER +0 -1
- package/bin/_internal/vicoa-1.4.2.dist-info/METADATA +0 -312
- package/bin/_internal/vicoa-1.4.2.dist-info/RECORD +0 -11
- package/bin/_internal/vicoa-1.4.2.dist-info/REQUESTED +0 -0
- package/bin/_internal/vicoa-1.4.2.dist-info/WHEEL +0 -5
- package/bin/_internal/vicoa-1.4.2.dist-info/direct_url.json +0 -1
- package/bin/_internal/vicoa-1.4.2.dist-info/entry_points.txt +0 -2
- package/bin/_internal/vicoa-1.4.2.dist-info/licenses/LICENSE +0 -201
- package/bin/_internal/vicoa-1.4.2.dist-info/top_level.txt +0 -3
- package/bin/_internal/watchfiles/_rust_notify.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/websockets/speedups.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/websockets-16.0.dist-info/INSTALLER +0 -1
- package/bin/_internal/websockets-16.0.dist-info/METADATA +0 -179
- package/bin/_internal/websockets-16.0.dist-info/RECORD +0 -108
- package/bin/_internal/websockets-16.0.dist-info/WHEEL +0 -5
- package/bin/_internal/websockets-16.0.dist-info/entry_points.txt +0 -2
- package/bin/_internal/websockets-16.0.dist-info/licenses/LICENSE +0 -24
- package/bin/_internal/websockets-16.0.dist-info/top_level.txt +0 -1
- package/bin/_internal/win32/_win32sysloader.pyd +0 -0
- package/bin/_internal/win32/win32api.pyd +0 -0
- package/bin/_internal/win32/win32evtlog.pyd +0 -0
- package/bin/_internal/win32/win32job.pyd +0 -0
- package/bin/_internal/yaml/_yaml.cp312-win_amd64.pyd +0 -0
- package/bin/_internal/yarl/_quoting_c.cp312-win_amd64.pyd +0 -0
- package/bin/vicoa.exe +0 -0
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
# Frequently Asked Questions (FAQ)
|
|
2
|
-
|
|
3
|
-
This FAQ addresses common questions and gotchas when using the Claude Code GitHub Action.
|
|
4
|
-
|
|
5
|
-
## Triggering and Authentication
|
|
6
|
-
|
|
7
|
-
### Why doesn't tagging @claude from my automated workflow work?
|
|
8
|
-
|
|
9
|
-
The `github-actions` user cannot trigger subsequent GitHub Actions workflows. This is a GitHub security feature to prevent infinite loops. To make this work, you need to use a Personal Access Token (PAT) instead, which will act as a regular user, or use a separate app token of your own. When posting a comment on an issue or PR from your workflow, use your PAT instead of the `GITHUB_TOKEN` generated in your workflow.
|
|
10
|
-
|
|
11
|
-
### Why does Claude say I don't have permission to trigger it?
|
|
12
|
-
|
|
13
|
-
Only users with **write permissions** to the repository can trigger Claude. This is a security feature to prevent unauthorized use. Make sure the user commenting has at least write access to the repository.
|
|
14
|
-
|
|
15
|
-
### Why can't I assign @claude to an issue on my repository?
|
|
16
|
-
|
|
17
|
-
If you're in a public repository, you should be able to assign to Claude without issue. If it's a private organization repository, you can only assign to users in your own organization, which Claude isn't. In this case, you'll need to make a custom user in that case.
|
|
18
|
-
|
|
19
|
-
### Why am I getting OIDC authentication errors?
|
|
20
|
-
|
|
21
|
-
If you're using the default GitHub App authentication, you must add the `id-token: write` permission to your workflow:
|
|
22
|
-
|
|
23
|
-
```yaml
|
|
24
|
-
permissions:
|
|
25
|
-
contents: read
|
|
26
|
-
id-token: write # Required for OIDC authentication
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
The OIDC token is required in order for the Claude GitHub app to function. If you wish to not use the GitHub app, you can instead provide a `github_token` input to the action for Claude to operate with. See the [Claude Code permissions documentation][perms] for more.
|
|
30
|
-
|
|
31
|
-
## Claude's Capabilities and Limitations
|
|
32
|
-
|
|
33
|
-
### Why won't Claude update workflow files when I ask it to?
|
|
34
|
-
|
|
35
|
-
The GitHub App for Claude doesn't have workflow write access for security reasons. This prevents Claude from modifying CI/CD configurations that could potentially create unintended consequences. This is something we may reconsider in the future.
|
|
36
|
-
|
|
37
|
-
### Why won't Claude rebase my branch?
|
|
38
|
-
|
|
39
|
-
By default, Claude only uses commit tools for non-destructive changes to the branch. Claude is configured to:
|
|
40
|
-
|
|
41
|
-
- Never push to branches other than where it was invoked (either its own branch or the PR branch)
|
|
42
|
-
- Never force push or perform destructive operations
|
|
43
|
-
|
|
44
|
-
You can grant additional tools via the `claude_args` input if needed:
|
|
45
|
-
|
|
46
|
-
```yaml
|
|
47
|
-
claude_args: |
|
|
48
|
-
--allowedTools "Bash(git rebase:*)" # Use with caution
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Why won't Claude create a pull request?
|
|
52
|
-
|
|
53
|
-
Claude doesn't create PRs by default. Instead, it pushes commits to a branch and provides a link to a pre-filled PR submission page. This approach ensures your repository's branch protection rules are still adhered to and gives you final control over PR creation.
|
|
54
|
-
|
|
55
|
-
### Can Claude see my GitHub Actions CI results?
|
|
56
|
-
|
|
57
|
-
Yes! Claude can access GitHub Actions workflow runs, job logs, and test results on the PR where it's tagged. To enable this:
|
|
58
|
-
|
|
59
|
-
1. Add `actions: read` permission to your workflow:
|
|
60
|
-
|
|
61
|
-
```yaml
|
|
62
|
-
permissions:
|
|
63
|
-
contents: write
|
|
64
|
-
pull-requests: write
|
|
65
|
-
issues: write
|
|
66
|
-
actions: read
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
2. Configure the action with additional permissions:
|
|
70
|
-
```yaml
|
|
71
|
-
- uses: anthropics/claude-code-action@v1
|
|
72
|
-
with:
|
|
73
|
-
additional_permissions: |
|
|
74
|
-
actions: read
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Claude will then be able to analyze CI failures and help debug workflow issues. For running tests locally before commits, you can still instruct Claude to do so in your request.
|
|
78
|
-
|
|
79
|
-
### Why does Claude only update one comment instead of creating new ones?
|
|
80
|
-
|
|
81
|
-
Claude is configured to update a single comment to avoid cluttering PR/issue discussions. All of Claude's responses, including progress updates and final results, will appear in the same comment with checkboxes showing task progress.
|
|
82
|
-
|
|
83
|
-
## Branch and Commit Behavior
|
|
84
|
-
|
|
85
|
-
### Why did Claude create a new branch when commenting on a closed PR?
|
|
86
|
-
|
|
87
|
-
Claude's branch behavior depends on the context:
|
|
88
|
-
|
|
89
|
-
- **Open PRs**: Pushes directly to the existing PR branch
|
|
90
|
-
- **Closed/Merged PRs**: Creates a new branch (cannot push to closed PR branches)
|
|
91
|
-
- **Issues**: Always creates a new branch with a timestamp
|
|
92
|
-
|
|
93
|
-
### Why are my commits shallow/missing history?
|
|
94
|
-
|
|
95
|
-
For performance, Claude uses shallow clones:
|
|
96
|
-
|
|
97
|
-
- PRs: `--depth=20` (last 20 commits)
|
|
98
|
-
- New branches: `--depth=1` (single commit)
|
|
99
|
-
|
|
100
|
-
If you need full history, you can configure this in your workflow before calling Claude in the `actions/checkout` step.
|
|
101
|
-
|
|
102
|
-
```
|
|
103
|
-
- uses: actions/checkout@v4
|
|
104
|
-
depth: 0 # will fetch full repo history
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## Configuration and Tools
|
|
108
|
-
|
|
109
|
-
### How does automatic mode detection work?
|
|
110
|
-
|
|
111
|
-
The action intelligently detects whether to run in interactive mode or automation mode:
|
|
112
|
-
|
|
113
|
-
- **With `prompt` input**: Runs in automation mode - executes immediately without waiting for @claude mentions
|
|
114
|
-
- **Without `prompt` input**: Runs in interactive mode - waits for @claude mentions in comments
|
|
115
|
-
|
|
116
|
-
This automatic detection eliminates the need to manually configure modes.
|
|
117
|
-
|
|
118
|
-
Example:
|
|
119
|
-
|
|
120
|
-
```yaml
|
|
121
|
-
# Automation mode - runs automatically
|
|
122
|
-
prompt: "Review this PR for security vulnerabilities"
|
|
123
|
-
# Interactive mode - waits for @claude mention
|
|
124
|
-
# (no prompt provided)
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### What happened to `direct_prompt` and `custom_instructions`?
|
|
128
|
-
|
|
129
|
-
**These inputs are deprecated in v1.0:**
|
|
130
|
-
|
|
131
|
-
- **`direct_prompt`** → Use `prompt` instead
|
|
132
|
-
- **`custom_instructions`** → Use `claude_args` with `--system-prompt`
|
|
133
|
-
|
|
134
|
-
Migration examples:
|
|
135
|
-
|
|
136
|
-
```yaml
|
|
137
|
-
# Old (v0.x)
|
|
138
|
-
direct_prompt: "Review this PR"
|
|
139
|
-
custom_instructions: "Focus on security"
|
|
140
|
-
|
|
141
|
-
# New (v1.0)
|
|
142
|
-
prompt: "Review this PR"
|
|
143
|
-
claude_args: |
|
|
144
|
-
--system-prompt "Focus on security"
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
### Why doesn't Claude execute my bash commands?
|
|
148
|
-
|
|
149
|
-
The Bash tool is **disabled by default** for security. To enable individual bash commands using `claude_args`:
|
|
150
|
-
|
|
151
|
-
```yaml
|
|
152
|
-
claude_args: |
|
|
153
|
-
--allowedTools "Bash(npm:*),Bash(git:*)" # Allows only npm and git commands
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### Can Claude work across multiple repositories?
|
|
157
|
-
|
|
158
|
-
No, Claude's GitHub app token is sandboxed to the current repository only. It cannot push to any other repositories. It can, however, read public repositories, but to get access to this, you must configure it with tools to do so.
|
|
159
|
-
|
|
160
|
-
### Why aren't comments posted as claude[bot]?
|
|
161
|
-
|
|
162
|
-
Comments appear as claude[bot] when the action uses its built-in authentication. However, if you provide a `github_token` in your workflow, the action will use that token's authentication instead, causing comments to appear under a different username.
|
|
163
|
-
|
|
164
|
-
**Solution**: Remove `github_token` from your workflow file unless you're using a custom GitHub App.
|
|
165
|
-
|
|
166
|
-
**Note**: The `use_sticky_comment` feature only works with claude[bot] authentication. If you're using a custom `github_token`, sticky comments won't update properly since they expect the claude[bot] username.
|
|
167
|
-
|
|
168
|
-
## MCP Servers and Extended Functionality
|
|
169
|
-
|
|
170
|
-
### What MCP servers are available by default?
|
|
171
|
-
|
|
172
|
-
Claude Code Action automatically configures two MCP servers:
|
|
173
|
-
|
|
174
|
-
1. **GitHub MCP server**: For GitHub API operations
|
|
175
|
-
2. **File operations server**: For advanced file manipulation
|
|
176
|
-
|
|
177
|
-
However, tools from these servers still need to be explicitly allowed via `claude_args` with `--allowedTools`.
|
|
178
|
-
|
|
179
|
-
## Troubleshooting
|
|
180
|
-
|
|
181
|
-
### How can I debug what Claude is doing?
|
|
182
|
-
|
|
183
|
-
Check the GitHub Action log for Claude's run for the full execution trace.
|
|
184
|
-
|
|
185
|
-
### Why can't I trigger Claude with `@claude-mention` or `claude!`?
|
|
186
|
-
|
|
187
|
-
The trigger uses word boundaries, so `@claude` must be a complete word. Variations like `@claude-bot`, `@claude!`, or `claude@mention` won't work unless you customize the `trigger_phrase`.
|
|
188
|
-
|
|
189
|
-
## Best Practices
|
|
190
|
-
|
|
191
|
-
1. **Always specify permissions explicitly** in your workflow file
|
|
192
|
-
2. **Use GitHub Secrets** for API keys - never hardcode them
|
|
193
|
-
3. **Be specific with tool permissions** - only enable what's necessary via `claude_args`
|
|
194
|
-
4. **Test in a separate branch** before using on important PRs
|
|
195
|
-
5. **Monitor Claude's token usage** to avoid hitting API limits
|
|
196
|
-
6. **Review Claude's changes** carefully before merging
|
|
197
|
-
|
|
198
|
-
## Getting Help
|
|
199
|
-
|
|
200
|
-
If you encounter issues not covered here:
|
|
201
|
-
|
|
202
|
-
1. Check the [GitHub Issues](https://github.com/anthropics/claude-code-action/issues)
|
|
203
|
-
2. Review the [example workflows](https://github.com/anthropics/claude-code-action#examples)
|
|
204
|
-
|
|
205
|
-
[perms]: https://docs.anthropic.com/en/docs/claude-code/settings#permissions
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
# Migration Guide: v0.x to v1.0
|
|
2
|
-
|
|
3
|
-
This guide helps you migrate from Claude Code Action v0.x to v1.0. The new version introduces intelligent mode detection and simplified configuration while maintaining backward compatibility for most use cases.
|
|
4
|
-
|
|
5
|
-
## Overview of Changes
|
|
6
|
-
|
|
7
|
-
### 🎯 Key Improvements in v1.0
|
|
8
|
-
|
|
9
|
-
1. **Automatic Mode Detection** - No more manual `mode` configuration
|
|
10
|
-
2. **Simplified Configuration** - Unified `prompt` and `claude_args` inputs
|
|
11
|
-
3. **Better SDK Alignment** - Closer integration with Claude Code CLI
|
|
12
|
-
|
|
13
|
-
### ⚠️ Breaking Changes
|
|
14
|
-
|
|
15
|
-
The following inputs have been deprecated and replaced:
|
|
16
|
-
|
|
17
|
-
| Deprecated Input | Replacement | Notes |
|
|
18
|
-
| --------------------- | -------------------------------- | --------------------------------------------- |
|
|
19
|
-
| `mode` | Auto-detected | Action automatically chooses based on context |
|
|
20
|
-
| `direct_prompt` | `prompt` | Direct drop-in replacement |
|
|
21
|
-
| `override_prompt` | `prompt` | Use GitHub context variables instead |
|
|
22
|
-
| `custom_instructions` | `claude_args: --system-prompt` | Move to CLI arguments |
|
|
23
|
-
| `max_turns` | `claude_args: --max-turns` | Use CLI format |
|
|
24
|
-
| `model` | `claude_args: --model` | Specify via CLI |
|
|
25
|
-
| `allowed_tools` | `claude_args: --allowedTools` | Use CLI format |
|
|
26
|
-
| `disallowed_tools` | `claude_args: --disallowedTools` | Use CLI format |
|
|
27
|
-
| `claude_env` | `settings` with env object | Use settings JSON |
|
|
28
|
-
| `mcp_config` | `claude_args: --mcp-config` | Pass MCP config via CLI arguments |
|
|
29
|
-
|
|
30
|
-
## Migration Examples
|
|
31
|
-
|
|
32
|
-
### Basic Interactive Workflow (@claude mentions)
|
|
33
|
-
|
|
34
|
-
**Before (v0.x):**
|
|
35
|
-
|
|
36
|
-
```yaml
|
|
37
|
-
- uses: anthropics/claude-code-action@beta
|
|
38
|
-
with:
|
|
39
|
-
mode: "tag"
|
|
40
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
41
|
-
custom_instructions: "Follow our coding standards"
|
|
42
|
-
max_turns: "10"
|
|
43
|
-
allowed_tools: "Edit,Read,Write"
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
**After (v1.0):**
|
|
47
|
-
|
|
48
|
-
```yaml
|
|
49
|
-
- uses: anthropics/claude-code-action@v1
|
|
50
|
-
with:
|
|
51
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
52
|
-
claude_args: |
|
|
53
|
-
--max-turns 10
|
|
54
|
-
--system-prompt "Follow our coding standards"
|
|
55
|
-
--allowedTools Edit,Read,Write
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Automation Workflow
|
|
59
|
-
|
|
60
|
-
**Before (v0.x):**
|
|
61
|
-
|
|
62
|
-
```yaml
|
|
63
|
-
- uses: anthropics/claude-code-action@beta
|
|
64
|
-
with:
|
|
65
|
-
mode: "agent"
|
|
66
|
-
direct_prompt: "Review this PR for security issues"
|
|
67
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
68
|
-
model: "claude-3-5-sonnet-20241022"
|
|
69
|
-
allowed_tools: "Edit,Read,Write"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
**After (v1.0):**
|
|
73
|
-
|
|
74
|
-
```yaml
|
|
75
|
-
- uses: anthropics/claude-code-action@v1
|
|
76
|
-
with:
|
|
77
|
-
prompt: "Review this PR for security issues"
|
|
78
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
79
|
-
claude_args: |
|
|
80
|
-
--model claude-4-0-sonnet-20250805
|
|
81
|
-
--allowedTools Edit,Read,Write
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Custom Template with Variables
|
|
85
|
-
|
|
86
|
-
**Before (v0.x):**
|
|
87
|
-
|
|
88
|
-
```yaml
|
|
89
|
-
- uses: anthropics/claude-code-action@beta
|
|
90
|
-
with:
|
|
91
|
-
override_prompt: |
|
|
92
|
-
Analyze PR #$PR_NUMBER in $REPOSITORY
|
|
93
|
-
Changed files: $CHANGED_FILES
|
|
94
|
-
Focus on security vulnerabilities
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**After (v1.0):**
|
|
98
|
-
|
|
99
|
-
```yaml
|
|
100
|
-
- uses: anthropics/claude-code-action@v1
|
|
101
|
-
with:
|
|
102
|
-
prompt: |
|
|
103
|
-
Analyze PR #${{ github.event.pull_request.number }} in ${{ github.repository }}
|
|
104
|
-
Focus on security vulnerabilities in the changed files
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Environment Variables
|
|
108
|
-
|
|
109
|
-
**Before (v0.x):**
|
|
110
|
-
|
|
111
|
-
```yaml
|
|
112
|
-
- uses: anthropics/claude-code-action@beta
|
|
113
|
-
with:
|
|
114
|
-
claude_env: |
|
|
115
|
-
NODE_ENV: test
|
|
116
|
-
CI: true
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
**After (v1.0):**
|
|
120
|
-
|
|
121
|
-
```yaml
|
|
122
|
-
- uses: anthropics/claude-code-action@v1
|
|
123
|
-
with:
|
|
124
|
-
settings: |
|
|
125
|
-
{
|
|
126
|
-
"env": {
|
|
127
|
-
"NODE_ENV": "test",
|
|
128
|
-
"CI": "true"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## How Mode Detection Works
|
|
134
|
-
|
|
135
|
-
The action now automatically detects the appropriate mode:
|
|
136
|
-
|
|
137
|
-
1. **If `prompt` is provided** → Runs in **automation mode**
|
|
138
|
-
|
|
139
|
-
- Executes immediately without waiting for @claude mentions
|
|
140
|
-
- Perfect for scheduled tasks, PR automation, etc.
|
|
141
|
-
|
|
142
|
-
2. **If no `prompt` but @claude is mentioned** → Runs in **interactive mode**
|
|
143
|
-
|
|
144
|
-
- Waits for and responds to @claude mentions
|
|
145
|
-
- Creates tracking comments with progress
|
|
146
|
-
|
|
147
|
-
3. **If neither** → No action is taken
|
|
148
|
-
|
|
149
|
-
## Advanced Configuration with claude_args
|
|
150
|
-
|
|
151
|
-
The `claude_args` input provides direct access to Claude Code CLI arguments:
|
|
152
|
-
|
|
153
|
-
```yaml
|
|
154
|
-
claude_args: |
|
|
155
|
-
--max-turns 15
|
|
156
|
-
--model claude-4-0-sonnet-20250805
|
|
157
|
-
--allowedTools Edit,Read,Write,Bash
|
|
158
|
-
--disallowedTools WebSearch
|
|
159
|
-
--system-prompt "You are a senior engineer focused on code quality"
|
|
160
|
-
--mcp-config '{"mcpServers": {"custom": {"command": "npx", "args": ["-y", "@example/server"]}}}'
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
### Common claude_args Options
|
|
164
|
-
|
|
165
|
-
| Option | Description | Example |
|
|
166
|
-
| ------------------- | ------------------------ | -------------------------------------- |
|
|
167
|
-
| `--max-turns` | Limit conversation turns | `--max-turns 10` |
|
|
168
|
-
| `--model` | Specify Claude model | `--model claude-4-0-sonnet-20250805` |
|
|
169
|
-
| `--allowedTools` | Enable specific tools | `--allowedTools Edit,Read,Write` |
|
|
170
|
-
| `--disallowedTools` | Disable specific tools | `--disallowedTools WebSearch` |
|
|
171
|
-
| `--system-prompt` | Add system instructions | `--system-prompt "Focus on security"` |
|
|
172
|
-
| `--mcp-config` | Add MCP server config | `--mcp-config '{"mcpServers": {...}}'` |
|
|
173
|
-
|
|
174
|
-
## Provider-Specific Updates
|
|
175
|
-
|
|
176
|
-
### AWS Bedrock
|
|
177
|
-
|
|
178
|
-
```yaml
|
|
179
|
-
- uses: anthropics/claude-code-action@v1
|
|
180
|
-
with:
|
|
181
|
-
use_bedrock: "true"
|
|
182
|
-
claude_args: |
|
|
183
|
-
--model anthropic.claude-4-0-sonnet-20250805-v1:0
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Google Vertex AI
|
|
187
|
-
|
|
188
|
-
```yaml
|
|
189
|
-
- uses: anthropics/claude-code-action@v1
|
|
190
|
-
with:
|
|
191
|
-
use_vertex: "true"
|
|
192
|
-
claude_args: |
|
|
193
|
-
--model claude-4-0-sonnet@20250805
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
## MCP Configuration Migration
|
|
197
|
-
|
|
198
|
-
### Adding Custom MCP Servers
|
|
199
|
-
|
|
200
|
-
**Before (v0.x):**
|
|
201
|
-
|
|
202
|
-
```yaml
|
|
203
|
-
- uses: anthropics/claude-code-action@beta
|
|
204
|
-
with:
|
|
205
|
-
mcp_config: |
|
|
206
|
-
{
|
|
207
|
-
"mcpServers": {
|
|
208
|
-
"custom-server": {
|
|
209
|
-
"command": "npx",
|
|
210
|
-
"args": ["-y", "@example/server"]
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
**After (v1.0):**
|
|
217
|
-
|
|
218
|
-
```yaml
|
|
219
|
-
- uses: anthropics/claude-code-action@v1
|
|
220
|
-
with:
|
|
221
|
-
claude_args: |
|
|
222
|
-
--mcp-config '{"mcpServers": {"custom-server": {"command": "npx", "args": ["-y", "@example/server"]}}}'
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
You can also pass MCP configuration from a file:
|
|
226
|
-
|
|
227
|
-
```yaml
|
|
228
|
-
- uses: anthropics/claude-code-action@v1
|
|
229
|
-
with:
|
|
230
|
-
claude_args: |
|
|
231
|
-
--mcp-config /path/to/mcp-config.json
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
## Step-by-Step Migration Checklist
|
|
235
|
-
|
|
236
|
-
- [ ] Update action version from `@beta` to `@v1`
|
|
237
|
-
- [ ] Remove `mode` input (auto-detected now)
|
|
238
|
-
- [ ] Replace `direct_prompt` with `prompt`
|
|
239
|
-
- [ ] Replace `override_prompt` with `prompt` using GitHub context
|
|
240
|
-
- [ ] Move `custom_instructions` to `claude_args` with `--system-prompt`
|
|
241
|
-
- [ ] Convert `max_turns` to `claude_args` with `--max-turns`
|
|
242
|
-
- [ ] Convert `model` to `claude_args` with `--model`
|
|
243
|
-
- [ ] Convert `allowed_tools` to `claude_args` with `--allowedTools`
|
|
244
|
-
- [ ] Convert `disallowed_tools` to `claude_args` with `--disallowedTools`
|
|
245
|
-
- [ ] Move `claude_env` to `settings` JSON format
|
|
246
|
-
- [ ] Move `mcp_config` to `claude_args` with `--mcp-config`
|
|
247
|
-
- [ ] Test workflow in a non-production environment
|
|
248
|
-
|
|
249
|
-
## Getting Help
|
|
250
|
-
|
|
251
|
-
If you encounter issues during migration:
|
|
252
|
-
|
|
253
|
-
1. Check the [FAQ](./faq.md) for common questions
|
|
254
|
-
2. Review [example workflows](../examples/) for reference
|
|
255
|
-
3. Open an [issue](https://github.com/anthropics/claude-code-action/issues) for support
|
|
256
|
-
|
|
257
|
-
## Version Compatibility
|
|
258
|
-
|
|
259
|
-
- **v0.x workflows** will continue to work but with deprecation warnings
|
|
260
|
-
- **v1.0** is the recommended version for all new workflows
|
|
261
|
-
- Future versions may remove deprecated inputs entirely
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Security
|
|
2
|
-
|
|
3
|
-
## Access Control
|
|
4
|
-
|
|
5
|
-
- **Repository Access**: The action can only be triggered by users with write access to the repository
|
|
6
|
-
- **Bot User Control**: By default, GitHub Apps and bots cannot trigger this action for security reasons. Use the `allowed_bots` parameter to enable specific bots or all bots
|
|
7
|
-
- **Token Permissions**: The GitHub app receives only a short-lived token scoped specifically to the repository it's operating in
|
|
8
|
-
- **No Cross-Repository Access**: Each action invocation is limited to the repository where it was triggered
|
|
9
|
-
- **Limited Scope**: The token cannot access other repositories or perform actions beyond the configured permissions
|
|
10
|
-
|
|
11
|
-
## GitHub App Permissions
|
|
12
|
-
|
|
13
|
-
The [Claude Code GitHub app](https://github.com/apps/claude) requires these permissions:
|
|
14
|
-
|
|
15
|
-
- **Pull Requests**: Read and write to create PRs and push changes
|
|
16
|
-
- **Issues**: Read and write to respond to issues
|
|
17
|
-
- **Contents**: Read and write to modify repository files
|
|
18
|
-
|
|
19
|
-
## Commit Signing
|
|
20
|
-
|
|
21
|
-
All commits made by Claude through this action are automatically signed with commit signatures. This ensures the authenticity and integrity of commits, providing a verifiable trail of changes made by the action.
|
|
22
|
-
|
|
23
|
-
## ⚠️ Authentication Protection
|
|
24
|
-
|
|
25
|
-
**CRITICAL: Never hardcode your Anthropic API key or OAuth token in workflow files!**
|
|
26
|
-
|
|
27
|
-
Your authentication credentials must always be stored in GitHub secrets to prevent unauthorized access:
|
|
28
|
-
|
|
29
|
-
```yaml
|
|
30
|
-
# CORRECT ✅
|
|
31
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
32
|
-
# OR
|
|
33
|
-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
|
34
|
-
|
|
35
|
-
# NEVER DO THIS ❌
|
|
36
|
-
anthropic_api_key: "sk-ant-api03-..." # Exposed and vulnerable!
|
|
37
|
-
claude_code_oauth_token: "oauth_token_..." # Exposed and vulnerable!
|
|
38
|
-
```
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# Setup Guide
|
|
2
|
-
|
|
3
|
-
## Manual Setup (Direct API)
|
|
4
|
-
|
|
5
|
-
**Requirements**: You must be a repository admin to complete these steps.
|
|
6
|
-
|
|
7
|
-
1. Install the Claude GitHub app to your repository: https://github.com/apps/claude
|
|
8
|
-
2. Add authentication to your repository secrets ([Learn how to use secrets in GitHub Actions](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions)):
|
|
9
|
-
- Either `ANTHROPIC_API_KEY` for API key authentication
|
|
10
|
-
- Or `CLAUDE_CODE_OAUTH_TOKEN` for OAuth token authentication (Pro and Max users can generate this by running `claude setup-token` locally)
|
|
11
|
-
3. Copy the workflow file from [`examples/claude.yml`](../examples/claude.yml) into your repository's `.github/workflows/`
|
|
12
|
-
|
|
13
|
-
## Using a Custom GitHub App
|
|
14
|
-
|
|
15
|
-
If you prefer not to install the official Claude app, you can create your own GitHub App to use with this action. This gives you complete control over permissions and access.
|
|
16
|
-
|
|
17
|
-
**When you may want to use a custom GitHub App:**
|
|
18
|
-
|
|
19
|
-
- You need more restrictive permissions than the official app
|
|
20
|
-
- Organization policies prevent installing third-party apps
|
|
21
|
-
- You're using AWS Bedrock or Google Vertex AI
|
|
22
|
-
|
|
23
|
-
**Steps to create and use a custom GitHub App:**
|
|
24
|
-
|
|
25
|
-
1. **Create a new GitHub App:**
|
|
26
|
-
|
|
27
|
-
- Go to https://github.com/settings/apps (for personal apps) or your organization's settings
|
|
28
|
-
- Click "New GitHub App"
|
|
29
|
-
- Configure the app with these minimum permissions:
|
|
30
|
-
- **Repository permissions:**
|
|
31
|
-
- Contents: Read & Write
|
|
32
|
-
- Issues: Read & Write
|
|
33
|
-
- Pull requests: Read & Write
|
|
34
|
-
- **Account permissions:** None required
|
|
35
|
-
- Set "Where can this GitHub App be installed?" to your preference
|
|
36
|
-
- Create the app
|
|
37
|
-
|
|
38
|
-
2. **Generate and download a private key:**
|
|
39
|
-
|
|
40
|
-
- After creating the app, scroll down to "Private keys"
|
|
41
|
-
- Click "Generate a private key"
|
|
42
|
-
- Download the `.pem` file (keep this secure!)
|
|
43
|
-
|
|
44
|
-
3. **Install the app on your repository:**
|
|
45
|
-
|
|
46
|
-
- Go to the app's settings page
|
|
47
|
-
- Click "Install App"
|
|
48
|
-
- Select the repositories where you want to use Claude
|
|
49
|
-
|
|
50
|
-
4. **Add the app credentials to your repository secrets:**
|
|
51
|
-
|
|
52
|
-
- Go to your repository's Settings → Secrets and variables → Actions
|
|
53
|
-
- Add these secrets:
|
|
54
|
-
- `APP_ID`: Your GitHub App's ID (found in the app settings)
|
|
55
|
-
- `APP_PRIVATE_KEY`: The contents of the downloaded `.pem` file
|
|
56
|
-
|
|
57
|
-
5. **Update your workflow to use the custom app:**
|
|
58
|
-
|
|
59
|
-
```yaml
|
|
60
|
-
name: Claude with Custom App
|
|
61
|
-
on:
|
|
62
|
-
issue_comment:
|
|
63
|
-
types: [created]
|
|
64
|
-
# ... other triggers
|
|
65
|
-
|
|
66
|
-
jobs:
|
|
67
|
-
claude-response:
|
|
68
|
-
runs-on: ubuntu-latest
|
|
69
|
-
steps:
|
|
70
|
-
# Generate a token from your custom app
|
|
71
|
-
- name: Generate GitHub App token
|
|
72
|
-
id: app-token
|
|
73
|
-
uses: actions/create-github-app-token@v1
|
|
74
|
-
with:
|
|
75
|
-
app-id: ${{ secrets.APP_ID }}
|
|
76
|
-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
|
77
|
-
|
|
78
|
-
# Use Claude with your custom app's token
|
|
79
|
-
- uses: anthropics/claude-code-action@beta
|
|
80
|
-
with:
|
|
81
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
82
|
-
github_token: ${{ steps.app-token.outputs.token }}
|
|
83
|
-
# ... other configuration
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
**Important notes:**
|
|
87
|
-
|
|
88
|
-
- The custom app must have read/write permissions for Issues, Pull Requests, and Contents
|
|
89
|
-
- Your app's token will have the exact permissions you configured, nothing more
|
|
90
|
-
|
|
91
|
-
For more information on creating GitHub Apps, see the [GitHub documentation](https://docs.github.com/en/apps/creating-github-apps).
|
|
92
|
-
|
|
93
|
-
## Security Best Practices
|
|
94
|
-
|
|
95
|
-
**⚠️ IMPORTANT: Never commit API keys directly to your repository! Always use GitHub Actions secrets.**
|
|
96
|
-
|
|
97
|
-
To securely use your Anthropic API key:
|
|
98
|
-
|
|
99
|
-
1. Add your API key as a repository secret:
|
|
100
|
-
|
|
101
|
-
- Go to your repository's Settings
|
|
102
|
-
- Navigate to "Secrets and variables" → "Actions"
|
|
103
|
-
- Click "New repository secret"
|
|
104
|
-
- Name it `ANTHROPIC_API_KEY`
|
|
105
|
-
- Paste your API key as the value
|
|
106
|
-
|
|
107
|
-
2. Reference the secret in your workflow:
|
|
108
|
-
```yaml
|
|
109
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
**Never do this:**
|
|
113
|
-
|
|
114
|
-
```yaml
|
|
115
|
-
# ❌ WRONG - Exposes your API key
|
|
116
|
-
anthropic_api_key: "sk-ant-..."
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
**Always do this:**
|
|
120
|
-
|
|
121
|
-
```yaml
|
|
122
|
-
# ✅ CORRECT - Uses GitHub secrets
|
|
123
|
-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
This applies to all sensitive values including API keys, access tokens, and credentials.
|
|
127
|
-
We also recommend that you always use short-lived tokens when possible
|
|
128
|
-
|
|
129
|
-
## Setting Up GitHub Secrets
|
|
130
|
-
|
|
131
|
-
1. Go to your repository's Settings
|
|
132
|
-
2. Click on "Secrets and variables" → "Actions"
|
|
133
|
-
3. Click "New repository secret"
|
|
134
|
-
4. For authentication, choose one:
|
|
135
|
-
- API Key: Name: `ANTHROPIC_API_KEY`, Value: Your Anthropic API key (starting with `sk-ant-`)
|
|
136
|
-
- OAuth Token: Name: `CLAUDE_CODE_OAUTH_TOKEN`, Value: Your Claude Code OAuth token (Pro and Max users can generate this by running `claude setup-token` locally)
|
|
137
|
-
5. Click "Add secret"
|
|
138
|
-
|
|
139
|
-
### Best Practices for Authentication
|
|
140
|
-
|
|
141
|
-
1. ✅ Always use `${{ secrets.ANTHROPIC_API_KEY }}` or `${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}` in workflows
|
|
142
|
-
2. ✅ Never commit API keys or tokens to version control
|
|
143
|
-
3. ✅ Regularly rotate your API keys and tokens
|
|
144
|
-
4. ✅ Use environment secrets for organization-wide access
|
|
145
|
-
5. ❌ Never share API keys or tokens in pull requests or issues
|
|
146
|
-
6. ❌ Avoid logging workflow variables that might contain keys
|