fix desktop types esm resolution and document the startup crash fix

This commit is contained in:
dirtydishes 2026-05-20 18:28:18 -04:00
parent a8d183f38e
commit 1543f419e6
9 changed files with 166 additions and 15 deletions

View file

@ -5,8 +5,8 @@ import {
FlowPacketSchema,
OptionPrintSchema,
SmartMoneyEventSchema
} from "./events";
import { OptionFlowFiltersSchema } from "./options-flow";
} from "./events.ts";
import { OptionFlowFiltersSchema } from "./options-flow.ts";
export const IslandflowAiReasoningEffortSchema = z.enum([
"none",

View file

@ -1,5 +1,5 @@
import { z } from "zod";
import { OptionNbboSideSchema, OptionTypeSchema, OptionsSignalModeSchema } from "./options-flow";
import { OptionNbboSideSchema, OptionTypeSchema, OptionsSignalModeSchema } from "./options-flow.ts";
export const EventMetaSchema = z.object({
source_ts: z.number().int().nonnegative(),

View file

@ -1,6 +1,6 @@
export * from "./events";
export * from "./live";
export * from "./options-flow";
export * from "./sp500";
export * from "./synthetic-market";
export * from "./desktop-ai";
export * from "./events.ts";
export * from "./live.ts";
export * from "./options-flow.ts";
export * from "./sp500.ts";
export * from "./synthetic-market.ts";
export * from "./desktop-ai.ts";

View file

@ -12,11 +12,11 @@ import {
OptionNBBOSchema,
OptionPrintSchema,
SmartMoneyEventSchema
} from "./events";
} from "./events.ts";
import {
OptionFlowFiltersSchema,
optionFlowFilterKey
} from "./options-flow";
} from "./options-flow.ts";
export const CursorSchema = z.object({
ts: z.number().int().nonnegative(),

View file

@ -1,5 +1,5 @@
import { z } from "zod";
import type { FlowPacket, OptionNBBO, OptionPrint } from "./events";
import type { FlowPacket, OptionNBBO, OptionPrint } from "./events.ts";
export const SyntheticMarketModeSchema = z.enum(["realistic", "active", "firehose"]);
export type SyntheticMarketMode = z.infer<typeof SyntheticMarketModeSchema>;

View file

@ -1,7 +1,7 @@
import { z } from "zod";
import type { SmartMoneyProfileId } from "./events";
import type { SyntheticMarketMode } from "./options-flow";
import { SP500_SYMBOLS } from "./sp500";
import type { SmartMoneyProfileId } from "./events.ts";
import type { SyntheticMarketMode } from "./options-flow.ts";
import { SP500_SYMBOLS } from "./sp500.ts";
const SYNTHETIC_PROFILE_WEIGHT_VALUES = [0.6, 1.0, 1.6] as const;
const SYNTHETIC_COVERAGE_WINDOW_VALUES = [10, 20, 30] as const;