@ycodium-ai/plugin-api 0.2.2922 → 0.2.2926
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/dist/index.d.ts
CHANGED
|
@@ -1015,8 +1015,8 @@ export interface PluginCommands {
|
|
|
1015
1015
|
* `source: "automatic"` 的会被放行,其余被剥掉;用户式的插话与打断走
|
|
1016
1016
|
* `thread.turn-intent.run`。
|
|
1017
1017
|
*
|
|
1018
|
-
* `thread.create`
|
|
1019
|
-
*
|
|
1018
|
+
* `thread.create` 的执行归属由宿主持久保存,按安装条目与插件身份认、不看数据目录在哪:重新挂载或数据
|
|
1019
|
+
* 搬了位置后仍可控制原会话(重放的幂等键仍按安装位置算,搬了位置认不回原收据)。同项目的 continuation 沿来源链继承归属,显式新归属优先;普通
|
|
1020
1020
|
* 委派或分叉不继承。`thread.import` 的临时执行权限不跨挂载;已有历史跟读授权不会
|
|
1021
1021
|
* 因重启或重放导入回执而变成执行权限。停用后的旧实例不可继续派发命令。
|
|
1022
1022
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 会话正文全选之后的复制。宿主在 `[data-select-all-scope]` 上派发这个事件,
|
|
3
|
+
* 会话插件把整段导出写进 `detail.text`。名字只在这里,两边都从本模块导入。
|
|
4
|
+
*
|
|
5
|
+
* @module @ycodium-ai/plugin-api/select-all-copy
|
|
6
|
+
*/
|
|
7
|
+
export declare const SELECT_ALL_COPY_EVENT = "ycodium-select-all-copy";
|
|
8
|
+
export interface SelectAllCopyDetail {
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=selectAllCopy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectAllCopy.d.ts","sourceRoot":"","sources":["../src/selectAllCopy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAE/D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 会话正文全选之后的复制。宿主在 `[data-select-all-scope]` 上派发这个事件,
|
|
3
|
+
* 会话插件把整段导出写进 `detail.text`。名字只在这里,两边都从本模块导入。
|
|
4
|
+
*
|
|
5
|
+
* @module @ycodium-ai/plugin-api/select-all-copy
|
|
6
|
+
*/
|
|
7
|
+
export const SELECT_ALL_COPY_EVENT = "ycodium-select-all-copy";
|
|
8
|
+
//# sourceMappingURL=selectAllCopy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectAllCopy.js","sourceRoot":"","sources":["../src/selectAllCopy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2926",
|
|
4
4
|
"description": "Types and definePlugin for authoring Ycodium plugins. Zero runtime dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium"
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"types": "./dist/conversation.d.ts",
|
|
29
29
|
"import": "./dist/conversation.js"
|
|
30
30
|
},
|
|
31
|
+
"./select-all-copy": {
|
|
32
|
+
"types": "./dist/selectAllCopy.d.ts",
|
|
33
|
+
"import": "./dist/selectAllCopy.js"
|
|
34
|
+
},
|
|
31
35
|
"./tool-display": {
|
|
32
36
|
"types": "./dist/tool-display.d.ts",
|
|
33
37
|
"import": "./dist/tool-display.js"
|