@ycodium-ai/plugin-api 0.2.5324 → 0.2.5330
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 +3 -1
- package/dist/dataPorts.gen.d.ts +4 -0
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -653,7 +653,9 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
|
|
|
653
653
|
|
|
654
654
|
<!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
|
|
655
655
|
|
|
656
|
-
The current API is **
|
|
656
|
+
The current API is **164**. This Ycodium loads plugins declaring 161 through 164.
|
|
657
|
+
|
|
658
|
+
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
659
|
|
|
658
660
|
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
661
|
|
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -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;
|
|
@@ -7574,6 +7576,7 @@ export type MembersCreateInput = {
|
|
|
7574
7576
|
readonly "agent"?: {
|
|
7575
7577
|
readonly "environmentId": string;
|
|
7576
7578
|
readonly "modelSelection": Objects_114;
|
|
7579
|
+
readonly "threadId"?: string;
|
|
7577
7580
|
};
|
|
7578
7581
|
};
|
|
7579
7582
|
export type MembersCreateOutput = {
|
|
@@ -7599,6 +7602,7 @@ export type MembersUpdateInput = {
|
|
|
7599
7602
|
readonly "agent"?: {
|
|
7600
7603
|
readonly "environmentId": string;
|
|
7601
7604
|
readonly "modelSelection": Objects_114;
|
|
7605
|
+
readonly "threadId"?: string;
|
|
7602
7606
|
};
|
|
7603
7607
|
};
|
|
7604
7608
|
export type MembersUpdateOutput = {
|