@eddyskywalker/dsh-chatgpt-subscription 0.36.2 → 0.38.0

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +32 -9
  3. package/lib/client.js +603 -134
  4. package/lib/client.js.map +1 -1
  5. package/lib/index.js +3256 -55
  6. package/lib/types/client/common/ComposerQuotaBadge.d.ts +7 -0
  7. package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
  8. package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -1
  9. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +1 -1
  10. package/lib/types/client/kimi-code/labels.d.ts +66 -0
  11. package/lib/types/client/kimi-code/labels.d.ts.map +1 -0
  12. package/lib/types/client/kimi-code/locales.d.ts +52 -11
  13. package/lib/types/client/kimi-code/locales.d.ts.map +1 -1
  14. package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
  15. package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
  16. package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
  17. package/lib/types/client/locales.d.ts +4 -4
  18. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +6 -0
  19. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +1 -1
  20. package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +1 -1
  21. package/lib/types/client/opendesign/locales.d.ts +54 -0
  22. package/lib/types/client/opendesign/locales.d.ts.map +1 -1
  23. package/lib/types/client/opendesign/styles.d.ts +5 -0
  24. package/lib/types/client/opendesign/styles.d.ts.map +1 -1
  25. package/lib/types/client/progress-updates/locales.d.ts +17 -2
  26. package/lib/types/client/progress-updates/locales.d.ts.map +1 -1
  27. package/lib/types/client/progress-updates/settings-binding.d.ts +13 -3
  28. package/lib/types/client/progress-updates/settings-binding.d.ts.map +1 -1
  29. package/lib/types/client/progress-updates/settings-section.d.ts +5 -5
  30. package/lib/types/client/progress-updates/settings-section.d.ts.map +1 -1
  31. package/lib/types/client/progress-updates/styles.d.ts.map +1 -1
  32. package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
  33. package/lib/types/host/kimi-code/client.d.ts.map +1 -1
  34. package/lib/types/host/kimi-code/mapper.d.ts +89 -1
  35. package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
  36. package/lib/types/host/kimi-code/model-catalog.d.ts +20 -4
  37. package/lib/types/host/kimi-code/model-catalog.d.ts.map +1 -1
  38. package/lib/types/host/kimi-code/routes.d.ts.map +1 -1
  39. package/lib/types/host/kimi-code/types.d.ts +50 -6
  40. package/lib/types/host/kimi-code/types.d.ts.map +1 -1
  41. package/lib/types/host/opendesign/client.d.ts +103 -0
  42. package/lib/types/host/opendesign/client.d.ts.map +1 -1
  43. package/lib/types/host/opendesign/routes.d.ts.map +1 -1
  44. package/lib/types/host/opendesign/types.d.ts +31 -0
  45. package/lib/types/host/opendesign/types.d.ts.map +1 -1
  46. package/lib/types/host/progress-updates/index.d.ts +5 -0
  47. package/lib/types/host/progress-updates/index.d.ts.map +1 -1
  48. package/lib/types/host/progress-updates/prompt.d.ts +37 -3
  49. package/lib/types/host/progress-updates/prompt.d.ts.map +1 -1
  50. package/lib/types/host/progress-updates/tool.d.ts.map +1 -1
  51. package/lib/types/host/proxy-manager.d.ts +63 -1
  52. package/lib/types/host/proxy-manager.d.ts.map +1 -1
  53. package/lib/types/host/widget-board/line-contracts.d.ts +192 -0
  54. package/lib/types/host/widget-board/line-contracts.d.ts.map +1 -0
  55. package/lib/types/host/widget-board/line-quota.d.ts +284 -0
  56. package/lib/types/host/widget-board/line-quota.d.ts.map +1 -0
  57. package/lib/types/host/widget-board/line-registry.d.ts +402 -0
  58. package/lib/types/host/widget-board/line-registry.d.ts.map +1 -0
  59. package/lib/types/host/widget-board/provider.d.ts +140 -0
  60. package/lib/types/host/widget-board/provider.d.ts.map +1 -0
  61. package/lib/types/index.d.ts +10 -0
  62. package/lib/types/index.d.ts.map +1 -1
  63. package/lib/types/shared/kimi-code-contracts.d.ts +30 -6
  64. package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -1
  65. package/lib/types/shared/opendesign-contracts.d.ts +47 -0
  66. package/lib/types/shared/opendesign-contracts.d.ts.map +1 -1
  67. package/package.json +2 -1
  68. package/widgets/line-flip/index.html +58 -0
  69. package/widgets/line-flip/main.js +1102 -0
  70. package/widgets/line-flip/style.css +729 -0
  71. package/widgets/line-flip/widget.json +555 -0
@@ -6,6 +6,13 @@ export interface ComposerQuotaFacts {
6
6
  /** What the hover and the screen reader say. */
7
7
  tooltip: string;
8
8
  level: 'normal' | 'warning' | 'danger';
9
+ /**
10
+ * The remaining share (0–100) to draw beside the number, for a line whose
11
+ * status states one. It is optional on purpose: most lines report only a
12
+ * number, and the badge then renders exactly the markup it always did — the
13
+ * bar exists for the lines that can state a remaining share, not as a default.
14
+ */
15
+ percent?: number | null;
9
16
  }
10
17
  /** The shared grading: 5% or less is critical, 20% or less warns. */
11
18
  export declare function quotaLevel(remainingPercent: number): ComposerQuotaFacts['level'];
@@ -1 +1 @@
1
- {"version":3,"file":"ComposerQuotaBadge.d.ts","sourceRoot":"","sources":["../../../../src/client/common/ComposerQuotaBadge.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAA;CACvC;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,gBAAgB,EAAE,MAAM,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAEhF;AAED,MAAM,WAAW,uBAAuB,CAAC,MAAM,SAAS;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE;IAChF,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAA;IAC7C,kBAAkB,IAAI,IAAI,CAAA;IAC1B,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAA;IAClB,kEAAkE;IAClE,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC7C;;;;;;OAMG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,GAAG,IAAI,CAAA;IAC1F,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,kBAAkB,CAAC,MAAM,SAAS;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,EAC1E,KAAK,EAAE,uBAAuB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAqE1B"}
1
+ {"version":3,"file":"ComposerQuotaBadge.d.ts","sourceRoot":"","sources":["../../../../src/client/common/ComposerQuotaBadge.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAA;IACtC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,gBAAgB,EAAE,MAAM,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAEhF;AAED,MAAM,WAAW,uBAAuB,CAAC,MAAM,SAAS;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE;IAChF,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAA;IAC7C,kBAAkB,IAAI,IAAI,CAAA;IAC1B,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAA;IAClB,kEAAkE;IAClE,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC7C;;;;;;OAMG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,GAAG,IAAI,CAAA;IAC1F,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,kBAAkB,CAAC,MAAM,SAAS;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,EAC1E,KAAK,EAAE,uBAAuB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CA4E1B"}
@@ -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;AAuBvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAuCD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA6qBhG"}
1
+ {"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAuBvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAwCD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAqtBhG"}
@@ -1 +1 @@
1
- {"version":3,"file":"KimiModelCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiModelCapabilities.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAc9E,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,mBAAmB,EAAE,CAAA;CAC9B;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,EAAE,0BAA0B,GAAG,KAAK,CAAC,YAAY,CAmEhG"}
1
+ {"version":3,"file":"KimiModelCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiModelCapabilities.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAe9E,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,mBAAmB,EAAE,CAAA;CAC9B;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,EAAE,0BAA0B,GAAG,KAAK,CAAC,YAAY,CAsFhG"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Labels and ladders the two Kimi Code cards must agree on.
3
+ *
4
+ * The model checklist and the capability table both name a model's wire, and
5
+ * both used to carry their own copy of the same two-way switch, so a new value
6
+ * could be labelled one place and not the other. The wire and the thinking
7
+ * ladder are facts about the model, not about the card, so they live here once
8
+ * and are rendered from the same dictionary key everywhere.
9
+ */
10
+ import type { KimiCodeModelOption, KimiCodeReasoningEffort, KimiCodeWire } from '../../shared/kimi-code-contracts.ts';
11
+ import type { KimiCodeDict } from './locales.ts';
12
+ /**
13
+ * Name of the request/response dialect a model is served over.
14
+ *
15
+ * @param wire - dialect the adapter reports for this model.
16
+ * @param t - dictionary of the card rendering it.
17
+ */
18
+ export declare function wireLabel(wire: KimiCodeWire, t: KimiCodeDict): string;
19
+ /** Human label for one thinking level. */
20
+ export declare function effortLabel(effort: KimiCodeReasoningEffort, t: KimiCodeDict): string;
21
+ /**
22
+ * Thinking levels one model publishes, in the order the card renders them.
23
+ *
24
+ * The ladder is read, never assumed: a model that declares no levels gets an
25
+ * empty list, and the picker then offers none of them rather than the generic
26
+ * four. `none` is dropped for a thinking-only model — the host already strips
27
+ * it, and filtering again is what keeps an older host, or a live catalog that
28
+ * says nothing about thinking, from putting "thinking off" back on a menu whose
29
+ * request the service answers with HTTP 400.
30
+ *
31
+ * @param model - one entry from the model directory.
32
+ */
33
+ export declare function effortLadder(model: KimiCodeModelOption): KimiCodeReasoningEffort[];
34
+ /**
35
+ * Whether one model may be asked to stop reasoning.
36
+ *
37
+ * Read from the model's own declaration rather than assumed: `only` is the one
38
+ * value that makes the question a hard no — the service answers a
39
+ * disabled-thinking request with HTTP 400 and names the model — while `no`
40
+ * describes a model that never reasons, so there is no switch to offer either.
41
+ * `both`, and a registry that says nothing about the id, keep the switch,
42
+ * because that is what this line offered before the flag existed and the
43
+ * service, not the card, is the authority on refusing a level.
44
+ *
45
+ * @param model - one entry from the model directory.
46
+ */
47
+ export declare function canDisableThinking(model: KimiCodeModelOption): boolean;
48
+ /**
49
+ * Thinking levels a conversation can actually be set to.
50
+ *
51
+ * The setting is one level for the whole line, so the three thinking levels are
52
+ * the union of what the CHECKED models declare: a level no checked model
53
+ * declares would be stored and then rejected on the first turn. "Thinking off"
54
+ * is not one of those declared levels on most rows — it is a switch, not a
55
+ * ladder rung — so it is decided by {@link canDisableThinking} instead, and it
56
+ * disappears exactly when every checked model refuses to be switched off.
57
+ *
58
+ * With nothing checked there is no model to narrow it down and the full ladder
59
+ * is offered.
60
+ *
61
+ * @param models - every model in the directory, checked or not.
62
+ */
63
+ export declare function effortOptions(models: readonly KimiCodeModelOption[]): KimiCodeReasoningEffort[];
64
+ /** Models that reason at every level, and so have no "thinking off". */
65
+ export declare function thinkingOnlyModels(models: readonly KimiCodeModelOption[]): KimiCodeModelOption[];
66
+ //# sourceMappingURL=labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/labels.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,YAAY,EACb,MAAM,qCAAqC,CAAA;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEhD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,0CAA0C;AAC1C,wBAAgB,WAAW,CAAC,MAAM,EAAE,uBAAuB,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM,CAQpF;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,mBAAmB,GAAG,uBAAuB,EAAE,CAMlF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAEtE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,mBAAmB,EAAE,GAAG,uBAAuB,EAAE,CAO/F;AAED,wEAAwE;AACxE,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,mBAAmB,EAAE,GAAG,mBAAmB,EAAE,CAEhG"}
@@ -46,10 +46,13 @@ export declare const zh: {
46
46
  readonly wireAnthropic: "Anthropic";
47
47
  readonly wireOpenai: "OpenAI";
48
48
  readonly capVideo: "视频*";
49
+ readonly capThinkingOnly: "只支持思考";
50
+ readonly capEfforts: "档位 {list}";
49
51
  readonly capDynamicTools: "动态工具";
50
52
  readonly capImageOnly: "仅图片";
51
53
  readonly capNone: "—";
52
54
  readonly capVideoFootnote: "* 视频输入需先由 kimi_attach_video 工具挂载(本地绝对路径或 http(s) 链接);直接粘贴的上传路径仍只支持图片。";
55
+ readonly capThinkingOnlyFootnote: "* 「只支持思考」的模型不能关闭思考:请求里带 none 会被服务端拒绝(400),所以它的档位里没有「关闭思考」。";
53
56
  readonly capabilitiesTitle: "模型能力";
54
57
  readonly capColMedia: "多模态";
55
58
  readonly capColTools: "动态工具";
@@ -60,13 +63,16 @@ export declare const zh: {
60
63
  readonly speedRegular: "标准";
61
64
  readonly speedHighspeed: "高速 (约 6×)";
62
65
  readonly quotaCost: "额度倍率";
66
+ readonly quotaUnknown: "未公布";
63
67
  readonly minimumPlan: "所需套餐";
64
68
  readonly enhanced: "思考设置";
65
69
  readonly defaultReasoningEffort: "默认思考档位";
66
- readonly defaultReasoningEffortHint: "Kimi Code 只接受 low / high / max 三档;none 表示关闭思考。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
70
+ readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
71
+ readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
72
+ readonly effortNotOffered: "当前勾选的模型不接受";
67
73
  readonly cacheTtl: "上下文缓存时长";
68
- readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入时长。1h 写入约为 5m 的两倍价,只有当同一前缀会在一小时内被反复读取才划算;档位在首次写入时锁定,之后无法改写。留空表示不指定,由 Kimi 自己决定(实测有效期约 5–30 分钟)。依据回合间隔选:间隔通常短于约 30 分钟就留空或选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
69
- readonly cacheTtlDefault: "不指定(Kimi 默认)";
74
+ readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入档位(只有 5m / 1h 两档)。不传时服务端按 5 分钟档写入。1h 写入单价约为 5m 的两倍,只有当同一前缀会在一小时内被反复读取才划算。档位在首次写入时锁定,之后命中按原 TTL 续期,无法改写。依据回合间隔选:间隔通常短于约 30 分钟选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
75
+ readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
70
76
  readonly cacheTtl5m: "5 分钟";
71
77
  readonly cacheTtl1h: "1 小时";
72
78
  readonly defaultEffortAuto: "使用模型默认值";
@@ -92,6 +98,11 @@ export declare const zh: {
92
98
  readonly cacheFresh: "新处理 tokens";
93
99
  readonly cacheOutput: "输出 tokens";
94
100
  readonly cacheRequests: "请求数";
101
+ readonly cacheWrite: "缓存写入";
102
+ readonly cacheWrite5m: "5 分钟档";
103
+ readonly cacheWrite1h: "1 小时档";
104
+ readonly cacheWriteHint: "写入是独立计费项:1h 写入单价约为 5m 的两倍,命中后会按原 TTL 续期。分档显示 0 表示服务端没有回报该档的写入数(响应头缺失就是静默),不等于该档确实没写入。";
105
+ readonly unknownMetric: "暂无";
95
106
  readonly cacheHint: "同一会话内:系统提示与工具列表一旦变化会使缓存整体失效,因此保持工具集合稳定、把新增内容追加在末尾,命中率最高。";
96
107
  readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
97
108
  readonly cacheDrift: "最近前缀状态";
@@ -201,10 +212,13 @@ export declare const dictionaries: {
201
212
  readonly wireAnthropic: "Anthropic";
202
213
  readonly wireOpenai: "OpenAI";
203
214
  readonly capVideo: "视频*";
215
+ readonly capThinkingOnly: "只支持思考";
216
+ readonly capEfforts: "档位 {list}";
204
217
  readonly capDynamicTools: "动态工具";
205
218
  readonly capImageOnly: "仅图片";
206
219
  readonly capNone: "—";
207
220
  readonly capVideoFootnote: "* 视频输入需先由 kimi_attach_video 工具挂载(本地绝对路径或 http(s) 链接);直接粘贴的上传路径仍只支持图片。";
221
+ readonly capThinkingOnlyFootnote: "* 「只支持思考」的模型不能关闭思考:请求里带 none 会被服务端拒绝(400),所以它的档位里没有「关闭思考」。";
208
222
  readonly capabilitiesTitle: "模型能力";
209
223
  readonly capColMedia: "多模态";
210
224
  readonly capColTools: "动态工具";
@@ -215,13 +229,16 @@ export declare const dictionaries: {
215
229
  readonly speedRegular: "标准";
216
230
  readonly speedHighspeed: "高速 (约 6×)";
217
231
  readonly quotaCost: "额度倍率";
232
+ readonly quotaUnknown: "未公布";
218
233
  readonly minimumPlan: "所需套餐";
219
234
  readonly enhanced: "思考设置";
220
235
  readonly defaultReasoningEffort: "默认思考档位";
221
- readonly defaultReasoningEffortHint: "Kimi Code 只接受 low / high / max 三档;none 表示关闭思考。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
236
+ readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
237
+ readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
238
+ readonly effortNotOffered: "当前勾选的模型不接受";
222
239
  readonly cacheTtl: "上下文缓存时长";
223
- readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入时长。1h 写入约为 5m 的两倍价,只有当同一前缀会在一小时内被反复读取才划算;档位在首次写入时锁定,之后无法改写。留空表示不指定,由 Kimi 自己决定(实测有效期约 5–30 分钟)。依据回合间隔选:间隔通常短于约 30 分钟就留空或选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
224
- readonly cacheTtlDefault: "不指定(Kimi 默认)";
240
+ readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入档位(只有 5m / 1h 两档)。不传时服务端按 5 分钟档写入。1h 写入单价约为 5m 的两倍,只有当同一前缀会在一小时内被反复读取才划算。档位在首次写入时锁定,之后命中按原 TTL 续期,无法改写。依据回合间隔选:间隔通常短于约 30 分钟选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
241
+ readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
225
242
  readonly cacheTtl5m: "5 分钟";
226
243
  readonly cacheTtl1h: "1 小时";
227
244
  readonly defaultEffortAuto: "使用模型默认值";
@@ -247,6 +264,11 @@ export declare const dictionaries: {
247
264
  readonly cacheFresh: "新处理 tokens";
248
265
  readonly cacheOutput: "输出 tokens";
249
266
  readonly cacheRequests: "请求数";
267
+ readonly cacheWrite: "缓存写入";
268
+ readonly cacheWrite5m: "5 分钟档";
269
+ readonly cacheWrite1h: "1 小时档";
270
+ readonly cacheWriteHint: "写入是独立计费项:1h 写入单价约为 5m 的两倍,命中后会按原 TTL 续期。分档显示 0 表示服务端没有回报该档的写入数(响应头缺失就是静默),不等于该档确实没写入。";
271
+ readonly unknownMetric: "暂无";
250
272
  readonly cacheHint: "同一会话内:系统提示与工具列表一旦变化会使缓存整体失效,因此保持工具集合稳定、把新增内容追加在末尾,命中率最高。";
251
273
  readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
252
274
  readonly cacheDrift: "最近前缀状态";
@@ -354,10 +376,13 @@ export declare const dictionaries: {
354
376
  readonly wireAnthropic: "Anthropic";
355
377
  readonly wireOpenai: "OpenAI";
356
378
  readonly capVideo: "视频*";
379
+ readonly capThinkingOnly: "只支持思考";
380
+ readonly capEfforts: "档位 {list}";
357
381
  readonly capDynamicTools: "动态工具";
358
382
  readonly capImageOnly: "仅图片";
359
383
  readonly capNone: "—";
360
384
  readonly capVideoFootnote: "* 视频输入需先由 kimi_attach_video 工具挂载(本地绝对路径或 http(s) 链接);直接粘贴的上传路径仍只支持图片。";
385
+ readonly capThinkingOnlyFootnote: "* 「只支持思考」的模型不能关闭思考:请求里带 none 会被服务端拒绝(400),所以它的档位里没有「关闭思考」。";
361
386
  readonly capabilitiesTitle: "模型能力";
362
387
  readonly capColMedia: "多模态";
363
388
  readonly capColTools: "动态工具";
@@ -368,13 +393,16 @@ export declare const dictionaries: {
368
393
  readonly speedRegular: "标准";
369
394
  readonly speedHighspeed: "高速 (约 6×)";
370
395
  readonly quotaCost: "额度倍率";
396
+ readonly quotaUnknown: "未公布";
371
397
  readonly minimumPlan: "所需套餐";
372
398
  readonly enhanced: "思考设置";
373
399
  readonly defaultReasoningEffort: "默认思考档位";
374
- readonly defaultReasoningEffortHint: "Kimi Code 只接受 low / high / max 三档;none 表示关闭思考。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
400
+ readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
401
+ readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
402
+ readonly effortNotOffered: "当前勾选的模型不接受";
375
403
  readonly cacheTtl: "上下文缓存时长";
376
- readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入时长。1h 写入约为 5m 的两倍价,只有当同一前缀会在一小时内被反复读取才划算;档位在首次写入时锁定,之后无法改写。留空表示不指定,由 Kimi 自己决定(实测有效期约 5–30 分钟)。依据回合间隔选:间隔通常短于约 30 分钟就留空或选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
377
- readonly cacheTtlDefault: "不指定(Kimi 默认)";
404
+ readonly cacheTtlHint: "Kimi 按前缀自动缓存,这里选择写入档位(只有 5m / 1h 两档)。不传时服务端按 5 分钟档写入。1h 写入单价约为 5m 的两倍,只有当同一前缀会在一小时内被反复读取才划算。档位在首次写入时锁定,之后命中按原 TTL 续期,无法改写。依据回合间隔选:间隔通常短于约 30 分钟选 5 分钟;调度、等子代理这类会出现长空闲的会话选 1 小时。";
405
+ readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
378
406
  readonly cacheTtl5m: "5 分钟";
379
407
  readonly cacheTtl1h: "1 小时";
380
408
  readonly defaultEffortAuto: "使用模型默认值";
@@ -400,6 +428,11 @@ export declare const dictionaries: {
400
428
  readonly cacheFresh: "新处理 tokens";
401
429
  readonly cacheOutput: "输出 tokens";
402
430
  readonly cacheRequests: "请求数";
431
+ readonly cacheWrite: "缓存写入";
432
+ readonly cacheWrite5m: "5 分钟档";
433
+ readonly cacheWrite1h: "1 小时档";
434
+ readonly cacheWriteHint: "写入是独立计费项:1h 写入单价约为 5m 的两倍,命中后会按原 TTL 续期。分档显示 0 表示服务端没有回报该档的写入数(响应头缺失就是静默),不等于该档确实没写入。";
435
+ readonly unknownMetric: "暂无";
403
436
  readonly cacheHint: "同一会话内:系统提示与工具列表一旦变化会使缓存整体失效,因此保持工具集合稳定、把新增内容追加在末尾,命中率最高。";
404
437
  readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
405
438
  readonly cacheDrift: "最近前缀状态";
@@ -460,8 +493,16 @@ export declare const dictionaries: {
460
493
  readonly quotaFactsScope: string;
461
494
  readonly composerLabel: string;
462
495
  };
463
- en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "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" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "cacheTtl" | "cacheTtlHint" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortHigh" | "effortMax" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "cacheTtlDefault" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
464
- 'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "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" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "cacheTtl" | "cacheTtlHint" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortHigh" | "effortMax" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "cacheTtlDefault" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
496
+ en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "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" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "cacheTtl" | "cacheTtlHint" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheTtlDefault" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWrite5m" | "cacheWrite1h" | "cacheWriteHint" | "unknownMetric" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
497
+ 'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "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" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "cacheTtl" | "cacheTtlHint" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheTtlDefault" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWrite5m" | "cacheWrite1h" | "cacheWriteHint" | "unknownMetric" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
465
498
  };
466
499
  export type KimiCodeLocaleKey = keyof typeof zh;
500
+ /**
501
+ * The dictionary shape a card renders from.
502
+ *
503
+ * Kept structural rather than `typeof zh` so a live locale view (whose values
504
+ * are resolved per read) still satisfies it, and so a helper that only needs
505
+ * one key cannot depend on the literal type of every other one.
506
+ */
507
+ export type KimiCodeDict = Record<KimiCodeLocaleKey, string>;
467
508
  //# sourceMappingURL=locales.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2HL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA0HrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAqIrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAA;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CA2HxD,CAAA"}
1
+ {"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAsIxD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"opendesign.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/opendesign.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAGnE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAyG1D,CAAA"}
1
+ {"version":3,"file":"opendesign.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/opendesign.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAGnE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAkH1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress-updates.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/progress-updates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAE9E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CA6B/D,CAAA"}
1
+ {"version":3,"file":"progress-updates.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/progress-updates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAE9E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAkC/D,CAAA"}
@@ -28,7 +28,7 @@ export declare const zh: {
28
28
  readonly modelsHint: "勾选后模型才会显示在对话页的模型选择列表中;全部取消勾选或关闭上方开关可在列表中隐藏该供应商。";
29
29
  readonly proxySettings: "网络代理";
30
30
  readonly proxyMode: "代理模式";
31
- readonly proxyModeHint: "GPT 与 Antigravity(Gemini)共用此代理设置;支持自动读取系统代理,修改后对后续请求生效。";
31
+ readonly proxyModeHint: "本插件的全部供应线路共用这一份代理设置,登录、令牌续期、模型目录与配额读取同样经过它;支持自动读取系统代理,修改后对后续请求生效。";
32
32
  readonly proxyModeAuto: "系统代理(自动检测)";
33
33
  readonly proxyModeCustom: "自定义代理";
34
34
  readonly proxyModeDirect: "直连(禁用代理)";
@@ -39,7 +39,7 @@ export declare const zh: {
39
39
  readonly proxyDetected: "检测到系统代理";
40
40
  readonly proxyDetectedEffective: "(已自动生效)";
41
41
  readonly proxyNoneDetected: "未检测到系统代理,将使用直连";
42
- readonly proxyDirectHint: "所有网络请求将直接连接,不经过任何代理服务器。";
42
+ readonly proxyDirectHint: "本插件的全部请求将直接连接,不经过任何代理服务器。";
43
43
  readonly enhancements: "增强功能";
44
44
  readonly fastMode: "快速模式(1.5x 速度)";
45
45
  readonly fastModeHint: "提升 Token 生成速度至约 1.5 倍;将以约 2x–2.5x 速度消耗 Codex 订阅额度。";
@@ -235,7 +235,7 @@ export declare const dictionaries: {
235
235
  readonly modelsHint: "勾选后模型才会显示在对话页的模型选择列表中;全部取消勾选或关闭上方开关可在列表中隐藏该供应商。";
236
236
  readonly proxySettings: "网络代理";
237
237
  readonly proxyMode: "代理模式";
238
- readonly proxyModeHint: "GPT 与 Antigravity(Gemini)共用此代理设置;支持自动读取系统代理,修改后对后续请求生效。";
238
+ readonly proxyModeHint: "本插件的全部供应线路共用这一份代理设置,登录、令牌续期、模型目录与配额读取同样经过它;支持自动读取系统代理,修改后对后续请求生效。";
239
239
  readonly proxyModeAuto: "系统代理(自动检测)";
240
240
  readonly proxyModeCustom: "自定义代理";
241
241
  readonly proxyModeDirect: "直连(禁用代理)";
@@ -246,7 +246,7 @@ export declare const dictionaries: {
246
246
  readonly proxyDetected: "检测到系统代理";
247
247
  readonly proxyDetectedEffective: "(已自动生效)";
248
248
  readonly proxyNoneDetected: "未检测到系统代理,将使用直连";
249
- readonly proxyDirectHint: "所有网络请求将直接连接,不经过任何代理服务器。";
249
+ readonly proxyDirectHint: "本插件的全部请求将直接连接,不经过任何代理服务器。";
250
250
  readonly enhancements: "增强功能";
251
251
  readonly fastMode: "快速模式(1.5x 速度)";
252
252
  readonly fastModeHint: "提升 Token 生成速度至约 1.5 倍;将以约 2x–2.5x 速度消耗 Codex 订阅额度。";
@@ -13,6 +13,12 @@ export interface OpenDesignComposerQuotaProps {
13
13
  * at all; the badge shows the primary (else first) readable account's latest
14
14
  * balance and never triggers a read of its own — a poll must not fan out one
15
15
  * upstream call per account. A pasted-key-only pool renders nothing.
16
+ *
17
+ * The Design Plan endpoint also states the tier's allowance windows, each with
18
+ * its own grant and what is left of it, so the badge shows the remaining share
19
+ * of the narrowest window and draws it as a thin bar. A reading without a
20
+ * measurable window keeps the bare balance, which is what every other line
21
+ * renders.
16
22
  */
17
23
  export declare function OpenDesignComposerQuota(props: OpenDesignComposerQuotaProps): React.JSX.Element;
18
24
  /** The line's own number picker, exported so a test can pin the rule. */
@@ -1 +1 @@
1
- {"version":3,"file":"OpenDesignComposerQuota.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignComposerQuota.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAC9F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAM/E,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAA;IAC7C,kBAAkB,IAAI,IAAI,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAS9F;AAED,yEAAyE;AACzE,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,mBAAmB,GAAG,IAAI,EAClC,QAAQ,CAAC,EAAE,MAAM,GAChB,kBAAkB,GAAG,IAAI,CAe3B"}
1
+ {"version":3,"file":"OpenDesignComposerQuota.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignComposerQuota.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAkC,KAAK,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAC1G,OAAO,KAAK,EAA2B,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAMxG,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAA;IAC7C,kBAAkB,IAAI,IAAI,CAAA;CAC3B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAS9F;AAuDD,yEAAyE;AACzE,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,mBAAmB,GAAG,IAAI,EAClC,QAAQ,CAAC,EAAE,MAAM,GAChB,kBAAkB,GAAG,IAAI,CAkC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"OpenDesignSection.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAoBhF,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA4ID;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA0mBlE"}
1
+ {"version":3,"file":"OpenDesignSection.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/OpenDesignSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAqBhF,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA4QD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA0mBlE"}
@@ -90,6 +90,15 @@ export declare const zh: {
90
90
  readonly usageTotalConsumed: "累计消耗 ${amount}";
91
91
  readonly usageUsageCount: "计费请求 {count} 次";
92
92
  readonly usagePlanUnknown: "已读取额度,但上游未返回套餐档位。";
93
+ readonly usageWindowsTitle: "Design Plan 额度窗口";
94
+ readonly usageWindowUsed: "已用 {used}%";
95
+ readonly usageWindowRemaining: "剩余 {remaining}%";
96
+ readonly usageWindowResetsAt: "{time} 重置";
97
+ readonly usageWindowsUnavailable: "额度窗口读取失败或该工作区未配置";
98
+ readonly usageWindowsConsoleOnly: "额度窗口仅在 OpenDesign 控制台可见:该端点不接受插件凭证";
99
+ readonly usageWindowDays: "{count} 天";
100
+ readonly usageWindowHours: "{count} 小时";
101
+ readonly usageWindowMinutes: "{count} 分钟";
93
102
  readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
94
103
  readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
95
104
  readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
@@ -214,6 +223,15 @@ export declare const en: {
214
223
  readonly usageTotalConsumed: "Consumed in total ${amount}";
215
224
  readonly usageUsageCount: "Billed requests: {count}";
216
225
  readonly usagePlanUnknown: "Credits were read, but the upstream named no plan tier.";
226
+ readonly usageWindowsTitle: "Design Plan allowance windows";
227
+ readonly usageWindowUsed: "{used}% used";
228
+ readonly usageWindowRemaining: "{remaining}% remaining";
229
+ readonly usageWindowResetsAt: "Resets {time}";
230
+ readonly usageWindowsUnavailable: "Allowance windows could not be read, or this workspace has none configured";
231
+ readonly usageWindowsConsoleOnly: "Allowance windows are only visible in the OpenDesign console: the endpoint refuses plugin credentials";
232
+ readonly usageWindowDays: "days: {count}";
233
+ readonly usageWindowHours: "hours: {count}";
234
+ readonly usageWindowMinutes: "minutes: {count}";
217
235
  readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
218
236
  readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
219
237
  readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
@@ -339,6 +357,15 @@ export declare const dictionaries: {
339
357
  readonly usageTotalConsumed: "累计消耗 ${amount}";
340
358
  readonly usageUsageCount: "计费请求 {count} 次";
341
359
  readonly usagePlanUnknown: "已读取额度,但上游未返回套餐档位。";
360
+ readonly usageWindowsTitle: "Design Plan 额度窗口";
361
+ readonly usageWindowUsed: "已用 {used}%";
362
+ readonly usageWindowRemaining: "剩余 {remaining}%";
363
+ readonly usageWindowResetsAt: "{time} 重置";
364
+ readonly usageWindowsUnavailable: "额度窗口读取失败或该工作区未配置";
365
+ readonly usageWindowsConsoleOnly: "额度窗口仅在 OpenDesign 控制台可见:该端点不接受插件凭证";
366
+ readonly usageWindowDays: "{count} 天";
367
+ readonly usageWindowHours: "{count} 小时";
368
+ readonly usageWindowMinutes: "{count} 分钟";
342
369
  readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
343
370
  readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
344
371
  readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
@@ -463,6 +490,15 @@ export declare const dictionaries: {
463
490
  readonly usageTotalConsumed: "累计消耗 ${amount}";
464
491
  readonly usageUsageCount: "计费请求 {count} 次";
465
492
  readonly usagePlanUnknown: "已读取额度,但上游未返回套餐档位。";
493
+ readonly usageWindowsTitle: "Design Plan 额度窗口";
494
+ readonly usageWindowUsed: "已用 {used}%";
495
+ readonly usageWindowRemaining: "剩余 {remaining}%";
496
+ readonly usageWindowResetsAt: "{time} 重置";
497
+ readonly usageWindowsUnavailable: "额度窗口读取失败或该工作区未配置";
498
+ readonly usageWindowsConsoleOnly: "额度窗口仅在 OpenDesign 控制台可见:该端点不接受插件凭证";
499
+ readonly usageWindowDays: "{count} 天";
500
+ readonly usageWindowHours: "{count} 小时";
501
+ readonly usageWindowMinutes: "{count} 分钟";
466
502
  readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
467
503
  readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
468
504
  readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
@@ -587,6 +623,15 @@ export declare const dictionaries: {
587
623
  readonly usageTotalConsumed: "Consumed in total ${amount}";
588
624
  readonly usageUsageCount: "Billed requests: {count}";
589
625
  readonly usagePlanUnknown: "Credits were read, but the upstream named no plan tier.";
626
+ readonly usageWindowsTitle: "Design Plan allowance windows";
627
+ readonly usageWindowUsed: "{used}% used";
628
+ readonly usageWindowRemaining: "{remaining}% remaining";
629
+ readonly usageWindowResetsAt: "Resets {time}";
630
+ readonly usageWindowsUnavailable: "Allowance windows could not be read, or this workspace has none configured";
631
+ readonly usageWindowsConsoleOnly: "Allowance windows are only visible in the OpenDesign console: the endpoint refuses plugin credentials";
632
+ readonly usageWindowDays: "days: {count}";
633
+ readonly usageWindowHours: "hours: {count}";
634
+ readonly usageWindowMinutes: "minutes: {count}";
590
635
  readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
591
636
  readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
592
637
  readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
@@ -711,6 +756,15 @@ export declare const dictionaries: {
711
756
  readonly usageTotalConsumed: "Consumed in total ${amount}";
712
757
  readonly usageUsageCount: "Billed requests: {count}";
713
758
  readonly usagePlanUnknown: "Credits were read, but the upstream named no plan tier.";
759
+ readonly usageWindowsTitle: "Design Plan allowance windows";
760
+ readonly usageWindowUsed: "{used}% used";
761
+ readonly usageWindowRemaining: "{remaining}% remaining";
762
+ readonly usageWindowResetsAt: "Resets {time}";
763
+ readonly usageWindowsUnavailable: "Allowance windows could not be read, or this workspace has none configured";
764
+ readonly usageWindowsConsoleOnly: "Allowance windows are only visible in the OpenDesign console: the endpoint refuses plugin credentials";
765
+ readonly usageWindowDays: "days: {count}";
766
+ readonly usageWindowHours: "hours: {count}";
767
+ readonly usageWindowMinutes: "minutes: {count}";
714
768
  readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
715
769
  readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
716
770
  readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAE7C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GL,CAAA;AAEV,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGL,CAAA;AAIV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAE7C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHL,CAAA;AAEV,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHL,CAAA;AAIV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,EAAE,CAAA"}
@@ -3,6 +3,11 @@
3
3
  * controls, which the shared `.dsha-*` vocabulary has no expression for.
4
4
  * Everything else on the tab reuses the shared card.
5
5
  *
6
+ * The composer meter is the one shared-markup rule kept here: every line feeds
7
+ * the shared badge differently, and this line is the only one that hands it a
8
+ * remaining share to draw, so the rule lives beside the card that produces the
9
+ * figure instead of being repeated in every line's sheet.
10
+ *
6
11
  * `.dshod-input` mirrors the input styling another line declares under an
7
12
  * unprefixed name on purpose: that class is that line's own, and a prefix of
8
13
  * ours keeps this card's look from drifting with someone else's sheet.
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAiC9C"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/opendesign/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CA4C9C"}
@@ -40,6 +40,11 @@ export declare const zh: {
40
40
  readonly settingsEnabledNote: "让 agent 在对话中发布进展更新";
41
41
  readonly settingsThresholdName: "催促阈值";
42
42
  readonly settingsThresholdNote: "连续这么多轮没有进展时,提醒 agent 汇报一次";
43
+ readonly settingsLanguageName: "输出语言";
44
+ readonly settingsLanguageNote: "进展更新的标题与正文用哪种语言写";
45
+ readonly settingsLanguageAuto: "自动(跟随对话)";
46
+ readonly settingsLanguageZh: "中文";
47
+ readonly settingsLanguageEn: "English";
43
48
  readonly settingsPanelName: "进展面板";
44
49
  readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
45
50
  readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
@@ -76,6 +81,11 @@ export declare const dictionaries: {
76
81
  readonly settingsEnabledNote: "让 agent 在对话中发布进展更新";
77
82
  readonly settingsThresholdName: "催促阈值";
78
83
  readonly settingsThresholdNote: "连续这么多轮没有进展时,提醒 agent 汇报一次";
84
+ readonly settingsLanguageName: "输出语言";
85
+ readonly settingsLanguageNote: "进展更新的标题与正文用哪种语言写";
86
+ readonly settingsLanguageAuto: "自动(跟随对话)";
87
+ readonly settingsLanguageZh: "中文";
88
+ readonly settingsLanguageEn: "English";
79
89
  readonly settingsPanelName: "进展面板";
80
90
  readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
81
91
  readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
@@ -108,13 +118,18 @@ export declare const dictionaries: {
108
118
  readonly settingsEnabledNote: "让 agent 在对话中发布进展更新";
109
119
  readonly settingsThresholdName: "催促阈值";
110
120
  readonly settingsThresholdNote: "连续这么多轮没有进展时,提醒 agent 汇报一次";
121
+ readonly settingsLanguageName: "输出语言";
122
+ readonly settingsLanguageNote: "进展更新的标题与正文用哪种语言写";
123
+ readonly settingsLanguageAuto: "自动(跟随对话)";
124
+ readonly settingsLanguageZh: "中文";
125
+ readonly settingsLanguageEn: "English";
111
126
  readonly settingsPanelName: "进展面板";
112
127
  readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
113
128
  readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
114
129
  readonly settingsSaveFailed: "保存失败,请稍后再试";
115
130
  };
116
- en: Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
117
- 'en-US': Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
131
+ en: Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
132
+ 'en-US': Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
118
133
  };
119
134
  /** 本命名空间的字典键联合,供类型化 `t` 座位使用。 */
120
135
  export type ProgressUpdatesLocaleKey = keyof typeof zh;
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/locales.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAG,sBAA+B,CAAA;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,EAAE;IACb,4BAA4B;;;IAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BpB,CAAA;AAEV,wBAAwB;AACxB,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CA6BvD,CAAA;AAED,qCAAqC;AACrC,eAAO,MAAM,YAAY;;QAjEvB,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAH5B,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmE7B,CAAA;AAED,iCAAiC;AACjC,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,EAAE,CAAA;AAEtD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,mBAAmB;QACnB,sBAAsB,EAAE,wBAAwB,CAAA;KACjD;CACF"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/locales.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAG,sBAA+B,CAAA;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,EAAE;IACb,4BAA4B;;;IAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCpB,CAAA;AAEV,wBAAwB;AACxB,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAkCvD,CAAA;AAED,qCAAqC;AACrC,eAAO,MAAM,YAAY;;QA3EvB,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAH5B,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E7B,CAAA;AAED,iCAAiC;AACjC,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,EAAE,CAAA;AAEtD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,mBAAmB;QACnB,sBAAsB,EAAE,wBAAwB,CAAA;KACjD;CACF"}