@arbidocs/sdk 0.5.171 → 0.5.173
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/{browser-CJgLHGP5.d.ts → browser-BmGd6MU2.d.ts} +7 -2
- package/dist/{browser-BNilSnIn.d.cts → browser-DflmSsGP.d.cts} +7 -2
- package/dist/browser.cjs +8 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +8 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/examples/human-review/package.json +1 -1
- package/examples/react-chat/package.json +2 -2
- package/package.json +2 -2
|
@@ -14098,8 +14098,13 @@ declare class Arbi {
|
|
|
14098
14098
|
} | null;
|
|
14099
14099
|
conversation_ext_id?: string | null;
|
|
14100
14100
|
}>;
|
|
14101
|
-
/**
|
|
14102
|
-
|
|
14101
|
+
/**
|
|
14102
|
+
* Read the status of a background turn. With `workspaceId` (the turn's workspace), that workspace
|
|
14103
|
+
* is opened first, so a finished turn's output is readable on the first request.
|
|
14104
|
+
*/
|
|
14105
|
+
getResponse: (id: string, options?: {
|
|
14106
|
+
workspaceId?: string;
|
|
14107
|
+
}) => Promise<{
|
|
14103
14108
|
id: string;
|
|
14104
14109
|
object: "response";
|
|
14105
14110
|
status: "completed" | "in_progress" | "queued" | "cancelled" | "failed" | "incomplete";
|
|
@@ -14098,8 +14098,13 @@ declare class Arbi {
|
|
|
14098
14098
|
} | null;
|
|
14099
14099
|
conversation_ext_id?: string | null;
|
|
14100
14100
|
}>;
|
|
14101
|
-
/**
|
|
14102
|
-
|
|
14101
|
+
/**
|
|
14102
|
+
* Read the status of a background turn. With `workspaceId` (the turn's workspace), that workspace
|
|
14103
|
+
* is opened first, so a finished turn's output is readable on the first request.
|
|
14104
|
+
*/
|
|
14105
|
+
getResponse: (id: string, options?: {
|
|
14106
|
+
workspaceId?: string;
|
|
14107
|
+
}) => Promise<{
|
|
14103
14108
|
id: string;
|
|
14104
14109
|
object: "response";
|
|
14105
14110
|
status: "completed" | "in_progress" | "queued" | "cancelled" | "failed" | "incomplete";
|
package/dist/browser.cjs
CHANGED
|
@@ -13549,8 +13549,14 @@ var Arbi = class {
|
|
|
13549
13549
|
)
|
|
13550
13550
|
);
|
|
13551
13551
|
},
|
|
13552
|
-
/**
|
|
13553
|
-
|
|
13552
|
+
/**
|
|
13553
|
+
* Read the status of a background turn. With `workspaceId` (the turn's workspace), that workspace
|
|
13554
|
+
* is opened first, so a finished turn's output is readable on the first request.
|
|
13555
|
+
*/
|
|
13556
|
+
getResponse: async (id, options = {}) => {
|
|
13557
|
+
if (options.workspaceId) await this.primeOrFail(options.workspaceId);
|
|
13558
|
+
return this.recovering(() => getResponse(this.getAuthHeaders(), id));
|
|
13559
|
+
},
|
|
13554
13560
|
/**
|
|
13555
13561
|
* The skills the caller can run (own + shared marketplace), metadata only. Without a
|
|
13556
13562
|
* marketplace they are the current workspace's, or `options.workspaceId`'s (opened, not
|