@lotics/app-sdk 0.134.2 → 0.134.4
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/{chunk-FE5YWUAG.js → chunk-2RHCJQ6C.js} +28 -5
- package/dist/index.js +264 -89
- package/dist/router.js +1 -1
- package/dist/rpc.d.ts +2 -1
- package/dist/shared_types.d.ts +11 -6
- package/docs/runtime.md +4 -0
- package/package.json +1 -1
package/dist/router.js
CHANGED
package/dist/rpc.d.ts
CHANGED
|
@@ -13,8 +13,9 @@ import { type UrlParams, type UrlParamsPatch } from "./url_params.js";
|
|
|
13
13
|
* app → host: { type: "drawn" }, once, when no hold (`holdDrawn`) is outstanding, every request that holds the
|
|
14
14
|
* cover is answered and none was sent for two frames: the app's first screen has its data
|
|
15
15
|
* host → app: { id, type: "result", data } | { id, type: "error", message }
|
|
16
|
+
* host → app: { type: "pressed-outside" }, when the person presses the host page outside the frame
|
|
16
17
|
*/
|
|
17
|
-
export type RpcOp = "query" | "export" | "field_options" | "workflow" | "agentRuns" | "agentRun.get" | "agentRun.cancel" | "upload" | "file.rename" | "members" | "member_names" | "context" | "spec" | "write_model" | "prediction_miss" | "openExternal" | "askAi" | "urlState.get" | "urlState.set" | "folder.get" | "folder.set" | "comments.list" | "comments.create" | "comments.update" | "comments.delete" | "comments.counts" | "outsideLink.list" | "outsideLink.create" | "outsideLink.revoke";
|
|
18
|
+
export type RpcOp = "query" | "export" | "field_options" | "workflow" | "agentRuns" | "agentRun.get" | "agentRun.cancel" | "upload" | "file.rename" | "members" | "member_names" | "context" | "spec" | "write_model" | "prediction_miss" | "openExternal" | "askAi" | "urlState.get" | "urlState.set" | "folder.get" | "folder.set" | "comments.list" | "comments.create" | "comments.update" | "comments.delete" | "comments.counts" | "history" | "outsideLink.list" | "outsideLink.create" | "outsideLink.revoke";
|
|
18
19
|
export interface AgentRunPayload {
|
|
19
20
|
alias: string;
|
|
20
21
|
session_id: string;
|