@altimateai/ui-components 0.0.78-beta.1 → 0.0.78
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/CoachForm.css +1 -1
- package/dist/CoachForm.js +23919 -67654
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2231 -2829
- package/dist/Switch.js +87 -128
- package/dist/ToggleGroup.js +5100 -6285
- package/dist/_basePickBy.js +60 -60
- package/dist/_baseUniq.js +152 -152
- package/dist/arc.js +53 -53
- package/dist/architectureDiagram-VXUJARFQ.js +4315 -480
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.d.ts +19 -57
- package/dist/chatbotV2/index.js +56 -91
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-DI55MBZ5.js +14 -14
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +2535 -160
- package/dist/dagre-6UL2VRFP.js +101 -101
- package/dist/dayjs.min.js +2 -2
- package/dist/defaultLocale.js +3 -3
- package/dist/diagram-PSM6KHXK.js +414 -198
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +12 -12
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +1718 -843
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +18 -17
- package/dist/index.d.ts +6 -101
- package/dist/index.js +37 -37
- package/dist/index2.js +684 -216
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +42 -42
- package/dist/layout.js +678 -567
- package/dist/lineage/index.js +1309 -1302
- package/dist/linear.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +150 -150
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +28 -28
- package/dist/pieDiagram-ADFJNKIX.js +108 -68
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +555 -563
- package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
- package/dist/sankeyDiagram-TZEHDZUN.js +622 -229
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +8 -11
- package/dist/shadcn/index.js +4733 -6547
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/timeline-definition-IT6M3QCI.js +63 -63
- package/dist/{types-UHJCpYj0.d.ts → types-ByRPUpXR.d.ts} +116 -25
- package/dist/xychartDiagram-PRI3JC2R.js +491 -449
- package/package.json +1 -1
- package/dist/abap.js +0 -6
- package/dist/actionscript-3.js +0 -6
- package/dist/ada.js +0 -6
- package/dist/andromeeda.js +0 -4
- package/dist/angular-html.js +0 -32
- package/dist/angular-ts.js +0 -21
- package/dist/apache.js +0 -6
- package/dist/apex.js +0 -6
- package/dist/apl.js +0 -16
- package/dist/applescript.js +0 -6
- package/dist/ara.js +0 -6
- package/dist/architectureDiagram-VXUJARFQ2.js +0 -831
- package/dist/asciidoc.js +0 -6
- package/dist/asm.js +0 -6
- package/dist/astro.js +0 -18
- package/dist/aurora-x.js +0 -4
- package/dist/awk.js +0 -6
- package/dist/ayu-dark.js +0 -4
- package/dist/ballerina.js +0 -6
- package/dist/band.js +0 -46
- package/dist/bat.js +0 -6
- package/dist/beancount.js +0 -6
- package/dist/berry.js +0 -6
- package/dist/bibtex.js +0 -6
- package/dist/bicep.js +0 -6
- package/dist/blade.js +0 -20
- package/dist/blockDiagram-VD42YOAC2.js +0 -2266
- package/dist/bsl.js +0 -8
- package/dist/c.js +0 -6
- package/dist/c3.js +0 -6
- package/dist/c4Diagram-YG6GDRKO2.js +0 -1582
- package/dist/cadence.js +0 -6
- package/dist/cairo.js +0 -8
- package/dist/catppuccin-frappe.js +0 -4
- package/dist/catppuccin-latte.js +0 -4
- package/dist/catppuccin-macchiato.js +0 -4
- package/dist/catppuccin-mocha.js +0 -4
- package/dist/chunk-4BX2VUAB2.js +0 -9
- package/dist/chunk-55IACEB62.js +0 -9
- package/dist/chunk-B4BG7PRW2.js +0 -1377
- package/dist/chunk-DI55MBZ52.js +0 -1382
- package/dist/chunk-FMBD7UC42.js +0 -19
- package/dist/chunk-QN33PNHL2.js +0 -20
- package/dist/chunk-QZHKN3VN2.js +0 -15
- package/dist/chunk-TZMSLE5B2.js +0 -64
- package/dist/clarity.js +0 -6
- package/dist/classDiagram-2ON5EDUG2.js +0 -17
- package/dist/classDiagram-v2-WZHVMYZB2.js +0 -17
- package/dist/clojure.js +0 -6
- package/dist/cmake.js +0 -6
- package/dist/cobol.js +0 -10
- package/dist/code-block-37QAKDTI.js +0 -27
- package/dist/codeowners.js +0 -6
- package/dist/codeql.js +0 -6
- package/dist/coffee.js +0 -8
- package/dist/common-lisp.js +0 -6
- package/dist/coq.js +0 -6
- package/dist/cose-bilkent-S5V4N54A2.js +0 -231
- package/dist/cpp.js +0 -18
- package/dist/crystal.js +0 -18
- package/dist/csharp.js +0 -6
- package/dist/css.js +0 -6
- package/dist/csv.js +0 -6
- package/dist/cue.js +0 -6
- package/dist/cypher.js +0 -6
- package/dist/cytoscape-cose-bilkent.js +0 -2380
- package/dist/cytoscape-fcose.js +0 -3840
- package/dist/d.js +0 -6
- package/dist/dagre-6UL2VRFP2.js +0 -447
- package/dist/dark-plus.js +0 -4
- package/dist/dart.js +0 -6
- package/dist/dax.js +0 -6
- package/dist/desktop.js +0 -6
- package/dist/diagram-PSM6KHXK2.js +0 -319
- package/dist/diagram-QEK2KX5R2.js +0 -221
- package/dist/diagram-S2PKOQOG2.js +0 -143
- package/dist/diff.js +0 -6
- package/dist/docker.js +0 -6
- package/dist/dotenv.js +0 -6
- package/dist/dracula-soft.js +0 -4
- package/dist/dracula.js +0 -4
- package/dist/dream-maker.js +0 -6
- package/dist/edge.js +0 -12
- package/dist/elixir.js +0 -8
- package/dist/elm.js +0 -8
- package/dist/emacs-lisp.js +0 -6
- package/dist/erDiagram-Q2GNP2WA2.js +0 -843
- package/dist/erb.js +0 -10
- package/dist/erlang.js +0 -8
- package/dist/everforest-dark.js +0 -4
- package/dist/everforest-light.js +0 -4
- package/dist/fennel.js +0 -6
- package/dist/fish.js +0 -6
- package/dist/flowDiagram-NV44I4VS2.js +0 -1628
- package/dist/fluent.js +0 -6
- package/dist/fortran-fixed-form.js +0 -8
- package/dist/fortran-free-form.js +0 -6
- package/dist/fsharp.js +0 -8
- package/dist/ganttDiagram-JELNMOA3.js +0 -1788
- package/dist/gdresource.js +0 -10
- package/dist/gdscript.js +0 -6
- package/dist/gdshader.js +0 -6
- package/dist/genie.js +0 -6
- package/dist/gherkin.js +0 -6
- package/dist/git-commit.js +0 -8
- package/dist/git-rebase.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX2.js +0 -713
- package/dist/github-dark-default.js +0 -4
- package/dist/github-dark-dimmed.js +0 -4
- package/dist/github-dark-high-contrast.js +0 -4
- package/dist/github-dark.js +0 -4
- package/dist/github-light-default.js +0 -4
- package/dist/github-light-high-contrast.js +0 -4
- package/dist/github-light.js +0 -4
- package/dist/gleam.js +0 -6
- package/dist/glimmer-js.js +0 -14
- package/dist/glimmer-ts.js +0 -14
- package/dist/glsl.js +0 -8
- package/dist/gn.js +0 -6
- package/dist/gnuplot.js +0 -6
- package/dist/go.js +0 -6
- package/dist/graph2.js +0 -246
- package/dist/graphql.js +0 -14
- package/dist/groovy.js +0 -6
- package/dist/gruvbox-dark-hard.js +0 -4
- package/dist/gruvbox-dark-medium.js +0 -4
- package/dist/gruvbox-dark-soft.js +0 -4
- package/dist/gruvbox-light-hard.js +0 -4
- package/dist/gruvbox-light-medium.js +0 -4
- package/dist/gruvbox-light-soft.js +0 -4
- package/dist/hack.js +0 -10
- package/dist/haml.js +0 -10
- package/dist/handlebars.js +0 -14
- package/dist/haskell.js +0 -6
- package/dist/haxe.js +0 -6
- package/dist/hcl.js +0 -6
- package/dist/hjson.js +0 -6
- package/dist/hlsl.js +0 -6
- package/dist/houston.js +0 -4
- package/dist/html-derivative.js +0 -8
- package/dist/html.js +0 -10
- package/dist/http.js +0 -14
- package/dist/hurl.js +0 -12
- package/dist/hxml.js +0 -8
- package/dist/hy.js +0 -6
- package/dist/imba.js +0 -6
- package/dist/index3.js +0 -689
- package/dist/infoDiagram-WHAUD3N6.js +0 -24
- package/dist/ini.js +0 -6
- package/dist/java.js +0 -6
- package/dist/javascript.js +0 -6
- package/dist/jinja.js +0 -11
- package/dist/jison.js +0 -8
- package/dist/journeyDiagram-XKPGCS4Q2.js +0 -837
- package/dist/json.js +0 -6
- package/dist/json5.js +0 -6
- package/dist/jsonc.js +0 -6
- package/dist/jsonl.js +0 -6
- package/dist/jsonnet.js +0 -6
- package/dist/jssm.js +0 -6
- package/dist/jsx.js +0 -6
- package/dist/julia.js +0 -16
- package/dist/kanagawa-dragon.js +0 -4
- package/dist/kanagawa-lotus.js +0 -4
- package/dist/kanagawa-wave.js +0 -4
- package/dist/kanban-definition-3W4ZIXB72.js +0 -720
- package/dist/katex2.js +0 -11691
- package/dist/kdl.js +0 -6
- package/dist/kotlin.js +0 -6
- package/dist/kusto.js +0 -6
- package/dist/laserwave.js +0 -4
- package/dist/latex.js +0 -8
- package/dist/layout2.js +0 -1224
- package/dist/lean.js +0 -6
- package/dist/less.js +0 -6
- package/dist/light-plus.js +0 -4
- package/dist/liquid.js +0 -14
- package/dist/llvm.js +0 -6
- package/dist/log.js +0 -6
- package/dist/logo.js +0 -6
- package/dist/lua.js +0 -8
- package/dist/luau.js +0 -6
- package/dist/make.js +0 -6
- package/dist/markdown.js +0 -6
- package/dist/marko.js +0 -14
- package/dist/material-theme-darker.js +0 -4
- package/dist/material-theme-lighter.js +0 -4
- package/dist/material-theme-ocean.js +0 -4
- package/dist/material-theme-palenight.js +0 -4
- package/dist/material-theme.js +0 -4
- package/dist/matlab.js +0 -6
- package/dist/mdc.js +0 -12
- package/dist/mdx.js +0 -6
- package/dist/mermaid-4DMBBIKO.js +0 -4
- package/dist/mermaid.js +0 -6
- package/dist/min-dark.js +0 -4
- package/dist/min-light.js +0 -4
- package/dist/mindmap-definition-VGOIOE7T2.js +0 -786
- package/dist/mipsasm.js +0 -6
- package/dist/mojo.js +0 -6
- package/dist/monokai.js +0 -4
- package/dist/moonbit.js +0 -6
- package/dist/move.js +0 -6
- package/dist/narrat.js +0 -6
- package/dist/nextflow.js +0 -6
- package/dist/nginx.js +0 -8
- package/dist/night-owl.js +0 -4
- package/dist/nim.js +0 -20
- package/dist/nix.js +0 -9
- package/dist/nord.js +0 -4
- package/dist/nushell.js +0 -6
- package/dist/objective-c.js +0 -6
- package/dist/objective-cpp.js +0 -6
- package/dist/ocaml.js +0 -6
- package/dist/one-dark-pro.js +0 -4
- package/dist/one-light.js +0 -4
- package/dist/openscad.js +0 -6
- package/dist/pascal.js +0 -6
- package/dist/perl.js +0 -16
- package/dist/php.js +0 -18
- package/dist/pie.js +0 -45
- package/dist/pieDiagram-ADFJNKIX2.js +0 -123
- package/dist/pkl.js +0 -6
- package/dist/plastic.js +0 -4
- package/dist/plsql.js +0 -6
- package/dist/po.js +0 -6
- package/dist/poimandres.js +0 -4
- package/dist/polar.js +0 -6
- package/dist/postcss.js +0 -6
- package/dist/powerquery.js +0 -6
- package/dist/powershell.js +0 -6
- package/dist/prisma.js +0 -6
- package/dist/prolog.js +0 -6
- package/dist/proto.js +0 -6
- package/dist/pug.js +0 -12
- package/dist/puppet.js +0 -6
- package/dist/purescript.js +0 -6
- package/dist/python.js +0 -6
- package/dist/qml.js +0 -8
- package/dist/qmldir.js +0 -6
- package/dist/qss.js +0 -6
- package/dist/quadrantDiagram-AYHSOK5B2.js +0 -1025
- package/dist/r.js +0 -6
- package/dist/racket.js +0 -6
- package/dist/raku.js +0 -6
- package/dist/razor.js +0 -10
- package/dist/red.js +0 -4
- package/dist/reg.js +0 -6
- package/dist/regexp.js +0 -6
- package/dist/rel.js +0 -6
- package/dist/requirementDiagram-UZGBJVZJ2.js +0 -852
- package/dist/riscv.js +0 -6
- package/dist/rose-pine-dawn.js +0 -4
- package/dist/rose-pine-moon.js +0 -4
- package/dist/rose-pine.js +0 -4
- package/dist/rosmsg.js +0 -6
- package/dist/rst.js +0 -22
- package/dist/ruby.js +0 -30
- package/dist/rust.js +0 -6
- package/dist/sankeyDiagram-TZEHDZUN2.js +0 -418
- package/dist/sankeyLinkHorizontal.js +0 -403
- package/dist/sas.js +0 -8
- package/dist/sass.js +0 -6
- package/dist/scala.js +0 -6
- package/dist/scheme.js +0 -6
- package/dist/scss.js +0 -8
- package/dist/sdbl.js +0 -6
- package/dist/sequenceDiagram-WL72ISMW2.js +0 -2523
- package/dist/shaderlab.js +0 -8
- package/dist/shellscript.js +0 -6
- package/dist/shellsession.js +0 -8
- package/dist/slack-dark.js +0 -4
- package/dist/slack-ochin.js +0 -4
- package/dist/smalltalk.js +0 -6
- package/dist/snazzy-light.js +0 -4
- package/dist/solarized-dark.js +0 -4
- package/dist/solarized-light.js +0 -4
- package/dist/solidity.js +0 -6
- package/dist/soy.js +0 -8
- package/dist/sparql.js +0 -8
- package/dist/splunk.js +0 -6
- package/dist/sql.js +0 -6
- package/dist/ssh-config.js +0 -6
- package/dist/stata.js +0 -8
- package/dist/stateDiagram-FKZM4ZOC2.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC32.js +0 -17
- package/dist/stylus.js +0 -6
- package/dist/svelte.js +0 -14
- package/dist/swift.js +0 -6
- package/dist/synthwave-84.js +0 -4
- package/dist/system-verilog.js +0 -6
- package/dist/systemd.js +0 -6
- package/dist/talonscript.js +0 -6
- package/dist/tasl.js +0 -6
- package/dist/tcl.js +0 -6
- package/dist/templ.js +0 -12
- package/dist/terraform.js +0 -6
- package/dist/tex.js +0 -8
- package/dist/time.js +0 -900
- package/dist/timeline-definition-IT6M3QCI2.js +0 -802
- package/dist/tokyo-night.js +0 -4
- package/dist/toml.js +0 -6
- package/dist/ts-tags.js +0 -41
- package/dist/tsv.js +0 -6
- package/dist/tsx.js +0 -6
- package/dist/turtle.js +0 -6
- package/dist/twig.js +0 -18
- package/dist/typescript.js +0 -6
- package/dist/typespec.js +0 -6
- package/dist/typst.js +0 -6
- package/dist/union.js +0 -8
- package/dist/v.js +0 -6
- package/dist/vala.js +0 -6
- package/dist/vb.js +0 -6
- package/dist/verilog.js +0 -6
- package/dist/vesper.js +0 -4
- package/dist/vhdl.js +0 -6
- package/dist/viml.js +0 -6
- package/dist/vitesse-black.js +0 -4
- package/dist/vitesse-dark.js +0 -4
- package/dist/vitesse-light.js +0 -4
- package/dist/vue-html.js +0 -8
- package/dist/vue-vine.js +0 -18
- package/dist/vue.js +0 -31
- package/dist/vyper.js +0 -6
- package/dist/wasm.js +0 -7
- package/dist/wasm2.js +0 -6
- package/dist/wenyan.js +0 -6
- package/dist/wgsl.js +0 -6
- package/dist/wikitext.js +0 -6
- package/dist/wit.js +0 -6
- package/dist/wolfram.js +0 -6
- package/dist/xml.js +0 -8
- package/dist/xsl.js +0 -8
- package/dist/xychartDiagram-PRI3JC2R2.js +0 -1299
- package/dist/yaml.js +0 -6
- package/dist/zenscript.js +0 -6
- package/dist/zig.js +0 -6
- package/dist/zipObject.js +0 -128
|
@@ -1,24 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, Dispatch, ComponentType } from 'react';
|
|
2
|
+
import { UnknownAction } from '@reduxjs/toolkit';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
|
|
4
|
-
/**
|
|
5
|
-
* Shared types used across multiple components to avoid circular dependencies
|
|
6
|
-
*/
|
|
7
|
-
declare enum TaskLabels {
|
|
8
|
-
DocGen = "DocGen",
|
|
9
|
-
ChartBot = "ChartBot",
|
|
10
|
-
SqlBot = "SqlExpert",
|
|
11
|
-
OpportunitiesBot = "OpportunitiesBot",
|
|
12
|
-
ProjectGovernor = "ProjectGovernor",
|
|
13
|
-
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
14
|
-
AlertManager = "AlertManager"
|
|
15
|
-
}
|
|
16
|
-
interface Citation {
|
|
17
|
-
id: string;
|
|
18
|
-
content: string;
|
|
19
|
-
taskLabel: TaskLabels;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
5
|
type ChatEventStatus = "idle" | "pending" | "streaming" | "complete" | "error" | "cancelled";
|
|
23
6
|
type ChatEvent = {
|
|
24
7
|
type: "session_created";
|
|
@@ -77,6 +60,7 @@ interface ChatSession {
|
|
|
77
60
|
mode?: string;
|
|
78
61
|
datamates?: string[];
|
|
79
62
|
status?: SessionStatusEnum;
|
|
63
|
+
userInput?: string;
|
|
80
64
|
}
|
|
81
65
|
interface FileUploadProps {
|
|
82
66
|
allowedFiles: string;
|
|
@@ -266,7 +250,6 @@ interface ChatState {
|
|
|
266
250
|
chatbot?: string;
|
|
267
251
|
chatMessages?: string;
|
|
268
252
|
messageItem?: string;
|
|
269
|
-
questionForm?: string;
|
|
270
253
|
};
|
|
271
254
|
}
|
|
272
255
|
declare const todoItemSchema: z.ZodObject<{
|
|
@@ -419,7 +402,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
419
402
|
}>, "many">>;
|
|
420
403
|
confidence_str: z.ZodOptional<z.ZodString>;
|
|
421
404
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
405
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
423
406
|
id?: string | undefined;
|
|
424
407
|
content?: string | undefined;
|
|
425
408
|
heading?: string | undefined;
|
|
@@ -429,13 +412,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
429
412
|
tool: string;
|
|
430
413
|
}[] | undefined;
|
|
431
414
|
} | undefined;
|
|
432
|
-
tool?: string | undefined;
|
|
433
415
|
citations?: {
|
|
434
416
|
content: string;
|
|
435
417
|
name: string;
|
|
436
418
|
type: string;
|
|
437
419
|
entity: string;
|
|
438
420
|
}[] | undefined;
|
|
421
|
+
tool?: string | undefined;
|
|
439
422
|
todos?: {
|
|
440
423
|
id: string;
|
|
441
424
|
content: string;
|
|
@@ -462,7 +445,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
462
445
|
}[] | undefined;
|
|
463
446
|
confidence_str?: string | undefined;
|
|
464
447
|
}, {
|
|
465
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
448
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
466
449
|
id?: string | undefined;
|
|
467
450
|
content?: string | undefined;
|
|
468
451
|
heading?: string | undefined;
|
|
@@ -472,13 +455,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
472
455
|
tool: string;
|
|
473
456
|
}[] | undefined;
|
|
474
457
|
} | undefined;
|
|
475
|
-
tool?: string | undefined;
|
|
476
458
|
citations?: {
|
|
477
459
|
content: string;
|
|
478
460
|
name: string;
|
|
479
461
|
type: string;
|
|
480
462
|
entity: string;
|
|
481
463
|
}[] | undefined;
|
|
464
|
+
tool?: string | undefined;
|
|
482
465
|
todos?: {
|
|
483
466
|
id: string;
|
|
484
467
|
content: string;
|
|
@@ -530,4 +513,112 @@ interface AgentStreamResponse {
|
|
|
530
513
|
confidence_str?: string;
|
|
531
514
|
}
|
|
532
515
|
|
|
533
|
-
|
|
516
|
+
interface TeamMateState {
|
|
517
|
+
showCoachingForm: boolean;
|
|
518
|
+
}
|
|
519
|
+
interface TeamMateContextProps {
|
|
520
|
+
state: TeamMateState;
|
|
521
|
+
dispatch: Dispatch<UnknownAction>;
|
|
522
|
+
}
|
|
523
|
+
interface CoachAiResponse {
|
|
524
|
+
ai_response: string;
|
|
525
|
+
category: string;
|
|
526
|
+
personalizationScope: string;
|
|
527
|
+
}
|
|
528
|
+
interface CoachAiConfirmationResponse {
|
|
529
|
+
ok: boolean;
|
|
530
|
+
train_doc_uid: string;
|
|
531
|
+
frontend_url: string;
|
|
532
|
+
}
|
|
533
|
+
declare enum ContentCategory {
|
|
534
|
+
TERM_CLARIFICATION = "TermClarification",
|
|
535
|
+
GENERAL_GUIDELINES = "GeneralGuidelines",
|
|
536
|
+
BUSINESS_EXPLANATION = "BusinessExplanation"
|
|
537
|
+
}
|
|
538
|
+
declare enum TaskLabels {
|
|
539
|
+
DocGen = "DocGen",
|
|
540
|
+
ChartBot = "ChartBot",
|
|
541
|
+
SqlBot = "SqlExpert",
|
|
542
|
+
OpportunitiesBot = "OpportunitiesBot",
|
|
543
|
+
ProjectGovernor = "ProjectGovernor",
|
|
544
|
+
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
545
|
+
AlertManager = "AlertManager"
|
|
546
|
+
}
|
|
547
|
+
declare enum PersonalizationScope {
|
|
548
|
+
USER_SPECIFIC = "UserSpecific",
|
|
549
|
+
ALL_USERS = "AllUsers"
|
|
550
|
+
}
|
|
551
|
+
declare const learningSchema: z.ZodObject<{
|
|
552
|
+
train_doc_uid: z.ZodString;
|
|
553
|
+
userId: z.ZodString;
|
|
554
|
+
display_name: z.ZodString;
|
|
555
|
+
taskLabel: z.ZodString;
|
|
556
|
+
category: z.ZodEnum<[string, ...string[]]>;
|
|
557
|
+
personalizationScope: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
558
|
+
createdDate: z.ZodString;
|
|
559
|
+
updatedDate: z.ZodString;
|
|
560
|
+
content: z.ZodString;
|
|
561
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
562
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
563
|
+
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
content: string;
|
|
565
|
+
isActive: boolean;
|
|
566
|
+
category: string;
|
|
567
|
+
display_name: string;
|
|
568
|
+
userId: string;
|
|
569
|
+
taskLabel: string;
|
|
570
|
+
personalizationScope: string;
|
|
571
|
+
train_doc_uid: string;
|
|
572
|
+
createdDate: string;
|
|
573
|
+
updatedDate: string;
|
|
574
|
+
metadata?: Record<string, unknown> | undefined;
|
|
575
|
+
}, {
|
|
576
|
+
content: string;
|
|
577
|
+
category: string;
|
|
578
|
+
display_name: string;
|
|
579
|
+
userId: string;
|
|
580
|
+
taskLabel: string;
|
|
581
|
+
train_doc_uid: string;
|
|
582
|
+
createdDate: string;
|
|
583
|
+
updatedDate: string;
|
|
584
|
+
metadata?: Record<string, unknown> | undefined;
|
|
585
|
+
isActive?: boolean | undefined;
|
|
586
|
+
personalizationScope?: string | undefined;
|
|
587
|
+
}>;
|
|
588
|
+
interface Learning extends z.infer<typeof learningSchema> {
|
|
589
|
+
}
|
|
590
|
+
declare enum TeamMateAvailability {
|
|
591
|
+
EXTENSION = "VSCode Extension",
|
|
592
|
+
SAAS = "SaaS"
|
|
593
|
+
}
|
|
594
|
+
interface TeamMateComponentProps<T = void> {
|
|
595
|
+
onClose?: (data?: T) => void;
|
|
596
|
+
frontendUrl?: string;
|
|
597
|
+
urls?: ChatbotUrls;
|
|
598
|
+
requestParams?: RequestInit;
|
|
599
|
+
context?: ChatSession["context"];
|
|
600
|
+
contextOptions?: ContextOption[];
|
|
601
|
+
}
|
|
602
|
+
interface TeamMateConfig<T = unknown> {
|
|
603
|
+
name: string;
|
|
604
|
+
avatar: string;
|
|
605
|
+
description: string;
|
|
606
|
+
availability: TeamMateAvailability[];
|
|
607
|
+
key: TaskLabels;
|
|
608
|
+
seeInAction?: boolean;
|
|
609
|
+
comingSoon?: boolean | (() => boolean);
|
|
610
|
+
displayComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
611
|
+
formComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
612
|
+
}
|
|
613
|
+
declare enum TeamMateActionType {
|
|
614
|
+
SEE_IN_ACTION = "SEE_IN_ACTION",
|
|
615
|
+
REQUEST_ACCESS = "REQUEST_ACCESS",
|
|
616
|
+
VIEW_DETAILS = "VIEW_DETAILS"
|
|
617
|
+
}
|
|
618
|
+
interface Citation {
|
|
619
|
+
id: string;
|
|
620
|
+
content: string;
|
|
621
|
+
taskLabel: TaskLabels;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export { type Artifact as A, type Datamate as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type EntityDetectionRequest as G, type EntityDetectionResponse as H, type InteractionRequest as I, type Mode as J, type InteractionType as K, type Learning as L, type MessageAttachment as M, type InteractionChoice as N, sessionStatusSchema as O, PersonalizationScope as P, todoItemSchema as Q, type ToolUsageData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ProgressUpdate as V, type FinalResponseData as W, agentStreamResponseSchema as X, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatSession as k, learningSchema as l, type ChatbotProviderProps as m, type ChatState as n, type ContextOption as o, type ChatMessage as p, type AgentAction as q, type TodoItem as r, type ChatResponse as s, LoadingState as t, type AgentStreamResponse as u, type ChatEventStatus as v, type ChatEvent as w, type AssistantMeta as x, type FileUploadProps as y, type ChatbotUrls as z };
|