Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
52397da
feat(management): expose the Antigravity pool pause status
GavinKung Nov 20, 2026
85e6d0b
Merge pull request #215 from router-for-me/feat/antigravity-pause-status
GavinKung Nov 20, 2026
e1e5e8a
feat(home): add GitHub Copilot provider support
hkfires Nov 22, 2026
0972b17
fix(usage): base TPS on displayed output tokens
hkfires Nov 22, 2026
4b299e2
feat(antigravity): publish credential-scoped model enums to Home KV
luispater Nov 23, 2026
3de8619
feat(antigravity): publish credential-scoped thinking groups
luispater Nov 23, 2026
1a19bbf
feat(home)!: unify namespaced copilot/devin routes
hkfires Nov 24, 2026
90db076
docs(config): add copilot and devin oauth examples
hkfires Nov 24, 2026
81a5852
fix(management): namespace-prefix copilot and devin model ids
hkfires Nov 24, 2026
2ffbe30
fix(oauth): retry marking copilot session errors
hkfires Nov 24, 2026
ee7794f
fix(auth): resolve api-key aliases for registry models
hkfires Nov 24, 2026
985e748
Merge pull request #217 from router-for-me/copilot
luispater Nov 24, 2026
ccced63
feat(billing): expand import auto-discovery targets
hkfires Nov 25, 2026
9548b60
fix(registry): preserve copilot models on catalog publish
hkfires Nov 25, 2026
723c85f
fix(auth): prevent quota reset clearing rebound alias source
hkfires Nov 25, 2026
e0dd678
fix(config)!: namespace openai-compatible provider keys
hkfires Nov 25, 2026
dcc3900
Merge pull request #218 from router-for-me/billing
luispater Nov 25, 2026
2b35ede
Merge upstream Home improvements preserving fork schema and runtime
sofyan48 Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ oauth:

# Global OAuth model name aliases (per channel)
# These aliases rename model IDs for both model listing and request routing.
# Supported channels: vertex, aistudio, antigravity, claude, codex, kimi, xai, meta.
# Supported channels: vertex, aistudio, antigravity, claude, codex, kimi, xai, meta, copilot, devin.
# NOTE: These aliases do not apply to any of the upstream groups under api-keys.
# NOTE: Because aliases affect the merged /v1 model list and merged request routing, overlapping
# client-visible names can become ambiguous across providers. For strict backend pinning, use
Expand Down Expand Up @@ -1152,6 +1152,12 @@ oauth:
# meta:
# - name: "muse-spark-1.3"
# alias: "muse-latest"
# copilot:
# - name: "copilot/gpt-5.3-codex" # use the listed Copilot source ID, before any auth prefix
# alias: "friendly" # published verbatim; no automatic copilot/ prefix
# devin:
# - name: "devin/swe-2" # use the listed Devin source ID, before any auth prefix
# alias: "team/chat" # published verbatim; credential prefixes apply afterward
# sample-provider: # plugin provider keys are supported for OAuth plugins
# - name: "sample-model-latest"
# alias: "sample-latest"
Expand Down Expand Up @@ -1179,6 +1185,10 @@ oauth:
# - "grok-3-mini"
# meta:
# - "muse-spark-1.1"
# copilot:
# - "copilot/claude-haiku-*" # match Copilot model IDs before aliases and auth prefixes
# devin:
# - "devin/swe-2-flash" # match Devin model IDs before aliases and auth prefixes

# CPA OAuth request-scoped error classification. Home retains its existing cooldown policy.
# request-scoped-errors:
Expand Down Expand Up @@ -1226,14 +1236,31 @@ oauth:
# match:
# - "context_length_exceeded"
# action: "stop"
# copilot:
# - status: 400
# match:
# - "context_length_exceeded"
# action: "stop"

# OAuth provider model settings (per channel). Applies only to OAuth/file-backed credentials,
# not to API-key model entries. max-context-length overrides the advertised context window
# after model aliases and before prefixes are applied. An optional alias targets one public
# route and takes precedence over name-only settings. Home publishes this catalog in Home
# mode; standalone CPA applies the settings locally.
# Supported channels: vertex, aistudio, antigravity, claude, codex, kimi, xai, meta.
# Supported channels: vertex, aistudio, antigravity, claude, codex, kimi, xai, meta, copilot, devin.
# settings:
# copilot:
# - name: "copilot/gpt-5.3-codex" # bare catalog ID or canonical source ID, shared by its aliases
# max-context-length: 131072
# - name: "copilot/gpt-5.3-codex"
# alias: "coding" # exact public alias before any credential prefix
# max-context-length: 262144
# devin:
# - name: "devin/swe-2" # bare catalog ID or canonical source ID, shared by its aliases
# max-context-length: 131072
# - name: "devin/swe-2"
# alias: "team/chat" # exact public alias before any credential prefix
# max-context-length: 262144
# codex:
# - name: "gpt-6-sol"
# max-context-length: 524288
Expand Down
48 changes: 48 additions & 0 deletions docs/ai48home/management/upstream-20261126.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Upstream integration review: 2026-11-26

This maintenance branch integrates upstream Home `9208558..dcc3900` into fork
`fa17a89`. It is not approved for deployment.

## Conflict decisions

- Keep organization, playground, top-up and durable quota-guard migrations and
snapshot mappings. Fork version 30 and upstream version 21 combine at **31**.
The new startup data migration namespaces existing OpenAI-compatible provider
keys. Version 30 snapshot layout remains supported unchanged; no occupied
version is reused and no historical migration is removed or renumbered.
- Keep both `topup_approval` and `antigravity_tos_pause_status` capabilities.
- Keep lifecycle retirement metadata and filtering while adding upstream route
source IDs, response aliases, Copilot catalogs and provider-scoped lookups.
- Preserve DB-backed management, organization scopes, passkeys, billing, branding,
mTLS/RESP ownership and existing user API behavior; no wholesale replacement.

## API changes requiring coordinated review

Upstream adds the `antigravity_tos_pause_status` capability and read-only
`GET /v8/management/routing/antigravity/tos-pause`, Copilot OAuth/catalog support,
credential-scoped Antigravity model enums, expanded billing import discovery and
namespaced OpenAI-compatible provider keys. Detailed upstream API changes remain
in `docs/management/api.md` and `api_CN.md`. The fork's English/Chinese full API
references still need coordinated updates before this draft is ready.

The Vue UI is not replaced with the React upstream. The Rust worker is not
replaced with Go. Provider namespace and new payload/config compatibility with
the Rust worker require explicit acceptance; a Home compile does not establish
cross-project compatibility. Do not enable unsupported Copilot/Devin executors.

## Verification and limitations

`go build -o /dev/shm/ai48home-maintenance-20261126 ./cmd/home` passed; the normal
on-disk output initially failed because the filesystem ran out of space.
Registry, auth, Home and dynamic RESP dispatch package tests passed. Isolated
SQLite tests for fresh/legacy migration, snapshot compatibility, provider-key
migration (including repeat application), and combined-version mapping passed.
PostgreSQL migration integration was not run; no production database was used.

The user API suite failed four existing contract assertions around analytics,
date-range validation and unattributed request-log visibility. A baseline
comparison was attempted; its actual result must be checked in the external log
before classifying these as pre-existing. Full cluster/management test outcomes
are recorded in the maintenance PR. Disk pressure also interrupted initial test
linking. Do not treat this branch as verified or ready until all blockers are
resolved. No deployment, restart or production migration was performed.
Loading
Loading