@ycodium-ai/plugin-api 0.2.6072 → 0.2.6153

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
@@ -670,7 +670,9 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
670
670
 
671
671
  <!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
672
672
 
673
- The current API is **197**. This Ycodium loads plugins declaring 193 through 197.
673
+ The current API is **198**. This Ycodium loads plugins declaring 193 through 198.
674
+
675
+ API 198 adds optional `confirmedSequence` and `origin` on `PluginThreadMessage` (`ctx.projections.getThreadMessage` / `ctx.threads.messages.get`), exposing the persistent event sequence of initial confirmation (`null` when not governed by a turn intent) and the host-recorded turn-intent origin so event reactors can deduplicate confirmations and suppress inbound echoes across restarts.
674
676
 
675
677
  API 197 adds `ExecutorSignInInteraction` (`device-code` | `authorization-code` | `browser`), `ExecutorCard.signInInteraction`, `ExecutorInstance.signIn.submit`, and `ExecutorInstance.signInMethods`, exports `createCliAuthorizationCodeSignIn`, `createCliBrowserSignIn`, `sanitizeAuthorizationCodeError`, and `suppressNodeCliBrowserOpen` from `@ycodium-ai/plugin-api/runtime-maintenance`, and adds the operator-only `ctx.providers.instances.submitSignIn` data port, `providerSignInSubmit` machine capability, `signInMode` snapshot field, and `operationId`-bound sign-in maintenance states.
676
678
 
@@ -4646,6 +4646,59 @@ export type ThreadsMessagesGetOutput = {
4646
4646
  readonly text: string;
4647
4647
  readonly turnId: string | null;
4648
4648
  readonly createdAt: string;
4649
+ readonly confirmedSequence?: number | null | undefined;
4650
+ readonly origin?: {
4651
+ readonly kind: "user";
4652
+ } | {
4653
+ readonly kind: "schedule";
4654
+ readonly scheduleId: string;
4655
+ readonly name: string;
4656
+ readonly pluginId?: string;
4657
+ readonly entryId?: string;
4658
+ } | {
4659
+ readonly kind: "scheduled-wake";
4660
+ readonly wakeId: string;
4661
+ readonly dueAt: string;
4662
+ readonly note: string;
4663
+ } | {
4664
+ readonly kind: "record";
4665
+ readonly recordId: string;
4666
+ } | {
4667
+ readonly kind: "session";
4668
+ readonly threadId: string;
4669
+ readonly turnId?: string | undefined;
4670
+ } | {
4671
+ readonly kind: "reply";
4672
+ readonly recordId: string;
4673
+ } | {
4674
+ readonly kind: "child-report";
4675
+ readonly childThreadId: string;
4676
+ readonly outcome: "settled" | "failed" | null;
4677
+ } | {
4678
+ readonly kind: "plugin-wake";
4679
+ readonly pluginId: string;
4680
+ readonly continuation?: TurnIntentContinuation;
4681
+ } | {
4682
+ readonly kind: "board-dispatch";
4683
+ readonly workItemId: string;
4684
+ } | {
4685
+ readonly kind: "person";
4686
+ readonly pluginId: string;
4687
+ readonly displayName: string;
4688
+ } | {
4689
+ readonly kind: "plugin-notice";
4690
+ readonly title: string;
4691
+ readonly pluginId?: string | undefined;
4692
+ } | {
4693
+ readonly kind: "home-machine";
4694
+ } | {
4695
+ readonly kind: "restart-resume";
4696
+ } | {
4697
+ readonly kind: "remote-post";
4698
+ readonly postId: string;
4699
+ readonly authorKind: "human" | "agent";
4700
+ readonly authorName?: string;
4701
+ } | undefined;
4649
4702
  readonly modelSelection?: {
4650
4703
  readonly instanceId: string;
4651
4704
  readonly model: string;
@@ -18055,6 +18108,59 @@ export type ThreadsMessagesGetEncodedOutput = {
18055
18108
  readonly text: string;
18056
18109
  readonly turnId: string | null;
18057
18110
  readonly createdAt: string;
18111
+ readonly confirmedSequence?: number | null | undefined;
18112
+ readonly origin?: {
18113
+ readonly kind: "user";
18114
+ } | {
18115
+ readonly kind: "schedule";
18116
+ readonly scheduleId: string;
18117
+ readonly name: string;
18118
+ readonly pluginId?: string;
18119
+ readonly entryId?: string;
18120
+ } | {
18121
+ readonly kind: "scheduled-wake";
18122
+ readonly wakeId: string;
18123
+ readonly dueAt: string;
18124
+ readonly note: string;
18125
+ } | {
18126
+ readonly kind: "record";
18127
+ readonly recordId: string;
18128
+ } | {
18129
+ readonly kind: "session";
18130
+ readonly threadId: string;
18131
+ readonly turnId?: string | undefined;
18132
+ } | {
18133
+ readonly kind: "reply";
18134
+ readonly recordId: string;
18135
+ } | {
18136
+ readonly kind: "child-report";
18137
+ readonly childThreadId: string;
18138
+ readonly outcome: "settled" | "failed" | null;
18139
+ } | {
18140
+ readonly kind: "plugin-wake";
18141
+ readonly pluginId: string;
18142
+ readonly continuation?: TurnIntentContinuation_1;
18143
+ } | {
18144
+ readonly kind: "board-dispatch";
18145
+ readonly workItemId: string;
18146
+ } | {
18147
+ readonly kind: "person";
18148
+ readonly pluginId: string;
18149
+ readonly displayName: string;
18150
+ } | {
18151
+ readonly kind: "plugin-notice";
18152
+ readonly title: string;
18153
+ readonly pluginId?: string | undefined;
18154
+ } | {
18155
+ readonly kind: "home-machine";
18156
+ } | {
18157
+ readonly kind: "restart-resume";
18158
+ } | {
18159
+ readonly kind: "remote-post";
18160
+ readonly postId: string;
18161
+ readonly authorKind: "human" | "agent";
18162
+ readonly authorName?: string;
18163
+ } | undefined;
18058
18164
  readonly modelSelection?: {
18059
18165
  readonly provider?: unknown | undefined;
18060
18166
  readonly instanceId?: unknown | undefined;