@superblocksteam/vite-plugin-file-sync 2.0.19-next.9 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/ai-service/evals/helpers/non-critical-scorers.d.ts.map +1 -1
  2. package/dist/ai-service/evals/helpers/non-critical-scorers.js +7 -7
  3. package/dist/ai-service/evals/helpers/non-critical-scorers.js.map +1 -1
  4. package/dist/ai-service/evals/llm-provider.d.ts.map +1 -1
  5. package/dist/ai-service/evals/llm-provider.js +1 -5
  6. package/dist/ai-service/evals/llm-provider.js.map +1 -1
  7. package/dist/ai-service/index.d.ts +0 -1
  8. package/dist/ai-service/index.d.ts.map +1 -1
  9. package/dist/ai-service/index.js +5 -26
  10. package/dist/ai-service/index.js.map +1 -1
  11. package/dist/ai-service/llm/provider.d.ts +2 -2
  12. package/dist/ai-service/llm/provider.d.ts.map +1 -1
  13. package/dist/ai-service/llm/provider.js +3 -3
  14. package/dist/ai-service/llm/provider.js.map +1 -1
  15. package/dist/ai-service/llm/types.d.ts +0 -2
  16. package/dist/ai-service/llm/types.d.ts.map +1 -1
  17. package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.d.ts.map +1 -1
  18. package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.js.map +1 -1
  19. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.d.ts +1 -1
  20. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.d.ts.map +1 -1
  21. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js +2 -2
  22. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js.map +1 -1
  23. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.d.ts +1 -1
  24. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.d.ts.map +1 -1
  25. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js +2 -2
  26. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js.map +1 -1
  27. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.d.ts +1 -1
  28. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.d.ts.map +1 -1
  29. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js +2 -2
  30. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js.map +1 -1
  31. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.d.ts +1 -1
  32. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.d.ts.map +1 -1
  33. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js +2 -2
  34. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js.map +1 -1
  35. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.d.ts +1 -1
  36. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.d.ts.map +1 -1
  37. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js +2 -2
  38. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js.map +1 -1
  39. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.d.ts +1 -1
  40. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.d.ts.map +1 -1
  41. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js +2 -2
  42. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js.map +1 -1
  43. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.d.ts +1 -1
  44. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.d.ts.map +1 -1
  45. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js +2 -2
  46. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js.map +1 -1
  47. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.d.ts +1 -1
  48. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.d.ts.map +1 -1
  49. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js +2 -2
  50. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js.map +1 -1
  51. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.d.ts +1 -1
  52. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.d.ts.map +1 -1
  53. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js +2 -2
  54. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js.map +1 -1
  55. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.d.ts +1 -1
  56. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.d.ts.map +1 -1
  57. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js +2 -2
  58. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js.map +1 -1
  59. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.d.ts +1 -1
  60. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.d.ts.map +1 -1
  61. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js +2 -2
  62. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js.map +1 -1
  63. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.d.ts +1 -1
  64. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.d.ts.map +1 -1
  65. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js +2 -2
  66. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js.map +1 -1
  67. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.d.ts +1 -1
  68. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.d.ts.map +1 -1
  69. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js +2 -2
  70. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js.map +1 -1
  71. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.d.ts +1 -1
  72. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.d.ts.map +1 -1
  73. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js +2 -2
  74. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js.map +1 -1
  75. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.d.ts +1 -1
  76. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.d.ts.map +1 -1
  77. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js +2 -2
  78. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js.map +1 -1
  79. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.d.ts +1 -1
  80. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.d.ts.map +1 -1
  81. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js +2 -2
  82. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js.map +1 -1
  83. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/Dim.js +1 -1
  84. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/EventFlow.js +1 -1
  85. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/TextStyleWithVariant.js +1 -1
  86. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/full-examples.js +1 -1
  87. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.js +1 -1
  88. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-components-rules.js +1 -1
  89. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-custom-components.js +1 -1
  90. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-data-filtering.js +1 -1
  91. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-event-flow.js +1 -1
  92. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-forms.js +1 -1
  93. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-layouts.js +1 -1
  94. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-page.js +1 -1
  95. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-rbac.js +1 -1
  96. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-routes.js +1 -1
  97. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-state.js +1 -1
  98. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-theming.js +1 -1
  99. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.js +1 -1
  100. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.js +1 -1
  101. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.js +1 -1
  102. package/dist/ai-service/state-machine/mocks.js +1 -1
  103. package/dist/ai-service/state-machine/mocks.js.map +1 -1
  104. package/dist/components-manager.d.ts.map +1 -1
  105. package/dist/components-manager.js +17 -23
  106. package/dist/components-manager.js.map +1 -1
  107. package/package.json +6 -9
  108. package/dist/ai-service/clark-provider/clark-chat-settings.d.ts +0 -8
  109. package/dist/ai-service/clark-provider/clark-chat-settings.d.ts.map +0 -1
  110. package/dist/ai-service/clark-provider/clark-chat-settings.js +0 -9
  111. package/dist/ai-service/clark-provider/clark-chat-settings.js.map +0 -1
  112. package/dist/ai-service/clark-provider/clark-error-handler.d.ts +0 -58
  113. package/dist/ai-service/clark-provider/clark-error-handler.d.ts.map +0 -1
  114. package/dist/ai-service/clark-provider/clark-error-handler.js +0 -18
  115. package/dist/ai-service/clark-provider/clark-error-handler.js.map +0 -1
  116. package/dist/ai-service/clark-provider/clark-language-model.d.ts +0 -24
  117. package/dist/ai-service/clark-provider/clark-language-model.d.ts.map +0 -1
  118. package/dist/ai-service/clark-provider/clark-language-model.js +0 -341
  119. package/dist/ai-service/clark-provider/clark-language-model.js.map +0 -1
  120. package/dist/ai-service/clark-provider/clark-provider.d.ts +0 -39
  121. package/dist/ai-service/clark-provider/clark-provider.d.ts.map +0 -1
  122. package/dist/ai-service/clark-provider/clark-provider.js +0 -38
  123. package/dist/ai-service/clark-provider/clark-provider.js.map +0 -1
  124. package/dist/ai-service/llm/impl/clark.d.ts +0 -3
  125. package/dist/ai-service/llm/impl/clark.d.ts.map +0 -1
  126. package/dist/ai-service/llm/impl/clark.js +0 -43
  127. package/dist/ai-service/llm/impl/clark.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"non-critical-scorers.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/evals/helpers/non-critical-scorers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKrE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,aAAa,GAAG,YAAY,CAoC3E;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,aAAa,GACrB,YAAY,CA+Dd;AAiBD,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,aAAa,GACrB,YAAY,CA8Ed;AAED,wBAAsB,eAAe,CACnC,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,YAAY,CAAC,CA0BvB"}
1
+ {"version":3,"file":"non-critical-scorers.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/evals/helpers/non-critical-scorers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMrE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,aAAa,GAAG,YAAY,CAoC3E;AAED,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,aAAa,GAAG,YAAY,CAmEpF;AAiBD,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,aAAa,GAAG,YAAY,CA0EvF;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CA0BnF"}
@@ -1,4 +1,4 @@
1
- import { findComponentsInPage, findComponentAtPath, } from "../content-matchers/index.js";
1
+ import { findComponentsInPage, findComponentAtPath } from "../content-matchers/index.js";
2
2
  import { SCORING_CONFIG } from "./scorer-types.js";
3
3
  // Non-critical scorer functions - these result in smaller point deductions when they fail
4
4
  // ------------------------
@@ -50,7 +50,8 @@ export function scoreExpectedUiComponentsInPage(context) {
50
50
  if (diff > tolerance) {
51
51
  const componentsOutsideRange = diff - tolerance;
52
52
  const deduction = componentsOutsideRange *
53
- SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS.MISSING_NON_CRITICAL_COMPONENT;
53
+ SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS
54
+ .MISSING_NON_CRITICAL_COMPONENT;
54
55
  totalIssues += componentsOutsideRange;
55
56
  totalDeduction += deduction;
56
57
  passed = false;
@@ -69,7 +70,8 @@ export function scoreExpectedUiComponentsInPage(context) {
69
70
  ? min - foundComponents.length
70
71
  : foundComponents.length - max;
71
72
  const deduction = componentsOutsideRange *
72
- SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS.MISSING_NON_CRITICAL_COMPONENT;
73
+ SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS
74
+ .MISSING_NON_CRITICAL_COMPONENT;
73
75
  totalIssues += componentsOutsideRange;
74
76
  totalDeduction += deduction;
75
77
  passed = false;
@@ -105,8 +107,7 @@ export function scoreExpectedUiComponentProperties(context) {
105
107
  let totalIssues = 0;
106
108
  let passed = true;
107
109
  const propertyIssues = [];
108
- for (const uiComponent of context.config.expectedUiComponentProperties ??
109
- []) {
110
+ for (const uiComponent of context.config.expectedUiComponentProperties ?? []) {
110
111
  const foundComponents = findComponentsInPage(context.pageContent, uiComponent.type);
111
112
  const component = getComponentForPropertyCheck(foundComponents, uiComponent);
112
113
  if (!component) {
@@ -136,8 +137,7 @@ export function scoreExpectedUiComponentProperties(context) {
136
137
  const propertyIsUndefined = !(undefinedProp in component.props) ||
137
138
  component.props[undefinedProp] === undefined;
138
139
  if (!propertyIsUndefined) {
139
- const deduction = SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS
140
- .MISSING_NON_CRITICAL_PROPERTY;
140
+ const deduction = SCORING_CONFIG.NON_CRITICAL_DEDUCTIONS.MISSING_NON_CRITICAL_PROPERTY;
141
141
  totalIssues += 1;
142
142
  totalDeduction += deduction;
143
143
  passed = false;
@@ -1 +1 @@
1
- {"version":3,"file":"non-critical-scorers.js","sourceRoot":"","sources":["../../../../src/ai-service/evals/helpers/non-critical-scorers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,0FAA0F;AAC1F,2BAA2B;AAE3B,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;IAC3D,IAAI,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,YAAY,GAAG,CAAC,CAAC;IAErB,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACtC,IAAI,aA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UAAU,CAAC;IACpD,MAAM,oBAAoB,GACxB,OAAO,CAAC,UAAU,CAAC,YAAY;QAC/B,cAAc,CAAC,uBAAuB,CAAC,YAAY,CAAC;IACtD,MAAM,cAAc,GAAG,kBAAkB,GAAG,oBAAoB,CAAC;IAEjE,OAAO;QACL,SAAS,EAAE,eAAe;QAC1B,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS;QACrC,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE;YACR,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU;YACzC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY;YAC7C,kBAAkB;YAClB,oBAAoB;YACpB,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,aAAa;SAChD;KACF,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"llm-provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,uCAWvB,CAAC"}
1
+ {"version":3,"file":"llm-provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,uCAItB,CAAC"}
@@ -1,4 +1,3 @@
1
- import { anthropicImpl } from "../llm/impl/anthropic.js";
2
1
  import { createLLMProvider } from "../llm/provider.js";
3
2
  import { loadEnvVars } from "./load-env-vars.js";
4
3
  loadEnvVars();
@@ -6,8 +5,5 @@ export const llmProvider = createLLMProvider({
6
5
  anthropic: {
7
6
  apiKey: process.env.SUPERBLOCKS_AI_SERVICE_EVALS_ANTHROPIC_API_KEY,
8
7
  },
9
- clark: {
10
- baseURL: "https://app.superblocks.com/api/v1/ai/inference",
11
- },
12
- }, undefined, anthropicImpl);
8
+ });
13
9
  //# sourceMappingURL=llm-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"llm-provider.js","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,WAAW,EAAE,CAAC;AAEd,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAC1C;IACE,SAAS,EAAE;QACT,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,8CAA8C;KACnE;IACD,KAAK,EAAE;QACL,OAAO,EAAE,iDAAiD;KAC3D;CACF,EACD,SAAS,EACT,aAAa,CACd,CAAC"}
1
+ {"version":3,"file":"llm-provider.js","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,WAAW,EAAE,CAAC;AAEd,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC3C,SAAS,EAAE;QACT,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,8CAA8C;KACnE;CACF,CAAC,CAAC"}
@@ -19,7 +19,6 @@ export declare class AiService extends TracedEventEmitter<AiServiceEvents> {
19
19
  private getLogger;
20
20
  private createClarkTransitionHandler;
21
21
  private registerPromptInterpretationTask;
22
- private getTraceTagsFromGenerateRequest;
23
22
  handleAiGenerate(request: AiGenerateRequest, peer: ISocketClient<EditorClientMethods>): Promise<void>;
24
23
  private submitAcceptanceEvalutation;
25
24
  handleUserAcceptedDraft(peer: ISocketClient<EditorClientMethods>): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ai-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,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EAC1B,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GACvC,OAAO,CAAC,IAAI,CAAC;IA4ChB,OAAO,CAAC,2BAA2B;IAmBtB,uBAAuB,CAClC,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GACvC,OAAO,CAAC,IAAI,CAAC;IAkBH,uBAAuB,CAClC,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GACvC,OAAO,CAAC,IAAI,CAAC;IAkBH,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAQzC,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAgBpC,0BAA0B,CACrC,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EACxC,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GACvC,OAAO,CAAC,IAAI,CAAC;IAoBT,MAAM,IAAI,OAAO;IAQjB,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS;CAOjE"}
@@ -48,12 +48,6 @@ export class AiService extends TracedEventEmitter {
48
48
  ? mockAnthropicFetch
49
49
  : undefined,
50
50
  },
51
- clark: {
52
- baseURL: `${config.superblocksBaseUrl}/api/v1/ai/inference`,
53
- fetch: process.env.MOCK_AI_GENERATION === "true"
54
- ? mockAnthropicFetch
55
- : undefined,
56
- },
57
51
  };
58
52
  this.templateRenderer = new TemplateRenderer({
59
53
  prefetchNodeModules: true,
@@ -125,15 +119,11 @@ export class AiService extends TracedEventEmitter {
125
119
  return llmobs.trace({
126
120
  kind: "task",
127
121
  name: transition.to,
122
+ tags: {
123
+ "fsm.from": transition.from,
124
+ "fsm.event.type": transition.event.type,
125
+ },
128
126
  }, async (_) => {
129
- llmobs.annotate({
130
- tags: {
131
- "fsm.from": transition.from,
132
- "fsm.event.type": transition.event.type,
133
- "application.id": this.config.applicationId,
134
- "organization.id": this.config.organizationId,
135
- },
136
- });
137
127
  const { from, to, event } = transition;
138
128
  const handler = clarkStateHandlers[to];
139
129
  if (!handler) {
@@ -191,15 +181,6 @@ export class AiService extends TracedEventEmitter {
191
181
  console.log("interpretation", prompt, classification, hydratedComponents, hydratedApis);
192
182
  }
193
183
  }
194
- getTraceTagsFromGenerateRequest(request) {
195
- const tags = {};
196
- for (const integration of request?.promptContext?.integrations ?? []) {
197
- if (integration?.type) {
198
- tags[`integration.${integration.type}`] = "true";
199
- }
200
- }
201
- return tags;
202
- }
203
184
  async handleAiGenerate(request, peer) {
204
185
  const { llmobs } = tracer;
205
186
  // TODO: We'll reintroduce this when we're ready to do prompt interpretation.
@@ -213,12 +194,10 @@ export class AiService extends TracedEventEmitter {
213
194
  return llmobs.trace({
214
195
  kind: "workflow",
215
196
  name: "ai-generate-code",
197
+ tags: { "user.prompt": request.prompt },
216
198
  // NOTE: @joeyagreco - we can pipe session id down to here in the future
217
199
  // https://github.com/DataDog/dd-trace-js/blob/master/index.d.ts#L2717
218
200
  }, async (_) => {
219
- llmobs.annotate({
220
- tags: this.getTraceTagsFromGenerateRequest(request),
221
- });
222
201
  if (this.clark.state === ClarkStateNames.Dead) {
223
202
  throw new Error("Service is unavailable");
224
203
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ai-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC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,YAAY,EACjD,CAAC;YACD,IAAI,CAAC,SAAS,EAAE,CAAC,IAAI,CACnB,mEAAmE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CACtF,CAAC;YACF,OAAO;QACT,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,EAAE,CAAC;QAEhD,KAAK,IAAI,CAAC,gCAAgC,CACxC,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,GAAG,EACX,IAAI,CACL,CAAC;IACJ,CAAC;IAEM,MAAM;QACX,OAAO,CACL,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;YACzC,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,YAAY;YACjD,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI,CAC1C,CAAC;IACJ,CAAC;IAEM,gBAAgB,CAAC,aAAwC;QAC9D,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QACxD,CAAC;QAED,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC9D,CAAC;CACF"}
@@ -1,3 +1,3 @@
1
- import type { LLMProvider, LLMProviderSettings, LLMTaskModels } from "./types.js";
2
- export declare const createLLMProvider: (settings: LLMProviderSettings, getJwt?: () => string | undefined, implFunc?: (settings: LLMProviderSettings) => LLMTaskModels) => LLMProvider;
1
+ import type { LLMProvider, LLMProviderSettings } from "./types.js";
2
+ export declare const createLLMProvider: (settings: LLMProviderSettings, getJwt?: () => string | undefined) => LLMProvider;
3
3
  //# sourceMappingURL=provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EAEnB,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,iBAAiB,GAC5B,UAAU,mBAAmB,EAC7B,SAAS,MAAM,MAAM,GAAG,SAAS,EACjC,WAAU,CAAC,QAAQ,EAAE,mBAAmB,KAAK,aAAyB,KACrE,WAgCF,CAAC"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EAGpB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,iBAAiB,GAC5B,UAAU,mBAAmB,EAC7B,SAAS,MAAM,MAAM,GAAG,SAAS,KAChC,WAgCF,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { customProvider, wrapLanguageModel } from "ai";
2
- import { clarkImpl } from "./impl/clark.js";
2
+ import { anthropicImpl } from "./impl/anthropic.js";
3
3
  import { jwtMiddleware, modelFromClassification } from "./utils.js";
4
- export const createLLMProvider = (settings, getJwt, implFunc = clarkImpl) => {
4
+ export const createLLMProvider = (settings, getJwt) => {
5
5
  const wrapDefaults = (model) => wrapLanguageModel({
6
6
  model,
7
7
  middleware: [jwtMiddleware(getJwt)],
8
8
  });
9
9
  // NOTE: when we support multiple providers, we'll want to discriminate
10
10
  // on some TBD criteria. We may also choose to mix and match providers.
11
- const impl = implFunc(settings);
11
+ const impl = anthropicImpl(settings);
12
12
  const languageModels = {
13
13
  classifyPrompt: wrapDefaults(impl.classifyPrompt),
14
14
  openApiIntent: wrapDefaults(impl.openApiIntent),
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAwB,MAAM,IAAI,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAQpE,MAAM,CA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AC;AAQpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,QAA6B,EAC7B,MAAiC,EACpB,EAAE;IACf,MAAM,YAAY,GAAG,CAAC,KAAsB,EAAE,EAAE,CAC9C,iBAAiB,CAAC;QAChB,KAAK;QACL,UAAU,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;KACpC,CAAC,CAAC;IAEL,uEAAuE;IACvE,uEAAuE;IACvE,MAAM,IAAI,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAErC,MAAM,cAAc,GAAkB;QACpC,cAAc,EAAE,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;QACjD,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;QAC/C,oBAAoB,EAAE,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC;QAC7D,iBAAiB,EAAE,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACvD,kBAAkB,EAAE,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC;KAC1D,CAAC;IAEF,MAAM,WAAW,GAAG,cAAc,CAAC;QACjC,cAAc;KACf,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,EAAE;QACxC,OAAO,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,sBAAsB,EAAE,CAAC,cAAc,EAAE,EAAE,CACzC,uBAAuB,CAAC,YAAY,EAAE,cAAc,CAAC;KACxD,CAAC;AACJ,CAAC,CAAC"}
@@ -1,10 +1,8 @@
1
- import type { ClarkProviderSettings } from "../clark-provider/clark-provider.js";
2
1
  import type { PromptClassification } from "../prompt-builder-service/types.js";
3
2
  import type { AnthropicProviderSettings } from "@ai-sdk/anthropic";
4
3
  import type { LanguageModelV1 } from "ai";
5
4
  export type LLMProviderSettings = {
6
5
  anthropic: AnthropicProviderSettings;
7
- clark: ClarkProviderSettings;
8
6
  };
9
7
  export type LLMTask = "classifyPrompt" | "openApiIntent" | "generateSpecificEdit" | "generateBroadEdit" | "generateFullAppGen";
10
8
  export type LLMTaskModels = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,yBAAyB,CAAC;IACrC,KAAK,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,gBAAgB,GAChB,eAAe,GACf,sBAAsB,GACtB,mBAAmB,GACnB,oBAAoB,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG;KACzB,CAAC,IAAI,OAAO,GAAG,eAAe;CAChC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,eAAe,CAAC;IACpD,sBAAsB,EAAE,CACtB,cAAc,EAAE,oBAAoB,KACjC,eAAe,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,gBAAgB,GAChB,eAAe,GACf,sBAAsB,GACtB,mBAAmB,GACnB,oBAAoB,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG;KACzB,CAAC,IAAI,OAAO,GAAG,eAAe;CAChC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,eAAe,CAAC;IACpD,sBAAsB,EAAE,CACtB,cAAc,EAAE,oBAAoB,KACjC,eAAe,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-interpret-task.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,oBAAoB,CAAC;IACrC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,qBAAa,mBAAmB;IAK5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IANzB,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,MAAM,CAAwD;gBAGnD,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM;IAKjC,OAAc,aAAa,EAAE,8BAA8B,CAIzD;IAEF,OAAO,CAAC,iBAAiB;IAgFlB,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,OAAO,CAAC,8BAA8B,CAAC;YAQ3C,SAAS;CAexB"}
1
+ {"version":3,"file":"prompt-interpret-task.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,oBAAoB,CAAC;IACrC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,qBAAa,mBAAmB;IAK5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IANzB,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,MAAM,CAAwD;gBAGnD,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM;IAKjC,OAAc,aAAa,EAAE,8BAA8B,CAIzD;IAEF,OAAO,CAAC,iBAAiB;IAgFlB,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,OAAO,CAAC,8BAA8B,CAAC;YAQ3C,SAAS;CAgBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-interpret-task.js","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,wBAAwB,GAEzB,MAAM,aAAa,CAAC;AAWrB,MAAM,OAAO,mBAAmB;IA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E,GAAG,MAAM,cAAc,CAAC;YACtD,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC;YACtD,MAAM;YACN,MAAM,EAAE,YAAY;YACpB,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;SACzC,CAAC,CAAC;QAEH,OAAO;YACL,cAAc,EAAE,cAAc,CAAC,cAAc;YAC7C,UAAU,EAAE,cAAc,CAAC,UAAyB;YACpD,IAAI,EAAE,cAAc,CAAC,IAAI;SAC1B,CAAC;IACJ,CAAC"}
1
+ {"version":3,"file":"prompt-interpret-task.js","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,wBAAwB,GAEzB,MAAM,aAAa,CAAC;AAWrB,MAAM,OAAO,mBAAmB;IAKX;IACA;IACA;IANX,eAAe,CAAkB;IACjC,MAAM,GAAmD,IAAI,CAAC;IAEtE,YACmB,WAAwB,EACxB,UAA2B,EAC3B,MAAc;QAFd,gBAAW,GAAX,WAAW,CAAa;QACxB,eAAU,GAAV,UAAU,CAAiB;QAC3B,WAAM,GAAN,MAAM,CAAQ;QAE/B,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IAC/C,CAAC;IAEM,MAAM,CAAC,aAAa,GAAmC;QAC5D,cAAc,EAAE,cAAc;QAC9B,UAAU,EAAE,EAAE;QACd,IAAI,EAAE,EAAE;KACT,CAAC;IAEM,iBAAiB;QACvB,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,CACzC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,GAAG,CACxD,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,k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CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAC7B,CAAC,QAAQ,CACR,iHAAiH,CAClH;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;IAClC,CAAC;IAEM,KAAK;QACV,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IAC/B,CAAC;IAEM,OAAO;QACZ,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEO,KAAK,CAAC,SAAS;QACrB,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAE1D,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,cAAc,CAAC;YACtD,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC;YACtD,MAAM;YACN,MAAM,EAAE,YAAY;YACpB,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;SACzC,CAAC,CAAC;QAEH,OAAO;YACL,cAAc,EAAE,cAAc,CAAC,cAAc;YAC7C,UAAU,EAAE,cAAc,CAAC,UAAyB;YACpD,IAAI,EAAE,cAAc,CAAC,IAAI;SAC1B,CAAC;IACJ,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n /** The text displayed on the button */\n label?: string;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the button (primary, secondary, or tertiary) */\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n /** The icon displayed on the button */\n icon?: string;\n /** The position of the icon relative to the button text (left or right) */\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** Allows selection of a color value using a color picker interface */\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n /** @default {\"left\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"right\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"top\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"bottom\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"}} */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** The horizontal alignment of the button content (left, center, or right) */\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Whether the button is disabled and cannot be clicked */\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
1
+ export declare const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n label?: string;\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default true */\n isVisible?: boolean;\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n icon?: string;\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** @default {\"left\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"right\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"top\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"bottom\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"}} */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n loading?: boolean;\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
2
2
  //# sourceMappingURL=ButtonPropsDocs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,qwGAAqwG,CAAC"}
1
+ {"version":3,"file":"ButtonPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,q5DAAq5D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  // Auto-generated from ButtonPropsDocs.md
3
3
  // Do not edit this file directly
4
- // Generated at: 2025-07-28T21:18:39.288Z
5
- export const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n /** The text displayed on the button */\n label?: string;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the button (primary, secondary, or tertiary) */\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n /** The icon displayed on the button */\n icon?: string;\n /** The position of the icon relative to the button text (left or right) */\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** Allows selection of a color value using a color picker interface */\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n /** @default {\"left\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"right\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"top\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"bottom\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"}} */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** The horizontal alignment of the button content (left, center, or right) */\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Whether the button is disabled and cannot be clicked */\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
4
+ // Generated at: 2025-07-28T23:54:07.333Z
5
+ export const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n label?: string;\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default true */\n isVisible?: boolean;\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n icon?: string;\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** @default {\"left\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"right\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"top\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"bottom\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"}} */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n loading?: boolean;\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
6
6
  //# sourceMappingURL=ButtonPropsDocs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,kwGAAkwG,CAAC"}
1
+ {"version":3,"file":"ButtonPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,k5DAAk5D,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** The text label displayed next to the checkbox */\n /** @default \"\" */\n label?: string;\n /** Whether the checkbox is checked by default */\n /** @default true */\n defaultChecked?: boolean;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Whether the checkbox must be checked for form validation */\n required?: boolean;\n /** Whether the checkbox is disabled and cannot be interacted with */\n /** @default false */\n isDisabled?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n /** @default \"\" */\n customValidationRule?: string;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n onCheckChange?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface CheckboxComponentState {\n /** The current value of the checkbox (true if checked, false if unchecked) */\n value?: boolean;\n /** Object containing any validation errors for the checkbox */\n /** @default {} */\n validationErrors?: any;\n /** Whether the checkbox passes all validation rules */\n /** @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface CheckboxMetaProperties {\n /** @default false */\n isTouched?: boolean;\n /** The current checked state of the checkbox */\n isChecked?: boolean;\n}\n```\n";
1
+ export declare const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** @default \"\" */\n label?: string;\n /** @default true */\n defaultChecked?: boolean;\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n loading?: boolean;\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default true */\n isVisible?: boolean;\n required?: boolean;\n /** @default false */\n isDisabled?: boolean;\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** @default \"\" */\n customValidationRule?: string;\n /** @default \"\" */\n customErrorMessage?: string;\n onCheckChange?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface CheckboxComponentState {\n value?: boolean;\n /** @default {} */\n validationErrors?: any;\n /** @default true */\n isValid?: boolean;\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface CheckboxMetaProperties {\n /** @default false */\n isTouched?: boolean;\n isChecked?: boolean;\n}\n```\n";
2
2
  //# sourceMappingURL=CheckboxPropsDocs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,mgGAAmgG,CAAC"}
1
+ {"version":3,"file":"CheckboxPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,6hDAA6hD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  // Auto-generated from CheckboxPropsDocs.md
3
3
  // Do not edit this file directly
4
- // Generated at: 2025-07-28T21:18:39.288Z
5
- export const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** The text label displayed next to the checkbox */\n /** @default \"\" */\n label?: string;\n /** Whether the checkbox is checked by default */\n /** @default true */\n defaultChecked?: boolean;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Whether the checkbox must be checked for form validation */\n required?: boolean;\n /** Whether the checkbox is disabled and cannot be interacted with */\n /** @default false */\n isDisabled?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n /** @default \"\" */\n customValidationRule?: string;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n onCheckChange?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface CheckboxComponentState {\n /** The current value of the checkbox (true if checked, false if unchecked) */\n value?: boolean;\n /** Object containing any validation errors for the checkbox */\n /** @default {} */\n validationErrors?: any;\n /** Whether the checkbox passes all validation rules */\n /** @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface CheckboxMetaProperties {\n /** @default false */\n isTouched?: boolean;\n /** The current checked state of the checkbox */\n isChecked?: boolean;\n}\n```\n";
4
+ // Generated at: 2025-07-28T23:54:07.333Z
5
+ export const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** @default \"\" */\n label?: string;\n /** @default true */\n defaultChecked?: boolean;\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n loading?: boolean;\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default true */\n isVisible?: boolean;\n required?: boolean;\n /** @default false */\n isDisabled?: boolean;\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** @default \"\" */\n customValidationRule?: string;\n /** @default \"\" */\n customErrorMessage?: string;\n onCheckChange?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface CheckboxComponentState {\n value?: boolean;\n /** @default {} */\n validationErrors?: any;\n /** @default true */\n isValid?: boolean;\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface CheckboxMetaProperties {\n /** @default false */\n isTouched?: boolean;\n isChecked?: boolean;\n}\n```\n";
6
6
  //# sourceMappingURL=CheckboxPropsDocs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,2CAA2C;AAC3C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,ggGAAggG,CAAC"}
1
+ {"version":3,"file":"CheckboxPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,2CAA2C;AAC3C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,0hDAA0hD,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":12},\"bottom\":{\"mode\":\"px\",\"value\":12},\"left\":{\"mode\":\"px\",\"value\":12},\"right\":{\"mode\":\"px\",\"value\":12}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** Sets the height of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Allows selection of a color value using a color picker interface */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
1
+ export declare const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":12},\"bottom\":{\"mode\":\"px\",\"value\":12},\"left\":{\"mode\":\"px\",\"value\":12},\"right\":{\"mode\":\"px\",\"value\":12}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n loading?: boolean;\n}\n```\n";
2
2
  //# sourceMappingURL=ColumnPropsDocs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,s8EAAs8E,CAAC"}
1
+ {"version":3,"file":"ColumnPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,2yCAA2yC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  // Auto-generated from ColumnPropsDocs.md
3
3
  // Do not edit this file directly
4
- // Generated at: 2025-07-28T21:18:39.287Z
5
- export const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":12},\"bottom\":{\"mode\":\"px\",\"value\":12},\"left\":{\"mode\":\"px\",\"value\":12},\"right\":{\"mode\":\"px\",\"value\":12}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** Sets the height of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Allows selection of a color value using a color picker interface */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
4
+ // Generated at: 2025-07-28T23:54:07.332Z
5
+ export const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":12},\"bottom\":{\"mode\":\"px\",\"value\":12},\"left\":{\"mode\":\"px\",\"value\":12},\"right\":{\"mode\":\"px\",\"value\":12}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n loading?: boolean;\n}\n```\n";
6
6
  //# sourceMappingURL=ColumnPropsDocs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,m8EAAm8E,CAAC"}
1
+ {"version":3,"file":"ColumnPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,wyCAAwyC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the container (none or card) */\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n /** The background color of the container */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
1
+ export declare const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n loading?: boolean;\n}\n```\n";
2
2
  //# sourceMappingURL=ContainerPropsDocs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,inGAAinG,CAAC"}
1
+ {"version":3,"file":"ContainerPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,+oDAA+oD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  // Auto-generated from ContainerPropsDocs.md
3
3
  // Do not edit this file directly
4
- // Generated at: 2025-07-28T21:18:39.287Z
5
- export const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the container (none or card) */\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n /** The background color of the container */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
4
+ // Generated at: 2025-07-28T23:54:07.332Z
5
+ export const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n loading?: boolean;\n}\n```\n";
6
6
  //# sourceMappingURL=ContainerPropsDocs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,4CAA4C;AAC5C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,8mGAA8mG,CAAC"}
1
+ {"version":3,"file":"ContainerPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,4CAA4C;AAC5C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,4oDAA4oD,CAAC"}