feat: add claude-code template#354
Merged
Marvin-Cypher merged 1 commit intoMay 27, 2026
Merged
Conversation
Contributor
Author
|
cc @Marvin-Cypher for review. |
7a18f4e to
8a82a7e
Compare
Marvin-Cypher
approved these changes
May 27, 2026
Contributor
Marvin-Cypher
left a comment
There was a problem hiding this comment.
Reviewed template files, normalized tags, compose config, config validation, stale path cleanup, and compose safety scan. Checks are passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claude-codeprebuilt template for Anthropic Claude Code.@anthropic-ai/claude-code@2.1.150, runsclaude --version, and exposes/healthz,/demo, and/v1/modelswithout Anthropic credentials or hosted model calls.templates/icons/claude-code.svgand route the template configrepothrough the Phala prebuilt template path.Upstream
https://mintcdn.com/claude-code/c5r9_6tjPMzFdDDT/logo/light.svg, saved astemplates/icons/claude-code.svg.Template files
templates/prebuilt/claude-code/docker-compose.ymltemplates/prebuilt/claude-code/README.mdtemplates/icons/claude-code.svgtemplates/config.jsonEnvironment variables
CLAUDE_CODE_VERSION: optional, default2.1.150.ANTHROPIC_API_KEY: optional for later real Claude Code use; the default verifier endpoints do not use it.Validation
python3 sdks/templates/validate.py✅git -C sdks diff --check origin/main...HEAD✅docker compose -f sdks/templates/prebuilt/claude-code/docker-compose.yml config >/tmp/claude-code-compose-config-postcommit.out✅repoURLenv_file, host bind mount, external build context, privileged mode, GPU requirement, or real secret literalPhala Cloud smoke
hermes-admin-cvm-check/h4x's projectsauto-template-test-claude-code-0526-2026407650ad8c-9a5d-4337-a1b4-02fe20983f006f3e7dc24aa66897eb72ef3a0ad87dc8a8f4d186phala ps --json:/dstack-app-1running and healthyhttps://6f3e7dc24aa66897eb72ef3a0ad87dc8a8f4d186-8080.dstack-pha-prod6.phala.networkGET /healthz: HTTP 200, package@anthropic-ai/claude-code, installed version2.1.150GET /demo: HTTP 200,credentials_required_for_health=false,hosted_llm_calls_performed=falseGET /v1/models: HTTP 200, includesclaude-code/local-verifier,cli_version_output="2.1.150 (Claude Code)"Cleanup
The requested CVM was not found.cc @Marvin-Cypher for review.