fantiu
41396426d0
Merge pull request #184 from fantiu/feat-rawapi
...
feat(api): add raw DingTalk OpenAPI command with dual-version token support
2026-04-27 21:14:15 +08:00
fantiu
6946929e0b
feat(api): add raw DingTalk OpenAPI command with dual-version token support
2026-04-27 20:54:57 +08:00
fantiu
4c44a2b632
Merge branch 'main' into feat-rawapi
2026-04-27 20:03:40 +08:00
fantiu
e06b1d68ff
feat: raw API update README.
2026-04-27 17:08:32 +08:00
fantiu
592749c986
feat: The token retrieval interface is now unified to one.
2026-04-27 15:11:12 +08:00
fantiu
9b6174e03e
feat(api): add raw DingTalk OpenAPI command with dual-version token support
2026-04-27 10:29:34 +08:00
fantiu
bb5e5a40d9
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-27 09:47:46 +08:00
fantiu
d71031d097
feat(api): add raw DingTalk OpenAPI command
2026-04-24 17:14:10 +08:00
fantiu
46192d68ba
feat(api):client logic fixed.
2026-04-24 17:04:09 +08:00
fantiu
eeb1782f7a
feat(api): add raw DingTalk OpenAPI command with dual-version token support
2026-04-24 16:40:13 +08:00
fantiu
3046ff8e77
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-24 16:10:50 +08:00
fantiu
a2908d2cbf
Merge branch 'main' of github.com:fantiu/dingtalk-workspace-cli into feat-rawapi
...
feat:unified login system
2026-04-23 15:38:46 +08:00
fantiu
2f935586c8
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-23 15:37:54 +08:00
fantiu
bfe0e310fe
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-22 18:59:04 +08:00
fantiu and github-actions[bot]
e0544579d2
fix(auth): attribute CLI auth denial to channel before user scope ( #144 )
...
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* fix(auth): attribute CLI auth denial to channel before user scope
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-22 12:05:30 +08:00
fantiu
fa1ab411e3
Merge branch 'main' of github.com:fantiu/dingtalk-workspace-cli into feat-security-hardening
...
fix(auth): attribute CLI auth denial to channel before user scope
2026-04-22 10:53:55 +08:00
fantiu
b247ef1266
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-22 10:53:34 +08:00
fantiu
c7ee0491b2
fix(auth): attribute CLI auth denial to channel before user scope
2026-04-22 10:39:03 +08:00
fantiu
9bedec7ed2
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-21 10:09:47 +08:00
fantiu
4f1ee37508
fix(auth): improve login UX for terminal auth denial cases
2026-04-17 10:20:35 +08:00
fantiu
fec0347cd6
feat(auth):improve login UX for terminal auth denial cases
2026-04-17 10:15:04 +08:00
fantiu
c99e228669
Merge remote-tracking branch 'upstream/main' into feat-claw
...
merge main commit
2026-04-16 19:59:19 +08:00
fantiu
95d495f290
feat: supports claw-like products.
2026-04-16 19:49:28 +08:00
fantiu
4bf300d862
Merge pull request #117 from wxianfeng/main
...
feat(skill): add skill install command with new download API and multi-agent target support
2026-04-16 14:58:35 +08:00
fantiu
05ac342c4b
Merge pull request #109 from wxianfeng/main
...
feat: add skill marketplace commands, configmeta registry, and auth JSON output
2026-04-15 12:02:54 +08:00
fantiu
83efff21cd
Merge pull request #102 from fantiu/feat-pipeline
...
feat: add unified config management, doctor diagnostics, and structured perf reports
2026-04-12 16:49:21 +08:00
fantiu
e6a4b35921
feat: upgrade perf tracing from debug tool to structured diagnostics
2026-04-12 15:14:57 +08:00
fantiu
cc2d97ddba
feat: add dws doctor command for one-stop diagnostics
2026-04-12 14:43:55 +08:00
fantiu
b78dd19cf9
feat: centralize scattered configs and add dws config list
2026-04-12 14:23:11 +08:00
fantiu
1f0a75f836
Merge branch 'main' of github.com:fantiu/dingtalk-workspace-cli into feat-pipeline
...
refactor: extend command execution pipeline from 3 to 5 stages
2026-04-12 13:49:38 +08:00
fantiu
16202c83a3
refactor: extend command execution pipeline from 3 to 5 stages
2026-04-12 13:48:39 +08:00
fantiu
810985b03a
Merge pull request #101 from wxianfeng/main
...
feat(errors): add ExitCoder/RawStderrError interfaces and ClassifyToolResult hook
2026-04-12 11:29:14 +08:00
fantiu
f1d160a481
Merge pull request #100 from wxianfeng/main
...
feat(auth): delegate token persistence to edition hooks with keychain fallback
2026-04-12 10:19:48 +08:00
fantiu
9dc8dc7065
Merge pull request #99 from wxianfeng/main
...
feat(auth): add edition overlay auth credentials and token marker for embedded mode
2026-04-10 17:11:49 +08:00
fantiu
143f781064
Merge pull request #97 from wxianfeng/main
...
feat(skill): restore legacy skill find/get and improve root help
2026-04-10 10:54:48 +08:00
fantiu
70e21b58b4
Merge pull request #96 from wxianfeng/main
...
feat(auth): unify token resolution and add edition lifecycle hooks for overlay transports
2026-04-09 11:16:10 +08:00
fantiu
afdd47b5a5
Merge pull request #81 from fantiu/feat-cmd-performance
...
perf: optimize command timeout handling, instrumentation, and diagnostics
2026-04-03 19:52:42 +08:00
fantiu
d968e8e551
perf: optimize command timeout handling, instrumentation, and diagnostics
2026-04-03 18:03:28 +08:00
fantiu
c649d1a762
Merge branch 'main' of github.com:fantiu/dingtalk-workspace-cli into feat-cmd-performance
...
perf: optimize command timeout handling, instrumentation, and diagnostics
2026-04-03 18:02:33 +08:00
fantiu
a1f5d97345
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-03 18:01:52 +08:00
fantiu
c8e3ac21c2
Merge pull request #76 from DingTalk-Real-AI/npm
...
docs: add npm install method to README
2026-04-03 09:17:55 +08:00
fantiu
1a0a5324f0
docs: note upgrade command requires v1.0.7+
2026-04-02 20:06:55 +08:00
fantiu
57c93243a0
Merge pull request #75 from fantiu/feat-login-upgrade
...
feat: add self-upgrade command with GitHub Releases, atomic flow, and cross-platform support
2026-04-02 17:00:42 +08:00
fantiu
4259336e6d
style: gofmt formatting for upgrade files
2026-04-02 16:48:06 +08:00
fantiu
a18ce2e54d
feat: add self-upgrade command with GitHub Releases, atomic flow, and cross-platform support
2026-04-02 16:34:51 +08:00
fantiu
a0dc5d6183
Merge branch 'main' of github.com:fantiu/dingtalk-workspace-cli into feat-login-upgrade
...
feat: add upgrade command.
2026-04-02 15:44:49 +08:00
fantiu
5149f6808f
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-02 15:43:07 +08:00
fantiu
3da572a76a
Merge remote-tracking branch 'origin/main' into feat-login-upgrade
2026-04-02 11:47:58 +08:00
fantiu
fe5952fe14
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-02 11:30:30 +08:00
fantiu
7c4932154c
fix:auth check test file gofmt.
2026-04-02 11:20:06 +08:00
fantiu
e2dbaa7c78
feat(auth): unify MCP retry constant and add retry to remaining endpoints
2026-04-02 11:10:49 +08:00
fantiu
11a0dbc84a
feat(auth): unify MCP retry constant and add retry to remaining endpoints
2026-04-02 10:55:51 +08:00
fantiu
ee441643dd
fix(auth): switch CLI auth check from fail-open to fail-closed
...
Previously, when the /cli/cliAuthEnabled API was unreachable (network
error, timeout, 5xx, etc.), both OAuth and Device Flow login modes
silently assumed CLI access was enabled (fail-open). This allowed users
to "successfully" log in even when their organization had not granted
CLI data access, leading to confusing failures on subsequent API calls.
Changes:
- Reverse the check logic in OAuth callback: treat any error as
"not enabled" instead of "enabled", showing the permission request
page so users can take action.
- Block login in Device Flow when the check fails, with a clear
error message asking users to verify network connectivity.
- Add retry with backoff (3 attempts, 0s/1s/2s) to
CheckCLIAuthEnabled to tolerate transient network issues.
- Add retry with backoff (3 attempts) to FetchClientIDFromMCP
(/cli/clientId) for the same transient-error resilience.
- Add i18n entries (en/zh) for new error messages.
- Add 19 tests covering server error, connection refused, malformed
JSON, timeout, transient-then-recovery, business error, and full
Device Flow loginOnce integration scenarios for both endpoints.
Made-with: Cursor
2026-04-02 10:55:51 +08:00
fantiu
c8148ef2cc
Merge pull request #71 from wxianfeng/feature/wk_merge
...
Feature/wk merge
2026-04-02 10:22:49 +08:00
fantiu
b89740bad6
feat: add self-upgrade command with GitHub Releases as data source
2026-04-01 21:26:01 +08:00
fantiu
0489cd67c8
Merge pull request #70 from DingTalk-Real-AI/feat-css
...
style(auth): redesign OAuth authorization pages UI
2026-04-01 20:38:00 +08:00
fantiu
15d495e56e
style(auth): redesign OAuth authorization pages UI
2026-04-01 20:21:05 +08:00
fantiu
c650afa6eb
Merge pull request #66 from DingTalk-Real-AI/feat-performance
...
feat(auth): fail-fast for unauthenticated requests before MCP call
2026-04-01 15:53:28 +08:00
fantiu
14f558facf
feat(auth): fail-fast for unauthenticated requests before MCP call
...
- Add token validation in executeInvocation to reject requests early
- Return clear Chinese error message: '未登录,请先执行 dws auth login'
- Include actionable hint and suggested command in error response
- Avoid wasting network resources on HTTP 400 from MCP gateway
Also includes:
- Add DWS_PERF_TIMING env for CLI execution timing analysis
- Add TimingCollector to track cmd_init, auth_token, mcp_call durations
Test changes:
- Add --token flag to tests that require authentication
- Add TestRuntimeRunnerRejectsUnauthenticatedRequest test case
2026-04-01 15:48:23 +08:00
fantiu
f732dcd2ba
Merge pull request #64 from DingTalk-Real-AI/feat-auth-improvement
...
fix(auth): prevent auth code expiration error on OAuth callback page …
2026-04-01 14:54:30 +08:00
fantiu
8406355e7f
fix(auth): prevent auth code expiration error on OAuth callback page refresh
2026-04-01 14:48:58 +08:00
fantiu
35548e4780
Merge pull request #62 from DingTalk-Real-AI/feat-login-optimization
...
feat(auth): persist OAuth credentials for reliable token refresh
2026-04-01 11:05:47 +08:00
fantiu
2a056cc5d0
feat(auth): persist OAuth credentials for reliable token refresh
2026-04-01 11:03:08 +08:00
fantiu
7dbef98dd0
Merge pull request #58 from fantiu/feat-login-upgrade
...
Feat login upgrade
2026-04-01 00:53:52 +08:00
fantiu
773804ee80
feat(auth): enhance device flow with CLI auth check and admin guidance
2026-04-01 00:47:49 +08:00
fantiu
1df56cc99b
Merge branch 'DingTalk-Real-AI:main' into main
2026-03-31 21:06:17 +08:00