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
f3ed11c1a3
fix(ptc): preserve inspection across array changes and images
2026-11-13 18:41:03 +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
5fd443618f
fix(ptc): preserve raw text and cross-realm image inspection
2026-11-10 16:07:14 +08:00
_Kerman
0a398c2968
refactor(ptc): require image dependencies for inspect
2026-11-10 14:40:31 +08:00
_Kerman
0191dbb0cf
refactor(ptc): collect nested images through custom inspection
2026-11-10 13:38:43 +08:00
_Kerman
5d0106771e
fix(ptc): render inspected values with Node object formatting
2026-11-10 11:58:10 +08:00
_Kerman
2bedbf2f2b
fix(ptc): align JSON inspection tests and failure handling
2026-11-10 10:45:41 +08:00
_Kerman
4e976ee9a9
fix(ptc-runtime): retain inspected output across proxy and limit cases
2026-11-09 21:42:29 +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
_Kerman
724e56b286
feat(ptc): unify explicit text and image inspection
2026-11-09 15:06:09 +08:00
_Kerman
ac0816e573
refactor(ptc-runtime-node): centralize cross-realm exception formatting
2026-10-21 16:47:08 +08:00
_Kerman
4b06d5bf80
refactor(ptc-runtime-node): remove unused bootstrap paths
2026-10-21 16:00:30 +08:00
_Kerman
6085b6fb62
Merge latest master into xtr/ptc-vm-script
2026-10-21 15:12:47 +08:00
_Kerman
86fcf49a74
fix(ptc-runtime-node): validate Script evaluation and process lifecycle
2026-10-21 11:12:33 +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