@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
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WorldInteractionRole, L as LangChainAgentRegistration, R as RemotePlayWorldInitAudioOptions, A as AgentPlaySnapshot, P as PlayerChainNodeResponse, a as AddAgentInput, b as RegisteredPlayer, c as AddPlayerInput, d as RecordInteractionInput, J as Journey } from './browser-
|
|
2
|
-
export { e as ANALYTICS_EVENT_NAMES, f as APU_TOKEN, g as AgentPlayWorldLayout, h as AgentPlayWorldLayoutZone, i as AgentPlayWorldMap, j as AgentPlayWorldMapAgentOccupant, k as AgentPlayWorldMapBounds, l as AgentPlayWorldMapMcpOccupant, m as AnalyticsContext, n as AnalyticsContextSchema, o as AnalyticsEvent, p as AnalyticsEventName, q as AnalyticsEventSchema, r as AnalyticsMigrationState, s as AnalyticsMigrationStateSchema, t as AnalyticsPropertyValue, u as AnalyticsPropertyValueSchema, v as AnalyticsTraits, w as AnalyticsTraitsSchema, x as ApplyGameOutcomeInput, y as ApplyGameOutcomeInputSchema, z as AssistToolFieldType, B as AssistToolParameterSpec, C as AssistToolSpec, D as COLUMN_STREET_ROW_HEIGHT, 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, Q as DestinationJourneyStep, 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, ad as JourneyStep, 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, al as OriginJourneyStep, am as P2aEnableFlag, an as PARKING_BAY_COUNT, ao as PARKING_COLUMN_GAP_ROWS, ap as PARKING_DURATION_TIERS, aq as PARKING_HOUSE_COUNT, ar as PARKING_LAYERS_PER_BAY, as as PARKING_SPOT_COUNT, at as PARKING_STREET_ROW_HEIGHT, 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, aG as PlatformAgentInformation, aH as PlayAgentInformation, aI as PlayerChainFanoutNotify, aJ as PlayerChainGenesisNode, aK as PlayerChainHeaderNode, aL as PlayerChainNotifyNodeRef, aM as PlayerChainOccupantPresentNode, aN as PlayerChainOccupantRemovedNode, aO as PlayerWallet, aP as PlayerWalletSchema, aQ as PositionedStep, aR as PurchaseRecord, aS as PurchaseRecordSchema, aT as RealtimeWebrtcClientSecret, aU as RegisteredAgentSummary, aV as RemotePlayWorldOpenAiAudioOptions, aW as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, aX as SPATIAL_ZONE_INDEX_AGENTS, aY as SPATIAL_ZONE_INDEX_SPACES, aZ as STREAK_BONUS_PU, a_ as STREAK_BONUS_THRESHOLD_DAYS, 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, b8 as ScannerMigrationStatus, b9 as ScannerMigrationStatusSchema, ba as ScannerNodeProfile, bb as ScannerNodeProfileSchema, bc as ScannerTxOp, bd as ScannerTxOpSchema, 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, bn as StructureJourneyStep, 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, bz as WorldJourneyUpdate, bA as WorldLayout, bB as WorldLayoutBoundsField, bC as YieldEventInfo, bD as Zone, bE as ZoneEventInfo, 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, bW as computeEventPuDelta, 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
|
+
import { W as WorldInteractionRole, L as LangChainAgentRegistration, R as RemotePlayWorldInitAudioOptions, A as AgentPlaySnapshot, P as PlayerChainNodeResponse, a as AddAgentInput, b as RegisteredPlayer, c as AddPlayerInput, d as RecordInteractionInput, J as Journey } from './browser-BA5gjpPq.js';
|
|
2
|
+
export { e as ANALYTICS_EVENT_NAMES, f as APU_TOKEN, g as AgentPlayWorldLayout, h as AgentPlayWorldLayoutZone, i as AgentPlayWorldMap, j as AgentPlayWorldMapAgentOccupant, k as AgentPlayWorldMapBounds, l as AgentPlayWorldMapMcpOccupant, m as AnalyticsContext, n as AnalyticsContextSchema, o as AnalyticsEvent, p as AnalyticsEventName, q as AnalyticsEventSchema, r as AnalyticsMigrationState, s as AnalyticsMigrationStateSchema, t as AnalyticsPropertyValue, u as AnalyticsPropertyValueSchema, v as AnalyticsTraits, w as AnalyticsTraitsSchema, x as ApplyGameOutcomeInput, y as ApplyGameOutcomeInputSchema, z as AssistToolFieldType, B as AssistToolParameterSpec, C as AssistToolSpec, D as COLUMN_STREET_ROW_HEIGHT, 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, Q as DestinationJourneyStep, 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, ad as JourneyStep, 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, al as OriginJourneyStep, am as P2aEnableFlag, an as PARKING_BAY_COUNT, ao as PARKING_COLUMN_GAP_ROWS, ap as PARKING_DURATION_TIERS, aq as PARKING_HOUSE_COUNT, ar as PARKING_LAYERS_PER_BAY, as as PARKING_SPOT_COUNT, at as PARKING_STREET_ROW_HEIGHT, 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, aG as PlatformAgentInformation, aH as PlayAgentInformation, aI as PlayerChainFanoutNotify, aJ as PlayerChainGenesisNode, aK as PlayerChainHeaderNode, aL as PlayerChainNotifyNodeRef, aM as PlayerChainOccupantPresentNode, aN as PlayerChainOccupantRemovedNode, aO as PlayerWallet, aP as PlayerWalletSchema, aQ as PositionedStep, aR as PurchaseRecord, aS as PurchaseRecordSchema, aT as RealtimeWebrtcClientSecret, aU as RegisteredAgentSummary, aV as RemotePlayWorldOpenAiAudioOptions, aW as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, aX as SPATIAL_ZONE_INDEX_AGENTS, aY as SPATIAL_ZONE_INDEX_SPACES, aZ as STREAK_BONUS_PU, a_ as STREAK_BONUS_THRESHOLD_DAYS, 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, b8 as ScannerMigrationStatus, b9 as ScannerMigrationStatusSchema, ba as ScannerNodeProfile, bb as ScannerNodeProfileSchema, bc as ScannerTxOp, bd as ScannerTxOpSchema, 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, bn as StructureJourneyStep, 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, bz as WorldJourneyUpdate, bA as WorldLayout, bB as WorldLayoutBoundsField, bC as YieldEventInfo, bD as Zone, bE as ZoneEventInfo, 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, bW as computeEventPuDelta, 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, cy as layoutNeedsParkingColumnGapMigration, cz as listActiveParkingOccupancies, cA as listAllowedOccupancyPoints, cB as listOccupancyPointsForSpatialZone, cC as listOccupancyPointsForZone, cD as listOccupancyPointsInRect, cE as mergeSnapshotWithPlayerChainNode, cF as migrateLayoutToParkingColumnGap, cG as migrateLayoutToParkingRow, cH as migrateWorldLayoutBounds, cI as nextStreetFromPool, cJ as occupancyKeyForPosition, cK as occupancyPointsGroupedBySpatialZone, cL as occupancyPointsGroupedByZones, cM as parkingZoneMaxYFromColumnBase, cN as parkingZoneMinYFromColumnBase, 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';
|
|
3
3
|
import { WorldIntercomEventPayload, IntercomResponsePayload } from '@agent-play/intercom';
|
|
4
4
|
export { AgentPlayAgentNodeEntry, AgentPlayCredentialsFile, NodeCredentialMaterial, createNodeCredentialMaterial, loadAgentPlayCredentialsFileFromPath, loadAgentPlayCredentialsFileFromPathSync, loadRootKey, nodeCredentialFromHumanPhrase, nodeCredentialFromPasswHash, nodeCredentialsMaterialFromHumanPassphrase, parseAgentPlayCredentialsJson, resolveAgentPlayCredentialsPath, verifyStoredNodeCredential } from '@agent-play/node-tools';
|
|
5
5
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -99,6 +99,7 @@ import {
|
|
|
99
99
|
createWorldLayoutWithParkingRow,
|
|
100
100
|
desaturateColor,
|
|
101
101
|
effectiveHourlyRateUsd,
|
|
102
|
+
effectiveParkingStreet,
|
|
102
103
|
enumerateIntegerCellsInRect,
|
|
103
104
|
expandBoundsToMinimumPlayArea,
|
|
104
105
|
featuredGameIdForUtcDate,
|
|
@@ -159,7 +160,7 @@ import {
|
|
|
159
160
|
streetFromPoolEntry,
|
|
160
161
|
utcDateKey,
|
|
161
162
|
zonesForGroup
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-27BMLID7.js";
|
|
163
164
|
|
|
164
165
|
// src/world-events.ts
|
|
165
166
|
var SESSION_CONNECTED_EVENT = "session:connected";
|
|
@@ -1737,6 +1738,7 @@ export {
|
|
|
1737
1738
|
createWorldLayoutWithParkingRow,
|
|
1738
1739
|
desaturateColor,
|
|
1739
1740
|
effectiveHourlyRateUsd,
|
|
1741
|
+
effectiveParkingStreet,
|
|
1740
1742
|
enumerateIntegerCellsInRect,
|
|
1741
1743
|
expandBoundsToMinimumPlayArea,
|
|
1742
1744
|
featuredGameIdForUtcDate,
|