
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@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 工具
The npm package @spaceflow/cli receives a total of 65 weekly downloads. As such, @spaceflow/cli popularity was classified as not popular.
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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.