@agentswf/sandbox 0.1.0-beta.4 → 0.1.0-beta.5
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/package.json +2 -2
- package/src/seam.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentswf/sandbox",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"description": "agents.wf: the sandboxes a workflow opens, and their providers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://agents.wf",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"docker"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@agentswf/contract": "0.1.0-beta.
|
|
31
|
+
"@agentswf/contract": "0.1.0-beta.5"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
package/src/seam.ts
CHANGED
|
@@ -72,7 +72,7 @@ export interface OpenedSandbox {
|
|
|
72
72
|
/** What only the provider knows about how it runs this sandbox: the record's `provided`. */
|
|
73
73
|
readonly record?: JsonObject;
|
|
74
74
|
/**
|
|
75
|
-
* It hosts
|
|
75
|
+
* It hosts TUI agents: each occupant's `pane()` gives one its terminal. A sandbox-level fact,
|
|
76
76
|
* so a pane in one that does not is refused before the agent's channel opens.
|
|
77
77
|
*/
|
|
78
78
|
readonly panes?: true;
|
|
@@ -94,11 +94,11 @@ export interface Occupant {
|
|
|
94
94
|
launch(root: SandboxProcess): SandboxedCommand;
|
|
95
95
|
/** Stops this agent's processes and its route to the door. Never the engine's channel. */
|
|
96
96
|
release(): Promise<void>;
|
|
97
|
-
/** The terminal a
|
|
97
|
+
/** The terminal a TUI agent runs in; present where the sandbox has `panes`. */
|
|
98
98
|
pane?(): Promise<PaneTerminal>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
/** Where a
|
|
101
|
+
/** Where a TUI agent runs, and what is typed to start it there (story 004, "Panes"). */
|
|
102
102
|
export type PaneTerminal = {
|
|
103
103
|
herdr: PaneHerdr;
|
|
104
104
|
/**
|