@epoch-agent/protocol 0.5.0 → 0.7.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 +350 -10
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1475,15 +1475,113 @@ declare const COMPLIANCE_ACTIONS: readonly ["block", "mask", "warn", "off"];
|
|
|
1475
1475
|
type ComplianceAction = (typeof COMPLIANCE_ACTIONS)[number];
|
|
1476
1476
|
|
|
1477
1477
|
/**
|
|
1478
|
-
*
|
|
1478
|
+
* 侧栏最下面那一行「用户」(2026-09-07)—— 宿主可以换掉的名字和头像。
|
|
1479
1479
|
*
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1480
|
+
* 这是「宿主装配期按下的事实」那条路上的**第五个键**(`brand` → `sidebarMenu`
|
|
1481
|
+
* → `blankCards` → `blankGreeting` → 这一个 → 同一天还多了个 `userMenu`):
|
|
1482
|
+
* 只读、`GET /api/config` 原样下发、界面上没有写端点。为什么是配置项而不是
|
|
1483
|
+
* `createWebServer()` 的装配参数,全文在
|
|
1484
|
+
* [`EpochConfig.brand`](./config.ts) 上(一句话:走 `epoch web --json` 起子进程的
|
|
1485
|
+
* 宿主没有构造函数可传)。
|
|
1486
|
+
*
|
|
1487
|
+
* ⚠️ **它和 `userMenu` 是同一天落的两个键,但管的不是同一件事**:这一个只管那一行
|
|
1488
|
+
* 上的**名字和头像**,那张菜单里有什么归 `userMenu`(判据在
|
|
1489
|
+
* [sidebar-menu.ts](./sidebar-menu.ts) 文件头第一节)。只配这一个的宿主得到
|
|
1490
|
+
* 「一行改了名字的触发器 + 一张只有『设置』的菜单」—— 那是一句说得通的话。
|
|
1491
|
+
*
|
|
1492
|
+
* ## ⚠️ 它和前四个键**默认档不同**:不配也有东西,而且照旧点得开
|
|
1493
|
+
*
|
|
1494
|
+
* 那一行是**设置的唯一入口**(点开是一张菜单,「设置」在最下面 —— 屏幕上那一格在
|
|
1495
|
+
* web 的 `shell/host-menu.tsx` 文件头)。所以「宿主没配」这一档**不能是空白**:
|
|
1496
|
+
*
|
|
1497
|
+
* | 键 | 没配 = 屏幕上 |
|
|
1498
|
+
* | --------------------- | ------------------------------------- |
|
|
1499
|
+
* | `brand` / `sidebarMenu` / `userMenu` / `blankCards` | 什么都没有 |
|
|
1500
|
+
* | `blankGreeting` | **我们那句**招呼(跟着界面语言翻) |
|
|
1501
|
+
* | 这一个 | **我们那句**「用户」+ 一枚 `user-round` |
|
|
1502
|
+
*
|
|
1503
|
+
* 也就是说它的形状照 `blankGreeting`(回落到我们自己那份),不是照 `brand`
|
|
1504
|
+
* (不给就不画)。判据是**这一格删不掉** —— 删了设置就没有入口了。
|
|
1505
|
+
*
|
|
1506
|
+
* ## 为什么文案收 `string` 而不是 `{ zh, en }`
|
|
1507
|
+
*
|
|
1508
|
+
* 和 `blankGreeting` 刻意不同,虽然两个键都有「我们那份译文」。差别在于**宿主给的
|
|
1509
|
+
* 那份是什么**:招呼是一句**话**(同一句话有中英两版才说得通),而这一格是一个
|
|
1510
|
+
* **名字**(「张三」/ 公司账号名 / 一个岗位)—— 名字不随界面语言变。
|
|
1511
|
+
* 收 `{ zh, en }` 的话,宿主要么两格填同一个字符串(那就是白填一次),要么被这个
|
|
1512
|
+
* 形状暗示着去给自己的用户名编一个英文版。
|
|
1513
|
+
*
|
|
1514
|
+
* ⚠️ 所以**没配那一档才是有译文的那一档**(`web.ui.sidebar.user`:中文「用户」/
|
|
1515
|
+
* 英文「Account」),宿主一配就整个换成宿主的话、一个字不翻 —— 同 `SidebarMenuItem`
|
|
1516
|
+
* 的 `label`、同启动诊断的 `detail`。
|
|
1517
|
+
*/
|
|
1518
|
+
/**
|
|
1519
|
+
* 那一行上的名字和头像。**整个键不配 = 我们那句「用户」+ `user-round`**。
|
|
1520
|
+
*
|
|
1521
|
+
* ⚠️ 两个字段都是**宿主的话/宿主的选择**,`label` 一个字都不过 i18n catalog。
|
|
1522
|
+
*/
|
|
1523
|
+
interface HostUser {
|
|
1524
|
+
/**
|
|
1525
|
+
* 屏幕上那几个字。空串是配错了(不想改就别写这个键),core 的 schema 会拦。
|
|
1526
|
+
*
|
|
1527
|
+
* ⚠️ **必填,而不是「可以只配一枚图标」**:这一格的宾语是「谁在用这个 agent」,
|
|
1528
|
+
* 而一个换了头像却还叫「用户」的行没有回答那个问题。只想换图标的宿主照旧要把
|
|
1529
|
+
* 名字写出来 —— 那时它写的是它心里那个词(「账号」/「我」),而那正是这个键
|
|
1530
|
+
* 存在的理由。
|
|
1531
|
+
*
|
|
1532
|
+
* 不设长度上限(判据同 `brand`:为「名字有点长」判一次校验失败,代价是宿主整份
|
|
1533
|
+
* 配置退默认值)。装不下由界面收省略号。
|
|
1534
|
+
*/
|
|
1535
|
+
label: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* 行首那枚图标的名字。**不给就落 `user-round`**(那一枚是这一格的兜底,
|
|
1538
|
+
* 不是一个「没有图标」的档)。
|
|
1539
|
+
*
|
|
1540
|
+
* ⚠️ 类型是 `string` 而不是联合,认哪几个名字由第一方 Web UI 说了算(一张
|
|
1541
|
+
* **白名单**,判据在 web 的 `shell/host-menu.tsx` 的 `HOST_ICONS` 上),
|
|
1542
|
+
* **认不出来的当没给** —— 逐字同 [`SidebarMenuItem.icon`](./sidebar-menu.ts):
|
|
1543
|
+
* 图标名是那张界面的私有词表,写进契约等于对宿主承诺那三十几个名字一个都不改。
|
|
1544
|
+
*/
|
|
1545
|
+
icon?: string;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* 宿主自定义的侧栏菜单项(2026-09-02)—— **一个形状,两个键**(2026-09-07 拆开)。
|
|
1550
|
+
*
|
|
1551
|
+
* 这个文件里的 {@link SidebarMenuItem} 是**两个配置键共用的那一个 item 形状**:
|
|
1552
|
+
*
|
|
1553
|
+
* | 键 | 画在哪 | 不配 = |
|
|
1554
|
+
* | -- | ------ | ------ |
|
|
1555
|
+
* | `EpochConfig.sidebarMenu` | 侧栏底部「用户」那一行**上面**的几行常驻按钮 | 那几行整个没有 |
|
|
1556
|
+
* | `EpochConfig.userMenu` | 「用户」点开的那张菜单里的宿主项(排在「设置」上面) | 菜单里只有「设置」,**连分隔线都没有** |
|
|
1557
|
+
*
|
|
1558
|
+
* ⚠️ **两个键互不兜底**,这是拆开那一笔的全部内容(老板原话:「不行,需要是两个
|
|
1559
|
+
* 配置」):只配 `sidebarMenu` 的宿主得到几行常驻按钮、菜单里**一项宿主项都没有**;
|
|
1560
|
+
* 只配 `userMenu` 的反过来。谁都不去拿另一个顶上 —— 那种兜底的表现是宿主配了一个键
|
|
1561
|
+
* 却在**两处**都看见东西,而它想改掉多出来的那一处时会发现没有对应的键可关。
|
|
1562
|
+
* 判据在 web 的 `shell/sidebar.tsx` 上(两个常量各判一次「键在且非空数组」)。
|
|
1563
|
+
*
|
|
1564
|
+
* ⚠️ **类型名照旧是 `SidebarMenuItem`,没有跟着拆成两个**。它是**同一个形状**
|
|
1565
|
+
* (`id` / `label` / `icon` 三个字段,一个字都不差),为「这一份是给哪个键的」造第二个
|
|
1566
|
+
* 名字只会多一处要同步的地方 —— 而两个键的 item 真要长得不一样的那天,那时才拆。
|
|
1567
|
+
*
|
|
1568
|
+
* 2026-09-02 到 09-07 之间它只有一个键(`sidebarMenu`),中途还有过**同一份 items
|
|
1569
|
+
* 画在两处**的一版(当天定稿就被否了,见上面那条 ⚠️)。宿主那侧接的那句 `message`
|
|
1570
|
+
* 监听**从头到尾一个字没改** —— 见下面「点下去发生什么」。
|
|
1571
|
+
*
|
|
1572
|
+
* 形状和口径逐字照 `EpochConfig.brand`(决定 19):**宿主装配期预置的配置项,
|
|
1573
|
+
* 界面上没有写端点**,`GET /api/config` 原样下发、没配就不带那个键。
|
|
1482
1574
|
* 为什么是配置项而不是 `createWebServer()` 的参数,全文在那个字段上
|
|
1483
1575
|
* (一句话:走 `epoch web --json` 起子进程的宿主没有构造函数可传)。
|
|
1484
1576
|
*
|
|
1485
1577
|
* ## 点下去发生什么:往父窗口发一条 `postMessage`,**不跳页**
|
|
1486
1578
|
*
|
|
1579
|
+
* ⚠️ **两个键共用这一条消息,而且不带「来源」** —— 点侧栏那几行和点菜单里那几项发出去
|
|
1580
|
+
* 的东西**逐字节一样**(`{ type, id }`)。刻意的:宿主已经拿 `id` 认出了是哪一项,
|
|
1581
|
+
* 而那个 `id` 出自它自己那份配置 —— 它当然知道自己把那一项配在了哪个键上。
|
|
1582
|
+
* 多带一个 `from: 'sidebar' | 'menu'` 的代价是**宿主那句监听得跟着改**,
|
|
1583
|
+
* 换来的是一个它本来就答得出的答案。
|
|
1584
|
+
*
|
|
1487
1585
|
* 这是这一格和 `brand` 唯一的形状差别 —— 品牌是一个字符串,菜单是一个**动作**,
|
|
1488
1586
|
* 而动作要有个落点。三条路里选了这一条:
|
|
1489
1587
|
*
|
|
@@ -1523,7 +1621,9 @@ type ComplianceAction = (typeof COMPLIANCE_ACTIONS)[number];
|
|
|
1523
1621
|
* `message`**,所以宿主发什么进来都改不动这张页的任何状态。
|
|
1524
1622
|
*/
|
|
1525
1623
|
/**
|
|
1526
|
-
*
|
|
1624
|
+
* 侧栏菜单里的一项。**`sidebarMenu` 和 `userMenu` 两个键共用这一个形状**
|
|
1625
|
+
* (见文件头第一节那张表)—— 名字里的 `Sidebar` 是它 2026-09-02 出生时的位置,
|
|
1626
|
+
* 不是「只给 `sidebarMenu` 用」的意思。
|
|
1527
1627
|
*
|
|
1528
1628
|
* ⚠️ 三个字段都是**宿主的话**,一个都不过 i18n catalog —— 同侧栏底下那几条启动
|
|
1529
1629
|
* 诊断的 `detail`:它们的内容随宿主而变,没有有限的码可以枚举。用户把界面切成
|
|
@@ -1533,8 +1633,13 @@ interface SidebarMenuItem {
|
|
|
1533
1633
|
/**
|
|
1534
1634
|
* 宿主自己认的那个码 —— 点下去原样回给它({@link SidebarMenuMessage.id})。
|
|
1535
1635
|
*
|
|
1536
|
-
* ⚠️
|
|
1537
|
-
*
|
|
1636
|
+
* ⚠️ **一个键里不许重复**(core 的 schema 拦这一条,两个键各拦自己那一份):
|
|
1637
|
+
* 重了的话宿主收到消息也分不出用户按的是哪一行,而屏幕上那两行长得完全不一样。
|
|
1638
|
+
*
|
|
1639
|
+
* ⚠️ **跨键重复反过来不拦,而且它是一句说得通的话**:同一个 `id` 同时配进
|
|
1640
|
+
* `sidebarMenu` 和 `userMenu`,意思是「这个去处两处都摆一份」—— 那时两处点下去
|
|
1641
|
+
* 发的是同一条消息,宿主那侧本来就该做同一件事(判据在文件头「两个键共用这一条
|
|
1642
|
+
* 消息」那一段)。要拦的话得让 schema 跨字段看,而它拦掉的是一个正当写法。
|
|
1538
1643
|
*
|
|
1539
1644
|
* 它**不是**给人看的,所以不必好读;给人看的是 {@link label}。
|
|
1540
1645
|
*/
|
|
@@ -2066,7 +2171,29 @@ interface EpochConfig {
|
|
|
2066
2171
|
*/
|
|
2067
2172
|
brand?: string;
|
|
2068
2173
|
/**
|
|
2069
|
-
*
|
|
2174
|
+
* 宿主自定义的**侧栏那几行常驻按钮**(2026-09-02;2026-09-07 语义收窄成只管
|
|
2175
|
+
* 这一处)。**缺省 = 侧栏上那几行整个没有**,那一格里只剩「用户」那一行。
|
|
2176
|
+
*
|
|
2177
|
+
* 画的位置是侧栏底部「用户」那一行**上面**,一行一个宿主入口。
|
|
2178
|
+
*
|
|
2179
|
+
* ## ⚠️ 2026-09-07:这个键**不再管那张菜单**,菜单归 {@link userMenu}
|
|
2180
|
+
*
|
|
2181
|
+
* 中间有过一版「同一份 items 画在两处」(侧栏那几行 + 用户菜单里那几项),
|
|
2182
|
+
* 当天就被否了(老板原话:「不行,需要是两个配置」)。今天是**两个键各管各的面**:
|
|
2183
|
+
*
|
|
2184
|
+
* | 键 | 画在哪 |
|
|
2185
|
+
* | -- | ------ |
|
|
2186
|
+
* | 这一个 | 只画侧栏底部那几行常驻按钮 |
|
|
2187
|
+
* | {@link userMenu} | 只画「用户」点开的那张菜单里的宿主项 |
|
|
2188
|
+
*
|
|
2189
|
+
* ⚠️ **两个键互不兜底**:配了这一个、菜单里**一项宿主项都没有**(只剩「设置」,
|
|
2190
|
+
* 连分隔线都没有);配了 `userMenu`、侧栏上**一行都不多**。判据(以及那种兜底
|
|
2191
|
+
* 为什么是坏的)在 [sidebar-menu.ts](./sidebar-menu.ts) 文件头第一节。
|
|
2192
|
+
*
|
|
2193
|
+
* ⚠️ **这个键自己的形状一个字都没改** —— `id` / `label` / `icon` 三个字段、
|
|
2194
|
+
* 点下去那条 `postMessage`、顺序原样、空数组算配错,全部照旧。宿主已经接好的
|
|
2195
|
+
* 那句 `message` 监听不用动;要动的只是「原来那一份也在菜单里」的宿主,
|
|
2196
|
+
* 它把想留在菜单里的那几项抄进 `userMenu` 就行。
|
|
2070
2197
|
*
|
|
2071
2198
|
* 形状、口径、以及「点下去往父窗口发一条 `postMessage`」那条判据,全文在
|
|
2072
2199
|
* [sidebar-menu.ts](./sidebar-menu.ts) 的文件头 —— 这儿只记它和 {@link brand}
|
|
@@ -2074,7 +2201,7 @@ interface EpochConfig {
|
|
|
2074
2201
|
* 原样下发、没配就不带那个键),所以它们并排放在顶层,而不是塞进 `display`
|
|
2075
2202
|
* (那一段收的是**用户**的显示偏好)。
|
|
2076
2203
|
*
|
|
2077
|
-
* ⚠️
|
|
2204
|
+
* ⚠️ **空数组是配错了,不是「不要那几行」** —— 不要就别写这个键,同 `brand`
|
|
2078
2205
|
* 那条「空串是配错了」。core 的 schema 会为它产出一条带字段路径的 warn 诊断。
|
|
2079
2206
|
*
|
|
2080
2207
|
* ⚠️ **不设条数上限**,判据同 `brand` 的「不设长度上限」:为「菜单有点长」判一次
|
|
@@ -2082,6 +2209,41 @@ interface EpochConfig {
|
|
|
2082
2209
|
* 兜(web 那一格滚动),不由校验兜。
|
|
2083
2210
|
*/
|
|
2084
2211
|
sidebarMenu?: readonly SidebarMenuItem[];
|
|
2212
|
+
/**
|
|
2213
|
+
* 宿主自定义的**「用户」菜单里那几项**(2026-09-07)。**缺省 = 那张菜单里只有
|
|
2214
|
+
* 内置的「设置」一项,连那道分隔线都没有**。
|
|
2215
|
+
*
|
|
2216
|
+
* 「用户」是侧栏最底下那一行(名字和头像归 {@link user}),点开是一张菜单:
|
|
2217
|
+
* 这个键那几项在最上面 → 一道分隔线 → 内置的「设置」(带 `⌘,` 芯片,
|
|
2218
|
+
* **永远最下面、不可配**)。
|
|
2219
|
+
*
|
|
2220
|
+
* ## ⚠️ 它和 {@link sidebarMenu} 是**两个配置,互相不兜底**
|
|
2221
|
+
*
|
|
2222
|
+
* 这个键 2026-09-07 从 `sidebarMenu` 里**拆出来**的 —— 那天中途有一版是「同一份
|
|
2223
|
+
* items 两处都画」,当天被否(老板原话:「不行,需要是两个配置」)。所以:
|
|
2224
|
+
*
|
|
2225
|
+
* - 只配 `sidebarMenu` → 有那几行,**菜单里一项宿主项都没有**;
|
|
2226
|
+
* - 只配这一个 → **侧栏上一行都不多**,菜单里有那几项;
|
|
2227
|
+
* - 两个都配 → 两处各画各的(内容可以完全不一样,那正是拆开的用处)。
|
|
2228
|
+
*
|
|
2229
|
+
* **不许拿另一个顶上。** 那种兜底的表现是宿主配了一个键却在两处都看见东西,
|
|
2230
|
+
* 而它想关掉多出来的那一处时会发现没有对应的键可关。
|
|
2231
|
+
*
|
|
2232
|
+
* ## 形状:和 {@link sidebarMenu} **逐字同一个**
|
|
2233
|
+
*
|
|
2234
|
+
* 同一个 {@link SidebarMenuItem}(`id` / `label` / `icon`)、同一条
|
|
2235
|
+
* `postMessage`(`{ type: 'epoch:sidebar-menu', id }`,**不带来源**)、
|
|
2236
|
+
* 同一张图标白名单、同一枚兜底图标。全文在
|
|
2237
|
+
* [sidebar-menu.ts](./sidebar-menu.ts) 的文件头 —— 那个文件现在是**两个键共用**的
|
|
2238
|
+
* 一份说明,`SidebarMenuItem` 这个名字里的 `Sidebar` 是它出生时的位置,
|
|
2239
|
+
* 不是「只给 `sidebarMenu` 用」。
|
|
2240
|
+
*
|
|
2241
|
+
* ⚠️ 三条边界也逐字照那一个:**空数组是配错了**(不要就别写这个键,core 的 schema
|
|
2242
|
+
* 为这个键产出一条带自己字段路径的 warn 诊断)、**`id` 不许重复**(在这个键内部;
|
|
2243
|
+
* 跨键重复不拦,那是「两处都摆一份」)、**不设条数上限**(装不下由那张菜单
|
|
2244
|
+
* 自己滚,判据在 web 的 `menu/index.tsx` 的 `placeMenu` 上)。
|
|
2245
|
+
*/
|
|
2246
|
+
userMenu?: readonly SidebarMenuItem[];
|
|
2085
2247
|
/**
|
|
2086
2248
|
* 宿主自定义的那几张开场卡片(2026-09-04)。**缺省 = 新会话空屏上一张都没有**,
|
|
2087
2249
|
* 那一屏仍然只有一行招呼。
|
|
@@ -2117,6 +2279,25 @@ interface EpochConfig {
|
|
|
2117
2279
|
* 每一样文案的 `{ zh, en }` 也不许一格都不给、不许是空串 —— 判据同 {@link brand}。
|
|
2118
2280
|
*/
|
|
2119
2281
|
blankGreeting?: BlankGreeting;
|
|
2282
|
+
/**
|
|
2283
|
+
* 侧栏最下面那一行「用户」的名字和头像(2026-09-07)。**缺省 = 我们那句「用户」
|
|
2284
|
+
* + 一枚 `user-round`**,那一行**永远在** —— 它是设置的唯一入口。
|
|
2285
|
+
*
|
|
2286
|
+
* ⚠️ **它只管那一行上的名字和头像,不管那张菜单里有什么** —— 菜单里的宿主项归
|
|
2287
|
+
* {@link userMenu}(那是拆出来的第二个键)。两个键并排、各管一格:
|
|
2288
|
+
* 只配这一个的宿主得到「一行改了名字的触发器 + 一张只有『设置』的菜单」,
|
|
2289
|
+
* 而那是一句说得通的话。
|
|
2290
|
+
*
|
|
2291
|
+
* 形状、以及「为什么这一格的默认档和上面四个键相反」,全文在
|
|
2292
|
+
* [host-user.ts](./host-user.ts) 的文件头 —— 这儿只记它和它们的**关系**:
|
|
2293
|
+
* 同一类东西(宿主装配期按下的事实、只读、`GET /api/config` 原样下发、
|
|
2294
|
+
* 没配就不带这个键),所以并排放在顶层,不进 `display`(那一段收的是**用户**的
|
|
2295
|
+
* 显示偏好)。
|
|
2296
|
+
*
|
|
2297
|
+
* ⚠️ **不配和配了都不影响那一行画不画**,这是它和 {@link brand} 的硬差别:
|
|
2298
|
+
* `brand` 是「那一格显不显示」的开关,这一个只换里面的字和图标。
|
|
2299
|
+
*/
|
|
2300
|
+
user?: HostUser;
|
|
2120
2301
|
/**
|
|
2121
2302
|
* `~/.epoch/artifacts/` 的保留策略(方案 47 PR-4)。**缺省 = 内置默认**
|
|
2122
2303
|
* (7 天 / 512MB)—— 整段不配和显式写这两个默认值,行为逐字节相同。
|
|
@@ -4014,6 +4195,131 @@ declare function unfixedRules(allowRules: readonly string[], approvals: readonly
|
|
|
4014
4195
|
*/
|
|
4015
4196
|
declare function collectPendingApprovals(defs: readonly ScheduleDefinition[], runs: readonly ScheduleRun[]): SchedulePendingItem[];
|
|
4016
4197
|
|
|
4198
|
+
/**
|
|
4199
|
+
* 模型在对话里交上来的一份定时任务**草稿**。
|
|
4200
|
+
*
|
|
4201
|
+
* `epoch schedule add` 和自动化面板那张表单是两条**人操作**的写入路。这一份是
|
|
4202
|
+
* 第三条来路,而它**不是写入路** —— 草稿谁都落不了库,它只是一份摆到人眼前的
|
|
4203
|
+
* 提案。真正落库的仍然是那两条:人点「审阅并保存」之后走的是同一个
|
|
4204
|
+
* `POST /api/schedules`,人粘贴命令行走的是同一个 `epoch schedule add`。
|
|
4205
|
+
*
|
|
4206
|
+
* ## ⚠️ 三条硬约束都摊在类型上,不靠注释(照 [schedule-templates.ts](./schedule-templates.js) 那三条办)
|
|
4207
|
+
*
|
|
4208
|
+
* | 要守住的 | 落在类型的哪一格 |
|
|
4209
|
+
* | ------------------------------ | -------------------------------------------------------------------- |
|
|
4210
|
+
* | 模型不许把任务放到「跳过全部检查」 | {@link ScheduleDraftPermission} 的取值里**没有** `bypass` |
|
|
4211
|
+
* | 填进表单后**必须让用户过一遍** | 整份形状里**没有** `maxBudgetUsd`,而它是必填 —— 表单因此保存不了 |
|
|
4212
|
+
* | 草稿不是写入路 | 这里只有数据,没有 id 生成、没有 `enabled`、没有 `createdAt` |
|
|
4213
|
+
*
|
|
4214
|
+
* 第二条是三条里最要紧的,而它和模板那一条**是同一条**:预算必填、没有默认值
|
|
4215
|
+
* (方案 45 §3.5),于是一份草稿填进表单之后那个保存按钮**天然是灰的**,
|
|
4216
|
+
* 用户不看完那一屏就出不去。写成「草稿里预填 0.50 + 一句『请检查』」的话,
|
|
4217
|
+
* 「必须过一遍」就退化成一句没人读的话 —— 而这一格错了的后果很具体:
|
|
4218
|
+
* 一觉醒来 40 美元。
|
|
4219
|
+
*
|
|
4220
|
+
* ## 为什么住在 protocol
|
|
4221
|
+
*
|
|
4222
|
+
* 和 `SCHEDULE_TEMPLATES` 同一个理由,而且更硬一档:这一份的**两端都要读它** ——
|
|
4223
|
+
* core 那侧要解析模型发来的入参(`tools/builtin/schedule-draft.ts`),
|
|
4224
|
+
* `packages/web` 那侧要从那次工具调用的入参里把它读回来渲染成一张卡片
|
|
4225
|
+
* (`thread/rows.ts`,照 `todo` 的先例)。web 只依赖 protocol + view,够不着 core。
|
|
4226
|
+
*
|
|
4227
|
+
* ## ⚠️ 这里一个中文字都没有
|
|
4228
|
+
*
|
|
4229
|
+
* 判据同 schedule-templates.ts 最后一节:措辞在 `locales/*.yaml` 的
|
|
4230
|
+
* `web.ui.thread.draft_*` 底下(卡片)和 core 的工具输出里(给模型看的那半,
|
|
4231
|
+
* 按 `locales/zh.yaml` 的范围说明不进 catalog)。
|
|
4232
|
+
*/
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* 那个工具的名字。**真源在这儿而不是 core**,因为读它的有两个包:
|
|
4236
|
+
* core 注册工具时用它,web 从工具流里认出那次调用时用它
|
|
4237
|
+
* (`thread/rows.ts`)。
|
|
4238
|
+
*
|
|
4239
|
+
* ⚠️ 这一点上它和隔壁 `TODO_TOOL` 的做法不一样:那个名字今天在
|
|
4240
|
+
* `web/src/thread/rows.ts` 里另写了一份字面量(那时 protocol 里没有落脚点)。
|
|
4241
|
+
* 别照那个抄 —— 两份字面量漂了的表现是「卡片再也不渲染了」,而 typecheck
|
|
4242
|
+
* 一声不响。
|
|
4243
|
+
*/
|
|
4244
|
+
declare const SCHEDULE_DRAFT_TOOL = "schedule_draft";
|
|
4245
|
+
/**
|
|
4246
|
+
* 草稿能落在哪几档权限上 —— **`bypass` 不在里面**。
|
|
4247
|
+
*
|
|
4248
|
+
* 不是「运行期会拒绝」,是那一档在类型上根本不存在(判据同
|
|
4249
|
+
* `ScheduleTemplate.permission`)。理由比模板那一侧更直接:`bypass` 要一次
|
|
4250
|
+
* 二次确认(`bypass-not-confirmed`),而那次确认的**对象是人**;让模型提议
|
|
4251
|
+
* 一个「等着人去勾确认框」的档位,等于把那道确认变成一道例行手续。
|
|
4252
|
+
*
|
|
4253
|
+
* 用户自己想要那一档时照旧走表单 —— 那条路一个字都没改。
|
|
4254
|
+
*/
|
|
4255
|
+
type ScheduleDraftPermission = Exclude<PermissionLevel, 'bypass'>;
|
|
4256
|
+
/** 草稿里那份清单。三个字段各自**可选**:没提到的一格 = 「这一格我没意见」 */
|
|
4257
|
+
interface ScheduleDraftAllowlist {
|
|
4258
|
+
allowTools?: readonly string[];
|
|
4259
|
+
allowOperations?: readonly OperationType[];
|
|
4260
|
+
allowRules?: readonly string[];
|
|
4261
|
+
}
|
|
4262
|
+
/** 起草一条新任务 */
|
|
4263
|
+
interface ScheduleDraftCreate extends ScheduleDraftAllowlist {
|
|
4264
|
+
action: 'create';
|
|
4265
|
+
name: string;
|
|
4266
|
+
prompt: string;
|
|
4267
|
+
trigger: ScheduleTrigger;
|
|
4268
|
+
/** 工作目录。不给就是引擎那份缺省(`~/.epoch/automation/<id>/`) */
|
|
4269
|
+
workDir?: string;
|
|
4270
|
+
permission: ScheduleDraftPermission;
|
|
4271
|
+
/**
|
|
4272
|
+
* 为什么建议这一条,一句话。**给人看的**,会印在卡片上。
|
|
4273
|
+
*
|
|
4274
|
+
* 必填,而这是刻意的:一条凭空出现在对话里的定时任务,用户第一个问题
|
|
4275
|
+
* 一定是「你为什么觉得我需要它」。答不上来的提案不该提。
|
|
4276
|
+
*/
|
|
4277
|
+
note: string;
|
|
4278
|
+
}
|
|
4279
|
+
/**
|
|
4280
|
+
* 提议改一条**已有**的任务。
|
|
4281
|
+
*
|
|
4282
|
+
* 每一格都可选(`undefined` = 这一格不动),但至少要动一格 —— 一份什么都不改的
|
|
4283
|
+
* 提案是在浪费用户的一次点击。这条判定在 core 那侧
|
|
4284
|
+
* (`schedule/draft.ts` 的 `draft-update-empty`)。
|
|
4285
|
+
*
|
|
4286
|
+
* ## ⚠️ 「放宽」和别的改动在类型上长得一样,所以判定必须在别处
|
|
4287
|
+
*
|
|
4288
|
+
* 把超时从 10 分钟调到 30 分钟,和往清单里加一条 `terminal(rm:*)`,在这个形状里
|
|
4289
|
+
* 是同一种东西:几个可选字段。而后者是**提权**。所以两个宿主都必须自己把
|
|
4290
|
+
* 「这次提案放宽了什么」单独标出来(web 的卡片、core 的工具输出),
|
|
4291
|
+
* 不许把它混在一列改动里 —— 用户扫一眼就点保存的那一下,正是这条要防的。
|
|
4292
|
+
*/
|
|
4293
|
+
interface ScheduleDraftUpdate extends ScheduleDraftAllowlist {
|
|
4294
|
+
action: 'update';
|
|
4295
|
+
/** 改哪一条。模型得先用 `action: 'list'` 看见 id,界面上那串它猜不出来 */
|
|
4296
|
+
id: string;
|
|
4297
|
+
name?: string;
|
|
4298
|
+
prompt?: string;
|
|
4299
|
+
trigger?: ScheduleTrigger;
|
|
4300
|
+
workDir?: string;
|
|
4301
|
+
permission?: ScheduleDraftPermission;
|
|
4302
|
+
enabled?: boolean;
|
|
4303
|
+
maxTurns?: number;
|
|
4304
|
+
timeoutMs?: number;
|
|
4305
|
+
/** 同 {@link ScheduleDraftCreate.note},必填 */
|
|
4306
|
+
note: string;
|
|
4307
|
+
}
|
|
4308
|
+
type ScheduleDraft = ScheduleDraftCreate | ScheduleDraftUpdate;
|
|
4309
|
+
/**
|
|
4310
|
+
* 一次提案里「放宽了什么」的分类。
|
|
4311
|
+
*
|
|
4312
|
+
* 只有三类,而三类都是**授权面变大**的方向:档位往松走、清单多了条目、
|
|
4313
|
+
* 从停用变成启用。别往里加「超时变长」这种 —— 它花的是钱和时间,不是权限,
|
|
4314
|
+
* 而把两种东西混进同一枚警示标,那枚标就不再有信息量。
|
|
4315
|
+
*
|
|
4316
|
+
* 判定在 core(`schedule/draft.ts` 的 `draftWidening`),渲染在 web
|
|
4317
|
+
* (`thread/schedule-draft.tsx`)—— 两侧各算一遍是刻意的,判据同
|
|
4318
|
+
* `web/src/thread/rows.ts` 文件头那条:web 读的是**模型发出的原始入参**,
|
|
4319
|
+
* 而不是 core 归一化之后的结论。
|
|
4320
|
+
*/
|
|
4321
|
+
type ScheduleWideningKind = 'permission' | 'allowlist' | 'enabled';
|
|
4322
|
+
|
|
4017
4323
|
/**
|
|
4018
4324
|
* 工作区信任契约。
|
|
4019
4325
|
*
|
|
@@ -6155,7 +6461,13 @@ interface WireConfigResponse {
|
|
|
6155
6461
|
*/
|
|
6156
6462
|
brand?: string;
|
|
6157
6463
|
/**
|
|
6158
|
-
*
|
|
6464
|
+
* 宿主自定义的**侧栏那几行常驻按钮** —— **宿主没配就没有这个键**(2026-09-02)。
|
|
6465
|
+
*
|
|
6466
|
+
* ⚠️ **2026-09-07 语义收窄成只管那几行**:那天中途有一版把这一份同时画进
|
|
6467
|
+
* 「用户」那张菜单里,当天定稿否了它 —— 菜单里的宿主项从此是**另一个键**
|
|
6468
|
+
* ({@link userMenu}),两个键**互不兜底**。**网线上这一格的形状一个字都没改**,
|
|
6469
|
+
* 加的是并排那个新键;而画在哪儿本来就是那张界面自己的排版决定,
|
|
6470
|
+
* 这条端点也服务着自己画前端的宿主(EMBEDDING §10)。
|
|
6159
6471
|
*
|
|
6160
6472
|
* 和 {@link brand} 同一个形状、同一个理由,连搭在这条端点上的理由都一样:
|
|
6161
6473
|
* 侧栏首屏就要画它,为一份可选的静态清单另开一个端点等于让每个客户端多一次往返。
|
|
@@ -6169,6 +6481,21 @@ interface WireConfigResponse {
|
|
|
6169
6481
|
* 第一方 Web UI 自己的事,而这条端点也服务着自己画前端的宿主(EMBEDDING §10)。
|
|
6170
6482
|
*/
|
|
6171
6483
|
sidebarMenu?: readonly SidebarMenuItem[];
|
|
6484
|
+
/**
|
|
6485
|
+
* 宿主自定义的**「用户」菜单里那几项** —— **宿主没配就没有这个键**(2026-09-07)。
|
|
6486
|
+
*
|
|
6487
|
+
* 来源是 `EpochConfig.userMenu`。**item 的形状和上面那个键逐字同一个**
|
|
6488
|
+
* (同一个 {@link SidebarMenuItem}、同一条 `postMessage`),差的只是画在哪一格 ——
|
|
6489
|
+
* 全文在 [sidebar-menu.ts](./sidebar-menu.ts) 的文件头第一节那张表。
|
|
6490
|
+
*
|
|
6491
|
+
* ⚠️ **两个键在这条网线上也互不兜底**:客户端拿不到这个键时,那张菜单里
|
|
6492
|
+
* **一项宿主项都没有**(第一方 Web UI 那边只剩内置的「设置」,连分隔线都没有)
|
|
6493
|
+
* —— **不许拿 `sidebarMenu` 那一份顶上**。自己画前端的宿主(EMBEDDING §10)
|
|
6494
|
+
* 照同一条口径:两个键各画各的面,缺哪个就少哪一面。
|
|
6495
|
+
*
|
|
6496
|
+
* ⚠️ **原样转发,服务端一个字都不改**,判据逐字同上面那个 `sidebarMenu`。
|
|
6497
|
+
*/
|
|
6498
|
+
userMenu?: readonly SidebarMenuItem[];
|
|
6172
6499
|
/**
|
|
6173
6500
|
* 宿主自定义的那几张开场卡片 —— **宿主没配就没有这个键**(2026-09-04)。
|
|
6174
6501
|
*
|
|
@@ -6205,6 +6532,19 @@ interface WireConfigResponse {
|
|
|
6205
6532
|
* (见本文件 `diagnostics` 那一格)—— 那一格没得选,它是服务端生成的字符串。
|
|
6206
6533
|
*/
|
|
6207
6534
|
blankGreeting?: BlankGreeting;
|
|
6535
|
+
/**
|
|
6536
|
+
* 侧栏最下面那一行「用户」的名字和头像 —— **宿主没配就没有这个键**(2026-09-07)。
|
|
6537
|
+
*
|
|
6538
|
+
* 来源是 `EpochConfig.user`;两个字段的含义、以及「为什么这一格没配也照旧画那一行」
|
|
6539
|
+
* 全文在 [host-user.ts](./host-user.js) 的文件头。
|
|
6540
|
+
*
|
|
6541
|
+
* ⚠️ **原样转发,服务端一个字都不改**,判据逐字同上面那个 `sidebarMenu`:
|
|
6542
|
+
* `label` 不翻译(它是宿主的话),`icon` 认不认得出来也不在这一层判。
|
|
6543
|
+
*
|
|
6544
|
+
* ⚠️ **「没这个键」在这一格上的意思和别处不同**:不是「屏幕上什么都没有」,
|
|
6545
|
+
* 而是「那一行用我们自己那份文案和图标」—— 客户端那侧是一次回落,不是一道开关。
|
|
6546
|
+
*/
|
|
6547
|
+
user?: HostUser;
|
|
6208
6548
|
/**
|
|
6209
6549
|
* 自动压缩那条线(决定 8 的第三个时刻,2026-08-16)。形状与三条判据见
|
|
6210
6550
|
* {@link WireCompressionLine}。
|
|
@@ -12507,4 +12847,4 @@ declare const SECRET_SERVICE = "epoch-agent";
|
|
|
12507
12847
|
*/
|
|
12508
12848
|
declare const MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
12509
12849
|
|
|
12510
|
-
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, 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, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextSegment, 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, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, 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 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, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, 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 QuestionRequest, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, type RejectReason, type RejectedKey, type RuleValue, 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, SHELL_KINDS, SIDEBAR_MENU_MESSAGE_TYPE, SIMULTANEOUS_CONTEXTS, SYSTEM_NOTE_PREFIX, type ScheduleAllowlist, type ScheduleBackendKind, type ScheduleCycle, type ScheduleDefinition, type SchedulePendingApproval, type SchedulePendingItem, type ScheduleRun, type ScheduleRunStatus, type ScheduleRunnerSpec, type ScheduleTemplate, type ScheduleTemplateId, type ScheduleTrigger, type ScheduleTriggerKind, type ScheduleWeekday, 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 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 TrustLevel, type TrustManager, type TrustRecord, type TrustScope, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_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_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_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_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_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_UPDATE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_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 WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, 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 WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, 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 WirePluginCounts, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginUpdateRequest, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, 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 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 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 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 WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, 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, getProviderInfo, hasFailure, isApprovalOutcome, isContextNearlyFull, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWireRewindScope, isWireSettingWriteLayer, makeTranslate, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
|
12850
|
+
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, type ActiveAgentRole, type AgentEvent, type AgentEventOf, type AgentEventType, type AgentRole, type AgentRoleScope, type AgentRoleSource, type ApprovalAnswer, type ApprovalOutcome, type ApprovalReply, type ApprovalRequest, 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, type Catalogs, type ComplianceAction, type ComplianceCategory, type ContextBreakdown, type ContextSegment, 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, type FileOmitReason, type FinishReason, type FixableApproval, type FlatCatalog, 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, NOOP_TELEMETRY, type NoticeCode, OPERATION_TYPES, type Operation, type OperationType, PERMISSION_LEVELS, PLAN_OUTCOMES, 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 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, 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 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 TrustLevel, type TrustManager, type TrustRecord, type TrustScope, UNLIMITED_TURNS, type VerifyResult, WIRE_ABORT_FIELDS, WIRE_ABOUT_FIELDS, WIRE_AGENT_ROLE_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_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_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_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_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_UPDATE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_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 WireApprovalCacheRevokeRequest, type WireApprovalCacheRevokeResponse, type WireApprovalListResponse, type WireApprovalRequest, type WireArtifactsResponse, 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 WireGoal, type WireGoalBlock, type WireGoalClearResponse, type WireGoalCreateRequest, type WireGoalLimits, type WireGoalPhase, type WireGoalRefusal, type WireGoalResponse, type WireGoalUpdateRequest, type WireGoalWriteResponse, type WireHealthResponse, type WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, 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 WirePluginCounts, type WirePluginEntry, type WirePluginHit, type WirePluginHookTally, type WirePluginInstallRequest, type WirePluginLocalInstallRequest, type WirePluginLocalRequest, type WirePluginMarketplace, type WirePluginMarketplaceRequest, type WirePluginMarketplaceResponse, type WirePluginNameRequest, type WirePluginPreview, type WirePluginPreviewRequest, type WirePluginPreviewResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginUpdateRequest, type WirePluginsResponse, type WirePolicyDir, type WirePolicyStatus, 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 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 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 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 WireSkillSummary, type WireSummaryWorkspace, type WireTaggedEvent, type WireTasksResponse, type WireToolGate, type WireToolGateAxis, type WireToolRow, type WireToolSummary, type WireToolVerdict, type WireToolsResponse, 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, getProviderInfo, hasFailure, isApprovalOutcome, isContextNearlyFull, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWireRewindScope, isWireSettingWriteLayer, makeTranslate, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
package/dist/index.js
CHANGED
|
@@ -521,6 +521,8 @@ function collectPendingApprovals(defs, runs) {
|
|
|
521
521
|
}
|
|
522
522
|
return items.sort((a, b) => a.at - b.at || (a.scheduleId < b.scheduleId ? -1 : 1));
|
|
523
523
|
}
|
|
524
|
+
// src/schedule-draft.ts
|
|
525
|
+
var SCHEDULE_DRAFT_TOOL = "schedule_draft";
|
|
524
526
|
// src/question.ts
|
|
525
527
|
var MAX_QUESTIONS = 4;
|
|
526
528
|
var MIN_OPTIONS = 2;
|
|
@@ -1722,4 +1724,4 @@ var COMPLIANCE_ACTIONS = ["block", "mask", "warn", "off"];
|
|
|
1722
1724
|
var SECRET_SERVICE = "epoch-agent";
|
|
1723
1725
|
var MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
1724
1726
|
|
|
1725
|
-
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DiagnosticSink, 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, PERMISSION_LEVELS, PLAN_OUTCOMES, PROVIDER_INFOS, PROVIDER_TYPES, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, 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, 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_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_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_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_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_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_UPDATE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_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, getProviderInfo, hasFailure, isApprovalOutcome, isContextNearlyFull, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWireRewindScope, isWireSettingWriteLayer, makeTranslate, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
|
1727
|
+
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, DEFAULT_AGENT_ROLE, DEFAULT_LANG, DiagnosticSink, 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, PERMISSION_LEVELS, PLAN_OUTCOMES, PROVIDER_INFOS, PROVIDER_TYPES, RESERVED_CHORDS, RESERVED_COMMAND_NAMES, 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, 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_APPROVAL_CACHE_REVOKE_REQUEST_FIELDS, WIRE_APPROVAL_CACHE_REVOKE_RESPONSE_FIELDS, WIRE_APPROVAL_LIST_FIELDS, WIRE_APPROVAL_ROW_FIELDS, WIRE_ARTIFACTS_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_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_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_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_UPDATE_FIELDS, WIRE_POLICY_DIR_FIELDS, WIRE_POLICY_STATUS_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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_ROW_FIELDS, WIRE_SETTING_STEP_FIELDS, WIRE_SETTING_WRITE_FIELDS, WIRE_SETTING_WRITE_LAYERS, WIRE_SKILL_BODY_FIELDS, WIRE_SKILL_FIELDS, WIRE_SKILL_IMPORT_FIELDS, WIRE_SKILL_IMPORT_PREVIEW_FIELDS, WIRE_SKILL_REMOVE_FIELDS, WIRE_TASKS_FIELDS, WIRE_TOOLS_FIELDS, WIRE_TOOL_GATE_FIELDS, WIRE_TOOL_ROW_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, getProviderInfo, hasFailure, isApprovalOutcome, isContextNearlyFull, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWireRewindScope, isWireSettingWriteLayer, makeTranslate, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|