@eddyskywalker/dsh-chatgpt-subscription 0.75.2 → 0.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/README.md +1 -1
- package/lib/client.js +978 -789
- package/lib/client.js.map +1 -1
- package/lib/index.js +630 -306
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -1
- package/lib/types/client/antigravity-acp/locales.d.ts +6 -0
- package/lib/types/client/antigravity-acp/locales.d.ts.map +1 -1
- package/lib/types/client/claude/ClaudeSection.d.ts.map +1 -1
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +1 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +1 -1
- package/lib/types/client/common/LineProxySection.d.ts +78 -0
- package/lib/types/client/common/LineProxySection.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +15 -3
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +1 -1
- package/lib/types/client/ollama/OllamaSection.d.ts.map +1 -1
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +1 -1
- package/lib/types/client/qoder/QoderSection.d.ts.map +1 -1
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +1 -1
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +1 -1
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/host/antigravity-acp/binary.d.ts +6 -0
- package/lib/types/host/antigravity-acp/binary.d.ts.map +1 -1
- package/lib/types/host/antigravity-acp/login.d.ts +9 -16
- package/lib/types/host/antigravity-acp/login.d.ts.map +1 -1
- package/lib/types/host/preferences.d.ts.map +1 -1
- package/lib/types/host/proxy-manager.d.ts +37 -3
- package/lib/types/host/proxy-manager.d.ts.map +1 -1
- package/lib/types/host/routes.d.ts.map +1 -1
- package/lib/types/host/workbuddy/model-catalog.d.ts +20 -10
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/contracts.d.ts +53 -0
- package/lib/types/shared/contracts.d.ts.map +1 -1
- package/lib/types/shared/preferences.d.ts +51 -1
- package/lib/types/shared/preferences.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyC,eAAe,EAAmD,cAAc,EAA8D,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyC,eAAe,EAAmD,cAAc,EAA8D,MAAM,wBAAwB,CAAA;AAUjO,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAGjC,KAAK,KAAK,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;AACtE,KAAK,UAAU,GAAG,OAAO,GAAG,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAC/G,aAAa,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,GAAG,OAAO,GAAG,eAAe,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,GAAG,MAAM,GAAG,IAAI,CAGxG;AA0FD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAgBtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AntigravityAcpSection.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity-acp/AntigravityAcpSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAS/D,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"AntigravityAcpSection.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity-acp/AntigravityAcpSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAS/D,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAqatE"}
|
|
@@ -83,6 +83,7 @@ export declare const zh: {
|
|
|
83
83
|
readonly scopeHistory: "正常结束后会话随进程一起停放供下次复用:下一条消息若前缀指纹与工具目录未变,只发送增量;历史被压缩或改写、工具集变化或进程死亡时才重建会话并重放带锚点的历史。";
|
|
84
84
|
readonly scopeTools: "作为主模型时工具由 DSH 执行并把关;作为子代理时子进程使用官方 Agent 自己的工具集。";
|
|
85
85
|
readonly scopeQuota: "官方服务端不公布剩余额度,因此本卡片不显示任何百分比或余额。";
|
|
86
|
+
readonly scopeNetwork: "本线路的网络请求由官方 CLI(agy)自己管理,插件无法为它单独指定代理;这里的代理设置也不会作用于它。";
|
|
86
87
|
readonly error: "操作失败:{detail}";
|
|
87
88
|
readonly complianceSummary: "条款风险(点开查看)";
|
|
88
89
|
readonly complianceNotice: "⚠️ 条款风险:Google Antigravity 官方 FAQ 明确写着「使用第三方软件、工具或服务访问 Antigravity 违反其服务条款」,且「把 agy 包装进第三方编码 Agent 或应用、或自动化账号轮换,在消费者套餐下不受支持」,可能导致账号被暂停或终止。本插件运行的是 Google 官方 agy 与官方 ACP 服务器(不逆向协议、不读取凭据、单账号不轮换),但这些措施不能消除条款风险。是否继续使用请自行判断;需要零争议时请改用 Gemini Enterprise 或 Google AI Studio API Key。";
|
|
@@ -174,6 +175,7 @@ export declare const en: {
|
|
|
174
175
|
readonly scopeHistory: "After a normal finish the session parks with its process for reuse: the next message sends only the increment if the prefix fingerprint and tool catalogue are unchanged, and only a compacted or rewritten history, a changed tool set, or a dead process triggers a rebuild with an anchored replay.";
|
|
175
176
|
readonly scopeTools: "As a main model its tool calls are executed and gated by DSH; as a subagent the child runs the official agent's own tools.";
|
|
176
177
|
readonly scopeQuota: "The official server publishes no remaining quota, so this card shows no percentage and no balance.";
|
|
178
|
+
readonly scopeNetwork: "This line's network requests are managed by the official CLI (agy) itself; the plugin cannot give it a separate proxy, and the proxy settings elsewhere do not apply to it.";
|
|
177
179
|
readonly error: "Action failed: {detail}";
|
|
178
180
|
readonly complianceSummary: "Terms risk (click to read)";
|
|
179
181
|
readonly complianceNotice: "Terms risk: Google Antigravity's official FAQ states that accessing Antigravity through third-party software, tools, or services violates its Terms of Service, and that wrapping agy inside third-party coding agents or applications, or automating account rotation, is not supported under consumer plans - either can result in suspension or termination of your account. This plugin runs Google's own agy CLI and official ACP server (no protocol reverse-engineering, no credential access, single account, no rotation), but those measures do not remove the risk. Whether to keep using it is your decision; where a zero-controversy setup is required, use a Gemini Enterprise or Google AI Studio API key instead.";
|
|
@@ -266,6 +268,7 @@ export declare const dictionaries: {
|
|
|
266
268
|
readonly scopeHistory: "正常结束后会话随进程一起停放供下次复用:下一条消息若前缀指纹与工具目录未变,只发送增量;历史被压缩或改写、工具集变化或进程死亡时才重建会话并重放带锚点的历史。";
|
|
267
269
|
readonly scopeTools: "作为主模型时工具由 DSH 执行并把关;作为子代理时子进程使用官方 Agent 自己的工具集。";
|
|
268
270
|
readonly scopeQuota: "官方服务端不公布剩余额度,因此本卡片不显示任何百分比或余额。";
|
|
271
|
+
readonly scopeNetwork: "本线路的网络请求由官方 CLI(agy)自己管理,插件无法为它单独指定代理;这里的代理设置也不会作用于它。";
|
|
269
272
|
readonly error: "操作失败:{detail}";
|
|
270
273
|
readonly complianceSummary: "条款风险(点开查看)";
|
|
271
274
|
readonly complianceNotice: "⚠️ 条款风险:Google Antigravity 官方 FAQ 明确写着「使用第三方软件、工具或服务访问 Antigravity 违反其服务条款」,且「把 agy 包装进第三方编码 Agent 或应用、或自动化账号轮换,在消费者套餐下不受支持」,可能导致账号被暂停或终止。本插件运行的是 Google 官方 agy 与官方 ACP 服务器(不逆向协议、不读取凭据、单账号不轮换),但这些措施不能消除条款风险。是否继续使用请自行判断;需要零争议时请改用 Gemini Enterprise 或 Google AI Studio API Key。";
|
|
@@ -357,6 +360,7 @@ export declare const dictionaries: {
|
|
|
357
360
|
readonly scopeHistory: "正常结束后会话随进程一起停放供下次复用:下一条消息若前缀指纹与工具目录未变,只发送增量;历史被压缩或改写、工具集变化或进程死亡时才重建会话并重放带锚点的历史。";
|
|
358
361
|
readonly scopeTools: "作为主模型时工具由 DSH 执行并把关;作为子代理时子进程使用官方 Agent 自己的工具集。";
|
|
359
362
|
readonly scopeQuota: "官方服务端不公布剩余额度,因此本卡片不显示任何百分比或余额。";
|
|
363
|
+
readonly scopeNetwork: "本线路的网络请求由官方 CLI(agy)自己管理,插件无法为它单独指定代理;这里的代理设置也不会作用于它。";
|
|
360
364
|
readonly error: "操作失败:{detail}";
|
|
361
365
|
readonly complianceSummary: "条款风险(点开查看)";
|
|
362
366
|
readonly complianceNotice: "⚠️ 条款风险:Google Antigravity 官方 FAQ 明确写着「使用第三方软件、工具或服务访问 Antigravity 违反其服务条款」,且「把 agy 包装进第三方编码 Agent 或应用、或自动化账号轮换,在消费者套餐下不受支持」,可能导致账号被暂停或终止。本插件运行的是 Google 官方 agy 与官方 ACP 服务器(不逆向协议、不读取凭据、单账号不轮换),但这些措施不能消除条款风险。是否继续使用请自行判断;需要零争议时请改用 Gemini Enterprise 或 Google AI Studio API Key。";
|
|
@@ -448,6 +452,7 @@ export declare const dictionaries: {
|
|
|
448
452
|
readonly scopeHistory: "After a normal finish the session parks with its process for reuse: the next message sends only the increment if the prefix fingerprint and tool catalogue are unchanged, and only a compacted or rewritten history, a changed tool set, or a dead process triggers a rebuild with an anchored replay.";
|
|
449
453
|
readonly scopeTools: "As a main model its tool calls are executed and gated by DSH; as a subagent the child runs the official agent's own tools.";
|
|
450
454
|
readonly scopeQuota: "The official server publishes no remaining quota, so this card shows no percentage and no balance.";
|
|
455
|
+
readonly scopeNetwork: "This line's network requests are managed by the official CLI (agy) itself; the plugin cannot give it a separate proxy, and the proxy settings elsewhere do not apply to it.";
|
|
451
456
|
readonly error: "Action failed: {detail}";
|
|
452
457
|
readonly complianceSummary: "Terms risk (click to read)";
|
|
453
458
|
readonly complianceNotice: "Terms risk: Google Antigravity's official FAQ states that accessing Antigravity through third-party software, tools, or services violates its Terms of Service, and that wrapping agy inside third-party coding agents or applications, or automating account rotation, is not supported under consumer plans - either can result in suspension or termination of your account. This plugin runs Google's own agy CLI and official ACP server (no protocol reverse-engineering, no credential access, single account, no rotation), but those measures do not remove the risk. Whether to keep using it is your decision; where a zero-controversy setup is required, use a Gemini Enterprise or Google AI Studio API key instead.";
|
|
@@ -539,6 +544,7 @@ export declare const dictionaries: {
|
|
|
539
544
|
readonly scopeHistory: "After a normal finish the session parks with its process for reuse: the next message sends only the increment if the prefix fingerprint and tool catalogue are unchanged, and only a compacted or rewritten history, a changed tool set, or a dead process triggers a rebuild with an anchored replay.";
|
|
540
545
|
readonly scopeTools: "As a main model its tool calls are executed and gated by DSH; as a subagent the child runs the official agent's own tools.";
|
|
541
546
|
readonly scopeQuota: "The official server publishes no remaining quota, so this card shows no percentage and no balance.";
|
|
547
|
+
readonly scopeNetwork: "This line's network requests are managed by the official CLI (agy) itself; the plugin cannot give it a separate proxy, and the proxy settings elsewhere do not apply to it.";
|
|
542
548
|
readonly error: "Action failed: {detail}";
|
|
543
549
|
readonly complianceSummary: "Terms risk (click to read)";
|
|
544
550
|
readonly complianceNotice: "Terms risk: Google Antigravity's official FAQ states that accessing Antigravity through third-party software, tools, or services violates its Terms of Service, and that wrapping agy inside third-party coding agents or applications, or automating account rotation, is not supported under consumer plans - either can result in suspension or termination of your account. This plugin runs Google's own agy CLI and official ACP server (no protocol reverse-engineering, no credential access, single account, no rotation), but those measures do not remove the risk. Whether to keep using it is your decision; where a zero-controversy setup is required, use a Gemini Enterprise or Google AI Studio API key instead.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity-acp/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,wBAAwB,CAAA;AAEvD,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity-acp/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,wBAAwB,CAAA;AAEvD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGL,CAAA;AAEV,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGL,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaudeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/ClaudeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"ClaudeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/ClaudeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAqCjF,wBAAgB,aAAa,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CA+Z3G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClinePassSection.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/ClinePassSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ClinePassSection.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/ClinePassSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAiChF,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA+BD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA8yBjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAoCvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAsBD,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAuiBnG"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The proxy card one provider line owns.
|
|
3
|
+
*
|
|
4
|
+
* Before this component the plugin had ONE proxy setting for all thirteen
|
|
5
|
+
* lines, rendered inside the ChatGPT card. A Chinese mixed network needs the
|
|
6
|
+
* opposite: the foreign lines go through the local Clash, a domestic endpoint
|
|
7
|
+
* must not. Flipping the shared setting repainted every line at once, and the
|
|
8
|
+
* "direct" side effect (bare `fetch`) silently changed whether other middleware
|
|
9
|
+
* saw the traffic at all.
|
|
10
|
+
*
|
|
11
|
+
* One component serves every line so the twelve cards cannot drift: each passes
|
|
12
|
+
* its own provider id and reads/writes the same preference shape through the
|
|
13
|
+
* same plugin route. The copy lives in the plugin's own namespace (zh + en
|
|
14
|
+
* built in, ru in the language pack), so a line card does not have to carry a
|
|
15
|
+
* second dictionary just for this section.
|
|
16
|
+
*
|
|
17
|
+
* The BYPASS list is deliberately NOT per-line: a bypass is a host-level fact
|
|
18
|
+
* ("`copilot.tencent.com` is reachable directly"), and thirteen copies of it
|
|
19
|
+
* would mean a user fixes one line and leaves twelve broken. Every card shows
|
|
20
|
+
* the same list and says so.
|
|
21
|
+
*
|
|
22
|
+
* @module @eddyskywalker/dsh-chatgpt-subscription/client/common/LineProxySection
|
|
23
|
+
*/
|
|
24
|
+
import React from 'react';
|
|
25
|
+
import type { LineProxyProviderId, LineProxiesDto, SubscriptionPreferencesDto, SubscriptionPreferencesUpdateDto } from '../../shared/contracts.ts';
|
|
26
|
+
/** The proxy facts one provider page needs, as `GET /proxy` answers them. */
|
|
27
|
+
export interface LineProxySnapshot {
|
|
28
|
+
lineProxies: LineProxiesDto;
|
|
29
|
+
noProxy: string | null;
|
|
30
|
+
detectedProxy: string | null;
|
|
31
|
+
activeProxies: Partial<Record<LineProxyProviderId, string | null>>;
|
|
32
|
+
}
|
|
33
|
+
export interface LineProxySectionProps {
|
|
34
|
+
/** Provider id this card writes to; must be one of LINE_PROXY_PROVIDER_IDS. */
|
|
35
|
+
line: LineProxyProviderId;
|
|
36
|
+
/**
|
|
37
|
+
* Read the shared snapshot; called on mount and after every save.
|
|
38
|
+
* Defaults to this plugin's own `/proxy` route.
|
|
39
|
+
*/
|
|
40
|
+
fetchSnapshot?: () => Promise<LineProxySnapshot>;
|
|
41
|
+
/** Save one preference patch. Defaults to this plugin's `/preferences/update`. */
|
|
42
|
+
onSave?: (patch: SubscriptionPreferencesUpdateDto) => Promise<void>;
|
|
43
|
+
/** Distinguishes the input ids when several cards are mounted at once. */
|
|
44
|
+
idPrefix?: string;
|
|
45
|
+
/**
|
|
46
|
+
* A snapshot the card already holds (the ChatGPT tab reads one with its
|
|
47
|
+
* status), which removes the extra request and keeps that card speaking
|
|
48
|
+
* only to its own routes. Absent means "read `/proxy`".
|
|
49
|
+
*/
|
|
50
|
+
snapshot?: LineProxySnapshot | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The proxy card for one provider line: mode, custom address, and the shared
|
|
54
|
+
* bypass list.
|
|
55
|
+
*
|
|
56
|
+
* Drafts are local so typing does not round-trip; saving posts the field and
|
|
57
|
+
* clears the draft once the host has answered with the canonical form (the host
|
|
58
|
+
* normalizes the list and the URL, and what it answers is what the matcher
|
|
59
|
+
* reads).
|
|
60
|
+
*/
|
|
61
|
+
export declare function LineProxySection({ line, fetchSnapshot, onSave, idPrefix, snapshot: provided }: LineProxySectionProps): React.JSX.Element;
|
|
62
|
+
/**
|
|
63
|
+
* Read that snapshot from the plugin's own proxy route.
|
|
64
|
+
*
|
|
65
|
+
* The same route serves every card, so saving from one card and reading from
|
|
66
|
+
* another always sees the same document.
|
|
67
|
+
* @param base - Plugin route prefix (`ROUTE_PREFIX`).
|
|
68
|
+
* @returns the parsed snapshot.
|
|
69
|
+
*/
|
|
70
|
+
export declare function fetchLineProxySnapshot(base: string): Promise<LineProxySnapshot>;
|
|
71
|
+
/**
|
|
72
|
+
* Write one preferences patch through the plugin route.
|
|
73
|
+
* @param base - Plugin route prefix (`ROUTE_PREFIX`).
|
|
74
|
+
* @param patch - Preferences to merge.
|
|
75
|
+
* @returns the refreshed preferences.
|
|
76
|
+
*/
|
|
77
|
+
export declare function savePreferences(base: string, patch: SubscriptionPreferencesUpdateDto): Promise<SubscriptionPreferencesDto>;
|
|
78
|
+
//# sourceMappingURL=LineProxySection.d.ts.map
|
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;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gCAAgC,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAYhI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlmCodingPlanSection.d.ts","sourceRoot":"","sources":["../../../../src/client/glm-coding-plan/GlmCodingPlanSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAA2B,KAAK,yBAAyB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"GlmCodingPlanSection.d.ts","sourceRoot":"","sources":["../../../../src/client/glm-coding-plan/GlmCodingPlanSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,EAA2B,KAAK,yBAAyB,EAAE,MAAM,8BAA8B,CAAA;AAStG,wBAAgB,oBAAoB,CAAC,EAAE,aAAa,EAAE,GAAE,yBAA8B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0azG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AA4BvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA4GD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAwxBhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity-acp.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/antigravity-acp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAE5E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"antigravity-acp.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/antigravity-acp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAE5E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAoG9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/hub.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/hub.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CA8OhD,CAAA"}
|
|
@@ -28,7 +28,7 @@ export declare const zh: {
|
|
|
28
28
|
readonly modelsHint: "勾选后模型才会显示在对话页的模型选择列表中;全部取消勾选或关闭上方开关可在列表中隐藏该供应商。";
|
|
29
29
|
readonly proxySettings: "网络代理";
|
|
30
30
|
readonly proxyMode: "代理模式";
|
|
31
|
-
readonly proxyModeHint: "
|
|
31
|
+
readonly proxyModeHint: "只影响本线路的对话、登录与续期、模型目录和额度读取;支持自动读取系统代理,修改后对后续请求生效。";
|
|
32
32
|
readonly proxyModeAuto: "系统代理(自动检测)";
|
|
33
33
|
readonly proxyModeCustom: "自定义代理";
|
|
34
34
|
readonly proxyModeDirect: "直连(禁用代理)";
|
|
@@ -36,6 +36,12 @@ export declare const zh: {
|
|
|
36
36
|
readonly customProxyUrlHint: "支持 HTTP/HTTPS/SOCKS5 代理地址,例如 http://127.0.0.1:7890";
|
|
37
37
|
readonly customProxyUrlPlaceholder: "例如: http://127.0.0.1:7890";
|
|
38
38
|
readonly saveProxyUrl: "保存代理地址";
|
|
39
|
+
readonly noProxy: "不使用代理的主机";
|
|
40
|
+
readonly noProxyHint: "这些主机始终直连。此列表全局生效、所有线路共用。用逗号或空格分隔,支持精确主机、域名后缀(api.corp.example)与 host:port,并与进程环境和 $DSH_HOME/.env 里的 NO_PROXY 合并。";
|
|
41
|
+
readonly noProxyPlaceholder: "例如: copilot.tencent.com, *.corp.example, gateway.lan:8080";
|
|
42
|
+
readonly saveNoProxy: "保存直连主机列表";
|
|
43
|
+
readonly proxyDirectActive: "当前生效:直连(不经过代理)";
|
|
44
|
+
readonly proxyActiveTemplate: "当前生效:{proxy}";
|
|
39
45
|
readonly proxyDetected: "检测到系统代理";
|
|
40
46
|
readonly proxyDetectedEffective: "(已自动生效)";
|
|
41
47
|
readonly proxyNoneDetected: "未检测到系统代理,将使用直连";
|
|
@@ -281,7 +287,7 @@ export declare const dictionaries: {
|
|
|
281
287
|
readonly modelsHint: "勾选后模型才会显示在对话页的模型选择列表中;全部取消勾选或关闭上方开关可在列表中隐藏该供应商。";
|
|
282
288
|
readonly proxySettings: "网络代理";
|
|
283
289
|
readonly proxyMode: "代理模式";
|
|
284
|
-
readonly proxyModeHint: "
|
|
290
|
+
readonly proxyModeHint: "只影响本线路的对话、登录与续期、模型目录和额度读取;支持自动读取系统代理,修改后对后续请求生效。";
|
|
285
291
|
readonly proxyModeAuto: "系统代理(自动检测)";
|
|
286
292
|
readonly proxyModeCustom: "自定义代理";
|
|
287
293
|
readonly proxyModeDirect: "直连(禁用代理)";
|
|
@@ -289,6 +295,12 @@ export declare const dictionaries: {
|
|
|
289
295
|
readonly customProxyUrlHint: "支持 HTTP/HTTPS/SOCKS5 代理地址,例如 http://127.0.0.1:7890";
|
|
290
296
|
readonly customProxyUrlPlaceholder: "例如: http://127.0.0.1:7890";
|
|
291
297
|
readonly saveProxyUrl: "保存代理地址";
|
|
298
|
+
readonly noProxy: "不使用代理的主机";
|
|
299
|
+
readonly noProxyHint: "这些主机始终直连。此列表全局生效、所有线路共用。用逗号或空格分隔,支持精确主机、域名后缀(api.corp.example)与 host:port,并与进程环境和 $DSH_HOME/.env 里的 NO_PROXY 合并。";
|
|
300
|
+
readonly noProxyPlaceholder: "例如: copilot.tencent.com, *.corp.example, gateway.lan:8080";
|
|
301
|
+
readonly saveNoProxy: "保存直连主机列表";
|
|
302
|
+
readonly proxyDirectActive: "当前生效:直连(不经过代理)";
|
|
303
|
+
readonly proxyActiveTemplate: "当前生效:{proxy}";
|
|
292
304
|
readonly proxyDetected: "检测到系统代理";
|
|
293
305
|
readonly proxyDetectedEffective: "(已自动生效)";
|
|
294
306
|
readonly proxyNoneDetected: "未检测到系统代理,将使用直连";
|
|
@@ -502,6 +514,6 @@ export declare const dictionaries: {
|
|
|
502
514
|
readonly quotaFactsScope: string;
|
|
503
515
|
readonly composerLabel: string;
|
|
504
516
|
};
|
|
505
|
-
en: Record<"stale" | "image" | "quota" | "account" | "rotationStrategy" | "pending" | "accountId" | "relogin" | "used" | "tokens" | "title" | "hubTitle" | "intro" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "cancel" | "signOut" | "refreshToken" | "popupBlocked" | "continueLogin" | "loading" | "connection" | "testConnection" | "testing" | "latency" | "selectAll" | "unselectAll" | "models" | "modelsHint" | "proxySettings" | "proxyMode" | "proxyModeHint" | "proxyModeAuto" | "proxyModeCustom" | "proxyModeDirect" | "customProxyUrl" | "customProxyUrlHint" | "customProxyUrlPlaceholder" | "saveProxyUrl" | "proxyDetected" | "proxyDetectedEffective" | "proxyNoneDetected" | "proxyDirectHint" | "poolStorageTitle" | "poolStorageKeyring" | "poolStorageCredentials" | "poolStorageKeyringHint" | "poolStorageCredentialsHint" | "poolStorageEffective" | "poolStorageBackendKeyring" | "poolStorageBackendDpapi" | "poolStorageBackendKeychain" | "poolStorageBackendCredentials" | "poolStorageSwitchWarning" | "poolStorageUnavailableKeyring" | "poolStorageUnavailableCredentials" | "poolStorageUnavailableStore" | "enhancements" | "fastMode" | "fastModeHint" | "outputVerbosity" | "outputVerbosityHint" | "verbosityLow" | "verbosityMedium" | "verbosityHigh" | "reasoningSummary" | "reasoningSummaryHint" | "summaryAuto" | "summaryConcise" | "summaryDetailed" | "summaryNone" | "searchProvider" | "searchProviderHint" | "searchProviderDsh" | "searchProviderCodex" | "fetchStatus" | "fetchStatusHint" | "fetchConfiguredProvider" | "fetchProviderDshDefault" | "switcherState" | "switcherStateIdle" | "switcherStateApplying" | "switcherStateApplied" | "switcherStateMissing" | "switcherStateFailed" | "fetchMode" | "fetchModeAuto" | "fetchModePlugin" | "fetchModeDsh" | "fetchMaxBodyChars" | "fetchMaxResponseBytes" | "characters" | "bytes" | "fetchLimitsInactive" | "fetchConfigSource" | "providerDefault" | "contextWindows" | "contextWindowsHint" | "contextWindow" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "contextWindowsNoneEnabled" | "saveContextWindow" | "save" | "quickQuota" | "quickQuotaHint" | "quotaIntro" | "refreshQuota" | "refreshing" | "noQuota" | "quotaSignedOut" | "updated" | "primary" | "secondary" | "limitWindow" | "remaining" | "available" | "unavailable" | "unlimited" | "credits" | "monthlySpend" | "resetCredits" | "resetCreditExpires" | "useResetCredit" | "usingResetCredit" | "useResetCreditConfirm" | "resetCreditUsed" | "spendControlReached" | "limit" | "exhausted" | "resets" | "quickQuotaLabel" | "quickQuotaLoading" | "imageToolRunning" | "imageToolDone" | "imageToolFailed" | "openImage" | "openNamedImage" | "imageLoading" | "imageLoadFailed" | "imagePreviewClose" | "imagePreviewOpenOriginal" | "retry" | "unknown" | "hubBack" | "hubOverviewHint" | "hubAccountCount" | "hubNoAccounts" | "hubStateEnabled" | "hubStateDisabled" | "hubModelsEnabled" | "hubModelsEnabledOfTotal" | "hubStatusFailed" | "hubSwitchOn" | "hubSwitchOff" | "hubCardLabel" | "hubUpdateCheck" | "hubUpdateChecking" | "hubUpdateApply" | "hubUpdateApplying" | "hubUpdateUpToDate" | "hubUpdateLatestWithUnknownCurrent" | "hubUpdateAvailable" | "hubUpdateInstalled" | "hubUpdateInstalledReplaced" | "hubUpdateInstalledLive" | "hubUpdateInstalledReplacedLive" | "hubUpdateFailedRestored" | "hubUpdateFailedRollbackFailed" | "hubUpdateFailedRollbackSkipped" | "hubUpdateDevelopmentInstall" | "hubUpdatePluginManagerMissing" | "hubUpdateManualOnly" | "hubUpdateCheckFailed" | "hubUpdateCommandLabel" | "localCodexLoginImport" | "localCodexLoginImporting" | "deviceCodeLogin" | "deviceCodeLoginStarting" | "deviceCodeLoginDetail" | "deviceCodeHint" | "deviceCodeLabel" | "deviceCodeOpen" | "deviceCodeCopy" | "deviceCodeWaiting" | "stopImporting" | "stopImportingLabel" | "stopImportingBusy" | "stopImportingHint" | "cardName.chatgpt" | "cardName.command-code" | "cardName.kimi-code" | "cardName.minimax-code" | "cardName.glm-coding-plan" | "cardName.claude" | "cardName.ollama" | "cardName.step-code" | "cardName.cline-pass" | "cardName.qoder" | "cardName.opendesign" | "cardName.workbuddy" | "cardName.antigravity-acp" | "modelChecklistCount" | "codeRunTitle" | "codeRunOutput" | "codeRunCopy" | "codeRunCopied" | "codeRunWrap" | "codeRunUnwrap" | "codeRunInspect" | "codeRunPreparing" | "codeRunRunning" | "codeRunFailed" | "codeRunStopped" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel", string>;
|
|
517
|
+
en: Record<"stale" | "image" | "quota" | "account" | "rotationStrategy" | "pending" | "accountId" | "relogin" | "used" | "tokens" | "title" | "hubTitle" | "intro" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "cancel" | "signOut" | "refreshToken" | "popupBlocked" | "continueLogin" | "loading" | "connection" | "testConnection" | "testing" | "latency" | "selectAll" | "unselectAll" | "models" | "modelsHint" | "proxySettings" | "proxyMode" | "proxyModeHint" | "proxyModeAuto" | "proxyModeCustom" | "proxyModeDirect" | "customProxyUrl" | "customProxyUrlHint" | "customProxyUrlPlaceholder" | "saveProxyUrl" | "noProxy" | "noProxyHint" | "noProxyPlaceholder" | "saveNoProxy" | "proxyDirectActive" | "proxyActiveTemplate" | "proxyDetected" | "proxyDetectedEffective" | "proxyNoneDetected" | "proxyDirectHint" | "poolStorageTitle" | "poolStorageKeyring" | "poolStorageCredentials" | "poolStorageKeyringHint" | "poolStorageCredentialsHint" | "poolStorageEffective" | "poolStorageBackendKeyring" | "poolStorageBackendDpapi" | "poolStorageBackendKeychain" | "poolStorageBackendCredentials" | "poolStorageSwitchWarning" | "poolStorageUnavailableKeyring" | "poolStorageUnavailableCredentials" | "poolStorageUnavailableStore" | "enhancements" | "fastMode" | "fastModeHint" | "outputVerbosity" | "outputVerbosityHint" | "verbosityLow" | "verbosityMedium" | "verbosityHigh" | "reasoningSummary" | "reasoningSummaryHint" | "summaryAuto" | "summaryConcise" | "summaryDetailed" | "summaryNone" | "searchProvider" | "searchProviderHint" | "searchProviderDsh" | "searchProviderCodex" | "fetchStatus" | "fetchStatusHint" | "fetchConfiguredProvider" | "fetchProviderDshDefault" | "switcherState" | "switcherStateIdle" | "switcherStateApplying" | "switcherStateApplied" | "switcherStateMissing" | "switcherStateFailed" | "fetchMode" | "fetchModeAuto" | "fetchModePlugin" | "fetchModeDsh" | "fetchMaxBodyChars" | "fetchMaxResponseBytes" | "characters" | "bytes" | "fetchLimitsInactive" | "fetchConfigSource" | "providerDefault" | "contextWindows" | "contextWindowsHint" | "contextWindow" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "contextWindowsNoneEnabled" | "saveContextWindow" | "save" | "quickQuota" | "quickQuotaHint" | "quotaIntro" | "refreshQuota" | "refreshing" | "noQuota" | "quotaSignedOut" | "updated" | "primary" | "secondary" | "limitWindow" | "remaining" | "available" | "unavailable" | "unlimited" | "credits" | "monthlySpend" | "resetCredits" | "resetCreditExpires" | "useResetCredit" | "usingResetCredit" | "useResetCreditConfirm" | "resetCreditUsed" | "spendControlReached" | "limit" | "exhausted" | "resets" | "quickQuotaLabel" | "quickQuotaLoading" | "imageToolRunning" | "imageToolDone" | "imageToolFailed" | "openImage" | "openNamedImage" | "imageLoading" | "imageLoadFailed" | "imagePreviewClose" | "imagePreviewOpenOriginal" | "retry" | "unknown" | "hubBack" | "hubOverviewHint" | "hubAccountCount" | "hubNoAccounts" | "hubStateEnabled" | "hubStateDisabled" | "hubModelsEnabled" | "hubModelsEnabledOfTotal" | "hubStatusFailed" | "hubSwitchOn" | "hubSwitchOff" | "hubCardLabel" | "hubUpdateCheck" | "hubUpdateChecking" | "hubUpdateApply" | "hubUpdateApplying" | "hubUpdateUpToDate" | "hubUpdateLatestWithUnknownCurrent" | "hubUpdateAvailable" | "hubUpdateInstalled" | "hubUpdateInstalledReplaced" | "hubUpdateInstalledLive" | "hubUpdateInstalledReplacedLive" | "hubUpdateFailedRestored" | "hubUpdateFailedRollbackFailed" | "hubUpdateFailedRollbackSkipped" | "hubUpdateDevelopmentInstall" | "hubUpdatePluginManagerMissing" | "hubUpdateManualOnly" | "hubUpdateCheckFailed" | "hubUpdateCommandLabel" | "localCodexLoginImport" | "localCodexLoginImporting" | "deviceCodeLogin" | "deviceCodeLoginStarting" | "deviceCodeLoginDetail" | "deviceCodeHint" | "deviceCodeLabel" | "deviceCodeOpen" | "deviceCodeCopy" | "deviceCodeWaiting" | "stopImporting" | "stopImportingLabel" | "stopImportingBusy" | "stopImportingHint" | "cardName.chatgpt" | "cardName.command-code" | "cardName.kimi-code" | "cardName.minimax-code" | "cardName.glm-coding-plan" | "cardName.claude" | "cardName.ollama" | "cardName.step-code" | "cardName.cline-pass" | "cardName.qoder" | "cardName.opendesign" | "cardName.workbuddy" | "cardName.antigravity-acp" | "modelChecklistCount" | "codeRunTitle" | "codeRunOutput" | "codeRunCopy" | "codeRunCopied" | "codeRunWrap" | "codeRunUnwrap" | "codeRunInspect" | "codeRunPreparing" | "codeRunRunning" | "codeRunFailed" | "codeRunStopped" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel", string>;
|
|
506
518
|
};
|
|
507
519
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,EAAG,0BAAmC,CAAA;AAIrD,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,EAAG,0BAAmC,CAAA;AAIrD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyPL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAmP9C,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAA;AACvC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimaxCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/minimax-code/MinimaxCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"MinimaxCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/minimax-code/MinimaxCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,OAAO,EAGL,KAAK,uBAAuB,EAE7B,MAAM,4BAA4B,CAAA;AAYnC;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAK/E;AAED,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,EAAE,uBAAuB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0fhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OllamaSection.d.ts","sourceRoot":"","sources":["../../../../src/client/ollama/OllamaSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"OllamaSection.d.ts","sourceRoot":"","sources":["../../../../src/client/ollama/OllamaSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AA+B/D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAyR9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenDesignSection.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"OpenDesignSection.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAuBhF,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA0RD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAsoBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QoderSection.d.ts","sourceRoot":"","sources":["../../../../src/client/qoder/QoderSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAIL,KAAK,gBAAgB,EAGtB,MAAM,iCAAiC,CAAA;AAKxC,OAAO,EAAgD,EAAE,EAAiC,MAAM,cAAc,CAAA;AAC9G,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"QoderSection.d.ts","sourceRoot":"","sources":["../../../../src/client/qoder/QoderSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAIL,KAAK,gBAAgB,EAGtB,MAAM,iCAAiC,CAAA;AAKxC,OAAO,EAAgD,EAAE,EAAiC,MAAM,cAAc,CAAA;AAC9G,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AA8D9E;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,EAAE,CAAC,GAAE,OAAO,EAAO,GAAG,MAAM,CAQpF;AAED,wBAAgB,YAAY,CAAC,EAAE,aAAa,EAAE,GAAE,iBAAsB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAsezF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/StepCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"StepCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/StepCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAoBzB,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAA;AAwHhC,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,GAAE,oBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAqrB/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkBuddySection.d.ts","sourceRoot":"","sources":["../../../../src/client/workbuddy/WorkBuddySection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EACV,8BAA8B,EAE9B,qBAAqB,EACrB,qBAAqB,EAIrB,eAAe,EAChB,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"WorkBuddySection.d.ts","sourceRoot":"","sources":["../../../../src/client/workbuddy/WorkBuddySection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EACV,8BAA8B,EAE9B,qBAAqB,EACrB,qBAAqB,EAIrB,eAAe,EAChB,MAAM,qCAAqC,CAAA;AAU5C,OAAO,EAAuB,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAC1F,OAAO,EAAgB,EAAE,EAAE,MAAM,cAAc,CAAA;AAkB/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,qBAAqB,GA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,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,CAgB/D;AAED,sEAAsE;AACtE,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,8BAA8B,GAAG,SAAS,EACvD,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,mBAAmB,GAAG,SAAS,GAAG,0BAA0B,CAAC,GAC/E,MAAM,EAAE,CASV;AAED,wBAAgB,gBAAgB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAihBjH"}
|
package/lib/types/compat.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
|
|
|
76
76
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
77
77
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
78
78
|
*/
|
|
79
|
-
export declare const PLUGIN_VERSION: "0.
|
|
79
|
+
export declare const PLUGIN_VERSION: "0.76.1";
|
|
80
80
|
export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
|
|
81
81
|
export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
|
|
82
82
|
export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
|
|
@@ -52,6 +52,12 @@ export interface ResolvedAcpBinary {
|
|
|
52
52
|
/** The CLI version when it could be read. */
|
|
53
53
|
version?: string;
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Arguments for the resolved executable.
|
|
57
|
+
* The registry's standalone server already speaks ACP on stdio and rejects the
|
|
58
|
+
* full CLI's acp and disable-telemetry flags. Detect configured paths too.
|
|
59
|
+
*/
|
|
60
|
+
export declare function acpLaunchArgs(binary: ResolvedAcpBinary): string[];
|
|
55
61
|
/** Where a resolution attempt looked and what it found, for the status card. */
|
|
56
62
|
export interface AcpBinaryDiagnostics {
|
|
57
63
|
/** Every candidate path tried, in order. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity-acp/binary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AASH,6FAA6F;AAC7F,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAA;IACf,mBAAmB;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,2DAA2D;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,UAAU,CAAA;AAEzC,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAqC1E,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,QAAoB,CAAA;AAEtD,6BAA6B;AAC7B,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,wBAAwB;IACxB,IAAI,EAAE,YAAY,GAAG,WAAW,GAAG,YAAY,CAAA;IAC/C,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,gFAAgF;AAChF,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,wFAAwF;AACxF,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6CAA6C;IAC7C,SAAS,CAAC,IAAI,MAAM,CAAA;IACpB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,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AWG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CAgCrH;AA2BD;;;;;;;;;GASG;AACH,wBAAsB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiC/F"}
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Two consequences follow, and they are the whole design:
|
|
9
9
|
*
|
|
10
|
-
* - **The browser is opened exactly once.**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* lines. So nothing here calls `openBrowser`.
|
|
10
|
+
* - **The browser is opened exactly once.** ACP authenticate opens it for
|
|
11
|
+
* protocol-driven methods; only a server that exclusively offers terminal
|
|
12
|
+
* login falls back to agy acp --login. Nothing here calls openBrowser.
|
|
14
13
|
* - **"Signed in" is a probe, not a flag.** There is no local state to read: the
|
|
15
14
|
* only truthful answer comes from asking the agent to create a session, which
|
|
16
15
|
* is what {@link probeAuth} does. A failed probe is reported as "not signed in",
|
|
@@ -18,7 +17,7 @@
|
|
|
18
17
|
*
|
|
19
18
|
* @module dsh-chatgpt-subscription/host/antigravity-acp/login
|
|
20
19
|
*/
|
|
21
|
-
import
|
|
20
|
+
import { AcpClient } from './acp-client.ts';
|
|
22
21
|
import type { AcpLaunch } from './adapter.ts';
|
|
23
22
|
import type { AntigravityAcpAuthDto } from '../../shared/antigravity-acp-contracts.ts';
|
|
24
23
|
/** How long the login launcher may run before it is considered detached. */
|
|
@@ -44,17 +43,11 @@ export interface LoginStartResult {
|
|
|
44
43
|
/**
|
|
45
44
|
* Start the official sign-in.
|
|
46
45
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* The command line is `agy acp --login`, and a rejected command line, a
|
|
53
|
-
* misconfigured path or a binary that cannot be spawned all exit (or error)
|
|
54
|
-
* within milliseconds - and the previous version reported "sign-in started" for
|
|
55
|
-
* every one of them while discarding the only sentence that explained it. The
|
|
56
|
-
* launcher is therefore watched for {@link LOGIN_FAILURE_WINDOW_MS}: a spawn
|
|
57
|
-
* error, or a non-zero exit that left stderr behind, is returned as the reason.
|
|
46
|
+
* Protocol-driven methods run through ACP authenticate. A server that only
|
|
47
|
+
* offers terminal-login keeps the detached agy acp --login fallback. Both paths
|
|
48
|
+
* return after the start-up window instead of waiting for the browser callback,
|
|
49
|
+
* and both surface an early process or protocol failure instead of claiming
|
|
50
|
+
* that sign-in started.
|
|
58
51
|
*
|
|
59
52
|
* @param launch - The resolved executable.
|
|
60
53
|
* @returns whether a process was started, and why it was not.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity-acp/login.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity-acp/login.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AAEtF,4EAA4E;AAC5E,eAAO,MAAM,sBAAsB,QAAS,CAAA;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,OAAQ,CAAA;AAK5C,iCAAiC;AACjC,eAAO,MAAM,oBAAoB,QAAS,CAAA;AAE1C,wCAAwC;AACxC,MAAM,WAAW,gBAAgB;IAC/B,+CAA+C;IAC/C,OAAO,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,UAAU,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAuB7E;AA4FD;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA4BvG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../src/host/preferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../src/host/preferences.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EACV,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,wBAAwB,CAAA;AAE/B,MAAM,WAAW,2BAA2B;IAC1C,MAAM,IAAI,0BAA0B,CAAA;IACpC,MAAM,CAAC,KAAK,EAAE,gCAAgC,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAA;IACpF,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,0BAA0B,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,IAAI,CAAA;CAC1H;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;IACxE,+DAA+D;IAC/D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACzB;AAID;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,qBAAqB,CA+DjF;AA2KD,qBAAa,eAAgB,SAAQ,KAAK;gBAC5B,OAAO,EAAE,MAAM;CAG5B"}
|
|
@@ -108,13 +108,18 @@ export declare function detectSystemProxy(platform?: NodeJS.Platform, env?: Reco
|
|
|
108
108
|
/** Called with the proxy URL the first time detection reports one after a `null`. */
|
|
109
109
|
export type SystemProxyListener = (proxyUrl: string) => void;
|
|
110
110
|
export interface ProxyFetchOptions {
|
|
111
|
-
getPreferences: () => Pick<SubscriptionPreferencesDto, 'proxyMode' | 'customProxyUrl'>;
|
|
111
|
+
getPreferences: () => Pick<SubscriptionPreferencesDto, 'proxyMode' | 'customProxyUrl' | 'noProxy' | 'lineProxies'>;
|
|
112
112
|
baseFetch?: FetchLike;
|
|
113
113
|
systemProxyDetector?: () => string | null;
|
|
114
114
|
/**
|
|
115
115
|
* The `NO_PROXY` list, read per request (subject to the same TTL as the system
|
|
116
116
|
* proxy) so an edit takes effect without a restart. A test injects this rather
|
|
117
117
|
* than inheriting the machine's own bypass list.
|
|
118
|
+
*
|
|
119
|
+
* This is the DEPLOYMENT list (process environment, then `$DSH_HOME/.env`).
|
|
120
|
+
* The settings card's own list is read from `getPreferences().noProxy` and
|
|
121
|
+
* merged with it, so a user who types hosts in the card does not have to
|
|
122
|
+
* abandon the file, and the file does not silently replace the card.
|
|
118
123
|
*/
|
|
119
124
|
noProxyReader?: () => string;
|
|
120
125
|
logger?: Pick<Console, 'info' | 'warn' | 'error'>;
|
|
@@ -145,11 +150,19 @@ export declare class ProxyManager {
|
|
|
145
150
|
/**
|
|
146
151
|
* The active `NO_PROXY` list, re-read at most once per TTL.
|
|
147
152
|
*
|
|
153
|
+
* Two sources, one answer: the deployment list from {@link ProxyFetchOptions.noProxyReader}
|
|
154
|
+
* and the list the settings card stores in `getPreferences().noProxy`. Neither
|
|
155
|
+
* replaces the other, because the card is the discoverable place and the
|
|
156
|
+
* environment file is the deployment-level place.
|
|
157
|
+
*
|
|
148
158
|
* A reader that throws (an unreadable `$DSH_HOME/.env`) reads as "no bypass
|
|
149
159
|
* list", never as "bypass everything": the wrong guess in that direction would
|
|
150
|
-
* take an active proxy away from every line at once.
|
|
160
|
+
* take an active proxy away from every line at once. The same applies to one
|
|
161
|
+
* source failing: the other source still answers.
|
|
151
162
|
*/
|
|
152
163
|
getNoProxyList(force?: boolean): string;
|
|
164
|
+
/** Both bypass sources, canonicalized and concatenated; each failure reads as empty. */
|
|
165
|
+
private readNoProxyList;
|
|
153
166
|
/**
|
|
154
167
|
* Observe the system proxy becoming known.
|
|
155
168
|
*
|
|
@@ -161,7 +174,20 @@ export declare class ProxyManager {
|
|
|
161
174
|
* @returns the disposer that stops observing.
|
|
162
175
|
*/
|
|
163
176
|
onSystemProxyDetected(listener: SystemProxyListener): () => void;
|
|
164
|
-
|
|
177
|
+
/**
|
|
178
|
+
* The proxy one provider line actually uses.
|
|
179
|
+
*
|
|
180
|
+
* With a `line`, that line's own entry decides: an absent entry is the
|
|
181
|
+
* shipped `auto` default, so a fresh install keeps following the machine and
|
|
182
|
+
* a line a user never opened is not silently forced direct. Without a
|
|
183
|
+
* `line`, the retired shared pair answers — kept only so an older caller (or
|
|
184
|
+
* a deployment pinning the old field) still resolves to what it always did.
|
|
185
|
+
*
|
|
186
|
+
* @param line - Provider id whose entry should decide, or undefined for the
|
|
187
|
+
* legacy shared setting.
|
|
188
|
+
* @returns the proxy URL in force, or null for a direct connection.
|
|
189
|
+
*/
|
|
190
|
+
resolveActiveProxyUrl(line?: string): string | null;
|
|
165
191
|
private getOrCreateAgent;
|
|
166
192
|
/**
|
|
167
193
|
* The dispatcher for one credential's direct (unproxied) traffic.
|
|
@@ -191,6 +217,14 @@ export declare class ProxyManager {
|
|
|
191
217
|
* visible as one connection carrying several identities.
|
|
192
218
|
*/
|
|
193
219
|
createFetch(overrides?: {
|
|
220
|
+
/**
|
|
221
|
+
* The provider line this fetch speaks for.
|
|
222
|
+
*
|
|
223
|
+
* It decides BOTH the proxy in force and the dispatcher cache key: two
|
|
224
|
+
* lines configured with different proxies must never share one `ProxyAgent`,
|
|
225
|
+
* or the second line silently borrows the first one's tunnel.
|
|
226
|
+
*/
|
|
227
|
+
line?: string;
|
|
194
228
|
allowH2?: boolean;
|
|
195
229
|
credentialPools?: boolean;
|
|
196
230
|
/** Header names to drop before the request is written; see {@link stripDispatchHeaders}. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy-manager.d.ts","sourceRoot":"","sources":["../../../src/host/proxy-manager.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,UAAU,CAAA;AAG1B,OAAO,GAAG,MAAM,UAAU,CAAA;AAC1B,OAAO,EAAqB,cAAc,EAAwB,MAAM,QAAQ,CAAA;AAChF,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"proxy-manager.d.ts","sourceRoot":"","sources":["../../../src/host/proxy-manager.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,UAAU,CAAA;AAG1B,OAAO,GAAG,MAAM,UAAU,CAAA;AAC1B,OAAO,EAAqB,cAAc,EAAwB,MAAM,QAAQ,CAAA;AAChF,OAAO,KAAK,EAAsD,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAG5H,MAAM,MAAM,SAAS,GAAG,OAAO,KAAK,CAAA;AAqBpC;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,OAAO,EACjB,gBAAgB,CAAC,EAAE,MAAM,GACxB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,CAOnF;AAiDD,+EAA+E;AAC/E,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAQlD;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE;IAC5C,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,CAAA;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,SAAS,CA4BjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,O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