Skip to content

Rename custom provider claude-code -> claude-direct (naming alignment, later) #1817

Closed

Description

@dezren39

Todo (Drew, 2026-11-06) — later, not now

Rename this fork's custom Claude provider from claude-code to claude-direct, aligning with the sibling custom wire-emulation providers (antigravity-direct, vibe-direct, muse-direct). The provider is our own wire emulation of the Claude Code client (built in this fork), so the -direct name is the accurate one.

Scope notes for whoever picks this up:

  • The provider id is referenced by the fleet config in developing-today/code (.opencode/opencode.jsonc — routes, pools, disabled-provider bookkeeping) and possibly by session/route-health history; the rename needs a coordinated config change in the same pass.
  • Consider a compat alias or a migration note for stored route_health / session rows keyed by the old id.
  • No behavior change intended: wire shape, credential resolution, and quota reads stay identical.

Filed as a recorded todo per Drew's instruction; priority is deliberately low until he calls it.

Acceptance criteria

  • The custom Claude provider's id is renamed per the convention decided on design: provider naming & ownership convention — mark fleet-built providers (dt- proposal), rename map #1823 (this issue's claude-direct name applies only if that convention keeps the -direct scheme), across the fork source and the fleet config in developing-today/code in the same pass.
  • No behavior change: wire shape, credential resolution, and quota reads are identical before and after.
  • Stored route-health / session rows keyed by the old id are migrated or carry a documented compat alias.

Activity

  1. dezren39 commented on Nov 6, 2026

    @dezren39
    Author

    Scope update (2026-11-06, Drew): this rename is now one line of a broader provider naming & ownership convention — see the design issue #1823 (inventory of official vs fleet-built providers, convention recommendation, full rename map, migration notes).

    Under the recommended convention there, claude-code → dt-claude (ownership prefix; the "-direct" suffix is dropped entirely because the prefix already says it's ours). This issue stays open as the claude-specific record; the rename executes from #1823 once Drew rules on the convention.

  2. added
    kind/refactorCode restructuring with no behavior change
    source/humanFiled directly by a human
    priority/lowNice to have; do when convenient
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 6, 2026
  3. dezren39 commented on Nov 6, 2026

    @dezren39
    Author

    Intake review

    🤖 Fleet monitor intake (repo-fleet-monitor), 2026-11-06.

  4. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 6, 2026
  5. dezren39 commented on Nov 6, 2026

    @dezren39
    Author

    Triage (task 11114, lane opencode-a): blocked pending Drew's naming ruling.

    Fresh verification 2026-11-06: #1817 is OPEN. Its own body says "later, not now" and "priority is deliberately low until he calls it", and its acceptance criteria make the claude-direct name conditional on the convention decided on #1823. #1823 is OPEN with user/escalated + status/blocked — the provider naming/ownership convention is Drew's decision. No rename can proceed until that ruling lands; when it does, the rename map is applied as one coordinated pass across the fork source and the fleet config in developing-today/code.

    Queue task 11114 blocked with reason-class user-decision.

  6. added
    status/blockedBlocked on something named in the issue/PR
    queue/queuedHas a queued task in the Supabase agent queue
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 6, 2026
  7. dezren39 commented on Nov 7, 2026

    @dezren39
    Author

    Superseded by the #1823 convention as this issue's acceptance anticipated: Drew ruled (2026-11-07) for a leading underscore instead of the -direct scheme, so claude-code is renamed to _claude (not claude-direct). Executed in opencode#1944 (fork source + quota) and developing-today/code#6889 (fleet config + pm-stack). Record: #1823 ruling comment #1823 (comment)

  8. added
    work/assignedAn agent holds this item via the queue (claimed task)
    queue/claimedA queue worker has claimed the task for this item
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 8, 2026
  9. dezren39 commented on Nov 8, 2026

    @dezren39
    Author

    Triage (task 11188, lane opencode-a): already done — closing.

    Fresh verification 2026-11-07 (current main 6631ec3): the rename this issue records was executed under the #1823 convention Drew ruled on 2026-11-07. The final name is (leading underscore, not ), per the superseding comment already on this issue.

    Evidence:

    No further rename work remains for this issue; closing as already_done / superseded by the #1823 execution.

  10. dezren39 commented on Nov 8, 2026

    @dezren39
    Author

    Correction to the closing note above (identifiers were stripped by shell expansion when posted): the final provider name is _claude (leading underscore, not claude-direct); at current main packages/ai/src/providers/claude-code.ts sets the provider id to _claude and packages/ai/src/quota/providers/claude.ts providerId is _claude, with claude-code retained only as an auth-source alias / wire protocol name.

  11. removed
    status/blockedBlocked on something named in the issue/PR
    queue/claimedA queue worker has claimed the task for this item
    work/assignedAn agent holds this item via the queue (claimed task)
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/sSmall: expected under 2 hours of workkind/refactorCode restructuring with no behavior changemeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientsource/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions