@ycodium-ai/plugin-api 0.2.5324 → 0.2.5339

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,11 @@ 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 **163**. This Ycodium loads plugins declaring 161 through 163.
656
+ The current API is **165**. This Ycodium loads plugins declaring 161 through 165.
657
+
658
+ API 165 adds the parent-start history change with byChild to work history reads
659
+
660
+ 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`).
657
661
 
658
662
  API 163 adds a group-without-lead recipient warning to saved group posts; sending again with the same request id preserves whether the original post had a lead
659
663
 
@@ -2525,6 +2525,7 @@ type Arrays_39 = ReadonlyArray<Union_59>;
2525
2525
  type Union_94 = {
2526
2526
  readonly "environmentId": string;
2527
2527
  readonly "modelSelection": Objects_114;
2528
+ readonly "threadId"?: string;
2528
2529
  } | null;
2529
2530
  type Objects_223 = {
2530
2531
  readonly "executionSelection"?: Union_67;
@@ -2834,6 +2835,7 @@ type Objects_149 = {
2834
2835
  type Union_62 = {
2835
2836
  readonly "environmentId": string;
2836
2837
  readonly "modelSelection": Objects_116;
2838
+ readonly "threadId"?: string;
2837
2839
  } | null;
2838
2840
  type Objects_87 = {
2839
2841
  readonly "recordId": string;
@@ -7163,6 +7165,9 @@ export type WorkHistoryListOutput = {
7163
7165
  readonly "field": "parent";
7164
7166
  readonly "old": string | null;
7165
7167
  readonly "new": string | null;
7168
+ } | {
7169
+ readonly "field": "parent-start";
7170
+ readonly "byChild": string;
7166
7171
  } | {
7167
7172
  readonly "field": "name";
7168
7173
  readonly "old": string | null;
@@ -7574,6 +7579,7 @@ export type MembersCreateInput = {
7574
7579
  readonly "agent"?: {
7575
7580
  readonly "environmentId": string;
7576
7581
  readonly "modelSelection": Objects_114;
7582
+ readonly "threadId"?: string;
7577
7583
  };
7578
7584
  };
7579
7585
  export type MembersCreateOutput = {
@@ -7599,6 +7605,7 @@ export type MembersUpdateInput = {
7599
7605
  readonly "agent"?: {
7600
7606
  readonly "environmentId": string;
7601
7607
  readonly "modelSelection": Objects_114;
7608
+ readonly "threadId"?: string;
7602
7609
  };
7603
7610
  };
7604
7611
  export type MembersUpdateOutput = {