t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Support for Claude Code

Open ajeetdsouza opened this issue 8 months ago • 14 comments

Hi, congrats on the launch! I know Claude Code support is being actively worked on, but I couldn't find any issue that was tracking it, so I created this. Thanks!

ajeetdsouza avatar Mar 12 '26 20:03 ajeetdsouza

#179

jasperaelvoet avatar Mar 12 '26 21:03 jasperaelvoet

I told Claude Code to do it for me, and it worked. It took me all morning to solve some bugs, but it worked. The only downside to this is that I have to check every update if it has conflicts.

gabrielMalonso avatar Mar 12 '26 21:03 gabrielMalonso

I told Claude Code to do it for me, and it worked. It took me all morning to solve some bugs, but it worked. The only downside to this is that I have to check every update if it has conflicts.

It's not about making it run the dev has it working in other branch but the problem Anthropic has to approved else users could get banned same as what happend in opencode

nassimna avatar Mar 12 '26 22:03 nassimna

I told Claude Code to do it for me, and it worked. It took me all morning to solve some bugs, but it worked. The only downside to this is that I have to check every update if it has conflicts.

It's not about making it run the dev has it working in other branch but the problem Anthropic has to approved else users could get banned same as what happend in opencode

Nobody will get banned over this. I've been using conductor for a long time, and nothing ever happened. I know they are sketchy, but I don't believe they will ban people for using Claude Code in a wrapper. I could be wrong, tho.

gabrielMalonso avatar Mar 12 '26 22:03 gabrielMalonso

Using OpenCode Desktop for 4-5 weeks, everything is fine (except I need to authenticate every 10-12 hours), so, still not banned.

Would be nice to have it with BIG RED warnings message that we can be banned, it's fine ;)

akarabach avatar Mar 12 '26 23:03 akarabach

Using OpenCode Desktop for 4-5 weeks, everything is fine (except I need to authenticate every 10-12 hours), so, still not banned.

Would be nice to have it with BIG RED warnings message that we can be banned, it's fine ;)

You know Theo is a big UX guy, i know he won't be pleased with this solution

chuks-qua avatar Mar 12 '26 23:03 chuks-qua

Using OpenCode Desktop for 4-5 weeks, everything is fine (except I need to authenticate every 10-12 hours), so, still not banned. Would be nice to have it with BIG RED warnings message that we can be banned, it's fine ;)

You know Theo is a big UX guy, i know he won't be pleased with this solution

Without Claude Code, the T3 Code is basically a no-go for ~60+++% of developers

akarabach avatar Mar 12 '26 23:03 akarabach

True, but the choices are: risk your app the cause of devs getting their accounts bad and tuple ur reputation or wait for Anthropic. the longer they take to respond the worse they look

chuks-qua avatar Mar 12 '26 23:03 chuks-qua

My current understanding is that it depends on the implementation basically whether you're using:

  • CC subscription OAuth token for your own requests/SDK, which most likly is against TOS and therefore risky

  • CC CLI supported programatic use via headless mode

I also implemented quick and dirty CC support using the later, based on that i would assume the main challenge to be mostly architectural due to vastly different control surface exposed by cc vs. codex:

  • codex supports create app servers directly (noice)
  • cc limits programmatic use to headless cli invoke explicitly (https://code.claude.com/docs/en/headless) for subscriptions while the SDK (https://platform.claude.com/docs/en/agent-sdk/typescript) only via API (my assumption please tell me if not true!) leaving us basically with something like:

session_id=$(claude -p "fix all and make it super safe (nuclear option)" --output-format json | jq -r '.session_id') claude -p "I said no mistakes" --resume "$session_id"

copypasteitworks avatar Mar 13 '26 00:03 copypasteitworks

Zed IDE supports the Claude Agent ACP with a Claude code subscription.
PhpStorm from JetBrains lets you install the same agent, but it does not support the Claude code subscription.
Therefore, Theo’s concerns align with JetBrains’ concerns.

Image Image

delmicio avatar Mar 14 '26 01:03 delmicio

Zed IDE supports the Claude Agent ACP with a Claude code subscription.
PhpStorm from JetBrains lets you install the same agent, but it does not support the Claude code subscription.
Therefore, Theo’s concerns align with JetBrains’ concerns.

Image Image

Conductor ?

akarabach avatar Mar 14 '26 04:03 akarabach

Waiting for that (even alpha). Best regards.

Draqun avatar Mar 18 '26 08:03 Draqun

I have a working implementation of this using the Claude CLI headless mode (claude -p --output-format text). It follows the existing adapter pattern — ClaudeCodeAdapter service/layer mirroring CodexAdapter, registered in the provider registry, models in the picker (Opus 4.6, Sonnet 4.6, Haiku 4.5).

It's an MVP — single turn output, no streaming or tool use events yet — but the full plumbing works: contracts, adapter, registry, provider picker, model selection, settings.

Happy to open a PR whenever the TOS situation is sorted out. Just let me know.

ecatuogno1 avatar Mar 19 '26 03:03 ecatuogno1

Looks like Claude Code support is here! Thanks, T3 team!

ajeetdsouza avatar Mar 24 '26 10:03 ajeetdsouza