paracosm 0.9.1122 → 0.9.1124
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 +1 -1
- package/dist/cli/pair-runner.d.ts +6 -2
- package/dist/cli/pair-runner.d.ts.map +1 -1
- package/dist/cli/pair-runner.js +12 -7
- package/dist/cli/pair-runner.js.map +1 -1
- package/dist/cli/sim-config.d.ts +10 -0
- package/dist/cli/sim-config.d.ts.map +1 -1
- package/dist/cli/sim-config.js +16 -1
- package/dist/cli/sim-config.js.map +1 -1
- package/dist/dashboard/landing.html +1 -0
- package/dist/engine/compiler/cache.d.ts +5 -0
- package/dist/engine/compiler/cache.d.ts.map +1 -1
- package/dist/engine/compiler/cache.js +5 -0
- package/dist/engine/compiler/cache.js.map +1 -1
- package/dist/engine/compiler/index.d.ts.map +1 -1
- package/dist/engine/compiler/index.js +34 -1
- package/dist/engine/compiler/index.js.map +1 -1
- package/dist/engine/compiler/own-context.d.ts +71 -0
- package/dist/engine/compiler/own-context.d.ts.map +1 -0
- package/dist/engine/compiler/own-context.js +280 -0
- package/dist/engine/compiler/own-context.js.map +1 -0
- package/dist/engine/compiler/sandbox-runner.d.ts +15 -11
- package/dist/engine/compiler/sandbox-runner.d.ts.map +1 -1
- package/dist/engine/compiler/sandbox-runner.js +66 -179
- package/dist/engine/compiler/sandbox-runner.js.map +1 -1
- package/dist/runtime/orchestrator/emergent-setup.d.ts.map +1 -1
- package/dist/runtime/orchestrator/emergent-setup.js +8 -1
- package/dist/runtime/orchestrator/emergent-setup.js.map +1 -1
- package/dist/runtime/orchestrator/forge-guidance.js +1 -1
- package/dist/runtime/orchestrator/forged-code-executor.d.ts +53 -0
- package/dist/runtime/orchestrator/forged-code-executor.d.ts.map +1 -0
- package/dist/runtime/orchestrator/forged-code-executor.js +85 -0
- package/dist/runtime/orchestrator/forged-code-executor.js.map +1 -0
- package/dist/runtime/orchestrator/index.d.ts +5 -0
- package/dist/runtime/orchestrator/index.d.ts.map +1 -1
- package/dist/runtime/orchestrator/index.js +15 -13
- package/dist/runtime/orchestrator/index.js.map +1 -1
- package/dist/runtime/world-model/index.d.ts +4 -2
- package/dist/runtime/world-model/index.d.ts.map +1 -1
- package/dist/runtime/world-model/index.js +4 -2
- package/dist/runtime/world-model/index.js.map +1 -1
- package/dist/server/live-runs.d.ts.map +1 -1
- package/dist/server/live-runs.js +2 -1
- package/dist/server/live-runs.js.map +1 -1
- package/dist/server/rate-limiter.d.ts.map +1 -1
- package/dist/server/rate-limiter.js +5 -0
- package/dist/server/rate-limiter.js.map +1 -1
- package/dist/server/routes/bundle.d.ts +1 -1
- package/dist/server/routes/bundle.d.ts.map +1 -1
- package/dist/server/routes/bundle.js +2 -1
- package/dist/server/routes/bundle.js.map +1 -1
- package/dist/server/routes/library-import.js +1 -9
- package/dist/server/routes/library-import.js.map +1 -1
- package/dist/server/routes/platform-api.d.ts.map +1 -1
- package/dist/server/routes/platform-api.js +6 -6
- package/dist/server/routes/platform-api.js.map +1 -1
- package/dist/server/routes/quickstart.d.ts.map +1 -1
- package/dist/server/routes/quickstart.js +3 -1
- package/dist/server/routes/quickstart.js.map +1 -1
- package/dist/server/routes/simulate.d.ts.map +1 -1
- package/dist/server/routes/simulate.js +2 -1
- package/dist/server/routes/simulate.js.map +1 -1
- package/dist/server/server-app.d.ts.map +1 -1
- package/dist/server/server-app.js +25 -16
- package/dist/server/server-app.js.map +1 -1
- package/dist/server/services/run-record.d.ts +7 -0
- package/dist/server/services/run-record.d.ts.map +1 -1
- package/dist/server/services/run-record.js +33 -0
- package/dist/server/services/run-record.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,58 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Synchronous runner for paracosm's compiled hooks.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* A hook is an arrow function a model wrote. Each call evaluates its
|
|
5
|
+
* source in a node:vm context of its own, through
|
|
6
|
+
* {@link evaluateInOwnContext} (./own-context.ts), which says in full what
|
|
7
|
+
* the context holds and what it does not. In short:
|
|
7
8
|
*
|
|
8
|
-
* -
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* - The context is made from an empty object: every global and every
|
|
10
|
+
* constructor the hook can reach is the context's own, and
|
|
11
|
+
* `codeGeneration: { strings: false, wasm: false }` refuses text
|
|
12
|
+
* compiled through them.
|
|
13
|
+
* - Arguments go in as JSON text the context parses itself. The result
|
|
14
|
+
* comes back as one string the context encodes under the time limit;
|
|
15
|
+
* the host reads no property of a value the context made, and a
|
|
16
|
+
* returned function is refused.
|
|
17
|
+
* - `Promise`, `Proxy`, `Reflect`, `WebAssembly`, `SharedArrayBuffer`,
|
|
18
|
+
* `Atomics`, `globalThis` and others are deleted from the context; a
|
|
19
|
+
* hook holding the word `import` or `async` is refused before it runs.
|
|
12
20
|
* - Wall-clock `timeout` enforced via vm.runInContext.
|
|
13
21
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* the
|
|
17
|
-
*
|
|
18
|
-
* runtime allows an async refactor.
|
|
22
|
+
* Node's documentation says the node:vm module is not a security mechanism
|
|
23
|
+
* (https://nodejs.org/api/vm.html), and this runner does not make it one:
|
|
24
|
+
* the hook runs in the host's process and on its heap, with no memory
|
|
25
|
+
* limit. docs/ARCHITECTURE.md names what stays open.
|
|
19
26
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* cannot reach a host `Function` constructor with permissive
|
|
23
|
-
* codeGeneration).
|
|
27
|
+
* The runner is synchronous because paracosm's runtime calls these hooks
|
|
28
|
+
* per-turn from sync code paths in kernel / orchestrator.
|
|
24
29
|
*
|
|
25
30
|
* @module paracosm/engine/compiler/sandbox-runner
|
|
26
31
|
*/
|
|
27
|
-
import
|
|
28
|
-
/**
|
|
29
|
-
* Keys that must NEVER be exposed inside the sandbox even if a future
|
|
30
|
-
* caller passes extras. Drops them silently to keep the hardening intact.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* Mirror of @framers/agentos CodeSandbox DANGEROUS_GLOBAL_KEYS so paracosm's
|
|
34
|
-
* sandbox-runner has the same hardening surface as the agentos forge sandbox.
|
|
35
|
-
*
|
|
36
|
-
* Categorized:
|
|
37
|
-
* - Host-state escape: process, global, globalThis, require
|
|
38
|
-
* - Code-generation reflection: eval, Function
|
|
39
|
-
* - Realm-reflection / introspection: Reflect, Proxy
|
|
40
|
-
* - Memory side-channels (Spectre family): SharedArrayBuffer, Atomics
|
|
41
|
-
* - Native compilation surface: WebAssembly
|
|
42
|
-
*/
|
|
43
|
-
const DANGEROUS_GLOBAL_KEYS = new Set([
|
|
44
|
-
'process',
|
|
45
|
-
'global',
|
|
46
|
-
'globalThis',
|
|
47
|
-
'require',
|
|
48
|
-
'eval',
|
|
49
|
-
'Function',
|
|
50
|
-
'Reflect',
|
|
51
|
-
'Proxy',
|
|
52
|
-
'WebAssembly',
|
|
53
|
-
'SharedArrayBuffer',
|
|
54
|
-
'Atomics',
|
|
55
|
-
]);
|
|
32
|
+
import { evaluateInOwnContext, refusedWordIn } from './own-context.js';
|
|
56
33
|
/**
|
|
57
34
|
* Static regex blocklist applied before any code reaches the runtime.
|
|
58
35
|
* Catches the common literal-pattern attempts; codeGeneration: false at
|
|
@@ -96,159 +73,69 @@ export function validateHookCode(code) {
|
|
|
96
73
|
throw new SandboxRunnerError(`Sandbox validation failed: ${message}`);
|
|
97
74
|
}
|
|
98
75
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
* explicitly nulled so any reference inside the sandbox throws a clear
|
|
104
|
-
* `undefined` error rather than leaking host state.
|
|
105
|
-
*
|
|
106
|
-
* The `extras` parameter (currently used only for the JSON-stringified
|
|
107
|
-
* args bundle and the wrapped user function) is filtered against
|
|
108
|
-
* DANGEROUS_GLOBAL_KEYS before merging.
|
|
109
|
-
*/
|
|
110
|
-
function buildContext(extras = {}) {
|
|
111
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
112
|
-
const ctx = {
|
|
113
|
-
JSON,
|
|
114
|
-
Math,
|
|
115
|
-
Date,
|
|
116
|
-
Number,
|
|
117
|
-
String,
|
|
118
|
-
Boolean,
|
|
119
|
-
Array,
|
|
120
|
-
Object,
|
|
121
|
-
Map,
|
|
122
|
-
Set,
|
|
123
|
-
RegExp,
|
|
124
|
-
Error,
|
|
125
|
-
TypeError,
|
|
126
|
-
RangeError,
|
|
127
|
-
Promise,
|
|
128
|
-
parseInt,
|
|
129
|
-
parseFloat,
|
|
130
|
-
isNaN,
|
|
131
|
-
isFinite,
|
|
132
|
-
encodeURI,
|
|
133
|
-
decodeURI,
|
|
134
|
-
encodeURIComponent,
|
|
135
|
-
decodeURIComponent,
|
|
136
|
-
console: Object.freeze({
|
|
137
|
-
log: () => { },
|
|
138
|
-
warn: () => { },
|
|
139
|
-
error: () => { },
|
|
140
|
-
info: () => { },
|
|
141
|
-
debug: () => { },
|
|
142
|
-
}),
|
|
143
|
-
// Hardened-undefined: any reference inside the sandbox surfaces as
|
|
144
|
-
// a clear `undefined` rather than leaking the host equivalents.
|
|
145
|
-
process: undefined,
|
|
146
|
-
global: undefined,
|
|
147
|
-
globalThis: undefined,
|
|
148
|
-
require: undefined,
|
|
149
|
-
fetch: undefined,
|
|
150
|
-
setTimeout: undefined,
|
|
151
|
-
setInterval: undefined,
|
|
152
|
-
setImmediate: undefined,
|
|
153
|
-
clearTimeout: undefined,
|
|
154
|
-
clearInterval: undefined,
|
|
155
|
-
clearImmediate: undefined,
|
|
156
|
-
queueMicrotask: undefined,
|
|
157
|
-
// Realm intrinsics paracosm hooks have no legitimate need for. Blocks
|
|
158
|
-
// Reflect.construct(Function,...) and Proxy-based prototype attacks
|
|
159
|
-
// that would otherwise sidestep codeGeneration: { strings: false }.
|
|
160
|
-
// SharedArrayBuffer/Atomics close the Spectre side-channel surface;
|
|
161
|
-
// WebAssembly is already blocked via codeGeneration: { wasm: false }
|
|
162
|
-
// but nulled here for belt-and-suspenders.
|
|
163
|
-
Reflect: undefined,
|
|
164
|
-
Proxy: undefined,
|
|
165
|
-
WebAssembly: undefined,
|
|
166
|
-
SharedArrayBuffer: undefined,
|
|
167
|
-
Atomics: undefined,
|
|
168
|
-
};
|
|
169
|
-
for (const [key, value] of Object.entries(extras)) {
|
|
170
|
-
if (!DANGEROUS_GLOBAL_KEYS.has(key)) {
|
|
171
|
-
ctx[key] = value;
|
|
172
|
-
}
|
|
76
|
+
// The two words the context cannot be left holding: see own-context.ts.
|
|
77
|
+
const word = refusedWordIn(code);
|
|
78
|
+
if (word !== null) {
|
|
79
|
+
throw new SandboxRunnerError(`Sandbox validation failed: ${word}`);
|
|
173
80
|
}
|
|
174
|
-
return ctx;
|
|
175
81
|
}
|
|
176
82
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
83
|
+
* The value an evaluation ended with, or a SandboxRunnerError carrying
|
|
84
|
+
* its message, so callers catch a single class.
|
|
179
85
|
*/
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
|
|
86
|
+
function valueOrThrow(ending) {
|
|
87
|
+
if (ending.ended === 'value')
|
|
88
|
+
return ending.value;
|
|
89
|
+
throw new SandboxRunnerError(`Sandbox execution failed: ${ending.message}`);
|
|
183
90
|
}
|
|
184
91
|
/**
|
|
185
|
-
* Run an LLM-generated arrow function `(...args) => result`
|
|
186
|
-
*
|
|
187
|
-
* validation failure,
|
|
92
|
+
* Run an LLM-generated arrow function `(...args) => result` in a context
|
|
93
|
+
* of its own and return the result. Throws SandboxRunnerError on
|
|
94
|
+
* validation failure, a refused result, timeout, or thrown exception.
|
|
188
95
|
*
|
|
189
|
-
* Args
|
|
190
|
-
*
|
|
96
|
+
* Args go in as JSON text, so the hook only sees values its own context
|
|
97
|
+
* made. A primitive result comes back as it is (`undefined`, `NaN` and
|
|
98
|
+
* `-0` included); an object comes back through JSON, as host data; a
|
|
99
|
+
* function or a symbol is refused.
|
|
191
100
|
*/
|
|
192
101
|
export function runArrowSync(userArrowCode, args) {
|
|
193
102
|
validateHookCode(userArrowCode);
|
|
194
|
-
const
|
|
103
|
+
const ending = evaluateInOwnContext({
|
|
195
104
|
name: 'paracosm-hook-sandbox',
|
|
196
|
-
|
|
105
|
+
timeoutMs: HOOK_TIMEOUT_MS,
|
|
106
|
+
modelText: userArrowCode,
|
|
107
|
+
inputJson: JSON.stringify(args),
|
|
108
|
+
body: ` const __userFn = (${userArrowCode});
|
|
109
|
+
__result = __userFn(...__input);`,
|
|
110
|
+
result: 'typed',
|
|
197
111
|
});
|
|
198
|
-
|
|
199
|
-
const __userFn = (${userArrowCode});
|
|
200
|
-
const __args = ${JSON.stringify(args)};
|
|
201
|
-
__userFn(...__args)
|
|
202
|
-
`;
|
|
203
|
-
let sandboxResult;
|
|
204
|
-
try {
|
|
205
|
-
sandboxResult = vm.runInContext(wrappedCode, context, {
|
|
206
|
-
timeout: HOOK_TIMEOUT_MS,
|
|
207
|
-
breakOnSigint: false,
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
catch (err) {
|
|
211
|
-
rethrowAsSandboxError(err);
|
|
212
|
-
}
|
|
213
|
-
// JSON round-trip rebases the result onto host-realm prototypes so
|
|
214
|
-
// host-side equality checks (deepStrictEqual, instanceof Object)
|
|
215
|
-
// behave normally. Safe for paracosm's plain-data hook outputs.
|
|
216
|
-
if (sandboxResult === undefined || typeof sandboxResult !== 'object') {
|
|
217
|
-
return sandboxResult;
|
|
218
|
-
}
|
|
219
|
-
return JSON.parse(JSON.stringify(sandboxResult));
|
|
112
|
+
return valueOrThrow(ending);
|
|
220
113
|
}
|
|
221
114
|
/**
|
|
222
115
|
* ProgressionFn-shaped hook variant: the user fn returns void and is
|
|
223
|
-
* expected to mutate `ctx.agents` in place.
|
|
224
|
-
*
|
|
225
|
-
* is invoked for its side effects, then the mutated agents array
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
116
|
+
* expected to mutate `ctx.agents` in place. The context parses a JSON
|
|
117
|
+
* copy of `ctx` (so mutations land on the context's own copy), the user
|
|
118
|
+
* fn is invoked for its side effects, then the mutated agents array
|
|
119
|
+
* comes back through JSON as host data, with every number as the hook
|
|
120
|
+
* left it: a `NaN` or an `Infinity` stays that number, where JSON would
|
|
121
|
+
* write `null`, which the kernel's rules read as 0. Host-side, this
|
|
122
|
+
* function merges each returned agent's fields back onto the original
|
|
123
|
+
* agent object so external references stay stable.
|
|
229
124
|
*/
|
|
230
125
|
export function runProgressionSync(userArrowCode, ctx) {
|
|
231
126
|
validateHookCode(userArrowCode);
|
|
232
|
-
const
|
|
127
|
+
const ending = evaluateInOwnContext({
|
|
233
128
|
name: 'paracosm-hook-progression-sandbox',
|
|
234
|
-
|
|
129
|
+
timeoutMs: HOOK_TIMEOUT_MS,
|
|
130
|
+
modelText: userArrowCode,
|
|
131
|
+
inputJson: JSON.stringify(ctx),
|
|
132
|
+
body: ` const __userFn = (${userArrowCode});
|
|
133
|
+
__userFn(__input);
|
|
134
|
+
__result = __input.agents;`,
|
|
135
|
+
result: 'typed',
|
|
136
|
+
exactNumbers: true,
|
|
235
137
|
});
|
|
236
|
-
const
|
|
237
|
-
const __userFn = (${userArrowCode});
|
|
238
|
-
const __ctx = ${JSON.stringify(ctx)};
|
|
239
|
-
__userFn(__ctx);
|
|
240
|
-
__ctx.agents
|
|
241
|
-
`;
|
|
242
|
-
let mutatedAgents;
|
|
243
|
-
try {
|
|
244
|
-
mutatedAgents = vm.runInContext(wrappedCode, context, {
|
|
245
|
-
timeout: HOOK_TIMEOUT_MS,
|
|
246
|
-
breakOnSigint: false,
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
catch (err) {
|
|
250
|
-
rethrowAsSandboxError(err);
|
|
251
|
-
}
|
|
138
|
+
const mutatedAgents = valueOrThrow(ending);
|
|
252
139
|
if (!Array.isArray(mutatedAgents)) {
|
|
253
140
|
throw new SandboxRunnerError('Progression hook did not return a mutated agents array');
|
|
254
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-runner.js","sourceRoot":"","sources":["../../../src/engine/compiler/sandbox-runner.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"sandbox-runner.js","sourceRoot":"","sources":["../../../src/engine/compiler/sandbox-runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAyB,MAAM,kBAAkB,CAAC;AAE9F;;;;GAIG;AACH,MAAM,sBAAsB,GAA6C;IACvE,CAAC,aAAa,EAAE,qBAAqB,CAAC;IACtC,CAAC,iBAAiB,EAAE,yBAAyB,CAAC;IAC9C,CAAC,uBAAuB,EAAE,6BAA6B,CAAC;IACxD,CAAC,gBAAgB,EAAE,wBAAwB,CAAC;IAC5C,CAAC,aAAa,EAAE,iCAAiC,CAAC;IAClD,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAClD,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IACjD,CAAC,mBAAmB,EAAE,mCAAmC,CAAC;IAC1D,CAAC,WAAW,EAAE,wBAAwB,CAAC;CACxC,CAAC;AAEF,8DAA8D;AAC9D,MAAM,eAAe,GAAG,IAAI,CAAC;AAE7B;;;GAGG;AACH,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IACnC,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,KAAK,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,sBAAsB,EAAE,CAAC;QACxD,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACvB,MAAM,IAAI,kBAAkB,CAAC,8BAA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C,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;gBAC/D,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC;YAC/B,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAED,kEAAkE;AAClE,MAAM,aAAa,GAAwB,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emergent-setup.d.ts","sourceRoot":"","sources":["../../../src/runtime/orchestrator/emergent-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACD,iBAAiB,EAIxC,kBAAkB,EAClB,wBAAwB,EAGzB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;AACxD,OAAO,EAAqB,KAAK,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"emergent-setup.d.ts","sourceRoot":"","sources":["../../../src/runtime/orchestrator/emergent-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACD,iBAAiB,EAIxC,kBAAkB,EAClB,wBAAwB,EAGzB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;AACxD,OAAO,EAAqB,KAAK,yBAAyB,EAAE,MAAM,yBAAyB,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C;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,iBAAiB,EACtB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,GACvC,KAAK,CAyCP"}
|
|
@@ -23,6 +23,7 @@ export { validateForgeShape, inferSchemaFromTestCases };
|
|
|
23
23
|
import { DEFAULT_EXECUTION } from '../../cli/sim-config.js';
|
|
24
24
|
import { searchCredential, } from '../../engine/provider/credentials.js';
|
|
25
25
|
import { createResearchSearch } from '../../engine/provider/web-search.js';
|
|
26
|
+
import { clampForgedCodeTimeoutMs, OwnContextExecutor } from './forged-code-executor.js';
|
|
26
27
|
// ---------------------------------------------------------------------------
|
|
27
28
|
// Web search tool
|
|
28
29
|
// ---------------------------------------------------------------------------
|
|
@@ -193,8 +194,14 @@ apiKey) {
|
|
|
193
194
|
enabled: true,
|
|
194
195
|
maxSessionTools: SESSION_TOOL_LIMIT,
|
|
195
196
|
maxAgentTools: AGENT_TOOL_LIMIT,
|
|
196
|
-
|
|
197
|
+
// At most the server's own limit, whatever the run asked for: a call
|
|
198
|
+
// of forged code is synchronous and holds the event loop that long.
|
|
199
|
+
sandboxTimeoutMs: clampForgedCodeTimeoutMs(execution.sandboxTimeoutMs ?? DEFAULT_EXECUTION.sandboxTimeoutMs),
|
|
197
200
|
sandboxMemoryMB: execution.sandboxMemoryMB ?? DEFAULT_EXECUTION.sandboxMemoryMB,
|
|
201
|
+
// Forged code runs in a node:vm context that holds nothing of the
|
|
202
|
+
// host's (forged-code-executor.ts), not in AgentOS's default
|
|
203
|
+
// executor, whose context is built from the host's own built-ins.
|
|
204
|
+
executor: new OwnContextExecutor(),
|
|
198
205
|
promotionThreshold: { uses: 5, confidence: 0.8 },
|
|
199
206
|
allowSandboxTools: true, persistSandboxSource: true,
|
|
200
207
|
// Forged code here computes; it reaches nothing. The ceiling grants no
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emergent-setup.js","sourceRoot":"","sources":["../../../src/runtime/orchestrator/emergent-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,wBAAwB,EAAE,aAAa,EAAE,oBAAoB,EAC7D,qBAAqB,EAAE,iBAAiB,EAAE,YAAY,EACtD,cAAc,EAEd,aAAa,IAAI,oBAAoB,EACrC,kBAAkB,EAClB,wBAAwB,GAGzB,MAAM,kBAAkB,CAAC;AAE1B,sEAAsE;AACtE,2DAA2D;AAC3D,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAkC,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EACL,gBAAgB,GAEjB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"emergent-setup.js","sourceRoot":"","sources":["../../../src/runtime/orchestrator/emergent-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,wBAAwB,EAAE,aAAa,EAAE,oBAAoB,EAC7D,qBAAqB,EAAE,iBAAiB,EAAE,YAAY,EACtD,cAAc,EAEd,aAAa,IAAI,oBAAoB,EACrC,kBAAkB,EAClB,wBAAwB,GAGzB,MAAM,kBAAkB,CAAC;AAE1B,sEAAsE;AACtE,2DAA2D;AAC3D,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;AACxD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ysis, READ the ALREADY-FORGED TOOLS block carefully. Ask:
|
|
|
70
70
|
|
|
71
71
|
Forge when quantitative reasoning is needed and the toolbox has no applicable tool for it. Reuse when the toolbox already covers the question. Your personality profile above shapes how aggressive you are on either side of that line.
|
|
72
72
|
|
|
73
|
-
The implementation of forged tools runs in
|
|
73
|
+
The implementation of forged tools runs in a node:vm context of its own inside this process (10s timeout, heap usage observed but not preemptively capped). It is synchronous: write a plain function execute(input) that returns its result. A source holding the word async or import is refused, and the context has no Promise, Proxy, Reflect or typed arrays. Forged code here gets no capabilities: keep "allowlist": [] (fetch, fs and crypto are refused). An LLM judge reviews your tool for safety AND CORRECTNESS before it executes.
|
|
74
74
|
|
|
75
75
|
HARD RULES — if you violate any of these, a local validator rejects the forge BEFORE the judge sees it and you waste the attempt:
|
|
76
76
|
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The executor paracosm hands AgentOS for code a department forges at run
|
|
3
|
+
* time: the forged source runs in a node:vm context of its own, the same
|
|
4
|
+
* way a compiled hook does (src/engine/compiler/own-context.ts).
|
|
5
|
+
*
|
|
6
|
+
* AgentOS's default executor builds its context from the host's own
|
|
7
|
+
* built-ins. This one hands the context nothing: the input goes in as
|
|
8
|
+
* JSON text, the result comes back as one string, and the forged code can
|
|
9
|
+
* reach no function the host made. It is synchronous: the context holds
|
|
10
|
+
* no `Promise`, and a source with the word `async` or `import` is refused
|
|
11
|
+
* with a message that says so, so `execute(input)` returns its value
|
|
12
|
+
* directly. A result larger than 1 MB as JSON
|
|
13
|
+
* ({@link MAX_FORGED_RESULT_BYTES}) is refused before the host decodes
|
|
14
|
+
* it, as AgentOS's own executor refuses one, so it reaches neither the
|
|
15
|
+
* judge's prompt nor the department.
|
|
16
|
+
*
|
|
17
|
+
* It declares `isolates: false`. Node's documentation says the node:vm
|
|
18
|
+
* module is not a security mechanism (https://nodejs.org/api/vm.html):
|
|
19
|
+
* the code runs in the host's process and on its heap, memory is not
|
|
20
|
+
* limited, and AgentOS refuses to give a forge any state-changing
|
|
21
|
+
* capability on an executor that does not isolate. paracosm grants forged
|
|
22
|
+
* code no capability at all, and this executor refuses a call that
|
|
23
|
+
* carries a host function.
|
|
24
|
+
*
|
|
25
|
+
* @module paracosm/runtime/orchestrator/forged-code-executor
|
|
26
|
+
*/
|
|
27
|
+
import type { ExecutorRunRequest, ExecutorRunResult, ForgedCodeExecutor } from '@framers/agentos';
|
|
28
|
+
/**
|
|
29
|
+
* The longest one call of forged code may run, in milliseconds, whatever
|
|
30
|
+
* a run's `execution.sandboxTimeoutMs` asks for. The call is synchronous,
|
|
31
|
+
* so this is also the longest forged code can hold the event loop.
|
|
32
|
+
*/
|
|
33
|
+
export declare const MAX_FORGED_CODE_TIMEOUT_MS = 10000;
|
|
34
|
+
/**
|
|
35
|
+
* The largest result one call of forged code may return, in bytes of
|
|
36
|
+
* UTF-8 as JSON: 1 MB, the output limit of the AgentOS executor this one
|
|
37
|
+
* replaces. The judge's prompt holds every test case's result in full.
|
|
38
|
+
*/
|
|
39
|
+
export declare const MAX_FORGED_RESULT_BYTES: number;
|
|
40
|
+
/**
|
|
41
|
+
* A forged-code time limit the server accepts: `asked` when it is a
|
|
42
|
+
* positive number no greater than {@link MAX_FORGED_CODE_TIMEOUT_MS},
|
|
43
|
+
* the maximum when it is greater, and the maximum (the default) when it
|
|
44
|
+
* is not a positive finite number.
|
|
45
|
+
*/
|
|
46
|
+
export declare function clampForgedCodeTimeoutMs(asked: unknown): number;
|
|
47
|
+
/** Runs forged code in a node:vm context that holds nothing of the host's. */
|
|
48
|
+
export declare class OwnContextExecutor implements ForgedCodeExecutor {
|
|
49
|
+
readonly name = "paracosm-own-context";
|
|
50
|
+
readonly isolates = false;
|
|
51
|
+
run(request: ExecutorRunRequest): Promise<ExecutorRunResult>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=forged-code-executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forged-code-executor.d.ts","sourceRoot":"","sources":["../../../src/runtime/orchestrator/forged-code-executor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGlG;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,QAAS,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAc,CAAC;AAEnD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAG/D;AAED,8EAA8E;AAC9E,qBAAa,kBAAmB,YAAW,kBAAkB;IAC3D,QAAQ,CAAC,IAAI,0BAA0B;IACvC,QAAQ,CAAC,QAAQ,SAAS;IAEpB,GAAG,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAyDnE"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { evaluateInOwnContext } from '../../engine/compiler/own-context.js';
|
|
2
|
+
/**
|
|
3
|
+
* The longest one call of forged code may run, in milliseconds, whatever
|
|
4
|
+
* a run's `execution.sandboxTimeoutMs` asks for. The call is synchronous,
|
|
5
|
+
* so this is also the longest forged code can hold the event loop.
|
|
6
|
+
*/
|
|
7
|
+
export const MAX_FORGED_CODE_TIMEOUT_MS = 10_000;
|
|
8
|
+
/**
|
|
9
|
+
* The largest result one call of forged code may return, in bytes of
|
|
10
|
+
* UTF-8 as JSON: 1 MB, the output limit of the AgentOS executor this one
|
|
11
|
+
* replaces. The judge's prompt holds every test case's result in full.
|
|
12
|
+
*/
|
|
13
|
+
export const MAX_FORGED_RESULT_BYTES = 1024 * 1024;
|
|
14
|
+
/**
|
|
15
|
+
* A forged-code time limit the server accepts: `asked` when it is a
|
|
16
|
+
* positive number no greater than {@link MAX_FORGED_CODE_TIMEOUT_MS},
|
|
17
|
+
* the maximum when it is greater, and the maximum (the default) when it
|
|
18
|
+
* is not a positive finite number.
|
|
19
|
+
*/
|
|
20
|
+
export function clampForgedCodeTimeoutMs(asked) {
|
|
21
|
+
if (typeof asked !== 'number' || !Number.isFinite(asked) || asked <= 0)
|
|
22
|
+
return MAX_FORGED_CODE_TIMEOUT_MS;
|
|
23
|
+
return Math.max(1, Math.min(MAX_FORGED_CODE_TIMEOUT_MS, Math.floor(asked)));
|
|
24
|
+
}
|
|
25
|
+
/** Runs forged code in a node:vm context that holds nothing of the host's. */
|
|
26
|
+
export class OwnContextExecutor {
|
|
27
|
+
name = 'paracosm-own-context';
|
|
28
|
+
isolates = false;
|
|
29
|
+
async run(request) {
|
|
30
|
+
// A granted capability arrives as a host function. None is passed on:
|
|
31
|
+
// a function of the host inside the context is a way out of it.
|
|
32
|
+
if (Object.keys(request.globals).length > 0) {
|
|
33
|
+
return {
|
|
34
|
+
status: 'error',
|
|
35
|
+
error: 'Execution error: this server hands forged code no host function; forge with "allowlist": []',
|
|
36
|
+
memoryUsedBytes: 0,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
// Observed, not limited: node:vm shares the host heap.
|
|
40
|
+
const heapBefore = process.memoryUsage().heapUsed;
|
|
41
|
+
const ending = evaluateInOwnContext({
|
|
42
|
+
name: 'paracosm-forged-code',
|
|
43
|
+
timeoutMs: clampForgedCodeTimeoutMs(request.timeoutMs),
|
|
44
|
+
modelText: request.code,
|
|
45
|
+
// Wrapped so an input of `undefined` stays `undefined` inside.
|
|
46
|
+
inputJson: JSON.stringify({ input: request.input }),
|
|
47
|
+
body: ` __result = (function () {
|
|
48
|
+
${request.code}
|
|
49
|
+
;
|
|
50
|
+
const __entry =
|
|
51
|
+
typeof execute === 'function'
|
|
52
|
+
? execute
|
|
53
|
+
: (typeof run === 'function' ? run : null);
|
|
54
|
+
if (!__entry) {
|
|
55
|
+
throw new Error('Sandboxed tool must define execute(input) or run(input).');
|
|
56
|
+
}
|
|
57
|
+
return __entry(__input.input);
|
|
58
|
+
})();`,
|
|
59
|
+
result: 'json',
|
|
60
|
+
maxResultBytes: MAX_FORGED_RESULT_BYTES,
|
|
61
|
+
});
|
|
62
|
+
const memoryUsedBytes = Math.max(0, process.memoryUsage().heapUsed - heapBefore);
|
|
63
|
+
switch (ending.ended) {
|
|
64
|
+
case 'value':
|
|
65
|
+
return { status: 'ok', output: ending.value, memoryUsedBytes };
|
|
66
|
+
case 'timeout':
|
|
67
|
+
return { status: 'timeout', memoryUsedBytes };
|
|
68
|
+
case 'refused':
|
|
69
|
+
return {
|
|
70
|
+
status: 'error',
|
|
71
|
+
error: `Execution error: ${ending.message}. Forged code here is synchronous: define a plain function execute(input) that returns its result.`,
|
|
72
|
+
memoryUsedBytes,
|
|
73
|
+
};
|
|
74
|
+
case 'threw':
|
|
75
|
+
return { status: 'error', error: `Execution error: ${ending.message}`, memoryUsedBytes };
|
|
76
|
+
case 'too_large':
|
|
77
|
+
return {
|
|
78
|
+
status: 'error',
|
|
79
|
+
error: `Execution error: the result is ${ending.bytes} bytes as JSON, over the 1 MB (${MAX_FORGED_RESULT_BYTES} bytes) a forged tool may return`,
|
|
80
|
+
memoryUsedBytes,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=forged-code-executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forged-code-executor.js","sourceRoot":"","sources":["../../../src/runtime/orchestrator/forged-code-executor.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAc;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,C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,MAAM,CAAC,KAAK,EAAE,CAAC;YACrB,KAAK,OAAO;gBACV,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,eAAe,EAAE,CAAC;YACjE,KAAK,SAAS;gBACZ,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;YAChD,KAAK,SAAS;gBACZ,OAAO;oBACL,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,oBAAoB,MAAM,CAAC,OAAO,oGAAoG;oBAC7I,eAAe;iBAChB,CAAC;YACJ,KAAK,OAAO;gBACV,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,oBAAoB,MAAM,CAAC,OAAO,EAAE,EAAE,eAAe,EAAE,CAAC;YAC3F,KAAK,WAAW;gBACd,OAAO;oBACL,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,kCAAkC,MAAM,CAAC,KAAK,kCAAkC,uBAAuB,kCAAkC;oBAChJ,eAAe;iBAChB,CAAC;QACN,CAAC;IACH,CAAC;CACF"}
|
|
@@ -349,6 +349,11 @@ export interface RunOptions extends RuntimeCredentialOptions {
|
|
|
349
349
|
* sweeps and wipes its runs in one directory.
|
|
350
350
|
*/
|
|
351
351
|
outputDir?: string;
|
|
352
|
+
/**
|
|
353
|
+
* Whether to write the run's output file. Defaults to true. False returns
|
|
354
|
+
* the artifact without writing a file and leaves scenarioExtensions.outputPath unset.
|
|
355
|
+
*/
|
|
356
|
+
writeOutputFile?: boolean;
|
|
352
357
|
/**
|
|
353
358
|
* The environment the run's web search reads a search key from
|
|
354
359
|
* (`SERPER_API_KEY`, `FIRECRAWL_API_KEY`, `TAVILY_API_KEY`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/runtime/orchestrator/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,kBAAkB,EAClB,WAAW,EACX,aAAa,EACd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