agentic-ui-libs 0.4.0-beta.2 → 1.0.0-beta.10

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 (99) hide show
  1. package/dist/assets/style.css +4170 -1
  2. package/dist/features/dashboard/AgentListView.d.ts.map +1 -1
  3. package/dist/features/dashboard/AnalyticsChart.d.ts.map +1 -1
  4. package/dist/features/dashboard/AnalyticsTable.d.ts.map +1 -1
  5. package/dist/features/dashboard/Dashboard.d.ts.map +1 -1
  6. package/dist/features/dashboard/DashboardSection.d.ts.map +1 -1
  7. package/dist/features/dashboard/MetricCard.d.ts.map +1 -1
  8. package/dist/features/dashboard/ModelListView.d.ts.map +1 -1
  9. package/dist/features/dashboard/RunsSlider.d.ts.map +1 -1
  10. package/dist/features/dashboard/SectionControls.d.ts.map +1 -1
  11. package/dist/features/dashboard/ToolListView.d.ts.map +1 -1
  12. package/dist/features/debug-logs/DebugPanel.d.ts.map +1 -1
  13. package/dist/features/debug-logs/components/DataViewer.d.ts.map +1 -1
  14. package/dist/features/debug-logs/components/DebugCard.d.ts.map +1 -1
  15. package/dist/features/md-editor/MDEditor.d.ts +5 -0
  16. package/dist/features/md-editor/MDEditor.d.ts.map +1 -0
  17. package/dist/features/md-editor/components/AIContextMenu.d.ts +10 -0
  18. package/dist/features/md-editor/components/AIContextMenu.d.ts.map +1 -0
  19. package/dist/features/md-editor/components/AIRefinePanel.d.ts +5 -0
  20. package/dist/features/md-editor/components/AIRefinePanel.d.ts.map +1 -0
  21. package/dist/features/md-editor/components/DragHandle.d.ts +8 -0
  22. package/dist/features/md-editor/components/DragHandle.d.ts.map +1 -0
  23. package/dist/features/md-editor/components/InlineToolbar.d.ts +15 -0
  24. package/dist/features/md-editor/components/InlineToolbar.d.ts.map +1 -0
  25. package/dist/features/md-editor/components/MentionChip.d.ts +12 -0
  26. package/dist/features/md-editor/components/MentionChip.d.ts.map +1 -0
  27. package/dist/features/md-editor/components/SlashMenu.d.ts +16 -0
  28. package/dist/features/md-editor/components/SlashMenu.d.ts.map +1 -0
  29. package/dist/features/md-editor/components/TableToolbar.d.ts +9 -0
  30. package/dist/features/md-editor/components/TableToolbar.d.ts.map +1 -0
  31. package/dist/features/md-editor/components/VariableChip.d.ts +12 -0
  32. package/dist/features/md-editor/components/VariableChip.d.ts.map +1 -0
  33. package/dist/features/md-editor/components/VariableMenu.d.ts +27 -0
  34. package/dist/features/md-editor/components/VariableMenu.d.ts.map +1 -0
  35. package/dist/features/md-editor/components/index.d.ts +9 -0
  36. package/dist/features/md-editor/components/index.d.ts.map +1 -0
  37. package/dist/features/md-editor/extensions/AIRefineExtension.d.ts +20 -0
  38. package/dist/features/md-editor/extensions/AIRefineExtension.d.ts.map +1 -0
  39. package/dist/features/md-editor/extensions/MentionChip.d.ts +22 -0
  40. package/dist/features/md-editor/extensions/MentionChip.d.ts.map +1 -0
  41. package/dist/features/md-editor/extensions/MentionCommand.d.ts +13 -0
  42. package/dist/features/md-editor/extensions/MentionCommand.d.ts.map +1 -0
  43. package/dist/features/md-editor/extensions/SlashCommand.d.ts +31 -0
  44. package/dist/features/md-editor/extensions/SlashCommand.d.ts.map +1 -0
  45. package/dist/features/md-editor/extensions/VariableChip.d.ts +21 -0
  46. package/dist/features/md-editor/extensions/VariableChip.d.ts.map +1 -0
  47. package/dist/features/md-editor/extensions/index.d.ts +5 -0
  48. package/dist/features/md-editor/extensions/index.d.ts.map +1 -0
  49. package/dist/features/md-editor/index.d.ts +9 -0
  50. package/dist/features/md-editor/index.d.ts.map +1 -0
  51. package/dist/features/md-editor/types.d.ts +368 -0
  52. package/dist/features/md-editor/types.d.ts.map +1 -0
  53. package/dist/features/md-editor/utils/index.d.ts +2 -0
  54. package/dist/features/md-editor/utils/index.d.ts.map +1 -0
  55. package/dist/features/md-editor/utils/markdown.d.ts +19 -0
  56. package/dist/features/md-editor/utils/markdown.d.ts.map +1 -0
  57. package/dist/features/prompt-editor/PromptEditor.d.ts +14 -0
  58. package/dist/features/prompt-editor/PromptEditor.d.ts.map +1 -0
  59. package/dist/features/prompt-editor/RefinePanel.d.ts +41 -0
  60. package/dist/features/prompt-editor/RefinePanel.d.ts.map +1 -0
  61. package/dist/features/prompt-editor/components/AddToolbar.d.ts +8 -0
  62. package/dist/features/prompt-editor/components/AddToolbar.d.ts.map +1 -0
  63. package/dist/features/prompt-editor/components/ChatMessage.d.ts +13 -0
  64. package/dist/features/prompt-editor/components/ChatMessage.d.ts.map +1 -0
  65. package/dist/features/prompt-editor/components/CodeEditor.d.ts +8 -0
  66. package/dist/features/prompt-editor/components/CodeEditor.d.ts.map +1 -0
  67. package/dist/features/prompt-editor/components/ContentBlock.d.ts +23 -0
  68. package/dist/features/prompt-editor/components/ContentBlock.d.ts.map +1 -0
  69. package/dist/features/prompt-editor/components/EditableContent.d.ts +16 -0
  70. package/dist/features/prompt-editor/components/EditableContent.d.ts.map +1 -0
  71. package/dist/features/prompt-editor/components/FormattingToolbar.d.ts +10 -0
  72. package/dist/features/prompt-editor/components/FormattingToolbar.d.ts.map +1 -0
  73. package/dist/features/prompt-editor/components/Header.d.ts +2 -0
  74. package/dist/features/prompt-editor/components/Header.d.ts.map +1 -0
  75. package/dist/features/prompt-editor/components/InsertMenu.d.ts +14 -0
  76. package/dist/features/prompt-editor/components/InsertMenu.d.ts.map +1 -0
  77. package/dist/features/prompt-editor/components/RefineDropdown.d.ts +14 -0
  78. package/dist/features/prompt-editor/components/RefineDropdown.d.ts.map +1 -0
  79. package/dist/features/prompt-editor/components/Section.d.ts +27 -0
  80. package/dist/features/prompt-editor/components/Section.d.ts.map +1 -0
  81. package/dist/features/prompt-editor/components/SectionHeader.d.ts +15 -0
  82. package/dist/features/prompt-editor/components/SectionHeader.d.ts.map +1 -0
  83. package/dist/features/prompt-editor/components/icons.d.ts +16 -0
  84. package/dist/features/prompt-editor/components/icons.d.ts.map +1 -0
  85. package/dist/features/prompt-editor/data/insertableItems.d.ts +17 -0
  86. package/dist/features/prompt-editor/data/insertableItems.d.ts.map +1 -0
  87. package/dist/features/prompt-editor/index.d.ts +19 -0
  88. package/dist/features/prompt-editor/index.d.ts.map +1 -0
  89. package/dist/features/prompt-editor/services/EditorUtils.d.ts +48 -0
  90. package/dist/features/prompt-editor/services/EditorUtils.d.ts.map +1 -0
  91. package/dist/features/prompt-editor/services/PromptApiService.d.ts +22 -0
  92. package/dist/features/prompt-editor/services/PromptApiService.d.ts.map +1 -0
  93. package/dist/features/prompt-editor/types.d.ts +102 -0
  94. package/dist/features/prompt-editor/types.d.ts.map +1 -0
  95. package/dist/index.d.ts +2 -0
  96. package/dist/index.d.ts.map +1 -1
  97. package/dist/index.js +63937 -19750
  98. package/dist/ui-libs.umd.js +74597 -305
  99. package/package.json +34 -2
@@ -0,0 +1,27 @@
1
+ import type { SectionData, FormatType, ContentBlock } from "../types";
2
+ interface SectionProps {
3
+ section: SectionData;
4
+ index: number;
5
+ moveSection: (dragIndex: number, hoverIndex: number) => void;
6
+ moveSectionUp: () => void;
7
+ moveSectionDown: () => void;
8
+ deleteSection: (id: string) => void;
9
+ updateSectionTitle: (id: string, title: string) => void;
10
+ updateSectionFormat: (id: string, format: FormatType) => void;
11
+ addContentBlock: (sectionId: string, type: ContentBlock["type"], parentId?: string, afterBlockId?: string, initialContent?: string, listType?: "bulleted" | "numbered") => string;
12
+ updateContentBlock: (sectionId: string, contentId: string, content: string) => void;
13
+ deleteContentBlock: (sectionId: string, contentId: string) => void;
14
+ replaceAllContent: (sectionId: string, newContent: ContentBlock[]) => void;
15
+ isFirst: boolean;
16
+ isLast: boolean;
17
+ onOpenRefineModal?: (type: "whole" | "selection", originalText: string, instruction: string, contentId?: string, selectionRange?: {
18
+ start: number;
19
+ end: number;
20
+ }) => void;
21
+ activeContentId: string | null;
22
+ onSetActive: (id: string | null) => void;
23
+ suggestions?: any[];
24
+ }
25
+ export declare function Section({ section, moveSectionUp, moveSectionDown, deleteSection, updateSectionFormat, addContentBlock, updateContentBlock, deleteContentBlock, replaceAllContent, isFirst, isLast, onOpenRefineModal, activeContentId, onSetActive, suggestions, }: SectionProps): import("react/jsx-runtime").JSX.Element | null;
26
+ export {};
27
+ //# sourceMappingURL=Section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/components/Section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOtE,UAAU,YAAY;IACpB,OAAO,EAAE,WAAW,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9D,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,KAAK,MAAM,CAAC;IAClL,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC3E,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC1K,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;CACrB;AA2BD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,aAAa,EACb,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,WAAW,GACZ,EAAE,YAAY,kDAoJd"}
@@ -0,0 +1,15 @@
1
+ import type { FormatType } from "../types";
2
+ interface SectionHeaderProps {
3
+ activeFormat: FormatType;
4
+ onFormatChange: (format: FormatType) => void;
5
+ onMoveUp?: () => void;
6
+ onMoveDown?: () => void;
7
+ onDelete?: () => void;
8
+ canMoveUp?: boolean;
9
+ canMoveDown?: boolean;
10
+ onOpenRefineModal: (type: "whole" | "selection", originalText: string, instruction: string) => void;
11
+ sectionContent: string;
12
+ }
13
+ export declare function SectionHeader({ activeFormat, onFormatChange, onOpenRefineModal, sectionContent, }: SectionHeaderProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=SectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/components/SectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAU3C,UAAU,kBAAkB;IAC1B,YAAY,EAAE,UAAU,CAAC;IACzB,cAAc,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpG,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,EAAE,kBAAkB,2CAwHpB"}
@@ -0,0 +1,16 @@
1
+ export declare function PencilAi(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function GenerateIcon(): import("react/jsx-runtime").JSX.Element;
3
+ export declare function ArrowCircleUpIcon({ isActive }: {
4
+ isActive: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export declare function MagicWandIcon(): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CollapseAllIcon(): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ExpandAllIcon(): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FileCodeIcon(): import("react/jsx-runtime").JSX.Element;
10
+ export declare function AgentIcon(): import("react/jsx-runtime").JSX.Element;
11
+ export declare function KnowledgeIcon(): import("react/jsx-runtime").JSX.Element;
12
+ export declare function ToolIcon(): import("react/jsx-runtime").JSX.Element;
13
+ export declare function MemoryIcon(): import("react/jsx-runtime").JSX.Element;
14
+ export declare function EnvVariableIcon(): import("react/jsx-runtime").JSX.Element;
15
+ export declare function SystemVariableIcon(): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/components/icons.tsx"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,4CAYvB;AAED,wBAAgB,YAAY,4CAiC3B;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,2CAiBpE;AAED,wBAAgB,aAAa,4CAY5B;AAED,wBAAgB,eAAe,4CAY9B;AAED,wBAAgB,aAAa,4CAY5B;AAED,wBAAgB,YAAY,4CAY3B;AAGD,wBAAgB,SAAS,4CAgBxB;AAED,wBAAgB,aAAa,4CAgB5B;AAED,wBAAgB,QAAQ,4CAgBvB;AAED,wBAAgB,UAAU,4CAiBzB;AAED,wBAAgB,eAAe,4CAgB9B;AAED,wBAAgB,kBAAkB,4CAEjC"}
@@ -0,0 +1,17 @@
1
+ export type ItemType = "agent" | "tool" | "knowledge" | "memory" | "envVariable" | "systemVariable";
2
+ export interface InsertableItem {
3
+ id: string;
4
+ name: string;
5
+ displayName: string;
6
+ type: ItemType;
7
+ }
8
+ export declare const agents: InsertableItem[];
9
+ export declare const knowledge: InsertableItem[];
10
+ export declare const tools: InsertableItem[];
11
+ export declare const memory: InsertableItem[];
12
+ export declare const envVariables: InsertableItem[];
13
+ export declare const systemVariables: InsertableItem[];
14
+ export declare const allItems: InsertableItem[];
15
+ export declare const getItemsByType: (type: ItemType, suggestions?: InsertableItem[]) => InsertableItem[];
16
+ export declare const searchItems: (query: string, suggestions?: InsertableItem[]) => InsertableItem[];
17
+ //# sourceMappingURL=insertableItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insertableItems.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/data/insertableItems.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEpG,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAGD,eAAO,MAAM,MAAM,EAAE,cAAc,EAAO,CAAC;AAC3C,eAAO,MAAM,SAAS,EAAE,cAAc,EAAO,CAAC;AAC9C,eAAO,MAAM,KAAK,EAAE,cAAc,EAAO,CAAC;AAC1C,eAAO,MAAM,MAAM,EAAE,cAAc,EAAO,CAAC;AAC3C,eAAO,MAAM,YAAY,EAAE,cAAc,EAAO,CAAC;AAEjD,eAAO,MAAM,eAAe,EAAE,cAAc,EAa3C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,cAAc,EAAwF,CAAC;AAE9H,eAAO,MAAM,cAAc,GAAI,MAAM,QAAQ,EAAE,cAAc,cAAc,EAAE,KAAG,cAAc,EAkB7F,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,cAAc,cAAc,EAAE,KAAG,cAAc,EAUzF,CAAC"}
@@ -0,0 +1,19 @@
1
+ export { PromptEditor } from './PromptEditor';
2
+ export { RefinePanel } from './RefinePanel';
3
+ export { Section } from './components/Section';
4
+ export { ContentBlock as ContentBlockComponent } from './components/ContentBlock';
5
+ export { EditableContent } from './components/EditableContent';
6
+ export { AddToolbar } from './components/AddToolbar';
7
+ export { FormattingToolbar } from './components/FormattingToolbar';
8
+ export { SectionHeader } from './components/SectionHeader';
9
+ export { InsertMenu } from './components/InsertMenu';
10
+ export { RefineDropdown } from './components/RefineDropdown';
11
+ export { CodeEditor as PromptCodeEditor } from './components/CodeEditor';
12
+ export { ChatMessage, SkeletonMessage } from './components/ChatMessage';
13
+ export { Header as PromptEditorHeader } from './components/Header';
14
+ export * from './components/icons';
15
+ export { PromptApiService } from './services/PromptApiService';
16
+ export * from './services/EditorUtils';
17
+ export type { FormatType, ContentBlock, SectionData, PromptEditorProps, RefineContext, RefineResponse, PromptApiConfig, RefineRequest, RefinementMode, } from './types';
18
+ export * from './data/insertableItems';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/prompt-editor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGnE,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,cAAc,wBAAwB,CAAC;AAGvC,YAAY,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,eAAe,EACf,aAAa,EACb,cAAc,GACf,MAAM,SAAS,CAAC;AAGjB,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import type { ContentBlock } from '../types';
2
+ export declare function markdownToHtml(markdown: string): string;
3
+ export declare function htmlToMarkdown(html: string): string;
4
+ export declare function htmlToPlainText(html: string): string;
5
+ /**
6
+ * Extract surrounding context for a selection
7
+ * @param selectedText The selected text
8
+ * @param contentBlockHtml The HTML content of the block containing the selection
9
+ * @param selectionRange The character range of the selection within the block
10
+ * @param contextChars Number of characters to include before/after (default: 200)
11
+ * @returns Object with textBefore, textAfter, and fullSentence/paragraph
12
+ */
13
+ export declare function extractSurroundingContext(_selectedText: string, contentBlockHtml: string, selectionRange: {
14
+ start: number;
15
+ end: number;
16
+ }, contextChars?: number): {
17
+ textBefore: string;
18
+ textAfter: string;
19
+ fullSentence?: string;
20
+ fullParagraph?: string;
21
+ };
22
+ /**
23
+ * Determine refinement mode based on selection characteristics
24
+ * @param selectedText The selected text
25
+ * @param selectionLength Optional explicit length (if not provided, calculates from selectedText)
26
+ * @returns Recommended refinement mode
27
+ */
28
+ export declare function determineRefinementMode(selectedText: string, selectionLength?: number): 'selection-only' | 'contextual-segment' | 'full-prompt' | 'smart-auto';
29
+ export declare function validateSelectionRange(currentHtmlContent: string, storedRange: {
30
+ start: number;
31
+ end: number;
32
+ }, originalText: string): {
33
+ isValid: boolean;
34
+ extractedText?: string;
35
+ confidence: number;
36
+ };
37
+ export declare function findTextInContent(searchText: string, contentText: string, options?: {
38
+ minConfidence?: number;
39
+ }): {
40
+ found: boolean;
41
+ startIndex: number;
42
+ endIndex: number;
43
+ confidence: number;
44
+ };
45
+ export declare function parseMarkdownToBlocks(markdown: string, depth?: number): ContentBlock[];
46
+ export declare function blocksToMarkdown(blocks: ContentBlock[], depth?: number): string;
47
+ export declare function migrateVariables(html: string): string;
48
+ //# sourceMappingURL=EditorUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorUtils.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/services/EditorUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAqBvD;AAGD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0CnD;AAGD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKpD;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,cAAc,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EAC9C,YAAY,GAAE,MAAY,GACzB;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAgEA;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,MAAM,EACpB,eAAe,CAAC,EAAE,MAAM,GACvB,gBAAgB,GAAG,oBAAoB,GAAG,aAAa,GAAG,YAAY,CAYxE;AAGD,wBAAgB,sBAAsB,CACpC,kBAAkB,EAAE,MAAM,EAC1B,WAAW,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EAC3C,YAAY,EAAE,MAAM,GACnB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAsElE;AAsBD,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAyF9E;AAiCD,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAU,GAAG,YAAY,EAAE,CA4KzF;AAGD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,KAAK,GAAE,MAAU,GAAG,MAAM,CA8BlF;AAGD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CASrD"}
@@ -0,0 +1,22 @@
1
+ import type { PromptApiConfig, RefineRequest, RefineResponse } from '../types';
2
+ /**
3
+ * API Service for Prompt Refinement
4
+ * Follows the pattern from debug-logs/services/ApiService.ts
5
+ */
6
+ export declare class PromptApiService {
7
+ private config;
8
+ constructor(config: PromptApiConfig);
9
+ /**
10
+ * Refine a prompt using the backend AI service
11
+ */
12
+ refinePrompt(request: RefineRequest): Promise<RefineResponse>;
13
+ /**
14
+ * Update API configuration
15
+ */
16
+ updateConfig(config: PromptApiConfig): void;
17
+ /**
18
+ * Get current configuration
19
+ */
20
+ getConfig(): PromptApiConfig;
21
+ }
22
+ //# sourceMappingURL=PromptApiService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromptApiService.d.ts","sourceRoot":"","sources":["../../../../src/features/prompt-editor/services/PromptApiService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/E;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAkB;gBAEpB,MAAM,EAAE,eAAe;IAInC;;OAEG;IACG,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAsDnE;;OAEG;IACH,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;IAI3C;;OAEG;IACH,SAAS,IAAI,eAAe;CAG7B"}
@@ -0,0 +1,102 @@
1
+ export type FormatType = "editor" | "preview";
2
+ export type ContentBlock = {
3
+ id: string;
4
+ type: "text" | "subsection";
5
+ content: string;
6
+ listType?: "bulleted" | "numbered";
7
+ headingLevel?: 1 | 2 | 3;
8
+ children?: ContentBlock[];
9
+ };
10
+ export type SectionData = {
11
+ id: string;
12
+ title: string;
13
+ order: number;
14
+ activeFormat: FormatType;
15
+ content: ContentBlock[];
16
+ };
17
+ export interface PromptEditorProps {
18
+ value?: ContentBlock[];
19
+ markdownValue?: string;
20
+ onChange?: (value: ContentBlock[]) => void;
21
+ onMarkdownChange?: (markdown: string) => void;
22
+ title?: string;
23
+ onTitleChange?: (title: string) => void;
24
+ mode?: FormatType;
25
+ onModeChange?: (mode: FormatType) => void;
26
+ onRefine?: (context: RefineContext) => Promise<RefineResponse>;
27
+ className?: string;
28
+ readOnly?: boolean;
29
+ validateContent?: (blocks: ContentBlock[]) => boolean | string;
30
+ showHeader?: boolean;
31
+ suggestions?: InsertableItem[];
32
+ }
33
+ export interface InsertableItem {
34
+ id: string;
35
+ name: string;
36
+ displayName: string;
37
+ type: 'agent' | 'tool' | 'knowledge' | 'memory' | 'envVariable' | 'systemVariable';
38
+ }
39
+ export type RefinementMode = 'selection-only' | 'contextual-segment' | 'full-prompt' | 'smart-auto';
40
+ export interface RefineContext {
41
+ type: "whole" | "selection";
42
+ originalText: string;
43
+ instruction: string;
44
+ contentId?: string;
45
+ selectionRange?: {
46
+ start: number;
47
+ end: number;
48
+ };
49
+ conversationHistory?: Message[];
50
+ promptType?: string;
51
+ agentContext?: {
52
+ userId?: string;
53
+ accountId?: string;
54
+ appId?: string;
55
+ appName?: string;
56
+ agentName?: string;
57
+ variables?: Record<string, string>;
58
+ metadata?: Record<string, unknown>;
59
+ };
60
+ surroundingContext?: string;
61
+ fullPromptContext?: string;
62
+ refinementMode?: RefinementMode;
63
+ selectionStartIndex?: number;
64
+ selectionEndIndex?: number;
65
+ actionType?: string;
66
+ }
67
+ export interface RefineResponse {
68
+ refinedText: string;
69
+ conversationId?: string;
70
+ aiContextPayload?: Record<string, unknown>;
71
+ }
72
+ export interface PromptApiConfig {
73
+ baseUrl: string;
74
+ endpoint: string;
75
+ headers: Record<string, string>;
76
+ }
77
+ export interface Message {
78
+ role: 'user' | 'assistant';
79
+ content: string;
80
+ }
81
+ export interface RefineRequest {
82
+ originalText: string;
83
+ instruction: string;
84
+ conversationHistory?: Message[];
85
+ promptType?: string;
86
+ agentContext?: {
87
+ userId?: string;
88
+ accountId?: string;
89
+ appId?: string;
90
+ appName?: string;
91
+ agentName?: string;
92
+ variables?: Record<string, string>;
93
+ metadata?: Record<string, unknown>;
94
+ };
95
+ surroundingContext?: string;
96
+ fullPromptContext?: string;
97
+ refinementMode?: RefinementMode;
98
+ selectionStartIndex?: number;
99
+ selectionEndIndex?: number;
100
+ actionType?: string;
101
+ }
102
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/prompt-editor/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACnC,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CA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AAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,CAAC;IACF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import './styles/globals.css';
2
2
  export * from './features/dashboard';
3
3
  export * from './features/debug-logs';
4
+ export * from './features/prompt-editor';
5
+ export * from './features/md-editor';
4
6
  export * from './shared/ui';
5
7
  export { Dashboard } from './features/dashboard/Dashboard';
6
8
  export { MetricCard } from './features/dashboard/MetricCard';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,sBAAsB,CAAC;AAW9B,cAAc,sBAAsB,CAAC;AAKrC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,aAAa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