Commit Graph
3049 Commits
Author SHA1 Message Date
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
tianlei.qjb 76df9bfcf1 Merge branch 'main' of https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli 2026-03-28 01:10:52 +08:00
tianlei.qjb f3a4bcfc1f init 2026-03-28 01:10:38 +08:00
柏荣 045a3dcf31 优化auth命令 2026-03-27 22:13:02 +08:00
柏荣 75be1e3eca Merge branch 'main' of github.com:DingTalk-Real-AI/dingtalk-workspace-cli
init
2026-03-27 21:13:18 +08:00
柏荣 cc04a082b1 init 2026-03-27 21:12:49 +08:00
tianlei.qjb 78fdec17e5 init 2026-03-27 20:27:45 +08:00
柏荣 f3418a04de init 2026-03-27 20:17:18 +08:00
coffeeBigSir 2836a0ba1c Delete docs/.DS_Store 2026-03-27 19:55:05 +08:00
tianlei.qjb 58e807b81e init 2026-03-27 19:47:19 +08:00
tianlei.qjb 0fba491a61 init v1.0.0 2026-03-27 18:37:13 +08:00
tianlei.qjb ea8d7993a6 init 2026-03-27 18:36:17 +08:00
tianlei.qjb 112b0bb1cf init 2026-03-27 18:27:44 +08:00
tianlei.qjb 57ec9068cc init 2026-03-27 18:18:58 +08:00
tianlei.qjb b60d3fd1f5 init 2026-03-27 18:11:24 +08:00
tianlei.qjb 6b9211a0a2 init 2026-03-27 18:03:30 +08:00
tianlei.qjb 5f938d3675 init 2026-03-27 17:55:57 +08:00
tianlei.qjb d8a6b06cf6 readme modified to #78745751 2026-03-26 23:32:13 +08:00
tianlei.qjb 1e54575e2a Initial commit 2026-03-23 09:19:25 +08:00
tianlei.qjb bb4b161c17 Initial commit 2026-03-23 09:15:10 +08:00