@ycodium-ai/plugin-api 0.2.5304 → 0.2.5315
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 +5 -1
- package/dist/dataPorts.gen.d.ts +121 -0
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.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,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 **
|
|
656
|
+
The current API is **162**. This Ycodium loads plugins declaring 161 through 162.
|
|
657
|
+
|
|
658
|
+
API 162 adds `ctx.members.externalWakes.claim`, `report`, `list` and `get`. Claim and report declare `member.externalWake.deliver`. List and get need `members.read`.
|
|
659
|
+
|
|
660
|
+
API 162 adds an optional parentId to work.items.create and work.items.update, an optional parentIds filter to work.items.list, and starts filling childCounts on work item reads
|
|
657
661
|
|
|
658
662
|
API 161 removes the application plan-mode toggle, composer switching callbacks and input-plan slot; interaction-mode data and command ports remain available
|
|
659
663
|
|
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -5323,6 +5323,7 @@ export type MachineSettingsConfigGetOutput = {
|
|
|
5323
5323
|
readonly "projectMultiFolder"?: boolean;
|
|
5324
5324
|
readonly "workLines"?: boolean;
|
|
5325
5325
|
readonly "workBoard"?: boolean;
|
|
5326
|
+
readonly "workParents"?: boolean;
|
|
5326
5327
|
readonly "projectConfig"?: boolean;
|
|
5327
5328
|
readonly "groupMessages"?: boolean;
|
|
5328
5329
|
readonly "machineTasks"?: boolean;
|
|
@@ -6968,6 +6969,7 @@ export type WorkItemsListInput = {
|
|
|
6968
6969
|
readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
|
|
6969
6970
|
readonly "assignees"?: ReadonlyArray<Union_57 | "me" | "none">;
|
|
6970
6971
|
readonly "workLineIds"?: ReadonlyArray<"none" | string>;
|
|
6972
|
+
readonly "parentIds"?: ReadonlyArray<string | "none">;
|
|
6971
6973
|
readonly "priorities"?: ReadonlyArray<"urgent" | "high" | "medium" | "low" | "none">;
|
|
6972
6974
|
readonly "labelIds"?: ReadonlyArray<string>;
|
|
6973
6975
|
readonly "archived"?: "exclude" | "include" | "only";
|
|
@@ -7146,6 +7148,10 @@ export type WorkHistoryListOutput = {
|
|
|
7146
7148
|
readonly "field": "workLine";
|
|
7147
7149
|
readonly "old": string | null;
|
|
7148
7150
|
readonly "new": string | null;
|
|
7151
|
+
} | {
|
|
7152
|
+
readonly "field": "parent";
|
|
7153
|
+
readonly "old": string | null;
|
|
7154
|
+
readonly "new": string | null;
|
|
7149
7155
|
} | {
|
|
7150
7156
|
readonly "field": "name";
|
|
7151
7157
|
readonly "old": string | null;
|
|
@@ -7210,6 +7216,7 @@ export type WorkItemsCreateInput = {
|
|
|
7210
7216
|
readonly "stateId"?: string;
|
|
7211
7217
|
readonly "assignees"?: ReadonlyArray<Union_57>;
|
|
7212
7218
|
readonly "workLineId"?: string;
|
|
7219
|
+
readonly "parentId"?: string;
|
|
7213
7220
|
readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none";
|
|
7214
7221
|
readonly "labelIds"?: ReadonlyArray<string>;
|
|
7215
7222
|
};
|
|
@@ -7233,6 +7240,7 @@ export type WorkItemsUpdateInput = {
|
|
|
7233
7240
|
readonly "stateId"?: string;
|
|
7234
7241
|
readonly "assignees"?: ReadonlyArray<Union_57>;
|
|
7235
7242
|
readonly "workLineId"?: string | null;
|
|
7243
|
+
readonly "parentId"?: string | null;
|
|
7236
7244
|
readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none";
|
|
7237
7245
|
readonly "labelIds"?: ReadonlyArray<string>;
|
|
7238
7246
|
};
|
|
@@ -8559,6 +8567,104 @@ export type CommunicationPostsMarkReadOutput = {
|
|
|
8559
8567
|
readonly "result": CommunicationPostMarkReadResult;
|
|
8560
8568
|
readonly "replayed"?: boolean;
|
|
8561
8569
|
};
|
|
8570
|
+
export type MembersExternalWakesClaimInput = {
|
|
8571
|
+
readonly "requestId"?: string;
|
|
8572
|
+
};
|
|
8573
|
+
export type MembersExternalWakesClaimOutput = {
|
|
8574
|
+
readonly "claimed": {
|
|
8575
|
+
readonly "intentId": string;
|
|
8576
|
+
readonly "projectId": string;
|
|
8577
|
+
readonly "seatId": string;
|
|
8578
|
+
readonly "pendingBatchId": string;
|
|
8579
|
+
readonly "attemptId": string;
|
|
8580
|
+
readonly "attemptNumber": number;
|
|
8581
|
+
readonly "binding": {
|
|
8582
|
+
readonly "connectorPluginId": string;
|
|
8583
|
+
readonly "platformAgentRef": string;
|
|
8584
|
+
readonly "bindingGeneration": number;
|
|
8585
|
+
};
|
|
8586
|
+
} | null;
|
|
8587
|
+
readonly "withheld"?: {
|
|
8588
|
+
readonly "intentId": string;
|
|
8589
|
+
readonly "attemptId": string;
|
|
8590
|
+
readonly "outcome": "accepted" | "rejected" | "unknown" | null;
|
|
8591
|
+
readonly "bindingGeneration": number;
|
|
8592
|
+
readonly "reason": "already-handed-out";
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
8595
|
+
export type MembersExternalWakesReportInput = {
|
|
8596
|
+
readonly "attemptId": string;
|
|
8597
|
+
readonly "requestId"?: string;
|
|
8598
|
+
readonly "outcome": "accepted";
|
|
8599
|
+
} | {
|
|
8600
|
+
readonly "attemptId": string;
|
|
8601
|
+
readonly "requestId"?: string;
|
|
8602
|
+
readonly "outcome": "unknown";
|
|
8603
|
+
} | {
|
|
8604
|
+
readonly "attemptId": string;
|
|
8605
|
+
readonly "requestId"?: string;
|
|
8606
|
+
readonly "outcome": "rejected";
|
|
8607
|
+
readonly "retryable": boolean;
|
|
8608
|
+
};
|
|
8609
|
+
export type MembersExternalWakesReportOutput = {
|
|
8610
|
+
readonly "attemptId": string;
|
|
8611
|
+
readonly "intentId": string;
|
|
8612
|
+
readonly "outcome": "accepted" | "rejected" | "unknown";
|
|
8613
|
+
readonly "retryable": boolean | null;
|
|
8614
|
+
};
|
|
8615
|
+
export type MembersExternalWakesListInput = {
|
|
8616
|
+
readonly "projectId": string;
|
|
8617
|
+
readonly "cursor"?: string | null;
|
|
8618
|
+
readonly "limit"?: number;
|
|
8619
|
+
readonly "unreported"?: boolean;
|
|
8620
|
+
};
|
|
8621
|
+
export type MembersExternalWakesListOutput = {
|
|
8622
|
+
readonly "items": ReadonlyArray<{
|
|
8623
|
+
readonly "intentId": string;
|
|
8624
|
+
readonly "projectId": string;
|
|
8625
|
+
readonly "seatId": string;
|
|
8626
|
+
readonly "pendingBatchId": string;
|
|
8627
|
+
readonly "bindingGeneration": number;
|
|
8628
|
+
readonly "connectorPluginId"?: string;
|
|
8629
|
+
readonly "platformAgentRef"?: string;
|
|
8630
|
+
readonly "createdAt": string;
|
|
8631
|
+
readonly "attemptCount": number;
|
|
8632
|
+
readonly "openAttemptId": string | null;
|
|
8633
|
+
readonly "latestOutcome": "accepted" | "rejected" | "unknown" | null;
|
|
8634
|
+
readonly "latestRetryable": boolean | null;
|
|
8635
|
+
}>;
|
|
8636
|
+
readonly "nextCursor": string | null;
|
|
8637
|
+
readonly "snapshotSequence": number;
|
|
8638
|
+
};
|
|
8639
|
+
export type MembersExternalWakesGetInput = {
|
|
8640
|
+
readonly "projectId": string;
|
|
8641
|
+
readonly "intentId": string;
|
|
8642
|
+
};
|
|
8643
|
+
export type MembersExternalWakesGetOutput = {
|
|
8644
|
+
readonly "intentId": string;
|
|
8645
|
+
readonly "projectId": string;
|
|
8646
|
+
readonly "seatId": string;
|
|
8647
|
+
readonly "pendingBatchId": string;
|
|
8648
|
+
readonly "bindingGeneration": number;
|
|
8649
|
+
readonly "connectorPluginId"?: string;
|
|
8650
|
+
readonly "platformAgentRef"?: string;
|
|
8651
|
+
readonly "createdAt": string;
|
|
8652
|
+
readonly "attemptCount": number;
|
|
8653
|
+
readonly "openAttemptId": string | null;
|
|
8654
|
+
readonly "latestOutcome": "accepted" | "rejected" | "unknown" | null;
|
|
8655
|
+
readonly "latestRetryable": boolean | null;
|
|
8656
|
+
readonly "attempts": ReadonlyArray<{
|
|
8657
|
+
readonly "attemptId": string;
|
|
8658
|
+
readonly "attemptNumber": number;
|
|
8659
|
+
readonly "connectorPluginId"?: string;
|
|
8660
|
+
readonly "platformAgentRef"?: string;
|
|
8661
|
+
readonly "bindingGeneration": number;
|
|
8662
|
+
readonly "outcome": "accepted" | "rejected" | "unknown" | null;
|
|
8663
|
+
readonly "retryable": boolean | null;
|
|
8664
|
+
readonly "createdAt": string;
|
|
8665
|
+
readonly "reportedAt": string | null;
|
|
8666
|
+
}>;
|
|
8667
|
+
};
|
|
8562
8668
|
export type ProjectsMachinesListEncodedOutput = {
|
|
8563
8669
|
readonly "accountDiscovery"?: AccountMachineDiscoveryStatus;
|
|
8564
8670
|
readonly "items": ReadonlyArray<{
|
|
@@ -9339,6 +9445,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
|
|
|
9339
9445
|
readonly "projectMultiFolder"?: boolean;
|
|
9340
9446
|
readonly "workLines"?: boolean;
|
|
9341
9447
|
readonly "workBoard"?: boolean;
|
|
9448
|
+
readonly "workParents"?: boolean;
|
|
9342
9449
|
readonly "projectConfig"?: boolean;
|
|
9343
9450
|
readonly "groupMessages"?: boolean;
|
|
9344
9451
|
readonly "machineTasks"?: boolean;
|
|
@@ -10309,6 +10416,12 @@ export interface PluginDataPorts {
|
|
|
10309
10416
|
readonly list: (input: MembersRuntimeListInput) => Promise<MembersRuntimeListOutput>;
|
|
10310
10417
|
readonly subscribe: (input: MembersRuntimeSubscribeInput, emit: (frame: MembersRuntimeSubscribeOutput) => void | Promise<void>, signal: AbortSignal) => Promise<void>;
|
|
10311
10418
|
};
|
|
10419
|
+
readonly externalWakes: {
|
|
10420
|
+
readonly claim: (input: MembersExternalWakesClaimInput) => Promise<MembersExternalWakesClaimOutput>;
|
|
10421
|
+
readonly report: (input: MembersExternalWakesReportInput) => Promise<MembersExternalWakesReportOutput>;
|
|
10422
|
+
readonly list: (input: MembersExternalWakesListInput) => Promise<MembersExternalWakesListOutput>;
|
|
10423
|
+
readonly get: (input: MembersExternalWakesGetInput) => Promise<MembersExternalWakesGetOutput>;
|
|
10424
|
+
};
|
|
10312
10425
|
};
|
|
10313
10426
|
}
|
|
10314
10427
|
/** 以人的身份写的端口(`invocation.asPerson`):只有登记表代人写白名单里的几条,形状与上面同名成员相同。 */
|
|
@@ -10867,6 +10980,14 @@ export interface PluginUiDataReads {
|
|
|
10867
10980
|
readonly input: CommunicationPostsListInput;
|
|
10868
10981
|
readonly output: CommunicationPostsListOutput;
|
|
10869
10982
|
};
|
|
10983
|
+
readonly "members.externalWakes.list": {
|
|
10984
|
+
readonly input: MembersExternalWakesListInput;
|
|
10985
|
+
readonly output: MembersExternalWakesListOutput;
|
|
10986
|
+
};
|
|
10987
|
+
readonly "members.externalWakes.get": {
|
|
10988
|
+
readonly input: MembersExternalWakesGetInput;
|
|
10989
|
+
readonly output: MembersExternalWakesGetOutput;
|
|
10990
|
+
};
|
|
10870
10991
|
}
|
|
10871
10992
|
export type PluginUiDataReadId = keyof PluginUiDataReads;
|
|
10872
10993
|
export {};
|