@vite-plugin-opencode-assistant/shared 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.
package/es/constants.d.ts CHANGED
@@ -93,7 +93,6 @@ export declare const DEFAULT_CONFIG: {
93
93
  enabled: boolean;
94
94
  webPort: number;
95
95
  hostname: string;
96
- position: "bottom-right";
97
96
  theme: "auto";
98
97
  open: boolean;
99
98
  autoReload: boolean;
package/es/constants.js CHANGED
@@ -45,7 +45,6 @@ const DEFAULT_CONFIG = {
45
45
  enabled: true,
46
46
  webPort: DEFAULT_WEB_PORT,
47
47
  hostname: DEFAULT_HOSTNAME,
48
- position: "bottom-right",
49
48
  theme: "auto",
50
49
  open: false,
51
50
  autoReload: true,
package/es/types.d.ts CHANGED
@@ -115,8 +115,6 @@ export interface WebOptions {
115
115
  * 挂件注入配置选项
116
116
  */
117
117
  export interface WidgetOptions {
118
- /** 挂件位置 */
119
- position: string;
120
118
  /** 主题模式 */
121
119
  theme: string;
122
120
  /** 是否自动打开 */
@@ -193,10 +191,6 @@ export type ServiceStartupTask = "checking_opencode" | "allocating_port" | "prep
193
191
  * 服务启动任务状态映射
194
192
  */
195
193
  export declare const SERVICE_STARTUP_TASKS: Record<ServiceStartupTask, string>;
196
- /**
197
- * 挂件位置选项
198
- */
199
- export type OpenCodeWidgetPosition = "bottom-right" | "bottom-left" | "top-right" | "top-left";
200
194
  /**
201
195
  * 挂件主题选项
202
196
  */
@@ -260,7 +254,6 @@ export interface OpenCodeSelectedElementItem {
260
254
  * 挂件组件 Props
261
255
  */
262
256
  export interface OpenCodeWidgetProps {
263
- position?: OpenCodeWidgetPosition;
264
257
  open?: boolean;
265
258
  theme?: OpenCodeWidgetTheme;
266
259
  title?: string;
@@ -93,7 +93,6 @@ export declare const DEFAULT_CONFIG: {
93
93
  enabled: boolean;
94
94
  webPort: number;
95
95
  hostname: string;
96
- position: "bottom-right";
97
96
  theme: "auto";
98
97
  open: boolean;
99
98
  autoReload: boolean;
package/lib/constants.js CHANGED
@@ -99,7 +99,6 @@ const DEFAULT_CONFIG = {
99
99
  enabled: true,
100
100
  webPort: DEFAULT_WEB_PORT,
101
101
  hostname: DEFAULT_HOSTNAME,
102
- position: "bottom-right",
103
102
  theme: "auto",
104
103
  open: false,
105
104
  autoReload: true,
package/lib/types.d.ts CHANGED
@@ -115,8 +115,6 @@ export interface WebOptions {
115
115
  * 挂件注入配置选项
116
116
  */
117
117
  export interface WidgetOptions {
118
- /** 挂件位置 */
119
- position: string;
120
118
  /** 主题模式 */
121
119
  theme: string;
122
120
  /** 是否自动打开 */
@@ -193,10 +191,6 @@ export type ServiceStartupTask = "checking_opencode" | "allocating_port" | "prep
193
191
  * 服务启动任务状态映射
194
192
  */
195
193
  export declare const SERVICE_STARTUP_TASKS: Record<ServiceStartupTask, string>;
196
- /**
197
- * 挂件位置选项
198
- */
199
- export type OpenCodeWidgetPosition = "bottom-right" | "bottom-left" | "top-right" | "top-left";
200
194
  /**
201
195
  * 挂件主题选项
202
196
  */
@@ -260,7 +254,6 @@ export interface OpenCodeSelectedElementItem {
260
254
  * 挂件组件 Props
261
255
  */
262
256
  export interface OpenCodeWidgetProps {
263
- position?: OpenCodeWidgetPosition;
264
257
  open?: boolean;
265
258
  theme?: OpenCodeWidgetTheme;
266
259
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vite-plugin-opencode-assistant/shared",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",