@codeam/shared 2.75.0 → 2.75.2

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/index.mjs CHANGED
@@ -2916,7 +2916,13 @@ var USER_EVENTS = {
2916
2916
  * pipeline transition (stage start/done, pause, stall, completion). CLI
2917
2917
  * posts to /api/packs/events; mobile's pack.store renders the pipeline.
2918
2918
  * Mirrored in repo A's app-shared events.ts. */
2919
- PACK_STATE: "pack_state"
2919
+ PACK_STATE: "pack_state",
2920
+ /** The prepaid credit balance moved by something the client could not have
2921
+ * predicted — a purchase landing, a refund, a grant. Carries the new
2922
+ * balance, so nothing has to be fetched to render it. ⚠️ NOT published on
2923
+ * debits: those are one per agent hop, and the client already walks its
2924
+ * own balance down as metered usage streams in. */
2925
+ CREDITS_CHANGED: "credits_changed"
2920
2926
  };
2921
2927
 
2922
2928
  // src/preview-prompts.ts