@flanksource/clicky-ui 0.3.17 → 0.3.19
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/ai.cjs +12 -6
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.js +10 -4
- package/dist/ai.js.map +1 -1
- package/dist/chat.cjs +36 -0
- package/dist/chat.cjs.map +1 -1
- package/dist/chat.js +37 -1
- package/dist/chat.js.map +1 -1
- package/dist/components/Combobox.cjs +122 -153
- package/dist/components/Combobox.cjs.map +1 -1
- package/dist/components/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox.js +124 -155
- package/dist/components/Combobox.js.map +1 -1
- package/dist/components/ComboboxControl.cjs +145 -0
- package/dist/components/ComboboxControl.cjs.map +1 -0
- package/dist/components/ComboboxControl.d.ts +37 -0
- package/dist/components/ComboboxControl.d.ts.map +1 -0
- package/dist/components/ComboboxControl.js +145 -0
- package/dist/components/ComboboxControl.js.map +1 -0
- package/dist/components/ComboboxMenu.cjs +35 -14
- package/dist/components/ComboboxMenu.cjs.map +1 -1
- package/dist/components/ComboboxMenu.d.ts.map +1 -1
- package/dist/components/ComboboxMenu.js +35 -14
- package/dist/components/ComboboxMenu.js.map +1 -1
- package/dist/components/ComboboxTags.cjs +40 -0
- package/dist/components/ComboboxTags.cjs.map +1 -0
- package/dist/components/ComboboxTags.d.ts +8 -0
- package/dist/components/ComboboxTags.d.ts.map +1 -0
- package/dist/components/ComboboxTags.js +40 -0
- package/dist/components/ComboboxTags.js.map +1 -0
- package/dist/components/EndpointSelector.model.cjs +96 -0
- package/dist/components/EndpointSelector.model.cjs.map +1 -0
- package/dist/components/EndpointSelector.model.d.ts +2 -0
- package/dist/components/EndpointSelector.model.d.ts.map +1 -1
- package/dist/components/EndpointSelector.model.js +96 -0
- package/dist/components/EndpointSelector.model.js.map +1 -0
- package/dist/components/ErrorWrapper.cjs +168 -0
- package/dist/components/ErrorWrapper.cjs.map +1 -0
- package/dist/components/ErrorWrapper.d.ts +19 -0
- package/dist/components/ErrorWrapper.d.ts.map +1 -0
- package/dist/components/ErrorWrapper.js +168 -0
- package/dist/components/ErrorWrapper.js.map +1 -0
- package/dist/components/FilterBar.cjs +116 -4
- package/dist/components/FilterBar.cjs.map +1 -1
- package/dist/components/FilterBar.d.ts +37 -2
- package/dist/components/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar.js +116 -4
- package/dist/components/FilterBar.js.map +1 -1
- package/dist/components/JSONPathField.cjs +112 -0
- package/dist/components/JSONPathField.cjs.map +1 -0
- package/dist/components/JSONPathField.d.ts +36 -0
- package/dist/components/JSONPathField.d.ts.map +1 -0
- package/dist/components/JSONPathField.js +112 -0
- package/dist/components/JSONPathField.js.map +1 -0
- package/dist/components/JSONPathPlayground.cjs +225 -0
- package/dist/components/JSONPathPlayground.cjs.map +1 -0
- package/dist/components/JSONPathPlayground.d.ts +59 -0
- package/dist/components/JSONPathPlayground.d.ts.map +1 -0
- package/dist/components/JSONPathPlayground.js +225 -0
- package/dist/components/JSONPathPlayground.js.map +1 -0
- package/dist/components/JsonSchemaForm.cjs +8 -4
- package/dist/components/JsonSchemaForm.cjs.map +1 -1
- package/dist/components/JsonSchemaForm.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm.js +8 -4
- package/dist/components/JsonSchemaForm.js.map +1 -1
- package/dist/components/OnePasswordSelector.cjs +178 -0
- package/dist/components/OnePasswordSelector.cjs.map +1 -0
- package/dist/components/OnePasswordSelector.d.ts +8 -0
- package/dist/components/OnePasswordSelector.d.ts.map +1 -0
- package/dist/components/OnePasswordSelector.js +178 -0
- package/dist/components/OnePasswordSelector.js.map +1 -0
- package/dist/components/OnePasswordSelector.model.cjs +31 -0
- package/dist/components/OnePasswordSelector.model.cjs.map +1 -0
- package/dist/components/OnePasswordSelector.model.d.ts +27 -0
- package/dist/components/OnePasswordSelector.model.d.ts.map +1 -0
- package/dist/components/OnePasswordSelector.model.js +31 -0
- package/dist/components/OnePasswordSelector.model.js.map +1 -0
- package/dist/components/SecretFormField.cjs +142 -0
- package/dist/components/SecretFormField.cjs.map +1 -0
- package/dist/components/SecretFormField.d.ts +9 -0
- package/dist/components/SecretFormField.d.ts.map +1 -0
- package/dist/components/SecretFormField.js +142 -0
- package/dist/components/SecretFormField.js.map +1 -0
- package/dist/components/SecretKeySelector.cjs +20 -14
- package/dist/components/SecretKeySelector.cjs.map +1 -1
- package/dist/components/SecretKeySelector.d.ts +4 -1
- package/dist/components/SecretKeySelector.d.ts.map +1 -1
- package/dist/components/SecretKeySelector.js +20 -14
- package/dist/components/SecretKeySelector.js.map +1 -1
- package/dist/components/TreePickerField.cjs +71 -27
- package/dist/components/TreePickerField.cjs.map +1 -1
- package/dist/components/TreePickerField.d.ts +31 -2
- package/dist/components/TreePickerField.d.ts.map +1 -1
- package/dist/components/TreePickerField.js +72 -28
- package/dist/components/TreePickerField.js.map +1 -1
- package/dist/components/TriStateToggle.cjs +53 -0
- package/dist/components/TriStateToggle.cjs.map +1 -0
- package/dist/components/TriStateToggle.d.ts +27 -0
- package/dist/components/TriStateToggle.d.ts.map +1 -0
- package/dist/components/TriStateToggle.js +53 -0
- package/dist/components/TriStateToggle.js.map +1 -0
- package/dist/components/combobox-types.d.ts +25 -1
- package/dist/components/combobox-types.d.ts.map +1 -1
- package/dist/components/combobox-utils.cjs +26 -0
- package/dist/components/combobox-utils.cjs.map +1 -1
- package/dist/components/combobox-utils.d.ts +10 -0
- package/dist/components/combobox-utils.d.ts.map +1 -1
- package/dist/components/combobox-utils.js +26 -0
- package/dist/components/combobox-utils.js.map +1 -1
- package/dist/components/filter-bar-utils.cjs +12 -0
- package/dist/components/filter-bar-utils.cjs.map +1 -1
- package/dist/components/filter-bar-utils.d.ts.map +1 -1
- package/dist/components/filter-bar-utils.js +12 -0
- package/dist/components/filter-bar-utils.js.map +1 -1
- package/dist/components/jotai-bindings-core.cjs.map +1 -1
- package/dist/components/jotai-bindings-core.d.ts +4 -1
- package/dist/components/jotai-bindings-core.d.ts.map +1 -1
- package/dist/components/jotai-bindings-core.js.map +1 -1
- package/dist/components/json-schema-form-accordion-array.cjs +290 -0
- package/dist/components/json-schema-form-accordion-array.cjs.map +1 -0
- package/dist/components/json-schema-form-accordion-array.d.ts +7 -0
- package/dist/components/json-schema-form-accordion-array.d.ts.map +1 -0
- package/dist/components/json-schema-form-accordion-array.js +290 -0
- package/dist/components/json-schema-form-accordion-array.js.map +1 -0
- package/dist/components/json-schema-form-array.cjs +99 -110
- package/dist/components/json-schema-form-array.cjs.map +1 -1
- package/dist/components/json-schema-form-array.d.ts +1 -1
- package/dist/components/json-schema-form-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-array.js +98 -109
- package/dist/components/json-schema-form-array.js.map +1 -1
- package/dist/components/json-schema-form-error-display.cjs +4 -2
- package/dist/components/json-schema-form-error-display.cjs.map +1 -1
- package/dist/components/json-schema-form-error-display.d.ts +4 -2
- package/dist/components/json-schema-form-error-display.d.ts.map +1 -1
- package/dist/components/json-schema-form-error-display.js +4 -2
- package/dist/components/json-schema-form-error-display.js.map +1 -1
- package/dist/components/json-schema-form-extensions.cjs +10 -0
- package/dist/components/json-schema-form-extensions.cjs.map +1 -0
- package/dist/components/json-schema-form-extensions.d.ts +8 -0
- package/dist/components/json-schema-form-extensions.d.ts.map +1 -0
- package/dist/components/json-schema-form-extensions.js +10 -0
- package/dist/components/json-schema-form-extensions.js.map +1 -0
- package/dist/components/json-schema-form-fields.cjs +25 -101
- package/dist/components/json-schema-form-fields.cjs.map +1 -1
- package/dist/components/json-schema-form-fields.d.ts +1 -32
- package/dist/components/json-schema-form-fields.d.ts.map +1 -1
- package/dist/components/json-schema-form-fields.js +28 -104
- package/dist/components/json-schema-form-fields.js.map +1 -1
- package/dist/components/json-schema-form-item-summary.cjs +131 -0
- package/dist/components/json-schema-form-item-summary.cjs.map +1 -0
- package/dist/components/json-schema-form-item-summary.d.ts +13 -0
- package/dist/components/json-schema-form-item-summary.d.ts.map +1 -0
- package/dist/components/json-schema-form-item-summary.js +131 -0
- package/dist/components/json-schema-form-item-summary.js.map +1 -0
- package/dist/components/json-schema-form-layout.cjs +156 -0
- package/dist/components/json-schema-form-layout.cjs.map +1 -0
- package/dist/components/json-schema-form-layout.d.ts +43 -0
- package/dist/components/json-schema-form-layout.d.ts.map +1 -0
- package/dist/components/json-schema-form-layout.js +156 -0
- package/dist/components/json-schema-form-layout.js.map +1 -0
- package/dist/components/json-schema-form-lookup-tree.cjs +149 -0
- package/dist/components/json-schema-form-lookup-tree.cjs.map +1 -0
- package/dist/components/json-schema-form-lookup-tree.d.ts +22 -0
- package/dist/components/json-schema-form-lookup-tree.d.ts.map +1 -0
- package/dist/components/json-schema-form-lookup-tree.js +149 -0
- package/dist/components/json-schema-form-lookup-tree.js.map +1 -0
- package/dist/components/json-schema-form-object.cjs +11 -4
- package/dist/components/json-schema-form-object.cjs.map +1 -1
- package/dist/components/json-schema-form-object.d.ts.map +1 -1
- package/dist/components/json-schema-form-object.js +11 -4
- package/dist/components/json-schema-form-object.js.map +1 -1
- package/dist/components/json-schema-form-render.cjs +53 -29
- package/dist/components/json-schema-form-render.cjs.map +1 -1
- package/dist/components/json-schema-form-render.d.ts.map +1 -1
- package/dist/components/json-schema-form-render.js +53 -29
- package/dist/components/json-schema-form-render.js.map +1 -1
- package/dist/components/json-schema-form-resolve.cjs +62 -13
- package/dist/components/json-schema-form-resolve.cjs.map +1 -1
- package/dist/components/json-schema-form-resolve.d.ts +1 -0
- package/dist/components/json-schema-form-resolve.d.ts.map +1 -1
- package/dist/components/json-schema-form-resolve.js +62 -13
- package/dist/components/json-schema-form-resolve.js.map +1 -1
- package/dist/components/json-schema-form-table-array.cjs +123 -0
- package/dist/components/json-schema-form-table-array.cjs.map +1 -0
- package/dist/components/json-schema-form-table-array.d.ts +7 -0
- package/dist/components/json-schema-form-table-array.d.ts.map +1 -0
- package/dist/components/json-schema-form-table-array.js +123 -0
- package/dist/components/json-schema-form-table-array.js.map +1 -0
- package/dist/components/json-schema-form-tone.cjs +34 -0
- package/dist/components/json-schema-form-tone.cjs.map +1 -0
- package/dist/components/json-schema-form-tone.d.ts +8 -0
- package/dist/components/json-schema-form-tone.d.ts.map +1 -0
- package/dist/components/json-schema-form-tone.js +34 -0
- package/dist/components/json-schema-form-tone.js.map +1 -0
- package/dist/components/json-schema-form-types.d.ts +88 -10
- package/dist/components/json-schema-form-types.d.ts.map +1 -1
- package/dist/components/json-schema-form-utils.cjs +47 -4
- package/dist/components/json-schema-form-utils.cjs.map +1 -1
- package/dist/components/json-schema-form-utils.d.ts +19 -4
- package/dist/components/json-schema-form-utils.d.ts.map +1 -1
- package/dist/components/json-schema-form-utils.js +47 -4
- package/dist/components/json-schema-form-utils.js.map +1 -1
- package/dist/components/jsonPathTree.cjs +189 -0
- package/dist/components/jsonPathTree.cjs.map +1 -0
- package/dist/components/jsonPathTree.d.ts +92 -0
- package/dist/components/jsonPathTree.d.ts.map +1 -0
- package/dist/components/jsonPathTree.js +189 -0
- package/dist/components/jsonPathTree.js.map +1 -0
- package/dist/components/secret-form-extension.cjs +30 -0
- package/dist/components/secret-form-extension.cjs.map +1 -0
- package/dist/components/secret-form-extension.d.ts +23 -0
- package/dist/components/secret-form-extension.d.ts.map +1 -0
- package/dist/components/secret-form-extension.js +30 -0
- package/dist/components/secret-form-extension.js.map +1 -0
- package/dist/components/tri-state.cjs +8 -0
- package/dist/components/tri-state.cjs.map +1 -0
- package/dist/components/tri-state.d.ts +5 -0
- package/dist/components/tri-state.d.ts.map +1 -0
- package/dist/components/tri-state.js +8 -0
- package/dist/components/tri-state.js.map +1 -0
- package/dist/components/useComboboxLayout.cjs +59 -0
- package/dist/components/useComboboxLayout.cjs.map +1 -0
- package/dist/components/useComboboxLayout.d.ts +5 -0
- package/dist/components/useComboboxLayout.d.ts.map +1 -0
- package/dist/components/useComboboxLayout.js +59 -0
- package/dist/components/useComboboxLayout.js.map +1 -0
- package/dist/components.cjs +37 -0
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.ts +20 -4
- package/dist/components.d.ts.map +1 -1
- package/dist/components.js +38 -1
- package/dist/components.js.map +1 -1
- package/dist/data/Clicky.cjs +51 -2
- package/dist/data/Clicky.cjs.map +1 -1
- package/dist/data/Clicky.d.ts +10 -1
- package/dist/data/Clicky.d.ts.map +1 -1
- package/dist/data/Clicky.js +51 -2
- package/dist/data/Clicky.js.map +1 -1
- package/dist/data/DataTable.cjs +185 -53
- package/dist/data/DataTable.cjs.map +1 -1
- package/dist/data/DataTable.d.ts +63 -3
- package/dist/data/DataTable.d.ts.map +1 -1
- package/dist/data/DataTable.js +185 -53
- package/dist/data/DataTable.js.map +1 -1
- package/dist/data/LogsTable.cjs +10 -1
- package/dist/data/LogsTable.cjs.map +1 -1
- package/dist/data/LogsTable.d.ts +3 -1
- package/dist/data/LogsTable.d.ts.map +1 -1
- package/dist/data/LogsTable.js +10 -1
- package/dist/data/LogsTable.js.map +1 -1
- package/dist/data/TaskExecDetails.cjs +40 -0
- package/dist/data/TaskExecDetails.cjs.map +1 -0
- package/dist/data/TaskExecDetails.d.ts +5 -0
- package/dist/data/TaskExecDetails.d.ts.map +1 -0
- package/dist/data/TaskExecDetails.js +40 -0
- package/dist/data/TaskExecDetails.js.map +1 -0
- package/dist/data/TaskManager.cjs +99 -14
- package/dist/data/TaskManager.cjs.map +1 -1
- package/dist/data/TaskManager.d.ts.map +1 -1
- package/dist/data/TaskManager.js +100 -15
- package/dist/data/TaskManager.js.map +1 -1
- package/dist/data/TaskProgress.cjs +59 -14
- package/dist/data/TaskProgress.cjs.map +1 -1
- package/dist/data/TaskProgress.d.ts +2 -1
- package/dist/data/TaskProgress.d.ts.map +1 -1
- package/dist/data/TaskProgress.js +59 -14
- package/dist/data/TaskProgress.js.map +1 -1
- package/dist/data/TaskSnapshot.cjs.map +1 -1
- package/dist/data/TaskSnapshot.d.ts +12 -1
- package/dist/data/TaskSnapshot.d.ts.map +1 -1
- package/dist/data/TaskSnapshot.js.map +1 -1
- package/dist/data/TreeNode.cjs +3 -0
- package/dist/data/TreeNode.cjs.map +1 -1
- package/dist/data/TreeNode.d.ts.map +1 -1
- package/dist/data/TreeNode.js +3 -0
- package/dist/data/TreeNode.js.map +1 -1
- package/dist/data/ai/AdvancedChatConfig.cjs +289 -0
- package/dist/data/ai/AdvancedChatConfig.cjs.map +1 -0
- package/dist/data/ai/AdvancedChatConfig.d.ts +21 -0
- package/dist/data/ai/AdvancedChatConfig.d.ts.map +1 -0
- package/dist/data/ai/AdvancedChatConfig.js +289 -0
- package/dist/data/ai/AdvancedChatConfig.js.map +1 -0
- package/dist/data/ai/AdvancedCostsPanel.cjs +120 -0
- package/dist/data/ai/AdvancedCostsPanel.cjs.map +1 -0
- package/dist/data/ai/AdvancedCostsPanel.d.ts +16 -0
- package/dist/data/ai/AdvancedCostsPanel.d.ts.map +1 -0
- package/dist/data/ai/AdvancedCostsPanel.js +120 -0
- package/dist/data/ai/AdvancedCostsPanel.js.map +1 -0
- package/dist/data/ai/ChatWindow.catalogs.cjs +74 -0
- package/dist/data/ai/ChatWindow.catalogs.cjs.map +1 -0
- package/dist/data/ai/ChatWindow.catalogs.d.ts +16 -0
- package/dist/data/ai/ChatWindow.catalogs.d.ts.map +1 -0
- package/dist/data/ai/ChatWindow.catalogs.js +74 -0
- package/dist/data/ai/ChatWindow.catalogs.js.map +1 -0
- package/dist/data/ai/ChatWindow.cjs +78 -100
- package/dist/data/ai/ChatWindow.cjs.map +1 -1
- package/dist/data/ai/ChatWindow.d.ts +1 -1
- package/dist/data/ai/ChatWindow.d.ts.map +1 -1
- package/dist/data/ai/ChatWindow.js +80 -102
- package/dist/data/ai/ChatWindow.js.map +1 -1
- package/dist/data/ai/ChatWindow.preferences.cjs.map +1 -1
- package/dist/data/ai/ChatWindow.preferences.d.ts +2 -4
- package/dist/data/ai/ChatWindow.preferences.d.ts.map +1 -1
- package/dist/data/ai/ChatWindow.preferences.js.map +1 -1
- package/dist/data/ai/ChatWindow.runtime.cjs +120 -0
- package/dist/data/ai/ChatWindow.runtime.cjs.map +1 -0
- package/dist/data/ai/ChatWindow.runtime.d.ts +20 -0
- package/dist/data/ai/ChatWindow.runtime.d.ts.map +1 -0
- package/dist/data/ai/ChatWindow.runtime.js +120 -0
- package/dist/data/ai/ChatWindow.runtime.js.map +1 -0
- package/dist/data/ai/ChatWindow.thread.cjs +1 -1
- package/dist/data/ai/ChatWindow.thread.cjs.map +1 -1
- package/dist/data/ai/ChatWindow.thread.js +1 -1
- package/dist/data/ai/ChatWindow.thread.js.map +1 -1
- package/dist/data/ai/ChatWindow.tool-catalog.cjs +20 -0
- package/dist/data/ai/ChatWindow.tool-catalog.cjs.map +1 -1
- package/dist/data/ai/ChatWindow.tool-catalog.d.ts +17 -1
- package/dist/data/ai/ChatWindow.tool-catalog.d.ts.map +1 -1
- package/dist/data/ai/ChatWindow.tool-catalog.js +20 -0
- package/dist/data/ai/ChatWindow.tool-catalog.js.map +1 -1
- package/dist/data/ai/ChatWindow.types.d.ts +13 -5
- package/dist/data/ai/ChatWindow.types.d.ts.map +1 -1
- package/dist/data/ai/ChatWindowManager.cjs +3 -1
- package/dist/data/ai/ChatWindowManager.cjs.map +1 -1
- package/dist/data/ai/ChatWindowManager.d.ts.map +1 -1
- package/dist/data/ai/ChatWindowManager.js +3 -1
- package/dist/data/ai/ChatWindowManager.js.map +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.cjs +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.cjs.map +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.d.ts +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.d.ts.map +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.js +1 -1
- package/dist/data/ai/PromptPicker/PromptPicker.js.map +1 -1
- package/dist/data/ai/PromptRunEditor/index.cjs +2 -2
- package/dist/data/ai/PromptRunEditor/index.cjs.map +1 -1
- package/dist/data/ai/PromptRunEditor/index.d.ts +1 -1
- package/dist/data/ai/PromptRunEditor/index.d.ts.map +1 -1
- package/dist/data/ai/PromptRunEditor/index.js +2 -2
- package/dist/data/ai/PromptRunEditor/index.js.map +1 -1
- package/dist/data/ai/RuntimeModePicker.cjs +1 -1
- package/dist/data/ai/RuntimeModePicker.cjs.map +1 -1
- package/dist/data/ai/RuntimeModePicker.d.ts +1 -1
- package/dist/data/ai/RuntimeModePicker.d.ts.map +1 -1
- package/dist/data/ai/RuntimeModePicker.js +1 -1
- package/dist/data/ai/RuntimeModePicker.js.map +1 -1
- package/dist/data/ai/SessionInspector.files.cjs +26 -43
- package/dist/data/ai/SessionInspector.files.cjs.map +1 -1
- package/dist/data/ai/SessionInspector.files.d.ts.map +1 -1
- package/dist/data/ai/SessionInspector.files.js +26 -43
- package/dist/data/ai/SessionInspector.files.js.map +1 -1
- package/dist/data/ai/SessionInspector.hierarchy.cjs +1 -1
- package/dist/data/ai/SessionInspector.hierarchy.cjs.map +1 -1
- package/dist/data/ai/SessionInspector.hierarchy.js +1 -1
- package/dist/data/ai/SessionInspector.hierarchy.js.map +1 -1
- package/dist/data/ai/SessionInspector.model.cjs +1 -1
- package/dist/data/ai/SessionInspector.model.cjs.map +1 -1
- package/dist/data/ai/SessionInspector.model.js +1 -1
- package/dist/data/ai/SessionInspector.model.js.map +1 -1
- package/dist/data/ai/SessionViewer.rows.cjs +4 -16
- package/dist/data/ai/SessionViewer.rows.cjs.map +1 -1
- package/dist/data/ai/SessionViewer.rows.d.ts.map +1 -1
- package/dist/data/ai/SessionViewer.rows.js +4 -16
- package/dist/data/ai/SessionViewer.rows.js.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.cjs +12 -3
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.cjs.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.d.ts +1 -1
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.d.ts.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.js +12 -3
- package/dist/data/ai/SpecRuntimeEditor/ModelSection.js.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/VerifySection.cjs.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/VerifySection.d.ts +1 -1
- package/dist/data/ai/SpecRuntimeEditor/VerifySection.d.ts.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/VerifySection.js.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/fields.js +1 -1
- package/dist/data/ai/SpecRuntimeEditor/index.cjs.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/index.d.ts +2 -2
- package/dist/data/ai/SpecRuntimeEditor/index.d.ts.map +1 -1
- package/dist/data/ai/SpecRuntimeEditor/index.js.map +1 -1
- package/dist/data/ai/ThreadPicker.cjs +65 -3
- package/dist/data/ai/ThreadPicker.cjs.map +1 -1
- package/dist/data/ai/ThreadPicker.d.ts +11 -5
- package/dist/data/ai/ThreadPicker.d.ts.map +1 -1
- package/dist/data/ai/ThreadPicker.js +65 -3
- package/dist/data/ai/ThreadPicker.js.map +1 -1
- package/dist/data/ai/ToolPreferences.cjs +65 -685
- package/dist/data/ai/ToolPreferences.cjs.map +1 -1
- package/dist/data/ai/ToolPreferences.d.ts +15 -17
- package/dist/data/ai/ToolPreferences.d.ts.map +1 -1
- package/dist/data/ai/ToolPreferences.js +64 -683
- package/dist/data/ai/ToolPreferences.js.map +1 -1
- package/dist/data/ai/ToolPreferences.model.cjs +148 -0
- package/dist/data/ai/ToolPreferences.model.cjs.map +1 -0
- package/dist/data/ai/ToolPreferences.model.d.ts +31 -0
- package/dist/data/ai/ToolPreferences.model.d.ts.map +1 -0
- package/dist/data/ai/ToolPreferences.model.js +148 -0
- package/dist/data/ai/ToolPreferences.model.js.map +1 -0
- package/dist/data/ai/ToolPreferencesList.cjs +270 -0
- package/dist/data/ai/ToolPreferencesList.cjs.map +1 -0
- package/dist/data/ai/ToolPreferencesList.d.ts +18 -0
- package/dist/data/ai/ToolPreferencesList.d.ts.map +1 -0
- package/dist/data/ai/ToolPreferencesList.js +270 -0
- package/dist/data/ai/ToolPreferencesList.js.map +1 -0
- package/dist/data/ai/agent-action-icons.cjs.map +1 -1
- package/dist/data/ai/agent-action-icons.js.map +1 -1
- package/dist/data/ai/chat-window-context.cjs +4 -1
- package/dist/data/ai/chat-window-context.cjs.map +1 -1
- package/dist/data/ai/chat-window-context.d.ts +7 -0
- package/dist/data/ai/chat-window-context.d.ts.map +1 -1
- package/dist/data/ai/chat-window-context.js +4 -1
- package/dist/data/ai/chat-window-context.js.map +1 -1
- package/dist/data/ai/index.d.ts +6 -3
- package/dist/data/ai/index.d.ts.map +1 -1
- package/dist/data/ai/session-tones.cjs +67 -0
- package/dist/data/ai/session-tones.cjs.map +1 -0
- package/dist/data/ai/session-tones.d.ts +34 -0
- package/dist/data/ai/session-tones.d.ts.map +1 -0
- package/dist/data/ai/session-tones.js +67 -0
- package/dist/data/ai/session-tones.js.map +1 -0
- package/dist/data/ai/thread-costs.cjs +39 -0
- package/dist/data/ai/thread-costs.cjs.map +1 -0
- package/dist/data/ai/thread-costs.d.ts +62 -0
- package/dist/data/ai/thread-costs.d.ts.map +1 -0
- package/dist/data/ai/thread-costs.js +39 -0
- package/dist/data/ai/thread-costs.js.map +1 -0
- package/dist/data/cells/CellFilterActions.cjs +68 -0
- package/dist/data/cells/CellFilterActions.cjs.map +1 -0
- package/dist/data/cells/CellFilterActions.d.ts +15 -0
- package/dist/data/cells/CellFilterActions.d.ts.map +1 -0
- package/dist/data/cells/CellFilterActions.js +68 -0
- package/dist/data/cells/CellFilterActions.js.map +1 -0
- package/dist/data/chat/Chat.cjs +156 -113
- package/dist/data/chat/Chat.cjs.map +1 -1
- package/dist/data/chat/Chat.d.ts +24 -7
- package/dist/data/chat/Chat.d.ts.map +1 -1
- package/dist/data/chat/Chat.fixtures.cjs +48 -3
- package/dist/data/chat/Chat.fixtures.cjs.map +1 -1
- package/dist/data/chat/Chat.fixtures.d.ts +1 -1
- package/dist/data/chat/Chat.fixtures.d.ts.map +1 -1
- package/dist/data/chat/Chat.fixtures.js +48 -3
- package/dist/data/chat/Chat.fixtures.js.map +1 -1
- package/dist/data/chat/Chat.js +160 -117
- package/dist/data/chat/Chat.js.map +1 -1
- package/dist/data/chat/Chat.runtime.cjs +63 -0
- package/dist/data/chat/Chat.runtime.cjs.map +1 -0
- package/dist/data/chat/Chat.runtime.d.ts +16 -0
- package/dist/data/chat/Chat.runtime.d.ts.map +1 -0
- package/dist/data/chat/Chat.runtime.js +63 -0
- package/dist/data/chat/Chat.runtime.js.map +1 -0
- package/dist/data/chat/ChatRuntimeToolbar.cjs +62 -0
- package/dist/data/chat/ChatRuntimeToolbar.cjs.map +1 -0
- package/dist/data/chat/ChatRuntimeToolbar.d.ts +14 -0
- package/dist/data/chat/ChatRuntimeToolbar.d.ts.map +1 -0
- package/dist/data/chat/ChatRuntimeToolbar.js +62 -0
- package/dist/data/chat/ChatRuntimeToolbar.js.map +1 -0
- package/dist/data/chat/ToolCall.cjs +86 -24
- package/dist/data/chat/ToolCall.cjs.map +1 -1
- package/dist/data/chat/ToolCall.d.ts +12 -5
- package/dist/data/chat/ToolCall.d.ts.map +1 -1
- package/dist/data/chat/ToolCall.js +86 -24
- package/dist/data/chat/ToolCall.js.map +1 -1
- package/dist/data/chat/approval.cjs +49 -6
- package/dist/data/chat/approval.cjs.map +1 -1
- package/dist/data/chat/approval.d.ts +11 -4
- package/dist/data/chat/approval.d.ts.map +1 -1
- package/dist/data/chat/approval.js +49 -6
- package/dist/data/chat/approval.js.map +1 -1
- package/dist/data/chat/index.d.ts +5 -3
- package/dist/data/chat/index.d.ts.map +1 -1
- package/dist/data/chat/tool-render/ToolArgs.cjs +50 -0
- package/dist/data/chat/tool-render/ToolArgs.cjs.map +1 -0
- package/dist/data/chat/tool-render/ToolArgs.d.ts +7 -0
- package/dist/data/chat/tool-render/ToolArgs.d.ts.map +1 -0
- package/dist/data/chat/tool-render/ToolArgs.js +50 -0
- package/dist/data/chat/tool-render/ToolArgs.js.map +1 -0
- package/dist/data/chat/tool-render/ToolParams.cjs +155 -0
- package/dist/data/chat/tool-render/ToolParams.cjs.map +1 -0
- package/dist/data/chat/tool-render/ToolParams.d.ts +20 -0
- package/dist/data/chat/tool-render/ToolParams.d.ts.map +1 -0
- package/dist/data/chat/tool-render/ToolParams.js +155 -0
- package/dist/data/chat/tool-render/ToolParams.js.map +1 -0
- package/dist/data/chat/tool-render/ToolValue.cjs +140 -0
- package/dist/data/chat/tool-render/ToolValue.cjs.map +1 -0
- package/dist/data/chat/tool-render/ToolValue.d.ts +16 -0
- package/dist/data/chat/tool-render/ToolValue.d.ts.map +1 -0
- package/dist/data/chat/tool-render/ToolValue.js +140 -0
- package/dist/data/chat/tool-render/ToolValue.js.map +1 -0
- package/dist/data/chat/tool-render/adapter.cjs +48 -0
- package/dist/data/chat/tool-render/adapter.cjs.map +1 -0
- package/dist/data/chat/tool-render/adapter.d.ts +57 -0
- package/dist/data/chat/tool-render/adapter.d.ts.map +1 -0
- package/dist/data/chat/tool-render/adapter.js +48 -0
- package/dist/data/chat/tool-render/adapter.js.map +1 -0
- package/dist/data/chat/tool-render/context.cjs +16 -0
- package/dist/data/chat/tool-render/context.cjs.map +1 -0
- package/dist/data/chat/tool-render/context.d.ts +6 -0
- package/dist/data/chat/tool-render/context.d.ts.map +1 -0
- package/dist/data/chat/tool-render/context.js +16 -0
- package/dist/data/chat/tool-render/context.js.map +1 -0
- package/dist/data/chat/tool-render/defaults.cjs +45 -0
- package/dist/data/chat/tool-render/defaults.cjs.map +1 -0
- package/dist/data/chat/tool-render/defaults.d.ts +11 -0
- package/dist/data/chat/tool-render/defaults.d.ts.map +1 -0
- package/dist/data/chat/tool-render/defaults.js +45 -0
- package/dist/data/chat/tool-render/defaults.js.map +1 -0
- package/dist/data/chat/tool-render/index.d.ts +13 -0
- package/dist/data/chat/tool-render/index.d.ts.map +1 -0
- package/dist/data/chat/tool-render/known-tool-views.cjs +208 -0
- package/dist/data/chat/tool-render/known-tool-views.cjs.map +1 -0
- package/dist/data/chat/tool-render/known-tool-views.d.ts +10 -0
- package/dist/data/chat/tool-render/known-tool-views.d.ts.map +1 -0
- package/dist/data/chat/tool-render/known-tool-views.js +208 -0
- package/dist/data/chat/tool-render/known-tool-views.js.map +1 -0
- package/dist/data/chat/tool-render/known-tools.cjs +58 -0
- package/dist/data/chat/tool-render/known-tools.cjs.map +1 -0
- package/dist/data/chat/tool-render/known-tools.d.ts +4 -0
- package/dist/data/chat/tool-render/known-tools.d.ts.map +1 -0
- package/dist/data/chat/tool-render/known-tools.js +58 -0
- package/dist/data/chat/tool-render/known-tools.js.map +1 -0
- package/dist/data/chat/tool-render/normalize.cjs +42 -0
- package/dist/data/chat/tool-render/normalize.cjs.map +1 -0
- package/dist/data/chat/tool-render/normalize.d.ts +13 -0
- package/dist/data/chat/tool-render/normalize.d.ts.map +1 -0
- package/dist/data/chat/tool-render/normalize.js +42 -0
- package/dist/data/chat/tool-render/normalize.js.map +1 -0
- package/dist/data/chat/tool-render/registry.cjs +14 -0
- package/dist/data/chat/tool-render/registry.cjs.map +1 -0
- package/dist/data/chat/tool-render/registry.d.ts +7 -0
- package/dist/data/chat/tool-render/registry.d.ts.map +1 -0
- package/dist/data/chat/tool-render/registry.js +14 -0
- package/dist/data/chat/tool-render/registry.js.map +1 -0
- package/dist/data/chat/tool-render/schema.cjs +57 -0
- package/dist/data/chat/tool-render/schema.cjs.map +1 -0
- package/dist/data/chat/tool-render/schema.d.ts +28 -0
- package/dist/data/chat/tool-render/schema.d.ts.map +1 -0
- package/dist/data/chat/tool-render/schema.js +57 -0
- package/dist/data/chat/tool-render/schema.js.map +1 -0
- package/dist/data/chat/tool-render/shape.cjs +94 -0
- package/dist/data/chat/tool-render/shape.cjs.map +1 -0
- package/dist/data/chat/tool-render/shape.d.ts +39 -0
- package/dist/data/chat/tool-render/shape.d.ts.map +1 -0
- package/dist/data/chat/tool-render/shape.js +94 -0
- package/dist/data/chat/tool-render/shape.js.map +1 -0
- package/dist/data/chat/tool-render/summary.cjs +34 -0
- package/dist/data/chat/tool-render/summary.cjs.map +1 -0
- package/dist/data/chat/tool-render/summary.d.ts +8 -0
- package/dist/data/chat/tool-render/summary.d.ts.map +1 -0
- package/dist/data/chat/tool-render/summary.js +34 -0
- package/dist/data/chat/tool-render/summary.js.map +1 -0
- package/dist/data/chat/types.cjs.map +1 -1
- package/dist/data/chat/types.d.ts +7 -0
- package/dist/data/chat/types.d.ts.map +1 -1
- package/dist/data/chat/types.js.map +1 -1
- package/dist/data/chat/usage-snapshot.cjs +17 -0
- package/dist/data/chat/usage-snapshot.cjs.map +1 -0
- package/dist/data/chat/usage-snapshot.d.ts +21 -0
- package/dist/data/chat/usage-snapshot.d.ts.map +1 -0
- package/dist/data/chat/usage-snapshot.js +17 -0
- package/dist/data/chat/usage-snapshot.js.map +1 -0
- package/dist/data/data-table-filter-values.cjs +103 -0
- package/dist/data/data-table-filter-values.cjs.map +1 -0
- package/dist/data/data-table-filter-values.d.ts +34 -0
- package/dist/data/data-table-filter-values.d.ts.map +1 -0
- package/dist/data/data-table-filter-values.js +103 -0
- package/dist/data/data-table-filter-values.js.map +1 -0
- package/dist/data/data-table-server-filters.cjs +165 -0
- package/dist/data/data-table-server-filters.cjs.map +1 -0
- package/dist/data/data-table-server-filters.d.ts +128 -0
- package/dist/data/data-table-server-filters.d.ts.map +1 -0
- package/dist/data/data-table-server-filters.js +165 -0
- package/dist/data/data-table-server-filters.js.map +1 -0
- package/dist/data/query-browser/QueryBrowser.cjs +204 -155
- package/dist/data/query-browser/QueryBrowser.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts +2 -41
- package/dist/data/query-browser/QueryBrowser.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.editor.cjs +88 -0
- package/dist/data/query-browser/QueryBrowser.editor.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowser.editor.d.ts +12 -0
- package/dist/data/query-browser/QueryBrowser.editor.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowser.editor.js +88 -0
- package/dist/data/query-browser/QueryBrowser.editor.js.map +1 -0
- package/dist/data/query-browser/QueryBrowser.js +205 -156
- package/dist/data/query-browser/QueryBrowser.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.cjs +11 -0
- package/dist/data/query-browser/QueryBrowser.types.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowser.types.d.ts +92 -0
- package/dist/data/query-browser/QueryBrowser.types.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowser.types.js +11 -0
- package/dist/data/query-browser/QueryBrowser.types.js.map +1 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.cjs +56 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.d.ts +5 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.js +56 -0
- package/dist/data/query-browser/QueryBrowserDiagnosticsPanel.js.map +1 -0
- package/dist/data/query-browser/QueryBrowserResults.cjs +80 -0
- package/dist/data/query-browser/QueryBrowserResults.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowserResults.d.ts +16 -0
- package/dist/data/query-browser/QueryBrowserResults.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowserResults.js +80 -0
- package/dist/data/query-browser/QueryBrowserResults.js.map +1 -0
- package/dist/data/query-browser/index.d.ts +2 -1
- package/dist/data/query-browser/index.d.ts.map +1 -1
- package/dist/data/runtime/ProviderStatusPanel.cjs +187 -0
- package/dist/data/runtime/ProviderStatusPanel.cjs.map +1 -0
- package/dist/data/runtime/ProviderStatusPanel.d.ts +10 -0
- package/dist/data/runtime/ProviderStatusPanel.d.ts.map +1 -0
- package/dist/data/runtime/ProviderStatusPanel.js +187 -0
- package/dist/data/runtime/ProviderStatusPanel.js.map +1 -0
- package/dist/data/runtime/RuntimeBar.cjs +147 -0
- package/dist/data/runtime/RuntimeBar.cjs.map +1 -0
- package/dist/data/{ai → runtime}/RuntimeBar.d.ts +8 -6
- package/dist/data/runtime/RuntimeBar.d.ts.map +1 -0
- package/dist/data/runtime/RuntimeBar.js +147 -0
- package/dist/data/runtime/RuntimeBar.js.map +1 -0
- package/dist/data/runtime/RuntimeBar.model.cjs.map +1 -0
- package/dist/data/{ai → runtime}/RuntimeBar.model.d.ts +2 -2
- package/dist/data/runtime/RuntimeBar.model.d.ts.map +1 -0
- package/dist/data/runtime/RuntimeBar.model.js.map +1 -0
- package/dist/data/{ai → runtime}/RuntimeBarCombo.cjs +25 -30
- package/dist/data/runtime/RuntimeBarCombo.cjs.map +1 -0
- package/dist/data/{ai → runtime}/RuntimeBarCombo.d.ts +4 -3
- package/dist/data/runtime/RuntimeBarCombo.d.ts.map +1 -0
- package/dist/data/{ai → runtime}/RuntimeBarCombo.js +25 -30
- package/dist/data/runtime/RuntimeBarCombo.js.map +1 -0
- package/dist/data/{ai/RuntimeBar.cjs → runtime/RuntimeBarSegments.cjs} +54 -120
- package/dist/data/runtime/RuntimeBarSegments.cjs.map +1 -0
- package/dist/data/runtime/RuntimeBarSegments.d.ts +25 -0
- package/dist/data/runtime/RuntimeBarSegments.d.ts.map +1 -0
- package/dist/data/{ai/RuntimeBar.js → runtime/RuntimeBarSegments.js} +58 -124
- package/dist/data/runtime/RuntimeBarSegments.js.map +1 -0
- package/dist/data/runtime/availability.cjs +11 -0
- package/dist/data/runtime/availability.cjs.map +1 -0
- package/dist/data/runtime/availability.d.ts +6 -0
- package/dist/data/runtime/availability.d.ts.map +1 -0
- package/dist/data/runtime/availability.js +11 -0
- package/dist/data/runtime/availability.js.map +1 -0
- package/dist/data/runtime/model-capabilities.cjs.map +1 -0
- package/dist/data/runtime/model-capabilities.d.ts.map +1 -0
- package/dist/data/runtime/model-capabilities.js.map +1 -0
- package/dist/data/runtime/provider-status.cjs +106 -0
- package/dist/data/runtime/provider-status.cjs.map +1 -0
- package/dist/data/runtime/provider-status.d.ts +24 -0
- package/dist/data/runtime/provider-status.d.ts.map +1 -0
- package/dist/data/runtime/provider-status.js +106 -0
- package/dist/data/runtime/provider-status.js.map +1 -0
- package/dist/data/{ai → runtime}/runtime-mode.cjs +119 -27
- package/dist/data/runtime/runtime-mode.cjs.map +1 -0
- package/dist/data/{ai → runtime}/runtime-mode.d.ts +7 -1
- package/dist/data/runtime/runtime-mode.d.ts.map +1 -0
- package/dist/data/{ai → runtime}/runtime-mode.js +120 -28
- package/dist/data/runtime/runtime-mode.js.map +1 -0
- package/dist/data/task-exec-details.cjs +9 -0
- package/dist/data/task-exec-details.cjs.map +1 -0
- package/dist/data/task-exec-details.d.ts +3 -0
- package/dist/data/task-exec-details.d.ts.map +1 -0
- package/dist/data/task-exec-details.js +9 -0
- package/dist/data/task-exec-details.js.map +1 -0
- package/dist/data/task-query-keys.cjs +26 -0
- package/dist/data/task-query-keys.cjs.map +1 -0
- package/dist/data/task-query-keys.d.ts +27 -0
- package/dist/data/task-query-keys.d.ts.map +1 -0
- package/dist/data/task-query-keys.js +26 -0
- package/dist/data/task-query-keys.js.map +1 -0
- package/dist/data/version-info.cjs +3 -3
- package/dist/data/version-info.js +3 -3
- package/dist/data.cjs +18 -0
- package/dist/data.cjs.map +1 -1
- package/dist/data.d.ts +6 -2
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +18 -0
- package/dist/data.js.map +1 -1
- package/dist/hooks/use-hotkey.cjs +6 -1
- package/dist/hooks/use-hotkey.cjs.map +1 -1
- package/dist/hooks/use-hotkey.d.ts.map +1 -1
- package/dist/hooks/use-hotkey.js +6 -1
- package/dist/hooks/use-hotkey.js.map +1 -1
- package/dist/hooks/use-task-run.cjs +7 -4
- package/dist/hooks/use-task-run.cjs.map +1 -1
- package/dist/hooks/use-task-run.d.ts +12 -0
- package/dist/hooks/use-task-run.d.ts.map +1 -1
- package/dist/hooks/use-task-run.js +7 -4
- package/dist/hooks/use-task-run.js.map +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/registry.cjs +692 -0
- package/dist/icons/registry.cjs.map +1 -0
- package/dist/icons/registry.d.ts +21 -0
- package/dist/icons/registry.d.ts.map +1 -0
- package/dist/icons/registry.js +692 -0
- package/dist/icons/registry.js.map +1 -0
- package/dist/icons.cjs +3 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js +4 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +65 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +67 -2
- package/dist/index.js.map +1 -1
- package/dist/layout/AppShell.cjs +92 -56
- package/dist/layout/AppShell.cjs.map +1 -1
- package/dist/layout/AppShell.d.ts +49 -1
- package/dist/layout/AppShell.d.ts.map +1 -1
- package/dist/layout/AppShell.js +92 -56
- package/dist/layout/AppShell.js.map +1 -1
- package/dist/layout/AppShell.nav.cjs +144 -19
- package/dist/layout/AppShell.nav.cjs.map +1 -1
- package/dist/layout/AppShell.nav.d.ts +6 -1
- package/dist/layout/AppShell.nav.d.ts.map +1 -1
- package/dist/layout/AppShell.nav.js +144 -19
- package/dist/layout/AppShell.nav.js.map +1 -1
- package/dist/layout/SplitPane.cjs +23 -7
- package/dist/layout/SplitPane.cjs.map +1 -1
- package/dist/layout/SplitPane.d.ts +3 -1
- package/dist/layout/SplitPane.d.ts.map +1 -1
- package/dist/layout/SplitPane.js +23 -7
- package/dist/layout/SplitPane.js.map +1 -1
- package/dist/lib/format.cjs +86 -4
- package/dist/lib/format.cjs.map +1 -1
- package/dist/lib/format.d.ts +69 -0
- package/dist/lib/format.d.ts.map +1 -1
- package/dist/lib/format.js +86 -4
- package/dist/lib/format.js.map +1 -1
- package/dist/lib/path-tree.cjs +69 -0
- package/dist/lib/path-tree.cjs.map +1 -0
- package/dist/lib/path-tree.d.ts +54 -0
- package/dist/lib/path-tree.d.ts.map +1 -0
- package/dist/lib/path-tree.js +69 -0
- package/dist/lib/path-tree.js.map +1 -0
- package/dist/monaco.d.ts +1 -0
- package/dist/monaco.d.ts.map +1 -1
- package/dist/overlay/DropdownMenuSubmenu.cjs +13 -7
- package/dist/overlay/DropdownMenuSubmenu.cjs.map +1 -1
- package/dist/overlay/DropdownMenuSubmenu.d.ts.map +1 -1
- package/dist/overlay/DropdownMenuSubmenu.js +13 -7
- package/dist/overlay/DropdownMenuSubmenu.js.map +1 -1
- package/dist/overlay/Tour.cjs +173 -0
- package/dist/overlay/Tour.cjs.map +1 -0
- package/dist/overlay/Tour.d.ts +61 -0
- package/dist/overlay/Tour.d.ts.map +1 -0
- package/dist/overlay/Tour.js +173 -0
- package/dist/overlay/Tour.js.map +1 -0
- package/dist/overlay/TourCard.cjs +108 -0
- package/dist/overlay/TourCard.cjs.map +1 -0
- package/dist/overlay/TourCard.d.ts +23 -0
- package/dist/overlay/TourCard.d.ts.map +1 -0
- package/dist/overlay/TourCard.js +108 -0
- package/dist/overlay/TourCard.js.map +1 -0
- package/dist/overlay/TourProvider.cjs +160 -0
- package/dist/overlay/TourProvider.cjs.map +1 -0
- package/dist/overlay/TourProvider.d.ts +31 -0
- package/dist/overlay/TourProvider.d.ts.map +1 -0
- package/dist/overlay/TourProvider.js +160 -0
- package/dist/overlay/TourProvider.js.map +1 -0
- package/dist/overlay/TourSpotlight.cjs +47 -0
- package/dist/overlay/TourSpotlight.cjs.map +1 -0
- package/dist/overlay/TourSpotlight.d.ts +12 -0
- package/dist/overlay/TourSpotlight.d.ts.map +1 -0
- package/dist/overlay/TourSpotlight.js +47 -0
- package/dist/overlay/TourSpotlight.js.map +1 -0
- package/dist/overlay/modalStack.cjs +18 -4
- package/dist/overlay/modalStack.cjs.map +1 -1
- package/dist/overlay/modalStack.d.ts +10 -2
- package/dist/overlay/modalStack.d.ts.map +1 -1
- package/dist/overlay/modalStack.js +19 -5
- package/dist/overlay/modalStack.js.map +1 -1
- package/dist/overlay/tour-anchor.cjs +114 -0
- package/dist/overlay/tour-anchor.cjs.map +1 -0
- package/dist/overlay/tour-anchor.d.ts +30 -0
- package/dist/overlay/tour-anchor.d.ts.map +1 -0
- package/dist/overlay/tour-anchor.js +114 -0
- package/dist/overlay/tour-anchor.js.map +1 -0
- package/dist/overlay/tour-context.cjs +12 -0
- package/dist/overlay/tour-context.cjs.map +1 -0
- package/dist/overlay/tour-context.d.ts +40 -0
- package/dist/overlay/tour-context.d.ts.map +1 -0
- package/dist/overlay/tour-context.js +12 -0
- package/dist/overlay/tour-context.js.map +1 -0
- package/dist/overlay/tour-geometry.cjs +65 -0
- package/dist/overlay/tour-geometry.cjs.map +1 -0
- package/dist/overlay/tour-geometry.d.ts +47 -0
- package/dist/overlay/tour-geometry.d.ts.map +1 -0
- package/dist/overlay/tour-geometry.js +65 -0
- package/dist/overlay/tour-geometry.js.map +1 -0
- package/dist/overlay/tour-model.cjs +79 -0
- package/dist/overlay/tour-model.cjs.map +1 -0
- package/dist/overlay/tour-model.d.ts +29 -0
- package/dist/overlay/tour-model.d.ts.map +1 -0
- package/dist/overlay/tour-model.js +79 -0
- package/dist/overlay/tour-model.js.map +1 -0
- package/dist/overlay/tour-progress.cjs +54 -0
- package/dist/overlay/tour-progress.cjs.map +1 -0
- package/dist/overlay/tour-progress.d.ts +40 -0
- package/dist/overlay/tour-progress.d.ts.map +1 -0
- package/dist/overlay/tour-progress.js +54 -0
- package/dist/overlay/tour-progress.js.map +1 -0
- package/dist/overlay/tour-types.d.ts +144 -0
- package/dist/overlay/tour-types.d.ts.map +1 -0
- package/dist/overlay/use-tour-anchor.cjs +43 -0
- package/dist/overlay/use-tour-anchor.cjs.map +1 -0
- package/dist/overlay/use-tour-anchor.d.ts +23 -0
- package/dist/overlay/use-tour-anchor.d.ts.map +1 -0
- package/dist/overlay/use-tour-anchor.js +43 -0
- package/dist/overlay/use-tour-anchor.js.map +1 -0
- package/dist/overlay/use-tour-rect.cjs +33 -0
- package/dist/overlay/use-tour-rect.cjs.map +1 -0
- package/dist/overlay/use-tour-rect.d.ts +12 -0
- package/dist/overlay/use-tour-rect.d.ts.map +1 -0
- package/dist/overlay/use-tour-rect.js +33 -0
- package/dist/overlay/use-tour-rect.js.map +1 -0
- package/dist/overlay/use-tour-step.cjs +66 -0
- package/dist/overlay/use-tour-step.cjs.map +1 -0
- package/dist/overlay/use-tour-step.d.ts +45 -0
- package/dist/overlay/use-tour-step.d.ts.map +1 -0
- package/dist/overlay/use-tour-step.js +66 -0
- package/dist/overlay/use-tour-step.js.map +1 -0
- package/dist/overlay/zIndex.cjs +8 -0
- package/dist/overlay/zIndex.cjs.map +1 -1
- package/dist/overlay/zIndex.d.ts +8 -0
- package/dist/overlay/zIndex.d.ts.map +1 -1
- package/dist/overlay/zIndex.js +8 -0
- package/dist/overlay/zIndex.js.map +1 -1
- package/dist/rpc/CommandOutput.cjs +8 -0
- package/dist/rpc/CommandOutput.cjs.map +1 -1
- package/dist/rpc/CommandOutput.d.ts +4 -1
- package/dist/rpc/CommandOutput.d.ts.map +1 -1
- package/dist/rpc/CommandOutput.js +8 -0
- package/dist/rpc/CommandOutput.js.map +1 -1
- package/dist/rpc/EntityExplorerApp.cjs +10 -16
- package/dist/rpc/EntityExplorerApp.cjs.map +1 -1
- package/dist/rpc/EntityExplorerApp.d.ts.map +1 -1
- package/dist/rpc/EntityExplorerApp.js +10 -16
- package/dist/rpc/EntityExplorerApp.js.map +1 -1
- package/dist/rpc/FilterForm.cjs +20 -0
- package/dist/rpc/FilterForm.cjs.map +1 -1
- package/dist/rpc/FilterForm.js +20 -0
- package/dist/rpc/FilterForm.js.map +1 -1
- package/dist/rpc/OperationActionBar.cjs +1 -1
- package/dist/rpc/OperationActionBar.cjs.map +1 -1
- package/dist/rpc/OperationActionBar.js +1 -1
- package/dist/rpc/OperationActionBar.js.map +1 -1
- package/dist/rpc/OperationCatalog.cjs +83 -7
- package/dist/rpc/OperationCatalog.cjs.map +1 -1
- package/dist/rpc/OperationCatalog.d.ts.map +1 -1
- package/dist/rpc/OperationCatalog.js +84 -8
- package/dist/rpc/OperationCatalog.js.map +1 -1
- package/dist/rpc/OperationResultView.cjs +2 -0
- package/dist/rpc/OperationResultView.cjs.map +1 -1
- package/dist/rpc/OperationResultView.d.ts +6 -0
- package/dist/rpc/OperationResultView.d.ts.map +1 -1
- package/dist/rpc/OperationResultView.js +2 -0
- package/dist/rpc/OperationResultView.js.map +1 -1
- package/dist/rpc/SchemaActionForm.cjs +2 -21
- package/dist/rpc/SchemaActionForm.cjs.map +1 -1
- package/dist/rpc/SchemaActionForm.d.ts.map +1 -1
- package/dist/rpc/SchemaActionForm.js +3 -22
- package/dist/rpc/SchemaActionForm.js.map +1 -1
- package/dist/rpc/apiClient.cjs +16 -2
- package/dist/rpc/apiClient.cjs.map +1 -1
- package/dist/rpc/apiClient.d.ts.map +1 -1
- package/dist/rpc/apiClient.js +16 -2
- package/dist/rpc/apiClient.js.map +1 -1
- package/dist/rpc/formMetadata.cjs +123 -49
- package/dist/rpc/formMetadata.cjs.map +1 -1
- package/dist/rpc/formMetadata.d.ts +14 -6
- package/dist/rpc/formMetadata.d.ts.map +1 -1
- package/dist/rpc/formMetadata.js +121 -47
- package/dist/rpc/formMetadata.js.map +1 -1
- package/dist/rpc/operationFilterSearch.cjs +23 -0
- package/dist/rpc/operationFilterSearch.cjs.map +1 -0
- package/dist/rpc/operationFilterSearch.d.ts +22 -0
- package/dist/rpc/operationFilterSearch.d.ts.map +1 -0
- package/dist/rpc/operationFilterSearch.js +23 -0
- package/dist/rpc/operationFilterSearch.js.map +1 -0
- package/dist/rpc/operationLookupFetcher.cjs +28 -0
- package/dist/rpc/operationLookupFetcher.cjs.map +1 -0
- package/dist/rpc/operationLookupFetcher.d.ts +17 -0
- package/dist/rpc/operationLookupFetcher.d.ts.map +1 -0
- package/dist/rpc/operationLookupFetcher.js +28 -0
- package/dist/rpc/operationLookupFetcher.js.map +1 -0
- package/dist/rpc/surfaceNav.cjs +77 -0
- package/dist/rpc/surfaceNav.cjs.map +1 -0
- package/dist/rpc/surfaceNav.d.ts +19 -0
- package/dist/rpc/surfaceNav.d.ts.map +1 -0
- package/dist/rpc/surfaceNav.js +77 -0
- package/dist/rpc/surfaceNav.js.map +1 -0
- package/dist/rpc/types.cjs.map +1 -1
- package/dist/rpc/types.d.ts +21 -2
- package/dist/rpc/types.d.ts.map +1 -1
- package/dist/rpc/types.js.map +1 -1
- package/dist/rpc.cjs +2 -0
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.ts +1 -0
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +2 -0
- package/dist/rpc.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils.cjs +8 -0
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +10 -2
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/data/ai/RuntimeBar.cjs.map +0 -1
- package/dist/data/ai/RuntimeBar.d.ts.map +0 -1
- package/dist/data/ai/RuntimeBar.js.map +0 -1
- package/dist/data/ai/RuntimeBar.model.cjs.map +0 -1
- package/dist/data/ai/RuntimeBar.model.d.ts.map +0 -1
- package/dist/data/ai/RuntimeBar.model.js.map +0 -1
- package/dist/data/ai/RuntimeBarCombo.cjs.map +0 -1
- package/dist/data/ai/RuntimeBarCombo.d.ts.map +0 -1
- package/dist/data/ai/RuntimeBarCombo.js.map +0 -1
- package/dist/data/ai/model-capabilities.cjs.map +0 -1
- package/dist/data/ai/model-capabilities.d.ts.map +0 -1
- package/dist/data/ai/model-capabilities.js.map +0 -1
- package/dist/data/ai/runtime-mode.cjs.map +0 -1
- package/dist/data/ai/runtime-mode.d.ts.map +0 -1
- package/dist/data/ai/runtime-mode.js.map +0 -1
- /package/dist/data/{ai → runtime}/RuntimeBar.model.cjs +0 -0
- /package/dist/data/{ai → runtime}/RuntimeBar.model.js +0 -0
- /package/dist/data/{ai → runtime}/model-capabilities.cjs +0 -0
- /package/dist/data/{ai → runtime}/model-capabilities.d.ts +0 -0
- /package/dist/data/{ai → runtime}/model-capabilities.js +0 -0
package/dist/ai.cjs
CHANGED
|
@@ -11,16 +11,18 @@ const index = require("./data/ai/examples/sessions/index.cjs");
|
|
|
11
11
|
const ChatFab = require("./data/ai/ChatFab.cjs");
|
|
12
12
|
const ChatWindow = require("./data/ai/ChatWindow.cjs");
|
|
13
13
|
const ChatWindowManager = require("./data/ai/ChatWindowManager.cjs");
|
|
14
|
-
const
|
|
14
|
+
const ToolPreferencesList = require("./data/ai/ToolPreferencesList.cjs");
|
|
15
15
|
const ContextBadges = require("./data/ai/ContextBadges.cjs");
|
|
16
16
|
const ContextMeter = require("./data/chat/ContextMeter.cjs");
|
|
17
17
|
const PromptPicker = require("./data/ai/PromptPicker/PromptPicker.cjs");
|
|
18
18
|
const index$1 = require("./data/ai/PromptRunEditor/index.cjs");
|
|
19
19
|
const PromptSourceRepair = require("./data/ai/PromptPicker/PromptSourceRepair.cjs");
|
|
20
|
-
const
|
|
20
|
+
const ProviderStatusPanel = require("./data/runtime/ProviderStatusPanel.cjs");
|
|
21
|
+
const RuntimeBar = require("./data/runtime/RuntimeBar.cjs");
|
|
21
22
|
const RuntimeModePicker = require("./data/ai/RuntimeModePicker.cjs");
|
|
23
|
+
const sessionTones = require("./data/ai/session-tones.cjs");
|
|
22
24
|
const SpecRuntimeEditor_model = require("./data/ai/SpecRuntimeEditor.model.cjs");
|
|
23
|
-
const runtimeMode = require("./data/
|
|
25
|
+
const runtimeMode = require("./data/runtime/runtime-mode.cjs");
|
|
24
26
|
const ToolSchemaBrowser = require("./data/ai/ToolSchemaBrowser.cjs");
|
|
25
27
|
const SessionChatComposer = require("./data/ai/SessionChatComposer.cjs");
|
|
26
28
|
const SessionViewer_header = require("./data/ai/SessionViewer.header.cjs");
|
|
@@ -28,9 +30,10 @@ const SessionInspector = require("./data/ai/SessionInspector.cjs");
|
|
|
28
30
|
const SessionViewer = require("./data/ai/SessionViewer.cjs");
|
|
29
31
|
const index$2 = require("./data/ai/SpecRuntimeEditor/index.cjs");
|
|
30
32
|
const ThreadPicker = require("./data/ai/ThreadPicker.cjs");
|
|
33
|
+
const ToolPreferences = require("./data/ai/ToolPreferences.cjs");
|
|
31
34
|
const tokens = require("./lib/tokens.cjs");
|
|
32
35
|
const sessionCost = require("./data/ai/session-cost.cjs");
|
|
33
|
-
const modelCapabilities = require("./data/
|
|
36
|
+
const modelCapabilities = require("./data/runtime/model-capabilities.cjs");
|
|
34
37
|
const SessionViewer_model = require("./data/ai/SessionViewer.model.cjs");
|
|
35
38
|
const types$1 = require("./data/ai/PromptPicker/types.cjs");
|
|
36
39
|
const context = require("./data/ai/context.cjs");
|
|
@@ -62,8 +65,7 @@ exports.ChatFab = ChatFab.ChatFab;
|
|
|
62
65
|
exports.ChatWindow = ChatWindow.ChatWindow;
|
|
63
66
|
exports.ChatWindowLayer = ChatWindow.ChatWindowLayer;
|
|
64
67
|
exports.ChatWindowManagerProvider = ChatWindowManager.ChatWindowManagerProvider;
|
|
65
|
-
exports.CompactToolPreferencesList =
|
|
66
|
-
exports.ToolPreferences = ToolPreferences.ToolPreferences;
|
|
68
|
+
exports.CompactToolPreferencesList = ToolPreferencesList.CompactToolPreferencesList;
|
|
67
69
|
exports.ContextBadges = ContextBadges.ContextBadges;
|
|
68
70
|
exports.ContextBadgesReadonly = ContextBadges.ContextBadgesReadonly;
|
|
69
71
|
exports.ContextMeter = ContextMeter.ContextMeter;
|
|
@@ -71,8 +73,11 @@ exports.PromptPickerField = PromptPicker.PromptPickerField;
|
|
|
71
73
|
exports.SpecEditorDialog = PromptPicker.SpecEditorDialog;
|
|
72
74
|
exports.PromptRunEditor = index$1.PromptRunEditor;
|
|
73
75
|
exports.PromptSourceRepair = PromptSourceRepair.PromptSourceRepair;
|
|
76
|
+
exports.ProviderStatusPanel = ProviderStatusPanel.ProviderStatusPanel;
|
|
74
77
|
exports.RuntimeBar = RuntimeBar.RuntimeBar;
|
|
75
78
|
exports.RuntimeModePicker = RuntimeModePicker.RuntimeModePicker;
|
|
79
|
+
exports.SESSION_TONES = sessionTones.SESSION_TONES;
|
|
80
|
+
exports.sessionTone = sessionTones.sessionTone;
|
|
76
81
|
exports.SPEC_CHECKOUT_MODES = SpecRuntimeEditor_model.SPEC_CHECKOUT_MODES;
|
|
77
82
|
exports.SPEC_COMMIT_CONDITIONS = SpecRuntimeEditor_model.SPEC_COMMIT_CONDITIONS;
|
|
78
83
|
exports.SPEC_COMMIT_GATES = SpecRuntimeEditor_model.SPEC_COMMIT_GATES;
|
|
@@ -108,6 +113,7 @@ exports.SessionInspector = SessionInspector.SessionInspector;
|
|
|
108
113
|
exports.SessionViewer = SessionViewer.SessionViewer;
|
|
109
114
|
exports.SpecRuntimeEditor = index$2.SpecRuntimeEditor;
|
|
110
115
|
exports.ThreadPicker = ThreadPicker.ThreadPicker;
|
|
116
|
+
exports.ToolPreferences = ToolPreferences.ToolPreferences;
|
|
111
117
|
exports.compactTokens = tokens.compactTokens;
|
|
112
118
|
exports.formatCost = tokens.formatCost;
|
|
113
119
|
exports.costTotal = sessionCost.costTotal;
|
package/dist/ai.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/ai.js
CHANGED
|
@@ -9,16 +9,18 @@ import { COMPLETE_EXAMPLE_SESSIONS, EXAMPLE_SESSIONS } from "./data/ai/examples/
|
|
|
9
9
|
import { ChatFab } from "./data/ai/ChatFab.js";
|
|
10
10
|
import { ChatWindow, ChatWindowLayer } from "./data/ai/ChatWindow.js";
|
|
11
11
|
import { ChatWindowManagerProvider } from "./data/ai/ChatWindowManager.js";
|
|
12
|
-
import { CompactToolPreferencesList
|
|
12
|
+
import { CompactToolPreferencesList } from "./data/ai/ToolPreferencesList.js";
|
|
13
13
|
import { ContextBadges, ContextBadgesReadonly } from "./data/ai/ContextBadges.js";
|
|
14
14
|
import { ContextMeter } from "./data/chat/ContextMeter.js";
|
|
15
15
|
import { PromptPickerField, SpecEditorDialog } from "./data/ai/PromptPicker/PromptPicker.js";
|
|
16
16
|
import { PromptRunEditor } from "./data/ai/PromptRunEditor/index.js";
|
|
17
17
|
import { PromptSourceRepair } from "./data/ai/PromptPicker/PromptSourceRepair.js";
|
|
18
|
-
import {
|
|
18
|
+
import { ProviderStatusPanel } from "./data/runtime/ProviderStatusPanel.js";
|
|
19
|
+
import { RuntimeBar } from "./data/runtime/RuntimeBar.js";
|
|
19
20
|
import { RuntimeModePicker } from "./data/ai/RuntimeModePicker.js";
|
|
21
|
+
import { SESSION_TONES, sessionTone } from "./data/ai/session-tones.js";
|
|
20
22
|
import { SPEC_CHECKOUT_MODES, SPEC_COMMIT_CONDITIONS, SPEC_COMMIT_GATES, SPEC_COMMIT_MODES, SPEC_COMMIT_PHASES, SPEC_COMMIT_STAGES, SPEC_PERMISSION_MODES, SPEC_SCHEMA_STRICTNESS, SPEC_STASH_MODES, SPEC_VERIFY_SCOPES, SPEC_WORKTREE_MODES, buildAISpecRuntimePayload, compactAISpecRuntime, normalizeMCPPermissions, normalizeResourcePolicies, normalizeToolPolicies } from "./data/ai/SpecRuntimeEditor.model.js";
|
|
21
|
-
import { SPEC_RUNTIME_FAMILIES, backendForFamilyMode, familiesFromRuntimeCatalog, familyById, familyForBackend, labelForBackend, modeForBackend, modelBelongsToFamily, modelsForFamily, runtimeModeOptions, selectionForBackend } from "./data/
|
|
23
|
+
import { SPEC_RUNTIME_FAMILIES, backendForFamilyMode, familiesFromRuntimeCatalog, familyById, familyForBackend, labelForBackend, modeForBackend, modelBelongsToFamily, modelsForFamily, runtimeModeOptions, selectionForBackend } from "./data/runtime/runtime-mode.js";
|
|
22
24
|
import { ToolSchemaBrowser, ToolSchemaBrowser as ToolSchemaBrowser2 } from "./data/ai/ToolSchemaBrowser.js";
|
|
23
25
|
import { SessionChatComposer } from "./data/ai/SessionChatComposer.js";
|
|
24
26
|
import { SessionContextMeter } from "./data/ai/SessionViewer.header.js";
|
|
@@ -26,9 +28,10 @@ import { SessionInspector } from "./data/ai/SessionInspector.js";
|
|
|
26
28
|
import { SessionViewer } from "./data/ai/SessionViewer.js";
|
|
27
29
|
import { SpecRuntimeEditor } from "./data/ai/SpecRuntimeEditor/index.js";
|
|
28
30
|
import { ThreadPicker } from "./data/ai/ThreadPicker.js";
|
|
31
|
+
import { ToolPreferences } from "./data/ai/ToolPreferences.js";
|
|
29
32
|
import { compactTokens, formatCost } from "./lib/tokens.js";
|
|
30
33
|
import { costTotal, tokenTotal } from "./data/ai/session-cost.js";
|
|
31
|
-
import { effortOptionsForModel, reconcileModelCapabilities } from "./data/
|
|
34
|
+
import { effortOptionsForModel, reconcileModelCapabilities } from "./data/runtime/model-capabilities.js";
|
|
32
35
|
import { getSessionAction, getSessionMetadata, normalizeMessages, normalizeSession, splitMcpTool, summarizeSession } from "./data/ai/SessionViewer.model.js";
|
|
33
36
|
import { isValidPromptSpecDetail } from "./data/ai/PromptPicker/types.js";
|
|
34
37
|
import { makeContextId, parseContextPrefix, serializeContext } from "./data/ai/context.js";
|
|
@@ -61,8 +64,10 @@ export {
|
|
|
61
64
|
PromptPickerField,
|
|
62
65
|
PromptRunEditor,
|
|
63
66
|
PromptSourceRepair,
|
|
67
|
+
ProviderStatusPanel,
|
|
64
68
|
RuntimeBar,
|
|
65
69
|
RuntimeModePicker,
|
|
70
|
+
SESSION_TONES,
|
|
66
71
|
SPEC_CHECKOUT_MODES,
|
|
67
72
|
SPEC_COMMIT_CONDITIONS,
|
|
68
73
|
SPEC_COMMIT_GATES,
|
|
@@ -124,6 +129,7 @@ export {
|
|
|
124
129
|
runtimeModeOptions,
|
|
125
130
|
selectionForBackend,
|
|
126
131
|
serializeContext,
|
|
132
|
+
sessionTone,
|
|
127
133
|
specToPromptRuntimeValue,
|
|
128
134
|
splitMcpTool,
|
|
129
135
|
summarizeSession,
|
package/dist/ai.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/chat.cjs
CHANGED
|
@@ -12,10 +12,23 @@ const Message = require("./data/chat/Message.cjs");
|
|
|
12
12
|
const MessageActions = require("./data/chat/MessageActions.cjs");
|
|
13
13
|
const PromptInput = require("./data/chat/PromptInput.cjs");
|
|
14
14
|
const Reasoning = require("./data/chat/Reasoning.cjs");
|
|
15
|
+
const RuntimeBar = require("./data/runtime/RuntimeBar.cjs");
|
|
15
16
|
const Suggestion = require("./data/chat/Suggestion.cjs");
|
|
17
|
+
const ToolArgs = require("./data/chat/tool-render/ToolArgs.cjs");
|
|
16
18
|
const ToolCall = require("./data/chat/ToolCall.cjs");
|
|
19
|
+
const ToolParams = require("./data/chat/tool-render/ToolParams.cjs");
|
|
20
|
+
const adapter = require("./data/chat/tool-render/adapter.cjs");
|
|
21
|
+
const context = require("./data/chat/tool-render/context.cjs");
|
|
22
|
+
const ToolValue = require("./data/chat/tool-render/ToolValue.cjs");
|
|
23
|
+
const shape = require("./data/chat/tool-render/shape.cjs");
|
|
17
24
|
const clickyOperationsToTools = require("./data/chat/clickyOperationsToTools.cjs");
|
|
25
|
+
const registry = require("./data/chat/tool-render/registry.cjs");
|
|
18
26
|
const models = require("./data/chat/models.cjs");
|
|
27
|
+
const defaults = require("./data/chat/tool-render/defaults.cjs");
|
|
28
|
+
const summary = require("./data/chat/tool-render/summary.cjs");
|
|
29
|
+
const schema = require("./data/chat/tool-render/schema.cjs");
|
|
30
|
+
const knownTools = require("./data/chat/tool-render/known-tools.cjs");
|
|
31
|
+
const normalize = require("./data/chat/tool-render/normalize.cjs");
|
|
19
32
|
const providerIcons = require("./data/chat/provider-icons.cjs");
|
|
20
33
|
exports.AttachmentButton = Attachment.AttachmentButton;
|
|
21
34
|
exports.AttachmentList = Attachment.AttachmentList;
|
|
@@ -43,11 +56,34 @@ exports.Message = Message.Message;
|
|
|
43
56
|
exports.MessageActions = MessageActions.MessageActions;
|
|
44
57
|
exports.PromptInput = PromptInput.PromptInput;
|
|
45
58
|
exports.Reasoning = Reasoning.Reasoning;
|
|
59
|
+
exports.RuntimeBar = RuntimeBar.RuntimeBar;
|
|
46
60
|
exports.Suggestions = Suggestion.Suggestions;
|
|
61
|
+
exports.ToolArgs = ToolArgs.ToolArgs;
|
|
47
62
|
exports.ToolCall = ToolCall.ToolCall;
|
|
63
|
+
exports.ToolFieldValue = ToolParams.ToolFieldValue;
|
|
64
|
+
exports.ToolParams = ToolParams.ToolParams;
|
|
65
|
+
exports.ToolRenderRegistry = adapter.ToolRenderRegistry;
|
|
66
|
+
exports.toolNameAdapter = adapter.toolNameAdapter;
|
|
67
|
+
exports.ToolRenderRegistryProvider = context.ToolRenderRegistryProvider;
|
|
68
|
+
exports.useToolRenderRegistry = context.useToolRenderRegistry;
|
|
69
|
+
exports.ToolValue = ToolValue.ToolValue;
|
|
70
|
+
exports.classifyToolValue = shape.classifyToolValue;
|
|
71
|
+
exports.deriveColumns = shape.deriveColumns;
|
|
48
72
|
exports.clickyOperationsToTools = clickyOperationsToTools.clickyOperationsToTools;
|
|
49
73
|
exports.operationToTool = clickyOperationsToTools.operationToTool;
|
|
74
|
+
exports.createToolRenderRegistry = registry.createToolRenderRegistry;
|
|
75
|
+
exports.toToolRenderRegistry = registry.toToolRenderRegistry;
|
|
50
76
|
exports.defaultChatModelId = models.defaultChatModelId;
|
|
77
|
+
exports.defaultToolInputView = defaults.defaultToolInputView;
|
|
78
|
+
exports.defaultToolOutputView = defaults.defaultToolOutputView;
|
|
79
|
+
exports.defaultToolRenderAdapters = defaults.defaultToolRenderAdapters;
|
|
80
|
+
exports.defaultToolSummary = summary.defaultToolSummary;
|
|
81
|
+
exports.summarizeToolValue = summary.summarizeToolValue;
|
|
82
|
+
exports.fieldMetaFromSchema = schema.fieldMetaFromSchema;
|
|
83
|
+
exports.listItemsSchema = schema.listItemsSchema;
|
|
84
|
+
exports.orderFieldKeys = schema.orderFieldKeys;
|
|
85
|
+
exports.knownToolRenderAdapters = knownTools.knownToolRenderAdapters;
|
|
86
|
+
exports.normalizeToolOutput = normalize.normalizeToolOutput;
|
|
51
87
|
exports.providerIcon = providerIcons.providerIcon;
|
|
52
88
|
exports.providerIconColor = providerIcons.providerIconColor;
|
|
53
89
|
//# sourceMappingURL=chat.cjs.map
|
package/dist/chat.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/chat.js
CHANGED
|
@@ -10,10 +10,23 @@ import { Message } from "./data/chat/Message.js";
|
|
|
10
10
|
import { MessageActions } from "./data/chat/MessageActions.js";
|
|
11
11
|
import { PromptInput } from "./data/chat/PromptInput.js";
|
|
12
12
|
import { Reasoning } from "./data/chat/Reasoning.js";
|
|
13
|
+
import { RuntimeBar } from "./data/runtime/RuntimeBar.js";
|
|
13
14
|
import { Suggestions } from "./data/chat/Suggestion.js";
|
|
15
|
+
import { ToolArgs } from "./data/chat/tool-render/ToolArgs.js";
|
|
14
16
|
import { ToolCall } from "./data/chat/ToolCall.js";
|
|
17
|
+
import { ToolFieldValue, ToolParams } from "./data/chat/tool-render/ToolParams.js";
|
|
18
|
+
import { ToolRenderRegistry, toolNameAdapter } from "./data/chat/tool-render/adapter.js";
|
|
19
|
+
import { ToolRenderRegistryProvider, useToolRenderRegistry } from "./data/chat/tool-render/context.js";
|
|
20
|
+
import { ToolValue } from "./data/chat/tool-render/ToolValue.js";
|
|
21
|
+
import { classifyToolValue, deriveColumns } from "./data/chat/tool-render/shape.js";
|
|
15
22
|
import { clickyOperationsToTools, operationToTool } from "./data/chat/clickyOperationsToTools.js";
|
|
23
|
+
import { createToolRenderRegistry, toToolRenderRegistry } from "./data/chat/tool-render/registry.js";
|
|
16
24
|
import { defaultChatModelId } from "./data/chat/models.js";
|
|
25
|
+
import { defaultToolInputView, defaultToolOutputView, defaultToolRenderAdapters } from "./data/chat/tool-render/defaults.js";
|
|
26
|
+
import { defaultToolSummary, summarizeToolValue } from "./data/chat/tool-render/summary.js";
|
|
27
|
+
import { fieldMetaFromSchema, listItemsSchema, orderFieldKeys } from "./data/chat/tool-render/schema.js";
|
|
28
|
+
import { knownToolRenderAdapters } from "./data/chat/tool-render/known-tools.js";
|
|
29
|
+
import { normalizeToolOutput } from "./data/chat/tool-render/normalize.js";
|
|
17
30
|
import { providerIcon, providerIconColor } from "./data/chat/provider-icons.js";
|
|
18
31
|
export {
|
|
19
32
|
AttachmentButton,
|
|
@@ -33,21 +46,44 @@ export {
|
|
|
33
46
|
PromptInput,
|
|
34
47
|
ProviderSelector,
|
|
35
48
|
Reasoning,
|
|
49
|
+
RuntimeBar,
|
|
36
50
|
Suggestions,
|
|
51
|
+
ToolArgs,
|
|
37
52
|
ToolCall,
|
|
53
|
+
ToolFieldValue,
|
|
54
|
+
ToolParams,
|
|
55
|
+
ToolRenderRegistry,
|
|
56
|
+
ToolRenderRegistryProvider,
|
|
57
|
+
ToolValue,
|
|
58
|
+
classifyToolValue,
|
|
38
59
|
clickyOperationsToTools,
|
|
39
60
|
createAttachmentUploadAdapter,
|
|
61
|
+
createToolRenderRegistry,
|
|
40
62
|
defaultChatModelId,
|
|
63
|
+
defaultToolInputView,
|
|
64
|
+
defaultToolOutputView,
|
|
65
|
+
defaultToolRenderAdapters,
|
|
66
|
+
defaultToolSummary,
|
|
67
|
+
deriveColumns,
|
|
68
|
+
fieldMetaFromSchema,
|
|
41
69
|
isDynamicToolPart,
|
|
42
70
|
isFilePart,
|
|
43
71
|
isReasoningPart,
|
|
44
72
|
isTypedToolPart,
|
|
73
|
+
knownToolRenderAdapters,
|
|
74
|
+
listItemsSchema,
|
|
45
75
|
mockChatTransport,
|
|
76
|
+
normalizeToolOutput,
|
|
46
77
|
operationToTool,
|
|
78
|
+
orderFieldKeys,
|
|
47
79
|
providerIcon,
|
|
48
80
|
providerIconColor,
|
|
49
81
|
suggestionLabel,
|
|
50
82
|
suggestionPrompt,
|
|
51
|
-
|
|
83
|
+
summarizeToolValue,
|
|
84
|
+
toToolRenderRegistry,
|
|
85
|
+
toolNameAdapter,
|
|
86
|
+
toolPartName,
|
|
87
|
+
useToolRenderRegistry
|
|
52
88
|
};
|
|
53
89
|
//# sourceMappingURL=chat.js.map
|
package/dist/chat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const utils = require("../lib/utils.cjs");
|
|
6
6
|
const Icon = require("../data/Icon.cjs");
|
|
7
|
-
const jsonSchemaFormSize = require("./json-schema-form-size.cjs");
|
|
8
7
|
const modalStack = require("../overlay/modalStack.cjs");
|
|
9
|
-
const
|
|
8
|
+
const ComboboxControl = require("./ComboboxControl.cjs");
|
|
9
|
+
const useComboboxLayout = require("./useComboboxLayout.cjs");
|
|
10
10
|
const ComboboxMenu = require("./ComboboxMenu.cjs");
|
|
11
11
|
const comboboxUtils = require("./combobox-utils.cjs");
|
|
12
12
|
function Combobox(props) {
|
|
@@ -18,6 +18,8 @@ function Combobox(props) {
|
|
|
18
18
|
disabled,
|
|
19
19
|
required,
|
|
20
20
|
invalid,
|
|
21
|
+
ariaRequired,
|
|
22
|
+
describedBy,
|
|
21
23
|
allowCustomValue = true,
|
|
22
24
|
onNew,
|
|
23
25
|
onCreate,
|
|
@@ -33,12 +35,14 @@ function Combobox(props) {
|
|
|
33
35
|
} = props;
|
|
34
36
|
const multiple = props.multiple === true;
|
|
35
37
|
const tristate = props.multiple === true && props.tristate === true;
|
|
38
|
+
const tags = props.multiple === true && props.tristate !== true && props.variant === "tags";
|
|
36
39
|
const modes = react.useMemo(
|
|
37
40
|
() => props.multiple === true && props.tristate === true ? props.value : {},
|
|
38
41
|
[props.multiple, props.tristate, props.value]
|
|
39
42
|
);
|
|
40
43
|
const selectedValues = react.useMemo(() => {
|
|
41
|
-
if (props.multiple === true && props.tristate === true)
|
|
44
|
+
if (props.multiple === true && props.tristate === true)
|
|
45
|
+
return Object.keys(props.value);
|
|
42
46
|
if (props.multiple === true) return props.value;
|
|
43
47
|
return props.value ? [props.value] : [];
|
|
44
48
|
}, [props.multiple, props.tristate, props.value]);
|
|
@@ -49,10 +53,10 @@ function Combobox(props) {
|
|
|
49
53
|
const labelRef = react.useRef(null);
|
|
50
54
|
const [open, setOpen] = react.useState(false);
|
|
51
55
|
const floatingZ = modalStack.useFloatingZIndex();
|
|
52
|
-
const
|
|
56
|
+
const menuPos = useComboboxLayout.useComboboxMenuPosition(open, anchorRef);
|
|
53
57
|
const [query, setQuery] = react.useState("");
|
|
54
58
|
const [highlighted, setHighlighted] = react.useState(-1);
|
|
55
|
-
const
|
|
59
|
+
const labelWidth = useComboboxLayout.useComboboxLabelWidth(label, labelRef);
|
|
56
60
|
const isSelected = (optValue) => selectedValues.includes(optValue);
|
|
57
61
|
const selectedOption = react.useMemo(() => {
|
|
58
62
|
if (multiple) return void 0;
|
|
@@ -68,22 +72,22 @@ function Combobox(props) {
|
|
|
68
72
|
return [includes > 0 && `+${includes}`, excludes > 0 && `-${excludes}`].filter(Boolean).join(" ");
|
|
69
73
|
}
|
|
70
74
|
if (multiple) {
|
|
71
|
-
|
|
72
|
-
if (labels.length === 0) return "";
|
|
73
|
-
if (labels.length <= 2) return labels.join(", ");
|
|
74
|
-
return `${labels.length} selected`;
|
|
75
|
+
return comboboxUtils.multipleComboboxLabel(options, selectedValues);
|
|
75
76
|
}
|
|
76
77
|
const single = selectedValues[0] ?? "";
|
|
77
78
|
return (selectedOption == null ? void 0 : selectedOption.selectedLabel) ?? (selectedOption == null ? void 0 : selectedOption.label) ?? single;
|
|
78
79
|
}, [tristate, modes, multiple, options, selectedOption, selectedValues]);
|
|
79
80
|
const effectivePrefix = prefix ?? ((selectedOption == null ? void 0 : selectedOption.icon) != null ? /* @__PURE__ */ jsxRuntime.jsx(Icon.LabelIcon, { icon: selectedOption.icon, className: "size-4" }) : null);
|
|
80
|
-
const displayValue = open ? query : closedLabel;
|
|
81
|
+
const displayValue = tags ? query : open ? query : closedLabel;
|
|
81
82
|
const filtered = react.useMemo(() => {
|
|
82
83
|
if (onSearch) return comboboxUtils.withSelectedComboboxOptions(options, selectedValues);
|
|
83
84
|
const q = query.toLowerCase().trim();
|
|
84
85
|
if (!q) return options;
|
|
85
86
|
return options.filter(
|
|
86
|
-
(o) =>
|
|
87
|
+
(o) => {
|
|
88
|
+
var _a;
|
|
89
|
+
return o.label.toLowerCase().includes(q) || ((_a = o.description) == null ? void 0 : _a.toLowerCase().includes(q)) || o.value.toLowerCase().includes(q);
|
|
90
|
+
}
|
|
87
91
|
);
|
|
88
92
|
}, [onSearch, options, query, selectedValues]);
|
|
89
93
|
react.useEffect(() => {
|
|
@@ -92,23 +96,26 @@ function Combobox(props) {
|
|
|
92
96
|
return () => clearTimeout(handle);
|
|
93
97
|
}, [onSearch, open, query]);
|
|
94
98
|
const trimmedQuery = query.trim();
|
|
95
|
-
const customEntry = react.useMemo(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
99
|
+
const customEntry = react.useMemo(
|
|
100
|
+
() => comboboxUtils.createComboboxCustomEntry({
|
|
101
|
+
allowCustomValue,
|
|
102
|
+
query: trimmedQuery,
|
|
103
|
+
multiple,
|
|
104
|
+
tristate,
|
|
105
|
+
onNew,
|
|
106
|
+
choices: options,
|
|
107
|
+
selectedValues
|
|
108
|
+
}),
|
|
109
|
+
[
|
|
110
|
+
allowCustomValue,
|
|
111
|
+
multiple,
|
|
112
|
+
onNew,
|
|
113
|
+
options,
|
|
114
|
+
selectedValues,
|
|
115
|
+
trimmedQuery,
|
|
116
|
+
tristate
|
|
117
|
+
]
|
|
118
|
+
);
|
|
112
119
|
const navOptions = react.useMemo(
|
|
113
120
|
() => customEntry ? [...filtered, customEntry] : filtered,
|
|
114
121
|
[filtered, customEntry]
|
|
@@ -135,51 +142,6 @@ function Combobox(props) {
|
|
|
135
142
|
document.removeEventListener("focusin", onAway);
|
|
136
143
|
};
|
|
137
144
|
});
|
|
138
|
-
react.useLayoutEffect(() => {
|
|
139
|
-
if (label == null) {
|
|
140
|
-
setLabelWidth(0);
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
const el = labelRef.current;
|
|
144
|
-
if (el) setLabelWidth(el.offsetWidth);
|
|
145
|
-
}, [label]);
|
|
146
|
-
react.useLayoutEffect(() => {
|
|
147
|
-
if (!open) {
|
|
148
|
-
setMenuPos(null);
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
const update = () => {
|
|
152
|
-
const anchor = anchorRef.current;
|
|
153
|
-
if (!anchor) return;
|
|
154
|
-
const rect = anchor.getBoundingClientRect();
|
|
155
|
-
const viewportCap = window.innerWidth - rect.left - 8;
|
|
156
|
-
const maxWidth = Math.max(
|
|
157
|
-
rect.width,
|
|
158
|
-
Math.min(comboboxUtils.COMBOBOX_MENU_MAX_WIDTH_PX, viewportCap)
|
|
159
|
-
);
|
|
160
|
-
const spaceBelow = window.innerHeight - rect.bottom - 8;
|
|
161
|
-
const spaceAbove = rect.top - 8;
|
|
162
|
-
const openUp = spaceBelow < comboboxUtils.COMBOBOX_MENU_MAX_HEIGHT_PX && spaceAbove > spaceBelow;
|
|
163
|
-
const maxHeight = Math.min(
|
|
164
|
-
comboboxUtils.COMBOBOX_MENU_MAX_HEIGHT_PX,
|
|
165
|
-
openUp ? spaceAbove : spaceBelow
|
|
166
|
-
);
|
|
167
|
-
setMenuPos({
|
|
168
|
-
...openUp ? { bottom: window.innerHeight - rect.top + 4 } : { top: rect.bottom + 4 },
|
|
169
|
-
left: rect.left,
|
|
170
|
-
width: rect.width,
|
|
171
|
-
maxWidth,
|
|
172
|
-
maxHeight
|
|
173
|
-
});
|
|
174
|
-
};
|
|
175
|
-
update();
|
|
176
|
-
window.addEventListener("scroll", update, true);
|
|
177
|
-
window.addEventListener("resize", update);
|
|
178
|
-
return () => {
|
|
179
|
-
window.removeEventListener("scroll", update, true);
|
|
180
|
-
window.removeEventListener("resize", update);
|
|
181
|
-
};
|
|
182
|
-
}, [open]);
|
|
183
145
|
function emit(next) {
|
|
184
146
|
if (props.multiple === true && props.tristate !== true) {
|
|
185
147
|
props.onChange(next);
|
|
@@ -188,7 +150,8 @@ function Combobox(props) {
|
|
|
188
150
|
}
|
|
189
151
|
}
|
|
190
152
|
function emitModes(next) {
|
|
191
|
-
if (props.multiple === true && props.tristate === true)
|
|
153
|
+
if (props.multiple === true && props.tristate === true)
|
|
154
|
+
props.onChange(next);
|
|
192
155
|
}
|
|
193
156
|
function setMode(value, mode) {
|
|
194
157
|
const next = { ...modes };
|
|
@@ -209,15 +172,32 @@ function Combobox(props) {
|
|
|
209
172
|
setHighlighted(-1);
|
|
210
173
|
setOpen(true);
|
|
211
174
|
}
|
|
175
|
+
function createOptionValue(option) {
|
|
176
|
+
return onCreate ? onCreate(option) : option.value;
|
|
177
|
+
}
|
|
178
|
+
function emitCustomValue(value) {
|
|
179
|
+
if (tristate) {
|
|
180
|
+
setMode(value, "include");
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
if (multiple) {
|
|
184
|
+
if (!selectedValues.includes(value)) emit([...selectedValues, value]);
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
emit([value]);
|
|
188
|
+
}
|
|
212
189
|
function commitAndClose() {
|
|
213
190
|
const trimmed = query.trim();
|
|
214
|
-
if (
|
|
191
|
+
if (customEntry) {
|
|
192
|
+
const created = createOptionValue(customEntry);
|
|
193
|
+
if (created !== null) emitCustomValue(created);
|
|
194
|
+
} else if (!multiple && allowCustomValue && trimmed && trimmed !== selectedValues[0]) {
|
|
215
195
|
const existing = options.find((option) => option.value === trimmed);
|
|
216
196
|
const candidate = existing ?? (onNew ? onNew(trimmed) : {
|
|
217
197
|
value: trimmed,
|
|
218
198
|
label: trimmed
|
|
219
199
|
});
|
|
220
|
-
const created = candidate ? existing ? existing.value :
|
|
200
|
+
const created = candidate ? existing ? existing.value : createOptionValue(candidate) : null;
|
|
221
201
|
if (created !== null) emit([created]);
|
|
222
202
|
}
|
|
223
203
|
setQuery("");
|
|
@@ -227,15 +207,12 @@ function Combobox(props) {
|
|
|
227
207
|
function selectOption(opt) {
|
|
228
208
|
var _a, _b, _c, _d;
|
|
229
209
|
if (opt === customEntry) {
|
|
230
|
-
const created =
|
|
231
|
-
if (created !== null)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
if (!tristate) {
|
|
236
|
-
setQuery("");
|
|
210
|
+
const created = createOptionValue(opt);
|
|
211
|
+
if (created !== null) emitCustomValue(created);
|
|
212
|
+
setQuery("");
|
|
213
|
+
setHighlighted(-1);
|
|
214
|
+
if (!multiple) {
|
|
237
215
|
setOpen(false);
|
|
238
|
-
setHighlighted(-1);
|
|
239
216
|
}
|
|
240
217
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
241
218
|
return;
|
|
@@ -268,6 +245,11 @@ function Combobox(props) {
|
|
|
268
245
|
setHighlighted(-1);
|
|
269
246
|
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
270
247
|
}
|
|
248
|
+
function removeTag(value) {
|
|
249
|
+
var _a;
|
|
250
|
+
emit(selectedValues.filter((selected) => selected !== value));
|
|
251
|
+
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
252
|
+
}
|
|
271
253
|
function scrollToHighlighted(index) {
|
|
272
254
|
var _a;
|
|
273
255
|
const list = listRef.current;
|
|
@@ -276,7 +258,10 @@ function Combobox(props) {
|
|
|
276
258
|
(_a = item == null ? void 0 : item.scrollIntoView) == null ? void 0 : _a.call(item, { block: "nearest" });
|
|
277
259
|
}
|
|
278
260
|
function onKeyDown(e) {
|
|
279
|
-
if (e.key === "
|
|
261
|
+
if (tags && e.key === "Backspace" && query === "" && selectedValues.length > 0) {
|
|
262
|
+
e.preventDefault();
|
|
263
|
+
emit(selectedValues.slice(0, -1));
|
|
264
|
+
} else if (e.key === "ArrowDown") {
|
|
280
265
|
e.preventDefault();
|
|
281
266
|
if (!open) {
|
|
282
267
|
openMenu();
|
|
@@ -297,6 +282,11 @@ function Combobox(props) {
|
|
|
297
282
|
selectOption(navOptions[highlighted]);
|
|
298
283
|
return;
|
|
299
284
|
}
|
|
285
|
+
if (open && multiple && customEntry) {
|
|
286
|
+
e.preventDefault();
|
|
287
|
+
selectOption(customEntry);
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
300
290
|
commitAndClose();
|
|
301
291
|
onKeyDownProp == null ? void 0 : onKeyDownProp(e);
|
|
302
292
|
} else if (e.key === "Escape") {
|
|
@@ -314,74 +304,53 @@ function Combobox(props) {
|
|
|
314
304
|
const ariaLabel = ariaLabelProp ?? (typeof label === "string" ? label : void 0);
|
|
315
305
|
const showClear = !required && !loading && !disabled && selectedValues.length > 0;
|
|
316
306
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: rootRef, className: utils.cn("relative", className), children: [
|
|
317
|
-
/* @__PURE__ */ jsxRuntime.
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
effectivePrefix && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-y-0 left-1.5 flex items-center", children: effectivePrefix }),
|
|
365
|
-
suffix && /* @__PURE__ */ jsxRuntime.jsx("div", { className: utils.cn("absolute flex h-full items-center", showClear ? "right-[3.75rem]" : "right-7"), children: suffix }),
|
|
366
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
367
|
-
ComboboxActions.ComboboxActions,
|
|
368
|
-
{
|
|
369
|
-
disabled,
|
|
370
|
-
loading,
|
|
371
|
-
onClear: clear,
|
|
372
|
-
onToggle: () => {
|
|
373
|
-
var _a;
|
|
374
|
-
if (open) {
|
|
375
|
-
commitAndClose();
|
|
376
|
-
} else {
|
|
377
|
-
openMenu();
|
|
378
|
-
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
showClear
|
|
382
|
-
}
|
|
383
|
-
)
|
|
384
|
-
] }),
|
|
307
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
308
|
+
ComboboxControl.ComboboxControl,
|
|
309
|
+
{
|
|
310
|
+
anchorRef,
|
|
311
|
+
ariaLabel,
|
|
312
|
+
ariaRequired,
|
|
313
|
+
closedLabel,
|
|
314
|
+
describedBy,
|
|
315
|
+
disabled,
|
|
316
|
+
displayValue,
|
|
317
|
+
effectivePrefix,
|
|
318
|
+
highlighted,
|
|
319
|
+
id,
|
|
320
|
+
inputRef,
|
|
321
|
+
invalid,
|
|
322
|
+
label,
|
|
323
|
+
labelRef,
|
|
324
|
+
labelWidth,
|
|
325
|
+
listId,
|
|
326
|
+
loading,
|
|
327
|
+
onClear: clear,
|
|
328
|
+
onInput: (value) => {
|
|
329
|
+
setQuery(value);
|
|
330
|
+
if (!open) setOpen(true);
|
|
331
|
+
},
|
|
332
|
+
onKeyDown,
|
|
333
|
+
onOpen: openMenu,
|
|
334
|
+
onRemoveTag: removeTag,
|
|
335
|
+
onToggle: () => {
|
|
336
|
+
var _a;
|
|
337
|
+
if (open) {
|
|
338
|
+
commitAndClose();
|
|
339
|
+
} else {
|
|
340
|
+
openMenu();
|
|
341
|
+
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
open,
|
|
345
|
+
options,
|
|
346
|
+
placeholder,
|
|
347
|
+
showClear,
|
|
348
|
+
size,
|
|
349
|
+
suffix,
|
|
350
|
+
tagValues: selectedValues,
|
|
351
|
+
tags
|
|
352
|
+
}
|
|
353
|
+
),
|
|
385
354
|
open && menuPos && typeof document !== "undefined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
386
355
|
ComboboxMenu.ComboboxMenu,
|
|
387
356
|
{
|