@vite-plugin-opencode-assistant/components 1.0.53 → 1.0.55
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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/open-code-widget/composables/use-inspector.mjs +20 -14
- package/lib/@vite-plugin-opencode-assistant/components.cjs.js +21 -13
- package/lib/@vite-plugin-opencode-assistant/components.es.js +21 -13
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/open-code-widget/composables/use-inspector.cjs +20 -14
- package/lib/web-types.json +1 -1
- package/package.json +2 -2
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import OpenCodeWidget from './open-code-widget';
|
|
2
2
|
import type { App } from 'vue';
|
|
3
|
-
declare const version = "1.0.
|
|
3
|
+
declare const version = "1.0.55";
|
|
4
4
|
declare function install(app: App<any>, options?: any): void;
|
|
5
5
|
export { install, version, OpenCodeWidget };
|
|
6
6
|
export default install;
|
package/es/index.mjs
CHANGED
|
@@ -116,15 +116,33 @@ function shouldIgnoreElement(el) {
|
|
|
116
116
|
return false;
|
|
117
117
|
}
|
|
118
118
|
function getDataFromElement(el) {
|
|
119
|
-
var _a, _b;
|
|
119
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
120
120
|
const vnodeData = (_b = (_a = el.__vnode) == null ? void 0 : _a.props) == null ? void 0 : _b[KEY_PROPS_DATA];
|
|
121
121
|
if (vnodeData) return vnodeData;
|
|
122
|
+
const ctxVNode = (_d = (_c = el.__vnode) == null ? void 0 : _c.ctx) == null ? void 0 : _d.vnode;
|
|
123
|
+
if ((ctxVNode == null ? void 0 : ctxVNode.el) === el) {
|
|
124
|
+
const ctxData = (_e = ctxVNode.props) == null ? void 0 : _e[KEY_PROPS_DATA];
|
|
125
|
+
if (ctxData) return ctxData;
|
|
126
|
+
}
|
|
127
|
+
const vueInstance = el.__vueParentComponent;
|
|
128
|
+
let currentParent = vueInstance == null ? void 0 : vueInstance.parent;
|
|
129
|
+
while (currentParent) {
|
|
130
|
+
if (((_f = currentParent.vnode) == null ? void 0 : _f.el) === el) {
|
|
131
|
+
const parentData = (_g = currentParent.vnode.props) == null ? void 0 : _g[KEY_PROPS_DATA];
|
|
132
|
+
if (parentData) return parentData;
|
|
133
|
+
}
|
|
134
|
+
currentParent = currentParent.parent;
|
|
135
|
+
}
|
|
122
136
|
const attr = el.getAttribute(KEY_DATA);
|
|
123
137
|
return attr != null ? attr : void 0;
|
|
124
138
|
}
|
|
125
139
|
function findInspectorFileInfo(element) {
|
|
126
140
|
let current = element;
|
|
127
141
|
while (current) {
|
|
142
|
+
if (shouldIgnoreElement(current)) {
|
|
143
|
+
current = current.parentElement;
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
128
146
|
const data = getDataFromElement(current);
|
|
129
147
|
if (data) {
|
|
130
148
|
const splitRE = /(.+):([\d]+):([\d]+)$/;
|
|
@@ -167,20 +185,8 @@ function getTargetElement(e) {
|
|
|
167
185
|
return el;
|
|
168
186
|
}
|
|
169
187
|
function getFileInfo(e, element) {
|
|
170
|
-
var _a, _b;
|
|
171
|
-
const inspector = window.__VUE_INSPECTOR__;
|
|
172
188
|
let inspectorFileInfo = null;
|
|
173
|
-
if (
|
|
174
|
-
const { targetNode, params } = inspector.getTargetNode(e);
|
|
175
|
-
if (targetNode && params && params.file) {
|
|
176
|
-
inspectorFileInfo = {
|
|
177
|
-
file: params.file,
|
|
178
|
-
line: (_a = params.line) != null ? _a : null,
|
|
179
|
-
column: (_b = params.column) != null ? _b : null
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
if (element && !inspectorFileInfo) {
|
|
189
|
+
if (element) {
|
|
184
190
|
inspectorFileInfo = findInspectorFileInfo(element);
|
|
185
191
|
}
|
|
186
192
|
const vueFileInfo = element ? getFileInfoFromVueInstance(element) : null;
|
|
@@ -1964,15 +1964,33 @@ function shouldIgnoreElement(el) {
|
|
|
1964
1964
|
return false;
|
|
1965
1965
|
}
|
|
1966
1966
|
function getDataFromElement(el) {
|
|
1967
|
-
var _a, _b;
|
|
1967
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1968
1968
|
const vnodeData = (_b = (_a = el.__vnode) == null ? void 0 : _a.props) == null ? void 0 : _b[KEY_PROPS_DATA];
|
|
1969
1969
|
if (vnodeData) return vnodeData;
|
|
1970
|
+
const ctxVNode = (_d = (_c = el.__vnode) == null ? void 0 : _c.ctx) == null ? void 0 : _d.vnode;
|
|
1971
|
+
if ((ctxVNode == null ? void 0 : ctxVNode.el) === el) {
|
|
1972
|
+
const ctxData = (_e = ctxVNode.props) == null ? void 0 : _e[KEY_PROPS_DATA];
|
|
1973
|
+
if (ctxData) return ctxData;
|
|
1974
|
+
}
|
|
1975
|
+
const vueInstance = el.__vueParentComponent;
|
|
1976
|
+
let currentParent = vueInstance == null ? void 0 : vueInstance.parent;
|
|
1977
|
+
while (currentParent) {
|
|
1978
|
+
if (((_f = currentParent.vnode) == null ? void 0 : _f.el) === el) {
|
|
1979
|
+
const parentData = (_g = currentParent.vnode.props) == null ? void 0 : _g[KEY_PROPS_DATA];
|
|
1980
|
+
if (parentData) return parentData;
|
|
1981
|
+
}
|
|
1982
|
+
currentParent = currentParent.parent;
|
|
1983
|
+
}
|
|
1970
1984
|
const attr = el.getAttribute(KEY_DATA);
|
|
1971
1985
|
return attr != null ? attr : void 0;
|
|
1972
1986
|
}
|
|
1973
1987
|
function findInspectorFileInfo(element) {
|
|
1974
1988
|
let current = element;
|
|
1975
1989
|
while (current) {
|
|
1990
|
+
if (shouldIgnoreElement(current)) {
|
|
1991
|
+
current = current.parentElement;
|
|
1992
|
+
continue;
|
|
1993
|
+
}
|
|
1976
1994
|
const data = getDataFromElement(current);
|
|
1977
1995
|
if (data) {
|
|
1978
1996
|
const match = data.match(/(.+):([\d]+):([\d]+)$/);
|
|
@@ -2006,18 +2024,8 @@ function getTargetElement(e) {
|
|
|
2006
2024
|
return el;
|
|
2007
2025
|
}
|
|
2008
2026
|
function getFileInfo(e, element) {
|
|
2009
|
-
var _a, _b;
|
|
2010
|
-
const inspector = window.__VUE_INSPECTOR__;
|
|
2011
2027
|
let inspectorFileInfo = null;
|
|
2012
|
-
if (
|
|
2013
|
-
const { targetNode, params } = inspector.getTargetNode(e);
|
|
2014
|
-
if (targetNode && params && params.file) inspectorFileInfo = {
|
|
2015
|
-
file: params.file,
|
|
2016
|
-
line: (_a = params.line) != null ? _a : null,
|
|
2017
|
-
column: (_b = params.column) != null ? _b : null
|
|
2018
|
-
};
|
|
2019
|
-
}
|
|
2020
|
-
if (element && !inspectorFileInfo) inspectorFileInfo = findInspectorFileInfo(element);
|
|
2028
|
+
if (element) inspectorFileInfo = findInspectorFileInfo(element);
|
|
2021
2029
|
const vueFileInfo = element ? getFileInfoFromVueInstance(element) : null;
|
|
2022
2030
|
return mergeFileInfo(inspectorFileInfo, vueFileInfo);
|
|
2023
2031
|
}
|
|
@@ -3192,7 +3200,7 @@ __vue_sfc__.render = __vue_render__;
|
|
|
3192
3200
|
var open_code_widget_default = __vue_sfc__;
|
|
3193
3201
|
//#endregion
|
|
3194
3202
|
//#region es/index.mjs
|
|
3195
|
-
var version = "1.0.
|
|
3203
|
+
var version = "1.0.55";
|
|
3196
3204
|
function install(app, options) {
|
|
3197
3205
|
[open_code_widget_default].forEach((item) => {
|
|
3198
3206
|
if (item.install) app.use(item, options);
|
|
@@ -1937,15 +1937,33 @@ function shouldIgnoreElement(el) {
|
|
|
1937
1937
|
return false;
|
|
1938
1938
|
}
|
|
1939
1939
|
function getDataFromElement(el) {
|
|
1940
|
-
var _a, _b;
|
|
1940
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1941
1941
|
const vnodeData = (_b = (_a = el.__vnode) == null ? void 0 : _a.props) == null ? void 0 : _b[KEY_PROPS_DATA];
|
|
1942
1942
|
if (vnodeData) return vnodeData;
|
|
1943
|
+
const ctxVNode = (_d = (_c = el.__vnode) == null ? void 0 : _c.ctx) == null ? void 0 : _d.vnode;
|
|
1944
|
+
if ((ctxVNode == null ? void 0 : ctxVNode.el) === el) {
|
|
1945
|
+
const ctxData = (_e = ctxVNode.props) == null ? void 0 : _e[KEY_PROPS_DATA];
|
|
1946
|
+
if (ctxData) return ctxData;
|
|
1947
|
+
}
|
|
1948
|
+
const vueInstance = el.__vueParentComponent;
|
|
1949
|
+
let currentParent = vueInstance == null ? void 0 : vueInstance.parent;
|
|
1950
|
+
while (currentParent) {
|
|
1951
|
+
if (((_f = currentParent.vnode) == null ? void 0 : _f.el) === el) {
|
|
1952
|
+
const parentData = (_g = currentParent.vnode.props) == null ? void 0 : _g[KEY_PROPS_DATA];
|
|
1953
|
+
if (parentData) return parentData;
|
|
1954
|
+
}
|
|
1955
|
+
currentParent = currentParent.parent;
|
|
1956
|
+
}
|
|
1943
1957
|
const attr = el.getAttribute(KEY_DATA);
|
|
1944
1958
|
return attr != null ? attr : void 0;
|
|
1945
1959
|
}
|
|
1946
1960
|
function findInspectorFileInfo(element) {
|
|
1947
1961
|
let current = element;
|
|
1948
1962
|
while (current) {
|
|
1963
|
+
if (shouldIgnoreElement(current)) {
|
|
1964
|
+
current = current.parentElement;
|
|
1965
|
+
continue;
|
|
1966
|
+
}
|
|
1949
1967
|
const data = getDataFromElement(current);
|
|
1950
1968
|
if (data) {
|
|
1951
1969
|
const match = data.match(/(.+):([\d]+):([\d]+)$/);
|
|
@@ -1979,18 +1997,8 @@ function getTargetElement(e) {
|
|
|
1979
1997
|
return el;
|
|
1980
1998
|
}
|
|
1981
1999
|
function getFileInfo(e, element) {
|
|
1982
|
-
var _a, _b;
|
|
1983
|
-
const inspector = window.__VUE_INSPECTOR__;
|
|
1984
2000
|
let inspectorFileInfo = null;
|
|
1985
|
-
if (
|
|
1986
|
-
const { targetNode, params } = inspector.getTargetNode(e);
|
|
1987
|
-
if (targetNode && params && params.file) inspectorFileInfo = {
|
|
1988
|
-
file: params.file,
|
|
1989
|
-
line: (_a = params.line) != null ? _a : null,
|
|
1990
|
-
column: (_b = params.column) != null ? _b : null
|
|
1991
|
-
};
|
|
1992
|
-
}
|
|
1993
|
-
if (element && !inspectorFileInfo) inspectorFileInfo = findInspectorFileInfo(element);
|
|
2001
|
+
if (element) inspectorFileInfo = findInspectorFileInfo(element);
|
|
1994
2002
|
const vueFileInfo = element ? getFileInfoFromVueInstance(element) : null;
|
|
1995
2003
|
return mergeFileInfo(inspectorFileInfo, vueFileInfo);
|
|
1996
2004
|
}
|
|
@@ -3165,7 +3173,7 @@ __vue_sfc__.render = __vue_render__;
|
|
|
3165
3173
|
var open_code_widget_default = __vue_sfc__;
|
|
3166
3174
|
//#endregion
|
|
3167
3175
|
//#region es/index.mjs
|
|
3168
|
-
var version = "1.0.
|
|
3176
|
+
var version = "1.0.55";
|
|
3169
3177
|
function install(app, options) {
|
|
3170
3178
|
[open_code_widget_default].forEach((item) => {
|
|
3171
3179
|
if (item.install) app.use(item, options);
|
package/lib/index.cjs
CHANGED
|
@@ -34,7 +34,7 @@ __export(lib_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(lib_exports);
|
|
36
36
|
var import_open_code_widget = __toESM(require("./open-code-widget/index.cjs"));
|
|
37
|
-
const version = "1.0.
|
|
37
|
+
const version = "1.0.55";
|
|
38
38
|
function install(app, options) {
|
|
39
39
|
const components = [
|
|
40
40
|
import_open_code_widget.default
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import OpenCodeWidget from './open-code-widget';
|
|
2
2
|
import type { App } from 'vue';
|
|
3
|
-
declare const version = "1.0.
|
|
3
|
+
declare const version = "1.0.55";
|
|
4
4
|
declare function install(app: App<any>, options?: any): void;
|
|
5
5
|
export { install, version, OpenCodeWidget };
|
|
6
6
|
export default install;
|
|
@@ -148,15 +148,33 @@ function shouldIgnoreElement(el) {
|
|
|
148
148
|
return false;
|
|
149
149
|
}
|
|
150
150
|
function getDataFromElement(el) {
|
|
151
|
-
var _a, _b;
|
|
151
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
152
152
|
const vnodeData = (_b = (_a = el.__vnode) == null ? void 0 : _a.props) == null ? void 0 : _b[KEY_PROPS_DATA];
|
|
153
153
|
if (vnodeData) return vnodeData;
|
|
154
|
+
const ctxVNode = (_d = (_c = el.__vnode) == null ? void 0 : _c.ctx) == null ? void 0 : _d.vnode;
|
|
155
|
+
if ((ctxVNode == null ? void 0 : ctxVNode.el) === el) {
|
|
156
|
+
const ctxData = (_e = ctxVNode.props) == null ? void 0 : _e[KEY_PROPS_DATA];
|
|
157
|
+
if (ctxData) return ctxData;
|
|
158
|
+
}
|
|
159
|
+
const vueInstance = el.__vueParentComponent;
|
|
160
|
+
let currentParent = vueInstance == null ? void 0 : vueInstance.parent;
|
|
161
|
+
while (currentParent) {
|
|
162
|
+
if (((_f = currentParent.vnode) == null ? void 0 : _f.el) === el) {
|
|
163
|
+
const parentData = (_g = currentParent.vnode.props) == null ? void 0 : _g[KEY_PROPS_DATA];
|
|
164
|
+
if (parentData) return parentData;
|
|
165
|
+
}
|
|
166
|
+
currentParent = currentParent.parent;
|
|
167
|
+
}
|
|
154
168
|
const attr = el.getAttribute(KEY_DATA);
|
|
155
169
|
return attr != null ? attr : void 0;
|
|
156
170
|
}
|
|
157
171
|
function findInspectorFileInfo(element) {
|
|
158
172
|
let current = element;
|
|
159
173
|
while (current) {
|
|
174
|
+
if (shouldIgnoreElement(current)) {
|
|
175
|
+
current = current.parentElement;
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
160
178
|
const data = getDataFromElement(current);
|
|
161
179
|
if (data) {
|
|
162
180
|
const splitRE = /(.+):([\d]+):([\d]+)$/;
|
|
@@ -199,20 +217,8 @@ function getTargetElement(e) {
|
|
|
199
217
|
return el;
|
|
200
218
|
}
|
|
201
219
|
function getFileInfo(e, element) {
|
|
202
|
-
var _a, _b;
|
|
203
|
-
const inspector = window.__VUE_INSPECTOR__;
|
|
204
220
|
let inspectorFileInfo = null;
|
|
205
|
-
if (
|
|
206
|
-
const { targetNode, params } = inspector.getTargetNode(e);
|
|
207
|
-
if (targetNode && params && params.file) {
|
|
208
|
-
inspectorFileInfo = {
|
|
209
|
-
file: params.file,
|
|
210
|
-
line: (_a = params.line) != null ? _a : null,
|
|
211
|
-
column: (_b = params.column) != null ? _b : null
|
|
212
|
-
};
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
if (element && !inspectorFileInfo) {
|
|
221
|
+
if (element) {
|
|
216
222
|
inspectorFileInfo = findInspectorFileInfo(element);
|
|
217
223
|
}
|
|
218
224
|
const vueFileInfo = element ? getFileInfoFromVueInstance(element) : null;
|
package/lib/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","framework":"vue","name":"@vite-plugin-opencode-assistant/components","version":"1.0.
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","framework":"vue","name":"@vite-plugin-opencode-assistant/components","version":"1.0.55","contributions":{"html":{"tags":[{"name":"open-code","attributes":[{"name":"","default":"`'bottom-right'`","description":"挂件显示的位置","value":{"type":"`'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'`","kind":"expression"}},{"name":"","default":"`false`","description":"挂件是否打开","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`'auto'`","description":"主题模式","value":{"type":"`'light' | 'dark' | 'auto'`","kind":"expression"}},{"name":"","default":"`'AI 助手'`","description":"助手头部显示的标题","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`'Ctrl+K'`","description":"快捷键提示文本","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`'按 ESC 或 Ctrl+P 退出'`","description":"选择模式快捷键提示文本","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`false`","description":"是否进入选择页面元素模式","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`true`","description":"会话列表是否折叠","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`'id'`","description":"会话列表项的唯一键字段","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`false`","description":"iframe 是否显示加载状态","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`undefined`","description":"会话列表是否加载中","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`false`","description":"是否显示会话列表骨架屏","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`false`","description":"是否显示空状态","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`false`","description":"是否显示错误状态","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`'当前项目暂无会话'`","description":"空状态显示的文本","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`'立即创建'`","description":"空状态操作按钮文本","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`''`","description":"Web UI 的 URL 来源","value":{"type":"`string`","kind":"expression"}},{"name":"","default":"`[]`","description":"会话列表数据","value":{"type":"`OpenCodeWidgetSession[]`","kind":"expression"}},{"name":"","default":"`null`","description":"当前选中的会话 ID","value":{"type":"`string | null`","kind":"expression"}},{"name":"","default":"`[]`","description":"已选中的元素列表","value":{"type":"`OpenCodeSelectedElement[]`","kind":"expression"}},{"name":"","default":"`true`","description":"是否显示\"一键清空\"按钮","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`true`","description":"是否启用选择模式","value":{"type":"`boolean`","kind":"expression"}},{"name":"","default":"`false`","description":"是否显示思考状态(加载中)","value":{"type":"`boolean`","kind":"expression"}}],"events":[{"name":"`update:open`","description":"当挂件打开或关闭时触发","arguments":[{"name":"open","type":"en"},{"name":"boolean"}]},{"name":"`update:selectMode`","description":"当选择模式切换时触发","arguments":[{"name":"mode","type":"de"},{"name":"boolean"}]},{"name":"`update:sessionListCollapsed`","description":"当会话列表折叠状态改变时触发","arguments":[{"name":"collapsed","type":"ed"},{"name":"boolean"}]},{"name":"`update:currentSessionId`","description":"当选中的会话 ID 改变时触发","arguments":[{"name":"sessionId","type":"Id"},{"name":"string | null"}]},{"name":"`update:selectedElements`","description":"当已选中的元素列表改变时触发","arguments":[{"name":"elements","type":"ts"},{"name":"OpenCodeSelectedElement[]"}]},{"name":"`update:theme`","description":"当主题模式改变时触发","arguments":[{"name":"theme","type":"me"},{"name":"'light' | 'dark' | 'auto'"}]},{"name":"`update:thinking`","description":"当思考状态改变时触发","arguments":[{"name":"thinking","type":"ng"},{"name":"boolean"}]},{"name":"","description":"点击触发挂件开关","arguments":[{"name":"open","type":"en"},{"name":"boolean"}]},{"name":"","description":"点击关闭按钮时触发","arguments":[]},{"name":"`toggle-session-list`","description":"点击会话列表切换按钮时触发","arguments":[{"name":"collapsed","type":"ed"},{"name":"boolean"}]},{"name":"`toggle-select-mode`","description":"点击选择模式切换按钮时触发","arguments":[{"name":"mode","type":"de"},{"name":"boolean"}]},{"name":"`toggle-theme`","description":"点击主题切换按钮时触发","arguments":[{"name":"theme","type":"me"},{"name":"'light' | 'dark' | 'auto'"}]},{"name":"`create-session`","description":"点击创建新会话时触发","arguments":[]},{"name":"`select-session`","description":"选中某个历史会话时触发","arguments":[{"name":"session","type":"on"},{"name":"OpenCodeWidgetSession"}]},{"name":"`delete-session`","description":"删除某个历史会话时触发","arguments":[{"name":"session","type":"on"},{"name":"OpenCodeWidgetSession"}]},{"name":"`click-selected-node`","description":"点击已选中的气泡或节点卡片时触发","arguments":[{"name":"element","type":"nt"},{"name":"OpenCodeSelectedElement"}]},{"name":"`remove-selected-node`","description":"删除已选中的元素时触发","arguments":[{"name":"payload","type":"ad"},{"name":"OpenCodeRemoveSelectedPayload"}]},{"name":"`clear-selected-nodes`","description":"清空所有选中元素时触发","arguments":[]},{"name":"`empty-action`","description":"点击空状态操作按钮时触发","arguments":[]},{"name":"`frame-loaded`","description":"iframe 加载完成时触发","arguments":[]},{"name":"`thinking-change`","description":"思考状态改变时触发(用于显示加载动画)","arguments":[{"name":"thinking","type":"ng"},{"name":"boolean"}]}],"slots":[{"name":"`button-icon`","description":"自定义触发按钮图标"},{"name":"`session-toggle-icon`","description":"自定义会话列表切换图标"},{"name":"`select-icon`","description":"自定义选择模式切换图标"},{"name":"`close-icon`","description":"自定义关闭按钮图标"},{"name":"`theme-icon`","description":"自定义主题切换图标"},{"name":"`sessions-empty`","description":"自定义会话列表空状态"},{"name":"`empty-state`","description":"自定义 iframe 空状态"},{"name":"","description":"自定义 iframe 加载状态"},{"name":"","description":"自定义错误状态"},{"name":"","description":"自定义 iframe 内容"}]}],"attributes":[]}},"js-types-syntax":"typescript"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-plugin-opencode-assistant/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"description": "Reusable OpenCode widget components built with Pagoda CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"css-selector-generator": "^3.9.1",
|
|
34
|
-
"@vite-plugin-opencode-assistant/shared": "1.0.
|
|
34
|
+
"@vite-plugin-opencode-assistant/shared": "1.0.55"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@vitejs/plugin-vue": "^6.0.5",
|