
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@spaceflow/cli
Advanced tools
Spaceflow CLI 壳子入口,提供
spaceflow/space命令。负责引导.spaceflow/工作目录并启动@spaceflow/core运行时。
pnpm add -D @spaceflow/cli
# 使用 spaceflow 或 space 命令
spaceflow <command> [options]
space <command> [options]
CLI 本身不包含任何命令实现,职责仅限于:
.spaceflow/package.json 确定依赖.spaceflow/bin/index.js 入口文件execSync 启动子进程执行 @spaceflow/core 的 exec() 函数所有命令(内置 13 个 + 外部扩展)均由 @spaceflow/core 提供。
| 命令 | 说明 |
|---|---|
install | 安装扩展 |
uninstall | 卸载扩展 |
build | 构建扩展 |
dev | 开发模式运行 |
create | 创建新扩展 |
update | 更新扩展 |
list | 列出已安装扩展 |
clear | 清理缓存 |
runx / x | 执行扩展命令 |
schema | 生成配置 JSON Schema |
commit | AI 智能提交 |
setup | 初始化项目配置 |
mcp | 启动 MCP Server |
# 创建命令型扩展
spaceflow create command my-extension
# 创建 MCP 服务扩展
spaceflow create mcp my-mcp
import { defineExtension } from "@spaceflow/core";
export default defineExtension({
name: "my-extension",
commands: [
{
name: "my-command",
description: "My command description",
run: async (args, options, ctx) => {
ctx.output.info("Hello from my command!");
},
},
],
});
通过配置文件中的 support 字段,spaceflow install 会自动将扩展关联到对应编辑器目录:
| 编辑器 | 配置目录 |
|---|---|
| Claude Code | .claude/ |
| Windsurf | .windsurf/ |
| Cursor | .cursor/ |
| OpenCode | .opencode/ |
FAQs
Spaceflow CLI 工具
We found that @spaceflow/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.