桌面端支持登录系统后自动启动 Antumi
Opened by @ifwlzs · Assignees: @kartik70
Solve & Merge Reward: Up to +234 XP & +60 Coins
+30 XP on PR open · +180 XP & +60 coins on merge · +24 star XP (498 stars)
Claim Status & GitHub Signal
Assigned on GitHub (@kartik70). Check recent comments before starting duplicate work.
Estimated from issue labels (good first issue), TypeScript context, and discussion depth. There are 2 GitHub comments to review for maintainer clarifications. Note: this is an estimate, not a guarantee.
What It's About
桌面端支持登录系统后自动启动 Antumi. 遇到什么困难? / What problem are you facing? 电脑开机或重启后,每次登录系统都要手动打开 Antumi。平时长期让 Antumi 在后台运行,或通过手机连接电脑上的 Antumi 时,忘记打开就得回到电脑前手动启动。 希望怎样解决? / What would you like to happen? 希望在 Antumi 桌面端的设置里加入「登录时启动 Antumi」开关,默认关闭。打开后,下次登录系统时自动启动 Antumi;关闭后,下次登录时由用户手动打开。希望至少覆盖 Windo
Why It Matters
Resolving #82 improves reliability and developer experience in flyhero/antumi.
Expected Outcome
A focused pull request addressing #82 with relevant checks or tests verified locally.
Log in to compare this issue's requirements against your profile skills. Required concepts: TypeScript, CLI & Shell.
Progressive AI Hints
Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.
Skill-Gap Learning
Shell navigation, process inspection, pipes, and CLI debugging.
Addresses skill gap: CLI & Shell
Strong typing, interfaces, generics, and safer JavaScript/TypeScript code.
Addresses skill gap: TypeScript
Issue Description
遇到什么困难? / What problem are you facing?
电脑开机或重启后,每次登录系统都要手动打开 Antumi。平时长期让 Antumi 在后台运行,或通过手机连接电脑上的 Antumi 时,忘记打开就得回到电脑前手动启动。
希望怎样解决? / What would you like to happen?
希望在 Antumi 桌面端的设置里加入「登录时启动 Antumi」开关,默认关闭。打开后,下次登录系统时自动启动 Antumi;关闭后,下次登录时由用户手动打开。希望至少覆盖 Windows 和 macOS 的桌面版。
现在怎么处理? / How do you handle it today?
目前每次登录系统后手动启动 Antumi。
Linked Pull Requests (0)
No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.
GitHub Comments (2)
/take
Plan: a persisted openAtLogin setting in the desktop main process (default off, modelled on close-behavior-store.ts), applied with Electron's app.setLoginItemSettings, exposed over IPC with a toggle in the desktop settings. Windows and macOS first. Is Linux out of scope, so I should hide the toggle there?
@kartik70 认领成功,请在 7 天内提 PR(草稿 PR 也行),PR 描述里写 Fixes #82 关联。到期没有关联的 PR 会自动释放,还在做的话再评论 /take 续期。
Claimed. Open a PR (a draft is fine) within 7 days with Fixes #82 in its description. Claims with no linked PR by then are released; comment /take again to renew.
Issue Troubleshooting Threads (0)
No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.
PR Verification & Rewards
Sign in and link GitHub to verify your PR against this issue and earn XP + coins.
Contribution Workflow
Track your local progress before opening a pull request on GitHub.
Repository Context
Top Repository Paths
CONTRIBUTING.md Excerpt
参与贡献
欢迎提 Issue 和 PR。
先开 Issue
改动较大时(新功能、接入新的 Agent 或聊天平台、改协议),先开一个 Issue 说明想做什么,对齐做法后再动手,免得白做。小的修复可以直接提 PR。
认领 Issue
带 good first issue 或 help wanted 标签的 Issue 可以直接认领:在 Issue 下评论 /take,机器人会把它指派给你。
- 同时最多认领 2 个。
- 认领后 7 天内提 PR(草稿 PR 也行),在 PR 描述里写
Fixes #<编号>关联。到期还没有关联的 PR 会自动释放;还在做的话再评论一次/take,重新计 7 天。 - 不做了评论
/release。
其他 Issue 想做的话,先在下面说说打算怎么做,维护者会打上标签或直接指派。
常见的贡献
- 接入新的 Agent:按 接入新的 Agent 一步步来。
- 任务来源(GitHub、Jira 之外的系统):写一个插件,不用改 Antumi 源码,见 任务来源插件。
- 修 bug、改进功能:先读 技术架构 里相关的一节。进程边界、协议和安全规则写在 AGENTS.md,界面上的颜色、字号和间距按 DESIGN.md。
从源码运行
需要 Node ≥ 22.13 和 pnpm 12。
pnpm install
ANTUMI_HOME=~/.antumi-dev pnpm dev # 独立实例,不碰 ~/.antumi 里的真实数据
提交前检查
pnpm typecheck && pnpm test # 改了桌面端再加 pnpm build
新的行为要带测试。改动用户能注意到时,在 CHANGELOG.md 的 ## 未发布 下加一句话(### 新功能、### 改进 或 ### 修复),写用户现在能看到或做到什么,规则见 AGENTS.md。
提交信息
用精简版的 Angular 格式:
<type>(<scope>): <summary>
<body>
- type:
feat、fix、refactor、perf、test、docs、build或chore。 - scope:改动所在的包,
protocol、core、daemon或desktop;跨多个包时省略。 - summary:英文祈使句,首字母小写,不加句号,72 个字符以内。
- body:为什么要改、行为和之前有什么不同。
docs和chore可以省略。
一个提交只做一件事,测试和代码放在同一个提交里。完整规则见 AGENTS.md。
PR
写清楚改了什么、为什么改、怎么验证的。涉及界面的附截图,只在部分平台上测过的注明平台。
Contributing
Issues and pull requests are welcome.
Open an issue first
For larger changes (a new feature, a new Agent or chat platform, a protocol change), open an issue describing what you want to do and agree on the approach before you start. Small fixes can go straight to a PR.
Claiming an issue
Issues labelled good first issue or help wanted can be claimed: comment /take on one and the bot assigns it to you.
- You can hold up to 2 at a time.
- Open a PR (a draft is fine) within 7 days and link it with
Fixes #<number>in its description. A claim with no linked PR by then is released; if you're still on it, comment/takeagain to restart the 7 days. - Comment
/releaseto give it back.
For any other issue, describe your approach on it first; a maintainer will label it or assign it to you.
Common contributions
- Adding a new Agent: follow [Adding a new Agent](docs/ADDING-AN-AGENT.en
... (truncated)
Advisory PR Assistant
Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.