@epoch-agent/protocol 0.10.0 → 0.11.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 +314 -24
- package/dist/index.js +23 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2028,6 +2028,18 @@ interface EpochConfig {
|
|
|
2028
2028
|
contextLength: number;
|
|
2029
2029
|
homeDir: string;
|
|
2030
2030
|
dbPath: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* 默认权限档。
|
|
2033
|
+
*
|
|
2034
|
+
* ⚠️ **这一格是 `string` 而 `EpochConfigSchema` 那一格是
|
|
2035
|
+
* `z.enum(PERMISSION_LEVELS)`** —— 两边值域对不上,写 `permission: 'yolo'`
|
|
2036
|
+
* 在类型上过得去而运行时会让整份配置退回默认值。
|
|
2037
|
+
*
|
|
2038
|
+
* 2026-09-15 试过把它收成联合(那会让这一格不再撒谎),但收紧之后
|
|
2039
|
+
* `sandbox` 等好几格跟着暴露同族不一致 —— 那是一次独立的收口,不该混在
|
|
2040
|
+
* 「让 build 过」那一笔里。`loader.ts` 那处已经改成用 schema 自己的产出
|
|
2041
|
+
* 当 fallback,所以构建不再卡在这儿。**这条注释是给做那次收口的人留的。**
|
|
2042
|
+
*/
|
|
2031
2043
|
permission: string;
|
|
2032
2044
|
/**
|
|
2033
2045
|
* 紧凑权限规则(方案 22)。三张列表,写法是 `terminal(pnpm test:*)`。
|
|
@@ -2311,22 +2323,47 @@ interface EpochConfig {
|
|
|
2311
2323
|
endpoint?: string;
|
|
2312
2324
|
};
|
|
2313
2325
|
/**
|
|
2314
|
-
* web 搜索(方案 37
|
|
2326
|
+
* web 搜索(方案 37;2026-09-15 改口径)。
|
|
2315
2327
|
*
|
|
2316
|
-
*
|
|
2317
|
-
* 不可用的功能。所以做成 provider 化,而且**没配就诚实地没有这个工具**:
|
|
2318
|
-
* 注册一个一调就报错的工具,比不注册更糟(模型会反复试)。
|
|
2328
|
+
* ## 整段不配 = **照样能搜**(这一条 2026-09-15 反过来了)
|
|
2319
2329
|
*
|
|
2320
|
-
*
|
|
2321
|
-
*
|
|
2330
|
+
* 原来的口径是「没配就诚实地没有这个工具」。它在只看 tavily / brave / searxng
|
|
2331
|
+
* 时是对的(三家都要办账号),但后果是把一个**宿主根本没意识到的漏配**
|
|
2332
|
+
* 变成了「所有终端用户都没有搜索」,而且对模型是静默的 ——
|
|
2333
|
+
* 实测它会改用浏览器抓搜索引擎结果页,把 SEO 广告写进交付物。
|
|
2334
|
+
*
|
|
2335
|
+
* 现在加了两档不用办账号的:`native`(借当前 LLM provider 的能力)和
|
|
2336
|
+
* `keyless`(免费公开端点)。于是缺省状态是**有搜索**,
|
|
2337
|
+
* 而「没有搜索」退化成一个需要显式关掉两档才能到达的用户选择。
|
|
2338
|
+
*
|
|
2339
|
+
* 「配了却缺 key 不回落」那条判据没变:显式写了就只认那一家。
|
|
2322
2340
|
*/
|
|
2323
2341
|
search?: {
|
|
2324
|
-
/**
|
|
2342
|
+
/**
|
|
2343
|
+
* 用哪家。不给 = 按凭据自动挑
|
|
2344
|
+
* (`native` → `tavily` → `brave` → `searxng` → `keyless`)。
|
|
2345
|
+
*
|
|
2346
|
+
* ⚠️ 只设了 `TAVILY_API_KEY` 而没写这一格的人,从 2026-09-15 起会走 `native`
|
|
2347
|
+
* —— 要钉住某一家就把它显式写在这里。
|
|
2348
|
+
*/
|
|
2325
2349
|
provider?: SearchProviderType;
|
|
2326
2350
|
/** `searxng` 自建实例地址(那一家没有 key,靠它定位) */
|
|
2327
2351
|
baseUrl?: string;
|
|
2328
2352
|
/** 一次返回几条,缺省 5。上限 20 —— 再多也超出模型能有效读的范围 */
|
|
2329
2353
|
maxResults?: number;
|
|
2354
|
+
/**
|
|
2355
|
+
* `native` 档的开关,缺省**开**。
|
|
2356
|
+
*
|
|
2357
|
+
* 关掉的理由通常是成本:那一档一次搜索等于一个完整的模型轮次。
|
|
2358
|
+
*/
|
|
2359
|
+
native?: boolean;
|
|
2360
|
+
/**
|
|
2361
|
+
* `keyless` 档的开关,缺省**开**。
|
|
2362
|
+
*
|
|
2363
|
+
* 关掉的理由通常是隐私:那一档会把查询词发给 Exa / Parallel。
|
|
2364
|
+
* 两档都关掉 + 三家都没配 = 回到「没有 `web_search`」那个状态。
|
|
2365
|
+
*/
|
|
2366
|
+
keyless?: boolean;
|
|
2330
2367
|
};
|
|
2331
2368
|
/**
|
|
2332
2369
|
* 内容合规过滤(core 的 `compliance/`)。
|
|
@@ -2629,16 +2666,53 @@ interface EpochConfig {
|
|
|
2629
2666
|
*/
|
|
2630
2667
|
maxTotalBytes?: number;
|
|
2631
2668
|
};
|
|
2669
|
+
/**
|
|
2670
|
+
* 会话库的保留期清理(方案 64 PR-4)。三格逐字照 hermes 的
|
|
2671
|
+
* `sessions: auto_prune / retention_days / vacuum_after_prune`。
|
|
2672
|
+
*
|
|
2673
|
+
* ## ⚠️ `autoPrune` 缺省 `false`,而这是 hermes 写下的判据不是保守
|
|
2674
|
+
*
|
|
2675
|
+
* 它那段文档逐字说的是:**会话历史是 `session_search` 跨历史召回的燃料**,
|
|
2676
|
+
* 删掉就是削弱 agent 的记忆;数百个会话才 10–15 MB,不值得。开启判据是一个
|
|
2677
|
+
* 具体数字:**约 1000 个会话 / 384 MB 的 state.db** 会让 FTS5 插入和
|
|
2678
|
+
* `/resume` 列表变慢。
|
|
2679
|
+
*
|
|
2680
|
+
* ⚠️ 关掉它**不影响手动那条路**(`epoch sessions prune`)——
|
|
2681
|
+
* 这一格管的只是「要不要在每次启动时自己跑一遍」。
|
|
2682
|
+
*/
|
|
2683
|
+
sessions?: {
|
|
2684
|
+
/** 开机时自动清理一次(至多一天一次)。**缺省关** */
|
|
2685
|
+
autoPrune?: boolean;
|
|
2686
|
+
/** 多少天没动过算旧,缺省 90(同 hermes 的 `retention_days`) */
|
|
2687
|
+
retentionDays?: number;
|
|
2688
|
+
/**
|
|
2689
|
+
* 清完之后回收磁盘(`VACUUM`),缺省 `true`。
|
|
2690
|
+
*
|
|
2691
|
+
* ⚠️ **开着也不一定会跑**:还要过「真删掉了东西」「距上次 VACUUM 超过 30 天」
|
|
2692
|
+
* 「空页超过 25%」三道 —— 它要独占整个库文件做全量重写。
|
|
2693
|
+
*/
|
|
2694
|
+
vacuumAfterPrune?: boolean;
|
|
2695
|
+
};
|
|
2632
2696
|
}
|
|
2633
|
-
/**
|
|
2634
|
-
|
|
2697
|
+
/**
|
|
2698
|
+
* 支持的搜索后端。**三档「不用再办一个账号」的**:
|
|
2699
|
+
*
|
|
2700
|
+
* - `native` —— 让当前 LLM provider 自己搜(借已有的 provider key)
|
|
2701
|
+
* - `searxng` —— 自托管无 key,内网 / 隐私敏感场景的答案
|
|
2702
|
+
* - `keyless` —— 免费公开端点组成的环,零 key 零服务器
|
|
2703
|
+
*/
|
|
2704
|
+
declare const SEARCH_PROVIDER_TYPES: readonly ["native", "tavily", "brave", "searxng", "keyless"];
|
|
2635
2705
|
type SearchProviderType = (typeof SEARCH_PROVIDER_TYPES)[number];
|
|
2636
2706
|
declare function isSearchProviderType(value: string): value is SearchProviderType;
|
|
2637
2707
|
/**
|
|
2638
|
-
* 各搜索后端的 API key
|
|
2708
|
+
* 各搜索后端的 API key 环境变量名。不需要**自己的** key 的那几档是 null。
|
|
2709
|
+
*
|
|
2710
|
+
* ⚠️ `native` 是 null **不代表它不要凭据** —— 它借的是 `provider.apiKey`,
|
|
2711
|
+
* 而那把 key 已经在 `PROVIDER_META` 那张表里登记过了。这里再登记一次会让
|
|
2712
|
+
* `API_KEY_ENV_VARS`(凭据预取用的清单)出现重复项。
|
|
2639
2713
|
*
|
|
2640
2714
|
* 和 provider 的 `apiKeyEnv` 分开一张表:那张是 LLM provider 的,
|
|
2641
|
-
*
|
|
2715
|
+
* 混进来会让那份清单多出几个不相干的名字。
|
|
2642
2716
|
*/
|
|
2643
2717
|
declare const SEARCH_API_KEY_ENV: Record<SearchProviderType, string | null>;
|
|
2644
2718
|
|
|
@@ -7345,8 +7419,59 @@ interface WireConfigResponse {
|
|
|
7345
7419
|
* 而其中第一条是一句**关于浏览器在哪儿**的推断。
|
|
7346
7420
|
*/
|
|
7347
7421
|
nativeDirPicker: boolean;
|
|
7422
|
+
/**
|
|
7423
|
+
* **上次停留的那段会话**(2026-09-14)。首屏该开的是它,不是 {@link sessionId}。
|
|
7424
|
+
*
|
|
7425
|
+
* ## 它和 `sessionId` 的分工
|
|
7426
|
+
*
|
|
7427
|
+
* `sessionId` 是**这个进程**装配出来的引导会话,恒新、恒空 —— 首屏照它开,
|
|
7428
|
+
* 用户每启动一次就看见一段「未命名会话」,昨天那段活得自己去侧栏里翻。
|
|
7429
|
+
* 这一格是**上一个进程退出时界面停在哪儿**(服务端那份 `~/.epoch/last-sessions.json`
|
|
7430
|
+
* 记的,由 `PUT /api/last-session` 写)。第一方界面的口径是
|
|
7431
|
+
* `lastSessionId ?? sessionId`。
|
|
7432
|
+
*
|
|
7433
|
+
* ## ⚠️ 没记过 / 那段已经被删了 → **不带这个键**(同 `maxCostUsd` 那一族)
|
|
7434
|
+
*
|
|
7435
|
+
* 服务端在下发之前会按**和 404 同一份判据**查一次它还在不在,查不到就整个不带。
|
|
7436
|
+
* 所以客户端那句 `?? sessionId` 就是「找不到就开一段新的」,**不需要**第二段
|
|
7437
|
+
* 兜底逻辑,更不该自己再去 `GET /api/sessions/:id` 探一发 —— 那是同一个问题的
|
|
7438
|
+
* 第二个说法,而两个说法迟早不一致。
|
|
7439
|
+
*
|
|
7440
|
+
* ⚠️ 它是**可选键**,所以故意不在 {@link WIRE_CONFIG_FIELDS} 上(见那张表上的 ⚠️)。
|
|
7441
|
+
*/
|
|
7442
|
+
lastSessionId?: string;
|
|
7348
7443
|
}
|
|
7349
7444
|
declare const WIRE_CONFIG_FIELDS: WireFields<WireConfigResponse>;
|
|
7445
|
+
/**
|
|
7446
|
+
* `PUT /api/last-session` —— 「我现在停在这段会话上」(2026-09-14)。
|
|
7447
|
+
* 服务端记下来,**下一次启动**的 {@link WireConfigResponse.lastSessionId} 就是它。
|
|
7448
|
+
*
|
|
7449
|
+
* ## 三件容易理解反的事
|
|
7450
|
+
*
|
|
7451
|
+
* 1. **URL 上没有 `:sessionId`,而且不该有。** 落点是 `~/.epoch/last-sessions.json`
|
|
7452
|
+
* ——一台机器一份、按项目根分格的**进程级**记录。挂到 `/sessions/:id/` 底下会
|
|
7453
|
+
* 得到一条名字是会话级、行为是机器级的端点(判据逐字同 `mcp/:name/reconnect`
|
|
7454
|
+
* 那一条)。会话 id 是**载荷**,因为它是被记的那个**值**。
|
|
7455
|
+
* 2. **它不改这段会话的任何东西**,也不要求它是活的 —— 只要求它在会话库里还在
|
|
7456
|
+
* (不在就 404,判据同别处那道 `unknown-session`)。校验在服务端的理由:
|
|
7457
|
+
* 客户端因此可以无脑上报,不必先探一发「这个 id 还有效吗」。
|
|
7458
|
+
* 3. **`PUT` 不是 `POST`。** 同一个项目反复报同一段会话是常态(每次切会话、
|
|
7459
|
+
* 每次刷新都报一次),而结果只有一个格子被覆盖 —— 幂等的写该是 `PUT`。
|
|
7460
|
+
* 非 GET 这件事本身也是必须的:它要过 `auth.ts` 那道 Origin 闸,因为它会往
|
|
7461
|
+
* 用户磁盘上写文件。
|
|
7462
|
+
*/
|
|
7463
|
+
interface WireLastSessionRequest {
|
|
7464
|
+
sessionId: string;
|
|
7465
|
+
}
|
|
7466
|
+
declare const WIRE_LAST_SESSION_FIELDS: WireFields<WireLastSessionRequest>;
|
|
7467
|
+
/**
|
|
7468
|
+
* 记下来了。**回执里不带 id** —— 带的话就等于在网线上多了一个「当前是哪段」的
|
|
7469
|
+
* 说法,而那件事的真源是 URL(`/s/<id>`),不是这条端点。
|
|
7470
|
+
*/
|
|
7471
|
+
interface WireLastSessionResponse {
|
|
7472
|
+
ok: true;
|
|
7473
|
+
}
|
|
7474
|
+
declare const WIRE_LAST_SESSION_RESPONSE_FIELDS: WireFields<WireLastSessionResponse>;
|
|
7350
7475
|
/**
|
|
7351
7476
|
* 列表里的一行**和工作区的关系** —— 三档(决定 18;`unknown` 那一档是会话库 v7
|
|
7352
7477
|
* 加的,2026-08-19)。
|
|
@@ -7661,6 +7786,18 @@ interface WireSessionSummary {
|
|
|
7661
7786
|
* 普通列举时缺席(所以它是可选的,不进下面那份必填清单)。
|
|
7662
7787
|
*/
|
|
7663
7788
|
snippet?: string;
|
|
7789
|
+
/**
|
|
7790
|
+
* 这段会话被收进归档了吗(方案 64 PR-2)。
|
|
7791
|
+
*
|
|
7792
|
+
* **必填,不是可选**:界面上这一格决定「要不要画那枚归档记号」以及
|
|
7793
|
+
* 「那一行的操作是归档还是取回」,而 `undefined` 在那两处都会被读成 `false` ——
|
|
7794
|
+
* 于是一个归档过的会话在归档列表里长得和普通会话一模一样,操作还是「归档」。
|
|
7795
|
+
*
|
|
7796
|
+
* ⚠️ **Hub 里有、DB 里还没有的那种行(新会话第一条消息落盘之前)一律 `false`。**
|
|
7797
|
+
* 那是**实话**不是兜底:一段还没落盘的会话根本没有归档状态可言,
|
|
7798
|
+
* 而它按定义不可能被归档过(归档写的是 DB 里那一列)。
|
|
7799
|
+
*/
|
|
7800
|
+
archived: boolean;
|
|
7664
7801
|
}
|
|
7665
7802
|
/**
|
|
7666
7803
|
* 上面那张接口的必填清单。**要数字段有几个,数这里,别在别处手抄**(抄过去的那份
|
|
@@ -7904,14 +8041,46 @@ interface WireDeleteSessionResponse {
|
|
|
7904
8041
|
}
|
|
7905
8042
|
declare const WIRE_DELETE_SESSION_FIELDS: WireFields<WireDeleteSessionResponse>;
|
|
7906
8043
|
/**
|
|
7907
|
-
*
|
|
8044
|
+
* 改一段会话的元信息。
|
|
8045
|
+
*
|
|
8046
|
+
* ## 「将来」到了(方案 64 PR-2,2026-09-14)
|
|
7908
8047
|
*
|
|
7909
|
-
*
|
|
7910
|
-
*
|
|
8048
|
+
* 上一版这里写着「今天只有 `title` 一个可改字段……将来加 `pinned` / `archived`
|
|
8049
|
+
* 时不换形状,那时这里多一个可选字段,老客户端一行不用改」。`archived` 那一格
|
|
8050
|
+
* 现在真的来了,而那句预言**兑现了**:老客户端仍然只发 `title`,一个字不用改。
|
|
8051
|
+
*
|
|
8052
|
+
* ⚠️ **两个字段都是可选的,但不能一个都不给。** 服务端对「两个都没给」回 400 ——
|
|
8053
|
+
* 一次什么都不改的 PATCH 是调用方写错了,静默回 200 会让它以为改成功了。
|
|
8054
|
+
* 判据在 `server/src/api.ts` 的 `patchSession` 上。
|
|
8055
|
+
*
|
|
8056
|
+
* ⚠️ `title` 仍然**不许是空串**(那条老判据一个字没变):空标题不是「清空」
|
|
8057
|
+
* 而是「没给」—— 标题空着的会话在列表里只剩一个 uuid,而那正是用户点重命名
|
|
8058
|
+
* 想解决的问题。要只改归档状态就别带 `title` 这个键。
|
|
7911
8059
|
*/
|
|
7912
8060
|
interface WirePatchSessionRequest {
|
|
7913
|
-
title
|
|
8061
|
+
title?: string;
|
|
8062
|
+
/**
|
|
8063
|
+
* 收进归档(`true`)还是从归档里取回(`false`)。
|
|
8064
|
+
*
|
|
8065
|
+
* **归档不是删除**:它只把这段会话从默认列表和模糊搜里收起来,消息一条不少、
|
|
8066
|
+
* 给了 id 照样读得出来。判据是 core 的 `session/authorization.ts` 那张
|
|
8067
|
+
* 「全仓唯一一份」的表 —— 那张表这一份只用、不改。
|
|
8068
|
+
*/
|
|
8069
|
+
archived?: boolean;
|
|
7914
8070
|
}
|
|
8071
|
+
/**
|
|
8072
|
+
* ⚠️ **空清单,而且只能是空的。**
|
|
8073
|
+
*
|
|
8074
|
+
* `wireFields` 收的是**必填**字段(那条约束写在它自己的 JSDoc 第三节上:
|
|
8075
|
+
* 可选键写进清单就等于在运行时把它变成必填,于是一个合法的、没带那个字段的
|
|
8076
|
+
* 请求会被 `conformsToWire()` 判成不合契约)。这张请求上两个字段都是可选的 ——
|
|
8077
|
+
* 只改名的调用方不带 `archived`,只归档的不带 `title`。
|
|
8078
|
+
*
|
|
8079
|
+
* 于是「至少给一个」这条约束**没有地方由类型来守**,它由服务端那道 400 守
|
|
8080
|
+
* (`server/src/api.ts` 的 `patchSession`)。这是刻意的分工:`wireFields`
|
|
8081
|
+
* 管的是「字段在不在」,管不了「这几个里至少要有一个」——
|
|
8082
|
+
* 硬把它塞进来的代价是让两种合法请求各自不合契约。
|
|
8083
|
+
*/
|
|
7915
8084
|
declare const WIRE_PATCH_SESSION_FIELDS: WireFields<WirePatchSessionRequest>;
|
|
7916
8085
|
/**
|
|
7917
8086
|
* 改完之后的那一行 —— **回整行而不是回 `{ok:true}`**。
|
|
@@ -10547,18 +10716,34 @@ declare const WIRE_PLUGIN_UPLOAD_FORM_FIELDS: readonly ["displayName", "descript
|
|
|
10547
10716
|
/** {@link WIRE_PLUGIN_UPLOAD_FORM_FIELDS} 里的一格 */
|
|
10548
10717
|
type WirePluginUploadFieldName = (typeof WIRE_PLUGIN_UPLOAD_FORM_FIELDS)[number];
|
|
10549
10718
|
/**
|
|
10550
|
-
*
|
|
10719
|
+
* 下拉里的一项(2026-09-15)。**两格都恒有** —— 宿主写 `'office'` 这种裸字符串
|
|
10720
|
+
* 时 `label` 在 runtime 那一侧就补成了同一个值,判据同下面那条「界面要的是结论」。
|
|
10721
|
+
*/
|
|
10722
|
+
interface WirePluginUploadChoice {
|
|
10723
|
+
/** 真发上去的那个值。它要和宿主自己那份目录里的分类名逐字相同 */
|
|
10724
|
+
value: string;
|
|
10725
|
+
/** 屏幕上印的那几个字 */
|
|
10726
|
+
label: string;
|
|
10727
|
+
}
|
|
10728
|
+
/**
|
|
10729
|
+
* 上传表单上一格在浏览器眼里的样子(2026-09-10 两格 → 2026-09-15 四格)。
|
|
10551
10730
|
*
|
|
10552
|
-
* ⚠️
|
|
10553
|
-
* 口径同 `WirePluginsResponse.uploadOptions
|
|
10731
|
+
* ⚠️ **四格都恒有**(`value` 空串 = 宿主没预填,`editable` / `required` 恒是布尔,
|
|
10732
|
+
* `choices` 空数组 = 这一格不是下拉)—— 口径同 `WirePluginsResponse.uploadOptions`:
|
|
10733
|
+
* 界面要的是结论,不是三种等价写法。
|
|
10554
10734
|
*/
|
|
10555
10735
|
interface WirePluginUploadField {
|
|
10556
10736
|
/**
|
|
10557
|
-
*
|
|
10737
|
+
* **宿主**预填的值。没给就是空串。
|
|
10738
|
+
*
|
|
10739
|
+
* ⚠️ **它不是这一格最终从什么值开始** —— 那个答案在
|
|
10740
|
+
* {@link WirePluginUploadPreviewResponse.prefill} 上(2026-09-15 起还有
|
|
10741
|
+
* 第三个来源:包里那份 `epoch-plugin.json` 的同名格)。这一格只说宿主
|
|
10742
|
+
* 那一侧写了什么,而它排在包里那一份**前面**(四档优先级见那一处)。
|
|
10558
10743
|
*
|
|
10559
|
-
* ⚠️
|
|
10560
|
-
*
|
|
10561
|
-
*
|
|
10744
|
+
* ⚠️ 所以界面上**别拿它当输入框的初值**:它只在 {@link editable} 为假那一档
|
|
10745
|
+
* 直接上屏(印着的那段静态文字)。真要画的初值一律走 `prefill`,
|
|
10746
|
+
* 否则「这一格该填什么」在浏览器里就有了第二个答案。
|
|
10562
10747
|
*/
|
|
10563
10748
|
value: string;
|
|
10564
10749
|
/**
|
|
@@ -10573,6 +10758,38 @@ interface WirePluginUploadField {
|
|
|
10573
10758
|
* `PluginUploadForm` 上那两条规矩)。少了那一半,改一次请求体就绕过去了。
|
|
10574
10759
|
*/
|
|
10575
10760
|
editable: boolean;
|
|
10761
|
+
/**
|
|
10762
|
+
* 能挑的就这几个(2026-09-15)。**非空 = 这一格画成 `<select>`。**
|
|
10763
|
+
*
|
|
10764
|
+
* ## ⚠️ 判据是 `choices.length > 0`,不是 `choices` 本身
|
|
10765
|
+
*
|
|
10766
|
+
* 这一格恒有(不画下拉那几格是 `[]`,不是缺席也不是 `null`),而 `[]` 在 JS
|
|
10767
|
+
* 里是**真值** —— 写成 `shape.choices ? … : …` 的那天每一格都会变成一个
|
|
10768
|
+
* 零选项的下拉,而类型上一点问题都没有。这仓库为这件事栽过。
|
|
10769
|
+
*
|
|
10770
|
+
* ## ⚠️ 它是**闭集**,而那一半同样在服务端兑现
|
|
10771
|
+
*
|
|
10772
|
+
* 「下拉是形态,开集是契约」(判据全文在 `shell/model-menu.tsx` 的文件头):
|
|
10773
|
+
* 宿主给了单子就是在说它那份目录只认得这几类。所以 runtime 那一层会把
|
|
10774
|
+
* **单子外的值整个丢掉**,和 {@link editable} 那一条是同一条规矩的第三半。
|
|
10775
|
+
*
|
|
10776
|
+
* ⚠️ 它还管着**包里那一份**:上传者在 `epoch-plugin.json` 里写的同名格
|
|
10777
|
+
* 只有命中这张单子才会进 {@link WirePluginUploadPreviewResponse.prefill}。
|
|
10778
|
+
*
|
|
10779
|
+
* ⚠️ `visibility` 那一格恒是 `[]`(它的值域固定两档、屏幕上画的是两枚单选)。
|
|
10780
|
+
*/
|
|
10781
|
+
choices: readonly WirePluginUploadChoice[];
|
|
10782
|
+
/**
|
|
10783
|
+
* 空着就发不出去吗(2026-09-15)。
|
|
10784
|
+
*
|
|
10785
|
+
* ⚠️ **界面上那一道只是「别让他白按一下」**:标签上一个 `*`、空着时那枚
|
|
10786
|
+
* 「确认上传」是禁用的。真正算数的在服务端 —— 必填格空着时 `POST /api/plugins/upload`
|
|
10787
|
+
* 回一档 `missing-field`,**宿主回调一次都不调**。判据逐字同 {@link editable}。
|
|
10788
|
+
*
|
|
10789
|
+
* ⚠️ `visibility` 上它恒是 `false` 且没有意义:那一格恒有值(认不出的退
|
|
10790
|
+
* `private`),永远不会空着。
|
|
10791
|
+
*/
|
|
10792
|
+
required: boolean;
|
|
10576
10793
|
}
|
|
10577
10794
|
/**
|
|
10578
10795
|
* 七格的形态表 —— **每个键恒有,不画的那几格是 `null`**。
|
|
@@ -11120,7 +11337,15 @@ type WirePluginRefuseReason = 'unknown-ref' | 'not-local'
|
|
|
11120
11337
|
* - `not-plugin` —— 解开了,但里面没有 `epoch-plugin.json`。
|
|
11121
11338
|
* 下一步:确认拖的是插件本身那一层,而不是装着它的那个上级目录。
|
|
11122
11339
|
*/
|
|
11123
|
-
| 'not-archive' | 'unpack-failed' | 'not-plugin' | 'remote-disabled' | 'conflict' | 'stale-token' | 'not-installed' | 'nothing-to-do' | 'upload-unavailable' | 'refresh-unavailable' | 'upload-rejected'
|
|
11340
|
+
| 'not-archive' | 'unpack-failed' | 'not-plugin' | 'remote-disabled' | 'conflict' | 'stale-token' | 'not-installed' | 'nothing-to-do' | 'upload-unavailable' | 'refresh-unavailable' | 'upload-rejected'
|
|
11341
|
+
/**
|
|
11342
|
+
* 宿主标了必填的格子还空着(2026-09-15)。**下一步在用户那儿**(回去把那几格
|
|
11343
|
+
* 填上),所以不并进 `failed`(那一档的下一步是「看 detail 重试」)。
|
|
11344
|
+
*
|
|
11345
|
+
* ⚠️ 界面上正常走不到这一档(那枚按钮在必填格空着时是禁用的)—— 它拦的是
|
|
11346
|
+
* **改了请求体那一发**,判据同 `editable: false` 为什么在服务端兑现。
|
|
11347
|
+
*/
|
|
11348
|
+
| 'missing-field' | 'failed';
|
|
11124
11349
|
/** 一次 hook 盘点:这个事件上有几条 */
|
|
11125
11350
|
interface WirePluginHookTally {
|
|
11126
11351
|
type: string;
|
|
@@ -11426,6 +11651,31 @@ interface WirePluginUploadPreviewResponse {
|
|
|
11426
11651
|
plan: WirePluginUploadPlan | null;
|
|
11427
11652
|
/** 成了才有。原样发回 {@link WirePluginUploadConfirmRequest.token} */
|
|
11428
11653
|
token: string | null;
|
|
11654
|
+
/**
|
|
11655
|
+
* 那张表单**每一格从什么值开始**(2026-09-15)。成了才有。
|
|
11656
|
+
*
|
|
11657
|
+
* ## ⚠️ 它和 `uploadOptions` 各答一半,别拿一格顶两格
|
|
11658
|
+
*
|
|
11659
|
+
* `GET /api/plugins` 那份 {@link WirePluginUploadFields} 答的是
|
|
11660
|
+
* 「**这一屏画成什么样**」(画哪几格、哪几格用户改不动)—— 它是装配期定死的,
|
|
11661
|
+
* 和用户选了哪个目录无关。这一格答的是「**这一次**每一格填什么」,
|
|
11662
|
+
* 而它要等读到包里那份 `epoch-plugin.json` 才知道。
|
|
11663
|
+
*
|
|
11664
|
+
* ⚠️ **界面把它原样塞进表单 state 就行,不用再和 `uploadOptions` 合并一次** ——
|
|
11665
|
+
* 四档优先级(宿主锁死 > 宿主初值 > 包里同名格 > 空)在服务端算完了。
|
|
11666
|
+
* 在浏览器里再算一遍的话,「这一格该填什么」就有了两个答案。
|
|
11667
|
+
*
|
|
11668
|
+
* ⚠️ 只含**宿主真声明了的**那几格,口径同 {@link WirePluginUploadForm}。
|
|
11669
|
+
*/
|
|
11670
|
+
prefill: WirePluginUploadForm | null;
|
|
11671
|
+
/**
|
|
11672
|
+
* {@link prefill} 里**值是从包里读出来的**那几格(2026-09-15)。成了才有。
|
|
11673
|
+
*
|
|
11674
|
+
* ⚠️ 它只管屏幕上那一句提示,一个判断都不参与。没有它的话界面分不出
|
|
11675
|
+
* 「宿主替你填的」和「你自己在包里写的」—— 而用户的下一步不一样:
|
|
11676
|
+
* 前者去问宿主,后者去改自己那份 `epoch-plugin.json`。
|
|
11677
|
+
*/
|
|
11678
|
+
fromManifest: readonly WirePluginUploadFieldName[] | null;
|
|
11429
11679
|
/** 没成才有 */
|
|
11430
11680
|
reason: WirePluginRefuseReason | null;
|
|
11431
11681
|
/** 没成才有。**服务端渲染好的一句人话**,界面原样上屏 */
|
|
@@ -14024,6 +14274,46 @@ interface WireSchedulePendingResponse {
|
|
|
14024
14274
|
items: readonly SchedulePendingItem[];
|
|
14025
14275
|
}
|
|
14026
14276
|
declare const WIRE_SCHEDULE_PENDING_FIELDS: WireFields<WireSchedulePendingResponse>;
|
|
14277
|
+
/**
|
|
14278
|
+
* 一条正在跑的任务。
|
|
14279
|
+
*
|
|
14280
|
+
* ⚠️ **只有两格,而缺的那两格是刻意的**:底下那张锁表里还有 `pid` 和 `host`,
|
|
14281
|
+
* 它们**不上网线** —— 界面画不了它们(写一个 pid 在卡片上没有任何人用得上),
|
|
14282
|
+
* 而把本机的进程号推给浏览器是白送的信息泄露。要排查「是哪个进程占着」的人
|
|
14283
|
+
* 手上有那张表本身(`sqlite3 ~/.epoch/sessions.db`)。
|
|
14284
|
+
*/
|
|
14285
|
+
interface WireRunningSchedule {
|
|
14286
|
+
scheduleId: string;
|
|
14287
|
+
/** 抢到锁那一刻(epoch 毫秒)。界面上那个走秒的数拿它减出来 */
|
|
14288
|
+
startedAt: number;
|
|
14289
|
+
}
|
|
14290
|
+
declare const WIRE_RUNNING_SCHEDULE_FIELDS: WireFields<WireRunningSchedule>;
|
|
14291
|
+
/**
|
|
14292
|
+
* `GET /api/schedules/running` —— 自动化那一屏上每张卡「在不在跑」的真源。
|
|
14293
|
+
*
|
|
14294
|
+
* ## 它答的是那一发 `GET /api/schedules` 答不了的事
|
|
14295
|
+
*
|
|
14296
|
+
* 那一发里的 `recentRuns` 要等一轮**跑完**才有行(执行器是收尾时才 `recordRun`
|
|
14297
|
+
* 的),所以在它跑着的那几分钟里,整个系统里唯一记着这件事的地方是那张锁表。
|
|
14298
|
+
* 而**手点「先跑一次」和到点自己跑抢的是同一把锁** —— 于是界面上「谁在跑」
|
|
14299
|
+
* 只有一个真源,不用把两种来源缝起来。
|
|
14300
|
+
*
|
|
14301
|
+
* ## ⚠️ 单开一条,理由逐字同 {@link WireSchedulePendingResponse} 那一节
|
|
14302
|
+
*
|
|
14303
|
+
* 那一发回的是「全部任务 + 最近 100 条运行 + 一次平台探测 + 表单缺省」,
|
|
14304
|
+
* 而这一格**要每几秒问一次**。把它塞进那一发等于让每一次轮询都付那份钱。
|
|
14305
|
+
*
|
|
14306
|
+
* ## ⚠️ 这一条**必须**靠客户端轮询,而那不是偷懒
|
|
14307
|
+
*
|
|
14308
|
+
* 到点触发跑在另一个进程里,服务进程不知道它存在 —— SSE 上没有任何一帧能报它
|
|
14309
|
+
* (同上面那一节)。所以第一方界面在**自动化那一屏开着时**每 5 秒拉一次,
|
|
14310
|
+
* 别的屏一发都不发。自己画前端的宿主不拉也不会坏,只是那个转子不会出现。
|
|
14311
|
+
*/
|
|
14312
|
+
interface WireScheduleRunningResponse {
|
|
14313
|
+
/** 顺序不当契约(锁表没有有意义的排序)。一条都没跑时空数组 */
|
|
14314
|
+
items: readonly WireRunningSchedule[];
|
|
14315
|
+
}
|
|
14316
|
+
declare const WIRE_SCHEDULE_RUNNING_FIELDS: WireFields<WireScheduleRunningResponse>;
|
|
14027
14317
|
|
|
14028
14318
|
/**
|
|
14029
14319
|
* 目标那一格的网线形状([方案 52](../../../docs/verify/VERIFY_RECORD-52-goal.md) PR-4 的
|
|
@@ -14617,4 +14907,4 @@ declare const SECRET_SERVICE = "epoch-agent";
|
|
|
14617
14907
|
*/
|
|
14618
14908
|
declare const MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
14619
14909
|
|
|
14620
|
-
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, 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, 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, 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 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_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_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_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_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 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 WireHubEnvelope, type WireHubEvent, type WireImageReference, type WireKnownWorkspace, type WireKnownWorkspaceRef, 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 WirePluginRefreshResponse, type WirePluginRefuseReason, type WirePluginSourceType, type WirePluginStageRequest, type WirePluginStageResponse, type WirePluginStatus, type WirePluginUpdateRequest, type WirePluginUploadConfirmRequest, type WirePluginUploadField, type WirePluginUploadFieldName, type WirePluginUploadFields, type WirePluginUploadFile, type WirePluginUploadForm, type WirePluginUploadPlan, type WirePluginUploadPreviewResponse, type WirePluginUploadRequest, type WirePluginUploadResponse, 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 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 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, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
|
14910
|
+
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, 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, 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, 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 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_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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 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 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 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 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 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 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 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, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
package/dist/index.js
CHANGED
|
@@ -297,14 +297,16 @@ function apiKeyEnvVar(type) {
|
|
|
297
297
|
var API_KEY_ENV_VARS = Array.from(
|
|
298
298
|
new Set(PROVIDER_INFOS.map((p) => p.apiKeyEnv).filter((v) => v !== null))
|
|
299
299
|
);
|
|
300
|
-
var SEARCH_PROVIDER_TYPES = ["tavily", "brave", "searxng"];
|
|
300
|
+
var SEARCH_PROVIDER_TYPES = ["native", "tavily", "brave", "searxng", "keyless"];
|
|
301
301
|
function isSearchProviderType(value) {
|
|
302
302
|
return SEARCH_PROVIDER_TYPES.includes(value);
|
|
303
303
|
}
|
|
304
304
|
var SEARCH_API_KEY_ENV = {
|
|
305
|
+
native: null,
|
|
305
306
|
tavily: "TAVILY_API_KEY",
|
|
306
307
|
brave: "BRAVE_SEARCH_API_KEY",
|
|
307
|
-
searxng: null
|
|
308
|
+
searxng: null,
|
|
309
|
+
keyless: null
|
|
308
310
|
};
|
|
309
311
|
// src/model-ref.ts
|
|
310
312
|
function parseModelRef(raw) {
|
|
@@ -897,6 +899,12 @@ var WIRE_CONFIG_FIELDS = wireFields()({
|
|
|
897
899
|
lanExposed: true,
|
|
898
900
|
nativeDirPicker: true
|
|
899
901
|
});
|
|
902
|
+
var WIRE_LAST_SESSION_FIELDS = wireFields()({
|
|
903
|
+
sessionId: true
|
|
904
|
+
});
|
|
905
|
+
var WIRE_LAST_SESSION_RESPONSE_FIELDS = wireFields()({
|
|
906
|
+
ok: true
|
|
907
|
+
});
|
|
900
908
|
var WIRE_SESSION_SUMMARY_FIELDS = wireFields()({
|
|
901
909
|
id: true,
|
|
902
910
|
state: true,
|
|
@@ -914,7 +922,8 @@ var WIRE_SESSION_SUMMARY_FIELDS = wireFields()({
|
|
|
914
922
|
workspace: true,
|
|
915
923
|
turnStartedAt: true,
|
|
916
924
|
lastFinish: true,
|
|
917
|
-
role: true
|
|
925
|
+
role: true,
|
|
926
|
+
archived: true
|
|
918
927
|
});
|
|
919
928
|
var WIRE_SESSION_FINISH_FIELDS = wireFields()({
|
|
920
929
|
reason: true,
|
|
@@ -936,9 +945,7 @@ var WIRE_DELETE_SESSION_FIELDS = wireFields()({
|
|
|
936
945
|
deleted: true,
|
|
937
946
|
checkpointsRemoved: true
|
|
938
947
|
});
|
|
939
|
-
var WIRE_PATCH_SESSION_FIELDS = wireFields()({
|
|
940
|
-
title: true
|
|
941
|
-
});
|
|
948
|
+
var WIRE_PATCH_SESSION_FIELDS = wireFields()({});
|
|
942
949
|
var WIRE_PATCH_SESSION_RESPONSE_FIELDS = wireFields()({
|
|
943
950
|
session: true
|
|
944
951
|
});
|
|
@@ -1336,6 +1343,8 @@ var WIRE_PLUGIN_UPLOAD_PREVIEW_RESPONSE_FIELDS = wireFields()({
|
|
|
1336
1343
|
ok: true,
|
|
1337
1344
|
plan: true,
|
|
1338
1345
|
token: true,
|
|
1346
|
+
prefill: true,
|
|
1347
|
+
fromManifest: true,
|
|
1339
1348
|
reason: true,
|
|
1340
1349
|
detail: true
|
|
1341
1350
|
});
|
|
@@ -1714,6 +1723,13 @@ var WIRE_SCHEDULE_RECORDING_FIELDS = wireFields()({
|
|
|
1714
1723
|
var WIRE_SCHEDULE_PENDING_FIELDS = wireFields()({
|
|
1715
1724
|
items: true
|
|
1716
1725
|
});
|
|
1726
|
+
var WIRE_RUNNING_SCHEDULE_FIELDS = wireFields()({
|
|
1727
|
+
scheduleId: true,
|
|
1728
|
+
startedAt: true
|
|
1729
|
+
});
|
|
1730
|
+
var WIRE_SCHEDULE_RUNNING_FIELDS = wireFields()({
|
|
1731
|
+
items: true
|
|
1732
|
+
});
|
|
1717
1733
|
// src/wire-goal.ts
|
|
1718
1734
|
var WIRE_GOAL_PHASES = [
|
|
1719
1735
|
"active",
|
|
@@ -1869,4 +1885,4 @@ var COMPLIANCE_ACTIONS = ["block", "mask", "warn", "off"];
|
|
|
1869
1885
|
var SECRET_SERVICE = "epoch-agent";
|
|
1870
1886
|
var MCP_DATA_KEY_NAME = "mcp-auth-data-key";
|
|
1871
1887
|
|
|
1872
|
-
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, 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, OVERSIZE_RATIO, 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_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_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_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_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, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|
|
1888
|
+
export { ACTION_CONTEXTS, AGENT_ROLE_NAME_PATTERN, API_KEY_ENV_VARS, APPROVAL_OUTCOMES, COMMAND_NAME_PATTERN, COMPLIANCE_ACTIONS, COMPLIANCE_CATEGORIES, CURRENCIES, 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, OVERSIZE_RATIO, 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_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_ROLE_ADD_FIELDS, WIRE_ROLE_ADD_RESPONSE_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_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, isApprovalOutcome, isContextNearlyFull, isCurrency, isHeadlessInputFormat, isHeadlessLifecycleEvent, isHeadlessOutputFormat, isKeyAction, isLang, isMentionableFilePath, isOperationType, isPermissionLevel, isPlanOutcome, isPromptOversize, isProviderType, isQuestionAnswerMap, isSearchProviderType, isValidAgentRoleName, isValidCommandName, isWireGoalPhase, isWireHubEvent, isWirePlanAction, isWirePluginArchiveName, isWireRewindScope, isWireSettingWriteLayer, isWireSkillDropName, makeTranslate, mcpConnectorState, normalizeApproval, packSessionSurface, parseChord, parseModelRef, parseSequence, perAction, placeholdersOf, promptTokens, resolveHostText, sequenceId, sessionPartSummary, stripSystemNote, systemNote, tableOf, totalUsageTokens, translatorFor, truncateToBudget, turnDigest, unfixedRules, utf8ByteLength, wireFields };
|