Commit Graph
7 Commits
Author SHA1 Message Date
Shaojin WenandQwen-Coder f5beafbdd6 chore(sdk-java): bump fastjson2 to 2.0.65 (#12465)
Co-authored-by: Qwen-Coder <[email protected]>
2026-09-22 11:45:31 +00:00
8b72f4d456 fix(java): make SDK worker threads daemon (#9925)
* fix(java): make SDK worker threads daemon

Use daemon threads for the Java SDK default executors so background helper pools do not keep example or short-lived JVM processes alive after work completes.

Co-Authored-By: Claude Sonnet 4.6 [email protected]

* fix(java): document and test daemon pool lifecycle

Keep examples and docs aligned with daemon executors, and ensure the client module actually discovers its JUnit 5 regression test.

Co-Authored-By: Claude Sonnet 4.6 [email protected]

* fix(java): reuse the custom example executor

Co-Authored-By: Claude Sonnet 4.6 [email protected]

* test(java): isolate SDK integration cases

Co-Authored-By: Claude Sonnet 4.6 [email protected]

---------

Co-authored-by: zhangyu.34 <[email protected]>
2026-09-01 18:06:25 +00:00
chinesepowered 810bd804d9 fix(sdk-java): correct TIMEOUT_30_MINUTES to 30 minutes (#7188)
The constant was defined as new Timeout(60L, TimeUnit.MINUTES) in both
the client and qwencode modules, i.e. 60 minutes, contradicting its name
and Javadoc ("A timeout of 30 minutes."). It is the fallback turn timeout
in ProcessTransport and the timeout used by QwenCodeCli.simpleQuery, so
callers waited twice the documented default. The 30-minute intent is
corroborated by TransportOptionsAdapter.DEFAULT_TURN_TIMEOUT (30 min).
Change the literal to 30L in both modules.
2026-07-18 22:36:22 +00:00
chinesepowered 566178e291 fix(sdk-java): preserve exception cause in AcpClient init failures (#7189)
The two catch blocks in AcpClient's constructor threw a new
AgentInitializeException with only a message, discarding the caught
IOException/ExecutionException/InterruptedException/TimeoutException.
AgentInitializeException already has a (String, Throwable) constructor,
so pass the caught exception as the cause to keep the root failure and
its stack trace in the exception chain.
2026-07-18 22:34:44 +00:00
jinyeandQwen-Coder a234860a4a fix(core): Align MCP OAuth guidance and docs (#5589)
* docs: Align docs with current CLI behavior

Update stale documentation and user-facing MCP OAuth guidance to match the current dialog-based flows, SDK permission semantics, current links, and Qwen OAuth status.

Also replace Ink internal imports with public Ink APIs for the shared text input so the workspace builds against Ink 7.

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: fix BaseTextInput Ink import (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* codex: address PR review feedback (#5589)

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): surface MCP OAuth credential read failures

Fix SSE OAuth credential pre-check failures by reporting token storage read errors before connecting.

Update SDK coreTools docs and extension release link text from the follow-up review.

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): harden MCP OAuth error handling

Handle stderr warning failures as best-effort and keep SSE 401 OAuth guidance when credential re-read fails.

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): keep SSE OAuth pre-read best effort

Avoid blocking SSE MCP connections when the diagnostic credential pre-read fails, and cover BaseTextInput absolute-position edge cases.

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): handle SSE OAuth validation errors

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): surface MCP OAuth recovery guidance

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): cover MCP OAuth retry paths

Co-authored-by: Qwen-Coder <[email protected]>

* fix(core): address OAuth guidance review

Co-authored-by: Qwen-Coder <[email protected]>

---------

Co-authored-by: Qwen-Coder <[email protected]>
2026-06-24 07:09:53 +08:00
tanzhenxinandQwen-Coder a4ffc6eb24 feat: promote Agent Skills from experimental to stable
Co-authored-by: Qwen-Coder <[email protected]>
2026-02-06 13:04:08 +08:00
skyfire 0128f65fe8 refactor structure 2026-02-04 18:38:38 +08:00