@ycodium-ai/plugin-api 0.2.4256 → 0.2.4287

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
@@ -408,7 +408,9 @@ update against the new types and republish.
408
408
 
409
409
  <!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
410
410
 
411
- The current API is **106**. This Ycodium loads plugins declaring 96 through 106.
411
+ The current API is **107**. This Ycodium loads plugins declaring 96 through 107.
412
+
413
+ API 107 includes person-only decision cards in `approvals.pending.list`, with optional activity location and decision options; thread shells expose an optional pending decision activity id.
412
414
 
413
415
  API 106 Message send results may include recipient-unanswered-questions warnings with request and question ids for a parent messaging its direct child. Messages still send and questions require respond_to_user_input.
414
416
 
@@ -2257,6 +2257,7 @@ type Objects_192 = {
2257
2257
  readonly "deliveredFileCount"?: number | undefined;
2258
2258
  readonly "latestDeliveryAt"?: string | null | undefined;
2259
2259
  readonly "hasPendingApprovals": boolean;
2260
+ readonly "pendingDecisionActivityId"?: string | undefined;
2260
2261
  readonly "hasPendingUserInput": boolean;
2261
2262
  readonly "askRoute"?: Union_67;
2262
2263
  readonly "hasActionableProposedPlan": boolean;
@@ -2318,6 +2319,7 @@ type Objects_16 = {
2318
2319
  readonly "deliveredFileCount"?: number | undefined;
2319
2320
  readonly "latestDeliveryAt"?: string | null | undefined;
2320
2321
  readonly "hasPendingApprovals": boolean;
2322
+ readonly "pendingDecisionActivityId"?: string | undefined;
2321
2323
  readonly "hasPendingUserInput": boolean;
2322
2324
  readonly "askRoute"?: Union_15;
2323
2325
  readonly "hasActionableProposedPlan": boolean;
@@ -2373,6 +2375,7 @@ type Objects_34 = {
2373
2375
  readonly "deliveredFileCount"?: number | undefined;
2374
2376
  readonly "latestDeliveryAt"?: string | null | undefined;
2375
2377
  readonly "hasPendingApprovals": boolean;
2378
+ readonly "pendingDecisionActivityId"?: string | undefined;
2376
2379
  readonly "hasPendingUserInput": boolean;
2377
2380
  readonly "askRoute"?: Union_15;
2378
2381
  readonly "hasActionableProposedPlan": boolean;
@@ -4233,6 +4236,27 @@ export type ApprovalsPendingListInput = {
4233
4236
  };
4234
4237
  export type ApprovalsPendingListOutput = ReadonlyArray<{
4235
4238
  readonly "requestId": string;
4239
+ readonly "activityId"?: string | undefined;
4240
+ readonly "decision"?: {
4241
+ readonly "askedBy": {
4242
+ readonly "kind": "plugin";
4243
+ readonly "pluginId": string;
4244
+ } | {
4245
+ readonly "kind": "host";
4246
+ readonly "feature": string;
4247
+ };
4248
+ readonly "options": ReadonlyArray<{
4249
+ readonly "id": string;
4250
+ readonly "label": {
4251
+ readonly "text": string;
4252
+ readonly "key"?: string | undefined;
4253
+ readonly "params"?: {
4254
+ readonly [x: string]: string | number;
4255
+ } | undefined;
4256
+ };
4257
+ readonly "tone"?: "default" | "primary" | "danger" | undefined;
4258
+ }>;
4259
+ } | undefined;
4236
4260
  readonly "requestKind": "command" | "file-read" | "file-change" | "web-fetch" | "web-search" | "skill" | "mcp-tool" | "mcp-elicitation" | "tool";
4237
4261
  readonly "createdAt": string;
4238
4262
  readonly "summary"?: string | undefined;
@@ -7543,6 +7567,7 @@ export type ThreadsListEncodedOutput = {
7543
7567
  readonly "deliveredFileCount"?: number | undefined;
7544
7568
  readonly "latestDeliveryAt"?: string | null | undefined;
7545
7569
  readonly "hasPendingApprovals": boolean;
7570
+ readonly "pendingDecisionActivityId"?: string | undefined;
7546
7571
  readonly "hasPendingUserInput": boolean;
7547
7572
  readonly "askRoute"?: Union_67;
7548
7573
  readonly "hasActionableProposedPlan": boolean;