dsh-github-copilot 0.1.0-alpha.18.dsh.0.2.2.rc.3 → 0.1.0-alpha.19.dsh.0.2.2.rc.3
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/AGENTS.md +13 -3
- package/CHANGELOG.md +7 -0
- package/README.md +24 -18
- package/README.zh.md +20 -16
- package/deployment-baseline.json +8 -10
- package/docs/single-route-migration.md +14 -0
- package/lib/client.js +6 -5
- package/lib/client.js.map +1 -1
- package/lib/index.js +16 -130
- package/lib/remote.js +1 -0
- package/lib/types/authorization-controller.d.ts +1 -0
- package/lib/types/native-model-sync.d.ts +2 -8
- package/lib/types/remote.d.ts +1 -0
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -109,9 +109,19 @@ The user-authorized native model sync (#466, #479) is a narrow exception to the
|
|
|
109
109
|
no-settings-rewrite rule: after a visible preview and one explicit confirmation, one
|
|
110
110
|
revision-checked write may replace only
|
|
111
111
|
`llm-pi-ai.providers.github-copilot.models` in an existing canonical profile.
|
|
112
|
-
Prove current canonical-account metadata and the native adapter-owned catalog
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
Prove current canonical-account metadata and the native adapter-owned catalog.
|
|
113
|
+
The explicit #508 direction changes this operation to ID-only account model
|
|
114
|
+
submission, not capability qualification: submit all enabled account IDs as
|
|
115
|
+
`{ id }` references without intersecting them with the native catalog. Do not copy,
|
|
116
|
+
correct or certify account capacity, input, image or reasoning facts here.
|
|
117
|
+
Unknown native IDs are advisory only, not skipped; do not invent definitions
|
|
118
|
+
or rewrite route defaults. Native validation may reject the entire update.
|
|
119
|
+
The native adapter owns inherited definitions, validation,
|
|
120
|
+
requests and their limitations. This does not weaken account capability proof
|
|
121
|
+
for search or other plugin-owned request paths. Disclose additions, updates,
|
|
122
|
+
removals and IDs absent from the native catalog, and that replacing customized entries removes their
|
|
123
|
+
per-model overrides and output request defaults. A successful sync is not
|
|
124
|
+
model-call compatibility evidence.
|
|
115
125
|
Prepare the preview without forced discovery from existing verified evidence.
|
|
116
126
|
An existing `compat.supportsStrictMode: false` may be preserved only when at
|
|
117
127
|
least one synced Responses or Completions model supports it; block other unproven
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ release tags do not update this file after publication. Check the exact
|
|
|
5
5
|
[GitHub Release](https://github.com/cloga/dsh-github-copilot/releases) and npm
|
|
6
6
|
version separately rather than treating an old `prepared` label as current status.
|
|
7
7
|
|
|
8
|
+
## 0.1.0-alpha.19.dsh.0.2.2.rc.3 (prepared)
|
|
9
|
+
|
|
10
|
+
- Submit all enabled account model IDs directly instead of copying account capabilities or filtering against the native catalog (#508).
|
|
11
|
+
- Stop excluding native entries because of narrower input limits, restricted image formats or account reasoning metadata. The native adapter keeps its definitions and request behavior; this is not a compatibility certification.
|
|
12
|
+
- Sync submits only `{ id }` references, replacing existing per-model customizations and output defaults after the visible preview and explicit confirmation. IDs absent from the native catalog are advisory, not skipped; native validation may reject the entire update.
|
|
13
|
+
- Preserve canonical-account verification, existing route settings, Settings CAS/readback, history and model selections. No automatic profile update or installation.
|
|
14
|
+
|
|
8
15
|
## 0.1.0-alpha.18.dsh.0.2.2.rc.3 (prepared)
|
|
9
16
|
|
|
10
17
|
- Stop registering the separate `github-copilot-preview` model provider while retaining account metadata for explicitly confirmed native model sync (#500).
|
package/README.md
CHANGED
|
@@ -73,15 +73,15 @@ After the exact compatible release is available and verified, download its
|
|
|
73
73
|
original asset and checksum in an empty directory:
|
|
74
74
|
|
|
75
75
|
```sh
|
|
76
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
77
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
76
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.19.dsh.0.2.2.rc.3.tgz
|
|
77
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/SHA256SUMS
|
|
78
78
|
sha256sum --check SHA256SUMS
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
For the `web` profile, install the same Release asset:
|
|
82
82
|
|
|
83
83
|
```sh
|
|
84
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
84
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.19.dsh.0.2.2.rc.3.tgz
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Choose the intended profile explicitly. Then:
|
|
@@ -101,30 +101,36 @@ Account-discovered model metadata is available for an explicitly reviewed sync
|
|
|
101
101
|
into the native `github-copilot` model list; discovery alone does not change the
|
|
102
102
|
native catalog or model selection.
|
|
103
103
|
|
|
104
|
-
To
|
|
104
|
+
To select enabled model IDs from the verified account used by the native provider in an existing
|
|
105
105
|
native provider, open **Manage → Model preferences**, review the displayed
|
|
106
|
-
additions, updates, removals
|
|
106
|
+
additions, updates, removals and any IDs absent from the native catalog,
|
|
107
107
|
then choose **Sync models**. Preparing the display uses the current verified
|
|
108
108
|
account snapshot without forcing discovery; if it is unavailable, use
|
|
109
109
|
**Refresh models**. This one-time snapshot replaces only
|
|
110
110
|
`llm-pi-ai.providers.github-copilot.models` with Settings CAS and readback.
|
|
111
|
-
The
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
111
|
+
The submitted list contains all enabled account model IDs as `{ id }` references;
|
|
112
|
+
it is not intersected with the installed native catalog. A successfully saved
|
|
113
|
+
list remains after the plugin is unloaded or uninstalled. Capacities, protocols,
|
|
114
|
+
image support and reasoning controls are resolved by the native adapter,
|
|
115
|
+
not copied or certified from account metadata. Differences
|
|
116
|
+
in account input limits, image formats or reasoning metadata no longer exclude
|
|
117
|
+
a model from this submission. IDs absent from the native catalog are advisory,
|
|
118
|
+
not skipped. The native settings validator may reject the entire update when
|
|
119
|
+
it cannot resolve a model's protocol; the plugin does not guess a protocol or
|
|
120
|
+
change the route API to force it through. A rejected write is not reported as
|
|
121
|
+
successful; check the saved settings before trying again.
|
|
122
|
+
**Sync replaces existing per-model customizations, including configured output
|
|
123
|
+
request defaults, with native definitions.** Review updated and removed entries
|
|
124
|
+
before confirming. Route-wide settings remain unchanged. This selects a model
|
|
125
|
+
list; it does not prove supplier compatibility or enforce account-specific
|
|
126
|
+
limits. Native requests retain DSH's transport, validation and error behavior.
|
|
127
|
+
Custom native authentication,
|
|
122
128
|
endpoints, headers, nonempty model overrides, or unproven route compatibility
|
|
123
129
|
overrides block sync rather than changing those settings. An existing
|
|
124
130
|
`compat.supportsStrictMode: false` is preserved when at least one synced
|
|
125
131
|
Responses or Completions model supports that native override. An existing native default
|
|
126
|
-
reasoning effort
|
|
127
|
-
|
|
132
|
+
reasoning effort is preserved for native resolution. ID-only entries do not add
|
|
133
|
+
per-model `maxTokens` request defaults. The sync does
|
|
128
134
|
not change credentials, select a model, alter history, or automatically follow
|
|
129
135
|
later account changes.
|
|
130
136
|
|
package/README.zh.md
CHANGED
|
@@ -61,15 +61,15 @@ node scripts/select-core-release.mjs 0.2.2-rc.3
|
|
|
61
61
|
精确兼容版本发布且通过验证后,在空目录下载原始制品并校验:
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
65
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
64
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.19.dsh.0.2.2.rc.3.tgz
|
|
65
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/SHA256SUMS
|
|
66
66
|
sha256sum --check SHA256SUMS
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
例如安装到 `web` profile:
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
72
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.19.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.19.dsh.0.2.2.rc.3.tgz
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
请明确选择目标 profile,然后:
|
|
@@ -86,22 +86,26 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
|
|
|
86
86
|
自动发现的账号模型元数据可用于显式审核后同步到原生 `github-copilot` 模型列表;
|
|
87
87
|
仅发现元数据不会更改原生目录或模型选择。
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
**Manage → Model preferences
|
|
91
|
-
|
|
89
|
+
如需在已配置的原生 provider 中选择当前已验证账号的启用模型 ID,请打开
|
|
90
|
+
**Manage → Model preferences**,查看显示的新增、更新、移除以及原生目录未收录的 ID,
|
|
91
|
+
然后选择 **Sync models**。页面使用当前已验证的账号快照准备这些信息,不强制
|
|
92
92
|
重新发现;如果快照不可用,请使用 **Refresh models**。此显式单次快照只通过
|
|
93
|
-
Settings CAS 和回读替换 `llm-pi-ai.providers.github-copilot.models
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
Settings CAS 和回读替换 `llm-pi-ai.providers.github-copilot.models`。
|
|
94
|
+
提交的列表包含账号中所有启用模型的 `{ id }` 引用,不再与原生内置目录取交集。
|
|
95
|
+
成功保存的列表在卸载或停用插件后仍然保留。容量、协议、图像能力和推理控制
|
|
96
|
+
交由原生解析,不再复制或认证账号元数据中的能力。
|
|
97
|
+
账号输入上限、图像格式或推理元数据的差异不再成为排除模型的条件。
|
|
98
|
+
原生目录未收录的 ID 只做提示,不会跳过;如果原生无法解析某个模型的协议,
|
|
99
|
+
原生设置校验可能拒绝整次更新。插件不会猜测协议或自动更改路线 API 来绕过拒绝。
|
|
100
|
+
失败写入不会显示为成功,请检查已保存设置后再重试。
|
|
101
|
+
**同步会用原生定义替换已有的模型自定义参数,包括单次请求输出默认值。**
|
|
102
|
+
确认前请检查更新和移除项。路线级设置保持不变。这只是模型列表选择,不代表供应商
|
|
103
|
+
兼容性已经验证,也不会强制执行账号特有的限制;传输、校验和错误处理仍由原生拥有。
|
|
104
|
+
原生 provider 存在自定义认证、端点、请求头、非空模型覆盖或无法验证的
|
|
101
105
|
路线兼容性覆盖时,同步会停止,不会修改这些设置。已有的 `compat.supportsStrictMode: false`
|
|
102
106
|
会保留,但至少一个同步模型必须使用支持该设置的 Responses 或 Completions 协议。已有的
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
原生默认推理级别会保留并交由原生解析。仅含 ID 的条目不添加模型级 `maxTokens`
|
|
108
|
+
请求默认值。同步不修改凭据、选择或历史,也不会自动
|
|
105
109
|
跟随后续账号变化。
|
|
106
110
|
|
|
107
111
|
在原生 GitHub Copilot 账号面板的 **Manage → 账号管理 → 切换** 中选择账号,
|
package/deployment-baseline.json
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
},
|
|
9
9
|
"package": {
|
|
10
10
|
"name": "dsh-github-copilot",
|
|
11
|
-
"version": "0.1.0-alpha.
|
|
11
|
+
"version": "0.1.0-alpha.19.dsh.0.2.2.rc.3"
|
|
12
12
|
},
|
|
13
13
|
"releaseLines": [
|
|
14
14
|
{ "core": "0.2.0-rc.2", "version": "0.4.2-alpha.15", "status": "published" },
|
|
15
15
|
{ "core": "0.2.1-alpha.4", "version": "0.4.2-alpha.16", "status": "published" },
|
|
16
16
|
{ "core": "0.2.1-alpha.5", "version": "0.1.0-alpha.2.dsh.0.2.1.alpha.5", "status": "published" },
|
|
17
17
|
{ "core": "0.2.1-rc.3", "version": "0.1.0-alpha.5.dsh.0.2.1.rc.3", "status": "published" },
|
|
18
|
-
{ "core": "0.2.2-rc.3", "version": "0.1.0-alpha.
|
|
18
|
+
{ "core": "0.2.2-rc.3", "version": "0.1.0-alpha.19.dsh.0.2.2.rc.3", "status": "pending" }
|
|
19
19
|
],
|
|
20
20
|
"evidence": {
|
|
21
21
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
"activation": "visible-nonforcing-preview-and-one-shot-confirmation",
|
|
743
743
|
"evidenceScope": "tagged-native-settings-and-resolution-with-synthetic-catalog-proof-plus-separate-adapter-ownership-tests-not-live-provider",
|
|
744
744
|
"sourceMarkers": [
|
|
745
|
-
{"file": "src/native-model-sync.ts", "marker": "
|
|
745
|
+
{"file": "src/native-model-sync.ts", "marker": "nativeCatalogMissingIds"},
|
|
746
746
|
{"file": "src/native-copilot-access.ts", "marker": "captureNativeCopilotCatalog"},
|
|
747
747
|
{"file": "src/authorization-controller.ts", "marker": "path: ['providers', GITHUB_COPILOT_PROVIDER_ID, 'models']"},
|
|
748
748
|
{"file": "src/model-preferences-card.ts", "marker": "Sync models"},
|
|
@@ -750,14 +750,12 @@
|
|
|
750
750
|
{"file": "src/remote.ts", "marker": "GitHubCopilotNativeModelSyncPreviewSchema"}
|
|
751
751
|
],
|
|
752
752
|
"tests": [
|
|
753
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "
|
|
754
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "does not
|
|
755
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "
|
|
756
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "
|
|
757
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "
|
|
758
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "does not expose an off control that the managed account model does not expose"},
|
|
753
|
+
{"file": "tests/native-model-sync.spec.ts", "name": "submits all enabled account IDs without copying or qualifying capabilities"},
|
|
754
|
+
{"file": "tests/native-model-sync.spec.ts", "name": "does not reject native entries for narrower input, image formats or unavailable account reasoning controls"},
|
|
755
|
+
{"file": "tests/native-model-sync.spec.ts", "name": "leaves mixed-protocol model definitions with the native catalog instead of rewriting them"},
|
|
756
|
+
{"file": "tests/native-model-sync.spec.ts", "name": "includes unknown native IDs with an advisory instead of filtering them or inventing defaults"},
|
|
757
|
+
{"file": "tests/native-model-sync.spec.ts", "name": "treats native schema-injected empty fields as unchanged but discloses removal of custom definitions"},
|
|
759
758
|
{"file": "tests/preview-route.spec.ts", "name": "binds native sync discovery and proof to the global account, not the initiating Session"},
|
|
760
|
-
{"file": "tests/native-model-sync.spec.ts", "name": "syncs vision only when account metadata covers every native request image format"},
|
|
761
759
|
{"file": "tests/account-model-catalog.spec.ts", "name": "distinguishes absent vision and reasoning metadata from explicitly declared empty support"},
|
|
762
760
|
{"file": "tests/native-copilot-access.spec.ts", "name": "exposes the proven unfiltered adapter catalog independently of the configured model list"},
|
|
763
761
|
{"file": "tests/native-copilot-access.spec.ts", "name": "revokes a catalog snapshot when its native Loader entry is removed"},
|
|
@@ -37,6 +37,20 @@ catalog sync. The optional native model sync is separately previewed and
|
|
|
37
37
|
confirmed, writes only the existing native model-list path, and never creates a
|
|
38
38
|
provider profile.
|
|
39
39
|
|
|
40
|
+
Model sync submits all enabled account IDs as `{ id }` entries, without a
|
|
41
|
+
second capability filter or a native-catalog intersection (#508). Missing
|
|
42
|
+
native IDs are advisory only. Native configuration resolves definitions from
|
|
43
|
+
its own catalog and existing route settings; it may reject an unresolved ID and
|
|
44
|
+
therefore the entire write. The plugin does not force an API, suppress native
|
|
45
|
+
validation or claim model-call compatibility from a matching name.
|
|
46
|
+
|
|
47
|
+
Confirming sync replaces per-model customizations, including explicit output
|
|
48
|
+
request defaults. The preview discloses updated and removed entries, and the
|
|
49
|
+
saved list is checked against both user and effective Settings. Failures and
|
|
50
|
+
uncertain outcomes remain errors, with no automatic retry. Successful ID-only
|
|
51
|
+
lists remain usable by the native adapter after plugin unload; that persistence
|
|
52
|
+
does not prove supplier capability or successful inference.
|
|
53
|
+
|
|
40
54
|
The account controls cannot replace DSH's native provider **Edit/Delete**
|
|
41
55
|
controls. Saving another native provider group remains a native DSH action; the
|
|
42
56
|
plugin does not intercept it or claim to enforce a single group.
|
package/lib/client.js
CHANGED
|
@@ -7099,6 +7099,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7099
7099
|
addedIds: array(string().min(1).max(200)).max(512),
|
|
7100
7100
|
removedIds: array(string().min(1).max(200)).max(512),
|
|
7101
7101
|
updatedIds: array(string().min(1).max(200)).max(512),
|
|
7102
|
+
nativeCatalogMissingIds: array(string().min(1).max(200)).max(512).optional(),
|
|
7102
7103
|
skipped: array(object({
|
|
7103
7104
|
id: string().min(1).max(200),
|
|
7104
7105
|
code: _enum([
|
|
@@ -12296,12 +12297,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12296
12297
|
case "NATIVE_MODEL_SYNC_NATIVE_AUTH_UNPROVEN": return "The native provider uses custom authentication, an endpoint, or headers; its account cannot be verified for sync.";
|
|
12297
12298
|
case "NATIVE_MODEL_SYNC_OVERRIDES_CONFLICT": return "Native model overrides conflict with a custom model list. Review them before syncing; they will not be removed automatically.";
|
|
12298
12299
|
case "NATIVE_MODEL_SYNC_ROUTE_COMPAT_UNPROVEN": return "Native route compatibility overrides cannot be verified for the new model list. Review them before syncing.";
|
|
12299
|
-
case "NATIVE_MODEL_SYNC_NO_SYNCABLE_MODELS": return "No enabled account
|
|
12300
|
+
case "NATIVE_MODEL_SYNC_NO_SYNCABLE_MODELS": return "No enabled account model IDs are available to submit.";
|
|
12300
12301
|
case "NATIVE_MODEL_SYNC_PLAN_EXPIRED":
|
|
12301
12302
|
case "NATIVE_MODEL_SYNC_PLAN_STALE": return "The model list changed or expired. Review the refreshed changes before syncing again.";
|
|
12302
12303
|
case "NATIVE_MODEL_SYNC_SETTINGS_CONFLICT": return "Native settings changed elsewhere. Review the refreshed changes before syncing again.";
|
|
12303
12304
|
case "NATIVE_MODEL_SYNC_READBACK_FAILED":
|
|
12304
|
-
case "NATIVE_MODEL_SYNC_SAVE_FAILED": return "Could not confirm the native settings update. Read the saved settings before trying again.";
|
|
12305
|
+
case "NATIVE_MODEL_SYNC_SAVE_FAILED": return "Could not confirm the native settings update. Native validation may reject unresolved model IDs. Read the saved settings before trying again.";
|
|
12305
12306
|
default: return "Native model sync is unavailable. No settings were changed.";
|
|
12306
12307
|
}
|
|
12307
12308
|
}
|
|
@@ -12656,7 +12657,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12656
12657
|
}, (0, react.createElement)("strong", null, "Native provider model list"), (0, react.createElement)("p", { style: {
|
|
12657
12658
|
...nativeCaptionStyle,
|
|
12658
12659
|
margin: 0
|
|
12659
|
-
} }, "
|
|
12660
|
+
} }, "Submit all enabled model IDs from the verified account used by the native provider. Native settings resolve the model definitions; account capabilities are not copied. Existing per-model settings, including output defaults, are replaced by ID-only entries. This saved list remains after the plugin is unloaded or uninstalled. Credentials, model selection, and conversation history do not change. Native validation may reject the update; this is not proof that every model or capability will work."), syncPreparing ? (0, react.createElement)("p", {
|
|
12660
12661
|
role: "status",
|
|
12661
12662
|
style: {
|
|
12662
12663
|
...nativeCaptionStyle,
|
|
@@ -12679,7 +12680,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12679
12680
|
}, (0, react.createElement)("p", { style: {
|
|
12680
12681
|
...nativeCaptionStyle,
|
|
12681
12682
|
margin: 0
|
|
12682
|
-
} }, `${syncPreview.syncableCount} of ${syncPreview.enabledCount} enabled
|
|
12683
|
+
} }, `${syncPreview.syncableCount} of ${syncPreview.enabledCount} enabled model IDs will be submitted; ${syncPreview.addedIds.length} added, ${syncPreview.updatedIds.length} updated, ${syncPreview.removedIds.length} removed from the native list, ${syncPreview.skipped.length} skipped.`), (0, react.createElement)("div", {
|
|
12683
12684
|
role: "region",
|
|
12684
12685
|
"aria-label": "Model changes and output defaults",
|
|
12685
12686
|
tabIndex: 0,
|
|
@@ -12688,7 +12689,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12688
12689
|
overflowY: "auto",
|
|
12689
12690
|
...nativeCaptionStyle
|
|
12690
12691
|
}
|
|
12691
|
-
}, syncPreview.removedIds.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Native models that will be removed"), (0, react.createElement)("ul", null, ...syncPreview.removedIds.map((id) => (0, react.createElement)("li", { key: id }, (0, react.createElement)("code", null, id))))), syncPreview.skipped.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Models
|
|
12692
|
+
}, !syncPreview.nativeCatalogMissingIds?.length ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "IDs absent from the installed native catalog"), (0, react.createElement)("p", null, "These IDs are included, not skipped. Native settings may reject the entire update if their protocol cannot be resolved."), (0, react.createElement)("ul", null, ...syncPreview.nativeCatalogMissingIds.map((id) => (0, react.createElement)("li", { key: id }, (0, react.createElement)("code", null, id))))), syncPreview.removedIds.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Native models that will be removed"), (0, react.createElement)("ul", null, ...syncPreview.removedIds.map((id) => (0, react.createElement)("li", { key: id }, (0, react.createElement)("code", null, id))))), syncPreview.skipped.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Models unavailable for this native list"), (0, react.createElement)("ul", null, ...syncPreview.skipped.map((item) => (0, react.createElement)("li", { key: item.id }, (0, react.createElement)("code", null, item.id), ` — ${nativeSyncSkipMessage(item.code)} (${item.code})`)))), syncPreview.addedIds.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Models to add"), (0, react.createElement)("ul", null, ...syncPreview.addedIds.map((id) => (0, react.createElement)("li", { key: id }, (0, react.createElement)("code", null, id))))), syncPreview.updatedIds.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, "Models to update"), (0, react.createElement)("ul", null, ...syncPreview.updatedIds.map((id) => (0, react.createElement)("li", { key: id }, (0, react.createElement)("code", null, id))))), syncPreview.outputTokenDefaults.length === 0 ? null : (0, react.createElement)("div", null, (0, react.createElement)("strong", null, `Per-request output defaults (${syncPreview.outputTokenDefaults.length})`), (0, react.createElement)("ul", null, ...syncPreview.outputTokenDefaults.map((item) => (0, react.createElement)("li", { key: item.id }, (0, react.createElement)("code", null, item.id), ` — ${item.maxTokens.toLocaleString()} max output tokens`)))))), (0, react.createElement)("button", {
|
|
12692
12693
|
type: "button",
|
|
12693
12694
|
style: {
|
|
12694
12695
|
...controlStyle,
|