Repository navigation
feat(models): add Auto to one shared model picker - #5196
Merged
Merged
Conversation
Contributor
|
Selected evidence: Failed · 5/11 tests · 5/5 assertions · 31 images Commit 15 visual judgment(s) pending. |
… to organizations Free Auto credentials and identities now use a domain-separated HMAC digest shared by Den and the Gateway instead of a bare SHA-256, matching the Gateway bearer-key store. Free reservations record the verified organization so admin allowance summaries read from the key link, never from the client. Migration 0109 adds the reservation organization column and the device-key share receipt table.
…haring Den exposes the organization free-provider summary to admins, lets admins pin or unpin Auto for members without touching access or personal pins, and accepts a device API key from a freshly verified owner or admin: eligibility is secret-free, the transfer is one transaction with a durable receipt scoped to organization, member and request id, retries return the same receipt, and changed contents conflict. Covered against a real MySQL.
… keys under policy The desktop server forwards Den's defaultPinned decision with the free status, so an admin unpin reaches native pickers. Device-key sharing reads the secret only after eligibility is verified, journals the request id before the transfer, removes the local key only after a verified receipt, and is governed by the same desktop model policy as saving a key.
…the design Auto leads the pinned list with the OpenWork mark, rows show provider mark, subtitle, source glyph and check, and the footer offers Connect more providers and All models. Loading, no-results, no-connected-models, saved-unavailable, policy-blocked, failed and stale catalogs, exhausted allowance, update required, temporary unavailability and sync pending each have their own state; the All models dialog now receives catalog state and retry from every owner. The Settings palette shares the Models mode with real options, workspace defaults keep their effort variant, and the in-chat limit notice keeps the unprocessed message dimmed with Sign in to OpenWork and Switch model.
… key with Den AI providers separates keys on this device from providers the organization manages in Den, shows OpenWork Models as included with an on/off control, and reports when Den last synced. Sharing a device key opens a consent dialog that names what moves to Den, what leaves the device, who is billed and who can access it; supported API keys share through the verified server path while custom and sign-in credentials stay private.
…ry states Worlds choose their engine explicitly so CI's default no longer runs a v2 journey on v1, sessionless specs no longer skip on ambient env, and evidence records the fixture's engine. The picker journey now covers empty search and Clear search, collapsed Advanced options, the pinned-row context menu, the immutable organization pin, and switching from a pinned row, using the current labels and chords. The outbound manifest lists the inference host.
…ee credentials through WebCrypto The free provider summary schema no longer carries a cross-version zod annotation that the Electron typecheck rejects, the managed-models policy narrows on an explicit discriminant, free credential lookups derive their tag through WebCrypto HMAC like the Gateway bearer-key store, and the provider sync store omits empty last-run facts instead of recording null.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
The packaged desktop server imports @openwork/types/desktop-free-access at runtime; the export now resolves to the built file instead of TypeScript source, which Node refuses to strip under node_modules.
The Models command shows the current model's public name as its value, or nothing when the selected model only has a gateway id; the palette proof now matches the root placeholder and allows that public value.
…-use surface The activated enterprise launch expects the current hero heading, the local first run proves the starter model through the composer instead of removed status copy, and packaged launches skip loudly when no packaged binary is available instead of failing the change-proof lane.
…ree Auto With OPENWORK_DEV_MODE=1, an explicit loopback OPENWORK_DEV_FREE_CONTROL_PLANE counts as the hosted control plane so a local Den and Gateway can exercise Auto end to end. Packaged builds never set it; every other origin, flavor and policy check is unchanged.
…ol plane A local Den serves its web control plane and API on different loopback ports, so the developer-only allowance accepts any loopback API origin once the named control plane matches.
…cess # Conflicts: # apps/desktop/package.json
…perience # Conflicts: # apps/app/src/app/lib/opencode-v2-adapter.ts
# Conflicts: # ee/packages/den-db/drizzle/meta/0115_snapshot.json # ee/packages/den-db/drizzle/meta/_journal.json # packages/docs/openapi.json
…perience # Conflicts: # ee/apps/den-api/package.json # ee/apps/den-web/components/den-admin-panel.tsx # packages/docs/openapi.json
benjaminshafii
previously approved these changes
Sep 30, 2026
benjaminshafii
approved these changes
Sep 30, 2026
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
…erience # Conflicts: # apps/server/src/anonymous-inference.test.ts # apps/server/src/free-auto/index.ts # apps/server/src/free-auto/responses.ts # apps/server/src/free-auto/service.ts
This was referenced Oct 3, 2026
This branch was successfully deployed
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.
What is this about?
One picker for Auto and connected models, with a controlled free Auto rollout.
What problem does it solve?
People keep drafts when choosing models. Platform admins can verify Auto with selected organizations before general availability.
What was the situation before?
Model lists drifted between surfaces. Disabled Auto could remain visible, existing keys could outlive policy changes, and organizations had no separate pilot enrollment.
How is this implemented?
/adminenrollment, default off, with audited platform-only writes. Den and Gateway check existing keys against current enrollment and effective desktop policy.INFERENCE_FREE_ROLLOUT_ALL_ORGSchanges the enrollment default while preserving explicit overrides and the global kill switch.What else changed?
Regenerate the API contract and document pilot deployment settings. Tests cover MySQL faults, policy changes, rollout isolation, and failed saves.
Release note
Choose connected models from one picker; platform admins can enable free Auto for selected organizations.
Evidence
evals/specs/free-auto-rollout.e2e.test.ts— before: pilot member has no Auto; after: admin enables only that org, then revokes access.evals/specs/desktop-auto-disabled.e2e.test.ts— before: saved Auto with access off; after: BYOK works and the draft remains.Design: P1, P5, P10, S2, S6, C5, C6