@ycodium-ai/plugin-api 0.2.5339 → 0.2.5374
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/dist/conversationDerive.d.ts +2 -0
- package/dist/conversationDerive.d.ts.map +1 -1
- package/dist/conversationForks.d.ts +4 -0
- package/dist/conversationForks.d.ts.map +1 -1
- package/dist/dataPorts.gen.d.ts +153 -1
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/executor.d.ts +1 -1
- package/dist/executor.d.ts.map +1 -1
- package/dist/executor.js.map +1 -1
- package/dist/executorCard.d.ts +37 -0
- package/dist/executorCard.d.ts.map +1 -1
- package/dist/executorCard.js.map +1 -1
- package/dist/version.d.ts +3 -3
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -653,7 +653,21 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
|
|
|
653
653
|
|
|
654
654
|
<!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
|
|
655
655
|
|
|
656
|
-
The current API is **
|
|
656
|
+
The current API is **169**. This Ycodium loads plugins declaring 166 through 169.
|
|
657
|
+
|
|
658
|
+
API 169 carries the executor card host facts and the settings digest on the provider data ports: the executor list output's `card` now includes `resumeCommand`, `repositoryInstructionsFile`, `signInNotNeededWhen`, `mcpToolNameStyle` and `homeLayout.accountEnvVar`, and every provider row the machine settings and instance maintenance ports return (`install`, `update`, `sign-in`, `cancel maintenance`) carries `configDigest`, the digest of the exact settings a probe measured under.
|
|
659
|
+
|
|
660
|
+
API 168 adds four optional `ExecutorCard` fields the host reads instead of recognizing drivers by name: `resumeCommand` (the "continue in a terminal" command built from the resume cursor), `repositoryInstructionsFile` (a file the CLI reads besides `AGENTS.md`, also used when the host writes commit messages with this hand), `signInNotNeededWhen` (an instance config value that makes sign-in unnecessary, such as an API-key mode) and `mcpToolNameStyle` (`"server_tool"` when the hand names MCP tools `<server>_<tool>`). Also adds optional `ExecutorHomeLayout.accountEnvVar`: the variable that carries a separate account directory while `homeEnvVar` keeps the shared one (Claude Code's `CLAUDE_SECURESTORAGE_CONFIG_DIR`); the host resolves directories and maintenance environments from it.
|
|
661
|
+
|
|
662
|
+
API 167 adds optional title and applicability to experience record, revise and read ports; omitted revise fields preserve the base revision values and empty strings clear them
|
|
663
|
+
|
|
664
|
+
API 166 permits member-only session directory refresh rows without status
|
|
665
|
+
|
|
666
|
+
API 166 adds optional post notification metadata, request resolutions and parsed notice postId; exposes optional machine-task logPostId, keeps stored logCommentId readable, and returns post references from records.notify with plugin authorship
|
|
667
|
+
|
|
668
|
+
API 166 adds batch session membership reads and versioned explicit membership updates, optional verified creator facts, and optional threadIds directory filtering with a machine capability flag
|
|
669
|
+
|
|
670
|
+
API 166 adds optional turnId and read-error details to conversation message reveals; the host loads the window around that turn before the view scrolls and highlights the message
|
|
657
671
|
|
|
658
672
|
API 165 adds the parent-start history change with byChild to work history reads
|
|
659
673
|
|
|
@@ -64,6 +64,8 @@ interface ConversationParsedNotificationFields {
|
|
|
64
64
|
readonly resolution?: ThreadNotificationData["resolution"];
|
|
65
65
|
/** 子会话回报落成的通信记录号:宿主按记录在时间线上画卡片,插件不再画这一块。旧通知缺席。 */
|
|
66
66
|
readonly recordId?: string;
|
|
67
|
+
/** 回报已落为发言,由宿主按发言画卡片,插件不重复显示通知块。 */
|
|
68
|
+
readonly postId?: string;
|
|
67
69
|
}
|
|
68
70
|
/** 子会话种类保证有跳转目标;通用通知可以没有来源会话。 */
|
|
69
71
|
export type ConversationParsedSystemNotification = ConversationParsedNotificationFields & ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationDerive.d.ts","sourceRoot":"","sources":["../src/conversationDerive.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,uBAAu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AAE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IAChE,kCAAkC;IAClC,iCAAiC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACzD,kCAAkC;IAClC,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3C,mCAAmC;IACnC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,GAAG,2BAA2B,CAAC;IAClF,2DAA2D;IAC3D,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,GAAG,kCAAkC,CAAC;IACzF,+CAA+C;IAC/C,kBAAkB,CAAC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GAAG,4BAA4B,CAAC;IAC5F,0BAA0B;IAC1B,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,2BAA2B,CAAC;IAC3E,8BAA8B;IAC9B,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;IACrE,oCAAoC;IACpC,qBAAqB,CACnB,KAAK,EAAE,OAAO,GACb;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/F,2CAA2C;IAC3C,0BAA0B,CACxB,OAAO,EAAE,SAAS,yBAAyB,EAAE,EAC7C,SAAS,EAAE,MAAM,GAAG,IAAI,GACvB,OAAO,CAAC;CACZ"}
|
|
@@ -12,6 +12,8 @@ export interface ConversationMessageRevealRequest {
|
|
|
12
12
|
readonly id: number;
|
|
13
13
|
readonly messageId: string;
|
|
14
14
|
readonly maxPages: number;
|
|
15
|
+
/** 已知轮次由宿主按轮次加载;界面保留该窗口,不回最新页再逐页找消息。 */
|
|
16
|
+
readonly turnId?: string;
|
|
15
17
|
}
|
|
16
18
|
/** 请求按机器和会话隔离;目标尚未挂载、尚未加载或不可见时不能提前消费。 */
|
|
17
19
|
export interface ConversationMessageReveal {
|
|
@@ -19,6 +21,8 @@ export interface ConversationMessageReveal {
|
|
|
19
21
|
/** 来源正文尚未到达时不能把空窗口当成找不到。 */
|
|
20
22
|
readonly pending?: boolean;
|
|
21
23
|
readonly unavailable?: boolean;
|
|
24
|
+
/** 历史窗口读取失败的原因;不能把读取故障说成目标消息不存在。 */
|
|
25
|
+
readonly error?: string;
|
|
22
26
|
onHandled(requestId: number): void;
|
|
23
27
|
/** 翻页预算归宿主;同一窗口重复报告不重复请求,隐藏或受交互保护时等待。 */
|
|
24
28
|
advance(input: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationForks.d.ts","sourceRoot":"","sources":["../src/conversationForks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAElE,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;IACtE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,uCAAuC;AACvC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACpD,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"conversationForks.d.ts","sourceRoot":"","sources":["../src/conversationForks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAElE,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;IACtE,QA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153,7 @@ type ProjectMachineRemoval_2 = {
|
|
|
153
153
|
type Arrays_2 = ReadonlyArray<string>;
|
|
154
154
|
type Arrays_3 = ReadonlyArray<string>;
|
|
155
155
|
type Arrays_4 = ReadonlyArray<"summary" | "runtime">;
|
|
156
|
+
type ThreadDirectoryIds = ReadonlyArray<string>;
|
|
156
157
|
type Objects_22 = {
|
|
157
158
|
readonly "sourceThreadId": string;
|
|
158
159
|
readonly "sourceMessageId"?: string;
|
|
@@ -213,6 +214,14 @@ type Objects_34 = {
|
|
|
213
214
|
readonly "userId": string;
|
|
214
215
|
readonly "displayName": string;
|
|
215
216
|
};
|
|
217
|
+
type ThreadCreatorAccount = {
|
|
218
|
+
readonly "kind": "account";
|
|
219
|
+
readonly "userId": string;
|
|
220
|
+
};
|
|
221
|
+
type ThreadCreatorLocalOwner = {
|
|
222
|
+
readonly "kind": "local-owner";
|
|
223
|
+
readonly "environmentId": string;
|
|
224
|
+
};
|
|
216
225
|
type Objects_35 = {
|
|
217
226
|
readonly "kind": "approval" | "userInput";
|
|
218
227
|
readonly "requestId": string;
|
|
@@ -1329,6 +1338,14 @@ type CommunicationPostBindResult = {
|
|
|
1329
1338
|
readonly "postId": string;
|
|
1330
1339
|
readonly "targetKey": string;
|
|
1331
1340
|
};
|
|
1341
|
+
type CommunicationChildReport_1 = {
|
|
1342
|
+
readonly "kind": "child.settled" | "child.failed" | "child.stopped" | "child.approval" | "child.question";
|
|
1343
|
+
readonly "requestId"?: string;
|
|
1344
|
+
};
|
|
1345
|
+
type CommunicationPostNotificationResolution = {
|
|
1346
|
+
readonly "resolution": "approved" | "denied" | "handled" | "answered" | "dismissed" | "expired" | "cancelled";
|
|
1347
|
+
readonly "at": string;
|
|
1348
|
+
};
|
|
1332
1349
|
type Union_65 = {
|
|
1333
1350
|
readonly "kind": "post";
|
|
1334
1351
|
readonly "id": string;
|
|
@@ -1346,6 +1363,24 @@ type CommunicationPostMarkReadItem = {
|
|
|
1346
1363
|
type CommunicationPostMarkReadResult = {
|
|
1347
1364
|
readonly "marked": number;
|
|
1348
1365
|
};
|
|
1366
|
+
type ThreadMemberThreadRefInput = {
|
|
1367
|
+
readonly "kind": "thread";
|
|
1368
|
+
readonly "environmentId": string;
|
|
1369
|
+
readonly "threadId": string;
|
|
1370
|
+
};
|
|
1371
|
+
type ThreadMembersSource = "implicit" | "explicit" | "line";
|
|
1372
|
+
type ThreadMemberInputMemberRef = {
|
|
1373
|
+
readonly "kind": "member";
|
|
1374
|
+
readonly "memberId": string;
|
|
1375
|
+
};
|
|
1376
|
+
type ThreadMemberInputAccount = {
|
|
1377
|
+
readonly "kind": "account";
|
|
1378
|
+
readonly "userId": string;
|
|
1379
|
+
};
|
|
1380
|
+
type ThreadMemberInputLocalOwner = {
|
|
1381
|
+
readonly "kind": "local-owner";
|
|
1382
|
+
readonly "environmentId": string;
|
|
1383
|
+
};
|
|
1349
1384
|
type ProjectMachineRemoval_3 = {
|
|
1350
1385
|
readonly "environmentId": string;
|
|
1351
1386
|
readonly "removalId": string;
|
|
@@ -1389,6 +1424,14 @@ type Objects_225 = {
|
|
|
1389
1424
|
readonly "userId": string;
|
|
1390
1425
|
readonly "displayName": string;
|
|
1391
1426
|
};
|
|
1427
|
+
type ThreadCreatorAccount_1 = {
|
|
1428
|
+
readonly "kind": "account";
|
|
1429
|
+
readonly "userId": string;
|
|
1430
|
+
};
|
|
1431
|
+
type ThreadCreatorLocalOwner_1 = {
|
|
1432
|
+
readonly "kind": "local-owner";
|
|
1433
|
+
readonly "environmentId": string;
|
|
1434
|
+
};
|
|
1392
1435
|
type Objects_226 = {
|
|
1393
1436
|
readonly "kind": "approval" | "userInput";
|
|
1394
1437
|
readonly "requestId": string;
|
|
@@ -1646,8 +1689,13 @@ type Arrays_40 = ReadonlyArray<Objects_31 | Objects_32 | Objects_33 | {
|
|
|
1646
1689
|
readonly "principalId": string;
|
|
1647
1690
|
readonly "memberId"?: string;
|
|
1648
1691
|
}>;
|
|
1692
|
+
type ThreadMembersUpdateResult = {
|
|
1693
|
+
readonly "thread": Objects_33;
|
|
1694
|
+
readonly "version": number;
|
|
1695
|
+
};
|
|
1649
1696
|
type Union_8 = Objects_34 | null | undefined;
|
|
1650
1697
|
type Union_19 = Objects_34 | null | undefined;
|
|
1698
|
+
type ThreadCreatorPrincipal = ThreadCreatorAccount | ThreadCreatorLocalOwner;
|
|
1651
1699
|
type Union_10 = ReadonlyArray<Objects_35> | undefined;
|
|
1652
1700
|
type Arrays_9 = ReadonlyArray<Objects_35>;
|
|
1653
1701
|
type Union_11 = ReadonlyArray<Objects_36> | undefined;
|
|
@@ -1853,6 +1901,7 @@ type Arrays_13 = ReadonlyArray<{
|
|
|
1853
1901
|
readonly "email"?: string | undefined;
|
|
1854
1902
|
};
|
|
1855
1903
|
readonly "checkedAt": string;
|
|
1904
|
+
readonly "configDigest"?: string;
|
|
1856
1905
|
readonly "models": ReadonlyArray<{
|
|
1857
1906
|
readonly "slug": string;
|
|
1858
1907
|
readonly "name": string;
|
|
@@ -2039,6 +2088,15 @@ type Union_92 = Objects_199 | null;
|
|
|
2039
2088
|
type Union_69 = Objects_209 | null | undefined;
|
|
2040
2089
|
type CommunicationPostReplyInput = Objects_217 | Objects_218 | Objects_219;
|
|
2041
2090
|
type CommunicationPostReplyInput_1 = Objects_217 | Objects_218 | Objects_219;
|
|
2091
|
+
type CommunicationPostNotification = {
|
|
2092
|
+
readonly "kind": "child-report";
|
|
2093
|
+
readonly "sourceThreadId": string;
|
|
2094
|
+
readonly "childReport": CommunicationChildReport_1;
|
|
2095
|
+
} | {
|
|
2096
|
+
readonly "kind": "plugin-notice";
|
|
2097
|
+
readonly "sourceThreadId": string;
|
|
2098
|
+
};
|
|
2099
|
+
type ThreadMemberInputPerson = ThreadMemberInputAccount | ThreadMemberInputLocalOwner;
|
|
2042
2100
|
type Union_66 = Objects_221 | null;
|
|
2043
2101
|
type Union_84 = Objects_221 | null | undefined;
|
|
2044
2102
|
type Union_81 = Objects_222 | undefined;
|
|
@@ -2046,6 +2104,7 @@ type Union_70 = Objects_224 | null | undefined;
|
|
|
2046
2104
|
type ThreadMembers_1 = ReadonlyArray<ThreadMemberRef_1>;
|
|
2047
2105
|
type Union_71 = Objects_225 | null | undefined;
|
|
2048
2106
|
type Union_80 = Objects_225 | null | undefined;
|
|
2107
|
+
type ThreadCreatorPrincipal_1 = ThreadCreatorAccount_1 | ThreadCreatorLocalOwner_1;
|
|
2049
2108
|
type Union_73 = ReadonlyArray<Objects_226> | undefined;
|
|
2050
2109
|
type Union_74 = Objects_227 | null | undefined;
|
|
2051
2110
|
type Union_75 = Objects_228 | null | undefined;
|
|
@@ -2240,6 +2299,8 @@ type Union_3 = Arrays_6 | Arrays_7;
|
|
|
2240
2299
|
type Union_4 = Objects_28 | undefined;
|
|
2241
2300
|
type Union_67 = Objects_208 | undefined;
|
|
2242
2301
|
type ThreadMembers = ReadonlyArray<ThreadMemberRef>;
|
|
2302
|
+
type ThreadDirectoryRefreshMembers = ReadonlyArray<ThreadMemberRef>;
|
|
2303
|
+
type ThreadMembersStateMembers = ReadonlyArray<ThreadMemberRef>;
|
|
2243
2304
|
type Union_14 = Objects_39 | null;
|
|
2244
2305
|
type Union_76 = Objects_229 | null;
|
|
2245
2306
|
type Union_22 = Objects_45 | Objects_46 | Objects_47 | Objects_48 | Objects_49 | Objects_50 | Objects_51 | Objects_52 | Objects_53 | Objects_54 | Objects_55 | Objects_56 | Objects_57 | Objects_58 | undefined;
|
|
@@ -2376,6 +2437,10 @@ type Objects_114 = {
|
|
|
2376
2437
|
readonly "model": string;
|
|
2377
2438
|
readonly "options"?: Union_44;
|
|
2378
2439
|
};
|
|
2440
|
+
type ThreadMemberInputPersonRef = {
|
|
2441
|
+
readonly "kind": "person";
|
|
2442
|
+
readonly "person": ThreadMemberInputPerson;
|
|
2443
|
+
};
|
|
2379
2444
|
type Union_72 = {
|
|
2380
2445
|
readonly "turnId": string;
|
|
2381
2446
|
readonly "state": "running" | "interrupted" | "completed" | "error";
|
|
@@ -2420,6 +2485,7 @@ type Objects_179 = {
|
|
|
2420
2485
|
readonly "rememberProject"?: boolean;
|
|
2421
2486
|
readonly "approval"?: string;
|
|
2422
2487
|
readonly "logCommentId"?: string;
|
|
2488
|
+
readonly "logPostId"?: string;
|
|
2423
2489
|
};
|
|
2424
2490
|
type Objects_203 = {
|
|
2425
2491
|
readonly "environmentId": string;
|
|
@@ -2436,6 +2502,7 @@ type Objects_203 = {
|
|
|
2436
2502
|
readonly "rememberProject"?: boolean;
|
|
2437
2503
|
readonly "approval"?: string;
|
|
2438
2504
|
readonly "logCommentId"?: string;
|
|
2505
|
+
readonly "logPostId"?: string;
|
|
2439
2506
|
};
|
|
2440
2507
|
type Objects_25 = {
|
|
2441
2508
|
readonly "instanceId": string;
|
|
@@ -2447,6 +2514,14 @@ type Objects_116 = {
|
|
|
2447
2514
|
readonly "model": string;
|
|
2448
2515
|
readonly "options"?: Union_3;
|
|
2449
2516
|
};
|
|
2517
|
+
type ThreadMembersState = {
|
|
2518
|
+
readonly "projectId": string;
|
|
2519
|
+
readonly "thread": Objects_33;
|
|
2520
|
+
readonly "source": ThreadMembersSource;
|
|
2521
|
+
readonly "version": number;
|
|
2522
|
+
readonly "members": ThreadMembersStateMembers;
|
|
2523
|
+
readonly "workLineId"?: string;
|
|
2524
|
+
};
|
|
2450
2525
|
type Union_35 = ReadonlyArray<Union_36> | undefined;
|
|
2451
2526
|
type Arrays_41 = ReadonlyArray<Union_36>;
|
|
2452
2527
|
type Objects_252 = {
|
|
@@ -2461,6 +2536,8 @@ type Objects_165 = {
|
|
|
2461
2536
|
readonly "baseRevision": number | null;
|
|
2462
2537
|
readonly "author": Union_55;
|
|
2463
2538
|
readonly "createdAt": string;
|
|
2539
|
+
readonly "title"?: string;
|
|
2540
|
+
readonly "applicability"?: string;
|
|
2464
2541
|
readonly "body": string | null;
|
|
2465
2542
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
2466
2543
|
readonly "bodyWindow"?: Objects_59;
|
|
@@ -2527,6 +2604,7 @@ type Union_94 = {
|
|
|
2527
2604
|
readonly "modelSelection": Objects_114;
|
|
2528
2605
|
readonly "threadId"?: string;
|
|
2529
2606
|
} | null;
|
|
2607
|
+
type ThreadMemberInput = ThreadMemberInputMemberRef | ThreadMemberInputPersonRef | ThreadMemberThreadRefInput;
|
|
2530
2608
|
type Objects_223 = {
|
|
2531
2609
|
readonly "executionSelection"?: Union_67;
|
|
2532
2610
|
readonly "nativeModeId"?: string | null | undefined;
|
|
@@ -2538,6 +2616,7 @@ type Objects_223 = {
|
|
|
2538
2616
|
readonly "presetId"?: string | null | undefined;
|
|
2539
2617
|
readonly "members"?: ThreadMembers_1;
|
|
2540
2618
|
readonly "createdBy"?: Union_71;
|
|
2619
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
|
|
2541
2620
|
readonly "latestTurn": Union_72;
|
|
2542
2621
|
readonly "stopRequestedAt"?: string | null;
|
|
2543
2622
|
readonly "settledOverride"?: "settled" | "active" | null | undefined;
|
|
@@ -2587,6 +2666,7 @@ type Objects_247 = {
|
|
|
2587
2666
|
readonly "memberId"?: string | undefined;
|
|
2588
2667
|
readonly "members"?: ThreadMembers_1;
|
|
2589
2668
|
readonly "createdBy"?: Union_71;
|
|
2669
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
|
|
2590
2670
|
readonly "latestTurn": Union_72;
|
|
2591
2671
|
readonly "stopRequestedAt"?: string | null;
|
|
2592
2672
|
readonly "createdAt": string;
|
|
@@ -2876,6 +2956,8 @@ type Objects_186 = {
|
|
|
2876
2956
|
readonly "createdAt": string;
|
|
2877
2957
|
readonly "editedAt": string | null;
|
|
2878
2958
|
};
|
|
2959
|
+
type ThreadMembersInput = ReadonlyArray<ThreadMemberInput>;
|
|
2960
|
+
type ThreadMembersInput_1 = ReadonlyArray<ThreadMemberInput>;
|
|
2879
2961
|
type Objects_220 = {
|
|
2880
2962
|
readonly "threadId": string;
|
|
2881
2963
|
readonly "projectId": string;
|
|
@@ -2910,6 +2992,7 @@ type Objects_27 = {
|
|
|
2910
2992
|
readonly "presetId"?: string | null | undefined;
|
|
2911
2993
|
readonly "members"?: ThreadMembers;
|
|
2912
2994
|
readonly "createdBy"?: Union_8;
|
|
2995
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
|
|
2913
2996
|
readonly "latestTurn": Union_9;
|
|
2914
2997
|
readonly "stopRequestedAt"?: string | null;
|
|
2915
2998
|
readonly "settledOverride": "settled" | "active" | null;
|
|
@@ -2959,6 +3042,7 @@ type Objects_66 = {
|
|
|
2959
3042
|
readonly "memberId"?: string | undefined;
|
|
2960
3043
|
readonly "members"?: ThreadMembers;
|
|
2961
3044
|
readonly "createdBy"?: Union_8;
|
|
3045
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
|
|
2962
3046
|
readonly "latestTurn": Union_9;
|
|
2963
3047
|
readonly "stopRequestedAt"?: string | null;
|
|
2964
3048
|
readonly "createdAt": string;
|
|
@@ -3709,6 +3793,7 @@ export type ProjectsMachinesListOutput = {
|
|
|
3709
3793
|
};
|
|
3710
3794
|
readonly "serverVersion"?: string;
|
|
3711
3795
|
readonly "wireProtocolVersion"?: number;
|
|
3796
|
+
readonly "threadDirectoryIds"?: boolean;
|
|
3712
3797
|
readonly "actions"?: ReadonlyArray<Objects_19>;
|
|
3713
3798
|
readonly "autoApproved"?: "all" | ReadonlyArray<string>;
|
|
3714
3799
|
readonly "projectTasks"?: ReadonlyArray<{
|
|
@@ -3854,6 +3939,7 @@ export type ProjectsMachinesActionsListOutput = {
|
|
|
3854
3939
|
export type ProjectsMachinesThreadsListInput = {
|
|
3855
3940
|
readonly "collection"?: "page" | "all";
|
|
3856
3941
|
readonly "include"?: Arrays_4;
|
|
3942
|
+
readonly "threadIds"?: ThreadDirectoryIds;
|
|
3857
3943
|
readonly "parentThreadId"?: string;
|
|
3858
3944
|
readonly "forkedFrom"?: Objects_22;
|
|
3859
3945
|
readonly "archived"?: "exclude" | "include" | "only";
|
|
@@ -3899,6 +3985,7 @@ export type ThreadsListInput = {
|
|
|
3899
3985
|
readonly "collection"?: "page" | "all";
|
|
3900
3986
|
readonly "include"?: Arrays_4;
|
|
3901
3987
|
readonly "projectId"?: string;
|
|
3988
|
+
readonly "threadIds"?: ThreadDirectoryIds;
|
|
3902
3989
|
readonly "parentThreadId"?: string;
|
|
3903
3990
|
readonly "forkedFrom"?: Objects_22;
|
|
3904
3991
|
readonly "archived"?: "exclude" | "include" | "only";
|
|
@@ -3912,6 +3999,7 @@ export type ThreadsListOutput = Objects_60;
|
|
|
3912
3999
|
export type ThreadsListSubscribeInput = {
|
|
3913
4000
|
readonly "include"?: Arrays_4;
|
|
3914
4001
|
readonly "projectId"?: string;
|
|
4002
|
+
readonly "threadIds"?: ThreadDirectoryIds;
|
|
3915
4003
|
readonly "parentThreadId"?: string;
|
|
3916
4004
|
readonly "forkedFrom"?: Objects_22;
|
|
3917
4005
|
readonly "archived"?: "exclude" | "include" | "only";
|
|
@@ -3934,12 +4022,13 @@ export type ThreadsListSubscribeOutput = {
|
|
|
3934
4022
|
} | {
|
|
3935
4023
|
readonly "threads": ReadonlyArray<{
|
|
3936
4024
|
readonly "threadId": string;
|
|
3937
|
-
readonly "status"
|
|
4025
|
+
readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle";
|
|
3938
4026
|
readonly "runtime"?: {
|
|
3939
4027
|
readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
|
|
3940
4028
|
readonly "backgroundMonitorCount"?: number | undefined;
|
|
3941
4029
|
readonly "planProgress"?: Union_17;
|
|
3942
4030
|
};
|
|
4031
|
+
readonly "members"?: ThreadDirectoryRefreshMembers;
|
|
3943
4032
|
}>;
|
|
3944
4033
|
readonly "_tag": "refresh";
|
|
3945
4034
|
} | Objects_63;
|
|
@@ -3987,6 +4076,7 @@ export type ThreadsHistoryOutput = {
|
|
|
3987
4076
|
readonly "memberId"?: string | undefined;
|
|
3988
4077
|
readonly "members"?: ThreadMembers;
|
|
3989
4078
|
readonly "createdBy"?: Union_8;
|
|
4079
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
|
|
3990
4080
|
readonly "latestTurn": Union_9;
|
|
3991
4081
|
readonly "stopRequestedAt"?: string | null;
|
|
3992
4082
|
readonly "continuationCheck"?: ThreadContinuationCheckOrNull;
|
|
@@ -4014,6 +4104,7 @@ export type ThreadsHistoryOutput = {
|
|
|
4014
4104
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
4015
4105
|
readonly "pluginId"?: string | undefined;
|
|
4016
4106
|
readonly "recordId"?: string | undefined;
|
|
4107
|
+
readonly "postId"?: string;
|
|
4017
4108
|
} | {
|
|
4018
4109
|
readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
|
|
4019
4110
|
readonly "sourceThreadId"?: string | undefined;
|
|
@@ -4027,6 +4118,7 @@ export type ThreadsHistoryOutput = {
|
|
|
4027
4118
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
4028
4119
|
readonly "pluginId"?: string | undefined;
|
|
4029
4120
|
readonly "recordId"?: string | undefined;
|
|
4121
|
+
readonly "postId"?: string;
|
|
4030
4122
|
};
|
|
4031
4123
|
readonly "queuedAt": string;
|
|
4032
4124
|
}> | undefined;
|
|
@@ -5316,6 +5408,8 @@ export type MachineSettingsConfigGetOutput = {
|
|
|
5316
5408
|
readonly "wireProtocolVersion"?: number;
|
|
5317
5409
|
readonly "minClientWireProtocolVersion"?: number;
|
|
5318
5410
|
readonly "capabilities": {
|
|
5411
|
+
readonly "threadDirectoryIds"?: boolean;
|
|
5412
|
+
readonly "threadMembers"?: boolean;
|
|
5319
5413
|
readonly "providerMaintenanceCancel"?: boolean;
|
|
5320
5414
|
readonly "repositoryIdentity": boolean;
|
|
5321
5415
|
readonly "connectionProbe"?: boolean;
|
|
@@ -5601,6 +5695,7 @@ export type ProvidersExecutorsListOutput = {
|
|
|
5601
5695
|
readonly "homeLayout"?: {
|
|
5602
5696
|
readonly "accountConfigKey": string;
|
|
5603
5697
|
readonly "transcriptSubdir": string;
|
|
5698
|
+
readonly "accountEnvVar"?: string | undefined;
|
|
5604
5699
|
} | undefined;
|
|
5605
5700
|
readonly "accountDirectory"?: {
|
|
5606
5701
|
readonly "configKeys": readonly [string, ...Array<string>];
|
|
@@ -5608,6 +5703,16 @@ export type ProvidersExecutorsListOutput = {
|
|
|
5608
5703
|
readonly "brandAliases"?: ReadonlyArray<string>;
|
|
5609
5704
|
readonly "holdsThreads"?: boolean;
|
|
5610
5705
|
} | undefined;
|
|
5706
|
+
readonly "resumeCommand"?: {
|
|
5707
|
+
readonly "cursorKeys": readonly [string, ...Array<string>];
|
|
5708
|
+
readonly "command": string;
|
|
5709
|
+
} | undefined;
|
|
5710
|
+
readonly "repositoryInstructionsFile"?: string | undefined;
|
|
5711
|
+
readonly "signInNotNeededWhen"?: {
|
|
5712
|
+
readonly "configKey": string;
|
|
5713
|
+
readonly "equals": string;
|
|
5714
|
+
} | undefined;
|
|
5715
|
+
readonly "mcpToolNameStyle"?: "server_tool" | undefined;
|
|
5611
5716
|
readonly "environment": ReadonlyArray<{
|
|
5612
5717
|
readonly "name": string;
|
|
5613
5718
|
readonly "sensitive": boolean;
|
|
@@ -6509,6 +6614,8 @@ export type MemoryExperiencesListOutput = {
|
|
|
6509
6614
|
readonly "supersededBy"?: Arrays_34;
|
|
6510
6615
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
6511
6616
|
readonly "usage"?: Objects_164;
|
|
6617
|
+
readonly "title"?: string;
|
|
6618
|
+
readonly "applicability"?: string;
|
|
6512
6619
|
readonly "excerpt": string | null;
|
|
6513
6620
|
}>;
|
|
6514
6621
|
readonly "nextCursor": string | null;
|
|
@@ -6532,6 +6639,8 @@ export type MemoryExperiencesGetOutput = {
|
|
|
6532
6639
|
readonly "supersededBy"?: Arrays_34;
|
|
6533
6640
|
readonly "bodyState": "present" | "erased" | "unavailable";
|
|
6534
6641
|
readonly "usage"?: Objects_164;
|
|
6642
|
+
readonly "title"?: string;
|
|
6643
|
+
readonly "applicability"?: string;
|
|
6535
6644
|
readonly "body": string | null;
|
|
6536
6645
|
readonly "bodyWindow"?: Objects_59;
|
|
6537
6646
|
readonly "forgottenAt": string | null;
|
|
@@ -6576,6 +6685,7 @@ export type MemorySearchOutput = {
|
|
|
6576
6685
|
readonly "id": string;
|
|
6577
6686
|
};
|
|
6578
6687
|
readonly "revision": number;
|
|
6688
|
+
readonly "title"?: string;
|
|
6579
6689
|
readonly "headingPath": string;
|
|
6580
6690
|
readonly "snippet": string;
|
|
6581
6691
|
readonly "score": number;
|
|
@@ -6588,6 +6698,8 @@ export type MemoryExperiencesRecordInput = {
|
|
|
6588
6698
|
readonly "requestId"?: string;
|
|
6589
6699
|
readonly "experienceId"?: string;
|
|
6590
6700
|
readonly "body": string;
|
|
6701
|
+
readonly "title"?: string;
|
|
6702
|
+
readonly "applicability"?: string;
|
|
6591
6703
|
readonly "sourceThreadId"?: string;
|
|
6592
6704
|
readonly "sourceTurnId"?: string;
|
|
6593
6705
|
readonly "supersedes"?: ReadonlyArray<string>;
|
|
@@ -6603,6 +6715,8 @@ export type MemoryExperiencesReviseInput = {
|
|
|
6603
6715
|
readonly "experienceId": string;
|
|
6604
6716
|
readonly "baseRevision": number;
|
|
6605
6717
|
readonly "body": string;
|
|
6718
|
+
readonly "title"?: string;
|
|
6719
|
+
readonly "applicability"?: string;
|
|
6606
6720
|
};
|
|
6607
6721
|
export type MemoryExperiencesReviseOutput = {
|
|
6608
6722
|
readonly "sequence": number;
|
|
@@ -7734,6 +7848,7 @@ export type WorkMachineTasksRespondOutput = {
|
|
|
7734
7848
|
readonly "workItemId": string;
|
|
7735
7849
|
readonly "version": number;
|
|
7736
7850
|
readonly "logCommentId"?: string;
|
|
7851
|
+
readonly "logPostId"?: string;
|
|
7737
7852
|
};
|
|
7738
7853
|
readonly "replayed"?: boolean;
|
|
7739
7854
|
};
|
|
@@ -8475,6 +8590,8 @@ export type CommunicationPostsGetOutput = ReadonlyArray<{
|
|
|
8475
8590
|
readonly "anchor": Union_64;
|
|
8476
8591
|
readonly "inGroup"?: true;
|
|
8477
8592
|
readonly "author": Union_55;
|
|
8593
|
+
readonly "notification"?: CommunicationPostNotification;
|
|
8594
|
+
readonly "notificationResolution"?: CommunicationPostNotificationResolution;
|
|
8478
8595
|
readonly "authorName"?: string;
|
|
8479
8596
|
readonly "authorMemberId"?: string;
|
|
8480
8597
|
readonly "authorRemoteThreadId"?: string;
|
|
@@ -8548,6 +8665,8 @@ export type CommunicationPostsListOutput = {
|
|
|
8548
8665
|
readonly "anchor": Union_64;
|
|
8549
8666
|
readonly "inGroup"?: true;
|
|
8550
8667
|
readonly "author": Union_55;
|
|
8668
|
+
readonly "notification"?: CommunicationPostNotification;
|
|
8669
|
+
readonly "notificationResolution"?: CommunicationPostNotificationResolution;
|
|
8551
8670
|
readonly "authorName"?: string;
|
|
8552
8671
|
readonly "authorMemberId"?: string;
|
|
8553
8672
|
readonly "authorRemoteThreadId"?: string;
|
|
@@ -8683,6 +8802,24 @@ export type MembersExternalWakesGetOutput = {
|
|
|
8683
8802
|
readonly "reportedAt": string | null;
|
|
8684
8803
|
}>;
|
|
8685
8804
|
};
|
|
8805
|
+
export type ThreadsMembersGetInput = {
|
|
8806
|
+
readonly "projectId": string;
|
|
8807
|
+
readonly "threads": ReadonlyArray<ThreadMemberThreadRefInput>;
|
|
8808
|
+
};
|
|
8809
|
+
export type ThreadsMembersGetOutput = ReadonlyArray<ThreadMembersState>;
|
|
8810
|
+
export type ThreadsMembersUpdateInput = {
|
|
8811
|
+
readonly "projectId": string;
|
|
8812
|
+
readonly "thread": ThreadMemberThreadRefInput;
|
|
8813
|
+
readonly "requestId"?: string;
|
|
8814
|
+
readonly "expectedVersion": number;
|
|
8815
|
+
readonly "add"?: ThreadMembersInput;
|
|
8816
|
+
readonly "remove"?: ThreadMembersInput_1;
|
|
8817
|
+
};
|
|
8818
|
+
export type ThreadsMembersUpdateOutput = {
|
|
8819
|
+
readonly "sequence": number;
|
|
8820
|
+
readonly "result": ThreadMembersUpdateResult;
|
|
8821
|
+
readonly "replayed"?: boolean;
|
|
8822
|
+
};
|
|
8686
8823
|
export type ProjectsMachinesListEncodedOutput = {
|
|
8687
8824
|
readonly "accountDiscovery"?: AccountMachineDiscoveryStatus;
|
|
8688
8825
|
readonly "items": ReadonlyArray<{
|
|
@@ -8693,6 +8830,7 @@ export type ProjectsMachinesListEncodedOutput = {
|
|
|
8693
8830
|
};
|
|
8694
8831
|
readonly "serverVersion"?: string;
|
|
8695
8832
|
readonly "wireProtocolVersion"?: number;
|
|
8833
|
+
readonly "threadDirectoryIds"?: boolean;
|
|
8696
8834
|
readonly "actions"?: ReadonlyArray<{
|
|
8697
8835
|
readonly "actionId": string;
|
|
8698
8836
|
readonly "kind": "install" | "detect" | "sign-in" | "update" | "uninstall" | "health-check" | "restart" | "upgrade" | "command" | "diagnostics" | "project-task";
|
|
@@ -8849,6 +8987,7 @@ export type ThreadsHistoryEncodedOutput = {
|
|
|
8849
8987
|
readonly "memberId"?: string | undefined;
|
|
8850
8988
|
readonly "members"?: ThreadMembers_1;
|
|
8851
8989
|
readonly "createdBy"?: Union_71;
|
|
8990
|
+
readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
|
|
8852
8991
|
readonly "latestTurn": Union_72;
|
|
8853
8992
|
readonly "stopRequestedAt"?: string | null;
|
|
8854
8993
|
readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1;
|
|
@@ -8876,6 +9015,7 @@ export type ThreadsHistoryEncodedOutput = {
|
|
|
8876
9015
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
8877
9016
|
readonly "pluginId"?: string | undefined;
|
|
8878
9017
|
readonly "recordId"?: string | undefined;
|
|
9018
|
+
readonly "postId"?: string;
|
|
8879
9019
|
} | {
|
|
8880
9020
|
readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
|
|
8881
9021
|
readonly "sourceThreadId"?: string | undefined;
|
|
@@ -8889,6 +9029,7 @@ export type ThreadsHistoryEncodedOutput = {
|
|
|
8889
9029
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
8890
9030
|
readonly "pluginId"?: string | undefined;
|
|
8891
9031
|
readonly "recordId"?: string | undefined;
|
|
9032
|
+
readonly "postId"?: string;
|
|
8892
9033
|
};
|
|
8893
9034
|
readonly "queuedAt": string;
|
|
8894
9035
|
}> | undefined;
|
|
@@ -9237,6 +9378,7 @@ export type MachineSettingsProvidersGetEncodedOutput = {
|
|
|
9237
9378
|
readonly "email"?: string | undefined;
|
|
9238
9379
|
};
|
|
9239
9380
|
readonly "checkedAt": string;
|
|
9381
|
+
readonly "configDigest"?: string;
|
|
9240
9382
|
readonly "models": ReadonlyArray<{
|
|
9241
9383
|
readonly "slug": string;
|
|
9242
9384
|
readonly "name": string;
|
|
@@ -9444,6 +9586,8 @@ export type MachineSettingsConfigGetEncodedOutput = {
|
|
|
9444
9586
|
readonly "wireProtocolVersion"?: number;
|
|
9445
9587
|
readonly "minClientWireProtocolVersion"?: number;
|
|
9446
9588
|
readonly "capabilities": {
|
|
9589
|
+
readonly "threadDirectoryIds"?: boolean;
|
|
9590
|
+
readonly "threadMembers"?: boolean;
|
|
9447
9591
|
readonly "providerMaintenanceCancel"?: boolean;
|
|
9448
9592
|
readonly "repositoryIdentity"?: boolean | undefined;
|
|
9449
9593
|
readonly "connectionProbe"?: boolean;
|
|
@@ -10125,6 +10269,10 @@ export interface PluginDataPorts {
|
|
|
10125
10269
|
readonly restart: (input: ThreadsSessionRestartInput) => Promise<ThreadsSessionRestartOutput>;
|
|
10126
10270
|
readonly retryCleanup: (input: ThreadsSessionRetryCleanupInput) => Promise<ThreadsSessionRetryCleanupOutput>;
|
|
10127
10271
|
};
|
|
10272
|
+
readonly members: {
|
|
10273
|
+
readonly get: (input: ThreadsMembersGetInput) => Promise<ThreadsMembersGetOutput>;
|
|
10274
|
+
readonly update: (input: ThreadsMembersUpdateInput) => Promise<ThreadsMembersUpdateOutput>;
|
|
10275
|
+
};
|
|
10128
10276
|
};
|
|
10129
10277
|
readonly projects: {
|
|
10130
10278
|
readonly ledgerImport: {
|
|
@@ -11006,6 +11154,10 @@ export interface PluginUiDataReads {
|
|
|
11006
11154
|
readonly input: MembersExternalWakesGetInput;
|
|
11007
11155
|
readonly output: MembersExternalWakesGetOutput;
|
|
11008
11156
|
};
|
|
11157
|
+
readonly "threads.members.get": {
|
|
11158
|
+
readonly input: ThreadsMembersGetInput;
|
|
11159
|
+
readonly output: ThreadsMembersGetOutput;
|
|
11160
|
+
};
|
|
11009
11161
|
}
|
|
11010
11162
|
export type PluginUiDataReadId = keyof PluginUiDataReads;
|
|
11011
11163
|
export {};
|