_Kerman
ac568aa2d2
fix(ptc): capture the native console without a module import
2026-11-09 19:16:59 +08:00
_Kerman
e1f0a36193
fix(ptc): preserve native console methods
2026-11-09 18:17:19 +08:00
_Kerman
4510e1dc57
refactor(ptc): unify wire token parsing
2026-11-09 17:56:52 +08:00
_Kerman
a2ea3970fd
refactor(ptc): return ordered text and image output
2026-11-09 17:44:12 +08:00
_Kerman
1fed265b3b
fix(ptc): bound binary inspection and preserve failure output
2026-11-09 17:19:48 +08:00
_Kerman
b98e3d070b
feat(ptc): expose attachment IDs on program images
2026-11-09 15:58:33 +08:00
_Kerman
3dbe1c126f
refactor(ptc): simplify image references and CUA bridge
2026-11-09 15:57:42 +08:00
_Kerman
724e56b286
feat(ptc): unify explicit text and image inspection
2026-11-09 15:06:09 +08:00
_Kerman
790991a6c0
docs(ptc): align inspection guidance and references
2026-11-09 12:56:55 +08:00
_Kerman
a2c69f36f7
fix(ptc): bump bootstrap output protocol revision
2026-11-09 12:48:09 +08:00
_Kerman
e688c61aab
fix(ptc): target program realms for console globals
2026-11-09 12:48:09 +08:00
_Kerman
c1783e9dff
feat(ptc): select program output with Harness.inspect
2026-11-09 12:00:07 +08:00
Anlai Lu
41ef0fcaa9
refactor(ptc): 复用 embedded 载体的既有 process.js 启动
2026-11-06 13:51:24 +08:00
Anlai Lu
4ac6a28e68
feat(ptc): 支持 embedded 模式启用 persistent PTC
2026-11-06 12:55:15 +08:00
Yixiang Tu
e032300b4e
fix(sandbox): use current grants after failed PTC startup
2026-11-04 15:11:17 +08:00
Yixiang Tu
f5dea38671
feat(sandbox): add session-scoped writable directory effects
2026-11-04 15:11:17 +08:00
_Kerman
ab2bee0051
Merge remote-tracking branch 'origin/master' into xtr/ptc-timeout-step-1
2026-11-03 20:12:59 +08:00
_Kerman
5cf9348314
refactor(ptc-runtime-node): reuse sequential RPC evaluation lifecycle
2026-10-30 20:55:23 +08:00
_Kerman
adc54201f3
fix(ptc-runtime-node): preserve existing native output behavior
2026-10-30 20:54:53 +08:00
_Kerman
3ff5f9a034
refactor(ptc-runtime-node): separate interruption from termination
2026-10-30 20:27:25 +08:00
_Kerman
964231856d
refactor(ptc): reuse run completion for cooperative stop
2026-10-30 17:00:42 +08:00
_Kerman
718f28ee9a
refactor(ptc): simplify model-visible state and recovery messages
2026-10-30 11:30:37 +08:00
_Kerman
7d20d1c361
fix(ptc-runtime-node): contain teardown and validate bootstrap readiness
2026-10-29 21:58:51 +08:00
_Kerman
9800c764ef
feat(ptc-runtime-node): preserve state after cooperative cancellation
2026-10-29 21:22:25 +08:00
_Kerman
7c0af3101b
refactor(ptc): reuse native module format resolution
2026-10-26 22:05:56 +08:00
_Kerman
cf6e05df6d
fix(ptc): preserve import semantics across evaluation lifetimes
2026-10-26 21:07:10 +08:00
_Kerman
9d56130730
fix(ptc): refresh imported process environment after scrubbing
2026-10-22 11:10:47 +08:00
_Kerman
8faf20f660
Merge latest xtr/ptc-vm-script into xtr/ptc-runner-imports
2026-10-22 11:07:30 +08:00
_Kerman
67911ed176
fix(ptc): describe fresh Script failures without retained state
2026-10-21 19:51:52 +08:00
_Kerman
09c7036e05
fix(ptc): retain control transport errors in worker exit diagnostics
2026-10-21 19:51:51 +08:00
_Kerman
c905726461
fix(ptc): allow local process declarations in function bodies
2026-10-21 19:51:50 +08:00
_Kerman
25ede01a8b
fix(ptc): preserve compact declarations and native syntax diagnostics
2026-10-21 19:51:49 +08:00
_Kerman
83b04dd138
Merge latest xtr/ptc-vm-script into xtr/ptc-runner-imports
2026-10-21 18:55:50 +08:00
_Kerman
5dcb912b1b
refactor(cua): delegate retained execution settings to Node provider
2026-10-21 16:47:32 +08:00
_Kerman
ac0816e573
refactor(ptc-runtime-node): centralize cross-realm exception formatting
2026-10-21 16:47:08 +08:00
_Kerman
73a5e63894
fix(ptc-runtime-node): report clearing only for retained executions
2026-10-21 16:46:56 +08:00
_Kerman
4b06d5bf80
refactor(ptc-runtime-node): remove unused bootstrap paths
2026-10-21 16:00:30 +08:00
_Kerman
2b7b2a0ee6
refactor(ptc): share the program format type
2026-10-21 15:59:56 +08:00
_Kerman
6085b6fb62
Merge latest master into xtr/ptc-vm-script
2026-10-21 15:12:47 +08:00
_Kerman
fb59141935
feat(ptc-runtime-node): intercept recursive ESM imports
2026-10-21 15:11:40 +08:00
_Kerman
55cef1caf7
fix(ptc-runtime-node): preserve native then-export results
2026-10-21 13:24:39 +08:00
_Kerman
091f00dfc7
feat(ptc-runtime-node): support runner-local import handlers
2026-10-21 13:11:08 +08:00
_Kerman
86fcf49a74
fix(ptc-runtime-node): validate Script evaluation and process lifecycle
2026-10-21 11:12:33 +08:00
_Kerman
94dae61fb5
fix(ptc-runtime-node): keep per-call binding waits pending when the host closes
...
Closing the control pipe after the result rejected outstanding birpc
calls; an unawaited binding promise then crashed the child and its trace
reached the result logs. Once the result is returned or the pipe closes,
binding calls now never settle, including those the closure rejects.
2026-10-21 10:30:31 +08:00
_Kerman
e82dddc45c
fix(ptc-runtime-node): correct Script await handling and guidance
2026-10-21 00:37:56 +08:00
_Kerman
c3473d1ea6
refactor(ptc-runtime-node): unify temporary and retained processes
2026-10-21 00:03:21 +08:00
_Kerman
399a74e808
refactor(ptc-runtime-node): simplify evaluator binding setup
2026-10-21 00:02:56 +08:00
_Kerman
36820a5462
refactor(ptc-runtime-node): share the fake child and fold result validation into the protocol
...
Move the identical in-memory child used by the per-call and persistent
host specs into tests/fake-child.ts, and move readProgramResult next to
the ProgramResult type it validates in protocol.ts.
2026-10-20 23:55:36 +08:00
_Kerman
7bab95f8da
refactor(ptc-runtime-node): rely on birpc defaults for message handling
...
Keep the stream side owned here: line bounds, the leading-brace check,
the write-queue limit and closure. On the birpc side, drop the strict
envelope validation, falsy-rejection normalization and fatal UTF-8
decoding. Calls to methods an endpoint does not own are answered with
birpc's error and unknown messages are ignored; the resolver still runs
only own methods and none after the endpoint closes.
2026-10-20 23:28:27 +08:00
_Kerman
7745b3b9da
feat(ptc-runtime-node): add VM Script execution with optional retained state
2026-10-20 23:16:30 +08:00