@cartanova/qgrid-cli 2.22.2 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/dist/application/qgrid/model-catalog.js +62 -0
- package/bundle/dist/application/qgrid/openai-compat.js +127 -0
- package/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +2 -2
- package/bundle/dist/application/qgrid/qgrid.frame.js +204 -8
- package/bundle/dist/application/qgrid/qgrid.types.js +82 -2
- package/bundle/dist/application/qgrid/transcribe-stream.js +282 -0
- package/bundle/dist/application/queries.generated.js +2 -1
- package/bundle/dist/application/request-log/request-log.model.js +5 -4
- package/bundle/dist/server-error-handler.js +6 -3
- package/bundle/dist/sonamu.config.js +5 -2
- package/bundle/dist/utils/providers/anthropic/anthropic-constants.js +8 -2
- package/bundle/dist/utils/providers/anthropic/anthropic-quota.js +1 -1
- package/bundle/dist/utils/providers/common/model-cost.js +29 -2
- package/bundle/dist/utils/providers/openai/openai-dispatcher.js +9 -1
- package/bundle/dist/utils/providers/openai/openai-realtime-protocol.js +38 -6
- package/bundle/dist/utils/providers/openai/openai-voice-client.js +131 -3
- package/bundle/src/application/qgrid/model-catalog.test.ts +37 -0
- package/bundle/src/application/qgrid/model-catalog.ts +85 -0
- package/bundle/src/application/qgrid/openai-compat.test.ts +99 -0
- package/bundle/src/application/qgrid/openai-compat.ts +157 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +1 -1
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +1 -1
- package/bundle/src/application/qgrid/qgrid.frame.test.ts +5 -0
- package/bundle/src/application/qgrid/qgrid.frame.ts +294 -0
- package/bundle/src/application/qgrid/qgrid.types.ts +134 -0
- package/bundle/src/application/qgrid/transcribe-stream.test.ts +165 -0
- package/bundle/src/application/qgrid/transcribe-stream.ts +381 -0
- package/bundle/src/application/queries.generated.ts +3 -0
- package/bundle/src/application/request-log/request-log.model.test.ts +4 -3
- package/bundle/src/application/request-log/request-log.model.ts +4 -3
- package/bundle/src/application/sonamu.generated.http +12 -0
- package/bundle/src/server-error-handler.ts +10 -7
- package/bundle/src/sonamu.config.ts +4 -0
- package/bundle/src/utils/providers/anthropic/anthropic-constants.test.ts +3 -0
- package/bundle/src/utils/providers/anthropic/anthropic-constants.ts +3 -1
- package/bundle/src/utils/providers/anthropic/anthropic-quota.ts +1 -1
- package/bundle/src/utils/providers/common/effort.test.ts +2 -0
- package/bundle/src/utils/providers/common/model-cost.test.ts +11 -0
- package/bundle/src/utils/providers/common/model-cost.ts +43 -5
- package/bundle/src/utils/providers/openai/openai-dispatcher.ts +15 -0
- package/bundle/src/utils/providers/openai/openai-realtime-protocol.ts +46 -5
- package/bundle/src/utils/providers/openai/openai-voice-client.test.ts +89 -2
- package/bundle/src/utils/providers/openai/openai-voice-client.ts +188 -0
- package/bundle/web-dist/client/assets/index-CtkfXtee.js +104 -0
- package/bundle/web-dist/client/assets/logs-C_U9lGtE.js +1 -0
- package/bundle/web-dist/client/assets/{monit-0qjGcPcD.js → monit-CNQyE4bk.js} +1 -1
- package/bundle/web-dist/client/assets/{routes-D53FyOOp.js → routes-72N6ogd2.js} +2 -2
- package/bundle/web-dist/client/assets/{settings-Cbz57odO.js → settings-DbwnDBrc.js} +1 -1
- package/bundle/web-dist/client/assets/{show-Boi25Rbi.js → show-BPkKGDnC.js} +2 -2
- package/bundle/web-dist/client/assets/tokens-2ig4rFfF.js +1 -0
- package/bundle/web-dist/client/assets/{use-oauth-login-flow-CjFv4NI0.js → use-oauth-login-flow-CvjEVH_T.js} +1 -1
- package/bundle/web-dist/client/assets/use-update-token-mutation-C8viUPmK.js +1 -0
- package/bundle/web-dist/client/assets/{voice-BDO8X2H0.js → voice-D2RSPjn9.js} +2 -2
- package/bundle/web-dist/client/index.html +1 -1
- package/bundle/web-dist/server/assets/{TimedPlayer-mpJpP5tQ.js → TimedPlayer-B9ds1sqM.js} +1 -1
- package/bundle/web-dist/server/assets/{logs-CFa_xamY.js → logs-JziKvWBp.js} +3 -3
- package/bundle/web-dist/server/assets/{monit-BF6osfj5.js → monit-CzjNOowb.js} +2 -2
- package/bundle/web-dist/server/assets/{plus-DwQFfeid.js → plus-BrRDgdaN.js} +1 -1
- package/bundle/web-dist/server/assets/{refresh-cw-Bj-Jxeb6.js → refresh-cw-wU5-wVTi.js} +1 -1
- package/bundle/web-dist/server/assets/{request-model-D_iYrudl.js → request-model-D07WSRKx.js} +1 -1
- package/bundle/web-dist/server/assets/{routes-B6be8sJP.js → routes-C1tDj0QN.js} +3 -3
- package/bundle/web-dist/server/assets/{services.generated-D0995hJr.js → services.generated-rlOX8J2n.js} +201 -0
- package/bundle/web-dist/server/assets/{settings-DAle7AgI.js → settings-DJQUI8bU.js} +3 -3
- package/bundle/web-dist/server/assets/{show-BTSdMDoM.js → show-BElTj6MG.js} +3 -3
- package/bundle/web-dist/server/assets/{tokens-Bc9flfLz.js → tokens-CRpUPv-5.js} +4 -4
- package/bundle/web-dist/server/assets/{use-oauth-login-flow-C7c0gCjf.js → use-oauth-login-flow-DLRPNhNE.js} +1 -1
- package/bundle/web-dist/server/assets/{use-update-token-mutation-DLJDGdxu.js → use-update-token-mutation-DJkct-j8.js} +1 -1
- package/bundle/web-dist/server/assets/{voice-CEQT57xZ.js → voice-BZBlBBpn.js} +4 -10
- package/bundle/web-dist/server/entry-server.generated.js +118 -26
- package/package.json +1 -1
- package/skills/qgrid/references/anthropic-claude-code-runtime.md +4 -3
- package/skills/qgrid/references/openai-codex-runtime.md +29 -10
- package/skills/qgrid/references/sonamu-api-web-flow.md +1 -1
- package/bundle/web-dist/client/assets/index-CiSsWsVT.js +0 -104
- package/bundle/web-dist/client/assets/logs-Bir9gDzp.js +0 -1
- package/bundle/web-dist/client/assets/tokens-BuK8BpAd.js +0 -1
- package/bundle/web-dist/client/assets/use-update-token-mutation-BKufO9oe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as __commonJSMin, A as union, B as functionalUpdate$1, C as looseObject, D as record, E as object, F as Query, G as noop, H as hashQueryKeyByOptions, I as onlineManager, J as skipToken, K as partialMatchKey, L as notifyManager, O as string$2, P as Mutation, Q as require_react, R as focusManager, S as literal, T as number$1, U as matchMutation, V as hashKey, W as matchQuery, Y as QueryClientProvider, Z as require_jsx_runtime, _ as custom, b as int, c as fetch$1, d as SD, et as __exportAll, f as SUPPORTED_LOCALES, g as boolean$1, h as array, j as unknown, k as tuple, m as _enum, n as QgridService, nt as __toESM, o as TokenService, p as setLocale, q as resolveQueryValue, s as SonamuQueryMode, tt as __require, u as zArrayable, v as date, w as never, x as json, y as discriminatedUnion, z as Subscribable } from "./assets/services.generated-
|
|
1
|
+
import { $ as __commonJSMin, A as union, B as functionalUpdate$1, C as looseObject, D as record, E as object, F as Query, G as noop, H as hashQueryKeyByOptions, I as onlineManager, J as skipToken, K as partialMatchKey, L as notifyManager, O as string$2, P as Mutation, Q as require_react, R as focusManager, S as literal, T as number$1, U as matchMutation, V as hashKey, W as matchQuery, Y as QueryClientProvider, Z as require_jsx_runtime, _ as custom, b as int, c as fetch$1, d as SD, et as __exportAll, f as SUPPORTED_LOCALES, g as boolean$1, h as array, j as unknown, k as tuple, m as _enum, n as QgridService, nt as __toESM, o as TokenService, p as setLocale, q as resolveQueryValue, s as SonamuQueryMode, tt as __require, u as zArrayable, v as date, w as never, x as json, y as discriminatedUnion, z as Subscribable } from "./assets/services.generated-rlOX8J2n.js";
|
|
2
2
|
import minpath from "node:path";
|
|
3
3
|
import minproc from "node:process";
|
|
4
4
|
import { fileURLToPath as urlToPath } from "node:url";
|
|
@@ -52300,16 +52300,12 @@ var ForwardRef = (0, import_react.forwardRef)(lucideX);
|
|
|
52300
52300
|
//#endregion
|
|
52301
52301
|
//#region src/assets/chat-icon.png
|
|
52302
52302
|
var chat_icon_default = "/assets/chat-icon-JYfue7fB.png";
|
|
52303
|
-
|
|
52304
|
-
//#region src/services/qgrid/qgrid.types.ts
|
|
52305
|
-
/**
|
|
52306
|
-
* @generated
|
|
52307
|
-
* API에서 동기화된 파일입니다. 직접 수정하지 마세요.
|
|
52308
|
-
*/
|
|
52309
|
-
var QGRID_MODEL_GROUPS = [
|
|
52303
|
+
var QGRID_MODELS = [
|
|
52310
52304
|
{
|
|
52311
52305
|
label: "OpenAI",
|
|
52312
52306
|
models: [
|
|
52307
|
+
"openai/gpt-6.2-astra",
|
|
52308
|
+
"openai/gpt-6.2-sol",
|
|
52313
52309
|
"openai/gpt-6-astra",
|
|
52314
52310
|
"openai/gpt-6.1-sol",
|
|
52315
52311
|
"openai/gpt-6.1-terra",
|
|
@@ -52323,6 +52319,7 @@ var QGRID_MODEL_GROUPS = [
|
|
|
52323
52319
|
{
|
|
52324
52320
|
label: "Anthropic",
|
|
52325
52321
|
models: [
|
|
52322
|
+
"anthropic/claude-fable-5-2",
|
|
52326
52323
|
"anthropic/claude-fable-5-1",
|
|
52327
52324
|
"anthropic/claude-fable-5",
|
|
52328
52325
|
"anthropic/claude-opus-5-5",
|
|
@@ -52347,8 +52344,7 @@ var QGRID_MODEL_GROUPS = [
|
|
|
52347
52344
|
"grok/grok-4.5"
|
|
52348
52345
|
]
|
|
52349
52346
|
}
|
|
52350
|
-
];
|
|
52351
|
-
var QGRID_MODELS = QGRID_MODEL_GROUPS.flatMap((group) => group.models);
|
|
52347
|
+
].flatMap((group) => group.models);
|
|
52352
52348
|
var Effort = _enum([
|
|
52353
52349
|
"low",
|
|
52354
52350
|
"medium",
|
|
@@ -52712,6 +52708,47 @@ object({
|
|
|
52712
52708
|
prompt: string$2().min(1).max(2e3).optional(),
|
|
52713
52709
|
...MediaCallOptions
|
|
52714
52710
|
});
|
|
52711
|
+
/** One second of 24 kHz PCM16 is 48,000 bytes, 64,000 base64 characters; frames are capped there. */
|
|
52712
|
+
var STREAM_AUDIO_MAX_BASE64 = 64e3;
|
|
52713
|
+
var TranscribeStreamStart = object({
|
|
52714
|
+
model: string$2().regex(/^openai\/[A-Za-z0-9._-]+$/, "model must be openai/<id>").optional(),
|
|
52715
|
+
language: string$2().min(1).max(16).optional(),
|
|
52716
|
+
prompt: string$2().min(1).max(2e3).optional(),
|
|
52717
|
+
sampleRate: union([literal(16e3), literal(24e3)]),
|
|
52718
|
+
...MediaCallOptions
|
|
52719
|
+
});
|
|
52720
|
+
object({
|
|
52721
|
+
start: TranscribeStreamStart,
|
|
52722
|
+
audio: object({ pcm: string$2().min(1).max(STREAM_AUDIO_MAX_BASE64).refine((value) => value.length % 4 === 0 && BASE64.test(value), "pcm must be base64") }),
|
|
52723
|
+
commit: object({}),
|
|
52724
|
+
stop: object({})
|
|
52725
|
+
});
|
|
52726
|
+
object({
|
|
52727
|
+
ready: object({
|
|
52728
|
+
model: string$2(),
|
|
52729
|
+
tokenName: string$2(),
|
|
52730
|
+
requestLogId: number$1().optional()
|
|
52731
|
+
}),
|
|
52732
|
+
delta: object({
|
|
52733
|
+
segmentId: string$2(),
|
|
52734
|
+
text: string$2()
|
|
52735
|
+
}),
|
|
52736
|
+
segment: object({
|
|
52737
|
+
segmentId: string$2(),
|
|
52738
|
+
text: string$2(),
|
|
52739
|
+
startMs: number$1(),
|
|
52740
|
+
endMs: number$1()
|
|
52741
|
+
}),
|
|
52742
|
+
error: object({
|
|
52743
|
+
message: string$2(),
|
|
52744
|
+
fatal: boolean$1()
|
|
52745
|
+
}),
|
|
52746
|
+
done: object({
|
|
52747
|
+
audioMs: number$1(),
|
|
52748
|
+
segments: number$1(),
|
|
52749
|
+
requestLogId: number$1().optional()
|
|
52750
|
+
})
|
|
52751
|
+
});
|
|
52715
52752
|
var TranscribedWord = object({
|
|
52716
52753
|
text: string$2(),
|
|
52717
52754
|
start: number$1(),
|
|
@@ -52986,6 +53023,42 @@ object({
|
|
|
52986
53023
|
grok: ProviderStartupState.optional()
|
|
52987
53024
|
})
|
|
52988
53025
|
});
|
|
53026
|
+
var CatalogTokenPricing = object({
|
|
53027
|
+
input: number$1(),
|
|
53028
|
+
output: number$1(),
|
|
53029
|
+
cachedInput: number$1(),
|
|
53030
|
+
cacheWrite: number$1().optional(),
|
|
53031
|
+
cacheWrite5m: number$1().optional(),
|
|
53032
|
+
cacheWrite1h: number$1().optional(),
|
|
53033
|
+
longContext: object({
|
|
53034
|
+
threshold: number$1(),
|
|
53035
|
+
inputMultiplier: number$1(),
|
|
53036
|
+
cachedInputMultiplier: number$1(),
|
|
53037
|
+
outputMultiplier: number$1()
|
|
53038
|
+
}).optional(),
|
|
53039
|
+
fastMultiplier: number$1().optional()
|
|
53040
|
+
});
|
|
53041
|
+
var CatalogTextModel = object({
|
|
53042
|
+
id: string$2(),
|
|
53043
|
+
provider: string$2(),
|
|
53044
|
+
available: boolean$1(),
|
|
53045
|
+
pricing: CatalogTokenPricing,
|
|
53046
|
+
efforts: array(string$2()),
|
|
53047
|
+
imageInput: boolean$1()
|
|
53048
|
+
});
|
|
53049
|
+
var CatalogSpeechModel = object({
|
|
53050
|
+
id: string$2(),
|
|
53051
|
+
provider: string$2(),
|
|
53052
|
+
available: boolean$1(),
|
|
53053
|
+
usdPerMinute: number$1().optional(),
|
|
53054
|
+
prompt: boolean$1(),
|
|
53055
|
+
liveDraft: boolean$1()
|
|
53056
|
+
});
|
|
53057
|
+
object({
|
|
53058
|
+
text: array(CatalogTextModel),
|
|
53059
|
+
transcription: array(CatalogSpeechModel),
|
|
53060
|
+
transcriptionStream: array(CatalogSpeechModel)
|
|
53061
|
+
});
|
|
52989
53062
|
var OPENAI_DECISION_MODEL = "gpt-6-luna";
|
|
52990
53063
|
var DECISION_IMAGE_DATA_URL = /^data:image\/(?:png|jpeg|webp|gif);base64,([A-Za-z0-9+/]*={0,2})$/;
|
|
52991
53064
|
function decisionInlineImageBytes(url) {
|
|
@@ -53380,6 +53453,31 @@ function ChatImagePreview({ url, onClose }) {
|
|
|
53380
53453
|
}), document.body);
|
|
53381
53454
|
}
|
|
53382
53455
|
//#endregion
|
|
53456
|
+
//#region src/components/qgrid/ModelOptions.tsx
|
|
53457
|
+
var PROVIDER_LABELS$1 = /* @__PURE__ */ new Map([
|
|
53458
|
+
["openai", "OpenAI"],
|
|
53459
|
+
["anthropic", "Anthropic"],
|
|
53460
|
+
["grok", "Grok"]
|
|
53461
|
+
]);
|
|
53462
|
+
/**
|
|
53463
|
+
* `<option>`s for a text-model `<select>`, read from the server's models API so a new model needs
|
|
53464
|
+
* no dashboard change. The selected value stays listed while the catalog loads or if it is absent.
|
|
53465
|
+
*/
|
|
53466
|
+
function ModelOptions({ selected }) {
|
|
53467
|
+
const text = QgridService.useModels().data?.text ?? [];
|
|
53468
|
+
const groups = Map.groupBy(text, (m) => m.provider);
|
|
53469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [!text.some((m) => m.id === selected) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
|
|
53470
|
+
value: selected,
|
|
53471
|
+
children: selected
|
|
53472
|
+
}), [...groups].map(([provider, models]) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("optgroup", {
|
|
53473
|
+
label: PROVIDER_LABELS$1.get(provider) ?? provider,
|
|
53474
|
+
children: models.map(({ id }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
|
|
53475
|
+
value: id,
|
|
53476
|
+
children: id
|
|
53477
|
+
}, id))
|
|
53478
|
+
}, provider))] });
|
|
53479
|
+
}
|
|
53480
|
+
//#endregion
|
|
53383
53481
|
//#region src/components/qgrid/ChatWidget.tsx
|
|
53384
53482
|
var CHAT_PROJECT_NAME = "qgrid_chat";
|
|
53385
53483
|
var DEFAULT_MODEL = "anthropic/claude-fable-5-1";
|
|
@@ -53697,13 +53795,7 @@ function ChatWidget() {
|
|
|
53697
53795
|
onChange: (e) => setModel(e.target.value),
|
|
53698
53796
|
disabled: busy,
|
|
53699
53797
|
className: "min-w-0 flex-1 rounded-xl border border-sand-200/80 bg-white px-2 py-1.5 text-[12px] text-sand-800 focus:outline-none focus:border-sienna-300 disabled:opacity-50",
|
|
53700
|
-
children:
|
|
53701
|
-
label: group.label,
|
|
53702
|
-
children: group.models.map((m) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
|
|
53703
|
-
value: m,
|
|
53704
|
-
children: m
|
|
53705
|
-
}, m))
|
|
53706
|
-
}, group.label))
|
|
53798
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ModelOptions, { selected: model })
|
|
53707
53799
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("select", {
|
|
53708
53800
|
value: effort,
|
|
53709
53801
|
onChange: (e) => setEffort(e.target.value),
|
|
@@ -53973,7 +54065,7 @@ function ChatWidget() {
|
|
|
53973
54065
|
}
|
|
53974
54066
|
//#endregion
|
|
53975
54067
|
//#region src/components/Sidebar.tsx
|
|
53976
|
-
var qgridVersion = "2.
|
|
54068
|
+
var qgridVersion = "2.23.1";
|
|
53977
54069
|
function Sidebar({ className }) {
|
|
53978
54070
|
const pathname = useRouterState({ select: (s) => s.location.pathname });
|
|
53979
54071
|
const { tab: currentTab = "tts" } = useSearch({ strict: false });
|
|
@@ -56189,7 +56281,7 @@ function RootComponent() {
|
|
|
56189
56281
|
}
|
|
56190
56282
|
//#endregion
|
|
56191
56283
|
//#region src/routes/index.tsx
|
|
56192
|
-
var $$splitComponentImporter$6 = () => import("./assets/routes-
|
|
56284
|
+
var $$splitComponentImporter$6 = () => import("./assets/routes-C1tDj0QN.js");
|
|
56193
56285
|
var Route$6 = createFileRoute("/")({ component: lazyRouteComponent($$splitComponentImporter$6, "component") });
|
|
56194
56286
|
//#endregion
|
|
56195
56287
|
//#region src/services/sonamu.generated.ts
|
|
@@ -56596,7 +56688,7 @@ object({
|
|
|
56596
56688
|
_enum(["A"]);
|
|
56597
56689
|
//#endregion
|
|
56598
56690
|
//#region src/routes/logs.tsx
|
|
56599
|
-
var $$splitComponentImporter$5 = () => import("./assets/logs-
|
|
56691
|
+
var $$splitComponentImporter$5 = () => import("./assets/logs-JziKvWBp.js");
|
|
56600
56692
|
var logsSearchSchema = object({
|
|
56601
56693
|
token: string$2().optional(),
|
|
56602
56694
|
project: string$2().optional(),
|
|
@@ -56612,7 +56704,7 @@ var Route$5 = createFileRoute("/logs")({
|
|
|
56612
56704
|
});
|
|
56613
56705
|
//#endregion
|
|
56614
56706
|
//#region src/routes/monit.tsx
|
|
56615
|
-
var $$splitComponentImporter$4 = () => import("./assets/monit-
|
|
56707
|
+
var $$splitComponentImporter$4 = () => import("./assets/monit-CzjNOowb.js");
|
|
56616
56708
|
var monitSearchSchema = object({ level: _enum([
|
|
56617
56709
|
"all",
|
|
56618
56710
|
"warn",
|
|
@@ -56624,15 +56716,15 @@ var Route$4 = createFileRoute("/monit")({
|
|
|
56624
56716
|
});
|
|
56625
56717
|
//#endregion
|
|
56626
56718
|
//#region src/routes/settings.tsx
|
|
56627
|
-
var $$splitComponentImporter$3 = () => import("./assets/settings-
|
|
56719
|
+
var $$splitComponentImporter$3 = () => import("./assets/settings-DJQUI8bU.js");
|
|
56628
56720
|
var Route$3 = createFileRoute("/settings")({ component: lazyRouteComponent($$splitComponentImporter$3, "component") });
|
|
56629
56721
|
//#endregion
|
|
56630
56722
|
//#region src/routes/tokens.tsx
|
|
56631
|
-
var $$splitComponentImporter$2 = () => import("./assets/tokens-
|
|
56723
|
+
var $$splitComponentImporter$2 = () => import("./assets/tokens-CRpUPv-5.js");
|
|
56632
56724
|
var Route$2 = createFileRoute("/tokens")({ component: lazyRouteComponent($$splitComponentImporter$2, "component") });
|
|
56633
56725
|
//#endregion
|
|
56634
56726
|
//#region src/routes/voice.tsx
|
|
56635
|
-
var $$splitComponentImporter$1 = () => import("./assets/voice-
|
|
56727
|
+
var $$splitComponentImporter$1 = () => import("./assets/voice-BZBlBBpn.js");
|
|
56636
56728
|
var voiceSearchSchema = object({ tab: _enum(VOICE_TAB_IDS).optional() });
|
|
56637
56729
|
var Route$1 = createFileRoute("/voice")({
|
|
56638
56730
|
validateSearch: voiceSearchSchema,
|
|
@@ -56640,7 +56732,7 @@ var Route$1 = createFileRoute("/voice")({
|
|
|
56640
56732
|
});
|
|
56641
56733
|
//#endregion
|
|
56642
56734
|
//#region src/routes/requests/show.tsx
|
|
56643
|
-
var $$splitComponentImporter = () => import("./assets/show-
|
|
56735
|
+
var $$splitComponentImporter = () => import("./assets/show-BElTj6MG.js");
|
|
56644
56736
|
var showSearchSchema = object({ id: number$1() });
|
|
56645
56737
|
var Route = createFileRoute("/requests/show")({
|
|
56646
56738
|
validateSearch: showSearchSchema,
|
|
@@ -56729,4 +56821,4 @@ async function render(url, preloadedData = []) {
|
|
|
56729
56821
|
};
|
|
56730
56822
|
}
|
|
56731
56823
|
//#endregion
|
|
56732
|
-
export { VOICE_TAB_TITLES as _, RequestLogOrderBy as a, Link as b,
|
|
56824
|
+
export { VOICE_TAB_TITLES as _, RequestLogOrderBy as a, Link as b, GROK_TTS_VOICES as c, ForwardRef as d, ForwardRef$1 as f, VOICE_TAB_IDS as g, Markdown as h, Route$5 as i, OPENAI_LIVE_VOICES as l, remarkGfm as m, Route$1 as n, ModelOptions as o, ForwardRef$3 as p, Route$4 as r, render, Effort as s, Route as t, OPENAI_SPEECH_VOICES as u, ForwardRef$8 as v, useNavigate as x, require_react_dom as y };
|
package/package.json
CHANGED
|
@@ -98,8 +98,8 @@ Important details:
|
|
|
98
98
|
- Large system prompts over 64 KiB are written to a temporary file to avoid argv `E2BIG` — this
|
|
99
99
|
same branch absorbs large injected schema contracts, so the old 64 KiB schema argv limit no
|
|
100
100
|
longer applies (only the global 512 KiB caller-schema complexity limit remains).
|
|
101
|
-
- One policy resolves the CLI thinking flag and effort before spawning. Omission preserves the existing model policy: Fable 5/5.1, Opus 5/5.5, Sonnet 5.5 and Haiku 5.5 keep adaptive defaults; other models use `--thinking disabled`. Explicit `true` uses `--thinking adaptive` and the normal effort resolution. Explicit `false` uses `--thinking disabled --effort low` only on supported models, ignoring caller/default effort. `CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING` and `MAX_THINKING_TOKENS` are no longer sent. Do not reintroduce overlapping suppressors or inherit `CLAUDE_CODE_EFFORT_LEVEL`.
|
|
102
|
-
- The 2026-10-10 off policy includes Haiku 4.5/5.5, Sonnet 4.5/4.6/5/5.5, and Opus 4.5/4.6/4.7/4.8/5. Fable 5/5.1 and Opus 5.5 reject disabled thinking at the backend. Off requests for unverified models fail before spawning instead of changing models or silently enabling thinking.
|
|
101
|
+
- One policy resolves the CLI thinking flag and effort before spawning. Omission preserves the existing model policy: Fable 5/5.1/5.2, Opus 5/5.5, Sonnet 5.5 and Haiku 5.5 keep adaptive defaults; other models use `--thinking disabled`. Explicit `true` uses `--thinking adaptive` and the normal effort resolution. Explicit `false` uses `--thinking disabled --effort low` only on supported models, ignoring caller/default effort. `CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING` and `MAX_THINKING_TOKENS` are no longer sent. Do not reintroduce overlapping suppressors or inherit `CLAUDE_CODE_EFFORT_LEVEL`.
|
|
102
|
+
- The 2026-10-10 off policy includes Haiku 4.5/5.5, Sonnet 4.5/4.6/5/5.5, and Opus 4.5/4.6/4.7/4.8/5. Fable 5/5.1 and Opus 5.5 reject disabled thinking at the backend; Fable 5.2 (added 2026-11-23) is documented as always-on adaptive and is rejected by the same pre-spawn check, not by a live backend probe. Off requests for unverified models fail before spawning instead of changing models or silently enabling thinking.
|
|
103
103
|
- Haiku 5.5 and Sonnet 5.5 require Claude Code 2.1.295 or newer for explicit false. Cache the result of `claude --version`; unknown or older versions return an input error. The policy computes `CLAUDE_CODE_EXTRA_BODY` containing only `thinking: {type: "disabled"}` for Haiku or `thinking: {type: "between_tools"}` for Sonnet, alongside `--thinking disabled --effort low`. Native delivery was verified on 2.1.295; invalid-type and Sonnet-disabled negative controls confirmed that the CLI applied the body field. `between_tools` disables pre-answer thinking but may emit thinking blocks between tools. Never inherit this env variable or expose arbitrary body overrides to callers.
|
|
104
104
|
- Legacy environment suppression versus CLI-only disabled was compared on Sonnet 4.6 and Opus 4.8: both completed with zero thinking tokens in the short-text baseline. The comparison supports removing the duplicate suppressors without changing the omitted-option policy.
|
|
105
105
|
|
|
@@ -189,7 +189,7 @@ cacheCreationInputTokens1h = cache_creation.ephemeral_1h_input_tokens
|
|
|
189
189
|
|
|
190
190
|
## Fable refusal fallback
|
|
191
191
|
|
|
192
|
-
Fable 5 and
|
|
192
|
+
Fable 5, 5.1, and 5.2 run upstream safety classifiers. A refusal is a successful HTTP response with
|
|
193
193
|
`stop_reason: "refusal"`, not an HTTP/provider error, and can happen before output or after
|
|
194
194
|
partial streamed output. Claude Code handles the refusal fallback and can retry on another Opus
|
|
195
195
|
model; the current CLI routes by refusal category (bio → Opus 5, cyber → Opus 4.8). Do not
|
|
@@ -258,6 +258,7 @@ Model normalization strips provider prefix and `[1m]` for canonical model/cost k
|
|
|
258
258
|
|
|
259
259
|
qgrid's exact 1M support set currently includes:
|
|
260
260
|
|
|
261
|
+
- `claude-fable-5-2`
|
|
261
262
|
- `claude-fable-5-1`
|
|
262
263
|
- `claude-fable-5`
|
|
263
264
|
- `claude-opus-5`
|
|
@@ -37,8 +37,10 @@ availability or identical limits on qgrid's ChatGPT-subscription route.
|
|
|
37
37
|
`packages/api/src/utils/providers/common/model-cost.ts`. Preserve existing historical model
|
|
38
38
|
rows. The shared calculator also prices request logs; no separate dashboard price table is needed.
|
|
39
39
|
4. Add `openai/<slug>` to `QgridSupportedModel` in `packages/ai-sdk/src/index.types.ts` and
|
|
40
|
-
`
|
|
41
|
-
|
|
40
|
+
`QGRID_MODEL_GROUPS` in `packages/api/src/application/qgrid/qgrid.types.ts`. That list feeds the
|
|
41
|
+
`/api/qgrid/models` catalog, which the dashboard chat and voice model selectors read at runtime
|
|
42
|
+
(`ModelOptions.tsx`), so no dashboard component changes are needed. The web package does not import
|
|
43
|
+
the SDK model union. Keep existing defaults unless a default change is requested.
|
|
42
44
|
5. Verify model ID and effort propagation through SDK generation/streaming, provider dispatch,
|
|
43
45
|
Responses construction, and returned model metadata. New models use the existing OpenAI
|
|
44
46
|
route; do not add a second transport or enable built-in tools automatically.
|
|
@@ -49,7 +51,7 @@ availability or identical limits on qgrid's ChatGPT-subscription route.
|
|
|
49
51
|
Report mocked tests separately from any live smoke test. Model registration does not authorize
|
|
50
52
|
a release, version bump, deployment, or remote migration.
|
|
51
53
|
|
|
52
|
-
### GPT-6 Astra, Sol, Luna, GPT-6.1 Sol, and GPT-6.
|
|
54
|
+
### GPT-6 Astra, Sol, Luna, GPT-6.1 Sol, GPT-6.1 Terra, and GPT-6.2 Astra/Sol
|
|
53
55
|
|
|
54
56
|
`openai/gpt-6-astra` uses the existing text generation, streaming and structured-output paths.
|
|
55
57
|
The model supports image input. The language-model SDK adapter forwards user-message image parts
|
|
@@ -101,6 +103,19 @@ maximum input, 128K maximum output, and effort `none` through `max`. On 2026-10-
|
|
|
101
103
|
output succeeded through a local qgrid server, and a direct probe with qgrid's client accepted `effort: "none"`
|
|
102
104
|
with zero reasoning tokens.
|
|
103
105
|
|
|
106
|
+
`openai/gpt-6.2-astra` and `openai/gpt-6.2-sol` (released 2026-11-17) use the same paths. Standard prices per
|
|
107
|
+
million tokens: Astra input $8, cached input $0.40, cache write $10, output $40 (20% below GPT-6 Astra except cached
|
|
108
|
+
input); Sol input $2, cached input $0.10, cache write $2.50, output $10 (identical to GPT-6.1 Sol). Both apply the same
|
|
109
|
+
272K multipliers and the 2x Fast rate. Ultrafast is a public-API tier for both (3x Standard through 2027-02-28, 6x from
|
|
110
|
+
2027-03-01); qgrid does not price it. The Codex subscription catalog fetched 2026-11-18 with `client_version=0.169.0`
|
|
111
|
+
lists `context_window=272000` for Astra and `500000` for Sol, effort through `ultra`, default `low`, and
|
|
112
|
+
`multi_agent_reasoning_effort=xhigh`. The model pages
|
|
113
|
+
([Astra](https://developers.openai.com/api/docs/models/gpt-6.2-astra), [Sol](https://developers.openai.com/api/docs/models/gpt-6.2-sol))
|
|
114
|
+
list 1.05M context, 922K maximum input, 128K maximum output, structured outputs, and state that the API rejects effort
|
|
115
|
+
`none`. On 2026-11-18, `low`, `ultra`, and structured output succeeded for both through a local qgrid server
|
|
116
|
+
(Astra `ultra` once returned a transient `servers are currently overloaded` before succeeding). Thinking off was not
|
|
117
|
+
probed; both stay outside `THINKING_OFF_MODELS`.
|
|
118
|
+
|
|
104
119
|
`ultra` is a Codex client mode, not a wire value: the backend rejects it with `Invalid value: 'ultra'` and accepts
|
|
105
120
|
effort only through `max`. Codex CLI pairs `ultra` with sub-agent delegation and sends the catalog's
|
|
106
121
|
`multi_agent_reasoning_effort` (`xhigh` for Astra and GPT-6.1 Sol/Terra), else `max`, else the highest supported
|
|
@@ -110,11 +125,13 @@ single-request reasoning; request logs keep the requested `ultra`. Before this m
|
|
|
110
125
|
|
|
111
126
|
## Existing OpenAI model pricing and limits
|
|
112
127
|
|
|
113
|
-
Checked 2026-09-23 (GPT-6.1 rows 2026-10-27) against the official [Standard pricing table](https://developers.openai.com/api/docs/pricing)
|
|
128
|
+
Checked 2026-09-23 (GPT-6.1 rows 2026-10-27, GPT-6.2 rows 2026-11-18) against the official [Standard pricing table](https://developers.openai.com/api/docs/pricing)
|
|
114
129
|
and the local Codex subscription catalog. Prices are USD per million tokens:
|
|
115
130
|
|
|
116
131
|
| Model | Input | Cached input | Cache write | Output | Codex context | Maximum Codex effort |
|
|
117
132
|
|---|---:|---:|---:|---:|---:|---|
|
|
133
|
+
| GPT-6.2 Astra | 8 | 0.40 | 10 | 40 | 272K | ultra |
|
|
134
|
+
| GPT-6.2 Sol | 2 | 0.10 | 2.50 | 10 | 500K | ultra |
|
|
118
135
|
| GPT-6 Astra | 10 | 1 | 12.50 | 50 | 272K | ultra |
|
|
119
136
|
| GPT-6.1 Sol | 2 | 0.10 | 2.50 | 10 | 500K | ultra |
|
|
120
137
|
| GPT-6.1 Terra | 1 | 0.05 | 1.25 | 5 | 500K | ultra |
|
|
@@ -129,13 +146,14 @@ GPT-5.3-Codex-Spark has a 128K catalog context and effort through `xhigh`; its t
|
|
|
129
146
|
remains an explicitly documented generic estimate. Retired model pricing rows remain for legacy logs.
|
|
130
147
|
The catalog does not establish a maximum output size. GPT-5.6 public API specifications list 1.05M
|
|
131
148
|
context, 922K maximum input and 128K maximum output; do not conflate them with the subscription limits.
|
|
132
|
-
Codex default effort is `low` for GPT-6.1 Sol/Terra and GPT-5.6 Sol, `medium` for GPT-6 Astra/Sol/Luna, GPT-5.6 Terra/Luna and GPT-5.5, and `high` for Spark.
|
|
149
|
+
Codex default effort is `low` for GPT-6.2 Astra/Sol, GPT-6.1 Sol/Terra and GPT-5.6 Sol, `medium` for GPT-6 Astra/Sol/Luna, GPT-5.6 Terra/Luna and GPT-5.5, and `high` for Spark.
|
|
133
150
|
GPT-5.5 is retired from the Codex/ChatGPT route (announced for 2026-10-14; on 2026-11-13 a live request through qgrid returned `The 'gpt-5.5' model is not supported when using Codex with a ChatGPT account.`; the API-key route is unaffected); it stays in the SDK type and price table but is excluded from chat presets.
|
|
134
151
|
The SDK default remains `low` regardless of the backend default.
|
|
135
152
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
rates until another official rate is published; never guess a future reversion.
|
|
153
|
+
Sol's promotional pricing ends 2026-11-30 (pricing page footnote, checked 2026-11-23; see the
|
|
154
|
+
[model page](https://developers.openai.com/api/docs/models/gpt-5.6-sol)). The rate after that is not published.
|
|
155
|
+
Keep the latest verified rates until another official rate is published; never guess a future reversion.
|
|
156
|
+
All OpenAI rows in `model-cost.ts` were re-verified against the pricing page on 2026-11-23 without changes. Above 272K input,
|
|
139
157
|
GPT-6, GPT-5.6 and GPT-5.5 apply 2x input/cache and 1.5x output to the full request.
|
|
140
158
|
|
|
141
159
|
Changing the price table affects new calculations and legacy estimates that resolve rates on read.
|
|
@@ -256,11 +274,12 @@ Sources: `openai-realtime-protocol.ts` (GPT-Live section), `OpenAIVoiceClient.cr
|
|
|
256
274
|
- Shape: the caller's own WebRTC peer (browser `RTCPeerConnection` with an `oai-events` data channel) makes the SDP offer; `POST /api/qgrid/liveCall` exchanges it and returns the answer; audio and events then flow between the caller and OpenAI. qgrid holds no media and adds no WebRTC dependency.
|
|
257
275
|
- Exchange: `POST https://chatgpt.com/backend-api/codex/realtime/calls?intent=quicksilver&architecture=avas` with `{sdp, session: {model, instructions, audio: {output: {voice}}, delegation: {type: "client"}}}` and the Codex realtime headers plus `OpenAI-Alpha: quicksilver=v2` (Codex `realtime_request_headers`; without it the POST is 400 `invalid_quicksilver_alpha_header`). `201`, `Location: /v1/realtime/calls/rtc_…`, body = the SDP answer as `text/plain`.
|
|
258
276
|
- Refused on subscription: the direct sockets `wss://api.openai.com/v1/live?model=…` and the public `/v1/live/sessions` (`session.start`) answer `forbidden: Voice session access denied.` with or without the alpha header (Codex `realtime_api_key`: realtime websockets still want an API key for ChatGPT sessions). The `/calls` sideband accepts no audio-append command, so the STT trick (synthetic SDP plus sideband audio) does not carry over: a session without a media peer never advances (`audio_duration_ms` stays 0).
|
|
259
|
-
- Model and voices: the backend ignores `session.model` (made-up names opened sessions), so qgrid sends Codex's `gpt-live-1-codex` and exposes only `openai/gpt-live-1`; `LiveCallInput.model` is a literal. Voices are Codex's v3 list (25, default `cove`); any other voice still gets a `201` but the session never starts (sideband 404), so the client rejects it with `OpenAIVoiceInputError` (400).
|
|
277
|
+
- Model and voices: the backend ignores `session.model` (made-up names, `gpt-realtime-2.1`, and an empty string opened sessions that held the same audio conversation; `backend_model_usage` stays empty, rechecked 2026-11-23), so qgrid sends Codex's current default `gpt-live-1.1-codex` (openai/codex b05266d6, 2026-11-13) and exposes only `openai/gpt-live-1`. The served model is presumably Codex's default but cannot be confirmed; do not add `openai/gpt-live-1.1` as a separate ID while the field is ignored. `session.context.append` is acknowledged with `session.context.appended`; `LiveCallInput.model` is a literal. Voices are Codex's v3 list (25, default `cove`); any other voice still gets a `201` but the session never starts (sideband 404), so the client rejects it with `OpenAIVoiceInputError` (400).
|
|
260
278
|
- Sideband watcher: after the `201`, the client joins `wss://api.openai.com/v1/live/<rtc_id>` with the same headers and alpha, sends nothing, and keeps `turn.done` (`role`, `transcript`, `start_ms`, `end_ms`), `session.usage.updated` and `session.closed` (`reason`, `usage.audio_duration_ms`). It skips the two audio mirrors (`session.input_audio.append`, `session.output_audio.delta`, about 10 events/s). Each `turn.done` also calls the request's `onTurn` with the turns so far. The `ended` promise never rejects; it is bounded by a 2 h 5 min watch limit (`session.started` `expires_at` is two hours after creation, observed 2026-11-10; an early build assumed 20 minutes and cut longer sessions) and `OpenAIDispatcher.stop()` terminates open watchers. The caller's HTTP signal bounds only the exchange (15 s), never the session.
|
|
261
279
|
- Ending: the caller sends `{"type":"session.close"}` on the data channel; `session.closed` reaches both the data channel and the sideband within about 0.7 s. Closing only the peer keeps the session and its usage running about 34 s, then the sideband closes (1006) without `session.closed`; the watcher then uses the last usage update. No close endpoint exists because the data channel covers it.
|
|
262
280
|
- Request log: `media_kind: "live"`, created at the exchange with an empty `user_prompt` and the instructions as `system_prompt`, plus a `live_session:<callId>` tool step whose result is `{"status":"live",callId}`, not a pending step (a pending one would fall to the 30-minute tool-wait cleanup mid-conversation). After every finished turn `recordRunProgress` rewrites `response` with the conversation so far as `**role** m:ss` lines, in order, so the log reads live and a server restart keeps everything up to the last turn; a live run still running 2 h 15 min after creation lost its server and is closed by `expireStaleLiveRuns` in the stale cleanup. At the end the step result is replaced with the whole summary (turns with times), `response` holds the full conversation, `cost_usd` $0.05 per minute of `audio_duration_ms` (`liveCost`), and a sideband that failed before any turn finishes the run as `error`. No audio is stored (user decision, SON-590 DB size).
|
|
263
281
|
- Delegation: the session asks for `delegation: {type: "client"}` (as Codex does), so the voice model sends `delegation.created` (`item: {id, type: "delegation", target: "client", content: [input_text], handoff_id}`) for lookups or reasoning and talks filler until an answer arrives. Unanswered, it stalled for ten minutes in a debate (request log 900915). `responses` delegation, where OpenAI runs the backend, fails on subscription (`Cannot connect to host responsesapi.openai.svc.cluster.local`), and omitting `delegation` behaves as `client`. Codex answers by routing the text into its own agent thread (`route_realtime_text_input`); qgrid answers through `OpenAILiveCallRequest.onDelegation`: the frame runs `QgridDispatcher.query` on the session's `delegation.model` (default `openai/gpt-6-luna`, effort `low`; validated against `QGRID_MODELS`, the served list in `qgrid.types.ts` that the dashboard chat also offers) with `LIVE_DELEGATION_SYSTEM`, the live instructions and the conversation so far, 90 s timeout, and the watcher sends the reply as `delegation.context.append` (no channel = speakable) on the sideband. A failure is answered with a short failure note so the voice can say so. `delegation.webSearch` sets the internal `InternalQueryInput.webSearch`, which adds `{type: "web_search"}` to the direct provider request: OpenAI sends Codex's hosted `{type: "web_search", external_web_access: true}` (answered on subscription 2026-11-10: gpt-6-luna low 5.4-6.5 s with live results; gpt-5.5 is refused for ChatGPT accounts), Grok forwards its builtin; Claude Code has no such tool, so the frame rejects it with 400 and the dispatcher throws.
|
|
264
282
|
- Events: the summary keeps every sideband event except the audio copies and word-level text (`session.input_audio.append`, `session.output_audio.delta`, `input/output_transcript.added`, `turn.delta`), each with `atMs` since qgrid joined, plus qgrid's own `delegation.context.append` (with `ms` and the reply) or `qgrid.delegation_failed`.
|
|
265
|
-
- History: `LiveCallInput.history` (`{role: user|assistant|developer, text}[]`) becomes Codex's `initial_items` (`{type: "message", role, content: [{type: input_text | output_text (assistant), text}]}`). Measured on subscription 2026-11-10: up to 128 items opens a session and 129 does not (call 201, sideband 404, as for an unknown voice); a `system` role also never starts; 1,000,000 characters (100 x 10,000 or 20 x 50,000) still opened, recall at that size unmeasured. The schema caps 128 items and 1,000,000 characters. A seeded text-chat history was recalled by voice (name and dog from two text turns). The request log stores the history in `request_logs.history`, the delegation prompt puts it before the session's turns, and the session step args record `historyItems`.
|
|
283
|
+
- History: `LiveCallInput.history` (`{role: user|assistant|developer, text}[]`) becomes Codex's `initial_items` (`{type: "message", role, content: [{type: input_text | output_text (assistant), text}]}`). Measured on subscription 2026-11-10: up to 128 items opens a session and 129 does not (call 201, sideband 404, as for an unknown voice); a `system` role also never starts; 1,000,000 characters (100 x 10,000 or 20 x 50,000) still opened, recall at that size unmeasured. The schema caps 128 items and 1,000,000 characters; with `instructions` the frame allows 127, because the instructions take the first initial item (below). A seeded text-chat history was recalled by voice (name and dog from two text turns). The request log stores the history in `request_logs.history`, the delegation prompt puts it before the session's turns, and the session step args record `historyItems`.
|
|
284
|
+
- Instructions (2026-11-23): the backend does not apply `session.instructions` to GPT-Live. A deti session with only instructions (persona, English only) answered in Korean as the default assistant ("I help with ideas, writing, code") and said the setting had not reached it (request log 2182015); the same text as a `developer` initial item was followed: English replies to Korean speech, the persona's name (request log 2182016). Codex sends instructions the same way (`methods_frameless_bidi.rs` `session_json`), so `buildLiveSession` keeps the field and also seeds the text as the first initial item.
|
|
266
285
|
- Not exposed: caller-defined tools during a session (the caller holds only its peer to OpenAI, so qgrid has no channel to ask it to run one), commentary-channel progress.
|
|
@@ -78,7 +78,7 @@ Clicking an attached or generated image opens a preview with extension, decoded
|
|
|
78
78
|
|
|
79
79
|
Token credential previews must tolerate missing `accessToken` rather than reading `.length` unconditionally. Legacy system-keychain credentials display `System Keychain`; this display compatibility does not enable an Antigravity runtime.
|
|
80
80
|
|
|
81
|
-
Chat model presets: the model `<select>` lists the served subset of `QgridSupportedModel` grouped by provider (`
|
|
81
|
+
Chat model presets: the model `<select>` lists the served subset of `QgridSupportedModel` grouped by provider, read at runtime from `/api/qgrid/models` (`ModelOptions.tsx`, sourced from `QGRID_MODEL_GROUPS` in the api `qgrid.types.ts`), newest first, and defaults to `anthropic/claude-fable-5-1`. Ids that the ChatGPT-subscription Codex route no longer serves (`gpt-5.4` and `gpt-5.4-mini` retired 2026-08-31 with `gpt-5.6-terra` / `gpt-5.6-luna` as replacements; `gpt-5.2` and `gpt-5.3-codex` removed earlier), `gpt-5.3-codex-spark` (rejected on the ChatGPT-account Codex route and absent from its catalog as of 2026-09-29), `gpt-5.5` (retired from the Codex/ChatGPT route, announced for 2026-10-14 and confirmed rejected on 2026-11-13; replacements `gpt-6.1-sol` / `gpt-6-luna`), the retired `claude-opus-4` / `claude-sonnet-4` (2026-06-15) and `claude-opus-4-1` (2026-08-05; Claude Code silently serves `claude-opus-5-5` instead), `claude-sonnet-4-5` (deprecated 2026-09-30, retirement 2026-11-30, replacement `claude-sonnet-5-5`), and the catalog-less `claude-sonnet-4-7` stay in the SDK type and price table (legacy request-log cost) but are excluded here. web does not depend on ai-sdk, so a new model must be added to both `QGRID_MODEL_GROUPS` and the SDK union; the dashboard selectors need no change. `openai/gpt-6.2-astra`, `openai/gpt-6.2-sol`, `openai/gpt-6-astra`, `openai/gpt-6.1-sol`, `openai/gpt-6.1-terra`, `openai/gpt-6-sol`, and `openai/gpt-6-luna` are included in the OpenAI group and `anthropic/claude-fable-5-2`, `anthropic/claude-opus-5-5`, `anthropic/claude-sonnet-5-5`, and `anthropic/claude-haiku-5-5` in the Anthropic group; adding them does not change the default model.
|
|
82
82
|
|
|
83
83
|
The monit tab's vitals strip shows per-provider in-flight counts, an in-flight sparkline, token chips with quota gauges (fed by the dispatcher's 60-second rate-limits cache; `resetsAt` arrives as ms epoch), and a 1-hour per-provider request/error/cache-hit stats line polled separately every 30 seconds.
|
|
84
84
|
|