@opengeni/runtime 4.0.0 → 4.0.1
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-WIHICNWS.js → chunk-J5AR5XAJ.js} +10 -4
- package/dist/chunk-J5AR5XAJ.js.map +1 -0
- package/dist/{chunk-5HJEVOMJ.js → chunk-J6J3VYFW.js} +83 -14
- package/dist/chunk-J6J3VYFW.js.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +6 -2
- package/dist/operational-instructions.d.ts +1 -1
- package/dist/sandbox/index.js +1 -1
- package/dist/sandbox/routing/routing-session.d.ts +2 -1
- package/dist/sandbox/turn-tool-cancellation.d.ts +1 -1
- package/dist/workspace-tool-gateway.js +2 -2
- package/package.json +7 -7
- package/src/bundled_default_skills/opengeni-help/SKILL.md +14 -0
- package/src/bundled_management_skills/opengeni-skills/SKILL.md +1 -1
- package/src/bundled_site_skills/opengeni-sites/SKILL.md +23 -2
- package/src/index.ts +97 -16
- package/src/operational-instructions.ts +5 -1
- package/src/sandbox/routing/routing-session.ts +6 -1
- package/src/sandbox/turn-tool-cancellation.ts +12 -2
- package/dist/chunk-5HJEVOMJ.js.map +0 -1
- package/dist/chunk-WIHICNWS.js.map +0 -1
|
@@ -17696,7 +17696,7 @@ var RoutingSandboxSession = class {
|
|
|
17696
17696
|
/** Make a retained process session-owned before exposing its live locator.
|
|
17697
17697
|
* Provider yield alone is not adoption: short commands can still finish and
|
|
17698
17698
|
* return inline during the model-facing eager-wait window. */
|
|
17699
|
-
async adoptRetainedProcessAsBackgroundCommand(providerSessionId) {
|
|
17699
|
+
async adoptRetainedProcessAsBackgroundCommand(providerSessionId, command) {
|
|
17700
17700
|
const record = this.retainedProcess(providerSessionId);
|
|
17701
17701
|
if (!this.canAdoptRetainedProcessAsBackgroundCommand(providerSessionId)) {
|
|
17702
17702
|
throw new RoutingUnsupportedError("backgroundCommandAdoption", record.backend.kind);
|
|
@@ -17712,7 +17712,8 @@ var RoutingSandboxSession = class {
|
|
|
17712
17712
|
await this.captureRetainedOutput(record);
|
|
17713
17713
|
record.backgroundAdoption ??= this.deps.adoptProcessAsBackgroundCommand({
|
|
17714
17714
|
backend: record.backend,
|
|
17715
|
-
process: record.process
|
|
17715
|
+
process: record.process,
|
|
17716
|
+
command
|
|
17716
17717
|
});
|
|
17717
17718
|
try {
|
|
17718
17719
|
await record.backgroundAdoption;
|
|
@@ -19008,6 +19009,7 @@ var TurnToolCancellationControllerImpl = class {
|
|
|
19008
19009
|
if (retainedProcess && processSession) {
|
|
19009
19010
|
this.shellSessions.set(retainedProcess.providerSessionId, {
|
|
19010
19011
|
sessionId: retainedProcess.providerSessionId,
|
|
19012
|
+
command: parsed.cmd,
|
|
19011
19013
|
markerPath,
|
|
19012
19014
|
token,
|
|
19013
19015
|
interactive,
|
|
@@ -19037,6 +19039,7 @@ var TurnToolCancellationControllerImpl = class {
|
|
|
19037
19039
|
if (sessionId !== null) {
|
|
19038
19040
|
const state = {
|
|
19039
19041
|
sessionId,
|
|
19042
|
+
command: parsed.cmd,
|
|
19040
19043
|
markerPath: useRemoteOpCancellation ? null : markerPath,
|
|
19041
19044
|
token: useRemoteOpCancellation ? null : token,
|
|
19042
19045
|
interactive,
|
|
@@ -19213,7 +19216,10 @@ This process is turn-scoped; it will stop when this turn ends or is interrupted.
|
|
|
19213
19216
|
`;
|
|
19214
19217
|
}
|
|
19215
19218
|
if (state.processSession?.adoptRetainedProcessAsBackgroundCommand) {
|
|
19216
|
-
await state.processSession.adoptRetainedProcessAsBackgroundCommand(
|
|
19219
|
+
await state.processSession.adoptRetainedProcessAsBackgroundCommand(
|
|
19220
|
+
state.sessionId,
|
|
19221
|
+
state.command
|
|
19222
|
+
);
|
|
19217
19223
|
this.shellSessions.delete(state.sessionId);
|
|
19218
19224
|
}
|
|
19219
19225
|
return runningCommandBanner(
|
|
@@ -38565,4 +38571,4 @@ export {
|
|
|
38565
38571
|
collectSandboxEnvironment2 as collectSandboxEnvironment,
|
|
38566
38572
|
parseExposedPorts2 as parseExposedPorts
|
|
38567
38573
|
};
|
|
38568
|
-
//# sourceMappingURL=chunk-
|
|
38574
|
+
//# sourceMappingURL=chunk-J5AR5XAJ.js.map
|