@aheart-ui/ai 1.2.0 → 2.0.0-alpha.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/cjs/full.js +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/package.json +6 -0
- package/dist/compat/es/actions/index.d.ts +2 -0
- package/dist/compat/es/actions/index.js +2 -0
- package/dist/compat/es/actions.vue.d.ts +2 -0
- package/dist/compat/es/actions.vue.js +2 -0
- package/dist/compat/es/actions.vue2.js +2 -0
- package/dist/compat/es/agent/index.d.ts +1 -0
- package/dist/compat/es/agent/index.js +1 -0
- package/dist/compat/es/agent-execution.vue.d.ts +2 -0
- package/dist/compat/es/agent-execution.vue.js +2 -0
- package/dist/compat/es/agent-execution.vue2.js +2 -0
- package/dist/compat/es/agent-workbench/index.d.ts +2 -0
- package/dist/compat/es/agent-workbench/index.js +2 -0
- package/dist/compat/es/agent-workbench.vue.d.ts +2 -0
- package/dist/compat/es/agent-workbench.vue.js +2 -0
- package/dist/compat/es/agent-workbench.vue2.js +2 -0
- package/dist/compat/es/attachments/index.d.ts +2 -0
- package/dist/compat/es/attachments/index.js +2 -0
- package/dist/compat/es/attachments.vue.d.ts +2 -0
- package/dist/compat/es/attachments.vue.js +2 -0
- package/dist/compat/es/attachments.vue2.js +2 -0
- package/dist/compat/es/bubble/index.d.ts +2 -0
- package/dist/compat/es/bubble/index.js +2 -0
- package/dist/compat/es/bubble.vue.d.ts +2 -0
- package/dist/compat/es/bubble.vue.js +2 -0
- package/dist/compat/es/bubble.vue2.js +2 -0
- package/dist/compat/es/chat/index.d.ts +1 -0
- package/dist/compat/es/chat/index.js +1 -0
- package/dist/compat/es/chat-panel/index.d.ts +2 -0
- package/dist/compat/es/chat-panel/index.js +2 -0
- package/dist/compat/es/chat-panel.vue.d.ts +2 -0
- package/dist/compat/es/chat-panel.vue.js +2 -0
- package/dist/compat/es/chat-panel.vue2.js +2 -0
- package/dist/compat/es/conversations/index.d.ts +2 -0
- package/dist/compat/es/conversations/index.js +2 -0
- package/dist/compat/es/conversations.vue.d.ts +2 -0
- package/dist/compat/es/conversations.vue.js +2 -0
- package/dist/compat/es/conversations.vue2.js +2 -0
- package/dist/compat/es/form/index.d.ts +2 -0
- package/dist/compat/es/form/index.js +2 -0
- package/dist/compat/es/form-field.vue.d.ts +2 -0
- package/dist/compat/es/form-field.vue.js +2 -0
- package/dist/compat/es/form-field.vue2.js +2 -0
- package/dist/compat/es/form-schema.d.ts +1 -0
- package/dist/compat/es/form-schema.js +1 -0
- package/dist/compat/es/form.vue.d.ts +2 -0
- package/dist/compat/es/form.vue.js +2 -0
- package/dist/compat/es/form.vue2.js +2 -0
- package/dist/compat/es/full.d.ts +2 -0
- package/dist/compat/es/full.js +2 -0
- package/dist/compat/es/index.d.ts +2 -0
- package/dist/compat/es/index.js +2 -0
- package/dist/compat/es/package.json +6 -0
- package/dist/compat/es/process/index.d.ts +2 -0
- package/dist/compat/es/process/index.js +2 -0
- package/dist/compat/es/process.vue.d.ts +2 -0
- package/dist/compat/es/process.vue.js +2 -0
- package/dist/compat/es/process.vue2.js +2 -0
- package/dist/compat/es/prompts/index.d.ts +2 -0
- package/dist/compat/es/prompts/index.js +2 -0
- package/dist/compat/es/prompts.vue.d.ts +2 -0
- package/dist/compat/es/prompts.vue.js +2 -0
- package/dist/compat/es/prompts.vue2.js +2 -0
- package/dist/compat/es/safe-markdown.d.ts +1 -0
- package/dist/compat/es/safe-markdown.js +1 -0
- package/dist/compat/es/sender/index.d.ts +2 -0
- package/dist/compat/es/sender/index.js +2 -0
- package/dist/compat/es/sender.vue.d.ts +2 -0
- package/dist/compat/es/sender.vue.js +2 -0
- package/dist/compat/es/sender.vue2.js +2 -0
- package/dist/compat/es/sources/index.d.ts +2 -0
- package/dist/compat/es/sources/index.js +2 -0
- package/dist/compat/es/sources.vue.d.ts +2 -0
- package/dist/compat/es/sources.vue.js +2 -0
- package/dist/compat/es/sources.vue2.js +2 -0
- package/dist/compat/es/stream-reducer.d.ts +1 -0
- package/dist/compat/es/stream-reducer.js +1 -0
- package/dist/compat/es/thought-chain/index.d.ts +2 -0
- package/dist/compat/es/thought-chain/index.js +2 -0
- package/dist/compat/es/thought-chain.vue.d.ts +2 -0
- package/dist/compat/es/thought-chain.vue.js +2 -0
- package/dist/compat/es/thought-chain.vue2.js +2 -0
- package/dist/compat/es/types.d.ts +1 -0
- package/dist/compat/es/welcome/index.d.ts +2 -0
- package/dist/compat/es/welcome/index.js +2 -0
- package/dist/compat/es/welcome.vue.d.ts +2 -0
- package/dist/compat/es/welcome.vue.js +2 -0
- package/dist/compat/es/welcome.vue2.js +2 -0
- package/dist/compat/lib/actions/index.d.ts +2 -0
- package/dist/compat/lib/actions/index.js +1 -0
- package/dist/compat/lib/actions.vue.d.ts +2 -0
- package/dist/compat/lib/actions.vue.js +1 -0
- package/dist/compat/lib/actions.vue2.js +1 -0
- package/dist/compat/lib/agent/index.d.ts +1 -0
- package/dist/compat/lib/agent/index.js +1 -0
- package/dist/compat/lib/agent-execution.vue.d.ts +2 -0
- package/dist/compat/lib/agent-execution.vue.js +1 -0
- package/dist/compat/lib/agent-execution.vue2.js +1 -0
- package/dist/compat/lib/agent-workbench/index.d.ts +2 -0
- package/dist/compat/lib/agent-workbench/index.js +1 -0
- package/dist/compat/lib/agent-workbench.vue.d.ts +2 -0
- package/dist/compat/lib/agent-workbench.vue.js +1 -0
- package/dist/compat/lib/agent-workbench.vue2.js +1 -0
- package/dist/compat/lib/attachments/index.d.ts +2 -0
- package/dist/compat/lib/attachments/index.js +1 -0
- package/dist/compat/lib/attachments.vue.d.ts +2 -0
- package/dist/compat/lib/attachments.vue.js +1 -0
- package/dist/compat/lib/attachments.vue2.js +1 -0
- package/dist/compat/lib/bubble/index.d.ts +2 -0
- package/dist/compat/lib/bubble/index.js +1 -0
- package/dist/compat/lib/bubble.vue.d.ts +2 -0
- package/dist/compat/lib/bubble.vue.js +1 -0
- package/dist/compat/lib/bubble.vue2.js +1 -0
- package/dist/compat/lib/chat/index.d.ts +1 -0
- package/dist/compat/lib/chat/index.js +1 -0
- package/dist/compat/lib/chat-panel/index.d.ts +2 -0
- package/dist/compat/lib/chat-panel/index.js +1 -0
- package/dist/compat/lib/chat-panel.vue.d.ts +2 -0
- package/dist/compat/lib/chat-panel.vue.js +1 -0
- package/dist/compat/lib/chat-panel.vue2.js +1 -0
- package/dist/compat/lib/conversations/index.d.ts +2 -0
- package/dist/compat/lib/conversations/index.js +1 -0
- package/dist/compat/lib/conversations.vue.d.ts +2 -0
- package/dist/compat/lib/conversations.vue.js +1 -0
- package/dist/compat/lib/conversations.vue2.js +1 -0
- package/dist/compat/lib/form/index.d.ts +2 -0
- package/dist/compat/lib/form/index.js +1 -0
- package/dist/compat/lib/form-field.vue.d.ts +2 -0
- package/dist/compat/lib/form-field.vue.js +1 -0
- package/dist/compat/lib/form-field.vue2.js +1 -0
- package/dist/compat/lib/form-schema.d.ts +1 -0
- package/dist/compat/lib/form-schema.js +1 -0
- package/dist/compat/lib/form.vue.d.ts +2 -0
- package/dist/compat/lib/form.vue.js +1 -0
- package/dist/compat/lib/form.vue2.js +1 -0
- package/dist/compat/lib/full.d.ts +2 -0
- package/dist/compat/lib/full.js +1 -0
- package/dist/compat/lib/index.d.ts +2 -0
- package/dist/compat/lib/index.js +1 -0
- package/dist/compat/lib/package.json +6 -0
- package/dist/compat/lib/process/index.d.ts +2 -0
- package/dist/compat/lib/process/index.js +1 -0
- package/dist/compat/lib/process.vue.d.ts +2 -0
- package/dist/compat/lib/process.vue.js +1 -0
- package/dist/compat/lib/process.vue2.js +1 -0
- package/dist/compat/lib/prompts/index.d.ts +2 -0
- package/dist/compat/lib/prompts/index.js +1 -0
- package/dist/compat/lib/prompts.vue.d.ts +2 -0
- package/dist/compat/lib/prompts.vue.js +1 -0
- package/dist/compat/lib/prompts.vue2.js +1 -0
- package/dist/compat/lib/safe-markdown.d.ts +1 -0
- package/dist/compat/lib/safe-markdown.js +1 -0
- package/dist/compat/lib/sender/index.d.ts +2 -0
- package/dist/compat/lib/sender/index.js +1 -0
- package/dist/compat/lib/sender.vue.d.ts +2 -0
- package/dist/compat/lib/sender.vue.js +1 -0
- package/dist/compat/lib/sender.vue2.js +1 -0
- package/dist/compat/lib/sources/index.d.ts +2 -0
- package/dist/compat/lib/sources/index.js +1 -0
- package/dist/compat/lib/sources.vue.d.ts +2 -0
- package/dist/compat/lib/sources.vue.js +1 -0
- package/dist/compat/lib/sources.vue2.js +1 -0
- package/dist/compat/lib/stream-reducer.d.ts +1 -0
- package/dist/compat/lib/stream-reducer.js +1 -0
- package/dist/compat/lib/thought-chain/index.d.ts +2 -0
- package/dist/compat/lib/thought-chain/index.js +1 -0
- package/dist/compat/lib/thought-chain.vue.d.ts +2 -0
- package/dist/compat/lib/thought-chain.vue.js +1 -0
- package/dist/compat/lib/thought-chain.vue2.js +1 -0
- package/dist/compat/lib/types.d.ts +1 -0
- package/dist/compat/lib/welcome/index.d.ts +2 -0
- package/dist/compat/lib/welcome/index.js +1 -0
- package/dist/compat/lib/welcome.vue.d.ts +2 -0
- package/dist/compat/lib/welcome.vue.js +1 -0
- package/dist/compat/lib/welcome.vue2.js +1 -0
- package/dist/esm/full.js +42 -0
- package/dist/esm/index.js +39 -0
- package/dist/esm/package.json +6 -0
- package/dist/styles/actions/style.css +36 -0
- package/dist/styles/agent/style.css +3241 -0
- package/dist/styles/agent-workbench/style.css +2423 -0
- package/dist/styles/attachments/style.css +62 -0
- package/dist/styles/bubble/style.css +241 -0
- package/dist/styles/chat/style.css +595 -0
- package/dist/styles/chat-panel/style.css +591 -0
- package/dist/styles/conversations/style.css +48 -0
- package/dist/styles/form/style.css +3175 -0
- package/dist/styles/process/style.css +77 -0
- package/dist/styles/prompts/style.css +76 -0
- package/dist/styles/sender/style.css +88 -0
- package/dist/styles/sources/style.css +54 -0
- package/dist/styles/style.css +1586 -0
- package/dist/styles/thought-chain/style.css +77 -0
- package/dist/styles/welcome/style.css +33 -0
- package/dist/types/full.d.ts +6 -0
- package/{lib → dist/types}/index.d.ts +1 -2
- package/package.json +111 -85
- package/es/index.d.ts +0 -20
- package/es/index.js +0 -42
- package/es/package.json +0 -3
- package/lib/actions/index.d.ts +0 -2
- package/lib/actions.vue.d.ts +0 -34
- package/lib/agent/index.d.ts +0 -5
- package/lib/agent-execution.vue.d.ts +0 -106
- package/lib/agent-workbench/index.d.ts +0 -2
- package/lib/agent-workbench.vue.d.ts +0 -186
- package/lib/attachments/index.d.ts +0 -2
- package/lib/attachments.vue.d.ts +0 -39
- package/lib/bubble/index.d.ts +0 -2
- package/lib/bubble.vue.d.ts +0 -27
- package/lib/chat/index.d.ts +0 -11
- package/lib/chat-panel/index.d.ts +0 -3
- package/lib/chat-panel.vue.d.ts +0 -108
- package/lib/conversations/index.d.ts +0 -2
- package/lib/conversations.vue.d.ts +0 -39
- package/lib/form/index.d.ts +0 -3
- package/lib/form-field.vue.d.ts +0 -28
- package/lib/form-schema.d.ts +0 -73
- package/lib/form.vue.d.ts +0 -81
- package/lib/index.js +0 -1
- package/lib/package.json +0 -3
- package/lib/process/index.d.ts +0 -2
- package/lib/process.vue.d.ts +0 -30
- package/lib/prompts/index.d.ts +0 -2
- package/lib/prompts.vue.d.ts +0 -39
- package/lib/safe-markdown.d.ts +0 -3
- package/lib/sender/index.d.ts +0 -2
- package/lib/sender.vue.d.ts +0 -52
- package/lib/sources/index.d.ts +0 -2
- package/lib/sources.vue.d.ts +0 -30
- package/lib/stream-reducer.d.ts +0 -35
- package/lib/thought-chain/index.d.ts +0 -2
- package/lib/thought-chain.vue.d.ts +0 -30
- package/lib/types.d.ts +0 -203
- package/lib/welcome/index.d.ts +0 -2
- package/lib/welcome.vue.d.ts +0 -41
- /package/{lib → dist/cjs}/actions/index.js +0 -0
- /package/{lib → dist/cjs}/actions.vue.js +0 -0
- /package/{lib → dist/cjs}/actions.vue2.js +0 -0
- /package/{lib → dist/cjs}/agent/index.js +0 -0
- /package/{lib → dist/cjs}/agent-execution.vue.js +0 -0
- /package/{lib → dist/cjs}/agent-execution.vue2.js +0 -0
- /package/{lib → dist/cjs}/agent-workbench/index.js +0 -0
- /package/{lib → dist/cjs}/agent-workbench.vue.js +0 -0
- /package/{lib → dist/cjs}/agent-workbench.vue2.js +0 -0
- /package/{lib → dist/cjs}/attachments/index.js +0 -0
- /package/{lib → dist/cjs}/attachments.vue.js +0 -0
- /package/{lib → dist/cjs}/attachments.vue2.js +0 -0
- /package/{lib → dist/cjs}/bubble/index.js +0 -0
- /package/{lib → dist/cjs}/bubble.vue.js +0 -0
- /package/{lib → dist/cjs}/bubble.vue2.js +0 -0
- /package/{lib → dist/cjs}/chat/index.js +0 -0
- /package/{lib → dist/cjs}/chat-panel/index.js +0 -0
- /package/{lib → dist/cjs}/chat-panel.vue.js +0 -0
- /package/{lib → dist/cjs}/chat-panel.vue2.js +0 -0
- /package/{lib → dist/cjs}/conversations/index.js +0 -0
- /package/{lib → dist/cjs}/conversations.vue.js +0 -0
- /package/{lib → dist/cjs}/conversations.vue2.js +0 -0
- /package/{lib → dist/cjs}/form/index.js +0 -0
- /package/{lib → dist/cjs}/form-field.vue.js +0 -0
- /package/{lib → dist/cjs}/form-field.vue2.js +0 -0
- /package/{lib → dist/cjs}/form-schema.js +0 -0
- /package/{lib → dist/cjs}/form.vue.js +0 -0
- /package/{lib → dist/cjs}/form.vue2.js +0 -0
- /package/{lib → dist/cjs}/process/index.js +0 -0
- /package/{lib → dist/cjs}/process.vue.js +0 -0
- /package/{lib → dist/cjs}/process.vue2.js +0 -0
- /package/{lib → dist/cjs}/prompts/index.js +0 -0
- /package/{lib → dist/cjs}/prompts.vue.js +0 -0
- /package/{lib → dist/cjs}/prompts.vue2.js +0 -0
- /package/{lib → dist/cjs}/safe-markdown.js +0 -0
- /package/{lib → dist/cjs}/sender/index.js +0 -0
- /package/{lib → dist/cjs}/sender.vue.js +0 -0
- /package/{lib → dist/cjs}/sender.vue2.js +0 -0
- /package/{lib → dist/cjs}/sources/index.js +0 -0
- /package/{lib → dist/cjs}/sources.vue.js +0 -0
- /package/{lib → dist/cjs}/sources.vue2.js +0 -0
- /package/{lib → dist/cjs}/stream-reducer.js +0 -0
- /package/{lib → dist/cjs}/thought-chain/index.js +0 -0
- /package/{lib → dist/cjs}/thought-chain.vue.js +0 -0
- /package/{lib → dist/cjs}/thought-chain.vue2.js +0 -0
- /package/{lib → dist/cjs}/welcome/index.js +0 -0
- /package/{lib → dist/cjs}/welcome.vue.js +0 -0
- /package/{lib → dist/cjs}/welcome.vue2.js +0 -0
- /package/{es → dist/compat/es}/actions/style.css +0 -0
- /package/{es → dist/compat/es}/agent/style.css +0 -0
- /package/{es → dist/compat/es}/agent-workbench/style.css +0 -0
- /package/{es → dist/compat/es}/attachments/style.css +0 -0
- /package/{es → dist/compat/es}/bubble/style.css +0 -0
- /package/{es → dist/compat/es}/chat/style.css +0 -0
- /package/{es → dist/compat/es}/chat-panel/style.css +0 -0
- /package/{es → dist/compat/es}/conversations/style.css +0 -0
- /package/{es → dist/compat/es}/form/style.css +0 -0
- /package/{es → dist/compat/es}/process/style.css +0 -0
- /package/{es → dist/compat/es}/prompts/style.css +0 -0
- /package/{es → dist/compat/es}/sender/style.css +0 -0
- /package/{es → dist/compat/es}/sources/style.css +0 -0
- /package/{es → dist/compat/es}/style.css +0 -0
- /package/{es → dist/compat/es}/thought-chain/style.css +0 -0
- /package/{es → dist/compat/es}/welcome/style.css +0 -0
- /package/{lib → dist/compat/lib}/actions/style.css +0 -0
- /package/{lib → dist/compat/lib}/agent/style.css +0 -0
- /package/{lib → dist/compat/lib}/agent-workbench/style.css +0 -0
- /package/{lib → dist/compat/lib}/attachments/style.css +0 -0
- /package/{lib → dist/compat/lib}/bubble/style.css +0 -0
- /package/{lib → dist/compat/lib}/chat/style.css +0 -0
- /package/{lib → dist/compat/lib}/chat-panel/style.css +0 -0
- /package/{lib → dist/compat/lib}/conversations/style.css +0 -0
- /package/{lib → dist/compat/lib}/form/style.css +0 -0
- /package/{lib → dist/compat/lib}/process/style.css +0 -0
- /package/{lib → dist/compat/lib}/prompts/style.css +0 -0
- /package/{lib → dist/compat/lib}/sender/style.css +0 -0
- /package/{lib → dist/compat/lib}/sources/style.css +0 -0
- /package/{lib → dist/compat/lib}/style.css +0 -0
- /package/{lib → dist/compat/lib}/thought-chain/style.css +0 -0
- /package/{lib → dist/compat/lib}/welcome/style.css +0 -0
- /package/{es → dist/esm}/actions/index.js +0 -0
- /package/{es → dist/esm}/actions.vue.js +0 -0
- /package/{es → dist/esm}/actions.vue2.js +0 -0
- /package/{es → dist/esm}/agent/index.js +0 -0
- /package/{es → dist/esm}/agent-execution.vue.js +0 -0
- /package/{es → dist/esm}/agent-execution.vue2.js +0 -0
- /package/{es → dist/esm}/agent-workbench/index.js +0 -0
- /package/{es → dist/esm}/agent-workbench.vue.js +0 -0
- /package/{es → dist/esm}/agent-workbench.vue2.js +0 -0
- /package/{es → dist/esm}/attachments/index.js +0 -0
- /package/{es → dist/esm}/attachments.vue.js +0 -0
- /package/{es → dist/esm}/attachments.vue2.js +0 -0
- /package/{es → dist/esm}/bubble/index.js +0 -0
- /package/{es → dist/esm}/bubble.vue.js +0 -0
- /package/{es → dist/esm}/bubble.vue2.js +0 -0
- /package/{es → dist/esm}/chat/index.js +0 -0
- /package/{es → dist/esm}/chat-panel/index.js +0 -0
- /package/{es → dist/esm}/chat-panel.vue.js +0 -0
- /package/{es → dist/esm}/chat-panel.vue2.js +0 -0
- /package/{es → dist/esm}/conversations/index.js +0 -0
- /package/{es → dist/esm}/conversations.vue.js +0 -0
- /package/{es → dist/esm}/conversations.vue2.js +0 -0
- /package/{es → dist/esm}/form/index.js +0 -0
- /package/{es → dist/esm}/form-field.vue.js +0 -0
- /package/{es → dist/esm}/form-field.vue2.js +0 -0
- /package/{es → dist/esm}/form-schema.js +0 -0
- /package/{es → dist/esm}/form.vue.js +0 -0
- /package/{es → dist/esm}/form.vue2.js +0 -0
- /package/{es → dist/esm}/process/index.js +0 -0
- /package/{es → dist/esm}/process.vue.js +0 -0
- /package/{es → dist/esm}/process.vue2.js +0 -0
- /package/{es → dist/esm}/prompts/index.js +0 -0
- /package/{es → dist/esm}/prompts.vue.js +0 -0
- /package/{es → dist/esm}/prompts.vue2.js +0 -0
- /package/{es → dist/esm}/safe-markdown.js +0 -0
- /package/{es → dist/esm}/sender/index.js +0 -0
- /package/{es → dist/esm}/sender.vue.js +0 -0
- /package/{es → dist/esm}/sender.vue2.js +0 -0
- /package/{es → dist/esm}/sources/index.js +0 -0
- /package/{es → dist/esm}/sources.vue.js +0 -0
- /package/{es → dist/esm}/sources.vue2.js +0 -0
- /package/{es → dist/esm}/stream-reducer.js +0 -0
- /package/{es → dist/esm}/thought-chain/index.js +0 -0
- /package/{es → dist/esm}/thought-chain.vue.js +0 -0
- /package/{es → dist/esm}/thought-chain.vue2.js +0 -0
- /package/{es → dist/esm}/welcome/index.js +0 -0
- /package/{es → dist/esm}/welcome.vue.js +0 -0
- /package/{es → dist/esm}/welcome.vue2.js +0 -0
- /package/{es → dist/types}/actions/index.d.ts +0 -0
- /package/{es → dist/types}/actions.vue.d.ts +0 -0
- /package/{es → dist/types}/agent/index.d.ts +0 -0
- /package/{es → dist/types}/agent-execution.vue.d.ts +0 -0
- /package/{es → dist/types}/agent-workbench/index.d.ts +0 -0
- /package/{es → dist/types}/agent-workbench.vue.d.ts +0 -0
- /package/{es → dist/types}/attachments/index.d.ts +0 -0
- /package/{es → dist/types}/attachments.vue.d.ts +0 -0
- /package/{es → dist/types}/bubble/index.d.ts +0 -0
- /package/{es → dist/types}/bubble.vue.d.ts +0 -0
- /package/{es → dist/types}/chat/index.d.ts +0 -0
- /package/{es → dist/types}/chat-panel/index.d.ts +0 -0
- /package/{es → dist/types}/chat-panel.vue.d.ts +0 -0
- /package/{es → dist/types}/conversations/index.d.ts +0 -0
- /package/{es → dist/types}/conversations.vue.d.ts +0 -0
- /package/{es → dist/types}/form/index.d.ts +0 -0
- /package/{es → dist/types}/form-field.vue.d.ts +0 -0
- /package/{es → dist/types}/form-schema.d.ts +0 -0
- /package/{es → dist/types}/form.vue.d.ts +0 -0
- /package/{es → dist/types}/process/index.d.ts +0 -0
- /package/{es → dist/types}/process.vue.d.ts +0 -0
- /package/{es → dist/types}/prompts/index.d.ts +0 -0
- /package/{es → dist/types}/prompts.vue.d.ts +0 -0
- /package/{es → dist/types}/safe-markdown.d.ts +0 -0
- /package/{es → dist/types}/sender/index.d.ts +0 -0
- /package/{es → dist/types}/sender.vue.d.ts +0 -0
- /package/{es → dist/types}/sources/index.d.ts +0 -0
- /package/{es → dist/types}/sources.vue.d.ts +0 -0
- /package/{es → dist/types}/stream-reducer.d.ts +0 -0
- /package/{es → dist/types}/thought-chain/index.d.ts +0 -0
- /package/{es → dist/types}/thought-chain.vue.d.ts +0 -0
- /package/{es → dist/types}/types.d.ts +0 -0
- /package/{es → dist/types}/welcome/index.d.ts +0 -0
- /package/{es → dist/types}/welcome.vue.d.ts +0 -0
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import type { AIAgentActionHandler, AIAgentArtifact, AIAgentContextItem, AIAgentOperationRequest, AIAgentTask, AIAttachment, AIConversation, AIMessage, AIPrompt, AISource, AITransport, AITransportV2 } from './types';
|
|
2
|
-
type WorkbenchPanelSize = number | `${number}%` | 'auto';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
title?: string | undefined;
|
|
5
|
-
description?: string | undefined;
|
|
6
|
-
panelSizes?: WorkbenchPanelSize[] | undefined;
|
|
7
|
-
conversations?: AIConversation[] | undefined;
|
|
8
|
-
activeConversation?: string | undefined;
|
|
9
|
-
messages?: AIMessage[] | undefined;
|
|
10
|
-
prompts?: AIPrompt[] | undefined;
|
|
11
|
-
transport?: AITransport | AITransportV2 | undefined;
|
|
12
|
-
tasks?: AIAgentTask[] | undefined;
|
|
13
|
-
contextItems?: AIAgentContextItem[] | undefined;
|
|
14
|
-
sources?: AISource[] | undefined;
|
|
15
|
-
attachments?: AIAttachment[] | undefined;
|
|
16
|
-
artifacts?: AIAgentArtifact[] | undefined;
|
|
17
|
-
activeArtifact?: string | undefined;
|
|
18
|
-
disabled?: boolean | undefined;
|
|
19
|
-
actionHandler?: AIAgentActionHandler | undefined;
|
|
20
|
-
reorderable?: boolean | undefined;
|
|
21
|
-
tasksRevision?: string | number | undefined;
|
|
22
|
-
scopeKey?: string | number | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
title: string;
|
|
25
|
-
description: string;
|
|
26
|
-
panelSizes: () => (string | number)[];
|
|
27
|
-
conversations: () => never[];
|
|
28
|
-
activeConversation: undefined;
|
|
29
|
-
messages: () => never[];
|
|
30
|
-
prompts: () => never[];
|
|
31
|
-
transport: undefined;
|
|
32
|
-
tasks: () => never[];
|
|
33
|
-
contextItems: () => never[];
|
|
34
|
-
sources: () => never[];
|
|
35
|
-
attachments: () => never[];
|
|
36
|
-
artifacts: () => never[];
|
|
37
|
-
activeArtifact: undefined;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
reorderable: boolean;
|
|
40
|
-
tasksRevision: undefined;
|
|
41
|
-
scopeKey: undefined;
|
|
42
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
-
error: (message: string) => void;
|
|
44
|
-
retry: (task: AIAgentTask) => void;
|
|
45
|
-
approve: (task: AIAgentTask) => void;
|
|
46
|
-
reject: (task: AIAgentTask) => void;
|
|
47
|
-
cancel: (task: AIAgentTask) => void;
|
|
48
|
-
stop: () => void;
|
|
49
|
-
"update:tasks": (tasks: AIAgentTask[]) => void;
|
|
50
|
-
"move-task": (id: string, direction: "up" | "down") => void;
|
|
51
|
-
"update:messages": (messages: AIMessage[]) => void;
|
|
52
|
-
"update:activeConversation": (key: string) => void;
|
|
53
|
-
"update:panelSizes": (sizes: number[]) => void;
|
|
54
|
-
"update:activeArtifact": (id: string) => void;
|
|
55
|
-
"update:contextItems": (items: AIAgentContextItem[]) => void;
|
|
56
|
-
"move-context": (id: string, direction: "up" | "down") => void;
|
|
57
|
-
"chat-retry": (message: AIMessage) => void;
|
|
58
|
-
"chat-regenerate": (message: AIMessage) => void;
|
|
59
|
-
"chat-edit": (message: AIMessage, content: string) => void;
|
|
60
|
-
"chat-copy": (message: AIMessage) => void;
|
|
61
|
-
"operation-start": (request: AIAgentOperationRequest) => void;
|
|
62
|
-
"operation-success": (request: AIAgentOperationRequest) => void;
|
|
63
|
-
"operation-error": (request: AIAgentOperationRequest, message: string) => void;
|
|
64
|
-
"task-move-reject": (reason: string) => void;
|
|
65
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
66
|
-
title?: string | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
panelSizes?: WorkbenchPanelSize[] | undefined;
|
|
69
|
-
conversations?: AIConversation[] | undefined;
|
|
70
|
-
activeConversation?: string | undefined;
|
|
71
|
-
messages?: AIMessage[] | undefined;
|
|
72
|
-
prompts?: AIPrompt[] | undefined;
|
|
73
|
-
transport?: AITransport | AITransportV2 | undefined;
|
|
74
|
-
tasks?: AIAgentTask[] | undefined;
|
|
75
|
-
contextItems?: AIAgentContextItem[] | undefined;
|
|
76
|
-
sources?: AISource[] | undefined;
|
|
77
|
-
attachments?: AIAttachment[] | undefined;
|
|
78
|
-
artifacts?: AIAgentArtifact[] | undefined;
|
|
79
|
-
activeArtifact?: string | undefined;
|
|
80
|
-
disabled?: boolean | undefined;
|
|
81
|
-
actionHandler?: AIAgentActionHandler | undefined;
|
|
82
|
-
reorderable?: boolean | undefined;
|
|
83
|
-
tasksRevision?: string | number | undefined;
|
|
84
|
-
scopeKey?: string | number | undefined;
|
|
85
|
-
}>, {
|
|
86
|
-
title: string;
|
|
87
|
-
description: string;
|
|
88
|
-
panelSizes: () => (string | number)[];
|
|
89
|
-
conversations: () => never[];
|
|
90
|
-
activeConversation: undefined;
|
|
91
|
-
messages: () => never[];
|
|
92
|
-
prompts: () => never[];
|
|
93
|
-
transport: undefined;
|
|
94
|
-
tasks: () => never[];
|
|
95
|
-
contextItems: () => never[];
|
|
96
|
-
sources: () => never[];
|
|
97
|
-
attachments: () => never[];
|
|
98
|
-
artifacts: () => never[];
|
|
99
|
-
activeArtifact: undefined;
|
|
100
|
-
disabled: boolean;
|
|
101
|
-
reorderable: boolean;
|
|
102
|
-
tasksRevision: undefined;
|
|
103
|
-
scopeKey: undefined;
|
|
104
|
-
}>>> & Readonly<{
|
|
105
|
-
onError?: ((message: string) => any) | undefined;
|
|
106
|
-
onRetry?: ((task: AIAgentTask) => any) | undefined;
|
|
107
|
-
onApprove?: ((task: AIAgentTask) => any) | undefined;
|
|
108
|
-
onReject?: ((task: AIAgentTask) => any) | undefined;
|
|
109
|
-
onCancel?: ((task: AIAgentTask) => any) | undefined;
|
|
110
|
-
onStop?: (() => any) | undefined;
|
|
111
|
-
"onUpdate:tasks"?: ((tasks: AIAgentTask[]) => any) | undefined;
|
|
112
|
-
"onMove-task"?: ((id: string, direction: "up" | "down") => any) | undefined;
|
|
113
|
-
"onUpdate:messages"?: ((messages: AIMessage[]) => any) | undefined;
|
|
114
|
-
"onUpdate:activeConversation"?: ((key: string) => any) | undefined;
|
|
115
|
-
"onUpdate:panelSizes"?: ((sizes: number[]) => any) | undefined;
|
|
116
|
-
"onUpdate:activeArtifact"?: ((id: string) => any) | undefined;
|
|
117
|
-
"onUpdate:contextItems"?: ((items: AIAgentContextItem[]) => any) | undefined;
|
|
118
|
-
"onMove-context"?: ((id: string, direction: "up" | "down") => any) | undefined;
|
|
119
|
-
"onChat-retry"?: ((message: AIMessage) => any) | undefined;
|
|
120
|
-
"onChat-regenerate"?: ((message: AIMessage) => any) | undefined;
|
|
121
|
-
"onChat-edit"?: ((message: AIMessage, content: string) => any) | undefined;
|
|
122
|
-
"onChat-copy"?: ((message: AIMessage) => any) | undefined;
|
|
123
|
-
"onOperation-start"?: ((request: AIAgentOperationRequest) => any) | undefined;
|
|
124
|
-
"onOperation-success"?: ((request: AIAgentOperationRequest) => any) | undefined;
|
|
125
|
-
"onOperation-error"?: ((request: AIAgentOperationRequest, message: string) => any) | undefined;
|
|
126
|
-
"onTask-move-reject"?: ((reason: string) => any) | undefined;
|
|
127
|
-
}>, {
|
|
128
|
-
sources: AISource[];
|
|
129
|
-
messages: AIMessage[];
|
|
130
|
-
title: string;
|
|
131
|
-
disabled: boolean;
|
|
132
|
-
tasks: AIAgentTask[];
|
|
133
|
-
artifacts: AIAgentArtifact[];
|
|
134
|
-
activeArtifact: string;
|
|
135
|
-
reorderable: boolean;
|
|
136
|
-
tasksRevision: string | number;
|
|
137
|
-
scopeKey: string | number;
|
|
138
|
-
description: string;
|
|
139
|
-
attachments: AIAttachment[];
|
|
140
|
-
conversations: AIConversation[];
|
|
141
|
-
prompts: AIPrompt[];
|
|
142
|
-
transport: AITransport | AITransportV2;
|
|
143
|
-
activeConversation: string;
|
|
144
|
-
panelSizes: WorkbenchPanelSize[];
|
|
145
|
-
contextItems: AIAgentContextItem[];
|
|
146
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
147
|
-
sources?(_: {
|
|
148
|
-
sources: AISource[];
|
|
149
|
-
}): any;
|
|
150
|
-
attachments?(_: {
|
|
151
|
-
attachments: AIAttachment[];
|
|
152
|
-
}): any;
|
|
153
|
-
task?(_: {
|
|
154
|
-
task: AIAgentTask;
|
|
155
|
-
index: number;
|
|
156
|
-
}): any;
|
|
157
|
-
artifact?(_: {
|
|
158
|
-
artifact: AIAgentArtifact;
|
|
159
|
-
}): any;
|
|
160
|
-
"artifact-preview"?(_: {
|
|
161
|
-
artifact: AIAgentArtifact;
|
|
162
|
-
}): any;
|
|
163
|
-
}>;
|
|
164
|
-
export default _default;
|
|
165
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
166
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
167
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
168
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
169
|
-
} : {
|
|
170
|
-
type: import('vue').PropType<T[K]>;
|
|
171
|
-
required: true;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
type __VLS_WithDefaults<P, D> = {
|
|
175
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
176
|
-
default: D[K];
|
|
177
|
-
}> : P[K];
|
|
178
|
-
};
|
|
179
|
-
type __VLS_Prettify<T> = {
|
|
180
|
-
[K in keyof T]: T[K];
|
|
181
|
-
} & {};
|
|
182
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
183
|
-
new (): {
|
|
184
|
-
$slots: S;
|
|
185
|
-
};
|
|
186
|
-
};
|
package/lib/attachments.vue.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { AIAttachment } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
items?: AIAttachment[] | undefined;
|
|
4
|
-
removable?: boolean | undefined;
|
|
5
|
-
}>, {
|
|
6
|
-
items: () => never[];
|
|
7
|
-
removable: boolean;
|
|
8
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
remove: (item: AIAttachment) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
items?: AIAttachment[] | undefined;
|
|
12
|
-
removable?: boolean | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
items: () => never[];
|
|
15
|
-
removable: boolean;
|
|
16
|
-
}>>> & Readonly<{
|
|
17
|
-
onRemove?: ((item: AIAttachment) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
items: AIAttachment[];
|
|
20
|
-
removable: boolean;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_Prettify<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
package/lib/bubble/index.d.ts
DELETED
package/lib/bubble.vue.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AIContentRenderer, AIMessage } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
message: AIMessage;
|
|
4
|
-
contentRenderer?: AIContentRenderer | undefined;
|
|
5
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
message: AIMessage;
|
|
7
|
-
contentRenderer?: AIContentRenderer | undefined;
|
|
8
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
9
|
-
actions?(_: {
|
|
10
|
-
message: AIMessage;
|
|
11
|
-
}): any;
|
|
12
|
-
}>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
-
new (): {
|
|
25
|
-
$slots: S;
|
|
26
|
-
};
|
|
27
|
-
};
|
package/lib/chat/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { default as AIChatPanel } from '../chat-panel.vue';
|
|
2
|
-
export { default as AIActions } from '../actions.vue';
|
|
3
|
-
export { default as AIAttachments } from '../attachments.vue';
|
|
4
|
-
export { default as AIBubble } from '../bubble.vue';
|
|
5
|
-
export { default as AIConversations } from '../conversations.vue';
|
|
6
|
-
export { default as AIPrompts } from '../prompts.vue';
|
|
7
|
-
export { default as AISender } from '../sender.vue';
|
|
8
|
-
export { default as AISources } from '../sources.vue';
|
|
9
|
-
export { default as AIWelcome } from '../welcome.vue';
|
|
10
|
-
export type * from '../types';
|
|
11
|
-
export * from '../stream-reducer';
|
package/lib/chat-panel.vue.d.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import type { AIAttachment, AIConversation, AIMessage, AIPrompt, AITransport, AITransportV2 } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
messages?: AIMessage[] | undefined;
|
|
4
|
-
defaultMessages?: AIMessage[] | undefined;
|
|
5
|
-
transport: AITransport | AITransportV2;
|
|
6
|
-
conversationId?: string | undefined;
|
|
7
|
-
conversations?: AIConversation[] | undefined;
|
|
8
|
-
activeConversation?: string | undefined;
|
|
9
|
-
prompts?: AIPrompt[] | undefined;
|
|
10
|
-
attachments?: AIAttachment[] | undefined;
|
|
11
|
-
welcomeTitle?: string | undefined;
|
|
12
|
-
welcomeDescription?: string | undefined;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
maxReconnectAttempts?: number | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
messages: () => never[];
|
|
17
|
-
defaultMessages: () => never[];
|
|
18
|
-
conversationId: undefined;
|
|
19
|
-
conversations: () => never[];
|
|
20
|
-
activeConversation: undefined;
|
|
21
|
-
prompts: () => never[];
|
|
22
|
-
attachments: () => never[];
|
|
23
|
-
welcomeTitle: string;
|
|
24
|
-
welcomeDescription: string;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
maxReconnectAttempts: number;
|
|
27
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
error: (error: string) => void;
|
|
29
|
-
send: (content: string) => void;
|
|
30
|
-
retry: (message: AIMessage) => void;
|
|
31
|
-
regenerate: (message: AIMessage) => void;
|
|
32
|
-
edit: (message: AIMessage, content: string) => void;
|
|
33
|
-
copy: (message: AIMessage) => void;
|
|
34
|
-
stop: () => void;
|
|
35
|
-
"update:messages": (messages: AIMessage[]) => void;
|
|
36
|
-
"update:activeConversation": (key: string) => void;
|
|
37
|
-
"update:attachments": (attachments: AIAttachment[]) => void;
|
|
38
|
-
"stream-status": (status: string) => void;
|
|
39
|
-
"stream-reject": (reason: string) => void;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
41
|
-
messages?: AIMessage[] | undefined;
|
|
42
|
-
defaultMessages?: AIMessage[] | undefined;
|
|
43
|
-
transport: AITransport | AITransportV2;
|
|
44
|
-
conversationId?: string | undefined;
|
|
45
|
-
conversations?: AIConversation[] | undefined;
|
|
46
|
-
activeConversation?: string | undefined;
|
|
47
|
-
prompts?: AIPrompt[] | undefined;
|
|
48
|
-
attachments?: AIAttachment[] | undefined;
|
|
49
|
-
welcomeTitle?: string | undefined;
|
|
50
|
-
welcomeDescription?: string | undefined;
|
|
51
|
-
disabled?: boolean | undefined;
|
|
52
|
-
maxReconnectAttempts?: number | undefined;
|
|
53
|
-
}>, {
|
|
54
|
-
messages: () => never[];
|
|
55
|
-
defaultMessages: () => never[];
|
|
56
|
-
conversationId: undefined;
|
|
57
|
-
conversations: () => never[];
|
|
58
|
-
activeConversation: undefined;
|
|
59
|
-
prompts: () => never[];
|
|
60
|
-
attachments: () => never[];
|
|
61
|
-
welcomeTitle: string;
|
|
62
|
-
welcomeDescription: string;
|
|
63
|
-
disabled: boolean;
|
|
64
|
-
maxReconnectAttempts: number;
|
|
65
|
-
}>>> & Readonly<{
|
|
66
|
-
onError?: ((error: string) => any) | undefined;
|
|
67
|
-
onSend?: ((content: string) => any) | undefined;
|
|
68
|
-
onRetry?: ((message: AIMessage) => any) | undefined;
|
|
69
|
-
onRegenerate?: ((message: AIMessage) => any) | undefined;
|
|
70
|
-
onEdit?: ((message: AIMessage, content: string) => any) | undefined;
|
|
71
|
-
onCopy?: ((message: AIMessage) => any) | undefined;
|
|
72
|
-
onStop?: (() => any) | undefined;
|
|
73
|
-
"onUpdate:messages"?: ((messages: AIMessage[]) => any) | undefined;
|
|
74
|
-
"onUpdate:activeConversation"?: ((key: string) => any) | undefined;
|
|
75
|
-
"onUpdate:attachments"?: ((attachments: AIAttachment[]) => any) | undefined;
|
|
76
|
-
"onStream-status"?: ((status: string) => any) | undefined;
|
|
77
|
-
"onStream-reject"?: ((reason: string) => any) | undefined;
|
|
78
|
-
}>, {
|
|
79
|
-
conversationId: string;
|
|
80
|
-
messages: AIMessage[];
|
|
81
|
-
disabled: boolean;
|
|
82
|
-
attachments: AIAttachment[];
|
|
83
|
-
conversations: AIConversation[];
|
|
84
|
-
prompts: AIPrompt[];
|
|
85
|
-
defaultMessages: AIMessage[];
|
|
86
|
-
activeConversation: string;
|
|
87
|
-
welcomeTitle: string;
|
|
88
|
-
welcomeDescription: string;
|
|
89
|
-
maxReconnectAttempts: number;
|
|
90
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
-
export default _default;
|
|
92
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
94
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
95
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
96
|
-
} : {
|
|
97
|
-
type: import('vue').PropType<T[K]>;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
type __VLS_WithDefaults<P, D> = {
|
|
102
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
103
|
-
default: D[K];
|
|
104
|
-
}> : P[K];
|
|
105
|
-
};
|
|
106
|
-
type __VLS_Prettify<T> = {
|
|
107
|
-
[K in keyof T]: T[K];
|
|
108
|
-
} & {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { AIConversation } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
modelValue?: string | undefined;
|
|
4
|
-
conversations?: AIConversation[] | undefined;
|
|
5
|
-
}>, {
|
|
6
|
-
modelValue: undefined;
|
|
7
|
-
conversations: () => never[];
|
|
8
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (key: string) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
modelValue?: string | undefined;
|
|
12
|
-
conversations?: AIConversation[] | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
modelValue: undefined;
|
|
15
|
-
conversations: () => never[];
|
|
16
|
-
}>>> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
modelValue: string;
|
|
20
|
-
conversations: AIConversation[];
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_Prettify<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
package/lib/form/index.d.ts
DELETED
package/lib/form-field.vue.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { AIFormFieldV1 } from './form-schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
field: AIFormFieldV1;
|
|
4
|
-
value: unknown;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
error?: string | undefined;
|
|
7
|
-
}>>, {
|
|
8
|
-
focus: () => void;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
update: (value: unknown) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
field: AIFormFieldV1;
|
|
13
|
-
value: unknown;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
15
|
-
error?: string | undefined;
|
|
16
|
-
}>>> & Readonly<{
|
|
17
|
-
onUpdate?: ((value: unknown) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
package/lib/form-schema.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare const AI_FORM_FIELD_TYPES: readonly ["input", "textarea", "number", "select", "checkbox", "radio", "switch", "date", "date-range", "time", "time-range", "upload", "tree-select"];
|
|
2
|
-
export declare const AI_FORM_CONDITION_OPERATORS: readonly ["equals", "not-equals", "includes", "not-includes", "is-empty", "is-not-empty"];
|
|
3
|
-
export type AIFormFieldType = (typeof AI_FORM_FIELD_TYPES)[number];
|
|
4
|
-
export type AIFormConditionOperator = (typeof AI_FORM_CONDITION_OPERATORS)[number];
|
|
5
|
-
export interface AIFormCondition {
|
|
6
|
-
field: string;
|
|
7
|
-
operator: AIFormConditionOperator;
|
|
8
|
-
value?: string | number | boolean | string[];
|
|
9
|
-
}
|
|
10
|
-
export interface AIFormOption {
|
|
11
|
-
label: string;
|
|
12
|
-
value: string | number;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface AIFormGroupV1 {
|
|
16
|
-
key: string;
|
|
17
|
-
title: string;
|
|
18
|
-
description?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface AIFormFieldV1 {
|
|
21
|
-
key: string;
|
|
22
|
-
label: string;
|
|
23
|
-
type: AIFormFieldType;
|
|
24
|
-
defaultValue?: unknown;
|
|
25
|
-
placeholder?: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
group?: string;
|
|
28
|
-
required?: boolean;
|
|
29
|
-
options?: AIFormOption[];
|
|
30
|
-
visibleWhen?: AIFormCondition;
|
|
31
|
-
disabledWhen?: AIFormCondition;
|
|
32
|
-
rules?: AIFormRuleV1[];
|
|
33
|
-
dependencies?: string[];
|
|
34
|
-
preserve?: boolean;
|
|
35
|
-
}
|
|
36
|
-
export type AIFormRuleV1 = {
|
|
37
|
-
kind: 'range';
|
|
38
|
-
valueType: 'number' | 'length';
|
|
39
|
-
min?: number;
|
|
40
|
-
max?: number;
|
|
41
|
-
message?: string;
|
|
42
|
-
} | {
|
|
43
|
-
kind: 'format';
|
|
44
|
-
format: 'email' | 'url' | 'date' | 'time';
|
|
45
|
-
message?: string;
|
|
46
|
-
} | {
|
|
47
|
-
kind: 'compare';
|
|
48
|
-
field: string;
|
|
49
|
-
operator: 'equals' | 'not-equals' | 'greater-than' | 'greater-than-or-equal' | 'less-than' | 'less-than-or-equal';
|
|
50
|
-
message?: string;
|
|
51
|
-
} | {
|
|
52
|
-
kind: 'async';
|
|
53
|
-
validator: string;
|
|
54
|
-
message?: string;
|
|
55
|
-
};
|
|
56
|
-
export type AIFormAsyncValidator = (value: unknown, context: {
|
|
57
|
-
values: Readonly<Record<string, unknown>>;
|
|
58
|
-
field: AIFormFieldV1;
|
|
59
|
-
signal: AbortSignal;
|
|
60
|
-
}) => void | boolean | string | Promise<void | boolean | string>;
|
|
61
|
-
export interface AIFormSchemaV1 {
|
|
62
|
-
version: '1';
|
|
63
|
-
title?: string;
|
|
64
|
-
description?: string;
|
|
65
|
-
groups?: AIFormGroupV1[];
|
|
66
|
-
fields: AIFormFieldV1[];
|
|
67
|
-
}
|
|
68
|
-
export interface AIFormSchemaValidation {
|
|
69
|
-
valid: boolean;
|
|
70
|
-
errors: string[];
|
|
71
|
-
schema?: AIFormSchemaV1;
|
|
72
|
-
}
|
|
73
|
-
export declare const validateAIFormSchema: (schema: unknown) => AIFormSchemaValidation;
|
package/lib/form.vue.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { type AIFormAsyncValidator } from './form-schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
modelValue?: Record<string, unknown> | undefined;
|
|
4
|
-
schema: unknown;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
submitting?: boolean | undefined;
|
|
7
|
-
submitText?: string | undefined;
|
|
8
|
-
submitError?: string | undefined;
|
|
9
|
-
validators?: Record<string, AIFormAsyncValidator> | undefined;
|
|
10
|
-
}>, {
|
|
11
|
-
modelValue: () => {};
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
submitting: boolean;
|
|
14
|
-
submitText: string;
|
|
15
|
-
submitError: undefined;
|
|
16
|
-
validators: () => {};
|
|
17
|
-
}>>, {
|
|
18
|
-
validate: () => Promise<any>;
|
|
19
|
-
resetFields: () => void;
|
|
20
|
-
clearValidate: (names?: string[] | undefined) => void;
|
|
21
|
-
setFieldsErrors: (fields: {
|
|
22
|
-
name: string;
|
|
23
|
-
errors: string[];
|
|
24
|
-
}[]) => void;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
submit: (value: Record<string, unknown>) => void;
|
|
27
|
-
"update:modelValue": (value: Record<string, unknown>) => void;
|
|
28
|
-
"schema-error": (errors: string[]) => void;
|
|
29
|
-
"validation-error": (errors: {
|
|
30
|
-
key: string;
|
|
31
|
-
message: string;
|
|
32
|
-
}[]) => void;
|
|
33
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
34
|
-
modelValue?: Record<string, unknown> | undefined;
|
|
35
|
-
schema: unknown;
|
|
36
|
-
disabled?: boolean | undefined;
|
|
37
|
-
submitting?: boolean | undefined;
|
|
38
|
-
submitText?: string | undefined;
|
|
39
|
-
submitError?: string | undefined;
|
|
40
|
-
validators?: Record<string, AIFormAsyncValidator> | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
modelValue: () => {};
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
submitting: boolean;
|
|
45
|
-
submitText: string;
|
|
46
|
-
submitError: undefined;
|
|
47
|
-
validators: () => {};
|
|
48
|
-
}>>> & Readonly<{
|
|
49
|
-
onSubmit?: ((value: Record<string, unknown>) => any) | undefined;
|
|
50
|
-
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
51
|
-
"onSchema-error"?: ((errors: string[]) => any) | undefined;
|
|
52
|
-
"onValidation-error"?: ((errors: {
|
|
53
|
-
key: string;
|
|
54
|
-
message: string;
|
|
55
|
-
}[]) => any) | undefined;
|
|
56
|
-
}>, {
|
|
57
|
-
disabled: boolean;
|
|
58
|
-
modelValue: Record<string, unknown>;
|
|
59
|
-
submitting: boolean;
|
|
60
|
-
submitText: string;
|
|
61
|
-
submitError: string;
|
|
62
|
-
validators: Record<string, AIFormAsyncValidator>;
|
|
63
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
|
-
export default _default;
|
|
65
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
67
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
-
} : {
|
|
70
|
-
type: import('vue').PropType<T[K]>;
|
|
71
|
-
required: true;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
type __VLS_WithDefaults<P, D> = {
|
|
75
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
76
|
-
default: D[K];
|
|
77
|
-
}> : P[K];
|
|
78
|
-
};
|
|
79
|
-
type __VLS_Prettify<T> = {
|
|
80
|
-
[K in keyof T]: T[K];
|
|
81
|
-
} & {};
|
package/lib/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./chat-panel.vue.js"),_=require("./actions.vue.js"),r=require("./attachments.vue.js"),n=require("./bubble.vue.js"),o=require("./conversations.vue.js"),c=require("./process.vue.js"),s=require("./prompts.vue.js"),a=require("./sender.vue.js"),A=require("./sources.vue.js"),l=require("./thought-chain.vue.js"),i=require("./welcome.vue.js"),I=require("./form.vue.js"),d=require("./agent-workbench.vue.js");;/* empty css */const t=require("./form-schema.js"),m=require("./stream-reducer.js"),v={install(e){e.component("AAIActions",_.default),e.component("AAIAgentWorkbench",d.default),e.component("AAIAttachments",r.default),e.component("AAIBubble",n.default),e.component("AAIChatPanel",u.default),e.component("AAIConversations",o.default),e.component("AAIForm",I.default),e.component("AAIProcess",c.default),e.component("AAIPrompts",s.default),e.component("AAISender",a.default),e.component("AAISources",A.default),e.component("AAIThoughtChain",l.default),e.component("AAIWelcome",i.default)}};exports.AIChatPanel=u.default;exports.AIActions=_.default;exports.AIAttachments=r.default;exports.AIBubble=n.default;exports.AIConversations=o.default;exports.AIProcess=c.default;exports.AIPrompts=s.default;exports.AISender=a.default;exports.AISources=A.default;exports.AIThoughtChain=l.default;exports.AIWelcome=i.default;exports.AIForm=I.default;exports.AIAgentWorkbench=d.default;exports.AI_FORM_CONDITION_OPERATORS=t.AI_FORM_CONDITION_OPERATORS;exports.AI_FORM_FIELD_TYPES=t.AI_FORM_FIELD_TYPES;exports.validateAIFormSchema=t.validateAIFormSchema;exports.createAIStreamReducer=m.createAIStreamReducer;exports.reduceAIStreamEvent=m.reduceAIStreamEvent;exports.default=v;
|
package/lib/package.json
DELETED
package/lib/process/index.d.ts
DELETED
package/lib/process.vue.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { AIProcessItem } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
items?: AIProcessItem[] | undefined;
|
|
4
|
-
}>, {
|
|
5
|
-
items: () => never[];
|
|
6
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
items?: AIProcessItem[] | undefined;
|
|
8
|
-
}>, {
|
|
9
|
-
items: () => never[];
|
|
10
|
-
}>>> & Readonly<{}>, {
|
|
11
|
-
items: AIProcessItem[];
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
type __VLS_WithDefaults<P, D> = {
|
|
24
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
-
default: D[K];
|
|
26
|
-
}> : P[K];
|
|
27
|
-
};
|
|
28
|
-
type __VLS_Prettify<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|