玉澜
5ab46921c5
fix: preserve legacy errors and devdoc pagination contract
2026-08-11 15:13:18 +08:00
玉澜
72b2af1d1d
feat(dev): integrate unified command results
2026-08-10 13:00:14 +08:00
玉澜 and Cursor
ba72358f78
retire pinned schema_mcp_metadata.json from Schema assembly
...
Schema Catalog now assembles from Contract/ParamDecl/Interface and Cobra only.
Keep fetch-mcp-metadata as an optional diagnostic dump and ban the retired pin path.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-03 17:24:32 +08:00
玉澜 and Cursor
b3adfa8d26
feat(schema): require Contract.Identity aligned with reviewed registry
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-03 12:10:54 +08:00
玉澜 and Cursor
2a1fe47c50
refactor(schema): retire JSON Catalog delivery for runtime assembly
...
Move schema authority to declare-time ParamDecl/ContractFinal and
ResolveSchemaBuild so CI/runtime assemble instead of shipping JSON
exclusions/meta-index as delivery sources.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-02 09:08:17 +08:00
玉澜 and Cursor
75bd1f1447
refactor(cmdcore): rename SchemaDecl to ContractDecl and unify register seam
...
SchemaDecl confused authoring with Catalog/ToolSpec delivery. Authors now
declare ContractDecl (nested contract.* types) on Spec/LeafSpec/Shortcut;
AttachContract registers only through cli.RegisterRuntimeContractFinal, and
description provenance stamps cobra_help when Long wins.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 20:33:45 +08:00
玉澜 and Cursor
a26d219b27
refactor(schema): remove cli contract aliases; single entry at corecmd/contract
...
Drop the dual-entry thin alias layer so helpers/shortcut/framework author
contract.* types directly; keep only AnnotateRuntime* delivery helpers in cli
and document the corecmd→cli seam.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 19:51:54 +08:00
玉澜 and Cursor
0119f6e2a8
feat(schema): declare product selection and remove selection JSON hints
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 17:16:11 +08:00
玉澜 and Cursor
31cade34ff
feat(schema): finish ParamDecl migration for remaining overlays
...
Move the last hint parameter overlays into in-code ParamDecls (helpers +
shortcuts), regenerate catalog, and harden the migrate script for factory
and Use/RPC matching so all 74 overlay tools are declaration-backed.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 09:43:21 +08:00
玉澜 and Cursor
7773eb27f1
refactor(corecmd): rename package and finish ContractFinal leaf migration
...
Move cmdcore to corecmd, declare attendance ContractFinal in helpers, keep
Sheet destructive commands --yes-only, and align catalog/policy provenance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-31 14:13:46 +08:00
玉澜
06cea56e92
fix(schema): close resolver and runtime contract gaps
2026-07-14 00:06:37 +08:00
玉澜
1f2b992e9c
fix(schema): align capability contracts and delivery
2026-07-13 22:51:38 +08:00
修雨
a32d7985e6
refactor: switch to static endpoint delivery runtime
2026-07-07 19:07:03 +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
shangguanxuan.sgx
6067906c55
fix(devdoc): fallback empty rag article search
2026-06-18 13:08:34 +08:00
qinze and Claude Opus 4.8
70d66daa5f
feat(dev): schema 覆盖 dev doc + dingtalk-dev skill 精简
...
- dws schema 支持 dev.doc.search:fetcher 按 source 取(op-app 钉死 pre/
devdoc 走运行时解析),给 doc search 叶子加 mcp-tool/mcp-source 注解
- dev doc search flag 对齐 MCP 参数名(--keyword/--size 为主,旧名隐藏兼容)
- dingtalk-dev SKILL.md:顶部加 MUST DO(每次先 --help/schema 查),核心规则
瘦身、去重、去加粗/箭头符号
- references 精简:删参数表/flag 列表(schema/--help 已实时提供),只留状态机/
覆盖语义/链路/gotcha;event 补"订阅前需先建联"业务规则;新增 recipes.md
端到端链路;典型任务收成指针
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-17 21:56:11 +08:00
qinze and Claude Opus 4.8
51db546686
Merge origin/feat/dws-devapp into feat/dws-dev
...
合并远端团队的 MCP 对齐与 CR 修复,与本地 dev 命令重构 + schema 实时拉取 + flag 对齐 MCP 参数名集成。
冲突解决要点:
- 工具名常量:两边已收敛到同一组 op-app 真实工具名,取 dev 子树(ours)标识
- 保留 schema 能力:32 个 annotateDevAppTool 注解 + flag=kebab(MCP参数名)不变
- 吸收远端 CR 修复:normalizeDevAppServiceResult 解包 ServiceResult、
remove_dev_app_permissions 结果扁平化、生命周期工具状态标记
- 旧 dingtalk-devapp 技能目录保持删除(已重命名为 dingtalk-dev)
- devdoc article search 统一 --page-size/pageSize,--size 留兼容别名
构建/vet/internal 测试全绿(28 包,0 失败)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-17 17:01:50 +08:00
qinze and Claude Opus 4.8
eaeb9ac05d
feat(dev): 开放平台 dev 命令集核心实现
...
dev 伞形命令(app/connect/doc)、应用全生命周期、权限/成员/安全/机器人/
版本/事件、cursor 透传分页、pretty 状态标注、connect 建联。MCP 工具名对齐
服务端实际注册名。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-16 17:09:06 +08:00
shangguanxuan.sgx
1921e5e37e
feat(devdoc): support cursor pagination
2026-06-15 20:41:53 +08:00
xuan and shangguanxuan.sgx
eaa60f95b5
feat(devdoc): add rag mcp cli commands ( #434 )
...
* feat(devdoc): add rag mcp cli commands
* chore(config): default mcp endpoint to prepub
* chore(config): use prepub mcp discovery host
* fix(devdoc): wrap rag search request
* fix(transport): preserve dingtalk mcp gateway query
* fix(devdoc): align cli with rag mcp schema
* fix(config): keep mcp defaults production-safe
* test(devdoc): cover rag cli parameter mapping
* chore(test): remove dead nested arg assertion
---------
Co-authored-by: shangguanxuan.sgx <shangguanxuan.sgx@alibaba-inc.com >
2026-06-09 18:00:05 +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