agentspace

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

agentspace.so

agentspace.so

Use agentspace.so to bind the local folders to a shareable remote workspace.
使用agentspace.so将本地文件夹绑定到可共享的远程工作区。

Choose the setup path

选择设置路径

Prefer the first path that is already available in the environment:
  1. If
    ascli
    is already installed, run
    ascli sync .
    .
  2. Else if
    npm
    is available, run
    npx @agentspace-so/ascli@latest sync .
    .
  3. Else if
    curl
    is available, run
    curl -fsSL https://agentspace.so/install.sh | bash
    , then run
    ascli sync .
    .
  4. If none of those paths work, stop and tell the user which prerequisite is missing.
Use the current working directory
.
unless the user asks for a different path.
优先选择环境中已有的第一种路径:
  1. 如果已安装
    ascli
    ,运行
    ascli sync .
  2. 否则如果
    npm
    可用,运行
    npx @agentspace-so/ascli@latest sync .
  3. 否则如果
    curl
    可用,运行
    curl -fsSL https://agentspace.so/install.sh | bash
    ,然后运行
    ascli sync .
  4. 如果以上路径都不可用,请停止操作并告知用户缺少哪个前置条件。
除非用户指定其他路径,否则使用当前工作目录
.

Hand work back

移交工作

  • When the user asks to share a local folder or file, run
    ascli share . --permission edit
    .
  • If the user explicitly asks for view-only access, run
    ascli share . --permission view
    .
  • If you are using the repo-local CLI path, run
    pnpm --filter @agentspace-so/ascli exec tsx src/index.ts share . --permission edit
    .
  • Return the share URL directly to the user.
  • 当用户要求分享本地文件夹或文件时,运行
    ascli share . --permission edit
  • 如果用户明确要求仅查看权限,运行
    ascli share . --permission view
  • 如果使用仓库本地CLI路径,运行
    pnpm --filter @agentspace-so/ascli exec tsx src/index.ts share . --permission edit
  • 直接将分享URL返回给用户。

Guardrails

约束规则

  • Do not invent claim URLs, workspace URLs, or share URLs. Only return what the CLI prints.
  • Do not require a global install if the
    npx
    path already works.
  • Do not move the user into a different project just to use agentspace.so.
  • If you need exact command variants, read references/commands.md.
  • 不得编造声明URL、工作区URL或分享URL。仅返回CLI输出的内容。
  • 如果
    npx
    路径可用,无需要求全局安装。
  • 不得为了使用agentspace.so而让用户切换到其他项目。
  • 如果需要确切的命令变体,请阅读references/commands.md