[Feature]: Provide common terminal CLI commands LF
Problem
当前启动 LoopForge 依赖在各宿主(Claude Code / Cursor / Codex / CodeBuddy)聊天框内手动输入 /start-devflow 或 $devflow-codex。缺少直接从命令行终端唤起和运行的统一入口,且现有命令名 loopforge 偏长。
Proposed behavior
短别名:bin 与 project.scripts 提供 lf 软链/别名,等同 loopforge。 终端启动任务:支持 lf run "需求描述" 或 lf "需求描述",自动探测当前环境可用宿主并在终端直接驱动对应 Agent 工作流。 环境检测与桥接:如果未指定宿主,按优先级检测本机的 Claude Code CLI、Codex CLI 等并转发执行
Scope
Installer / CLI
Alternatives considered
仅在用户 shell rc(.zshrc / .bashrc)配 alias lf=loopforge(只解决命令长度,没解决终端唤起 Agent 问题)。 维持现状,只在各 IDE/Agent 内置聊天框内敲斜杠指令
Checks
- [x] This proposal does not require organization-specific infrastructure or credentials.
- [x] I searched existing issues and discussions for similar proposals.
这是关于这个issue提交的pr:https://github.com/Tencent/LoopForge/pull/22
感谢 @AlkaidSTART 提出这个需求,也感谢你在 #22 中给出完整实现。
LoopForge 目前主推自托管 Platform。本地工作流已迁到 local/ 并进入维护状态,近期不计划新增 lf 别名和终端启动命令,所以将本需求和 #22 一并以 not planned 关闭。
在 Platform 中,需求直接在页面或 MCP/API 中创建,并由 Runner 执行 SOP,不再需要先切到各个宿主手动输入入口提示词。如果你在 Platform 的接入和使用上还有类似痛点,欢迎另开 Issue 讨论。