@ycodium-ai/plugin-api 0.2.4250 → 0.2.4256
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 +7 -1
- package/dist/conversationDerive.d.ts +2 -0
- package/dist/conversationDerive.d.ts.map +1 -1
- package/dist/dataPorts.gen.d.ts +64 -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,13 @@ 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 **106**. This Ycodium loads plugins declaring 96 through 106.
|
|
412
|
+
|
|
413
|
+
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
|
+
|
|
415
|
+
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.
|
|
416
|
+
|
|
417
|
+
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
418
|
|
|
413
419
|
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
420
|
|
|
@@ -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,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAC;IACzE,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC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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
|
}>;
|
|
@@ -2488,6 +2497,26 @@ type Objects_203 = {
|
|
|
2488
2497
|
readonly "actions"?: ReadonlyArray<string>;
|
|
2489
2498
|
readonly "children": ReadonlyArray<Objects_203>;
|
|
2490
2499
|
};
|
|
2500
|
+
export type CommunicationWakeLoopsListInput = {
|
|
2501
|
+
readonly "threadId": string;
|
|
2502
|
+
};
|
|
2503
|
+
export type CommunicationWakeLoopsListOutput = ReadonlyArray<{
|
|
2504
|
+
readonly "threadId": string;
|
|
2505
|
+
readonly "peerThreadId": string;
|
|
2506
|
+
readonly "halfTrips": number;
|
|
2507
|
+
readonly "lastSender": string | null;
|
|
2508
|
+
readonly "updatedAt": string;
|
|
2509
|
+
}>;
|
|
2510
|
+
export type CommunicationWakeLoopsResumeInput = {
|
|
2511
|
+
readonly "threadId": string;
|
|
2512
|
+
readonly "peerThreadId": string;
|
|
2513
|
+
readonly "requestId"?: string;
|
|
2514
|
+
};
|
|
2515
|
+
export type CommunicationWakeLoopsResumeOutput = {
|
|
2516
|
+
readonly "sequence": number;
|
|
2517
|
+
readonly "result": {};
|
|
2518
|
+
readonly "replayed"?: boolean;
|
|
2519
|
+
};
|
|
2491
2520
|
export type MachineSettingsBrowserRuntimeGetInput = Objects_;
|
|
2492
2521
|
export type MachineSettingsBrowserRuntimeGetOutput = Union_;
|
|
2493
2522
|
export type MachineSettingsBrowserRuntimeSubscribeInput = Objects_;
|
|
@@ -3147,7 +3176,9 @@ export type ThreadsHistoryOutput = {
|
|
|
3147
3176
|
readonly "childTitle": string;
|
|
3148
3177
|
readonly "summary": string;
|
|
3149
3178
|
readonly "requestId"?: string | undefined;
|
|
3179
|
+
readonly "questionRequest"?: ChildQuestionRequest;
|
|
3150
3180
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
3181
|
+
readonly "recordId"?: string | undefined;
|
|
3151
3182
|
};
|
|
3152
3183
|
readonly "queuedAt": string;
|
|
3153
3184
|
}> | undefined;
|
|
@@ -4040,6 +4071,7 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
|
|
|
4040
4071
|
readonly "mentions"?: Arrays_9;
|
|
4041
4072
|
readonly "targets"?: Arrays_10;
|
|
4042
4073
|
readonly "workItem"?: Objects_61;
|
|
4074
|
+
readonly "childReport"?: CommunicationChildReport;
|
|
4043
4075
|
}>;
|
|
4044
4076
|
export type CommunicationRecordsListInput = {
|
|
4045
4077
|
readonly "projectId": string;
|
|
@@ -4125,7 +4157,7 @@ export type CommunicationRecordsSendOutput = {
|
|
|
4125
4157
|
readonly "recordId": string;
|
|
4126
4158
|
readonly "recordSequence": number | null;
|
|
4127
4159
|
readonly "recipientWarnings"?: ReadonlyArray<{
|
|
4128
|
-
readonly "code": "recipient-read-only" | "recipient-continued" | "recipient-not-running" | "recipient-queue-paused" | "recipient-queue-resumed";
|
|
4160
|
+
readonly "code": "recipient-read-only" | "recipient-continued" | "recipient-not-running" | "recipient-queue-paused" | "recipient-queue-resumed" | "recipient-unanswered-questions";
|
|
4129
4161
|
readonly "detail": string;
|
|
4130
4162
|
readonly "threadId"?: string;
|
|
4131
4163
|
}>;
|
|
@@ -7580,7 +7612,9 @@ export type ThreadsHistoryEncodedOutput = {
|
|
|
7580
7612
|
readonly "childTitle": string;
|
|
7581
7613
|
readonly "summary": string;
|
|
7582
7614
|
readonly "requestId"?: string | undefined;
|
|
7615
|
+
readonly "questionRequest"?: ChildQuestionRequest;
|
|
7583
7616
|
readonly "resolution"?: "approved" | "denied" | "handled" | "answered" | "dismissed" | undefined;
|
|
7617
|
+
readonly "recordId"?: string | undefined;
|
|
7584
7618
|
};
|
|
7585
7619
|
readonly "queuedAt": string;
|
|
7586
7620
|
}> | undefined;
|
|
@@ -8578,6 +8612,31 @@ export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
|
|
|
8578
8612
|
* 流受 AbortSignal 与插件挂载寿命共同约束。准入照能力登记:要声明的没声明即拒 `undeclared`。
|
|
8579
8613
|
*/
|
|
8580
8614
|
export interface PluginDataPorts {
|
|
8615
|
+
readonly communication: {
|
|
8616
|
+
readonly wakeLoops: {
|
|
8617
|
+
readonly list: (input: CommunicationWakeLoopsListInput) => Promise<CommunicationWakeLoopsListOutput>;
|
|
8618
|
+
readonly resume: (input: CommunicationWakeLoopsResumeInput) => Promise<CommunicationWakeLoopsResumeOutput>;
|
|
8619
|
+
};
|
|
8620
|
+
readonly records: {
|
|
8621
|
+
readonly get: (input: CommunicationRecordsGetInput) => Promise<CommunicationRecordsGetOutput>;
|
|
8622
|
+
readonly list: (input: CommunicationRecordsListInput) => Promise<CommunicationRecordsListOutput>;
|
|
8623
|
+
readonly send: (input: CommunicationRecordsSendInput) => Promise<CommunicationRecordsSendOutput>;
|
|
8624
|
+
readonly withdraw: (input: CommunicationRecordsWithdrawInput) => Promise<CommunicationRecordsWithdrawOutput>;
|
|
8625
|
+
readonly delete: (input: CommunicationRecordsDeleteInput) => Promise<CommunicationRecordsDeleteOutput>;
|
|
8626
|
+
readonly notify: (input: CommunicationRecordsNotifyInput) => Promise<CommunicationRecordsNotifyOutput>;
|
|
8627
|
+
};
|
|
8628
|
+
readonly inbox: {
|
|
8629
|
+
readonly list: (input: CommunicationInboxListInput) => Promise<CommunicationInboxListOutput>;
|
|
8630
|
+
};
|
|
8631
|
+
readonly people: {
|
|
8632
|
+
readonly list: (input: CommunicationPeopleListInput) => Promise<CommunicationPeopleListOutput>;
|
|
8633
|
+
readonly current: (input: CommunicationPeopleCurrentInput) => Promise<CommunicationPeopleCurrentOutput>;
|
|
8634
|
+
};
|
|
8635
|
+
readonly deliveries: {
|
|
8636
|
+
readonly bind: (input: CommunicationDeliveriesBindInput) => Promise<CommunicationDeliveriesBindOutput>;
|
|
8637
|
+
readonly listUnbound: (input: CommunicationDeliveriesListUnboundInput) => Promise<CommunicationDeliveriesListUnboundOutput>;
|
|
8638
|
+
};
|
|
8639
|
+
};
|
|
8581
8640
|
readonly machineSettings: {
|
|
8582
8641
|
readonly browser: {
|
|
8583
8642
|
readonly runtime: {
|
|
@@ -8855,27 +8914,6 @@ export interface PluginDataPorts {
|
|
|
8855
8914
|
readonly commands: {
|
|
8856
8915
|
readonly getReceipt: (input: ThreadsCommandReceiptsGetInput) => Promise<ThreadsCommandReceiptsGetOutput>;
|
|
8857
8916
|
};
|
|
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
8917
|
readonly approvals: {
|
|
8880
8918
|
readonly pending: {
|
|
8881
8919
|
readonly list: (input: ApprovalsPendingListInput) => Promise<ApprovalsPendingListOutput>;
|
|
@@ -9160,6 +9198,10 @@ export interface PluginAsCallerPorts {
|
|
|
9160
9198
|
}
|
|
9161
9199
|
/** 插件 UI 可读的登记能力:输入与输出均为公共契约的编码侧。 */
|
|
9162
9200
|
export interface PluginUiDataReads {
|
|
9201
|
+
readonly "communication.wakeLoops.list": {
|
|
9202
|
+
readonly input: CommunicationWakeLoopsListInput;
|
|
9203
|
+
readonly output: CommunicationWakeLoopsListOutput;
|
|
9204
|
+
};
|
|
9163
9205
|
readonly "machineSettings.browser.runtime.get": {
|
|
9164
9206
|
readonly input: MachineSettingsBrowserRuntimeGetInput;
|
|
9165
9207
|
readonly output: MachineSettingsBrowserRuntimeGetOutput;
|