full diff

net.anisota.player.state

anisota.net +9 −9
From
bafyreibbb3kgt3vljkcrbrwtwhec5ebniiaj523ett73yuewkufubafdai indexed 2026-07-23 03:14 UTC View this version
To
bafyreih4vv36375eadnkbzzg6kf3sy57kpcyunqggc4nuziwk23av5svju indexed 2026-11-21 20:07 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Ephemeral player state for cross-device sync. Singleton record (rkey: self), overwritten via putRecord.",
66 "key": "any",
77 "record": {
88 "properties": {
99 "acceptedTermsAt": {
1010 "description": "ISO datetime the player most recently accepted the Terms of Service / Privacy Policy.",
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "acceptedTermsVersion": {
1515 "description": "The highest Terms of Service / Privacy Policy version this player has accepted (see src/utils/termsVersion.js TERMS_VERSION). Drives the first-run acceptance gate; when this is below the current TERMS_VERSION the user is re-prompted to accept.",
1616 "type": "integer"
1717 },
1818 "activeBlocksIntentionDaily": {
1919 "description": "Target active blocks per day (decimal string, e.g. '6')",
2020 "type": "string"
2121 },
2222 "activityIntentionConsuming7d": {
2323 "description": "Deprecated: use activityIntentionTotal7d. Target weekly consuming count.",
2424 "type": "string"
2525 },
2626 "activityIntentionCreating7d": {
2727 "description": "Deprecated: use activityIntentionTotal7d. Target weekly creating count.",
2828 "type": "string"
2929 },
3030 "activityIntentionTotal7d": {
3131 "description": "Target total weekly activity count, sum of all actions (decimal string, e.g. '500')",
3232 "type": "string"
3333 },
3434 "activityIntentionX": {
3535 "description": "Activity style intention X position as grid percentage (0-100, consuming axis)",
3636 "type": "string"
3737 },
3838 "activityIntentionY": {
3939 "description": "Activity style intention Y position as grid percentage (0-100, creating axis)",
4040 "type": "string"
4141 },
4242 "appMode": {
43 "description": "Chosen app experience: 'story' (full immersive) or 'open' (simpler). Authoritative cross-device value for the mode picked during onboarding.",
43 "description": "Retired with the app mode: from the 2027 season the app leaves it out of its writes. Chosen app experience: 'story' (full immersive) or 'open' (simpler). Authoritative cross-device value for the mode picked during onboarding.",
4444 "type": "string"
4545 },
4646 "completedChapters": {
4747 "description": "Object mapping completed story/onboarding chapter ids (e.g. 'welcome') to the ISO datetime they were completed. Drives whether the onboarding/changelog overlays are shown.",
4848 "type": "unknown"
4949 },
5050 "currentLight": {
51 "description": "Current light charge in Wh (decimal string, e.g. '280.0')",
51 "description": "Retired with the lamp: from the 2027 season the app leaves it out of its writes. Current light charge in Wh (decimal string, e.g. '280.0')",
5252 "type": "string"
5353 },
5454 "currentStamina": {
5555 "description": "Current stamina level (decimal string, e.g. '42.5')",
5656 "type": "string"
5757 },
5858 "equipped": {
59 "description": "Equipment slots: object mapping slotId (hands, backpack, camp) to arrays of equipped item ID strings",
59 "description": "Retired with items and gear: from the 2027 season the app leaves it out of its writes. Equipment slots: object mapping slotId (hands, backpack, camp) to arrays of equipped item ID strings",
6060 "type": "unknown"
6161 },
6262 "inventoryMigrationV2": {
63 "description": "Whether the v2 inventory/equipment migration has been applied for this player.",
63 "description": "Retired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the v2 inventory/equipment migration has been applied for this player.",
6464 "type": "boolean"
6565 },
6666 "inventoryMigrationV3": {
67 "description": "Whether the v3 inventory/equipment migration (power-station id remap) has been applied for this player.",
67 "description": "Retired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the v3 inventory/equipment migration (power-station id remap) has been applied for this player.",
6868 "type": "boolean"
6969 },
7070 "lastSessionStart": {
7171 "description": "When the current session started (for multi-device awareness)",
7272 "format": "datetime",
7373 "type": "string"
7474 },
7575 "lightDrainActive": {
76 "description": "Whether light drain was active when state was saved",
76 "description": "Retired with the lamp: from the 2027 season the app leaves it out of its writes. Whether light drain was active when state was saved",
7777 "type": "boolean"
7878 },
7979 "longestRestMinutes": {
80 "description": "Rest ledger high-water-mark: the longest rest stretch ever (time away from the forest between walks) in minutes, as a decimal string. Monotonic — only ever increases. Everything else the rest ledger shows is computed on read from the walk records; this is the one durable figure.",
80 "description": "Retired with walks: from the 2027 season the app leaves it out of its writes. Rest ledger high-water-mark: the longest rest stretch ever (time away from the forest between walks) in minutes, as a decimal string. Monotonic — only ever increases. Everything else the rest ledger shows is computed on read from the walk records; this is the one durable figure.",
8181 "type": "string"
8282 },
8383 "onboardingGoals": {
8484 "description": "Comma-joined list of goal ids the player selected during onboarding (e.g. 'offline-more,reply-more'). Stored as a string to avoid depending on array support.",
8585 "type": "string"
8686 },
8787 "slotCapacity": {
88 "description": "Slot capacity overrides: object mapping slotId to integer capacity (for upgrades). Slots not listed use default capacity.",
88 "description": "Retired with items and gear: from the 2027 season the app leaves it out of its writes. Slot capacity overrides: object mapping slotId to integer capacity (for upgrades). Slots not listed use default capacity.",
8989 "type": "unknown"
9090 },
9191 "starterItemsGranted": {
92 "description": "Whether the player has received their starter items",
92 "description": "Retired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the player has received their starter items",
9393 "type": "boolean"
9494 },
9595 "triggerSource": {
9696 "description": "What caused this state snapshot (visibility_hidden, session_end, stamina_depleted, manual)",
9797 "type": "string"
9898 },
9999 "tutorialCompletedAt": {
100100 "description": "When the player completed (or skipped) the interactive tutorial. Presence of this field means the tutorial is done; absence means it has not been completed.",
101101 "format": "datetime",
102102 "type": "string"
103103 },
104104 "updatedAt": {
105105 "description": "When this state snapshot was taken",
106106 "format": "datetime",
107107 "type": "string"
108108 }
109109 },
110110 "required": [
111111 "updatedAt"
112112 ],
113113 "type": "object"
114114 },
115115 "type": "record"
116116 }
117117 },
118118 "id": "net.anisota.player.state",
119119 "lexicon": 1
120120}

Compare other versions