@lvce-editor/test-worker 14.12.0 → 14.14.0

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/api.d.ts CHANGED
@@ -242,6 +242,7 @@ interface Chat {
242
242
  readonly handleMessagesScroll: (id: number, x: number, y: number) => Promise<void>;
243
243
  readonly handleModelChange: (modelId: string) => Promise<void>;
244
244
  readonly handleModelInputBlur: () => Promise<void>;
245
+ readonly handleModelPickerInput: (value: string) => Promise<void>;
245
246
  readonly handleProjectListContextMenu: (id: number, x: number, y: number) => Promise<void>;
246
247
  readonly handleSubmit: () => Promise<void>;
247
248
  readonly mockBackendAuthResponse: (response: any) => Promise<void>;
@@ -1985,6 +1985,9 @@ const mockOpenApiStreamReset = async () => {
1985
1985
  const openModelPicker = async () => {
1986
1986
  await invoke('Chat.openModelPicker');
1987
1987
  };
1988
+ const handleModelPickerInput = async value => {
1989
+ await invoke('Chat.handleInput', 'model-picker-search', value);
1990
+ };
1988
1991
  const handleClickDelete = async () => {
1989
1992
  await invoke('Chat.handleClickDelete');
1990
1993
  };
@@ -2031,7 +2034,7 @@ const handleInputFocus = async () => {
2031
2034
  return execute$1('Chat.handleInputFocus', 'chat-list');
2032
2035
  };
2033
2036
  const openDebugView = async () => {
2034
- return execute$1('Chat.openDebugViw');
2037
+ return execute$1('Chat.openDebugView');
2035
2038
  };
2036
2039
  const chatListFocusPrevious = async () => {
2037
2040
  return execute$1('Chat.chatListFocusPrevious');
@@ -2090,6 +2093,7 @@ const Chat = {
2090
2093
  handleMessagesScroll,
2091
2094
  handleModelChange,
2092
2095
  handleModelInputBlur,
2096
+ handleModelPickerInput,
2093
2097
  handleProjectListContextMenu,
2094
2098
  handleSubmit,
2095
2099
  mockBackendAuthResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "14.12.0",
3
+ "version": "14.14.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",