mirror of
https://github.com/simstudioai/sim.git
synced 2026-12-01 20:17:57 +08:00
fix(deps): preserve runtime and canvas behavior (#7366)
* fix(deps): preserve runtime and canvas behavior * fix(demo): validate Cal embed configuration * fix(deps): preserve runtime compatibility
This commit is contained in:
1 parent
9acf0f8e33
commit
23e1663e71
88 files changed
+1462
-986
No files matched your search
@@ -32,7 +32,9 @@ Dockerfile*
|
||||
|
||||
# Build artifacts and caches
|
||||
.next
|
||||
**/.next
|
||||
.turbo
|
||||
**/.turbo
|
||||
.cache
|
||||
dist
|
||||
build
|
||||
|
||||
@@ -266,7 +266,7 @@ jobs:
|
||||
echo "ERROR: DEV_TRIGGER_ACCESS_TOKEN and TRIGGER_PROJECT_ID repo secrets must both be set" >&2
|
||||
exit 1
|
||||
fi
|
||||
bunx trigger.dev@4.5.7 deploy --env preview --branch dev-sim
|
||||
bunx trigger.dev@4.5.12 deploy --env preview --branch dev-sim
|
||||
|
||||
# Main/staging: build AMD64 images and push sha-tagged images to ECR + GHCR.
|
||||
# Runs in parallel with tests — only immutable sha tags are pushed here, and
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@types/micromatch": "4.0.10",
|
||||
"@types/node": "24.2.1",
|
||||
"electron": "43.4.1",
|
||||
"electron": "43.5.0",
|
||||
"electron-builder": "26.15.3",
|
||||
"esbuild": "0.28.1",
|
||||
"jsdom": "^26.0.0",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
'use client'
|
||||
|
||||
import { useMemo } from 'react'
|
||||
import { CANVAS_Z_INDEX_MODE } from '@sim/workflow-renderer'
|
||||
import { CANVAS_Z_INDEX_MODE, useCanvasColorMode } from '@sim/workflow-renderer'
|
||||
import { type NodeTypes, ReactFlow, ReactFlowProvider } from '@xyflow/react'
|
||||
import { domAnimation, LazyMotion } from 'framer-motion'
|
||||
import '@xyflow/react/dist/style.css'
|
||||
import { BLOCK_DISPLAY_WORKFLOWS } from '@/components/workflow-preview/block-display-workflows'
|
||||
import { DocsBlockNode } from '@/components/workflow-preview/docs-block-node'
|
||||
import { usePreviewColorMode } from '@/components/workflow-preview/use-preview-color-mode'
|
||||
import { FitViewAfterInit } from '@/components/workflow-preview/fit-view-after-init'
|
||||
import { toReactFlowElements } from '@/components/workflow-preview/workflow-data'
|
||||
|
||||
/** The hero mounts the same node type the canvas uses, so it can never drift. */
|
||||
@@ -30,7 +30,7 @@ interface BlockPreviewProps {
|
||||
* `block-display-workflows.ts`.
|
||||
*/
|
||||
export function BlockPreview({ type }: BlockPreviewProps) {
|
||||
const colorMode = usePreviewColorMode()
|
||||
const colorMode = useCanvasColorMode()
|
||||
const workflow = BLOCK_DISPLAY_WORKFLOWS[type]
|
||||
|
||||
const elements = useMemo(() => (workflow ? toReactFlowElements(workflow) : null), [workflow])
|
||||
@@ -51,8 +51,6 @@ export function BlockPreview({ type }: BlockPreviewProps) {
|
||||
edges={elements.edges}
|
||||
nodeTypes={NODE_TYPES}
|
||||
proOptions={PRO_OPTIONS}
|
||||
fitView
|
||||
fitViewOptions={FIT_VIEW_OPTIONS}
|
||||
minZoom={0.2}
|
||||
maxZoom={1.3}
|
||||
nodesDraggable={false}
|
||||
@@ -64,8 +62,9 @@ export function BlockPreview({ type }: BlockPreviewProps) {
|
||||
panOnDrag={false}
|
||||
panOnScroll={false}
|
||||
preventScrolling={false}
|
||||
className='h-full w-full'
|
||||
className='h-full w-full [--xy-background-color:var(--bg)]'
|
||||
/>
|
||||
<FitViewAfterInit options={FIT_VIEW_OPTIONS} />
|
||||
</ReactFlowProvider>
|
||||
</LazyMotion>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
'use client'
|
||||
|
||||
import { useEffect } from 'react'
|
||||
import { type FitViewOptions, useNodesInitialized, useReactFlow } from '@xyflow/react'
|
||||
|
||||
interface FitViewAfterInitProps {
|
||||
options: FitViewOptions
|
||||
}
|
||||
|
||||
/** Fits a v12 canvas only after every node has real measured dimensions. */
|
||||
export function FitViewAfterInit({ options }: FitViewAfterInitProps) {
|
||||
const nodesInitialized = useNodesInitialized()
|
||||
const { fitView } = useReactFlow()
|
||||
|
||||
useEffect(() => {
|
||||
if (nodesInitialized) void fitView(options)
|
||||
}, [fitView, nodesInitialized, options])
|
||||
|
||||
return null
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
'use client'
|
||||
|
||||
import type { ColorMode } from '@xyflow/react'
|
||||
import { useTheme } from 'next-themes'
|
||||
|
||||
/**
|
||||
* Resolves the React Flow `colorMode` from the docs theme so the canvas
|
||||
* wrapper's color-mode class (and the `--xy-*` palette it selects) follows
|
||||
* dark mode instead of React Flow's default `light`.
|
||||
*/
|
||||
export function usePreviewColorMode(): ColorMode {
|
||||
const { resolvedTheme } = useTheme()
|
||||
// Before next-themes mounts, resolvedTheme is undefined; 'system' lets React
|
||||
// Flow follow the OS preference instead of flashing a light-classed frame.
|
||||
if (resolvedTheme === undefined) return 'system'
|
||||
return resolvedTheme === 'dark' ? 'dark' : 'light'
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { Expand, X } from '@sim/emcn/icons'
|
||||
import { CANVAS_Z_INDEX_MODE } from '@sim/workflow-renderer'
|
||||
import { CANVAS_Z_INDEX_MODE, useCanvasColorMode } from '@sim/workflow-renderer'
|
||||
import {
|
||||
applyEdgeChanges,
|
||||
applyNodeChanges,
|
||||
@@ -21,7 +21,7 @@ import { BLOCK_DISPLAY_WORKFLOWS } from '@/components/workflow-preview/block-dis
|
||||
import { BlockInspector } from '@/components/workflow-preview/block-inspector'
|
||||
import { DocsBlockNode } from '@/components/workflow-preview/docs-block-node'
|
||||
import { DocsContainerNode } from '@/components/workflow-preview/docs-container-node'
|
||||
import { usePreviewColorMode } from '@/components/workflow-preview/use-preview-color-mode'
|
||||
import { FitViewAfterInit } from '@/components/workflow-preview/fit-view-after-init'
|
||||
import {
|
||||
EASE_OUT,
|
||||
type PreviewBlock,
|
||||
@@ -179,7 +179,8 @@ function PreviewFlow({
|
||||
[workflow, animate, highlightBlock, highlightEdge, selectedBlock]
|
||||
)
|
||||
|
||||
const colorMode = usePreviewColorMode()
|
||||
const colorMode = useCanvasColorMode()
|
||||
|
||||
const [nodes, setNodes] = useState<PreviewNode[]>(initialNodes)
|
||||
const [edges, setEdges] = useState<PreviewFlowEdge[]>(initialEdges)
|
||||
|
||||
@@ -208,34 +209,35 @@ function PreviewFlow({
|
||||
)
|
||||
|
||||
return (
|
||||
<ReactFlow<PreviewNode, PreviewFlowEdge>
|
||||
colorMode={colorMode}
|
||||
zIndexMode={CANVAS_Z_INDEX_MODE}
|
||||
nodes={nodes}
|
||||
edges={edges}
|
||||
onNodesChange={onNodesChange}
|
||||
onEdgesChange={onEdgesChange}
|
||||
onNodeClick={onNodeClick ? (_, node) => onNodeClick(node.id) : undefined}
|
||||
onPaneClick={onPaneClick}
|
||||
nodeTypes={NODE_TYPES}
|
||||
edgeTypes={EDGE_TYPES}
|
||||
defaultEdgeOptions={{ type: 'previewEdge' }}
|
||||
elementsSelectable={false}
|
||||
nodesDraggable
|
||||
nodesConnectable={false}
|
||||
zoomOnScroll={interactive}
|
||||
zoomOnDoubleClick={interactive}
|
||||
panOnScroll={false}
|
||||
zoomOnPinch
|
||||
panOnDrag
|
||||
preventScrolling={interactive}
|
||||
autoPanOnNodeDrag={false}
|
||||
proOptions={PRO_OPTIONS}
|
||||
minZoom={0.1}
|
||||
fitView
|
||||
fitViewOptions={interactive ? LIGHTBOX_FIT_VIEW_OPTIONS : FIT_VIEW_OPTIONS}
|
||||
className='h-full w-full'
|
||||
/>
|
||||
<>
|
||||
<ReactFlow<PreviewNode, PreviewFlowEdge>
|
||||
colorMode={colorMode}
|
||||
zIndexMode={CANVAS_Z_INDEX_MODE}
|
||||
nodes={nodes}
|
||||
edges={edges}
|
||||
onNodesChange={onNodesChange}
|
||||
onEdgesChange={onEdgesChange}
|
||||
onNodeClick={onNodeClick ? (_, node) => onNodeClick(node.id) : undefined}
|
||||
onPaneClick={onPaneClick}
|
||||
nodeTypes={NODE_TYPES}
|
||||
edgeTypes={EDGE_TYPES}
|
||||
defaultEdgeOptions={{ type: 'previewEdge' }}
|
||||
elementsSelectable={false}
|
||||
nodesDraggable
|
||||
nodesConnectable={false}
|
||||
zoomOnScroll={interactive}
|
||||
zoomOnDoubleClick={interactive}
|
||||
panOnScroll={false}
|
||||
zoomOnPinch
|
||||
panOnDrag
|
||||
preventScrolling={interactive}
|
||||
autoPanOnNodeDrag={false}
|
||||
proOptions={PRO_OPTIONS}
|
||||
minZoom={0.1}
|
||||
className='h-full w-full [--xy-background-color:var(--bg)]'
|
||||
/>
|
||||
<FitViewAfterInit options={interactive ? LIGHTBOX_FIT_VIEW_OPTIONS : FIT_VIEW_OPTIONS} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -5,21 +5,20 @@ import { chipBorderShadowRing, cn } from '@sim/emcn'
|
||||
import dynamic from 'next/dynamic'
|
||||
import { preconnect } from 'react-dom'
|
||||
import { DemoForm, type DemoLead } from '@/app/(landing)/demo/components/demo-form'
|
||||
import { CAL_ORIGIN } from '@/app/(landing)/demo/components/demo-scheduler/cal-config'
|
||||
import { applyLegacyInertFallback } from '@/app/(landing)/demo/components/legacy-inert-fallback'
|
||||
|
||||
const importScheduler = () => import('@/app/(landing)/demo/components/demo-scheduler')
|
||||
|
||||
/**
|
||||
* Warm the entire booking path while the visitor fills the form: preconnect to
|
||||
* the configured Cal origin, then load the scheduler chunk and the
|
||||
* app.cal.com, then load the scheduler chunk, Cal.com's embed.js, and the
|
||||
* booker iframe assets (via the embed's `preload` instruction). Fired on first
|
||||
* form focus so nothing Cal.com-related competes with initial page load — the
|
||||
* connection handshake overlaps the chunk import, and it all finishes long
|
||||
* before the visitor submits.
|
||||
*/
|
||||
function preloadScheduler() {
|
||||
preconnect(CAL_ORIGIN)
|
||||
preconnect('https://app.cal.com')
|
||||
return importScheduler().then((m) => m.preloadCalEmbed())
|
||||
}
|
||||
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
const DEFAULT_CAL_ORIGIN = 'https://app.cal.com'
|
||||
const DEFAULT_CAL_LINK = 'team/sim/demo'
|
||||
|
||||
/** Resolves a hosted or self-hosted Cal event link and rejects non-HTTP embed targets. */
|
||||
export function resolveCalLink(configuredLink?: string): URL {
|
||||
const link = configuredLink?.trim() || DEFAULT_CAL_LINK
|
||||
let url: URL
|
||||
|
||||
try {
|
||||
url = new URL(link)
|
||||
} catch {
|
||||
url = new URL(link.replace(/^\/+/, ''), `${DEFAULT_CAL_ORIGIN}/`)
|
||||
}
|
||||
|
||||
if (!['http:', 'https:'].includes(url.protocol) || url.username || url.password) {
|
||||
throw new Error('NEXT_PUBLIC_CAL_LINK must be an HTTP(S) URL or a Cal.com event path')
|
||||
}
|
||||
|
||||
url.hash = ''
|
||||
return url
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolved at module scope on an eagerly-imported path, so a malformed
|
||||
* NEXT_PUBLIC_CAL_LINK degrades to the default link instead of taking the
|
||||
* whole /demo page down.
|
||||
*/
|
||||
const calLinkUrl = (() => {
|
||||
try {
|
||||
return resolveCalLink(process.env.NEXT_PUBLIC_CAL_LINK)
|
||||
} catch {
|
||||
return resolveCalLink(undefined)
|
||||
}
|
||||
})()
|
||||
|
||||
/** Exact origin used for iframe navigation, preconnect, and postMessage validation. */
|
||||
export const CAL_ORIGIN = calLinkUrl.origin
|
||||
|
||||
/** Returns a fresh URL so callers can safely add embed-specific paths and parameters. */
|
||||
export function createConfiguredCalUrl(): URL {
|
||||
return new URL(calLinkUrl)
|
||||
}
|
||||
@@ -5,22 +5,30 @@ import { act } from 'react'
|
||||
import { createRoot, type Root } from 'react-dom/client'
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const { mockConsent, mockTrackGoogleEvent } = vi.hoisted(() => ({
|
||||
mockConsent: { marketing: true, measurement: true },
|
||||
mockTrackGoogleEvent: vi.fn(),
|
||||
}))
|
||||
const { mockCal, mockCalComponent, mockConsent, mockGetCalApi, mockTrackGoogleEvent } = vi.hoisted(
|
||||
() => ({
|
||||
mockCal: vi.fn(),
|
||||
mockCalComponent: vi.fn(() => null),
|
||||
mockConsent: { marketing: true, measurement: true },
|
||||
mockGetCalApi: vi.fn(),
|
||||
mockTrackGoogleEvent: vi.fn(),
|
||||
})
|
||||
)
|
||||
|
||||
vi.mock('@calcom/embed-react', () => ({
|
||||
default: mockCalComponent,
|
||||
getCalApi: mockGetCalApi,
|
||||
}))
|
||||
vi.mock('@/lib/analytics/google', () => ({ trackGoogleEvent: mockTrackGoogleEvent }))
|
||||
vi.mock('@/lib/consent/scripts', () => ({ X_DEMO_BOOKED_EVENT_ID: 'demo-booked' }))
|
||||
vi.mock('@/lib/consent/tracking-consent', () => ({
|
||||
useTrackingConsent: () => mockConsent,
|
||||
}))
|
||||
|
||||
import { resolveCalLink } from '@/app/(landing)/demo/components/demo-scheduler/cal-config'
|
||||
import {
|
||||
createCalEmbedUrl,
|
||||
DemoScheduler,
|
||||
preloadCalEmbed,
|
||||
resolveCalEmbedConfig,
|
||||
} from '@/app/(landing)/demo/components/demo-scheduler/demo-scheduler'
|
||||
|
||||
const LEAD = {
|
||||
@@ -38,136 +46,129 @@ describe('DemoScheduler', () => {
|
||||
vi.clearAllMocks()
|
||||
mockConsent.marketing = true
|
||||
mockConsent.measurement = true
|
||||
mockGetCalApi.mockResolvedValue(mockCal)
|
||||
container = document.createElement('div')
|
||||
document.body.append(container)
|
||||
root = createRoot(container)
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
act(() => root.unmount())
|
||||
container.remove()
|
||||
document.querySelectorAll('iframe[hidden]').forEach((frame) => {
|
||||
frame.remove()
|
||||
afterEach(async () => {
|
||||
await act(async () => {
|
||||
root.unmount()
|
||||
await Promise.resolve()
|
||||
})
|
||||
container.remove()
|
||||
window.twq = undefined
|
||||
})
|
||||
|
||||
function renderScheduler(): HTMLIFrameElement {
|
||||
act(() => root.render(<DemoScheduler lead={LEAD} />))
|
||||
const frame = container.querySelector<HTMLIFrameElement>('iframe[title="Book a demo"]')
|
||||
if (!frame) throw new Error('Expected the Cal booking iframe to render')
|
||||
return frame
|
||||
}
|
||||
it('passes the main-branch presentation and lead config to the official embed', async () => {
|
||||
await act(async () => {
|
||||
root.render(<DemoScheduler lead={LEAD} />)
|
||||
await Promise.resolve()
|
||||
})
|
||||
|
||||
it('builds the hosted embed URL with the lead and presentation prefilled', () => {
|
||||
const url = new URL(createCalEmbedUrl(LEAD))
|
||||
|
||||
expect(url.origin).toBe('https://app.cal.com')
|
||||
expect(url.pathname).toBe('/team/sim/demo/embed')
|
||||
expect(Object.fromEntries(url.searchParams)).toEqual({
|
||||
embed: 'demo',
|
||||
name: LEAD.name,
|
||||
email: LEAD.email,
|
||||
notes: LEAD.notes,
|
||||
theme: 'light',
|
||||
'ui.color-scheme': 'light',
|
||||
layout: 'month_view',
|
||||
useSlotsViewOnSmallScreen: 'true',
|
||||
expect(mockCalComponent).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
namespace: 'demo',
|
||||
calLink: 'team/sim/demo',
|
||||
calOrigin: 'https://app.cal.com',
|
||||
embedJsUrl: 'https://app.cal.com/embed/embed.js',
|
||||
className: 'size-full overflow-auto',
|
||||
config: {
|
||||
name: LEAD.name,
|
||||
email: LEAD.email,
|
||||
notes: LEAD.notes,
|
||||
theme: 'light',
|
||||
'ui.color-scheme': 'light',
|
||||
layout: 'month_view',
|
||||
useSlotsViewOnSmallScreen: 'true',
|
||||
},
|
||||
}),
|
||||
undefined
|
||||
)
|
||||
expect(mockCal).toHaveBeenCalledWith('ui', {
|
||||
hideEventTypeDetails: true,
|
||||
styles: { branding: { brandColor: '#6f3dfa' } },
|
||||
})
|
||||
})
|
||||
|
||||
it('derives the trusted origin from a self-hosted event URL', () => {
|
||||
const url = resolveCalLink('https://calendar.example.com/team/sim/demo')
|
||||
|
||||
expect(url.origin).toBe('https://calendar.example.com')
|
||||
expect(url.pathname).toBe('/team/sim/demo')
|
||||
})
|
||||
|
||||
it('rejects unsafe Cal embed protocols and credential-bearing URLs', () => {
|
||||
expect(() => resolveCalLink('javascript:alert(1)')).toThrow(
|
||||
'NEXT_PUBLIC_CAL_LINK must be an HTTP(S) URL or a Cal.com event path'
|
||||
)
|
||||
expect(() => resolveCalLink('https://user:secret@calendar.example.com/demo')).toThrow(
|
||||
'NEXT_PUBLIC_CAL_LINK must be an HTTP(S) URL or a Cal.com event path'
|
||||
)
|
||||
})
|
||||
|
||||
it('warms the hosted booker only once while the preload frame remains mounted', () => {
|
||||
preloadCalEmbed()
|
||||
preloadCalEmbed()
|
||||
|
||||
const frames = document.querySelectorAll<HTMLIFrameElement>('iframe[hidden]')
|
||||
expect(frames).toHaveLength(1)
|
||||
expect(frames[0].src).toBe('https://app.cal.com/team/sim/demo?preload=true')
|
||||
})
|
||||
|
||||
it('tracks a booking only when the message comes from the rendered Cal iframe', () => {
|
||||
it('registers consent-aware booking analytics and removes the listener on unmount', async () => {
|
||||
const trackXEvent = vi.fn()
|
||||
window.twq = trackXEvent
|
||||
const frame = renderScheduler()
|
||||
const frameWindow = frame.contentWindow
|
||||
expect(frameWindow).not.toBeNull()
|
||||
|
||||
act(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent('message', {
|
||||
origin: 'https://malicious.example',
|
||||
source: frameWindow,
|
||||
data: { fullType: 'CAL:demo:bookingSuccessfulV2' },
|
||||
})
|
||||
)
|
||||
window.dispatchEvent(
|
||||
new MessageEvent('message', {
|
||||
origin: 'https://app.cal.com',
|
||||
source: frameWindow,
|
||||
data: { fullType: 'CAL:demo:bookingSuccessfulV2' },
|
||||
})
|
||||
)
|
||||
await act(async () => {
|
||||
root.render(<DemoScheduler lead={LEAD} />)
|
||||
await Promise.resolve()
|
||||
})
|
||||
|
||||
expect(mockTrackGoogleEvent).toHaveBeenCalledOnce()
|
||||
const registration = mockCal.mock.calls.find(([method]) => method === 'on')?.[1] as
|
||||
| { action: string; callback: () => void }
|
||||
| undefined
|
||||
expect(registration?.action).toBe('bookingSuccessfulV2')
|
||||
|
||||
registration?.callback()
|
||||
expect(mockTrackGoogleEvent).toHaveBeenCalledWith('get_a_demo', {
|
||||
page_path: '/demo',
|
||||
form_name: 'sim_demo',
|
||||
booking_status: 'scheduled',
|
||||
})
|
||||
expect(trackXEvent).toHaveBeenCalledOnce()
|
||||
expect(trackXEvent).toHaveBeenCalledWith('event', 'demo-booked', {})
|
||||
|
||||
await act(async () => {
|
||||
root.unmount()
|
||||
await Promise.resolve()
|
||||
})
|
||||
expect(mockCal).toHaveBeenCalledWith('off', {
|
||||
action: 'bookingSuccessfulV2',
|
||||
callback: registration?.callback,
|
||||
})
|
||||
root = createRoot(container)
|
||||
})
|
||||
|
||||
it("completes Cal's ready handshake and reapplies the branded UI settings", () => {
|
||||
const frame = renderScheduler()
|
||||
const frameWindow = frame.contentWindow
|
||||
expect(frameWindow).not.toBeNull()
|
||||
if (!frameWindow) return
|
||||
const postMessage = vi.spyOn(frameWindow, 'postMessage')
|
||||
it('does not register booking analytics without measurement or marketing consent', async () => {
|
||||
mockConsent.marketing = false
|
||||
mockConsent.measurement = false
|
||||
|
||||
act(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent('message', {
|
||||
origin: 'https://app.cal.com',
|
||||
source: frameWindow,
|
||||
data: { fullType: 'CAL:demo:__iframeReady' },
|
||||
})
|
||||
)
|
||||
await act(async () => {
|
||||
root.render(<DemoScheduler lead={LEAD} />)
|
||||
await Promise.resolve()
|
||||
})
|
||||
|
||||
expect(postMessage).toHaveBeenNthCalledWith(
|
||||
1,
|
||||
{ originator: 'CAL', method: 'parentKnowsIframeReady' },
|
||||
'https://app.cal.com'
|
||||
)
|
||||
expect(postMessage).toHaveBeenNthCalledWith(
|
||||
2,
|
||||
expect(mockCal).toHaveBeenCalledWith('ui', {
|
||||
hideEventTypeDetails: true,
|
||||
styles: { branding: { brandColor: '#6f3dfa' } },
|
||||
})
|
||||
expect(mockCal.mock.calls.some(([method]) => method === 'on')).toBe(false)
|
||||
})
|
||||
|
||||
it('preloads the configured booker only once', async () => {
|
||||
await act(async () => {
|
||||
preloadCalEmbed()
|
||||
preloadCalEmbed()
|
||||
await Promise.resolve()
|
||||
})
|
||||
|
||||
expect(mockGetCalApi).toHaveBeenCalledOnce()
|
||||
expect(mockGetCalApi).toHaveBeenCalledWith({
|
||||
namespace: 'demo',
|
||||
embedJsUrl: 'https://app.cal.com/embed/embed.js',
|
||||
})
|
||||
expect(mockCal).toHaveBeenCalledOnce()
|
||||
expect(mockCal).toHaveBeenCalledWith('preload', { calLink: 'team/sim/demo' })
|
||||
})
|
||||
|
||||
it('falls back from malformed Cal configuration and preserves valid custom origins', () => {
|
||||
expect(resolveCalEmbedConfig('javascript:alert(1)')).toEqual({
|
||||
calLink: 'team/sim/demo',
|
||||
calOrigin: 'https://app.cal.com',
|
||||
embedJsUrl: 'https://app.cal.com/embed/embed.js',
|
||||
})
|
||||
expect(resolveCalEmbedConfig('https://book.example.com/team/demo?theme=light#ignored')).toEqual(
|
||||
{
|
||||
originator: 'CAL',
|
||||
method: 'ui',
|
||||
arg: {
|
||||
hideEventTypeDetails: true,
|
||||
styles: { branding: { brandColor: '#6f3dfa' } },
|
||||
},
|
||||
},
|
||||
'https://app.cal.com'
|
||||
calLink: 'team/demo?theme=light',
|
||||
calOrigin: 'https://book.example.com',
|
||||
embedJsUrl: 'https://book.example.com/embed/embed.js',
|
||||
}
|
||||
)
|
||||
})
|
||||
})
|
||||
@@ -1,126 +1,100 @@
|
||||
'use client'
|
||||
|
||||
import { useEffect, useRef } from 'react'
|
||||
import { useEffect } from 'react'
|
||||
import Cal, { getCalApi } from '@calcom/embed-react'
|
||||
import { trackGoogleEvent } from '@/lib/analytics/google'
|
||||
import { X_DEMO_BOOKED_EVENT_ID } from '@/lib/consent/scripts'
|
||||
import { useTrackingConsent } from '@/lib/consent/tracking-consent'
|
||||
import type { DemoLead } from '@/app/(landing)/demo/components/demo-form'
|
||||
import {
|
||||
CAL_ORIGIN,
|
||||
createConfiguredCalUrl,
|
||||
} from '@/app/(landing)/demo/components/demo-scheduler/cal-config'
|
||||
|
||||
const CAL_NAMESPACE = 'demo'
|
||||
const DEFAULT_CAL_ORIGIN = 'https://app.cal.com'
|
||||
const DEFAULT_CAL_LINK = 'team/sim/demo'
|
||||
|
||||
/** Sim's brand color, matching the `--brand-agent` token. */
|
||||
interface CalEmbedConfig {
|
||||
calLink: string
|
||||
calOrigin: string
|
||||
embedJsUrl: string
|
||||
}
|
||||
|
||||
function parseCalEmbedConfig(link: string): CalEmbedConfig {
|
||||
const url = new URL(link.replace(/^\/+/, ''), `${DEFAULT_CAL_ORIGIN}/`)
|
||||
if (!['http:', 'https:'].includes(url.protocol) || url.username || url.password) {
|
||||
throw new Error('Cal link must use HTTP(S) without embedded credentials')
|
||||
}
|
||||
|
||||
const calLink = `${url.pathname.replace(/^\/+/, '')}${url.search}`
|
||||
if (!calLink) throw new Error('Cal link must include an event path')
|
||||
|
||||
return {
|
||||
calLink,
|
||||
calOrigin: url.origin,
|
||||
embedJsUrl: `${url.origin}/embed/embed.js`,
|
||||
}
|
||||
}
|
||||
|
||||
/** Resolves the configured booker, falling back safely when the environment value is invalid. */
|
||||
export function resolveCalEmbedConfig(configuredLink?: string): CalEmbedConfig {
|
||||
try {
|
||||
return parseCalEmbedConfig(configuredLink?.trim() || DEFAULT_CAL_LINK)
|
||||
} catch {
|
||||
return parseCalEmbedConfig(DEFAULT_CAL_LINK)
|
||||
}
|
||||
}
|
||||
|
||||
const CAL_EMBED = resolveCalEmbedConfig(process.env.NEXT_PUBLIC_CAL_LINK)
|
||||
|
||||
/**
|
||||
* Sim's brand color, matching the `--brand-agent` token. The embed renders in a
|
||||
* cross-origin iframe, so it can't read our CSS vars - it needs the literal hex.
|
||||
*/
|
||||
const CAL_BRAND_COLOR = '#6f3dfa'
|
||||
|
||||
const CAL_IFRAME_READY_EVENT = `CAL:${CAL_NAMESPACE}:__iframeReady`
|
||||
const CAL_BOOKING_SUCCESS_EVENT = `CAL:${CAL_NAMESPACE}:bookingSuccessfulV2`
|
||||
|
||||
interface DemoSchedulerProps {
|
||||
/** The captured lead used to prefill the Cal.com booking. */
|
||||
lead: DemoLead
|
||||
}
|
||||
|
||||
interface CalMessage {
|
||||
fullType: string
|
||||
}
|
||||
|
||||
let calPreloadFrame: HTMLIFrameElement | null = null
|
||||
|
||||
function isCalMessage(data: unknown): data is CalMessage {
|
||||
if (!data || typeof data !== 'object') return false
|
||||
return typeof Reflect.get(data, 'fullType') === 'string'
|
||||
}
|
||||
let calEmbedPreloaded = false
|
||||
|
||||
/**
|
||||
* Creates the same hosted booker URL the former Cal React wrapper generated.
|
||||
* Query parameters keep the lead prefill and light, month-view presentation.
|
||||
*/
|
||||
export function createCalEmbedUrl(lead: DemoLead): string {
|
||||
const url = createConfiguredCalUrl()
|
||||
const normalizedPath = url.pathname.replace(/\/+$/, '')
|
||||
url.pathname = normalizedPath.endsWith('/embed') ? normalizedPath : `${normalizedPath}/embed`
|
||||
url.searchParams.set('embed', CAL_NAMESPACE)
|
||||
url.searchParams.set('name', lead.name)
|
||||
url.searchParams.set('email', lead.email)
|
||||
url.searchParams.set('notes', lead.notes)
|
||||
url.searchParams.set('theme', 'light')
|
||||
url.searchParams.set('ui.color-scheme', 'light')
|
||||
url.searchParams.set('layout', 'month_view')
|
||||
url.searchParams.set('useSlotsViewOnSmallScreen', 'true')
|
||||
return url.toString()
|
||||
}
|
||||
|
||||
function createCalPreloadUrl(): string {
|
||||
const url = createConfiguredCalUrl()
|
||||
url.searchParams.set('preload', 'true')
|
||||
return url.toString()
|
||||
}
|
||||
|
||||
/**
|
||||
* Warms Cal.com's booker in a hidden hosted iframe on first form focus. The
|
||||
* frame remains mounted so its browser cache and connection stay available to
|
||||
* the visible scheduler. Repeat calls are idempotent; a failed navigation can
|
||||
* be retried by a later focus.
|
||||
* Warm the Cal.com embed before the scheduler mounts. Loads `embed.js` and
|
||||
* issues the embed's `preload` instruction, which fetches the booker in a
|
||||
* hidden `?preload=true` iframe so its assets are already cached when the real
|
||||
* embed renders on submit. Without this, nothing Cal.com-related starts
|
||||
* downloading until the visitor presses Continue, which is why the calendar
|
||||
* used to take several seconds to appear. Idempotent — repeat calls no-op
|
||||
* while a warm-up is in flight or done, but a failed embed.js load resets the
|
||||
* flag so a later focus can retry.
|
||||
*/
|
||||
export function preloadCalEmbed(): void {
|
||||
if (typeof document === 'undefined' || !document.body || calPreloadFrame?.isConnected) return
|
||||
|
||||
const frame = document.createElement('iframe')
|
||||
calPreloadFrame = frame
|
||||
frame.src = createCalPreloadUrl()
|
||||
frame.hidden = true
|
||||
frame.tabIndex = -1
|
||||
frame.setAttribute('aria-hidden', 'true')
|
||||
frame.addEventListener(
|
||||
'error',
|
||||
() => {
|
||||
frame.remove()
|
||||
if (calPreloadFrame === frame) calPreloadFrame = null
|
||||
},
|
||||
{ once: true }
|
||||
)
|
||||
document.body.append(frame)
|
||||
if (calEmbedPreloaded) return
|
||||
calEmbedPreloaded = true
|
||||
getCalApi({ namespace: CAL_NAMESPACE, embedJsUrl: CAL_EMBED.embedJsUrl })
|
||||
.then((cal) => {
|
||||
cal('preload', { calLink: CAL_EMBED.calLink })
|
||||
})
|
||||
.catch(() => {
|
||||
calEmbedPreloaded = false
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Step 2 of the booking card - the hosted Cal.com scheduler, prefilled from the
|
||||
* form's {@link DemoLead}. It uses Cal's public iframe protocol directly, which
|
||||
* keeps the same booker while avoiding a client SDK in the landing bundle.
|
||||
* Step 2 of the booking card - the Cal.com scheduler, prefilled from the form's
|
||||
* {@link DemoLead}. Rendered inside the card chrome owned by {@link DemoBooking}
|
||||
* and lazy-loaded, so the embed script never touches the initial landing bundle.
|
||||
*
|
||||
* The ready handshake applies the prior light theme, hidden event details, and
|
||||
* brand color. Booking-success messages are accepted only from this iframe and
|
||||
* Cal's expected origin before consent-aware analytics fire.
|
||||
* The embed is pinned to the page's light theme and Sim's brand color, and the
|
||||
* captured name/email/notes prefill the booking so the visitor never retypes. It
|
||||
* fills the panel (`flex-1`), which the parent sizes to the form's height, so the
|
||||
* card stays the same height across the form→calendar transition.
|
||||
*/
|
||||
export function DemoScheduler({ lead }: DemoSchedulerProps) {
|
||||
const { marketing, measurement } = useTrackingConsent()
|
||||
const frameRef = useRef<HTMLIFrameElement>(null)
|
||||
|
||||
useEffect(() => {
|
||||
const handleMessage = (event: MessageEvent<unknown>) => {
|
||||
const frameWindow = frameRef.current?.contentWindow
|
||||
if (event.origin !== CAL_ORIGIN || !frameWindow || event.source !== frameWindow) return
|
||||
if (!isCalMessage(event.data)) return
|
||||
|
||||
if (event.data.fullType === CAL_IFRAME_READY_EVENT) {
|
||||
frameWindow.postMessage({ originator: 'CAL', method: 'parentKnowsIframeReady' }, CAL_ORIGIN)
|
||||
frameWindow.postMessage(
|
||||
{
|
||||
originator: 'CAL',
|
||||
method: 'ui',
|
||||
arg: {
|
||||
hideEventTypeDetails: true,
|
||||
styles: { branding: { brandColor: CAL_BRAND_COLOR } },
|
||||
},
|
||||
},
|
||||
CAL_ORIGIN
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
if (event.data.fullType !== CAL_BOOKING_SUCCESS_EVENT) return
|
||||
let cancelled = false
|
||||
const trackDemoBooked = () => {
|
||||
if (measurement) {
|
||||
trackGoogleEvent('get_a_demo', {
|
||||
page_path: '/demo',
|
||||
@@ -130,9 +104,26 @@ export function DemoScheduler({ lead }: DemoSchedulerProps) {
|
||||
}
|
||||
if (marketing) window.twq?.('event', X_DEMO_BOOKED_EVENT_ID, {})
|
||||
}
|
||||
|
||||
window.addEventListener('message', handleMessage)
|
||||
return () => window.removeEventListener('message', handleMessage)
|
||||
const api = getCalApi({ namespace: CAL_NAMESPACE, embedJsUrl: CAL_EMBED.embedJsUrl })
|
||||
api
|
||||
.then((cal) => {
|
||||
if (cancelled) return
|
||||
cal('ui', {
|
||||
hideEventTypeDetails: true,
|
||||
styles: { branding: { brandColor: CAL_BRAND_COLOR } },
|
||||
})
|
||||
if (measurement || marketing) {
|
||||
cal('on', { action: 'bookingSuccessfulV2', callback: trackDemoBooked })
|
||||
}
|
||||
})
|
||||
.catch(() => {})
|
||||
return () => {
|
||||
cancelled = true
|
||||
if (!measurement && !marketing) return
|
||||
api
|
||||
.then((cal) => cal('off', { action: 'bookingSuccessfulV2', callback: trackDemoBooked }))
|
||||
.catch(() => {})
|
||||
}
|
||||
}, [marketing, measurement])
|
||||
|
||||
return (
|
||||
@@ -144,12 +135,21 @@ export function DemoScheduler({ lead }: DemoSchedulerProps) {
|
||||
Choose a slot that works for your team and we'll send a calendar invite.
|
||||
</p>
|
||||
<div className='mt-5 min-h-0 flex-1'>
|
||||
<iframe
|
||||
ref={frameRef}
|
||||
className='size-full border-0'
|
||||
src={createCalEmbedUrl(lead)}
|
||||
name={`cal-embed=${CAL_NAMESPACE}`}
|
||||
title='Book a demo'
|
||||
<Cal
|
||||
namespace={CAL_NAMESPACE}
|
||||
calLink={CAL_EMBED.calLink}
|
||||
calOrigin={CAL_EMBED.calOrigin}
|
||||
embedJsUrl={CAL_EMBED.embedJsUrl}
|
||||
className='size-full overflow-auto'
|
||||
config={{
|
||||
name: lead.name,
|
||||
email: lead.email,
|
||||
notes: lead.notes,
|
||||
theme: 'light',
|
||||
'ui.color-scheme': 'light',
|
||||
layout: 'month_view',
|
||||
useSlotsViewOnSmallScreen: 'true',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
} from '@xyflow/react'
|
||||
import { useParams, useRouter } from 'next/navigation'
|
||||
import '@xyflow/react/dist/style.css'
|
||||
import { toast } from '@sim/emcn'
|
||||
import { cn, toast } from '@sim/emcn'
|
||||
import { createLogger } from '@sim/logger'
|
||||
import { generateId } from '@sim/utils/id'
|
||||
import { omit } from '@sim/utils/object'
|
||||
@@ -33,6 +33,7 @@ import {
|
||||
getEdgeZIndexForTarget,
|
||||
getNoteBlockHeight,
|
||||
normalizeCursorSourceHandleId,
|
||||
useCanvasColorMode,
|
||||
} from '@sim/workflow-renderer'
|
||||
import {
|
||||
normalizeWorkflowEdgeSourceHandle,
|
||||
@@ -138,7 +139,6 @@ import {
|
||||
isFolderOrAncestorLocked,
|
||||
} from '@/hooks/queries/utils/folder-tree'
|
||||
import { useUpdateWorkflow, useWorkflowMap } from '@/hooks/queries/workflows'
|
||||
import { useCanvasColorMode } from '@/hooks/use-canvas-color-mode'
|
||||
import { useCanvasViewport } from '@/hooks/use-canvas-viewport'
|
||||
import { useCollaborativeWorkflow } from '@/hooks/use-collaborative-workflow'
|
||||
import { useOAuthReturnForWorkflow } from '@/hooks/use-oauth-return'
|
||||
@@ -5207,7 +5207,12 @@ const WorkflowContent = React.memo(
|
||||
draggable={false}
|
||||
noWheelClassName='allow-scroll'
|
||||
edgesFocusable={!embedded}
|
||||
className={`workflow-container h-full bg-[var(--bg)] transition-opacity duration-150 ${reactFlowStyles} ${canvasOpacityClass} ${isHandMode ? 'canvas-mode-hand' : 'canvas-mode-cursor'}`}
|
||||
className={cn(
|
||||
'workflow-container h-full bg-[var(--bg)] transition-opacity duration-150 [--xy-background-color:var(--bg)]',
|
||||
reactFlowStyles,
|
||||
canvasOpacityClass,
|
||||
isHandMode ? 'canvas-mode-hand' : 'canvas-mode-cursor'
|
||||
)}
|
||||
onNodeDrag={effectivePermissions.canEdit ? onNodeDrag : undefined}
|
||||
onNodeDragStop={
|
||||
!embedded && effectivePermissions.canEdit ? onNodeDragStop : undefined
|
||||
|
||||
+2
-1
@@ -25,6 +25,7 @@ import {
|
||||
EDGE_Z_BASE,
|
||||
EDGE_Z_MAX,
|
||||
getEdgeZIndexForTarget,
|
||||
useCanvasColorMode,
|
||||
} from '@sim/workflow-renderer'
|
||||
import { normalizeWorkflowEdgeHandles } from '@sim/workflow-types/workflow'
|
||||
import { WorkflowEdge } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-edge/workflow-edge'
|
||||
@@ -35,7 +36,6 @@ import {
|
||||
import { PreviewBlock } from '@/app/workspace/[workspaceId]/w/components/preview/components/preview-workflow/components/block'
|
||||
import { PreviewSubflow } from '@/app/workspace/[workspaceId]/w/components/preview/components/preview-workflow/components/subflow'
|
||||
import { useWorkflowMap } from '@/hooks/queries/workflows'
|
||||
import { useCanvasColorMode } from '@/hooks/use-canvas-color-mode'
|
||||
import type { BlockState, WorkflowState } from '@/stores/workflows/workflow/types'
|
||||
|
||||
const logger = createLogger('PreviewWorkflow')
|
||||
@@ -704,6 +704,7 @@ export function PreviewWorkflow({
|
||||
: undefined
|
||||
}
|
||||
onPaneClick={onPaneClick}
|
||||
className='[--xy-background-color:var(--bg)]'
|
||||
/>
|
||||
<FitViewOnChange
|
||||
nodeIds={blocksStructure.ids}
|
||||
|
||||
@@ -13,7 +13,15 @@ const originalOpenRouterModels = useProvidersStore.getState().providers.openrout
|
||||
describe('Pi model options', () => {
|
||||
beforeAll(() => {
|
||||
const store = useProvidersStore.getState()
|
||||
store.setProviderModels('base', ['claude-sonnet-4-6', 'claude-sonnet-4-0', 'gpt-5.4'])
|
||||
store.setProviderModels('base', [
|
||||
'claude-sonnet-4-6',
|
||||
'claude-opus-4-1',
|
||||
'claude-sonnet-4-0',
|
||||
'gpt-5.4',
|
||||
'cerebras/zai-glm-4.7',
|
||||
'glm-5.1',
|
||||
'glm-4.5-air',
|
||||
])
|
||||
store.setProviderModels('openrouter', [
|
||||
'openrouter/openai/gpt-5',
|
||||
'openrouter/openrouter/fusion',
|
||||
@@ -43,6 +51,15 @@ describe('Pi model options', () => {
|
||||
expect(modelIds).not.toContain('claude-sonnet-4-0')
|
||||
})
|
||||
|
||||
it('keeps persisted and selectable models available', () => {
|
||||
const modelIds = getPiModelOptions().map(({ id }) => id)
|
||||
|
||||
expect(modelIds).toContain('claude-opus-4-1')
|
||||
expect(modelIds).toContain('cerebras/zai-glm-4.7')
|
||||
expect(modelIds).toContain('glm-5.1')
|
||||
expect(modelIds).toContain('glm-4.5-air')
|
||||
})
|
||||
|
||||
it("does not apply OpenRouter capability filters beyond Pi's catalog", () => {
|
||||
const modelIds = getPiModelOptions().map(({ id }) => id)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type ComponentType, type CSSProperties, createElement, type ReactNode } from 'react'
|
||||
import { Body, Head, Html, Link, Markdown, Section, Text } from 'react-email'
|
||||
import { Body, Head, Html, Link, Markdown, Section, Text } from '@react-email/components'
|
||||
import { colors, fontWeight, typography } from '@/components/emails/_styles'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Body, Head, Html, Preview, Text } from 'react-email'
|
||||
import { Body, Head, Html, Preview, Text } from '@react-email/components'
|
||||
import { plainEmailStyles as styles } from '@/components/emails/_styles'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailLayout } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Text } from 'react-email'
|
||||
import { Link, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Body, Head, Html, Preview, Text } from 'react-email'
|
||||
import { Body, Head, Html, Preview, Text } from '@react-email/components'
|
||||
import { plainEmailStyles as styles } from '@/components/emails/_styles'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { dollarsToCredits } from '@/lib/billing/credits/conversion'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { ProFeaturesBox } from '@/components/emails/billing/pro-features-box'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Section, Text } from 'react-email'
|
||||
import { Link, Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { ProFeaturesBox } from '@/components/emails/billing/pro-features-box'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { UPGRADE_REASON_COPY, type UpgradeReason } from '@/lib/billing/upgrade-reasons'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Section, Text } from 'react-email'
|
||||
import { Link, Section, Text } from '@react-email/components'
|
||||
import { baseStyles, colors, fontWeight } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { getEmailSubject } from '@/components/emails/subjects'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Text } from 'react-email'
|
||||
import { Link, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles, colors, fontWeight } from '@/components/emails/_styles'
|
||||
import { proFeatures } from '@/components/emails/billing/constants'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { dollarsToCredits } from '@/lib/billing/credits/conversion'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import { dollarsToCredits } from '@/lib/billing/credits/conversion'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Text } from 'react-email'
|
||||
import { Link, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
|
||||
/** `Link` renders an underline by default; the pill owns its own chrome. */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Container, Img, Link, Section } from 'react-email'
|
||||
import { Container, Img, Link, Section } from '@react-email/components'
|
||||
import { baseStyles, colors, spacing } from '@/components/emails/_styles'
|
||||
import { isHosted } from '@/lib/core/config/env-flags'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Body, Container, Font, Head, Html, Img, Preview, Section } from 'react-email'
|
||||
import { Body, Container, Font, Head, Html, Img, Preview, Section } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailFooter } from '@/components/emails/components/email-footer'
|
||||
import { EMAIL_WORDMARK_SIZE } from '@/lib/branding/wordmark'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Text } from 'react-email'
|
||||
import { Link, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailLayout } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { render } from 'react-email'
|
||||
import { render } from '@react-email/render'
|
||||
import { CredentialGroupInvitationEmail } from '@/components/emails/credential-groups/credential-group-invitation-email'
|
||||
|
||||
export async function renderCredentialGroupInvitationEmail(params: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Fragment } from 'react'
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Text } from '@react-email/components'
|
||||
import { createLogger } from '@sim/logger'
|
||||
import { Text } from 'react-email'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBaseUrl } from '@/lib/core/utils/urls'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text } from 'react-email'
|
||||
import { Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Section, Text } from 'react-email'
|
||||
import { Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout } from '@/components/emails/components'
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Section, Text } from 'react-email'
|
||||
import { Link, Section, Text } from '@react-email/components'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailButton, EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
import { getBrandConfig } from '@/ee/whitelabeling'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { render } from 'react-email'
|
||||
import { render } from '@react-email/render'
|
||||
import { InboxErrorEmail, InboxResponseEmail } from '@/components/emails/agent/inbox-response-email'
|
||||
import {
|
||||
ExistingAccountEmail,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Text } from '@react-email/components'
|
||||
import { format } from 'date-fns'
|
||||
import { Text } from 'react-email'
|
||||
import { baseStyles } from '@/components/emails/_styles'
|
||||
import { EmailLayout, EmailStrong } from '@/components/emails/components'
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@ describe('createSealedPiResourceLoader', () => {
|
||||
})
|
||||
expect(loader.getAgentsFiles()).toEqual({ agentsFiles: [] })
|
||||
expect(loader.getSystemPrompt()).toBe('sealed system prompt')
|
||||
expect(loader.getSystemPromptSource()).toBeUndefined()
|
||||
expect(loader.getAppendSystemPrompt()).toEqual([])
|
||||
expect(loader.getAppendSystemPromptSources()).toEqual([])
|
||||
await expect(loader.reload()).resolves.toBeUndefined()
|
||||
})
|
||||
})
|
||||
@@ -90,9 +90,7 @@ export function createSealedPiResourceLoader(sdk: PiSdk, systemPrompt: string):
|
||||
getThemes: () => ({ themes: [], diagnostics: [] }),
|
||||
getAgentsFiles: () => ({ agentsFiles: [] }),
|
||||
getSystemPrompt: () => systemPrompt,
|
||||
getSystemPromptSource: () => undefined,
|
||||
getAppendSystemPrompt: () => [],
|
||||
getAppendSystemPromptSources: () => [],
|
||||
extendResources: () => {},
|
||||
reload: async () => {},
|
||||
}
|
||||
|
||||
@@ -267,6 +267,19 @@ describe('PiBlockHandler', () => {
|
||||
expect(mockResolveKey).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('passes a persisted catalog model to the backend', async () => {
|
||||
mockGetProviderFromModel.mockReturnValue('cerebras')
|
||||
mockResolvePiModelId.mockReturnValue('zai-glm-4.7')
|
||||
|
||||
await handler.execute(ctx(), block, localInputs({ model: 'cerebras/zai-glm-4.7' }))
|
||||
|
||||
expect(mockRunLocal.mock.calls[0][0]).toMatchObject({
|
||||
model: 'cerebras/zai-glm-4.7',
|
||||
piModel: 'zai-glm-4.7',
|
||||
providerId: 'cerebras',
|
||||
})
|
||||
})
|
||||
|
||||
it('routes Local Dev to the local backend with SSH params', async () => {
|
||||
const output = await handler.execute(ctx(), block, localInputs())
|
||||
expect(mockRunLocal).toHaveBeenCalledTimes(1)
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
import type { ColorMode } from '@xyflow/react'
|
||||
import { useTheme } from 'next-themes'
|
||||
|
||||
/**
|
||||
* Resolves the React Flow `colorMode` from the application theme.
|
||||
*
|
||||
* React Flow v12 stamps its color-mode class (`light` by default) onto the
|
||||
* `.react-flow` wrapper. The app's Tailwind `dark` variant is defined as
|
||||
* `&:where(.dark, .dark *):not(:where(.light, .light *))`, so an unmanaged
|
||||
* `light` class on the wrapper cancels every `dark:` utility inside the
|
||||
* canvas. Deriving the mode from the resolved app theme keeps the wrapper
|
||||
* class in agreement with the `.dark`/`.light` layer on `<html>`.
|
||||
*/
|
||||
export function useCanvasColorMode(): ColorMode {
|
||||
const { resolvedTheme } = useTheme()
|
||||
// Before next-themes mounts, resolvedTheme is undefined; 'system' lets React
|
||||
// Flow follow the OS preference instead of flashing a light-classed frame.
|
||||
if (resolvedTheme === undefined) return 'system'
|
||||
return resolvedTheme === 'dark' ? 'dark' : 'light'
|
||||
}
|
||||
@@ -6,7 +6,14 @@ import path from 'node:path'
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const { calls, probe } = vi.hoisted(() => ({
|
||||
calls: [] as Array<{ executable: string; args: string[]; maxBuffer?: number; timeout?: number }>,
|
||||
calls: [] as Array<{
|
||||
executable: string
|
||||
args: string[]
|
||||
maxBuffer?: number
|
||||
outputSize?: number
|
||||
signal?: AbortSignal
|
||||
timeout?: number
|
||||
}>,
|
||||
probe: {
|
||||
fail: false,
|
||||
json: JSON.stringify({
|
||||
@@ -20,6 +27,7 @@ const { calls, probe } = vi.hoisted(() => ({
|
||||
],
|
||||
format: { bit_rate: '192000', duration: '7.5', format_name: 'mov,mp4,m4a' },
|
||||
}),
|
||||
outputSize: undefined as number | undefined,
|
||||
},
|
||||
}))
|
||||
|
||||
@@ -29,10 +37,16 @@ vi.mock('node:child_process', () => ({
|
||||
execFile: (
|
||||
executable: string,
|
||||
args: string[],
|
||||
options: { maxBuffer?: number; timeout?: number },
|
||||
options: { maxBuffer?: number; signal?: AbortSignal; timeout?: number },
|
||||
callback: (error: Error | null, stdout: string, stderr: string) => void
|
||||
) => {
|
||||
calls.push({ executable, args, maxBuffer: options.maxBuffer, timeout: options.timeout })
|
||||
calls.push({
|
||||
executable,
|
||||
args,
|
||||
maxBuffer: options.maxBuffer,
|
||||
signal: options.signal,
|
||||
timeout: options.timeout,
|
||||
})
|
||||
if (executable.includes('ffprobe')) {
|
||||
if (probe.fail) {
|
||||
callback(new Error('invalid media'), '', 'invalid media')
|
||||
@@ -43,6 +57,9 @@ vi.mock('node:child_process', () => ({
|
||||
}
|
||||
|
||||
fs.writeFileSync(args.at(-1) as string, Buffer.from('converted-audio'))
|
||||
if (probe.outputSize !== undefined) {
|
||||
fs.truncateSync(args.at(-1) as string, probe.outputSize)
|
||||
}
|
||||
callback(null, '', '')
|
||||
},
|
||||
}))
|
||||
@@ -52,6 +69,7 @@ import { extractAudioFromVideo, getAudioMetadata } from '@/lib/audio/extractor'
|
||||
beforeEach(() => {
|
||||
calls.length = 0
|
||||
probe.fail = false
|
||||
probe.outputSize = undefined
|
||||
})
|
||||
|
||||
describe('audio FFmpeg execution', () => {
|
||||
@@ -123,6 +141,26 @@ describe('audio FFmpeg execution', () => {
|
||||
expect(conversion).toMatchObject({ maxBuffer: 4 * 1024 * 1024, timeout: 600_000 })
|
||||
})
|
||||
|
||||
it('forwards cancellation to both probing and conversion', async () => {
|
||||
const controller = new AbortController()
|
||||
|
||||
await extractAudioFromVideo(Buffer.from('video'), 'video/mp4', {
|
||||
outputFormat: 'mp3',
|
||||
signal: controller.signal,
|
||||
})
|
||||
|
||||
expect(calls).toHaveLength(2)
|
||||
expect(calls.every((call) => call.signal === controller.signal)).toBe(true)
|
||||
})
|
||||
|
||||
it('rejects oversized converted output before reading it into memory', async () => {
|
||||
probe.outputSize = 250 * 1024 * 1024 + 1
|
||||
|
||||
await expect(
|
||||
extractAudioFromVideo(Buffer.from('video'), 'video/mp4', { outputFormat: 'mp3' })
|
||||
).rejects.toThrow(/FFmpeg audio output exceeds maximum size/)
|
||||
})
|
||||
|
||||
it('returns an existing audio buffer when metadata probing fails', async () => {
|
||||
probe.fail = true
|
||||
const buffer = Buffer.from('already-audio')
|
||||
|
||||
@@ -8,6 +8,8 @@ import type {
|
||||
AudioExtractionResult,
|
||||
AudioMetadata,
|
||||
} from '@/lib/audio/types'
|
||||
import { assertKnownSizeWithinLimit } from '@/lib/core/utils/stream-limits'
|
||||
import { MAX_MEDIA_BYTES } from '@/lib/media/falai'
|
||||
import { FFMPEG_BASE_ARGS, resolveExecutable, runExecutable } from '@/lib/media/ffmpeg-process'
|
||||
|
||||
const logger = createLogger('AudioExtractor')
|
||||
@@ -55,13 +57,15 @@ async function withTempDir<T>(prefix: string, fn: (dir: string) => Promise<T>):
|
||||
}
|
||||
}
|
||||
|
||||
async function runFfmpeg(args: string[]): Promise<void> {
|
||||
async function runFfmpeg(args: string[], signal?: AbortSignal): Promise<void> {
|
||||
try {
|
||||
await runExecutable(requireFfmpeg(), [...FFMPEG_BASE_ARGS, ...args], {
|
||||
maxOutputBytes: MAX_PROCESS_OUTPUT_BYTES,
|
||||
signal,
|
||||
timeoutMs: CONVERSION_TIMEOUT_MS,
|
||||
})
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
const failure = error as NodeJS.ErrnoException & { killed?: boolean; stderr?: string }
|
||||
if (failure.code === 'ERR_CHILD_PROCESS_STDIO_MAXBUFFER') {
|
||||
throw new Error('FFmpeg error: process output was too large to read')
|
||||
@@ -84,7 +88,7 @@ export async function extractAudioFromVideo(
|
||||
|
||||
if (isAudio && !options.outputFormat) {
|
||||
try {
|
||||
const metadata = await getAudioMetadata(inputBuffer, mimeType)
|
||||
const metadata = await getAudioMetadata(inputBuffer, mimeType, options.signal)
|
||||
return {
|
||||
buffer: inputBuffer,
|
||||
format: mimeType.split('/')[1] || 'unknown',
|
||||
@@ -92,6 +96,7 @@ export async function extractAudioFromVideo(
|
||||
size: inputBuffer.length,
|
||||
}
|
||||
} catch {
|
||||
options.signal?.throwIfAborted()
|
||||
return {
|
||||
buffer: inputBuffer,
|
||||
format: mimeType.split('/')[1] || 'unknown',
|
||||
@@ -124,12 +129,13 @@ async function convertAudioWithFfmpeg(
|
||||
return withTempDir('audio-ffmpeg-', async (dir) => {
|
||||
const inputFile = path.join(dir, `input.${inputExt}`)
|
||||
const outputFile = path.join(dir, `output.${outputFormat}`)
|
||||
await fs.writeFile(inputFile, inputBuffer)
|
||||
await fs.writeFile(inputFile, inputBuffer, { signal: options.signal })
|
||||
|
||||
let duration = 0
|
||||
try {
|
||||
duration = (await getAudioMetadataFromFile(inputFile)).duration || 0
|
||||
duration = (await getAudioMetadataFromFile(inputFile, options.signal)).duration || 0
|
||||
} catch (error) {
|
||||
options.signal?.throwIfAborted()
|
||||
logger.warn('Failed to extract metadata:', error)
|
||||
}
|
||||
|
||||
@@ -139,8 +145,11 @@ async function convertAudioWithFfmpeg(
|
||||
if (options.bitrate) args.push('-b:a', options.bitrate.replace(/k?$/, 'k'))
|
||||
args.push(outputFile)
|
||||
|
||||
await runFfmpeg(args)
|
||||
const outputBuffer = await fs.readFile(outputFile)
|
||||
await runFfmpeg(args, options.signal)
|
||||
options.signal?.throwIfAborted()
|
||||
const { size } = await fs.stat(outputFile)
|
||||
assertKnownSizeWithinLimit(size, MAX_MEDIA_BYTES, 'FFmpeg audio output')
|
||||
const outputBuffer = await fs.readFile(outputFile, { signal: options.signal })
|
||||
|
||||
return {
|
||||
buffer: outputBuffer,
|
||||
@@ -152,12 +161,16 @@ async function convertAudioWithFfmpeg(
|
||||
}
|
||||
|
||||
/** Read audio metadata with ffprobe. */
|
||||
export async function getAudioMetadata(buffer: Buffer, mimeType: string): Promise<AudioMetadata> {
|
||||
export async function getAudioMetadata(
|
||||
buffer: Buffer,
|
||||
mimeType: string,
|
||||
signal?: AbortSignal
|
||||
): Promise<AudioMetadata> {
|
||||
const inputExt = getExtensionFromMimeType(mimeType)
|
||||
return withTempDir('audio-ffprobe-', async (dir) => {
|
||||
const inputFile = path.join(dir, `input.${inputExt}`)
|
||||
await fs.writeFile(inputFile, buffer)
|
||||
return getAudioMetadataFromFile(inputFile)
|
||||
await fs.writeFile(inputFile, buffer, { signal })
|
||||
return getAudioMetadataFromFile(inputFile, signal)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -176,7 +189,10 @@ interface FfprobeMetadata {
|
||||
}
|
||||
}
|
||||
|
||||
async function getAudioMetadataFromFile(filePath: string): Promise<AudioMetadata> {
|
||||
async function getAudioMetadataFromFile(
|
||||
filePath: string,
|
||||
signal?: AbortSignal
|
||||
): Promise<AudioMetadata> {
|
||||
let stdout: string
|
||||
try {
|
||||
;({ stdout } = await runExecutable(
|
||||
@@ -184,10 +200,12 @@ async function getAudioMetadataFromFile(filePath: string): Promise<AudioMetadata
|
||||
['-v', 'error', '-print_format', 'json', '-show_format', '-show_streams', filePath],
|
||||
{
|
||||
maxOutputBytes: MAX_PROCESS_OUTPUT_BYTES,
|
||||
signal,
|
||||
timeoutMs: PROBE_TIMEOUT_MS,
|
||||
}
|
||||
))
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
const failure = error as NodeJS.ErrnoException & { killed?: boolean; stderr?: string }
|
||||
if (failure.code === 'ERR_CHILD_PROCESS_STDIO_MAXBUFFER') {
|
||||
throw new Error('FFprobe error: probe report was too large to read')
|
||||
|
||||
@@ -3,6 +3,7 @@ export interface AudioExtractionOptions {
|
||||
sampleRate?: number
|
||||
channels?: 1 | 2
|
||||
bitrate?: string
|
||||
signal?: AbortSignal
|
||||
}
|
||||
|
||||
export interface AudioExtractionResult {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { createHash } from 'node:crypto'
|
||||
import type { OAuth2Tokens } from '@better-auth/core/oauth2'
|
||||
import { isRecordLike } from '@sim/utils/object'
|
||||
import type { OAuth2Tokens } from 'better-auth/oauth2'
|
||||
import type { GenericOAuthConfig } from 'better-auth/plugins'
|
||||
import { OAuth2Client, type TokenPayload } from 'google-auth-library'
|
||||
import { buildConnectorProviders } from '@/lib/auth/connectors/providers'
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
/**
|
||||
* @vitest-environment jsdom
|
||||
*/
|
||||
import type { ScriptCallbackInfo } from 'c15t'
|
||||
import { afterEach, describe, expect, it } from 'vitest'
|
||||
import { GLOBAL_CONSENT_SCRIPTS, HUBSPOT_SCRIPT, X_PIXEL_SCRIPT } from '@/lib/consent/scripts'
|
||||
import {
|
||||
type ConsentScriptCallbackInfo,
|
||||
GLOBAL_CONSENT_SCRIPTS,
|
||||
HUBSPOT_SCRIPT,
|
||||
X_PIXEL_SCRIPT,
|
||||
} from '@/lib/consent/scripts'
|
||||
|
||||
const CALLBACK_INFO: ScriptCallbackInfo = {
|
||||
const CALLBACK_INFO: ConsentScriptCallbackInfo = {
|
||||
id: 'test-script',
|
||||
elementId: 'test-script',
|
||||
hasConsent: false,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { ahrefsAnalytics } from '@c15t/scripts/ahrefs-analytics'
|
||||
import { gtag } from '@c15t/scripts/google-tag'
|
||||
import { xPixel } from '@c15t/scripts/x-pixel'
|
||||
import type { ScriptCallbackInfo } from 'c15t'
|
||||
|
||||
export const GOOGLE_ANALYTICS_ID = 'G-DR7YBE70VS' as const
|
||||
export const X_PIXEL_ID = 'q5xbl' as const
|
||||
@@ -19,6 +18,9 @@ const GOOGLE_ANALYTICS_SCRIPT = gtag({
|
||||
id: GOOGLE_ANALYTICS_ID,
|
||||
category: 'measurement',
|
||||
})
|
||||
export type ConsentScriptCallbackInfo = Parameters<
|
||||
NonNullable<typeof GOOGLE_ANALYTICS_SCRIPT.onBeforeLoad>
|
||||
>[0]
|
||||
const initializeGoogleAnalytics = GOOGLE_ANALYTICS_SCRIPT.onBeforeLoad
|
||||
|
||||
function withoutQueryOrHash(value: string): string | undefined {
|
||||
@@ -34,7 +36,7 @@ function withoutQueryOrHash(value: string): string | undefined {
|
||||
export const GLOBAL_CONSENT_SCRIPTS = [
|
||||
{
|
||||
...GOOGLE_ANALYTICS_SCRIPT,
|
||||
onBeforeLoad: (info: ScriptCallbackInfo) => {
|
||||
onBeforeLoad: (info: ConsentScriptCallbackInfo) => {
|
||||
window.dataLayer ||= []
|
||||
window.gtag ||= (...args: unknown[]) => {
|
||||
window.dataLayer.push(args)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { randomBytes } from 'node:crypto'
|
||||
import { normalizeEmail } from '@sim/utils/string'
|
||||
import {
|
||||
applyDefaultAccessTokenExpiry,
|
||||
createAuthorizationURL,
|
||||
type OAuth2Tokens,
|
||||
validateAuthorizationCode,
|
||||
} from '@better-auth/core/oauth2'
|
||||
import { normalizeEmail } from '@sim/utils/string'
|
||||
} from 'better-auth/oauth2'
|
||||
import {
|
||||
type ConnectorProviderConfig,
|
||||
getManagedOAuthConnectorProviderConfig,
|
||||
|
||||
@@ -20,6 +20,10 @@ describe('resolveParseOfficeAsync', () => {
|
||||
expect(resolveParseOfficeAsync({ default: { parseOfficeAsync: parse } })).toBe(parse)
|
||||
})
|
||||
|
||||
it('resolves a callable default export', () => {
|
||||
expect(resolveParseOfficeAsync({ default: parse })).toBe(parse)
|
||||
})
|
||||
|
||||
it('throws when the entry point is absent', () => {
|
||||
expect(() => resolveParseOfficeAsync({})).toThrow('did not expose parseOfficeAsync')
|
||||
})
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
/**
|
||||
* @vitest-environment node
|
||||
*/
|
||||
import type { PDFDocumentProxy, PDFPageProxy } from 'pdfjs-dist/types/src/pdf'
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const { mockOpenPdfDocument } = vi.hoisted(() => ({
|
||||
mockOpenPdfDocument: vi.fn(),
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/file-parsers/pdfjs-server', () => ({
|
||||
openPdfDocument: mockOpenPdfDocument,
|
||||
}))
|
||||
|
||||
import { PdfParser } from '@/lib/file-parsers/pdf-parser'
|
||||
|
||||
describe('PdfParser cancellation', () => {
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks()
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
vi.useRealTimers()
|
||||
})
|
||||
|
||||
it('rejects an already-cancelled parse before opening pdf.js', async () => {
|
||||
const controller = new AbortController()
|
||||
controller.abort()
|
||||
|
||||
await expect(
|
||||
new PdfParser().parseBuffer(Buffer.from('%PDF-1.4'), { signal: controller.signal })
|
||||
).rejects.toMatchObject({ name: 'AbortError' })
|
||||
expect(mockOpenPdfDocument).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('forwards cancellation while pdf.js is opening', async () => {
|
||||
const controller = new AbortController()
|
||||
mockOpenPdfDocument.mockImplementationOnce(
|
||||
(_data: Uint8Array, signal?: AbortSignal) =>
|
||||
new Promise<PDFDocumentProxy>((_resolve, reject) => {
|
||||
signal?.addEventListener('abort', () => reject(signal.reason), { once: true })
|
||||
})
|
||||
)
|
||||
|
||||
const parsing = new PdfParser().parseBuffer(Buffer.from('%PDF-1.4'), {
|
||||
signal: controller.signal,
|
||||
})
|
||||
await vi.waitFor(() => expect(mockOpenPdfDocument).toHaveBeenCalledOnce())
|
||||
controller.abort()
|
||||
|
||||
await expect(parsing).rejects.toMatchObject({ name: 'AbortError' })
|
||||
expect(mockOpenPdfDocument).toHaveBeenCalledWith(expect.any(Uint8Array), controller.signal)
|
||||
})
|
||||
|
||||
it('cancels a pending text reader and releases page and document state', async () => {
|
||||
const reader = {
|
||||
cancel: vi.fn().mockResolvedValue(undefined),
|
||||
read: vi.fn(() => new Promise<never>(() => {})),
|
||||
}
|
||||
const page = {
|
||||
cleanup: vi.fn(),
|
||||
streamTextContent: vi.fn(() => ({ getReader: () => reader })),
|
||||
} as PDFPageProxy
|
||||
const pdf = {
|
||||
destroy: vi.fn().mockResolvedValue(undefined),
|
||||
getPage: vi.fn().mockResolvedValue(page),
|
||||
numPages: 1,
|
||||
} as PDFDocumentProxy
|
||||
mockOpenPdfDocument.mockResolvedValueOnce(pdf)
|
||||
const controller = new AbortController()
|
||||
|
||||
const parsing = new PdfParser().parseBuffer(Buffer.from('%PDF-1.4'), {
|
||||
signal: controller.signal,
|
||||
})
|
||||
await vi.waitFor(() => expect(reader.read).toHaveBeenCalledOnce())
|
||||
controller.abort()
|
||||
|
||||
await expect(parsing).rejects.toMatchObject({ name: 'AbortError' })
|
||||
expect(reader.cancel).toHaveBeenCalledOnce()
|
||||
expect(page.cleanup).toHaveBeenCalledOnce()
|
||||
expect(pdf.destroy).toHaveBeenCalledOnce()
|
||||
})
|
||||
|
||||
it('cancels a stalled text reader at the extraction deadline and returns a partial result', async () => {
|
||||
vi.useFakeTimers()
|
||||
const reader = {
|
||||
cancel: vi.fn().mockResolvedValue(undefined),
|
||||
read: vi
|
||||
.fn()
|
||||
.mockResolvedValueOnce({ value: { items: [{ str: 'partial page text' }] }, done: false })
|
||||
.mockImplementation(() => new Promise<never>(() => {})),
|
||||
}
|
||||
const page = {
|
||||
cleanup: vi.fn(),
|
||||
streamTextContent: vi.fn(() => ({ getReader: () => reader })),
|
||||
} as PDFPageProxy
|
||||
const pdf = {
|
||||
destroy: vi.fn().mockResolvedValue(undefined),
|
||||
getPage: vi.fn().mockResolvedValue(page),
|
||||
numPages: 1,
|
||||
} as PDFDocumentProxy
|
||||
mockOpenPdfDocument.mockResolvedValueOnce(pdf)
|
||||
|
||||
const parsing = new PdfParser().parseBuffer(Buffer.from('%PDF-1.4'))
|
||||
await vi.advanceTimersByTimeAsync(0)
|
||||
expect(reader.read).toHaveBeenCalledTimes(2)
|
||||
|
||||
await vi.advanceTimersByTimeAsync(60_000)
|
||||
const result = await parsing
|
||||
|
||||
expect(result.metadata).toMatchObject({ pageCount: 1, truncated: true })
|
||||
expect(result.content).toContain('partial page text')
|
||||
expect(result.content).toMatch(/PDF text truncated at parser limits/)
|
||||
expect(reader.cancel).toHaveBeenCalledOnce()
|
||||
expect(page.cleanup).toHaveBeenCalledOnce()
|
||||
expect(pdf.destroy).toHaveBeenCalledOnce()
|
||||
})
|
||||
|
||||
it('stops at the extraction deadline when loading a page stalls', async () => {
|
||||
vi.useFakeTimers()
|
||||
const pdf = {
|
||||
destroy: vi.fn().mockResolvedValue(undefined),
|
||||
getPage: vi.fn(() => new Promise<never>(() => {})),
|
||||
numPages: 1,
|
||||
} as PDFDocumentProxy
|
||||
mockOpenPdfDocument.mockResolvedValueOnce(pdf)
|
||||
|
||||
const parsing = new PdfParser().parseBuffer(Buffer.from('%PDF-1.4'))
|
||||
await vi.advanceTimersByTimeAsync(0)
|
||||
expect(pdf.getPage).toHaveBeenCalledOnce()
|
||||
|
||||
await vi.advanceTimersByTimeAsync(60_000)
|
||||
const result = await parsing
|
||||
|
||||
expect(result.metadata).toMatchObject({ pageCount: 1, truncated: true })
|
||||
expect(pdf.destroy).toHaveBeenCalledOnce()
|
||||
})
|
||||
})
|
||||
@@ -4,6 +4,7 @@
|
||||
import { deflateSync } from 'zlib'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { MAX_PDF_TEXT_CHARS, PdfParser } from '@/lib/file-parsers/pdf-parser'
|
||||
import { openPdfDocument } from '@/lib/file-parsers/pdfjs-server'
|
||||
|
||||
/**
|
||||
* Builds a single-page PDF that draws 64 characters per repeat from a
|
||||
@@ -98,6 +99,27 @@ function assemblePdf(objects: Buffer[], trailerEntries = ''): Buffer {
|
||||
}
|
||||
|
||||
describe('PdfParser', () => {
|
||||
it('preloads the server worker instead of relying on a runtime-relative worker path', async () => {
|
||||
const previousWorker: unknown = Reflect.get(globalThis, 'pdfjsWorker')
|
||||
Reflect.deleteProperty(globalThis, 'pdfjsWorker')
|
||||
|
||||
const pdf = await openPdfDocument(new Uint8Array(buildTextFreePdf(1)))
|
||||
|
||||
try {
|
||||
expect(Reflect.get(globalThis, 'pdfjsWorker')).toEqual({
|
||||
WorkerMessageHandler: expect.anything(),
|
||||
})
|
||||
expect(pdf.numPages).toBe(1)
|
||||
} finally {
|
||||
await pdf.destroy()
|
||||
if (previousWorker === undefined) {
|
||||
Reflect.deleteProperty(globalThis, 'pdfjsWorker')
|
||||
} else {
|
||||
Reflect.set(globalThis, 'pdfjsWorker', previousWorker)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
it('bounds extracted text from a compression-bomb PDF instead of exhausting the heap', async () => {
|
||||
const bomb = buildTextBombPdf(200_000)
|
||||
expect(bomb.length).toBeLessThan(200 * 1024)
|
||||
|
||||
@@ -2,7 +2,7 @@ import { readFile } from 'fs/promises'
|
||||
import { createLogger } from '@sim/logger'
|
||||
import type { PDFDocumentProxy, PDFPageProxy } from 'pdfjs-dist/types/src/pdf'
|
||||
import { openPdfDocument } from '@/lib/file-parsers/pdfjs-server'
|
||||
import type { FileParseResult, FileParser } from '@/lib/file-parsers/types'
|
||||
import type { FileParseOptions, FileParseResult, FileParser } from '@/lib/file-parsers/types'
|
||||
import { sanitizeTextForUTF8, truncationNotice } from '@/lib/file-parsers/utils'
|
||||
|
||||
const logger = createLogger('PdfParser')
|
||||
@@ -21,6 +21,7 @@ export const MAX_PDF_TEXT_CHARS = 10_000_000
|
||||
const PDF_EXTRACTION_TIMEOUT_MS = 60_000
|
||||
|
||||
const PDF_TRUNCATION_WARNING = 'PDF text extraction stopped at a parser limit and is incomplete'
|
||||
const PDF_READ_DEADLINE_REACHED = Symbol('PDF_READ_DEADLINE_REACHED')
|
||||
|
||||
/** Stable metadata identifier retained for documents indexed before the parser swap. */
|
||||
const PDF_PARSER_SOURCE = 'unpdf'
|
||||
@@ -47,6 +48,69 @@ interface BoundedExtraction {
|
||||
truncated: boolean
|
||||
}
|
||||
|
||||
function waitForAbort<T>(
|
||||
operation: Promise<T>,
|
||||
signal?: AbortSignal,
|
||||
onAbort?: () => void
|
||||
): Promise<T> {
|
||||
if (!signal) return operation
|
||||
|
||||
try {
|
||||
signal.throwIfAborted()
|
||||
} catch (error) {
|
||||
onAbort?.()
|
||||
return Promise.reject(error)
|
||||
}
|
||||
|
||||
return new Promise<T>((resolve, reject) => {
|
||||
const cleanup = () => signal.removeEventListener('abort', handleAbort)
|
||||
const handleAbort = () => {
|
||||
cleanup()
|
||||
onAbort?.()
|
||||
reject(signal.reason)
|
||||
}
|
||||
|
||||
signal.addEventListener('abort', handleAbort, { once: true })
|
||||
if (signal.aborted) handleAbort()
|
||||
operation.then(
|
||||
(value) => {
|
||||
cleanup()
|
||||
resolve(value)
|
||||
},
|
||||
(error: unknown) => {
|
||||
cleanup()
|
||||
reject(error)
|
||||
}
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
function waitForDeadline<T>(
|
||||
operation: Promise<T>,
|
||||
deadline: number,
|
||||
signal: AbortSignal | undefined,
|
||||
onDeadline: () => void,
|
||||
onAbort: () => void
|
||||
): Promise<T | typeof PDF_READ_DEADLINE_REACHED> {
|
||||
const remainingMs = deadline - Date.now()
|
||||
if (remainingMs <= 0) {
|
||||
onDeadline()
|
||||
return Promise.resolve(PDF_READ_DEADLINE_REACHED)
|
||||
}
|
||||
|
||||
let timeoutId: ReturnType<typeof setTimeout> | undefined
|
||||
const deadlineReached = new Promise<typeof PDF_READ_DEADLINE_REACHED>((resolve) => {
|
||||
timeoutId = setTimeout(() => {
|
||||
resolve(PDF_READ_DEADLINE_REACHED)
|
||||
onDeadline()
|
||||
}, remainingMs)
|
||||
})
|
||||
|
||||
return waitForAbort(Promise.race([operation, deadlineReached]), signal, onAbort).finally(() => {
|
||||
if (timeoutId !== undefined) clearTimeout(timeoutId)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads one page's text through pdf.js's streaming API, stopping once the
|
||||
* character budget or the deadline is spent.
|
||||
@@ -61,8 +125,10 @@ interface BoundedExtraction {
|
||||
async function readPageWithinBudget(
|
||||
page: PDFPageProxy,
|
||||
budget: number,
|
||||
deadline: number
|
||||
deadline: number,
|
||||
signal?: AbortSignal
|
||||
): Promise<PageExtraction> {
|
||||
signal?.throwIfAborted()
|
||||
const reader = page
|
||||
.streamTextContent()
|
||||
.getReader() as ReadableStreamDefaultReader<TextContentChunk>
|
||||
@@ -71,14 +137,33 @@ async function readPageWithinBudget(
|
||||
let remaining = budget
|
||||
let completed = false
|
||||
let dropped = false
|
||||
let deadlineReached = false
|
||||
let cancellation: Promise<void> | undefined
|
||||
|
||||
const cancelReader = (reason: unknown): Promise<void> => {
|
||||
cancellation ??= reader.cancel(reason).catch(() => {})
|
||||
return cancellation
|
||||
}
|
||||
|
||||
try {
|
||||
/**
|
||||
* Loops until content is actually dropped rather than until the budget hits
|
||||
* zero: text that ends exactly on the budget is complete, not truncated.
|
||||
*/
|
||||
while (!dropped && Date.now() <= deadline) {
|
||||
const { value, done } = await reader.read()
|
||||
while (!dropped) {
|
||||
const result = await waitForDeadline(
|
||||
reader.read(),
|
||||
deadline,
|
||||
signal,
|
||||
() => void cancelReader(new Error('PDF text extraction deadline exceeded')),
|
||||
() => void cancelReader(signal?.reason)
|
||||
)
|
||||
if (result === PDF_READ_DEADLINE_REACHED) {
|
||||
deadlineReached = true
|
||||
break
|
||||
}
|
||||
|
||||
const { value, done } = result
|
||||
if (done) {
|
||||
completed = true
|
||||
break
|
||||
@@ -101,19 +186,18 @@ async function readPageWithinBudget(
|
||||
}
|
||||
} finally {
|
||||
if (!completed) {
|
||||
try {
|
||||
await reader.cancel(new Error('PDF text extraction budget exceeded'))
|
||||
} catch {
|
||||
// Cancelling a stream that already failed is not itself an error, and
|
||||
// throwing here would mask whatever ended the read loop.
|
||||
}
|
||||
const pendingCancellation = cancelReader(new Error('PDF text extraction budget exceeded'))
|
||||
if (!signal?.aborted && !deadlineReached) await pendingCancellation
|
||||
}
|
||||
}
|
||||
|
||||
return { text: parts.join(''), used: budget - remaining, completed }
|
||||
}
|
||||
|
||||
async function extractTextWithinBudget(pdf: PDFDocumentProxy): Promise<BoundedExtraction> {
|
||||
async function extractTextWithinBudget(
|
||||
pdf: PDFDocumentProxy,
|
||||
signal?: AbortSignal
|
||||
): Promise<BoundedExtraction> {
|
||||
const deadline = Date.now() + PDF_EXTRACTION_TIMEOUT_MS
|
||||
const totalPages = pdf.numPages
|
||||
const pageLimit = Math.min(totalPages, MAX_PDF_PAGES)
|
||||
@@ -123,8 +207,32 @@ async function extractTextWithinBudget(pdf: PDFDocumentProxy): Promise<BoundedEx
|
||||
let truncated = totalPages > pageLimit
|
||||
|
||||
for (let pageNumber = 1; pageNumber <= pageLimit; pageNumber++) {
|
||||
const page = await pdf.getPage(pageNumber)
|
||||
const { text, used, completed } = await readPageWithinBudget(page, remainingChars, deadline)
|
||||
signal?.throwIfAborted()
|
||||
const pagePromise = pdf.getPage(pageNumber)
|
||||
const cleanupLatePage = () => {
|
||||
void pagePromise.then((latePage) => latePage.cleanup()).catch(() => {})
|
||||
}
|
||||
const pageResult = await waitForDeadline(
|
||||
pagePromise,
|
||||
deadline,
|
||||
signal,
|
||||
cleanupLatePage,
|
||||
cleanupLatePage
|
||||
)
|
||||
if (pageResult === PDF_READ_DEADLINE_REACHED) {
|
||||
truncated = true
|
||||
break
|
||||
}
|
||||
|
||||
const page = pageResult
|
||||
let extraction: PageExtraction
|
||||
try {
|
||||
extraction = await readPageWithinBudget(page, remainingChars, deadline, signal)
|
||||
} finally {
|
||||
page.cleanup()
|
||||
}
|
||||
|
||||
const { text, used, completed } = extraction
|
||||
|
||||
remainingChars -= used
|
||||
|
||||
@@ -133,7 +241,6 @@ async function extractTextWithinBudget(pdf: PDFDocumentProxy): Promise<BoundedEx
|
||||
if (completed || text.length > 0) {
|
||||
pageTexts.push(text)
|
||||
}
|
||||
page.cleanup()
|
||||
|
||||
if (!completed) {
|
||||
truncated = true
|
||||
@@ -150,7 +257,7 @@ async function extractTextWithinBudget(pdf: PDFDocumentProxy): Promise<BoundedEx
|
||||
}
|
||||
|
||||
export class PdfParser implements FileParser {
|
||||
async parseFile(filePath: string): Promise<FileParseResult> {
|
||||
async parseFile(filePath: string, options: FileParseOptions = {}): Promise<FileParseResult> {
|
||||
try {
|
||||
logger.info('Starting to parse file:', filePath)
|
||||
|
||||
@@ -159,25 +266,29 @@ export class PdfParser implements FileParser {
|
||||
}
|
||||
|
||||
logger.info('Reading file...')
|
||||
const dataBuffer = await readFile(filePath)
|
||||
const dataBuffer = await readFile(filePath, { signal: options.signal })
|
||||
logger.info('File read successfully, size:', dataBuffer.length)
|
||||
|
||||
return this.parseBuffer(dataBuffer)
|
||||
return this.parseBuffer(dataBuffer, options)
|
||||
} catch (error) {
|
||||
logger.error('Error reading file:', error)
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
async parseBuffer(dataBuffer: Buffer): Promise<FileParseResult> {
|
||||
async parseBuffer(dataBuffer: Buffer, options: FileParseOptions = {}): Promise<FileParseResult> {
|
||||
try {
|
||||
options.signal?.throwIfAborted()
|
||||
logger.info('Starting to parse buffer, size:', dataBuffer.length)
|
||||
|
||||
const uint8Array = new Uint8Array(dataBuffer)
|
||||
const pdf = await openPdfDocument(uint8Array)
|
||||
const pdf = await openPdfDocument(uint8Array, options.signal)
|
||||
|
||||
try {
|
||||
const { text, totalPages, pagesRead, truncated } = await extractTextWithinBudget(pdf)
|
||||
const { text, totalPages, pagesRead, truncated } = await extractTextWithinBudget(
|
||||
pdf,
|
||||
options.signal
|
||||
)
|
||||
|
||||
logger.info('PDF parsed successfully, pages:', totalPages, 'text length:', text.length)
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* @vitest-environment node
|
||||
*/
|
||||
import type { PDFDocumentLoadingTask } from 'pdfjs-dist/types/src/pdf'
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const { mockGetDocument, workerMessageHandler } = vi.hoisted(() => ({
|
||||
mockGetDocument: vi.fn(),
|
||||
workerMessageHandler: {},
|
||||
}))
|
||||
|
||||
vi.mock('pdfjs-dist/legacy/build/pdf.mjs', () => ({ getDocument: mockGetDocument }))
|
||||
vi.mock('pdfjs-dist/legacy/build/pdf.worker.mjs', () => ({
|
||||
WorkerMessageHandler: workerMessageHandler,
|
||||
}))
|
||||
|
||||
import { openPdfDocument } from '@/lib/file-parsers/pdfjs-server'
|
||||
|
||||
describe('openPdfDocument', () => {
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks()
|
||||
})
|
||||
|
||||
it('destroys a pending loading task immediately when parsing is cancelled', async () => {
|
||||
let resolveLoading: ((pdf: { destroy: () => Promise<void> }) => void) | undefined
|
||||
const lateDocumentDestroy = vi.fn().mockResolvedValue(undefined)
|
||||
const destroy = vi.fn().mockResolvedValue(undefined)
|
||||
const loadingTask = {
|
||||
destroy,
|
||||
promise: new Promise((resolve) => {
|
||||
resolveLoading = resolve
|
||||
}),
|
||||
} as PDFDocumentLoadingTask
|
||||
mockGetDocument.mockReturnValueOnce(loadingTask)
|
||||
const controller = new AbortController()
|
||||
|
||||
const opening = openPdfDocument(new Uint8Array([1, 2, 3]), controller.signal)
|
||||
await vi.waitFor(() => expect(mockGetDocument).toHaveBeenCalledOnce())
|
||||
controller.abort()
|
||||
|
||||
await expect(opening).rejects.toMatchObject({ name: 'AbortError' })
|
||||
expect(destroy).toHaveBeenCalledOnce()
|
||||
|
||||
resolveLoading?.({ destroy: lateDocumentDestroy })
|
||||
await vi.waitFor(() => expect(lateDocumentDestroy).toHaveBeenCalledOnce())
|
||||
})
|
||||
})
|
||||
@@ -1,11 +1,71 @@
|
||||
import type { PDFDocumentProxy } from 'pdfjs-dist/types/src/pdf'
|
||||
import type { PDFDocumentLoadingTask, PDFDocumentProxy } from 'pdfjs-dist/types/src/pdf'
|
||||
|
||||
function waitForLoadingTask(
|
||||
loadingTask: PDFDocumentLoadingTask,
|
||||
signal?: AbortSignal
|
||||
): Promise<PDFDocumentProxy> {
|
||||
if (!signal) return loadingTask.promise
|
||||
|
||||
const destroy = () => {
|
||||
try {
|
||||
void loadingTask.destroy().catch(() => {})
|
||||
} catch {}
|
||||
}
|
||||
|
||||
if (signal.aborted) {
|
||||
destroy()
|
||||
signal.throwIfAborted()
|
||||
}
|
||||
|
||||
let aborted = false
|
||||
return new Promise<PDFDocumentProxy>((resolve, reject) => {
|
||||
const cleanup = () => signal.removeEventListener('abort', handleAbort)
|
||||
const handleAbort = () => {
|
||||
aborted = true
|
||||
cleanup()
|
||||
destroy()
|
||||
reject(signal.reason)
|
||||
}
|
||||
|
||||
signal.addEventListener('abort', handleAbort, { once: true })
|
||||
loadingTask.promise.then(
|
||||
(pdf) => {
|
||||
cleanup()
|
||||
if (aborted) {
|
||||
void pdf.destroy().catch(() => {})
|
||||
return
|
||||
}
|
||||
resolve(pdf)
|
||||
},
|
||||
(error: unknown) => {
|
||||
cleanup()
|
||||
reject(error)
|
||||
}
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
/** Open a PDF with the server-compatible pdf.js build and hardened defaults. */
|
||||
export async function openPdfDocument(data: Uint8Array): Promise<PDFDocumentProxy> {
|
||||
const { getDocument } = await import('pdfjs-dist/legacy/build/pdf.mjs')
|
||||
return getDocument({
|
||||
export async function openPdfDocument(
|
||||
data: Uint8Array,
|
||||
signal?: AbortSignal
|
||||
): Promise<PDFDocumentProxy> {
|
||||
signal?.throwIfAborted()
|
||||
const [{ getDocument }, { WorkerMessageHandler }] = await Promise.all([
|
||||
import('pdfjs-dist/legacy/build/pdf.mjs'),
|
||||
import('pdfjs-dist/legacy/build/pdf.worker.mjs'),
|
||||
])
|
||||
signal?.throwIfAborted()
|
||||
|
||||
Object.assign(globalThis, {
|
||||
pdfjsWorker: { WorkerMessageHandler },
|
||||
})
|
||||
|
||||
const loadingTask = getDocument({
|
||||
data,
|
||||
isEvalSupported: false,
|
||||
useSystemFonts: true,
|
||||
}).promise
|
||||
})
|
||||
|
||||
return waitForLoadingTask(loadingTask, signal)
|
||||
}
|
||||
@@ -3,6 +3,8 @@
|
||||
*
|
||||
* @vitest-environment node
|
||||
*/
|
||||
|
||||
import { Readable } from 'node:stream'
|
||||
import {
|
||||
authMockFns,
|
||||
createMockRequest,
|
||||
@@ -24,14 +26,15 @@ const {
|
||||
mockGetStorageProvider,
|
||||
mockIsUsingCloudStorage,
|
||||
mockIsSupportedFileType,
|
||||
mockParseFile,
|
||||
mockParseBuffer,
|
||||
mockPdfParseBuffer,
|
||||
mockCreateReadStream,
|
||||
mockFsAccess,
|
||||
mockFsStat,
|
||||
mockFsReadFile,
|
||||
mockFsWriteFile,
|
||||
mockJoin,
|
||||
actualPath,
|
||||
mockUploadExecutionFile,
|
||||
mockUploadWorkspaceFile,
|
||||
mockReadWorkspaceFileNameByKey,
|
||||
} = vi.hoisted(() => {
|
||||
@@ -43,17 +46,17 @@ const {
|
||||
mockGetStorageProvider: vi.fn().mockReturnValue('s3'),
|
||||
mockIsUsingCloudStorage: vi.fn().mockReturnValue(true),
|
||||
mockIsSupportedFileType: vi.fn().mockReturnValue(true),
|
||||
mockParseFile: vi.fn().mockResolvedValue({
|
||||
content: 'parsed content',
|
||||
metadata: { pageCount: 1 },
|
||||
}),
|
||||
mockParseBuffer: vi.fn().mockResolvedValue({
|
||||
content: 'parsed buffer content',
|
||||
metadata: { pageCount: 1 },
|
||||
}),
|
||||
mockPdfParseBuffer: vi.fn().mockResolvedValue({
|
||||
content: 'parsed PDF content',
|
||||
metadata: { pageCount: 1 },
|
||||
}),
|
||||
mockCreateReadStream: vi.fn(),
|
||||
mockFsAccess: vi.fn().mockResolvedValue(undefined),
|
||||
mockFsStat: vi.fn().mockImplementation(() => ({ isFile: () => true, size: 17 })),
|
||||
mockFsReadFile: vi.fn().mockResolvedValue(Buffer.from('test file content')),
|
||||
mockFsWriteFile: vi.fn().mockResolvedValue(undefined),
|
||||
mockJoin: vi.fn((...args: string[]): string => {
|
||||
if (args[0] === '/test/uploads') {
|
||||
@@ -62,6 +65,7 @@ const {
|
||||
return actualPath.join(...args)
|
||||
}),
|
||||
actualPath,
|
||||
mockUploadExecutionFile: vi.fn(),
|
||||
mockUploadWorkspaceFile: vi
|
||||
.fn()
|
||||
.mockImplementation(
|
||||
@@ -93,10 +97,21 @@ vi.mock('@/lib/uploads', () => ({
|
||||
|
||||
vi.mock('@/lib/file-parsers', () => ({
|
||||
isSupportedFileType: mockIsSupportedFileType,
|
||||
parseFile: mockParseFile,
|
||||
parseBuffer: mockParseBuffer,
|
||||
}))
|
||||
|
||||
vi.mock('node:fs', () => ({
|
||||
createReadStream: mockCreateReadStream,
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/file-parsers/pdf-parser', () => ({
|
||||
PdfParser: class {
|
||||
parseBuffer(...args: Parameters<typeof mockPdfParseBuffer>) {
|
||||
return mockPdfParseBuffer(...args)
|
||||
}
|
||||
},
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/uploads/core/storage-service', () => storageServiceMock)
|
||||
|
||||
vi.mock('path', () => ({
|
||||
@@ -118,7 +133,7 @@ vi.mock('@/lib/core/utils/logging', () => ({
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/uploads/contexts/execution', () => ({
|
||||
uploadExecutionFile: vi.fn(),
|
||||
uploadExecutionFile: mockUploadExecutionFile,
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/uploads/contexts/workspace/workspace-file-manager', () => ({
|
||||
@@ -139,12 +154,10 @@ vi.mock('fs/promises', () => ({
|
||||
default: {
|
||||
access: mockFsAccess,
|
||||
stat: mockFsStat,
|
||||
readFile: mockFsReadFile,
|
||||
writeFile: mockFsWriteFile,
|
||||
},
|
||||
access: mockFsAccess,
|
||||
stat: mockFsStat,
|
||||
readFile: mockFsReadFile,
|
||||
writeFile: mockFsWriteFile,
|
||||
}))
|
||||
|
||||
@@ -228,18 +241,27 @@ describe('file parser operation', () => {
|
||||
storageServiceMockFns.mockHasCloudStorage.mockReturnValue(true)
|
||||
storageServiceMockFns.mockDownloadFile.mockResolvedValue(Buffer.from('test file content'))
|
||||
mockFsStat.mockResolvedValue({ isFile: () => true, size: 17 })
|
||||
mockFsReadFile.mockResolvedValue(Buffer.from('test file content'))
|
||||
mockCreateReadStream.mockImplementation(() => Readable.from([Buffer.from('test file content')]))
|
||||
mockIsSupportedFileType.mockReturnValue(true)
|
||||
mockUploadExecutionFile.mockResolvedValue({
|
||||
id: 'file_test',
|
||||
name: 'report.pdf',
|
||||
url: '/api/files/serve/execution/report.pdf',
|
||||
size: 17,
|
||||
type: 'application/pdf',
|
||||
key: 'execution/report.pdf',
|
||||
context: 'execution',
|
||||
})
|
||||
mockUploadWorkspaceFile.mockClear()
|
||||
mockReadWorkspaceFileNameByKey.mockResolvedValue({ name: null })
|
||||
mockParseFile.mockResolvedValue({
|
||||
content: 'parsed content',
|
||||
metadata: { pageCount: 1 },
|
||||
})
|
||||
mockParseBuffer.mockResolvedValue({
|
||||
content: 'parsed buffer content',
|
||||
metadata: { pageCount: 1 },
|
||||
})
|
||||
mockPdfParseBuffer.mockResolvedValue({
|
||||
content: 'parsed PDF content',
|
||||
metadata: { pageCount: 1 },
|
||||
})
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
@@ -369,6 +391,77 @@ describe('file parser operation', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it('forwards request cancellation to external PDF parsing', async () => {
|
||||
inputValidationMockFns.mockValidateUrlWithDNS.mockResolvedValue({
|
||||
isValid: true,
|
||||
resolvedIP: '203.0.113.10',
|
||||
})
|
||||
inputValidationMockFns.mockSecureFetchWithPinnedIP.mockResolvedValue(
|
||||
new Response('pdf bytes', {
|
||||
status: 200,
|
||||
headers: { 'content-type': 'application/pdf' },
|
||||
})
|
||||
)
|
||||
const req = createMockRequest('POST', {
|
||||
filePath: 'https://example.com/report.pdf',
|
||||
})
|
||||
|
||||
const response = await POST(req)
|
||||
|
||||
expect(response.status).toBe(200)
|
||||
expect(mockPdfParseBuffer).toHaveBeenCalledWith(expect.any(Buffer), {
|
||||
signal: req.signal,
|
||||
})
|
||||
})
|
||||
|
||||
it('forwards request cancellation to cloud PDF parsing', async () => {
|
||||
const req = createMockRequest('POST', {
|
||||
filePath: '/api/files/serve/execution/workspace-1/workflow-1/execution-1/report.pdf',
|
||||
})
|
||||
|
||||
const response = await POST(req)
|
||||
|
||||
expect(response.status).toBe(200)
|
||||
expect(mockPdfParseBuffer).toHaveBeenCalledWith(expect.any(Buffer), {
|
||||
signal: req.signal,
|
||||
})
|
||||
})
|
||||
|
||||
it('parses and uploads one bounded local-file snapshot', async () => {
|
||||
setupFileApiMocks({
|
||||
cloudEnabled: false,
|
||||
storageProvider: 'local',
|
||||
authenticated: true,
|
||||
})
|
||||
mockFsStat.mockResolvedValue({ isFile: () => true, size: 3 })
|
||||
const req = createMockRequest('POST', {
|
||||
filePath: 'workspace/report.pdf',
|
||||
})
|
||||
|
||||
const response = await POST(req)
|
||||
|
||||
const data = await response.json()
|
||||
const parsedBuffer = mockParseBuffer.mock.calls[0][0]
|
||||
|
||||
expect(response.status).toBe(200)
|
||||
expect(data.output).toMatchObject({
|
||||
content: 'parsed buffer content',
|
||||
fileType: 'application/pdf',
|
||||
size: 17,
|
||||
})
|
||||
expect(mockCreateReadStream).toHaveBeenCalledWith('/test/uploads/workspace/report.pdf')
|
||||
expect(mockCreateReadStream).toHaveBeenCalledOnce()
|
||||
expect(mockParseBuffer).toHaveBeenCalledWith(parsedBuffer, 'pdf', { signal: req.signal })
|
||||
expect(mockParseBuffer).toHaveBeenCalledOnce()
|
||||
expect(mockUploadExecutionFile).toHaveBeenCalledWith(
|
||||
expect.any(Object),
|
||||
parsedBuffer,
|
||||
'report.pdf',
|
||||
'application/pdf',
|
||||
'test-user-id'
|
||||
)
|
||||
})
|
||||
|
||||
it('should reject parser complexity limits instead of returning raw text', async () => {
|
||||
setupFileApiMocks({
|
||||
cloudEnabled: true,
|
||||
@@ -670,7 +763,9 @@ describe('file parser operation', () => {
|
||||
expect(response.status).toBe(200)
|
||||
expect(data.success).toBe(false)
|
||||
expect(data.error).toContain('too large')
|
||||
expect(mockFsReadFile).not.toHaveBeenCalled()
|
||||
expect(mockCreateReadStream).not.toHaveBeenCalled()
|
||||
expect(mockParseBuffer).not.toHaveBeenCalled()
|
||||
expect(mockUploadExecutionFile).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('should process execution file URLs with context query param', async () => {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { createReadStream } from 'node:fs'
|
||||
import { Buffer, isUtf8 } from 'buffer'
|
||||
import { createHash } from 'crypto'
|
||||
import fsPromises from 'fs/promises'
|
||||
@@ -10,12 +11,16 @@ import binaryExtensionsList from 'binary-extensions'
|
||||
import type { ContractBody } from '@/lib/api/contracts'
|
||||
import type { fileParseContract } from '@/lib/api/contracts/storage-transfer'
|
||||
import { sanitizeUrlForLog } from '@/lib/core/utils/logging'
|
||||
import { assertKnownSizeWithinLimit, isPayloadSizeLimitError } from '@/lib/core/utils/stream-limits'
|
||||
import {
|
||||
assertKnownSizeWithinLimit,
|
||||
isPayloadSizeLimitError,
|
||||
readNodeStreamToBufferWithLimit,
|
||||
} from '@/lib/core/utils/stream-limits'
|
||||
import {
|
||||
assertUserFileContentAccess,
|
||||
type ExecutionMaterializationContext,
|
||||
} from '@/lib/execution/payloads/materialization.server'
|
||||
import { isSupportedFileType, parseFile } from '@/lib/file-parsers'
|
||||
import { isSupportedFileType, parseBuffer } from '@/lib/file-parsers'
|
||||
import { isFileParserError } from '@/lib/file-parsers/errors'
|
||||
import { isUsingCloudStorage, StorageService } from '@/lib/uploads'
|
||||
import { uploadExecutionFile } from '@/lib/uploads/contexts/execution'
|
||||
@@ -562,7 +567,14 @@ async function handleExternalUrl(
|
||||
|
||||
let parseResult: ParseResult
|
||||
if (extension === 'pdf') {
|
||||
parseResult = await handlePdfBuffer(buffer, filename, fileType, url, maxParsedOutputBytes)
|
||||
parseResult = await handlePdfBuffer(
|
||||
buffer,
|
||||
filename,
|
||||
fileType,
|
||||
url,
|
||||
maxParsedOutputBytes,
|
||||
signal
|
||||
)
|
||||
} else if (extension === 'csv') {
|
||||
parseResult = await handleCsvBuffer(buffer, filename, fileType, url, maxParsedOutputBytes)
|
||||
} else if (isSupportedFileType(extension)) {
|
||||
@@ -586,6 +598,7 @@ async function handleExternalUrl(
|
||||
|
||||
return parseResult
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
logger.error(`Error handling external URL ${sanitizeUrlForLog(url)}:`, error)
|
||||
if (isPayloadSizeLimitError(error)) {
|
||||
logger.warn('Rejected oversized external file parse payload', {
|
||||
@@ -748,7 +761,8 @@ async function handleCloudFile(
|
||||
filename,
|
||||
fileType,
|
||||
normalizedFilePath,
|
||||
maxParsedOutputBytes
|
||||
maxParsedOutputBytes,
|
||||
signal
|
||||
)
|
||||
} else if (extension === 'csv') {
|
||||
parseResult = await handleCsvBuffer(
|
||||
@@ -794,6 +808,7 @@ async function handleCloudFile(
|
||||
|
||||
return parseResult
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
logger.error(`Error handling cloud file ${filePath}:`, error)
|
||||
|
||||
const errorMessage = (error as Error).message
|
||||
@@ -871,13 +886,17 @@ async function handleLocalFile(
|
||||
const stats = await fsPromises.stat(fullPath)
|
||||
assertKnownSizeWithinLimit(stats.size, maxDownloadBytes, 'local file')
|
||||
|
||||
const result = await parseFile(fullPath)
|
||||
const fileBuffer = await readNodeStreamToBufferWithLimit(createReadStream(fullPath), {
|
||||
maxBytes: maxDownloadBytes,
|
||||
label: 'local file',
|
||||
signal,
|
||||
})
|
||||
const extension = path.extname(filename).toLowerCase().substring(1)
|
||||
const result = await parseBuffer(fileBuffer, extension, { signal })
|
||||
const content = assertParsedContentWithinLimit(result.content, maxParsedOutputBytes)
|
||||
const fileBuffer = await fsPromises.readFile(fullPath)
|
||||
signal?.throwIfAborted()
|
||||
const hash = createHash('md5').update(fileBuffer).digest('hex')
|
||||
|
||||
const extension = path.extname(filename).toLowerCase().substring(1)
|
||||
const mimeType = fileType || getMimeTypeFromExtension(extension)
|
||||
|
||||
// Store file in execution storage if executionContext is provided
|
||||
@@ -906,12 +925,13 @@ async function handleLocalFile(
|
||||
userFile,
|
||||
metadata: {
|
||||
fileType: mimeType,
|
||||
size: stats.size,
|
||||
size: fileBuffer.length,
|
||||
hash,
|
||||
processingTime: 0,
|
||||
},
|
||||
}
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
logger.error(`Error handling local file ${filePath}:`, error)
|
||||
if (isPayloadSizeLimitError(error)) {
|
||||
logger.warn('Rejected oversized local file parse payload', {
|
||||
@@ -948,12 +968,14 @@ async function handlePdfBuffer(
|
||||
filename: string,
|
||||
fileType?: string,
|
||||
originalPath?: string,
|
||||
maxParsedOutputBytes?: number
|
||||
maxParsedOutputBytes?: number,
|
||||
signal?: AbortSignal
|
||||
): Promise<ParseResult> {
|
||||
try {
|
||||
signal?.throwIfAborted()
|
||||
logger.info(`Parsing PDF in memory: ${filename}`)
|
||||
|
||||
const result = await parseBufferAsPdf(fileBuffer)
|
||||
const result = await parseBufferAsPdf(fileBuffer, signal)
|
||||
|
||||
const content =
|
||||
result.content ||
|
||||
@@ -972,6 +994,7 @@ async function handlePdfBuffer(
|
||||
},
|
||||
}
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
if (isPayloadSizeLimitError(error)) throw error
|
||||
|
||||
logger.error('Failed to parse PDF in memory:', error)
|
||||
@@ -1149,14 +1172,16 @@ function handleGenericBuffer(
|
||||
/**
|
||||
* Parse a PDF buffer
|
||||
*/
|
||||
async function parseBufferAsPdf(buffer: Buffer) {
|
||||
async function parseBufferAsPdf(buffer: Buffer, signal?: AbortSignal) {
|
||||
try {
|
||||
signal?.throwIfAborted()
|
||||
const { PdfParser } = await import('@/lib/file-parsers/pdf-parser')
|
||||
const parser = new PdfParser()
|
||||
logger.info('Using main PDF parser for buffer')
|
||||
|
||||
return await parser.parseBuffer(buffer)
|
||||
return await parser.parseBuffer(buffer, { signal })
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
throw new Error(`PDF parsing failed: ${(error as Error).message}`)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,18 +3,26 @@
|
||||
*/
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const { mockCreateConnection, mockNetConnect, mockValidateDatabaseHost } = vi.hoisted(() => ({
|
||||
mockCreateConnection: vi.fn(),
|
||||
mockNetConnect: vi.fn(),
|
||||
mockValidateDatabaseHost: vi.fn(),
|
||||
}))
|
||||
const { mockCreateConnection, mockNetConnect, mockTypedParameterNull, mockValidateDatabaseHost } =
|
||||
vi.hoisted(() => {
|
||||
class MockTypedParameter {}
|
||||
return {
|
||||
mockCreateConnection: vi.fn(),
|
||||
mockNetConnect: vi.fn(),
|
||||
mockTypedParameterNull: vi.fn(() => new MockTypedParameter()),
|
||||
mockValidateDatabaseHost: vi.fn(),
|
||||
}
|
||||
})
|
||||
|
||||
vi.mock('node:net', () => ({
|
||||
default: { connect: mockNetConnect },
|
||||
}))
|
||||
|
||||
vi.mock('mysql2/promise', () => ({
|
||||
default: { createConnection: mockCreateConnection },
|
||||
default: {
|
||||
createConnection: mockCreateConnection,
|
||||
TypedParameter: { NULL: mockTypedParameterNull },
|
||||
},
|
||||
}))
|
||||
|
||||
vi.mock('@/lib/core/security/input-validation.server', () => ({
|
||||
@@ -114,4 +122,53 @@ describe('MySQL client', () => {
|
||||
await expect(execution).rejects.toMatchObject({ name: 'AbortError' })
|
||||
expect(connection.destroy).toHaveBeenCalledOnce()
|
||||
})
|
||||
|
||||
it('rejects unsupported bind values before executing the query', async () => {
|
||||
const connection = { execute: vi.fn(), destroy: vi.fn() }
|
||||
|
||||
await expect(executeMysqlCommand(connection as never, 'SELECT ?', [undefined])).rejects.toThrow(
|
||||
'MySQL bind values must contain only supported scalar or structured values'
|
||||
)
|
||||
expect(connection.execute).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it.each([
|
||||
new Map([['key', 'value']]),
|
||||
new Set(['value']),
|
||||
/value/,
|
||||
Object.assign(Object.create(null) as Record<string, unknown>, { key: 'value' }),
|
||||
])('rejects non-plain structured bind values: %s', async (value) => {
|
||||
const connection = { execute: vi.fn(), destroy: vi.fn() }
|
||||
|
||||
await expect(executeMysqlCommand(connection as never, 'SELECT ?', [value])).rejects.toThrow(
|
||||
'MySQL bind values must contain only supported scalar or structured values'
|
||||
)
|
||||
expect(connection.execute).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('accepts nested plain structured bind values', async () => {
|
||||
const result = { affectedRows: 1 }
|
||||
const values = [{ nested: ['value', 1, true, null] }]
|
||||
const connection = {
|
||||
execute: vi.fn().mockResolvedValue([result]),
|
||||
destroy: vi.fn(),
|
||||
}
|
||||
|
||||
await expect(executeMysqlCommand(connection as never, 'SELECT ?', values)).resolves.toBe(result)
|
||||
expect(connection.execute).toHaveBeenCalledWith('SELECT ?', values)
|
||||
})
|
||||
|
||||
it('accepts mysql2 typed parameters', async () => {
|
||||
const result = { affectedRows: 1 }
|
||||
const typedParameter = mockTypedParameterNull()
|
||||
const connection = {
|
||||
execute: vi.fn().mockResolvedValue([result]),
|
||||
destroy: vi.fn(),
|
||||
}
|
||||
|
||||
await expect(
|
||||
executeMysqlCommand(connection as never, 'SELECT ?', [typedParameter])
|
||||
).resolves.toBe(result)
|
||||
expect(connection.execute).toHaveBeenCalledWith('SELECT ?', [typedParameter])
|
||||
})
|
||||
})
|
||||
@@ -11,6 +11,35 @@ export interface MysqlConnectionConfig {
|
||||
ssl: 'disabled' | 'required' | 'preferred'
|
||||
}
|
||||
|
||||
const MYSQL_TYPED_PARAMETER_PROTOTYPE = Object.getPrototypeOf(mysql.TypedParameter.NULL())
|
||||
|
||||
function isMysqlExecuteValue(value: unknown): value is mysql.ExecuteValues {
|
||||
if (
|
||||
value === null ||
|
||||
['string', 'number', 'bigint', 'boolean'].includes(typeof value) ||
|
||||
value instanceof Date ||
|
||||
value instanceof Blob ||
|
||||
value instanceof Uint8Array
|
||||
) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (Array.isArray(value)) return value.every(isMysqlExecuteValue)
|
||||
if (typeof value !== 'object') return false
|
||||
const prototype = Object.getPrototypeOf(value)
|
||||
if (prototype === MYSQL_TYPED_PARAMETER_PROTOTYPE) return true
|
||||
if (prototype !== Object.prototype) return false
|
||||
return Object.values(value).every(isMysqlExecuteValue)
|
||||
}
|
||||
|
||||
function assertMysqlExecuteValues(
|
||||
values: unknown[] | undefined
|
||||
): asserts values is mysql.ExecuteValues[] | undefined {
|
||||
if (values?.some((value) => !isMysqlExecuteValue(value))) {
|
||||
throw new TypeError('MySQL bind values must contain only supported scalar or structured values')
|
||||
}
|
||||
}
|
||||
|
||||
export async function createMysqlConnection(
|
||||
config: MysqlConnectionConfig,
|
||||
signal?: AbortSignal
|
||||
@@ -70,6 +99,7 @@ export async function executeMysqlCommand<TResult extends mysql.QueryResult>(
|
||||
signal?.addEventListener('abort', destroyConnection, { once: true })
|
||||
|
||||
try {
|
||||
assertMysqlExecuteValues(values)
|
||||
const [result] = await connection.execute<TResult>(query, values)
|
||||
signal?.throwIfAborted()
|
||||
return result
|
||||
|
||||
@@ -45,6 +45,7 @@ vi.mock('@/lib/audio/extractor', () => ({
|
||||
extractAudioFromVideo: vi.fn(),
|
||||
}))
|
||||
|
||||
import { extractAudioFromVideo, isVideoFile } from '@/lib/audio/extractor'
|
||||
import { executeSttTool } from '@/lib/internal/stt/execute-tool'
|
||||
import type { InternalToolOperationCall } from '@/lib/internal/tool-operations/types'
|
||||
|
||||
@@ -161,6 +162,31 @@ describe('executeSttTool', () => {
|
||||
expect(data.transcript).toBe('hello world')
|
||||
})
|
||||
|
||||
it('forwards tool cancellation through video audio extraction', async () => {
|
||||
const controller = new AbortController()
|
||||
vi.mocked(isVideoFile).mockReturnValueOnce(true)
|
||||
vi.mocked(extractAudioFromVideo).mockResolvedValueOnce({
|
||||
buffer: Buffer.from('converted-audio'),
|
||||
duration: 1,
|
||||
format: 'mp3',
|
||||
size: 15,
|
||||
})
|
||||
inputValidationMockFns.mockSecureFetchWithPinnedIP.mockResolvedValueOnce(
|
||||
mockSecureFetchResponse({ contentType: 'video/mp4' })
|
||||
)
|
||||
|
||||
const response = await executeSttTool(
|
||||
createVerifiedSttRequest(baseBody, { signal: controller.signal })
|
||||
)
|
||||
|
||||
expect(response.status).toBe(200)
|
||||
expect(extractAudioFromVideo).toHaveBeenCalledWith(
|
||||
expect.any(Buffer),
|
||||
'video/mp4',
|
||||
expect.objectContaining({ signal: controller.signal })
|
||||
)
|
||||
})
|
||||
|
||||
it('rejects an authenticated but incomplete private provenance envelope before downloading', async () => {
|
||||
const response = await executeSttTool(
|
||||
createSttRequest(
|
||||
|
||||
@@ -296,13 +296,21 @@ export async function executeSttOperation(
|
||||
outputFormat: 'mp3',
|
||||
sampleRate: 16000,
|
||||
channels: 1,
|
||||
signal,
|
||||
})
|
||||
signal?.throwIfAborted()
|
||||
audioBuffer = extracted.buffer
|
||||
audioMimeType = 'audio/mpeg'
|
||||
audioFileName = audioFileName.replace(/\.[^.]+$/, '.mp3')
|
||||
} catch (error) {
|
||||
signal?.throwIfAborted()
|
||||
logger.error(`[${requestId}] Video extraction failed:`, error)
|
||||
if (isPayloadSizeLimitError(error)) {
|
||||
return Response.json(
|
||||
{ error: 'Extracted audio exceeds the maximum supported size' },
|
||||
{ status: 413 }
|
||||
)
|
||||
}
|
||||
return Response.json(
|
||||
{
|
||||
error: `Failed to extract audio from video: ${getErrorMessage(error, 'Unknown error')}`,
|
||||
|
||||
@@ -79,7 +79,7 @@ vi.mock('node:child_process', () => ({
|
||||
},
|
||||
}))
|
||||
|
||||
import { runFfmpegOperation } from '@/lib/media/ffmpeg'
|
||||
import { extFromMime, runFfmpegOperation } from '@/lib/media/ffmpeg'
|
||||
|
||||
const videoInput = {
|
||||
buffer: Buffer.from('fake-video-bytes'),
|
||||
@@ -87,6 +87,33 @@ const videoInput = {
|
||||
name: 'clip.mp4',
|
||||
}
|
||||
|
||||
describe('extFromMime', () => {
|
||||
it('normalizes parameters and casing before selecting a known extension', () => {
|
||||
expect(extFromMime(' Video/MP4; codecs=avc1 ')).toBe('mp4')
|
||||
})
|
||||
|
||||
it.each(['constructor', '__proto__', 'toString'])(
|
||||
'does not resolve inherited object properties as MIME types: %s',
|
||||
(mimeType) => {
|
||||
expect(extFromMime(mimeType)).toBe('bin')
|
||||
}
|
||||
)
|
||||
|
||||
it.each(['video/../../../../escaped', 'video/..\\..\\..\\..\\escaped', 'video/mp4\\..\\escaped'])(
|
||||
'rejects path syntax in an unknown MIME subtype: %s',
|
||||
(mimeType) => {
|
||||
expect(extFromMime(mimeType)).toBe('bin')
|
||||
}
|
||||
)
|
||||
|
||||
it('never returns separators from extra MIME path segments', () => {
|
||||
const extension = extFromMime('video/mp4/../../escaped')
|
||||
|
||||
expect(extension).toBe('mp4')
|
||||
expect(extension).not.toMatch(/[\\/]/)
|
||||
})
|
||||
})
|
||||
|
||||
/** Resolves once the next FFmpeg command reaches `.save()`, i.e. once it is running. */
|
||||
function nextSave(): Promise<void> {
|
||||
return new Promise((resolve) => saves.waiters.push(resolve))
|
||||
|
||||
@@ -181,7 +181,13 @@ const EXT_TO_MIME: Record<string, string> = {
|
||||
}
|
||||
|
||||
function extFromMime(mime: string): string {
|
||||
return MIME_TO_EXT[mime] || mime.split('/')[1] || 'bin'
|
||||
const normalizedMime = mime.split(';', 1)[0].trim().toLowerCase()
|
||||
if (Object.hasOwn(MIME_TO_EXT, normalizedMime)) {
|
||||
return MIME_TO_EXT[normalizedMime]
|
||||
}
|
||||
|
||||
const subtype = normalizedMime.split('/')[1]
|
||||
return subtype && /^[a-z0-9][a-z0-9.+_-]{0,63}$/.test(subtype) ? subtype : 'bin'
|
||||
}
|
||||
|
||||
function mimeFromExt(ext: string): string {
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* @vitest-environment node
|
||||
*/
|
||||
import { use } from 'echarts/core'
|
||||
import { SVGRenderer } from 'echarts/renderers'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { init } from '@/lib/pptx-renderer/renderer/echarts-runtime'
|
||||
|
||||
use([SVGRenderer])
|
||||
|
||||
describe('PPTX ECharts runtime smoke', () => {
|
||||
it('renders representative registered charts and components', () => {
|
||||
const chart = init(null, null, {
|
||||
renderer: 'svg',
|
||||
ssr: true,
|
||||
width: 400,
|
||||
height: 300,
|
||||
})
|
||||
|
||||
try {
|
||||
chart.setOption({
|
||||
title: { text: 'Quarterly results' },
|
||||
tooltip: {},
|
||||
legend: {},
|
||||
xAxis: { type: 'category', data: ['Q1', 'Q2'] },
|
||||
yAxis: { type: 'value' },
|
||||
series: [
|
||||
{ name: 'Revenue', type: 'bar', data: [12, 18] },
|
||||
{ name: 'Target', type: 'line', data: [10, 16] },
|
||||
],
|
||||
})
|
||||
|
||||
const svg = chart.renderToSVGString()
|
||||
expect(svg).toContain('<svg')
|
||||
expect(svg).toContain('Quarterly results')
|
||||
expect(chart.getModel().getSeriesCount()).toBe(2)
|
||||
} finally {
|
||||
chart.dispose()
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -99,10 +99,6 @@ const nextConfig: NextConfig = {
|
||||
'@daytona/sdk',
|
||||
'@earendil-works/pi-ai',
|
||||
'@earendil-works/pi-coding-agent',
|
||||
// pdf.js resolves its worker via a runtime-relative dynamic import
|
||||
// (`webpackIgnore: true`); bundling pdf.mjs breaks that resolution, so it
|
||||
// must load from node_modules like `unpdf` did before it.
|
||||
'pdfjs-dist',
|
||||
// The collab-doc seed converter lazily `require`s jsdom for a headless TipTap editor. Keep it
|
||||
// external so webpack doesn't try to bundle jsdom's dynamic internal requires.
|
||||
'jsdom',
|
||||
@@ -243,7 +239,8 @@ const nextConfig: NextConfig = {
|
||||
],
|
||||
}),
|
||||
transpilePackages: [
|
||||
'react-email',
|
||||
'@react-email/components',
|
||||
'@react-email/render',
|
||||
'@t3-oss/env-nextjs',
|
||||
'@t3-oss/env-core',
|
||||
'@sim/db',
|
||||
|
||||
@@ -63,17 +63,17 @@
|
||||
"@aws-sdk/s3-request-presigner": "3.1117.0",
|
||||
"@azure/communication-email": "1.1.0",
|
||||
"@azure/storage-blob": "12.27.0",
|
||||
"@better-auth/core": "1.6.27",
|
||||
"@better-auth/sso": "1.6.27",
|
||||
"@better-auth/stripe": "1.6.27",
|
||||
"@browserbasehq/stagehand": "^3.2.1",
|
||||
"@calcom/embed-react": "1.5.3",
|
||||
"@c15t/nextjs": "2.2.1",
|
||||
"@c15t/scripts": "2.2.0",
|
||||
"@cerebras/cerebras_cloud_sdk": "^1.23.0",
|
||||
"@daytona/sdk": "0.207.0",
|
||||
"@e2b/code-interpreter": "2.7.1",
|
||||
"@earendil-works/pi-ai": "0.84.3",
|
||||
"@earendil-works/pi-coding-agent": "0.84.3",
|
||||
"@earendil-works/pi-ai": "0.80.10",
|
||||
"@earendil-works/pi-coding-agent": "0.80.10",
|
||||
"@floating-ui/dom": "1.7.6",
|
||||
"@google-cloud/storage": "7.21.0",
|
||||
"@google/genai": "2.13.0",
|
||||
@@ -82,7 +82,6 @@
|
||||
"@marsidev/react-turnstile": "1.4.2",
|
||||
"@modelcontextprotocol/sdk": "1.29.0",
|
||||
"@monaco-editor/react": "4.7.0",
|
||||
"@next/env": "16.3.1",
|
||||
"@opentelemetry/api": "^1.9.0",
|
||||
"@opentelemetry/core": "2.10.0",
|
||||
"@opentelemetry/exporter-logs-otlp-http": "0.221.0",
|
||||
@@ -108,6 +107,8 @@
|
||||
"@radix-ui/react-slot": "1.3.3",
|
||||
"@radix-ui/react-switch": "1.3.7",
|
||||
"@radix-ui/react-tabs": "1.1.21",
|
||||
"@react-email/components": "1.0.12",
|
||||
"@react-email/render": "2.1.0",
|
||||
"@sim/audit": "workspace:*",
|
||||
"@sim/auth": "workspace:*",
|
||||
"@sim/browser-protocol": "workspace:*",
|
||||
@@ -159,7 +160,6 @@
|
||||
"binary-extensions": "3.1.0",
|
||||
"browser-image-compression": "^2.0.2",
|
||||
"busboy": "1.6.0",
|
||||
"c15t": "2.2.1",
|
||||
"cheerio": "1.1.2",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -202,7 +202,7 @@
|
||||
"monaco-editor": "0.55.1",
|
||||
"mongodb": "6.19.0",
|
||||
"mssql": "12.7.0",
|
||||
"mysql2": "3.14.3",
|
||||
"mysql2": "3.24.2",
|
||||
"neo4j-driver": "6.0.1",
|
||||
"next": "16.3.1",
|
||||
"next-mdx-remote": "^6.0.0",
|
||||
@@ -223,7 +223,6 @@
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-hook-form": "^7.54.2",
|
||||
"react-email": "6.9.0",
|
||||
"react-pdf": "10.4.1",
|
||||
"react-simple-code-editor": "^0.14.1",
|
||||
"rehype-autolink-headings": "^7.1.0",
|
||||
@@ -250,6 +249,7 @@
|
||||
"zustand": "^5.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/env": "16.3.1",
|
||||
"@sim/testing": "workspace:*",
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@tailwindcss/typography": "0.5.19",
|
||||
@@ -276,6 +276,7 @@
|
||||
"node-gyp": "12.4.0",
|
||||
"postcss": "^8",
|
||||
"postcss-load-config": "6.0.1",
|
||||
"react-email": "6.9.0",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^7.0.2",
|
||||
"vitest": "^4.1.0"
|
||||
|
||||
@@ -7,12 +7,13 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'claude-fable-5',
|
||||
'claude-haiku-4-5',
|
||||
'claude-haiku-4-5-20251001',
|
||||
'claude-opus-4-1',
|
||||
'claude-opus-4-1-20250805',
|
||||
'claude-opus-4-5',
|
||||
'claude-opus-4-5-20251101',
|
||||
'claude-opus-4-6',
|
||||
'claude-opus-4-7',
|
||||
'claude-opus-4-8',
|
||||
'claude-opus-5',
|
||||
'claude-sonnet-4-5',
|
||||
'claude-sonnet-4-5-20250929',
|
||||
'claude-sonnet-4-6',
|
||||
@@ -31,12 +32,18 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'gpt-4o-mini',
|
||||
'gpt-5',
|
||||
'gpt-5-chat-latest',
|
||||
'gpt-5-codex',
|
||||
'gpt-5-mini',
|
||||
'gpt-5-nano',
|
||||
'gpt-5-pro',
|
||||
'gpt-5.1',
|
||||
'gpt-5.1-chat-latest',
|
||||
'gpt-5.1-codex',
|
||||
'gpt-5.1-codex-max',
|
||||
'gpt-5.1-codex-mini',
|
||||
'gpt-5.2',
|
||||
'gpt-5.2-chat-latest',
|
||||
'gpt-5.2-codex',
|
||||
'gpt-5.2-pro',
|
||||
'gpt-5.3-chat-latest',
|
||||
'gpt-5.3-codex',
|
||||
@@ -54,35 +61,31 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'o1',
|
||||
'o1-pro',
|
||||
'o3',
|
||||
'o3-deep-research',
|
||||
'o3-mini',
|
||||
'o3-pro',
|
||||
'o4-mini',
|
||||
'o4-mini-deep-research',
|
||||
],
|
||||
google: [
|
||||
'deep-research-max-preview-04-2026',
|
||||
'deep-research-preview-04-2026',
|
||||
'gemini-2.5-computer-use-preview-10-2025',
|
||||
'gemini-2.0-flash',
|
||||
'gemini-2.0-flash-lite',
|
||||
'gemini-2.5-flash',
|
||||
'gemini-2.5-flash-lite',
|
||||
'gemini-2.5-pro',
|
||||
'gemini-3-flash-preview',
|
||||
'gemini-3-pro-preview',
|
||||
'gemini-3.1-flash-lite',
|
||||
'gemini-3.1-flash-lite-image',
|
||||
'gemini-3.1-flash-lite-preview',
|
||||
'gemini-3.1-flash-live-preview',
|
||||
'gemini-3.1-pro-preview',
|
||||
'gemini-3.1-pro-preview-customtools',
|
||||
'gemini-3.5-flash',
|
||||
'gemini-3.5-flash-lite',
|
||||
'gemini-3.6-flash',
|
||||
'gemini-3.7-flash',
|
||||
'gemini-flash-latest',
|
||||
'gemini-flash-lite-latest',
|
||||
'gemini-robotics-er-1.6-preview',
|
||||
'gemma-4-26b-a4b-it',
|
||||
'gemma-4-31b-it',
|
||||
],
|
||||
xai: ['grok-4.3', 'grok-4.5', 'grok-4.6', 'grok-build-0.1'],
|
||||
xai: ['grok-4.3', 'grok-4.5', 'grok-build-0.1'],
|
||||
deepseek: ['deepseek-v4-flash', 'deepseek-v4-pro'],
|
||||
mistral: [
|
||||
'codestral-latest',
|
||||
@@ -115,18 +118,19 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'open-mixtral-8x7b',
|
||||
'pixtral-12b',
|
||||
'pixtral-large-latest',
|
||||
'voxtral-small-latest',
|
||||
],
|
||||
groq: [
|
||||
'llama-3.1-8b-instant',
|
||||
'llama-3.3-70b-versatile',
|
||||
'meta-llama/llama-4-scout-17b-16e-instruct',
|
||||
'openai/gpt-oss-120b',
|
||||
'openai/gpt-oss-20b',
|
||||
'openai/gpt-oss-safeguard-20b',
|
||||
'qwen/qwen3.6-27b',
|
||||
'qwen/qwen3-32b',
|
||||
],
|
||||
cerebras: ['gemma-4-31b', 'gpt-oss-120b'],
|
||||
cerebras: ['gemma-4-31b', 'gpt-oss-120b', 'zai-glm-4.7'],
|
||||
openrouter: [
|
||||
'ai21/jamba-large-1.7',
|
||||
'aion-labs/aion-2.0',
|
||||
'aion-labs/aion-3.0',
|
||||
'aion-labs/aion-3.0-mini',
|
||||
@@ -137,39 +141,24 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'amazon/nova-pro-v1',
|
||||
'anthropic/claude-3-haiku',
|
||||
'anthropic/claude-fable-5',
|
||||
'anthropic/claude-fable-5:batch',
|
||||
'anthropic/claude-haiku-4.5',
|
||||
'anthropic/claude-haiku-4.5:batch',
|
||||
'anthropic/claude-opus-4',
|
||||
'anthropic/claude-opus-4.1',
|
||||
'anthropic/claude-opus-4.1:batch',
|
||||
'anthropic/claude-opus-4.5',
|
||||
'anthropic/claude-opus-4.5:batch',
|
||||
'anthropic/claude-opus-4.6',
|
||||
'anthropic/claude-opus-4.6:batch',
|
||||
'anthropic/claude-opus-4.7',
|
||||
'anthropic/claude-opus-4.7-fast',
|
||||
'anthropic/claude-opus-4.7:batch',
|
||||
'anthropic/claude-opus-4.8',
|
||||
'anthropic/claude-opus-4.8-fast',
|
||||
'anthropic/claude-opus-4.8:batch',
|
||||
'anthropic/claude-opus-5',
|
||||
'anthropic/claude-opus-5-fast',
|
||||
'anthropic/claude-opus-5:batch',
|
||||
'anthropic/claude-sonnet-4',
|
||||
'anthropic/claude-sonnet-4.5',
|
||||
'anthropic/claude-sonnet-4.5:batch',
|
||||
'anthropic/claude-sonnet-4.6',
|
||||
'anthropic/claude-sonnet-4.6:batch',
|
||||
'anthropic/claude-sonnet-5',
|
||||
'anthropic/claude-sonnet-5:batch',
|
||||
'arcee-ai/trinity-large-thinking',
|
||||
'arcee-ai/virtuoso-large',
|
||||
'auto',
|
||||
'bytedance-seed/seed-1.6',
|
||||
'bytedance-seed/seed-1.6-flash',
|
||||
'bytedance-seed/seed-2-1-turbo',
|
||||
'bytedance-seed/seed-2.0-code',
|
||||
'bytedance-seed/seed-2.0-lite',
|
||||
'bytedance-seed/seed-2.0-mini',
|
||||
'cohere/command-r-08-2024',
|
||||
@@ -184,36 +173,19 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'deepseek/deepseek-v3.2',
|
||||
'deepseek/deepseek-v3.2-exp',
|
||||
'deepseek/deepseek-v4-flash',
|
||||
'deepseek/deepseek-v4-flash-0731',
|
||||
'deepseek/deepseek-v4-flash-vision-exp',
|
||||
'deepseek/deepseek-v4-pro',
|
||||
'deepseek/deepseek-v4-pro-0813',
|
||||
'dots-studio/dots-3-note-preview:free',
|
||||
'google/gemini-2.5-flash',
|
||||
'google/gemini-2.5-flash-lite',
|
||||
'google/gemini-2.5-flash-lite:batch',
|
||||
'google/gemini-2.5-flash:batch',
|
||||
'google/gemini-2.5-pro',
|
||||
'google/gemini-2.5-pro-preview',
|
||||
'google/gemini-2.5-pro-preview-05-06',
|
||||
'google/gemini-2.5-pro:batch',
|
||||
'google/gemini-3-flash-preview',
|
||||
'google/gemini-3-flash-preview:batch',
|
||||
'google/gemini-3-pro-image',
|
||||
'google/gemini-3.1-flash-lite',
|
||||
'google/gemini-3.1-flash-lite-preview',
|
||||
'google/gemini-3.1-flash-lite:batch',
|
||||
'google/gemini-3.1-pro-preview',
|
||||
'google/gemini-3.1-pro-preview-customtools',
|
||||
'google/gemini-3.1-pro-preview:batch',
|
||||
'google/gemini-3.5-flash',
|
||||
'google/gemini-3.5-flash-lite',
|
||||
'google/gemini-3.5-flash-lite:batch',
|
||||
'google/gemini-3.5-flash:batch',
|
||||
'google/gemini-3.6-flash',
|
||||
'google/gemini-3.6-flash:batch',
|
||||
'google/gemini-3.7-flash',
|
||||
'google/gemini-3.7-flash:batch',
|
||||
'google/gemma-3-12b-it',
|
||||
'google/gemma-3-27b-it',
|
||||
'google/gemma-4-26b-a4b-it',
|
||||
@@ -222,29 +194,27 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'google/gemma-4-31b-it:free',
|
||||
'ibm-granite/granite-4.1-8b',
|
||||
'inception/mercury-2',
|
||||
'inclusionai/ling-3.0-flash',
|
||||
'inclusionai/ling-2.6-1t',
|
||||
'inclusionai/ling-2.6-flash',
|
||||
'inclusionai/ring-2.6-1t',
|
||||
'kwaipilot/kat-coder-air-v2.5',
|
||||
'kwaipilot/kat-coder-pro-v2',
|
||||
'kwaipilot/kat-coder-pro-v2.5',
|
||||
'liquid/lfm-2.5-2.6b:free',
|
||||
'meituan/longcat-2.0',
|
||||
'meta-llama/llama-3.1-70b-instruct',
|
||||
'meta-llama/llama-3.1-8b-instruct',
|
||||
'meta-llama/llama-3.3-70b-instruct',
|
||||
'meta-llama/llama-3.3-70b-instruct:free',
|
||||
'meta-llama/llama-4-maverick',
|
||||
'meta-llama/llama-4-scout',
|
||||
'meta/muse-glimmer-30b',
|
||||
'meta/muse-spark-1.1',
|
||||
'meta/muse-spark-1.2',
|
||||
'meta/muse-spark-1.2-contributor',
|
||||
'minimax/minimax-m1',
|
||||
'minimax/minimax-m2',
|
||||
'minimax/minimax-m2.1',
|
||||
'minimax/minimax-m2.5',
|
||||
'minimax/minimax-m2.7',
|
||||
'minimax/minimax-m3',
|
||||
'minimax/minimax-m3:batch',
|
||||
'mistralai/codestral-2508',
|
||||
'mistralai/devstral-2512',
|
||||
'mistralai/ministral-14b-2512',
|
||||
'mistralai/ministral-3b-2512',
|
||||
'mistralai/ministral-8b-2512',
|
||||
@@ -266,115 +236,83 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'moonshotai/kimi-k2.5',
|
||||
'moonshotai/kimi-k2.6',
|
||||
'moonshotai/kimi-k2.7-code',
|
||||
'moonshotai/kimi-k2.7-code:batch',
|
||||
'moonshotai/kimi-k3',
|
||||
'nex-agi/nex-n2-mini',
|
||||
'nex-agi/nex-n2-pro',
|
||||
'nvidia/llama-3.3-nemotron-super-49b-v1.5',
|
||||
'nvidia/nemotron-3-nano-30b-a3b',
|
||||
'nvidia/nemotron-3-nano-30b-a3b:free',
|
||||
'nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free',
|
||||
'nvidia/nemotron-3-super-120b-a12b',
|
||||
'nvidia/nemotron-3-super-120b-a12b:free',
|
||||
'nvidia/nemotron-3-ultra-550b-a55b',
|
||||
'nvidia/nemotron-3-ultra-550b-a55b:batch',
|
||||
'nvidia/nemotron-3-ultra-550b-a55b:free',
|
||||
'nvidia/nemotron-3.5-lightning',
|
||||
'nvidia/nemotron-3.5-lightning:free',
|
||||
'nvidia/nemotron-nano-12b-v2-vl:free',
|
||||
'nvidia/nemotron-nano-9b-v2:free',
|
||||
'openai/gpt-3.5-turbo',
|
||||
'openai/gpt-3.5-turbo-0613',
|
||||
'openai/gpt-3.5-turbo-16k',
|
||||
'openai/gpt-3.5-turbo:batch',
|
||||
'openai/gpt-4',
|
||||
'openai/gpt-4-turbo',
|
||||
'openai/gpt-4-turbo-preview',
|
||||
'openai/gpt-4-turbo:batch',
|
||||
'openai/gpt-4.1',
|
||||
'openai/gpt-4.1-mini',
|
||||
'openai/gpt-4.1-mini:batch',
|
||||
'openai/gpt-4.1-nano',
|
||||
'openai/gpt-4.1-nano:batch',
|
||||
'openai/gpt-4.1:batch',
|
||||
'openai/gpt-4o',
|
||||
'openai/gpt-4o-2024-05-13',
|
||||
'openai/gpt-4o-2024-08-06',
|
||||
'openai/gpt-4o-2024-11-20',
|
||||
'openai/gpt-4o-mini',
|
||||
'openai/gpt-4o-mini-2024-07-18',
|
||||
'openai/gpt-4o-mini:batch',
|
||||
'openai/gpt-4o:batch',
|
||||
'openai/gpt-5',
|
||||
'openai/gpt-5-codex:batch',
|
||||
'openai/gpt-5-codex',
|
||||
'openai/gpt-5-mini',
|
||||
'openai/gpt-5-mini:batch',
|
||||
'openai/gpt-5-nano',
|
||||
'openai/gpt-5-nano:batch',
|
||||
'openai/gpt-5-pro',
|
||||
'openai/gpt-5-pro:batch',
|
||||
'openai/gpt-5.1',
|
||||
'openai/gpt-5.1-chat',
|
||||
'openai/gpt-5.1-codex',
|
||||
'openai/gpt-5.1-codex-max',
|
||||
'openai/gpt-5.1-codex-mini',
|
||||
'openai/gpt-5.1:batch',
|
||||
'openai/gpt-5.2',
|
||||
'openai/gpt-5.2-chat',
|
||||
'openai/gpt-5.2-codex',
|
||||
'openai/gpt-5.2-pro',
|
||||
'openai/gpt-5.2-pro:batch',
|
||||
'openai/gpt-5.2:batch',
|
||||
'openai/gpt-5.3-chat',
|
||||
'openai/gpt-5.3-codex',
|
||||
'openai/gpt-5.4',
|
||||
'openai/gpt-5.4-mini',
|
||||
'openai/gpt-5.4-mini:batch',
|
||||
'openai/gpt-5.4-nano',
|
||||
'openai/gpt-5.4-nano:batch',
|
||||
'openai/gpt-5.4-pro',
|
||||
'openai/gpt-5.4-pro:batch',
|
||||
'openai/gpt-5.4:batch',
|
||||
'openai/gpt-5.5',
|
||||
'openai/gpt-5.5-pro',
|
||||
'openai/gpt-5.5-pro:batch',
|
||||
'openai/gpt-5.5:batch',
|
||||
'openai/gpt-5.6-luna',
|
||||
'openai/gpt-5.6-luna-pro',
|
||||
'openai/gpt-5.6-luna-pro:batch',
|
||||
'openai/gpt-5.6-luna:batch',
|
||||
'openai/gpt-5.6-sol',
|
||||
'openai/gpt-5.6-sol-pro',
|
||||
'openai/gpt-5.6-sol-pro:batch',
|
||||
'openai/gpt-5.6-sol:batch',
|
||||
'openai/gpt-5.6-terra',
|
||||
'openai/gpt-5.6-terra-pro',
|
||||
'openai/gpt-5.6-terra-pro:batch',
|
||||
'openai/gpt-5.6-terra:batch',
|
||||
'openai/gpt-5:batch',
|
||||
'openai/gpt-audio',
|
||||
'openai/gpt-audio-mini',
|
||||
'openai/gpt-chat-latest',
|
||||
'openai/gpt-oss-120b',
|
||||
'openai/gpt-oss-20b',
|
||||
'openai/gpt-oss-20b:free',
|
||||
'openai/gpt-oss-safeguard-20b',
|
||||
'openai/o1',
|
||||
'openai/o1:batch',
|
||||
'openai/o3',
|
||||
'openai/o3-deep-research',
|
||||
'openai/o3-mini',
|
||||
'openai/o3-mini-high',
|
||||
'openai/o3-mini-high:batch',
|
||||
'openai/o3-mini:batch',
|
||||
'openai/o3-pro',
|
||||
'openai/o3-pro:batch',
|
||||
'openai/o3:batch',
|
||||
'openai/o4-mini',
|
||||
'openai/o4-mini-deep-research',
|
||||
'openai/o4-mini-high',
|
||||
'openai/o4-mini-high:batch',
|
||||
'openai/o4-mini:batch',
|
||||
'openrouter/auto',
|
||||
'openrouter/auto-beta',
|
||||
'openrouter/free',
|
||||
'openrouter/fusion',
|
||||
'poolside/laguna-s-2.1',
|
||||
'poolside/laguna-s-2.1:free',
|
||||
'poolside/laguna-m.1',
|
||||
'poolside/laguna-m.1:free',
|
||||
'poolside/laguna-xs-2.1',
|
||||
'poolside/laguna-xs-2.1:free',
|
||||
'qwen/qwen-2.5-72b-instruct',
|
||||
@@ -396,9 +334,11 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'qwen/qwen3-coder-flash',
|
||||
'qwen/qwen3-coder-next',
|
||||
'qwen/qwen3-coder-plus',
|
||||
'qwen/qwen3-coder:free',
|
||||
'qwen/qwen3-max',
|
||||
'qwen/qwen3-max-thinking',
|
||||
'qwen/qwen3-next-80b-a3b-instruct',
|
||||
'qwen/qwen3-next-80b-a3b-instruct:free',
|
||||
'qwen/qwen3-next-80b-a3b-thinking',
|
||||
'qwen/qwen3-vl-235b-a22b-instruct',
|
||||
'qwen/qwen3-vl-235b-a22b-thinking',
|
||||
@@ -420,34 +360,22 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'qwen/qwen3.6-flash',
|
||||
'qwen/qwen3.6-max-preview',
|
||||
'qwen/qwen3.6-plus',
|
||||
'qwen/qwen3.7-flash',
|
||||
'qwen/qwen3.7-max',
|
||||
'qwen/qwen3.7-plus',
|
||||
'qwen/qwen3.8-2.4t-a95b',
|
||||
'qwen/qwen3.8-27b',
|
||||
'qwen/qwen3.8-max',
|
||||
'rekaai/reka-edge',
|
||||
'relace/relace-search',
|
||||
'sakana/fugu-ultra',
|
||||
'sakana/sakana-namazu',
|
||||
'sao10k/l3.1-euryale-70b',
|
||||
'stealth/ox-alpha',
|
||||
'stepfun/step-3.5-flash',
|
||||
'stepfun/step-3.7-flash',
|
||||
'tencent/hy3',
|
||||
'tencent/hy3-preview',
|
||||
'tencent/hy3:free',
|
||||
'thedrummer/unslopnemo-12b',
|
||||
'thinkingmachines/inkling',
|
||||
'thinkingmachines/inkling-small',
|
||||
'thinkingmachines/inkling-small:free',
|
||||
'thinkingmachines/inkling:batch',
|
||||
'thinkingmachines/inkling:free',
|
||||
'upstage/solar-pro-3',
|
||||
'upstage/solar-pro4',
|
||||
'x-ai/grok-4.20',
|
||||
'x-ai/grok-4.3',
|
||||
'x-ai/grok-4.5',
|
||||
'x-ai/grok-4.6',
|
||||
'x-ai/grok-build-0.1',
|
||||
'xiaomi/mimo-v2.5',
|
||||
'xiaomi/mimo-v2.5-pro',
|
||||
@@ -462,104 +390,81 @@ export const PI_MODEL_IDS_BY_PROVIDER = {
|
||||
'z-ai/glm-5-turbo',
|
||||
'z-ai/glm-5.1',
|
||||
'z-ai/glm-5.2',
|
||||
'z-ai/glm-5.2:batch',
|
||||
'z-ai/glm-5.2:free',
|
||||
'z-ai/glm-5.3',
|
||||
'z-ai/glm-5v-turbo',
|
||||
'~anthropic/claude-fable-latest',
|
||||
'~anthropic/claude-haiku-latest',
|
||||
'~anthropic/claude-opus-latest',
|
||||
'~anthropic/claude-sonnet-latest',
|
||||
'~deepseek/deepseek-v4-flash-latest',
|
||||
'~google/gemini-flash-latest',
|
||||
'~google/gemini-pro-latest',
|
||||
'~moonshotai/kimi-latest',
|
||||
'~openai/gpt-latest',
|
||||
'~openai/gpt-mini-latest',
|
||||
'~x-ai/grok-latest',
|
||||
'~z-ai/glm-latest',
|
||||
],
|
||||
fireworks: [
|
||||
'accounts/fireworks/models/deepseek-v4-flash',
|
||||
'accounts/fireworks/models/deepseek-v4-flash-0731',
|
||||
'accounts/fireworks/models/deepseek-v4-pro',
|
||||
'accounts/fireworks/models/deepseek-v4-pro-0813',
|
||||
'accounts/fireworks/models/glm-5p1',
|
||||
'accounts/fireworks/models/glm-5p2',
|
||||
'accounts/fireworks/models/gpt-oss-120b',
|
||||
'accounts/fireworks/models/gpt-oss-20b',
|
||||
'accounts/fireworks/models/inkling',
|
||||
'accounts/fireworks/models/kimi-k2p6',
|
||||
'accounts/fireworks/models/kimi-k2p7-code',
|
||||
'accounts/fireworks/models/kimi-k3',
|
||||
'accounts/fireworks/models/minimax-m2p7',
|
||||
'accounts/fireworks/models/minimax-m3',
|
||||
'accounts/fireworks/models/muse-glimmer-30b',
|
||||
'accounts/fireworks/models/nemotron-3-ultra-nvfp4',
|
||||
'accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b',
|
||||
'accounts/fireworks/models/qwen3p7-plus',
|
||||
'accounts/fireworks/models/qwen3p8-max',
|
||||
'accounts/fireworks/routers/glm-5p1-fast',
|
||||
'accounts/fireworks/routers/glm-5p2-fast',
|
||||
'accounts/fireworks/routers/kimi-k2p6-fast',
|
||||
'accounts/fireworks/routers/kimi-k2p6-turbo',
|
||||
'accounts/fireworks/routers/kimi-k2p7-code-fast',
|
||||
'accounts/fireworks/routers/kimi-k3-fast',
|
||||
],
|
||||
together: [
|
||||
'MiniMaxAI/MiniMax-M2.7',
|
||||
'MiniMaxAI/MiniMax-M3',
|
||||
'Qwen/Qwen2.5-7B-Instruct-Turbo',
|
||||
'Qwen/Qwen3-235B-A22B-Instruct-2507-tput',
|
||||
'Qwen/Qwen3.5-397B-A17B',
|
||||
'Qwen/Qwen3.5-9B',
|
||||
'Qwen/Qwen3.6-Plus',
|
||||
'Qwen/Qwen3.7-Max',
|
||||
'deepseek-ai/DeepSeek-V4-Flash-0731',
|
||||
'deepseek-ai/DeepSeek-V4-Pro',
|
||||
'deepseek-ai/DeepSeek-V4-Pro-0813',
|
||||
'essentialai/Rnj-1-Instruct',
|
||||
'google/gemma-4-31B-it',
|
||||
'meta-llama/Llama-3.3-70B-Instruct-Turbo',
|
||||
'moonshotai/Kimi-K2.6',
|
||||
'moonshotai/Kimi-K2.7-Code',
|
||||
'moonshotai/Kimi-K3',
|
||||
'nvidia/nemotron-3-ultra-550b-a55b',
|
||||
'openai/gpt-oss-120b',
|
||||
'openai/gpt-oss-20b',
|
||||
'thinkingmachines/Inkling',
|
||||
'zai-org/GLM-5',
|
||||
'zai-org/GLM-5.1',
|
||||
'zai-org/GLM-5.2',
|
||||
],
|
||||
nvidia: [
|
||||
'deepseek-ai/deepseek-v4-flash-0731',
|
||||
'google/gemma-3-12b-it',
|
||||
'google/gemma-3-4b-it',
|
||||
'meta/llama-3.1-70b-instruct',
|
||||
'meta/llama-3.1-8b-instruct',
|
||||
'meta/llama-3.2-11b-vision-instruct',
|
||||
'meta/llama-3.2-90b-vision-instruct',
|
||||
'meta/llama-3.3-70b-instruct',
|
||||
'meta/muse-glimmer-30b',
|
||||
'minimaxai/minimax-m3',
|
||||
'mistralai/mistral-7b-instruct-v0.3',
|
||||
'mistralai/mistral-large-3-675b-instruct-2512',
|
||||
'mistralai/mistral-small-4-119b-2603',
|
||||
'moonshotai/kimi-k2.6',
|
||||
'moonshotai/kimi-k3',
|
||||
'nvidia/cosmos-reason2-8b',
|
||||
'nvidia/llama-3.1-nemotron-70b-instruct',
|
||||
'nvidia/llama-3.1-nemotron-nano-8b-v1',
|
||||
'nvidia/llama-3.1-nemotron-nano-vl-8b-v1',
|
||||
'nvidia/llama-3.1-nemotron-ultra-253b-v1',
|
||||
'nvidia/llama-3.3-nemotron-super-49b-v1',
|
||||
'nvidia/llama-3.3-nemotron-super-49b-v1.5',
|
||||
'nvidia/nemotron-3-nano-30b-a3b',
|
||||
'nvidia/nemotron-3-nano-omni-30b-a3b-reasoning',
|
||||
'nvidia/nemotron-3-super-120b-a12b',
|
||||
'nvidia/nemotron-3-ultra-550b-a55b',
|
||||
'nvidia/nemotron-3.5-lightning-30b-a3b',
|
||||
'nvidia/nemotron-nano-12b-v2-vl',
|
||||
'nvidia/nvidia-nemotron-nano-9b-v2',
|
||||
'openai/gpt-oss-120b',
|
||||
'openai/gpt-oss-20b',
|
||||
'poolside/laguna-xs-2.1',
|
||||
'qwen/qwen3.5-122b-a10b',
|
||||
'stepfun-ai/step-3.5-flash',
|
||||
'stepfun-ai/step-3.7-flash',
|
||||
'thinkingmachines/inkling',
|
||||
'z-ai/glm-5.2',
|
||||
],
|
||||
zai: ['glm-4.7', 'glm-5-turbo', 'glm-5.2', 'glm-5.2-highspeed', 'glm-5.3'],
|
||||
zai: ['glm-4.5-air', 'glm-4.7', 'glm-5-turbo', 'glm-5.1', 'glm-5.2', 'glm-5v-turbo'],
|
||||
kimi: [
|
||||
'kimi-k2-0711-preview',
|
||||
'kimi-k2-0905-preview',
|
||||
|
||||
@@ -32,8 +32,16 @@ describe('Pi provider catalog', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('keeps persisted and selectable Sim models in the pinned Pi catalog', () => {
|
||||
expect(resolvePiModelId('anthropic', 'claude-opus-4-1')).toBe('claude-opus-4-1')
|
||||
expect(resolvePiModelId('cerebras', 'cerebras/zai-glm-4.7')).toBe('zai-glm-4.7')
|
||||
expect(resolvePiModelId('zai', 'glm-5.1')).toBe('glm-5.1')
|
||||
expect(resolvePiModelId('zai', 'glm-4.5-air')).toBe('glm-4.5-air')
|
||||
})
|
||||
|
||||
it('rejects provider/model pairs absent from the installed Pi catalog', () => {
|
||||
expect(resolvePiModelId('anthropic', 'claude-sonnet-999')).toBeUndefined()
|
||||
expect(resolvePiModelId('zai', 'glm-4.5-air-unknown')).toBeUndefined()
|
||||
expect(resolvePiModelId('unsupported', 'model')).toBeUndefined()
|
||||
})
|
||||
})
|
||||
@@ -17,7 +17,7 @@
|
||||
export const PI_BUN_VERSION = '1.3.14'
|
||||
|
||||
/** Exact Pi version mirrored from the app dependencies and lockfile. */
|
||||
export const PI_PACKAGE_VERSION = '0.84.3'
|
||||
export const PI_PACKAGE_VERSION = '0.80.10'
|
||||
|
||||
/** Exact global package versions mirrored from package.json and bun.lock. */
|
||||
export const PI_GLOBAL_NPM_PACKAGES = [
|
||||
@@ -49,7 +49,7 @@ export const PI_APT = [
|
||||
] as const
|
||||
|
||||
/**
|
||||
* Pi 0.84 requires Node >= 22.19 — higher than the Node 20 both the E2B base and
|
||||
* Pi 0.80 requires Node >= 22.19 — higher than the Node 20 both the E2B base and
|
||||
* the other two sandbox images carry, so this image installs its own.
|
||||
*/
|
||||
export const PI_NODE_MAJOR = 22
|
||||
|
||||
@@ -130,7 +130,7 @@ export default defineConfig({
|
||||
packages: [
|
||||
'isolated-vm',
|
||||
'react-dom',
|
||||
'react-email',
|
||||
'@react-email/render',
|
||||
'@earendil-works/pi-ai',
|
||||
'@earendil-works/pi-coding-agent',
|
||||
'@e2b/code-interpreter',
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
declare module 'pdfjs-dist/legacy/build/pdf.worker.mjs' {
|
||||
export const WorkerMessageHandler: unknown
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@types/micromatch": "4.0.10",
|
||||
"@types/node": "24.2.1",
|
||||
"electron": "43.4.1",
|
||||
"electron": "43.5.0",
|
||||
"electron-builder": "26.15.3",
|
||||
"esbuild": "0.28.1",
|
||||
"jsdom": "^26.0.0",
|
||||
@@ -176,17 +176,17 @@
|
||||
"@aws-sdk/s3-request-presigner": "3.1117.0",
|
||||
"@azure/communication-email": "1.1.0",
|
||||
"@azure/storage-blob": "12.27.0",
|
||||
"@better-auth/core": "1.6.27",
|
||||
"@better-auth/sso": "1.6.27",
|
||||
"@better-auth/stripe": "1.6.27",
|
||||
"@browserbasehq/stagehand": "^3.2.1",
|
||||
"@c15t/nextjs": "2.2.1",
|
||||
"@c15t/scripts": "2.2.0",
|
||||
"@calcom/embed-react": "1.5.3",
|
||||
"@cerebras/cerebras_cloud_sdk": "^1.23.0",
|
||||
"@daytona/sdk": "0.207.0",
|
||||
"@e2b/code-interpreter": "2.7.1",
|
||||
"@earendil-works/pi-ai": "0.84.3",
|
||||
"@earendil-works/pi-coding-agent": "0.84.3",
|
||||
"@earendil-works/pi-ai": "0.80.10",
|
||||
"@earendil-works/pi-coding-agent": "0.80.10",
|
||||
"@floating-ui/dom": "1.7.6",
|
||||
"@google-cloud/storage": "7.21.0",
|
||||
"@google/genai": "2.13.0",
|
||||
@@ -195,7 +195,6 @@
|
||||
"@marsidev/react-turnstile": "1.4.2",
|
||||
"@modelcontextprotocol/sdk": "1.29.0",
|
||||
"@monaco-editor/react": "4.7.0",
|
||||
"@next/env": "16.3.1",
|
||||
"@opentelemetry/api": "^1.9.0",
|
||||
"@opentelemetry/core": "2.10.0",
|
||||
"@opentelemetry/exporter-logs-otlp-http": "0.221.0",
|
||||
@@ -221,6 +220,8 @@
|
||||
"@radix-ui/react-slot": "1.3.3",
|
||||
"@radix-ui/react-switch": "1.3.7",
|
||||
"@radix-ui/react-tabs": "1.1.21",
|
||||
"@react-email/components": "1.0.12",
|
||||
"@react-email/render": "2.1.0",
|
||||
"@sim/audit": "workspace:*",
|
||||
"@sim/auth": "workspace:*",
|
||||
"@sim/browser-protocol": "workspace:*",
|
||||
@@ -272,7 +273,6 @@
|
||||
"binary-extensions": "3.1.0",
|
||||
"browser-image-compression": "^2.0.2",
|
||||
"busboy": "1.6.0",
|
||||
"c15t": "2.2.1",
|
||||
"cheerio": "1.1.2",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -315,7 +315,7 @@
|
||||
"monaco-editor": "0.55.1",
|
||||
"mongodb": "6.19.0",
|
||||
"mssql": "12.7.0",
|
||||
"mysql2": "3.14.3",
|
||||
"mysql2": "3.24.2",
|
||||
"neo4j-driver": "6.0.1",
|
||||
"next": "16.3.1",
|
||||
"next-mdx-remote": "^6.0.0",
|
||||
@@ -335,7 +335,6 @@
|
||||
"re2js": "2.8.6",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-email": "6.9.0",
|
||||
"react-hook-form": "^7.54.2",
|
||||
"react-pdf": "10.4.1",
|
||||
"react-simple-code-editor": "^0.14.1",
|
||||
@@ -363,6 +362,7 @@
|
||||
"zustand": "^5.0.13",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/env": "16.3.1",
|
||||
"@sim/testing": "workspace:*",
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@tailwindcss/typography": "0.5.19",
|
||||
@@ -389,6 +389,7 @@
|
||||
"node-gyp": "12.4.0",
|
||||
"postcss": "^8",
|
||||
"postcss-load-config": "6.0.1",
|
||||
"react-email": "6.9.0",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^7.0.2",
|
||||
"vitest": "^4.1.0",
|
||||
@@ -554,7 +555,7 @@
|
||||
"name": "@sim/logger",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@opentelemetry/api-logs": "0.219.0",
|
||||
"@opentelemetry/api-logs": "0.221.0",
|
||||
"@sim/utils": "workspace:*",
|
||||
"chalk": "5.6.2",
|
||||
},
|
||||
@@ -595,7 +596,7 @@
|
||||
"name": "@sim/runtime-secrets",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-secrets-manager": "3.1032.0",
|
||||
"@aws-sdk/client-secrets-manager": "3.1117.0",
|
||||
"@sim/logger": "workspace:*",
|
||||
"@sim/utils": "workspace:*",
|
||||
},
|
||||
@@ -644,18 +645,16 @@
|
||||
"bin": {
|
||||
"sim-setup": "dist/index.js",
|
||||
},
|
||||
"dependencies": {
|
||||
"devDependencies": {
|
||||
"@clack/prompts": "1.7.0",
|
||||
"@next/env": "16.3.1",
|
||||
"@sim/deployment-config": "workspace:*",
|
||||
"@sim/security": "workspace:*",
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@sim/utils": "workspace:*",
|
||||
"@types/node": "24.2.1",
|
||||
"chalk": "5.6.2",
|
||||
"postgres": "^3.4.5",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@types/node": "24.2.1",
|
||||
"typescript": "^7.0.2",
|
||||
"vitest": "^4.1.0",
|
||||
},
|
||||
@@ -808,7 +807,7 @@
|
||||
"react-dom": "19.2.4",
|
||||
"socket.io": "4.8.3",
|
||||
"socket.io-parser": "4.2.7",
|
||||
"ws": "8.21.0",
|
||||
"ws": "8.21.3",
|
||||
"zod": "4.3.6",
|
||||
},
|
||||
"packages": {
|
||||
@@ -968,26 +967,16 @@
|
||||
|
||||
"@aws-sdk/middleware-eventstream": ["@aws-sdk/middleware-eventstream@3.972.29", "", { "dependencies": { "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-dlRzHCgyB8W6hLuDC5pcT5q+ziPt00n4QGgGBE17ucLVU4zMa6lsbuUdQ2Pm75Z5VA8GF+R/+SgrRcaTdIzSIQ=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header": ["@aws-sdk/middleware-host-header@3.972.22", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-nLTYWmLcXy1qwiDZdXMs7PHrQ8sFc75vDplmC73u91WzpXCDGplcMnhTYltKijybXtUFkGCj4WRwZsmjBjQh2Q=="],
|
||||
|
||||
"@aws-sdk/middleware-logger": ["@aws-sdk/middleware-logger@3.972.21", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-8VkkGI7+uxaX5LLeTGE1okITrM9wZinFDDDuLm2J1kBiOvID1bx5p84tpa5k4v0o1asq+5nZFsdKLdyfc9o6hA=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection": ["@aws-sdk/middleware-recursion-detection@3.972.23", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-ZaGQf0chuk6akH6+yfbM/1TCYU+ktaCcE9ZBHTmk009lKknQRrnjZDSXJhBCe4QbylcBhTbIV+x2tVluSgm6dg=="],
|
||||
|
||||
"@aws-sdk/middleware-sdk-ec2": ["@aws-sdk/middleware-sdk-ec2@3.972.58", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-k1yW3bEUcy/e9oxIH0zT81sbPCqgERdNf0bOsBZg/tXP75tyEKp8kp8BG9xag64+u9fF8064fLDUdIItWgQxWw=="],
|
||||
|
||||
"@aws-sdk/middleware-sdk-s3": ["@aws-sdk/middleware-sdk-s3@3.972.75", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/signature-v4-multi-region": "^3.996.46", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-wMIsNumRVKaNMKhvU/s9VrdEwE8S6gSzXp4RygFG5BEMnGkkXf8cjh8zf7cKJBpUDpqTWqwbz5isEgp9rH6Lng=="],
|
||||
|
||||
"@aws-sdk/middleware-sdk-sqs": ["@aws-sdk/middleware-sdk-sqs@3.972.42", "", { "dependencies": { "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-D/O6iHAqlm0b430vIGewanSsr5RzaWbSDFlHYdKLWlZb4kaMKBmb44ReNHAFEKj5tNRY8pysw0qfciosB/VcJg=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent": ["@aws-sdk/middleware-user-agent@3.972.51", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-J7+fiPR7axyvUSvckXnAiutX0/6O+0MvXS7BphQAkm5gnMqQPhw5Np15AnPZdjp/DW9WJeTczjiR4W484Rlz9Q=="],
|
||||
|
||||
"@aws-sdk/middleware-websocket": ["@aws-sdk/middleware-websocket@3.972.52", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/fetch-http-handler": "^5.7.2", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-vsPPM+nMbKJlUCFU+eoGZbdxdxDIAX9LbpjSXaR5Ufpmqgp8TdYQnoExhLu4T3umW/JIIPny1ydbhWidZZYokQ=="],
|
||||
|
||||
"@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.44", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/signature-v4-multi-region": "^3.996.46", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/fetch-http-handler": "^5.7.2", "@smithy/node-http-handler": "^4.11.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-NhEgryjlBF9w38ZXqGymQV28IhkYa1mKhlbYnqIis57AYwWGVYfUPgg/qC2rLRqOUfblxx++irvju10kVTa8Vw=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver": ["@aws-sdk/region-config-resolver@3.972.25", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-aFc/pn5pfnhZCEhyjv/D9kR2c9WSZdkX+FPrsb/AGvY7TiAkHqJFeIw2xqbgeiAhy7W3/w41Mi8Vr52A74EDug=="],
|
||||
|
||||
"@aws-sdk/s3-request-presigner": ["@aws-sdk/s3-request-presigner@3.1117.0", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/signature-v4-multi-region": "^3.996.46", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-4aivFw3OXy83wuh3utC2F6bgNg4SCdcCLOSXRvYF23qEL0OzGvkjqzLTU+T191laBKjbU/m6nJLFrZsEtOo9ow=="],
|
||||
|
||||
"@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.46", "", { "dependencies": { "@aws-sdk/types": "^3.974.5", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-L+2xZTye/2T96f3lwCws0Zw6GG2JHZW9e8FpVgGBeeExSKyeoZ6CWRpBml/7DNiK/O26jrgPM9F+Ay8VkgzUWQ=="],
|
||||
@@ -998,14 +987,8 @@
|
||||
|
||||
"@aws-sdk/util-dynamodb": ["@aws-sdk/util-dynamodb@3.996.9", "", { "dependencies": { "tslib": "^2.6.2" }, "peerDependencies": { "@aws-sdk/client-dynamodb": "^3.1111.0" } }, "sha512-16x2tRvl7OYpZ0W/DdFJieFriD13+RvuRBDbe5sj/tCEfK86HSGd7I2s5j0ivz8p6KWGkS+5wKRO9OliJkjUOQ=="],
|
||||
|
||||
"@aws-sdk/util-endpoints": ["@aws-sdk/util-endpoints@3.996.20", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@smithy/core": "^3.24.6", "tslib": "^2.6.2" } }, "sha512-mwbTLCYFICfvigDoQggOe8utOXSlYLJVWD5KAs7vmx2gZ6b3HpQotAcrti3hrxlBX8mjr6101bIXd4Cz6fbqAQ=="],
|
||||
|
||||
"@aws-sdk/util-locate-window": ["@aws-sdk/util-locate-window@3.965.8", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-uUbMs1cBZPafD0ohUj6EwNf0fPZ534NvBxHox4hjX+0Rxq5paSYUem7+hi833pYrzrcnBATKIYpR02MDXT5M9g=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser": ["@aws-sdk/util-user-agent-browser@3.972.22", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-Fa040urz+8bwxgnG5KoSglP53d4l3jtby65qO564mjQ28o5PO4FmkNWy2atSln2pUjKmCmpbSsV2pLgcGULRIA=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node": ["@aws-sdk/util-user-agent-node@3.973.37", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "tslib": "^2.6.2" } }, "sha512-/F4Y0+iREEUvVCPQkJqzRnly8MAihbQy/s9847yEl9TLsXYEKMnrMIptsjV4owcNgm2l6zqKEZ7SDXv6JPjrRg=="],
|
||||
|
||||
"@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.40", "", { "dependencies": { "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-wlFmCIGUlwF4zx/kncw+bmxTQh1HeSJq4mYV/V5cZUSJadDP3kXvGW8Rn21cimj/7y9ju+47oYWXi97vF7czaA=="],
|
||||
|
||||
"@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.3.0", "", {}, "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ=="],
|
||||
@@ -1142,6 +1125,12 @@
|
||||
|
||||
"@c15t/ui": ["@c15t/ui@2.2.1", "", { "dependencies": { "@c15t/translations": "2.2.1", "c15t": "2.2.1" } }, "sha512-OlmEhScePX3xF+sPNWemLZaiJv80KuxsuxTf+Ip0ImREGeXdaOIG7Hp6IBU+8IOeJ723Q4LlD74gyV2NgTbXIQ=="],
|
||||
|
||||
"@calcom/embed-core": ["@calcom/embed-core@1.5.3", "", {}, "sha512-GeId9gaByJ5EWiPmuvelZOvFWPOTWkcWZr5vGTCbIUTX125oE5yn0n8lDF1MJk5Xj1WO+/dk9jKIE08Ad9ytiQ=="],
|
||||
|
||||
"@calcom/embed-react": ["@calcom/embed-react@1.5.3", "", { "dependencies": { "@calcom/embed-core": "1.5.3", "@calcom/embed-snippet": "1.3.3" }, "peerDependencies": { "react": "^18.2.0 || ^19.0.0", "react-dom": "^18.2.0 || ^19.0.0" } }, "sha512-JCgge04pc8fhdvUmPNVLhW8/lCWK+AAziKecKWWPfv1nn2s+qKP2BwsEAnxhxK9yPOBgE1EIEgmYkrrNB1iajA=="],
|
||||
|
||||
"@calcom/embed-snippet": ["@calcom/embed-snippet@1.3.3", "", { "dependencies": { "@calcom/embed-core": "1.5.3" } }, "sha512-pqqKaeLB8R6BvyegcpI9gAyY6Xyx1bKYfWvIGOvIbTpguWyM1BBBVcT9DCeGe8Zw7Ujp5K56ci7isRUrT2Uadg=="],
|
||||
|
||||
"@cerebras/cerebras_cloud_sdk": ["@cerebras/cerebras_cloud_sdk@1.64.1", "", { "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", "abort-controller": "^3.0.0", "agentkeepalive": "^4.2.1", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", "node-fetch": "^2.6.7" } }, "sha512-eQ0udGHS9xrWANi56yCS/FMcbwtysugD73YWipp89+zarbm2pd5hxqrmGlFqafS4Pwyo7cU7Qv31am5jdjqXFg=="],
|
||||
|
||||
"@chevrotain/types": ["@chevrotain/types@11.1.2", "", {}, "sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw=="],
|
||||
@@ -1180,19 +1169,13 @@
|
||||
|
||||
"@e2b/code-interpreter": ["@e2b/code-interpreter@2.7.1", "", { "dependencies": { "e2b": "^2.39.0" } }, "sha512-1M4YhyWOWZzZyt1XessPbMwkVOsfpsWTiOgPKbA60CtDQasUQA8bRdN7HxsajYMrNxF5tk8J0fwrY7oa2oTK4g=="],
|
||||
|
||||
"@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@0.84.3", "", { "dependencies": { "@earendil-works/pi-ai": "^0.84.3", "@earendil-works/pi-telemetry": "^0.84.3", "diff": "8.0.4", "ignore": "7.0.5", "typebox": "1.3.7", "yaml": "2.9.0" } }, "sha512-VURr+xBRl3RxYcw3kT9Pn3yfi6LbRoCJgHF7h1mAblMjtLNV/MfG/RyF0uJizBAM886AEakSiw3j9c/aSngppg=="],
|
||||
"@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@0.80.10", "", { "dependencies": { "@earendil-works/pi-ai": "^0.80.10", "ignore": "7.0.5", "typebox": "1.1.38", "yaml": "2.9.0" } }, "sha512-nwnOR3SuLYGRFfyQm8ri4Nj5VGVAvAM9GuqQd3u7BUQj0d6hmD2F8w7OHAAjThE3CuySIdM+v8E22QJG6/RfCg=="],
|
||||
|
||||
"@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.84.3", "", { "dependencies": { "@anthropic-ai/sdk": "0.91.1", "@aws-sdk/client-bedrock-runtime": "3.1048.0", "@earendil-works/pi-telemetry": "^0.84.3", "@google/genai": "1.52.0", "@smithy/node-http-handler": "4.7.3", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "openai": "6.40.0", "partial-json": "0.1.7", "typebox": "1.3.7" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-M0YUV8vNO3y2WwWSyY8ijKJV5W4gkSUixuvk+Z00ZBjsyMfsdXfITsHEwP1UIf09YRWXT6oGn0GlCamt+P32XQ=="],
|
||||
"@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.80.10", "", { "dependencies": { "@anthropic-ai/sdk": "0.91.1", "@aws-sdk/client-bedrock-runtime": "3.1048.0", "@google/genai": "1.52.0", "@mistralai/mistralai": "2.2.6", "@opentelemetry/api": "1.9.0", "@smithy/node-http-handler": "4.7.3", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "openai": "6.26.0", "partial-json": "0.1.7", "typebox": "1.1.38" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-Moe/H8c87yacDGK9dPbWphZNjVsrb3nTrIHycOQJAkFEnY9PYxOOd74+ny44kATfPU9Dm7aTHefar3pZF+UKUA=="],
|
||||
|
||||
"@earendil-works/pi-client": ["@earendil-works/pi-client@0.84.3", "", { "dependencies": { "@earendil-works/pi-protocol": "^0.84.3" } }, "sha512-zfErYane+390W0xpBJ/FWCp6aktPpkpcIcXUeZiAziWLoxE80ZNQALRyOSa/gGS5V+1OkNnMYxRxbzN0zUvnOA=="],
|
||||
"@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@0.80.10", "", { "dependencies": { "@earendil-works/pi-agent-core": "^0.80.10", "@earendil-works/pi-ai": "^0.80.10", "@earendil-works/pi-tui": "^0.80.10", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "5.6.2", "cross-spawn": "7.0.6", "diff": "8.0.4", "glob": "13.0.6", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.5", "jiti": "2.7.0", "minimatch": "10.2.5", "proper-lockfile": "4.1.2", "semver": "7.8.0", "typebox": "1.1.38", "undici": "8.5.0", "yaml": "2.9.0" }, "optionalDependencies": { "@mariozechner/clipboard": "0.3.9" }, "bin": { "pi": "dist/cli.js" } }, "sha512-aL4apbupCHiVLSXASXvRzH4Q2vmtfrDa+0s909CJuVu/GgGylbDzr7oyF1mPmip5E+VxYYxKWmph4hV04wUcQg=="],
|
||||
|
||||
"@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@0.84.3", "", { "dependencies": { "@earendil-works/pi-agent-core": "^0.84.3", "@earendil-works/pi-ai": "^0.84.3", "@earendil-works/pi-client": "^0.84.3", "@earendil-works/pi-protocol": "^0.84.3", "@earendil-works/pi-tui": "^0.84.3", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "5.6.2", "cross-spawn": "7.0.6", "diff": "8.0.4", "grok-mermaid": "0.2.2", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.5", "jiti": "2.7.0", "minimatch": "10.2.5", "proper-lockfile": "4.1.2", "semver": "7.8.0", "typebox": "1.3.7", "undici": "8.9.0", "yaml": "2.9.0" }, "optionalDependencies": { "@mariozechner/clipboard": "0.3.9" }, "bin": { "pi": "dist/bundle/cli.js" } }, "sha512-Yr2p9PubrbFZmYEPYI+C8KmZP9xlFuLDnAG64RtU0ZDgrdiXYWa+y7WGyJO5OlqPliOkVCMd9IzVszO3/t0D0w=="],
|
||||
|
||||
"@earendil-works/pi-protocol": ["@earendil-works/pi-protocol@0.84.3", "", { "dependencies": { "typebox": "1.3.7" } }, "sha512-9a4g6WhLOvRqvsIOFaWxg/2gdrbY4Thclwj5ipLUPAWChfsDJ/8XdPc2sRhSOkD6EsxpEFJz3xppcfwI6EcZDg=="],
|
||||
|
||||
"@earendil-works/pi-telemetry": ["@earendil-works/pi-telemetry@0.84.3", "", {}, "sha512-sgEkWoKrvSGaKn+YfLLFZmn+/A7B/w62eLwTD57nI+C9to8ITlFFVbgC2OtwvPnT3NFGHdCd53qhBEMIlptD1g=="],
|
||||
|
||||
"@earendil-works/pi-tui": ["@earendil-works/pi-tui@0.84.3", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.5" } }, "sha512-fS6OEQKEEALnKa6Uw8LcgZZ+9CWck7f3MQSCETQp6leUgIFwMEDtKmOUnL9nsYm+RIPmy7OmplVxYRbV6hiaFg=="],
|
||||
"@earendil-works/pi-tui": ["@earendil-works/pi-tui@0.80.10", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.5" } }, "sha512-c2JO29PbhKPEQ6fgHQKAl0WhwuFqzWfzspMmP+8B5tpDuP+0mvarRbKKg8gq4b+pQx/QX+6aVS4ko7deoyjQjg=="],
|
||||
|
||||
"@electric-sql/client": ["@electric-sql/client@1.0.14", "", { "dependencies": { "@microsoft/fetch-event-source": "^2.0.1" }, "optionalDependencies": { "@rollup/rollup-darwin-arm64": "^4.18.1" } }, "sha512-LtPAfeMxXRiYS0hyDQ5hue2PjljUiK9stvzsVyVb4nwxWQxfOWTSF42bHTs/o5i3x1T4kAQ7mwHpxa4A+f8X7Q=="],
|
||||
|
||||
@@ -1492,6 +1475,8 @@
|
||||
|
||||
"@microsoft/fetch-event-source": ["@microsoft/fetch-event-source@2.0.1", "", {}, "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA=="],
|
||||
|
||||
"@mistralai/mistralai": ["@mistralai/mistralai@2.2.6", "", { "dependencies": { "@opentelemetry/semantic-conventions": "^1.40.0", "ws": "^8.18.0", "zod": "^3.25.0 || ^4.0.0", "zod-to-json-schema": "^3.25.0" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0" }, "optionalPeers": ["@opentelemetry/api"] }, "sha512-W8pX7zHxjJvMIpw8JMxeJEleapXX0Q9NPszdNzqkM3MIEoIGPObdodujj+WHteXEvGfaP/AMwlNyRfEzSY6dQQ=="],
|
||||
|
||||
"@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.29.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ=="],
|
||||
|
||||
"@monaco-editor/loader": ["@monaco-editor/loader@1.7.0", "", { "dependencies": { "state-local": "^1.0.6" } }, "sha512-gIwR1HrJrrx+vfyOhYmCZ0/JcWqG5kbfG7+d3f/C1LXk2EvzAbHSg3MQ5lO2sMlo9izoAZ04shohfKLVT6crVA=="],
|
||||
@@ -1588,7 +1573,7 @@
|
||||
|
||||
"@opentelemetry/api": ["@opentelemetry/api@1.9.1", "", {}, "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q=="],
|
||||
|
||||
"@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.219.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-FFx7YnaYJlIjqWW/AG/yAZ0L/NEY724PipXXXQLdtZPbLwBGbUMTGL1i/esI56TWfTUXxhLfpgrnWJCG8aUJyg=="],
|
||||
"@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.221.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-OlanaW1vv7ufTqQ3/fPLI4arGt5ZoM+P8abOMki6uEYnpRazepSWDwDnnw+la7kE26SHVC18//SMccrDvLKOXQ=="],
|
||||
|
||||
"@opentelemetry/configuration": ["@opentelemetry/configuration@0.221.0", "", { "dependencies": { "@opentelemetry/core": "2.10.0", "yaml": "^2.8.3" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0" } }, "sha512-uE9y56Zdi9Gt/RdxYnVOo3YmFZkKJJMA0gqtBe8wh8gdtF5Asqe+Oh/TWiDtFb1s+31jNY4CWgnfIB1KOITfFA=="],
|
||||
|
||||
@@ -1790,8 +1775,48 @@
|
||||
|
||||
"@radix-ui/rect": ["@radix-ui/rect@1.1.3", "", {}, "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw=="],
|
||||
|
||||
"@react-email/body": ["@react-email/body@0.3.0", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-uGo0BOOzjbMUo3lu+BIDWayvn5o6Xyfmnlla5VGf05n8gHMvO1ll7U4FtzWe3hxMLwt53pmc4iE0M+B5slG+Ug=="],
|
||||
|
||||
"@react-email/button": ["@react-email/button@0.2.1", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-qXyj7RZLE7POy9BMKSoqQ00tOXThjOZSUnI2Yu9i29IHngPlmrNayIWBoVKtElES7OWwypUcpiajwi1mUWx6/A=="],
|
||||
|
||||
"@react-email/code-block": ["@react-email/code-block@0.2.1", "", { "dependencies": { "prismjs": "^1.30.0" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-M3B7JpVH4ytgn83/ujRR1k1DQHvTeABiDM61OvAbjLRPhC/5KLHU5KkzIbbuGIrjWwxAbL1kSQzU8MhLEtSxyw=="],
|
||||
|
||||
"@react-email/code-inline": ["@react-email/code-inline@0.0.6", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-jfhebvv3dVsp3OdPgKXnk8+e2pBiDVZejDOBFzBa/IblrAJ9cQDkN6rBD5IyEg8hTOxwbw3iaI/yZFmDmIguIA=="],
|
||||
|
||||
"@react-email/column": ["@react-email/column@0.0.14", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-f+W+Bk2AjNO77zynE33rHuQhyqVICx4RYtGX9NKsGUg0wWjdGP0qAuIkhx9Rnmk4/hFMo1fUrtYNqca9fwJdHg=="],
|
||||
|
||||
"@react-email/components": ["@react-email/components@1.0.12", "", { "dependencies": { "@react-email/body": "0.3.0", "@react-email/button": "0.2.1", "@react-email/code-block": "0.2.1", "@react-email/code-inline": "0.0.6", "@react-email/column": "0.0.14", "@react-email/container": "0.0.16", "@react-email/font": "0.0.10", "@react-email/head": "0.0.13", "@react-email/heading": "0.0.16", "@react-email/hr": "0.0.12", "@react-email/html": "0.0.12", "@react-email/img": "0.0.12", "@react-email/link": "0.0.13", "@react-email/markdown": "0.0.18", "@react-email/preview": "0.0.14", "@react-email/render": "2.0.6", "@react-email/row": "0.0.13", "@react-email/section": "0.0.17", "@react-email/tailwind": "2.0.7", "@react-email/text": "0.1.6" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-tH18JhPDWgE+3jnYkzyB6ZrZdfNnEsFe4PwmuXmlOw4NGIysP8wPY5aXZg++pTG9qUabXg1nzX/FGHGkObH8xQ=="],
|
||||
|
||||
"@react-email/container": ["@react-email/container@0.0.16", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-QWBB56RkkU0AJ9h+qy33gfT5iuZknPC7Un/IjZv9B0QmMIK+WWacc0cH6y2SV5Cv/b99hU94fjEMOOO4enpkbQ=="],
|
||||
|
||||
"@react-email/font": ["@react-email/font@0.0.10", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-0urVSgCmQIfx5r7Xc586miBnQUVnGp3OTYUm8m5pwtQRdTRO5XrTtEfNJ3JhYhSOruV0nD8fd+dXtKXobum6tA=="],
|
||||
|
||||
"@react-email/head": ["@react-email/head@0.0.13", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-AJg6le/08Gz4tm+6MtKXqtNNyKHzmooOCdmtqmWxD7FxoAdU1eVcizhtQ0gcnVaY6ethEyE/hnEzQxt1zu5Kog=="],
|
||||
|
||||
"@react-email/heading": ["@react-email/heading@0.0.16", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-jmsKnQm1ykpBzw4hCYHwBkt5pW2jScXffPeEH5ZRF5tZeF5b1pvlFTO9han7C0pCkZYo1kEvWiRtx69yfCIwuw=="],
|
||||
|
||||
"@react-email/hr": ["@react-email/hr@0.0.12", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-TwmOmBDibavUQpXBxpmZYi2Iks/yeZOzFYh+di9EltMSnEabH8dMZXrl+pxNXzCgZ2XE8HY7VmUL65Lenfu5PA=="],
|
||||
|
||||
"@react-email/html": ["@react-email/html@0.0.12", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-KTShZesan+UsreU7PDUV90afrZwU5TLwYlALuCSU0OT+/U8lULNNbAUekg+tGwCnOfIKYtpDPKkAMRdYlqUznw=="],
|
||||
|
||||
"@react-email/img": ["@react-email/img@0.0.12", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-sRCpEARNVTf3FQhZOC+JTvu5r6ubiYWkT0ucYXg8ctkyi4G8QG+jgYPiNUqVeTLA2STOfmPM/nrk1nb84y6CPQ=="],
|
||||
|
||||
"@react-email/link": ["@react-email/link@0.0.13", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-lkWc/NjOcefRZMkQoSDDbuKBEBDES9aXnFEOuPH845wD3TxPwh+QTf0fStuzjoRLUZWpHnio4z7qGGRYusn/sw=="],
|
||||
|
||||
"@react-email/markdown": ["@react-email/markdown@0.0.18", "", { "dependencies": { "marked": "^15.0.12" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-gSuYK5fsMbGk87jDebqQ6fa2fKcWlkf2Dkva8kMONqLgGCq8/0d+ZQYMEJsdidIeBo3kmsnHZPrwdFB4HgjUXg=="],
|
||||
|
||||
"@react-email/preview": ["@react-email/preview@0.0.14", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-aYK8q0IPkBXyMsbpMXgxazwHxYJxTrXrV95GFuu2HbEiIToMwSyUgb8HDFYwPqqfV03/jbwqlsXmFxsOd+VNaw=="],
|
||||
|
||||
"@react-email/render": ["@react-email/render@2.1.0", "", { "dependencies": { "entities": "^4.5.0", "html-to-text": "^9.0.5", "html5parser": "^3.0.0", "prettier": "^3.5.3" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-F+zE3O6d6sW6Aj2UjvZAA17R7tJKM7kcq2mgV6k4HCT8jeLLFaVP2txMtH1lgqYFRMZ0Gxsd37q2PRyiXLXXxA=="],
|
||||
|
||||
"@react-email/row": ["@react-email/row@0.0.13", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-bYnOac40vIKCId7IkwuLAAsa3fKfSfqCvv6epJKmPE0JBuu5qI4FHFCl9o9dVpIIS08s/ub+Y/txoMt0dYziGw=="],
|
||||
|
||||
"@react-email/section": ["@react-email/section@0.0.17", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-qNl65ye3W0Rd5udhdORzTV9ezjb+GFqQQSae03NDzXtmJq6sqVXNWNiVolAjvJNypim+zGXmv6J9TcV5aNtE/w=="],
|
||||
|
||||
"@react-email/tailwind": ["@react-email/tailwind@2.0.7", "", { "dependencies": { "tailwindcss": "^4.1.18" }, "peerDependencies": { "@react-email/body": ">=0", "@react-email/button": ">=0", "@react-email/code-block": ">=0", "@react-email/code-inline": ">=0", "@react-email/container": ">=0", "@react-email/heading": ">=0", "@react-email/hr": ">=0", "@react-email/img": ">=0", "@react-email/link": ">=0", "@react-email/preview": ">=0", "@react-email/text": ">=0", "react": "^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@react-email/body", "@react-email/button", "@react-email/code-block", "@react-email/code-inline", "@react-email/container", "@react-email/heading", "@react-email/hr", "@react-email/img", "@react-email/link", "@react-email/preview"] }, "sha512-kGw80weVFXikcnCXbigTGXGWQ0MRCSYNCudcdkWxebkWYd0FG6/NPoN3V1p/u68/4+NxZwYPVi2fhnp0x23HdA=="],
|
||||
|
||||
"@react-email/text": ["@react-email/text@0.1.6", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-TYqkioRS45wTR5il3dYk/SbUjjEdhSwh9BtRNB99qNH1pXAwA45H7rAuxehiu8iJQJH0IyIr+6n62gBz9ezmsw=="],
|
||||
|
||||
"@redis/bloom": ["@redis/bloom@5.10.0", "", { "peerDependencies": { "@redis/client": "^5.10.0" } }, "sha512-doIF37ob+l47n0rkpRNgU8n4iacBlKM9xLiP1LtTZTvz8TloJB8qx/MgvhMhKdYG+CvCY2aPBnN2706izFn/4A=="],
|
||||
|
||||
"@redis/client": ["@redis/client@5.10.0", "", { "dependencies": { "cluster-key-slot": "1.1.2" } }, "sha512-JXmM4XCoso6C75Mr3lhKA3eNxSzkYi3nCzxDIKY+YOszYsJjuKbFgVtguVPbLMOttN4iu2fXoc2BGhdnYhIOxA=="],
|
||||
@@ -1918,8 +1943,6 @@
|
||||
|
||||
"@sindresorhus/is": ["@sindresorhus/is@7.2.0", "", {}, "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw=="],
|
||||
|
||||
"@smithy/config-resolver": ["@smithy/config-resolver@4.6.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-NJF/Xc69G68BzZMKMEpWkCY9HjZJzTWztTW4VxBC2SodX+H60xw+NGckNhkgg4uMRHrpDkhWeBeigM3YJmv1FQ=="],
|
||||
|
||||
"@smithy/core": ["@smithy/core@3.33.3", "", { "dependencies": { "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-CsOeKq/9kA3y6VJHt+/+VTCtBaxJ4OTFpgrjIUhPpDIKxBci1k2bJaQASF2h/ELWrulGp+t97DZ0mevfAD8idg=="],
|
||||
|
||||
"@smithy/credential-provider-imds": ["@smithy/credential-provider-imds@4.5.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg=="],
|
||||
@@ -1930,54 +1953,18 @@
|
||||
|
||||
"@smithy/hash-node": ["@smithy/hash-node@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-MkyiJfdnDlBdmq26Cxskw2dtX6V/EgTjCriPc7Gq0084hncjIFVJ26IwHpauXJT2w79B4umF0erKi4epBR/WDA=="],
|
||||
|
||||
"@smithy/invalid-dependency": ["@smithy/invalid-dependency@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-KWyzbLxpEcr4iU8A/Bu4zZN9w9LdXT6SO2jfbwP21xdNr2JyW8XBowOKViG/dHp912ekAmtJ7SDfPapj7yS7JQ=="],
|
||||
|
||||
"@smithy/is-array-buffer": ["@smithy/is-array-buffer@2.2.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA=="],
|
||||
|
||||
"@smithy/middleware-compression": ["@smithy/middleware-compression@4.6.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "fflate": "0.8.3", "tslib": "^2.6.2" } }, "sha512-Q9d+luiRjyHT6kCL/9NyGpdZJgodh4vtvfHC6H8SqoVKrV2k9RoyI9/IloVfdCYks3/2DIi7BsYYLcda5KZS0A=="],
|
||||
|
||||
"@smithy/middleware-content-length": ["@smithy/middleware-content-length@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-hLdaOvB2JIZhOa6REhHJHXQavMQC5EvewIiWM/mk9AWGlwoo6QyAXlYsp621AexTqY44558s3e3vzLHwyPhlsA=="],
|
||||
|
||||
"@smithy/middleware-endpoint": ["@smithy/middleware-endpoint@4.6.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-yPaTGexBoXq70QMw/dIq/E4pLQMgBtSmAV23XyZm9UcMoGMS7efa2HMy+LvhlnDgyqCeXn8mQ7k+e4uD6rbjew=="],
|
||||
|
||||
"@smithy/middleware-retry": ["@smithy/middleware-retry@4.7.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-Br+n69+Hc6HwZZmRfhrEB7q7C6MZBghxlCugZHnvnPJN/bsMYG3d4hzhXjJr4EyBkxhe5hcvtZpgUDJhdmV22g=="],
|
||||
|
||||
"@smithy/middleware-serde": ["@smithy/middleware-serde@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-bDnLiVuVciCC4d2n/PCcGJrKwgQupNIeuMNZvkStsGGeeVJ9WDjTpDwEYZTiXSIFszvzt7FVX3l5rsB3puNDbA=="],
|
||||
|
||||
"@smithy/middleware-stack": ["@smithy/middleware-stack@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-tZUD0fE+/aLzLS4b75SDyQXBybPCI9UqwEAhDRmME8ObjEtnMnA6Hrt0FCNMN+JPoCtcrbUS0cHPXFTQMDtgoA=="],
|
||||
|
||||
"@smithy/node-config-provider": ["@smithy/node-config-provider@4.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-hwea2f5OKcsZMKGgMYzWyclQKoMMbXzFVuv4033sc23dEjGOscqQ0hGHLDQcSneSsIZ8WcwxCV9y+ou34xoizA=="],
|
||||
|
||||
"@smithy/node-http-handler": ["@smithy/node-http-handler@4.11.3", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-2jY1tSpERfPfWqyBV2pH+iGFaghVsIJszJNsT7hxtQYhVJpWDyc0LqOWI+nXOxOAHaEfZ4PXXtp1wW1TGpHhkA=="],
|
||||
|
||||
"@smithy/protocol-http": ["@smithy/protocol-http@5.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-gqvRWWZIcqmj7iS68p+hrxiOg1fGQcfzNPUlSGJ69hzLHyCyIRApasCpAp/xMGRgb6QqVH/YQhztOYgs+ZI3kA=="],
|
||||
|
||||
"@smithy/signature-v4": ["@smithy/signature-v4@5.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-vW6UdK7e7gV2wU/tXRsPq4pMQMusb8VymdVOyIFNA1FtyRmEClRFkYDtYI8UcO/HM0wK3qqjvvQs3HOlbgMbdg=="],
|
||||
|
||||
"@smithy/smithy-client": ["@smithy/smithy-client@4.14.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-pBJs2oWyl/drgw1lQOdwjXEwEeL36PN/CeRt33lwBu1OZTmoKqQjp93vcjM9fjv5ETsgEzB7WLSX6rYKKP0Eqw=="],
|
||||
|
||||
"@smithy/types": ["@smithy/types@4.17.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-FOKpVZob9MPTn2znRzGrnsMHv7BOsKVw3XiP/cOyYLDVZ9qKp4nifIiSCuUU/fIj5Vu0UOAxCFr+qRAtG0NUkA=="],
|
||||
|
||||
"@smithy/url-parser": ["@smithy/url-parser@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-E73GGqNThq6SLLOgQKU5re/iDc1oPk21zPr0t4KUD/sj6qlB06vQX/5xu3H8lTnCqWh9oLr1tXsv2Cpu74TTLg=="],
|
||||
|
||||
"@smithy/util-base64": ["@smithy/util-base64@4.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-SF3V9ZZ9KotchuyxHdOvi1Y8OO7ZS+mDzoasCIrni9HEDf/BsBqCA9BAKHG+waerz4nutHPGDMRQw8B6VtVCsg=="],
|
||||
|
||||
"@smithy/util-body-length-browser": ["@smithy/util-body-length-browser@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-JU3CDQScfAA9inuNyIQVNbHJ54fhtwXQqwBkR0xQN9lyGkFgFKnzHFgNQonfu67O5kdcnv1bOxhqsfrwmg2i1A=="],
|
||||
|
||||
"@smithy/util-body-length-node": ["@smithy/util-body-length-node@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-Hu7UCgEGGxjT8pUsaYq4K7tfhShBXYnRU68GRia3H7dzjtU4AX9/jdVS4qhNn4lSdxA+d76iRESNu0jduT1Pjg=="],
|
||||
|
||||
"@smithy/util-buffer-from": ["@smithy/util-buffer-from@2.2.0", "", { "dependencies": { "@smithy/is-array-buffer": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA=="],
|
||||
|
||||
"@smithy/util-defaults-mode-browser": ["@smithy/util-defaults-mode-browser@4.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-T4/V3fCSnhNg5xLlxxo5H8YsBblVtCnvrSb+XLhUjngUzu8W53uAxdUOKXQTN3HWVBlBOa5sD+BJb6FOqNtkYg=="],
|
||||
|
||||
"@smithy/util-defaults-mode-node": ["@smithy/util-defaults-mode-node@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-4ZjhBmU8Dt1OFBY8GfKHalfPy0BF4/IrSGMuhiPRc81bbRbLP/rPH65LrLgokm3rd/wzRpTwSEKNeKSAnYHSdg=="],
|
||||
|
||||
"@smithy/util-endpoints": ["@smithy/util-endpoints@3.6.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-g8tR/yXtx08j1NMdaFsMy0caBFeTl6l4fbQWvyjKQJ5rUMf5oqV69iyrqwfl7tuD9N9cJo23yqpzrGmbYp8r3g=="],
|
||||
|
||||
"@smithy/util-middleware": ["@smithy/util-middleware@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-XMhUiohsBJVwzJeS+w8y6E43I4rz/5ZpreSQAa6/gtNiXVBFhSw0inCKod5sJxuEETY2tTtK132lKcHVZAFgEQ=="],
|
||||
|
||||
"@smithy/util-retry": ["@smithy/util-retry@4.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-l8i4lcA4AzvOc+aiMz8UyU7lSEgOmXd1Xktrhp7h1sO55j1VygpVUr/dAIfX9liY5HbDvDhTFZCgVHsYGlAoWw=="],
|
||||
|
||||
"@smithy/util-utf8": ["@smithy/util-utf8@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "tslib": "^2.6.2" } }, "sha512-dMvQY14daYwEfKR+/ACROrUwJ5onUue7d9o4KJo4gaecn5eVzxlCbSeU9GSh0ojFpIiI1bpnJJxO1wY2VXDEtQ=="],
|
||||
|
||||
"@socket.io/component-emitter": ["@socket.io/component-emitter@3.1.2", "", {}, "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA=="],
|
||||
@@ -1986,7 +1973,7 @@
|
||||
|
||||
"@stablelib/base64": ["@stablelib/base64@1.0.1", "", {}, "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ=="],
|
||||
|
||||
"@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
"@standard-schema/spec": ["@standard-schema/spec@1.0.0", "", {}, "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA=="],
|
||||
|
||||
"@standard-schema/utils": ["@standard-schema/utils@0.3.0", "", {}, "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g=="],
|
||||
|
||||
@@ -2960,7 +2947,7 @@
|
||||
|
||||
"ejs": ["ejs@6.0.1", "", { "bin": { "ejs": "bin/cli.js" } }, "sha512-UaaM14yby8U3k02ihS1Bmj5Kz2d7CCQM1scxpgs4Mhkq8F1wR2gl3+Ts4h5Ne4Mnt7M9m4Dw7jsuMr3+xO4vZA=="],
|
||||
|
||||
"electron": ["electron@43.4.1", "", { "dependencies": { "@electron-internal/extract-zip": "^1.0.1", "@electron/get": "^5.0.0", "@types/node": "^24.9.0" }, "bin": { "electron": "cli.js", "install-electron": "install.js" } }, "sha512-5b+EuiwkgG5iRcsEL34rimgRpkYp15SsfZOa0pC5kXs0Tb82TH4n95rpQzTZa7yRCbA7tm0WoEbuBL6NaAhAcA=="],
|
||||
"electron": ["electron@43.5.0", "", { "dependencies": { "@electron-internal/extract-zip": "^1.0.1", "@electron/get": "^5.0.0", "@types/node": "^24.9.0" }, "bin": { "electron": "cli.js", "install-electron": "install.js" } }, "sha512-nV2aWuKatmUrxrAWP2pNIynNX7dy83TCAz+6KnsbK7hDVLE+6fa2iouOtir41AboZTa+J5w2UgicWHAqUaaUJw=="],
|
||||
|
||||
"electron-builder": ["electron-builder@26.15.3", "", { "dependencies": { "app-builder-lib": "26.15.3", "builder-util": "26.15.3", "builder-util-runtime": "9.7.0", "chalk": "^4.1.2", "ci-info": "^4.2.0", "dmg-builder": "26.15.3", "fs-extra": "^10.1.0", "lazy-val": "^1.0.5", "simple-update-notifier": "2.0.0", "yargs": "^17.6.2" }, "bin": { "electron-builder": "./cli.js", "install-app-deps": "./install-app-deps.js" } }, "sha512-a1KM5heqS3gQCZzizXEI8RjJy3QVogULPdeSknt76uLDpBIW/HDGsMg/XgP0riP6PI9COsRvFITKKGDqA8fJxA=="],
|
||||
|
||||
@@ -2994,7 +2981,7 @@
|
||||
|
||||
"ensure-posix-path": ["ensure-posix-path@1.1.1", "", {}, "sha512-VWU0/zXzVbeJNXvME/5EmLuEj2TauvoaTz6aFYK1Z92JCBlDlZ3Gu0tuGR42kpW1754ywTs+QB0g5TP0oj9Zaw=="],
|
||||
|
||||
"entities": ["entities@2.2.0", "", {}, "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A=="],
|
||||
"entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
|
||||
|
||||
"env-paths": ["env-paths@2.2.1", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="],
|
||||
|
||||
@@ -3224,8 +3211,6 @@
|
||||
|
||||
"gray-matter": ["gray-matter@4.0.3", "", { "dependencies": { "js-yaml": "^3.13.1", "kind-of": "^6.0.2", "section-matter": "^1.0.0", "strip-bom-string": "^1.0.0" } }, "sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q=="],
|
||||
|
||||
"grok-mermaid": ["grok-mermaid@0.2.2", "", {}, "sha512-XcJEP5dDC8liHBh52mlLjU18fNvu1ckFsu0QpIG3+APZ270fsj9wxpiA6cOURmbUEuoMVgjbC2+UYgTdCqqgzA=="],
|
||||
|
||||
"groq-sdk": ["groq-sdk@0.15.0", "", { "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", "abort-controller": "^3.0.0", "agentkeepalive": "^4.2.1", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", "node-fetch": "^2.6.7" } }, "sha512-aYDEdr4qczx3cLCRRe+Beb37I7g/9bD5kHF+EEDxcrREWw1vKoRcfP3vHEkJB7Ud/8oOuF0scRwDpwWostTWuQ=="],
|
||||
|
||||
"gtoken": ["gtoken@8.0.0", "", { "dependencies": { "gaxios": "^7.0.0", "jws": "^4.0.0" } }, "sha512-+CqsMbHPiSTdtSO14O51eMNlrp9N79gmeqmXeouJOhfucAedHw9noVe/n5uJk3tbKE6a+6ZCQg3RPhVhHByAIw=="],
|
||||
@@ -3802,7 +3787,7 @@
|
||||
|
||||
"mute-stream": ["mute-stream@0.0.8", "", {}, "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="],
|
||||
|
||||
"mysql2": ["mysql2@3.14.3", "", { "dependencies": { "aws-ssl-profiles": "^1.1.1", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.6.3", "long": "^5.2.1", "lru.min": "^1.0.0", "named-placeholders": "^1.1.3", "seq-queue": "^0.0.5", "sqlstring": "^2.3.2" } }, "sha512-fD6MLV8XJ1KiNFIF0bS7Msl8eZyhlTDCDl75ajU5SJtpdx9ZPEACulJcqJWr1Y8OYyxsFc4j3+nflpmhxCU5aQ=="],
|
||||
"mysql2": ["mysql2@3.24.2", "", { "dependencies": { "aws-ssl-profiles": "^1.1.2", "generate-function": "^2.3.1", "iconv-lite": "^0.7.3", "long": "^5.3.2", "lru.min": "^1.1.4", "named-placeholders": "^1.1.6", "sql-escaper": "^1.5.1" }, "peerDependencies": { "@types/node": ">= 8" } }, "sha512-l9kXeKGwd6VCbSjmpO/bLWb+YCYpbvE4whte8ec6InXebvCNyEEydyRCnRU+TSHNqRLJ8B+Tk1uWb+vMCJgJzA=="],
|
||||
|
||||
"mz": ["mz@2.7.0", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="],
|
||||
|
||||
@@ -4316,8 +4301,6 @@
|
||||
|
||||
"send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],
|
||||
|
||||
"seq-queue": ["seq-queue@0.0.5", "", {}, "sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q=="],
|
||||
|
||||
"serialize-error": ["serialize-error@7.0.1", "", { "dependencies": { "type-fest": "^0.13.1" } }, "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw=="],
|
||||
|
||||
"serve-static": ["serve-static@2.2.1", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="],
|
||||
@@ -4394,7 +4377,7 @@
|
||||
|
||||
"sprintf-js": ["sprintf-js@1.1.3", "", {}, "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="],
|
||||
|
||||
"sqlstring": ["sqlstring@2.3.3", "", {}, "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg=="],
|
||||
"sql-escaper": ["sql-escaper@1.5.1", "", {}, "sha512-4toX5E1fQbBrpfXidaHnF0669nkAdETeIPTs2SUjxxD7RRIs9ICG4gtpmfc68JCEKehsdwLFqBu9VlQqZ1P1gg=="],
|
||||
|
||||
"sqs-consumer": ["sqs-consumer@6.0.2", "", { "dependencies": { "@aws-sdk/client-sqs": "^3.226.0", "debug": "^4.3.4" } }, "sha512-Y8ztFBc1VPj4q72j9Uji4XR6n2O88n9X83aOUaCvz9zZqjpGJaI4PBHBPnE8RDBgD0EQR8Dh+sQwH/+8mzr+Bg=="],
|
||||
|
||||
@@ -4722,7 +4705,7 @@
|
||||
|
||||
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
||||
|
||||
"ws": ["ws@8.21.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g=="],
|
||||
"ws": ["ws@8.21.3", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw=="],
|
||||
|
||||
"wsl-utils": ["wsl-utils@0.4.0", "", { "dependencies": { "is-wsl": "^3.1.0", "powershell-utils": "^0.1.0" } }, "sha512-9YmF+2sFEd+T7TkwlmE337F0IVzfDvDknhtpBQxxXzEOfgPphGlFYpyx0cTuCIFj8/p+sqwBYAeGxOMNSzPPDA=="],
|
||||
|
||||
@@ -4792,6 +4775,8 @@
|
||||
|
||||
"@a2a-js/sdk/jose": ["jose@6.2.3", "", {}, "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw=="],
|
||||
|
||||
"@ai-sdk/provider-utils/@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"@asamuzakjp/css-color/lru-cache": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="],
|
||||
|
||||
"@authenio/xml-encryption/xpath": ["xpath@0.0.32", "", {}, "sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw=="],
|
||||
@@ -4812,30 +4797,12 @@
|
||||
|
||||
"@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1116.0", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/nested-clients": "^3.997.44", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-ygIivKqh8aHzNkucOCXHyIBgBpLPfrSI0mCqXF+vLBsPTUKqj0VSqAY0GFPe7lQl4HntjOcQ+KSyS7oUV2C54Q=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/middleware-sdk-ec2/@smithy/signature-v4": ["@smithy/signature-v4@5.7.3", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-7ImGm+FkHRLcBaRttIAMZ6bzJZWb2cJGoYjq46F2UjycujWzrL9GEN9h4w7eQyXJYnltrUhxbbieBAIRrdqpow=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/middleware-websocket/@smithy/signature-v4": ["@smithy/signature-v4@5.7.3", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-7ImGm+FkHRLcBaRttIAMZ6bzJZWb2cJGoYjq46F2UjycujWzrL9GEN9h4w7eQyXJYnltrUhxbbieBAIRrdqpow=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/signature-v4-multi-region/@smithy/signature-v4": ["@smithy/signature-v4@5.7.3", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-7ImGm+FkHRLcBaRttIAMZ6bzJZWb2cJGoYjq46F2UjycujWzrL9GEN9h4w7eQyXJYnltrUhxbbieBAIRrdqpow=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@azure/arm-containerinstance/@azure/abort-controller": ["@azure/abort-controller@1.1.0", "", { "dependencies": { "tslib": "^2.2.0" } }, "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw=="],
|
||||
|
||||
"@babel/code-frame/js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
|
||||
@@ -4848,6 +4815,8 @@
|
||||
|
||||
"@better-auth/core/@opentelemetry/semantic-conventions": ["@opentelemetry/semantic-conventions@1.41.1", "", {}, "sha512-/UhIkaZgPutTFmQ7RnIJGgDXZmtEJ7Dvi86xNTFWcnRxVRNk/aotsqDJYeEvDP+FSMB2SdW+pQzNMcWP0rwuNA=="],
|
||||
|
||||
"@better-auth/core/@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"@better-auth/core/jose": ["jose@6.2.3", "", {}, "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw=="],
|
||||
|
||||
"@better-auth/sso/jose": ["jose@6.2.3", "", {}, "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw=="],
|
||||
@@ -4874,29 +4843,25 @@
|
||||
|
||||
"@daytona/sdk/socket.io-client": ["socket.io-client@4.8.3", "", { "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.4.1", "engine.io-client": "~6.6.1", "socket.io-parser": "~4.2.4" } }, "sha512-uP0bpjWrjQmUt5DTHq9RuoCBdFJF10cdX9X+a368j/Ft0wmaVgxlrjvK3kjvgCODOMMOz9lcaRzxmso0bTWZ/g=="],
|
||||
|
||||
"@earendil-works/pi-agent-core/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="],
|
||||
|
||||
"@earendil-works/pi-ai/@anthropic-ai/sdk": ["@anthropic-ai/sdk@0.91.1", "", { "dependencies": { "json-schema-to-ts": "^3.1.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-LAmu761tSN9r66ixvmciswUj/ZC+1Q4iAfpedTfSVLeswRwnY3n2Nb6Tsk+cLPP28aLOPWeMgIuTuCcMC6W/iw=="],
|
||||
|
||||
"@earendil-works/pi-ai/@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1048.0", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.11", "@aws-sdk/credential-provider-node": "^3.972.42", "@aws-sdk/eventstream-handler-node": "^3.972.16", "@aws-sdk/middleware-eventstream": "^3.972.12", "@aws-sdk/middleware-websocket": "^3.972.19", "@aws-sdk/token-providers": "3.1048.0", "@aws-sdk/types": "^3.973.8", "@smithy/core": "^3.24.2", "@smithy/fetch-http-handler": "^5.4.2", "@smithy/node-http-handler": "^4.7.2", "@smithy/types": "^4.14.1", "tslib": "^2.6.2" } }, "sha512-u+NT61JZEkRFtpL0CAw1N1dwxnaLgwVXQl/zjJxTGgLyS/jTIdg2SdoEoCTHxgDyCnqa1HEi9QOoE9/pYRNpOQ=="],
|
||||
|
||||
"@earendil-works/pi-ai/@google/genai": ["@google/genai@1.52.0", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"] }, "sha512-gwSvbpiN/17O9TbsqSsE/OzZcpv5Fo4RQjdngGgogtuB9RsyJ8ZHhX5KjHj1bp5N9snN2eK8LDGXSaWW2hof8Q=="],
|
||||
|
||||
"@earendil-works/pi-ai/@opentelemetry/api": ["@opentelemetry/api@1.9.0", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="],
|
||||
|
||||
"@earendil-works/pi-ai/@smithy/node-http-handler": ["@smithy/node-http-handler@4.7.3", "", { "dependencies": { "@smithy/core": "^3.24.3", "@smithy/types": "^4.14.2", "tslib": "^2.6.2" } }, "sha512-/jPhevcTFPMVl6KNjbaI47iOg1zxC7IsnX4PQDGVZKMFceOXtB8IEYaB7a9VvkP/3oC60WzTeKocvSI7vLT0vA=="],
|
||||
|
||||
"@earendil-works/pi-ai/openai": ["openai@6.40.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"] }, "sha512-MWtTjd/gQt4jpbji61NTgFWJLoY/PdRJ6wG9/ZDRMYNMlBKrCrSlkLI+KgHP1vR1qT6LKSAyAqIxno6lcK9JiA=="],
|
||||
"@earendil-works/pi-ai/openai": ["openai@6.26.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-zd23dbWTjiJ6sSAX6s0HrCZi41JwTA1bQVs0wLQPZ2/5o2gxOJA5wh7yOAUgwYybfhDXyhwlpeQf7Mlgx8EOCA=="],
|
||||
|
||||
"@earendil-works/pi-ai/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="],
|
||||
"@earendil-works/pi-coding-agent/glob": ["glob@13.0.6", "", { "dependencies": { "minimatch": "^10.2.2", "minipass": "^7.1.3", "path-scurry": "^2.0.2" } }, "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw=="],
|
||||
|
||||
"@earendil-works/pi-coding-agent/jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="],
|
||||
|
||||
"@earendil-works/pi-coding-agent/semver": ["semver@7.8.0", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA=="],
|
||||
|
||||
"@earendil-works/pi-coding-agent/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="],
|
||||
|
||||
"@earendil-works/pi-coding-agent/undici": ["undici@8.9.0", "", {}, "sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA=="],
|
||||
|
||||
"@earendil-works/pi-protocol/typebox": ["typebox@1.3.7", "", {}, "sha512-meKuifc33Pccx0O6PdIzYMq3Og8zvP4TIi/a+Bw3AEMZMxOD0+RHGQvpglEe6Zdy3wZ8nqn/j95h8LUZLk/6Hg=="],
|
||||
"@earendil-works/pi-coding-agent/undici": ["undici@8.5.0", "", {}, "sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg=="],
|
||||
|
||||
"@earendil-works/pi-tui/marked": ["marked@18.0.5", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-S6GcvALHg6K4ohtu4E7x0a1AqhAjp6cV8KhLSyN9qVapnzJkusVBxZRcIU9AeYsbe6P1hKDusSbEOzGyyuce6w=="],
|
||||
|
||||
@@ -4952,14 +4917,6 @@
|
||||
|
||||
"@octokit/plugin-rest-endpoint-methods/@octokit/types": ["@octokit/types@13.10.0", "", { "dependencies": { "@octokit/openapi-types": "^24.2.0" } }, "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA=="],
|
||||
|
||||
"@opentelemetry/instrumentation/@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.221.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-OlanaW1vv7ufTqQ3/fPLI4arGt5ZoM+P8abOMki6uEYnpRazepSWDwDnnw+la7kE26SHVC18//SMccrDvLKOXQ=="],
|
||||
|
||||
"@opentelemetry/otlp-transformer/@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.221.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-OlanaW1vv7ufTqQ3/fPLI4arGt5ZoM+P8abOMki6uEYnpRazepSWDwDnnw+la7kE26SHVC18//SMccrDvLKOXQ=="],
|
||||
|
||||
"@opentelemetry/sdk-logs/@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.221.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-OlanaW1vv7ufTqQ3/fPLI4arGt5ZoM+P8abOMki6uEYnpRazepSWDwDnnw+la7kE26SHVC18//SMccrDvLKOXQ=="],
|
||||
|
||||
"@opentelemetry/sdk-node/@opentelemetry/api-logs": ["@opentelemetry/api-logs@0.221.0", "", { "dependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-OlanaW1vv7ufTqQ3/fPLI4arGt5ZoM+P8abOMki6uEYnpRazepSWDwDnnw+la7kE26SHVC18//SMccrDvLKOXQ=="],
|
||||
|
||||
"@playwright/browser-chromium/playwright-core": ["playwright-core@1.62.1", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-wPYSwEBJY9GHraISXqyqtx0na0LpO3XEX7jNDhntbex7tzUS7kLnZsOlFruFJB4Hi/rhDMjXGqHewDZ68nYZVw=="],
|
||||
|
||||
"@playwright/test/playwright": ["playwright@1.61.1", "", { "dependencies": { "playwright-core": "1.61.1" }, "optionalDependencies": { "fsevents": "2.3.2" }, "bin": { "playwright": "cli.js" } }, "sha512-DWnY5o3YbLWK4GovuAVwpqL+1VwGNdUGrRr++8j8PtQQzvAVZUIMjKQ90fY689sEJZJBbZVw1rXaOKSTitkzPQ=="],
|
||||
@@ -5044,7 +5001,9 @@
|
||||
|
||||
"@radix-ui/react-use-escape-keydown/@radix-ui/react-use-callback-ref": ["@radix-ui/react-use-callback-ref@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-xCso9j1/u8sEgP1RNHjFrXJLApL8LiqOkI1R4ywuN00rxWdYg4oQXuwKLS3i0j5NWLromUD27/4nlxj2UFVvIw=="],
|
||||
|
||||
"@react-email/render/entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
|
||||
"@react-email/components/@react-email/render": ["@react-email/render@2.0.6", "", { "dependencies": { "html-to-text": "^9.0.5", "prettier": "^3.5.3" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-xOzaYkH3jLZKqN5MqrTXYnmqBYUnZSVbkxdb5PGGmDcK6sKDVMliaDiSwfXajRC9JtSHTcGc2tmGLHWuCgVpog=="],
|
||||
|
||||
"@react-email/tailwind/tailwindcss": ["tailwindcss@4.3.1", "", {}, "sha512-hk+TB1m+K8CYNrP6rjQaq/Y+4Zylwpa87mLYBKCunwnnQ9p+fHb7kmSfGqyEJoxF/O6CDyABWVFEafNSYKll+Q=="],
|
||||
|
||||
"@redis/client/cluster-key-slot": ["cluster-key-slot@1.1.2", "", {}, "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA=="],
|
||||
|
||||
@@ -5056,58 +5015,16 @@
|
||||
|
||||
"@sim/emcn/@radix-ui/react-slot": ["@radix-ui/react-slot@1.2.2", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-y7TBO4xN4Y94FvcWIOIh18fM4R1A8S4q1jhoz4PNzOoHsFcN8pogcFmZrTYAm4F9VRUrWP/Mw7xSKybIeRI+CQ=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager": ["@aws-sdk/client-secrets-manager@3.1032.0", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.1", "@aws-sdk/credential-provider-node": "^3.972.32", "@aws-sdk/middleware-host-header": "^3.972.10", "@aws-sdk/middleware-logger": "^3.972.10", "@aws-sdk/middleware-recursion-detection": "^3.972.11", "@aws-sdk/middleware-user-agent": "^3.972.31", "@aws-sdk/region-config-resolver": "^3.972.12", "@aws-sdk/types": "^3.973.8", "@aws-sdk/util-endpoints": "^3.996.7", "@aws-sdk/util-user-agent-browser": "^3.972.10", "@aws-sdk/util-user-agent-node": "^3.973.17", "@smithy/config-resolver": "^4.4.16", "@smithy/core": "^3.23.15", "@smithy/fetch-http-handler": "^5.3.17", "@smithy/hash-node": "^4.2.14", "@smithy/invalid-dependency": "^4.2.14", "@smithy/middleware-content-length": "^4.2.14", "@smithy/middleware-endpoint": "^4.4.30", "@smithy/middleware-retry": "^4.5.3", "@smithy/middleware-serde": "^4.2.18", "@smithy/middleware-stack": "^4.2.14", "@smithy/node-config-provider": "^4.3.14", "@smithy/node-http-handler": "^4.5.3", "@smithy/protocol-http": "^5.3.14", "@smithy/smithy-client": "^4.12.11", "@smithy/types": "^4.14.1", "@smithy/url-parser": "^4.2.14", "@smithy/util-base64": "^4.3.2", "@smithy/util-body-length-browser": "^4.2.2", "@smithy/util-body-length-node": "^4.2.3", "@smithy/util-defaults-mode-browser": "^4.3.47", "@smithy/util-defaults-mode-node": "^4.2.52", "@smithy/util-endpoints": "^3.4.1", "@smithy/util-middleware": "^4.2.14", "@smithy/util-retry": "^4.3.2", "@smithy/util-utf8": "^4.2.2", "tslib": "^2.6.2" } }, "sha512-gdSaBSaghzbCoAeCVbnbBkF1z5IN37+kWhWwHREbc6ulBn2gk+rJGu4jyPzeZGmpKHkICqosjlhB3jJkozWucQ=="],
|
||||
|
||||
"@smithy/config-resolver/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/eventstream-codec/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/hash-node/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/invalid-dependency/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/middleware-compression/fflate": ["fflate@0.8.3", "", {}, "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA=="],
|
||||
|
||||
"@smithy/middleware-content-length/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/middleware-endpoint/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/middleware-retry/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/middleware-serde/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/middleware-stack/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/node-config-provider/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/protocol-http/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/signature-v4/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/signature-v4/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/smithy-client/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/smithy-client/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/url-parser/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-base64/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-body-length-browser/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-body-length-node/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-defaults-mode-browser/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-defaults-mode-node/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-endpoints/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-middleware/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-retry/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@smithy/util-utf8/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@socket.io/redis-adapter/debug": ["debug@4.3.7", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ=="],
|
||||
@@ -5198,6 +5115,8 @@
|
||||
|
||||
"@types/ws/@types/node": ["@types/node@25.9.3", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg=="],
|
||||
|
||||
"@vitest/expect/@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"@xyflow/react/zustand": ["zustand@4.5.7", "", { "dependencies": { "use-sync-external-store": "^1.2.2" }, "peerDependencies": { "@types/react": ">=16.8", "immer": ">=9.0.6", "react": ">=16.8" }, "optionalPeers": ["@types/react", "immer", "react"] }, "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw=="],
|
||||
|
||||
"accepts/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],
|
||||
@@ -5322,8 +5241,6 @@
|
||||
|
||||
"docx/nanoid": ["nanoid@5.1.16", "", { "bin": { "nanoid": "bin/nanoid.js" } }, "sha512-kVrnsrJqMR8+oLJnGEmSWw9BivK5mt7H3FZatVRjrc5wGqFYuBxX1yG7+A7Gi5AefkX6t/oCkizcQgpu0cY1dQ=="],
|
||||
|
||||
"dom-serializer/entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
|
||||
|
||||
"dot-prop/type-fest": ["type-fest@5.8.0", "", { "dependencies": { "tagged-tag": "^1.0.0" } }, "sha512-YGYEVz3Fm5iy/AybuA0oyNFq7H4CgQNfRp/qfe8nurE1kuCeNm3/vfm9X4Mtl+qLyaKJUh5xrFZwogr41SMjYA=="],
|
||||
|
||||
"drizzle-kit/esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
|
||||
@@ -5336,6 +5253,8 @@
|
||||
|
||||
"echarts/tslib": ["tslib@2.3.0", "", {}, "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="],
|
||||
|
||||
"effect/@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"electron/@types/node": ["@types/node@24.13.3", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q=="],
|
||||
|
||||
"electron-builder/chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="],
|
||||
@@ -5376,6 +5295,8 @@
|
||||
|
||||
"form-data/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],
|
||||
|
||||
"fumadocs-mdx/@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"fumadocs-mdx/chokidar": ["chokidar@5.0.0", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="],
|
||||
|
||||
"fumadocs-openapi/@radix-ui/react-dialog": ["@radix-ui/react-dialog@1.1.17", "", { "dependencies": { "@radix-ui/primitive": "1.1.4", "@radix-ui/react-compose-refs": "1.1.3", "@radix-ui/react-context": "1.1.4", "@radix-ui/react-dismissable-layer": "1.1.13", "@radix-ui/react-focus-guards": "1.1.4", "@radix-ui/react-focus-scope": "1.1.10", "@radix-ui/react-id": "1.1.2", "@radix-ui/react-portal": "1.1.12", "@radix-ui/react-presence": "1.1.6", "@radix-ui/react-primitive": "2.1.6", "@radix-ui/react-slot": "1.3.0", "@radix-ui/react-use-controllable-state": "1.2.3", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.7.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-TDTYmpdq8dI2+Xgvgj9AJ8Ghqq+Eph/TRVEdaFQPDItIY+6QSkU7MJMeevw1568Yw/2Ijz8BTphPSP2XejKphw=="],
|
||||
@@ -5486,16 +5407,12 @@
|
||||
|
||||
"monaco-editor/marked": ["marked@14.0.0", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ=="],
|
||||
|
||||
"mysql2/iconv-lite": ["iconv-lite@0.6.3", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="],
|
||||
|
||||
"neo4j-driver-bolt-connection/buffer": ["buffer@6.0.3", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" } }, "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA=="],
|
||||
|
||||
"node-fetch/whatwg-url": ["whatwg-url@5.0.0", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
|
||||
|
||||
"node-gyp/undici": ["undici@6.28.0", "", {}, "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA=="],
|
||||
|
||||
"nuqs/@standard-schema/spec": ["@standard-schema/spec@1.0.0", "", {}, "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA=="],
|
||||
|
||||
"open/wsl-utils": ["wsl-utils@0.1.0", "", { "dependencies": { "is-wsl": "^3.1.0" } }, "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw=="],
|
||||
|
||||
"ora/chalk": ["chalk@3.0.0", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg=="],
|
||||
@@ -5554,6 +5471,8 @@
|
||||
|
||||
"rimraf/glob": ["glob@10.5.0", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg=="],
|
||||
|
||||
"rss-parser/entities": ["entities@2.2.0", "", {}, "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A=="],
|
||||
|
||||
"serialize-error/type-fest": ["type-fest@0.13.1", "", {}, "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg=="],
|
||||
|
||||
"slice-ansi/ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],
|
||||
@@ -5642,86 +5561,6 @@
|
||||
|
||||
"@aws-crypto/util/@aws-sdk/types/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@better-auth/sso/tldts/tldts-core": ["tldts-core@6.1.86", "", {}, "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA=="],
|
||||
|
||||
"@browserbasehq/sdk/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
||||
@@ -5868,60 +5707,10 @@
|
||||
|
||||
"@sim/emcn/@radix-ui/react-slot/@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/core": ["@aws-sdk/core@3.974.21", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@aws-sdk/xml-builder": "^3.972.30", "@aws/lambda-invoke-store": "^0.2.2", "@smithy/core": "^3.24.6", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-P5JAHvn4dTi96UsAGS67LVOqqpUNNRhnfFXqzCYtdBIGZtqBue4CXvRr9YenOO7PALj/Pn8uuyw53FBCiCYw8w=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node": ["@aws-sdk/credential-provider-node@3.972.56", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.47", "@aws-sdk/credential-provider-http": "^3.972.49", "@aws-sdk/credential-provider-ini": "^3.972.54", "@aws-sdk/credential-provider-process": "^3.972.47", "@aws-sdk/credential-provider-sso": "^3.972.53", "@aws-sdk/credential-provider-web-identity": "^3.972.53", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/credential-provider-imds": "^4.3.7", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-iI+4o0dvQQ4NHel4FMDiFy5q2gaU/ryLK3niOsoPccAt9WLFRkV4XTYPWRr9XvmBUqEzXG73S4p/8gm0Lu/W3A=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/types": ["@aws-sdk/types@3.973.13", "", { "dependencies": { "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pEHZqRkAlHfnfAU9tK+WpKv/gBNjGJrHMgA3A0iYRGyswBS2t0pfez+lWlwktb3Bqa0ovh7w/QJTFwp3fDxLNg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@smithy/core": ["@smithy/core@3.25.0", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-TTD6el7tvKyafkXBf7XO3jLOE+qVxOTrLjp/fEGiV3BMfUHK/LfdYlQO9YgZvzxC7kqA3H/IhJXNqQgnbgjb7A=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@smithy/fetch-http-handler": ["@smithy/fetch-http-handler@5.5.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-OG8kBYAgX7lf32+xLzgirvuLffn1KNoszaSiButt45i2cRa5irk8LQXLYQ5Smij1SBTN4KMNcBsRwRrLPfIGyA=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@smithy/node-http-handler": ["@smithy/node-http-handler@4.8.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-Mq7TNt/VhlEWiYRLQGpzUWeUxh899UGpjKh7Ru0WVIDIjnE+cTRAn0NYlFQ6bWfsQnKnpCbWJj86HzmcG0qEdg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/config-resolver/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/eventstream-codec/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/hash-node/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/invalid-dependency/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/middleware-content-length/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/middleware-endpoint/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/middleware-retry/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/middleware-serde/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/middleware-stack/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/node-config-provider/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/protocol-http/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/url-parser/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-base64/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-body-length-browser/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-body-length-node/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-defaults-mode-browser/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-defaults-mode-node/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-endpoints/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-middleware/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-retry/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@smithy/util-utf8/@smithy/core/@smithy/types": ["@smithy/types@4.15.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-Z5TAOxygoFvybJV3igo5SloFflSokHx2hu1eFA+DxDTcn+FtKxUSui+rbTRG1pAafMA888Z3MVvCWUuvCrTXjg=="],
|
||||
|
||||
"@trigger.dev/core/@opentelemetry/core/@opentelemetry/semantic-conventions": ["@opentelemetry/semantic-conventions@1.41.1", "", {}, "sha512-/UhIkaZgPutTFmQ7RnIJGgDXZmtEJ7Dvi86xNTFWcnRxVRNk/aotsqDJYeEvDP+FSMB2SdW+pQzNMcWP0rwuNA=="],
|
||||
@@ -6270,8 +6059,6 @@
|
||||
|
||||
"gtoken/gaxios/node-fetch": ["node-fetch@3.3.2", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="],
|
||||
|
||||
"html-to-text/htmlparser2/entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
|
||||
|
||||
"imapflow/pino/pino-abstract-transport": ["pino-abstract-transport@3.0.0", "", { "dependencies": { "split2": "^4.0.0" } }, "sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg=="],
|
||||
|
||||
"imapflow/pino/thread-stream": ["thread-stream@4.2.0", "", { "dependencies": { "real-require": "^1.0.0" } }, "sha512-e2zZ96wSChazBsbENf/Pcm/4swHt2cEKQ92rhUjkL9GCKiTDJIaTBenjE/m9DXi0QBmTMDkFDdOomUy20A1tDQ=="],
|
||||
@@ -6334,22 +6121,6 @@
|
||||
|
||||
"wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
|
||||
|
||||
"@aws-sdk/middleware-host-header/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/middleware-logger/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/middleware-recursion-detection/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/middleware-user-agent/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/region-config-resolver/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/util-endpoints/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-browser/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@aws-sdk/util-user-agent-node/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@browserbasehq/stagehand/@anthropic-ai/sdk/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
||||
|
||||
"@browserbasehq/stagehand/openai/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
||||
@@ -6384,24 +6155,6 @@
|
||||
|
||||
"@sim/emcn/@radix-ui/react-avatar/@radix-ui/react-primitive/@radix-ui/react-slot": ["@radix-ui/react-slot@1.2.3", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/core/@aws-sdk/xml-builder": ["@aws-sdk/xml-builder@3.972.30", "", { "dependencies": { "@smithy/types": "^4.14.3", "fast-xml-parser": "5.7.3", "tslib": "^2.6.2" } }, "sha512-StElZPEoBquWwNqw1AcfpzEyZqJvFxouG+mpDNYlcH6ZOrqd2CuIryv+8LV8gNHZUOyKyJF3Dq9vxaXEmDR9TQ=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/core/@aws/lambda-invoke-store": ["@aws/lambda-invoke-store@0.2.4", "", {}, "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-env": ["@aws-sdk/credential-provider-env@3.972.47", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-3YoPwJczcc+MtX2xxXaYaOOWO6xKUJr1ZIIDIFuninr51BYONVVcF/CP8K2xfVRC/PztJjqKWxNGFH7BWQAw1Q=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-http": ["@aws-sdk/credential-provider-http@3.972.49", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/fetch-http-handler": "^5.4.6", "@smithy/node-http-handler": "^4.7.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-2UtGUPy+x3lqyceHrtC1uEuVxBZbDalPF6KAFqBwYgm4edWdBrZKNnCqzDs7KynWUvEC6mrR+ojRk+ZgQz9C2w=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-ini": ["@aws-sdk/credential-provider-ini@3.972.54", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/credential-provider-env": "^3.972.47", "@aws-sdk/credential-provider-http": "^3.972.49", "@aws-sdk/credential-provider-login": "^3.972.53", "@aws-sdk/credential-provider-process": "^3.972.47", "@aws-sdk/credential-provider-sso": "^3.972.53", "@aws-sdk/credential-provider-web-identity": "^3.972.53", "@aws-sdk/nested-clients": "^3.997.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/credential-provider-imds": "^4.3.7", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-Hx4gO4YRjFwitf3MVl3cDwYe1aryJthC4txVl9b+JAURovA50M2ywf9r8j1E/Q6SCTPT4qQpjOAbKYIC9CG+Vw=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-process": ["@aws-sdk/credential-provider-process@3.972.47", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-tAizPm9IFo/PHn06c+LQJlzfY2AGOlyF0CUljFejrU6LcZBjnk8pmbZK3/xoIDdnIzjEdbClfvY3mXfr818ZEg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-sso": ["@aws-sdk/credential-provider-sso@3.972.53", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/nested-clients": "^3.997.21", "@aws-sdk/token-providers": "3.1069.0", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-pUXE3fu4tfEDV8BksIgf4dXvuIH10FhwHMl/wu8rBD5T1sMpryQWFVitH3kdPS90wlgrGYJQ/meQTSPacyZfeg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-web-identity": ["@aws-sdk/credential-provider-web-identity@3.972.53", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/nested-clients": "^3.997.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-JmMGlhVvSj8uSG9CpeDkJAXT35H89tc6v84iMgEIE75q4yp1MKVVKvopv6Gg28HJIR7hMNkojRF8H2m5W44wyg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@smithy/credential-provider-imds": ["@smithy/credential-provider-imds@4.4.0", "", { "dependencies": { "@smithy/core": "^3.25.0", "@smithy/types": "^4.15.0", "tslib": "^2.6.2" } }, "sha512-pPQmNdEvMJttv9z2kdYxoui83p/nr32zjMf0aMfmzmGmFEgKXUfy0vXiNg0fx4R5XLQzmJBLM9Wg0guEq2/q8A=="],
|
||||
|
||||
"@trigger.dev/core/socket.io-client/engine.io-client/xmlhttprequest-ssl": ["xmlhttprequest-ssl@2.0.0", "", {}, "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A=="],
|
||||
|
||||
"@types/request/form-data/mime-types/mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="],
|
||||
@@ -6544,18 +6297,6 @@
|
||||
|
||||
"@sim/emcn/@radix-ui/react-avatar/@radix-ui/react-primitive/@radix-ui/react-slot/@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/core/@aws-sdk/xml-builder/fast-xml-parser": ["fast-xml-parser@5.7.3", "", { "dependencies": { "@nodable/entities": "^2.1.0", "fast-xml-builder": "^1.1.7", "path-expression-matcher": "^1.5.0", "strnum": "^2.2.3" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-ini/@aws-sdk/credential-provider-login": ["@aws-sdk/credential-provider-login@3.972.53", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/nested-clients": "^3.997.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-+71sluhkgPqdhbbD3UDwUpj24GCkng9HQx6z7qoBFb8dwkF4ktpOcVKDeHpgg8PvBgLYwAnUYLTEGRC/PniCiQ=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-ini/@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.21", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.21", "@aws-sdk/signature-v4-multi-region": "^3.996.35", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/fetch-http-handler": "^5.4.6", "@smithy/node-http-handler": "^4.7.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-eC7Vl7Qom/BGhZjG9GEqPwdQ/fk45hg1t5LP4EUxG5d1fdshLbaxCiwh/tszUzDX/4mW40mu2QsbeJJRPBbqUw=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-sso/@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.21", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.21", "@aws-sdk/signature-v4-multi-region": "^3.996.35", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/fetch-http-handler": "^5.4.6", "@smithy/node-http-handler": "^4.7.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-eC7Vl7Qom/BGhZjG9GEqPwdQ/fk45hg1t5LP4EUxG5d1fdshLbaxCiwh/tszUzDX/4mW40mu2QsbeJJRPBbqUw=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1069.0", "", { "dependencies": { "@aws-sdk/core": "^3.974.21", "@aws-sdk/nested-clients": "^3.997.21", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-ks4X+kngC3PA5howV7Qu1TgG4bfC4jPykKdvw3nmBSXR9yZxRJouBholFSNQ5kY3L+Fgwyw+LCjzQmNi+KR91g=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-web-identity/@aws-sdk/nested-clients": ["@aws-sdk/nested-clients@3.997.21", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.974.21", "@aws-sdk/signature-v4-multi-region": "^3.996.35", "@aws-sdk/types": "^3.973.13", "@smithy/core": "^3.24.6", "@smithy/fetch-http-handler": "^5.4.6", "@smithy/node-http-handler": "^4.7.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-eC7Vl7Qom/BGhZjG9GEqPwdQ/fk45hg1t5LP4EUxG5d1fdshLbaxCiwh/tszUzDX/4mW40mu2QsbeJJRPBbqUw=="],
|
||||
|
||||
"app-builder-lib/@electron/get/got/cacheable-request/get-stream": ["get-stream@5.2.0", "", { "dependencies": { "pump": "^3.0.0" } }, "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="],
|
||||
|
||||
"app-builder-lib/@electron/get/got/cacheable-request/keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="],
|
||||
@@ -6572,12 +6313,6 @@
|
||||
|
||||
"@earendil-works/pi-ai/@aws-sdk/client-bedrock-runtime/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-web-identity/@aws-sdk/nested-clients/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.35", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-6L/VWs+Wch2stHemCGTmUNqKLMzURxQDK5boNG3Jn3kAOp71meDUuS5sbObpEvFxHDq0uWeSLFDNSYsjNt+Dlg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-ini/@aws-sdk/nested-clients/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.35", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-6L/VWs+Wch2stHemCGTmUNqKLMzURxQDK5boNG3Jn3kAOp71meDUuS5sbObpEvFxHDq0uWeSLFDNSYsjNt+Dlg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-sso/@aws-sdk/nested-clients/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.35", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-6L/VWs+Wch2stHemCGTmUNqKLMzURxQDK5boNG3Jn3kAOp71meDUuS5sbObpEvFxHDq0uWeSLFDNSYsjNt+Dlg=="],
|
||||
|
||||
"@sim/runtime-secrets/@aws-sdk/client-secrets-manager/@aws-sdk/credential-provider-node/@aws-sdk/credential-provider-web-identity/@aws-sdk/nested-clients/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.35", "", { "dependencies": { "@aws-sdk/types": "^3.973.13", "@smithy/signature-v4": "^5.4.6", "@smithy/types": "^4.14.3", "tslib": "^2.6.2" } }, "sha512-6L/VWs+Wch2stHemCGTmUNqKLMzURxQDK5boNG3Jn3kAOp71meDUuS5sbObpEvFxHDq0uWeSLFDNSYsjNt+Dlg=="],
|
||||
|
||||
"ora/log-symbols/chalk/ansi-styles/color-convert/color-name": ["color-name@1.1.3", "", {}, "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="],
|
||||
}
|
||||
}
|
||||
@@ -25,12 +25,8 @@ WORKDIR /app
|
||||
COPY --from=pruner /app/out/json/ ./
|
||||
COPY --from=pruner /app/out/bun.lock ./bun.lock
|
||||
|
||||
# turbo prune emits a bun.lock that bun 1.3.x rejects under --frozen-lockfile
|
||||
# ("Failed to resolve prod dependency"). Bun must be allowed to normalize that
|
||||
# lockfile to the pruned graph; the full-repository CI install owns
|
||||
# frozen-lockfile validation.
|
||||
RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
|
||||
bun install --linker=hoisted --omit=dev --ignore-scripts
|
||||
bun install --frozen-lockfile --linker=hoisted --omit=dev --ignore-scripts
|
||||
|
||||
# ========================================
|
||||
# Runner Stage: Run the Socket Server
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@
|
||||
"protobufjs": "7.6.5",
|
||||
"socket.io": "4.8.3",
|
||||
"socket.io-parser": "4.2.7",
|
||||
"ws": "8.21.0"
|
||||
"ws": "8.21.3"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@next/swc-darwin-arm64": "16.3.1",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@opentelemetry/api-logs": "0.219.0",
|
||||
"@opentelemetry/api-logs": "0.221.0",
|
||||
"@sim/utils": "workspace:*",
|
||||
"chalk": "5.6.2"
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-secrets-manager": "3.1032.0",
|
||||
"@aws-sdk/client-secrets-manager": "3.1117.0",
|
||||
"@sim/logger": "workspace:*",
|
||||
"@sim/utils": "workspace:*"
|
||||
},
|
||||
|
||||
@@ -47,18 +47,16 @@
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
"dependencies": {
|
||||
"devDependencies": {
|
||||
"@clack/prompts": "1.7.0",
|
||||
"@next/env": "16.3.1",
|
||||
"@sim/deployment-config": "workspace:*",
|
||||
"@sim/security": "workspace:*",
|
||||
"@sim/utils": "workspace:*",
|
||||
"chalk": "5.6.2",
|
||||
"postgres": "^3.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sim/tsconfig": "workspace:*",
|
||||
"@sim/utils": "workspace:*",
|
||||
"@types/node": "24.2.1",
|
||||
"chalk": "5.6.2",
|
||||
"postgres": "^3.4.5",
|
||||
"typescript": "^7.0.2",
|
||||
"vitest": "^4.1.0"
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@ export type {
|
||||
EdgeDiffStatus,
|
||||
EdgeRunStatus,
|
||||
} from './types'
|
||||
export { useCanvasColorMode } from './use-canvas-color-mode'
|
||||
export {
|
||||
type CanvasSentenceSegment,
|
||||
CanvasSentenceView,
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
/**
|
||||
* @vitest-environment jsdom
|
||||
*/
|
||||
import { act } from 'react'
|
||||
import { createRoot, hydrateRoot, type Root } from 'react-dom/client'
|
||||
import { renderToString } from 'react-dom/server'
|
||||
import { afterEach, describe, expect, it } from 'vitest'
|
||||
import { useCanvasColorMode } from './use-canvas-color-mode'
|
||||
|
||||
const roots = new Set<Root>()
|
||||
const hosts = new Set<HTMLDivElement>()
|
||||
|
||||
function ColorModeProbe() {
|
||||
return <span data-color-mode={useCanvasColorMode()} />
|
||||
}
|
||||
|
||||
function createHost() {
|
||||
const host = document.createElement('div')
|
||||
document.body.appendChild(host)
|
||||
hosts.add(host)
|
||||
return host
|
||||
}
|
||||
|
||||
afterEach(() => {
|
||||
act(() => {
|
||||
for (const root of roots) root.unmount()
|
||||
})
|
||||
roots.clear()
|
||||
for (const host of hosts) host.remove()
|
||||
hosts.clear()
|
||||
document.documentElement.className = ''
|
||||
})
|
||||
|
||||
describe('useCanvasColorMode', () => {
|
||||
it('tracks the document theme class', async () => {
|
||||
const host = createHost()
|
||||
const root = createRoot(host)
|
||||
roots.add(root)
|
||||
|
||||
act(() => root.render(<ColorModeProbe />))
|
||||
expect(host.querySelector('span')).toHaveAttribute('data-color-mode', 'light')
|
||||
|
||||
await act(async () => {
|
||||
document.documentElement.classList.add('dark')
|
||||
await Promise.resolve()
|
||||
})
|
||||
expect(host.querySelector('span')).toHaveAttribute('data-color-mode', 'dark')
|
||||
})
|
||||
|
||||
it('hydrates from a stable light server snapshot before adopting dark mode', async () => {
|
||||
document.documentElement.classList.add('dark')
|
||||
const host = createHost()
|
||||
host.innerHTML = renderToString(<ColorModeProbe />)
|
||||
expect(host.querySelector('span')).toHaveAttribute('data-color-mode', 'light')
|
||||
|
||||
await act(async () => {
|
||||
roots.add(hydrateRoot(host, <ColorModeProbe />))
|
||||
await Promise.resolve()
|
||||
})
|
||||
expect(host.querySelector('span')).toHaveAttribute('data-color-mode', 'dark')
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client'
|
||||
|
||||
import { useSyncExternalStore } from 'react'
|
||||
import type { ColorMode } from '@xyflow/react'
|
||||
|
||||
const subscribeToDocumentTheme = (onStoreChange: () => void): (() => void) => {
|
||||
if (typeof MutationObserver === 'undefined') return () => undefined
|
||||
|
||||
const observer = new MutationObserver(onStoreChange)
|
||||
observer.observe(document.documentElement, { attributes: true, attributeFilter: ['class'] })
|
||||
return () => observer.disconnect()
|
||||
}
|
||||
|
||||
const getDocumentColorMode = (): ColorMode =>
|
||||
document.documentElement.classList.contains('dark') ? 'dark' : 'light'
|
||||
|
||||
const getServerColorMode = (): ColorMode => 'light'
|
||||
|
||||
/**
|
||||
* Keeps React Flow's wrapper theme aligned with the document theme.
|
||||
*
|
||||
* React Flow v12 always stamps a `light` or `dark` class on its root. Sim's
|
||||
* nested-theme variant treats `light` as an intentional light island, so the
|
||||
* wrapper must inherit the document mode for canvas dark styles to keep working.
|
||||
* `useSyncExternalStore` supplies a stable light server snapshot during hydration
|
||||
* and updates from the document class immediately afterward without a mismatch.
|
||||
*/
|
||||
export function useCanvasColorMode(): ColorMode {
|
||||
return useSyncExternalStore(subscribeToDocumentTheme, getDocumentColorMode, getServerColorMode)
|
||||
}
|
||||
+6
-2
@@ -4,7 +4,6 @@
|
||||
"timezone": "America/Los_Angeles",
|
||||
"schedule": ["before 6am on Monday"],
|
||||
"minimumReleaseAge": "7 days",
|
||||
"internalChecksFilter": "strict",
|
||||
"osvVulnerabilityAlerts": true,
|
||||
"vulnerabilityAlerts": {
|
||||
"enabled": true,
|
||||
@@ -62,9 +61,14 @@
|
||||
},
|
||||
{
|
||||
"description": "Keep React Email packages and CLI aligned",
|
||||
"matchPackageNames": ["react-email", "@react-email/**", "resend"],
|
||||
"matchPackageNames": ["react-email", "@react-email/**"],
|
||||
"groupName": "React Email"
|
||||
},
|
||||
{
|
||||
"description": "Keep Trigger.dev runtime, build package, and CLI aligned",
|
||||
"matchPackageNames": ["@trigger.dev/**", "trigger.dev"],
|
||||
"groupName": "Trigger.dev"
|
||||
},
|
||||
{
|
||||
"description": "Group immutable GitHub Actions digest refreshes",
|
||||
"matchManagers": ["github-actions"],
|
||||
|
||||
Reference in new issue
Block a user