@opengeni/runtime 4.0.1 → 4.0.3
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/{agent-RJQLKFIW.js → agent-ME6HT4DH.js} +2 -2
- package/dist/assets/codemode-client.json +1 -1
- package/dist/browser-action-json-schema.d.ts +4 -0
- package/dist/{chunk-J5AR5XAJ.js → chunk-GBVN7WSK.js} +377 -210
- package/dist/chunk-GBVN7WSK.js.map +1 -0
- package/dist/{chunk-ZG2YH25H.js → chunk-JAYHA6BF.js} +2 -2
- package/dist/{chunk-J6J3VYFW.js → chunk-LL2YQO5H.js} +527 -48
- package/dist/chunk-LL2YQO5H.js.map +1 -0
- package/dist/{chunk-UNICCRW5.js → chunk-LZIXCZUV.js} +6 -3
- package/dist/{chunk-UNICCRW5.js.map → chunk-LZIXCZUV.js.map} +1 -1
- package/dist/{chunk-SPT3PLMX.js → chunk-PRHMSM6C.js} +2 -2
- package/dist/index.js +7 -7
- package/dist/interaction-tools.d.ts +1 -1
- package/dist/{lazy-manifest-OEYEHNVY.js → lazy-manifest-GCGUFIWP.js} +3 -3
- package/dist/{localSources-TWHTEKGO.js → localSources-FDH65AFI.js} +4 -4
- package/dist/sandbox/browser-control-client.d.ts +28 -1
- package/dist/sandbox/index.d.ts +2 -2
- package/dist/sandbox/index.js +6 -6
- package/dist/sandbox/providers/modal-command-router-wire.d.ts +8 -0
- package/dist/sandbox/providers/modal.d.ts +5 -6
- package/dist/workspace-tool-gateway.js +5 -5
- package/package.json +7 -7
- package/src/browser-action-json-schema.ts +10 -0
- package/src/bundled_artifact_skills/opengeni-documents/SKILL.md +4 -1
- package/src/bundled_artifact_skills/opengeni-documents/references/api.md +20 -0
- package/src/bundled_default_skills/opengeni-client/SKILL.md +4 -1
- package/src/bundled_default_skills/opengeni-client/references/discovery-and-autonomy.md +31 -0
- package/src/bundled_default_skills/opengeni-client/references/runtime-profile-and-verification.md +32 -0
- package/src/index.ts +9 -0
- package/src/interaction-tools.ts +656 -48
- package/src/sandbox/browser-control-client.ts +241 -26
- package/src/sandbox/index.ts +3 -1
- package/src/sandbox/providers/modal-command-control.ts +7 -1
- package/src/sandbox/providers/modal-command-router-wire.ts +47 -6
- package/src/sandbox/providers/modal.ts +16 -24
- package/src/sandbox/routing/routing-session.ts +4 -2
- package/dist/chunk-J5AR5XAJ.js.map +0 -1
- package/dist/chunk-J6J3VYFW.js.map +0 -1
- /package/dist/{agent-RJQLKFIW.js.map → agent-ME6HT4DH.js.map} +0 -0
- /package/dist/{chunk-ZG2YH25H.js.map → chunk-JAYHA6BF.js.map} +0 -0
- /package/dist/{chunk-SPT3PLMX.js.map → chunk-PRHMSM6C.js.map} +0 -0
- /package/dist/{lazy-manifest-OEYEHNVY.js.map → lazy-manifest-GCGUFIWP.js.map} +0 -0
- /package/dist/{localSources-TWHTEKGO.js.map → localSources-FDH65AFI.js.map} +0 -0
|
@@ -32468,7 +32468,7 @@ var SandboxMemoryGenerationManager = class {
|
|
|
32468
32468
|
if (!transcript) {
|
|
32469
32469
|
throw new UserError(`Memory rollout transcript was not found: ${transcriptPath}`);
|
|
32470
32470
|
}
|
|
32471
|
-
const { SandboxAgent: SandboxAgent2 } = await import("./agent-
|
|
32471
|
+
const { SandboxAgent: SandboxAgent2 } = await import("./agent-ME6HT4DH.js");
|
|
32472
32472
|
const phaseOneAgent = new SandboxAgent2({
|
|
32473
32473
|
name: "sandbox-memory-phase-one",
|
|
32474
32474
|
instructions: renderRolloutExtractionInstructions(generate.extraPrompt),
|
|
@@ -32529,7 +32529,7 @@ var SandboxMemoryGenerationManager = class {
|
|
|
32529
32529
|
})) {
|
|
32530
32530
|
return;
|
|
32531
32531
|
}
|
|
32532
|
-
const { SandboxAgent: SandboxAgent2 } = await import("./agent-
|
|
32532
|
+
const { SandboxAgent: SandboxAgent2 } = await import("./agent-ME6HT4DH.js");
|
|
32533
32533
|
const phaseTwoAgent = new SandboxAgent2({
|
|
32534
32534
|
name: "sandbox-memory-phase-two",
|
|
32535
32535
|
model: generate.phaseTwoModel,
|
|
@@ -43787,9 +43787,11 @@ var SHELL_INSTRUCTIONS = [
|
|
|
43787
43787
|
var ShellCapability = class extends Capability {
|
|
43788
43788
|
type = "shell";
|
|
43789
43789
|
configureTools;
|
|
43790
|
+
execCommandErrorFunction;
|
|
43790
43791
|
constructor(args = {}) {
|
|
43791
43792
|
super();
|
|
43792
43793
|
this.configureTools = args.configureTools;
|
|
43794
|
+
this.execCommandErrorFunction = args.execCommandErrorFunction;
|
|
43793
43795
|
}
|
|
43794
43796
|
tools() {
|
|
43795
43797
|
const session = requireBoundSession(this.type, this._session);
|
|
@@ -43799,6 +43801,7 @@ var ShellCapability = class extends Capability {
|
|
|
43799
43801
|
const tools = [
|
|
43800
43802
|
tool({
|
|
43801
43803
|
name: "exec_command",
|
|
43804
|
+
...this.execCommandErrorFunction ? { errorFunction: this.execCommandErrorFunction } : {},
|
|
43802
43805
|
description: "Runs a command in a PTY, returning output or a session ID for ongoing interaction.",
|
|
43803
43806
|
parameters: external_exports.object({
|
|
43804
43807
|
cmd: external_exports.string().min(1).describe("Shell command to execute."),
|
|
@@ -44266,4 +44269,4 @@ export {
|
|
|
44266
44269
|
Runner,
|
|
44267
44270
|
Agent
|
|
44268
44271
|
};
|
|
44269
|
-
//# sourceMappingURL=chunk-
|
|
44272
|
+
//# sourceMappingURL=chunk-LZIXCZUV.js.map
|