@agent-play/sdk 3.3.2 → 3.3.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.d.ts CHANGED
@@ -1 +1,2 @@
1
- export { A as AgentPlaySnapshot, C as CONTINUOUS_RENDER_OFFSET, D as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, M as MINIMUM_PLAY_WORLD_BOUNDS, O as OCCUPANCY_POINT_MULTIPLIER, n as OccupancyGridPoint, q as PLAYER_CHAIN_GENESIS_STABLE_KEY, r as PLAYER_CHAIN_HEADER_STABLE_KEY, S as SPATIAL_ZONE_INDEX_AGENTS, H as SPATIAL_ZONE_INDEX_SPACES, K as WorldBounds, Q as boundingWorldRectForOccupancyPoints, T as boundsContain, U as buildRankedOccupancyPoints, V as buildRankedOccupancyPointsForSpatialZone, X as clampWorldPosition, _ as expandBoundsToMinimumPlayArea, $ as isAgentSpawnOccupancyPointAvailable, a0 as isSpaceAnchorOccupancyPointAvailable, a1 as listAllowedOccupancyPoints, a2 as listOccupancyPointsForSpatialZone, a3 as mergeSnapshotWithPlayerChainNode, a4 as occupancyKeyForPosition, a5 as occupancyPointsGroupedBySpatialZone, a6 as parsePlayerChainFanoutNotify, a7 as parsePlayerChainFanoutNotifyFromSsePayload, a8 as parsePlayerChainNodeRpcBody, a9 as pointCellInSpatialZone, aa as sortNodeRefsForSerializedFetch, ab as spatialZoneBounds, ac as spatialZoneCenter } from './browser-BQR40I8R.js';
1
+ export { A as AgentPlaySnapshot, e as AgentPlayWorldLayout, C as CONTINUOUS_RENDER_OFFSET, n as CarWashCar, o as CarWashCarSchema, D as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, p as DEFAULT_PLAYER_WALLET_BALANCE_USD, M as MINIMUM_PLAY_WORLD_BOUNDS, O as OCCUPANCY_POINT_MULTIPLIER, s as OccupancyGridPoint, t as OccupantGroup, w as PLAYER_CHAIN_GENESIS_STABLE_KEY, x as PLAYER_CHAIN_HEADER_STABLE_KEY, K as PlayerWallet, N as PlayerWalletSchema, S as PurchaseRecord, T as PurchaseRecordSchema, Y as SPATIAL_ZONE_INDEX_AGENTS, Z as SPATIAL_ZONE_INDEX_SPACES, _ as STREET_NAME_POOL, $ as SaleState, a0 as SaleStateSchema, a1 as ShopItem, a2 as ShopItemSchema, a3 as SpaceContentItem, a4 as Street, a5 as StreetPoolEntry, a7 as SupermarketItem, a8 as SupermarketItemSchema, a9 as WorldBounds, ab as WorldLayout, ac as WorldLayoutBoundsField, ae as Zone, ag as applyBoundsFieldUpdateToLayout, ah as availableCellsForZone, ai as boundingWorldRectForOccupancyPoints, aj as boundsContain, ak as buildRankedOccupancyPoints, al as buildRankedOccupancyPointsForSpatialZone, am as buildRankedOccupancyPointsForZone, an as buildRankedOccupancyPointsInRect, ao as cellsForZone, ap as centerOfZone, aq as clampWorldPosition, ar as createInitialPlayerWallet, as as createVerticalStripSeedLayout, at as desaturateColor, au as enumerateIntegerCellsInRect, av as expandBoundsToMinimumPlayArea, aw as getStreetPoolEntryById, ax as isAgentSpawnOccupancyPointAvailable, ay as isAgentSpawnOccupancyPointAvailableInRect, az as isAgentSpawnOccupancyPointAvailableInZone, aA as isItemAvailableForPurchase, aB as isSpaceAnchorOccupancyPointAvailable, aC as isSpaceAnchorOccupancyPointAvailableInRect, aD as isSpaceAnchorOccupancyPointAvailableInZone, aE as listAllowedOccupancyPoints, aF as listOccupancyPointsForSpatialZone, aG as listOccupancyPointsForZone, aH as listOccupancyPointsInRect, aI as mergeSnapshotWithPlayerChainNode, aJ as migrateWorldLayoutBounds, aK as nextStreetFromPool, aL as occupancyKeyForPosition, aM as occupancyPointsGroupedBySpatialZone, aN as occupancyPointsGroupedByZones, aO as parsePlayerChainFanoutNotify, aP as parsePlayerChainFanoutNotifyFromSsePayload, aQ as parsePlayerChainNodeRpcBody, aR as pickZoneForGroup, aS as pointCellInRect, aT as pointCellInSpatialZone, aU as pointCellInZone, aV as primaryZoneForGroup, aW as sortNodeRefsForSerializedFetch, aX as spatialZoneBounds, aY as spatialZoneCenter, aZ as streetFromPoolEntry, a_ as zonesForGroup } from './browser-Dpx-0L8A.js';
2
+ import 'zod';
package/dist/browser.js CHANGED
@@ -1,61 +1,131 @@
1
1
  import {
2
2
  CONTINUOUS_RENDER_OFFSET,
3
+ CarWashCarSchema,
3
4
  DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
5
+ DEFAULT_PLAYER_WALLET_BALANCE_USD,
4
6
  MINIMUM_PLAY_WORLD_BOUNDS,
5
7
  OCCUPANCY_POINT_MULTIPLIER,
6
8
  PLAYER_CHAIN_GENESIS_STABLE_KEY,
7
9
  PLAYER_CHAIN_HEADER_STABLE_KEY,
10
+ PlayerWalletSchema,
11
+ PurchaseRecordSchema,
8
12
  SPATIAL_ZONE_INDEX_AGENTS,
9
13
  SPATIAL_ZONE_INDEX_SPACES,
14
+ STREET_NAME_POOL,
15
+ SaleStateSchema,
16
+ ShopItemSchema,
17
+ SupermarketItemSchema,
18
+ applyBoundsFieldUpdateToLayout,
19
+ availableCellsForZone,
10
20
  boundingWorldRectForOccupancyPoints,
11
21
  boundsContain,
12
22
  buildRankedOccupancyPoints,
13
23
  buildRankedOccupancyPointsForSpatialZone,
24
+ buildRankedOccupancyPointsForZone,
25
+ buildRankedOccupancyPointsInRect,
26
+ cellsForZone,
27
+ centerOfZone,
14
28
  clampWorldPosition,
29
+ createInitialPlayerWallet,
30
+ createVerticalStripSeedLayout,
31
+ desaturateColor,
32
+ enumerateIntegerCellsInRect,
15
33
  expandBoundsToMinimumPlayArea,
34
+ getStreetPoolEntryById,
16
35
  isAgentSpawnOccupancyPointAvailable,
36
+ isAgentSpawnOccupancyPointAvailableInRect,
37
+ isAgentSpawnOccupancyPointAvailableInZone,
38
+ isItemAvailableForPurchase,
17
39
  isSpaceAnchorOccupancyPointAvailable,
40
+ isSpaceAnchorOccupancyPointAvailableInRect,
41
+ isSpaceAnchorOccupancyPointAvailableInZone,
18
42
  listAllowedOccupancyPoints,
19
43
  listOccupancyPointsForSpatialZone,
44
+ listOccupancyPointsForZone,
45
+ listOccupancyPointsInRect,
20
46
  mergeSnapshotWithPlayerChainNode,
47
+ migrateWorldLayoutBounds,
48
+ nextStreetFromPool,
21
49
  occupancyKeyForPosition,
22
50
  occupancyPointsGroupedBySpatialZone,
51
+ occupancyPointsGroupedByZones,
23
52
  parsePlayerChainFanoutNotify,
24
53
  parsePlayerChainFanoutNotifyFromSsePayload,
25
54
  parsePlayerChainNodeRpcBody,
55
+ pickZoneForGroup,
56
+ pointCellInRect,
26
57
  pointCellInSpatialZone,
58
+ pointCellInZone,
59
+ primaryZoneForGroup,
27
60
  sortNodeRefsForSerializedFetch,
28
61
  spatialZoneBounds,
29
- spatialZoneCenter
30
- } from "./chunk-WWIEHWZZ.js";
62
+ spatialZoneCenter,
63
+ streetFromPoolEntry,
64
+ zonesForGroup
65
+ } from "./chunk-VWC7EE2F.js";
31
66
  export {
32
67
  CONTINUOUS_RENDER_OFFSET,
68
+ CarWashCarSchema,
33
69
  DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
70
+ DEFAULT_PLAYER_WALLET_BALANCE_USD,
34
71
  MINIMUM_PLAY_WORLD_BOUNDS,
35
72
  OCCUPANCY_POINT_MULTIPLIER,
36
73
  PLAYER_CHAIN_GENESIS_STABLE_KEY,
37
74
  PLAYER_CHAIN_HEADER_STABLE_KEY,
75
+ PlayerWalletSchema,
76
+ PurchaseRecordSchema,
38
77
  SPATIAL_ZONE_INDEX_AGENTS,
39
78
  SPATIAL_ZONE_INDEX_SPACES,
79
+ STREET_NAME_POOL,
80
+ SaleStateSchema,
81
+ ShopItemSchema,
82
+ SupermarketItemSchema,
83
+ applyBoundsFieldUpdateToLayout,
84
+ availableCellsForZone,
40
85
  boundingWorldRectForOccupancyPoints,
41
86
  boundsContain,
42
87
  buildRankedOccupancyPoints,
43
88
  buildRankedOccupancyPointsForSpatialZone,
89
+ buildRankedOccupancyPointsForZone,
90
+ buildRankedOccupancyPointsInRect,
91
+ cellsForZone,
92
+ centerOfZone,
44
93
  clampWorldPosition,
94
+ createInitialPlayerWallet,
95
+ createVerticalStripSeedLayout,
96
+ desaturateColor,
97
+ enumerateIntegerCellsInRect,
45
98
  expandBoundsToMinimumPlayArea,
99
+ getStreetPoolEntryById,
46
100
  isAgentSpawnOccupancyPointAvailable,
101
+ isAgentSpawnOccupancyPointAvailableInRect,
102
+ isAgentSpawnOccupancyPointAvailableInZone,
103
+ isItemAvailableForPurchase,
47
104
  isSpaceAnchorOccupancyPointAvailable,
105
+ isSpaceAnchorOccupancyPointAvailableInRect,
106
+ isSpaceAnchorOccupancyPointAvailableInZone,
48
107
  listAllowedOccupancyPoints,
49
108
  listOccupancyPointsForSpatialZone,
109
+ listOccupancyPointsForZone,
110
+ listOccupancyPointsInRect,
50
111
  mergeSnapshotWithPlayerChainNode,
112
+ migrateWorldLayoutBounds,
113
+ nextStreetFromPool,
51
114
  occupancyKeyForPosition,
52
115
  occupancyPointsGroupedBySpatialZone,
116
+ occupancyPointsGroupedByZones,
53
117
  parsePlayerChainFanoutNotify,
54
118
  parsePlayerChainFanoutNotifyFromSsePayload,
55
119
  parsePlayerChainNodeRpcBody,
120
+ pickZoneForGroup,
121
+ pointCellInRect,
56
122
  pointCellInSpatialZone,
123
+ pointCellInZone,
124
+ primaryZoneForGroup,
57
125
  sortNodeRefsForSerializedFetch,
58
126
  spatialZoneBounds,
59
- spatialZoneCenter
127
+ spatialZoneCenter,
128
+ streetFromPoolEntry,
129
+ zonesForGroup
60
130
  };
61
131
  //# sourceMappingURL=browser.js.map