@walkeros/explorer 2.0.1 → 2.1.1

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 (122) hide show
  1. package/AGENT.md +14 -0
  2. package/STYLE.md +246 -136
  3. package/dist/chunk-4AJX6MFW.mjs +573 -0
  4. package/dist/chunk-4AJX6MFW.mjs.map +1 -0
  5. package/dist/components/atoms/button-link.stories.d.ts +1 -3
  6. package/dist/components/atoms/button-link.stories.d.ts.map +1 -1
  7. package/dist/components/atoms/button-link.stories.js +1 -15
  8. package/dist/components/atoms/button-link.stories.js.map +1 -1
  9. package/dist/components/atoms/code.d.ts +32 -1
  10. package/dist/components/atoms/code.d.ts.map +1 -1
  11. package/dist/components/atoms/code.js +103 -14
  12. package/dist/components/atoms/code.js.map +1 -1
  13. package/dist/components/atoms/code.stories.d.ts +0 -7
  14. package/dist/components/atoms/code.stories.d.ts.map +1 -1
  15. package/dist/components/atoms/code.stories.js +0 -34
  16. package/dist/components/atoms/code.stories.js.map +1 -1
  17. package/dist/components/molecules/code-box.d.ts +7 -1
  18. package/dist/components/molecules/code-box.d.ts.map +1 -1
  19. package/dist/components/molecules/code-box.js +74 -6
  20. package/dist/components/molecules/code-box.js.map +1 -1
  21. package/dist/components/molecules/code-box.stories.d.ts +56 -7
  22. package/dist/components/molecules/code-box.stories.d.ts.map +1 -1
  23. package/dist/components/molecules/code-box.stories.js +178 -41
  24. package/dist/components/molecules/code-box.stories.js.map +1 -1
  25. package/dist/components/molecules/code-snippet.stories.d.ts +7 -4
  26. package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -1
  27. package/dist/components/molecules/code-snippet.stories.js +28 -9
  28. package/dist/components/molecules/code-snippet.stories.js.map +1 -1
  29. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +0 -32
  30. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -1
  31. package/dist/components/molecules/flow-map/FlowMap.stories.js +0 -330
  32. package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -1
  33. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +0 -16
  34. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -1
  35. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +0 -78
  36. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -1
  37. package/dist/components/molecules/flow-selector.js +1 -1
  38. package/dist/components/molecules/flow-selector.js.map +1 -1
  39. package/dist/components/molecules/flow-selector.stories.js +4 -4
  40. package/dist/components/molecules/flow-selector.stories.js.map +1 -1
  41. package/dist/components/molecules/preview.d.ts.map +1 -1
  42. package/dist/components/molecules/preview.js +32 -22
  43. package/dist/components/molecules/preview.js.map +1 -1
  44. package/dist/components/molecules/split-button.stories.js +6 -6
  45. package/dist/components/molecules/split-button.stories.js.map +1 -1
  46. package/dist/index.d.cts +200 -34
  47. package/dist/index.d.ts +10 -2
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +13 -1
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.mjs +1388 -337
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/{monaco-types-OLSF6MIE.mjs → monaco-types-KN2DINPW.mjs} +2 -2
  54. package/dist/styles.css +77 -91
  55. package/dist/themes/lighthouse.d.ts.map +1 -1
  56. package/dist/themes/lighthouse.js +1 -0
  57. package/dist/themes/lighthouse.js.map +1 -1
  58. package/dist/themes/palenight.d.ts.map +1 -1
  59. package/dist/themes/palenight.js +1 -0
  60. package/dist/themes/palenight.js.map +1 -1
  61. package/dist/types/intellisense.d.ts +31 -0
  62. package/dist/types/intellisense.d.ts.map +1 -0
  63. package/dist/types/intellisense.js +2 -0
  64. package/dist/types/intellisense.js.map +1 -0
  65. package/dist/utils/format-code.d.ts.map +1 -1
  66. package/dist/utils/format-code.js +11 -2
  67. package/dist/utils/format-code.js.map +1 -1
  68. package/dist/utils/monaco-decorators.d.ts.map +1 -1
  69. package/dist/utils/monaco-decorators.js +2 -0
  70. package/dist/utils/monaco-decorators.js.map +1 -1
  71. package/dist/utils/monaco-intellisense-flow-extractor.d.ts +13 -0
  72. package/dist/utils/monaco-intellisense-flow-extractor.d.ts.map +1 -0
  73. package/dist/utils/monaco-intellisense-flow-extractor.js +161 -0
  74. package/dist/utils/monaco-intellisense-flow-extractor.js.map +1 -0
  75. package/dist/utils/monaco-json-schema.d.ts +24 -0
  76. package/dist/utils/monaco-json-schema.d.ts.map +1 -0
  77. package/dist/utils/monaco-json-schema.js +65 -0
  78. package/dist/utils/monaco-json-schema.js.map +1 -0
  79. package/dist/utils/monaco-schema-contract.d.ts +8 -0
  80. package/dist/utils/monaco-schema-contract.d.ts.map +1 -0
  81. package/dist/utils/monaco-schema-contract.js +73 -0
  82. package/dist/utils/monaco-schema-contract.js.map +1 -0
  83. package/dist/utils/monaco-schema-enrichment.d.ts +26 -0
  84. package/dist/utils/monaco-schema-enrichment.d.ts.map +1 -0
  85. package/dist/utils/monaco-schema-enrichment.js +31 -0
  86. package/dist/utils/monaco-schema-enrichment.js.map +1 -0
  87. package/dist/utils/monaco-schema-flow-setup.d.ts +10 -0
  88. package/dist/utils/monaco-schema-flow-setup.d.ts.map +1 -0
  89. package/dist/utils/monaco-schema-flow-setup.js +201 -0
  90. package/dist/utils/monaco-schema-flow-setup.js.map +1 -0
  91. package/dist/utils/monaco-schema-variables.d.ts +4 -0
  92. package/dist/utils/monaco-schema-variables.d.ts.map +1 -0
  93. package/dist/utils/monaco-schema-variables.js +26 -0
  94. package/dist/utils/monaco-schema-variables.js.map +1 -0
  95. package/dist/utils/monaco-walkeros-completions.d.ts +15 -0
  96. package/dist/utils/monaco-walkeros-completions.d.ts.map +1 -0
  97. package/dist/utils/monaco-walkeros-completions.js +65 -0
  98. package/dist/utils/monaco-walkeros-completions.js.map +1 -0
  99. package/dist/utils/monaco-walkeros-decorations.d.ts +29 -0
  100. package/dist/utils/monaco-walkeros-decorations.d.ts.map +1 -0
  101. package/dist/utils/monaco-walkeros-decorations.js +87 -0
  102. package/dist/utils/monaco-walkeros-decorations.js.map +1 -0
  103. package/dist/utils/monaco-walkeros-markers.d.ts +13 -0
  104. package/dist/utils/monaco-walkeros-markers.d.ts.map +1 -0
  105. package/dist/utils/monaco-walkeros-markers.js +69 -0
  106. package/dist/utils/monaco-walkeros-markers.js.map +1 -0
  107. package/dist/utils/monaco-walkeros-providers.d.ts +19 -0
  108. package/dist/utils/monaco-walkeros-providers.d.ts.map +1 -0
  109. package/dist/utils/monaco-walkeros-providers.js +229 -0
  110. package/dist/utils/monaco-walkeros-providers.js.map +1 -0
  111. package/package.json +1 -1
  112. package/dist/chunk-YKT4D7MG.mjs +0 -3087
  113. package/dist/chunk-YKT4D7MG.mjs.map +0 -1
  114. package/dist/components/molecules/flow-deploy-panel.d.ts +0 -31
  115. package/dist/components/molecules/flow-deploy-panel.d.ts.map +0 -1
  116. package/dist/components/molecules/flow-deploy-panel.js +0 -72
  117. package/dist/components/molecules/flow-deploy-panel.js.map +0 -1
  118. package/dist/components/molecules/flow-deploy-panel.stories.d.ts +0 -40
  119. package/dist/components/molecules/flow-deploy-panel.stories.d.ts.map +0 -1
  120. package/dist/components/molecules/flow-deploy-panel.stories.js +0 -145
  121. package/dist/components/molecules/flow-deploy-panel.stories.js.map +0 -1
  122. /package/dist/{monaco-types-OLSF6MIE.mjs.map → monaco-types-KN2DINPW.mjs.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -459,12 +459,44 @@ interface ArchitectureFlowProps {
459
459
  }
460
460
  declare function ArchitectureFlow({ sources, center, centerTitle, destinations, arrowRight, arrowDown, className, }: ArchitectureFlowProps): react_jsx_runtime.JSX.Element;
461
461
 
462
+ interface PackageInfo {
463
+ package: string;
464
+ shortName: string;
465
+ type: 'source' | 'destination' | 'transformer';
466
+ platform: 'web' | 'server';
467
+ description?: string;
468
+ }
469
+ interface IntelliSenseContext {
470
+ /** Variable names and values from the flow's `variables` section */
471
+ variables?: Record<string, string | number | boolean>;
472
+ /** Definition names from the flow's `definitions` section */
473
+ definitions?: Record<string, unknown>;
474
+ /** Secret names available in the project (values are NOT included) */
475
+ secrets?: string[];
476
+ /** Step names from the current flow config, by type */
477
+ stepNames?: {
478
+ sources?: string[];
479
+ destinations?: string[];
480
+ transformers?: string[];
481
+ };
482
+ /** Contract entities and their actions */
483
+ contract?: Array<{
484
+ entity: string;
485
+ actions: string[];
486
+ }>;
487
+ /** Available packages for autocomplete */
488
+ packages?: PackageInfo[];
489
+ /** Current platform context (web or server) */
490
+ platform?: 'web' | 'server';
491
+ }
492
+
462
493
  interface CodeProps {
463
494
  code: string;
464
495
  language?: string;
465
496
  onChange?: (code: string) => void;
466
497
  disabled?: boolean;
467
498
  lineNumbers?: boolean;
499
+ minimap?: boolean;
468
500
  folding?: boolean;
469
501
  wordWrap?: boolean;
470
502
  className?: string;
@@ -478,6 +510,35 @@ interface CodeProps {
478
510
  packages?: string[];
479
511
  sticky?: boolean;
480
512
  ide?: boolean;
513
+ /** JSON Schema (Draft 7) for validation and IntelliSense in JSON mode */
514
+ jsonSchema?: Record<string, unknown>;
515
+ /** Context data for dynamic IntelliSense (variable names, secrets, etc.) */
516
+ intellisenseContext?: IntelliSenseContext;
517
+ /** Validation function — called on content change, results rendered as Monaco markers */
518
+ validate?: (code: string) => {
519
+ valid: boolean;
520
+ errors: Array<{
521
+ message: string;
522
+ severity: 'error' | 'warning';
523
+ line: number;
524
+ column: number;
525
+ endLine?: number;
526
+ endColumn?: number;
527
+ }>;
528
+ warnings: Array<{
529
+ message: string;
530
+ severity: 'error' | 'warning';
531
+ line: number;
532
+ column: number;
533
+ endLine?: number;
534
+ endColumn?: number;
535
+ }>;
536
+ };
537
+ /** Callback when Monaco marker counts change (from validate prop) */
538
+ onMarkerCounts?: (counts: {
539
+ errors: number;
540
+ warnings: number;
541
+ }) => void;
481
542
  }
482
543
  /**
483
544
  * Code - Pure Monaco editor atom
@@ -511,7 +572,7 @@ interface CodeProps {
511
572
  * autoHeight={{ min: 100, max: 600 }}
512
573
  * />
513
574
  */
514
- declare function Code({ code, language, onChange, disabled, lineNumbers, folding, wordWrap, className, beforeMount, onMount, autoHeight, fontSize, packages, sticky, ide, }: CodeProps): react_jsx_runtime.JSX.Element;
575
+ declare function Code({ code, language, onChange, disabled, lineNumbers, minimap, folding, wordWrap, className, beforeMount, onMount, autoHeight, fontSize, packages, sticky, ide, jsonSchema, intellisenseContext, validate, onMarkerCounts, }: CodeProps): react_jsx_runtime.JSX.Element;
515
576
 
516
577
  /**
517
578
  * Tab with code content for CodeBox
@@ -534,6 +595,12 @@ interface CodeBoxProps extends Omit<CodeProps, 'code'> {
534
595
  showTrafficLights?: boolean;
535
596
  showCopy?: boolean;
536
597
  showFormat?: boolean;
598
+ showSettings?: boolean;
599
+ /** Callback when validation issues change. Use to disable Save when errors > 0. */
600
+ onValidationIssues?: (counts: {
601
+ errors: number;
602
+ warnings: number;
603
+ }) => void;
537
604
  footer?: React.ReactNode;
538
605
  height?: string | number;
539
606
  style?: React.CSSProperties;
@@ -578,7 +645,7 @@ interface CodeBoxProps extends Omit<CodeProps, 'code'> {
578
645
  * showFormat
579
646
  * />
580
647
  */
581
- declare function CodeBox({ code, language, onChange, disabled, autoHeight, label, header, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, showCopy, showFormat, footer, height, style, className, ...codeProps }: CodeBoxProps): react_jsx_runtime.JSX.Element;
648
+ declare function CodeBox({ code, language, onChange, disabled, autoHeight, label, header, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, showCopy, showFormat, showSettings, onValidationIssues, footer, height, style, className, ...codeProps }: CodeBoxProps): react_jsx_runtime.JSX.Element;
582
649
 
583
650
  type CodeSnippetProps = Omit<CodeBoxProps, 'label' | 'showHeader'> & {
584
651
  format?: boolean;
@@ -901,37 +968,6 @@ interface FlowSelectorProps {
901
968
  */
902
969
  declare function FlowSelector({ flows, selectedFlow, onSelectFlow, className, }: FlowSelectorProps): react_jsx_runtime.JSX.Element | null;
903
970
 
904
- interface DeploymentInfo {
905
- id: string;
906
- status: 'bundling' | 'deploying' | 'active' | 'published' | 'failed';
907
- type: 'web' | 'server';
908
- containerUrl?: string | null;
909
- publicUrl?: string | null;
910
- errorMessage?: string | null;
911
- createdAt: string;
912
- }
913
- interface FlowDeployPanelProps {
914
- flowName: string;
915
- platform?: 'web' | 'server';
916
- deployment: DeploymentInfo | null;
917
- deploying?: boolean;
918
- error?: string | null;
919
- hasUnsavedChanges?: boolean;
920
- multipleFlows?: boolean;
921
- onDeploy: () => void;
922
- onDeleteDeployment: () => void;
923
- onDownloadFlow: () => void;
924
- onBundle: () => void;
925
- className?: string;
926
- }
927
- /**
928
- * FlowDeployPanel - Deployment controls for a named flow
929
- *
930
- * Replaces DeploySection. Shows deployment status, endpoint info,
931
- * and a SplitButton with deploy/download/bundle actions.
932
- */
933
- declare function FlowDeployPanel({ flowName, platform, deployment, deploying, error, hasUnsavedChanges, multipleFlows, onDeploy, onDeleteDeployment, onDownloadFlow, onBundle, className, }: FlowDeployPanelProps): react_jsx_runtime.JSX.Element;
934
-
935
971
  /**
936
972
  * Destination schema bundle for runtime provision
937
973
  *
@@ -1765,6 +1801,136 @@ declare function registerWalkerOSTypes(monaco: Monaco): void;
1765
1801
  */
1766
1802
  declare function initializeMonacoTypes(monaco: Monaco): void;
1767
1803
 
1804
+ /**
1805
+ * Generate a unique model path for a Code instance.
1806
+ * Used as the `path` prop for @monaco-editor/react Editor.
1807
+ */
1808
+ declare function generateModelPath(): string;
1809
+ /**
1810
+ * Register a JSON schema for a specific model path.
1811
+ * Triggers a global setDiagnosticsOptions update.
1812
+ */
1813
+ declare function registerJsonSchema(modelPath: string, schema: Record<string, unknown>): void;
1814
+ /**
1815
+ * Unregister a JSON schema when a Code instance unmounts.
1816
+ * Triggers a global setDiagnosticsOptions update.
1817
+ */
1818
+ declare function unregisterJsonSchema(modelPath: string): void;
1819
+
1820
+ interface MonacoSchemaExtension {
1821
+ defaultSnippets?: Array<{
1822
+ label: string;
1823
+ description?: string;
1824
+ markdownDescription?: string;
1825
+ body?: unknown;
1826
+ bodyText?: string;
1827
+ }>;
1828
+ markdownDescription?: string;
1829
+ enumDescriptions?: string[];
1830
+ markdownEnumDescriptions?: string[];
1831
+ deprecationMessage?: string;
1832
+ errorMessage?: string;
1833
+ patternErrorMessage?: string;
1834
+ doNotSuggest?: boolean;
1835
+ suggestSortText?: string;
1836
+ }
1837
+ type EnrichmentMap = Record<string, MonacoSchemaExtension>;
1838
+ /**
1839
+ * Deep-merges Monaco-specific JSON Schema extensions into a base schema.
1840
+ * Keys in the enrichment map are dot-paths (e.g., 'properties.sources').
1841
+ * Empty string '' targets the root. Does not mutate the original.
1842
+ */
1843
+ declare function enrichSchema(baseSchema: Record<string, unknown>, enrichments: EnrichmentMap): Record<string, unknown>;
1844
+
1845
+ type AnySchema$2 = Record<string, any>;
1846
+ /**
1847
+ * Takes the base Flow.Setup JSON Schema (from @walkeros/core z.toJSONSchema())
1848
+ * and returns an enriched version with Monaco-specific extensions.
1849
+ *
1850
+ * The actual schema uses anyOf[0] at the top level.
1851
+ */
1852
+ declare function enrichFlowSetupSchema(baseSchema: AnySchema$2): AnySchema$2;
1853
+
1854
+ type AnySchema$1 = Record<string, any>;
1855
+ /**
1856
+ * Returns an enriched JSON Schema for the walkerOS Contract editor.
1857
+ * Structure: { $tagging: number, entity: { action: JSONSchema } }
1858
+ */
1859
+ declare function getEnrichedContractSchema(): AnySchema$1;
1860
+
1861
+ type AnySchema = Record<string, any>;
1862
+ declare function getVariablesSchema(): AnySchema;
1863
+
1864
+ type ReferenceType = 'variable' | 'definition' | 'secret' | 'env' | 'code';
1865
+ interface WalkerOSReference {
1866
+ type: ReferenceType;
1867
+ name: string;
1868
+ startIndex: number;
1869
+ endIndex: number;
1870
+ }
1871
+ declare const REFERENCE_PATTERNS: Array<{
1872
+ type: ReferenceType;
1873
+ regex: RegExp;
1874
+ className: string;
1875
+ }>;
1876
+ /**
1877
+ * Find all walkerOS reference patterns in text.
1878
+ * Used for both decorations and validation.
1879
+ */
1880
+ declare function findWalkerOSReferences(text: string): WalkerOSReference[];
1881
+ /**
1882
+ * Apply walkerOS reference decorations to a Monaco editor.
1883
+ * Returns a cleanup function.
1884
+ */
1885
+ declare function applyWalkerOSDecorations(editorInstance: editor.IStandaloneCodeEditor): () => void;
1886
+ /**
1887
+ * Register CSS styles for walkerOS reference decorations.
1888
+ * Call once on app init.
1889
+ */
1890
+ declare function registerWalkerOSDecorationStyles(): void;
1891
+
1892
+ /**
1893
+ * Update the IntelliSense context for a specific editor model.
1894
+ */
1895
+ declare function setIntelliSenseContext(modelPath: string, context: IntelliSenseContext): void;
1896
+ /**
1897
+ * Remove context when editor unmounts.
1898
+ */
1899
+ declare function removeIntelliSenseContext(modelPath: string): void;
1900
+ /**
1901
+ * Register the walkerOS CompletionItemProvider and HoverProvider for JSON.
1902
+ * Call once on app initialization. Safe to call multiple times (idempotent).
1903
+ */
1904
+ declare function registerWalkerOSProviders(monaco: typeof monaco_editor): void;
1905
+ /**
1906
+ * Dispose all registered providers. Call on app teardown.
1907
+ */
1908
+ declare function disposeWalkerOSProviders(): void;
1909
+
1910
+ interface ValidationIssue {
1911
+ message: string;
1912
+ severity: 'error' | 'warning' | 'info';
1913
+ startIndex: number;
1914
+ endIndex: number;
1915
+ }
1916
+ /**
1917
+ * Validate walkerOS references in JSON text against the current context.
1918
+ * Returns issues for dangling references and invalid cross-references.
1919
+ */
1920
+ declare function validateWalkerOSReferences(text: string, context: Partial<IntelliSenseContext>): ValidationIssue[];
1921
+
1922
+ /**
1923
+ * Extract IntelliSense context from a Flow.Setup JSON string.
1924
+ *
1925
+ * Parses the JSON, walks setup → configs → steps, and collects
1926
+ * all discoverable variables, definitions, step names, packages,
1927
+ * platform, and contract entities.
1928
+ *
1929
+ * Returns `{}` for invalid JSON or non-Flow structures.
1930
+ * Pure function — no side effects, no state.
1931
+ */
1932
+ declare function extractFlowIntelliSenseContext(json: string): Partial<IntelliSenseContext>;
1933
+
1768
1934
  /**
1769
1935
  * Formats captured function calls for display
1770
1936
  *
@@ -1826,4 +1992,4 @@ declare function createRawCapture(destinationEnv: unknown): {
1826
1992
  }[];
1827
1993
  };
1828
1994
 
1829
- export { Alert, type AlertProps, ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, ConfigEditor, type ConfigEditorBoxProps, ConfigFormCard, type ConfigFormCardProps, DESTINATION_CONFIG_STRUCTURE, type DeploymentInfo, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, type DestinationSchemas, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, FlowDeployPanel, type FlowDeployPanelProps, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, FlowSelector, type FlowSelectorFlow, type FlowSelectorProps, type FlowStageConfig, Footer, type FooterProps, FormCard, type FormCardProps, FormField, type FormFieldProps, FormInput, type FormInputProps, FormTextarea, type FormTextareaProps, Grid, type GridProps, Header, type HeaderProps, type HintItem, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MAPPING_RULE_STRUCTURE, MDXCode, MDXProvider, MappingCode, type MappingCodeProps, MappingDemo, type MappingDemoProps, MappingKeyField, MappingKeyWidget, PanelHints, type PanelHintsProps, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonAction, type SplitButtonProps, SubmitButton, type SubmitButtonProps, type UseDropdownReturn, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, formatCapturedCalls, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSTypes, useDropdown };
1995
+ export { Alert, type AlertProps, ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, ConfigEditor, type ConfigEditorBoxProps, ConfigFormCard, type ConfigFormCardProps, DESTINATION_CONFIG_STRUCTURE, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, type DestinationSchemas, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, FlowSelector, type FlowSelectorFlow, type FlowSelectorProps, type FlowStageConfig, Footer, type FooterProps, FormCard, type FormCardProps, FormField, type FormFieldProps, FormInput, type FormInputProps, FormTextarea, type FormTextareaProps, Grid, type GridProps, Header, type HeaderProps, type HintItem, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MAPPING_RULE_STRUCTURE, MDXCode, MDXProvider, MappingCode, type MappingCodeProps, MappingDemo, type MappingDemoProps, MappingKeyField, MappingKeyWidget, type MonacoSchemaExtension, type PackageInfo, PanelHints, type PanelHintsProps, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, SplitButton, type SplitButtonAction, type SplitButtonProps, SubmitButton, type SubmitButtonProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders, enrichFlowSetupSchema, enrichSchema, extractFlowIntelliSenseContext, findWalkerOSReferences, formatCapturedCalls, generateModelPath, getEnrichedContractSchema, getVariablesSchema, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerJsonSchema, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSDecorationStyles, registerWalkerOSProviders, registerWalkerOSTypes, removeIntelliSenseContext, setIntelliSenseContext, unregisterJsonSchema, useDropdown, validateWalkerOSReferences };
package/dist/index.d.ts CHANGED
@@ -35,8 +35,6 @@ export { SplitButton } from './components/molecules/split-button';
35
35
  export type { SplitButtonProps, SplitButtonAction, } from './components/molecules/split-button';
36
36
  export { FlowSelector } from './components/molecules/flow-selector';
37
37
  export type { FlowSelectorProps, FlowSelectorFlow, } from './components/molecules/flow-selector';
38
- export { FlowDeployPanel } from './components/molecules/flow-deploy-panel';
39
- export type { FlowDeployPanelProps, DeploymentInfo, } from './components/molecules/flow-deploy-panel';
40
38
  export type { FormCardProps } from './components/molecules/form-card';
41
39
  export type { DropdownProps, DropdownItemProps, DropdownDividerProps, } from './components/molecules/dropdown';
42
40
  export type { ConfigFormCardProps } from './components/molecules/config-form-card';
@@ -86,6 +84,16 @@ export { palenightTheme, lighthouseTheme, registerPalenightTheme, registerLighth
86
84
  export type { ExplorerTheme } from './themes';
87
85
  export { registerWalkerOSTypes, initializeMonacoTypes, loadPackageTypes, loadTypeLibraryFromURL, } from './utils/monaco-types';
88
86
  export type { LoadPackageTypesOptions } from './utils/monaco-types';
87
+ export { registerJsonSchema, unregisterJsonSchema, generateModelPath, } from './utils/monaco-json-schema';
88
+ export { enrichSchema, type MonacoSchemaExtension, } from './utils/monaco-schema-enrichment';
89
+ export { enrichFlowSetupSchema } from './utils/monaco-schema-flow-setup';
90
+ export { getEnrichedContractSchema } from './utils/monaco-schema-contract';
91
+ export { getVariablesSchema } from './utils/monaco-schema-variables';
92
+ export { findWalkerOSReferences, applyWalkerOSDecorations, registerWalkerOSDecorationStyles, REFERENCE_PATTERNS, } from './utils/monaco-walkeros-decorations';
93
+ export type { IntelliSenseContext, PackageInfo } from './types/intellisense';
94
+ export { registerWalkerOSProviders, disposeWalkerOSProviders, setIntelliSenseContext, removeIntelliSenseContext, } from './utils/monaco-walkeros-providers';
95
+ export { validateWalkerOSReferences } from './utils/monaco-walkeros-markers';
96
+ export { extractFlowIntelliSenseContext } from './utils/monaco-intellisense-flow-extractor';
89
97
  export { createGtagDestination, createFbqDestination, createPlausibleDestination, } from './helpers/destinations';
90
98
  export { captureDestinationPush, formatCapturedCalls, createRawCapture, } from './helpers/capture';
91
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,YAAY,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,YAAY,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,YAAY,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAGvF,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAGhG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A4C,CAAC;AAG5F,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -23,7 +23,6 @@ export { Dropdown, DropdownItem, DropdownDivider, } from './components/molecules
23
23
  export { ConfigFormCard } from './components/molecules/config-form-card';
24
24
  export { SplitButton } from './components/molecules/split-button';
25
25
  export { FlowSelector } from './components/molecules/flow-selector';
26
- export { FlowDeployPanel } from './components/molecules/flow-deploy-panel';
27
26
  // Config structures
28
27
  export { DESTINATION_CONFIG_STRUCTURE, MAPPING_RULE_STRUCTURE, } from './schemas/config-structures';
29
28
  export { Preview } from './components/molecules/preview';
@@ -57,6 +56,19 @@ export { useDropdown } from './hooks/useDropdown';
57
56
  export { palenightTheme, lighthouseTheme, registerPalenightTheme, registerLighthouseTheme, registerAllThemes, } from './themes';
58
57
  // Monaco Editor type registration
59
58
  export { registerWalkerOSTypes, initializeMonacoTypes, loadPackageTypes, loadTypeLibraryFromURL, } from './utils/monaco-types';
59
+ // Monaco JSON Schema registry
60
+ export { registerJsonSchema, unregisterJsonSchema, generateModelPath, } from './utils/monaco-json-schema';
61
+ // Schema enrichment
62
+ export { enrichSchema, } from './utils/monaco-schema-enrichment';
63
+ export { enrichFlowSetupSchema } from './utils/monaco-schema-flow-setup';
64
+ export { getEnrichedContractSchema } from './utils/monaco-schema-contract';
65
+ export { getVariablesSchema } from './utils/monaco-schema-variables';
66
+ // walkerOS reference decorations
67
+ export { findWalkerOSReferences, applyWalkerOSDecorations, registerWalkerOSDecorationStyles, REFERENCE_PATTERNS, } from './utils/monaco-walkeros-decorations';
68
+ // IntelliSense providers
69
+ export { registerWalkerOSProviders, disposeWalkerOSProviders, setIntelliSenseContext, removeIntelliSenseContext, } from './utils/monaco-walkeros-providers';
70
+ export { validateWalkerOSReferences } from './utils/monaco-walkeros-markers';
71
+ export { extractFlowIntelliSenseContext } from './utils/monaco-intellisense-flow-extractor';
60
72
  // Destination helpers
61
73
  export { createGtagDestination, createFbqDestination, createPlausibleDestination, } from './helpers/destinations';
62
74
  // Capture utilities for destination demos (captureDestinationPush still exported for DestinationDemo)
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAO7E,gDAAgD;AAChD,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEhG,YAAY;AACZ,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAMlF,YAAY;AACZ,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM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