@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.d.mts CHANGED
@@ -2222,6 +2222,12 @@ declare const USER_EVENTS: {
2222
2222
  * posts to /api/packs/events; mobile's pack.store renders the pipeline.
2223
2223
  * Mirrored in repo A's app-shared events.ts. */
2224
2224
  readonly PACK_STATE: "pack_state";
2225
+ /** The prepaid credit balance moved by something the client could not have
2226
+ * predicted — a purchase landing, a refund, a grant. Carries the new
2227
+ * balance, so nothing has to be fetched to render it. ⚠️ NOT published on
2228
+ * debits: those are one per agent hop, and the client already walks its
2229
+ * own balance down as metered usage streams in. */
2230
+ readonly CREDITS_CHANGED: "credits_changed";
2225
2231
  };
2226
2232
  type UserEventName = (typeof USER_EVENTS)[keyof typeof USER_EVENTS];
2227
2233
 
package/dist/index.d.ts CHANGED
@@ -2222,6 +2222,12 @@ declare const USER_EVENTS: {
2222
2222
  * posts to /api/packs/events; mobile's pack.store renders the pipeline.
2223
2223
  * Mirrored in repo A's app-shared events.ts. */
2224
2224
  readonly PACK_STATE: "pack_state";
2225
+ /** The prepaid credit balance moved by something the client could not have
2226
+ * predicted — a purchase landing, a refund, a grant. Carries the new
2227
+ * balance, so nothing has to be fetched to render it. ⚠️ NOT published on
2228
+ * debits: those are one per agent hop, and the client already walks its
2229
+ * own balance down as metered usage streams in. */
2230
+ readonly CREDITS_CHANGED: "credits_changed";
2225
2231
  };
2226
2232
  type UserEventName = (typeof USER_EVENTS)[keyof typeof USER_EVENTS];
2227
2233
 
package/dist/index.js CHANGED
@@ -3042,7 +3042,13 @@ var USER_EVENTS = {
3042
3042
  * pipeline transition (stage start/done, pause, stall, completion). CLI
3043
3043
  * posts to /api/packs/events; mobile's pack.store renders the pipeline.
3044
3044
  * Mirrored in repo A's app-shared events.ts. */
3045
- PACK_STATE: "pack_state"
3045
+ PACK_STATE: "pack_state",
3046
+ /** The prepaid credit balance moved by something the client could not have
3047
+ * predicted — a purchase landing, a refund, a grant. Carries the new
3048
+ * balance, so nothing has to be fetched to render it. ⚠️ NOT published on
3049
+ * debits: those are one per agent hop, and the client already walks its
3050
+ * own balance down as metered usage streams in. */
3051
+ CREDITS_CHANGED: "credits_changed"
3046
3052
  };
3047
3053
 
3048
3054
  // src/preview-prompts.ts