@deep-eye/core 0.5.1 → 0.7.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +116 -11
  3. package/dist/index.cjs +48 -64
  4. package/dist/index.js +8142 -14685
  5. package/dist/style.css +1 -1
  6. package/package.json +3 -2
  7. package/dist/components/chat/AiConversation.vue.d.ts +0 -22
  8. package/dist/components/chat/AiConversation.vue.d.ts.map +0 -1
  9. package/dist/components/chat/builtInToolRenderers.d.ts +0 -2
  10. package/dist/components/chat/builtInToolRenderers.d.ts.map +0 -1
  11. package/dist/components/chat/components/ChartToolRenderer.vue.d.ts +0 -7
  12. package/dist/components/chat/components/ChartToolRenderer.vue.d.ts.map +0 -1
  13. package/dist/components/chat/components/CodeToolRenderer.vue.d.ts +0 -9
  14. package/dist/components/chat/components/CodeToolRenderer.vue.d.ts.map +0 -1
  15. package/dist/components/chat/components/EmptyState.vue.d.ts +0 -11
  16. package/dist/components/chat/components/EmptyState.vue.d.ts.map +0 -1
  17. package/dist/components/chat/components/MessageBubble.vue.d.ts +0 -24
  18. package/dist/components/chat/components/MessageBubble.vue.d.ts.map +0 -1
  19. package/dist/components/chat/components/MindMapToolRenderer.vue.d.ts +0 -7
  20. package/dist/components/chat/components/MindMapToolRenderer.vue.d.ts.map +0 -1
  21. package/dist/components/chat/components/OpenGenUIToolRenderer.vue.d.ts +0 -7
  22. package/dist/components/chat/components/OpenGenUIToolRenderer.vue.d.ts.map +0 -1
  23. package/dist/components/chat/components/OpenGenerativeUiChartRenderer.vue.d.ts +0 -9
  24. package/dist/components/chat/components/OpenGenerativeUiChartRenderer.vue.d.ts.map +0 -1
  25. package/dist/components/chat/components/OpenGenerativeUiPlanRenderer.vue.d.ts +0 -9
  26. package/dist/components/chat/components/OpenGenerativeUiPlanRenderer.vue.d.ts.map +0 -1
  27. package/dist/components/chat/components/OpenGenerativeUiScheduleRenderer.vue.d.ts +0 -9
  28. package/dist/components/chat/components/OpenGenerativeUiScheduleRenderer.vue.d.ts.map +0 -1
  29. package/dist/components/chat/components/OpenGenerativeUiThemeRenderer.vue.d.ts +0 -7
  30. package/dist/components/chat/components/OpenGenerativeUiThemeRenderer.vue.d.ts.map +0 -1
  31. package/dist/components/chat/components/SearchToolRenderer.vue.d.ts +0 -7
  32. package/dist/components/chat/components/SearchToolRenderer.vue.d.ts.map +0 -1
  33. package/dist/components/chat/components/TextPartRenderer.vue.d.ts +0 -14
  34. package/dist/components/chat/components/TextPartRenderer.vue.d.ts.map +0 -1
  35. package/dist/components/chat/components/ToolCallPart.vue.d.ts +0 -11
  36. package/dist/components/chat/components/ToolCallPart.vue.d.ts.map +0 -1
  37. package/dist/components/chat/components/index.d.ts +0 -14
  38. package/dist/components/chat/components/index.d.ts.map +0 -1
  39. package/dist/components/chat/composables/index.d.ts +0 -3
  40. package/dist/components/chat/composables/index.d.ts.map +0 -1
  41. package/dist/components/chat/composables/useConversation.d.ts +0 -8
  42. package/dist/components/chat/composables/useConversation.d.ts.map +0 -1
  43. package/dist/components/chat/composables/useConversationStream.d.ts +0 -3
  44. package/dist/components/chat/composables/useConversationStream.d.ts.map +0 -1
  45. package/dist/components/chat/index.d.ts +0 -17
  46. package/dist/components/chat/index.d.ts.map +0 -1
  47. package/dist/components/chat/mdoc/AskUserForm.vue.d.ts +0 -33
  48. package/dist/components/chat/mdoc/AskUserForm.vue.d.ts.map +0 -1
  49. package/dist/components/chat/mdoc/ContentNodes.vue.d.ts +0 -11
  50. package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +0 -1
  51. package/dist/components/chat/mdoc/builtInRegistry.d.ts +0 -7
  52. package/dist/components/chat/mdoc/builtInRegistry.d.ts.map +0 -1
  53. package/dist/components/chat/mdoc/extractAskForms.d.ts +0 -6
  54. package/dist/components/chat/mdoc/extractAskForms.d.ts.map +0 -1
  55. package/dist/components/chat/mdoc/index.d.ts +0 -8
  56. package/dist/components/chat/mdoc/index.d.ts.map +0 -1
  57. package/dist/components/chat/mdoc/parser.d.ts +0 -41
  58. package/dist/components/chat/mdoc/parser.d.ts.map +0 -1
  59. package/dist/components/chat/mdoc/prompt.d.ts +0 -6
  60. package/dist/components/chat/mdoc/prompt.d.ts.map +0 -1
  61. package/dist/components/chat/mdoc/registry.d.ts +0 -15
  62. package/dist/components/chat/mdoc/registry.d.ts.map +0 -1
  63. package/dist/components/chat/mdoc/sanitize.d.ts +0 -2
  64. package/dist/components/chat/mdoc/sanitize.d.ts.map +0 -1
  65. package/dist/components/chat/mdoc/textContent.d.ts +0 -30
  66. package/dist/components/chat/mdoc/textContent.d.ts.map +0 -1
  67. package/dist/components/chat/openGenerativeUi.d.ts +0 -25
  68. package/dist/components/chat/openGenerativeUi.d.ts.map +0 -1
  69. package/dist/components/chat/toolRenderers.d.ts +0 -8
  70. package/dist/components/chat/toolRenderers.d.ts.map +0 -1
  71. package/dist/components/chat/types.d.ts +0 -317
  72. package/dist/components/chat/types.d.ts.map +0 -1
  73. package/dist/components/index.d.ts +0 -3
  74. package/dist/components/index.d.ts.map +0 -1
  75. package/dist/components/visualization/D3MindMap.vue.d.ts +0 -83
  76. package/dist/components/visualization/D3MindMap.vue.d.ts.map +0 -1
  77. package/dist/components/visualization/index.d.ts +0 -5
  78. package/dist/components/visualization/index.d.ts.map +0 -1
  79. package/dist/components/visualization/themes.d.ts +0 -40
  80. package/dist/components/visualization/themes.d.ts.map +0 -1
  81. package/dist/components/visualization/types.d.ts +0 -291
  82. package/dist/components/visualization/types.d.ts.map +0 -1
  83. package/dist/components/visualization/utils.d.ts +0 -44
  84. package/dist/components/visualization/utils.d.ts.map +0 -1
  85. package/dist/composables/index.d.ts +0 -3
  86. package/dist/composables/index.d.ts.map +0 -1
  87. package/dist/composables/useMindMapLayout.d.ts +0 -16
  88. package/dist/composables/useMindMapLayout.d.ts.map +0 -1
  89. package/dist/composables/useMindMapTheme.d.ts +0 -43
  90. package/dist/composables/useMindMapTheme.d.ts.map +0 -1
  91. package/dist/index.d.ts +0 -5
  92. package/dist/index.d.ts.map +0 -1
  93. package/dist/types/index.d.ts +0 -12
  94. package/dist/types/index.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deep-eye/core",
3
- "version": "0.5.1",
3
+ "version": "0.7.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,7 +20,8 @@
20
20
  },
21
21
  "files": [
22
22
  "dist",
23
- "README.md"
23
+ "README.md",
24
+ "CHANGELOG.md"
24
25
  ],
25
26
  "scripts": {
26
27
  "dev": "vite build --watch",
@@ -1,22 +0,0 @@
1
- import type { AiConversationExpose, AiConversationProps, ConversationUiAction } from './types';
2
- type __VLS_Slots = {
3
- empty?: () => unknown;
4
- 'user-avatar'?: () => unknown;
5
- 'assistant-avatar'?: () => unknown;
6
- };
7
- declare const __VLS_base: import("vue").DefineComponent<AiConversationProps, AiConversationExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- action: (payload: ConversationUiAction) => any;
9
- }, string, import("vue").PublicProps, Readonly<AiConversationProps> & Readonly<{
10
- onAction?: ((payload: ConversationUiAction) => any) | undefined;
11
- }>, {
12
- autoScroll: import("./types").AutoScrollMode;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
17
- type __VLS_WithSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
22
- //# sourceMappingURL=AiConversation.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AiConversation.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/AiConversation.vue"],"names":[],"mappings":"AA6oBA,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EAInB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAUhB,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAA;CACnC,CAAC;AAonBF,QAAA,MAAM,UAAU;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=builtInToolRenderers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builtInToolRenderers.d.ts","sourceRoot":"","sources":["../../../src/components/chat/builtInToolRenderers.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- result?: unknown;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=ChartToolRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChartToolRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChartToolRenderer.vue"],"names":[],"mappings":"AAqIA,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AA+GxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +0,0 @@
1
- import type { ConversationToolCall } from '../types';
2
- type __VLS_Props = {
3
- toolCall: ConversationToolCall;
4
- result?: unknown;
5
- };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
9
- //# sourceMappingURL=CodeToolRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeToolRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/CodeToolRenderer.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAIpD,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,oBAAoB,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAkGxE,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,11 +0,0 @@
1
- interface Props {
2
- title?: string;
3
- description?: string;
4
- }
5
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
6
- title: string;
7
- description: string;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- //# sourceMappingURL=EmptyState.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmptyState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/EmptyState.vue"],"names":[],"mappings":"AA4FA,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAkED,QAAA,MAAM,YAAY;WApER,MAAM;iBACA,MAAM;6EAsEpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,24 +0,0 @@
1
- import type { ConversationMessage } from '../types';
2
- type __VLS_Props = {
3
- message: ConversationMessage;
4
- toolMessagesById?: ReadonlyMap<string, ConversationMessage>;
5
- theme?: import('../types').ConversationTheme;
6
- userAvatar?: string;
7
- assistantAvatar?: string;
8
- };
9
- declare var __VLS_1: {}, __VLS_23: {};
10
- type __VLS_Slots = {} & {
11
- 'assistant-avatar'?: (props: typeof __VLS_1) => any;
12
- } & {
13
- 'user-avatar'?: (props: typeof __VLS_23) => any;
14
- };
15
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
- declare const _default: typeof __VLS_export;
18
- export default _default;
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
24
- //# sourceMappingURL=MessageBubble.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageBubble.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/MessageBubble.vue"],"names":[],"mappings":"AA8TA,OAAO,KAAK,EAAE,mBAAmB,EAAwB,MAAM,UAAU,CAAA;AAIzE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAA;IAC3D,KAAK,CAAC,EAAE,OAAO,UAAU,EAAE,iBAAiB,CAAA;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAqRF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACvD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKtD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- result?: unknown;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=MindMapToolRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MindMapToolRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/MindMapToolRenderer.vue"],"names":[],"mappings":"AAqLA,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AA2KxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- result?: unknown;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=OpenGenUIToolRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenGenUIToolRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/OpenGenUIToolRenderer.vue"],"names":[],"mappings":"AAqSA,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAkPxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +0,0 @@
1
- import type { ConversationToolCall } from '../types';
2
- type __VLS_Props = {
3
- toolCall: ConversationToolCall;
4
- result?: unknown;
5
- };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
9
- //# sourceMappingURL=OpenGenerativeUiChartRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenGenerativeUiChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/OpenGenerativeUiChartRenderer.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAepD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA2LF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +0,0 @@
1
- import type { ConversationToolCall } from '../types';
2
- type __VLS_Props = {
3
- toolCall: ConversationToolCall;
4
- result?: unknown;
5
- };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
9
- //# sourceMappingURL=OpenGenerativeUiPlanRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenGenerativeUiPlanRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/OpenGenerativeUiPlanRenderer.vue"],"names":[],"mappings":"AA+HA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAIpD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA0GF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +0,0 @@
1
- import type { ConversationToolCall } from '../types';
2
- type __VLS_Props = {
3
- toolCall: ConversationToolCall;
4
- result?: unknown;
5
- };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
9
- //# sourceMappingURL=OpenGenerativeUiScheduleRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenGenerativeUiScheduleRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/OpenGenerativeUiScheduleRenderer.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAUpD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAqKF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- result?: unknown;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=OpenGenerativeUiThemeRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenGenerativeUiThemeRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/OpenGenerativeUiThemeRenderer.vue"],"names":[],"mappings":"AAwDA,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAqDxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- result?: unknown;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=SearchToolRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchToolRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/SearchToolRenderer.vue"],"names":[],"mappings":"AA4GA,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAkHxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,14 +0,0 @@
1
- type __VLS_Props = {
2
- content: string;
3
- isStreaming?: boolean;
4
- /** Highlights the final visible characters while a stream is active. */
5
- highlightStreamTail?: boolean;
6
- /** user 气泡内用 compact,去掉段落边距以利垂直居中 */
7
- density?: 'default' | 'compact';
8
- };
9
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
- density: "default" | "compact";
11
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
14
- //# sourceMappingURL=TextPartRenderer.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextPartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/TextPartRenderer.vue"],"names":[],"mappings":"AAiCA,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,qCAAqC;IACrC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAChC,CAAC;AAwCJ,QAAA,MAAM,YAAY;aAzCJ,SAAS,GAAG,SAAS;6EA4CjC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,11 +0,0 @@
1
- import type { ConversationMessage, ConversationToolCall } from '../types';
2
- import '../builtInToolRenderers';
3
- type __VLS_Props = {
4
- toolCall: ConversationToolCall;
5
- toolMessage?: ConversationMessage;
6
- isStreaming?: boolean;
7
- };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- //# sourceMappingURL=ToolCallPart.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ToolCallPart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ToolCallPart.vue"],"names":[],"mappings":"AAwWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAkB,MAAM,UAAU,CAAA;AACzF,OAAO,yBAAyB,CAAA;AAKhC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,WAAW,CAAC,EAAE,mBAAmB,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;AA8TF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,14 +0,0 @@
1
- export { default as MessageBubble } from './MessageBubble.vue';
2
- export { default as TextPartRenderer } from './TextPartRenderer.vue';
3
- export { default as ToolCallPart } from './ToolCallPart.vue';
4
- export { default as ChartToolRenderer } from './ChartToolRenderer.vue';
5
- export { default as CodeToolRenderer } from './CodeToolRenderer.vue';
6
- export { default as MindMapToolRenderer } from './MindMapToolRenderer.vue';
7
- export { default as OpenGenerativeUiChartRenderer } from './OpenGenerativeUiChartRenderer.vue';
8
- export { default as OpenGenerativeUiPlanRenderer } from './OpenGenerativeUiPlanRenderer.vue';
9
- export { default as OpenGenerativeUiScheduleRenderer } from './OpenGenerativeUiScheduleRenderer.vue';
10
- export { default as OpenGenerativeUiThemeRenderer } from './OpenGenerativeUiThemeRenderer.vue';
11
- export { default as OpenGenUIToolRenderer } from './OpenGenUIToolRenderer.vue';
12
- export { default as SearchToolRenderer } from './SearchToolRenderer.vue';
13
- export { default as EmptyState } from './EmptyState.vue';
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,qCAAqC,CAAA;AAC9F,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,oCAAoC,CAAA;AAC5F,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,MAAM,wCAAwC,CAAA;AACpG,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,qCAAqC,CAAA;AAC9F,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,3 +0,0 @@
1
- export { useConversation } from './useConversation';
2
- export { useConversationStream } from './useConversationStream';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { ConversationMessage, ToolCallStatus, UseConversationReturn } from '../types';
2
- /**
3
- * Holds render-only conversation state. It deliberately owns no transport,
4
- * retry, input, or persistence concerns.
5
- */
6
- export declare function useConversation(initialMessages?: ConversationMessage[]): UseConversationReturn;
7
- export declare function getToolCallStatus(message: ConversationMessage | undefined): ToolCallStatus;
8
- //# sourceMappingURL=useConversation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useConversation.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useConversation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,mBAAmB,EAKnB,cAAc,EACd,qBAAqB,EACtB,MAAM,UAAU,CAAA;AAEjB;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,eAAe,GAAE,mBAAmB,EAAO,GAC1C,qBAAqB,CAgKvB;AA8ED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,mBAAmB,GAAG,SAAS,GAAG,cAAc,CAE1F"}
@@ -1,3 +0,0 @@
1
- import type { ConversationMessage, UseConversationStreamReturn } from '../types';
2
- export declare function useConversationStream(initialMessages?: ConversationMessage[]): UseConversationStreamReturn;
3
- //# sourceMappingURL=useConversationStream.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useConversationStream.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useConversationStream.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,mBAAmB,EAQnB,2BAA2B,EAC5B,MAAM,UAAU,CAAA;AAUjB,wBAAgB,qBAAqB,CACnC,eAAe,GAAE,mBAAmB,EAAO,GAC1C,2BAA2B,CAoQ7B"}
@@ -1,17 +0,0 @@
1
- export { default as AiConversation } from './AiConversation.vue';
2
- export { default as ChartToolRenderer } from './components/ChartToolRenderer.vue';
3
- export { default as CodeToolRenderer } from './components/CodeToolRenderer.vue';
4
- export { default as MindMapToolRenderer } from './components/MindMapToolRenderer.vue';
5
- export { default as OpenGenerativeUiChartRenderer } from './components/OpenGenerativeUiChartRenderer.vue';
6
- export { default as OpenGenerativeUiPlanRenderer } from './components/OpenGenerativeUiPlanRenderer.vue';
7
- export { default as OpenGenerativeUiScheduleRenderer } from './components/OpenGenerativeUiScheduleRenderer.vue';
8
- export { default as OpenGenerativeUiThemeRenderer } from './components/OpenGenerativeUiThemeRenderer.vue';
9
- export { default as OpenGenUIToolRenderer } from './components/OpenGenUIToolRenderer.vue';
10
- export { default as SearchToolRenderer } from './components/SearchToolRenderer.vue';
11
- export { ASK_USER_FORM_SYSTEM_PROMPT } from './mdoc/builtInRegistry';
12
- export type { AiConversationExpose, AiConversationProps, AutoScrollMode, ConversationAskFormAnswer, ConversationStreamConsumeOptions, ConversationStreamInput, ConversationStreamSource, ConversationStreamStatus, ConversationMessage, ConversationRole, ConversationDelta, ConversationTheme, ConversationUiAction, ConversationToolCall, ConversationToolCallDelta, GenerativeChartOutput, OpenGenerativeUiBarChartOutput, OpenGenerativeUiChartDatum, OpenGenerativeUiMeetingTimePickerOutput, OpenGenerativeUiOutput, OpenGenerativeUiPieChartOutput, OpenGenerativeUiPlanCardOutput, OpenGenerativeUiRenderStatus, OpenGenerativeUiTimeSlot, OpenGenerativeUiToggleThemeInput, OpenGenerativeUiToolReasoningOutput, OpenAiChatCompletionChoice, OpenAiChatCompletionChunk, OpenAiChatCompletionDelta, OpenAiChatCompletionToolCallDelta, OpenGenUIContent, PlanVisualizationOutput, ScheduleTimeOutput, StandaloneActivityContent, ToolCallStatus, ToolRenderer, ToolRendererProps, UseConversationReturn, UseConversationStreamReturn, } from './types';
13
- export { useConversation, useConversationStream } from './composables';
14
- export { registerToolRenderer } from './toolRenderers';
15
- export { OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_OUTPUT_CATALOG, OPEN_GENERATIVE_UI_OUTPUT_NAMES, } from './openGenerativeUi';
16
- export type { OpenGenerativeUiOutputCatalogEntry, OpenGenerativeUiOutputKind, OpenGenerativeUiOutputName, } from './openGenerativeUi';
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AACjF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,gDAAgD,CAAA;AACzG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,+CAA+C,CAAA;AACvG,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,MAAM,mDAAmD,CAAA;AAC/G,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,gDAAgD,CAAA;AACzG,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAEnF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AAEpE,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,yBAAyB,EACzB,gCAAgC,EAChC,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,8BAA8B,EAC9B,0BAA0B,EAC1B,uCAAuC,EACvC,sBAAsB,EACtB,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,gCAAgC,EAChC,mCAAmC,EACnC,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,iCAAiC,EACjC,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EACL,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,oBAAoB,CAAA"}
@@ -1,33 +0,0 @@
1
- import type { ConversationUiAction } from '../types';
2
- import type { MdocComponentNode } from './parser';
3
- type AskFormDraft = {
4
- value: string;
5
- label?: string;
6
- skipped?: boolean;
7
- };
8
- type __VLS_Props = {
9
- node: MdocComponentNode;
10
- questionIndex?: number;
11
- questionCount?: number;
12
- groupCanSubmit?: boolean;
13
- };
14
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- action: (payload: ConversationUiAction) => any;
16
- answerChange: (payload: AskFormDraft | null) => any;
17
- previous: () => any;
18
- next: () => any;
19
- submitGroup: () => any;
20
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onAction?: ((payload: ConversationUiAction) => any) | undefined;
22
- onAnswerChange?: ((payload: AskFormDraft | null) => any) | undefined;
23
- onPrevious?: (() => any) | undefined;
24
- onNext?: (() => any) | undefined;
25
- onSubmitGroup?: (() => any) | undefined;
26
- }>, {
27
- questionIndex: number;
28
- questionCount: number;
29
- groupCanSubmit: boolean;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
- declare const _default: typeof __VLS_export;
32
- export default _default;
33
- //# sourceMappingURL=AskUserForm.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AskUserForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/AskUserForm.vue"],"names":[],"mappings":"AA8uBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAEjD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAID,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,iBAAiB,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAC;AAslBJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;mBAzlBE,MAAM;mBACN,MAAM;oBACL,OAAO;6EA2lB1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,11 +0,0 @@
1
- type __VLS_Props = {
2
- content: string;
3
- isStreaming?: boolean;
4
- highlightStreamTail?: boolean;
5
- /** compact:用于用户气泡,去掉段落外边距与过大行高 */
6
- density?: 'default' | 'compact';
7
- };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- //# sourceMappingURL=ContentNodes.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentNodes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/ContentNodes.vue"],"names":[],"mappings":"AAwUA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,kCAAkC;IAClC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAChC,CAAC;AA8PF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- export declare const builtInRegistry: import("./registry").Registry;
2
- /**
3
- * AskUserForm 的 system prompt 片段。
4
- * 宿主拼进 LLM system;后续其它交互标签会各自导出对应常量,再按需拼接。
5
- */
6
- export declare const ASK_USER_FORM_SYSTEM_PROMPT: string;
7
- //# sourceMappingURL=builtInRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builtInRegistry.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/builtInRegistry.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,+BAiB1B,CAAA;AAwBF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,QAEtC,CAAA"}
@@ -1,6 +0,0 @@
1
- import { type MdocComponentNode } from './parser';
2
- /** Parse message content and return complete ask-form nodes (for bottom dock). */
3
- export declare function extractAskFormNodes(content: string | undefined, options?: {
4
- isStreaming?: boolean;
5
- }): MdocComponentNode[];
6
- //# sourceMappingURL=extractAskForms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extractAskForms.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/extractAskForms.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAElE,kFAAkF;AAClF,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,GAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAO,GACtC,iBAAiB,EAAE,CAWrB"}
@@ -1,8 +0,0 @@
1
- export { createRegistry } from './registry';
2
- export type { PropTypeName, Registry, TagSchema } from './registry';
3
- export { StreamingParser } from './parser';
4
- export type { MdocComponentNode, MdocNode, MdocTextNode, StreamingParserOptions } from './parser';
5
- export { generatePrompt } from './prompt';
6
- export type { GeneratePromptOptions } from './prompt';
7
- export { builtInRegistry, ASK_USER_FORM_SYSTEM_PROMPT } from './builtInRegistry';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,YAAY,EAAE,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,YAAY,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA"}
@@ -1,41 +0,0 @@
1
- import { type Registry } from './registry';
2
- export type MdocTextNode = {
3
- id: string;
4
- kind: 'text';
5
- text: string;
6
- };
7
- export type MdocComponentNode = {
8
- id: string;
9
- kind: 'component';
10
- tag: string;
11
- props: Record<string, unknown>;
12
- children: MdocNode[];
13
- slotText: string;
14
- complete: boolean;
15
- };
16
- export type MdocNode = MdocTextNode | MdocComponentNode;
17
- export interface StreamingParserOptions {
18
- registry: Registry;
19
- }
20
- export declare class StreamingParser {
21
- private readonly registry;
22
- private buffer;
23
- private nodes;
24
- private idSeq;
25
- private finalized;
26
- /** Open component frames that are not yet complete (held until close). */
27
- private stack;
28
- constructor(options: StreamingParserOptions);
29
- push(chunk: string): void;
30
- finalize(): void;
31
- getNodes(): MdocNode[];
32
- private nextId;
33
- private cloneNode;
34
- private appendText;
35
- private emitComponent;
36
- private consume;
37
- private handleClose;
38
- private handleUnknown;
39
- private flushRemainderAsText;
40
- }
41
- //# sourceMappingURL=parser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EAEd,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,iBAAiB,CAAA;AAEvD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AA2ED,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IACnC,OAAO,CAAC,MAAM,CAAK;IACnB,OAAO,CAAC,KAAK,CAAiB;IAC9B,OAAO,CAAC,KAAK,CAAI;IACjB,OAAO,CAAC,SAAS,CAAQ;IAEzB,0EAA0E;IAC1E,OAAO,CAAC,KAAK,CAMN;gBAEK,OAAO,EAAE,sBAAsB;IAI3C,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAMzB,QAAQ,IAAI,IAAI;IAMhB,QAAQ,IAAI,QAAQ,EAAE;IAItB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,aAAa;IAwBrB,OAAO,CAAC,OAAO;IAmGf,OAAO,CAAC,WAAW;IA0BnB,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,oBAAoB;CAgC7B"}
@@ -1,6 +0,0 @@
1
- import type { Registry } from './registry';
2
- export interface GeneratePromptOptions {
3
- preamble?: string;
4
- }
5
- export declare function generatePrompt(registry: Registry, options?: GeneratePromptOptions): string;
6
- //# sourceMappingURL=prompt.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAG1C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,GAAE,qBAA0B,GAAG,MAAM,CAoB9F"}
@@ -1,15 +0,0 @@
1
- export type PropTypeName = 'string' | 'boolean' | 'number' | 'string?' | 'boolean?' | 'number?';
2
- export interface TagSchema {
3
- props: Record<string, PropTypeName>;
4
- children?: string[];
5
- }
6
- export interface Registry {
7
- readonly tags: Readonly<Record<string, TagSchema>>;
8
- has(tag: string): boolean;
9
- get(tag: string): TagSchema | undefined;
10
- entries(): Array<[string, TagSchema]>;
11
- }
12
- export declare function createRegistry(defs: Record<string, TagSchema>): Registry;
13
- export declare function isOptionalProp(type: PropTypeName): boolean;
14
- export declare function basePropType(type: PropTypeName): 'string' | 'boolean' | 'number';
15
- //# sourceMappingURL=registry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/registry.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAA;AAE/F,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;IAClD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IACzB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;IACvC,OAAO,IAAI,KAAK,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;CACtC;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAexE;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAE1D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAEhF"}
@@ -1,2 +0,0 @@
1
- export declare function sanitizeHtml(html: string): string;
2
- //# sourceMappingURL=sanitize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sanitize.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/sanitize.ts"],"names":[],"mappings":"AAgEA,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD"}
@@ -1,30 +0,0 @@
1
- declare const sharedIsReady: import("vue").Ref<boolean, boolean>;
2
- export declare function ensureMarkdownReady(): Promise<void>;
3
- export declare function isMarkdownReady(): boolean;
4
- export { sharedIsReady as markdownReady };
5
- export type TextSegment = {
6
- type: 'html';
7
- id: string;
8
- html: string;
9
- } | {
10
- type: 'image';
11
- id: string;
12
- url: string;
13
- alt?: string;
14
- } | {
15
- type: 'video';
16
- id: string;
17
- url: string;
18
- poster?: string;
19
- } | {
20
- type: 'audio';
21
- id: string;
22
- url: string;
23
- title?: string;
24
- };
25
- /**
26
- * Turn a markdown text blob into renderable segments (html + media).
27
- * Code fences stay as plain &lt;pre&gt;&lt;code&gt; from md4x (no Shiki).
28
- */
29
- export declare function renderTextToSegments(markdown: string): TextSegment[];
30
- //# sourceMappingURL=textContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"textContent.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/textContent.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,aAAa,qCAAa,CAAA;AAGhC,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAYnD;AAID,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,CAAA;AAEzC,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GACxD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AA8E9D;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,EAAE,CAuDpE"}
@@ -1,25 +0,0 @@
1
- /** Matches OpenGenerativeUI's activity type without importing its runtime. */
2
- export declare const OPEN_GENERATIVE_UI_ACTIVITY_TYPE: "open-generative-ui";
3
- /** Tool and activity names registered by OpenGenerativeUI's `apps/app` demo. */
4
- export declare const OPEN_GENERATIVE_UI_OUTPUT_NAMES: {
5
- readonly toggleTheme: "toggleTheme";
6
- readonly pieChart: "pieChart";
7
- readonly barChart: "barChart";
8
- readonly planVisualization: "plan_visualization";
9
- readonly scheduleTime: "scheduleTime";
10
- readonly defaultTool: "default-tool";
11
- readonly activity: "open-generative-ui";
12
- };
13
- export type OpenGenerativeUiOutputName = (typeof OPEN_GENERATIVE_UI_OUTPUT_NAMES)[keyof typeof OPEN_GENERATIVE_UI_OUTPUT_NAMES];
14
- export type OpenGenerativeUiOutputKind = 'frontend-tool' | 'component' | 'render-tool' | 'human-in-the-loop' | 'default-tool' | 'activity';
15
- export interface OpenGenerativeUiOutputCatalogEntry {
16
- name: OpenGenerativeUiOutputName;
17
- kind: OpenGenerativeUiOutputKind;
18
- renderer: string;
19
- }
20
- /**
21
- * Complete output registry from OpenGenerativeUI's `useGenerativeUIExamples`
22
- * plus its `renderActivityMessages` registration.
23
- */
24
- export declare const OPEN_GENERATIVE_UI_OUTPUT_CATALOG: readonly OpenGenerativeUiOutputCatalogEntry[];
25
- //# sourceMappingURL=openGenerativeUi.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"openGenerativeUi.d.ts","sourceRoot":"","sources":["../../../src/components/chat/openGenerativeUi.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,eAAO,MAAM,gCAAgC,EAAG,oBAA6B,CAAA;AAE7E,gFAAgF;AAChF,eAAO,MAAM,+BAA+B;;;;;;;;CAQlC,CAAA;AAEV,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAA;AAExF,MAAM,MAAM,0BAA0B,GAClC,eAAe,GACf,WAAW,GACX,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,UAAU,CAAA;AAEd,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,0BAA0B,CAAA;IAChC,IAAI,EAAE,0BAA0B,CAAA;IAChC,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,SAAS,kCAAkC,EA4B1F,CAAA"}