vite-plugin-opencode-assistant 1.0.22 → 1.0.24

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.
@@ -64,12 +64,10 @@ const __vue_sfc__ = /* @__PURE__ */ _defineComponent({
64
64
  const widgetRef = ref(null);
65
65
  const retryingWarmup = ref(false);
66
66
  const {
67
- position = "bottom-right",
68
67
  theme: initialTheme = "auto",
69
68
  open: autoOpen = false,
70
69
  hotkey = "ctrl+k"
71
70
  } = props.config;
72
- const widgetPosition = position;
73
71
  const widgetTheme = initialTheme;
74
72
  const showNotification = (msg, options) => {
75
73
  var _a, _b;
@@ -254,7 +252,7 @@ const __vue_sfc__ = /* @__PURE__ */ _defineComponent({
254
252
  const handleFrameLoaded = () => {
255
253
  iframeLoading.value = false;
256
254
  };
257
- const __returned__ = { props, open, selectMode, sessionListCollapsed, loading, widgetRef, retryingWarmup, position, initialTheme, autoOpen, hotkey, widgetPosition, widgetTheme, showNotification, serviceStatus, chromeMcpFailed, chromeMcpErrorType, chromeMcpErrorMessage, thinking, loadingText, updateStatusFromTask, setStarting, setThinking, selectedElements, removeElement, clearElements, theme, sendThemeToIframe, sessions, loadingSessionList, currentSessionId, iframeSrc, iframeLoading, loadSessions, createSession, deleteSession, selectSession, updateContext, showSessionListSkeleton, computedLoading, retryWarmup, setupSSE, ensureServicesStarted, handleToggle, handleSelectNode, handleClearSelected, handleSelectModeChange, handleSessionListCollapsedChange, handleThemeChange, handleRemoveSelectedNode, handleFrameLoaded, get OpenCodeWidget() {
255
+ const __returned__ = { props, open, selectMode, sessionListCollapsed, loading, widgetRef, retryingWarmup, initialTheme, autoOpen, hotkey, widgetTheme, showNotification, serviceStatus, chromeMcpFailed, chromeMcpErrorType, chromeMcpErrorMessage, thinking, loadingText, updateStatusFromTask, setStarting, setThinking, selectedElements, removeElement, clearElements, theme, sendThemeToIframe, sessions, loadingSessionList, currentSessionId, iframeSrc, iframeLoading, loadSessions, createSession, deleteSession, selectSession, updateContext, showSessionListSkeleton, computedLoading, retryWarmup, setupSSE, ensureServicesStarted, handleToggle, handleSelectNode, handleClearSelected, handleSelectModeChange, handleSessionListCollapsedChange, handleThemeChange, handleRemoveSelectedNode, handleFrameLoaded, get OpenCodeWidget() {
258
256
  return OpenCodeWidget;
259
257
  }, LoadingContent, ChromeWarmupError };
260
258
  Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
@@ -265,7 +263,6 @@ import { createVNode as _createVNode, openBlock as _openBlock, createBlock as _c
265
263
  function __vue_render__(_ctx, _cache, $props, $setup, $data, $options) {
266
264
  return _openBlock(), _createBlock($setup["OpenCodeWidget"], {
267
265
  ref: "widgetRef",
268
- position: $setup.widgetPosition,
269
266
  theme: $setup.theme,
270
267
  open: $setup.open,
271
268
  "select-mode": $setup.selectMode,
@@ -308,7 +305,7 @@ function __vue_render__(_ctx, _cache, $props, $setup, $data, $options) {
308
305
  ]),
309
306
  _: 1
310
307
  /* STABLE */
311
- }, 8, ["position", "theme", "open", "select-mode", "session-list-collapsed", "frame-loading", "loading-session-list", "show-session-list-skeleton", "show-error", "iframe-src", "current-session-id", "sessions", "hotkey-label", "thinking", "onCreateSession", "onDeleteSession", "onSelectSession", "onEmptyAction"]);
308
+ }, 8, ["theme", "open", "select-mode", "session-list-collapsed", "frame-loading", "loading-session-list", "show-session-list-skeleton", "show-error", "iframe-src", "current-session-id", "sessions", "hotkey-label", "thinking", "onCreateSession", "onDeleteSession", "onSelectSession", "onEmptyAction"]);
312
309
  }
313
310
  __vue_sfc__.render = __vue_render__;
314
311
  var App_vue_default = __vue_sfc__;
package/es/index.js CHANGED
@@ -173,7 +173,6 @@ function createOpenCodePlugin(options = {}) {
173
173
  transformIndexHtml(html) {
174
174
  const timer = log.timer("transformIndexHtml");
175
175
  const widget = injectWidget({
176
- position: config.position,
177
176
  theme: config.theme,
178
177
  open: config.open,
179
178
  hotkey: config.hotkey
@@ -95,12 +95,10 @@ const __vue_sfc__ = /* @__PURE__ */ (0, import_vue.defineComponent)({
95
95
  const widgetRef = (0, import_vue2.ref)(null);
96
96
  const retryingWarmup = (0, import_vue2.ref)(false);
97
97
  const {
98
- position = "bottom-right",
99
98
  theme: initialTheme = "auto",
100
99
  open: autoOpen = false,
101
100
  hotkey = "ctrl+k"
102
101
  } = props.config;
103
- const widgetPosition = position;
104
102
  const widgetTheme = initialTheme;
105
103
  const showNotification = (msg, options) => {
106
104
  var _a, _b;
@@ -285,7 +283,7 @@ const __vue_sfc__ = /* @__PURE__ */ (0, import_vue.defineComponent)({
285
283
  const handleFrameLoaded = () => {
286
284
  iframeLoading.value = false;
287
285
  };
288
- const __returned__ = { props, open, selectMode, sessionListCollapsed, loading, widgetRef, retryingWarmup, position, initialTheme, autoOpen, hotkey, widgetPosition, widgetTheme, showNotification, serviceStatus, chromeMcpFailed, chromeMcpErrorType, chromeMcpErrorMessage, thinking, loadingText, updateStatusFromTask, setStarting, setThinking, selectedElements, removeElement, clearElements, theme, sendThemeToIframe, sessions, loadingSessionList, currentSessionId, iframeSrc, iframeLoading, loadSessions, createSession, deleteSession, selectSession, updateContext, showSessionListSkeleton, computedLoading, retryWarmup, setupSSE, ensureServicesStarted, handleToggle, handleSelectNode, handleClearSelected, handleSelectModeChange, handleSessionListCollapsedChange, handleThemeChange, handleRemoveSelectedNode, handleFrameLoaded, get OpenCodeWidget() {
286
+ const __returned__ = { props, open, selectMode, sessionListCollapsed, loading, widgetRef, retryingWarmup, initialTheme, autoOpen, hotkey, widgetTheme, showNotification, serviceStatus, chromeMcpFailed, chromeMcpErrorType, chromeMcpErrorMessage, thinking, loadingText, updateStatusFromTask, setStarting, setThinking, selectedElements, removeElement, clearElements, theme, sendThemeToIframe, sessions, loadingSessionList, currentSessionId, iframeSrc, iframeLoading, loadSessions, createSession, deleteSession, selectSession, updateContext, showSessionListSkeleton, computedLoading, retryWarmup, setupSSE, ensureServicesStarted, handleToggle, handleSelectNode, handleClearSelected, handleSelectModeChange, handleSessionListCollapsedChange, handleThemeChange, handleRemoveSelectedNode, handleFrameLoaded, get OpenCodeWidget() {
289
287
  return import_components.OpenCodeWidget;
290
288
  }, LoadingContent: import_LoadingContent_vue.default, ChromeWarmupError: import_ChromeWarmupError_vue.default };
291
289
  Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
@@ -295,7 +293,6 @@ const __vue_sfc__ = /* @__PURE__ */ (0, import_vue.defineComponent)({
295
293
  function __vue_render__(_ctx, _cache, $props, $setup, $data, $options) {
296
294
  return (0, import_vue3.openBlock)(), (0, import_vue3.createBlock)($setup["OpenCodeWidget"], {
297
295
  ref: "widgetRef",
298
- position: $setup.widgetPosition,
299
296
  theme: $setup.theme,
300
297
  open: $setup.open,
301
298
  "select-mode": $setup.selectMode,
@@ -338,7 +335,7 @@ function __vue_render__(_ctx, _cache, $props, $setup, $data, $options) {
338
335
  ]),
339
336
  _: 1
340
337
  /* STABLE */
341
- }, 8, ["position", "theme", "open", "select-mode", "session-list-collapsed", "frame-loading", "loading-session-list", "show-session-list-skeleton", "show-error", "iframe-src", "current-session-id", "sessions", "hotkey-label", "thinking", "onCreateSession", "onDeleteSession", "onSelectSession", "onEmptyAction"]);
338
+ }, 8, ["theme", "open", "select-mode", "session-list-collapsed", "frame-loading", "loading-session-list", "show-session-list-skeleton", "show-error", "iframe-src", "current-session-id", "sessions", "hotkey-label", "thinking", "onCreateSession", "onDeleteSession", "onSelectSession", "onEmptyAction"]);
342
339
  }
343
340
  __vue_sfc__.render = __vue_render__;
344
341
  var App_vue_default = __vue_sfc__;