@opengeni/runtime 4.4.0 → 4.5.0-canary.36935312914001
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/assets/codemode-client.json +1 -1
- package/dist/{chunk-BOBZ4N56.js → chunk-ETKOJALF.js} +9 -6
- package/dist/chunk-ETKOJALF.js.map +1 -0
- package/dist/{chunk-QKROIZOB.js → chunk-VDXKKMMD.js} +7 -3
- package/dist/chunk-VDXKKMMD.js.map +1 -0
- package/dist/first-party-client.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/interaction-tools.d.ts +1 -0
- package/dist/sandbox/codemode-authority.d.ts +1 -0
- package/dist/sandbox/index.js +1 -1
- package/dist/workspace-tool-gateway.js +2 -2
- package/package.json +12 -12
- package/src/bundled_default_skills/opengeni-client/SKILL.md +10 -1
- package/src/bundled_default_skills/opengeni-client/references/chat-facade-fallback.md +10 -0
- package/src/bundled_default_skills/opengeni-client/references/compatibility-and-troubleshooting.md +33 -0
- package/src/bundled_default_skills/opengeni-client/references/configure-the-agent.md +28 -3
- package/src/bundled_default_skills/opengeni-client/references/data-tools-and-credentials.md +8 -1
- package/src/bundled_default_skills/opengeni-client/references/product-shapes-and-ui.md +10 -0
- package/src/first-party-client.ts +4 -0
- package/src/index.ts +5 -0
- package/src/interaction-tools.ts +4 -0
- package/src/sandbox/codemode-authority.ts +4 -0
- package/src/sandbox/providers/modal-command-control.ts +5 -2
- package/dist/chunk-BOBZ4N56.js.map +0 -1
- package/dist/chunk-QKROIZOB.js.map +0 -1
|
@@ -24182,7 +24182,10 @@ var ModalCommandControl2 = class _ModalCommandControl {
|
|
|
24182
24182
|
async verifyExecReadiness(signal) {
|
|
24183
24183
|
signal.throwIfAborted();
|
|
24184
24184
|
const sandboxId = this.sandboxId;
|
|
24185
|
-
const task = await
|
|
24185
|
+
const task = await ModalCommandStartPreDispatchUnavailableError.beforeDispatch(
|
|
24186
|
+
() => this.client.sandboxGetTaskId({ sandboxId }, { signal }),
|
|
24187
|
+
signal
|
|
24188
|
+
);
|
|
24186
24189
|
if (!task.taskId || task.taskResult) throw new Error("Modal command task is unavailable");
|
|
24187
24190
|
if (sandboxId !== this.sandboxId)
|
|
24188
24191
|
throw new Error("Modal sandbox changed during readiness preparation");
|
|
@@ -24191,7 +24194,7 @@ var ModalCommandControl2 = class _ModalCommandControl {
|
|
|
24191
24194
|
error?.code ?? -1
|
|
24192
24195
|
);
|
|
24193
24196
|
const pause = () => delay2(100, void 0, { signal });
|
|
24194
|
-
return await this.
|
|
24197
|
+
return await this.withStartRouter(task.taskId, signal, async (router) => {
|
|
24195
24198
|
for (; ; ) {
|
|
24196
24199
|
signal.throwIfAborted();
|
|
24197
24200
|
try {
|
|
@@ -37853,6 +37856,7 @@ async function mintSandboxCodemodeToken(settings, scope, authority, nowMs = Date
|
|
|
37853
37856
|
turnId: authority.turnId,
|
|
37854
37857
|
attemptId: authority.attemptId,
|
|
37855
37858
|
executionGeneration: authority.executionGeneration,
|
|
37859
|
+
...authority.credentialRestriction ? { credentialRestriction: authority.credentialRestriction } : {},
|
|
37856
37860
|
principalKind: "agent_attempt",
|
|
37857
37861
|
exp: expiresAtSeconds
|
|
37858
37862
|
});
|
|
@@ -40467,4 +40471,4 @@ export {
|
|
|
40467
40471
|
collectSandboxEnvironment2 as collectSandboxEnvironment,
|
|
40468
40472
|
parseExposedPorts2 as parseExposedPorts
|
|
40469
40473
|
};
|
|
40470
|
-
//# sourceMappingURL=chunk-
|
|
40474
|
+
//# sourceMappingURL=chunk-VDXKKMMD.js.map
|