@epoch-agent/protocol 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -38
- package/dist/index.d.ts +112 -112
- package/dist/index.js +2 -54
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,44 +14,43 @@
|
|
|
14
14
|
|
|
15
15
|
## 文件
|
|
16
16
|
|
|
17
|
-
| 文件
|
|
18
|
-
|
|
|
19
|
-
| `tool.ts`
|
|
20
|
-
| `plugin.ts`
|
|
21
|
-
| `events.ts`
|
|
22
|
-
| `usage.ts`
|
|
23
|
-
| `message.ts`
|
|
24
|
-
| `permission.ts`
|
|
25
|
-
| `plan.ts`
|
|
26
|
-
| `question.ts`
|
|
27
|
-
| `hook.ts`
|
|
28
|
-
| `config.ts`
|
|
29
|
-
| `sidebar-menu.ts`
|
|
30
|
-
| `context.ts`
|
|
31
|
-
| `task.ts`
|
|
32
|
-
| `keybindings.ts`
|
|
33
|
-
| `i18n.ts`
|
|
34
|
-
| `model-ref.ts`
|
|
35
|
-
| `agent-role.ts`
|
|
36
|
-
| `commands.ts`
|
|
37
|
-
| `mentions.ts`
|
|
38
|
-
| `system-note.ts`
|
|
39
|
-
| `secret.ts`
|
|
40
|
-
| `trust.ts`
|
|
41
|
-
| `schedule.ts`
|
|
42
|
-
| `schedule-
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `wire.ts`
|
|
48
|
-
| `wire-
|
|
49
|
-
| `wire-
|
|
50
|
-
| `wire-
|
|
51
|
-
| `wire-
|
|
52
|
-
| `wire-
|
|
53
|
-
| `wire
|
|
54
|
-
| `headless-wire.ts` | 程序驱动 `epoch` 时 stdin / stdout 的形状(`init` / `result` + 五个入站事件) |
|
|
17
|
+
| 文件 | 内容 |
|
|
18
|
+
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
19
|
+
| `tool.ts` | `EpochTool` / `ToolContext` / `ToolResult` / `ToolExposure`。输出预算那两格(`ToolContext.outputBudget` 读额度、`EpochTool.governsOwnOutput` 免截)的判据在各自的 JSDoc 上,嵌入宿主那侧的说明在 [EMBEDDING.md](../../docs/EMBEDDING.md#工具输出预算outputbudget) |
|
|
20
|
+
| `plugin.ts` | `EpochPlugin` —— 第三方加工具的唯一入口 |
|
|
21
|
+
| `events.ts` | `AgentEvent` 判别联合 —— 引擎与所有宿主之间的事件契约、`TokenUsage` |
|
|
22
|
+
| `usage.ts` | `TokenUsage` 的口径算术 + **压缩那条线**(`compressionThresholdTokens`) |
|
|
23
|
+
| `message.ts` | `EpochMessage` 及其内容块(文本 / 图片 / `@` 提到的文件 / `@:` 引用的会话)。加第五种部件时 `assertNeverPart` 会让漏掉的分支在编译期红 |
|
|
24
|
+
| `permission.ts` | 5 级权限、操作类型、审批请求 / 应答、`PermissionManager` 接口 |
|
|
25
|
+
| `plan.ts` | plan **模式**(临时只读区间,出口要人批一次)—— 与 `plan` 那个权限级别的口径 |
|
|
26
|
+
| `question.ts` | 结构化提问的请求 / 答复(**不过权限层** —— 提问不是审批) |
|
|
27
|
+
| `hook.ts` | Hook 类型与 trigger |
|
|
28
|
+
| `config.ts` | 配置形状 |
|
|
29
|
+
| `sidebar-menu.ts` | 宿主自定义的那几行侧栏菜单:一项长什么样,以及点下去那条 `postMessage` 的 `type`。**只有 Web UI 读它**,但契约得住这儿(`EpochConfig` 和 `WireConfigResponse` 都引它) |
|
|
30
|
+
| `context.ts` | 上下文预算的构成(`/context` 那张账目:每一段花了多少) |
|
|
31
|
+
| `task.ts` | 后台任务的形状(宿主要展示它们:状态栏计数、`/tasks`、Web 那一栏) |
|
|
32
|
+
| `keybindings.ts` | 键位的**值域**(动作全集 + `KeyChord` + 与 `"ctrl+l"` 写法互转)。默认表在 tui |
|
|
33
|
+
| `i18n.ts` | 界面语言的值域(`Lang` / `LANGS` / `DEFAULT_LANG`)—— **封闭的两个值**;外加 API URL 上那个 `WIRE_LANG_PARAM`(方案 58)。**2026-08-22 起还有纯查表**(`makeTranslate` / `flattenCatalog` / `placeholdersOf`,方案 40 PR-2)—— 消费方是 tui 和 web,它们俩连 infra 都不许依赖。分界是「有没有 I/O 和状态」:读盘和进程语言仍在 infra |
|
|
34
|
+
| `model-ref.ts` | `<provider>/<model>` 的解析 |
|
|
35
|
+
| `agent-role.ts` | 子 agent 角色(`delegate_task` 的 role 取值) |
|
|
36
|
+
| `commands.ts` | 自定义斜杠命令的定义 / 展开结果 / 内置命令保留名单 |
|
|
37
|
+
| `mentions.ts` | `@` 提及的抽取规则:`@路径`(文件)和 `@:xxx`(会话,方案 53)**走同一条正则**。TUI 和引擎共用一份,两边写岔了会静默错位 |
|
|
38
|
+
| `system-note.ts` | 「这条 `user` 消息其实是系统在说话」那个前缀 + 拼 / 剥两个函数。**四处共用,且必须逐字节相同**,理由在它的文件头 |
|
|
39
|
+
| `secret.ts` | 凭据存储后端的接口 |
|
|
40
|
+
| `trust.ts` | 工作区信任的判定结果 |
|
|
41
|
+
| `schedule.ts` | 定时任务:三档触发器(判别联合)、一条任务 / 一次运行的形状、欠条、宿主注入点 |
|
|
42
|
+
| `schedule-pending.ts` | 「还欠着的那几张欠条」那份投影 + `unfixedRules()`。**那个集合运算落地前在仓库里有三份**(server / cli / 假服务端),而它是提权路径上的判定 |
|
|
43
|
+
| `diagnostics.ts` | 启动诊断(`DiagnosticSink`,`epoch doctor` 打的就是这些)。`detail` 收 `string \| LocalizedDetail` —— 后者能按语言重放,`toList(lang)` 是那条路 |
|
|
44
|
+
| `telemetry.ts` | `Telemetry` / `SpanLike` / GenAI 语义约定常量 / `NOOP_TELEMETRY` |
|
|
45
|
+
| `artifact.ts` | 大块工具输出的落盘引用 |
|
|
46
|
+
| `wire.ts` | 线上的信封(`WireEnvelope` / `WireHubEvent` / `WireAuthGuard`) |
|
|
47
|
+
| `wire-rest.ts` | Web UI 的 REST 载荷(`Wire*Response`)与鉴权常量 |
|
|
48
|
+
| `wire-capability.ts` | 能力页那一个端点的载荷。**单开一个文件**是因为 `wire-rest.ts` 已经 788 行 |
|
|
49
|
+
| `wire-security.ts` | 安全中心那五块。**全是读** —— 一个写字段都没有,判据在它的文件头 |
|
|
50
|
+
| `wire-permission.ts` | 改**这个会话此刻**的权限档那一对(决定 20 ③)。和上一行不是一回事,见下 |
|
|
51
|
+
| `wire-settings.ts` | 设置页:每一项赢在哪一层 + 能写进哪几层。见下面「设置那一份」 |
|
|
52
|
+
| `wire-goal.ts` | 目标那一格(方案 52 PR-4):四态 + `blocked` 两字段 + 界面要而库里没有的那四把尺子。⚠️ `WireGoalPhase` / `WireGoalRefusal` 是 **core 那两个联合的镜像**(web 够不着 core),逐项相等由 `core/__tests__/goal-wire.test.ts` 钉着;写那条路上**表达不出 `blocked`**,判据在它的文件头 |
|
|
53
|
+
| `headless-wire.ts` | 程序驱动 `epoch` 时 stdin / stdout 的形状(`init` / `result` + 五个入站事件) |
|
|
55
54
|
|
|
56
55
|
> **第三方要接这套 wire 自己做前端**:这几个文件就是契约,直接 `import type`,
|
|
57
56
|
> 别照着文档抄(文档会过期,类型不会)。接法见
|
package/dist/index.d.ts
CHANGED
|
@@ -2159,6 +2159,42 @@ interface SidebarMenuItem {
|
|
|
2159
2159
|
*/
|
|
2160
2160
|
icon?: string;
|
|
2161
2161
|
}
|
|
2162
|
+
/**
|
|
2163
|
+
* `sidebarMenu`(侧栏那几行)里的一项 —— {@link SidebarMenuItem} 再多一个
|
|
2164
|
+
* {@link pinned}(2026-10-11)。
|
|
2165
|
+
*
|
|
2166
|
+
* ## 为什么这一天拆出第二个名字
|
|
2167
|
+
*
|
|
2168
|
+
* 上面那个类型的 JSDoc 写着「两个键的 item 真要长得不一样的那天,那时才拆」——
|
|
2169
|
+
* 就是这一天。`pinned` 回答的是「露在侧栏上还是收进『更多』」,而 `userMenu`
|
|
2170
|
+
* 那几项本来就**全在一张菜单里**,这个问题在那一面没有宾语。给它也加上的话,
|
|
2171
|
+
* 宿主会以为在 `userMenu` 里写 `pinned: true` 能把某一项钉到菜单外面去。
|
|
2172
|
+
*
|
|
2173
|
+
* ⚠️ `userMenu` 里写了 `pinned` 不报错,是**被丢掉** —— core 的配置 schema 对
|
|
2174
|
+
* 不认识的字段一律剥掉而不是拒绝(判据在那份 schema 的文件头:配错一个字段
|
|
2175
|
+
* 不该让整份配置失效)。
|
|
2176
|
+
*/
|
|
2177
|
+
interface SidebarNavItem extends SidebarMenuItem {
|
|
2178
|
+
/**
|
|
2179
|
+
* 这一项**露在侧栏上**(一行常驻按钮)。**不给 = 收进「更多」** ——
|
|
2180
|
+
* 侧栏上那一行「更多」,悬停或点击展开一张菜单,没钉住的那几项全在里面。
|
|
2181
|
+
*
|
|
2182
|
+
* ## ⚠️ 默认是「收起」,不是「露在外面」
|
|
2183
|
+
*
|
|
2184
|
+
* 这一格要治的病是「宿主配多了,侧栏底部那一块把会话列表挤没了」。默认露在外面
|
|
2185
|
+
* 的话,那个病在**默认情况下**仍然在 —— 宿主得先知道有这个字段,才躲得开。
|
|
2186
|
+
* 默认收起之后,侧栏上露几行是宿主**一项一项点名**出来的,不点名就只多一行「更多」。
|
|
2187
|
+
*
|
|
2188
|
+
* 代价如实记着:这个默认值**改了老配置的样子**。2026-10-11 之前配的
|
|
2189
|
+
* `sidebarMenu` 没有这个字段,升级后那几行会全部收进「更多」,宿主要给常用的
|
|
2190
|
+
* 那几项补一句 `pinned: true` 才回到原样(changeset 里写明了)。
|
|
2191
|
+
*
|
|
2192
|
+
* 两种极端各自的形态:**全钉住** = 没有「更多」那一行(底下没东西可收,
|
|
2193
|
+
* 一行点开是空菜单的按钮比没有更坏);**一项都没钉** = 侧栏上只有「更多」一行。
|
|
2194
|
+
* 顺序都照宿主写的那份:钉住的按原顺序排在外面,没钉的按原顺序排进菜单。
|
|
2195
|
+
*/
|
|
2196
|
+
pinned?: boolean;
|
|
2197
|
+
}
|
|
2162
2198
|
/**
|
|
2163
2199
|
* 那条 `postMessage` 的 `type`。**宿主和我们共用这一个字面量**,两边都别手抄。
|
|
2164
2200
|
*
|
|
@@ -2830,9 +2866,12 @@ interface EpochConfig {
|
|
|
2830
2866
|
*
|
|
2831
2867
|
* ⚠️ **不设条数上限**,判据同 `brand` 的「不设长度上限」:为「菜单有点长」判一次
|
|
2832
2868
|
* 校验失败,代价是宿主**整份配置**(含模型和 key)退默认值。装不下由界面自己
|
|
2833
|
-
* 兜(web
|
|
2869
|
+
* 兜(web 那一格:没钉住的收进「更多」,钉住的那几行限高自己滚),不由校验兜。
|
|
2870
|
+
*
|
|
2871
|
+
* 每一项比 `userMenu` 多一个 `pinned`(露在外面还是收进「更多」,**默认收起**),
|
|
2872
|
+
* 判据在 {@link SidebarNavItem} 上。
|
|
2834
2873
|
*/
|
|
2835
|
-
sidebarMenu?: readonly
|
|
2874
|
+
sidebarMenu?: readonly SidebarNavItem[];
|
|
2836
2875
|
/**
|
|
2837
2876
|
* 宿主自定义的**「用户」菜单里那几项**(2026-09-07)。**缺省 = 那张菜单里只有
|
|
2838
2877
|
* 内置的「设置」一项,连那道分隔线都没有**。
|
|
@@ -5619,108 +5658,6 @@ interface ScheduleRunnerSpec {
|
|
|
5619
5658
|
label?: string;
|
|
5620
5659
|
}
|
|
5621
5660
|
|
|
5622
|
-
/**
|
|
5623
|
-
* 内置模板六张([方案 45](../../../docs/verify/VERIFY_RECORD-45-automation.md) §7.3)。
|
|
5624
|
-
*
|
|
5625
|
-
* 判据是「**这件事必须每天/每周做一次,而且做完是一份能读的东西**」——
|
|
5626
|
-
* 所以 WorkBuddy 那 12 张消费级的(儿童睡前故事 / 父母联系提醒 / 萌宠壁纸)
|
|
5627
|
-
* 一张都没抄,换成开发者场景。
|
|
5628
|
-
*
|
|
5629
|
-
* ## ⚠️ 三条硬约束都摊在类型上,不靠注释
|
|
5630
|
-
*
|
|
5631
|
-
* | §7.3 那句话 | 落在类型的哪一格 |
|
|
5632
|
-
* | ------------------------------- | -------------------------------------------------------------------- |
|
|
5633
|
-
* | 模板**不联网** | 这是一份 `const`,没有取数入口 —— 在线模板市场 42 已定不做 |
|
|
5634
|
-
* | 一律不预设「跳过全部检查」 | {@link ScheduleTemplate.permission} 的取值里**没有** `bypass` |
|
|
5635
|
-
* | 填进表单后**必须让用户过一遍** | 整份形状里**没有** `maxBudgetUsd`,而它是必填 —— 表单因此保存不了 |
|
|
5636
|
-
*
|
|
5637
|
-
* 最后一条是三条里最要紧的,而它是**结构性**的而不是靠一句提示:预算必填、
|
|
5638
|
-
* 没有默认值(§3.5),于是一张模板卡填进表单之后那个保存按钮**天然是灰的**,
|
|
5639
|
-
* 用户不看完那一屏就出不去。写成「模板里预填 0.50 + 一句『请检查』」的话,
|
|
5640
|
-
* 「必须过一遍」就退化成一句没人读的话。
|
|
5641
|
-
*
|
|
5642
|
-
* ## 为什么住在 protocol,而不是「core 一份 + 这里抄一份」
|
|
5643
|
-
*
|
|
5644
|
-
* 任务书给的两条路是「从 server 端点下发」或者「抄一份到 protocol + 一条逐项相等
|
|
5645
|
-
* 的用例」(照 `WireScheduleIssueCode` 的先例)。**两条都不用,因为这一份和那个
|
|
5646
|
-
* 先例不是同一种东西**:
|
|
5647
|
-
*
|
|
5648
|
-
* - `WireScheduleIssueCode` 的真源在 core**必须**在 core —— 那张码表是
|
|
5649
|
-
* `validateSchedule()` 的出口集合,它和判定逻辑长在一起,搬不动;
|
|
5650
|
-
* - 而这一份是**纯数据、零判定**:六个触发器、六档权限、六份最小清单。
|
|
5651
|
-
* 它谁都不依赖。而 [AGENTS.md](../../../AGENTS.md) 的分层表里 protocol 那一行
|
|
5652
|
-
* 写着「跨包共享的东西**只能**放这里」。
|
|
5653
|
-
*
|
|
5654
|
-
* 放这儿的直接收益是**不存在第二份**:`packages/web` 够得着它(只依赖
|
|
5655
|
-
* protocol + view)、cli 够得着、server 够得着、假服务端也够得着。抄一份到
|
|
5656
|
-
* protocol 再钉一条「逐项相等」的用例,是在为一个可以不存在的分叉修围栏;
|
|
5657
|
-
* 走一条 server 端点则要为一份**从不改变的常量**加一条 HTTP 往返和一个失败态
|
|
5658
|
-
* (「模板拉不下来」——而它明明就在包里)。
|
|
5659
|
-
*
|
|
5660
|
-
* ## ⚠️ 这里一个中文字都没有,措辞在 web 那份 catalog 里
|
|
5661
|
-
*
|
|
5662
|
-
* 名字 / 说明 / **提示词**三样都是文案:提示词要跟着用户的界面语言走
|
|
5663
|
-
* (一个英文界面的用户不该收到一份中文报告),而 protocol 里没有 `t()`、
|
|
5664
|
-
* 也不该有。所以这一份只给 `id`,措辞表在
|
|
5665
|
-
* `web/src/automation/labels.ts` 的 `TEMPLATE_TEXT` 上 —— 那张表
|
|
5666
|
-
* `satisfies Record<ScheduleTemplateId, …>`,**加一张模板而不给它文案会当场编译不过**。
|
|
5667
|
-
*/
|
|
5668
|
-
|
|
5669
|
-
/**
|
|
5670
|
-
* 六张模板的 id。
|
|
5671
|
-
*
|
|
5672
|
-
* 它同时是**文案表的键**(web 那侧 `satisfies Record<ScheduleTemplateId, …>`),
|
|
5673
|
-
* 所以这个联合就是「有几张模板」的唯一真源 —— 加一张要改的地方由编译器点出来。
|
|
5674
|
-
*/
|
|
5675
|
-
type ScheduleTemplateId = 'repo-sweep' | 'weekly-digest' | 'dep-checkup' | 'stale-docs' | 'test-flake' | 'todo-digest';
|
|
5676
|
-
/**
|
|
5677
|
-
* 一张模板 = 一条任务除了「名字 / 提示词 / 预算」之外的那些格子。
|
|
5678
|
-
*
|
|
5679
|
-
* 三样刻意缺席,各有各的理由:
|
|
5680
|
-
*
|
|
5681
|
-
* - `name` / `prompt` —— 是**文案**,见文件头最后一节;
|
|
5682
|
-
* - `maxBudgetUsd` —— 必填且没有默认值(§3.5),见文件头那张表第三行;
|
|
5683
|
-
* - `workDir` —— 模板不知道用户的仓库在哪儿。留空的语义是
|
|
5684
|
-
* `~/.epoch/automation/<id>/`(`ScheduleDefinition.workDir` 上的判据),
|
|
5685
|
-
* 而**清单里那条 `file_write(./reports/**)` 是相对的**,所以它跟着工作区走 ——
|
|
5686
|
-
* 不管用户填不填,报告都落在那条任务自己的目录下面。
|
|
5687
|
-
*/
|
|
5688
|
-
interface ScheduleTemplate {
|
|
5689
|
-
id: ScheduleTemplateId;
|
|
5690
|
-
trigger: ScheduleTrigger;
|
|
5691
|
-
/**
|
|
5692
|
-
* 权限档。**取值里没有 `bypass`**(§7.3:模板一律不预设「跳过全部检查」),
|
|
5693
|
-
* 也没有 `auto`(界面压根不暴露它,§3.2)。
|
|
5694
|
-
*
|
|
5695
|
-
* 两档各有各的用法,而分界线是 by-level 那张表:
|
|
5696
|
-
*
|
|
5697
|
-
* - `plan`(只读)—— 「读一遍然后写一份报告」的那几张。它天然零授权面,
|
|
5698
|
-
* 清单里只要一条 `file_write`(那条走**第 2 层**规则匹配,所以在只读档下
|
|
5699
|
-
* 照样放行 —— §3.2 那句「只读 + `file_write(<任务目录>/**)`」说的就是它);
|
|
5700
|
-
* - `default`(按需确认)—— 要跑命令的那几张。**除了 `bypass`,写命令在每一档
|
|
5701
|
-
* 下都要确认**,所以它们只能靠清单逐条放行,而这正是清单存在的理由。
|
|
5702
|
-
*/
|
|
5703
|
-
permission: 'plan' | 'default' | 'acceptEdits';
|
|
5704
|
-
/** 整个工具免确认(粗)。多数模板不用它 —— 逐条列出来的清单才审得动 */
|
|
5705
|
-
allowTools?: readonly string[];
|
|
5706
|
-
allowOperations?: readonly OperationType[];
|
|
5707
|
-
/** 规则(细)。⚠️ **路径一律写成相对的**,理由见 {@link ScheduleTemplate} */
|
|
5708
|
-
allowRules?: readonly string[];
|
|
5709
|
-
/**
|
|
5710
|
-
* 墙钟超时(毫秒)。不给就用引擎缺省的 15 分钟。
|
|
5711
|
-
*
|
|
5712
|
-
* 只有「测试 flake 复盘」给了 —— 它真的要跑一遍测试,而缺省那把尺子会在
|
|
5713
|
-
* 半路把它砍掉。**这一格存在的意义就是让那一张不至于生下来就超时**。
|
|
5714
|
-
*/
|
|
5715
|
-
timeoutMs?: number;
|
|
5716
|
-
}
|
|
5717
|
-
/**
|
|
5718
|
-
* 六张。顺序就是界面上卡片的顺序:**两张每天的排在前面** ——
|
|
5719
|
-
* 「每天一次」比「每周一次」更容易让人第一次就试出效果,而这一屏的空状态
|
|
5720
|
-
* 要答的问题是「这东西能替我做什么」。
|
|
5721
|
-
*/
|
|
5722
|
-
declare const SCHEDULE_TEMPLATES: readonly ScheduleTemplate[];
|
|
5723
|
-
|
|
5724
5661
|
/**
|
|
5725
5662
|
* 「还欠着的那几张欠条」——
|
|
5726
5663
|
* [方案 45](../../../docs/verify/VERIFY_RECORD-45-automation.md) §八 ① / ③ 的素材。
|
|
@@ -5834,7 +5771,7 @@ declare function collectPendingApprovals(defs: readonly ScheduleDefinition[], ru
|
|
|
5834
5771
|
* 提案。真正落库的仍然是那两条:人点「审阅并保存」之后走的是同一个
|
|
5835
5772
|
* `POST /api/schedules`,人粘贴命令行走的是同一个 `epoch schedule add`。
|
|
5836
5773
|
*
|
|
5837
|
-
* ## ⚠️
|
|
5774
|
+
* ## ⚠️ 三条硬约束都摊在类型上,不靠注释(原来照内置模板 `schedule-templates.ts` 那三条办,那份 2026-10-12 删了)
|
|
5838
5775
|
*
|
|
5839
5776
|
* | 要守住的 | 落在类型的哪一格 |
|
|
5840
5777
|
* | ------------------------------ | -------------------------------------------------------------------- |
|
|
@@ -5842,7 +5779,7 @@ declare function collectPendingApprovals(defs: readonly ScheduleDefinition[], ru
|
|
|
5842
5779
|
* | 填进表单后**必须让用户过一遍** | 整份形状里**没有** `maxBudgetUsd`,而它是必填 —— 表单因此保存不了 |
|
|
5843
5780
|
* | 草稿不是写入路 | 这里只有数据,没有 id 生成、没有 `enabled`、没有 `createdAt` |
|
|
5844
5781
|
*
|
|
5845
|
-
*
|
|
5782
|
+
* 第二条是三条里最要紧的:预算必填、没有默认值
|
|
5846
5783
|
* (方案 45 §3.5),于是一份草稿填进表单之后那个保存按钮**天然是灰的**,
|
|
5847
5784
|
* 用户不看完那一屏就出不去。写成「草稿里预填 0.50 + 一句『请检查』」的话,
|
|
5848
5785
|
* 「必须过一遍」就退化成一句没人读的话 —— 而这一格错了的后果很具体:
|
|
@@ -5850,14 +5787,14 @@ declare function collectPendingApprovals(defs: readonly ScheduleDefinition[], ru
|
|
|
5850
5787
|
*
|
|
5851
5788
|
* ## 为什么住在 protocol
|
|
5852
5789
|
*
|
|
5853
|
-
*
|
|
5790
|
+
* 这一份的**两端都要读它** ——
|
|
5854
5791
|
* core 那侧要解析模型发来的入参(`tools/builtin/schedule-draft.ts`),
|
|
5855
5792
|
* `packages/web` 那侧要从那次工具调用的入参里把它读回来渲染成一张卡片
|
|
5856
5793
|
* (`thread/rows.ts`,照 `todo` 的先例)。web 只依赖 protocol + view,够不着 core。
|
|
5857
5794
|
*
|
|
5858
5795
|
* ## ⚠️ 这里一个中文字都没有
|
|
5859
5796
|
*
|
|
5860
|
-
*
|
|
5797
|
+
* protocol 里没有 `t()`、也不该有:措辞在 `locales/*.yaml` 的
|
|
5861
5798
|
* `web.ui.thread.draft_*` 底下(卡片)和 core 的工具输出里(给模型看的那半,
|
|
5862
5799
|
* 按 `locales/zh.yaml` 的范围说明不进 catalog)。
|
|
5863
5800
|
*/
|
|
@@ -5876,8 +5813,7 @@ declare const SCHEDULE_DRAFT_TOOL = "schedule_draft";
|
|
|
5876
5813
|
/**
|
|
5877
5814
|
* 草稿能落在哪几档权限上 —— **`bypass` 不在里面**。
|
|
5878
5815
|
*
|
|
5879
|
-
*
|
|
5880
|
-
* `ScheduleTemplate.permission`)。理由比模板那一侧更直接:`bypass` 要一次
|
|
5816
|
+
* 不是「运行期会拒绝」,是那一档在类型上根本不存在。理由:`bypass` 要一次
|
|
5881
5817
|
* 二次确认(`bypass-not-confirmed`),而那次确认的**对象是人**;让模型提议
|
|
5882
5818
|
* 一个「等着人去勾确认框」的档位,等于把那道确认变成一道例行手续。
|
|
5883
5819
|
*
|
|
@@ -8185,8 +8121,9 @@ interface WireConfigResponse {
|
|
|
8185
8121
|
* ⚠️ **原样转发,服务端一个字都不改**:`label` 不翻译(它是宿主的话,
|
|
8186
8122
|
* 同诊断的 `detail`),`icon` 认不认得出来也不在这一层判 —— 那张白名单是
|
|
8187
8123
|
* 第一方 Web UI 自己的事,而这条端点也服务着自己画前端的宿主(EMBEDDING §10)。
|
|
8124
|
+
* `pinned` 同样原样带下去 —— 自己画前端的宿主要照它分「外面 / 更多」两组。
|
|
8188
8125
|
*/
|
|
8189
|
-
sidebarMenu?: readonly
|
|
8126
|
+
sidebarMenu?: readonly SidebarNavItem[];
|
|
8190
8127
|
/**
|
|
8191
8128
|
* 宿主自定义的**「用户」菜单里那几项** —— **宿主没配就没有这个键**(2026-09-07)。
|
|
8192
8129
|
*
|
|
@@ -12304,6 +12241,16 @@ interface WirePluginEntry {
|
|
|
12304
12241
|
* 那一个。只印显示名等于让「这个插件叫什么」在界面和命令行上是两个答案。
|
|
12305
12242
|
*/
|
|
12306
12243
|
displayName: string | null;
|
|
12244
|
+
/**
|
|
12245
|
+
* 卡片上画的那张图标(2026-10-12)。`null` = 两处都没有,界面画名字首字。
|
|
12246
|
+
*
|
|
12247
|
+
* **服务端已经按优先级合好了**:市场目录里那一格(宿主写的,join 口径同
|
|
12248
|
+
* {@link displayName})先赢,缺席才用包里 `epoch-plugin.json` 自带的那张。
|
|
12249
|
+
* 后者一律已经转成 `data:`,包里写的 URL 被忽略 —— 规矩在 core 的 `plugin/icon.ts`。
|
|
12250
|
+
*
|
|
12251
|
+
* ⚠️ 前者是一条 URL 时**浏览器会去加载它**,判据同 {@link WirePluginHit.icon}。
|
|
12252
|
+
*/
|
|
12253
|
+
icon: string | null;
|
|
12307
12254
|
version: string;
|
|
12308
12255
|
/** 用户 / 宿主敲的那串来源,原样 */
|
|
12309
12256
|
source: string;
|
|
@@ -12989,6 +12936,14 @@ interface WirePluginPreview {
|
|
|
12989
12936
|
* 分三格而不是一张表:同一个名字可以既是命令又是技能(`aione:account_inspection`)。
|
|
12990
12937
|
*/
|
|
12991
12938
|
docs: WirePluginDocs;
|
|
12939
|
+
/**
|
|
12940
|
+
* 包里自带的那张图标,**一律是 `data:`**(2026-10-12)。`null` = 包里没写 /
|
|
12941
|
+
* 写的是 URL(忽略)/ 读不出。规矩全文在 core 的 `plugin/icon.ts` 文件头。
|
|
12942
|
+
*
|
|
12943
|
+
* ⚠️ **它是兜底**:这一屏的头像先用点进来那张卡上的图标(宿主目录写的),
|
|
12944
|
+
* 那一格缺席才轮到它 —— 判据在 web 的 `PreviewFace` 上。
|
|
12945
|
+
*/
|
|
12946
|
+
icon: string | null;
|
|
12992
12947
|
}
|
|
12993
12948
|
/** 一个扩展物和它那句说明 */
|
|
12994
12949
|
interface WirePluginDoc {
|
|
@@ -13085,6 +13040,51 @@ interface WirePluginPreviewResponse {
|
|
|
13085
13040
|
detail: string | null;
|
|
13086
13041
|
}
|
|
13087
13042
|
declare const WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS: WireFields<WirePluginPreviewResponse>;
|
|
13043
|
+
/**
|
|
13044
|
+
* 预览那三条端点的**流式**那一档(2026-10-11)。请求头带
|
|
13045
|
+
* `Accept: application/x-ndjson` 时,回执改成逐行 JSON:先若干行
|
|
13046
|
+
* `progress`,最后恰好一行 `result`(它的其余字段就是 {@link WirePluginPreviewResponse})。
|
|
13047
|
+
*
|
|
13048
|
+
* ⚠️ **不带那个头时回的仍是原来那一份 JSON,一个字节都不变** —— 直接调这几条端点
|
|
13049
|
+
* 的嵌入宿主和脚本不受影响。判据:预览要把整包(连同依赖闭包)真取一遍,大包要好一会儿,
|
|
13050
|
+
* 而一次性回执让界面在那段时间里只能挂一句不动的「正在取…」。
|
|
13051
|
+
*
|
|
13052
|
+
* ⚠️ 不走 SSE:浏览器的 `EventSource` 只会发 GET,而这几条是带 body 的 POST。
|
|
13053
|
+
*/
|
|
13054
|
+
declare const PLUGIN_PREVIEW_STREAM_MIME = "application/x-ndjson";
|
|
13055
|
+
/**
|
|
13056
|
+
* 取包走到哪一步了。
|
|
13057
|
+
*
|
|
13058
|
+
* ⚠️ **发的是结构化数据,不是 core 渲染好的那句话**:core 那几句走的是进程语言,
|
|
13059
|
+
* 而这一次请求可能带着别的 `?lang=` —— 文案由界面用自己的 `t()` 渲。
|
|
13060
|
+
*
|
|
13061
|
+
* | phase | 意思 |
|
|
13062
|
+
* | ---------- | -------------------------------------------- |
|
|
13063
|
+
* | `git` | `git clone` 中 |
|
|
13064
|
+
* | `npm` | `npm pack` 中 |
|
|
13065
|
+
* | `host` | 宿主的取包回调中(宿主报了字节才有那两格数) |
|
|
13066
|
+
* | `download` | HTTPS 下载压缩包中 |
|
|
13067
|
+
* | `extract` | 解包中 |
|
|
13068
|
+
* | `dep` | 开始取依赖 `dep`(随后会有它自己的那几步) |
|
|
13069
|
+
*/
|
|
13070
|
+
interface WirePluginProgressStep {
|
|
13071
|
+
phase: 'git' | 'npm' | 'host' | 'download' | 'extract' | 'dep';
|
|
13072
|
+
/** 正在取的那个来源(URL / 包名 / 宿主那一侧的标识);`extract` 那一步可能为空串 */
|
|
13073
|
+
target: string;
|
|
13074
|
+
/** 只在 `dep` 那一步有:依赖名 */
|
|
13075
|
+
dep?: string;
|
|
13076
|
+
/** 已取到的字节数。只有拿得到时才有(`download`,以及宿主肯报的 `host`) */
|
|
13077
|
+
received?: number;
|
|
13078
|
+
/** 总字节数。对面说了才有 —— 没有它就画不出百分比,只画已取多少 */
|
|
13079
|
+
total?: number;
|
|
13080
|
+
}
|
|
13081
|
+
/** 流式回执里的一行 */
|
|
13082
|
+
type WirePluginPreviewStreamLine = {
|
|
13083
|
+
type: 'progress';
|
|
13084
|
+
step: WirePluginProgressStep;
|
|
13085
|
+
} | ({
|
|
13086
|
+
type: 'result';
|
|
13087
|
+
} & WirePluginPreviewResponse);
|
|
13088
13088
|
/**
|
|
13089
13089
|
* `POST /api/plugins/install` / `.../update` / `.../uninstall` 的回执。
|
|
13090
13090
|
*
|
|
@@ -16817,4 +16817,4 @@ declare const SECRET_SERVICE = "epoch-agent";
|
|
|
16817
16817
|
*/
|
|
16818
16818
|
declare const MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
16819
16819
|
|
|
16820
|
-
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceLang, type AppearanceTheme, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoundKey, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextSegment, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, type EpochConfig, type EpochContentPart, type EpochFilePart, type EpochHook, type EpochImagePart, type EpochMessage, type EpochMessageRole, type EpochPlugin, type EpochSessionPart, type EpochSkill, type EpochTextPart, type EpochTool, type EpochToolCall, type EpochToolResult, type EpochTurnFacts, type EpochUserContent, type ExpandedCommand, FOLLOW_SYSTEM, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, type FormatMoneyOptions, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, type HeadlessEnvelope, type HeadlessEvent, type HeadlessInit, type HeadlessInputEvent, type HeadlessInputEventType, type HeadlessInputFormat, type HeadlessLifecycleEvent, type HeadlessOutputFormat, type HeadlessResult, type HeadlessResultReason, type HookContext, type HookEvent, type HookHandler, type HookManager, type HookRegistration, type HookType, type HostText, type HostUser, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, type MentionSet, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type PluginMenuMessage, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type RejectReason, type RejectedKey, type RuleValue, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MINUTES, SCHEDULE_RUN_STATUSES, SCHEDULE_TEMPLATES, SEARCH_API_KEY_ENV, SEARCH_PROVIDER_TYPES, SECRET_SERVICE, SEQUENCE_CONTEXTS, SESSION_MENTION_PREFIX, SESSION_REFERENCE_ERROR_CODES, SETTINGS_PANE_IDS, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, type ScheduleAllowlist, type ScheduleBackendKind, type ScheduleCycle, type ScheduleDefinition, type ScheduleDraft, type ScheduleDraftAllowlist, type ScheduleDraftCreate, type ScheduleDraftPermission, type ScheduleDraftUpdate, type SchedulePendingApproval, type SchedulePendingItem, type ScheduleRun, type ScheduleRunStatus, type ScheduleRunnerSpec, type ScheduleTemplate, type ScheduleTemplateId, type ScheduleTrigger, type ScheduleTriggerKind, type ScheduleWeekday, type ScheduleWideningKind, type SearchProviderType, type SecretBackendId, type SecretStore, type SelectionContext, type SelectionRejection, type SelectionWarning, type SessionAttachKind, type SessionAttachResult, type SessionOmitReason, type SessionSurfaceMessage, type SessionSurfaceView, type SetSelectionResult, type SettingsPaneId, type SettingsPaneItem, type ShellKind, type SidebarMenuItem, type SidebarMenuMessage, type SpanLike, type SubToolCall, type SubToolCallResult, type Telemetry, type TokenUsage, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrustExecGrant, type TrustGrant, type TrustLevel, type TrustManager, type TrustRecord, type TrustScope, type TrustTier, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_FIELDS, WIRE_APPEARANCE_RESPONSE_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_FIELDS, WIRE_ATTACHMENT_UPLOAD_FIELDS, WIRE_AUDIT_LOG_FIELDS, WIRE_AUDIT_ROW_FIELDS, WIRE_AUTH_COOKIE, WIRE_AUTH_COOKIE_ATTRS, WIRE_AUTH_TOKEN_PARAM, WIRE_BACKGROUND_TASK_FIELDS, WIRE_BLOCKED_GOALS_FIELDS, WIRE_BLOCKED_GOAL_FIELDS, WIRE_BLOCKED_LEVEL_FIELDS, WIRE_BUILTIN_CONNECTOR_FIELDS, WIRE_CACHED_APPROVAL_FIELDS, WIRE_CAPABILITIES_FIELDS, WIRE_CAPABILITY_PROJECT_FIELDS, WIRE_CHECKPOINT_LIST_FIELDS, WIRE_CHECKPOINT_SUMMARY_FIELDS, WIRE_COMMANDS_FIELDS, WIRE_COMMAND_EXPANSION_FIELDS, WIRE_COMPACT_FIELDS, WIRE_COMPRESSION_LINE_FIELDS, WIRE_CONFIG_FIELDS, WIRE_CONTEXT_FIELDS, WIRE_CREATE_SESSION_FIELDS, WIRE_CREATE_WORKSPACE_FIELDS, WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS, WIRE_CUSTOM_COMMAND_FIELDS, WIRE_DELETE_SESSION_FIELDS, WIRE_DIFF_FILE_FIELDS, WIRE_ERROR_FIELDS, WIRE_FILE_CANDIDATES_FIELDS, WIRE_FILE_CANDIDATE_FIELDS, WIRE_FILE_CHANGE_FIELDS, WIRE_FILE_OPEN_RESPONSE_FIELDS, WIRE_FILE_REFERENCE_FIELDS, WIRE_FILE_STAT_MAX, WIRE_FILE_STAT_OK_FIELDS, WIRE_FILE_STAT_REFUSED_FIELDS, WIRE_FILE_STAT_RESPONSE_FIELDS, WIRE_FILE_TEXT_RESPONSE_FIELDS, WIRE_FORGET_WORKSPACE_FIELDS, WIRE_FORGET_WORKSPACE_RESPONSE_FIELDS, WIRE_GOAL_ACTIONS, WIRE_GOAL_BLOCK_FIELDS, WIRE_GOAL_CLEAR_FIELDS, WIRE_GOAL_CREATE_FIELDS, WIRE_GOAL_FIELDS, WIRE_GOAL_LIMITS_FIELDS, WIRE_GOAL_PHASES, WIRE_GOAL_REFUSALS, WIRE_GOAL_RESPONSE_FIELDS, WIRE_GOAL_WRITE_FIELDS, WIRE_HEALTH_FIELDS, WIRE_IMAGE_REFERENCE_FIELDS, WIRE_KNOWN_WORKSPACE_FIELDS, WIRE_LANG_PARAM, WIRE_LAST_SESSION_FIELDS, WIRE_LAST_SESSION_RESPONSE_FIELDS, WIRE_MANAGED_LOCK_FIELDS, WIRE_MCP_ADD_FIELDS, WIRE_MCP_ADD_RESPONSE_FIELDS, WIRE_MCP_APPLY_ENTRY_FIELDS, WIRE_MCP_APPLY_RESPONSE_FIELDS, WIRE_MCP_CONFIG_APPLY_FIELDS, WIRE_MCP_CONFIG_FIELDS, WIRE_MCP_CONFIG_ISSUE_FIELDS, WIRE_MCP_CONFIG_SAVE_FIELDS, WIRE_MCP_CONFIG_SAVE_RESPONSE_FIELDS, WIRE_MCP_CONNECTOR_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_FIELDS, WIRE_MODEL_SUGGESTIONS_FIELDS, WIRE_PATCH_SESSION_FIELDS, WIRE_PATCH_SESSION_RESPONSE_FIELDS, WIRE_PERMISSION_RULE_FIELDS, WIRE_PERMISSION_SET_REQUEST_FIELDS, WIRE_PERMISSION_SET_RESPONSE_FIELDS, WIRE_PERMISSION_SHADOW_FIELDS, WIRE_PERMISSION_STATE_FIELDS, WIRE_PERMISSION_STATUS_FIELDS, WIRE_PLAN_ACTIONS, WIRE_PLAN_FIELDS, WIRE_PLAN_MODE_REQUEST_FIELDS, WIRE_PLAN_MODE_RESPONSE_FIELDS, WIRE_PLAN_MODE_STATE_FIELDS, WIRE_PLUGINS_FIELDS, WIRE_PLUGIN_ACTION_FIELDS, WIRE_PLUGIN_ARCHIVE_SUFFIXES, WIRE_PLUGIN_INSTALL_FIELDS, WIRE_PLUGIN_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_MARKETPLACE_FIELDS, WIRE_PLUGIN_MARKETPLACE_RESPONSE_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_REFRESH_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_UPLOAD_CONFIRM_FIELDS, WIRE_PLUGIN_UPLOAD_FIELDS, WIRE_PLUGIN_UPLOAD_FORM_FIELDS, WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_UPLOAD_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDERS_FIELDS, WIRE_PROVIDER_KEY_FIELDS, WIRE_PROVIDER_MODELS_FIELDS, WIRE_PROVIDER_OPTION_FIELDS, WIRE_QUESTION_LIST_FIELDS, WIRE_QUESTION_ROW_FIELDS, WIRE_RESPOND_APPROVAL_FIELDS, WIRE_RESPOND_APPROVAL_RESPONSE_FIELDS, WIRE_RESPOND_QUESTION_FIELDS, WIRE_RESPOND_QUESTION_RESPONSE_FIELDS, WIRE_REWIND_FILE_PLAN_FIELDS, WIRE_REWIND_OUTCOME_FIELDS, WIRE_REWIND_PREVIEW_FIELDS, WIRE_REWIND_REQUEST_FIELDS, WIRE_REWIND_RESPONSE_FIELDS, WIRE_REWIND_SCOPES, WIRE_ROLES_FIELDS, WIRE_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_FIELDS, WIRE_ROLE_REMOVE_FIELDS, WIRE_RUNNING_SCHEDULE_FIELDS, WIRE_SANDBOX_STATUS_FIELDS, WIRE_SCHEDULE_CAPABILITY_FIELDS, WIRE_SCHEDULE_CREATE_FIELDS, WIRE_SCHEDULE_DEFAULTS_FIELDS, WIRE_SCHEDULE_DELETE_FIELDS, WIRE_SCHEDULE_FIELDS, WIRE_SCHEDULE_FIX_FIELDS, WIRE_SCHEDULE_FIX_REQUEST_FIELDS, WIRE_SCHEDULE_ISSUE_CODES, WIRE_SCHEDULE_LIST_FIELDS, WIRE_SCHEDULE_PENDING_FIELDS, WIRE_SCHEDULE_RECORDING_FIELDS, WIRE_SCHEDULE_ROW_FIELDS, WIRE_SCHEDULE_RUNNING_FIELDS, WIRE_SCHEDULE_RUNS_FIELDS, WIRE_SCHEDULE_RUN_FIELDS, WIRE_SCHEDULE_SAVE_FIELDS, WIRE_SECURITY_FIELDS, WIRE_SECURITY_WORKSPACE_FIELDS, WIRE_SEND_MESSAGE_FIELDS, WIRE_SEND_MESSAGE_RESPONSE_FIELDS, WIRE_SESSION_CANDIDATES_FIELDS, WIRE_SESSION_CANDIDATE_FIELDS, WIRE_SESSION_FINISH_FIELDS, WIRE_SESSION_LIST_FIELDS, WIRE_SESSION_REFERENCE_FIELDS, WIRE_SESSION_RESPONSE_FIELDS, WIRE_SESSION_SUMMARY_FIELDS, WIRE_SESSION_WORKSPACE_FIELDS, WIRE_SESSION_WORKSPACE_RESPONSE_FIELDS, WIRE_SETTINGS_FIELDS, WIRE_SETTINGS_WRITE_FIELDS, WIRE_SETTINGS_WRITE_REQUEST_FIELDS, WIRE_SETTING_PENDING_FIELDS, WIRE_SETTING_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_DROP_SUFFIXES, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_SKILL_STAGE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, type WireAbortResponse, type WireAbout, type WireAgentEnvelope, type WireAgentEvent, type WireAgentRoleSummary, type WireAppearanceRequest, type WireAppearanceResponse, type WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, type WireAttachmentUploadResponse, type WireAuditCode, type WireAuditLog, type WireAuditOutcome, type WireAuditRow, type WireAuthDenyReason, type WireAuthDenyStatus, type WireAuthGuard, type WireAuthRequestView, type WireAuthVerdict, type WireBackgroundTask, type WireBindWorkspaceRequest, type WireBlockedGoal, type WireBlockedGoalsResponse, type WireBlockedLevel, type WireBuiltinConnector, type WireCachedApproval, type WireCachedDecision, type WireCapabilitiesResponse, type WireCapabilityProject, type WireCheckpointListResponse, type WireCheckpointSummary, type WireCommandExpansion, type WireCommandsResponse, type WireCompactRequest, type WireCompactResponse, type WireCompressionLine, type WireConfigResponse, type WireContextResponse, type WireCreateSessionRequest, type WireCreateSessionResponse, type WireCreateWorkspaceRequest, type WireCreateWorkspaceResponse, type WireCustomCommand, type WireDeleteSessionResponse, type WireDiffFile, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEnvelope, type WireErrorResponse, type WireEvent, type WireFields, type WireFileCandidate, type WireFileCandidatesResponse, type WireFileChange, type WireFileKind, type WireFileOpenRefusal, type WireFileOpenResponse, type WireFileReference, type WireFileRefusal, type WireFileStat, type WireFileStatOk, type WireFileStatRefused, type WireFileStatResponse, type WireFileTextResponse, type WireFixture, type WireFixtureCase, type WireForgetWorkspaceRequest, type WireForgetWorkspaceResponse, type WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, type WireKnownWorkspaceRef, type WireLastSessionRequest, type WireLastSessionResponse, type WireManagedLock, type WireMcpAddRequest, type WireMcpAddResponse, type WireMcpApplyAction, type WireMcpApplyEntry, type WireMcpApplyResponse, type WireMcpConfigApplyRequest, type WireMcpConfigIssue, type WireMcpConfigResponse, type WireMcpConfigSaveRequest, type WireMcpConfigSaveResponse, type WireMcpConnector, type WireMcpReconnectResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelProbeStatus, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, type WireModelSource, type WireModelSuggestions, type WirePatchSessionRequest, type WirePatchSessionResponse, type WirePermissionRememberFailure, type WirePermissionRuleRow, type WirePermissionSetRequest, type WirePermissionSetResponse, type WirePermissionShadow, type WirePermissionState, type WirePermissionStatus, type WirePickDirectoryResponse, type WirePlanAction, type WirePlanModeRequest, type WirePlanModeResponse, type WirePlanModeState, type WirePlanResponse, type WirePluginActionResponse, type WirePluginCategory, type WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginMenuItem, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginRefreshResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginStatus, type WirePluginUpdateRequest, type WirePluginUploadChoice, type WirePluginUploadConfirmRequest, type WirePluginUploadField, type WirePluginUploadFieldName, type WirePluginUploadFields, type WirePluginUploadFile, type WirePluginUploadForm, type WirePluginUploadPlan, type WirePluginUploadPreviewResponse, type WirePluginUploadRequest, type WirePluginUploadResponse, type WirePluginVersionUnmet, type WirePluginVisibility, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderKeyRequest, type WireProviderKeyResponse, type WireProviderModelsRequest, type WireProviderModelsResponse, type WireProviderOption, type WireProviderSummary, type WireProvidersResponse, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRewindAction, type WireRewindDrift, type WireRewindFilePlan, type WireRewindOutcome, type WireRewindPreview, type WireRewindRequest, type WireRewindResponse, type WireRewindScope, type WireRoleAddRequest, type WireRoleAddResponse, type WireRoleRemoveFailure, type WireRoleRemoveResponse, type WireRolesResponse, type WireRunningSchedule, type WireSandboxReason, type WireSandboxStatus, type WireScheduleCapability, type WireScheduleCreateRequest, type WireScheduleDefaults, type WireScheduleDeleteResponse, type WireScheduleFixRequest, type WireScheduleFixResponse, type WireScheduleIssue, type WireScheduleIssueCode, type WireScheduleListResponse, type WireSchedulePendingResponse, type WireScheduleRecordingResponse, type WireScheduleRegisterRefusal, type WireScheduleRegisterWarning, type WireScheduleRegistration, type WireScheduleResponse, type WireScheduleRow, type WireScheduleRunResponse, type WireScheduleRunningResponse, type WireScheduleRunsResponse, type WireScheduleSaveResponse, type WireScheduleUpdateRequest, type WireSecurityResponse, type WireSecurityWorkspace, type WireSendMessageRequest, type WireSendMessageResponse, type WireSessionCandidate, type WireSessionCandidatesResponse, type WireSessionFinish, type WireSessionListResponse, type WireSessionReference, type WireSessionResponse, type WireSessionSummary, type WireSessionWorkspace, type WireSessionWorkspaceResponse, type WireSettingApply, type WireSettingFutile, type WireSettingLayer, type WireSettingPending, type WireSettingRow, type WireSettingStep, type WireSettingValue, type WireSettingValueKind, type WireSettingWrite, type WireSettingWriteLayer, type WireSettingsResponse, type WireSettingsWriteRequest, type WireSettingsWriteResponse, type WireSkillBodyResponse, type WireSkillImportConflict, type WireSkillImportEntry, type WireSkillImportFailure, type WireSkillImportForm, type WireSkillImportIssue, type WireSkillImportPreviewResponse, type WireSkillImportResponse, type WireSkillRemoveFailure, type WireSkillRemoveResponse, type WireSkillStageFailure, type WireSkillStageResponse, type WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrustRequestRequest, type WireTrustRequestResponse, type WireTurnState, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, apiKeyEnvVar, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, diagnosticToLine, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, flattenCatalog, formatMoney, getProviderInfo, hasFailure, imagePartOmittedSummary, isAppearanceLang, isAppearanceTheme, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, joinUploadMulti, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, splitUploadMulti, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
|
16820
|
+
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type AppearanceLang, type AppearanceTheme, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, type ApprovalScope, type ArtifactKind, type AttributeValue, type Attributes, type BackgroundTaskInfo, type BackgroundTaskKind, type BackgroundTaskStatus, type BlankCard, type BlankGreeting, type BoundKey, type BudgetBreach, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextSegment, type Currency, type CurrencyDisplay, type CustomCommandDef, type CustomCommandSource, DEFAULT_AGENT_ROLE, DEFAULT_LANG, type DecidedTrustLevel, type Diagnostic, DiagnosticSink, type DiagnosticStatus, type EpochConfig, type EpochContentPart, type EpochFilePart, type EpochHook, type EpochImagePart, type EpochMessage, type EpochMessageRole, type EpochPlugin, type EpochSessionPart, type EpochSkill, type EpochTextPart, type EpochTool, type EpochToolCall, type EpochToolResult, type EpochTurnFacts, type EpochUserContent, type ExpandedCommand, FOLLOW_SYSTEM, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, type FormatMoneyOptions, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, type HeadlessEnvelope, type HeadlessEvent, type HeadlessInit, type HeadlessInputEvent, type HeadlessInputEventType, type HeadlessInputFormat, type HeadlessLifecycleEvent, type HeadlessOutputFormat, type HeadlessResult, type HeadlessResultReason, type HookContext, type HookEvent, type HookHandler, type HookManager, type HookRegistration, type HookType, type HostText, type HostUser, type JsonSchema, KEY_ACTIONS, type KeyAction, type KeyChord, type KeyContext, type KeySequence, type KeybindingReport, type KeybindingSource, type KeybindingTable, LANGS, type Lang, type LocalizedDetail, type LogFn, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, type MentionSet, type ModelRef, type ModelSelection, type ModelSelectionOrigin, type MoneyDigits, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, OVERSIZE_RATIO, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_PREVIEW_STREAM_MIME, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, type PermissionDecision, type PermissionLevel, type PermissionManager, type PermissionRuleLists, type PlanApprovalOutcome, type PlanProposal, type PluginContext, type PluginMenuMessage, type ProviderInfo, type ProviderType, type QuestionAnswer, type QuestionItem, type QuestionOption, type QuestionPage, type QuestionRequest, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type RejectReason, type RejectedKey, type RuleValue, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MINUTES, SCHEDULE_RUN_STATUSES, SEARCH_API_KEY_ENV, SEARCH_PROVIDER_TYPES, SECRET_SERVICE, SEQUENCE_CONTEXTS, SESSION_MENTION_PREFIX, SESSION_REFERENCE_ERROR_CODES, SETTINGS_PANE_IDS, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, type ScheduleAllowlist, type ScheduleBackendKind, type ScheduleCycle, type ScheduleDefinition, type ScheduleDraft, type ScheduleDraftAllowlist, type ScheduleDraftCreate, type ScheduleDraftPermission, type ScheduleDraftUpdate, type SchedulePendingApproval, type SchedulePendingItem, type ScheduleRun, type ScheduleRunStatus, type ScheduleRunnerSpec, type ScheduleTrigger, type ScheduleTriggerKind, type ScheduleWeekday, type ScheduleWideningKind, type SearchProviderType, type SecretBackendId, type SecretStore, type SelectionContext, type SelectionRejection, type SelectionWarning, type SessionAttachKind, type SessionAttachResult, type SessionOmitReason, type SessionSurfaceMessage, type SessionSurfaceView, type SetSelectionResult, type SettingsPaneId, type SettingsPaneItem, type ShellKind, type SidebarMenuItem, type SidebarMenuMessage, type SidebarNavItem, type SpanLike, type SubToolCall, type SubToolCallResult, type Telemetry, type TokenUsage, type ToolAnnotations, type ToolArtifact, type ToolArtifactInput, type ToolContext, type ToolDefinition, ToolExposure, type ToolProvider, type ToolResult, type Translate, type TranslateVars, type TrustExecGrant, type TrustGrant, type TrustLevel, type TrustManager, type TrustRecord, type TrustScope, type TrustTier, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_FIELDS, WIRE_APPEARANCE_RESPONSE_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_FIELDS, WIRE_ATTACHMENT_UPLOAD_FIELDS, WIRE_AUDIT_LOG_FIELDS, WIRE_AUDIT_ROW_FIELDS, WIRE_AUTH_COOKIE, WIRE_AUTH_COOKIE_ATTRS, WIRE_AUTH_TOKEN_PARAM, WIRE_BACKGROUND_TASK_FIELDS, WIRE_BLOCKED_GOALS_FIELDS, WIRE_BLOCKED_GOAL_FIELDS, WIRE_BLOCKED_LEVEL_FIELDS, WIRE_BUILTIN_CONNECTOR_FIELDS, WIRE_CACHED_APPROVAL_FIELDS, WIRE_CAPABILITIES_FIELDS, WIRE_CAPABILITY_PROJECT_FIELDS, WIRE_CHECKPOINT_LIST_FIELDS, WIRE_CHECKPOINT_SUMMARY_FIELDS, WIRE_COMMANDS_FIELDS, WIRE_COMMAND_EXPANSION_FIELDS, WIRE_COMPACT_FIELDS, WIRE_COMPRESSION_LINE_FIELDS, WIRE_CONFIG_FIELDS, WIRE_CONTEXT_FIELDS, WIRE_CREATE_SESSION_FIELDS, WIRE_CREATE_WORKSPACE_FIELDS, WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS, WIRE_CUSTOM_COMMAND_FIELDS, WIRE_DELETE_SESSION_FIELDS, WIRE_DIFF_FILE_FIELDS, WIRE_ERROR_FIELDS, WIRE_FILE_CANDIDATES_FIELDS, WIRE_FILE_CANDIDATE_FIELDS, WIRE_FILE_CHANGE_FIELDS, WIRE_FILE_OPEN_RESPONSE_FIELDS, WIRE_FILE_REFERENCE_FIELDS, WIRE_FILE_STAT_MAX, WIRE_FILE_STAT_OK_FIELDS, WIRE_FILE_STAT_REFUSED_FIELDS, WIRE_FILE_STAT_RESPONSE_FIELDS, WIRE_FILE_TEXT_RESPONSE_FIELDS, WIRE_FORGET_WORKSPACE_FIELDS, WIRE_FORGET_WORKSPACE_RESPONSE_FIELDS, WIRE_GOAL_ACTIONS, WIRE_GOAL_BLOCK_FIELDS, WIRE_GOAL_CLEAR_FIELDS, WIRE_GOAL_CREATE_FIELDS, WIRE_GOAL_FIELDS, WIRE_GOAL_LIMITS_FIELDS, WIRE_GOAL_PHASES, WIRE_GOAL_REFUSALS, WIRE_GOAL_RESPONSE_FIELDS, WIRE_GOAL_WRITE_FIELDS, WIRE_HEALTH_FIELDS, WIRE_IMAGE_REFERENCE_FIELDS, WIRE_KNOWN_WORKSPACE_FIELDS, WIRE_LANG_PARAM, WIRE_LAST_SESSION_FIELDS, WIRE_LAST_SESSION_RESPONSE_FIELDS, WIRE_MANAGED_LOCK_FIELDS, WIRE_MCP_ADD_FIELDS, WIRE_MCP_ADD_RESPONSE_FIELDS, WIRE_MCP_APPLY_ENTRY_FIELDS, WIRE_MCP_APPLY_RESPONSE_FIELDS, WIRE_MCP_CONFIG_APPLY_FIELDS, WIRE_MCP_CONFIG_FIELDS, WIRE_MCP_CONFIG_ISSUE_FIELDS, WIRE_MCP_CONFIG_SAVE_FIELDS, WIRE_MCP_CONFIG_SAVE_RESPONSE_FIELDS, WIRE_MCP_CONNECTOR_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_FIELDS, WIRE_MODEL_SUGGESTIONS_FIELDS, WIRE_PATCH_SESSION_FIELDS, WIRE_PATCH_SESSION_RESPONSE_FIELDS, WIRE_PERMISSION_RULE_FIELDS, WIRE_PERMISSION_SET_REQUEST_FIELDS, WIRE_PERMISSION_SET_RESPONSE_FIELDS, WIRE_PERMISSION_SHADOW_FIELDS, WIRE_PERMISSION_STATE_FIELDS, WIRE_PERMISSION_STATUS_FIELDS, WIRE_PLAN_ACTIONS, WIRE_PLAN_FIELDS, WIRE_PLAN_MODE_REQUEST_FIELDS, WIRE_PLAN_MODE_RESPONSE_FIELDS, WIRE_PLAN_MODE_STATE_FIELDS, WIRE_PLUGINS_FIELDS, WIRE_PLUGIN_ACTION_FIELDS, WIRE_PLUGIN_ARCHIVE_SUFFIXES, WIRE_PLUGIN_INSTALL_FIELDS, WIRE_PLUGIN_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_MARKETPLACE_FIELDS, WIRE_PLUGIN_MARKETPLACE_RESPONSE_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_REFRESH_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_UPLOAD_CONFIRM_FIELDS, WIRE_PLUGIN_UPLOAD_FIELDS, WIRE_PLUGIN_UPLOAD_FORM_FIELDS, WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_UPLOAD_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDERS_FIELDS, WIRE_PROVIDER_KEY_FIELDS, WIRE_PROVIDER_MODELS_FIELDS, WIRE_PROVIDER_OPTION_FIELDS, WIRE_QUESTION_LIST_FIELDS, WIRE_QUESTION_ROW_FIELDS, WIRE_RESPOND_APPROVAL_FIELDS, WIRE_RESPOND_APPROVAL_RESPONSE_FIELDS, WIRE_RESPOND_QUESTION_FIELDS, WIRE_RESPOND_QUESTION_RESPONSE_FIELDS, WIRE_REWIND_FILE_PLAN_FIELDS, WIRE_REWIND_OUTCOME_FIELDS, WIRE_REWIND_PREVIEW_FIELDS, WIRE_REWIND_REQUEST_FIELDS, WIRE_REWIND_RESPONSE_FIELDS, WIRE_REWIND_SCOPES, WIRE_ROLES_FIELDS, WIRE_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_FIELDS, WIRE_ROLE_REMOVE_FIELDS, WIRE_RUNNING_SCHEDULE_FIELDS, WIRE_SANDBOX_STATUS_FIELDS, WIRE_SCHEDULE_CAPABILITY_FIELDS, WIRE_SCHEDULE_CREATE_FIELDS, WIRE_SCHEDULE_DEFAULTS_FIELDS, WIRE_SCHEDULE_DELETE_FIELDS, WIRE_SCHEDULE_FIELDS, WIRE_SCHEDULE_FIX_FIELDS, WIRE_SCHEDULE_FIX_REQUEST_FIELDS, WIRE_SCHEDULE_ISSUE_CODES, WIRE_SCHEDULE_LIST_FIELDS, WIRE_SCHEDULE_PENDING_FIELDS, WIRE_SCHEDULE_RECORDING_FIELDS, WIRE_SCHEDULE_ROW_FIELDS, WIRE_SCHEDULE_RUNNING_FIELDS, WIRE_SCHEDULE_RUNS_FIELDS, WIRE_SCHEDULE_RUN_FIELDS, WIRE_SCHEDULE_SAVE_FIELDS, WIRE_SECURITY_FIELDS, WIRE_SECURITY_WORKSPACE_FIELDS, WIRE_SEND_MESSAGE_FIELDS, WIRE_SEND_MESSAGE_RESPONSE_FIELDS, WIRE_SESSION_CANDIDATES_FIELDS, WIRE_SESSION_CANDIDATE_FIELDS, WIRE_SESSION_FINISH_FIELDS, WIRE_SESSION_LIST_FIELDS, WIRE_SESSION_REFERENCE_FIELDS, WIRE_SESSION_RESPONSE_FIELDS, WIRE_SESSION_SUMMARY_FIELDS, WIRE_SESSION_WORKSPACE_FIELDS, WIRE_SESSION_WORKSPACE_RESPONSE_FIELDS, WIRE_SETTINGS_FIELDS, WIRE_SETTINGS_WRITE_FIELDS, WIRE_SETTINGS_WRITE_REQUEST_FIELDS, WIRE_SETTING_PENDING_FIELDS, WIRE_SETTING_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_DROP_SUFFIXES, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_SKILL_STAGE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, type WireAbortResponse, type WireAbout, type WireAgentEnvelope, type WireAgentEvent, type WireAgentRoleSummary, type WireAppearanceRequest, type WireAppearanceResponse, type WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, type WireAttachmentUploadResponse, type WireAuditCode, type WireAuditLog, type WireAuditOutcome, type WireAuditRow, type WireAuthDenyReason, type WireAuthDenyStatus, type WireAuthGuard, type WireAuthRequestView, type WireAuthVerdict, type WireBackgroundTask, type WireBindWorkspaceRequest, type WireBlockedGoal, type WireBlockedGoalsResponse, type WireBlockedLevel, type WireBuiltinConnector, type WireCachedApproval, type WireCachedDecision, type WireCapabilitiesResponse, type WireCapabilityProject, type WireCheckpointListResponse, type WireCheckpointSummary, type WireCommandExpansion, type WireCommandsResponse, type WireCompactRequest, type WireCompactResponse, type WireCompressionLine, type WireConfigResponse, type WireContextResponse, type WireCreateSessionRequest, type WireCreateSessionResponse, type WireCreateWorkspaceRequest, type WireCreateWorkspaceResponse, type WireCustomCommand, type WireDeleteSessionResponse, type WireDiffFile, type WireDiffNote, type WireDiffOmitReason, type WireDiffSource, type WireDiffStatus, type WireEnvelope, type WireErrorResponse, type WireEvent, type WireFields, type WireFileCandidate, type WireFileCandidatesResponse, type WireFileChange, type WireFileKind, type WireFileOpenRefusal, type WireFileOpenResponse, type WireFileReference, type WireFileRefusal, type WireFileStat, type WireFileStatOk, type WireFileStatRefused, type WireFileStatResponse, type WireFileTextResponse, type WireFixture, type WireFixtureCase, type WireForgetWorkspaceRequest, type WireForgetWorkspaceResponse, type WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHostCompose, type WireHostComposeRequest, type WireHostComposeResponse, type WireHostComposeStateResponse, type WireHostComposeTakeResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, type WireKnownWorkspaceRef, type WireLastSessionRequest, type WireLastSessionResponse, type WireManagedLock, type WireMcpAddRequest, type WireMcpAddResponse, type WireMcpApplyAction, type WireMcpApplyEntry, type WireMcpApplyResponse, type WireMcpConfigApplyRequest, type WireMcpConfigIssue, type WireMcpConfigResponse, type WireMcpConfigSaveRequest, type WireMcpConfigSaveResponse, type WireMcpConnector, type WireMcpReconnectResponse, type WireMessageListResponse, type WireModelCaveat, type WireModelProbeStatus, type WireModelRejection, type WireModelResponse, type WireModelSelection, type WireModelSetRequest, type WireModelSetResponse, type WireModelSource, type WireModelSuggestions, type WirePatchSessionRequest, type WirePatchSessionResponse, type WirePermissionRememberFailure, type WirePermissionRuleRow, type WirePermissionSetRequest, type WirePermissionSetResponse, type WirePermissionShadow, type WirePermissionState, type WirePermissionStatus, type WirePickDirectoryResponse, type WirePlanAction, type WirePlanModeRequest, type WirePlanModeResponse, type WirePlanModeState, type WirePlanResponse, type WirePluginActionResponse, type WirePluginCategory, type WirePluginCounts, type WirePluginDependency, type WirePluginDependencyInventory, type WirePluginDependencyStatus, type WirePluginDoc, type WirePluginDocs, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginMenuItem, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginPreviewStreamLine, type WirePluginProgressStep, type WirePluginRefreshResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginStatus, type WirePluginUpdateRequest, type WirePluginUploadChoice, type WirePluginUploadConfirmRequest, type WirePluginUploadField, type WirePluginUploadFieldName, type WirePluginUploadFields, type WirePluginUploadFile, type WirePluginUploadForm, type WirePluginUploadPlan, type WirePluginUploadPreviewResponse, type WirePluginUploadRequest, type WirePluginUploadResponse, type WirePluginVersionUnmet, type WirePluginVisibility, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, type WireProjectInventory, type WireProviderKeyRequest, type WireProviderKeyResponse, type WireProviderModelsRequest, type WireProviderModelsResponse, type WireProviderOption, type WireProviderSummary, type WireProvidersResponse, type WireQuestionListResponse, type WireQuestionRequest, type WireReplayMessage, type WireResetReason, type WireRespondApprovalRequest, type WireRespondApprovalResponse, type WireRespondQuestionRequest, type WireRespondQuestionResponse, type WireRewindAction, type WireRewindDrift, type WireRewindFilePlan, type WireRewindOutcome, type WireRewindPreview, type WireRewindRequest, type WireRewindResponse, type WireRewindScope, type WireRoleAddRequest, type WireRoleAddResponse, type WireRoleRemoveFailure, type WireRoleRemoveResponse, type WireRolesResponse, type WireRunningSchedule, type WireSandboxReason, type WireSandboxStatus, type WireScheduleCapability, type WireScheduleCreateRequest, type WireScheduleDefaults, type WireScheduleDeleteResponse, type WireScheduleFixRequest, type WireScheduleFixResponse, type WireScheduleIssue, type WireScheduleIssueCode, type WireScheduleListResponse, type WireSchedulePendingResponse, type WireScheduleRecordingResponse, type WireScheduleRegisterRefusal, type WireScheduleRegisterWarning, type WireScheduleRegistration, type WireScheduleResponse, type WireScheduleRow, type WireScheduleRunResponse, type WireScheduleRunningResponse, type WireScheduleRunsResponse, type WireScheduleSaveResponse, type WireScheduleUpdateRequest, type WireSecurityResponse, type WireSecurityWorkspace, type WireSendMessageRequest, type WireSendMessageResponse, type WireSessionCandidate, type WireSessionCandidatesResponse, type WireSessionFinish, type WireSessionListResponse, type WireSessionReference, type WireSessionResponse, type WireSessionSummary, type WireSessionWorkspace, type WireSessionWorkspaceResponse, type WireSettingApply, type WireSettingFutile, type WireSettingLayer, type WireSettingPending, type WireSettingRow, type WireSettingStep, type WireSettingValue, type WireSettingValueKind, type WireSettingWrite, type WireSettingWriteLayer, type WireSettingsResponse, type WireSettingsWriteRequest, type WireSettingsWriteResponse, type WireSkillBodyResponse, type WireSkillImportConflict, type WireSkillImportEntry, type WireSkillImportFailure, type WireSkillImportForm, type WireSkillImportIssue, type WireSkillImportPreviewResponse, type WireSkillImportResponse, type WireSkillRemoveFailure, type WireSkillRemoveResponse, type WireSkillStageFailure, type WireSkillStageResponse, type WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, type WireTrustRequestRequest, type WireTrustRequestResponse, type WireTurnState, type WireWorkspaceBinding, type WireWorkspaceDiffResponse, type WireWorkspaceDirEntry, type WireWorkspaceDirsResponse, type WireWorkspaceRef, apiKeyEnvVar, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, diagnosticToLine, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, flattenCatalog, formatMoney, getProviderInfo, hasFailure, imagePartOmittedSummary, isAppearanceLang, isAppearanceTheme, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, joinUploadMulti, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, splitUploadMulti, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
package/dist/index.js
CHANGED
|
@@ -437,59 +437,6 @@ var SCHEDULE_RUN_STATUSES = [
|
|
|
437
437
|
"skipped-window",
|
|
438
438
|
"missed"
|
|
439
439
|
];
|
|
440
|
-
// src/schedule-templates.ts
|
|
441
|
-
var REPORTS = "file_write(./reports/**)";
|
|
442
|
-
var SCHEDULE_TEMPLATES = [
|
|
443
|
-
{
|
|
444
|
-
id: "repo-sweep",
|
|
445
|
-
trigger: { kind: "cron", cycle: "daily", at: "09:00" },
|
|
446
|
-
permission: "default",
|
|
447
|
-
allowOperations: ["file_read"],
|
|
448
|
-
allowRules: [
|
|
449
|
-
"terminal(git status:*)",
|
|
450
|
-
"terminal(git branch:*)",
|
|
451
|
-
"terminal(git log:*)",
|
|
452
|
-
REPORTS
|
|
453
|
-
]
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
id: "todo-digest",
|
|
457
|
-
trigger: { kind: "cron", cycle: "daily", at: "08:30" },
|
|
458
|
-
permission: "plan",
|
|
459
|
-
allowTools: ["todo"],
|
|
460
|
-
allowOperations: ["file_read"],
|
|
461
|
-
allowRules: [REPORTS]
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
id: "weekly-digest",
|
|
465
|
-
trigger: { kind: "cron", cycle: "weekly", at: "18:00", weekdays: [5] },
|
|
466
|
-
permission: "default",
|
|
467
|
-
allowOperations: ["file_read"],
|
|
468
|
-
allowRules: ["terminal(gh pr list:*)", "terminal(gh issue list:*)", "mcp__github__*", REPORTS]
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
id: "dep-checkup",
|
|
472
|
-
trigger: { kind: "cron", cycle: "weekly", at: "10:00", weekdays: [1] },
|
|
473
|
-
permission: "default",
|
|
474
|
-
allowOperations: ["file_read"],
|
|
475
|
-
allowRules: ["terminal(pnpm outdated:*)", "terminal(pnpm audit:*)", REPORTS]
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
id: "stale-docs",
|
|
479
|
-
trigger: { kind: "cron", cycle: "monthly", at: "07:30", days: [1] },
|
|
480
|
-
permission: "plan",
|
|
481
|
-
allowOperations: ["file_read"],
|
|
482
|
-
allowRules: [REPORTS]
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
id: "test-flake",
|
|
486
|
-
trigger: { kind: "cron", cycle: "weekly", at: "20:00", weekdays: [3] },
|
|
487
|
-
permission: "default",
|
|
488
|
-
allowOperations: ["file_read"],
|
|
489
|
-
allowRules: ["terminal(pnpm test:*)", "terminal(pnpm vitest:*)", REPORTS],
|
|
490
|
-
timeoutMs: 40 * 6e4
|
|
491
|
-
}
|
|
492
|
-
];
|
|
493
440
|
// src/schedule-pending.ts
|
|
494
441
|
function unfixedRules(allowRules, approvals) {
|
|
495
442
|
const seen = new Set(allowRules);
|
|
@@ -1375,6 +1322,7 @@ var WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS = wireFields()({
|
|
|
1375
1322
|
reason: true,
|
|
1376
1323
|
detail: true
|
|
1377
1324
|
});
|
|
1325
|
+
var PLUGIN_PREVIEW_STREAM_MIME = "application/x-ndjson";
|
|
1378
1326
|
var WIRE_PLUGIN_ACTION_FIELDS = wireFields()({
|
|
1379
1327
|
ok: true,
|
|
1380
1328
|
entry: true,
|
|
@@ -1982,4 +1930,4 @@ var COMPLIANCE_ACTIONS = ["block", "mask", "warn", "off"];
|
|
|
1982
1930
|
var SECRET_SERVICE = "epoch-agent";
|
|
1983
1931
|
var MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
1984
1932
|
|
|
1985
|
-
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DiagnosticSink, FOLLOW_SYSTEM, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, KEY_ACTIONS, LANGS, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, NOOP_TELEMETRY, OPERATION_TYPES, OVERSIZE_RATIO, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MINUTES, SCHEDULE_RUN_STATUSES,
|
|
1933
|
+
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPEARANCE_LANGS, APPEARANCE_THEMES, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DiagnosticSink, FOLLOW_SYSTEM, GEN_AI, HEADLESS_INPUT_EVENT_TYPES, HEADLESS_INPUT_FORMATS, HEADLESS_OUTPUT_FORMATS, HEADLESS_PROTOCOL_VERSION, KEY_ACTIONS, LANGS, MAX_ATTACH_BYTES, MAX_ATTACH_FILES, MAX_ATTACH_TOTAL_BYTES, MAX_HEADER_CHARS, MAX_OPTIONS, MAX_QUESTIONS, MAX_SESSION_ATTACH_BYTES, MAX_SESSION_REFS, MCP_DATA_KEY_NAME, METRIC, MIN_OPTIONS, NOOP_TELEMETRY, OPERATION_TYPES, OVERSIZE_RATIO, PERMISSION_LEVELS, PLAN_OUTCOMES, PLUGIN_CATEGORY_DISPLAY_SEP, PLUGIN_MENU_MESSAGE_TYPE, PLUGIN_PREVIEW_STREAM_MIME, PLUGIN_UPLOAD_MULTI_SEP, PROVIDER_INFOS, PROVIDER_TYPES, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, SCHEDULE_DRAFT_TOOL, SCHEDULE_INTERVAL_MINUTES, SCHEDULE_RUN_STATUSES, SEARCH_API_KEY_ENV, SEARCH_PROVIDER_TYPES, SECRET_SERVICE, SEQUENCE_CONTEXTS, SESSION_MENTION_PREFIX, SESSION_REFERENCE_ERROR_CODES, SETTINGS_PANE_IDS, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, 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_UPLOAD_FIELDS, WIRE_AUDIT_LOG_FIELDS, WIRE_AUDIT_ROW_FIELDS, WIRE_AUTH_COOKIE, WIRE_AUTH_COOKIE_ATTRS, WIRE_AUTH_TOKEN_PARAM, WIRE_BACKGROUND_TASK_FIELDS, WIRE_BLOCKED_GOALS_FIELDS, WIRE_BLOCKED_GOAL_FIELDS, WIRE_BLOCKED_LEVEL_FIELDS, WIRE_BUILTIN_CONNECTOR_FIELDS, WIRE_CACHED_APPROVAL_FIELDS, WIRE_CAPABILITIES_FIELDS, WIRE_CAPABILITY_PROJECT_FIELDS, WIRE_CHECKPOINT_LIST_FIELDS, WIRE_CHECKPOINT_SUMMARY_FIELDS, WIRE_COMMANDS_FIELDS, WIRE_COMMAND_EXPANSION_FIELDS, WIRE_COMPACT_FIELDS, WIRE_COMPRESSION_LINE_FIELDS, WIRE_CONFIG_FIELDS, WIRE_CONTEXT_FIELDS, WIRE_CREATE_SESSION_FIELDS, WIRE_CREATE_WORKSPACE_FIELDS, WIRE_CREATE_WORKSPACE_RESPONSE_FIELDS, WIRE_CUSTOM_COMMAND_FIELDS, WIRE_DELETE_SESSION_FIELDS, WIRE_DIFF_FILE_FIELDS, WIRE_ERROR_FIELDS, WIRE_FILE_CANDIDATES_FIELDS, WIRE_FILE_CANDIDATE_FIELDS, WIRE_FILE_CHANGE_FIELDS, WIRE_FILE_OPEN_RESPONSE_FIELDS, WIRE_FILE_REFERENCE_FIELDS, WIRE_FILE_STAT_MAX, WIRE_FILE_STAT_OK_FIELDS, WIRE_FILE_STAT_REFUSED_FIELDS, WIRE_FILE_STAT_RESPONSE_FIELDS, WIRE_FILE_TEXT_RESPONSE_FIELDS, WIRE_FORGET_WORKSPACE_FIELDS, WIRE_FORGET_WORKSPACE_RESPONSE_FIELDS, WIRE_GOAL_ACTIONS, WIRE_GOAL_BLOCK_FIELDS, WIRE_GOAL_CLEAR_FIELDS, WIRE_GOAL_CREATE_FIELDS, WIRE_GOAL_FIELDS, WIRE_GOAL_LIMITS_FIELDS, WIRE_GOAL_PHASES, WIRE_GOAL_REFUSALS, WIRE_GOAL_RESPONSE_FIELDS, WIRE_GOAL_WRITE_FIELDS, WIRE_HEALTH_FIELDS, WIRE_IMAGE_REFERENCE_FIELDS, WIRE_KNOWN_WORKSPACE_FIELDS, WIRE_LANG_PARAM, WIRE_LAST_SESSION_FIELDS, WIRE_LAST_SESSION_RESPONSE_FIELDS, WIRE_MANAGED_LOCK_FIELDS, WIRE_MCP_ADD_FIELDS, WIRE_MCP_ADD_RESPONSE_FIELDS, WIRE_MCP_APPLY_ENTRY_FIELDS, WIRE_MCP_APPLY_RESPONSE_FIELDS, WIRE_MCP_CONFIG_APPLY_FIELDS, WIRE_MCP_CONFIG_FIELDS, WIRE_MCP_CONFIG_ISSUE_FIELDS, WIRE_MCP_CONFIG_SAVE_FIELDS, WIRE_MCP_CONFIG_SAVE_RESPONSE_FIELDS, WIRE_MCP_CONNECTOR_FIELDS, WIRE_MCP_RECONNECT_FIELDS, WIRE_MESSAGE_LIST_FIELDS, WIRE_MODEL_FIELDS, WIRE_MODEL_SELECTION_FIELDS, WIRE_MODEL_SET_FIELDS, WIRE_MODEL_SUGGESTIONS_FIELDS, WIRE_PATCH_SESSION_FIELDS, WIRE_PATCH_SESSION_RESPONSE_FIELDS, WIRE_PERMISSION_RULE_FIELDS, WIRE_PERMISSION_SET_REQUEST_FIELDS, WIRE_PERMISSION_SET_RESPONSE_FIELDS, WIRE_PERMISSION_SHADOW_FIELDS, WIRE_PERMISSION_STATE_FIELDS, WIRE_PERMISSION_STATUS_FIELDS, WIRE_PLAN_ACTIONS, WIRE_PLAN_FIELDS, WIRE_PLAN_MODE_REQUEST_FIELDS, WIRE_PLAN_MODE_RESPONSE_FIELDS, WIRE_PLAN_MODE_STATE_FIELDS, WIRE_PLUGINS_FIELDS, WIRE_PLUGIN_ACTION_FIELDS, WIRE_PLUGIN_ARCHIVE_SUFFIXES, WIRE_PLUGIN_INSTALL_FIELDS, WIRE_PLUGIN_LOCAL_FIELDS, WIRE_PLUGIN_LOCAL_INSTALL_FIELDS, WIRE_PLUGIN_MARKETPLACE_FIELDS, WIRE_PLUGIN_MARKETPLACE_RESPONSE_FIELDS, WIRE_PLUGIN_NAME_FIELDS, WIRE_PLUGIN_PREVIEW_FIELDS, WIRE_PLUGIN_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_REFRESH_RESPONSE_FIELDS, WIRE_PLUGIN_STAGE_FIELDS, WIRE_PLUGIN_STAGE_RESPONSE_FIELDS, WIRE_PLUGIN_UPDATE_FIELDS, WIRE_PLUGIN_UPLOAD_CONFIRM_FIELDS, WIRE_PLUGIN_UPLOAD_FIELDS, WIRE_PLUGIN_UPLOAD_FORM_FIELDS, WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS, WIRE_PLUGIN_UPLOAD_RESPONSE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_FIELDS, WIRE_PROJECT_INVENTORY_FIELDS, WIRE_PROVIDERS_FIELDS, WIRE_PROVIDER_KEY_FIELDS, WIRE_PROVIDER_MODELS_FIELDS, WIRE_PROVIDER_OPTION_FIELDS, WIRE_QUESTION_LIST_FIELDS, WIRE_QUESTION_ROW_FIELDS, WIRE_RESPOND_APPROVAL_FIELDS, WIRE_RESPOND_APPROVAL_RESPONSE_FIELDS, WIRE_RESPOND_QUESTION_FIELDS, WIRE_RESPOND_QUESTION_RESPONSE_FIELDS, WIRE_REWIND_FILE_PLAN_FIELDS, WIRE_REWIND_OUTCOME_FIELDS, WIRE_REWIND_PREVIEW_FIELDS, WIRE_REWIND_REQUEST_FIELDS, WIRE_REWIND_RESPONSE_FIELDS, WIRE_REWIND_SCOPES, WIRE_ROLES_FIELDS, WIRE_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_FIELDS, WIRE_ROLE_REMOVE_FIELDS, WIRE_RUNNING_SCHEDULE_FIELDS, WIRE_SANDBOX_STATUS_FIELDS, WIRE_SCHEDULE_CAPABILITY_FIELDS, WIRE_SCHEDULE_CREATE_FIELDS, WIRE_SCHEDULE_DEFAULTS_FIELDS, WIRE_SCHEDULE_DELETE_FIELDS, WIRE_SCHEDULE_FIELDS, WIRE_SCHEDULE_FIX_FIELDS, WIRE_SCHEDULE_FIX_REQUEST_FIELDS, WIRE_SCHEDULE_ISSUE_CODES, WIRE_SCHEDULE_LIST_FIELDS, WIRE_SCHEDULE_PENDING_FIELDS, WIRE_SCHEDULE_RECORDING_FIELDS, WIRE_SCHEDULE_ROW_FIELDS, WIRE_SCHEDULE_RUNNING_FIELDS, WIRE_SCHEDULE_RUNS_FIELDS, WIRE_SCHEDULE_RUN_FIELDS, WIRE_SCHEDULE_SAVE_FIELDS, WIRE_SECURITY_FIELDS, WIRE_SECURITY_WORKSPACE_FIELDS, WIRE_SEND_MESSAGE_FIELDS, WIRE_SEND_MESSAGE_RESPONSE_FIELDS, WIRE_SESSION_CANDIDATES_FIELDS, WIRE_SESSION_CANDIDATE_FIELDS, WIRE_SESSION_FINISH_FIELDS, WIRE_SESSION_LIST_FIELDS, WIRE_SESSION_REFERENCE_FIELDS, WIRE_SESSION_RESPONSE_FIELDS, WIRE_SESSION_SUMMARY_FIELDS, WIRE_SESSION_WORKSPACE_FIELDS, WIRE_SESSION_WORKSPACE_RESPONSE_FIELDS, WIRE_SETTINGS_FIELDS, WIRE_SETTINGS_WRITE_FIELDS, WIRE_SETTINGS_WRITE_REQUEST_FIELDS, WIRE_SETTING_PENDING_FIELDS, WIRE_SETTING_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_DROP_SUFFIXES, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_SKILL_STAGE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_FIELDS, WIRE_TRUST_REQUEST_FIELDS, WIRE_TRUST_REQUEST_RESPONSE_FIELDS, WIRE_WORKSPACE_DIFF_FIELDS, WIRE_WORKSPACE_DIRS_FIELDS, WIRE_WORKSPACE_DIR_ENTRY_FIELDS, WIRE_WORKSPACE_REF_FIELDS, apiKeyEnvVar, assertNeverPart, assistantTurnText, attachSessionSurface, chordId, collectPendingApprovals, compressionThresholdTokens, conformsToWire, contentToText, diagnosticToLine, extractAllMentions, extractMentions, extractSessionMentions, filePartSummary, flattenCatalog, formatMoney, getProviderInfo, hasFailure, imagePartOmittedSummary, isAppearanceLang, isAppearanceTheme, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isSettingsPaneId, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, joinUploadMulti, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, splitUploadMulti, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|