@alwith/module-chat 0.6.4 → 0.6.5
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/README.md
CHANGED
|
@@ -374,6 +374,22 @@ const port = createProvidersPort()
|
|
|
374
374
|
|
|
375
375
|
**Catalog data.** The provider catalog and the Codex model catalogs are public package files: `@alwith/module-chat/assets/provider-catalog.json` and `@alwith/module-chat/assets/catalogs/<provider>/models.json` (scripts and tests read them from there; `catalogs/custom/sources.json` records where the custom catalog's capabilities were checked). In the webview, `customModelEffort(model)` gives a custom provider model's reasoning default from the bundled catalog, and `presentModel(apiId)` / `MODEL_PRESENTATION` the display names of account and provider models the catalogs name differently.
|
|
376
376
|
|
|
377
|
+
### Windows native network diagnostics
|
|
378
|
+
|
|
379
|
+
Windows HTTP/SSE and WebSocket requests share the reqwest transport with native TLS (Schannel) and the same per-URL system proxy decision. A failed connection is never retried through another route or backend.
|
|
380
|
+
|
|
381
|
+
The native transport logs `[alwith-native-network]` JSON records for HTTP/SSE and WebSocket requests. `transportBackend` identifies the selected HTTP client (`reqwest`), separately from `tlsBackend`.
|
|
382
|
+
`errorChain` contains up to eight causes, each with a redacted `message` and `debug` capped at 256 characters.
|
|
383
|
+
`errorKind: "tls"` distinguishes native TLS failures from TCP connection failures. Schannel can hide its inner
|
|
384
|
+
IO error from `source()` traversal; its Windows error code remains available in the cause's `debug` text even
|
|
385
|
+
when `osError` is null.
|
|
386
|
+
|
|
387
|
+
`proxyConfig` records configuration presence only. `proxySteps` retains the user/machine lookup, PAC,
|
|
388
|
+
autodetection, manual proxy and bypass decisions, including WinHTTP failure codes. The transport uses the
|
|
389
|
+
Windows per-URL decision; environment proxy presence is recorded as `ignored`, without logging values.
|
|
390
|
+
A local HTTP 502 with `NATIVE_NETWORK_CONNECT_FAILED` indicates transport failure, not an upstream HTTP 502.
|
|
391
|
+
Use the matching request's error chain and proxy steps to identify the failing connection or TLS operation.
|
|
392
|
+
|
|
377
393
|
### Skill documents
|
|
378
394
|
|
|
379
395
|
`readSkillDocument(path, roots?)` from `@alwith/module-chat/plugins` reads a skill's SKILL.md through the same plugin, for `PluginsHost.readFile`. The plugin reads only UTF-8 files whose canonical path lies under `$CODEX_HOME` (or `~/.codex`), `~/.agents`, or the `.codex` / `.agents` directory of a project directory passed in `roots`; links that leave those directories are refused.
|
|
Binary file
|