Dudu-0223
98dce25aad
fix(ptc): guard output suppression during teardown
2026-11-17 13:46:07 +08:00
Dudu-0223
08e5a9b059
Merge remote-tracking branch 'origin/master' into fix/cua-output-failures
...
# Conflicts:
# apps/cli/tests/profiles/cua-mcp/expected/tools.json
# packages/core/tool-executor-ptc/README.i18n.yaml
# packages/ptc-runtime/ptc-runtime-node/README.i18n.yaml
# packages/ptc-runtime/ptc-runtime-node/README.md
# packages/ptc-runtime/ptc-runtime-node/README.zh.md
# packages/ptc-runtime/ptc-runtime-node/src/bootstrap.ts
# packages/ptc-runtime/ptc-runtime-node/src/process.ts
# packages/ptc-runtime/ptc-runtime-node/src/protocol.ts
# packages/ptc-runtime/ptc-runtime-node/tests/bootstrap.spec.ts
# snapshots/sdk/cua-run-code/tool-schemas.expected.json
# snapshots/session/cua-run-code-ptc/system-prompt.expected.md
# snapshots/session/cua-run-code-scoped/tool-schemas.expected.json
# snapshots/session/cua-run-code/tool-schemas.expected.json
# snapshots/session/ptc-persistent-scoped/tool-schemas.expected.json
# snapshots/session/ptc-persistent/tool-schemas.expected.json
# snapshots/session/ptc-reset/tool-schemas.expected.json
# snapshots/session/ptc-scoped-repl/tool-schemas.expected.json
# snapshots/session/ptc-timeout-fallback/tool-schemas.expected.json
2026-11-16 12:43:20 +08:00
turtle1999
500dcf94be
feat(ptc): inspect tool results with their rendered text
2026-11-13 17:21:11 +08:00
Dudu-0223
dfc7dbf648
fix(ptc): truncate output without interrupting execution
2026-11-13 15:39:03 +08:00
_Kerman
86984d8358
Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output
2026-11-10 14:24:26 +08:00
turtle1999
26427a26e1
refactor(ptc): initialize each environment through a registered hook
2026-11-09 22:19:35 +08:00
_Kerman
e1f0a36193
fix(ptc): preserve native console methods
2026-11-09 18:17:19 +08:00
_Kerman
1fed265b3b
fix(ptc): bound binary inspection and preserve failure output
2026-11-09 17:19:48 +08:00
turtle1999
b9966a12a6
feat(cua): expose persistent code tool outside PTC mode
2026-11-09 15:53:22 +08:00
_Kerman
724e56b286
feat(ptc): unify explicit text and image inspection
2026-11-09 15:06:09 +08:00
_Kerman
a2c69f36f7
fix(ptc): bump bootstrap output protocol revision
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
_Kerman
5cf9348314
refactor(ptc-runtime-node): reuse sequential RPC evaluation lifecycle
2026-10-30 20:55:23 +08:00
_Kerman
964231856d
refactor(ptc): reuse run completion for cooperative stop
2026-10-30 17:00:42 +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
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
c3473d1ea6
refactor(ptc-runtime-node): unify temporary and retained processes
2026-10-21 00:03:21 +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
7745b3b9da
feat(ptc-runtime-node): add VM Script execution with optional retained state
2026-10-20 23:16:30 +08:00
_Kerman
82b23cf4d2
refactor(ptc-runtime-node): drop evaluation ids from the control protocol
...
One pipe delivers each evaluation's messages before its result, and the
child refuses calls from finished evaluations, so the per-message
evaluation id protected nothing. Remove it with the checks, counters and
helpers it required, measure outgoing messages only when posting, and
replace rethrowing validation blocks with early refusals.
2026-10-20 15:15:04 +08:00
_Kerman
534aafce7a
refactor(ptc-runtime-node): carry the process control channel over birpc
...
Replace the length-prefixed JsonChannel and hand-written request/reply
correlation with typed birpc methods over newline-delimited JSON. The
host calls the child's run(); bindings call the host's invoke(); logs
and output-limit reports are notifications. The transport bounds
incoming lines and queued writes, validates UTF-8 and exposed methods,
and rejects outstanding calls when the pipe closes.
Drop logic made obsolete by the new transport, including the 32-bit
frame-length bound on maxMessageBytes.
2026-10-20 14:50:05 +08:00
Tianyi Cui
7c9bb5914c
refactor(ptc): align runtime packages and services with PTC naming
2026-09-12 15:03:04 +08:00