lua-cli 3.34.0 → 3.35.0

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.
@@ -3603,6 +3603,21 @@ export declare interface LuaRequest {
3603
3603
  channel: Channel;
3604
3604
  /** Webhook data from channel integrations (only present for webhook-based channels) */
3605
3605
  webhook?: WebhookRequest;
3606
+ /**
3607
+ * Free-text context passed by the calling surface for this turn (e.g. LuaPop's
3608
+ * `LuaPop.init({ runtimeContext })`, or the `runtimeContext` field on the chat
3609
+ * request body). Also injected into the model's system prompt. Present only when
3610
+ * the caller supplied it.
3611
+ */
3612
+ runtimeContext?: string;
3613
+ /** The chat thread id for this turn. */
3614
+ threadId?: string;
3615
+ /** The resolved IANA timezone for this turn (e.g. "Africa/Nairobi"). */
3616
+ timezone?: string;
3617
+ /** The id of the user this turn is acting for, when a user is resolved. */
3618
+ userId?: string;
3619
+ /** The id of the agent handling this turn. */
3620
+ agentId?: string;
3606
3621
  }
3607
3622
 
3608
3623
  /**
@@ -6756,8 +6771,11 @@ export declare const User: {
6756
6771
  getChatHistory(): Promise<ChatHistoryMessage[]>;
6757
6772
  /**
6758
6773
  * PRO-1208 (B7) — push an approve/redirect/fix card to YOUR OWN inbox.
6759
- * Capped (5/day per agent), urgent-clamped, same-`key` deduped (revise in
6760
- * place). Cap-hit resolves to `{outcome: 'capped'}` never throws.
6774
+ * Capped per kind at 500/day per agent per end-user by default
6775
+ * (`LUA_INBOX_AGENT_DEPOSIT_DAILY_CAP`); `priority: 'urgent'` is limited to
6776
+ * 5/day by default (`LUA_INBOX_URGENT_PUSH_DAILY_CAP`) and lands demoted to
6777
+ * `high` when over budget — never dropped. Same-`key` pushes revise in place.
6778
+ * Cap-hit resolves to `{outcome: 'capped'}` — never throws.
6761
6779
  *
6762
6780
  * @example
6763
6781
  * const receipt = await User.Inbox.push({
@@ -16106,8 +16106,11 @@ var User = {
16106
16106
  },
16107
16107
  /**
16108
16108
  * PRO-1208 (B7) — push an approve/redirect/fix card to YOUR OWN inbox.
16109
- * Capped (5/day per agent), urgent-clamped, same-`key` deduped (revise in
16110
- * place). Cap-hit resolves to `{outcome: 'capped'}` never throws.
16109
+ * Capped per kind at 500/day per agent per end-user by default
16110
+ * (`LUA_INBOX_AGENT_DEPOSIT_DAILY_CAP`); `priority: 'urgent'` is limited to
16111
+ * 5/day by default (`LUA_INBOX_URGENT_PUSH_DAILY_CAP`) and lands demoted to
16112
+ * `high` when over budget — never dropped. Same-`key` pushes revise in place.
16113
+ * Cap-hit resolves to `{outcome: 'capped'}` — never throws.
16111
16114
  *
16112
16115
  * @example
16113
16116
  * const receipt = await User.Inbox.push({