Skip to content

feat(providers): add Standard Compute as a bundled descriptor row - #6985

Merged
Hmbown merged 5 commits into
codewhale-hq:mainfrom
henrikdukefoss:feat/standardcompute-descriptor
Oct 16, 2026
Merged

Hmbown merged 5 commits into
codewhale-hq:mainfrom
henrikdukefoss:feat/standardcompute-descriptor

Conversation

@henrikdukefoss

@henrikdukefoss henrikdukefoss commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Adds Standard Compute through the existing compatible-host descriptor and named custom-provider path. /provider uses STANDARDCOMPUTE_API_KEY, https://api.stdcmpt.com/v1, and the standardcompute bootstrap router model. Vendor-prefixed IDs pin one model; live /models discovery remains authoritative. No new ProviderKind or compiled model roster is introduced.

Billing stays Unknown: the endpoint and router ID do not establish the account's plan or per-request price. EN/ZH docs qualify default budget exhaustion with the vendor's optional prepaid Pay as you go policy (official policy). Maintainer follow-up adds canonical author mapping and all three credit surfaces, then derives the packaged changelog and agent docs using existing generators. The existing providers registry row owns this descriptor.

Current head: 9f5ed8ebb6, tree 36e98206c7b6067e34b2ecaf1bf0a635e59827ff. It merges 51c00f23's inherited-probe and smoke-harness repair into previous head 93132146, preserving @henrikdukefoss's original commit and history. Descriptor, provider docs, affiliation and contributor credits are unchanged.

The merge changes only crates/tui/src/dependencies.rs, the existing tool-metric fixture and scripts/mobile-smoke.sh; every other blob from the previous PR head is preserved. The metric fixture now uses the existing test-only host-capability pin on all test platforms, and the smoke assertions avoid an upstream broken pipe under pipefail. Production probe behavior, catalog budgets and the complete equality assertion remain unchanged.

The three-file repair was validated locally on macOS before committing 51c00f23: 2 existing focused Rust tests passed, the complete extracted tool catalog equals the existing budget with no identity/cap changes, the production CLI binary built, 9 mobile HTTP smoke assertions passed, and npm test && npm run check:web passed 1,312 tests with 0 failures and 7 skipped (540 Node + 772 Vitest). The first isolated smoke launch exceeded macOS's socket-path limit before HTTP assertions; correcting only the artifact launcher then passed all 9 assertions with the same compiled binary. Both attempts are retained. These are focused local results on the main repair, not full native qualification of this PR head.

Fresh resulting-head checks are pending; merge remains held. Previous native, web, Runtime/persistence and credit receipts remain attached to their original source heads and do not qualify this integration. Require the new exact-head native results and actual budget outcomes before merging this original contributor PR, retaining its source branch.

No authenticated provider call from Codewhale was made. Catalog and documentation do not establish live account access, provider reliability, billing accuracy or privacy terms. 0.10.2 has not shipped.

Contributor disclosure retained: @henrikdukefoss works on Standard Compute.

Refs #6289

— Written by GPT-6 (AI agent) on behalf of the maintainers.

Adds Standard Compute on the existing compatible-host descriptor path:
Chat Completions at https://api.stdcmpt.com/v1, STANDARDCOMPUTE_API_KEY,
and the `standardcompute` router id as the bootstrap model. Live
GET /v1/models stays the model authority. Billing is recorded as
Unknown in the pricing omission ledger; no provider enum or price row.

Signed-off-by: Henrik Bakke Dukefoss <henrikdukef@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added the contribution-gate Author not yet in .github/APPROVED_CONTRIBUTORS; a maintainer grants access with /lgtm label Oct 15, 2026
CodeWhale Bot added 2 commits October 15, 2026 08:06
…ributor

The vendor budget policy permits optional prepaid Pay as you go on eligible plans. Qualify the default HTTP402 exhaustion behavior in English and Chinese and link the authoritative policy. Keep billing Unknown and model discovery live.

Map Henrik Bakke Dukefoss and the verified author email to @henrikdukefoss; credit the original descriptor contribution on CONTRIBUTORS, CHANGELOG and web release credits. Regenerate packaged changelog and agent docs from their existing owners.

Artifact-only verification on exact contributor head f7805eb:
- Existing credit checker fails before and passes after on captured exact PR and CI synthetic-merge ancestry (9 canonical contributors).
- All26 generated doc topic IDs, slugs and source paths/order unchanged; only PROVIDERS and CONTRIBUTORS content/hash entries change,50 others identical.
- Existing changelog sync --check, baseline/generated-doc consistency, patch apply and whitespace checks pass.
- No native build, npm gate or resulting-head CI claimed; fresh checks pending before merge.

Original contributor commits and canonical shared build inputs are preserved.

Refs codewhale-hq#6985

Signed-off-by: CodeWhale Bot <bot@codewhale.net>
…enerated docs

Regenerate agent docs from merged provider and contributor sources. Preserve the Standard Compute budget qualification, canonical author mapping, all contributor credit surfaces, and main documentation. All other paths auto-merge.

Use the existing docs derivation owner on the exact automatic-merge sources:26 topics,52 entries and39 paths. Only the documented conflict paths are replaced. Static full-tree and replacement-blob review, generation consistency and diff whitespace checks pass. No new production edits or canonical checkout changes.

Both original contributor ancestry and main68f4dd3406 are retained. Fresh resulting-head native and web CI remain pending; this source reconciliation is not a merge-readiness or release claim.

Refs codewhale-hq#6985

Signed-off-by: CodeWhale Bot <bot@codewhale.net>
Preserve the contributor's original history and integrate main
248634f. This carries authoritative,
isolated Runtime fixtures and settlement of stale approval/input requests,
plus the earlier macOS LLVM setup and Windows startup diagnostics.

The clean merge retains this PR's measured budgets and gate policies.
The Standard Compute descriptor, metadata and contributor credit are unchanged.

Main repair validation: 387 existing focused Rust tests passed, 0 failed;
npm 1312 passed, 0 failed, 7 skipped; check:web passed. Exact merged-tree
review preserved each PR delta and the main repair. This resulting PR head
still needs fresh hosted qualification; previous runs remain historical.
No provider traffic, deployment or publication.

Signed-off-by: Hunter Bown <hunter@shannonlabs.dev>
Hmbown pushed a commit that referenced this pull request Oct 15, 2026
Retain the original candidate and contributor histories while qualifying the
combined source in parallel with original PRs #6985 and #6989. Both contributor
PRs must still land as themselves before this candidate's conditional squash.
The source-navigation work in draft PR #6393 is excluded pending its author's
scope decision and successful qualification.

Include current main 248634f: worker ownership and late completion receipts,
stale approval/input settlement, shared mock authority, isolated fixture
workspaces, macOS LLVM setup and Windows clipboard launch diagnostics.
Carry @henrikdukefoss's Standard Compute descriptor with Unknown billing and
@shenjackyuanjie's OHOS Ninja selection and ungated CLI hashing unchanged.
Resolve CI/credit/generated-document intersections, synchronize approval
documentation with Engine execution IDs and captured input, and narrow the
Windows 10 1607 statement to verified dynamic lookup behavior.

Verification: object-only merge and authored/generated-document review;
72 feature rows and 26 documentation topics preserved; git diff --check passed.
No build or native/npm test was run on this combined source. Prior source
receipts remain separate; hosted exact-head qualification is required.
Canonical main and its index remain unchanged. No publication is authorized.

Signed-off-by: Hunter Bown <hunter@shannonlabs.dev>
Carry main 51c00f2 without changing the original PR-specific
source. Pin the no-host-tools metric fixture through its existing test-only
capability seam and remove echo/grep pipe races from mobile smoke.

Main repair verification: 2 focused existing Rust tests passed; full tool
catalog JSON unchanged; default CLI build and all 9 mobile HTTP assertions
passed; npm 1312 passed, 0 failed, 7 skipped; check:web, scoped rustfmt,
ShellCheck, Bash syntax and diff checks passed. Original isolated mobile
launch failed socket-path length before assertions; corrected only the
launcher and reran the same binary. Fresh resulting-head hosted native
qualification remains required; no old-source CI result is relabeled.

Only the three inherited probe paths differ from the previous PR head.
Both histories are retained. No new test, publication or branch cleanup.

Refs CW-6439

Signed-off-by: Hunter Bown <hunter@shannonlabs.dev>
Hmbown pushed a commit to shenjackyuanjie/CodeWhale that referenced this pull request Oct 15, 2026
Preserve the original codewhale-hq#6985 and codewhale-hq#6989 histories and qualify their combined
source on the existing OHOS PR branch. Land codewhale-hq#6985 as its own PR first;
codewhale-hq#6989 remains held until exact-head CI and the actual resulting-main tree
are reviewed. Neither contributor PR is merged by this source update.

Resolve only five shared changelog, credit and generated-document paths
using the previously reviewed contributor-only source. Preserve both
contributors on every existing credit surface. No Rust, descriptor or
OHOS implementation conflict; the three verified main51 probe-repair
blobs are unchanged. No new tests or comments are introduced by this
maintainer resolution.

Source review: both merge orders produce tree
13d1be6. All non-conflicting source
comes directly from the two PR heads. Full native and web CI on this
combined tree is pending; earlier passing receipts retain their original
source identities. Canonical main stays clean and unchanged.

Signed-off-by: Hunter Bown <hunter@shannonlabs.dev>
Hmbown pushed a commit that referenced this pull request Oct 15, 2026
Record the Standard Compute and OHOS contributor heads through #6989
while preserving the complete candidate source tree at
4a27e34. The five shared release
documentation and credit conflicts retain the already reviewed candidate
blobs, including both original contributor credits. No source content changes.

This prevents a final intake merge conflict. The original #6985 and #6989
PRs still merge as themselves before the conditional #6968 squash.
Existing test receipts remain attached to their original heads and unchanged
source tree; this new commit awaits fresh required CI before merge admission.
No tests were repeated locally for the identical source tree.

Signed-off-by: Hunter Bown <hunter@shannonlabs.dev>
@Hmbown
Hmbown merged commit 8a65925 into codewhale-hq:main Oct 16, 2026
28 checks passed
Hmbown pushed a commit that referenced this pull request Oct 16, 2026
Brings in #6985 (Standard Compute), #6989 (OHOS), the CW-6880 mobile
approval-card fix, the CW-7427 queue notice and logging fix and the G1
stdio MCP handoff, so the candidate's CI qualifies the tree the squash
will produce.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBKbhx19BRbZtvWK8rVKjz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution-gate Author not yet in .github/APPROVED_CONTRIBUTORS; a maintainer grants access with /lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants