@workser/engine 0.1.5 → 0.1.8
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/README.md +2 -1
- package/dist/src/place/e2b.d.ts +3 -3
- package/dist/src/place/e2b.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
Workser's coding engine for the **loop in our service** mode (plan decision
|
|
4
4
|
D1): OpenCode's agent contract running on Node — in a Trigger.dev worker, or
|
|
5
5
|
anywhere — with every file and shell action going through a **Place**. The
|
|
6
|
-
machine can be a remote E2B sandbox or
|
|
6
|
+
machine can be a remote E2B sandbox or an AI agent's cloud computer (its own,
|
|
7
|
+
or the team computer); the model
|
|
7
8
|
key (the run token) never goes there.
|
|
8
9
|
|
|
9
10
|
## What is OpenCode's here
|
package/dist/src/place/e2b.d.ts
CHANGED
|
@@ -35,12 +35,12 @@ export interface E2BSandboxLike {
|
|
|
35
35
|
pause?(): Promise<unknown>;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* A remote E2B machine (a project sandbox or
|
|
39
|
-
* a Place — the "loop in our service" mode. The engine runs in our worker; the
|
|
38
|
+
* A remote E2B machine (a project sandbox, or an AI agent's cloud computer —
|
|
39
|
+
* its own, or the team computer) as a Place — the "loop in our service" mode. The engine runs in our worker; the
|
|
40
40
|
* files and commands are on the machine; the model key never goes there.
|
|
41
41
|
*/
|
|
42
42
|
/**
|
|
43
|
-
* NODE ON PATH, WHERE IT CAME FROM NVM. A
|
|
43
|
+
* NODE ON PATH, WHERE IT CAME FROM NVM. A cloud computer's image installs
|
|
44
44
|
* Node with nvm for `user`, which only an interactive shell loads: a job's
|
|
45
45
|
* `npm test`, its checks and the agent's own `node` saw none. Loaded only
|
|
46
46
|
* when `node` is missing, so a machine that has it (the workbench template, a
|
package/dist/src/place/e2b.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { parseGitStatus } from './local.js';
|
|
2
2
|
/**
|
|
3
|
-
* A remote E2B machine (a project sandbox or
|
|
4
|
-
* a Place — the "loop in our service" mode. The engine runs in our worker; the
|
|
3
|
+
* A remote E2B machine (a project sandbox, or an AI agent's cloud computer —
|
|
4
|
+
* its own, or the team computer) as a Place — the "loop in our service" mode. The engine runs in our worker; the
|
|
5
5
|
* files and commands are on the machine; the model key never goes there.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
* NODE ON PATH, WHERE IT CAME FROM NVM. A
|
|
8
|
+
* NODE ON PATH, WHERE IT CAME FROM NVM. A cloud computer's image installs
|
|
9
9
|
* Node with nvm for `user`, which only an interactive shell loads: a job's
|
|
10
10
|
* `npm test`, its checks and the agent's own `node` saw none. Loaded only
|
|
11
11
|
* when `node` is missing, so a machine that has it (the workbench template, a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workser/engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Workser's coding engine for the 'loop in our service' mode: OpenCode's agent contract (its prompts, tool schemas and edit semantics, vendored from v1.18.23) running on Node, with every file and shell action going through a Place — so the machine can be a remote sandbox and no model key is ever on it.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|