@epoch-agent/protocol 0.30.0 → 1.0.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.
package/README.md CHANGED
@@ -27,7 +27,7 @@
27
27
  | `hook.ts` | Hook 类型与 trigger |
28
28
  | `config.ts` | 配置形状 |
29
29
  | `sidebar-menu.ts` | 宿主自定义的那几行侧栏菜单:一项长什么样,以及点下去那条 `postMessage` 的 `type`。**只有 Web UI 读它**,但契约得住这儿(`EpochConfig` 和 `WireConfigResponse` 都引它) |
30
- | `context.ts` | 上下文预算的构成(`/context` 那张账目:每一段花了多少) |
30
+ | `context.ts` | 上下文预算的构成(`/context` 那张账目:每一段花了多少;每段带 `kind`、建议带结构化的 `notes`,消费方按自己的语言翻) |
31
31
  | `task.ts` | 后台任务的形状(宿主要展示它们:状态栏计数、`/tasks`、Web 那一栏) |
32
32
  | `keybindings.ts` | 键位的**值域**(动作全集 + `KeyChord` + 与 `"ctrl+l"` 写法互转)。默认表在 tui |
33
33
  | `i18n.ts` | 界面语言的值域(`Lang` / `LANGS` / `DEFAULT_LANG`)—— **封闭的两个值**;外加 API URL 上那个 `WIRE_LANG_PARAM`(方案 58)。**2026-08-22 起还有纯查表**(`makeTranslate` / `flattenCatalog` / `placeholdersOf`,方案 40 PR-2)—— 消费方是 tui 和 web,它们俩连 infra 都不许依赖。分界是「有没有 I/O 和状态」:读盘和进程语言仍在 infra |
package/dist/index.d.ts CHANGED
@@ -1967,7 +1967,7 @@ interface SettingsPaneItem {
1967
1967
  * 宿主自己认的那个码。**一个键里不许重复**(core 的 schema 拦)—— 重了的话
1968
1968
  * 屏幕上两项长得不一样,而「此刻停在哪一项」认的是同一个码。
1969
1969
  *
1970
- * ⚠️ **不许和内置的九个分区 id 撞**(`SETTINGS_PANE_IDS`),core 的 schema
1970
+ * ⚠️ **不许和内置的十个分区 id 撞**(`SETTINGS_PANE_IDS`),core 的 schema
1971
1971
  * 同样拦:撞了的话 `settingsHidden` 里写那个 id 会同时打到两边,
1972
1972
  * 而宿主没有办法只藏其中一个。
1973
1973
  */
@@ -2008,7 +2008,7 @@ interface SettingsPaneItem {
2008
2008
  * {@link SETTINGS_PANE_IDS} 里的 id。**不写 = 排在所有分区的最后**。
2009
2009
  *
2010
2010
  * ```yaml
2011
- * before: model # 排到整列最前面(model 是我们那九个里的第一个)
2011
+ * before: model # 排到整列最前面(model 是我们那十个里的第一个)
2012
2012
  * before: appearance # 插在「外观」之前
2013
2013
  * # 不写 # 最后
2014
2014
  * ```
@@ -2016,7 +2016,7 @@ interface SettingsPaneItem {
2016
2016
  * ## ⚠️ 为什么是 `before` 而不是 `after`
2017
2017
  *
2018
2018
  * 同样一个字段、同样的代价,而 `before` **多覆盖一种想法**:`before: model`
2019
- * 就是「排到最前面」。`after` 表达不了这一种 —— 我们那九个里第一个之前没有
2019
+ * 就是「排到最前面」。`after` 表达不了这一种 —— 我们那十个里第一个之前没有
2020
2020
  * 东西可以「在……之后」,除非再发明一个魔法值(`after: 'top'` 之类),
2021
2021
  * 而那是一个宿主只能靠读文档才知道的词。
2022
2022
  *
@@ -2048,7 +2048,7 @@ interface SettingsPaneItem {
2048
2048
  *
2049
2049
  * | 键 | 画在哪 | 不配 = |
2050
2050
  * | -- | ------ | ------ |
2051
- * | `EpochConfig.sidebarMenu` | 侧栏底部「用户」那一行**上面**的几行常驻按钮 | 那几行整个没有 |
2051
+ * | `EpochConfig.sidebarMenu` | 侧栏最底下那一格里「用户」**右边**那枚分体按钮(一项露在外面,其余在「⋯」里) | 那枚按钮整个没有,「用户」照旧一整行 |
2052
2052
  * | `EpochConfig.userMenu` | 「用户」点开的那张菜单里的宿主项(排在「设置」上面) | 菜单里只有「设置」,**连分隔线都没有** |
2053
2053
  *
2054
2054
  * ⚠️ **两个键互不兜底**,这是拆开那一笔的全部内容(老板原话:「不行,需要是两个
@@ -2160,40 +2160,48 @@ interface SidebarMenuItem {
2160
2160
  icon?: string;
2161
2161
  }
2162
2162
  /**
2163
- * `sidebarMenu`(侧栏那几行)里的一项 —— {@link SidebarMenuItem} 再多一个
2164
- * {@link pinned}(2026-10-11)。
2163
+ * `sidebarMenu`(侧栏底部那一格)里的一项 —— {@link SidebarMenuItem} 再多一个
2164
+ * {@link primary}(2026-10-13,取代 10-11 的 `pinned`)。
2165
2165
  *
2166
- * ## 为什么这一天拆出第二个名字
2166
+ * ## 为什么有第二个名字
2167
2167
  *
2168
2168
  * 上面那个类型的 JSDoc 写着「两个键的 item 真要长得不一样的那天,那时才拆」——
2169
- * 就是这一天。`pinned` 回答的是「露在侧栏上还是收进『更多』」,而 `userMenu`
2169
+ * 10-11 那天拆的。`primary` 回答的是「哪一项单独露在外面」,而 `userMenu`
2170
2170
  * 那几项本来就**全在一张菜单里**,这个问题在那一面没有宾语。给它也加上的话,
2171
- * 宿主会以为在 `userMenu` 里写 `pinned: true` 能把某一项钉到菜单外面去。
2171
+ * 宿主会以为在 `userMenu` 里写 `primary: true` 能把某一项拎到菜单外面去。
2172
2172
  *
2173
- * ⚠️ `userMenu` 里写了 `pinned` 不报错,是**被丢掉** —— core 的配置 schema 对
2173
+ * ⚠️ `userMenu` 里写了 `primary` 不报错,是**被丢掉** —— core 的配置 schema 对
2174
2174
  * 不认识的字段一律剥掉而不是拒绝(判据在那份 schema 的文件头:配错一个字段
2175
2175
  * 不该让整份配置失效)。
2176
2176
  */
2177
2177
  interface SidebarNavItem extends SidebarMenuItem {
2178
2178
  /**
2179
- * 这一项**露在侧栏上**(一行常驻按钮)。**不给 = 收进「更多」** ——
2180
- * 侧栏上那一行「更多」,悬停或点击展开一张菜单,没钉住的那几项全在里面。
2179
+ * 这一项是**单独露在外面的那一个**。
2181
2180
  *
2182
- * ## ⚠️ 默认是「收起」,不是「露在外面」
2181
+ * ## 屏幕上的形态(2026-10-13)
2183
2182
  *
2184
- * 这一格要治的病是「宿主配多了,侧栏底部那一块把会话列表挤没了」。默认露在外面
2185
- * 的话,那个病在**默认情况下**仍然在 —— 宿主得先知道有这个字段,才躲得开。
2186
- * 默认收起之后,侧栏上露几行是宿主**一项一项点名**出来的,不点名就只多一行「更多」。
2183
+ * 配了 `sidebarMenu` 时,侧栏最底下那一格从「一整行『用户』」变成一行两段:
2184
+ * **左边**是一枚头像大小的「用户」按钮(点开照旧是那张菜单),**右边**是一枚
2185
+ * 分体按钮 —— 主体是 `primary` 那一项,右侧一枚「⋯」,其余各项全在它展开的
2186
+ * 菜单里。**只有一项**的时候不画「⋯」(一枚点开是空菜单的按钮比没有更坏)。
2187
+ * 没配 `sidebarMenu` 时那一格照旧是一整行「用户」。
2187
2188
  *
2188
- * 代价如实记着:这个默认值**改了老配置的样子**。2026-10-11 之前配的
2189
- * `sidebarMenu` 没有这个字段,升级后那几行会全部收进「更多」,宿主要给常用的
2190
- * 那几项补一句 `pinned: true` 才回到原样(changeset 里写明了)。
2189
+ * ## ⚠️ 最多一项
2191
2190
  *
2192
- * 两种极端各自的形态:**全钉住** = 没有「更多」那一行(底下没东西可收,
2193
- * 一行点开是空菜单的按钮比没有更坏);**一项都没钉** = 侧栏上只有「更多」一行。
2194
- * 顺序都照宿主写的那份:钉住的按原顺序排在外面,没钉的按原顺序排进菜单。
2191
+ * 外面只有一个位置。两项都写 `true` 是配错了,core 的 schema 拦(同 `id` 重复
2192
+ * 那一条:宿主读不出哪一项会露在外面)。
2193
+ *
2194
+ * ## 一项都没写 = **第一项**露在外面
2195
+ *
2196
+ * 不是「外面空着、只剩一枚『⋯』」:头像旁边一枚孤零零的「⋯」读不出是什么,
2197
+ * 而宿主的第一项本来就是它排在最前面的那个去处。于是这个字段只在「想露出来的
2198
+ * 不是第一项」时才需要写。
2199
+ *
2200
+ * ⚠️ **10-11 的 `pinned` 撤了**(「钉住的几项一行一个露在侧栏上,其余收进『更多』」
2201
+ * 那一版)。老配置里写着 `pinned` 不报错,是被剥掉 —— 那时露在外面的是第一项。
2202
+ * 顺序照宿主写的那份:菜单里的各项按原顺序排,露在外面那一项不在菜单里重复。
2195
2203
  */
2196
- pinned?: boolean;
2204
+ primary?: boolean;
2197
2205
  }
2198
2206
  /**
2199
2207
  * 那条 `postMessage` 的 `type`。**宿主和我们共用这一个字面量**,两边都别手抄。
@@ -2826,8 +2834,8 @@ interface EpochConfig {
2826
2834
  *
2827
2835
  * 空串是**配错了**,不是「不要品牌」(不要就别写这个键)——
2828
2836
  * core 的 schema 会为它产出一条带字段路径的 warn 诊断。
2829
- * 长名字**不算配错**:决定 19 给了那一格 96px 的宽度上限,超出的部分裁掉,
2830
- * 因为侧栏那一行还要装搜索框。
2837
+ * 长名字**不算配错**:那一格吃满侧栏头部两枚图标左边的整段宽(2026-10-13 起,
2838
+ * 原来 96px 封顶),再放不下的部分裁成省略号。
2831
2839
  */
2832
2840
  brand?: string;
2833
2841
  /**
@@ -2866,10 +2874,11 @@ interface EpochConfig {
2866
2874
  *
2867
2875
  * ⚠️ **不设条数上限**,判据同 `brand` 的「不设长度上限」:为「菜单有点长」判一次
2868
2876
  * 校验失败,代价是宿主**整份配置**(含模型和 key)退默认值。装不下由界面自己
2869
- * 兜(web 那一格:没钉住的收进「更多」,钉住的那几行限高自己滚),不由校验兜。
2877
+ * 兜(web 那一格:外面恒为一枚按钮,其余全收进它右边那枚「⋯」展开的菜单),
2878
+ * 不由校验兜。
2870
2879
  *
2871
- * 每一项比 `userMenu` 多一个 `pinned`(露在外面还是收进「更多」,**默认收起**),
2872
- * 判据在 {@link SidebarNavItem} 上。
2880
+ * 每一项比 `userMenu` 多一个 `primary`(哪一项单独露在外面,**最多一项、
2881
+ * 不写就是第一项**),判据在 {@link SidebarNavItem} 上。
2873
2882
  */
2874
2883
  sidebarMenu?: readonly SidebarNavItem[];
2875
2884
  /**
@@ -2962,7 +2971,7 @@ interface EpochConfig {
2962
2971
  */
2963
2972
  user?: HostUser;
2964
2973
  /**
2965
- * 设置页里**不画**哪几个分区(2026-09-23)。**缺省 = 九个全画。**
2974
+ * 设置页里**不画**哪几个分区(2026-09-23)。**缺省 = 十个全画。**
2966
2975
  *
2967
2976
  * 值是 {@link SETTINGS_PANE_IDS} 里的 id。形状、口径、以及「为什么这一格是
2968
2977
  * 我们对宿主的承诺而不是反过来」,全文在
@@ -2991,7 +3000,7 @@ interface EpochConfig {
2991
3000
  *
2992
3001
  * ## ⚠️ 差别三:藏掉是有代价的,而代价**不在功能上**
2993
3002
  *
2994
- * 九个分区**全都藏得掉**,包括「关于」和「安全中心」(用户 2026-09-23 拍的板:
3003
+ * 十个分区**全都藏得掉**,包括「关于」和「安全中心」(用户 2026-09-23 拍的板:
2995
3004
  * 宿主自己负责)。藏掉一个分区**不削弱任何实际管控** —— 权限、信任、预算闸门
2996
3005
  * 全在引擎那一层,界面只是读。削弱的是**排查能力**:
2997
3006
  *
@@ -3010,7 +3019,7 @@ interface EpochConfig {
3010
3019
  */
3011
3020
  settingsHidden?: readonly string[];
3012
3021
  /**
3013
- * 宿主**自己的**那几个设置分区(2026-09-23)。**缺省 = 设置页里只有我们那九个。**
3022
+ * 宿主**自己的**那几个设置分区(2026-09-23)。**缺省 = 设置页里只有我们那十个。**
3014
3023
  *
3015
3024
  * 每一项是「一个 id、一句话、一个网址」,我们在设置页右边那一栏里把那个网址
3016
3025
  * 用 `<iframe>` 嵌出来。形状、两条安全边界、以及「为什么不共用
@@ -3037,14 +3046,14 @@ interface EpochConfig {
3037
3046
  * 形状上像 `sidebarMenu` / `userMenu` 那一对,但关系不是:那一对是同一种东西
3038
3047
  * 的两个落点,这一对是**一个减一个加**。三档都说得通:
3039
3048
  *
3040
- * - 只配 `settingsHidden` → 我们那九个少几个,没有宿主自己的分区;
3041
- * - 只配这一个 → 九个全在,后面多几项宿主的;
3042
- * - 两个都配 → 各算各的(那正是「只留我自己那几屏」的写法:九个全藏 + 配几项)。
3049
+ * - 只配 `settingsHidden` → 我们那十个少几个,没有宿主自己的分区;
3050
+ * - 只配这一个 → 十个全在,后面多几项宿主的;
3051
+ * - 两个都配 → 各算各的(那正是「只留我自己那几屏」的写法:十个全藏 + 配几项)。
3043
3052
  *
3044
3053
  * ⚠️ **`settingsHidden` 藏不掉这里面的项。** 那个键的值域是
3045
- * {@link SETTINGS_PANE_IDS}(我们那九个),宿主要撤掉自己的分区就从这张表里
3054
+ * {@link SETTINGS_PANE_IDS}(我们那十个),宿主要撤掉自己的分区就从这张表里
3046
3055
  * 删掉那一项 —— 它本来就在它手上,没必要绕一圈。这也是为什么 core 的 schema
3047
- * 拦「`id` 和内置九个撞名」:撞了的话 `settingsHidden` 里那个 id 会同时打到两边。
3056
+ * 拦「`id` 和内置十个撞名」:撞了的话 `settingsHidden` 里那个 id 会同时打到两边。
3048
3057
  *
3049
3058
  * ⚠️ **空数组是配错了**(不要就别写这个键),`id` 不许重复,不设条数上限
3050
3059
  * —— 三条都逐字同 {@link sidebarMenu}。
@@ -7550,14 +7559,45 @@ type HeadlessInputEventType = HeadlessInputEvent['type'];
7550
7559
  *
7551
7560
  * 形状住在 protocol 是因为 TUI 和 web 都要画它,而两边都不许 import core。
7552
7561
  */
7562
+ /**
7563
+ * 一段是什么(2026-10-14)。
7564
+ *
7565
+ * ## 为什么 `label` 之外还要它
7566
+ *
7567
+ * `label` / `detail` / `hints` 是**生产那一侧**用自己的进程语言渲染好的串(core 的 `t()`)。
7568
+ * TUI 跟进程同一个语言,那正好;而 web 的界面语言是浏览器那一侧单独定的
7569
+ * (`display.language` / 浏览器语言),两者经常不一样 —— 用户在一台进程语言是 en 的机器上
7570
+ * 把界面切到中文,这一块照样是「system prompt / instruction files」。
7571
+ *
7572
+ * 所以把**这一段是哪一类、补充说明的原料**也一起发:消费方认得 `kind` 就按自己的语言翻,
7573
+ * 认不得(老的生产方没发、或者将来新加了一类)就退回 `label`。两个字段都可选 ——
7574
+ * 嵌入宿主自己实现了这个接口的话,不发也照旧画得出来。
7575
+ */
7576
+ type ContextSegmentKind = 'system' | 'instructions' | 'tools' | 'skills' | 'memory' | 'history';
7553
7577
  /** 预算里的一段 */
7554
7578
  interface ContextSegment {
7555
- /** 展示名,例如「工具定义」 */
7579
+ /** 展示名,例如「工具定义」。**生产方进程语言**,判据在 {@link ContextSegmentKind} */
7556
7580
  label: string;
7557
7581
  /** 估算的 token 数 */
7558
7582
  tokens: number;
7559
7583
  /** 一句补充说明,例如「14 个内置 + 6 个 MCP」。没有就不显示 */
7560
7584
  detail?: string;
7585
+ /** 这一段是哪一类。消费方按自己的语言翻名字用它,判据同上 */
7586
+ kind?: ContextSegmentKind;
7587
+ /** 工具段那句补充说明的原料(内置几个、MCP 几个)。只挂在 `kind: 'tools'` 上 */
7588
+ toolCounts?: {
7589
+ local: number;
7590
+ mcp: number;
7591
+ };
7592
+ }
7593
+ /**
7594
+ * 一条建议是哪一种 + 填进去的值(2026-10-14)。和 `hints` **一一对应、同序** ——
7595
+ * 判据同 {@link ContextSegmentKind}:`hints` 是生产方语言的成句,这一份让消费方
7596
+ * 按自己的语言重新渲染。码表就是 core 那份 catalog 的 `context_breakdown.<code>`。
7597
+ */
7598
+ interface ContextNote {
7599
+ code: 'heavy_mcp' | 'heavy_tools' | 'heavy_skills' | 'heavy_skills_owner' | 'skills_capped' | 'near_limit';
7600
+ params: Record<string, string | number>;
7561
7601
  }
7562
7602
  /**
7563
7603
  * 一次上下文预算快照。
@@ -7586,6 +7626,8 @@ interface ContextBreakdown {
7586
7626
  * 而压缩器本来就会处理它。
7587
7627
  */
7588
7628
  hints: string[];
7629
+ /** `hints` 的结构化版本,一一对应、同序。可选:老的生产方不发,判据在 {@link ContextNote} */
7630
+ notes?: ContextNote[];
7589
7631
  }
7590
7632
 
7591
7633
  /**
@@ -8161,7 +8203,7 @@ interface WireConfigResponse {
8161
8203
  * ⚠️ **原样转发,服务端一个字都不改**:`label` 不翻译(它是宿主的话,
8162
8204
  * 同诊断的 `detail`),`icon` 认不认得出来也不在这一层判 —— 那张白名单是
8163
8205
  * 第一方 Web UI 自己的事,而这条端点也服务着自己画前端的宿主(EMBEDDING §10)。
8164
- * `pinned` 同样原样带下去 —— 自己画前端的宿主要照它分「外面 / 更多」两组。
8206
+ * `primary` 同样原样带下去 —— 自己画前端的宿主要照它挑出露在外面的那一项。
8165
8207
  */
8166
8208
  sidebarMenu?: readonly SidebarNavItem[];
8167
8209
  /**
@@ -8240,14 +8282,14 @@ interface WireConfigResponse {
8240
8282
  * (它已经在 {@link diagnostics} 里了),这一层再滤一遍等于让自己画前端的宿主
8241
8283
  * (EMBEDDING §10)收到一份和配置文件对不上的清单,而它无从知道是谁改的。
8242
8284
  *
8243
- * ⚠️ **「没这个键」= 九个分区全画**,不是「一个都不画」。这一条听着是废话,
8285
+ * ⚠️ **「没这个键」= 十个分区全画**,不是「一个都不画」。这一条听着是废话,
8244
8286
  * 但这个键是全仓**唯一一个语义为「减」的宿主键** —— 别的几个(`sidebarMenu` /
8245
8287
  * `blankCards` / …)没配都是「屏幕上少点东西」,只有这一个没配是「全都在」。
8246
8288
  * 判据在 `EpochConfig` 那一格的「差别一」(为什么是黑名单不是白名单)。
8247
8289
  *
8248
8290
  * ⚠️ **别和隔壁那个 {@link settingsPanes} 读混**:名字像,方向相反 ——
8249
- * 这一个是「我们那九个里**减**掉哪几个」,那一个是宿主**加**进来的自己的分区。
8250
- * 两个键互不掺和(`settingsHidden` 的值域只有我们那九个,藏不掉宿主自己的项),
8291
+ * 这一个是「我们那十个里**减**掉哪几个」,那一个是宿主**加**进来的自己的分区。
8292
+ * 两个键互不掺和(`settingsHidden` 的值域只有我们那十个,藏不掉宿主自己的项),
8251
8293
  * 全文在 `EpochConfig.settingsPanes` 的「差别二」。
8252
8294
  */
8253
8295
  settingsHidden?: readonly string[];
@@ -12269,11 +12311,16 @@ interface WirePluginEntry {
12269
12311
  * `server/src/plugin.ts` 拿**市场那份快照**比出来 —— 和 {@link WirePluginHit.installed}
12270
12312
  * 恰好是同一次 join 的两个方向(那一格也在那一层算,判据在 `toWirePluginHit` 上)。
12271
12313
  *
12272
- * ⚠️ **于是它会在这几种情况下变回 `null`,而那不是 bug**:这一条从本机目录装的
12273
- * (压根没有市场)、装完之后那个市场被移除了、或者它在目录里下架了。
12274
- * 口径同 `WirePluginHit.downloads` 上那条「目录是快照」—— 我们印的是
12314
+ * ⚠️ 目录说不出来的时候(这一条从本机目录装的、装完之后那个市场被移除了、或者它在
12315
+ * 目录里下架了、目录那一条没写显示名),**落到包里 `epoch-plugin.json` 自己写的那个**
12316
+ * (2026-10-14,优先级逐字同下面的 {@link icon});两处都没有才是 `null`。
12317
+ * 口径同 `WirePluginHit.downloads` 上那条「目录是快照」—— 目录在的时候我们印的是
12275
12318
  * 「目录**现在**管它叫什么」,不是「装的那天它叫什么」。
12276
12319
  *
12320
+ * 2026-10-14 之前这一段写的是「变回 `null`,而那不是 bug」。它是 bug:安装前那一屏
12321
+ * 预览读的是包里的名字(core 的 `plugin/install.ts`),于是装之前看到「淘宝批量改价」、
12322
+ * 装完这一栏只剩 `taobao-batch-edit`。
12323
+ *
12277
12324
  * ## ⚠️ 有它的时候界面**照样要印 {@link name}**
12278
12325
  *
12279
12326
  * 判据逐字同 `WirePluginHit.displayName`:那一格是**显示名**,`name` 是**标识** ——
@@ -16714,7 +16761,7 @@ declare const WIRE_FILE_CANDIDATES_FIELDS: WireFields<WireFileCandidatesResponse
16714
16761
  * `EpochConfig.settingsHidden` 里写的就是这些字符串:宿主列哪几个,第一方 Web UI
16715
16762
  * 的设置页就不画哪几个(判据和「藏掉的代价」在那个字段上,连带 docs/EMBEDDING.md)。
16716
16763
  *
16717
- * ## ⚠️ 这张表一立,这九个名字就是对外契约了
16764
+ * ## ⚠️ 这张表一立,这十个名字就是对外契约了
16718
16765
  *
16719
16766
  * 在这之前它们是 `web/src/settings/index.tsx` 里 `PANES` 的**内部枚举**,那个文件头
16720
16767
  * 逐字写着「多一个枚举值就多一处能和它对不上的地方」—— 言下之意是随时能改。
@@ -16748,12 +16795,12 @@ declare const WIRE_FILE_CANDIDATES_FIELDS: WireFields<WireFileCandidatesResponse
16748
16795
  * 外加一条用例断言两张表**互为子集**(运行时)。
16749
16796
  */
16750
16797
  /**
16751
- * 九个分区的 id,**顺序无意义** —— 屏幕上的先后由 `web/src/settings/index.tsx` 的
16798
+ * 十个分区的 id,**顺序无意义** —— 屏幕上的先后由 `web/src/settings/index.tsx` 的
16752
16799
  * `PANES` 按作用域排(2026-09-22 那一笔),和这张表没有关系。
16753
16800
  *
16754
16801
  * 这儿按字母序排,为的是「加一项」不必猜该插在哪儿。
16755
16802
  */
16756
- declare const SETTINGS_PANE_IDS: readonly ["about", "appearance", "budget", "memory", "model", "security", "sessions", "spend", "tools"];
16803
+ declare const SETTINGS_PANE_IDS: readonly ["about", "appearance", "budget", "memory", "model", "security", "sessions", "spend", "storage", "tools"];
16757
16804
  /** 设置页一个分区的 id */
16758
16805
  type SettingsPaneId = (typeof SETTINGS_PANE_IDS)[number];
16759
16806
  /**
@@ -16857,4 +16904,4 @@ declare const SECRET_SERVICE = "epoch-agent";
16857
16904
  */
16858
16905
  declare const MCP_DATA_KEY_NAME = "mcp-auth-data-key";
16859
16906
 
16860
- export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceLang, type AppearanceTheme, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoundKey, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextSegment, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, type EpochConfig, type EpochContentPart, type EpochFilePart, type EpochHook, type EpochImagePart, type EpochMessage, type EpochMessageRole, type EpochPlugin, type EpochSessionPart, type EpochSkill, type EpochTextPart, type EpochTool, type EpochToolCall, type EpochToolResult, type EpochTurnFacts, type EpochUserContent, type ExpandedCommand, FOLLOW_SYSTEM, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, type FormatMoneyOptions, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, type HeadlessEnvelope, type HeadlessEvent, type HeadlessInit, type HeadlessInputEvent, type HeadlessInputEventType, type HeadlessInputFormat, type HeadlessLifecycleEvent, type HeadlessOutputFormat, type HeadlessResult, type HeadlessResultReason, type HookContext, type HookEvent, type HookHandler, type HookManager, type HookRegistration, type HookType, type HostText, type HostUser, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, type MentionSet, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_PREVIEW_STREAM_MIME, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type PluginMenuMessage, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type RejectReason, type RejectedKey, type RuleValue, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MAX_MINUTES, SCHEDULE_INTERVAL_MIN_MINUTES, SCHEDULE_MAX_TIMES_PER_DAY, SCHEDULE_RUN_STATUSES, SEARCH_API_KEY_ENV, SEARCH_PROVIDER_TYPES, SECRET_SERVICE, SEQUENCE_CONTEXTS, SESSION_MENTION_PREFIX, SESSION_REFERENCE_ERROR_CODES, SETTINGS_PANE_IDS, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, type ScheduleAllowlist, type ScheduleBackendKind, type ScheduleCronTrigger, type ScheduleCycle, type ScheduleDefinition, type ScheduleDraft, type ScheduleDraftAllowlist, type ScheduleDraftCreate, type ScheduleDraftPermission, type ScheduleDraftUpdate, type SchedulePendingApproval, type SchedulePendingItem, type ScheduleRun, type ScheduleRunStatus, type ScheduleRunnerSpec, type ScheduleTrigger, type ScheduleTriggerKind, type ScheduleWeekday, type ScheduleWideningKind, type SearchProviderType, type SecretBackendId, type SecretStore, type SelectionContext, type SelectionRejection, type SelectionWarning, type SessionAttachKind, type SessionAttachResult, type SessionOmitReason, type SessionSurfaceMessage, type SessionSurfaceView, type SetSelectionResult, type SettingsPaneId, type SettingsPaneItem, type ShellKind, type SidebarMenuItem, type SidebarMenuMessage, type SidebarNavItem, type SpanLike, type SubToolCall, type SubToolCallResult, type Telemetry, type TokenUsage, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrustExecGrant, type TrustGrant, type TrustLevel, type TrustManager, type TrustRecord, type TrustScope, type TrustTier, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_FIELDS, WIRE_APPEARANCE_RESPONSE_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_FIELDS, WIRE_ATTACHMENT_UPLOAD_FIELDS, WIRE_AUDIT_LOG_FIELDS, WIRE_AUDIT_ROW_FIELDS, WIRE_AUTH_COOKIE, WIRE_AUTH_COOKIE_ATTRS, WIRE_AUTH_TOKEN_PARAM, WIRE_BACKGROUND_TASK_FIELDS, WIRE_BLOCKED_GOALS_FIELDS, WIRE_BLOCKED_GOAL_FIELDS, WIRE_BLOCKED_LEVEL_FIELDS, WIRE_BUILTIN_CONNECTOR_FIELDS, WIRE_CACHED_APPROVAL_FIELDS, WIRE_CAPABILITIES_FIELDS, WIRE_CAPABILITY_PROJECT_FIELDS, WIRE_CHECKPOINT_LIST_FIELDS, WIRE_CHECKPOINT_SUMMARY_FIELDS, WIRE_COMMANDS_FIELDS, WIRE_COMMAND_EXPANSION_FIELDS, WIRE_COMPACT_FIELDS, WIRE_COMPRESSION_LINE_FIELDS, WIRE_CONFIG_FIELDS, WIRE_CONTEXT_FIELDS, WIRE_CREATE_SESSION_FIELDS, WIRE_CREATE_WORKSPACE_FIELDS, WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS, WIRE_CUSTOM_COMMAND_FIELDS, WIRE_DELETE_SESSION_FIELDS, WIRE_DIFF_FILE_FIELDS, WIRE_ERROR_FIELDS, WIRE_FILE_CANDIDATES_FIELDS, WIRE_FILE_CANDIDATE_FIELDS, WIRE_FILE_CHANGE_FIELDS, WIRE_FILE_OPEN_RESPONSE_FIELDS, WIRE_FILE_REFERENCE_FIELDS, WIRE_FILE_STAT_MAX, WIRE_FILE_STAT_OK_FIELDS, WIRE_FILE_STAT_REFUSED_FIELDS, WIRE_FILE_STAT_RESPONSE_FIELDS, WIRE_FILE_TEXT_RESPONSE_FIELDS, WIRE_FORGET_WORKSPACE_FIELDS, WIRE_FORGET_WORKSPACE_RESPONSE_FIELDS, WIRE_GOAL_ACTIONS, WIRE_GOAL_BLOCK_FIELDS, WIRE_GOAL_CLEAR_FIELDS, WIRE_GOAL_CREATE_FIELDS, WIRE_GOAL_FIELDS, WIRE_GOAL_LIMITS_FIELDS, WIRE_GOAL_PHASES, WIRE_GOAL_REFUSALS, WIRE_GOAL_RESPONSE_FIELDS, WIRE_GOAL_WRITE_FIELDS, WIRE_HEALTH_FIELDS, WIRE_IMAGE_REFERENCE_FIELDS, WIRE_KNOWN_WORKSPACE_FIELDS, WIRE_LANG_PARAM, WIRE_LAST_SESSION_FIELDS, WIRE_LAST_SESSION_RESPONSE_FIELDS, WIRE_MANAGED_LOCK_FIELDS, WIRE_MCP_ADD_FIELDS, WIRE_MCP_ADD_RESPONSE_FIELDS, WIRE_MCP_APPLY_ENTRY_FIELDS, WIRE_MCP_APPLY_RESPONSE_FIELDS, WIRE_MCP_CONFIG_APPLY_FIELDS, WIRE_MCP_CONFIG_FIELDS, WIRE_MCP_CONFIG_ISSUE_FIELDS, WIRE_MCP_CONFIG_SAVE_FIELDS, WIRE_MCP_CONFIG_SAVE_RESPONSE_FIELDS, WIRE_MCP_CONNECTOR_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_FIELDS, WIRE_MODEL_SUGGESTIONS_FIELDS, WIRE_PATCH_SESSION_FIELDS, WIRE_PATCH_SESSION_RESPONSE_FIELDS, WIRE_PERMISSION_RULE_FIELDS, WIRE_PERMISSION_SET_REQUEST_FIELDS, WIRE_PERMISSION_SET_RESPONSE_FIELDS, WIRE_PERMISSION_SHADOW_FIELDS, WIRE_PERMISSION_STATE_FIELDS, WIRE_PERMISSION_STATUS_FIELDS, WIRE_PLAN_ACTIONS, WIRE_PLAN_FIELDS, WIRE_PLAN_MODE_REQUEST_FIELDS, WIRE_PLAN_MODE_RESPONSE_FIELDS, WIRE_PLAN_MODE_STATE_FIELDS, WIRE_PLUGINS_FIELDS, WIRE_PLUGIN_ACTION_FIELDS, WIRE_PLUGIN_ARCHIVE_SUFFIXES, WIRE_PLUGIN_INSTALL_FIELDS, WIRE_PLUGIN_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_MARKETPLACE_FIELDS, WIRE_PLUGIN_MARKETPLACE_RESPONSE_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_REFRESH_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_UPLOAD_CONFIRM_FIELDS, WIRE_PLUGIN_UPLOAD_FIELDS, WIRE_PLUGIN_UPLOAD_FORM_FIELDS, WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_UPLOAD_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDERS_FIELDS, WIRE_PROVIDER_KEY_FIELDS, WIRE_PROVIDER_MODELS_FIELDS, WIRE_PROVIDER_OPTION_FIELDS, WIRE_QUESTION_LIST_FIELDS, WIRE_QUESTION_ROW_FIELDS, WIRE_RESPOND_APPROVAL_FIELDS, WIRE_RESPOND_APPROVAL_RESPONSE_FIELDS, WIRE_RESPOND_QUESTION_FIELDS, WIRE_RESPOND_QUESTION_RESPONSE_FIELDS, WIRE_REWIND_FILE_PLAN_FIELDS, WIRE_REWIND_OUTCOME_FIELDS, WIRE_REWIND_PREVIEW_FIELDS, WIRE_REWIND_REQUEST_FIELDS, WIRE_REWIND_RESPONSE_FIELDS, WIRE_REWIND_SCOPES, WIRE_ROLES_FIELDS, WIRE_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_FIELDS, WIRE_ROLE_REMOVE_FIELDS, WIRE_RUNNING_SCHEDULE_FIELDS, WIRE_SANDBOX_STATUS_FIELDS, WIRE_SCHEDULE_CAPABILITY_FIELDS, WIRE_SCHEDULE_CREATE_FIELDS, WIRE_SCHEDULE_DEFAULTS_FIELDS, WIRE_SCHEDULE_DELETE_FIELDS, WIRE_SCHEDULE_FIELDS, WIRE_SCHEDULE_FIX_FIELDS, WIRE_SCHEDULE_FIX_REQUEST_FIELDS, WIRE_SCHEDULE_ISSUE_CODES, WIRE_SCHEDULE_LIST_FIELDS, WIRE_SCHEDULE_PENDING_FIELDS, WIRE_SCHEDULE_RECORDING_FIELDS, WIRE_SCHEDULE_ROW_FIELDS, WIRE_SCHEDULE_RUNNING_FIELDS, WIRE_SCHEDULE_RUNS_FIELDS, WIRE_SCHEDULE_RUN_FIELDS, WIRE_SCHEDULE_SAVE_FIELDS, WIRE_SECURITY_FIELDS, WIRE_SECURITY_WORKSPACE_FIELDS, WIRE_SEND_MESSAGE_FIELDS, WIRE_SEND_MESSAGE_RESPONSE_FIELDS, WIRE_SESSION_CANDIDATES_FIELDS, WIRE_SESSION_CANDIDATE_FIELDS, WIRE_SESSION_FINISH_FIELDS, WIRE_SESSION_LIST_FIELDS, WIRE_SESSION_REFERENCE_FIELDS, WIRE_SESSION_RESPONSE_FIELDS, WIRE_SESSION_SUMMARY_FIELDS, WIRE_SESSION_WORKSPACE_FIELDS, WIRE_SESSION_WORKSPACE_RESPONSE_FIELDS, WIRE_SETTINGS_FIELDS, WIRE_SETTINGS_WRITE_FIELDS, WIRE_SETTINGS_WRITE_REQUEST_FIELDS, WIRE_SETTING_PENDING_FIELDS, WIRE_SETTING_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_DROP_SUFFIXES, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_SKILL_STAGE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, type WireAbortResponse, type WireAbout, type WireAgentEnvelope, type WireAgentEvent, type WireAgentRoleSummary, type WireAppearanceRequest, type WireAppearanceResponse, type WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, type WireAttachmentUploadResponse, type WireAuditCode, type WireAuditLog, type WireAuditOutcome, type WireAuditRow, type WireAuthDenyReason, type WireAuthDenyStatus, type WireAuthGuard, type WireAuthRequestView, type WireAuthVerdict, type WireBackgroundTask, type WireBindWorkspaceRequest, type WireBlockedGoal, type WireBlockedGoalsResponse, type WireBlockedLevel, type WireBuiltinConnector, type WireCachedApproval, type WireCachedDecision, type WireCapabilitiesResponse, type WireCapabilityProject, type WireCheckpointListResponse, type WireCheckpointSummary, type WireCommandExpansion, type WireCommandsResponse, type WireCompactRequest, type WireCompactResponse, type WireCompressionLine, type WireConfigResponse, type WireContextResponse, type WireCreateSessionRequest, type WireCreateSessionResponse, type WireCreateWorkspaceRequest, type WireCreateWorkspaceResponse, type WireCustomCommand, type WireDeleteSessionResponse, type WireDiffFile, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEnvelope, type WireErrorResponse, type WireEvent, type WireFields, type WireFileCandidate, type WireFileCandidatesResponse, type WireFileChange, type WireFileKind, type WireFileOpenRefusal, type WireFileOpenResponse, type WireFileReference, type WireFileRefusal, type WireFileStat, type WireFileStatOk, type WireFileStatRefused, type WireFileStatResponse, type WireFileTextResponse, type WireFixture, type WireFixtureCase, type WireForgetWorkspaceRequest, type WireForgetWorkspaceResponse, type WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, type WireKnownWorkspaceRef, type WireLastSessionRequest, type WireLastSessionResponse, type WireManagedLock, type WireMcpAddRequest, type WireMcpAddResponse, type WireMcpApplyAction, type WireMcpApplyEntry, type WireMcpApplyResponse, type WireMcpConfigApplyRequest, type WireMcpConfigIssue, type WireMcpConfigResponse, type WireMcpConfigSaveRequest, type WireMcpConfigSaveResponse, type WireMcpConnector, type WireMcpReconnectResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelProbeStatus, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, type WireModelSource, type WireModelSuggestions, type WirePatchSessionRequest, type WirePatchSessionResponse, type WirePermissionRememberFailure, type WirePermissionRuleRow, type WirePermissionSetRequest, type WirePermissionSetResponse, type WirePermissionShadow, type WirePermissionState, type WirePermissionStatus, type WirePickDirectoryResponse, type WirePlanAction, type WirePlanModeRequest, type WirePlanModeResponse, type WirePlanModeState, type WirePlanResponse, type WirePluginActionResponse, type WirePluginCategory, type WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginMenuItem, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginPreviewStreamLine, type WirePluginProgressStep, type WirePluginRefreshResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginStatus, type WirePluginUpdateRequest, type WirePluginUploadChoice, type WirePluginUploadConfirmRequest, type WirePluginUploadField, type WirePluginUploadFieldName, type WirePluginUploadFields, type WirePluginUploadFile, type WirePluginUploadForm, type WirePluginUploadPlan, type WirePluginUploadPreviewResponse, type WirePluginUploadRequest, type WirePluginUploadResponse, type WirePluginVersionUnmet, type WirePluginVisibility, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderKeyRequest, type WireProviderKeyResponse, type WireProviderModelsRequest, type WireProviderModelsResponse, type WireProviderOption, type WireProviderSummary, type WireProvidersResponse, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRewindAction, type WireRewindDrift, type WireRewindFilePlan, type WireRewindOutcome, type WireRewindPreview, type WireRewindRequest, type WireRewindResponse, type WireRewindScope, type WireRoleAddRequest, type WireRoleAddResponse, type WireRoleRemoveFailure, type WireRoleRemoveResponse, type WireRolesResponse, type WireRunningSchedule, type WireSandboxReason, type WireSandboxStatus, type WireScheduleCapability, type WireScheduleCreateRequest, type WireScheduleDefaults, type WireScheduleDeleteResponse, type WireScheduleFixRequest, type WireScheduleFixResponse, type WireScheduleIssue, type WireScheduleIssueCode, type WireScheduleListResponse, type WireSchedulePendingResponse, type WireScheduleRecordingResponse, type WireScheduleRegisterRefusal, type WireScheduleRegisterWarning, type WireScheduleRegistration, type WireScheduleResponse, type WireScheduleRow, type WireScheduleRunResponse, type WireScheduleRunningResponse, type WireScheduleRunsResponse, type WireScheduleSaveResponse, type WireScheduleUpdateRequest, type WireSecurityResponse, type WireSecurityWorkspace, type WireSendMessageRequest, type WireSendMessageResponse, type WireSessionCandidate, type WireSessionCandidatesResponse, type WireSessionFinish, type WireSessionListResponse, type WireSessionReference, type WireSessionResponse, type WireSessionSummary, type WireSessionWorkspace, type WireSessionWorkspaceResponse, type WireSettingApply, type WireSettingFutile, type WireSettingLayer, type WireSettingPending, type WireSettingRow, type WireSettingStep, type WireSettingValue, type WireSettingValueKind, type WireSettingWrite, type WireSettingWriteLayer, type WireSettingsResponse, type WireSettingsWriteRequest, type WireSettingsWriteResponse, type WireSkillBodyResponse, type WireSkillImportConflict, type WireSkillImportEntry, type WireSkillImportFailure, type WireSkillImportForm, type WireSkillImportIssue, type WireSkillImportPreviewResponse, type WireSkillImportResponse, type WireSkillRemoveFailure, type WireSkillRemoveResponse, type WireSkillStageFailure, type WireSkillStageResponse, type WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrustRequestRequest, type WireTrustRequestResponse, type WireTurnState, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, apiKeyEnvVar, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, flattenCatalog, formatMoney, getProviderInfo, hasFailure, imagePartOmittedSummary, isAppearanceLang, isAppearanceTheme, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, joinUploadMulti, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, splitUploadMulti, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
16907
+ export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceLang, type AppearanceTheme, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoundKey, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextNote, type ContextSegment, type ContextSegmentKind, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, type EpochConfig, type EpochContentPart, type EpochFilePart, type EpochHook, type EpochImagePart, type EpochMessage, type EpochMessageRole, type EpochPlugin, type EpochSessionPart, type EpochSkill, type EpochTextPart, type EpochTool, type EpochToolCall, type EpochToolResult, type EpochTurnFacts, type EpochUserContent, type ExpandedCommand, FOLLOW_SYSTEM, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, type FormatMoneyOptions, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, type HeadlessEnvelope, type HeadlessEvent, type HeadlessInit, type HeadlessInputEvent, type HeadlessInputEventType, type HeadlessInputFormat, type HeadlessLifecycleEvent, type HeadlessOutputFormat, type HeadlessResult, type HeadlessResultReason, type HookContext, type HookEvent, type HookHandler, type HookManager, type HookRegistration, type HookType, type HostText, type HostUser, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, type MentionSet, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_PREVIEW_STREAM_MIME, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type PluginMenuMessage, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type RejectReason, type RejectedKey, type RuleValue, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MAX_MINUTES, SCHEDULE_INTERVAL_MIN_MINUTES, SCHEDULE_MAX_TIMES_PER_DAY, SCHEDULE_RUN_STATUSES, SEARCH_API_KEY_ENV, SEARCH_PROVIDER_TYPES, SECRET_SERVICE, SEQUENCE_CONTEXTS, SESSION_MENTION_PREFIX, SESSION_REFERENCE_ERROR_CODES, SETTINGS_PANE_IDS, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, type ScheduleAllowlist, type ScheduleBackendKind, type ScheduleCronTrigger, type ScheduleCycle, type ScheduleDefinition, type ScheduleDraft, type ScheduleDraftAllowlist, type ScheduleDraftCreate, type ScheduleDraftPermission, type ScheduleDraftUpdate, type SchedulePendingApproval, type SchedulePendingItem, type ScheduleRun, type ScheduleRunStatus, type ScheduleRunnerSpec, type ScheduleTrigger, type ScheduleTriggerKind, type ScheduleWeekday, type ScheduleWideningKind, type SearchProviderType, type SecretBackendId, type SecretStore, type SelectionContext, type SelectionRejection, type SelectionWarning, type SessionAttachKind, type SessionAttachResult, type SessionOmitReason, type SessionSurfaceMessage, type SessionSurfaceView, type SetSelectionResult, type SettingsPaneId, type SettingsPaneItem, type ShellKind, type SidebarMenuItem, type SidebarMenuMessage, type SidebarNavItem, type SpanLike, type SubToolCall, type SubToolCallResult, type Telemetry, type TokenUsage, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrustExecGrant, type TrustGrant, type TrustLevel, type TrustManager, type TrustRecord, type TrustScope, type TrustTier, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_FIELDS, WIRE_APPEARANCE_RESPONSE_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_FIELDS, WIRE_ATTACHMENT_UPLOAD_FIELDS, WIRE_AUDIT_LOG_FIELDS, WIRE_AUDIT_ROW_FIELDS, WIRE_AUTH_COOKIE, WIRE_AUTH_COOKIE_ATTRS, WIRE_AUTH_TOKEN_PARAM, WIRE_BACKGROUND_TASK_FIELDS, WIRE_BLOCKED_GOALS_FIELDS, WIRE_BLOCKED_GOAL_FIELDS, WIRE_BLOCKED_LEVEL_FIELDS, WIRE_BUILTIN_CONNECTOR_FIELDS, WIRE_CACHED_APPROVAL_FIELDS, WIRE_CAPABILITIES_FIELDS, WIRE_CAPABILITY_PROJECT_FIELDS, WIRE_CHECKPOINT_LIST_FIELDS, WIRE_CHECKPOINT_SUMMARY_FIELDS, WIRE_COMMANDS_FIELDS, WIRE_COMMAND_EXPANSION_FIELDS, WIRE_COMPACT_FIELDS, WIRE_COMPRESSION_LINE_FIELDS, WIRE_CONFIG_FIELDS, WIRE_CONTEXT_FIELDS, WIRE_CREATE_SESSION_FIELDS, WIRE_CREATE_WORKSPACE_FIELDS, WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS, WIRE_CUSTOM_COMMAND_FIELDS, WIRE_DELETE_SESSION_FIELDS, WIRE_DIFF_FILE_FIELDS, WIRE_ERROR_FIELDS, WIRE_FILE_CANDIDATES_FIELDS, WIRE_FILE_CANDIDATE_FIELDS, WIRE_FILE_CHANGE_FIELDS, WIRE_FILE_OPEN_RESPONSE_FIELDS, WIRE_FILE_REFERENCE_FIELDS, WIRE_FILE_STAT_MAX, WIRE_FILE_STAT_OK_FIELDS, WIRE_FILE_STAT_REFUSED_FIELDS, WIRE_FILE_STAT_RESPONSE_FIELDS, WIRE_FILE_TEXT_RESPONSE_FIELDS, WIRE_FORGET_WORKSPACE_FIELDS, WIRE_FORGET_WORKSPACE_RESPONSE_FIELDS, WIRE_GOAL_ACTIONS, WIRE_GOAL_BLOCK_FIELDS, WIRE_GOAL_CLEAR_FIELDS, WIRE_GOAL_CREATE_FIELDS, WIRE_GOAL_FIELDS, WIRE_GOAL_LIMITS_FIELDS, WIRE_GOAL_PHASES, WIRE_GOAL_REFUSALS, WIRE_GOAL_RESPONSE_FIELDS, WIRE_GOAL_WRITE_FIELDS, WIRE_HEALTH_FIELDS, WIRE_IMAGE_REFERENCE_FIELDS, WIRE_KNOWN_WORKSPACE_FIELDS, WIRE_LANG_PARAM, WIRE_LAST_SESSION_FIELDS, WIRE_LAST_SESSION_RESPONSE_FIELDS, WIRE_MANAGED_LOCK_FIELDS, WIRE_MCP_ADD_FIELDS, WIRE_MCP_ADD_RESPONSE_FIELDS, WIRE_MCP_APPLY_ENTRY_FIELDS, WIRE_MCP_APPLY_RESPONSE_FIELDS, WIRE_MCP_CONFIG_APPLY_FIELDS, WIRE_MCP_CONFIG_FIELDS, WIRE_MCP_CONFIG_ISSUE_FIELDS, WIRE_MCP_CONFIG_SAVE_FIELDS, WIRE_MCP_CONFIG_SAVE_RESPONSE_FIELDS, WIRE_MCP_CONNECTOR_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_FIELDS, WIRE_MODEL_SUGGESTIONS_FIELDS, WIRE_PATCH_SESSION_FIELDS, WIRE_PATCH_SESSION_RESPONSE_FIELDS, WIRE_PERMISSION_RULE_FIELDS, WIRE_PERMISSION_SET_REQUEST_FIELDS, WIRE_PERMISSION_SET_RESPONSE_FIELDS, WIRE_PERMISSION_SHADOW_FIELDS, WIRE_PERMISSION_STATE_FIELDS, WIRE_PERMISSION_STATUS_FIELDS, WIRE_PLAN_ACTIONS, WIRE_PLAN_FIELDS, WIRE_PLAN_MODE_REQUEST_FIELDS, WIRE_PLAN_MODE_RESPONSE_FIELDS, WIRE_PLAN_MODE_STATE_FIELDS, WIRE_PLUGINS_FIELDS, WIRE_PLUGIN_ACTION_FIELDS, WIRE_PLUGIN_ARCHIVE_SUFFIXES, WIRE_PLUGIN_INSTALL_FIELDS, WIRE_PLUGIN_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_MARKETPLACE_FIELDS, WIRE_PLUGIN_MARKETPLACE_RESPONSE_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_REFRESH_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_UPLOAD_CONFIRM_FIELDS, WIRE_PLUGIN_UPLOAD_FIELDS, WIRE_PLUGIN_UPLOAD_FORM_FIELDS, WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_UPLOAD_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDERS_FIELDS, WIRE_PROVIDER_KEY_FIELDS, WIRE_PROVIDER_MODELS_FIELDS, WIRE_PROVIDER_OPTION_FIELDS, WIRE_QUESTION_LIST_FIELDS, WIRE_QUESTION_ROW_FIELDS, WIRE_RESPOND_APPROVAL_FIELDS, WIRE_RESPOND_APPROVAL_RESPONSE_FIELDS, WIRE_RESPOND_QUESTION_FIELDS, WIRE_RESPOND_QUESTION_RESPONSE_FIELDS, WIRE_REWIND_FILE_PLAN_FIELDS, WIRE_REWIND_OUTCOME_FIELDS, WIRE_REWIND_PREVIEW_FIELDS, WIRE_REWIND_REQUEST_FIELDS, WIRE_REWIND_RESPONSE_FIELDS, WIRE_REWIND_SCOPES, WIRE_ROLES_FIELDS, WIRE_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_FIELDS, WIRE_ROLE_REMOVE_FIELDS, WIRE_RUNNING_SCHEDULE_FIELDS, WIRE_SANDBOX_STATUS_FIELDS, WIRE_SCHEDULE_CAPABILITY_FIELDS, WIRE_SCHEDULE_CREATE_FIELDS, WIRE_SCHEDULE_DEFAULTS_FIELDS, WIRE_SCHEDULE_DELETE_FIELDS, WIRE_SCHEDULE_FIELDS, WIRE_SCHEDULE_FIX_FIELDS, WIRE_SCHEDULE_FIX_REQUEST_FIELDS, WIRE_SCHEDULE_ISSUE_CODES, WIRE_SCHEDULE_LIST_FIELDS, WIRE_SCHEDULE_PENDING_FIELDS, WIRE_SCHEDULE_RECORDING_FIELDS, WIRE_SCHEDULE_ROW_FIELDS, WIRE_SCHEDULE_RUNNING_FIELDS, WIRE_SCHEDULE_RUNS_FIELDS, WIRE_SCHEDULE_RUN_FIELDS, WIRE_SCHEDULE_SAVE_FIELDS, WIRE_SECURITY_FIELDS, WIRE_SECURITY_WORKSPACE_FIELDS, WIRE_SEND_MESSAGE_FIELDS, WIRE_SEND_MESSAGE_RESPONSE_FIELDS, WIRE_SESSION_CANDIDATES_FIELDS, WIRE_SESSION_CANDIDATE_FIELDS, WIRE_SESSION_FINISH_FIELDS, WIRE_SESSION_LIST_FIELDS, WIRE_SESSION_REFERENCE_FIELDS, WIRE_SESSION_RESPONSE_FIELDS, WIRE_SESSION_SUMMARY_FIELDS, WIRE_SESSION_WORKSPACE_FIELDS, WIRE_SESSION_WORKSPACE_RESPONSE_FIELDS, WIRE_SETTINGS_FIELDS, WIRE_SETTINGS_WRITE_FIELDS, WIRE_SETTINGS_WRITE_REQUEST_FIELDS, WIRE_SETTING_PENDING_FIELDS, WIRE_SETTING_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_DROP_SUFFIXES, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_SKILL_STAGE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, type WireAbortResponse, type WireAbout, type WireAgentEnvelope, type WireAgentEvent, type WireAgentRoleSummary, type WireAppearanceRequest, type WireAppearanceResponse, type WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, type WireAttachmentUploadResponse, type WireAuditCode, type WireAuditLog, type WireAuditOutcome, type WireAuditRow, type WireAuthDenyReason, type WireAuthDenyStatus, type WireAuthGuard, type WireAuthRequestView, type WireAuthVerdict, type WireBackgroundTask, type WireBindWorkspaceRequest, type WireBlockedGoal, type WireBlockedGoalsResponse, type WireBlockedLevel, type WireBuiltinConnector, type WireCachedApproval, type WireCachedDecision, type WireCapabilitiesResponse, type WireCapabilityProject, type WireCheckpointListResponse, type WireCheckpointSummary, type WireCommandExpansion, type WireCommandsResponse, type WireCompactRequest, type WireCompactResponse, type WireCompressionLine, type WireConfigResponse, type WireContextResponse, type WireCreateSessionRequest, type WireCreateSessionResponse, type WireCreateWorkspaceRequest, type WireCreateWorkspaceResponse, type WireCustomCommand, type WireDeleteSessionResponse, type WireDiffFile, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEnvelope, type WireErrorResponse, type WireEvent, type WireFields, type WireFileCandidate, type WireFileCandidatesResponse, type WireFileChange, type WireFileKind, type WireFileOpenRefusal, type WireFileOpenResponse, type WireFileReference, type WireFileRefusal, type WireFileStat, type WireFileStatOk, type WireFileStatRefused, type WireFileStatResponse, type WireFileTextResponse, type WireFixture, type WireFixtureCase, type WireForgetWorkspaceRequest, type WireForgetWorkspaceResponse, type WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, type WireKnownWorkspaceRef, type WireLastSessionRequest, type WireLastSessionResponse, type WireManagedLock, type WireMcpAddRequest, type WireMcpAddResponse, type WireMcpApplyAction, type WireMcpApplyEntry, type WireMcpApplyResponse, type WireMcpConfigApplyRequest, type WireMcpConfigIssue, type WireMcpConfigResponse, type WireMcpConfigSaveRequest, type WireMcpConfigSaveResponse, type WireMcpConnector, type WireMcpReconnectResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelProbeStatus, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, type WireModelSource, type WireModelSuggestions, type WirePatchSessionRequest, type WirePatchSessionResponse, type WirePermissionRememberFailure, type WirePermissionRuleRow, type WirePermissionSetRequest, type WirePermissionSetResponse, type WirePermissionShadow, type WirePermissionState, type WirePermissionStatus, type WirePickDirectoryResponse, type WirePlanAction, type WirePlanModeRequest, type WirePlanModeResponse, type WirePlanModeState, type WirePlanResponse, type WirePluginActionResponse, type WirePluginCategory, type WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginMenuItem, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginPreviewStreamLine, type WirePluginProgressStep, type WirePluginRefreshResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginStatus, type WirePluginUpdateRequest, type WirePluginUploadChoice, type WirePluginUploadConfirmRequest, type WirePluginUploadField, type WirePluginUploadFieldName, type WirePluginUploadFields, type WirePluginUploadFile, type WirePluginUploadForm, type WirePluginUploadPlan, type WirePluginUploadPreviewResponse, type WirePluginUploadRequest, type WirePluginUploadResponse, type WirePluginVersionUnmet, type WirePluginVisibility, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderKeyRequest, type WireProviderKeyResponse, type WireProviderModelsRequest, type WireProviderModelsResponse, type WireProviderOption, type WireProviderSummary, type WireProvidersResponse, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRewindAction, type WireRewindDrift, type WireRewindFilePlan, type WireRewindOutcome, type WireRewindPreview, type WireRewindRequest, type WireRewindResponse, type WireRewindScope, type WireRoleAddRequest, type WireRoleAddResponse, type WireRoleRemoveFailure, type WireRoleRemoveResponse, type WireRolesResponse, type WireRunningSchedule, type WireSandboxReason, type WireSandboxStatus, type WireScheduleCapability, type WireScheduleCreateRequest, type WireScheduleDefaults, type WireScheduleDeleteResponse, type WireScheduleFixRequest, type WireScheduleFixResponse, type WireScheduleIssue, type WireScheduleIssueCode, type WireScheduleListResponse, type WireSchedulePendingResponse, type WireScheduleRecordingResponse, type WireScheduleRegisterRefusal, type WireScheduleRegisterWarning, type WireScheduleRegistration, type WireScheduleResponse, type WireScheduleRow, type WireScheduleRunResponse, type WireScheduleRunningResponse, type WireScheduleRunsResponse, type WireScheduleSaveResponse, type WireScheduleUpdateRequest, type WireSecurityResponse, type WireSecurityWorkspace, type WireSendMessageRequest, type WireSendMessageResponse, type WireSessionCandidate, type WireSessionCandidatesResponse, type WireSessionFinish, type WireSessionListResponse, type WireSessionReference, type WireSessionResponse, type WireSessionSummary, type WireSessionWorkspace, type WireSessionWorkspaceResponse, type WireSettingApply, type WireSettingFutile, type WireSettingLayer, type WireSettingPending, type WireSettingRow, type WireSettingStep, type WireSettingValue, type WireSettingValueKind, type WireSettingWrite, type WireSettingWriteLayer, type WireSettingsResponse, type WireSettingsWriteRequest, type WireSettingsWriteResponse, type WireSkillBodyResponse, type WireSkillImportConflict, type WireSkillImportEntry, type WireSkillImportFailure, type WireSkillImportForm, type WireSkillImportIssue, type WireSkillImportPreviewResponse, type WireSkillImportResponse, type WireSkillRemoveFailure, type WireSkillRemoveResponse, type WireSkillStageFailure, type WireSkillStageResponse, type WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrustRequestRequest, type WireTrustRequestResponse, type WireTurnState, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, apiKeyEnvVar, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, flattenCatalog, formatMoney, getProviderInfo, hasFailure, imagePartOmittedSummary, isAppearanceLang, isAppearanceTheme, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, joinUploadMulti, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, splitUploadMulti, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
package/dist/index.js CHANGED
@@ -1903,6 +1903,7 @@ var SETTINGS_PANE_IDS = [
1903
1903
  "security",
1904
1904
  "sessions",
1905
1905
  "spend",
1906
+ "storage",
1906
1907
  "tools"
1907
1908
  ];
1908
1909
  function isSettingsPaneId(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epoch-agent/protocol",
3
- "version": "0.30.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "epoch-agent 契约层:工具 / 事件 / 权限 / 插件的类型定义,零运行时依赖",
6
6
  "repository": {