@ycodium-ai/plugin-api 0.2.2924 → 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.
@@ -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.2924",
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"