@agent-play/sdk 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{browser-tX4_SW1K.d.ts → browser-BA5gjpPq.d.ts} +2 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +3 -1
- package/dist/{chunk-WTI6DVRD.js → chunk-27BMLID7.js} +18 -1
- package/dist/{chunk-WTI6DVRD.js.map → chunk-27BMLID7.js.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1366,6 +1366,7 @@ declare const listActiveParkingOccupancies: (content: ParkingStreetContent, nowI
|
|
|
1366
1366
|
expiresAt: string | null;
|
|
1367
1367
|
}>;
|
|
1368
1368
|
declare const findParkingSpot: (content: ParkingStreetContent, bay: ParkingSpot["bay"], layer: ParkingSpot["layer"]) => ParkingSpot | undefined;
|
|
1369
|
+
declare const effectiveParkingStreet: (content: ParkingStreetContent, nowIso: string) => ParkingStreetContent;
|
|
1369
1370
|
|
|
1370
1371
|
declare const HOUSE_WORLD_X: readonly [3, 8, 13, 18];
|
|
1371
1372
|
declare const HouseIdSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
@@ -2696,4 +2697,4 @@ declare function mergeSnapshotWithPlayerChainNode(snapshot: AgentPlaySnapshot, n
|
|
|
2696
2697
|
declare const PLAYER_CHAIN_GENESIS_STABLE_KEY: "__genesis__";
|
|
2697
2698
|
declare const PLAYER_CHAIN_HEADER_STABLE_KEY: "__header__";
|
|
2698
2699
|
|
|
2699
|
-
export { GameStatsSchema as $, type AgentPlaySnapshot as A, type AssistToolParameterSpec as B, type AssistToolSpec as C, COLUMN_STREET_ROW_HEIGHT as D, CONTINUOUS_RENDER_OFFSET as E, type CarWashCar as F, CarWashCarSchema as G, type ComputeTalkAgentPowerUpsEarnedInput as H, DAILY_GAME_PU_CAP as I, type Journey as J, DEFAULT_AGENT_SPAWN_MIN_DISTANCE as K, type LangChainAgentRegistration as L, DEFAULT_LAYOUT_BOUNDS_WITH_PARKING as M, DEFAULT_PARKING_RATES_USD as N, DEFAULT_PLAYER_WALLET_BALANCE_USD as O, type PlayerChainNodeResponse as P, type DestinationJourneyStep as Q, type RemotePlayWorldInitAudioOptions as R, GAME_CABINET_CATALOG as S, type GameCabinetEntry as T, type GameEvent as U, GameEventSchema as V, type WorldInteractionRole as W, type GameId as X, type GamePerTitleStats as Y, GamePerTitleStatsSchema as Z, type GameStats as _, type AddAgentInput as a, STREET_NAME_POOL as a$, HOUSE_BLUEPRINTS as a0, HOUSE_CATALOG as a1, HOUSE_WORLD_X as a2, type HouseBlueprint as a3, type HouseFixtureKind as a4, type HouseFixtureSlot as a5, type HouseId as a6, HouseIdSchema as a7, type HouseSlot as a8, HouseSlotSchema as a9, type ParkingOccupant as aA, type ParkingOwnershipError as aB, type ParkingSpot as aC, ParkingSpotSchema as aD, type ParkingStreetContent as aE, ParkingStreetContentSchema as aF, type PlatformAgentInformation as aG, type PlayAgentInformation as aH, type PlayerChainFanoutNotify as aI, type PlayerChainGenesisNode as aJ, type PlayerChainHeaderNode as aK, type PlayerChainNotifyNodeRef as aL, type PlayerChainOccupantPresentNode as aM, type PlayerChainOccupantRemovedNode as aN, type PlayerWallet as aO, PlayerWalletSchema as aP, type PositionedStep as aQ, type PurchaseRecord as aR, PurchaseRecordSchema as aS, type RealtimeWebrtcClientSecret as aT, type RegisteredAgentSummary as aU, type RemotePlayWorldOpenAiAudioOptions as aV, SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE as aW, SPATIAL_ZONE_INDEX_AGENTS as aX, SPATIAL_ZONE_INDEX_SPACES as aY, STREAK_BONUS_PU as aZ, STREAK_BONUS_THRESHOLD_DAYS as a_, type HouseStageBounds as aa, type HouseStreetContent as ab, HouseStreetContentSchema as ac, type JourneyStep as ad, MAX_SLOTS_WITH_FOREVER as ae, MAX_TIMED_PARKING_SLOTS_PER_NODE as af, MINIMUM_PLAY_WORLD_BOUNDS as ag, MINIMUM_STREET_LAYOUT_BOUNDS as ah, OCCUPANCY_POINT_MULTIPLIER as ai, type OccupancyGridPoint as aj, type OccupantGroup as ak, type OriginJourneyStep as al, type P2aEnableFlag as am, PARKING_BAY_COUNT as an, PARKING_COLUMN_GAP_ROWS as ao, PARKING_DURATION_TIERS as ap, PARKING_HOUSE_COUNT as aq, PARKING_LAYERS_PER_BAY as ar, PARKING_SPOT_COUNT as as, PARKING_STREET_ROW_HEIGHT as at, PLAYABLE_GAME_IDS as au, PLAYER_CHAIN_GENESIS_STABLE_KEY as av, PLAYER_CHAIN_HEADER_STABLE_KEY as aw, type ParkingDurationTier as ax, ParkingDurationTierSchema as ay, type ParkingOccupancyRef as az, type RegisteredPlayer as b, createEmptyGameStats as b$, type SaleState as b0, SaleStateSchema as b1, type ScannerBlockRecord as b2, ScannerBlockRecordSchema as b3, type ScannerHead as b4, ScannerHeadSchema as b5, type ScannerMigrationState as b6, ScannerMigrationStateSchema as b7, type ScannerMigrationStatus as b8, ScannerMigrationStatusSchema as b9, type WorldLayout as bA, type WorldLayoutBoundsField as bB, type YieldEventInfo as bC, type Zone as bD, type ZoneEventInfo as bE, applyBoundsFieldUpdateToLayout as bF, availableCellsForZone as bG, boundingWorldRectForOccupancyPoints as bH, boundsContain as bI, buildAmenityPurchaseApuFields as bJ, buildApuWalletTransaction as bK, buildHouseOwnershipPanelLines as bL, buildRankedOccupancyPoints as bM, buildRankedOccupancyPointsForSpatialZone as bN, buildRankedOccupancyPointsForZone as bO, buildRankedOccupancyPointsInRect as bP, buildWalletBundleApuFields as bQ, canNodeAcquireParkingSpot as bR, cellsForZone as bS, centerOfZone as bT, clampHousePosition as bU, clampWorldPosition as bV, computeEventPuDelta as bW, computeParkingExpiresAt as bX, computeRoundPuDelta as bY, computeTalkAgentPowerUpsEarned as bZ, costForSeconds as b_, type ScannerNodeProfile as ba, ScannerNodeProfileSchema as bb, type ScannerTxOp as bc, ScannerTxOpSchema as bd, type ScannerTxRecord as be, ScannerTxRecordSchema as bf, type ScannerWalletSnapshot as bg, ScannerWalletSnapshotSchema as bh, type ShopItem as bi, ShopItemSchema as bj, type SpaceContentItem as bk, type Street as bl, type StreetPoolEntry as bm, type StructureJourneyStep as bn, type SupermarketItem as bo, SupermarketItemSchema as bp, TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT as bq, TALK_AGENT_PU_MAX_PER_LEG as br, TALK_PRICE_PER_60S_USD as bs, TALK_PRICE_PER_SECOND_USD as bt, TALK_TICK_SECONDS as bu, WALLET_BUNDLE_OFFERS as bv, type WalletBundleId as bw, type WalletBundleOffer as bx, type WorldBounds as by, type WorldJourneyUpdate as bz, type AddPlayerInput as c, createEmptyHouseStreetContent as c0, createEmptyParkingStreetContent as c1, createInitialAgentRewardWallet as c2, createInitialPlayerWallet as c3, createVerticalStripSeedLayout as c4, createWorldLayoutWithParkingRow as c5, desaturateColor as c6, effectiveHourlyRateUsd as c7,
|
|
2700
|
+
export { GameStatsSchema as $, type AgentPlaySnapshot as A, type AssistToolParameterSpec as B, type AssistToolSpec as C, COLUMN_STREET_ROW_HEIGHT as D, CONTINUOUS_RENDER_OFFSET as E, type CarWashCar as F, CarWashCarSchema as G, type ComputeTalkAgentPowerUpsEarnedInput as H, DAILY_GAME_PU_CAP as I, type Journey as J, DEFAULT_AGENT_SPAWN_MIN_DISTANCE as K, type LangChainAgentRegistration as L, DEFAULT_LAYOUT_BOUNDS_WITH_PARKING as M, DEFAULT_PARKING_RATES_USD as N, DEFAULT_PLAYER_WALLET_BALANCE_USD as O, type PlayerChainNodeResponse as P, type DestinationJourneyStep as Q, type RemotePlayWorldInitAudioOptions as R, GAME_CABINET_CATALOG as S, type GameCabinetEntry as T, type GameEvent as U, GameEventSchema as V, type WorldInteractionRole as W, type GameId as X, type GamePerTitleStats as Y, GamePerTitleStatsSchema as Z, type GameStats as _, type AddAgentInput as a, STREET_NAME_POOL as a$, HOUSE_BLUEPRINTS as a0, HOUSE_CATALOG as a1, HOUSE_WORLD_X as a2, type HouseBlueprint as a3, type HouseFixtureKind as a4, type HouseFixtureSlot as a5, type HouseId as a6, HouseIdSchema as a7, type HouseSlot as a8, HouseSlotSchema as a9, type ParkingOccupant as aA, type ParkingOwnershipError as aB, type ParkingSpot as aC, ParkingSpotSchema as aD, type ParkingStreetContent as aE, ParkingStreetContentSchema as aF, type PlatformAgentInformation as aG, type PlayAgentInformation as aH, type PlayerChainFanoutNotify as aI, type PlayerChainGenesisNode as aJ, type PlayerChainHeaderNode as aK, type PlayerChainNotifyNodeRef as aL, type PlayerChainOccupantPresentNode as aM, type PlayerChainOccupantRemovedNode as aN, type PlayerWallet as aO, PlayerWalletSchema as aP, type PositionedStep as aQ, type PurchaseRecord as aR, PurchaseRecordSchema as aS, type RealtimeWebrtcClientSecret as aT, type RegisteredAgentSummary as aU, type RemotePlayWorldOpenAiAudioOptions as aV, SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE as aW, SPATIAL_ZONE_INDEX_AGENTS as aX, SPATIAL_ZONE_INDEX_SPACES as aY, STREAK_BONUS_PU as aZ, STREAK_BONUS_THRESHOLD_DAYS as a_, type HouseStageBounds as aa, type HouseStreetContent as ab, HouseStreetContentSchema as ac, type JourneyStep as ad, MAX_SLOTS_WITH_FOREVER as ae, MAX_TIMED_PARKING_SLOTS_PER_NODE as af, MINIMUM_PLAY_WORLD_BOUNDS as ag, MINIMUM_STREET_LAYOUT_BOUNDS as ah, OCCUPANCY_POINT_MULTIPLIER as ai, type OccupancyGridPoint as aj, type OccupantGroup as ak, type OriginJourneyStep as al, type P2aEnableFlag as am, PARKING_BAY_COUNT as an, PARKING_COLUMN_GAP_ROWS as ao, PARKING_DURATION_TIERS as ap, PARKING_HOUSE_COUNT as aq, PARKING_LAYERS_PER_BAY as ar, PARKING_SPOT_COUNT as as, PARKING_STREET_ROW_HEIGHT as at, PLAYABLE_GAME_IDS as au, PLAYER_CHAIN_GENESIS_STABLE_KEY as av, PLAYER_CHAIN_HEADER_STABLE_KEY as aw, type ParkingDurationTier as ax, ParkingDurationTierSchema as ay, type ParkingOccupancyRef as az, type RegisteredPlayer as b, createEmptyGameStats as b$, type SaleState as b0, SaleStateSchema as b1, type ScannerBlockRecord as b2, ScannerBlockRecordSchema as b3, type ScannerHead as b4, ScannerHeadSchema as b5, type ScannerMigrationState as b6, ScannerMigrationStateSchema as b7, type ScannerMigrationStatus as b8, ScannerMigrationStatusSchema as b9, type WorldLayout as bA, type WorldLayoutBoundsField as bB, type YieldEventInfo as bC, type Zone as bD, type ZoneEventInfo as bE, applyBoundsFieldUpdateToLayout as bF, availableCellsForZone as bG, boundingWorldRectForOccupancyPoints as bH, boundsContain as bI, buildAmenityPurchaseApuFields as bJ, buildApuWalletTransaction as bK, buildHouseOwnershipPanelLines as bL, buildRankedOccupancyPoints as bM, buildRankedOccupancyPointsForSpatialZone as bN, buildRankedOccupancyPointsForZone as bO, buildRankedOccupancyPointsInRect as bP, buildWalletBundleApuFields as bQ, canNodeAcquireParkingSpot as bR, cellsForZone as bS, centerOfZone as bT, clampHousePosition as bU, clampWorldPosition as bV, computeEventPuDelta as bW, computeParkingExpiresAt as bX, computeRoundPuDelta as bY, computeTalkAgentPowerUpsEarned as bZ, costForSeconds as b_, type ScannerNodeProfile as ba, ScannerNodeProfileSchema as bb, type ScannerTxOp as bc, ScannerTxOpSchema as bd, type ScannerTxRecord as be, ScannerTxRecordSchema as bf, type ScannerWalletSnapshot as bg, ScannerWalletSnapshotSchema as bh, type ShopItem as bi, ShopItemSchema as bj, type SpaceContentItem as bk, type Street as bl, type StreetPoolEntry as bm, type StructureJourneyStep as bn, type SupermarketItem as bo, SupermarketItemSchema as bp, TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT as bq, TALK_AGENT_PU_MAX_PER_LEG as br, TALK_PRICE_PER_60S_USD as bs, TALK_PRICE_PER_SECOND_USD as bt, TALK_TICK_SECONDS as bu, WALLET_BUNDLE_OFFERS as bv, type WalletBundleId as bw, type WalletBundleOffer as bx, type WorldBounds as by, type WorldJourneyUpdate as bz, type AddPlayerInput as c, zonesForGroup as c$, createEmptyHouseStreetContent as c0, createEmptyParkingStreetContent as c1, createInitialAgentRewardWallet as c2, createInitialPlayerWallet as c3, createVerticalStripSeedLayout as c4, createWorldLayoutWithParkingRow as c5, desaturateColor as c6, effectiveHourlyRateUsd as c7, effectiveParkingStreet as c8, enumerateIntegerCellsInRect as c9, listAllowedOccupancyPoints as cA, listOccupancyPointsForSpatialZone as cB, listOccupancyPointsForZone as cC, listOccupancyPointsInRect as cD, mergeSnapshotWithPlayerChainNode as cE, migrateLayoutToParkingColumnGap as cF, migrateLayoutToParkingRow as cG, migrateWorldLayoutBounds as cH, nextStreetFromPool as cI, occupancyKeyForPosition as cJ, occupancyPointsGroupedBySpatialZone as cK, occupancyPointsGroupedByZones as cL, parkingZoneMaxYFromColumnBase as cM, parkingZoneMinYFromColumnBase as cN, parsePlayerChainFanoutNotify as cO, parsePlayerChainFanoutNotifyFromSsePayload as cP, parsePlayerChainNodeRpcBody as cQ, pickZoneForGroup as cR, pointCellInRect as cS, pointCellInSpatialZone as cT, pointCellInZone as cU, primaryZoneForGroup as cV, sortNodeRefsForSerializedFetch as cW, spatialZoneBounds as cX, spatialZoneCenter as cY, streetFromPoolEntry as cZ, utcDateKey as c_, expandBoundsToMinimumPlayArea as ca, featuredGameIdForUtcDate as cb, findHouseSlot as cc, findParkingSpot as cd, formatHouseOwnerDisplayName as ce, getGameCabinetByGameId as cf, getGameCabinetById as cg, getHouseBlueprint as ch, getStreetPoolEntryById as ci, getWalletBundleById as cj, housePurchaseDetail as ck, houseSpawnPosition as cl, isAgentSpawnOccupancyPointAvailable as cm, isAgentSpawnOccupancyPointAvailableInRect as cn, isAgentSpawnOccupancyPointAvailableInZone as co, isGameId as cp, isHouseOwned as cq, isItemAvailableForPurchase as cr, isParkingOccupantActive as cs, isSpaceAnchorOccupancyPointAvailable as ct, isSpaceAnchorOccupancyPointAvailableInRect as cu, isSpaceAnchorOccupancyPointAvailableInZone as cv, layoutHasParkingZone as cw, layoutHouseFixtures as cx, layoutNeedsParkingColumnGapMigration as cy, listActiveParkingOccupancies as cz, type RecordInteractionInput as d, ANALYTICS_EVENT_NAMES as e, APU_TOKEN as f, type AgentPlayWorldLayout as g, type AgentPlayWorldLayoutZone as h, type AgentPlayWorldMap as i, type AgentPlayWorldMapAgentOccupant as j, type AgentPlayWorldMapBounds as k, type AgentPlayWorldMapMcpOccupant as l, type AnalyticsContext as m, AnalyticsContextSchema as n, type AnalyticsEvent as o, type AnalyticsEventName as p, AnalyticsEventSchema as q, type AnalyticsMigrationState as r, AnalyticsMigrationStateSchema as s, type AnalyticsPropertyValue as t, AnalyticsPropertyValueSchema as u, type AnalyticsTraits as v, AnalyticsTraitsSchema as w, type ApplyGameOutcomeInput as x, ApplyGameOutcomeInputSchema as y, type AssistToolFieldType as z };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { e as ANALYTICS_EVENT_NAMES, f as APU_TOKEN, A as AgentPlaySnapshot, g as AgentPlayWorldLayout, o as AnalyticsEvent, p as AnalyticsEventName, q as AnalyticsEventSchema, v as AnalyticsTraits, w as AnalyticsTraitsSchema, x as ApplyGameOutcomeInput, y as ApplyGameOutcomeInputSchema, E as CONTINUOUS_RENDER_OFFSET, F as CarWashCar, G as CarWashCarSchema, H as ComputeTalkAgentPowerUpsEarnedInput, I as DAILY_GAME_PU_CAP, K as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, M as DEFAULT_LAYOUT_BOUNDS_WITH_PARKING, N as DEFAULT_PARKING_RATES_USD, O as DEFAULT_PLAYER_WALLET_BALANCE_USD, S as GAME_CABINET_CATALOG, T as GameCabinetEntry, U as GameEvent, V as GameEventSchema, X as GameId, Y as GamePerTitleStats, Z as GamePerTitleStatsSchema, _ as GameStats, $ as GameStatsSchema, a0 as HOUSE_BLUEPRINTS, a1 as HOUSE_CATALOG, a2 as HOUSE_WORLD_X, a3 as HouseBlueprint, a4 as HouseFixtureKind, a5 as HouseFixtureSlot, a6 as HouseId, a7 as HouseIdSchema, a8 as HouseSlot, a9 as HouseSlotSchema, aa as HouseStageBounds, ab as HouseStreetContent, ac as HouseStreetContentSchema, ae as MAX_SLOTS_WITH_FOREVER, af as MAX_TIMED_PARKING_SLOTS_PER_NODE, ag as MINIMUM_PLAY_WORLD_BOUNDS, ah as MINIMUM_STREET_LAYOUT_BOUNDS, ai as OCCUPANCY_POINT_MULTIPLIER, aj as OccupancyGridPoint, ak as OccupantGroup, an as PARKING_BAY_COUNT, ap as PARKING_DURATION_TIERS, aq as PARKING_HOUSE_COUNT, ar as PARKING_LAYERS_PER_BAY, as as PARKING_SPOT_COUNT, au as PLAYABLE_GAME_IDS, av as PLAYER_CHAIN_GENESIS_STABLE_KEY, aw as PLAYER_CHAIN_HEADER_STABLE_KEY, ax as ParkingDurationTier, ay as ParkingDurationTierSchema, az as ParkingOccupancyRef, aA as ParkingOccupant, aB as ParkingOwnershipError, aC as ParkingSpot, aD as ParkingSpotSchema, aE as ParkingStreetContent, aF as ParkingStreetContentSchema, aO as PlayerWallet, aP as PlayerWalletSchema, aR as PurchaseRecord, aS as PurchaseRecordSchema, aW as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, aX as SPATIAL_ZONE_INDEX_AGENTS, aY as SPATIAL_ZONE_INDEX_SPACES, a$ as STREET_NAME_POOL, b0 as SaleState, b1 as SaleStateSchema, b2 as ScannerBlockRecord, b3 as ScannerBlockRecordSchema, b4 as ScannerHead, b5 as ScannerHeadSchema, b6 as ScannerMigrationState, b7 as ScannerMigrationStateSchema, ba as ScannerNodeProfile, bb as ScannerNodeProfileSchema, be as ScannerTxRecord, bf as ScannerTxRecordSchema, bg as ScannerWalletSnapshot, bh as ScannerWalletSnapshotSchema, bi as ShopItem, bj as ShopItemSchema, bk as SpaceContentItem, bl as Street, bm as StreetPoolEntry, bo as SupermarketItem, bp as SupermarketItemSchema, bq as TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT, br as TALK_AGENT_PU_MAX_PER_LEG, bs as TALK_PRICE_PER_60S_USD, bt as TALK_PRICE_PER_SECOND_USD, bu as TALK_TICK_SECONDS, bv as WALLET_BUNDLE_OFFERS, bw as WalletBundleId, bx as WalletBundleOffer, by as WorldBounds, bA as WorldLayout, bB as WorldLayoutBoundsField, bD as Zone, bF as applyBoundsFieldUpdateToLayout, bG as availableCellsForZone, bH as boundingWorldRectForOccupancyPoints, bI as boundsContain, bJ as buildAmenityPurchaseApuFields, bK as buildApuWalletTransaction, bL as buildHouseOwnershipPanelLines, bM as buildRankedOccupancyPoints, bN as buildRankedOccupancyPointsForSpatialZone, bO as buildRankedOccupancyPointsForZone, bP as buildRankedOccupancyPointsInRect, bQ as buildWalletBundleApuFields, bR as canNodeAcquireParkingSpot, bS as cellsForZone, bT as centerOfZone, bU as clampHousePosition, bV as clampWorldPosition, bX as computeParkingExpiresAt, bY as computeRoundPuDelta, bZ as computeTalkAgentPowerUpsEarned, b_ as costForSeconds, b$ as createEmptyGameStats, c0 as createEmptyHouseStreetContent, c1 as createEmptyParkingStreetContent, c2 as createInitialAgentRewardWallet, c3 as createInitialPlayerWallet, c4 as createVerticalStripSeedLayout, c5 as createWorldLayoutWithParkingRow, c6 as desaturateColor, c7 as effectiveHourlyRateUsd, c8 as
|
|
1
|
+
export { e as ANALYTICS_EVENT_NAMES, f as APU_TOKEN, A as AgentPlaySnapshot, g as AgentPlayWorldLayout, o as AnalyticsEvent, p as AnalyticsEventName, q as AnalyticsEventSchema, v as AnalyticsTraits, w as AnalyticsTraitsSchema, x as ApplyGameOutcomeInput, y as ApplyGameOutcomeInputSchema, E as CONTINUOUS_RENDER_OFFSET, F as CarWashCar, G as CarWashCarSchema, H as ComputeTalkAgentPowerUpsEarnedInput, I as DAILY_GAME_PU_CAP, K as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, M as DEFAULT_LAYOUT_BOUNDS_WITH_PARKING, N as DEFAULT_PARKING_RATES_USD, O as DEFAULT_PLAYER_WALLET_BALANCE_USD, S as GAME_CABINET_CATALOG, T as GameCabinetEntry, U as GameEvent, V as GameEventSchema, X as GameId, Y as GamePerTitleStats, Z as GamePerTitleStatsSchema, _ as GameStats, $ as GameStatsSchema, a0 as HOUSE_BLUEPRINTS, a1 as HOUSE_CATALOG, a2 as HOUSE_WORLD_X, a3 as HouseBlueprint, a4 as HouseFixtureKind, a5 as HouseFixtureSlot, a6 as HouseId, a7 as HouseIdSchema, a8 as HouseSlot, a9 as HouseSlotSchema, aa as HouseStageBounds, ab as HouseStreetContent, ac as HouseStreetContentSchema, ae as MAX_SLOTS_WITH_FOREVER, af as MAX_TIMED_PARKING_SLOTS_PER_NODE, ag as MINIMUM_PLAY_WORLD_BOUNDS, ah as MINIMUM_STREET_LAYOUT_BOUNDS, ai as OCCUPANCY_POINT_MULTIPLIER, aj as OccupancyGridPoint, ak as OccupantGroup, an as PARKING_BAY_COUNT, ap as PARKING_DURATION_TIERS, aq as PARKING_HOUSE_COUNT, ar as PARKING_LAYERS_PER_BAY, as as PARKING_SPOT_COUNT, au as PLAYABLE_GAME_IDS, av as PLAYER_CHAIN_GENESIS_STABLE_KEY, aw as PLAYER_CHAIN_HEADER_STABLE_KEY, ax as ParkingDurationTier, ay as ParkingDurationTierSchema, az as ParkingOccupancyRef, aA as ParkingOccupant, aB as ParkingOwnershipError, aC as ParkingSpot, aD as ParkingSpotSchema, aE as ParkingStreetContent, aF as ParkingStreetContentSchema, aO as PlayerWallet, aP as PlayerWalletSchema, aR as PurchaseRecord, aS as PurchaseRecordSchema, aW as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, aX as SPATIAL_ZONE_INDEX_AGENTS, aY as SPATIAL_ZONE_INDEX_SPACES, a$ as STREET_NAME_POOL, b0 as SaleState, b1 as SaleStateSchema, b2 as ScannerBlockRecord, b3 as ScannerBlockRecordSchema, b4 as ScannerHead, b5 as ScannerHeadSchema, b6 as ScannerMigrationState, b7 as ScannerMigrationStateSchema, ba as ScannerNodeProfile, bb as ScannerNodeProfileSchema, be as ScannerTxRecord, bf as ScannerTxRecordSchema, bg as ScannerWalletSnapshot, bh as ScannerWalletSnapshotSchema, bi as ShopItem, bj as ShopItemSchema, bk as SpaceContentItem, bl as Street, bm as StreetPoolEntry, bo as SupermarketItem, bp as SupermarketItemSchema, bq as TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT, br as TALK_AGENT_PU_MAX_PER_LEG, bs as TALK_PRICE_PER_60S_USD, bt as TALK_PRICE_PER_SECOND_USD, bu as TALK_TICK_SECONDS, bv as WALLET_BUNDLE_OFFERS, bw as WalletBundleId, bx as WalletBundleOffer, by as WorldBounds, bA as WorldLayout, bB as WorldLayoutBoundsField, bD as Zone, bF as applyBoundsFieldUpdateToLayout, bG as availableCellsForZone, bH as boundingWorldRectForOccupancyPoints, bI as boundsContain, bJ as buildAmenityPurchaseApuFields, bK as buildApuWalletTransaction, bL as buildHouseOwnershipPanelLines, bM as buildRankedOccupancyPoints, bN as buildRankedOccupancyPointsForSpatialZone, bO as buildRankedOccupancyPointsForZone, bP as buildRankedOccupancyPointsInRect, bQ as buildWalletBundleApuFields, bR as canNodeAcquireParkingSpot, bS as cellsForZone, bT as centerOfZone, bU as clampHousePosition, bV as clampWorldPosition, bX as computeParkingExpiresAt, bY as computeRoundPuDelta, bZ as computeTalkAgentPowerUpsEarned, b_ as costForSeconds, b$ as createEmptyGameStats, c0 as createEmptyHouseStreetContent, c1 as createEmptyParkingStreetContent, c2 as createInitialAgentRewardWallet, c3 as createInitialPlayerWallet, c4 as createVerticalStripSeedLayout, c5 as createWorldLayoutWithParkingRow, c6 as desaturateColor, c7 as effectiveHourlyRateUsd, c8 as effectiveParkingStreet, c9 as enumerateIntegerCellsInRect, ca as expandBoundsToMinimumPlayArea, cb as featuredGameIdForUtcDate, cc as findHouseSlot, cd as findParkingSpot, ce as formatHouseOwnerDisplayName, cf as getGameCabinetByGameId, cg as getGameCabinetById, ch as getHouseBlueprint, ci as getStreetPoolEntryById, cj as getWalletBundleById, ck as housePurchaseDetail, cl as houseSpawnPosition, cm as isAgentSpawnOccupancyPointAvailable, cn as isAgentSpawnOccupancyPointAvailableInRect, co as isAgentSpawnOccupancyPointAvailableInZone, cp as isGameId, cq as isHouseOwned, cr as isItemAvailableForPurchase, cs as isParkingOccupantActive, ct as isSpaceAnchorOccupancyPointAvailable, cu as isSpaceAnchorOccupancyPointAvailableInRect, cv as isSpaceAnchorOccupancyPointAvailableInZone, cw as layoutHasParkingZone, cx as layoutHouseFixtures, cz as listActiveParkingOccupancies, cA as listAllowedOccupancyPoints, cB as listOccupancyPointsForSpatialZone, cC as listOccupancyPointsForZone, cD as listOccupancyPointsInRect, cE as mergeSnapshotWithPlayerChainNode, cG as migrateLayoutToParkingRow, cH as migrateWorldLayoutBounds, cI as nextStreetFromPool, cJ as occupancyKeyForPosition, cK as occupancyPointsGroupedBySpatialZone, cL as occupancyPointsGroupedByZones, cO as parsePlayerChainFanoutNotify, cP as parsePlayerChainFanoutNotifyFromSsePayload, cQ as parsePlayerChainNodeRpcBody, cR as pickZoneForGroup, cS as pointCellInRect, cT as pointCellInSpatialZone, cU as pointCellInZone, cV as primaryZoneForGroup, cW as sortNodeRefsForSerializedFetch, cX as spatialZoneBounds, cY as spatialZoneCenter, cZ as streetFromPoolEntry, c_ as utcDateKey, c$ as zonesForGroup } from './browser-BA5gjpPq.js';
|
|
2
2
|
import 'zod';
|
package/dist/browser.js
CHANGED
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
createWorldLayoutWithParkingRow,
|
|
89
89
|
desaturateColor,
|
|
90
90
|
effectiveHourlyRateUsd,
|
|
91
|
+
effectiveParkingStreet,
|
|
91
92
|
enumerateIntegerCellsInRect,
|
|
92
93
|
expandBoundsToMinimumPlayArea,
|
|
93
94
|
featuredGameIdForUtcDate,
|
|
@@ -139,7 +140,7 @@ import {
|
|
|
139
140
|
streetFromPoolEntry,
|
|
140
141
|
utcDateKey,
|
|
141
142
|
zonesForGroup
|
|
142
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-27BMLID7.js";
|
|
143
144
|
export {
|
|
144
145
|
ANALYTICS_EVENT_NAMES,
|
|
145
146
|
APU_TOKEN,
|
|
@@ -230,6 +231,7 @@ export {
|
|
|
230
231
|
createWorldLayoutWithParkingRow,
|
|
231
232
|
desaturateColor,
|
|
232
233
|
effectiveHourlyRateUsd,
|
|
234
|
+
effectiveParkingStreet,
|
|
233
235
|
enumerateIntegerCellsInRect,
|
|
234
236
|
expandBoundsToMinimumPlayArea,
|
|
235
237
|
featuredGameIdForUtcDate,
|
|
@@ -5058,6 +5058,22 @@ var listActiveParkingOccupancies = (content, nowIso) => {
|
|
|
5058
5058
|
return active;
|
|
5059
5059
|
};
|
|
5060
5060
|
var findParkingSpot = (content, bay, layer) => content.spots.find((s) => s.bay === bay && s.layer === layer);
|
|
5061
|
+
var effectiveParkingStreet = (content, nowIso) => ({
|
|
5062
|
+
spots: content.spots.map((spot) => {
|
|
5063
|
+
const occupant = spot.occupant;
|
|
5064
|
+
if (occupant === null) {
|
|
5065
|
+
return spot;
|
|
5066
|
+
}
|
|
5067
|
+
if (isParkingOccupantActive({
|
|
5068
|
+
expiresAt: occupant.expiresAt,
|
|
5069
|
+
nowIso
|
|
5070
|
+
})) {
|
|
5071
|
+
return spot;
|
|
5072
|
+
}
|
|
5073
|
+
return { ...spot, occupant: null };
|
|
5074
|
+
}),
|
|
5075
|
+
rates: { ...content.rates }
|
|
5076
|
+
});
|
|
5061
5077
|
|
|
5062
5078
|
// src/lib/house-content-model.ts
|
|
5063
5079
|
var NonEmpty3 = external_exports.string().trim().min(1);
|
|
@@ -6254,6 +6270,7 @@ export {
|
|
|
6254
6270
|
createEmptyParkingStreetContent,
|
|
6255
6271
|
listActiveParkingOccupancies,
|
|
6256
6272
|
findParkingSpot,
|
|
6273
|
+
effectiveParkingStreet,
|
|
6257
6274
|
HOUSE_WORLD_X,
|
|
6258
6275
|
HouseIdSchema,
|
|
6259
6276
|
HOUSE_CATALOG,
|
|
@@ -6331,4 +6348,4 @@ export {
|
|
|
6331
6348
|
parsePlayerChainNodeRpcBody,
|
|
6332
6349
|
mergeSnapshotWithPlayerChainNode
|
|
6333
6350
|
};
|
|
6334
|
-
//# sourceMappingURL=chunk-
|
|
6351
|
+
//# sourceMappingURL=chunk-27BMLID7.js.map
|