@epoch-agent/protocol 5.0.0 → 6.1.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/dist/index.d.ts CHANGED
@@ -594,6 +594,20 @@ interface ToolContext {
594
594
  * 失灵**(配了 `false` 却照旧有沙箱),而那种失败用户报得出来。
595
595
  */
596
596
  sandboxTerminal?: boolean;
597
+ /**
598
+ * **宿主自己的安装目录**,绝对路径。不给 = 没有保护区。
599
+ *
600
+ * 它和 {@link sandboxTerminal} 不在一个轴上:那个是「要不要上沙箱」的开关,这一格
601
+ * 是「**上不上都不许写这里**」。宿主传 `buildRuntime({ sandboxProtectedDirs })`,
602
+ * 引擎原样落到这里,`plugin-terminal` 再交给 infra 的 `SandboxPolicy.protectedDirs`。
603
+ *
604
+ * ⚠️ 它压过权限档和提权:`auto` 档今天整个让开沙箱,有这一格时仍会套一个只含
605
+ * deny 的 profile。不要把它实现成「只对 workspace-write 生效」—— 那正好漏掉唯一
606
+ * 一个能改到安装目录的档。
607
+ *
608
+ * ⚠️ Windows 上没有后端,这一格落不了地(`detectBackend()` 恒回 `'none'`)。
609
+ */
610
+ sandboxProtectedDirs?: readonly string[];
597
611
  /**
598
612
  * **模型请求、用户批准的那一个升权目标**。引擎在 `ToolExecutor.resolveEscalation()`
599
613
  * 里校验并审批之后才填它,工具侧拿到的是一份**已经获批**的结论,不该再判一次。
@@ -2502,6 +2516,68 @@ interface EpochConfig {
2502
2516
  /** 目前唯一的消费方是上下文压缩 —— 长会话里最高频、也最不需要强模型的调用 */
2503
2517
  utility?: string;
2504
2518
  };
2519
+ /**
2520
+ * 会话标题。**缺省是开着的**(`enabled` 不给 = 开),判据见下面的 ⚠️。
2521
+ *
2522
+ * 一段新会话的标题有两条产线:
2523
+ *
2524
+ * 1. **兜底**(永远跑,毫秒级):首条用户消息截 5 词 / 40 字节 —— 所以按下
2525
+ * 发送那一刻侧栏就有字,不会出现「未命名会话」;
2526
+ * 2. **模型摘要**(后台一次,1–3 秒):拿同一句话问一次辅助模型,回来顶掉兜底。
2527
+ * 失败就留着兜底,不重试、不阻塞主回答。
2528
+ *
2529
+ * 模型那一路走的是 {@link models.utility}(和上下文压缩同一条通道),花费记在
2530
+ * `~/.epoch/budget.json` 的 `utility:session-title` 那一行。
2531
+ *
2532
+ * ## ⚠️ 三态:`enabled` 必须和 `false` 比
2533
+ *
2534
+ * ```ts
2535
+ * config.sessionTitle?.enabled !== false; // ✅ undefined = 开
2536
+ * config.sessionTitle?.enabled; // ❌ undefined 是 falsy = 没配就不起标题
2537
+ * ```
2538
+ *
2539
+ * 第二种写法的后果是**标题永远停在兜底那一档**,而症状在侧栏上只是一句「短标题」,
2540
+ * 离这个字段十万八千里。这与 `compression.enabled` 是同一个坑(那里记着同一条)。
2541
+ *
2542
+ * ## 关掉它 ≠ 没有标题
2543
+ *
2544
+ * `enabled: false` 关的只是**模型那一路**;兜底那个标题照写。要一段会话彻底没有
2545
+ * 标题,今天没有开关,也不该有 —— 侧栏那一行没字是坏掉的样子,不是一种配置。
2546
+ */
2547
+ sessionTitle?: {
2548
+ /** 缺省 = `true`。见上面那条 ⚠️ —— 判它必须跟 `false` 比 */
2549
+ enabled?: boolean;
2550
+ /**
2551
+ * 兜底标题最多几个词。**缺省 5**。
2552
+ *
2553
+ * ⚠️ 中文整句算一个词(没有空格切不开),所以中文会话调这个词数是没用的 ——
2554
+ * 要让中文兜底更短得调 {@link fallbackMaxBytes}。
2555
+ */
2556
+ fallbackMaxWords?: number;
2557
+ /**
2558
+ * 兜底标题最多几个**字节**。**缺省 40**(≈13 个汉字)。
2559
+ *
2560
+ * ⚠️ 不许大于 {@link maxTitleBytes} —— 大于的话兜底那一步写下去的字会超过
2561
+ * 最终上限,而两条线各判各的,那个矛盾只在标题特别长时才露出来。
2562
+ */
2563
+ fallbackMaxBytes?: number;
2564
+ /** 任何被接受的标题的字节上限。**缺省 80** */
2565
+ maxTitleBytes?: number;
2566
+ /** 模型标题的目标长度(非 CJK 词数)。**缺省 5**。这是目标不是上限 */
2567
+ targetWords?: number;
2568
+ /** 模型标题的目标长度(CJK 字数)。**缺省 10**。这是目标不是上限 */
2569
+ targetCjkCharacters?: number;
2570
+ /** 标题这一次请求的输出上限。**缺省 256** —— 标题是一行,这个数已经很富余 */
2571
+ maxOutputTokens?: number;
2572
+ /**
2573
+ * 等模型多久(毫秒)。**缺省 8000**。
2574
+ *
2575
+ * ⚠️ **它掐不掉已经发出去的请求**:`EpochRuntime.utility` 的 signal 只在发
2576
+ * 请求之前判一次。所以超时的真实含义是「这个答案我不要了」—— 兜底标题留着,
2577
+ * 而账本上照样会多一笔。
2578
+ */
2579
+ timeoutMs?: number;
2580
+ };
2505
2581
  /**
2506
2582
  * Windows 上 `terminal` 工具用哪个 shell。缺省 `cmd`。
2507
2583
  *
@@ -3438,6 +3514,20 @@ interface EpochConfig {
3438
3514
  /** 单个任务的录像总量上限(MB),缺省 64。先撞哪条算哪条 */
3439
3515
  maxRecordingMb?: number;
3440
3516
  };
3517
+ /**
3518
+ * 后台作业(`terminal({ background: true })` / `delegate_task({ background: true })`)。
3519
+ *
3520
+ * 只有一个开关:作业跑完之后**替用户开一轮**去读结果(引擎那条 note 走的是拉,
3521
+ * 模型起了作业就收工的话那一轮永远不会来)。缺省**开** —— 这一格就是那个功能本身。
3522
+ *
3523
+ * 判据、六条前置条件和它管不着谁,在 core 的 `BackgroundTasksSchema` 与
3524
+ * `server/src/sessions/task-wake.ts` 上。真源是 core 的 `EpochConfigSchema`,
3525
+ * 这一格只是它**解析完之后**那个形状的镜像(同 `sessions` / `automation` 一族)。
3526
+ */
3527
+ backgroundTasks?: {
3528
+ /** 作业结束时自己开一轮,缺省 `true` */
3529
+ wakeOnFinish?: boolean;
3530
+ };
3441
3531
  /**
3442
3532
  * 删一条定时任务时那句确认,宿主可以整句换掉。**缺省 = 我们那句**
3443
3533
  * (`web.ui.auto.remove_confirm`,跟着界面语言翻)。
@@ -6580,8 +6670,8 @@ type ScheduleWideningKind = 'permission' | 'allowlist' | 'enabled';
6580
6670
  * 工作区信任契约。
6581
6671
  *
6582
6672
  * 为什么需要:clone 一个仓库就等于让它的 `AGENTS.md` 进 system prompt、
6583
- * 它的 hook 配置被执行、它的 policy 覆盖本地权限判定。这是漏洞,不是缺功能。
6584
- * 信任判定把「加载项目级配置」这件事收到一次显式用户决策后面。
6673
+ * 它的 hook 配置被执行。epoch 的默认值是信任,所以这份契约真正承载的是
6674
+ * **拒绝名单**:记下用户明确拒掉的目录,其余全部按默认加载。
6585
6675
  *
6586
6676
  * 参照物是 Codex 的 `trust_directory.rs` 和 Gemini CLI 的 `trustedFolders.ts`,都只是
6587
6677
  * 读过的:契约形状跟它们都不一样(它们是三枚举 + 靠 TRUST_PARENT 取 dirname 编码作用域,
@@ -6608,13 +6698,15 @@ type TrustScope =
6608
6698
  /** 这个目录及其所有子目录 */
6609
6699
  | 'directory-tree';
6610
6700
  /**
6611
- * 一次授信授到哪一档。**两档是相加的:`exec` 蕴含 `read`。**
6701
+ * 一次性授到哪一档。**两档是相加的:`exec` 蕴含 `read`。**
6702
+ *
6703
+ * ⚠️ **默认信任之后,闸门不再拿这个字段分档**:不拒绝的目录两档一起给,
6704
+ * 被拒绝的两档一起收。字段保留是因为调用点(hook / policy 的加载条件)按档判,
6705
+ * 而且老记录里已经写着它。
6612
6706
  *
6613
- * 拆开的原因:此前 `trusted` 是一个布尔,那一个布尔后面挂着七样东西 —— 其中
6707
+ * 拆开最初的原因:此前 `trusted` 是一个布尔,那一个布尔后面挂着七样东西 —— 其中
6614
6708
  * `.epoch/hooks.json` 和 `.claude/settings.json` 的每一项都是一条要 spawn 子进程的
6615
- * 命令(判据在 [core/hook/sources.ts](../../core/src/hook/sources.ts) 的文件头)。而用户
6616
- * 被问到的那句话逐字只说了「本目录的项目指令会加载」:**「往上下文里注入一段文本」和
6617
- * 「在这台机器上执行任意命令」共用了同一次点击**,问话只描述了前者。
6709
+ * 命令(判据在 [core/hook/sources.ts](../../core/src/hook/sources.ts) 的文件头)。
6618
6710
  *
6619
6711
  * | 档 | 放开什么 | 风险 |
6620
6712
  * | --- | --------------------------------------------------------------- | ---------- |
@@ -6985,6 +7077,7 @@ declare function packSessionSurface(messages: readonly SessionSurfaceMessage[],
6985
7077
  * | [core/agent/loop.ts](../../core/src/agent/loop.ts) | `verify:stop` 要求继续时注入的那一条(方案 38) |
6986
7078
  * | [core/agent/task-notice.ts](../../core/src/agent/task-notice.ts) | 后台任务的状态通知(方案 36 PR-2) |
6987
7079
  * | [runtime/agent-session.ts](../../runtime/src/agent-session.ts) | 换专家那一刻的留痕,正文取自 catalog `agent_role.*`(方案 57 §3.5) |
7080
+ * | [server/sessions/task-wake.ts](../../server/src/sessions/task-wake.ts) | 后台作业结束时开的那一轮(`[系统] 后台任务 t85 已结束…`)。**同时带 {@link WAKE_NOTE_MARK}** |
6988
7081
  * | [web/thread/system-note.ts](../../web/src/thread/system-note.ts) | **读的那一侧**:认出留痕行,并把前缀剥掉再显示给人看 |
6989
7082
  * | [web/dev/fake-server.ts](../../web/dev/fake-server.ts) | 假服务端造的那条留痕。**不发布**,但漂了会让开发时看到的是另一个界面 |
6990
7083
  *
@@ -6999,8 +7092,8 @@ declare function packSessionSurface(messages: readonly SessionSurfaceMessage[],
6999
7092
  * 前缀就又有了三份副本,而其中两份会跟着译者走。
7000
7093
  *
7001
7094
  * ⚠️ 这个文件在 [scripts/i18n-scan.mjs](../../../scripts/i18n-scan.mjs) 的
7002
- * `SKIP_FILES` 里 —— 那个前缀**恰好是中文、又恰好绝不能翻**,而豁免口是
7003
- * **文件级**的。所以这里除了这一个标记之外**不许再放任何面向用户的文案**,
7095
+ * `SKIP_FILES` 里 —— 那两个标记**恰好是中文、又恰好绝不能翻**,而豁免口是
7096
+ * **文件级**的。所以这里除了这两个标记之外**不许再放任何面向用户的文案**,
7004
7097
  * 否则那条文案会跟着一起免检。
7005
7098
  *
7006
7099
  * 「四处发出点用的是同一个常量」这条不变量由
@@ -7038,6 +7131,37 @@ declare function systemNote(body: string): string;
7038
7131
  * 设计的**已知代价**:认它的凭据只有前缀本身,而那正是模型那一侧的处境。
7039
7132
  */
7040
7133
  declare function stripSystemNote(text: string): string | undefined;
7134
+ /**
7135
+ * 「这一条系统留痕**自己开了一轮**」—— 第二个标记,永远紧跟在
7136
+ * {@link SYSTEM_NOTE_PREFIX} 后面。
7137
+ *
7138
+ * ## 它解决什么
7139
+ *
7140
+ * 后台作业跑完之后,服务端会替用户位开一轮(`[系统] 后台任务 t85 已结束…`)。
7141
+ * 浏览器那一侧只认 `user` 行开一轮(`web/thread/rows.ts` 的 `turnStarts()`),
7142
+ * 于是这条留痕**不开轮**:汇报会挂在上一轮的尾巴上,而 `finalAnswerAt()` 取的是
7143
+ * 「这一轮最后一段有字的正文」—— 上一轮自己的答案会被折进折叠条,屏幕上最后
7144
+ * 那段变成了汇报。
7145
+ *
7146
+ * 所以留痕分成两种,靠这一个字节标记区分:
7147
+ *
7148
+ * | 有没有它 | 这一条留痕 | 浏览器怎么排 |
7149
+ * | -------- | ---------- | ------------ |
7150
+ * | 没有 | 换专家 / 换地盘 / 后台任务状态通知 / verify 注入 | `note`,**不开轮** |
7151
+ * | 有 | 自唤醒(后台作业结束时开的那一轮) | `note`,**开一轮** |
7152
+ *
7153
+ * ## 为什么它也不能翻译
7154
+ *
7155
+ * 同 {@link SYSTEM_NOTE_PREFIX}:认它的两端是**模型**和**浏览器**,两边都只认字节。
7156
+ * 它是中英文都一样的固定串,不进 catalog。
7157
+ */
7158
+ declare const WAKE_NOTE_MARK = "[\u81EA\u5524\u9192] ";
7159
+ /**
7160
+ * 这段正文是一条自唤醒的正文吗 —— 是的话回它**剥掉标记之后**的部分。
7161
+ *
7162
+ * 调用方是先 {@link stripSystemNote} 再走这里(标记在 `[系统] ` 后面)。
7163
+ */
7164
+ declare function stripWakeMark(body: string): string | undefined;
7041
7165
 
7042
7166
  /**
7043
7167
  * `TokenUsage` 的两个口径函数。
@@ -9226,8 +9350,63 @@ interface WireMessageListResponse {
9226
9350
  * 说到一半就断的对话,而分不出「模型自己停了」和「程序被关掉了」。
9227
9351
  */
9228
9352
  interruptedTurnFrom?: number;
9353
+ /**
9354
+ * 上面那批 `messages` **是被截过的**(`?tail=N` 要了最后 N 条)。
9355
+ * 缺席 = 没截,手里是全部。
9356
+ *
9357
+ * 为什么要有这一格:没有它,客户端收到的只是一段看起来完整的历史,
9358
+ * 而「开头那几条去哪了」在界面上没有任何征兆 —— 滚动到顶的人会以为
9359
+ * 之前的对话被删了。**不截就不写这个键**,不要写 `false`。
9360
+ *
9361
+ * ⚠️ 只有带 `?tail=N` 的请求可能拿到它;桌面端不带这个参数,永远看不到。
9362
+ */
9363
+ truncated?: true;
9364
+ /** 截之前一共有多少条(只在 `truncated` 在场时有意义)。 */
9365
+ total?: number;
9229
9366
  }
9230
9367
  declare const WIRE_MESSAGE_LIST_FIELDS: WireFields<WireMessageListResponse>;
9368
+ /**
9369
+ * 索引里一条用户消息的正文最多留多少个字符。
9370
+ *
9371
+ * 200 是「够画一行卡、又不至于把整段贴进去」的那一档(刻度条自己还会再截到 120,
9372
+ * 见 web 的 `RAIL_LABEL_MAX`)。这一格存在的唯一理由是**载荷有界**:
9373
+ * 一段两万条的会话,全量历史是 171 MB,而用户消息的 id + 前 200 字大约是它的
9374
+ * 千分之一 —— 那是「刻度条要画满全场」和「别把整段历史再下一遍」之间唯一
9375
+ * 说得通的形状。
9376
+ */
9377
+ declare const USER_MESSAGE_INDEX_TEXT_MAX = 200;
9378
+ /**
9379
+ * `GET /api/sessions/:id/user-messages` 的一条 —— **只有 id 和一段短正文**。
9380
+ *
9381
+ * ## 它为什么单独开一条端点,而不是让客户端从 `messages` 里挑
9382
+ *
9383
+ * 桌面端的历史是分页拿的(最后一页 + 往上翻),而右侧那条提问导航要的是**整段
9384
+ * 会话里人说过哪些话**。让刻度条跟着已加载的那一页走,它就会从「167 根」缩成
9385
+ * 「20 根」—— 而那个导航存在的理由正是「跳到很早以前的那一问」。
9386
+ *
9387
+ * 反过来「为了刻度条把整段历史都拉下来」直接把分页作废。所以这一条只带
9388
+ * `id` + 截到 {@link USER_MESSAGE_INDEX_TEXT_MAX} 的正文:**不解析 `parts`、
9389
+ * 不带 tool 行、不带账**。
9390
+ *
9391
+ * ⚠️ 它**不是** `GET .../questions` —— 那条是「挂起的提问」(等人答的那几张卡),
9392
+ * 两者毫无关系,路径也因此刻意错开。
9393
+ */
9394
+ interface WireUserMessageEntry {
9395
+ /** DB 主键,和时间线的 `data-rail` 锚对得上 */
9396
+ id: number;
9397
+ /** 这条消息落库时那一列展示正文,已截到 {@link USER_MESSAGE_INDEX_TEXT_MAX} */
9398
+ text: string;
9399
+ }
9400
+ declare const WIRE_USER_MESSAGE_ENTRY_FIELDS: WireFields<WireUserMessageEntry>;
9401
+ interface WireUserMessageIndexResponse {
9402
+ /**
9403
+ * 这段会话里**全部** `role: 'user'` 的行,按库里的顺序(旧 → 新)。
9404
+ *
9405
+ * 空数组是合法答案(新会话 / 刚落盘失败的那一段),界面那时一根刻度都不画。
9406
+ */
9407
+ entries: readonly WireUserMessageEntry[];
9408
+ }
9409
+ declare const WIRE_USER_MESSAGE_INDEX_FIELDS: WireFields<WireUserMessageIndexResponse>;
9231
9410
  /**
9232
9411
  * 发消息的请求体。
9233
9412
  *
@@ -10659,63 +10838,6 @@ type WirePickDirectoryResponse = {
10659
10838
  } | {
10660
10839
  canceled: true;
10661
10840
  };
10662
- /**
10663
- * 「请弹一个授信对话框」——**门铃,不是开关**(方案 61)。
10664
- *
10665
- * ## ⚠️ 先读这一段:信任的写入口**没有**上网线
10666
- *
10667
- * 全仓最贵的那条纪律逐字还在(方案 42 PR-3,判据在 `wire-security.ts` 文件头):
10668
- * 把信任的写入口搬到 HTTP 上,等于让浏览器决定「哪个目录里的文件能当指令读」。
10669
- *
10670
- * 这条端点**不是**那个写入口,两件事把它和写入口分开:
10671
- *
10672
- * 1. **载荷里没有 `level`,也没有 `scope`。** 浏览器表达不出「把 X 设成已信任」,
10673
- * 它只能说「我想解锁 X,去问问用户」。档位和作用域由宿主的对话框决定;
10674
- * 2. **服务端自己不落盘。** 它只调宿主注入的那个回调
10675
- * (`CreateWebServerOptions.onTrustRequest`),落盘发生在宿主主进程里的
10676
- * `runtime.trust.record()` —— 而那儿是可信代码,和 CLI 同一档。
10677
- *
10678
- * 形状照抄 `POST /api/workspaces/pick`:浏览器发起一个**它自己答不了**的请求,
10679
- * 答案来自一个人在别处按的那一下。
10680
- *
10681
- * ## 200 不代表授信了
10682
- *
10683
- * 响应里**没有** `granted` 那一格,这是刻意的:这条端点在宿主把对话框**弹出来**
10684
- * 之后(或者干脆在 resolve 时)就回 200,它不报告用户选了什么。
10685
- * 要知道结果就重新取一次 `GET /api/sessions/:id/security`(或 capabilities)——
10686
- * 那两份载荷里的 `trusted` / `execTrusted` 是唯一真源。
10687
- *
10688
- * 回一个 `granted` 的代价很具体:那个布尔和盘上的记录会各自演化(宿主的框可能
10689
- * 开着不关、用户可能在 CLI 里同时改),而两者分叉时界面会信错的那一个。
10690
- */
10691
- interface WireTrustRequestRequest {
10692
- /**
10693
- * 要解锁的目录(服务端绝对路径)。
10694
- *
10695
- * ⚠️ **服务端必须校验它**:只接受这个会话绑着的根、或者「已知工作区」清单里
10696
- * 的某一行。不校验的话,一个页面就能让宿主弹出一个「要不要信任 `/`」的框 ——
10697
- * 而对话框本身是可信的,被滥用的是「让谁出现在框里」这件事。
10698
- */
10699
- root: string;
10700
- /**
10701
- * 想解锁哪一档 —— **提示,不是命令**(缺省 `read`)。
10702
- *
10703
- * 它只影响宿主对话框的默认落点:用户从技能页点进来那一下多半只想要读类,
10704
- * 从「hook 没生效」那一处点进来才是执行类。宿主可以无视它。
10705
- */
10706
- want?: 'read' | 'exec';
10707
- }
10708
- declare const WIRE_TRUST_REQUEST_FIELDS: WireFields<WireTrustRequestRequest>;
10709
- /**
10710
- * `POST /api/workspaces/trust-request` 的响应。
10711
- *
10712
- * **只有一格,而且它只说「问出去了」。** 别在这里加 `granted` —— 判据在上面。
10713
- */
10714
- interface WireTrustRequestResponse {
10715
- /** 宿主的回调被调起来了(对话框弹没弹、用户选了什么,这一格都不知道) */
10716
- asked: true;
10717
- }
10718
- declare const WIRE_TRUST_REQUEST_RESPONSE_FIELDS: WireFields<WireTrustRequestResponse>;
10719
10841
  /**
10720
10842
  * 划掉一行**使用记录**。
10721
10843
  *
@@ -10931,9 +11053,25 @@ interface WireRevealWorkspaceRequest {
10931
11053
  *
10932
11054
  * ⚠️ **服务端必须校验它**:只接受「已知工作区」清单里的某一行,或者会话列表里
10933
11055
  * 某个 `bound` 的 `root`。不校验的话,这一条就等于「随便 POST 一个路径就在用户
10934
- * 屏幕上弹一个窗口」—— 形状和 `trust-request` 那道校验逐字同一个判据。
11056
+ * 屏幕上弹一个窗口」—— 判据是:**能让什么出现在用户面前,得是服务端自己认识
11057
+ * 的东西**。
10935
11058
  */
10936
11059
  root: string;
11060
+ /**
11061
+ * 要露出来的**那个文件**(可选)。给了就把「打开 `root`」换成
11062
+ * 「打开 `file` 所在的那一层目录」,`root` 变成它的边界。
11063
+ *
11064
+ * 存在的理由只有一条:文件卡片底部那一枚「在文件夹中显示」。用户要的是
11065
+ * 「这个文件在我电脑上的哪儿」,而打开工作区根只会让他再从根目录里自己翻一遍。
11066
+ *
11067
+ * ⚠️ 边界两道:`root` 自己必需是已知根(同上面那一条);`file` 按 `root` 解析之后
11068
+ * **必须还在 `root` 里面**,否则回 `unknown-root` —— 两边都不区分「不认识」和
11069
+ * 「越界」,判据同服务端的 `knownRoots`。
11070
+ *
11071
+ * 相对路径按 `root` 解析,绝对路径也可以用(文件卡片手上那个字符串是模型写的,
11072
+ * 两种形态都有)。
11073
+ */
11074
+ file?: string;
10937
11075
  }
10938
11076
  declare const WIRE_REVEAL_WORKSPACE_FIELDS: WireFields<WireRevealWorkspaceRequest>;
10939
11077
  /**
@@ -11917,8 +12055,8 @@ interface WireHostEventFrame {
11917
12055
  *
11918
12056
  * 分成三族:
11919
12057
  *
11920
- * 1. **用户在这张页上做了什么**(`menu-select` / `user-menu` / `link`)——
11921
- * 一次性的动作,不补发;
12058
+ * 1. **用户在这张页上做了什么**(`menu-select` / `user-menu` / `link` /
12059
+ * `file-action`)—— 一次性的动作,不补发;
11922
12060
  * 2. **服务端的状态变了**(`config-changed` / `appearance-changed` / `lang-changed` /
11923
12061
  * `plugins-changed` / `mcp-changed` / `mcp-auth-changed` / `roles-changed` /
11924
12062
  * `skills-changed` / `host-slots-changed`)—— 失效信号,宿主收到后自己拉全量;
@@ -11972,6 +12110,20 @@ type WireHostEvent =
11972
12110
  type: 'link';
11973
12111
  url: string;
11974
12112
  }
12113
+ /**
12114
+ * 文件卡片上点了宿主自己配的那一枚(`fileCardActions`)。
12115
+ *
12116
+ * 属于第一族(用户在这张页上做的一件事,**不补发**),和 `menu-select`
12117
+ * 同一个道理:宿主没连着的时候它就是丢了。
12118
+ *
12119
+ * 三格的含义在下面 {@link WireHostEventPublish} 的同名成员上。
12120
+ */
12121
+ | {
12122
+ type: 'file-action';
12123
+ actionId: string;
12124
+ sessionId: string;
12125
+ path: string;
12126
+ }
11975
12127
  /**
11976
12128
  * `POST /api/sessions/:id/settings` 写成功了一项设置。**失效信号**:宿主收到后
11977
12129
  * 自己决定要不要重取 `GET /api/sessions/:id/settings`。
@@ -12089,6 +12241,28 @@ type WireHostEventPublish = {
12089
12241
  } | {
12090
12242
  type: 'link';
12091
12243
  url: string;
12244
+ }
12245
+ /**
12246
+ * 文件卡片上点了**宿主自己配的那一枚**(`fileCardActions`)。
12247
+ *
12248
+ * ## 三格,一格都不多
12249
+ *
12250
+ * - `actionId` —— 宿主写进 `config.yaml` 的那个 `id`,它靠这个认出是哪一枚;
12251
+ * - `sessionId` —— 路径是相对**这段会话绑的工作区根**的,不给这一格宿主解析不了;
12252
+ * - `path` —— 模型在 ```files 围栏里写的那个字符串,**原样**。不拼、不归一、
12253
+ * 不换成绝对路径:换成绝对路径就等于在这一层替宿主猜了一次根,而猜错的那个
12254
+ * 文件会被它的编辑器打开。
12255
+ *
12256
+ * ## 为什么 `default: true` 也走这一条
12257
+ *
12258
+ * 配了 `default` 的那一枚换掉的是「点卡片本身」那一下,而它要交出去的是同一件事
12259
+ * —— 否则宿主得记两条规则(按钮走事件、卡片本身走另一条),而两条一漂就分叉。
12260
+ */
12261
+ | {
12262
+ type: 'file-action';
12263
+ actionId: string;
12264
+ sessionId: string;
12265
+ path: string;
12092
12266
  };
12093
12267
  /**
12094
12268
  * `POST /api/host/events` 的回执。
@@ -12186,6 +12360,14 @@ interface WireHostCommandResponse {
12186
12360
  }
12187
12361
  /** `menu-select.id` 的长度上限(字符)。和 `SidebarMenuItem.id` 的现实长度留足余量 */
12188
12362
  declare const MAX_HOST_EVENT_ID = 256;
12363
+ /**
12364
+ * `file-action.path` 的长度上限(字符)。
12365
+ *
12366
+ * 一条路径的现实长度远小于它(macOS 单段名字上限 255、一个路径通常不到 300);
12367
+ * 留到 4096 是因为**这一格不该成为第二个限制**:模型印出来的路径该不该读不了由
12368
+ * `file-stat` 的边界判,不在这里卡。这一格是挡「一整段任意文本」的兜底。
12369
+ */
12370
+ declare const MAX_HOST_FILE_PATH = 4096;
12189
12371
  /**
12190
12372
  * `POST /api/host/commands {command:'open-session'}` 里 `sessionId` 的长度上限。
12191
12373
  *
@@ -12459,11 +12641,17 @@ type WireHubEvent =
12459
12641
  /**
12460
12642
  * **某一行上的标题变了**。
12461
12643
  *
12462
- * 标题在**按下发送那一刻就落库了**(`core` 的 `session/manager.ts` 拿首条 user
12463
- * 消息截前 50 字,`!meta.title` 保证一辈子只写一次),而事件流上从来没有这一帧
12464
- * —— 侧栏那一行和顶栏那个 `h1` 只能靠重取列表才知道它已经不是「未命名会话」。
12644
+ * 标题在**按下发送那一刻就落库了**(`core` 的 `session/session-title.ts` 拿首条
12645
+ * user 消息截 5 词 / 40 字节,`!meta.title` 保证兜底那一档一辈子只写一次),
12646
+ * 而事件流上本来没有这一帧 —— 侧栏那一行和顶栏那个 `h1` 只能靠重取列表才知道
12647
+ * 它已经不是「未命名会话」。
12465
12648
  * `refresh.ts` 那四个重取时刻没有一个覆盖「一轮跑着跑着标题长出来了」。
12466
12649
  *
12650
+ * 三个产地:落盘节拍上的兜底截断、`PATCH` 的手动改名、以及 **runtime 那一发
12651
+ * 晚到的模型标题**(`sessionTitles.onTitleChange`)。第三条是必需的 ——
12652
+ * 标题在界面上默认只有「瞬间出现」这一次机会,而模型那一发回来时,落盘节拍
12653
+ * **已经没东西可读了**(`SessionEntry.announcedTitle` 记着「宣布过」)。
12654
+ *
12467
12655
  * ## 为什么这一帧**带载荷**(`sessions-changed` 那族不带)
12468
12656
  *
12469
12657
  * 那几帧是纯失效信号,宾语是「一整张表」,客户端自己答不出来;这一帧的宾语是
@@ -13410,8 +13598,6 @@ interface WireCapabilityProject {
13410
13598
  execTrusted: boolean;
13411
13599
  /** 这个目录里有什么被挡着。**未信任时也是满的**,那正是它的用处 */
13412
13600
  inventory: WireProjectInventory;
13413
- /** 宿主接了「请求授信」那条回调吗 —— 判据同 `WireSecurityWorkspace.trustRequest` */
13414
- trustRequest: boolean;
13415
13601
  }
13416
13602
  declare const WIRE_CAPABILITY_PROJECT_FIELDS: WireFields<WireCapabilityProject>;
13417
13603
  interface WireCapabilitiesResponse {
@@ -13555,12 +13741,18 @@ declare const WIRE_MCP_RECONNECT_FIELDS: WireFields<WireMcpReconnectResponse>;
13555
13741
  * 每一个 epoch 进程」),判据在 `web/src/capability/mcp-add.tsx` 文件头。
13556
13742
  * 两道各答一半,别拿一条当另一条用 —— 界面那一格是客户端自己改得动的布尔。
13557
13743
  *
13558
- * ## 字段刻意比 `mcp.json` 窄
13744
+ * ## 字段收的是表单拥有的那几格,外加仓库包里写着的那三格
13559
13745
  *
13560
13746
  * `mcp.json` 上一台 server 有十几格(`keepaliveInterval` / `idleTimeoutSeconds` /
13561
- * `skipPreflight` / `oauth` …),这里只收三样:**传输类型、命令或 URL、环境变量**。
13562
- * 那几格的正确改法是**去编辑那个文件** —— 这条路解决的是「第一台加不进来」,
13563
- * 不是「取代手写」。
13747
+ * `skipPreflight` …)。表单画得出的那些(名字 / 传输类型 / 命令或 URL / `env` /
13748
+ * `headers`)走这一条;剩下的正确改法仍是**去编辑那个文件** —— 这条路解决的是
13749
+ * 「第一台加不进来」,不是「取代手写」。
13750
+ *
13751
+ * ⚠️ **例外是 `connectTimeout` / `timeout` / `oauth`**:盘古仓库的 `config_template`
13752
+ * 逐条写着它们(22 台要 120–180 秒,而插件默认只等 60)。不接这三格的表现是
13753
+ * 「装完一直转、最后一分钟报失败」—— 配置其实早就落盘了,是那台 server 永远等
13754
+ * 不到握手。它们**不进编辑弹窗**:`GET /api/mcp/:name/config` 不投影这三格,
13755
+ * 于是「改一台」的请求体里也没有它们,文件里原有的值原样保住。
13564
13756
  *
13565
13757
  * ## `enabled` **不在这里**
13566
13758
  *
@@ -13611,6 +13803,31 @@ interface WireMcpAddRequest {
13611
13803
  * 2026-11-09 加:`mcp.json` 的读口一直收 `headers`,只是这条写路之前没收。
13612
13804
  */
13613
13805
  headers?: Readonly<Record<string, string>>;
13806
+ /**
13807
+ * 握手预算(秒)。不写就是插件那一层的默认值(60)。
13808
+ *
13809
+ * ⚠️ 这一格存在的理由是**冷启动比默认值慢得多**:`npx -y …` 要先把包拉下来、
13810
+ * Python 依赖要起解释器。写小了不是「多等一会儿」而是每次启动都判这台挂了。
13811
+ */
13812
+ connectTimeout?: number;
13813
+ /** 单次请求的预算(秒),对应 `mcp.json` 的 `timeout` */
13814
+ timeout?: number;
13815
+ /** OAuth 设置,对应 `mcp.json` 的 `oauth` */
13816
+ oauth?: WireMcpOAuth;
13817
+ }
13818
+ /**
13819
+ * `mcp.json` 里那格 `oauth` 在网线上的形状。
13820
+ *
13821
+ * ⚠️ 三格全可选,而**缺席和 `{ enabled: true }` 不是同一件事**:远程 server 默认
13822
+ * 就挂着 OAuth provider,`enabled: false` 才是关掉。所以空对象与缺席等价,这里
13823
+ * 不物化任何默认值。
13824
+ */
13825
+ interface WireMcpOAuth {
13826
+ enabled?: boolean;
13827
+ /** 申请的 scope(空格分隔)。不给就用授权服务器的默认值 */
13828
+ scope?: string;
13829
+ /** 固定回调端口,给要求预先登记 redirect_uri 的授权服务器用 */
13830
+ callbackPort?: number;
13614
13831
  }
13615
13832
  declare const WIRE_MCP_ADD_FIELDS: WireFields<WireMcpAddRequest>;
13616
13833
  /**
@@ -15460,7 +15677,8 @@ type WireSandboxReason = 'os-isolated' | 'backend-unavailable' | 'backend-missin
15460
15677
  interface WireSandboxStatus {
15461
15678
  /** `os` = 真被 OS 关起来了;`process` = 只有进程隔离(能读写整盘、能联网) */
15462
15679
  level: 'os' | 'process';
15463
- backend: 'seatbelt' | 'bubblewrap' | 'none';
15680
+ /** `windows-acl` = Windows 的受限令牌 + 完整性标签那套(只包住写与删,PTY 那条路不在内)*/
15681
+ backend: 'seatbelt' | 'bubblewrap' | 'none' | 'windows-acl';
15464
15682
  reason: WireSandboxReason;
15465
15683
  /** `os.platform()` 的原值(`darwin` / `linux` / `win32` …)。界面原样显示 */
15466
15684
  platform: string;
@@ -15702,19 +15920,6 @@ interface WireSecurityWorkspace extends WireSessionWorkspace {
15702
15920
  * 说不出有多少。
15703
15921
  */
15704
15922
  inventory: WireProjectInventory;
15705
- /**
15706
- * 这个服务背后的宿主接了「请求授信」那条回调吗(方案 61 的门铃)。
15707
- *
15708
- * 为真时界面画一枚按钮(点它 = 请宿主弹自己的对话框),为假时画今天那块
15709
- * 「复制 `epoch trust add`」。**不画灰按钮**(决定 20 ①:画一个点了没反应的
15710
- * 菜单项,比不画更糟)。
15711
- *
15712
- * ⚠️ **它是进程级的事实,却在两份载荷上各出现一次**(这里和
15713
- * `WireCapabilityProject.trustRequest`)。不抽成第三个端点是因为那要让这两屏
15714
- * 各多打一发 GET,而「一次取齐」是这两份载荷共同的形状。两处**同源**——
15715
- * server 从同一个 `CreateWebServerOptions.onTrustRequest` 是否存在算出来。
15716
- */
15717
- trustRequest: boolean;
15718
15923
  }
15719
15924
  declare const WIRE_SECURITY_WORKSPACE_FIELDS: WireFields<WireSecurityWorkspace>;
15720
15925
  /**
@@ -18217,6 +18422,57 @@ type SettingsPaneId = (typeof SETTINGS_PANE_IDS)[number];
18217
18422
  */
18218
18423
  declare function isSettingsPaneId(value: string): value is SettingsPaneId;
18219
18424
 
18425
+ /**
18426
+ * 文件卡片上**宿主自己那一排按钮**(`fileCardActions`)。
18427
+ *
18428
+ * ## 为什么这一族进宿主那一块配置
18429
+ *
18430
+ * 「这个文件在我的应用里该怎么打开」只有宿主答得出来:在它自己的编辑器里预览、
18431
+ * 丢进它的上传队列、拿去跑它的某个流程。epoch 这一侧能给的只有两件事 ——
18432
+ * **把路径交出去**、**认不认得这次点击**。所以这里只写「按钮长什么样、什么时候
18433
+ * 出现、点了回哪个码」,动作本身在宿主那一边。
18434
+ *
18435
+ * ## `id` 是唯一回给宿主的东西
18436
+ *
18437
+ * 点下去发的是 `file-action` 宿主事件,载荷 `{ actionId, sessionId, path }` ——
18438
+ * 标签、图标都不发:那两样是宿主自己配的,它手上已经有;多带一份就是多一份会漂
18439
+ * 的副本(判据逐字同 `menu-select` 的 `id`)。
18440
+ *
18441
+ * ## `extensions` 不带点、小写
18442
+ *
18443
+ * 卡片按**文件名的最后一段**匹配(`报表.XLSX` → `xlsx`),写 `['.xlsx']` 或
18444
+ * `['XLSX']` 一条都命中不了。这条不校验也不纠正:配置里那串东西最终要和宿主
18445
+ * 自己那套匹配逻辑对得上,我们擅自归一化只会让它两边不一致。
18446
+ *
18447
+ * ## `default: true` 换掉的是「点卡片本身」那一下
18448
+ *
18449
+ * 缺省那一下是**用系统默认应用打开**(服务端 `openable` 为假时退回站内看一眼 /
18450
+ * 下载)。配了 `default` 的那一条命中时,改发一条 `file-action` —— 整张卡交给
18451
+ * 宿主处理。同一个扩展名上命中两条 `default` 时**先配的那条赢**(顺序就是宿主
18452
+ * 写在配置里的顺序),我们不排序、不去重。
18453
+ */
18454
+ interface FileCardAction {
18455
+ /** 宿主自己认的那个码(`file-action` 的 `actionId`)。同一份配置里应当唯一 */
18456
+ id: string;
18457
+ /** 按钮上那句话(`title` / 读屏念的那一句)。宿主写死,不做本地化 */
18458
+ label: string;
18459
+ /**
18460
+ * 图标名。**收 `string` 而不是联合类型**,判据逐字同 `SidebarMenuItem.icon`:
18461
+ * 为一枚图标让宿主整份配置退默认值完全不成比例。认不出来的落兜底那一枚
18462
+ * (web 的 `hostIcon`,词表就是宿主菜单那张 `HOST_ICONS`)。
18463
+ */
18464
+ icon?: string;
18465
+ /**
18466
+ * 只在这些扩展名上出现(`['xlsx', 'xls']`,不带点、小写)。**缺省 = 所有文件**。
18467
+ */
18468
+ extensions?: readonly string[];
18469
+ /**
18470
+ * 配成 `true` 就把「点卡片本身」那一下交给宿主,而不是本机的默认应用。
18471
+ * 缺省 / `false` 只是卡片底部多一个按钮。
18472
+ */
18473
+ default?: boolean;
18474
+ }
18475
+
18220
18476
  /**
18221
18477
  * 宿主自己那一块配置的**网线形状** —— `GET` / `PUT /api/host/slots`。
18222
18478
  *
@@ -18291,6 +18547,16 @@ interface WireHostSlots {
18291
18547
  settingsHidden?: readonly string[];
18292
18548
  /** 侧栏「插件」那一整块换成宿主那一页 */
18293
18549
  capabilityPane?: CapabilityPane;
18550
+ /**
18551
+ * 文件卡片上**宿主自己那一排按钮**(判据全在
18552
+ * [file-card-action.ts](./file-card-action.ts) 文件头)。
18553
+ *
18554
+ * 缺省 = 卡片底部只有我们自己那一枚「在文件夹中显示」。这一族是**加**的,
18555
+ * 不是换的 —— 宿主能把「点卡片本身」那一下接过去(`default: true`),
18556
+ * 但拿不掉我们那一枚:它回答的是「这个文件在我的电脑上到底在哪」,
18557
+ * 而那个问题永远是本机的。
18558
+ */
18559
+ fileCardActions?: readonly FileCardAction[];
18294
18560
  /** 新会话空屏上的开场卡片 */
18295
18561
  blankCards?: readonly BlankCard[];
18296
18562
  /** 新会话空屏上那段招呼 */
@@ -18455,4 +18721,4 @@ declare const SECRET_SERVICE = "epoch-agent";
18455
18721
  */
18456
18722
  declare const MCP_DATA_KEY_NAME = "mcp-auth-data-key";
18457
18723
 
18458
- export { ACTION_CONTEXTS, AGENT_MESSAGE_NOTE_TITLE, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_ACCENTS, APPEARANCE_BACKGROUND_FITS, APPEARANCE_BACKGROUND_KINDS, APPEARANCE_BACKGROUND_ON_PARAM, APPEARANCE_CODE_FONTS, APPEARANCE_CODE_FONT_SIZE, APPEARANCE_CONTRAST, APPEARANCE_DEFAULT_CODE_FONT_SIZE, APPEARANCE_DEFAULT_FONT_SIZE, APPEARANCE_DIFF_TREE_WIDTH, APPEARANCE_FIRST_SCREEN_FIELDS, APPEARANCE_FIRST_SCREEN_FIELD_ORDER, APPEARANCE_FONT_SIZE, APPEARANCE_LANGS, APPEARANCE_MOTION, APPEARANCE_ROOT_ATTRIBUTES, APPEARANCE_SIDEBAR_WIDTH, APPEARANCE_THEMES, APPEARANCE_THEME_NAME_MAX, APPEARANCE_TRANSLUCENT, APPEARANCE_UI_FONTS, APPROVAL_OUTCOMES, APPROVAL_POLICIES, type ActiveAgentRole, type ActivityKind, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentMemberInfo, type AgentMemberStatus, type AgentMessage, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceAccent, type AppearanceAccentValue, type AppearanceBackground, type AppearanceBackgroundFit, type AppearanceBackgroundKind, type AppearanceCodeFont, type AppearanceEffectiveTheme, type AppearanceFirstScreenField, type AppearanceFirstScreenKind, type AppearanceLang, type AppearanceModePatch, type AppearanceMotion, type AppearanceTheme, type AppearanceUiFont, type AppearanceVisualSource, type ApprovalAnswer, type ApprovalOutcome, type ApprovalPolicy, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, BRAND_WHEN_SIDEBAR_COLLAPSED, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoardChannel, type BoardPost, type BoardThread, type BoundKey, type BrandWhenSidebarCollapsed, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type CapabilityPane, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextCacheStats, type ContextNote, type ContextSegment, type ContextSegmentKind, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DEFAULT_PERMISSION_LEVEL, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, ENGINE_RESTART_ACCEPTED_STATUS, ENTRY_REF_PREFIX, ENTRY_SECRET_PREFIX, type EpochConfig, type EpochContentPart, type EpochDiffSnapshot, 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 EpochUserCommand, 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, HOST_COMMANDS, HOST_SLOTS_STALE_CODE, 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 Hsv, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, LEAD_AGENT_ID, LEGACY_LEVEL_ALIASES, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_HOST_EVENT_ID, MAX_HOST_EVENT_KEY, MAX_HOST_PLUGIN_NAME, MAX_HOST_SESSION_ID, MAX_HOST_SKILL_NAME, MAX_HOST_SLOTS_JSON, MAX_LINK_URL, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, MCP_LOGIN_IN_FLIGHT_CODE, METRIC, MIN_OPTIONS, MODEL_ENTRY_PROTOCOLS, type MentionSet, type ModelEntry, type ModelEntryCapabilities, type ModelEntryProtocol, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OFFLOADED_IMAGE_NOTE, OPENABLE_LINK_SCHEMES, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_PREVIEW_STREAM_MIME, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, REASONING_EFFORTS, REASONING_OFF, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type ReasoningChoice, type ReasoningEffort, type ReasoningState, type RejectReason, type RejectedKey, type ResolvedAppearanceVisual, type RuleValue, SCHEDULE_CONFIRM_PLACEHOLDER, SCHEDULE_DEFAULT_PERMISSION, SCHEDULE_DRAFT_SAVED_MARK, 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, SIMULTANEOUS_CONTEXTS, SKILL_FILES_UNKNOWN_CODE, SYSTEM_NOTE_PREFIX, type SandboxMode, 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 SidebarNavItem, type SpanLike, type SubToolCall, type SubToolCallResult, type TeamTask, type TeamTaskPatch, type TeamTaskStatus, type Telemetry, type TokenUsage, type ToolActivity, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrayMenuItem, 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_FOLDER_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_DIFF_FILE_RESPONSE_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_ENTRY_RESPONSE_FIELDS, WIRE_MCP_LIST_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MCP_REMOVE_FIELDS, WIRE_MCP_REMOVE_RESPONSE_FIELDS, WIRE_MCP_TOGGLE_FIELDS, WIRE_MCP_TOGGLE_RESPONSE_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_ENTRIES_FIELDS, WIRE_MODEL_ENTRY_MODELS_FIELDS, WIRE_MODEL_ENTRY_SAVE_FIELDS, WIRE_MODEL_ENTRY_TEST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_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_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_TOGGLE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_VIEW_FIELDS, WIRE_PLUGIN_VIEW_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDER_GROUPS, 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_REVEAL_WORKSPACE_FIELDS, WIRE_REVEAL_WORKSPACE_RESPONSE_FIELDS, WIRE_REVIVE_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_BRANCH_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_SKILL_TOGGLE_FIELDS, WIRE_SUBAGENT_LIST_FIELDS, WIRE_TASKS_FIELDS, WIRE_TEAM_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WITHDRAW_MESSAGE_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 WireAttachmentFolderResponse, 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 WireDiffFileResponse, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEffectiveModel, type WireEffectiveSlots, type WireEngineRestartDone, type WireEngineRestartError, type WireEngineRestartMode, type WireEngineRestartRefused, type WireEngineRestartRequest, type WireEngineRestartResponse, type WireEntryProbeCode, type WireEntryProvider, 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 WireHostBadgeRequest, type WireHostBadges, type WireHostCommand, type WireHostCommandRequest, type WireHostCommandResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHostEvent, type WireHostEventFrame, type WireHostEventPublish, type WireHostEventPublishResponse, type WireHostMenuAction, type WireHostMenuRect, type WireHostSlots, type WireHostSlotsResponse, type WireHostSlotsWriteRequest, type WireHostSlotsWriteResponse, type WireHostTray, type WireHostTrayItemRequest, type WireHostTrayRequest, 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 WireMcpEntryResponse, type WireMcpListResponse, type WireMcpLoginResponse, type WireMcpLogoutResponse, type WireMcpReconnectResponse, type WireMcpRemoveRequest, type WireMcpRemoveResponse, type WireMcpToggleRequest, type WireMcpToggleResponse, type WireMcpUpdateRequest, type WireMcpUpdateResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelEffortRequest, type WireModelEffortResponse, type WireModelEntriesResponse, type WireModelEntry, type WireModelEntryModelsResponse, type WireModelEntryProbeRequest, type WireModelEntryRefRequest, type WireModelEntryRefs, type WireModelEntrySaveRequest, type WireModelEntrySaveResponse, type WireModelEntryTestResponse, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, 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 WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHookTally, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginNameRequest, type WirePluginPanel, type WirePluginPreview, type WirePluginPreviewResponse, type WirePluginPreviewStreamLine, type WirePluginProgressStep, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginToggleRequest, type WirePluginUpdateRequest, type WirePluginVersionUnmet, type WirePluginViewRequest, type WirePluginViewResponse, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderGroup, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRevealWorkspaceRefusal, type WireRevealWorkspaceRequest, type WireRevealWorkspaceResponse, type WireReviveResponse, 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 WireScheduleCancelResponse, 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 WireSessionBranchResponse, 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 WireSkillEntry, type WireSkillFile, type WireSkillFilesResponse, 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 WireSkillToggleRequest, type WireSkillToggleResponse, type WireSkillsResponse, type WireSubagentListResponse, type WireSubagentRow, type WireSubagentStatus, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireTeamResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrayItemOverride, type WireTrustRequestRequest, type WireTrustRequestResponse, type WireTurnState, type WireWithdrawMessageResponse, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, accentScale, activityOf, agentMessageLine, apiKeyEnvVar, appearanceInlineVars, appearanceRootAttributes, appearanceVisualCss, approvalPolicyForLevel, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, encodeAppearanceFirstScreenValue, entryDisplayName, entryRef, entrySecretName, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, fillPlaceholders, flattenCatalog, formatAppearanceTranslucent, formatMoney, getProviderInfo, hasFailure, hexToHsv, hsvToHex, imagePartOmittedSummary, isAppearanceAccent, isAppearanceAccentValue, isAppearanceBackground, isAppearanceBackgroundFit, isAppearanceBackgroundKind, isAppearanceCodeFont, isAppearanceCodeFontSize, isAppearanceContrast, isAppearanceDiffTreeWidth, isAppearanceFontSize, isAppearanceLang, isAppearanceModePatch, isAppearanceMotion, isAppearanceSidebarWidth, isAppearanceTheme, isAppearanceThemeName, isAppearanceTranslucent, isAppearanceUiFont, isApprovalOutcome, isContextNearlyFull, isCurrency, isEntrySecretName, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isHexColor, isHostCommand, isHostMenuAction, isKeyAction, isLang, isMentionableFilePath, isModelEntryId, isOpenableLink, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isReasoningEffort, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, liveDetail, makeTranslate, mcpConnectorState, normalizeAppearanceTranslucent, normalizeApproval, offloadedImagePart, packSessionSurface, parseAppearanceTranslucentText, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, relativeLuminance, resolveAppearanceVisual, resolveHostText, resolvePermissionLevel, sequenceId, sessionPartSummary, sessionSenderLabel, snapAppearanceContrast, stripSystemNote, stripTurnDigest, systemNote, tableOf, toolActivity, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
18724
+ export { ACTION_CONTEXTS, AGENT_MESSAGE_NOTE_TITLE, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_ACCENTS, APPEARANCE_BACKGROUND_FITS, APPEARANCE_BACKGROUND_KINDS, APPEARANCE_BACKGROUND_ON_PARAM, APPEARANCE_CODE_FONTS, APPEARANCE_CODE_FONT_SIZE, APPEARANCE_CONTRAST, APPEARANCE_DEFAULT_CODE_FONT_SIZE, APPEARANCE_DEFAULT_FONT_SIZE, APPEARANCE_DIFF_TREE_WIDTH, APPEARANCE_FIRST_SCREEN_FIELDS, APPEARANCE_FIRST_SCREEN_FIELD_ORDER, APPEARANCE_FONT_SIZE, APPEARANCE_LANGS, APPEARANCE_MOTION, APPEARANCE_ROOT_ATTRIBUTES, APPEARANCE_SIDEBAR_WIDTH, APPEARANCE_THEMES, APPEARANCE_THEME_NAME_MAX, APPEARANCE_TRANSLUCENT, APPEARANCE_UI_FONTS, APPROVAL_OUTCOMES, APPROVAL_POLICIES, type ActiveAgentRole, type ActivityKind, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentMemberInfo, type AgentMemberStatus, type AgentMessage, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceAccent, type AppearanceAccentValue, type AppearanceBackground, type AppearanceBackgroundFit, type AppearanceBackgroundKind, type AppearanceCodeFont, type AppearanceEffectiveTheme, type AppearanceFirstScreenField, type AppearanceFirstScreenKind, type AppearanceLang, type AppearanceModePatch, type AppearanceMotion, type AppearanceTheme, type AppearanceUiFont, type AppearanceVisualSource, type ApprovalAnswer, type ApprovalOutcome, type ApprovalPolicy, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, BRAND_WHEN_SIDEBAR_COLLAPSED, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoardChannel, type BoardPost, type BoardThread, type BoundKey, type BrandWhenSidebarCollapsed, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type CapabilityPane, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextCacheStats, type ContextNote, type ContextSegment, type ContextSegmentKind, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DEFAULT_PERMISSION_LEVEL, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, ENGINE_RESTART_ACCEPTED_STATUS, ENTRY_REF_PREFIX, ENTRY_SECRET_PREFIX, type EpochConfig, type EpochContentPart, type EpochDiffSnapshot, 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 EpochUserCommand, type EpochUserContent, type ExpandedCommand, FOLLOW_SYSTEM, type FileCardAction, 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, HOST_COMMANDS, HOST_SLOTS_STALE_CODE, 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 Hsv, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, LEAD_AGENT_ID, LEGACY_LEVEL_ALIASES, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_HOST_EVENT_ID, MAX_HOST_EVENT_KEY, MAX_HOST_FILE_PATH, MAX_HOST_PLUGIN_NAME, MAX_HOST_SESSION_ID, MAX_HOST_SKILL_NAME, MAX_HOST_SLOTS_JSON, MAX_LINK_URL, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, MCP_LOGIN_IN_FLIGHT_CODE, METRIC, MIN_OPTIONS, MODEL_ENTRY_PROTOCOLS, type MentionSet, type ModelEntry, type ModelEntryCapabilities, type ModelEntryProtocol, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OFFLOADED_IMAGE_NOTE, OPENABLE_LINK_SCHEMES, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_PREVIEW_STREAM_MIME, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, REASONING_EFFORTS, REASONING_OFF, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type ReasoningChoice, type ReasoningEffort, type ReasoningState, type RejectReason, type RejectedKey, type ResolvedAppearanceVisual, type RuleValue, SCHEDULE_CONFIRM_PLACEHOLDER, SCHEDULE_DEFAULT_PERMISSION, SCHEDULE_DRAFT_SAVED_MARK, 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, SIMULTANEOUS_CONTEXTS, SKILL_FILES_UNKNOWN_CODE, SYSTEM_NOTE_PREFIX, type SandboxMode, 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 SidebarNavItem, type SpanLike, type SubToolCall, type SubToolCallResult, type TeamTask, type TeamTaskPatch, type TeamTaskStatus, type Telemetry, type TokenUsage, type ToolActivity, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrayMenuItem, type TrustExecGrant, type TrustGrant, type TrustLevel, type TrustManager, type TrustRecord, type TrustScope, type TrustTier, UNLIMITED_TURNS, USER_MESSAGE_INDEX_TEXT_MAX, type VerifyResult, WAKE_NOTE_MARK, 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_FOLDER_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_DIFF_FILE_RESPONSE_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_ENTRY_RESPONSE_FIELDS, WIRE_MCP_LIST_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MCP_REMOVE_FIELDS, WIRE_MCP_REMOVE_RESPONSE_FIELDS, WIRE_MCP_TOGGLE_FIELDS, WIRE_MCP_TOGGLE_RESPONSE_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_ENTRIES_FIELDS, WIRE_MODEL_ENTRY_MODELS_FIELDS, WIRE_MODEL_ENTRY_SAVE_FIELDS, WIRE_MODEL_ENTRY_TEST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_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_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_TOGGLE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_VIEW_FIELDS, WIRE_PLUGIN_VIEW_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDER_GROUPS, 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_REVEAL_WORKSPACE_FIELDS, WIRE_REVEAL_WORKSPACE_RESPONSE_FIELDS, WIRE_REVIVE_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_BRANCH_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_SKILL_TOGGLE_FIELDS, WIRE_SUBAGENT_LIST_FIELDS, WIRE_TASKS_FIELDS, WIRE_TEAM_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_USER_MESSAGE_ENTRY_FIELDS, WIRE_USER_MESSAGE_INDEX_FIELDS, WIRE_WITHDRAW_MESSAGE_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 WireAttachmentFolderResponse, 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 WireDiffFileResponse, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEffectiveModel, type WireEffectiveSlots, type WireEngineRestartDone, type WireEngineRestartError, type WireEngineRestartMode, type WireEngineRestartRefused, type WireEngineRestartRequest, type WireEngineRestartResponse, type WireEntryProbeCode, type WireEntryProvider, 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 WireHostBadgeRequest, type WireHostBadges, type WireHostCommand, type WireHostCommandRequest, type WireHostCommandResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHostEvent, type WireHostEventFrame, type WireHostEventPublish, type WireHostEventPublishResponse, type WireHostMenuAction, type WireHostMenuRect, type WireHostSlots, type WireHostSlotsResponse, type WireHostSlotsWriteRequest, type WireHostSlotsWriteResponse, type WireHostTray, type WireHostTrayItemRequest, type WireHostTrayRequest, 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 WireMcpEntryResponse, type WireMcpListResponse, type WireMcpLoginResponse, type WireMcpLogoutResponse, type WireMcpOAuth, type WireMcpReconnectResponse, type WireMcpRemoveRequest, type WireMcpRemoveResponse, type WireMcpToggleRequest, type WireMcpToggleResponse, type WireMcpUpdateRequest, type WireMcpUpdateResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelEffortRequest, type WireModelEffortResponse, type WireModelEntriesResponse, type WireModelEntry, type WireModelEntryModelsResponse, type WireModelEntryProbeRequest, type WireModelEntryRefRequest, type WireModelEntryRefs, type WireModelEntrySaveRequest, type WireModelEntrySaveResponse, type WireModelEntryTestResponse, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, 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 WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHookTally, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginNameRequest, type WirePluginPanel, type WirePluginPreview, type WirePluginPreviewResponse, type WirePluginPreviewStreamLine, type WirePluginProgressStep, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginToggleRequest, type WirePluginUpdateRequest, type WirePluginVersionUnmet, type WirePluginViewRequest, type WirePluginViewResponse, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderGroup, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRevealWorkspaceRefusal, type WireRevealWorkspaceRequest, type WireRevealWorkspaceResponse, type WireReviveResponse, 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 WireScheduleCancelResponse, 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 WireSessionBranchResponse, 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 WireSkillEntry, type WireSkillFile, type WireSkillFilesResponse, 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 WireSkillToggleRequest, type WireSkillToggleResponse, type WireSkillsResponse, type WireSubagentListResponse, type WireSubagentRow, type WireSubagentStatus, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireTeamResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrayItemOverride, type WireTurnState, type WireUserMessageEntry, type WireUserMessageIndexResponse, type WireWithdrawMessageResponse, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, accentScale, activityOf, agentMessageLine, apiKeyEnvVar, appearanceInlineVars, appearanceRootAttributes, appearanceVisualCss, approvalPolicyForLevel, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, encodeAppearanceFirstScreenValue, entryDisplayName, entryRef, entrySecretName, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, fillPlaceholders, flattenCatalog, formatAppearanceTranslucent, formatMoney, getProviderInfo, hasFailure, hexToHsv, hsvToHex, imagePartOmittedSummary, isAppearanceAccent, isAppearanceAccentValue, isAppearanceBackground, isAppearanceBackgroundFit, isAppearanceBackgroundKind, isAppearanceCodeFont, isAppearanceCodeFontSize, isAppearanceContrast, isAppearanceDiffTreeWidth, isAppearanceFontSize, isAppearanceLang, isAppearanceModePatch, isAppearanceMotion, isAppearanceSidebarWidth, isAppearanceTheme, isAppearanceThemeName, isAppearanceTranslucent, isAppearanceUiFont, isApprovalOutcome, isContextNearlyFull, isCurrency, isEntrySecretName, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isHexColor, isHostCommand, isHostMenuAction, isKeyAction, isLang, isMentionableFilePath, isModelEntryId, isOpenableLink, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isReasoningEffort, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, liveDetail, makeTranslate, mcpConnectorState, normalizeAppearanceTranslucent, normalizeApproval, offloadedImagePart, packSessionSurface, parseAppearanceTranslucentText, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, relativeLuminance, resolveAppearanceVisual, resolveHostText, resolvePermissionLevel, sequenceId, sessionPartSummary, sessionSenderLabel, snapAppearanceContrast, stripSystemNote, stripTurnDigest, stripWakeMark, systemNote, tableOf, toolActivity, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
package/dist/index.js CHANGED
@@ -730,6 +730,11 @@ function stripSystemNote(text) {
730
730
  if (!text.startsWith(SYSTEM_NOTE_PREFIX)) return void 0;
731
731
  return text.slice(SYSTEM_NOTE_PREFIX.length);
732
732
  }
733
+ var WAKE_NOTE_MARK = "[\u81EA\u5524\u9192] ";
734
+ function stripWakeMark(body) {
735
+ if (!body.startsWith(WAKE_NOTE_MARK)) return void 0;
736
+ return body.slice(WAKE_NOTE_MARK.length);
737
+ }
733
738
  // src/activity.ts
734
739
  var BY_NAME = {
735
740
  file_read: "read",
@@ -1043,6 +1048,14 @@ var WIRE_PATCH_SESSION_RESPONSE_FIELDS = wireFields()({
1043
1048
  var WIRE_MESSAGE_LIST_FIELDS = wireFields()({
1044
1049
  messages: true
1045
1050
  });
1051
+ var USER_MESSAGE_INDEX_TEXT_MAX = 200;
1052
+ var WIRE_USER_MESSAGE_ENTRY_FIELDS = wireFields()({
1053
+ id: true,
1054
+ text: true
1055
+ });
1056
+ var WIRE_USER_MESSAGE_INDEX_FIELDS = wireFields()({
1057
+ entries: true
1058
+ });
1046
1059
  var WIRE_SEND_MESSAGE_FIELDS = wireFields()({
1047
1060
  message: true
1048
1061
  });
@@ -1226,12 +1239,6 @@ var WIRE_CREATE_WORKSPACE_FIELDS = wireFields()({
1226
1239
  var WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS = wireFields()({
1227
1240
  entry: true
1228
1241
  });
1229
- var WIRE_TRUST_REQUEST_FIELDS = wireFields()({
1230
- root: true
1231
- });
1232
- var WIRE_TRUST_REQUEST_RESPONSE_FIELDS = wireFields()({
1233
- asked: true
1234
- });
1235
1242
  var WIRE_FORGET_WORKSPACE_FIELDS = wireFields()({
1236
1243
  root: true
1237
1244
  });
@@ -1314,8 +1321,7 @@ var WIRE_CAPABILITY_PROJECT_FIELDS = wireFields()({
1314
1321
  root: true,
1315
1322
  trusted: true,
1316
1323
  execTrusted: true,
1317
- inventory: true,
1318
- trustRequest: true
1324
+ inventory: true
1319
1325
  });
1320
1326
  var WIRE_CAPABILITIES_FIELDS = wireFields()({
1321
1327
  roles: true,
@@ -1552,8 +1558,7 @@ var WIRE_SECURITY_WORKSPACE_FIELDS = wireFields()({
1552
1558
  trustLevel: true,
1553
1559
  unloadedExtraInstructionFiles: true,
1554
1560
  execTrusted: true,
1555
- inventory: true,
1556
- trustRequest: true
1561
+ inventory: true
1557
1562
  });
1558
1563
  var WIRE_KNOWN_WORKSPACE_FIELDS = wireFields()({
1559
1564
  root: true,
@@ -2497,6 +2502,7 @@ var HOST_COMMANDS = [
2497
2502
  "select-skill"
2498
2503
  ];
2499
2504
  var MAX_HOST_EVENT_ID = 256;
2505
+ var MAX_HOST_FILE_PATH = 4096;
2500
2506
  var MAX_HOST_SESSION_ID = 256;
2501
2507
  var MAX_HOST_PLUGIN_NAME = 128;
2502
2508
  var MAX_HOST_SKILL_NAME = 128;
@@ -2563,4 +2569,4 @@ var COMPLIANCE_ACTIONS = ["block", "mask", "warn", "off"];
2563
2569
  var SECRET_SERVICE = "epoch-agent";
2564
2570
  var MCP_DATA_KEY_NAME = "mcp-auth-data-key";
2565
2571
 
2566
- export { ACTION_CONTEXTS, AGENT_MESSAGE_NOTE_TITLE, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_ACCENTS, APPEARANCE_BACKGROUND_FITS, APPEARANCE_BACKGROUND_KINDS, APPEARANCE_BACKGROUND_ON_PARAM, APPEARANCE_CODE_FONTS, APPEARANCE_CODE_FONT_SIZE, APPEARANCE_CONTRAST, APPEARANCE_DEFAULT_CODE_FONT_SIZE, APPEARANCE_DEFAULT_FONT_SIZE, APPEARANCE_DIFF_TREE_WIDTH, APPEARANCE_FIRST_SCREEN_FIELDS, APPEARANCE_FIRST_SCREEN_FIELD_ORDER, APPEARANCE_FONT_SIZE, APPEARANCE_LANGS, APPEARANCE_MOTION, APPEARANCE_ROOT_ATTRIBUTES, APPEARANCE_SIDEBAR_WIDTH, APPEARANCE_THEMES, APPEARANCE_THEME_NAME_MAX, APPEARANCE_TRANSLUCENT, APPEARANCE_UI_FONTS, APPROVAL_OUTCOMES, APPROVAL_POLICIES, BRAND_WHEN_SIDEBAR_COLLAPSED, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DEFAULT_PERMISSION_LEVEL, DiagnosticSink, ENGINE_RESTART_ACCEPTED_STATUS, ENTRY_REF_PREFIX, ENTRY_SECRET_PREFIX, FOLLOW_SYSTEM, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, HOST_COMMANDS, HOST_SLOTS_STALE_CODE, KEY_ACTIONS, LANGS, LEAD_AGENT_ID, LEGACY_LEVEL_ALIASES, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_HOST_EVENT_ID, MAX_HOST_EVENT_KEY, MAX_HOST_PLUGIN_NAME, MAX_HOST_SESSION_ID, MAX_HOST_SKILL_NAME, MAX_HOST_SLOTS_JSON, MAX_LINK_URL, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, MCP_LOGIN_IN_FLIGHT_CODE, METRIC, MIN_OPTIONS, MODEL_ENTRY_PROTOCOLS, NOOP_TELEMETRY, OFFLOADED_IMAGE_NOTE, OPENABLE_LINK_SCHEMES, OPERATION_TYPES, OVERSIZE_RATIO, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_PREVIEW_STREAM_MIME, PROVIDER_INFOS, PROVIDER_TYPES, REASONING_EFFORTS, REASONING_OFF, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, SCHEDULE_CONFIRM_PLACEHOLDER, SCHEDULE_DEFAULT_PERMISSION, SCHEDULE_DRAFT_SAVED_MARK, 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, SIMULTANEOUS_CONTEXTS, SKILL_FILES_UNKNOWN_CODE, SYSTEM_NOTE_PREFIX, ToolExposure, UNLIMITED_TURNS, 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_FOLDER_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_DIFF_FILE_RESPONSE_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_ENTRY_RESPONSE_FIELDS, WIRE_MCP_LIST_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MCP_REMOVE_FIELDS, WIRE_MCP_REMOVE_RESPONSE_FIELDS, WIRE_MCP_TOGGLE_FIELDS, WIRE_MCP_TOGGLE_RESPONSE_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_ENTRIES_FIELDS, WIRE_MODEL_ENTRY_MODELS_FIELDS, WIRE_MODEL_ENTRY_SAVE_FIELDS, WIRE_MODEL_ENTRY_TEST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_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_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_TOGGLE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_VIEW_FIELDS, WIRE_PLUGIN_VIEW_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDER_GROUPS, 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_REVEAL_WORKSPACE_FIELDS, WIRE_REVEAL_WORKSPACE_RESPONSE_FIELDS, WIRE_REVIVE_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_BRANCH_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_SKILL_TOGGLE_FIELDS, WIRE_SUBAGENT_LIST_FIELDS, WIRE_TASKS_FIELDS, WIRE_TEAM_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WITHDRAW_MESSAGE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, accentScale, activityOf, agentMessageLine, apiKeyEnvVar, appearanceInlineVars, appearanceRootAttributes, appearanceVisualCss, approvalPolicyForLevel, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, encodeAppearanceFirstScreenValue, entryDisplayName, entryRef, entrySecretName, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, fillPlaceholders, flattenCatalog, formatAppearanceTranslucent, formatMoney, getProviderInfo, hasFailure, hexToHsv, hsvToHex, imagePartOmittedSummary, isAppearanceAccent, isAppearanceAccentValue, isAppearanceBackground, isAppearanceBackgroundFit, isAppearanceBackgroundKind, isAppearanceCodeFont, isAppearanceCodeFontSize, isAppearanceContrast, isAppearanceDiffTreeWidth, isAppearanceFontSize, isAppearanceLang, isAppearanceModePatch, isAppearanceMotion, isAppearanceSidebarWidth, isAppearanceTheme, isAppearanceThemeName, isAppearanceTranslucent, isAppearanceUiFont, isApprovalOutcome, isContextNearlyFull, isCurrency, isEntrySecretName, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isHexColor, isHostCommand, isHostMenuAction, isKeyAction, isLang, isMentionableFilePath, isModelEntryId, isOpenableLink, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isReasoningEffort, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, liveDetail, makeTranslate, mcpConnectorState, normalizeAppearanceTranslucent, normalizeApproval, offloadedImagePart, packSessionSurface, parseAppearanceTranslucentText, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, relativeLuminance, resolveAppearanceVisual, resolveHostText, resolvePermissionLevel, sequenceId, sessionPartSummary, sessionSenderLabel, snapAppearanceContrast, stripSystemNote, stripTurnDigest, systemNote, tableOf, toolActivity, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
2572
+ export { ACTION_CONTEXTS, AGENT_MESSAGE_NOTE_TITLE, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_ACCENTS, APPEARANCE_BACKGROUND_FITS, APPEARANCE_BACKGROUND_KINDS, APPEARANCE_BACKGROUND_ON_PARAM, APPEARANCE_CODE_FONTS, APPEARANCE_CODE_FONT_SIZE, APPEARANCE_CONTRAST, APPEARANCE_DEFAULT_CODE_FONT_SIZE, APPEARANCE_DEFAULT_FONT_SIZE, APPEARANCE_DIFF_TREE_WIDTH, APPEARANCE_FIRST_SCREEN_FIELDS, APPEARANCE_FIRST_SCREEN_FIELD_ORDER, APPEARANCE_FONT_SIZE, APPEARANCE_LANGS, APPEARANCE_MOTION, APPEARANCE_ROOT_ATTRIBUTES, APPEARANCE_SIDEBAR_WIDTH, APPEARANCE_THEMES, APPEARANCE_THEME_NAME_MAX, APPEARANCE_TRANSLUCENT, APPEARANCE_UI_FONTS, APPROVAL_OUTCOMES, APPROVAL_POLICIES, BRAND_WHEN_SIDEBAR_COLLAPSED, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DEFAULT_PERMISSION_LEVEL, DiagnosticSink, ENGINE_RESTART_ACCEPTED_STATUS, ENTRY_REF_PREFIX, ENTRY_SECRET_PREFIX, FOLLOW_SYSTEM, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, HOST_COMMANDS, HOST_SLOTS_STALE_CODE, KEY_ACTIONS, LANGS, LEAD_AGENT_ID, LEGACY_LEVEL_ALIASES, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_HOST_EVENT_ID, MAX_HOST_EVENT_KEY, MAX_HOST_FILE_PATH, MAX_HOST_PLUGIN_NAME, MAX_HOST_SESSION_ID, MAX_HOST_SKILL_NAME, MAX_HOST_SLOTS_JSON, MAX_LINK_URL, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, MCP_LOGIN_IN_FLIGHT_CODE, METRIC, MIN_OPTIONS, MODEL_ENTRY_PROTOCOLS, NOOP_TELEMETRY, OFFLOADED_IMAGE_NOTE, OPENABLE_LINK_SCHEMES, OPERATION_TYPES, OVERSIZE_RATIO, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_PREVIEW_STREAM_MIME, PROVIDER_INFOS, PROVIDER_TYPES, REASONING_EFFORTS, REASONING_OFF, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, SCHEDULE_CONFIRM_PLACEHOLDER, SCHEDULE_DEFAULT_PERMISSION, SCHEDULE_DRAFT_SAVED_MARK, 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, SIMULTANEOUS_CONTEXTS, SKILL_FILES_UNKNOWN_CODE, SYSTEM_NOTE_PREFIX, ToolExposure, UNLIMITED_TURNS, USER_MESSAGE_INDEX_TEXT_MAX, WAKE_NOTE_MARK, 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_FOLDER_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_DIFF_FILE_RESPONSE_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_ENTRY_RESPONSE_FIELDS, WIRE_MCP_LIST_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MCP_REMOVE_FIELDS, WIRE_MCP_REMOVE_RESPONSE_FIELDS, WIRE_MCP_TOGGLE_FIELDS, WIRE_MCP_TOGGLE_RESPONSE_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_ENTRIES_FIELDS, WIRE_MODEL_ENTRY_MODELS_FIELDS, WIRE_MODEL_ENTRY_SAVE_FIELDS, WIRE_MODEL_ENTRY_TEST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_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_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_TOGGLE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_VIEW_FIELDS, WIRE_PLUGIN_VIEW_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDER_GROUPS, 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_REVEAL_WORKSPACE_FIELDS, WIRE_REVEAL_WORKSPACE_RESPONSE_FIELDS, WIRE_REVIVE_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_BRANCH_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_SKILL_TOGGLE_FIELDS, WIRE_SUBAGENT_LIST_FIELDS, WIRE_TASKS_FIELDS, WIRE_TEAM_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_USER_MESSAGE_ENTRY_FIELDS, WIRE_USER_MESSAGE_INDEX_FIELDS, WIRE_WITHDRAW_MESSAGE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, accentScale, activityOf, agentMessageLine, apiKeyEnvVar, appearanceInlineVars, appearanceRootAttributes, appearanceVisualCss, approvalPolicyForLevel, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, cronTimes, diagnosticToLine, encodeAppearanceFirstScreenValue, entryDisplayName, entryRef, entrySecretName, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, fillPlaceholders, flattenCatalog, formatAppearanceTranslucent, formatMoney, getProviderInfo, hasFailure, hexToHsv, hsvToHex, imagePartOmittedSummary, isAppearanceAccent, isAppearanceAccentValue, isAppearanceBackground, isAppearanceBackgroundFit, isAppearanceBackgroundKind, isAppearanceCodeFont, isAppearanceCodeFontSize, isAppearanceContrast, isAppearanceDiffTreeWidth, isAppearanceFontSize, isAppearanceLang, isAppearanceModePatch, isAppearanceMotion, isAppearanceSidebarWidth, isAppearanceTheme, isAppearanceThemeName, isAppearanceTranslucent, isAppearanceUiFont, isApprovalOutcome, isContextNearlyFull, isCurrency, isEntrySecretName, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isHexColor, isHostCommand, isHostMenuAction, isKeyAction, isLang, isMentionableFilePath, isModelEntryId, isOpenableLink, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isReasoningEffort, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, liveDetail, makeTranslate, mcpConnectorState, normalizeAppearanceTranslucent, normalizeApproval, offloadedImagePart, packSessionSurface, parseAppearanceTranslucentText, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, relativeLuminance, resolveAppearanceVisual, resolveHostText, resolvePermissionLevel, sequenceId, sessionPartSummary, sessionSenderLabel, snapAppearanceContrast, stripSystemNote, stripTurnDigest, stripWakeMark, systemNote, tableOf, toolActivity, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epoch-agent/protocol",
3
- "version": "5.0.0",
3
+ "version": "6.1.0",
4
4
  "private": false,
5
5
  "description": "epoch-agent 契约层:工具 / 事件 / 权限 / 插件的类型定义,零运行时依赖",
6
6
  "repository": {