Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Documents how to opt into Claude artifacts, including account requirements and remote-host browser behavior. Existing product defaults and runtime behavior remain unchanged. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Note Written by merged main into the existing branch and resolved the documentation conflict by keeping both the artifacts instructions and main's claude in chrome section. the diff against main remains one file, 14 added lines. verification at artifact publishing and automatic browser opening were not exercised with an eligible account. |
T3 Code launches Claude Code with the t3-code entrypoint, for which Claude Code loads its Artifact tools by default, so the section no longer claims they start off. Setting CLAUDE_CODE_ARTIFACT to 1 or 0 works either way. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The automated pipeline stopped on this pull request and will not merge it: the fix is written and reviewed, but proving it needs something no worker has:
It stays open for a person to finish or close. |
|
This PR conflicts with See the conflict window. |
Problem
Claude threads in T3 Code have no Artifact tool, so when a user asks for an artifact the agent says the tool doesn't exist.
Claude Code leaves the tool off for Agent SDK sessions unless
CLAUDE_CODE_ARTIFACTis set, and T3 Code launches Claude through the SDK.The fix, setting that variable on the Claude provider, appears only in closed issues #7452 and #14816 and #16278.
Nothing in the user guide mentions it.
Change
Adds an Artifacts section to
docs/user/providers-claude.md, next to Task lists, which documentsCLAUDE_CODE_ENABLE_TODO_TOOLS=1the same way.It says how to turn artifacts on, points to Claude Code's own requirements for when that isn't enough, and says how to stop the browser opening on a remote host.
No code or default changes.
Scope and approval
Documentation for an existing, supported workflow.
CONTRIBUTING treats difficulty finding an existing workflow as a documentation problem.
The default stays off. Whether to change it or add a toggle is a separate question, in Ideas discussion #27826.
Verification
Claude Code 2.1.318, T3 Code 0.1.6 (Beta), macOS. This is the Artifact entries from the session's init tool list:
$ env -u CLAUDE_CODE_ARTIFACT CLAUDE_CODE_ENTRYPOINT=sdk-ts claude -p --setting-sources project \ --output-format stream-json --verbose --max-turns 1 "ok" \ | jq -c 'select(.type=="system" and .subtype=="init") | [.tools[]|select(test("^Artifact"))]' [] $ CLAUDE_CODE_ARTIFACT=1 CLAUDE_CODE_ENTRYPOINT=sdk-ts claude -p ...same... ["Artifact","ArtifactComments","ArtifactData"]environmentfield insettings.json, which is the value the Environment section's Variables editor holds. I didn't click through the editor itself. The section and field names in the doc come fromProviderInstanceCard.tsx.CLAUDE_CODE_ARTIFACT=1in its process and had the Artifact tool. Before the change,ToolSearchforselect:Artifactreturned nothing.CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0is documented by Claude Code's environment variable reference. I didn't run a publish on a remote host.The variable isn't enough on every account, which is why the section links to Claude Code's requirements.
On a claude.ai Max login on the same machine, the same command with the variable set still lists no
Artifacttool, and neither does a plain-prun outside the SDK entrypoint.Claude Code's docs list Max as supported, so I don't know the cause. I didn't test whether an interactive terminal session on that login has the tool.
Not checked: Pro, Team, API-key, Bedrock, Vertex and Foundry accounts.
Written with Claude Opus 5.5 in Claude Code, running inside T3 Code.
🤖 Generated with Claude Code