修雨
fab9e5be52
Merge remote-tracking branch 'upstream/main' into feat/dws-devapp
...
# Conflicts:
# CHANGELOG.md
2026-06-24 22:32:25 +08:00
修雨
9a8157a4cd
ci(mirror): auto-push code to Gitee via HTTPS token (no SSH key) ( #493 )
...
Rewrite mirror-to-gitee.yml to push main + tags to the Gitee mirror using
HTTPS + GITEE_TOKEN (reusing the existing secret) instead of hub-mirror-action
+ an SSH key. Gated on GITEE_TOKEN; needs GITEE_USER + GITEE_REPO secrets.
Keeps Gitee code/raw in sync automatically on every push to main + tags, so
no more manual git push after each release.
2026-06-24 22:26:47 +08:00
修雨
f522a9c2c2
Merge upstream/main into feat/dws-devapp
...
Sync with DingTalk-Real-AI/main (1.0.35–1.0.40):
- 1.0.35–1.0.39: chat @-mentions, sheet export, doc strip unsafe chars,
PAT batch grants, devdoc RAG, agent_code detection, AI-tag opt-in
- 1.0.40 (#486 ): China mirror via Gitee + npmmirror
- (#488 ) embed skills/ into binary
- (#464 ) strip duplicate H1 on JSONML doc-create
# Conflicts:
# .github/workflows/release.yml
# CHANGELOG.md
# README.md
# README_zh.md
# docs/command-index.md
# internal/app/runner.go
# internal/app/runner_test.go
# internal/auth/channel.go
# internal/helpers/devdoc.go
# internal/helpers/devdoc_test.go
# internal/pat/chmod.go
# internal/pat/chmod_test.go
# internal/pat/pat.go
# internal/transport/client.go
# scripts/install-skills.sh
# scripts/install.ps1
# scripts/install.sh
# skills/mono/references/products/devdoc.md
# skills/mono/references/products/simple.md
# skills/multi/dingtalk-devdoc/references/devdoc.md
# skills/multi/dingtalk-skill/references/skill.md
# test/cli_compat/devdoc_test.go
# test/cli_compat/helpers_test.go
# test/skill_tests.md
# test/skill_tests_results.md
# test/unit/pat_host_owned_signal_test.go
2026-06-24 20:15:53 +08:00
修雨
9fa76f8598
docs: cut 1.0.40 changelog + fix gitee mirror gate ( #489 )
...
- CHANGELOG: 1.0.40 (China mirror via Gitee + npmmirror, #486 )
- mirror-to-gitee.yml: gate on GITEE_PRIVATE_KEY so it skips cleanly when the
SSH key is unset (code mirror handled by Gitee-side pull-mirror) instead of
failing the run.
2026-06-24 17:55:35 +08:00
修雨
ed1cbd6f06
feat(install): China mirror via Gitee + npmmirror ( #486 )
...
国内安装加速:DWS_GITEE_REPO 开关从 Gitee 解析下载脚本/二进制/skill(默认仍 GitHub,向后兼容);release.yml 发版后 CI 自动镜像 release 附件到 Gitee;README 加国内安装说明。Approved-by: wxianfeng.
2026-06-24 17:14:40 +08:00
修雨
430d20f2ee
ci(release): auto-sync release artifacts to China OSS mirror
...
Add scripts/release/sync-to-oss.sh and wire it into release.yml. After
the GitHub release, artifacts (binaries, checksums, dws-skills.zip) plus
the install scripts are pushed to an OSS bucket in the
<base>/<version>/<file> layout the install.sh DWS_RELEASE_BASE switch
expects, with a latest.txt pointer.
Gated on OSS_* repo secrets: skips cleanly when unset, so forks without
the secrets keep releasing to GitHub only.
2026-06-24 11:43:06 +08:00
qinze and Claude Opus 4.8
0e59fedbbb
ci: dev 分支 push 自动出预览 release(测试通过才发)
...
- 新增 auto-dev-release.yml: push feat/dws-devapp → 跑 build+test →
通过则自增 dev 版本号、打 tag、自包含发 release(不靠 tag 触发 release.yml,
绕开 GITHUB_TOKEN 不触发的限制); 不含 npm 步骤天然绿; concurrency 串行防撞号
- release.yml: npm publish 加 owner 条件, fork 跳过避免红叉
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-23 09:36:42 +08:00
539d10f80f
feat: 合并 pre-mcp-discovery 分支能力到 main(服务发现保持生产) ( #391 )
...
将 test/pre-mcp-discovery 分支上多位同学的能力改动整体合入 main,
服务发现端点保持生产 https://mcp.dingtalk.com,未携带分支上的预发改动 。
主要内容:
- 修雨域(chat / report / todo / contact / mail)对齐 wukong 基线 (#355 )
- DWS 内容生产能力增强 (#387 )、文档导出与 OA 对齐 (#362 #388 #390 )
- envelope 注册 cli.Aliases 为 cobra aliases、命令结构与 JSON 解析优化
- skills 多包同步 wukong 对齐内容(attendance/calendar/minutes/oa/sheet 等)
- product/oa 进一步对齐 wukong
排除项:未携带 566b4e1(test: point service discovery to pre-mcp.dingtalk.com);
以下 4 个常量保持生产:skill_command.go / auth/endpoints.go / cli/loader.go / market/registry.go。
Co-authored-by: john <32427341+wqyenjoy@users.noreply.github.com >
Co-authored-by: wxianfeng <wang.fl1429@gmail.com >
2026-06-02 21:04:12 +08:00
56a5edecef
feat(pat): support batch chmod authorization flows ( #389 )
...
* feat(pat): support batch chmod flows
* feat: use server default agentCode for chmod
* feat: surface tool auth metadata
* feat: infer product grant auth metadata
* chore: update coverage badge [skip ci]
* feat(pat): summarize chmod output by default
* chore: update coverage badge [skip ci]
* fix(pat): preserve batch session metadata
* fix(pat): align dry-run session and schema docs
* chore(config): use public example MCP override URL
* fix(pat): align chmod session env handling
---------
Co-authored-by: shangguanxuan.sgx <shangguanxuan.sgx@alibaba-inc.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-02 20:54:55 +08:00
github-actions[bot]
b5f241c719
chore: update coverage badge [skip ci]
2026-05-28 04:16:11 +00:00
github-actions[bot]
1063a6425d
chore: update coverage badge [skip ci]
2026-05-25 06:15:24 +00:00
wxianfeng
0a8517432f
Merge remote-tracking branch 'origin/main'
2026-05-25 14:12:18 +08:00
github-actions[bot]
9e58a062f8
chore: update coverage badge [skip ci]
2026-05-25 06:06:21 +00:00
修雨
bd711108f9
fix(upgrade): ad-hoc sign darwin binaries to fix amfid SIGKILL on Apple Silicon ( #339 )
...
GoReleaser cross-compiles darwin/arm64 binaries on ubuntu-latest with no
codesign step. macOS 11+ on Apple Silicon requires at least an ad-hoc
signature; unsigned arm64 binaries are SIGKILL'd by amfid on first exec,
which surfaces as `signal: killed` and aborts `dws upgrade` at the
"解压并验证" step.
Two layers of fix:
1. Release-side: post-goreleaser.sh now unpacks each dws-darwin-*.tar.gz,
applies an ad-hoc signature (codesign locally, rcodesign in CI),
deterministically repacks, and rewrites the matching line in
checksums.txt. release.yml installs rcodesign 0.27.0 before
GoReleaser runs.
2. Client-side self-heal: validateNewBinary detects `signal: killed` on
darwin and retries once after running `codesign --force --sign -` and
clearing com.apple.quarantine. Future releases stay functional even
if the signing step is ever skipped.
Verified end-to-end: stripped a real dws binary → exec exits 137 →
validateNewBinary recovers → final binary shows Signature=adhoc and runs.
2026-05-21 22:45:22 +08:00
修雨
9e15115ad4
ci(release): add workflow_dispatch trigger as fallback ( #261 )
...
GitHub occasionally drops tag push events; this adds a manual trigger
so we can re-run the release job against any tag ref without having to
delete and re-push the tag.
2026-05-11 09:53:23 +08:00
xianfeng wang and github-actions[bot]
c515fc1001
1.0.19 CHANGELOG ( #204 )
...
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* 1.0.19 changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-30 14:36:58 +08:00
xianfeng wang and github-actions[bot]
7692048cf4
fix(discovery): surface edition supplement/fallback servers in runtime catalog loader ( #197 )
...
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* fix conference discovery
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-30 09:44:25 +08:00
fantiu
4c44a2b632
Merge branch 'main' into feat-rawapi
2026-04-27 20:03:40 +08:00
xianfeng wang and github-actions[bot]
acc5dc8a3c
feat(plugins): register stdio plugin commands from CLI overlay before discovery ( #179 )
...
* chore: update coverage badge [skip ci]
* chore: update coverage badge [skip ci]
* plugin in help
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-27 16:20:35 +08:00
github-actions[bot]
f73fa08e49
chore: update coverage badge [skip ci]
2026-04-27 01:49:47 +00:00
github-actions[bot]
4d0e194861
chore: update coverage badge [skip ci]
2026-04-24 08:12:55 +00:00
github-actions[bot]
89c6b737c0
chore: update coverage badge [skip ci]
2026-04-22 11:00:58 +00: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
github-actions[bot]
d06aa618e5
chore: update coverage badge [skip ci]
2026-04-21 02:11:48 +00:00
github-actions[bot]
0bc5345cf5
chore: update coverage badge [skip ci]
2026-04-20 02:24:45 +00:00
github-actions[bot]
1a1fc531f5
chore: update coverage badge [skip ci]
2026-04-16 06:56:02 +00:00
github-actions[bot]
fae2a4f5f0
chore: update coverage badge [skip ci]
2026-04-16 02:55:54 +00:00
github-actions[bot]
9f78e51ae7
chore: update coverage badge [skip ci]
2026-04-16 02:00:01 +00:00
github-actions[bot]
f1b68271cc
chore: update coverage badge [skip ci]
2026-04-13 09:37:28 +00:00
github-actions[bot]
45618a55e6
chore: update coverage badge [skip ci]
2026-04-10 15:36:12 +00:00
github-actions[bot]
953b422295
chore: update coverage badge [skip ci]
2026-04-10 02:49:49 +00:00
github-actions[bot]
df3122090f
chore: update coverage badge [skip ci]
2026-04-09 09:18:24 +00:00
github-actions[bot]
18ebba1bb2
chore: update coverage badge [skip ci]
2026-04-09 03:04:03 +00:00
fantiu
a1f5d97345
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-03 18:01:52 +08:00
meng93
5614b508f2
feat: to #73551688 优化标签在多维表中的展示
2026-04-03 10:41:49 +08:00
github-actions[bot]
c1e9e9e0d6
chore: update coverage badge [skip ci]
2026-04-02 09:03:29 +00:00
fantiu
5149f6808f
Merge branch 'DingTalk-Real-AI:main' into main
2026-04-02 15:43:07 +08:00
meng93
95cbde9187
Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli into feat/issue-label
2026-04-02 14:48:42 +08:00
meng93
5e194393ff
feat: to #73551688 支持上报用例集标签
2026-04-02 14:48:02 +08:00
github-actions[bot]
a116cba8ba
chore: update coverage badge [skip ci]
2026-04-02 03:32:07 +00:00
github-actions[bot]
4c5affba99
chore: update coverage badge [skip ci]
2026-04-02 02:44:56 +00:00
xianfeng wang
5c0d2b274c
Merge branch 'DingTalk-Real-AI:main' into feature/wk_merge
2026-04-01 21:05:35 +08:00
tianlei.qjb
e976bd5fc9
- release.yml: add DWS_PACKAGE_VERSION=${{ github.ref_name }}
2026-04-01 17:04:34 +08:00
tianlei.qjb
b1b4730536
refactor: unify version management - Git tag as SSOT
2026-04-01 15:05:31 +08:00
wxianfeng
933615003c
merge upstream main
2026-04-01 09:53:18 +08:00
fantiu
1df56cc99b
Merge branch 'DingTalk-Real-AI:main' into main
2026-03-31 21:06:17 +08:00
meng93
dda4dacb1c
feat: to #73551688 支持消息通知
2026-03-31 17:38:08 +08:00
wxianfeng
93d6fdb17e
feat: edition layer for Wukong overlay; promote shared code to pkg/
...
Introduce a build-time edition hook so downstream overlays (e.g. Wukong)
can customize auth UX, config dir, static server list, visible products,
and extra root commands while keeping the default open-source behavior.
- Add pkg/edition (defaults) and pkg/editiontest contract tests; Makefile
target edition-test; CI job edition-tests.
- Root: optional RegisterExtraCommands with tool caller adapter; inject
static servers to skip market discovery when configured; deduplicate
top-level commands so overlay wins; extend hideNonDirectRuntimeCommands
with edition VisibleProducts and static commands (recovery/schema/mcp).
- Auth/config: gate login subcommand and auth login hints for embedded
editions; optional token auto-purge; edition ConfigDir override.
- version: human-readable multi-line output plus JSON with edition,
architecture, build, commit.
- Relocate internal/{config,convert,validate} to pkg/; add pkg/cli and
pkg/cmdutil (flags/time helpers).
- CI: optional notify-downstream job (GitLab trigger via secrets) on main
push; open_source_policy_test adjusted for new layout.
Secrets (repo settings): WUKONG_TRIGGER_TOKEN, WUKONG_TRIGGER_URL — optional;
if unset, downstream step is skipped.
Made-with: Cursor
2026-03-31 15:29:21 +08:00
github-actions[bot]
75b873d231
chore: update coverage badge [skip ci]
2026-03-31 05:47:53 +00:00
github-actions[bot]
d2c5a027d4
chore: update coverage badge [skip ci]
2026-03-30 07:09:07 +00:00