@linxiraos/pi-catalog 1.4.10 → 1.4.12
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/CHANGELOG.md +12 -3
- package/THIRD-PARTY-NOTICES.txt +99 -0
- package/dist/types/compat/auth-ids.d.ts +2 -2
- package/dist/types/compat/responses-websocket.d.ts +6 -0
- package/dist/types/compat/types.d.ts +6 -0
- package/dist/types/discovery/devin-proto.d.ts +15 -0
- package/dist/types/model-manager.d.ts +2 -0
- package/dist/types/pricing.d.ts +1 -1
- package/dist/types/types.d.ts +17 -1
- package/dist/types/wire/codex.d.ts +0 -1
- package/dist/types/wire/factory-droid.d.ts +1 -1
- package/package.json +5 -5
- package/src/compat/auth-ids.ts +4 -0
- package/src/compat/axes.ts +6 -0
- package/src/compat/resolve.ts +2 -0
- package/src/compat/responses-websocket.ts +12 -0
- package/src/compat/rules/auth/_order.kdl +1 -1
- package/src/compat/rules/auth/devin-cli.kdl +6 -0
- package/src/compat/rules/auth/devin-windsurf.kdl +6 -0
- package/src/compat/rules/classes/anthropic.kdl +16 -0
- package/src/compat/rules/providers/factory-droid.kdl +56 -4
- package/src/compat/rules/providers/muse-code.kdl +16 -0
- package/src/compat/rules/providers/openai.kdl +3 -0
- package/src/compat/rules/providers/web.kdl +7 -0
- package/src/compat/rules/runtime/behavior.kdl +4 -4
- package/src/compat/rules.json +1 -1
- package/src/compat/types.d.ts +6 -0
- package/src/compat/types.ts +6 -0
- package/src/discovery/antigravity.ts +1 -1
- package/src/discovery/codex.ts +1 -2
- package/src/discovery/cursor.ts +1 -1
- package/src/discovery/devin-proto.d.ts +15 -0
- package/src/discovery/devin-proto.ts +28 -0
- package/src/discovery/factory-droid.ts +23 -12
- package/src/discovery/gemini-cli.ts +1 -1
- package/src/discovery/gemini.ts +1 -1
- package/src/discovery/gitlab-duo-workflow.ts +1 -1
- package/src/discovery/openai-compatible.ts +1 -1
- package/src/model-cache.ts +1 -1
- package/src/model-manager.d.ts +2 -0
- package/src/model-manager.ts +23 -14
- package/src/models.json +1 -1
- package/src/pricing.d.ts +1 -1
- package/src/pricing.ts +1 -1
- package/src/provider-models/openai-compat.ts +38 -1
- package/src/types.d.ts +17 -1
- package/src/types.ts +17 -1
- package/src/wire/codex.d.ts +0 -1
- package/src/wire/codex.ts +0 -1
- package/src/wire/factory-droid.d.ts +1 -1
- package/src/wire/factory-droid.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.4.12] - 2026-11-08
|
|
4
|
+
|
|
5
|
+
- Synced with upstream OMP v18.18.0.
|
|
6
|
+
- Released as part of Zeta 1.4.12; no package-specific user-visible changes.
|
|
7
|
+
|
|
8
|
+
## [1.4.11] - 2026-11-06
|
|
9
|
+
|
|
10
|
+
- Released as part of Zeta 1.4.11; no package-specific user-visible changes.
|
|
11
|
+
|
|
3
12
|
## [1.4.10] - 2026-11-05
|
|
4
13
|
|
|
5
14
|
- Released as part of Zeta 1.4.10; no package-specific user-visible changes.
|
|
6
15
|
|
|
7
16
|
## [1.4.9] - 2026-11-03
|
|
8
17
|
|
|
9
|
-
- Synced with upstream OMP v18.
|
|
18
|
+
- Synced with upstream OMP v18.18.0.
|
|
10
19
|
|
|
11
20
|
## [1.4.7] - 2026-10-30
|
|
12
21
|
|
|
13
|
-
- Synced with upstream OMP v18.
|
|
22
|
+
- Synced with upstream OMP v18.18.0.
|
|
14
23
|
|
|
15
24
|
## [1.4.5] - 2026-10-28
|
|
16
25
|
|
|
17
|
-
- Synced with upstream OMP v18.
|
|
26
|
+
- Synced with upstream OMP v18.18.0.
|
|
18
27
|
|
|
19
28
|
## [1.4.4] - 2026-10-26
|
|
20
29
|
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -5,6 +5,49 @@ This generated, self-contained aggregate accompanies Zeta release artifacts.
|
|
|
5
5
|
It does not replace package-level license files. First-party licensing grants
|
|
6
6
|
no rights in third-party code, fonts, data, or marks identified below.
|
|
7
7
|
|
|
8
|
+
ZETA IS A FORK AND REDISTRIBUTION
|
|
9
|
+
=================================
|
|
10
|
+
|
|
11
|
+
Zeta is a downstream distribution of oh-my-pi (OMP), and it also contains forks
|
|
12
|
+
of OMP Web, OMP Studio and TermIDE. Upstream copyright notices stay with their
|
|
13
|
+
files and are not restated here. This section states, for every forked or
|
|
14
|
+
vendored application tree, where it came from, what Zeta changed, and why.
|
|
15
|
+
Upstream URLs are the ones configured in `.git/config`; the per-tree deviation
|
|
16
|
+
ledgers are authoritative for details.
|
|
17
|
+
|
|
18
|
+
Forked application trees:
|
|
19
|
+
|
|
20
|
+
| Path | Upstream | Snapshot | License | What Zeta changed |
|
|
21
|
+
|---|---|---|---|---|
|
|
22
|
+
| `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/can1357/oh-my-pi | integrated through tag `v18.15.0` (`document/upstream-sync.md`) | see upstream files | product name, paths, command names and env prefixes; branded assets; internal identifiers renamed to `__zeta*` |
|
|
23
|
+
| `web-ui/` | OMP Web, https://github.com/17380936778/omp-web | frozen snapshot, **abandoned 2026-11-05** (`document/upstream-sync.md`) | see upstream files | third-party UI, not maintained by Zeta: frozen as received, no builds, no fixes; the product renderer is `web-app/` (`Differences from Upstream` in README) |
|
|
24
|
+
| `web-app/` (`src/studio`, `src/vendor/*`) | OMP Studio 0.1.17, https://github.com/the-snowpear/omp-studio | `0.1.17`, ported into the product renderer | MIT | maintained by Zeta now: the host contract is reimplemented in `studio-host` (pair/CSRF/query/command/events), the renderer was rebranded (`zeta-studio` wire name, Zeta links/fixtures), and Zeta adds windowed transcripts, precompressed static serving, the plugin registry, and the usage dashboard |
|
|
25
|
+
| `termide/` | TermIDE, https://github.com/termide/termide | tag `0.46.0` = `a027ca788cd4c9d24f060cdcd3195ca2e475617b` | MIT | deviations listed in `termide/VENDOR.md` (28 entries) |
|
|
26
|
+
| `editor/npm/*` (`@linxiraos/editor*`) | TermIDE `panel-editor` | same tree as `termide/` | MIT | built as the editor-only bin `termide-editor` (`editor/npm/editor/VENDOR.md`) |
|
|
27
|
+
| `plugins/official/*` | per plugin | per plugin | per plugin | each directory carries `plugin.json`, README with source, and its license |
|
|
28
|
+
|
|
29
|
+
Why the fork renames things at all: the upstream licenses and the product
|
|
30
|
+
identity both require that a downstream distribution not present itself as the
|
|
31
|
+
upstream. Renames therefore cover the product name, command names
|
|
32
|
+
(`zetawork` / `zetacode` / `zetaide`), the `zeta://` scheme, the npm scope
|
|
33
|
+
`@linxiraos/*`, and release asset names (`zeta-cli-*`). User-visible
|
|
34
|
+
configuration keeps accepting the legacy names during the transition, so an
|
|
35
|
+
existing installation does not silently break.
|
|
36
|
+
|
|
37
|
+
Brand and assets:
|
|
38
|
+
|
|
39
|
+
* Product marks — name, logos, app icons, wordmarks, splash art — are Zeta's own
|
|
40
|
+
and are not redistributed from any upstream. Upstream marks are not shipped.
|
|
41
|
+
* Assets that do come from an upstream are enumerated in the per-tree ledgers
|
|
42
|
+
above; each keeps its upstream license notice in place.
|
|
43
|
+
|
|
44
|
+
Frozen counterpart constants (interoperability, not branding):
|
|
45
|
+
|
|
46
|
+
* Stencil OIDC `client-id "omp"`, its issuer and scopes; `catalog.stencil.so`;
|
|
47
|
+
`docs.stencil.so/tern/protocol/`; the `__omp_judgment_images` upload key.
|
|
48
|
+
These are wire-compatible identifiers Zeta must keep, listed here so that a
|
|
49
|
+
brand sweep does not break them.
|
|
50
|
+
|
|
8
51
|
PYTHON DEPENDENCY DISTRIBUTION ROLE
|
|
9
52
|
===================================
|
|
10
53
|
|
|
@@ -385,6 +428,62 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
385
428
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
386
429
|
SOFTWARE.
|
|
387
430
|
|
|
431
|
+
-------------------------------------------------------------------------------
|
|
432
|
+
web-app/src/studio + web-app/src/vendor/* + web-ui/components/studio +
|
|
433
|
+
web-ui/styles/studio + web-ui/lib/studio-protocol
|
|
434
|
+
|
|
435
|
+
Ported UI surface and protocol types from OMP Studio 0.1.17 (MIT).
|
|
436
|
+
|
|
437
|
+
- `web-ui/components/studio/` and `web-ui/styles/studio/` are derived from the
|
|
438
|
+
OMP Studio renderer (`apps/renderer/src`).
|
|
439
|
+
- `web-ui/lib/studio-protocol/` vendors the type and validation surface of
|
|
440
|
+
`@omp-studio/client-contract` and `@omp-studio/studio-protocol` (78 files, no
|
|
441
|
+
runtime dependency), so the ported renderer keeps its own read models.
|
|
442
|
+
- `web-ui/lib/studio-client/` is Zeta's own implementation of the
|
|
443
|
+
`StudioClient` interface over the Zeta gateway; it is not derived from
|
|
444
|
+
`@omp-studio/client`.
|
|
445
|
+
|
|
446
|
+
The data plumbing, transport and packaging are Zeta's own and are not part of
|
|
447
|
+
that derivation.
|
|
448
|
+
|
|
449
|
+
Copyright (c) 2026 snowpear and OMP Studio contributors
|
|
450
|
+
Copyright (c) 2026 Linxira-OS and Zeta contributors (Zeta modifications and additions)
|
|
451
|
+
|
|
452
|
+
Local modifications: the product renderer moved to `web-app/` (Vite 7) with
|
|
453
|
+
its own node project, and the host contract is Zeta's `studio-host` rather than
|
|
454
|
+
Studio's server. `@omp-studio/client-contract` and
|
|
455
|
+
`@omp-studio/studio-protocol` imports were rewritten to the vendored copies in
|
|
456
|
+
both trees; `@omp-studio/client` is replaced by `web-ui/lib/studio-client` (the
|
|
457
|
+
frozen snapshot) and by the host-backed transport in `web-app/`. The wire
|
|
458
|
+
protocol name is `zeta-studio`, the desktop bridge global is
|
|
459
|
+
`zetaStudioChrome`, Studio's design tokens were rebound to Zeta's theme alias
|
|
460
|
+
layer (`--studio-*` → `--zeta-alias-*`), and surfaces with no Zeta backend were
|
|
461
|
+
dropped rather than ported. Zeta-only additions: windowed transcript
|
|
462
|
+
pagination, precompressed static assets, the real plugin registry, the usage
|
|
463
|
+
dashboard, and the brand sweep. The MIT notice above covers the unmodified
|
|
464
|
+
upstream portions; Zeta's changes are additionally under
|
|
465
|
+
`Copyright (c) 2026 Linxira-OS and Zeta contributors`.
|
|
466
|
+
|
|
467
|
+
MIT License
|
|
468
|
+
|
|
469
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
470
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
471
|
+
in the Software without restriction, including without limitation the rights
|
|
472
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
473
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
474
|
+
furnished to do so, subject to the following conditions:
|
|
475
|
+
|
|
476
|
+
The above copyright notice and this permission notice shall be included in all
|
|
477
|
+
copies or substantial portions of the Software.
|
|
478
|
+
|
|
479
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
480
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
481
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
482
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
483
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
484
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
485
|
+
SOFTWARE.
|
|
486
|
+
|
|
388
487
|
-------------------------------------------------------------------------------
|
|
389
488
|
packages/coding-agent/src/export/html/vendor/NOTICE
|
|
390
489
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Every provider with an `auth/<id>.kdl` policy. */
|
|
2
|
-
export type AuthProviderId = "abliteration" | "aiand" | "aimlapi" | "alibaba-coding-plan" | "alibaba-token-plan" | "amazon-bedrock" | "anthropic" | "apple" | "azure" | "baseten" | "bedrock-mantle" | "cerebras" | "charm-hyper" | "cline-pass" | "cloudflare-ai-gateway" | "cloudflare-workers-ai" | "commandcode" | "coralbricks" | "coreweave" | "cursor" | "deepinfra" | "deepseek" | "devin" | "exa" | "factory-droid" | "firepass" | "fireworks" | "github-copilot" | "gitlab-duo" | "gitlab-duo-agent" | "gmi-cloud" | "google" | "google-antigravity" | "google-gemini-cli" | "google-vertex" | "groq" | "helmcode" | "huggingface" | "inception" | "kagi" | "kilo" | "kimi-code" | "litellm" | "llama.cpp" | "lm-studio" | "local" | "meta" | "minimax" | "minimax-code" | "minimax-code-cn" | "mistral" | "modular" | "moonshot" | "muse-code" | "nanogpt" | "novita" | "nvidia" | "ollama" | "ollama-cloud" | "openai" | "openai-codex" | "openai-codex-device" | "opencode-go" | "opencode-zen" | "openrouter" | "parallel" | "perplexity" | "qianfan" | "qwen-portal" | "sakana" | "sambanova" | "scaleway" | "siliconflow" | "siliconflow-cn" | "singularityapi-dev" | "singularityapi-tech" | "snowflake" | "stencil" | "stepfun" | "synthetic" | "tavily" | "together" | "typesafe" | "umans" | "venice" | "vercel-ai-gateway" | "vllm" | "wafer-serverless" | "web" | "xai" | "xai-oauth" | "xiaomi" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-sgp" | "yolo-auto" | "zai" | "zai-coding-plan" | "zenmux" | "zhipu-coding-plan";
|
|
2
|
+
export type AuthProviderId = "abliteration" | "aiand" | "aimlapi" | "alibaba-coding-plan" | "alibaba-token-plan" | "amazon-bedrock" | "anthropic" | "apple" | "azure" | "baseten" | "bedrock-mantle" | "cerebras" | "charm-hyper" | "cline-pass" | "cloudflare-ai-gateway" | "cloudflare-workers-ai" | "commandcode" | "coralbricks" | "coreweave" | "cursor" | "deepinfra" | "deepseek" | "devin" | "devin-cli" | "devin-windsurf" | "exa" | "factory-droid" | "firepass" | "fireworks" | "github-copilot" | "gitlab-duo" | "gitlab-duo-agent" | "gmi-cloud" | "google" | "google-antigravity" | "google-gemini-cli" | "google-vertex" | "groq" | "helmcode" | "huggingface" | "inception" | "kagi" | "kilo" | "kimi-code" | "litellm" | "llama.cpp" | "lm-studio" | "local" | "meta" | "minimax" | "minimax-code" | "minimax-code-cn" | "mistral" | "modular" | "moonshot" | "muse-code" | "nanogpt" | "novita" | "nvidia" | "ollama" | "ollama-cloud" | "openai" | "openai-codex" | "openai-codex-device" | "opencode-go" | "opencode-zen" | "openrouter" | "parallel" | "perplexity" | "qianfan" | "qwen-portal" | "sakana" | "sambanova" | "scaleway" | "siliconflow" | "siliconflow-cn" | "singularityapi-dev" | "singularityapi-tech" | "snowflake" | "stencil" | "stepfun" | "synthetic" | "tavily" | "together" | "typesafe" | "umans" | "venice" | "vercel-ai-gateway" | "vllm" | "wafer-serverless" | "web" | "xai" | "xai-oauth" | "xiaomi" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-sgp" | "yolo-auto" | "zai" | "zai-coding-plan" | "zenmux" | "zhipu-coding-plan";
|
|
3
3
|
/** Providers whose policy declares a `login` flow (the `/login` roster). */
|
|
4
|
-
export type LoginProviderId = "abliteration" | "aiand" | "alibaba-coding-plan" | "alibaba-token-plan" | "anthropic" | "baseten" | "cerebras" | "charm-hyper" | "cline-pass" | "cloudflare-ai-gateway" | "cloudflare-workers-ai" | "commandcode" | "coralbricks" | "coreweave" | "cursor" | "deepinfra" | "deepseek" | "devin" | "exa" | "factory-droid" | "firepass" | "fireworks" | "github-copilot" | "gitlab-duo" | "gitlab-duo-agent" | "gmi-cloud" | "google-antigravity" | "google-gemini-cli" | "helmcode" | "huggingface" | "inception" | "kagi" | "kilo" | "kimi-code" | "litellm" | "llama.cpp" | "lm-studio" | "meta" | "minimax-code" | "minimax-code-cn" | "mistral" | "modular" | "moonshot" | "muse-code" | "nanogpt" | "novita" | "nvidia" | "ollama" | "ollama-cloud" | "openai-codex" | "openai-codex-device" | "opencode-go" | "opencode-zen" | "openrouter" | "parallel" | "perplexity" | "qianfan" | "qwen-portal" | "sakana" | "sambanova" | "scaleway" | "siliconflow" | "siliconflow-cn" | "singularityapi-dev" | "singularityapi-tech" | "snowflake" | "stencil" | "stepfun" | "synthetic" | "tavily" | "together" | "typesafe" | "umans" | "venice" | "vercel-ai-gateway" | "vllm" | "wafer-serverless" | "xai" | "xai-oauth" | "xiaomi" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-sgp" | "yolo-auto" | "zai" | "zai-coding-plan" | "zenmux" | "zhipu-coding-plan";
|
|
4
|
+
export type LoginProviderId = "abliteration" | "aiand" | "alibaba-coding-plan" | "alibaba-token-plan" | "anthropic" | "baseten" | "cerebras" | "charm-hyper" | "cline-pass" | "cloudflare-ai-gateway" | "cloudflare-workers-ai" | "commandcode" | "coralbricks" | "coreweave" | "cursor" | "deepinfra" | "deepseek" | "devin" | "devin-cli" | "devin-windsurf" | "exa" | "factory-droid" | "firepass" | "fireworks" | "github-copilot" | "gitlab-duo" | "gitlab-duo-agent" | "gmi-cloud" | "google-antigravity" | "google-gemini-cli" | "helmcode" | "huggingface" | "inception" | "kagi" | "kilo" | "kimi-code" | "litellm" | "llama.cpp" | "lm-studio" | "meta" | "minimax-code" | "minimax-code-cn" | "mistral" | "modular" | "moonshot" | "muse-code" | "nanogpt" | "novita" | "nvidia" | "ollama" | "ollama-cloud" | "openai-codex" | "openai-codex-device" | "opencode-go" | "opencode-zen" | "openrouter" | "parallel" | "perplexity" | "qianfan" | "qwen-portal" | "sakana" | "sambanova" | "scaleway" | "siliconflow" | "siliconflow-cn" | "singularityapi-dev" | "singularityapi-tech" | "snowflake" | "stencil" | "stepfun" | "synthetic" | "tavily" | "together" | "typesafe" | "umans" | "venice" | "vercel-ai-gateway" | "vllm" | "wafer-serverless" | "xai" | "xai-oauth" | "xiaomi" | "xiaomi-token-plan-ams" | "xiaomi-token-plan-cn" | "xiaomi-token-plan-sgp" | "yolo-auto" | "zai" | "zai-coding-plan" | "zenmux" | "zhipu-coding-plan";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Model } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Capability is rule-owned; callers must opt in. Either explicit false vetoes
|
|
4
|
+
* the other preference, including a per-request true for a disabled model.
|
|
5
|
+
*/
|
|
6
|
+
export declare function resolveResponsesWebSocketPreference(model: Model, requestPreference?: boolean): boolean;
|
|
@@ -729,6 +729,12 @@ export interface RequestPolicy {
|
|
|
729
729
|
/** Default `tool_choice` to `auto` when the request carries tools and the caller picks none. */
|
|
730
730
|
responsesToolChoiceAuto?: boolean;
|
|
731
731
|
googleThinking?: "level" | "level-medium";
|
|
732
|
+
/** Send no `temperature`, `topP` or `topK` in `generationConfig`. */
|
|
733
|
+
googleOmitSampling?: boolean;
|
|
734
|
+
/** Send `generationConfig.maxOutputTokens` as the model's output maximum. */
|
|
735
|
+
googlePinMaxOutputTokens?: boolean;
|
|
736
|
+
/** Replay the model's own turns as the native Gemini content it streamed. */
|
|
737
|
+
googleNativeReplay?: boolean;
|
|
732
738
|
/** The route locks its upstream for the session (`x-provider-routing-source: session_lock`). */
|
|
733
739
|
routingSessionLock?: boolean;
|
|
734
740
|
}
|
|
@@ -1297,6 +1297,21 @@ export interface DevinPlanInfo extends ProtoMessage {
|
|
|
1297
1297
|
accountDisplayName: string;
|
|
1298
1298
|
}
|
|
1299
1299
|
export declare const DevinPlanInfoSchema: MessageCodec<DevinPlanInfo>;
|
|
1300
|
+
/** Devin message exa.seat_management_pb.ExchangePKCEAuthorizationCodeRequest. */
|
|
1301
|
+
export interface ExchangePKCEAuthorizationCodeRequest extends ProtoMessage {
|
|
1302
|
+
authorizationCode: string;
|
|
1303
|
+
codeVerifier: string;
|
|
1304
|
+
}
|
|
1305
|
+
export declare const ExchangePKCEAuthorizationCodeRequestSchema: MessageCodec<ExchangePKCEAuthorizationCodeRequest>;
|
|
1306
|
+
/** Devin message exa.seat_management_pb.ExchangePKCEAuthorizationCodeResponse. */
|
|
1307
|
+
export interface ExchangePKCEAuthorizationCodeResponse extends ProtoMessage {
|
|
1308
|
+
apiKey: string;
|
|
1309
|
+
name: string;
|
|
1310
|
+
apiServerUrl: string;
|
|
1311
|
+
devinWebappHost: string;
|
|
1312
|
+
devinApiUrl: string;
|
|
1313
|
+
}
|
|
1314
|
+
export declare const ExchangePKCEAuthorizationCodeResponseSchema: MessageCodec<ExchangePKCEAuthorizationCodeResponse>;
|
|
1300
1315
|
/** Devin message exa.codeium_common_pb.ExperimentConfig. */
|
|
1301
1316
|
export interface ExperimentConfig extends ProtoMessage {
|
|
1302
1317
|
experiments: ExperimentWithVariant[];
|
|
@@ -110,6 +110,8 @@ export interface ModelResolutionResult<TApi extends Api = Api> {
|
|
|
110
110
|
stale: boolean;
|
|
111
111
|
source: ModelResolutionSource;
|
|
112
112
|
updatedAt?: number;
|
|
113
|
+
/** Why the provider's endpoint fetcher threw this call; the models then come from cache, models.dev or bundled data. */
|
|
114
|
+
fetchError?: string;
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
115
117
|
* Stateful facade over provider model resolution.
|
package/dist/types/pricing.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EffectiveTokenCost, ModelCost, TimeBasedCost, TokenCost } from "./types.js";
|
|
2
2
|
/** Serialized time-based pricing schedule, as cached model rows carry it. */
|
|
3
|
-
export declare const TimeBasedCostShape: import("@linxiraos/
|
|
3
|
+
export declare const TimeBasedCostShape: import("@linxiraos/zeta-schema").FluentType<{
|
|
4
4
|
effectiveRates?: ({
|
|
5
5
|
cacheRead: number;
|
|
6
6
|
cacheWrite: number;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -493,6 +493,14 @@ export interface AnthropicCompat {
|
|
|
493
493
|
* Sonnet 4.6+, Fable/Mythos 5+ on supported hosts. Default: false.
|
|
494
494
|
*/
|
|
495
495
|
supportsServerCompaction?: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* Whether the model supports message threads (`message-threads-2026-08-12`):
|
|
498
|
+
* later turns continue a server-held conversation and send only new
|
|
499
|
+
* messages. Enabled on Claude 4.5+ for the first-party provider; the
|
|
500
|
+
* transport still requires the official endpoint unless the caller opts in.
|
|
501
|
+
* Default: false.
|
|
502
|
+
*/
|
|
503
|
+
supportsMessageThreads?: boolean;
|
|
496
504
|
/**
|
|
497
505
|
* Whether the model is served by the first-party Anthropic provider (its
|
|
498
506
|
* default route is the official API). Rule-owned on the provider; the
|
|
@@ -955,6 +963,14 @@ export interface ResolvedOpenAIResponsesCompat extends ResolvedOpenAISharedCompa
|
|
|
955
963
|
* `PI_MUSE_STORE_RESPONSES`); stored runs retain prompts and outputs on the provider.
|
|
956
964
|
*/
|
|
957
965
|
storeResponses: boolean;
|
|
966
|
+
/**
|
|
967
|
+
* Prefix the `openai-responses` handler puts on every function-tool name it
|
|
968
|
+
* declares or replays, and strips from returned calls through the request's
|
|
969
|
+
* wire-name table. Rule-owned: hosts that reject requests declaring certain
|
|
970
|
+
* exact tool names (Muse Code). Unset sends names unchanged. Other
|
|
971
|
+
* Responses-family handlers do not read it.
|
|
972
|
+
*/
|
|
973
|
+
toolNamePrefix?: string;
|
|
958
974
|
/**
|
|
959
975
|
* Whether the host binds native history items (`encrypted_content`, item
|
|
960
976
|
* ids) to the connection that issued them, so a new process must rebuild
|
|
@@ -1466,7 +1482,7 @@ export interface Model<TApi extends Api = Api> {
|
|
|
1466
1482
|
* dispatch is redirected.
|
|
1467
1483
|
*/
|
|
1468
1484
|
transport?: "pi-native";
|
|
1469
|
-
/**
|
|
1485
|
+
/** Standard Responses is opt-in and catalog-gated; either model/request false vetoes true. Codex keeps its independent policy. */
|
|
1470
1486
|
preferWebsockets?: boolean;
|
|
1471
1487
|
/** Codex Responses Lite transport: send the lite marker and carry instructions/tools as input items (mirrors codex-rs `use_responses_lite`). */
|
|
1472
1488
|
useResponsesLite?: boolean;
|
|
@@ -46,7 +46,6 @@ export declare const OPENAI_HEADERS: {
|
|
|
46
46
|
readonly ROUTING_HINT: "x-codex-routing-hint";
|
|
47
47
|
};
|
|
48
48
|
export declare const OPENAI_HEADER_VALUES: {
|
|
49
|
-
readonly BETA_RESPONSES: "responses=experimental";
|
|
50
49
|
readonly BETA_RESPONSES_WEBSOCKETS_V2: "responses_websockets=2026-02-06";
|
|
51
50
|
readonly REMOTE_COMPACTION_V2: "remote_compaction_v2";
|
|
52
51
|
readonly ORIGINATOR_CODEX: "omp";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* native request corpus with `packages/ai/scripts/capture-factory-droid-native.ts`
|
|
4
4
|
* against the matching CLI binary and make `factory-droid-native-parity.test.ts` pass.
|
|
5
5
|
*/
|
|
6
|
-
export declare const FACTORY_DROID_CLIENT_VERSION = "
|
|
6
|
+
export declare const FACTORY_DROID_CLIENT_VERSION = "1.1.0";
|
|
7
7
|
/** Wire protocols the Factory proxy multiplexes; `api-routes provider="factory-droid"` picks one per model. */
|
|
8
8
|
export declare const FACTORY_DROID_WIRES: readonly ["openai-completions", "openai-responses", "anthropic-messages", "google-generate"];
|
|
9
9
|
/** Wire protocol used by the Factory proxy for each model. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxiraos/pi-catalog",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
4
4
|
"description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts' && bun run check:types",
|
|
79
|
-
"check:types": "
|
|
79
|
+
"check:types": "bun check --no-script -p tsconfig.json",
|
|
80
80
|
"lint": "oxlint .",
|
|
81
81
|
"test": "bun test --parallel",
|
|
82
82
|
"fix": "oxlint --fix --fix-suggestions . && bun run fmt",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"gen:proto": "bun scripts/generate-protocols.ts"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@linxiraos/
|
|
90
|
-
"@linxiraos/pi-utils": "1.4.
|
|
89
|
+
"@linxiraos/zeta-schema": "1.4.12",
|
|
90
|
+
"@linxiraos/pi-utils": "1.4.12"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@bgotink/kdl": "0.4.0",
|
|
94
|
-
"@linxiraos/pi-ai": "1.4.
|
|
94
|
+
"@linxiraos/pi-ai": "1.4.12",
|
|
95
95
|
"@types/bun": "1.4.4"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|
package/src/compat/auth-ids.ts
CHANGED
|
@@ -25,6 +25,8 @@ export type AuthProviderId =
|
|
|
25
25
|
| "deepinfra"
|
|
26
26
|
| "deepseek"
|
|
27
27
|
| "devin"
|
|
28
|
+
| "devin-cli"
|
|
29
|
+
| "devin-windsurf"
|
|
28
30
|
| "exa"
|
|
29
31
|
| "factory-droid"
|
|
30
32
|
| "firepass"
|
|
@@ -123,6 +125,8 @@ export type LoginProviderId =
|
|
|
123
125
|
| "deepinfra"
|
|
124
126
|
| "deepseek"
|
|
125
127
|
| "devin"
|
|
128
|
+
| "devin-cli"
|
|
129
|
+
| "devin-windsurf"
|
|
126
130
|
| "exa"
|
|
127
131
|
| "factory-droid"
|
|
128
132
|
| "firepass"
|
package/src/compat/axes.ts
CHANGED
|
@@ -126,6 +126,9 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
|
|
|
126
126
|
"responses-tool-choice-auto": wire("responsesToolChoiceAuto", ["request"]),
|
|
127
127
|
"routing-session-lock": wire("routingSessionLock", ["request"]),
|
|
128
128
|
"google-thinking": wire("googleThinking", ["request"], "scalar", ["level", "level-medium"]),
|
|
129
|
+
"google-omit-sampling": wire("googleOmitSampling", ["request"]),
|
|
130
|
+
"google-pin-max-output-tokens": wire("googlePinMaxOutputTokens", ["request"]),
|
|
131
|
+
"google-native-replay": wire("googleNativeReplay", ["request"]),
|
|
129
132
|
// ── wire: OpenAI-compatible surfaces (chat completions + Responses) ──
|
|
130
133
|
"allows-synthetic-reasoning-content-for-tool-calls": wire("allowsSyntheticReasoningContentForToolCalls", OAI),
|
|
131
134
|
"always-send-max-tokens": wire("alwaysSendMaxTokens", OAI),
|
|
@@ -207,6 +210,7 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
|
|
|
207
210
|
"supports-reasoning-params": wire("supportsReasoningParams", OAI),
|
|
208
211
|
"supports-reasoning-summary": wire("supportsReasoningSummary", ["openai-responses"]),
|
|
209
212
|
"store-responses": wire("storeResponses", ["openai-responses"]),
|
|
213
|
+
"tool-name-prefix": wire("toolNamePrefix", ["openai-responses"], "scalar", ["_"]),
|
|
210
214
|
"supports-store": wire("supportsStore", ["openai"]),
|
|
211
215
|
"supports-strict-mode": wire("supportsStrictMode", OAI),
|
|
212
216
|
"supports-tool-choice": wire("supportsToolChoice", OAI),
|
|
@@ -271,6 +275,7 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
|
|
|
271
275
|
"supports-mid-conversation-tool-changes": wire("supportsMidConversationToolChanges", ["anthropic"]),
|
|
272
276
|
"supports-per-message-effort": wire("supportsPerMessageEffort", ["anthropic"]),
|
|
273
277
|
"supports-server-compaction": wire("supportsServerCompaction", ["anthropic", "bedrock"]),
|
|
278
|
+
"supports-message-threads": wire("supportsMessageThreads", ["anthropic"]),
|
|
274
279
|
"supports-between-tools-thinking": wire("supportsBetweenToolsThinking", ["anthropic"]),
|
|
275
280
|
"supports-thinking-binding-controls": wire("supportsThinkingBindingControls", ["anthropic", "bedrock"]),
|
|
276
281
|
"supports-turn-scoped-system": wire("supportsTurnScopedSystem", ["anthropic"]),
|
|
@@ -339,6 +344,7 @@ export const AXES: Readonly<Record<string, AxisDef>> = {
|
|
|
339
344
|
"thinking-unverified": { key: "unverified", set: "thinking", shape: "scalar" },
|
|
340
345
|
|
|
341
346
|
// ── catalog metadata ──
|
|
347
|
+
"supports-websockets": { key: "supportsWebsockets", set: "catalog", shape: "scalar", values: [true, false] },
|
|
342
348
|
"apply-patch-tool-type": {
|
|
343
349
|
key: "applyPatchToolType",
|
|
344
350
|
set: "catalog",
|
package/src/compat/resolve.ts
CHANGED
|
@@ -870,6 +870,7 @@ function pickResponsesOnly(compat: ResolvedOpenAIResponsesCompat): ResponsesOnly
|
|
|
870
870
|
supportsImageDetailOriginal: compat.supportsImageDetailOriginal,
|
|
871
871
|
supportsObfuscationOptOut: compat.supportsObfuscationOptOut,
|
|
872
872
|
storeResponses: compat.storeResponses,
|
|
873
|
+
toolNamePrefix: compat.toolNamePrefix,
|
|
873
874
|
connectionBoundNativeHistory: compat.connectionBoundNativeHistory,
|
|
874
875
|
supportsAllTurnsReasoningContext: compat.supportsAllTurnsReasoningContext,
|
|
875
876
|
supportsConfigurationUpdate: compat.supportsConfigurationUpdate,
|
|
@@ -903,6 +904,7 @@ function resolveAnthropicPolicy(
|
|
|
903
904
|
signingEndpoint,
|
|
904
905
|
supportsContextManagement: true,
|
|
905
906
|
supportsServerCompaction: false,
|
|
907
|
+
supportsMessageThreads: false,
|
|
906
908
|
firstPartyProvider: false,
|
|
907
909
|
honorsClaudeCodeBetaKillSwitch: false,
|
|
908
910
|
supportsOutputEffort: true,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Model } from "../types";
|
|
2
|
+
import { resolveCatalogPolicy } from "./catalog-policy";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Capability is rule-owned; callers must opt in. Either explicit false vetoes
|
|
6
|
+
* the other preference, including a per-request true for a disabled model.
|
|
7
|
+
*/
|
|
8
|
+
export function resolveResponsesWebSocketPreference(model: Model, requestPreference?: boolean): boolean {
|
|
9
|
+
if (resolveCatalogPolicy(model).supportsWebsockets !== true) return false;
|
|
10
|
+
if (requestPreference === false || model.preferWebsockets === false) return false;
|
|
11
|
+
return requestPreference === true || model.preferWebsockets === true;
|
|
12
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// (and does not set `show-in-login-list #false`) must appear here; providers
|
|
3
3
|
// without a login flow sort alphabetically after this list.
|
|
4
4
|
login-order "openai-codex" "anthropic" "zai" "zai-coding-plan" "kimi-code" "openrouter" "github-copilot" \
|
|
5
|
-
"cursor" "devin" "google-antigravity" "google-gemini-cli" "openai-codex-device" "xai" "xai-oauth" \
|
|
5
|
+
"cursor" "devin" "devin-cli" "devin-windsurf" "google-antigravity" "google-gemini-cli" "openai-codex-device" "xai" "xai-oauth" \
|
|
6
6
|
"gitlab-duo" "gitlab-duo-agent" "alibaba-coding-plan" "alibaba-token-plan" "aiand" "abliteration" "zhipu-coding-plan" \
|
|
7
7
|
"umans" "qwen-portal" "sakana" "sambanova" "minimax-code" "minimax-code-cn" "xiaomi" "xiaomi-token-plan-sgp" \
|
|
8
8
|
"xiaomi-token-plan-ams" "xiaomi-token-plan-cn" "firepass" "cline-pass" "factory-droid" "commandcode" "charm-hyper" "deepseek" "stepfun" "muse-code" "meta" "moonshot" "inception" \
|
|
@@ -209,6 +209,22 @@ class "anthropic" {
|
|
|
209
209
|
stops-output-at-context-window #true
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
+
// Message threads (`message-threads-2026-08-12`) keep the conversation on
|
|
213
|
+
// the server so later turns send only new messages. Claude 4.5 and newer
|
|
214
|
+
// support them on the Claude API; the transport checks the effective URL
|
|
215
|
+
// per request because `ANTHROPIC_BASE_URL` / Foundry reroutes leave this
|
|
216
|
+
// flag stale. Vertex and Bedrock do not support them.
|
|
217
|
+
// https://platform.claude.com/docs/en/build-with-claude/message-threads
|
|
218
|
+
on "anthropic" {
|
|
219
|
+
on-api "anthropic-messages" {
|
|
220
|
+
revision ">=4.5" {
|
|
221
|
+
supports-message-threads #true
|
|
222
|
+
}
|
|
223
|
+
models "claude-mythos-preview" {
|
|
224
|
+
supports-message-threads #true
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
212
228
|
// Opus 5.5 rejects forced tool selection the way Fable/Mythos do — a
|
|
213
229
|
// `tool_choice` of `tool` or `any` fails the request with 400
|
|
214
230
|
// `invalid_request_error`: `tool_choice: type "tool" and "any" are not
|
|
@@ -279,6 +279,12 @@ provider "factory-droid" {
|
|
|
279
279
|
cost input=0 output=0 cache-read=0 cache-write=0
|
|
280
280
|
limits context=1000000 max-tokens=65536
|
|
281
281
|
}
|
|
282
|
+
model "gemini-4-argon" name="Gemini 4 Argon" {
|
|
283
|
+
reasoning #true
|
|
284
|
+
input "text" "image"
|
|
285
|
+
cost input=0 output=0 cache-read=0 cache-write=0
|
|
286
|
+
limits context=934464 max-tokens=65536
|
|
287
|
+
}
|
|
282
288
|
model "gemini-3.1-pro-preview" name="Gemini 3.1 Pro" {
|
|
283
289
|
reasoning #true
|
|
284
290
|
input "text" "image"
|
|
@@ -393,6 +399,12 @@ provider "factory-droid" {
|
|
|
393
399
|
cost input=0 output=0 cache-read=0 cache-write=0
|
|
394
400
|
limits context=908928 max-tokens=131072
|
|
395
401
|
}
|
|
402
|
+
model "muse-spark-1.3" name="Muse Spark 1.3" {
|
|
403
|
+
reasoning #true
|
|
404
|
+
input "text"
|
|
405
|
+
cost input=0 output=0 cache-read=0 cache-write=0
|
|
406
|
+
limits context=908928 max-tokens=131072
|
|
407
|
+
}
|
|
396
408
|
model "beam-1.0" name="Beam 1.0" {
|
|
397
409
|
reasoning #true
|
|
398
410
|
input "text"
|
|
@@ -937,6 +949,18 @@ provider "factory-droid" {
|
|
|
937
949
|
thinking-default-level "high"
|
|
938
950
|
entitlement { feature-flag "garnet_0715" }
|
|
939
951
|
}
|
|
952
|
+
// Launches Global-only: Factory serves it from neither US nor EU inference.
|
|
953
|
+
models "gemini-4-argon" {
|
|
954
|
+
routing-family "google"
|
|
955
|
+
upstream-rotation "google"
|
|
956
|
+
region-upstreams-us
|
|
957
|
+
credit-rates { input 1.6; output 5; cache-read 0.05 }
|
|
958
|
+
list-price-from "google"
|
|
959
|
+
thinking-efforts "low" "medium" "high"
|
|
960
|
+
thinking-requires-effort #true
|
|
961
|
+
thinking-default-level "medium"
|
|
962
|
+
entitlement { feature-flag "gemini_4_argon" }
|
|
963
|
+
}
|
|
940
964
|
models "gemini-3.1-pro-preview" {
|
|
941
965
|
routing-family "google"
|
|
942
966
|
upstream-rotation "google"
|
|
@@ -1171,6 +1195,19 @@ provider "factory-droid" {
|
|
|
1171
1195
|
thinking-requires-effort #true
|
|
1172
1196
|
thinking-default-level "high"
|
|
1173
1197
|
}
|
|
1198
|
+
// Vertex Model Garden serves 1.3 on its global endpoint only and rejects the
|
|
1199
|
+
// `none` and `max` tiers; the ladder outranks the Meta class ladder as 1.2's does.
|
|
1200
|
+
models "muse-spark-1.3" priority=1 {
|
|
1201
|
+
routing-family "factory"
|
|
1202
|
+
upstream-rotation "google"
|
|
1203
|
+
region-upstreams-us
|
|
1204
|
+
credit-rates { input 0.5; output 3.4; cache-read 0.12 }
|
|
1205
|
+
list-price-from "meta"
|
|
1206
|
+
thinking-efforts "low" "medium" "high" "xhigh"
|
|
1207
|
+
thinking-requires-effort #true
|
|
1208
|
+
thinking-default-level "high"
|
|
1209
|
+
entitlement { feature-flag "muse_spark_1_3" }
|
|
1210
|
+
}
|
|
1174
1211
|
models "beam-1.0" {
|
|
1175
1212
|
routing-family "factory"
|
|
1176
1213
|
upstream-rotation "baseten"
|
|
@@ -1448,9 +1485,9 @@ provider "factory-droid" {
|
|
|
1448
1485
|
server-side-fallback-models "claude-opus-5"
|
|
1449
1486
|
}
|
|
1450
1487
|
}
|
|
1451
|
-
// With tools, Anthropic and
|
|
1452
|
-
// fine-grained tool streaming; Bedrock takes the beta alone.
|
|
1453
|
-
on-upstream "anthropic" "vertex_anthropic" {
|
|
1488
|
+
// With tools, Anthropic, Vertex and Azure Foundry stream tool input eagerly
|
|
1489
|
+
// and advertise fine-grained tool streaming; Bedrock takes the beta alone.
|
|
1490
|
+
on-upstream "anthropic" "vertex_anthropic" "azure_anthropic" {
|
|
1454
1491
|
supports-eager-tool-input-streaming #true
|
|
1455
1492
|
anthropic-tool-streaming-beta #true
|
|
1456
1493
|
}
|
|
@@ -1515,12 +1552,27 @@ provider "factory-droid" {
|
|
|
1515
1552
|
models "grok-*" {
|
|
1516
1553
|
supports-reasoning-summary #false
|
|
1517
1554
|
}
|
|
1555
|
+
// Muse Spark 1.3 rides Responses through Vertex. Native asks for encrypted
|
|
1556
|
+
// reasoning but never replays it: Factory-served models fall outside the
|
|
1557
|
+
// reasoning it carries across Responses turns. It requests the model's full
|
|
1558
|
+
// output cap, above the generic Responses clamp.
|
|
1559
|
+
models "muse-spark-1.3" {
|
|
1560
|
+
filter-reasoning-history #true
|
|
1561
|
+
clamp-output-to-model-max #true
|
|
1562
|
+
}
|
|
1518
1563
|
models "gemini-*" "garnet-07-15" {
|
|
1519
1564
|
omit-max-output-tokens #true
|
|
1520
1565
|
google-thinking "level"
|
|
1521
1566
|
}
|
|
1522
|
-
models "gemini-3.1-pro-preview" "gemini-3.7-flash" "gemini-3.8-flash" {
|
|
1567
|
+
models "gemini-4-argon" "gemini-3.1-pro-preview" "gemini-3.7-flash" "gemini-3.8-flash" {
|
|
1523
1568
|
google-thinking "level-medium"
|
|
1524
1569
|
}
|
|
1570
|
+
// Argon's request policy: no sampling parameters, the output cap pinned
|
|
1571
|
+
// to the model maximum, and its own model turns replayed as Gemini sent them.
|
|
1572
|
+
models "gemini-4-argon" {
|
|
1573
|
+
google-omit-sampling #true
|
|
1574
|
+
google-pin-max-output-tokens #true
|
|
1575
|
+
google-native-replay #true
|
|
1576
|
+
}
|
|
1525
1577
|
// FACTORY_API_KEY is a control-plane key, not a subscription proxy token.
|
|
1526
1578
|
}
|
|
@@ -67,7 +67,23 @@ provider "muse-code" {
|
|
|
67
67
|
// `custom` tools are rejected with 400 "`custom` tools are not supported
|
|
68
68
|
// on this endpoint", so apply-patch must stay a function tool here.
|
|
69
69
|
edit-prompt-variant "compact"
|
|
70
|
+
// A Muse Code subscription key answers 403 `client_attestation_denied` when
|
|
71
|
+
// the request declares a tool with certain exact, case-sensitive names:
|
|
72
|
+
// `bash`, `shell`, `web_search`, `web_fetch`, `apply_patch`, `read_file`
|
|
73
|
+
// and `update_plan` (measured 2026-10-31, still 2026-11-03; `Bash`,
|
|
74
|
+
// `run_shell`, `local_shell` and omp's other built-in names pass, and the
|
|
75
|
+
// list is not exhaustive). Only declared names count: a replayed `bash`
|
|
76
|
+
// call in history is accepted. Prefixing every function tool with `_` was
|
|
77
|
+
// accepted with all of omp's built-in tools declared. Meta pay-as-you-go
|
|
78
|
+
// keys are not attested and keep plain names.
|
|
79
|
+
tool-name-prefix "_"
|
|
70
80
|
on-api "openai-responses" {
|
|
81
|
+
// api.meta.ai answers 400 "name must be at most 64 characters" for a longer
|
|
82
|
+
// tool name (#9130), and omp caps MCP names at exactly 64 for it. Scoped by
|
|
83
|
+
// provider and API so it outranks the 128 Responses default in
|
|
84
|
+
// tool-call-names.kdl. A name the `_` prefix would push past it goes out
|
|
85
|
+
// unprefixed.
|
|
86
|
+
tool-call-name-max-length 64
|
|
71
87
|
// Spark 1.3 Contributor warmed siblings hit 10/10 vs 0/10 with per-child keys (2026-10-12).
|
|
72
88
|
// Meta documents shared-prefix prompt_cache_key routing; keep the opt-in on these exact Muse Code IDs.
|
|
73
89
|
models "muse-spark-1.3" "muse-spark-1.3-contributor" "muse-wonder-1.0" "muse-wonder-1.0-contributor" "muse-wonder-full-1.0" "muse-wonder-full-1.0-contributor" {
|
|
@@ -48,6 +48,13 @@ provider "web" {
|
|
|
48
48
|
limits
|
|
49
49
|
supports-tools #false
|
|
50
50
|
}
|
|
51
|
+
model "keenable" name="Keenable" {
|
|
52
|
+
reasoning #false
|
|
53
|
+
input "text"
|
|
54
|
+
cost input=0 output=0 cache-read=0 cache-write=0
|
|
55
|
+
limits
|
|
56
|
+
supports-tools #false
|
|
57
|
+
}
|
|
51
58
|
model "jina" name="Jina" {
|
|
52
59
|
reasoning #false
|
|
53
60
|
input "text"
|