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.
- package/dist/api-exports.d.ts +20 -2
- package/dist/api-exports.js +5 -2
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/workflow-builder.js.map +1 -1
- package/docs/README.md +2 -2
- package/docs/api/LuaWorkflow.md +1 -1
- package/docs/workflows/migrating-runs.md +1 -1
- package/docs/workflows/recovery.md +4 -4
- package/docs/workflows/testing-offline.md +1 -1
- package/package.json +5 -5
- package/template/package.json +1 -1
package/dist/api-exports.d.ts
CHANGED
|
@@ -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
|
|
6760
|
-
*
|
|
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({
|
package/dist/api-exports.js
CHANGED
|
@@ -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
|
|
16110
|
-
*
|
|
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({
|