@burdenoff/microfe-cosmicintersection 2026.716.1 → 2026.731.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 (56) hide show
  1. package/dist/cosmicintersection/CosmicIntersectionRoot.js.map +1 -1
  2. package/dist/cosmicintersection/CosmicIntersectionRoutes.js.map +1 -1
  3. package/dist/cosmicintersection/api/cosmicApi.d.ts.map +1 -1
  4. package/dist/cosmicintersection/api/cosmicApi.js.map +1 -1
  5. package/dist/cosmicintersection/components/ActionMenu.js.map +1 -1
  6. package/dist/cosmicintersection/components/ActivityFeedPanel.js.map +1 -1
  7. package/dist/cosmicintersection/components/DiscussionPanel.js.map +1 -1
  8. package/dist/cosmicintersection/components/EmptyState.js.map +1 -1
  9. package/dist/cosmicintersection/components/EntityFormShell.js.map +1 -1
  10. package/dist/cosmicintersection/components/EntityTagsField.js.map +1 -1
  11. package/dist/cosmicintersection/components/ErrorState.js.map +1 -1
  12. package/dist/cosmicintersection/components/FacetPanel.js.map +1 -1
  13. package/dist/cosmicintersection/components/FileUploadField.js.map +1 -1
  14. package/dist/cosmicintersection/components/LineageGraph.d.ts.map +1 -1
  15. package/dist/cosmicintersection/components/LineageGraph.js.map +1 -1
  16. package/dist/cosmicintersection/components/LoadingState.js.map +1 -1
  17. package/dist/cosmicintersection/components/PageLayout.js.map +1 -1
  18. package/dist/cosmicintersection/components/Pagination.js.map +1 -1
  19. package/dist/cosmicintersection/components/ResultsChart.js.map +1 -1
  20. package/dist/cosmicintersection/components/SafeLink.js.map +1 -1
  21. package/dist/cosmicintersection/components/StatusBadge.js.map +1 -1
  22. package/dist/cosmicintersection/components/StepDAG.js.map +1 -1
  23. package/dist/cosmicintersection/context/CosmicIntersectionContext.js.map +1 -1
  24. package/dist/cosmicintersection/lib/mutationResult.js.map +1 -1
  25. package/dist/cosmicintersection/lib/toast.js.map +1 -1
  26. package/dist/cosmicintersection/pages/access/AccessPage.js.map +1 -1
  27. package/dist/cosmicintersection/pages/analyses/AnalysesPage.js.map +1 -1
  28. package/dist/cosmicintersection/pages/collections/CollectionDetailPage.js.map +1 -1
  29. package/dist/cosmicintersection/pages/collections/CollectionFormPage.js.map +1 -1
  30. package/dist/cosmicintersection/pages/collections/CollectionsPage.js.map +1 -1
  31. package/dist/cosmicintersection/pages/dashboard/DashboardPage.js.map +1 -1
  32. package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js.map +1 -1
  33. package/dist/cosmicintersection/pages/datasets/DatasetFormPage.js.map +1 -1
  34. package/dist/cosmicintersection/pages/datasets/DatasetsPage.js.map +1 -1
  35. package/dist/cosmicintersection/pages/discovery/DiscoveryPage.js.map +1 -1
  36. package/dist/cosmicintersection/pages/lineage/LineagePage.js.map +1 -1
  37. package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js.map +1 -1
  38. package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.js.map +1 -1
  39. package/dist/cosmicintersection/pages/notebooks/NotebooksPage.js.map +1 -1
  40. package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.js.map +1 -1
  41. package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.js.map +1 -1
  42. package/dist/cosmicintersection/pages/pipelines/PipelinesPage.js.map +1 -1
  43. package/dist/cosmicintersection/pages/releases/ReleaseFormPage.js.map +1 -1
  44. package/dist/cosmicintersection/pages/releases/ReleasesPage.js.map +1 -1
  45. package/dist/cosmicintersection/pages/runs/RunDetailPage.js.map +1 -1
  46. package/dist/cosmicintersection/pages/runs/RunsPage.js.map +1 -1
  47. package/dist/cosmicintersection/pages/sources/SourceDetailPage.js.map +1 -1
  48. package/dist/cosmicintersection/pages/sources/SourceFormPage.js.map +1 -1
  49. package/dist/cosmicintersection/pages/sources/SourcesPage.js.map +1 -1
  50. package/dist/cosmicintersection/utils/cn.js.map +1 -1
  51. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  52. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1 -1
  53. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  54. package/dist/services/createSandboxAssistantTransport.js.map +1 -1
  55. package/dist/utils/pageContext.js.map +1 -1
  56. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"createSandboxAssistantTransport.js","names":[],"sources":["../../src/services/createSandboxAssistantTransport.ts"],"sourcesContent":["/**\n * cosmicintersection adapter for the shared fe-libs AssistantWidget transport.\n *\n * The sandbox lifecycle + poll/stream loop now lives in\n * `@burdenoff/fe-libs/shared/assistant` (one implementation for all products);\n * this is a thin wrapper. The exported name/shape are unchanged so app-shell\n * imports don't move. The public return type is a LOCALLY-declared structural\n * mirror — never re-export fe-libs types (vite-plugin-dts path rewriting).\n */\n\nimport { useSandboxAssistantTransport as useSharedTransport } from '@burdenoff/fe-libs/shared/assistant';\nimport { gatherPageContext } from '#src/utils/pageContext';\n\ninterface AssistantSendArgs {\n prompt: string;\n onProgress: (partialText: string) => void;\n signal: AbortSignal;\n}\n\nexport interface AssistantTransport {\n sendPrompt: (args: AssistantSendArgs) => Promise<{ text: string }>;\n prewarm?: (level?: 'probe' | 'full') => void;\n suspend?: () => void;\n}\n\nexport function useSandboxAssistantTransport(): AssistantTransport {\n return useSharedTransport({\n product: 'cosmicintersection',\n gatherPageContext: gatherPageContext,\n enableCredits: true,\n });\n}\n"],"mappings":";;;AAyBA,SAAgB,IAAmD;AACjE,QAAO,EAAmB;EACxB,SAAS;EACU;EACnB,eAAe;EAChB,CAAC"}
1
+ {"version":3,"file":"createSandboxAssistantTransport.js","names":[],"sources":["../../src/services/createSandboxAssistantTransport.ts"],"sourcesContent":["/**\n * cosmicintersection adapter for the shared fe-libs AssistantWidget transport.\n *\n * The sandbox lifecycle + poll/stream loop now lives in\n * `@burdenoff/fe-libs/shared/assistant` (one implementation for all products);\n * this is a thin wrapper. The exported name/shape are unchanged so app-shell\n * imports don't move. The public return type is a LOCALLY-declared structural\n * mirror — never re-export fe-libs types (vite-plugin-dts path rewriting).\n */\n\nimport { useSandboxAssistantTransport as useSharedTransport } from '@burdenoff/fe-libs/shared/assistant';\nimport { gatherPageContext } from '#src/utils/pageContext';\n\ninterface AssistantSendArgs {\n prompt: string;\n onProgress: (partialText: string) => void;\n signal: AbortSignal;\n}\n\nexport interface AssistantTransport {\n sendPrompt: (args: AssistantSendArgs) => Promise<{ text: string }>;\n prewarm?: (level?: 'probe' | 'full') => void;\n suspend?: () => void;\n}\n\nexport function useSandboxAssistantTransport(): AssistantTransport {\n return useSharedTransport({\n product: 'cosmicintersection',\n gatherPageContext: gatherPageContext,\n enableCredits: true,\n });\n}\n"],"mappings":";;;AAyBA,SAAgB,IAAmD;CACjE,OAAO,EAAmB;EACxB,SAAS;EACU;EACnB,eAAe;CACjB,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"pageContext.js","names":[],"sources":["../../src/utils/pageContext.ts"],"sourcesContent":["/// <reference types=\"vite/client\" />\n\n/**\n * Page context gathering for the CosmicIntersection AI assistant.\n *\n * Captures the user's current browser context (route, entity, viewport) to be\n * sent alongside every assistant prompt so the agent can reason about \"this\n * dataset\", \"the current pipeline\", etc.\n */\n\ninterface ConversationContextShape {\n entityType?: string;\n entityId?: string;\n activeTab?: string;\n metadata?: Record<string, unknown>;\n}\n\nexport interface PageContext {\n currentUrl: string;\n currentPage: string;\n entityType?: string;\n entityId?: string;\n platform: string;\n version: string;\n viewportSize: string;\n userAgent: string;\n timestamp: string;\n}\n\nexport function gatherPageContext(): PageContext {\n const url = window.location.href;\n const pathSegments = window.location.pathname.split('/').filter(Boolean);\n const currentPage = pathSegments.slice(0, 3).join('/') || 'home';\n const entity = resolveCosmicIntersectionConversationContext(\n window.location.pathname,\n window.location.search\n );\n\n return {\n currentUrl: url,\n currentPage,\n entityType: entity.entityType,\n entityId: entity.entityId,\n platform: 'cosmicintersection',\n version: import.meta.env.VITE_APP_VERSION ?? '2026.709.1',\n viewportSize: `${window.innerWidth}x${window.innerHeight}`,\n userAgent: navigator.userAgent,\n timestamp: new Date().toISOString(),\n };\n}\n\nfunction matchPath(pattern: RegExp, pathname: string): RegExpMatchArray | null {\n return pathname.match(pattern);\n}\n\nexport function resolveCosmicIntersectionConversationContext(\n pathname: string,\n search: string\n): ConversationContextShape {\n const params = new URLSearchParams(search);\n\n const directMatches: Array<[RegExp, string]> = [\n [/^\\/cosmicintersection\\/datasets\\/([^/]+)$/, 'COSMIC_DATASET'],\n [/^\\/cosmicintersection\\/sources\\/([^/]+)$/, 'COSMIC_SOURCE'],\n [/^\\/cosmicintersection\\/collections\\/([^/]+)$/, 'COSMIC_COLLECTION'],\n [/^\\/cosmicintersection\\/pipelines\\/([^/]+)$/, 'COSMIC_PIPELINE'],\n [/^\\/cosmicintersection\\/runs\\/([^/]+)$/, 'COSMIC_RUN'],\n [/^\\/cosmicintersection\\/notebooks\\/([^/]+)$/, 'COSMIC_NOTEBOOK'],\n [/^\\/cosmicintersection\\/analyses\\/([^/]+)$/, 'COSMIC_ANALYSIS'],\n [/^\\/cosmicintersection\\/releases\\/([^/]+)$/, 'COSMIC_RELEASE'],\n ];\n\n for (const [pattern, entityType] of directMatches) {\n const match = matchPath(pattern, pathname);\n if (match) {\n return {\n entityType,\n entityId: match[1],\n metadata: {\n routePattern: pattern.source,\n },\n };\n }\n }\n\n const activeTab =\n params.get('tab') ??\n (() => {\n const segments = pathname.split('/').filter(Boolean);\n return segments.length > 2 ? segments[segments.length - 1] : undefined;\n })();\n\n return {\n activeTab: activeTab ?? undefined,\n metadata: {\n ...(activeTab ? { activeTab } : {}),\n },\n };\n}\n"],"mappings":";AA6BA,SAAgB,IAAiC;CAC/C,IAAM,IAAM,OAAO,SAAS,MAEtB,IADe,OAAO,SAAS,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ,CACvC,MAAM,GAAG,EAAE,CAAC,KAAK,IAAI,IAAI,QACpD,IAAS,EACb,OAAO,SAAS,UAChB,OAAO,SAAS,OACjB;AAED,QAAO;EACL,YAAY;EACZ;EACA,YAAY,EAAO;EACnB,UAAU,EAAO;EACjB,UAAU;EACV,SAA6C;EAC7C,cAAc,GAAG,OAAO,WAAW,GAAG,OAAO;EAC7C,WAAW,UAAU;EACrB,4BAAW,IAAI,MAAM,EAAC,aAAa;EACpC;;AAGH,SAAS,EAAU,GAAiB,GAA2C;AAC7E,QAAO,EAAS,MAAM,EAAQ;;AAGhC,SAAgB,EACd,GACA,GAC0B;CAC1B,IAAM,IAAS,IAAI,gBAAgB,EAAO;AAa1C,MAAK,IAAM,CAAC,GAAS,MAX0B;EAC7C,CAAC,6CAA6C,iBAAiB;EAC/D,CAAC,4CAA4C,gBAAgB;EAC7D,CAAC,gDAAgD,oBAAoB;EACrE,CAAC,8CAA8C,kBAAkB;EACjE,CAAC,yCAAyC,aAAa;EACvD,CAAC,8CAA8C,kBAAkB;EACjE,CAAC,6CAA6C,kBAAkB;EAChE,CAAC,6CAA6C,iBAAiB;EAChE,EAEkD;EACjD,IAAM,IAAQ,EAAU,GAAS,EAAS;AAC1C,MAAI,EACF,QAAO;GACL;GACA,UAAU,EAAM;GAChB,UAAU,EACR,cAAc,EAAQ,QACvB;GACF;;CAIL,IAAM,IACJ,EAAO,IAAI,MAAM,WACV;EACL,IAAM,IAAW,EAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;AACpD,SAAO,EAAS,SAAS,IAAI,EAAS,EAAS,SAAS,KAAK,KAAA;KAC3D;AAEN,QAAO;EACL,WAAW,KAAa,KAAA;EACxB,UAAU,EACR,GAAI,IAAY,EAAE,cAAW,GAAG,EAAE,EACnC;EACF"}
1
+ {"version":3,"file":"pageContext.js","names":[],"sources":["../../src/utils/pageContext.ts"],"sourcesContent":["/// <reference types=\"vite/client\" />\n\n/**\n * Page context gathering for the CosmicIntersection AI assistant.\n *\n * Captures the user's current browser context (route, entity, viewport) to be\n * sent alongside every assistant prompt so the agent can reason about \"this\n * dataset\", \"the current pipeline\", etc.\n */\n\ninterface ConversationContextShape {\n entityType?: string;\n entityId?: string;\n activeTab?: string;\n metadata?: Record<string, unknown>;\n}\n\nexport interface PageContext {\n currentUrl: string;\n currentPage: string;\n entityType?: string;\n entityId?: string;\n platform: string;\n version: string;\n viewportSize: string;\n userAgent: string;\n timestamp: string;\n}\n\nexport function gatherPageContext(): PageContext {\n const url = window.location.href;\n const pathSegments = window.location.pathname.split('/').filter(Boolean);\n const currentPage = pathSegments.slice(0, 3).join('/') || 'home';\n const entity = resolveCosmicIntersectionConversationContext(\n window.location.pathname,\n window.location.search\n );\n\n return {\n currentUrl: url,\n currentPage,\n entityType: entity.entityType,\n entityId: entity.entityId,\n platform: 'cosmicintersection',\n version: import.meta.env.VITE_APP_VERSION ?? '2026.709.1',\n viewportSize: `${window.innerWidth}x${window.innerHeight}`,\n userAgent: navigator.userAgent,\n timestamp: new Date().toISOString(),\n };\n}\n\nfunction matchPath(pattern: RegExp, pathname: string): RegExpMatchArray | null {\n return pathname.match(pattern);\n}\n\nexport function resolveCosmicIntersectionConversationContext(\n pathname: string,\n search: string\n): ConversationContextShape {\n const params = new URLSearchParams(search);\n\n const directMatches: Array<[RegExp, string]> = [\n [/^\\/cosmicintersection\\/datasets\\/([^/]+)$/, 'COSMIC_DATASET'],\n [/^\\/cosmicintersection\\/sources\\/([^/]+)$/, 'COSMIC_SOURCE'],\n [/^\\/cosmicintersection\\/collections\\/([^/]+)$/, 'COSMIC_COLLECTION'],\n [/^\\/cosmicintersection\\/pipelines\\/([^/]+)$/, 'COSMIC_PIPELINE'],\n [/^\\/cosmicintersection\\/runs\\/([^/]+)$/, 'COSMIC_RUN'],\n [/^\\/cosmicintersection\\/notebooks\\/([^/]+)$/, 'COSMIC_NOTEBOOK'],\n [/^\\/cosmicintersection\\/analyses\\/([^/]+)$/, 'COSMIC_ANALYSIS'],\n [/^\\/cosmicintersection\\/releases\\/([^/]+)$/, 'COSMIC_RELEASE'],\n ];\n\n for (const [pattern, entityType] of directMatches) {\n const match = matchPath(pattern, pathname);\n if (match) {\n return {\n entityType,\n entityId: match[1],\n metadata: {\n routePattern: pattern.source,\n },\n };\n }\n }\n\n const activeTab =\n params.get('tab') ??\n (() => {\n const segments = pathname.split('/').filter(Boolean);\n return segments.length > 2 ? segments[segments.length - 1] : undefined;\n })();\n\n return {\n activeTab: activeTab ?? undefined,\n metadata: {\n ...(activeTab ? { activeTab } : {}),\n },\n };\n}\n"],"mappings":";AA6BA,SAAgB,IAAiC;CAC/C,IAAM,IAAM,OAAO,SAAS,MAEtB,IADe,OAAO,SAAS,SAAS,MAAM,GAAG,EAAE,OAAO,OAC5C,EAAa,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,QACpD,IAAS,EACb,OAAO,SAAS,UAChB,OAAO,SAAS,MAClB;CAEA,OAAO;EACL,YAAY;EACZ;EACA,YAAY,EAAO;EACnB,UAAU,EAAO;EACjB,UAAU;EACV,SAA6C;EAC7C,cAAc,GAAG,OAAO,WAAW,GAAG,OAAO;EAC7C,WAAW,UAAU;EACrB,4BAAW,IAAI,KAAK,GAAE,YAAY;CACpC;AACF;AAEA,SAAS,EAAU,GAAiB,GAA2C;CAC7E,OAAO,EAAS,MAAM,CAAO;AAC/B;AAEA,SAAgB,EACd,GACA,GAC0B;CAC1B,IAAM,IAAS,IAAI,gBAAgB,CAAM;CAazC,KAAK,IAAM,CAAC,GAAS,MAAe;EAVlC,CAAC,6CAA6C,gBAAgB;EAC9D,CAAC,4CAA4C,eAAe;EAC5D,CAAC,gDAAgD,mBAAmB;EACpE,CAAC,8CAA8C,iBAAiB;EAChE,CAAC,yCAAyC,YAAY;EACtD,CAAC,8CAA8C,iBAAiB;EAChE,CAAC,6CAA6C,iBAAiB;EAC/D,CAAC,6CAA6C,gBAAgB;CAG5B,GAAe;EACjD,IAAM,IAAQ,EAAU,GAAS,CAAQ;EACzC,IAAI,GACF,OAAO;GACL;GACA,UAAU,EAAM;GAChB,UAAU,EACR,cAAc,EAAQ,OACxB;EACF;CAEJ;CAEA,IAAM,IACJ,EAAO,IAAI,KAAK,YACT;EACL,IAAM,IAAW,EAAS,MAAM,GAAG,EAAE,OAAO,OAAO;EACnD,OAAO,EAAS,SAAS,IAAI,EAAS,EAAS,SAAS,KAAK,KAAA;CAC/D,GAAG;CAEL,OAAO;EACL,WAAW,KAAa,KAAA;EACxB,UAAU,EACR,GAAI,IAAY,EAAE,aAAU,IAAI,CAAC,EACnC;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-cosmicintersection",
3
- "version": "2026.716.1",
3
+ "version": "2026.731.1",
4
4
  "description": "Burdenoff CosmicIntersection Microfrontend",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,11 +26,11 @@
26
26
  "types": "./dist/index.d.ts",
27
27
  "scripts": {
28
28
  "dev": "vite",
29
- "build": "tsc && vite build",
29
+ "build": "tsc && bash scripts/build-limits.sh --gate vite build",
30
30
  "lint": "eslint .",
31
31
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
32
- "type:check": "tsc --noEmit",
33
- "sanity": "bun run codegen && bun run lint && bun run format && bun run type:check && bun run build && bun run build-storybook",
32
+ "type:check": "bash scripts/build-limits.sh tsc --noEmit",
33
+ "sanity": "bash scripts/build-limits.sh --gate bash -c 'bun run codegen && bun run lint && bun run format && bun run type:check && bun run build && bun run build-storybook'",
34
34
  "storybook": "storybook dev -p 6006",
35
35
  "build-storybook": "storybook build",
36
36
  "test:storybook": "test-storybook",
@@ -91,7 +91,7 @@
91
91
  "tailwindcss": "^4.0.0",
92
92
  "typescript": "^5.9.0",
93
93
  "typescript-eslint": "^8.54.0",
94
- "vite": "8.0.8",
94
+ "vite": "8.0.16",
95
95
  "vite-plugin-dts": "3.9.1"
96
96
  },
97
97
  "peerDependencies": {