@ycodium-ai/plugin-api 0.2.4250 → 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 +9 -1
- package/dist/conversationDerive.d.ts +2 -0
- package/dist/conversationDerive.d.ts.map +1 -1
- package/dist/dataPorts.gen.d.ts +89 -22
- 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 +2 -2
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -408,7 +408,15 @@ 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 **
|
|
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.
|
|
414
|
+
|
|
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.
|
|
416
|
+
|
|
417
|
+
API 105 Communication records gain optional childReport (kind and optional requestId): a child session's end, failure, stop, approval or question report is a record from the child to its parent. Parsed system notifications gain optional recordId; a block with one is drawn by the host from the record.
|
|
418
|
+
|
|
419
|
+
API 104 Communication exposes persistent reciprocal wake counts through communication.wakeLoops.list. Agent sessions on the same machine pause automatic wake-ups after eight exchanges; only a person can resume them.
|
|
412
420
|
|
|
413
421
|
API 103 adds host-rendered MachineName, ProjectName, ProviderName and ThreadName primitives to bridge.ui, with matching optional plain-text hooks on the bridge. Tool presentations can carry a structured entity reference instead of a raw id summary. Trajectory rows optionally carry only entity ids and machine scope from builtin tool arguments, plus child-thread references so the conversation plugin can render the same names and icons.
|
|
414
422
|
|
|
@@ -58,6 +58,8 @@ export interface ConversationParsedSystemNotification {
|
|
|
58
58
|
readonly summary: string;
|
|
59
59
|
/** 缺席时 summary 是旧通知原文,不能猜结论;有值时只翻译结论,summary 保留原文。 */
|
|
60
60
|
readonly resolution?: ThreadNotificationData["resolution"];
|
|
61
|
+
/** 子会话回报落成的通信记录号:宿主按记录在时间线上画卡片,插件不再画这一块。旧通知缺席。 */
|
|
62
|
+
readonly recordId?: string;
|
|
61
63
|
}
|
|
62
64
|
/** `parseThreadHandoverText` 的结果(宿主 `ParsedThreadHandover` 的子集)。 */
|
|
63
65
|
export interface ConversationParsedThreadHandover {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationDerive.d.ts","sourceRoot":"","sources":["../src/conversationDerive.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,EAAE,SAAS,0BAA0B,EAAE,CAAC;IAC3D,QAAQ,CAAC,eAAe,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/D,QAAQ,CAAC,UAAU,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACnD,yCAAyC;IACzC,QAAQ,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAC,QA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AAsB,CAAC,KAAK,EAAE,qBAAqB,GAAG,kCAAkC,CAAC;IACzF,+CAA+C;IAC/C,kBAAkB,CAAC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GAAG,4BAA4B,CAAC;IAC5F,0BAA0B;IAC1B,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,2BAA2B,CAAC;IAC3E,8BAA8B;IAC9B,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;IACrE,oCAAoC;IACpC,qBAAqB,CACnB,KAAK,EAAE,OAAO,GACb;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/F,2CAA2C;IAC3C,0BAA0B,CACxB,OAAO,EAAE,SAAS,yBAAyB,EAAE,EAC7C,SAAS,EAAE,MAAM,GAAG,IAAI,GACvB,OAAO,CAAC;CACZ"}
|
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -214,6 +214,10 @@ type Objects_31 = {
|
|
|
214
214
|
type Objects_32 = {
|
|
215
215
|
readonly "_tag": "synchronized";
|
|
216
216
|
};
|
|
217
|
+
type ChildQuestionRequest = {
|
|
218
|
+
readonly "activityKind": "user-input.requested" | "question.requested";
|
|
219
|
+
readonly "questionIds": ReadonlyArray<string>;
|
|
220
|
+
};
|
|
217
221
|
type Union_17 = {
|
|
218
222
|
readonly "kind": "steer" | "interrupt";
|
|
219
223
|
readonly "turnId": string;
|
|
@@ -406,6 +410,10 @@ type Objects_61 = {
|
|
|
406
410
|
readonly "workItemId": string;
|
|
407
411
|
readonly "commentId"?: string;
|
|
408
412
|
};
|
|
413
|
+
type CommunicationChildReport = {
|
|
414
|
+
readonly "kind": "child.settled" | "child.failed" | "child.stopped" | "child.approval" | "child.question";
|
|
415
|
+
readonly "requestId"?: string;
|
|
416
|
+
};
|
|
409
417
|
type Union_33 = {
|
|
410
418
|
readonly "kind": "account";
|
|
411
419
|
readonly "userId": string;
|
|
@@ -1914,6 +1922,7 @@ type Objects_62 = {
|
|
|
1914
1922
|
readonly "mentions"?: Arrays_9;
|
|
1915
1923
|
readonly "targets"?: Arrays_10;
|
|
1916
1924
|
readonly "workItem"?: Objects_61;
|
|
1925
|
+
readonly "childReport"?: CommunicationChildReport;
|
|
1917
1926
|
readonly "textPreview": string | null;
|
|
1918
1927
|
readonly "textTruncated": boolean;
|
|
1919
1928
|
}>;
|
|
@@ -2248,6 +2257,7 @@ type Objects_192 = {
|
|
|
2248
2257
|
readonly "deliveredFileCount"?: number | undefined;
|
|
2249
2258
|
readonly "latestDeliveryAt"?: string | null | undefined;
|
|
2250
2259
|
readonly "hasPendingApprovals": boolean;
|
|
2260
|
+
readonly "pendingDecisionActivityId"?: string | undefined;
|
|
2251
2261
|
readonly "hasPendingUserInput": boolean;
|
|
2252
2262
|
readonly "askRoute"?: Union_67;
|
|
2253
2263
|
readonly "hasActionableProposedPlan": boolean;
|
|
@@ -2309,6 +2319,7 @@ type Objects_16 = {
|
|
|
2309
2319
|
readonly "deliveredFileCount"?: number | undefined;
|
|
2310
2320
|
readonly "latestDeliveryAt"?: string | null | undefined;
|
|
2311
2321
|
readonly "hasPendingApprovals": boolean;
|
|
2322
|
+
readonly "pendingDecisionActivityId"?: string | undefined;
|
|
2312
2323
|
readonly "hasPendingUserInput": boolean;
|
|
2313
2324
|
readonly "askRoute"?: Union_15;
|
|
2314
2325
|
readonly "hasActionableProposedPlan": boolean;
|
|
@@ -2364,6 +2375,7 @@ type Objects_34 = {
|
|
|
2364
2375
|
readonly "deliveredFileCount"?: number | undefined;
|
|
2365
2376
|
readonly "latestDeliveryAt"?: string | null | undefined;
|
|
2366
2377
|
readonly "hasPendingApprovals": boolean;
|
|
2378
|
+
readonly "pendingDecisionActivityId"?: string | undefined;
|
|
2367
2379
|
readonly "hasPendingUserInput": boolean;
|
|
2368
2380
|
readonly "askRoute"?: Union_15;
|
|
2369
2381
|
readonly "hasActionableProposedPlan": boolean;
|
|
@@ -2488,6 +2500,26 @@ type Objects_203 = {
|
|
|
2488
2500
|
readonly "actions"?: ReadonlyArray<string>;
|
|
2489
2501
|
readonly "children": ReadonlyArray<Objects_203>;
|
|
2490
2502
|
};
|
|
2503
|
+
export type CommunicationWakeLoopsListInput = {
|
|
2504
|
+
readonly "threadId": string;
|
|
2505
|
+
};
|
|
2506
|
+
export type CommunicationWakeLoopsListOutput = ReadonlyArray<{
|
|
2507
|
+
readonly "threadId": string;
|
|
2508
|
+
readonly "peerThreadId": string;
|
|
2509
|
+
readonly "halfTrips": number;
|
|
2510
|
+
readonly "lastSender": string | null;
|
|
2511
|
+
readonly "updatedAt": string;
|
|
2512
|
+
}>;
|
|
2513
|
+
export type CommunicationWakeLoopsResumeInput = {
|
|
2514
|
+
readonly "threadId": string;
|
|
2515
|
+
readonly "peerThreadId": string;
|
|
2516
|
+
readonly "requestId"?: string;
|
|
2517
|
+
};
|
|
2518
|
+
export type CommunicationWakeLoopsResumeOutput = {
|
|
2519
|
+
readonly "sequence": number;
|
|
2520
|
+
readonly "result": {};
|
|
2521
|
+
readonly "replayed"?: boolean;
|
|
2522
|
+
};
|
|
2491
2523
|
export type MachineSettingsBrowserRuntimeGetInput = Objects_;
|
|
2492
2524
|
export type MachineSettingsBrowserRuntimeGetOutput = Union_;
|
|
2493
2525
|
export type MachineSettingsBrowserRuntimeSubscribeInput = Objects_;
|
|
@@ -3147,7 +3179,9 @@ export type ThreadsHistoryOutput = {
|
|
|
3147
3179
|
readonly "childTitle": string;
|
|
3148
3180
|
readonly "summary": string;
|
|
3149
3181
|
readonly "requestId"?: string | undefined;
|
|
3182
|
+
readonly "questionRequest"?: ChildQuestionRequest;
|
|
3150
3183
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
3184
|
+
readonly "recordId"?: string | undefined;
|
|
3151
3185
|
};
|
|
3152
3186
|
readonly "queuedAt": string;
|
|
3153
3187
|
}> | undefined;
|
|
@@ -4040,6 +4074,7 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
|
|
|
4040
4074
|
readonly "mentions"?: Arrays_9;
|
|
4041
4075
|
readonly "targets"?: Arrays_10;
|
|
4042
4076
|
readonly "workItem"?: Objects_61;
|
|
4077
|
+
readonly "childReport"?: CommunicationChildReport;
|
|
4043
4078
|
}>;
|
|
4044
4079
|
export type CommunicationRecordsListInput = {
|
|
4045
4080
|
readonly "projectId": string;
|
|
@@ -4125,7 +4160,7 @@ export type CommunicationRecordsSendOutput = {
|
|
|
4125
4160
|
readonly "recordId": string;
|
|
4126
4161
|
readonly "recordSequence": number | null;
|
|
4127
4162
|
readonly "recipientWarnings"?: ReadonlyArray<{
|
|
4128
|
-
readonly "code": "recipient-read-only" | "recipient-continued" | "recipient-not-running" | "recipient-queue-paused" | "recipient-queue-resumed";
|
|
4163
|
+
readonly "code": "recipient-read-only" | "recipient-continued" | "recipient-not-running" | "recipient-queue-paused" | "recipient-queue-resumed" | "recipient-unanswered-questions";
|
|
4129
4164
|
readonly "detail": string;
|
|
4130
4165
|
readonly "threadId"?: string;
|
|
4131
4166
|
}>;
|
|
@@ -4201,6 +4236,27 @@ export type ApprovalsPendingListInput = {
|
|
|
4201
4236
|
};
|
|
4202
4237
|
export type ApprovalsPendingListOutput = ReadonlyArray<{
|
|
4203
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;
|
|
4204
4260
|
readonly "requestKind": "command" | "file-read" | "file-change" | "web-fetch" | "web-search" | "skill" | "mcp-tool" | "mcp-elicitation" | "tool";
|
|
4205
4261
|
readonly "createdAt": string;
|
|
4206
4262
|
readonly "summary"?: string | undefined;
|
|
@@ -7511,6 +7567,7 @@ export type ThreadsListEncodedOutput = {
|
|
|
7511
7567
|
readonly "deliveredFileCount"?: number | undefined;
|
|
7512
7568
|
readonly "latestDeliveryAt"?: string | null | undefined;
|
|
7513
7569
|
readonly "hasPendingApprovals": boolean;
|
|
7570
|
+
readonly "pendingDecisionActivityId"?: string | undefined;
|
|
7514
7571
|
readonly "hasPendingUserInput": boolean;
|
|
7515
7572
|
readonly "askRoute"?: Union_67;
|
|
7516
7573
|
readonly "hasActionableProposedPlan": boolean;
|
|
@@ -7580,7 +7637,9 @@ export type ThreadsHistoryEncodedOutput = {
|
|
|
7580
7637
|
readonly "childTitle": string;
|
|
7581
7638
|
readonly "summary": string;
|
|
7582
7639
|
readonly "requestId"?: string | undefined;
|
|
7640
|
+
readonly "questionRequest"?: ChildQuestionRequest;
|
|
7583
7641
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
7642
|
+
readonly "recordId"?: string | undefined;
|
|
7584
7643
|
};
|
|
7585
7644
|
readonly "queuedAt": string;
|
|
7586
7645
|
}> | undefined;
|
|
@@ -8578,6 +8637,31 @@ export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
|
|
|
8578
8637
|
* 流受 AbortSignal 与插件挂载寿命共同约束。准入照能力登记:要声明的没声明即拒 `undeclared`。
|
|
8579
8638
|
*/
|
|
8580
8639
|
export interface PluginDataPorts {
|
|
8640
|
+
readonly communication: {
|
|
8641
|
+
readonly wakeLoops: {
|
|
8642
|
+
readonly list: (input: CommunicationWakeLoopsListInput) => Promise<CommunicationWakeLoopsListOutput>;
|
|
8643
|
+
readonly resume: (input: CommunicationWakeLoopsResumeInput) => Promise<CommunicationWakeLoopsResumeOutput>;
|
|
8644
|
+
};
|
|
8645
|
+
readonly records: {
|
|
8646
|
+
readonly get: (input: CommunicationRecordsGetInput) => Promise<CommunicationRecordsGetOutput>;
|
|
8647
|
+
readonly list: (input: CommunicationRecordsListInput) => Promise<CommunicationRecordsListOutput>;
|
|
8648
|
+
readonly send: (input: CommunicationRecordsSendInput) => Promise<CommunicationRecordsSendOutput>;
|
|
8649
|
+
readonly withdraw: (input: CommunicationRecordsWithdrawInput) => Promise<CommunicationRecordsWithdrawOutput>;
|
|
8650
|
+
readonly delete: (input: CommunicationRecordsDeleteInput) => Promise<CommunicationRecordsDeleteOutput>;
|
|
8651
|
+
readonly notify: (input: CommunicationRecordsNotifyInput) => Promise<CommunicationRecordsNotifyOutput>;
|
|
8652
|
+
};
|
|
8653
|
+
readonly inbox: {
|
|
8654
|
+
readonly list: (input: CommunicationInboxListInput) => Promise<CommunicationInboxListOutput>;
|
|
8655
|
+
};
|
|
8656
|
+
readonly people: {
|
|
8657
|
+
readonly list: (input: CommunicationPeopleListInput) => Promise<CommunicationPeopleListOutput>;
|
|
8658
|
+
readonly current: (input: CommunicationPeopleCurrentInput) => Promise<CommunicationPeopleCurrentOutput>;
|
|
8659
|
+
};
|
|
8660
|
+
readonly deliveries: {
|
|
8661
|
+
readonly bind: (input: CommunicationDeliveriesBindInput) => Promise<CommunicationDeliveriesBindOutput>;
|
|
8662
|
+
readonly listUnbound: (input: CommunicationDeliveriesListUnboundInput) => Promise<CommunicationDeliveriesListUnboundOutput>;
|
|
8663
|
+
};
|
|
8664
|
+
};
|
|
8581
8665
|
readonly machineSettings: {
|
|
8582
8666
|
readonly browser: {
|
|
8583
8667
|
readonly runtime: {
|
|
@@ -8855,27 +8939,6 @@ export interface PluginDataPorts {
|
|
|
8855
8939
|
readonly commands: {
|
|
8856
8940
|
readonly getReceipt: (input: ThreadsCommandReceiptsGetInput) => Promise<ThreadsCommandReceiptsGetOutput>;
|
|
8857
8941
|
};
|
|
8858
|
-
readonly communication: {
|
|
8859
|
-
readonly records: {
|
|
8860
|
-
readonly get: (input: CommunicationRecordsGetInput) => Promise<CommunicationRecordsGetOutput>;
|
|
8861
|
-
readonly list: (input: CommunicationRecordsListInput) => Promise<CommunicationRecordsListOutput>;
|
|
8862
|
-
readonly send: (input: CommunicationRecordsSendInput) => Promise<CommunicationRecordsSendOutput>;
|
|
8863
|
-
readonly withdraw: (input: CommunicationRecordsWithdrawInput) => Promise<CommunicationRecordsWithdrawOutput>;
|
|
8864
|
-
readonly delete: (input: CommunicationRecordsDeleteInput) => Promise<CommunicationRecordsDeleteOutput>;
|
|
8865
|
-
readonly notify: (input: CommunicationRecordsNotifyInput) => Promise<CommunicationRecordsNotifyOutput>;
|
|
8866
|
-
};
|
|
8867
|
-
readonly inbox: {
|
|
8868
|
-
readonly list: (input: CommunicationInboxListInput) => Promise<CommunicationInboxListOutput>;
|
|
8869
|
-
};
|
|
8870
|
-
readonly people: {
|
|
8871
|
-
readonly list: (input: CommunicationPeopleListInput) => Promise<CommunicationPeopleListOutput>;
|
|
8872
|
-
readonly current: (input: CommunicationPeopleCurrentInput) => Promise<CommunicationPeopleCurrentOutput>;
|
|
8873
|
-
};
|
|
8874
|
-
readonly deliveries: {
|
|
8875
|
-
readonly bind: (input: CommunicationDeliveriesBindInput) => Promise<CommunicationDeliveriesBindOutput>;
|
|
8876
|
-
readonly listUnbound: (input: CommunicationDeliveriesListUnboundInput) => Promise<CommunicationDeliveriesListUnboundOutput>;
|
|
8877
|
-
};
|
|
8878
|
-
};
|
|
8879
8942
|
readonly approvals: {
|
|
8880
8943
|
readonly pending: {
|
|
8881
8944
|
readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
|
|
@@ -9160,6 +9223,10 @@ export interface PluginAsCallerPorts {
|
|
|
9160
9223
|
}
|
|
9161
9224
|
/** 插件 UI 可读的登记能力:输入与输出均为公共契约的编码侧。 */
|
|
9162
9225
|
export interface PluginUiDataReads {
|
|
9226
|
+
readonly "communication.wakeLoops.list": {
|
|
9227
|
+
readonly input: CommunicationWakeLoopsListInput;
|
|
9228
|
+
readonly output: CommunicationWakeLoopsListOutput;
|
|
9229
|
+
};
|
|
9163
9230
|
readonly "machineSettings.browser.runtime.get": {
|
|
9164
9231
|
readonly input: MachineSettingsBrowserRuntimeGetInput;
|
|
9165
9232
|
readonly output: MachineSettingsBrowserRuntimeGetOutput;
|