@ycodium-ai/plugin-api 0.2.5330 → 0.2.5357

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 CHANGED
@@ -653,7 +653,19 @@ 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 **164**. This Ycodium loads plugins declaring 161 through 164.
656
+ The current API is **167**. This Ycodium loads plugins declaring 166 through 167.
657
+
658
+ 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
659
+
660
+ API 166 permits member-only session directory refresh rows without status
661
+
662
+ 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
663
+
664
+ 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
665
+
666
+ 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
667
+
668
+ API 165 adds the parent-start history change with byChild to work history reads
657
669
 
658
670
  API 164 adds an optional `threadId` to a member's `agent` settings (`ctx.members.create`, `ctx.members.update`, and the member returned by `ctx.members.list` / `ctx.members.get`): the member is that existing session on `agent.environmentId`, and its work goes there instead of into a session opened for it. A session is bound to one member of a project at a time; a second one is refused with `duplicate-member` and `field: "session"`, carrying the member that holds it. A binding can be set or cleared, not moved straight to another session. Sessions on another machine are refused for now (`invalid-input`, reason `session-machine-needs-update`).
659
671
 
@@ -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,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,EAAE,SAAS,0BAA0B,EAAE,CAAC;IAC3D,QAAQ,CAAC,eAAe,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/D,QAAQ,CAAC,UAAU,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACnD,yCAAyC;IACzC,QAAQ,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAC;IACzE,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,uCAAuC;IACvC,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,gCAAgC;IAChC,QAAQ,CAAC,i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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;CAC3B;AA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IAC1B,wCAAwC;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,yCAAyC;AACzC,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,OAAO,EAAE,gCAAgC,GAAG,IAAI,CAAC;IAC1D,4BAA4B;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,oCAAoC;IACpC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,yCAAyC;IACzC,OAAO,CAAC,KAAK,EAAE;QACb,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QAC1B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;QAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;CAC9C"}
@@ -153,6 +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;
@@ -2039,6 +2087,15 @@ type Union_92 = Objects_199 | null;
2039
2087
  type Union_69 = Objects_209 | null | undefined;
2040
2088
  type CommunicationPostReplyInput = Objects_217 | Objects_218 | Objects_219;
2041
2089
  type CommunicationPostReplyInput_1 = Objects_217 | Objects_218 | Objects_219;
2090
+ type CommunicationPostNotification = {
2091
+ readonly "kind": "child-report";
2092
+ readonly "sourceThreadId": string;
2093
+ readonly "childReport": CommunicationChildReport_1;
2094
+ } | {
2095
+ readonly "kind": "plugin-notice";
2096
+ readonly "sourceThreadId": string;
2097
+ };
2098
+ type ThreadMemberInputPerson = ThreadMemberInputAccount | ThreadMemberInputLocalOwner;
2042
2099
  type Union_66 = Objects_221 | null;
2043
2100
  type Union_84 = Objects_221 | null | undefined;
2044
2101
  type Union_81 = Objects_222 | undefined;
@@ -2046,6 +2103,7 @@ type Union_70 = Objects_224 | null | undefined;
2046
2103
  type ThreadMembers_1 = ReadonlyArray<ThreadMemberRef_1>;
2047
2104
  type Union_71 = Objects_225 | null | undefined;
2048
2105
  type Union_80 = Objects_225 | null | undefined;
2106
+ type ThreadCreatorPrincipal_1 = ThreadCreatorAccount_1 | ThreadCreatorLocalOwner_1;
2049
2107
  type Union_73 = ReadonlyArray<Objects_226> | undefined;
2050
2108
  type Union_74 = Objects_227 | null | undefined;
2051
2109
  type Union_75 = Objects_228 | null | undefined;
@@ -2240,6 +2298,8 @@ type Union_3 = Arrays_6 | Arrays_7;
2240
2298
  type Union_4 = Objects_28 | undefined;
2241
2299
  type Union_67 = Objects_208 | undefined;
2242
2300
  type ThreadMembers = ReadonlyArray<ThreadMemberRef>;
2301
+ type ThreadDirectoryRefreshMembers = ReadonlyArray<ThreadMemberRef>;
2302
+ type ThreadMembersStateMembers = ReadonlyArray<ThreadMemberRef>;
2243
2303
  type Union_14 = Objects_39 | null;
2244
2304
  type Union_76 = Objects_229 | null;
2245
2305
  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 +2436,10 @@ type Objects_114 = {
2376
2436
  readonly "model": string;
2377
2437
  readonly "options"?: Union_44;
2378
2438
  };
2439
+ type ThreadMemberInputPersonRef = {
2440
+ readonly "kind": "person";
2441
+ readonly "person": ThreadMemberInputPerson;
2442
+ };
2379
2443
  type Union_72 = {
2380
2444
  readonly "turnId": string;
2381
2445
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -2420,6 +2484,7 @@ type Objects_179 = {
2420
2484
  readonly "rememberProject"?: boolean;
2421
2485
  readonly "approval"?: string;
2422
2486
  readonly "logCommentId"?: string;
2487
+ readonly "logPostId"?: string;
2423
2488
  };
2424
2489
  type Objects_203 = {
2425
2490
  readonly "environmentId": string;
@@ -2436,6 +2501,7 @@ type Objects_203 = {
2436
2501
  readonly "rememberProject"?: boolean;
2437
2502
  readonly "approval"?: string;
2438
2503
  readonly "logCommentId"?: string;
2504
+ readonly "logPostId"?: string;
2439
2505
  };
2440
2506
  type Objects_25 = {
2441
2507
  readonly "instanceId": string;
@@ -2447,6 +2513,14 @@ type Objects_116 = {
2447
2513
  readonly "model": string;
2448
2514
  readonly "options"?: Union_3;
2449
2515
  };
2516
+ type ThreadMembersState = {
2517
+ readonly "projectId": string;
2518
+ readonly "thread": Objects_33;
2519
+ readonly "source": ThreadMembersSource;
2520
+ readonly "version": number;
2521
+ readonly "members": ThreadMembersStateMembers;
2522
+ readonly "workLineId"?: string;
2523
+ };
2450
2524
  type Union_35 = ReadonlyArray<Union_36> | undefined;
2451
2525
  type Arrays_41 = ReadonlyArray<Union_36>;
2452
2526
  type Objects_252 = {
@@ -2461,6 +2535,8 @@ type Objects_165 = {
2461
2535
  readonly "baseRevision": number | null;
2462
2536
  readonly "author": Union_55;
2463
2537
  readonly "createdAt": string;
2538
+ readonly "title"?: string;
2539
+ readonly "applicability"?: string;
2464
2540
  readonly "body": string | null;
2465
2541
  readonly "bodyState": "present" | "erased" | "unavailable";
2466
2542
  readonly "bodyWindow"?: Objects_59;
@@ -2527,6 +2603,7 @@ type Union_94 = {
2527
2603
  readonly "modelSelection": Objects_114;
2528
2604
  readonly "threadId"?: string;
2529
2605
  } | null;
2606
+ type ThreadMemberInput = ThreadMemberInputMemberRef | ThreadMemberInputPersonRef | ThreadMemberThreadRefInput;
2530
2607
  type Objects_223 = {
2531
2608
  readonly "executionSelection"?: Union_67;
2532
2609
  readonly "nativeModeId"?: string | null | undefined;
@@ -2538,6 +2615,7 @@ type Objects_223 = {
2538
2615
  readonly "presetId"?: string | null | undefined;
2539
2616
  readonly "members"?: ThreadMembers_1;
2540
2617
  readonly "createdBy"?: Union_71;
2618
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
2541
2619
  readonly "latestTurn": Union_72;
2542
2620
  readonly "stopRequestedAt"?: string | null;
2543
2621
  readonly "settledOverride"?: "settled" | "active" | null | undefined;
@@ -2587,6 +2665,7 @@ type Objects_247 = {
2587
2665
  readonly "memberId"?: string | undefined;
2588
2666
  readonly "members"?: ThreadMembers_1;
2589
2667
  readonly "createdBy"?: Union_71;
2668
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
2590
2669
  readonly "latestTurn": Union_72;
2591
2670
  readonly "stopRequestedAt"?: string | null;
2592
2671
  readonly "createdAt": string;
@@ -2876,6 +2955,8 @@ type Objects_186 = {
2876
2955
  readonly "createdAt": string;
2877
2956
  readonly "editedAt": string | null;
2878
2957
  };
2958
+ type ThreadMembersInput = ReadonlyArray<ThreadMemberInput>;
2959
+ type ThreadMembersInput_1 = ReadonlyArray<ThreadMemberInput>;
2879
2960
  type Objects_220 = {
2880
2961
  readonly "threadId": string;
2881
2962
  readonly "projectId": string;
@@ -2910,6 +2991,7 @@ type Objects_27 = {
2910
2991
  readonly "presetId"?: string | null | undefined;
2911
2992
  readonly "members"?: ThreadMembers;
2912
2993
  readonly "createdBy"?: Union_8;
2994
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
2913
2995
  readonly "latestTurn": Union_9;
2914
2996
  readonly "stopRequestedAt"?: string | null;
2915
2997
  readonly "settledOverride": "settled" | "active" | null;
@@ -2959,6 +3041,7 @@ type Objects_66 = {
2959
3041
  readonly "memberId"?: string | undefined;
2960
3042
  readonly "members"?: ThreadMembers;
2961
3043
  readonly "createdBy"?: Union_8;
3044
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
2962
3045
  readonly "latestTurn": Union_9;
2963
3046
  readonly "stopRequestedAt"?: string | null;
2964
3047
  readonly "createdAt": string;
@@ -3709,6 +3792,7 @@ export type ProjectsMachinesListOutput = {
3709
3792
  };
3710
3793
  readonly "serverVersion"?: string;
3711
3794
  readonly "wireProtocolVersion"?: number;
3795
+ readonly "threadDirectoryIds"?: boolean;
3712
3796
  readonly "actions"?: ReadonlyArray<Objects_19>;
3713
3797
  readonly "autoApproved"?: "all" | ReadonlyArray<string>;
3714
3798
  readonly "projectTasks"?: ReadonlyArray<{
@@ -3854,6 +3938,7 @@ export type ProjectsMachinesActionsListOutput = {
3854
3938
  export type ProjectsMachinesThreadsListInput = {
3855
3939
  readonly "collection"?: "page" | "all";
3856
3940
  readonly "include"?: Arrays_4;
3941
+ readonly "threadIds"?: ThreadDirectoryIds;
3857
3942
  readonly "parentThreadId"?: string;
3858
3943
  readonly "forkedFrom"?: Objects_22;
3859
3944
  readonly "archived"?: "exclude" | "include" | "only";
@@ -3899,6 +3984,7 @@ export type ThreadsListInput = {
3899
3984
  readonly "collection"?: "page" | "all";
3900
3985
  readonly "include"?: Arrays_4;
3901
3986
  readonly "projectId"?: string;
3987
+ readonly "threadIds"?: ThreadDirectoryIds;
3902
3988
  readonly "parentThreadId"?: string;
3903
3989
  readonly "forkedFrom"?: Objects_22;
3904
3990
  readonly "archived"?: "exclude" | "include" | "only";
@@ -3912,6 +3998,7 @@ export type ThreadsListOutput = Objects_60;
3912
3998
  export type ThreadsListSubscribeInput = {
3913
3999
  readonly "include"?: Arrays_4;
3914
4000
  readonly "projectId"?: string;
4001
+ readonly "threadIds"?: ThreadDirectoryIds;
3915
4002
  readonly "parentThreadId"?: string;
3916
4003
  readonly "forkedFrom"?: Objects_22;
3917
4004
  readonly "archived"?: "exclude" | "include" | "only";
@@ -3934,12 +4021,13 @@ export type ThreadsListSubscribeOutput = {
3934
4021
  } | {
3935
4022
  readonly "threads": ReadonlyArray<{
3936
4023
  readonly "threadId": string;
3937
- readonly "status": "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle";
4024
+ readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle";
3938
4025
  readonly "runtime"?: {
3939
4026
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
3940
4027
  readonly "backgroundMonitorCount"?: number | undefined;
3941
4028
  readonly "planProgress"?: Union_17;
3942
4029
  };
4030
+ readonly "members"?: ThreadDirectoryRefreshMembers;
3943
4031
  }>;
3944
4032
  readonly "_tag": "refresh";
3945
4033
  } | Objects_63;
@@ -3987,6 +4075,7 @@ export type ThreadsHistoryOutput = {
3987
4075
  readonly "memberId"?: string | undefined;
3988
4076
  readonly "members"?: ThreadMembers;
3989
4077
  readonly "createdBy"?: Union_8;
4078
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal;
3990
4079
  readonly "latestTurn": Union_9;
3991
4080
  readonly "stopRequestedAt"?: string | null;
3992
4081
  readonly "continuationCheck"?: ThreadContinuationCheckOrNull;
@@ -4014,6 +4103,7 @@ export type ThreadsHistoryOutput = {
4014
4103
  readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
4015
4104
  readonly "pluginId"?: string | undefined;
4016
4105
  readonly "recordId"?: string | undefined;
4106
+ readonly "postId"?: string;
4017
4107
  } | {
4018
4108
  readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
4019
4109
  readonly "sourceThreadId"?: string | undefined;
@@ -4027,6 +4117,7 @@ export type ThreadsHistoryOutput = {
4027
4117
  readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
4028
4118
  readonly "pluginId"?: string | undefined;
4029
4119
  readonly "recordId"?: string | undefined;
4120
+ readonly "postId"?: string;
4030
4121
  };
4031
4122
  readonly "queuedAt": string;
4032
4123
  }> | undefined;
@@ -5316,6 +5407,8 @@ export type MachineSettingsConfigGetOutput = {
5316
5407
  readonly "wireProtocolVersion"?: number;
5317
5408
  readonly "minClientWireProtocolVersion"?: number;
5318
5409
  readonly "capabilities": {
5410
+ readonly "threadDirectoryIds"?: boolean;
5411
+ readonly "threadMembers"?: boolean;
5319
5412
  readonly "providerMaintenanceCancel"?: boolean;
5320
5413
  readonly "repositoryIdentity": boolean;
5321
5414
  readonly "connectionProbe"?: boolean;
@@ -6509,6 +6602,8 @@ export type MemoryExperiencesListOutput = {
6509
6602
  readonly "supersededBy"?: Arrays_34;
6510
6603
  readonly "bodyState": "present" | "erased" | "unavailable";
6511
6604
  readonly "usage"?: Objects_164;
6605
+ readonly "title"?: string;
6606
+ readonly "applicability"?: string;
6512
6607
  readonly "excerpt": string | null;
6513
6608
  }>;
6514
6609
  readonly "nextCursor": string | null;
@@ -6532,6 +6627,8 @@ export type MemoryExperiencesGetOutput = {
6532
6627
  readonly "supersededBy"?: Arrays_34;
6533
6628
  readonly "bodyState": "present" | "erased" | "unavailable";
6534
6629
  readonly "usage"?: Objects_164;
6630
+ readonly "title"?: string;
6631
+ readonly "applicability"?: string;
6535
6632
  readonly "body": string | null;
6536
6633
  readonly "bodyWindow"?: Objects_59;
6537
6634
  readonly "forgottenAt": string | null;
@@ -6576,6 +6673,7 @@ export type MemorySearchOutput = {
6576
6673
  readonly "id": string;
6577
6674
  };
6578
6675
  readonly "revision": number;
6676
+ readonly "title"?: string;
6579
6677
  readonly "headingPath": string;
6580
6678
  readonly "snippet": string;
6581
6679
  readonly "score": number;
@@ -6588,6 +6686,8 @@ export type MemoryExperiencesRecordInput = {
6588
6686
  readonly "requestId"?: string;
6589
6687
  readonly "experienceId"?: string;
6590
6688
  readonly "body": string;
6689
+ readonly "title"?: string;
6690
+ readonly "applicability"?: string;
6591
6691
  readonly "sourceThreadId"?: string;
6592
6692
  readonly "sourceTurnId"?: string;
6593
6693
  readonly "supersedes"?: ReadonlyArray<string>;
@@ -6603,6 +6703,8 @@ export type MemoryExperiencesReviseInput = {
6603
6703
  readonly "experienceId": string;
6604
6704
  readonly "baseRevision": number;
6605
6705
  readonly "body": string;
6706
+ readonly "title"?: string;
6707
+ readonly "applicability"?: string;
6606
6708
  };
6607
6709
  export type MemoryExperiencesReviseOutput = {
6608
6710
  readonly "sequence": number;
@@ -7165,6 +7267,9 @@ export type WorkHistoryListOutput = {
7165
7267
  readonly "field": "parent";
7166
7268
  readonly "old": string | null;
7167
7269
  readonly "new": string | null;
7270
+ } | {
7271
+ readonly "field": "parent-start";
7272
+ readonly "byChild": string;
7168
7273
  } | {
7169
7274
  readonly "field": "name";
7170
7275
  readonly "old": string | null;
@@ -7731,6 +7836,7 @@ export type WorkMachineTasksRespondOutput = {
7731
7836
  readonly "workItemId": string;
7732
7837
  readonly "version": number;
7733
7838
  readonly "logCommentId"?: string;
7839
+ readonly "logPostId"?: string;
7734
7840
  };
7735
7841
  readonly "replayed"?: boolean;
7736
7842
  };
@@ -8472,6 +8578,8 @@ export type CommunicationPostsGetOutput = ReadonlyArray<{
8472
8578
  readonly "anchor": Union_64;
8473
8579
  readonly "inGroup"?: true;
8474
8580
  readonly "author": Union_55;
8581
+ readonly "notification"?: CommunicationPostNotification;
8582
+ readonly "notificationResolution"?: CommunicationPostNotificationResolution;
8475
8583
  readonly "authorName"?: string;
8476
8584
  readonly "authorMemberId"?: string;
8477
8585
  readonly "authorRemoteThreadId"?: string;
@@ -8545,6 +8653,8 @@ export type CommunicationPostsListOutput = {
8545
8653
  readonly "anchor": Union_64;
8546
8654
  readonly "inGroup"?: true;
8547
8655
  readonly "author": Union_55;
8656
+ readonly "notification"?: CommunicationPostNotification;
8657
+ readonly "notificationResolution"?: CommunicationPostNotificationResolution;
8548
8658
  readonly "authorName"?: string;
8549
8659
  readonly "authorMemberId"?: string;
8550
8660
  readonly "authorRemoteThreadId"?: string;
@@ -8680,6 +8790,24 @@ export type MembersExternalWakesGetOutput = {
8680
8790
  readonly "reportedAt": string | null;
8681
8791
  }>;
8682
8792
  };
8793
+ export type ThreadsMembersGetInput = {
8794
+ readonly "projectId": string;
8795
+ readonly "threads": ReadonlyArray<ThreadMemberThreadRefInput>;
8796
+ };
8797
+ export type ThreadsMembersGetOutput = ReadonlyArray<ThreadMembersState>;
8798
+ export type ThreadsMembersUpdateInput = {
8799
+ readonly "projectId": string;
8800
+ readonly "thread": ThreadMemberThreadRefInput;
8801
+ readonly "requestId"?: string;
8802
+ readonly "expectedVersion": number;
8803
+ readonly "add"?: ThreadMembersInput;
8804
+ readonly "remove"?: ThreadMembersInput_1;
8805
+ };
8806
+ export type ThreadsMembersUpdateOutput = {
8807
+ readonly "sequence": number;
8808
+ readonly "result": ThreadMembersUpdateResult;
8809
+ readonly "replayed"?: boolean;
8810
+ };
8683
8811
  export type ProjectsMachinesListEncodedOutput = {
8684
8812
  readonly "accountDiscovery"?: AccountMachineDiscoveryStatus;
8685
8813
  readonly "items": ReadonlyArray<{
@@ -8690,6 +8818,7 @@ export type ProjectsMachinesListEncodedOutput = {
8690
8818
  };
8691
8819
  readonly "serverVersion"?: string;
8692
8820
  readonly "wireProtocolVersion"?: number;
8821
+ readonly "threadDirectoryIds"?: boolean;
8693
8822
  readonly "actions"?: ReadonlyArray<{
8694
8823
  readonly "actionId": string;
8695
8824
  readonly "kind": "install" | "detect" | "sign-in" | "update" | "uninstall" | "health-check" | "restart" | "upgrade" | "command" | "diagnostics" | "project-task";
@@ -8846,6 +8975,7 @@ export type ThreadsHistoryEncodedOutput = {
8846
8975
  readonly "memberId"?: string | undefined;
8847
8976
  readonly "members"?: ThreadMembers_1;
8848
8977
  readonly "createdBy"?: Union_71;
8978
+ readonly "creatorPrincipal"?: ThreadCreatorPrincipal_1;
8849
8979
  readonly "latestTurn": Union_72;
8850
8980
  readonly "stopRequestedAt"?: string | null;
8851
8981
  readonly "continuationCheck"?: ThreadContinuationCheckOrNull_1;
@@ -8873,6 +9003,7 @@ export type ThreadsHistoryEncodedOutput = {
8873
9003
  readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
8874
9004
  readonly "pluginId"?: string | undefined;
8875
9005
  readonly "recordId"?: string | undefined;
9006
+ readonly "postId"?: string;
8876
9007
  } | {
8877
9008
  readonly "kind": "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
8878
9009
  readonly "sourceThreadId"?: string | undefined;
@@ -8886,6 +9017,7 @@ export type ThreadsHistoryEncodedOutput = {
8886
9017
  readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
8887
9018
  readonly "pluginId"?: string | undefined;
8888
9019
  readonly "recordId"?: string | undefined;
9020
+ readonly "postId"?: string;
8889
9021
  };
8890
9022
  readonly "queuedAt": string;
8891
9023
  }> | undefined;
@@ -9441,6 +9573,8 @@ export type MachineSettingsConfigGetEncodedOutput = {
9441
9573
  readonly "wireProtocolVersion"?: number;
9442
9574
  readonly "minClientWireProtocolVersion"?: number;
9443
9575
  readonly "capabilities": {
9576
+ readonly "threadDirectoryIds"?: boolean;
9577
+ readonly "threadMembers"?: boolean;
9444
9578
  readonly "providerMaintenanceCancel"?: boolean;
9445
9579
  readonly "repositoryIdentity"?: boolean | undefined;
9446
9580
  readonly "connectionProbe"?: boolean;
@@ -10122,6 +10256,10 @@ export interface PluginDataPorts {
10122
10256
  readonly restart: (input: ThreadsSessionRestartInput) => Promise<ThreadsSessionRestartOutput>;
10123
10257
  readonly retryCleanup: (input: ThreadsSessionRetryCleanupInput) => Promise<ThreadsSessionRetryCleanupOutput>;
10124
10258
  };
10259
+ readonly members: {
10260
+ readonly get: (input: ThreadsMembersGetInput) => Promise<ThreadsMembersGetOutput>;
10261
+ readonly update: (input: ThreadsMembersUpdateInput) => Promise<ThreadsMembersUpdateOutput>;
10262
+ };
10125
10263
  };
10126
10264
  readonly projects: {
10127
10265
  readonly ledgerImport: {
@@ -11003,6 +11141,10 @@ export interface PluginUiDataReads {
11003
11141
  readonly input: MembersExternalWakesGetInput;
11004
11142
  readonly output: MembersExternalWakesGetOutput;
11005
11143
  };
11144
+ readonly "threads.members.get": {
11145
+ readonly input: ThreadsMembersGetInput;
11146
+ readonly output: ThreadsMembersGetOutput;
11147
+ };
11006
11148
  }
11007
11149
  export type PluginUiDataReadId = keyof PluginUiDataReads;
11008
11150
  export {};