Commit Graph
69 Commits
Author SHA1 Message Date
tianlei.qjb 54145b65ec fix test script 2026-03-29 22:30:03 +08:00
tianlei.qjb 2fad9c95db test 2026-03-29 22:29:15 +08:00
coffeeBigSir 937fb80ee9 Merge pull request #22 from DingTalk-Real-AI/robot-xf
Robot xf
v1.0.1
2026-03-29 17:59:15 +08:00
tianlei.qjb e14d7f9846 npm install support 2026-03-29 17:55:12 +08:00
tianlei.qjb ad3c3a22bf Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-29 17:54:30 +08:00
tianlei.qjb e57b9ac6f3 npm install support 2026-03-29 17:54:20 +08:00
coffeeBigSir 36ea9b6b3c Merge pull request #21 from audanye-sudo/docs/add-chinese-readme
docs: add Chinese README (README_zh.md)
2026-03-29 16:56:01 +08:00
audanye-sudo dbfd785af3 docs: add Chinese README (README_zh.md) 2026-03-29 16:48:21 +08:00
tianlei.qjb 2cb55d7cb6 Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-29 16:44:31 +08:00
coffeeBigSir 758da4d292 Merge pull request #20 from audanye-sudo/feat/deep-workspace-tooling
feat: deep workspace tooling — pipeline, filtering, stdin, routing
2026-03-29 16:33:40 +08:00
audanye-sudo 9c69dcc3e5 chore: wire pipeline engine into root command and bump version to v1.0.2
- Integrate pipeline engine with pre-parse input correction
- Unhide schema command
- Update CHANGELOG for v1.0.2
- Update README documentation
2026-03-29 16:30:20 +08:00
audanye-sudo c4bc460dc7 feat: add @file input support for chat helper commands 2026-03-29 16:29:56 +08:00
audanye-sudo c1893f40fc feat: add tool-level endpoint routing for multi-endpoint products
- Build tool → endpoint mapping from CLI tools and overrides
- directRuntimeEndpoint resolves by tool name before product fallback
- Support dynamic command routing with compat layer updates
2026-03-29 16:29:35 +08:00
audanye-sudo 13f248b285 feat: enhance stdin handling with StdinGuard and @file/@- support
- Add StdinGuard for safe single-read stdin across multiple flags
- Add ResolveInputSource unified resolver for @file, @-, and pipe
- Support @file / @- syntax for all string-typed override flags
- Remove unused writeSchemaText function
2026-03-29 16:29:13 +08:00
audanye-sudo 9bf51322cc feat: add --fields and --jq output filtering flags
- Add --fields for comma-separated field selection on JSON output
- Add --jq for jq expression filtering powered by gojq library
- Integrate filters into output formatter pipeline
2026-03-29 16:28:49 +08:00
audanye-sudo f75227aad1 feat: add pipeline engine for pre-parse and post-parse input correction
- AliasHandler: normalise model-generated flag casing (--userId → --user-id)
- StickyHandler: split glued flag values (--limit100 → --limit 100)
- ParamNameHandler: fix near-miss flag typos (--limt → --limit)
- ParamValueHandler: normalise structured parameter values after parsing
2026-03-29 16:28:19 +08:00
fantiu 4a4633d188 Merge pull request #18 from fantiu/feat-security
docs: update README security design section
2026-03-29 11:56:43 +08:00
fantiu 9eb85a22bb docs: update README security design section 2026-03-29 11:32:17 +08:00
tianlei.qjb d19a145472 Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-29 11:06:18 +08:00
coffeeBigSir 4fab1610a2 Merge pull request #16 from audanye-sudo/feat/foundational-feature-upgrade
feat: foundational feature upgrades for validation, logging, and input
2026-03-29 00:47:54 +08:00
tianlei.qjb 82a2f7f77e Merge branch 'audanye-sudo-feat/foundational-feature-upgrade' 2026-03-29 00:35:40 +08:00
tianlei.qjb 50d2e75fd6 Merge branch 'feat/foundational-feature-upgrade' of https://github.com/audanye-sudo/dingtalk-workspace-cli into audanye-sudo-feat/foundational-feature-upgrade 2026-03-29 00:35:12 +08:00
audanye-sudo c8f1a9a912 chore: fix staticcheck warnings and restore missing .env.example
- Replace nil context with context.TODO() in logger calls
- Fix import ordering and struct field alignment
- Restore .env.example required by open-source audit tests
2026-03-29 00:30:27 +08:00
audanye-sudo 60086a8aaf docs: update redirect URL configuration for device flow login 2026-03-28 23:39:13 +08:00
audanye-sudo 9d90474fd3 feat: integrate file logger and transport-level input validation
- Wire file logger into root command lifecycle (init + close)
- Pass file logger to transport client for request/response logging
- Add control char and dangerous Unicode validation on tool calls
- Strip query/fragment from endpoints to prevent parameter injection
2026-03-28 23:39:05 +08:00
audanye-sudo 7fdabb6230 feat: improve MAC address selection with virtual NIC fallback
- Extract selectMAC for testable interface selection logic
- Prefer physical NICs, fall back to virtual MACs (e.g. Docker)
- Add comprehensive unit tests for all MAC selection scenarios
2026-03-28 23:38:55 +08:00
audanye-sudo d0ab1ff641 feat: add stdin pipe and @file input support for tool commands
- Add stdin.go with ReadStdinIfPiped and ReadFileArg helpers
- Support @file syntax for --json flag to read payload from file
- Fall back to stdin pipe when no --json argument is provided
2026-03-28 23:38:45 +08:00
audanye-sudo 53bd013899 feat: add structured file logger with rotation and redaction
- Add internal/logging package with JSON file logger
- Support log rotation at 10MB with 3 backup files
- Add MultiHandler for dual output (stderr + file)
- Include automatic secret redaction in log entries
- Add transport-level request/response logging helpers
2026-03-28 23:38:36 +08:00
audanye-sudo 464d571eb3 feat: add centralized input validation and sanitization package
- Add internal/validate with control char rejection, ANSI stripping,
  URL query/fragment stripping, and terminal sanitization
- Refactor output/sanitize.go to delegate to validate package
- Update sanitize test to reflect ANSI escape stripping behavior
2026-03-28 23:38:24 +08:00
tianlei.qjb 0faf6c1b50 Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-28 22:30:26 +08:00
tianlei.qjb e1e70e2137 GitHub Actions CI fix 2026-03-28 22:30:19 +08:00
github-actions[bot] 372869d5e6 chore: update coverage badge [skip ci] 2026-03-28 14:22:20 +00:00
tianlei.qjb f3eb2bcb83 GitHub Actions CI 2026-03-28 22:21:20 +08:00
tianlei.qjb e7d20a1246 Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-28 22:06:51 +08:00
tianlei.qjb 6d0917ff73 GitHub Actions CI 2026-03-28 22:06:25 +08:00
fantiu 3c104fcd03 Merge pull request #9 from wxianfeng/main
output default json for ai agent
2026-03-28 21:48:47 +08:00
xianfeng wang ee9e5671c4 Merge branch 'DingTalk-Real-AI:main' into main 2026-03-28 21:46:03 +08:00
wxianfeng 4446a3ad7a default output json 2026-03-28 21:44:08 +08:00
fantiu f7df083ac0 Merge pull request #8 from fantiu/fix-security
fix: correct structure about security.
2026-03-28 21:43:13 +08:00
fantiu b994aea18a fix: correct structure about security. 2026-03-28 21:42:06 +08:00
tianlei.qjb 944e136fe8 GitHub Actions CI 2026-03-28 21:41:23 +08:00
tianlei.qjb ad30854b59 GitHub Actions CI 2026-03-28 21:40:06 +08:00
coffeeBigSir a610cdb80d Merge pull request #5 from linuxliker/integrate-open-recovery-v1-1-0
feat: integrate open recovery workflow and bump v1.1.0
2026-03-28 20:45:40 +08:00
xiaojin.hxj aa3f8f3990 feat: integrate open recovery workflow and bump v1.1.0 2026-03-28 20:41:56 +08:00
fantiu cb67d98e4f Merge pull request #3 from audanye-sudo/feat/enhance-common-display-logic
docs: streamline README layout and add reference manual
2026-03-28 20:34:38 +08:00
qinzeandClaude Opus 4.6 0075cba438 docs: simplify ISV skill integration diagram to inline text
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 20:32:38 +08:00
qinzeandClaude Opus 4.6 077039bbf3 docs: streamline README layout and add reference manual
- Simplify README.md and README_en.md with cleaner structure
- Add centralized navigation links (reference, changelog)
- Condense co-creation notice and quick-start sections
- Add docs/reference.md as a unified command reference manual

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 20:26:20 +08:00
柏荣 3fc9f9608b Merge branch 'main' of github.com:DingTalk-Real-AI/dingtalk-workspace-cli
merge
2026-03-28 17:51:39 +08:00
柏荣 a1dffe454d 逻辑优化 2026-03-28 17:51:22 +08:00
tianlei.qjb 56412b12e4 readme.md add 中文/english link url 2026-03-28 14:30:27 +08:00