dsh-github-copilot 0.1.0-alpha.11.dsh.0.2.2.rc.3 → 0.1.0-alpha.13.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 +1 -1
- package/CHANGELOG.md +12 -1
- package/README.md +12 -5
- package/README.zh.md +11 -5
- package/deployment-baseline.json +3 -4
- package/docs/auto-review-sampling.md +18 -2
- package/docs/auto-task-routing.md +1 -1
- package/docs/automatic-model-routing.md +3 -3
- package/docs/image-input-compatibility.md +27 -109
- package/docs/official-first-021-alpha5.md +2 -0
- package/lib/client.js +2 -2
- package/lib/client.js.map +1 -1
- package/lib/index.js +25 -112
- package/package.json +1 -1
- package/lib/types/image-input-admission.d.ts +0 -20
package/AGENTS.md
CHANGED
|
@@ -279,7 +279,7 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
|
|
|
279
279
|
- `src/temporary-models.ts`: exact, account-gated corrections with semantic protocol/capability retirement.
|
|
280
280
|
- `src/model-protocol.ts`: explicit Core capability detection and conservative legacy fallback.
|
|
281
281
|
- `src/responses-reasoning.ts`, `src/responses-reasoning-text.ts`: selected-model effort mapping and public summary assembly.
|
|
282
|
-
- `src/tool-schema-compat.ts`: Copilot-only prompt-assembly filter for unusable escalation arguments
|
|
282
|
+
- `src/tool-schema-compat.ts`: Copilot-only prompt-assembly filter for unusable escalation arguments; Goal schemas remain native.
|
|
283
283
|
- `src/plan.ts`: Copilot-only, fail-closed hosted-search candidate lifecycle.
|
|
284
284
|
- `src/auto-assessment-evidence.ts`: bounded request-local semantic classifier milestones copied into strict ephemeral turn evidence; no prompts, replay, credentials or error bodies. Total includes preparation; adapter start and first text are not HTTP dispatch/byte timings. Keep one configured monotonic deadline (30s default, 1000–120000ms) checked at preparation/native request/result boundaries and 128-token compact output; delayed timer settlement is not a real-time guarantee. The user-approved budget trial is not calibrated latency or proof of past timeout causes. Empty classifier setting retains metadata-driven automatic selection; a nonempty exact account ID preserves proof/exclusion/text/headroom guards, never a virtual Auto ID or silent alternate-model fallback. Both native volatile Config leaves affect future assessments and preserve admitted turns. Prefer eligible supplier-advertised reasoning-off classifiers, but request off only when supplier and public prepared-model effort agree; unsupported native controls stay unchanged. No guessed optimal/latency ranking, benchmark requests, adaptive timeout, cooldown or cross-turn cache without reviewed observations.
|
|
285
285
|
- `src/probe.ts`: bounded native-search capability proof.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.0-alpha.
|
|
3
|
+
## 0.1.0-alpha.13.dsh.0.2.2.rc.3 (prepared)
|
|
4
|
+
|
|
5
|
+
- Qualify native Copilot profiles after actual Config/Settings normalization: schema-default empty template maps and boolean `supportsStrictMode` no longer disable reviewer-only temperature omission or canonical hosted-search readiness (#483).
|
|
6
|
+
- Apply the same narrow compatibility rule at provider, model and model-override levels while retaining unknown-value, credential, endpoint, headers, ownership and lifecycle refusal.
|
|
7
|
+
- Add normalized native configuration and reviewer/search regressions. No profile rewrite, Core patch, automatic restart, general sampling override or live supplier acceptance is implied.
|
|
8
|
+
|
|
9
|
+
## 0.1.0-alpha.12.dsh.0.2.2.rc.3 (prepared)
|
|
10
|
+
|
|
11
|
+
- Retire the managed route's projected-image MIME preflight and Goal schema rewriting (#481). Core owns image projection and Goal schemas; supplier errors are not preempted by a plugin MIME diagnostic.
|
|
12
|
+
- Keep the managed route's permission-field filtering and the native model-sync format eligibility checks unchanged.
|
|
13
|
+
|
|
14
|
+
## 0.1.0-alpha.11.dsh.0.2.2.rc.3 (published)
|
|
4
15
|
|
|
5
16
|
- Show native model-list changes and output defaults automatically from current verified account metadata; one **Sync models** action explicitly confirms the write (#479).
|
|
6
17
|
- Preserve an existing disabled native strict-mode override when the synced list contains a supporting Responses or Completions model; unproven overrides remain blocked.
|
package/README.md
CHANGED
|
@@ -67,15 +67,15 @@ After the exact compatible release is available and verified, download its
|
|
|
67
67
|
original asset and checksum in an empty directory:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
71
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
70
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
71
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/SHA256SUMS
|
|
72
72
|
sha256sum --check SHA256SUMS
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
For the `web` profile, install the same Release asset:
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
78
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
Choose the intended profile explicitly. Then:
|
|
@@ -102,8 +102,10 @@ account snapshot without forcing discovery; if it is unavailable, use
|
|
|
102
102
|
`llm-pi-ai.providers.github-copilot.models` with Settings CAS and readback.
|
|
103
103
|
The nonempty saved list replaces the native built-in catalog and remains after
|
|
104
104
|
the plugin is unloaded or uninstalled. Copying model settings does not transfer
|
|
105
|
-
the managed route's
|
|
106
|
-
|
|
105
|
+
the managed route's permission-field filtering to native requests, nor prove
|
|
106
|
+
that supplier calls will succeed. Neither route checks the projected image MIME
|
|
107
|
+
against the account model's format list before dispatch.
|
|
108
|
+
The managed route also uses the native Goal update schema without rewriting it.
|
|
107
109
|
Models with unproven or incompatible native catalog protocols, unknown or
|
|
108
110
|
narrower server input caps, unknown context or vision support, or unknown or
|
|
109
111
|
unsupported reasoning controls are skipped rather than guessed.
|
|
@@ -149,6 +151,11 @@ The native Auto reviewer's qualified Copilot Responses requests omit
|
|
|
149
151
|
`temperature`; ordinary Chat and native allow/deny/error/cancel behavior remain
|
|
150
152
|
unchanged. Qualification uses the native adapter's pi-ai catalog even when
|
|
151
153
|
the plugin resolves a separate copy; missing protocol facts remain unavailable.
|
|
154
|
+
Native schema-default empty `chatTemplateKwargs`/`chatTemplateArgs` maps and a
|
|
155
|
+
boolean `supportsStrictMode` do not disqualify this route, including per-model
|
|
156
|
+
configuration. Other compatibility overrides remain unqualified. No settings
|
|
157
|
+
rewrite is needed to remove schema defaults; do not disable review or search
|
|
158
|
+
proof as a workaround. CI acceptance and live Desktop activation are separate.
|
|
152
159
|
See [reviewer compatibility](./docs/auto-review-sampling.md).
|
|
153
160
|
The native route's quota and optional identity display use only the canonical OAuth account. If the
|
|
154
161
|
provider names a credential, endpoint or nonempty headers override, or its configuration
|
package/README.zh.md
CHANGED
|
@@ -55,15 +55,15 @@ node scripts/select-core-release.mjs 0.2.2-rc.3
|
|
|
55
55
|
精确兼容版本发布且通过验证后,在空目录下载原始制品并校验:
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
59
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
58
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
59
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/SHA256SUMS
|
|
60
60
|
sha256sum --check SHA256SUMS
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
例如安装到 `web` profile:
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
66
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
请明确选择目标 profile,然后:
|
|
@@ -83,7 +83,9 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
|
|
|
83
83
|
重新发现;如果快照不可用,请使用 **Refresh models**。此显式单次快照只通过
|
|
84
84
|
Settings CAS 和回读替换 `llm-pi-ai.providers.github-copilot.models`。原生 profile
|
|
85
85
|
中保存的非空列表会替代原生内置目录,卸载或停用插件后仍然保留。复制模型设置不会将
|
|
86
|
-
|
|
86
|
+
托管路线的权限参数过滤迁移到原生请求,也不能证明供应商调用成功。两条路线均不会在
|
|
87
|
+
发送前将实际投影的图片 MIME 与账号模型的格式清单进行对照检查。
|
|
88
|
+
托管路线也直接使用原生 Goal 更新 schema,不再改写。
|
|
87
89
|
无法证明或与原生目录不兼容的协议、未知或更窄的服务端输入上限、未知上下文或图像支持,
|
|
88
90
|
以及未知或不支持的推理控制会被跳过,不会猜测。缺少原生目录兼容性基线的新 Completions 和
|
|
89
91
|
Anthropic 模型也会被跳过;已有目录模型保留原生兼容性。只有账号明确支持 PNG、JPEG、WebP、GIF 四种原生请求图像格式时,
|
|
@@ -112,7 +114,11 @@ Anthropic 模型也会被跳过;已有目录模型保留原生兼容性。只
|
|
|
112
114
|
Web 服务替换或旧插件路由 UI。
|
|
113
115
|
原生 Auto reviewer 经确认的 Copilot Responses 审核请求会省略 `temperature`;
|
|
114
116
|
普通聊天和原生 allow/deny/error/cancel 行为不变。即使插件解析到另一份 pi-ai,
|
|
115
|
-
|
|
117
|
+
资格判断也使用原生适配器的目录;无法确认协议时仍不可用。
|
|
118
|
+
原生 Schema 自动生成的空 `chatTemplateKwargs`/`chatTemplateArgs` 映射及布尔型
|
|
119
|
+
`supportsStrictMode` 不会使路线失去资格,逐模型配置也遵守同一规则;其他兼容覆盖仍不获准。
|
|
120
|
+
无须改写设置来删除 Schema 默认值,也不应通过关闭审核或搜索能力探测来绕过故障。
|
|
121
|
+
CI 验收和 Desktop 实际加载属于不同证据层级。参见
|
|
116
122
|
[审核兼容说明](./docs/auto-review-sampling.md)。
|
|
117
123
|
原生路线的额度和可选身份显示只使用 canonical OAuth 账号;如果 provider 指定了其他凭据、
|
|
118
124
|
端点或非空请求头,或无法确认其配置,则显示额度不可用,不会将其他账号的额度归到原生路线。
|
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.13.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.13.dsh.0.2.2.rc.3", "status": "pending" }
|
|
19
19
|
],
|
|
20
20
|
"evidence": {
|
|
21
21
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -1220,12 +1220,11 @@
|
|
|
1220
1220
|
"sourceMarkers": [
|
|
1221
1221
|
{"file": "src/tool-schema-compat.ts", "marker": "options.provider !== GITHUB_COPILOT_PREVIEW_PROVIDER_ID"},
|
|
1222
1222
|
{"file": "src/tool-schema-compat.ts", "marker": "ESCALATION_FIELDS"},
|
|
1223
|
-
{"file": "src/tool-schema-compat.ts", "marker": "GOAL_UPDATE_TOOL_NAME"},
|
|
1224
1223
|
{"file": "scripts/verify-upstream-baseline.mjs", "marker": "baseline.strictModeCompat === 'route-switch'"}
|
|
1225
1224
|
],
|
|
1226
1225
|
"tests": [
|
|
1227
1226
|
{"file": "tests/tool-schema-compat.spec.ts", "name": "removes escalation properties and required entries only for Copilot"},
|
|
1228
|
-
{"file": "tests/tool-schema-compat.spec.ts", "name": "
|
|
1227
|
+
{"file": "tests/tool-schema-compat.spec.ts", "name": "preserves the native update_goal schema for Copilot"},
|
|
1229
1228
|
{"file": "tests/tool-schema-compat.spec.ts", "name": "preserves every schema for non-Copilot providers"},
|
|
1230
1229
|
{"file": "tests/fixtures/tool-schema-core.fixture.ts", "name": "preserves frozen native requests and conditional tool execution while adapting managed wire schemas"},
|
|
1231
1230
|
{"file": "tests/authorization-controller.spec.ts", "name": "preserves configured Anthropic and OpenAI models during explicit strict mode repair"},
|
|
@@ -9,8 +9,24 @@ native Responses route. The adapter and plugin may resolve separate pi-ai copies
|
|
|
9
9
|
protocol facts come from the adapter's copy, not an assumed equivalent plugin
|
|
10
10
|
catalog. Missing exports or incomplete metadata leave the enhancement
|
|
11
11
|
unavailable with a diagnostic. It requires `purpose: 'auto-review'` and excludes
|
|
12
|
-
loop-owned requests. Custom credential, endpoint and compatibility
|
|
13
|
-
remain native; unknown models are diagnosed, never assigned a guessed protocol.
|
|
12
|
+
loop-owned requests. Custom credential, endpoint and unqualified compatibility
|
|
13
|
+
overrides remain native; unknown models are diagnosed, never assigned a guessed protocol.
|
|
14
|
+
|
|
15
|
+
Qualification reads the native Settings schema output, not raw YAML (#483).
|
|
16
|
+
The schema materializes empty `compat.chatTemplateKwargs` and
|
|
17
|
+
`compat.chatTemplateArgs` maps at provider and model levels. These empty maps
|
|
18
|
+
are not custom transport. The only additionally qualified compatibility leaf
|
|
19
|
+
is boolean `supportsStrictMode`, which controls native tool-schema strictness,
|
|
20
|
+
not credentials, endpoint, protocol or sampling. Apply the same narrow rule to
|
|
21
|
+
provider, configured model and model-override entries without mutating any of
|
|
22
|
+
them. Nonempty template maps, unknown compatibility keys and malformed values
|
|
23
|
+
remain unqualified; credential, endpoint, headers, ownership and lifecycle
|
|
24
|
+
checks are unchanged.
|
|
25
|
+
|
|
26
|
+
Deleting `compat` from stored configuration is not a workaround: schema
|
|
27
|
+
normalization recreates its empty defaults. The regression must pass real native
|
|
28
|
+
Config/Settings output through reviewer and hosted-search qualification; raw
|
|
29
|
+
handwritten profile fixtures alone cannot establish this compatibility.
|
|
14
30
|
|
|
15
31
|
The auxiliary request is cloned without temperature and prepared through public
|
|
16
32
|
`llm.prepareCall`. Identity and configuration are checked again after awaits,
|
|
@@ -332,7 +332,7 @@ no-fit recovery, one-call semantic success/invalid/failure/timeout/cancellation,
|
|
|
332
332
|
omitted context, strict Remote and footer English/Chinese explanations.
|
|
333
333
|
|
|
334
334
|
Retain native gateway, parent following, manual selection, exclusion admission,
|
|
335
|
-
account proof, image
|
|
335
|
+
account proof, general image eligibility and compaction fixture coverage. Full protected
|
|
336
336
|
Windows/Linux CI remains mandatory before merge/release. No live inference
|
|
337
337
|
calls are needed for synthetic acceptance.
|
|
338
338
|
|
|
@@ -74,9 +74,9 @@ the [latest review](./auto-iteration-review.json) before implementation.
|
|
|
74
74
|
|
|
75
75
|
Image eligibility includes historical user/tool image blocks in all entered
|
|
76
76
|
messages, not only current user text. Text-only candidates are removed; Auto
|
|
77
|
-
advertises image input only with an eligible image model.
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
advertises image input only with an eligible image model. Fixed/Auto dispatch
|
|
78
|
+
does not check the projected MIME against the account model's format list;
|
|
79
|
+
supplier acceptance and errors remain native.
|
|
80
80
|
[Image admission limits](./image-input-compatibility.md).
|
|
81
81
|
|
|
82
82
|
Auto does not trim history or own compaction transactions. Estimated pressure
|
|
@@ -1,111 +1,29 @@
|
|
|
1
1
|
# Image input compatibility
|
|
2
2
|
|
|
3
|
-
Current source target: official DSH `0.2.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
turn freezing and existing cancellation/retry policy stay unchanged.
|
|
31
|
-
|
|
32
|
-
### Admission error details
|
|
33
|
-
|
|
34
|
-
The standard native `INVALID_REQUEST` failure message retains the diagnostic
|
|
35
|
-
code and now explains why the request was blocked before selected-model wire
|
|
36
|
-
dispatch. It includes a bounded, content-free JSON diagnostic: selected real
|
|
37
|
-
model ID (safe identifiers only, otherwise `unavailable`), normalized projected
|
|
38
|
-
MIME (invalid/missing/overlong values become `unavailable`), up to eight explicit
|
|
39
|
-
allowed MIME types with total count and truncation flag, projected message/block
|
|
40
|
-
zero-based indices, allowlisted projected role, and this plugin build's version.
|
|
41
|
-
An absent allowed list is `null`, not an empty list or universal format proof.
|
|
42
|
-
These positions refer to the native projected transcript, not durable history
|
|
43
|
-
IDs or an attachment identity. Only the first rejected image is reported.
|
|
44
|
-
|
|
45
|
-
This uses the existing error/finish presentation, not a new Remote, collector,
|
|
46
|
-
diagnostic store, or history event. Image bytes, URLs, paths, prompt text and
|
|
47
|
-
credentials are never included. Native handling of failure messages is unchanged;
|
|
48
|
-
this is not a claim that native failures are never retained. The version describes
|
|
49
|
-
the build producing this error, not the plugin loaded during an earlier incident.
|
|
50
|
-
Earlier Auto assessment traffic, if any, is not a selected-model dispatch.
|
|
51
|
-
|
|
52
|
-
History images can cause this failure on a text-only continuation. The error
|
|
53
|
-
offers explicit next-turn choices: select a model whose current advertised formats
|
|
54
|
-
accept the projection, or start a separate text-only Session without those
|
|
55
|
-
historical images. Missing MIME needs investigation using the diagnostic, not
|
|
56
|
-
guessing from filenames. There is no automatic retry, model switch, image removal,
|
|
57
|
-
conversion, or history mutation.
|
|
58
|
-
|
|
59
|
-
## Evidence layers and recovery limits
|
|
60
|
-
|
|
61
|
-
Source filename, durable attachment MIME and outgoing projected MIME are
|
|
62
|
-
different facts. Native rc.2 prepares images through public attachment services
|
|
63
|
-
and may re-encode them. A `.png` display name can belong to durable WebP; that
|
|
64
|
-
alone does not establish what the provider received.
|
|
65
|
-
|
|
66
|
-
Do not exclude a model by name to conceal a format failure. A supplier/model
|
|
67
|
-
card's general vision claim is not GitHub endpoint format proof. Exact-format
|
|
68
|
-
Auto filtering from durable MIME can reject a model whose native projection
|
|
69
|
-
would be accepted; candidate-specific projection would require another public
|
|
70
|
-
contract and reviewed tests.
|
|
71
|
-
|
|
72
|
-
Auto currently filters general image capability, not the final candidate-specific
|
|
73
|
-
projected MIME. A vision-eligible selection may therefore still fail the final
|
|
74
|
-
format gate. This diagnostic improvement does not close that capability gap.
|
|
75
|
-
The current public seam used here receives projection only in `inspectRequest`,
|
|
76
|
-
after model selection. Do not pre-project candidates through private APIs or
|
|
77
|
-
replace this fail-closed gate with inferred durable-format filtering.
|
|
78
|
-
|
|
79
|
-
The current fix diagnoses explicit incompatibility, not every provider 400.
|
|
80
|
-
When advertised restrictions and outgoing projection agree but the endpoint
|
|
81
|
-
rejects it, retain the native error. Do not invent capability corrections,
|
|
82
|
-
reselect mid-turn, add a fallback wire or replay the request automatically.
|
|
83
|
-
An explicit smaller [native image budget](./copilot-compaction.md) changes
|
|
84
|
-
outgoing visibility through Core offload; it is not a supplier JSON threshold.
|
|
85
|
-
|
|
86
|
-
## Verification
|
|
87
|
-
|
|
88
|
-
`node --test tests/scripts/image-input-admission.test.mjs` exercises the real
|
|
89
|
-
TypeScript admission helper using Node's built-in runner: historical user/tool
|
|
90
|
-
projections, missing/invalid/unsupported formats, absent versus empty restrictions,
|
|
91
|
-
bounded redacted diagnostics, no private-content reads and no input mutation.
|
|
92
|
-
It does not exercise the native adapter or Client.
|
|
93
|
-
`tests/preview-route.spec.ts` covers the native failure/finish surface and no
|
|
94
|
-
selected-model wire on rejection; `tests/auto-model-routing.spec.ts` preserves the
|
|
95
|
-
explicit separation between Auto vision eligibility and final projected-format
|
|
96
|
-
admission. These require the unchanged pinned dependencies. Passing the
|
|
97
|
-
dependency-free helper tests is not a substitute for those integration gates.
|
|
98
|
-
|
|
99
|
-
Historical tool-image continuation first reproduced the old missed-image
|
|
100
|
-
requirement. Regressions now cover all Auto preferences, historical user/tool
|
|
101
|
-
images, no vision candidate and native WebP-to-PNG projection against explicit
|
|
102
|
-
PNG/JPEG restrictions. A mismatch emits native `finish(error)` with zero model
|
|
103
|
-
requests.
|
|
104
|
-
|
|
105
|
-
The historical [delivery CI](https://github.com/cloga/dsh-github-copilot/actions/runs/36966798814)
|
|
106
|
-
passed exact unchanged rc.2 Windows/Linux source and published-adapter fixtures,
|
|
107
|
-
full verification and archive gates. Local synthetic transport demonstrates
|
|
108
|
-
admission/ownership, not live endpoint acceptance or a particular Desktop's
|
|
109
|
-
loaded version. The original [investigation #236](https://github.com/cloga/dsh-github-copilot/issues/236)
|
|
110
|
-
retains the bounded observation and delivery evidence; old local registry
|
|
111
|
-
failures are not a permanent unsupported/shipping-pending claim.
|
|
3
|
+
Current source target: official DSH `0.2.2-rc.3`. Image projection, offload,
|
|
4
|
+
the native adapter and supplier errors remain Core-owned.
|
|
5
|
+
|
|
6
|
+
Auto considers typed image blocks in all entered messages, including historical
|
|
7
|
+
user/tool content after a text-only continuation. It does not infer images
|
|
8
|
+
from filenames, tool arguments or offloaded text. It selects only generally
|
|
9
|
+
image-capable models, not models proven to accept the eventual projected MIME.
|
|
10
|
+
|
|
11
|
+
The managed route no longer compares projected image MIME against the account
|
|
12
|
+
model's advertised format list before dispatch. Core may re-encode an image, so
|
|
13
|
+
the durable attachment's format does not establish the outgoing format. A
|
|
14
|
+
supplier may reject a format; native error handling applies, without an
|
|
15
|
+
automatic retry, conversion, model switch or history mutation by this plugin.
|
|
16
|
+
The former `COPILOT_IMAGE_MEDIA_TYPE_UNSUPPORTED` and related plugin
|
|
17
|
+
diagnostics are no longer produced.
|
|
18
|
+
|
|
19
|
+
The explicit native model-sync operation still skips image models unless the
|
|
20
|
+
account advertises all four native request formats. This conservative model
|
|
21
|
+
filter is separate from per-request admission and does not prove supplier
|
|
22
|
+
acceptance. The original [investigation #236](https://github.com/cloga/dsh-github-copilot/issues/236)
|
|
23
|
+
and [#426](https://github.com/cloga/dsh-github-copilot/issues/426) describe
|
|
24
|
+
historical behavior, not the current preflight.
|
|
25
|
+
|
|
26
|
+
`tests/preview-route.spec.ts` exercises native projection and synthetic
|
|
27
|
+
dispatch with both matching and nonmatching account MIME lists.
|
|
28
|
+
`tests/auto-model-routing.spec.ts` preserves general image eligibility.
|
|
29
|
+
Synthetic results do not prove live account, endpoint or Desktop behavior.
|
|
@@ -6,6 +6,8 @@ The fixed official target is
|
|
|
6
6
|
The plugin starts from alpha.16, main commit
|
|
7
7
|
`bb25d425342ee660049a8320585f967671d49ec4`, not an earlier feature branch.
|
|
8
8
|
Later upstream targets are outside this qualification.
|
|
9
|
+
The historical Goal-filter retention decision below was superseded by the
|
|
10
|
+
user-directed retirement in #481; permission-field filtering remains.
|
|
9
11
|
|
|
10
12
|
The prepared version is `0.1.0-alpha.1.dsh.0.2.1.alpha.5`. User-directed
|
|
11
13
|
independent numbering starts at `0.1.0-alpha.1` for each exact Core, continuing
|
package/lib/client.js
CHANGED
|
@@ -7758,7 +7758,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7758
7758
|
};
|
|
7759
7759
|
//#endregion
|
|
7760
7760
|
//#region package.json
|
|
7761
|
-
var version = "0.1.0-alpha.
|
|
7761
|
+
var version = "0.1.0-alpha.13.dsh.0.2.2.rc.3";
|
|
7762
7762
|
//#endregion
|
|
7763
7763
|
//#region lib/types/diagnostics-client.js
|
|
7764
7764
|
let owner;
|
|
@@ -13665,7 +13665,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13665
13665
|
}, (0, react.createElement)("strong", null, "Native provider model list"), (0, react.createElement)("p", { style: {
|
|
13666
13666
|
...nativeCaptionStyle,
|
|
13667
13667
|
margin: 0
|
|
13668
|
-
} }, "Sync enabled models from the verified account used by the native provider. The native provider’s built-in catalog is replaced by this saved list, which remains after the plugin is unloaded or uninstalled. Credentials, model selection, and conversation history do not change; managed
|
|
13668
|
+
} }, "Sync enabled models from the verified account used by the native provider. The native provider’s built-in catalog is replaced by this saved list, which remains after the plugin is unloaded or uninstalled. Credentials, model selection, and conversation history do not change; managed permission-field filtering does not transfer to native requests. Core also uses each configured maxTokens as its per-request output default."), syncPreparing ? (0, react.createElement)("p", {
|
|
13669
13669
|
role: "status",
|
|
13670
13670
|
style: {
|
|
13671
13671
|
...nativeCaptionStyle,
|