René's URL Explorer Experiment


Title: [功能请求] 支持 headless(无头/非交互)模式,用于自动化与 CI/CD · Issue #139 · lessweb/deepcode-cli · GitHub

Open Graph Title: [功能请求] 支持 headless(无头/非交互)模式,用于自动化与 CI/CD · Issue #139 · lessweb/deepcode-cli

X Title: [功能请求] 支持 headless(无头/非交互)模式,用于自动化与 CI/CD · Issue #139 · lessweb/deepcode-cli

Description: Deep Code 团队你们好,感谢打造了这么棒的工具——TUI 体验非常好,deepseek-v4 的深度思考和推理强度控制也特别好用。 我想请求为 Deep Code CLI 添加 headless(无头/非交互)模式 的支持。 目前的 cli.tsx:73 强制要求 TTY: if (!process.stdin.isTTY) { process.stderr.write("deepcode requires an interactive terminal..."...

Open Graph Description: Deep Code 团队你们好,感谢打造了这么棒的工具——TUI 体验非常好,deepseek-v4 的深度思考和推理强度控制也特别好用。 我想请求为 Deep Code CLI 添加 headless(无头/非交互)模式 的支持。 目前的 cli.tsx:73 强制要求 TTY: if (!process.stdin.isTTY) { process.stderr.write("deepc...

X Description: Deep Code 团队你们好,感谢打造了这么棒的工具——TUI 体验非常好,deepseek-v4 的深度思考和推理强度控制也特别好用。 我想请求为 Deep Code CLI 添加 headless(无头/非交互)模式 的支持。 目前的 cli.tsx:73 强制要求 TTY: if (!process.stdin.isTTY) { process.stderr.write("...

Opengraph URL: https://github.com/lessweb/deepcode-cli/issues/139

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[功能请求] 支持 headless(无头/非交互)模式,用于自动化与 CI/CD","articleBody":"Deep Code 团队你们好,感谢打造了这么棒的工具——TUI 体验非常好,deepseek-v4 的深度思考和推理强度控制也特别好用。\n\n我想请求为 Deep Code CLI 添加 **headless(无头/非交互)模式** 的支持。\n\n目前的 `cli.tsx:73` 强制要求 TTY:\n\n```typescript\nif (!process.stdin.isTTY) {\n  process.stderr.write(\"deepcode requires an interactive terminal...\");\n  process.exit(1);\n}\n```\n\n这导致 Deep Code 无法在脚本、cron 定时任务或 CI/CD 流水线中使用。\n\n## 为什么需要这个功能\n\n| 场景 | 能做什么 |\n|------|---------|\n| **CI/CD 集成** | 在 GitHub Actions 中让 Deep Code 做 PR review、生成 changelog、运行提交前检查 |\n| **定时任务** | 每日自动搜集行业新闻、检查依赖更新、仓库健康巡检——通过 cron 执行 |\n| **多 Agent 协同** | 一个\"调度者\"Agent 可以启动多个 Deep Code 子 Agent 并行工作 |\n| **编辑器/IDE 集成** | Neovim、VSCode 插件通过程序化接口调用 Deep Code(与 #36 相关) |\n| **批量处理** | 对多个项目自动执行同一个 prompt |\n\n## 其他工具的做法\n\n- **Claude Code**:`-p` 在非 TTY 下自动执行并退出,支持 `--json` 结构化输出。[文档](https://code.claude.com/docs/en/headless-mode)\n- **Aider**:支持 `--message` / `--no-auto-commits`,可脚本化调用\n- **Codex CLI**:[也有开发者提了同样的 issue](https://github.com/openai/codex/issues/4219)\n\n## 建议的实现方式\n\n最小可用改动:\n\n1. 当 stdin 不是 TTY 时,`-p/--prompt` 变为执行模式(而非仅预填充)\n2. 非 TTY 模式下自动批准权限(因为没有用户可询问)\n3. 执行完毕后退出,并返回结构化结果\n\n可选增强:\n- `--json` 输出结构化结果(模型、tokens、修改的文件等)\n- `--max-turns N` 限制最大轮次\n- `--auto-approve` 作为显式开关(即使在 TTY 模式下也可用)\n\n## 目前的替代方案及其局限\n\n目前唯一的变通方案是\"伪调度\"——在每次打开 Deep Code 时检查条件(比如\"距上次新闻搜集是否已过 3 天\")。这能覆盖个人使用场景,但无法用于 CI 或多 Agent 协同。\n\n---\n\n\u003e English TL;DR: Requesting headless/non-interactive mode so Deep Code can run in scripts, cron, and CI/CD. Claude Code and Aider already support this. Minimum change: make `-p` executable in non-TTY mode with auto-approved permissions.","author":{"url":"https://github.com/ATMxsp01","@type":"Person","name":"ATMxsp01"},"datePublished":"2026-05-30T09:36:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/139/deepcode-cli/issues/139"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7416c6e8-4704-1c78-ca93-77d8aa1d63e1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A0A:33857B:D49CD:155E9C:6A4D54E8
html-safe-nonce48c9a80fe167040bbd5b2239d531871545c217535b76704820992f690ec11ce2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTBBOjMzODU3QjpENDlDRDoxNTVFOUM6NkE0RDU0RTgiLCJ2aXNpdG9yX2lkIjoiMzQ1NDkyMzAzNjcyNDkwOTI4OCIsInJlZ2lvbl9lZGdlIjoid2VzdHVzMiIsInJlZ2lvbl9yZW5kZXIiOiJ3ZXN0dXMyIn0=
visitor-hmac2bf5b2d7c4681e1ca10d802eeccce1d6f3c83b1b8ac9df1de945d8bfeb774d20
hovercard-subject-tagissue:4554002400
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lessweb/deepcode-cli/139/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a58ccdfd0bf7ede9199ed2631f29295be4d01824f98124f19f6d5cafce111cc3/lessweb/deepcode-cli/issues/139
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a58ccdfd0bf7ede9199ed2631f29295be4d01824f98124f19f6d5cafce111cc3/lessweb/deepcode-cli/issues/139
og:image:altDeep Code 团队你们好,感谢打造了这么棒的工具——TUI 体验非常好,deepseek-v4 的深度思考和推理强度控制也特别好用。 我想请求为 Deep Code CLI 添加 headless(无头/非交互)模式 的支持。 目前的 cli.tsx:73 强制要求 TTY: if (!process.stdin.isTTY) { process.stderr.write("deepc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameATMxsp01
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/issues/139#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fissues%2F139
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fissues%2F139
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/issues/139
Reloadhttps://github.com/lessweb/deepcode-cli/issues/139
Reloadhttps://github.com/lessweb/deepcode-cli/issues/139
Please reload this pagehttps://github.com/lessweb/deepcode-cli/issues/139
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 151 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
#207https://github.com/lessweb/deepcode-cli/pull/207
[功能请求] 支持 headless(无头/非交互)模式,用于自动化与 CI/CDhttps://github.com/lessweb/deepcode-cli/issues/139#top
#207https://github.com/lessweb/deepcode-cli/pull/207
https://github.com/ATMxsp01
ATMxsp01https://github.com/ATMxsp01
on May 30, 2026https://github.com/lessweb/deepcode-cli/issues/139#issue-4554002400
#36https://github.com/lessweb/deepcode-cli/issues/36
文档https://code.claude.com/docs/en/headless-mode
也有开发者提了同样的 issuehttps://github.com/openai/codex/issues/4219
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.