@ycodium-ai/plugin-api 0.2.6114 → 0.2.6182

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.
@@ -2425,10 +2425,22 @@ export type ProjectsMachinesThreadsMessagesListOutput = {
2425
2425
  readonly pluginId?: string | undefined;
2426
2426
  } | {
2427
2427
  readonly kind: "home-machine";
2428
+ readonly homeWork?: {
2429
+ readonly projectId: string;
2430
+ readonly environmentId: string;
2431
+ readonly workLineId?: string;
2432
+ };
2428
2433
  } | {
2429
2434
  readonly kind: "restart-resume";
2430
2435
  } | {
2431
2436
  readonly kind: "remote-post";
2437
+ readonly initiatingPerson?: {
2438
+ readonly kind: "account";
2439
+ readonly userId: string;
2440
+ } | {
2441
+ readonly kind: "local-owner";
2442
+ readonly environmentId: string;
2443
+ };
2432
2444
  readonly postId: string;
2433
2445
  readonly authorKind: "human" | "agent";
2434
2446
  readonly authorName?: string;
@@ -3468,6 +3480,13 @@ export type ThreadsHistoryOutput = {
3468
3480
  readonly childThreadId: string;
3469
3481
  readonly childTitle: string;
3470
3482
  readonly remotePost?: {
3483
+ readonly initiatingPerson?: {
3484
+ readonly kind: "account";
3485
+ readonly userId: string;
3486
+ } | {
3487
+ readonly kind: "local-owner";
3488
+ readonly environmentId: string;
3489
+ };
3471
3490
  readonly postId: string;
3472
3491
  readonly targetKey: string;
3473
3492
  readonly authorKind: "human" | "agent";
@@ -3483,12 +3502,19 @@ export type ThreadsHistoryOutput = {
3483
3502
  readonly recordId?: string | undefined;
3484
3503
  readonly postId?: string;
3485
3504
  } | {
3486
- readonly kind: "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
3505
+ readonly kind: "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post" | "attention.snoozed";
3487
3506
  readonly sourceThreadId?: string | undefined;
3488
3507
  readonly sourceTitle?: string | undefined;
3489
3508
  readonly childThreadId?: string | undefined;
3490
3509
  readonly childTitle?: string | undefined;
3491
3510
  readonly remotePost?: {
3511
+ readonly initiatingPerson?: {
3512
+ readonly kind: "account";
3513
+ readonly userId: string;
3514
+ } | {
3515
+ readonly kind: "local-owner";
3516
+ readonly environmentId: string;
3517
+ };
3492
3518
  readonly postId: string;
3493
3519
  readonly targetKey: string;
3494
3520
  readonly authorKind: "human" | "agent";
@@ -3614,10 +3640,22 @@ export type ThreadsHistoryOutput = {
3614
3640
  readonly pluginId?: string | undefined;
3615
3641
  } | {
3616
3642
  readonly kind: "home-machine";
3643
+ readonly homeWork?: {
3644
+ readonly projectId: string;
3645
+ readonly environmentId: string;
3646
+ readonly workLineId?: string;
3647
+ };
3617
3648
  } | {
3618
3649
  readonly kind: "restart-resume";
3619
3650
  } | {
3620
3651
  readonly kind: "remote-post";
3652
+ readonly initiatingPerson?: {
3653
+ readonly kind: "account";
3654
+ readonly userId: string;
3655
+ } | {
3656
+ readonly kind: "local-owner";
3657
+ readonly environmentId: string;
3658
+ };
3621
3659
  readonly postId: string;
3622
3660
  readonly authorKind: "human" | "agent";
3623
3661
  readonly authorName?: string;
@@ -3667,10 +3705,22 @@ export type ThreadsHistoryOutput = {
3667
3705
  readonly pluginId?: string | undefined;
3668
3706
  } | {
3669
3707
  readonly kind: "home-machine";
3708
+ readonly homeWork?: {
3709
+ readonly projectId: string;
3710
+ readonly environmentId: string;
3711
+ readonly workLineId?: string;
3712
+ };
3670
3713
  } | {
3671
3714
  readonly kind: "restart-resume";
3672
3715
  } | {
3673
3716
  readonly kind: "remote-post";
3717
+ readonly initiatingPerson?: {
3718
+ readonly kind: "account";
3719
+ readonly userId: string;
3720
+ } | {
3721
+ readonly kind: "local-owner";
3722
+ readonly environmentId: string;
3723
+ };
3674
3724
  readonly postId: string;
3675
3725
  readonly authorKind: "human" | "agent";
3676
3726
  readonly authorName?: string;
@@ -3678,6 +3728,13 @@ export type ThreadsHistoryOutput = {
3678
3728
  readonly textOffset: number;
3679
3729
  readonly textLength: number;
3680
3730
  }>;
3731
+ readonly initiatingPerson?: {
3732
+ readonly kind: "account";
3733
+ readonly userId: string;
3734
+ } | {
3735
+ readonly kind: "local-owner";
3736
+ readonly environmentId: string;
3737
+ };
3681
3738
  readonly noticesFolded?: true;
3682
3739
  readonly binding?: {
3683
3740
  readonly bindingId: string;
@@ -3765,6 +3822,13 @@ export type ThreadsHistoryOutput = {
3765
3822
  readonly updatedAt: string;
3766
3823
  }> | undefined;
3767
3824
  readonly scheduledWakes?: ReadonlyArray<{
3825
+ readonly initiatingPerson?: {
3826
+ readonly kind: "account";
3827
+ readonly userId: string;
3828
+ } | {
3829
+ readonly kind: "local-owner";
3830
+ readonly environmentId: string;
3831
+ };
3768
3832
  readonly wakeId: string;
3769
3833
  readonly threadId: string;
3770
3834
  readonly dueAt: string;
@@ -3963,10 +4027,22 @@ export type ThreadsHistoryOutput = {
3963
4027
  readonly pluginId?: string | undefined;
3964
4028
  } | {
3965
4029
  readonly kind: "home-machine";
4030
+ readonly homeWork?: {
4031
+ readonly projectId: string;
4032
+ readonly environmentId: string;
4033
+ readonly workLineId?: string;
4034
+ };
3966
4035
  } | {
3967
4036
  readonly kind: "restart-resume";
3968
4037
  } | {
3969
4038
  readonly kind: "remote-post";
4039
+ readonly initiatingPerson?: {
4040
+ readonly kind: "account";
4041
+ readonly userId: string;
4042
+ } | {
4043
+ readonly kind: "local-owner";
4044
+ readonly environmentId: string;
4045
+ };
3970
4046
  readonly postId: string;
3971
4047
  readonly authorKind: "human" | "agent";
3972
4048
  readonly authorName?: string;
@@ -4691,10 +4767,22 @@ export type ThreadsMessagesGetOutput = {
4691
4767
  readonly pluginId?: string | undefined;
4692
4768
  } | {
4693
4769
  readonly kind: "home-machine";
4770
+ readonly homeWork?: {
4771
+ readonly projectId: string;
4772
+ readonly environmentId: string;
4773
+ readonly workLineId?: string;
4774
+ };
4694
4775
  } | {
4695
4776
  readonly kind: "restart-resume";
4696
4777
  } | {
4697
4778
  readonly kind: "remote-post";
4779
+ readonly initiatingPerson?: {
4780
+ readonly kind: "account";
4781
+ readonly userId: string;
4782
+ } | {
4783
+ readonly kind: "local-owner";
4784
+ readonly environmentId: string;
4785
+ };
4698
4786
  readonly postId: string;
4699
4787
  readonly authorKind: "human" | "agent";
4700
4788
  readonly authorName?: string;
@@ -5244,10 +5332,22 @@ export type ThreadsMessagesListOutput = {
5244
5332
  readonly pluginId?: string | undefined;
5245
5333
  } | {
5246
5334
  readonly kind: "home-machine";
5335
+ readonly homeWork?: {
5336
+ readonly projectId: string;
5337
+ readonly environmentId: string;
5338
+ readonly workLineId?: string;
5339
+ };
5247
5340
  } | {
5248
5341
  readonly kind: "restart-resume";
5249
5342
  } | {
5250
5343
  readonly kind: "remote-post";
5344
+ readonly initiatingPerson?: {
5345
+ readonly kind: "account";
5346
+ readonly userId: string;
5347
+ } | {
5348
+ readonly kind: "local-owner";
5349
+ readonly environmentId: string;
5350
+ };
5251
5351
  readonly postId: string;
5252
5352
  readonly authorKind: "human" | "agent";
5253
5353
  readonly authorName?: string;
@@ -6460,6 +6560,13 @@ export type ApprovalsPendingListInput = {
6460
6560
  readonly threadId: string;
6461
6561
  };
6462
6562
  export type ApprovalsPendingListOutput = ReadonlyArray<{
6563
+ readonly recipient?: {
6564
+ readonly kind: "account";
6565
+ readonly userId: string;
6566
+ } | {
6567
+ readonly kind: "local-owner";
6568
+ readonly environmentId: string;
6569
+ };
6463
6570
  readonly requestId: string;
6464
6571
  readonly activityId?: string | undefined;
6465
6572
  readonly decision?: {
@@ -7416,10 +7523,12 @@ export type MachineSettingsConfigGetOutput = {
7416
7523
  readonly manualOrdering?: boolean;
7417
7524
  readonly projectCopies?: boolean;
7418
7525
  readonly projectArchive?: boolean;
7526
+ readonly memoryDerivation?: boolean;
7419
7527
  readonly projectCloneInBackground?: boolean;
7420
7528
  readonly projectMultiFolder?: boolean;
7421
7529
  readonly workLines?: boolean;
7422
7530
  readonly workBoard?: boolean;
7531
+ readonly humanAttention?: boolean;
7423
7532
  readonly workParents?: boolean;
7424
7533
  readonly projectConfig?: boolean;
7425
7534
  readonly groupMessages?: boolean;
@@ -9480,6 +9589,8 @@ export type PluginsInstalledListOutput = {
9480
9589
  readonly kind: "memory.read";
9481
9590
  } | {
9482
9591
  readonly kind: "communication.read";
9592
+ } | {
9593
+ readonly kind: "attention.read";
9483
9594
  } | {
9484
9595
  readonly kind: "agentPresets";
9485
9596
  } | {
@@ -9614,6 +9725,8 @@ export type PluginsInstalledSetEnabledInput = {
9614
9725
  readonly kind: "memory.read";
9615
9726
  } | {
9616
9727
  readonly kind: "communication.read";
9728
+ } | {
9729
+ readonly kind: "attention.read";
9617
9730
  } | {
9618
9731
  readonly kind: "agentPresets";
9619
9732
  } | {
@@ -9623,7 +9736,7 @@ export type PluginsInstalledSetEnabledInput = {
9623
9736
  readonly seats: readonly ["conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view", ...Array<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view">];
9624
9737
  } | {
9625
9738
  readonly kind: "commands.dispatch";
9626
- readonly commands: ReadonlyArray<"thread.artifact.deliver" | "thread.create" | "thread.fork" | "thread.import" | "thread.external-messages.append" | "thread.turn.interrupt" | "thread.approval.respond" | "thread.turn-intent.run" | "thread.turn-intent.cancel" | "thread.turn-queue.resume" | "thread.turn-intent.set-paused" | "thread.turn-intent.reorder" | "thread.turn-queue.pause" | "thread.user-input.dismiss" | "thread.scheduled-wake.schedule" | "thread.scheduled-wake.cancel" | "thread.snooze" | "thread.unsnooze" | "thread.reorder" | "thread.interaction-mode.set" | "thread.native-mode.set" | "thread.runtime-mode.set" | "thread.context.compact" | "thread.archive" | "thread.unarchive" | "thread.settle" | "thread.unsettle" | "machineSettings.update" | "machineSettings.keybindings.write" | "machineSettings.wallpaper.adopt" | "machineSettings.browser.cookies.import" | "projects.config.update" | "plugins.settingsCards.updateValues" | "plugins.installed.setEnabled" | "project.schedule.save" | "project.schedule.delete" | "project.create" | "projects.conversation.ensure" | "project.folder.attach" | "project.archive" | "project.unarchive" | "project.reorder" | "project.folder.detach" | "project.folder.relocate" | "thread.session.stop" | "thread.session.restart" | "plugins.notifications.markRead" | "plugins.notifications.clear" | "memory.experience.record" | "memory.experience.revise" | "memory.experience.forget" | "memory.experience.restore" | "wiki.page.create" | "wiki.page.edit" | "wiki.page.restore" | "wiki.handbook.publish" | "wiki.handbook.revert" | "work.item.create" | "work.item.update" | "work.item.claim" | "work.relation.add" | "work.relation.remove" | "communication.post.send" | "member.create" | "member.update" | "member.remove" | "member.restore" | "member.trial.record" | "member.externalWake.deliver" | "work.line.create" | "work.line.update" | "work.line.archive" | "work.line.restore" | "work.line.pause" | "work.line.resume" | "work.item.archive" | "work.item.unarchive" | "work.label.create" | "work.label.update" | "work.label.remove" | "work.label.restore" | "work.state.create" | "work.state.update" | "work.state.remove" | "work.state.restore" | "work.machine-task.create" | "thread.meta.update" | "thread.members.update" | "thread.turn.start" | "communication.message.send" | "communication.delivery.bind" | "thread.user-input.respond" | "thread.browser.capture" | "thread.browser.recording.start" | "thread.browser.recording.stop" | "thread.browser.download.cancel" | "thread.worktree.prepare">;
9739
+ readonly commands: ReadonlyArray<"thread.artifact.deliver" | "thread.create" | "thread.fork" | "thread.import" | "thread.external-messages.append" | "thread.turn.interrupt" | "thread.approval.respond" | "thread.turn-intent.run" | "thread.turn-intent.cancel" | "thread.turn-queue.resume" | "thread.turn-intent.set-paused" | "thread.turn-intent.reorder" | "thread.turn-queue.pause" | "thread.user-input.dismiss" | "thread.scheduled-wake.schedule" | "thread.scheduled-wake.cancel" | "thread.snooze" | "thread.unsnooze" | "thread.reorder" | "thread.interaction-mode.set" | "thread.native-mode.set" | "thread.runtime-mode.set" | "thread.context.compact" | "thread.archive" | "thread.unarchive" | "thread.settle" | "thread.unsettle" | "machineSettings.update" | "machineSettings.keybindings.write" | "machineSettings.wallpaper.adopt" | "machineSettings.browser.cookies.import" | "projects.config.update" | "plugins.settingsCards.updateValues" | "plugins.installed.setEnabled" | "project.schedule.save" | "project.schedule.delete" | "project.create" | "projects.conversation.ensure" | "project.folder.attach" | "project.archive" | "project.unarchive" | "project.reorder" | "project.folder.detach" | "project.folder.relocate" | "thread.session.stop" | "thread.session.restart" | "plugins.notifications.markRead" | "plugins.notifications.clear" | "memory.experience.record" | "memory.overview.edit" | "memory.overview.restore" | "memory.experience.revise" | "memory.experience.forget" | "memory.experience.restore" | "wiki.page.create" | "wiki.page.edit" | "wiki.page.restore" | "wiki.handbook.publish" | "wiki.handbook.revert" | "work.item.create" | "work.item.update" | "work.item.claim" | "work.relation.add" | "work.relation.remove" | "communication.post.send" | "member.create" | "member.update" | "member.remove" | "member.restore" | "member.trial.record" | "member.externalWake.deliver" | "work.line.create" | "work.line.update" | "work.line.archive" | "work.line.restore" | "work.line.pause" | "work.line.resume" | "work.item.archive" | "work.item.unarchive" | "work.label.create" | "work.label.update" | "work.label.remove" | "work.label.restore" | "work.state.create" | "work.state.update" | "work.state.remove" | "work.state.restore" | "work.machine-task.create" | "thread.meta.update" | "thread.members.update" | "thread.turn.start" | "communication.message.send" | "communication.delivery.bind" | "thread.user-input.respond" | "thread.browser.capture" | "thread.browser.recording.start" | "thread.browser.recording.stop" | "thread.browser.download.cancel" | "thread.worktree.prepare">;
9627
9740
  }>;
9628
9741
  readonly conflictChoice?: "project" | "machine";
9629
9742
  };
@@ -9683,6 +9796,8 @@ export type PluginsProjectInstallMachineInput = {
9683
9796
  readonly kind: "memory.read";
9684
9797
  } | {
9685
9798
  readonly kind: "communication.read";
9799
+ } | {
9800
+ readonly kind: "attention.read";
9686
9801
  } | {
9687
9802
  readonly kind: "agentPresets";
9688
9803
  } | {
@@ -9692,7 +9807,7 @@ export type PluginsProjectInstallMachineInput = {
9692
9807
  readonly seats: readonly ["conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view", ...Array<"conversation.view" | "conversation.chat.turnTail" | "conversation.session.header.actions" | "settings.section" | "machine.overview.section" | "sidebar.machine.actions" | "conversation.hero.agentPreset" | "conversation.input.dock" | "project.workbench.tab" | "sidebar.project.actions" | "team.view">];
9693
9808
  } | {
9694
9809
  readonly kind: "commands.dispatch";
9695
- readonly commands: ReadonlyArray<"thread.artifact.deliver" | "thread.create" | "thread.fork" | "thread.import" | "thread.external-messages.append" | "thread.turn.interrupt" | "thread.approval.respond" | "thread.turn-intent.run" | "thread.turn-intent.cancel" | "thread.turn-queue.resume" | "thread.turn-intent.set-paused" | "thread.turn-intent.reorder" | "thread.turn-queue.pause" | "thread.user-input.dismiss" | "thread.scheduled-wake.schedule" | "thread.scheduled-wake.cancel" | "thread.snooze" | "thread.unsnooze" | "thread.reorder" | "thread.interaction-mode.set" | "thread.native-mode.set" | "thread.runtime-mode.set" | "thread.context.compact" | "thread.archive" | "thread.unarchive" | "thread.settle" | "thread.unsettle" | "machineSettings.update" | "machineSettings.keybindings.write" | "machineSettings.wallpaper.adopt" | "machineSettings.browser.cookies.import" | "projects.config.update" | "plugins.settingsCards.updateValues" | "plugins.installed.setEnabled" | "project.schedule.save" | "project.schedule.delete" | "project.create" | "projects.conversation.ensure" | "project.folder.attach" | "project.archive" | "project.unarchive" | "project.reorder" | "project.folder.detach" | "project.folder.relocate" | "thread.session.stop" | "thread.session.restart" | "plugins.notifications.markRead" | "plugins.notifications.clear" | "memory.experience.record" | "memory.experience.revise" | "memory.experience.forget" | "memory.experience.restore" | "wiki.page.create" | "wiki.page.edit" | "wiki.page.restore" | "wiki.handbook.publish" | "wiki.handbook.revert" | "work.item.create" | "work.item.update" | "work.item.claim" | "work.relation.add" | "work.relation.remove" | "communication.post.send" | "member.create" | "member.update" | "member.remove" | "member.restore" | "member.trial.record" | "member.externalWake.deliver" | "work.line.create" | "work.line.update" | "work.line.archive" | "work.line.restore" | "work.line.pause" | "work.line.resume" | "work.item.archive" | "work.item.unarchive" | "work.label.create" | "work.label.update" | "work.label.remove" | "work.label.restore" | "work.state.create" | "work.state.update" | "work.state.remove" | "work.state.restore" | "work.machine-task.create" | "thread.meta.update" | "thread.members.update" | "thread.turn.start" | "communication.message.send" | "communication.delivery.bind" | "thread.user-input.respond" | "thread.browser.capture" | "thread.browser.recording.start" | "thread.browser.recording.stop" | "thread.browser.download.cancel" | "thread.worktree.prepare">;
9810
+ readonly commands: ReadonlyArray<"thread.artifact.deliver" | "thread.create" | "thread.fork" | "thread.import" | "thread.external-messages.append" | "thread.turn.interrupt" | "thread.approval.respond" | "thread.turn-intent.run" | "thread.turn-intent.cancel" | "thread.turn-queue.resume" | "thread.turn-intent.set-paused" | "thread.turn-intent.reorder" | "thread.turn-queue.pause" | "thread.user-input.dismiss" | "thread.scheduled-wake.schedule" | "thread.scheduled-wake.cancel" | "thread.snooze" | "thread.unsnooze" | "thread.reorder" | "thread.interaction-mode.set" | "thread.native-mode.set" | "thread.runtime-mode.set" | "thread.context.compact" | "thread.archive" | "thread.unarchive" | "thread.settle" | "thread.unsettle" | "machineSettings.update" | "machineSettings.keybindings.write" | "machineSettings.wallpaper.adopt" | "machineSettings.browser.cookies.import" | "projects.config.update" | "plugins.settingsCards.updateValues" | "plugins.installed.setEnabled" | "project.schedule.save" | "project.schedule.delete" | "project.create" | "projects.conversation.ensure" | "project.folder.attach" | "project.archive" | "project.unarchive" | "project.reorder" | "project.folder.detach" | "project.folder.relocate" | "thread.session.stop" | "thread.session.restart" | "plugins.notifications.markRead" | "plugins.notifications.clear" | "memory.experience.record" | "memory.overview.edit" | "memory.overview.restore" | "memory.experience.revise" | "memory.experience.forget" | "memory.experience.restore" | "wiki.page.create" | "wiki.page.edit" | "wiki.page.restore" | "wiki.handbook.publish" | "wiki.handbook.revert" | "work.item.create" | "work.item.update" | "work.item.claim" | "work.relation.add" | "work.relation.remove" | "communication.post.send" | "member.create" | "member.update" | "member.remove" | "member.restore" | "member.trial.record" | "member.externalWake.deliver" | "work.line.create" | "work.line.update" | "work.line.archive" | "work.line.restore" | "work.line.pause" | "work.line.resume" | "work.item.archive" | "work.item.unarchive" | "work.label.create" | "work.label.update" | "work.label.remove" | "work.label.restore" | "work.state.create" | "work.state.update" | "work.state.remove" | "work.state.restore" | "work.machine-task.create" | "thread.meta.update" | "thread.members.update" | "thread.turn.start" | "communication.message.send" | "communication.delivery.bind" | "thread.user-input.respond" | "thread.browser.capture" | "thread.browser.recording.start" | "thread.browser.recording.stop" | "thread.browser.download.cancel" | "thread.worktree.prepare">;
9696
9811
  }>;
9697
9812
  readonly revision: string;
9698
9813
  };
@@ -10275,6 +10390,13 @@ export type SchedulesListInput = {
10275
10390
  };
10276
10391
  export type SchedulesListOutput = {
10277
10392
  readonly schedules: ReadonlyArray<{
10393
+ readonly initiatingPerson?: {
10394
+ readonly kind: "account";
10395
+ readonly userId: string;
10396
+ } | {
10397
+ readonly kind: "local-owner";
10398
+ readonly environmentId: string;
10399
+ };
10278
10400
  readonly scheduleId: string;
10279
10401
  readonly projectId: string;
10280
10402
  readonly name: string;
@@ -10357,6 +10479,13 @@ export type SchedulesSaveInput = {
10357
10479
  };
10358
10480
  export type SchedulesSaveOutput = {
10359
10481
  readonly schedule: {
10482
+ readonly initiatingPerson?: {
10483
+ readonly kind: "account";
10484
+ readonly userId: string;
10485
+ } | {
10486
+ readonly kind: "local-owner";
10487
+ readonly environmentId: string;
10488
+ };
10360
10489
  readonly scheduleId: string;
10361
10490
  readonly projectId: string;
10362
10491
  readonly name: string;
@@ -10503,6 +10632,7 @@ export type MemoryExperiencesListOutput = {
10503
10632
  } | {
10504
10633
  readonly kind: "system";
10505
10634
  };
10635
+ readonly sourceEnvironmentId?: string | null;
10506
10636
  readonly sourceThreadId: string | null;
10507
10637
  readonly sourceTurnId: string | null;
10508
10638
  readonly currentRevision: number;
@@ -10525,12 +10655,26 @@ export type MemoryExperiencesListOutput = {
10525
10655
  readonly nextCursor: string | null;
10526
10656
  };
10527
10657
  export type MemoryExperiencesGetInput = {
10658
+ readonly includeEraseImpact?: boolean;
10528
10659
  readonly projectId: string;
10529
10660
  readonly experienceId: string;
10530
10661
  readonly textOffset?: number;
10531
10662
  readonly textLimit?: number;
10532
10663
  };
10533
10664
  export type MemoryExperiencesGetOutput = {
10665
+ readonly eraseImpact?: {
10666
+ readonly confirmation: string;
10667
+ readonly pages: ReadonlyArray<{
10668
+ readonly pageId: string;
10669
+ readonly currentRevision: number;
10670
+ readonly revisions: ReadonlyArray<number>;
10671
+ }>;
10672
+ readonly overview: {
10673
+ readonly eraseGeneration: number;
10674
+ readonly currentRevision: number;
10675
+ readonly revisions: ReadonlyArray<number>;
10676
+ } | null;
10677
+ };
10534
10678
  readonly experienceId: string;
10535
10679
  readonly status: "active" | "forgotten" | "erased";
10536
10680
  readonly author: {
@@ -10560,6 +10704,7 @@ export type MemoryExperiencesGetOutput = {
10560
10704
  } | {
10561
10705
  readonly kind: "system";
10562
10706
  };
10707
+ readonly sourceEnvironmentId?: string | null;
10563
10708
  readonly sourceThreadId: string | null;
10564
10709
  readonly sourceTurnId: string | null;
10565
10710
  readonly currentRevision: number;
@@ -10777,8 +10922,6 @@ export type MemoryExperiencesRecordInput = {
10777
10922
  readonly body: string;
10778
10923
  readonly title?: string;
10779
10924
  readonly applicability?: string;
10780
- readonly sourceThreadId?: string;
10781
- readonly sourceTurnId?: string;
10782
10925
  readonly supersedes?: ReadonlyArray<string>;
10783
10926
  };
10784
10927
  export type MemoryExperiencesRecordOutput = {
@@ -10840,6 +10983,7 @@ export type MemoryExperiencesEraseInput = {
10840
10983
  readonly projectId: string;
10841
10984
  readonly requestId?: string;
10842
10985
  readonly experienceId: string;
10986
+ readonly cascadeConfirmation?: string;
10843
10987
  };
10844
10988
  export type MemoryExperiencesEraseOutput = {
10845
10989
  readonly sequence: number;
@@ -10918,6 +11062,7 @@ export type MemoryPagesGetOutput = {
10918
11062
  } | {
10919
11063
  readonly kind: "system";
10920
11064
  };
11065
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
10921
11066
  readonly body: string | null;
10922
11067
  readonly bodyWindow?: {
10923
11068
  readonly offset: number;
@@ -10994,6 +11139,7 @@ export type MemoryPagesHistoryOutput = {
10994
11139
  } | {
10995
11140
  readonly kind: "system";
10996
11141
  };
11142
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
10997
11143
  readonly createdAt: string;
10998
11144
  readonly title: string | null;
10999
11145
  readonly changeSummary: string | null;
@@ -11047,6 +11193,7 @@ export type MemoryPageRevisionsGetOutput = {
11047
11193
  } | {
11048
11194
  readonly kind: "system";
11049
11195
  };
11196
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11050
11197
  readonly createdAt: string;
11051
11198
  readonly title: string | null;
11052
11199
  readonly changeSummary: string | null;
@@ -11068,6 +11215,7 @@ export type MemoryPagesCreateInput = {
11068
11215
  readonly title: string;
11069
11216
  readonly body: string;
11070
11217
  readonly changeSummary?: string;
11218
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11071
11219
  };
11072
11220
  export type MemoryPagesCreateOutput = {
11073
11221
  readonly sequence: number;
@@ -11085,6 +11233,7 @@ export type MemoryPagesEditInput = {
11085
11233
  readonly title?: string;
11086
11234
  readonly body: string;
11087
11235
  readonly changeSummary?: string;
11236
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11088
11237
  };
11089
11238
  export type MemoryPagesEditOutput = {
11090
11239
  readonly sequence: number;
@@ -11319,6 +11468,7 @@ export type MemoryHandbookGetOutput = {
11319
11468
  } | {
11320
11469
  readonly kind: "system";
11321
11470
  };
11471
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11322
11472
  readonly createdAt: string;
11323
11473
  readonly title: string | null;
11324
11474
  readonly changeSummary: string | null;
@@ -11487,6 +11637,144 @@ export type MemoryHandbookRevertOutput = {
11487
11637
  };
11488
11638
  readonly replayed?: boolean;
11489
11639
  };
11640
+ export type MemoryOverviewGetInput = {
11641
+ readonly projectId: string;
11642
+ };
11643
+ export type MemoryOverviewGetOutput = {
11644
+ readonly projectId: string;
11645
+ readonly currentRevision: number | null;
11646
+ readonly eraseGeneration: number;
11647
+ readonly body: string | null;
11648
+ readonly bodyState: "present" | "unavailable";
11649
+ };
11650
+ export type MemoryOverviewListRevisionsInput = {
11651
+ readonly projectId: string;
11652
+ readonly beforeRevision?: number;
11653
+ readonly limit?: number;
11654
+ };
11655
+ export type MemoryOverviewListRevisionsOutput = {
11656
+ readonly items: ReadonlyArray<{
11657
+ readonly revision: number;
11658
+ readonly author: {
11659
+ readonly kind: "human";
11660
+ readonly principal: {
11661
+ readonly kind: "account";
11662
+ readonly userId: string;
11663
+ } | {
11664
+ readonly kind: "local-owner";
11665
+ readonly environmentId: string;
11666
+ };
11667
+ } | {
11668
+ readonly kind: "local-cli";
11669
+ readonly environmentId: string;
11670
+ } | {
11671
+ readonly kind: "seat";
11672
+ readonly seatId: string;
11673
+ } | {
11674
+ readonly kind: "agent";
11675
+ readonly threadId: string;
11676
+ } | {
11677
+ readonly kind: "remote-agent";
11678
+ readonly principalId: string;
11679
+ } | {
11680
+ readonly kind: "plugin";
11681
+ readonly pluginId: string;
11682
+ } | {
11683
+ readonly kind: "system";
11684
+ };
11685
+ readonly createdAt: string;
11686
+ readonly restoredFromRevision?: number;
11687
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11688
+ }>;
11689
+ readonly nextBeforeRevision: number | null;
11690
+ };
11691
+ export type MemoryOverviewGetRevisionInput = {
11692
+ readonly projectId: string;
11693
+ readonly revision: number;
11694
+ };
11695
+ export type MemoryOverviewGetRevisionOutput = {
11696
+ readonly revision: number;
11697
+ readonly author: {
11698
+ readonly kind: "human";
11699
+ readonly principal: {
11700
+ readonly kind: "account";
11701
+ readonly userId: string;
11702
+ } | {
11703
+ readonly kind: "local-owner";
11704
+ readonly environmentId: string;
11705
+ };
11706
+ } | {
11707
+ readonly kind: "local-cli";
11708
+ readonly environmentId: string;
11709
+ } | {
11710
+ readonly kind: "seat";
11711
+ readonly seatId: string;
11712
+ } | {
11713
+ readonly kind: "agent";
11714
+ readonly threadId: string;
11715
+ } | {
11716
+ readonly kind: "remote-agent";
11717
+ readonly principalId: string;
11718
+ } | {
11719
+ readonly kind: "plugin";
11720
+ readonly pluginId: string;
11721
+ } | {
11722
+ readonly kind: "system";
11723
+ };
11724
+ readonly createdAt: string;
11725
+ readonly restoredFromRevision?: number;
11726
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11727
+ readonly body: string | null;
11728
+ readonly bodyState: "present" | "unavailable";
11729
+ readonly changeSummary: string | null;
11730
+ };
11731
+ export type MemoryOverviewEditInput = {
11732
+ readonly projectId: string;
11733
+ readonly requestId?: string;
11734
+ readonly baseRevision: number | null;
11735
+ readonly eraseGeneration?: number;
11736
+ readonly body: string;
11737
+ readonly changeSummary?: string;
11738
+ readonly derivedFromExperienceIds?: ReadonlyArray<string>;
11739
+ };
11740
+ export type MemoryOverviewEditOutput = {
11741
+ readonly sequence: number;
11742
+ readonly result: {
11743
+ readonly projectId: string;
11744
+ readonly currentRevision: number | null;
11745
+ readonly eraseGeneration: number;
11746
+ };
11747
+ readonly replayed?: boolean;
11748
+ };
11749
+ export type MemoryOverviewRestoreInput = {
11750
+ readonly projectId: string;
11751
+ readonly requestId?: string;
11752
+ readonly baseRevision: number | null;
11753
+ readonly eraseGeneration?: number;
11754
+ readonly revision: number;
11755
+ };
11756
+ export type MemoryOverviewRestoreOutput = {
11757
+ readonly sequence: number;
11758
+ readonly result: {
11759
+ readonly projectId: string;
11760
+ readonly currentRevision: number | null;
11761
+ readonly eraseGeneration: number;
11762
+ };
11763
+ readonly replayed?: boolean;
11764
+ };
11765
+ export type MemoryOverviewEraseInput = {
11766
+ readonly projectId: string;
11767
+ readonly requestId?: string;
11768
+ };
11769
+ export type MemoryOverviewEraseOutput = {
11770
+ readonly sequence: number;
11771
+ readonly result: {
11772
+ readonly projectId: string;
11773
+ readonly currentRevision: number | null;
11774
+ readonly eraseGeneration: number;
11775
+ };
11776
+ readonly replayed?: boolean;
11777
+ };
11490
11778
  export type WorkRemoteAgentPendingGetInput = {
11491
11779
  readonly projectId: string;
11492
11780
  readonly principalId?: string;
@@ -11502,6 +11790,14 @@ export type WorkRemoteAgentPendingGetOutput = {
11502
11790
  readonly truncated: boolean;
11503
11791
  readonly items: ReadonlyArray<{
11504
11792
  readonly workItemId: string;
11793
+ readonly initiatingPerson?: {
11794
+ readonly kind: "account";
11795
+ readonly userId: string;
11796
+ } | {
11797
+ readonly kind: "local-owner";
11798
+ readonly environmentId: string;
11799
+ };
11800
+ readonly workLineId?: string;
11505
11801
  readonly blocked: boolean;
11506
11802
  readonly groupId?: string;
11507
11803
  readonly round?: number;
@@ -12115,6 +12411,13 @@ export type WorkHistoryListOutput = {
12115
12411
  readonly group: "backlog" | "unstarted" | "started" | "completed" | "cancelled";
12116
12412
  } | null;
12117
12413
  } | {
12414
+ readonly initiatingPerson?: {
12415
+ readonly kind: "account";
12416
+ readonly userId: string;
12417
+ } | {
12418
+ readonly kind: "local-owner";
12419
+ readonly environmentId: string;
12420
+ };
12118
12421
  readonly field: "assignees";
12119
12422
  readonly old: ReadonlyArray<{
12120
12423
  readonly kind: "human";
@@ -13265,6 +13568,19 @@ export type MembersRuntimeListOutput = {
13265
13568
  readonly detail?: string;
13266
13569
  };
13267
13570
  readonly requestSummary?: string;
13571
+ readonly waitingPeople?: {
13572
+ readonly people: ReadonlyArray<{
13573
+ readonly person: {
13574
+ readonly kind: "account";
13575
+ readonly userId: string;
13576
+ } | {
13577
+ readonly kind: "local-owner";
13578
+ readonly environmentId: string;
13579
+ };
13580
+ readonly count: number;
13581
+ }>;
13582
+ readonly unassignedCount: number;
13583
+ };
13268
13584
  readonly waitId?: string;
13269
13585
  readonly workItemId?: string;
13270
13586
  readonly threadId: string;
@@ -13294,6 +13610,19 @@ export type MembersRuntimeSubscribeOutput = {
13294
13610
  readonly detail?: string;
13295
13611
  };
13296
13612
  readonly requestSummary?: string;
13613
+ readonly waitingPeople?: {
13614
+ readonly people: ReadonlyArray<{
13615
+ readonly person: {
13616
+ readonly kind: "account";
13617
+ readonly userId: string;
13618
+ } | {
13619
+ readonly kind: "local-owner";
13620
+ readonly environmentId: string;
13621
+ };
13622
+ readonly count: number;
13623
+ }>;
13624
+ readonly unassignedCount: number;
13625
+ };
13297
13626
  readonly waitId?: string;
13298
13627
  readonly workItemId?: string;
13299
13628
  readonly threadId: string;
@@ -14661,6 +14990,13 @@ export type CommunicationPostsGetInput = {
14661
14990
  };
14662
14991
  export type CommunicationPostsGetOutput = ReadonlyArray<{
14663
14992
  readonly kind: "post";
14993
+ readonly initiatingPerson?: {
14994
+ readonly kind: "account";
14995
+ readonly userId: string;
14996
+ } | {
14997
+ readonly kind: "local-owner";
14998
+ readonly environmentId: string;
14999
+ };
14664
15000
  readonly postId: string;
14665
15001
  readonly projectId: string;
14666
15002
  readonly sequence: number;
@@ -15233,6 +15569,13 @@ export type CommunicationPostsListOutput = {
15233
15569
  readonly kind: "post";
15234
15570
  readonly sequence: number;
15235
15571
  readonly post: {
15572
+ readonly initiatingPerson?: {
15573
+ readonly kind: "account";
15574
+ readonly userId: string;
15575
+ } | {
15576
+ readonly kind: "local-owner";
15577
+ readonly environmentId: string;
15578
+ };
15236
15579
  readonly postId: string;
15237
15580
  readonly projectId: string;
15238
15581
  readonly sequence: number;
@@ -16285,6 +16628,238 @@ export type ProjectsSharedSpacesLocalStatusSubscribeOutput = {
16285
16628
  } | {
16286
16629
  readonly _tag: "synchronized";
16287
16630
  };
16631
+ export type AttentionPendingListInput = {
16632
+ readonly projectId?: string;
16633
+ readonly kind?: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16634
+ readonly snoozed?: boolean;
16635
+ readonly workLineId?: string;
16636
+ readonly cursor?: string | null;
16637
+ readonly limit?: number;
16638
+ };
16639
+ export type AttentionPendingListOutput = {
16640
+ readonly person: {
16641
+ readonly kind: "account";
16642
+ readonly userId: string;
16643
+ } | {
16644
+ readonly kind: "local-owner";
16645
+ readonly environmentId: string;
16646
+ };
16647
+ readonly kind?: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16648
+ readonly workLineId?: string;
16649
+ readonly items: ReadonlyArray<{
16650
+ readonly key: {
16651
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16652
+ readonly id: string;
16653
+ };
16654
+ readonly projectId: string;
16655
+ readonly homeProjectId?: string;
16656
+ readonly createdAt: string | null;
16657
+ readonly recipient?: {
16658
+ readonly kind: "account";
16659
+ readonly userId: string;
16660
+ } | {
16661
+ readonly kind: "local-owner";
16662
+ readonly environmentId: string;
16663
+ };
16664
+ readonly snoozedUntil?: string;
16665
+ readonly snoozeKey?: {
16666
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16667
+ readonly id: string;
16668
+ };
16669
+ readonly threadId?: string;
16670
+ readonly requestId?: string;
16671
+ readonly activityId?: string;
16672
+ readonly asynchronous?: boolean;
16673
+ readonly workItemId?: string;
16674
+ readonly workLineId?: string;
16675
+ readonly memberId?: string;
16676
+ readonly postId?: string;
16677
+ readonly recordId?: string;
16678
+ readonly sourceEnvironmentId?: string;
16679
+ readonly projectHomeEnvironmentId?: string;
16680
+ readonly summary?: string;
16681
+ readonly count?: number;
16682
+ }>;
16683
+ readonly total: number;
16684
+ readonly notificationKeys?: ReadonlyArray<string>;
16685
+ readonly threadProjects?: ReadonlyArray<{
16686
+ readonly threadId: string;
16687
+ readonly projectId: string;
16688
+ }>;
16689
+ readonly nextCursor: string | null;
16690
+ readonly remoteWaits: ReadonlyArray<{
16691
+ readonly key: {
16692
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16693
+ readonly id: string;
16694
+ };
16695
+ readonly projectId: string;
16696
+ readonly homeProjectId?: string;
16697
+ readonly createdAt: string | null;
16698
+ readonly recipient?: {
16699
+ readonly kind: "account";
16700
+ readonly userId: string;
16701
+ } | {
16702
+ readonly kind: "local-owner";
16703
+ readonly environmentId: string;
16704
+ };
16705
+ readonly snoozedUntil?: string;
16706
+ readonly snoozeKey?: {
16707
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16708
+ readonly id: string;
16709
+ };
16710
+ readonly threadId?: string;
16711
+ readonly requestId?: string;
16712
+ readonly activityId?: string;
16713
+ readonly asynchronous?: boolean;
16714
+ readonly workItemId?: string;
16715
+ readonly workLineId?: string;
16716
+ readonly memberId?: string;
16717
+ readonly postId?: string;
16718
+ readonly recordId?: string;
16719
+ readonly sourceEnvironmentId?: string;
16720
+ readonly projectHomeEnvironmentId?: string;
16721
+ readonly summary?: string;
16722
+ readonly count?: number;
16723
+ }>;
16724
+ readonly threadCounts: ReadonlyArray<{
16725
+ readonly threadId: string;
16726
+ readonly projectId?: string;
16727
+ readonly count: number;
16728
+ readonly unassignedCount?: number;
16729
+ readonly workLineId?: string;
16730
+ readonly projectHomeEnvironmentId?: string;
16731
+ }>;
16732
+ readonly lineCounts: ReadonlyArray<{
16733
+ readonly workLineId: string;
16734
+ readonly count: number;
16735
+ readonly projectHomeEnvironmentId?: string;
16736
+ }>;
16737
+ };
16738
+ export type AttentionPendingSubscribeInput = {
16739
+ readonly projectId?: string;
16740
+ readonly kind?: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16741
+ readonly snoozed?: boolean;
16742
+ readonly workLineId?: string;
16743
+ readonly limit?: number;
16744
+ };
16745
+ export type AttentionPendingSubscribeOutput = {
16746
+ readonly _tag: "snapshot";
16747
+ readonly value: {
16748
+ readonly person: {
16749
+ readonly kind: "account";
16750
+ readonly userId: string;
16751
+ } | {
16752
+ readonly kind: "local-owner";
16753
+ readonly environmentId: string;
16754
+ };
16755
+ readonly kind?: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16756
+ readonly workLineId?: string;
16757
+ readonly items: ReadonlyArray<{
16758
+ readonly key: {
16759
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16760
+ readonly id: string;
16761
+ };
16762
+ readonly projectId: string;
16763
+ readonly homeProjectId?: string;
16764
+ readonly createdAt: string | null;
16765
+ readonly recipient?: {
16766
+ readonly kind: "account";
16767
+ readonly userId: string;
16768
+ } | {
16769
+ readonly kind: "local-owner";
16770
+ readonly environmentId: string;
16771
+ };
16772
+ readonly snoozedUntil?: string;
16773
+ readonly snoozeKey?: {
16774
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16775
+ readonly id: string;
16776
+ };
16777
+ readonly threadId?: string;
16778
+ readonly requestId?: string;
16779
+ readonly activityId?: string;
16780
+ readonly asynchronous?: boolean;
16781
+ readonly workItemId?: string;
16782
+ readonly workLineId?: string;
16783
+ readonly memberId?: string;
16784
+ readonly postId?: string;
16785
+ readonly recordId?: string;
16786
+ readonly sourceEnvironmentId?: string;
16787
+ readonly projectHomeEnvironmentId?: string;
16788
+ readonly summary?: string;
16789
+ readonly count?: number;
16790
+ }>;
16791
+ readonly total: number;
16792
+ readonly notificationKeys?: ReadonlyArray<string>;
16793
+ readonly threadProjects?: ReadonlyArray<{
16794
+ readonly threadId: string;
16795
+ readonly projectId: string;
16796
+ }>;
16797
+ readonly nextCursor: string | null;
16798
+ readonly remoteWaits: ReadonlyArray<{
16799
+ readonly key: {
16800
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16801
+ readonly id: string;
16802
+ };
16803
+ readonly projectId: string;
16804
+ readonly homeProjectId?: string;
16805
+ readonly createdAt: string | null;
16806
+ readonly recipient?: {
16807
+ readonly kind: "account";
16808
+ readonly userId: string;
16809
+ } | {
16810
+ readonly kind: "local-owner";
16811
+ readonly environmentId: string;
16812
+ };
16813
+ readonly snoozedUntil?: string;
16814
+ readonly snoozeKey?: {
16815
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16816
+ readonly id: string;
16817
+ };
16818
+ readonly threadId?: string;
16819
+ readonly requestId?: string;
16820
+ readonly activityId?: string;
16821
+ readonly asynchronous?: boolean;
16822
+ readonly workItemId?: string;
16823
+ readonly workLineId?: string;
16824
+ readonly memberId?: string;
16825
+ readonly postId?: string;
16826
+ readonly recordId?: string;
16827
+ readonly sourceEnvironmentId?: string;
16828
+ readonly projectHomeEnvironmentId?: string;
16829
+ readonly summary?: string;
16830
+ readonly count?: number;
16831
+ }>;
16832
+ readonly threadCounts: ReadonlyArray<{
16833
+ readonly threadId: string;
16834
+ readonly projectId?: string;
16835
+ readonly count: number;
16836
+ readonly unassignedCount?: number;
16837
+ readonly workLineId?: string;
16838
+ readonly projectHomeEnvironmentId?: string;
16839
+ }>;
16840
+ readonly lineCounts: ReadonlyArray<{
16841
+ readonly workLineId: string;
16842
+ readonly count: number;
16843
+ readonly projectHomeEnvironmentId?: string;
16844
+ }>;
16845
+ };
16846
+ } | {
16847
+ readonly _tag: "synchronized";
16848
+ };
16849
+ export type AttentionSnoozeInput = {
16850
+ readonly projectId: string;
16851
+ readonly key: {
16852
+ readonly kind: "approval" | "question" | "decision" | "plan" | "mention" | "work" | "failure" | "remote" | "acceptance";
16853
+ readonly id: string;
16854
+ };
16855
+ readonly until: string | null;
16856
+ readonly requestId?: string;
16857
+ };
16858
+ export type AttentionSnoozeOutput = {
16859
+ readonly sequence: number;
16860
+ readonly result: {};
16861
+ readonly replayed?: boolean;
16862
+ };
16288
16863
  export type ProjectsMachinesListEncodedOutput = {
16289
16864
  readonly accountDiscovery?: AccountMachineDiscoveryStatus;
16290
16865
  readonly items: ReadonlyArray<{
@@ -16843,10 +17418,22 @@ export type ProjectsMachinesThreadsMessagesListEncodedOutput = {
16843
17418
  readonly pluginId?: string | undefined;
16844
17419
  } | {
16845
17420
  readonly kind: "home-machine";
17421
+ readonly homeWork?: {
17422
+ readonly projectId: string;
17423
+ readonly environmentId: string;
17424
+ readonly workLineId?: string;
17425
+ };
16846
17426
  } | {
16847
17427
  readonly kind: "restart-resume";
16848
17428
  } | {
16849
17429
  readonly kind: "remote-post";
17430
+ readonly initiatingPerson?: {
17431
+ readonly kind: "account";
17432
+ readonly userId: string;
17433
+ } | {
17434
+ readonly kind: "local-owner";
17435
+ readonly environmentId: string;
17436
+ };
16850
17437
  readonly postId: string;
16851
17438
  readonly authorKind: "human" | "agent";
16852
17439
  readonly authorName?: string;
@@ -17391,6 +17978,13 @@ export type ThreadsHistoryEncodedOutput = {
17391
17978
  readonly childThreadId: string;
17392
17979
  readonly childTitle: string;
17393
17980
  readonly remotePost?: {
17981
+ readonly initiatingPerson?: {
17982
+ readonly kind: "account";
17983
+ readonly userId: string;
17984
+ } | {
17985
+ readonly kind: "local-owner";
17986
+ readonly environmentId: string;
17987
+ };
17394
17988
  readonly postId: string;
17395
17989
  readonly targetKey: string;
17396
17990
  readonly authorKind: "human" | "agent";
@@ -17406,12 +18000,19 @@ export type ThreadsHistoryEncodedOutput = {
17406
18000
  readonly recordId?: string | undefined;
17407
18001
  readonly postId?: string;
17408
18002
  } | {
17409
- readonly kind: "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post";
18003
+ readonly kind: "plugin.notice" | "selfdev.resolved" | "cookie-import.resolved" | "remote.post" | "attention.snoozed";
17410
18004
  readonly sourceThreadId?: string | undefined;
17411
18005
  readonly sourceTitle?: string | undefined;
17412
18006
  readonly childThreadId?: string | undefined;
17413
18007
  readonly childTitle?: string | undefined;
17414
18008
  readonly remotePost?: {
18009
+ readonly initiatingPerson?: {
18010
+ readonly kind: "account";
18011
+ readonly userId: string;
18012
+ } | {
18013
+ readonly kind: "local-owner";
18014
+ readonly environmentId: string;
18015
+ };
17415
18016
  readonly postId: string;
17416
18017
  readonly targetKey: string;
17417
18018
  readonly authorKind: "human" | "agent";
@@ -17536,10 +18137,22 @@ export type ThreadsHistoryEncodedOutput = {
17536
18137
  readonly pluginId?: string | undefined;
17537
18138
  } | {
17538
18139
  readonly kind: "home-machine";
18140
+ readonly homeWork?: {
18141
+ readonly projectId: string;
18142
+ readonly environmentId: string;
18143
+ readonly workLineId?: string;
18144
+ };
17539
18145
  } | {
17540
18146
  readonly kind: "restart-resume";
17541
18147
  } | {
17542
18148
  readonly kind: "remote-post";
18149
+ readonly initiatingPerson?: {
18150
+ readonly kind: "account";
18151
+ readonly userId: string;
18152
+ } | {
18153
+ readonly kind: "local-owner";
18154
+ readonly environmentId: string;
18155
+ };
17543
18156
  readonly postId: string;
17544
18157
  readonly authorKind: "human" | "agent";
17545
18158
  readonly authorName?: string;
@@ -17589,10 +18202,22 @@ export type ThreadsHistoryEncodedOutput = {
17589
18202
  readonly pluginId?: string | undefined;
17590
18203
  } | {
17591
18204
  readonly kind: "home-machine";
18205
+ readonly homeWork?: {
18206
+ readonly projectId: string;
18207
+ readonly environmentId: string;
18208
+ readonly workLineId?: string;
18209
+ };
17592
18210
  } | {
17593
18211
  readonly kind: "restart-resume";
17594
18212
  } | {
17595
18213
  readonly kind: "remote-post";
18214
+ readonly initiatingPerson?: {
18215
+ readonly kind: "account";
18216
+ readonly userId: string;
18217
+ } | {
18218
+ readonly kind: "local-owner";
18219
+ readonly environmentId: string;
18220
+ };
17596
18221
  readonly postId: string;
17597
18222
  readonly authorKind: "human" | "agent";
17598
18223
  readonly authorName?: string;
@@ -17600,6 +18225,13 @@ export type ThreadsHistoryEncodedOutput = {
17600
18225
  readonly textOffset: number;
17601
18226
  readonly textLength: number;
17602
18227
  }>;
18228
+ readonly initiatingPerson?: {
18229
+ readonly kind: "account";
18230
+ readonly userId: string;
18231
+ } | {
18232
+ readonly kind: "local-owner";
18233
+ readonly environmentId: string;
18234
+ };
17603
18235
  readonly noticesFolded?: true;
17604
18236
  readonly binding?: {
17605
18237
  readonly bindingId: string;
@@ -17687,6 +18319,13 @@ export type ThreadsHistoryEncodedOutput = {
17687
18319
  readonly updatedAt: string;
17688
18320
  }> | undefined;
17689
18321
  readonly scheduledWakes?: ReadonlyArray<{
18322
+ readonly initiatingPerson?: {
18323
+ readonly kind: "account";
18324
+ readonly userId: string;
18325
+ } | {
18326
+ readonly kind: "local-owner";
18327
+ readonly environmentId: string;
18328
+ };
17690
18329
  readonly wakeId: string;
17691
18330
  readonly threadId: string;
17692
18331
  readonly dueAt: string;
@@ -17880,10 +18519,22 @@ export type ThreadsHistoryEncodedOutput = {
17880
18519
  readonly pluginId?: string | undefined;
17881
18520
  } | {
17882
18521
  readonly kind: "home-machine";
18522
+ readonly homeWork?: {
18523
+ readonly projectId: string;
18524
+ readonly environmentId: string;
18525
+ readonly workLineId?: string;
18526
+ };
17883
18527
  } | {
17884
18528
  readonly kind: "restart-resume";
17885
18529
  } | {
17886
18530
  readonly kind: "remote-post";
18531
+ readonly initiatingPerson?: {
18532
+ readonly kind: "account";
18533
+ readonly userId: string;
18534
+ } | {
18535
+ readonly kind: "local-owner";
18536
+ readonly environmentId: string;
18537
+ };
17887
18538
  readonly postId: string;
17888
18539
  readonly authorKind: "human" | "agent";
17889
18540
  readonly authorName?: string;
@@ -18153,10 +18804,22 @@ export type ThreadsMessagesGetEncodedOutput = {
18153
18804
  readonly pluginId?: string | undefined;
18154
18805
  } | {
18155
18806
  readonly kind: "home-machine";
18807
+ readonly homeWork?: {
18808
+ readonly projectId: string;
18809
+ readonly environmentId: string;
18810
+ readonly workLineId?: string;
18811
+ };
18156
18812
  } | {
18157
18813
  readonly kind: "restart-resume";
18158
18814
  } | {
18159
18815
  readonly kind: "remote-post";
18816
+ readonly initiatingPerson?: {
18817
+ readonly kind: "account";
18818
+ readonly userId: string;
18819
+ } | {
18820
+ readonly kind: "local-owner";
18821
+ readonly environmentId: string;
18822
+ };
18160
18823
  readonly postId: string;
18161
18824
  readonly authorKind: "human" | "agent";
18162
18825
  readonly authorName?: string;
@@ -18496,10 +19159,22 @@ export type ThreadsMessagesListEncodedOutput = {
18496
19159
  readonly pluginId?: string | undefined;
18497
19160
  } | {
18498
19161
  readonly kind: "home-machine";
19162
+ readonly homeWork?: {
19163
+ readonly projectId: string;
19164
+ readonly environmentId: string;
19165
+ readonly workLineId?: string;
19166
+ };
18499
19167
  } | {
18500
19168
  readonly kind: "restart-resume";
18501
19169
  } | {
18502
19170
  readonly kind: "remote-post";
19171
+ readonly initiatingPerson?: {
19172
+ readonly kind: "account";
19173
+ readonly userId: string;
19174
+ } | {
19175
+ readonly kind: "local-owner";
19176
+ readonly environmentId: string;
19177
+ };
18503
19178
  readonly postId: string;
18504
19179
  readonly authorKind: "human" | "agent";
18505
19180
  readonly authorName?: string;
@@ -19038,10 +19713,12 @@ export type MachineSettingsConfigGetEncodedOutput = {
19038
19713
  readonly manualOrdering?: boolean;
19039
19714
  readonly projectCopies?: boolean;
19040
19715
  readonly projectArchive?: boolean;
19716
+ readonly memoryDerivation?: boolean;
19041
19717
  readonly projectCloneInBackground?: boolean;
19042
19718
  readonly projectMultiFolder?: boolean;
19043
19719
  readonly workLines?: boolean;
19044
19720
  readonly workBoard?: boolean;
19721
+ readonly humanAttention?: boolean;
19045
19722
  readonly workParents?: boolean;
19046
19723
  readonly projectConfig?: boolean;
19047
19724
  readonly groupMessages?: boolean;
@@ -19410,6 +20087,8 @@ export type PluginsInstalledListEncodedOutput = {
19410
20087
  readonly kind: "memory.read";
19411
20088
  } | {
19412
20089
  readonly kind: "communication.read";
20090
+ } | {
20091
+ readonly kind: "attention.read";
19413
20092
  } | {
19414
20093
  readonly kind: "agentPresets";
19415
20094
  } | {
@@ -19491,6 +20170,13 @@ export type PluginsInstalledListEncodedOutput = {
19491
20170
  };
19492
20171
  export type SchedulesListEncodedOutput = {
19493
20172
  readonly schedules: ReadonlyArray<{
20173
+ readonly initiatingPerson?: {
20174
+ readonly kind: "account";
20175
+ readonly userId: string;
20176
+ } | {
20177
+ readonly kind: "local-owner";
20178
+ readonly environmentId: string;
20179
+ };
19494
20180
  readonly scheduleId: string;
19495
20181
  readonly projectId: string;
19496
20182
  readonly name: string;
@@ -20590,6 +21276,20 @@ export interface PluginDataPorts {
20590
21276
  /** Data capability: memory.handbook.revert. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["wiki.handbook.revert"]}} */
20591
21277
  readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
20592
21278
  };
21279
+ readonly overview: {
21280
+ /** Data capability: memory.overview.get. Plugin admission: {"require":{"kind":"memory.read"}} */
21281
+ readonly get: (input: MemoryOverviewGetInput) => Promise<MemoryOverviewGetOutput>;
21282
+ /** Data capability: memory.overview.listRevisions. Plugin admission: {"require":{"kind":"memory.read"}} */
21283
+ readonly listRevisions: (input: MemoryOverviewListRevisionsInput) => Promise<MemoryOverviewListRevisionsOutput>;
21284
+ /** Data capability: memory.overview.getRevision. Plugin admission: {"require":{"kind":"memory.read"}} */
21285
+ readonly getRevision: (input: MemoryOverviewGetRevisionInput) => Promise<MemoryOverviewGetRevisionOutput>;
21286
+ /** Data capability: memory.overview.edit. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["memory.overview.edit"]}} */
21287
+ readonly edit: (input: MemoryOverviewEditInput) => Promise<MemoryOverviewEditOutput>;
21288
+ /** Data capability: memory.overview.restore. Plugin admission: {"require":{"kind":"commands.dispatch","commands":["memory.overview.restore"]}} */
21289
+ readonly restore: (input: MemoryOverviewRestoreInput) => Promise<MemoryOverviewRestoreOutput>;
21290
+ /** Data capability: memory.overview.erase. Plugin admission: {"restricted":"operator-only"} */
21291
+ readonly erase: (input: MemoryOverviewEraseInput) => Promise<MemoryOverviewEraseOutput>;
21292
+ };
20593
21293
  };
20594
21294
  readonly work: {
20595
21295
  readonly remoteAgentPending: {
@@ -20717,6 +21417,16 @@ export interface PluginDataPorts {
20717
21417
  readonly get: (input: MembersExternalWakesGetInput) => Promise<MembersExternalWakesGetOutput>;
20718
21418
  };
20719
21419
  };
21420
+ readonly attention: {
21421
+ readonly pending: {
21422
+ /** Data capability: attention.pending.list. Plugin admission: {"require":{"kind":"attention.read"}} */
21423
+ readonly list: (input: AttentionPendingListInput) => Promise<AttentionPendingListOutput>;
21424
+ /** Data capability: attention.pending.subscribe. Plugin admission: {"require":{"kind":"attention.read"}} */
21425
+ readonly subscribe: (input: AttentionPendingSubscribeInput, emit: (frame: AttentionPendingSubscribeOutput) => void | Promise<void>, signal: AbortSignal) => Promise<void>;
21426
+ };
21427
+ /** Data capability: attention.snooze. Plugin admission: {"restricted":"operator-only"} */
21428
+ readonly snooze: (input: AttentionSnoozeInput) => Promise<AttentionSnoozeOutput>;
21429
+ };
20720
21430
  }
20721
21431
  /** 以人的身份写的端口(`invocation.asPerson`):只有登记表代人写白名单里的几条,形状与上面同名成员相同。 */
20722
21432
  export interface PluginAsPersonPorts {
@@ -20748,6 +21458,10 @@ export interface PluginAsPersonPorts {
20748
21458
  readonly publish: (input: MemoryHandbookPublishInput) => Promise<MemoryHandbookPublishOutput>;
20749
21459
  readonly revert: (input: MemoryHandbookRevertInput) => Promise<MemoryHandbookRevertOutput>;
20750
21460
  };
21461
+ readonly overview: {
21462
+ readonly edit: (input: MemoryOverviewEditInput) => Promise<MemoryOverviewEditOutput>;
21463
+ readonly restore: (input: MemoryOverviewRestoreInput) => Promise<MemoryOverviewRestoreOutput>;
21464
+ };
20751
21465
  };
20752
21466
  readonly members: {
20753
21467
  readonly create: (input: MembersCreateInput) => Promise<MembersCreateOutput>;
@@ -20772,6 +21486,11 @@ export interface PluginViewerPorts {
20772
21486
  readonly current: (input: CommunicationPeopleCurrentInput) => Promise<CommunicationPeopleCurrentOutput>;
20773
21487
  };
20774
21488
  };
21489
+ readonly attention: {
21490
+ readonly pending: {
21491
+ readonly list: (input: AttentionPendingListInput) => Promise<AttentionPendingListOutput>;
21492
+ };
21493
+ };
20775
21494
  }
20776
21495
  /** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
20777
21496
  export interface PluginAsCallerPorts {
@@ -21202,6 +21921,18 @@ export interface PluginUiDataReads {
21202
21921
  readonly input: MemoryHandbookReleasesGetInput;
21203
21922
  readonly output: MemoryHandbookReleasesGetOutput;
21204
21923
  };
21924
+ readonly "memory.overview.get": {
21925
+ readonly input: MemoryOverviewGetInput;
21926
+ readonly output: MemoryOverviewGetOutput;
21927
+ };
21928
+ readonly "memory.overview.listRevisions": {
21929
+ readonly input: MemoryOverviewListRevisionsInput;
21930
+ readonly output: MemoryOverviewListRevisionsOutput;
21931
+ };
21932
+ readonly "memory.overview.getRevision": {
21933
+ readonly input: MemoryOverviewGetRevisionInput;
21934
+ readonly output: MemoryOverviewGetRevisionOutput;
21935
+ };
21205
21936
  readonly "work.remoteAgentPending.get": {
21206
21937
  readonly input: WorkRemoteAgentPendingGetInput;
21207
21938
  readonly output: WorkRemoteAgentPendingGetOutput;
@@ -21318,6 +22049,10 @@ export interface PluginUiDataReads {
21318
22049
  readonly input: ProjectsSharedSpacesLocalStatusGetInput;
21319
22050
  readonly output: ProjectsSharedSpacesLocalStatusGetOutput;
21320
22051
  };
22052
+ readonly "attention.pending.list": {
22053
+ readonly input: AttentionPendingListInput;
22054
+ readonly output: AttentionPendingListOutput;
22055
+ };
21321
22056
  }
21322
22057
  export type PluginUiDataReadId = keyof PluginUiDataReads;
21323
22058
  export {};