sjw1231
75f5b13132
Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
...
# Conflicts:
# docs/persistence-schema.json
2026-11-11 17:06:13 +08:00
imccyu
5e7206f6c6
refactor(exports): retire obsolete subpaths with compatible brand APIs ( #8215 )
...
* refactor(exports): consolidate type entries and remove obsolete subpaths
* fix(exports): preserve constructors while retiring brand subpaths
* fix(exports): retain guide relocation after parent squash
2026-11-11 08:39:14 +00:00
sjw1231
c670457442
Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
2026-11-11 16:25:44 +08:00
sjw1231
e5611f8281
Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
...
# Conflicts:
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/module-graph.md
# docs/module-graph.zh.md
# packages/boot/plugin-market/tests/tools.spec.ts
# packages/mcp/mcp-client/tests/mcp-client.spec.ts
# pnpm-lock.yaml
2026-11-11 15:51:19 +08:00
_Kerman
f141464b59
docs(ptc): clarify remaining extension support and migration
2026-11-11 15:37:46 +08:00
imccyu
455f7a38a6
Merge pull request #8214 from deepseek-harness/split-exports-brand-strings
...
refactor(brand): migrate internal identity construction
2026-11-11 15:15:26 +08:00
sjw1231
32bbcb9997
Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
...
# Conflicts:
# docs/module-graph.md
# docs/module-graph.zh.md
# packages/core/tool-executor-ptc/README.i18n.yaml
# packages/core/tool-executor-ptc/src/errors.ts
# packages/core/tool-executor-ptc/src/ptc.ts
# packages/ptc-runtime/ptc-runtime-node/src/bindings.ts
# packages/ptc-runtime/ptc-runtime-node/src/execution.ts
# packages/ptc-runtime/ptc-runtime-node/src/index.ts
# packages/ptc-runtime/ptc-runtime/package.json
# packages/ptc-runtime/ptc-runtime/tsconfig.json
# packages/util/atomic-write/package.json
# pnpm-lock.yaml
2026-11-11 11:48:52 +08:00
imccyu
4e205cd66d
Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
...
# Conflicts:
# packages/experimental/cua-bundle/package.json
# packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu
91319233e1
release(dsh): 0.2.2-rc.2
2026-11-11 10:18:52 +08:00
imccyu
17d96e0f6d
refactor(exports): internalize test helpers and type fixtures
2026-11-11 07:32:55 +08:00
imccyu
37e0924f68
Merge pull request #8257 from deepseek-harness/ptc-scoped-repl-switch
...
feat(ptc): run the scoped REPL by default for persistent-in-memory execution
2026-11-10 22:34:59 +08:00
_Kerman
f775b74795
fix(ptc): preserve line breaks before sandbox diagnostics
2026-11-10 17:02:36 +08:00
_Kerman
5fd443618f
fix(ptc): preserve raw text and cross-realm image inspection
2026-11-10 16:07:14 +08:00
_Kerman
86984d8358
Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output
2026-11-10 14:24:26 +08:00
_Kerman
dad69a4636
docs(ptc): mark tool-specific output type adaptation
2026-11-10 12:17:50 +08:00
_Kerman
93ecacdb42
refactor(ptc): simplify inspect output instructions
2026-11-10 12:07:25 +08:00
_Kerman
cfc366a869
docs(ptc): keep known limitations in a compact list
2026-11-10 11:43:33 +08:00
_Kerman
2bedbf2f2b
fix(ptc): align JSON inspection tests and failure handling
2026-11-10 10:45:41 +08:00
_Kerman
b877eb6118
fix(ptc): render inspected values as lossless JSON
2026-11-09 23:45:27 +08:00
turtle1999
26427a26e1
refactor(ptc): initialize each environment through a registered hook
2026-11-09 22:19:35 +08:00
_Kerman
5bcee95efe
fix(ptc): preserve automatic images for unadapted tools
2026-11-09 21:46:06 +08:00
_Kerman
fc251c7b4a
fix(ptc): explain image omissions and align program guidance
2026-11-09 21:42:30 +08:00
_Kerman
69528e4e88
fix(ptc): preserve outer failure replacements when projecting images
2026-11-09 20:04:17 +08:00
_Kerman
069ba921dc
docs(ptc): mark tool-owned image adaptation follow-up
2026-11-09 20:03:58 +08:00
_Kerman
9f8fd9d800
test(ptc): cover image output policies and explicit recovery
2026-11-09 19:17:05 +08:00
_Kerman
e1f0a36193
fix(ptc): preserve native console methods
2026-11-09 18:17:19 +08:00
_Kerman
a2ea3970fd
refactor(ptc): return ordered text and image output
2026-11-09 17:44:12 +08:00
_Kerman
4f6ccd772d
docs(ptc): shorten explicit output guidance
2026-11-09 17:19:55 +08:00
_Kerman
1fed265b3b
fix(ptc): bound binary inspection and preserve failure output
2026-11-09 17:19:48 +08:00
sjw1231
688e7243e2
fix(ptc,extensions): keep distinct failures that settle after cancellation
...
run_code and host inspect queries no longer replace a runtime or
provider rejection with the cancellation reason: the cancellation itself
passes through for the registry to classify as ABORTED, a HarnessError
keeps its code, and any other rejection is still wrapped. Dynamic plugin
tools apply the same rule, survive Proxy values whose traps throw, and
read clone failure messages with toolErrorMessage. tool-executor-ptc
exports CodeRunErrorCode.
Refs #7869
2026-11-09 16:30:37 +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
turtle1999
b9966a12a6
feat(cua): expose persistent code tool outside PTC mode
2026-11-09 15:53:22 +08:00
sjw1231
6b3023d888
feat(ptc): give run_code and PTC runtime failures error codes
...
run_code argument checks now throw ToolArgsError (INVALID_ARGS),
including timeoutMs or sandbox_permissions passed to a runtime whose
schema does not expose them; a missing runtime, workingDirectory, or
sandboxPolicy throws ToolContextUnavailableError. CodeRunFailedError
gains CODE_RUN_UNAVAILABLE after executor disposal, keeping
CODE_RUN_FAILED as the default. A runtime
rejection without its own code becomes CODE_RUN_FAILED with the
rejection as cause; caller cancellation keeps the signal's reason.
The PTC runtime Service Definition adds PtcRuntimeError for contract
misuse: PTC_RUNTIME_INVALID_ARGUMENT, PTC_RUNTIME_UNAVAILABLE, and
PTC_RUNTIME_CONFLICT. The Node runtime throws it for invalid specs and
bindings, use after disposal, incomplete retained cleanup, concurrent
runs for one owner, and a retained environment under another sandbox
policy. dsh-ptc-runtime now declares @deepseek-ai/dsh-error.
Refs #7869
2026-11-09 15:14:31 +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
c1783e9dff
feat(ptc): select program output with Harness.inspect
2026-11-09 12:00:07 +08:00
liukx0205
7f6b7ba4b6
refactor(session): narrow batch publication metadata and validation
2026-11-07 17:02:19 +08:00
liukx0205
e767bef144
test(session): type the canonical batch append adapter
2026-11-07 17:02:19 +08:00
liukx0205
1e7f265cfd
fix(session): complete batch API review coverage and declarations
2026-11-07 17:02:19 +08:00
liukx0205
e00af4f994
test(session): cover lazy surface reads before a batch
2026-11-07 17:02:19 +08:00
liukx0205
143fabbc34
fix(session): share live append validation and expose batch publication
2026-11-07 17:02:19 +08:00
liukx0205
876c4a4f78
test(session): bind the append overload wrapper
2026-11-07 17:02:19 +08:00
liukx0205
9d18b68095
fix(session): assign batch sequences after payload snapshots
2026-11-07 17:02:19 +08:00
liukx0205
92f6142abd
fix(session): read sparse members through an optional index
2026-11-07 17:02:19 +08:00
liukx0205
5e77db2d5c
fix(session): reject sparse appends and isolate surface options
2026-11-07 17:02:19 +08:00
liukx0205
b3d570cdf8
feat(session): accept positional event tuples for batch append
2026-11-07 17:02:19 +08:00
liukx0205
748c53b865
feat(session): accept single event objects through append
2026-11-07 17:02:19 +08:00
liukx0205
b5969f9e8d
feat(session): accept multiple events through append
2026-11-07 17:02:19 +08:00
liukx0205
dd54a745a6
refactor(agent): require lifetime signal and cover teardown wakes
2026-11-07 00:01:49 +08:00