@agent-play/sdk 3.3.2 → 3.3.5
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/README.md +11 -0
- package/dist/browser-da9E-kSP.d.ts +1120 -0
- package/dist/browser.d.ts +2 -1
- package/dist/browser.js +97 -3
- package/dist/chunk-BCDEUIYP.js +5180 -0
- package/dist/chunk-BCDEUIYP.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +120 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/browser-BQR40I8R.d.ts +0 -480
- package/dist/chunk-WWIEHWZZ.js +0 -649
- package/dist/chunk-WWIEHWZZ.js.map +0 -1
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,
|
|
1
|
+
export { A as AgentPlaySnapshot, e as AgentPlayWorldLayout, C as CONTINUOUS_RENDER_OFFSET, n as CarWashCar, o as CarWashCarSchema, p as ComputeTalkAgentPowerUpsEarnedInput, D as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, q as DEFAULT_PLAYER_WALLET_BALANCE_USD, M as MINIMUM_PLAY_WORLD_BOUNDS, t as MINIMUM_STREET_LAYOUT_BOUNDS, O as OCCUPANCY_POINT_MULTIPLIER, u as OccupancyGridPoint, v as OccupantGroup, y as PLAYER_CHAIN_GENESIS_STABLE_KEY, z as PLAYER_CHAIN_HEADER_STABLE_KEY, Q as PlayerWallet, S as PlayerWalletSchema, U as PurchaseRecord, V as PurchaseRecordSchema, _ as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, $ as SPATIAL_ZONE_INDEX_AGENTS, a0 as SPATIAL_ZONE_INDEX_SPACES, a1 as STREET_NAME_POOL, a2 as SaleState, a3 as SaleStateSchema, a4 as ShopItem, a5 as ShopItemSchema, a6 as SpaceContentItem, a7 as Street, a8 as StreetPoolEntry, aa as SupermarketItem, ab as SupermarketItemSchema, ac as TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT, ad as TALK_AGENT_PU_MAX_PER_LEG, ae as TALK_PRICE_PER_60S_USD, af as TALK_PRICE_PER_SECOND_USD, ag as TALK_TICK_SECONDS, ah as WALLET_BUNDLE_OFFERS, ai as WalletBundleId, aj as WalletBundleOffer, ak as WorldBounds, am as WorldLayout, an as WorldLayoutBoundsField, ap as Zone, ar as applyBoundsFieldUpdateToLayout, as as availableCellsForZone, at as boundingWorldRectForOccupancyPoints, au as boundsContain, av as buildRankedOccupancyPoints, aw as buildRankedOccupancyPointsForSpatialZone, ax as buildRankedOccupancyPointsForZone, ay as buildRankedOccupancyPointsInRect, az as cellsForZone, aA as centerOfZone, aB as clampWorldPosition, aC as computeTalkAgentPowerUpsEarned, aD as costForSeconds, aE as createInitialAgentRewardWallet, aF as createInitialPlayerWallet, aG as createVerticalStripSeedLayout, aH as desaturateColor, aI as enumerateIntegerCellsInRect, aJ as expandBoundsToMinimumPlayArea, aK as getStreetPoolEntryById, aL as getWalletBundleById, aM as isAgentSpawnOccupancyPointAvailable, aN as isAgentSpawnOccupancyPointAvailableInRect, aO as isAgentSpawnOccupancyPointAvailableInZone, aP as isItemAvailableForPurchase, aQ as isSpaceAnchorOccupancyPointAvailable, aR as isSpaceAnchorOccupancyPointAvailableInRect, aS as isSpaceAnchorOccupancyPointAvailableInZone, aT as listAllowedOccupancyPoints, aU as listOccupancyPointsForSpatialZone, aV as listOccupancyPointsForZone, aW as listOccupancyPointsInRect, aX as mergeSnapshotWithPlayerChainNode, aY as migrateWorldLayoutBounds, aZ as nextStreetFromPool, a_ as occupancyKeyForPosition, a$ as occupancyPointsGroupedBySpatialZone, b0 as occupancyPointsGroupedByZones, b1 as parsePlayerChainFanoutNotify, b2 as parsePlayerChainFanoutNotifyFromSsePayload, b3 as parsePlayerChainNodeRpcBody, b4 as pickZoneForGroup, b5 as pointCellInRect, b6 as pointCellInSpatialZone, b7 as pointCellInZone, b8 as primaryZoneForGroup, b9 as sortNodeRefsForSerializedFetch, ba as spatialZoneBounds, bb as spatialZoneCenter, bc as streetFromPoolEntry, bd as zonesForGroup } from './browser-da9E-kSP.js';
|
|
2
|
+
import 'zod';
|
package/dist/browser.js
CHANGED
|
@@ -1,61 +1,155 @@
|
|
|
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,
|
|
7
|
+
MINIMUM_STREET_LAYOUT_BOUNDS,
|
|
5
8
|
OCCUPANCY_POINT_MULTIPLIER,
|
|
6
9
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
7
10
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
11
|
+
PlayerWalletSchema,
|
|
12
|
+
PurchaseRecordSchema,
|
|
13
|
+
SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE,
|
|
8
14
|
SPATIAL_ZONE_INDEX_AGENTS,
|
|
9
15
|
SPATIAL_ZONE_INDEX_SPACES,
|
|
16
|
+
STREET_NAME_POOL,
|
|
17
|
+
SaleStateSchema,
|
|
18
|
+
ShopItemSchema,
|
|
19
|
+
SupermarketItemSchema,
|
|
20
|
+
TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT,
|
|
21
|
+
TALK_AGENT_PU_MAX_PER_LEG,
|
|
22
|
+
TALK_PRICE_PER_60S_USD,
|
|
23
|
+
TALK_PRICE_PER_SECOND_USD,
|
|
24
|
+
TALK_TICK_SECONDS,
|
|
25
|
+
WALLET_BUNDLE_OFFERS,
|
|
26
|
+
applyBoundsFieldUpdateToLayout,
|
|
27
|
+
availableCellsForZone,
|
|
10
28
|
boundingWorldRectForOccupancyPoints,
|
|
11
29
|
boundsContain,
|
|
12
30
|
buildRankedOccupancyPoints,
|
|
13
31
|
buildRankedOccupancyPointsForSpatialZone,
|
|
32
|
+
buildRankedOccupancyPointsForZone,
|
|
33
|
+
buildRankedOccupancyPointsInRect,
|
|
34
|
+
cellsForZone,
|
|
35
|
+
centerOfZone,
|
|
14
36
|
clampWorldPosition,
|
|
37
|
+
computeTalkAgentPowerUpsEarned,
|
|
38
|
+
costForSeconds,
|
|
39
|
+
createInitialAgentRewardWallet,
|
|
40
|
+
createInitialPlayerWallet,
|
|
41
|
+
createVerticalStripSeedLayout,
|
|
42
|
+
desaturateColor,
|
|
43
|
+
enumerateIntegerCellsInRect,
|
|
15
44
|
expandBoundsToMinimumPlayArea,
|
|
45
|
+
getStreetPoolEntryById,
|
|
46
|
+
getWalletBundleById,
|
|
16
47
|
isAgentSpawnOccupancyPointAvailable,
|
|
48
|
+
isAgentSpawnOccupancyPointAvailableInRect,
|
|
49
|
+
isAgentSpawnOccupancyPointAvailableInZone,
|
|
50
|
+
isItemAvailableForPurchase,
|
|
17
51
|
isSpaceAnchorOccupancyPointAvailable,
|
|
52
|
+
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
53
|
+
isSpaceAnchorOccupancyPointAvailableInZone,
|
|
18
54
|
listAllowedOccupancyPoints,
|
|
19
55
|
listOccupancyPointsForSpatialZone,
|
|
56
|
+
listOccupancyPointsForZone,
|
|
57
|
+
listOccupancyPointsInRect,
|
|
20
58
|
mergeSnapshotWithPlayerChainNode,
|
|
59
|
+
migrateWorldLayoutBounds,
|
|
60
|
+
nextStreetFromPool,
|
|
21
61
|
occupancyKeyForPosition,
|
|
22
62
|
occupancyPointsGroupedBySpatialZone,
|
|
63
|
+
occupancyPointsGroupedByZones,
|
|
23
64
|
parsePlayerChainFanoutNotify,
|
|
24
65
|
parsePlayerChainFanoutNotifyFromSsePayload,
|
|
25
66
|
parsePlayerChainNodeRpcBody,
|
|
67
|
+
pickZoneForGroup,
|
|
68
|
+
pointCellInRect,
|
|
26
69
|
pointCellInSpatialZone,
|
|
70
|
+
pointCellInZone,
|
|
71
|
+
primaryZoneForGroup,
|
|
27
72
|
sortNodeRefsForSerializedFetch,
|
|
28
73
|
spatialZoneBounds,
|
|
29
|
-
spatialZoneCenter
|
|
30
|
-
|
|
74
|
+
spatialZoneCenter,
|
|
75
|
+
streetFromPoolEntry,
|
|
76
|
+
zonesForGroup
|
|
77
|
+
} from "./chunk-BCDEUIYP.js";
|
|
31
78
|
export {
|
|
32
79
|
CONTINUOUS_RENDER_OFFSET,
|
|
80
|
+
CarWashCarSchema,
|
|
33
81
|
DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
|
|
82
|
+
DEFAULT_PLAYER_WALLET_BALANCE_USD,
|
|
34
83
|
MINIMUM_PLAY_WORLD_BOUNDS,
|
|
84
|
+
MINIMUM_STREET_LAYOUT_BOUNDS,
|
|
35
85
|
OCCUPANCY_POINT_MULTIPLIER,
|
|
36
86
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
37
87
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
88
|
+
PlayerWalletSchema,
|
|
89
|
+
PurchaseRecordSchema,
|
|
90
|
+
SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE,
|
|
38
91
|
SPATIAL_ZONE_INDEX_AGENTS,
|
|
39
92
|
SPATIAL_ZONE_INDEX_SPACES,
|
|
93
|
+
STREET_NAME_POOL,
|
|
94
|
+
SaleStateSchema,
|
|
95
|
+
ShopItemSchema,
|
|
96
|
+
SupermarketItemSchema,
|
|
97
|
+
TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT,
|
|
98
|
+
TALK_AGENT_PU_MAX_PER_LEG,
|
|
99
|
+
TALK_PRICE_PER_60S_USD,
|
|
100
|
+
TALK_PRICE_PER_SECOND_USD,
|
|
101
|
+
TALK_TICK_SECONDS,
|
|
102
|
+
WALLET_BUNDLE_OFFERS,
|
|
103
|
+
applyBoundsFieldUpdateToLayout,
|
|
104
|
+
availableCellsForZone,
|
|
40
105
|
boundingWorldRectForOccupancyPoints,
|
|
41
106
|
boundsContain,
|
|
42
107
|
buildRankedOccupancyPoints,
|
|
43
108
|
buildRankedOccupancyPointsForSpatialZone,
|
|
109
|
+
buildRankedOccupancyPointsForZone,
|
|
110
|
+
buildRankedOccupancyPointsInRect,
|
|
111
|
+
cellsForZone,
|
|
112
|
+
centerOfZone,
|
|
44
113
|
clampWorldPosition,
|
|
114
|
+
computeTalkAgentPowerUpsEarned,
|
|
115
|
+
costForSeconds,
|
|
116
|
+
createInitialAgentRewardWallet,
|
|
117
|
+
createInitialPlayerWallet,
|
|
118
|
+
createVerticalStripSeedLayout,
|
|
119
|
+
desaturateColor,
|
|
120
|
+
enumerateIntegerCellsInRect,
|
|
45
121
|
expandBoundsToMinimumPlayArea,
|
|
122
|
+
getStreetPoolEntryById,
|
|
123
|
+
getWalletBundleById,
|
|
46
124
|
isAgentSpawnOccupancyPointAvailable,
|
|
125
|
+
isAgentSpawnOccupancyPointAvailableInRect,
|
|
126
|
+
isAgentSpawnOccupancyPointAvailableInZone,
|
|
127
|
+
isItemAvailableForPurchase,
|
|
47
128
|
isSpaceAnchorOccupancyPointAvailable,
|
|
129
|
+
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
130
|
+
isSpaceAnchorOccupancyPointAvailableInZone,
|
|
48
131
|
listAllowedOccupancyPoints,
|
|
49
132
|
listOccupancyPointsForSpatialZone,
|
|
133
|
+
listOccupancyPointsForZone,
|
|
134
|
+
listOccupancyPointsInRect,
|
|
50
135
|
mergeSnapshotWithPlayerChainNode,
|
|
136
|
+
migrateWorldLayoutBounds,
|
|
137
|
+
nextStreetFromPool,
|
|
51
138
|
occupancyKeyForPosition,
|
|
52
139
|
occupancyPointsGroupedBySpatialZone,
|
|
140
|
+
occupancyPointsGroupedByZones,
|
|
53
141
|
parsePlayerChainFanoutNotify,
|
|
54
142
|
parsePlayerChainFanoutNotifyFromSsePayload,
|
|
55
143
|
parsePlayerChainNodeRpcBody,
|
|
144
|
+
pickZoneForGroup,
|
|
145
|
+
pointCellInRect,
|
|
56
146
|
pointCellInSpatialZone,
|
|
147
|
+
pointCellInZone,
|
|
148
|
+
primaryZoneForGroup,
|
|
57
149
|
sortNodeRefsForSerializedFetch,
|
|
58
150
|
spatialZoneBounds,
|
|
59
|
-
spatialZoneCenter
|
|
151
|
+
spatialZoneCenter,
|
|
152
|
+
streetFromPoolEntry,
|
|
153
|
+
zonesForGroup
|
|
60
154
|
};
|
|
61
155
|
//# sourceMappingURL=browser.js.map
|