Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Prerequisites:
Install the tool and configure the Codex plugin:

```bash
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@main"
powercontext setup codex --source oceanbase/powercontext --ref main
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
powercontext setup codex --source oceanbase/powercontext --ref master
```

You do not need to create or manage a repository checkout. Start the local service in a terminal:
Expand Down Expand Up @@ -58,7 +58,7 @@ surfaces. Installation, configuration, and troubleshooting live under [`docs/en/
Add only the role the project imports:

```bash
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@main"
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@master"
```

Available extras are `builtin`, `client`, `server`, and `cli`. The CLI always includes Server-backed content commands;
Expand Down
2 changes: 1 addition & 1 deletion docs/en/docs/how-to/configure-codex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: Install the PowerContext Codex plugin and control its local behavio
Run:

```bash
powercontext setup codex --source oceanbase/powercontext --ref main
powercontext setup codex --source oceanbase/powercontext --ref master
```

The command adds the repository as a Codex marketplace, installs the PowerContext plugin, and creates the user data
Expand Down
6 changes: 3 additions & 3 deletions docs/en/docs/how-to/install-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ description: Install PowerContext from Git and run the local Server.
Install `uv`, then install PowerContext directly from a Git ref:

```bash
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@main"
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
```

This works on macOS and Linux and does not require a user-managed repository checkout. Git uses its normal credential
configuration, including credential helpers and SSH settings. For an SSH-based install, replace the HTTPS URL with the
Git URL approved for your environment.

To install a tested branch or tag, replace `main` after the final `@`. Use the same ref when configuring integrations:
To install a tested branch or tag, replace `master` after the final `@`. Use the same ref when configuring integrations:

```bash
powercontext setup codex --source oceanbase/powercontext --ref <ref>
Expand Down Expand Up @@ -66,7 +66,7 @@ directory unless `POWERCONTEXT_HOME` or the database URL changes.
An application that imports the async Client SDK should add it to that application's environment:

```bash
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@main"
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@master"
```

Use `builtin` for in-process Python composition, `server` for the service, `client` for the Python SDK, or `cli` for
Expand Down
4 changes: 2 additions & 2 deletions docs/en/docs/tutorials/codex-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ repository with the credentials already configured on your machine.
Run these commands from any directory:

```bash
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@main"
powercontext setup codex --source oceanbase/powercontext --ref main
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
powercontext setup codex --source oceanbase/powercontext --ref master
```

The first command installs an isolated application. The second installs the Codex plugin and prepares PowerContext's
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/docs/how-to/configure-codex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: 安装 PowerContext Codex 插件并控制其本地行为。
执行:

```bash
powercontext setup codex --source oceanbase/powercontext --ref main
powercontext setup codex --source oceanbase/powercontext --ref master
```

该命令会把仓库添加为 Codex marketplace,安装 PowerContext 插件,并创建用户数据目录。重复执行是安全的。
Expand Down
6 changes: 3 additions & 3 deletions docs/zh/docs/how-to/install-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ description: 从 Git 安装 PowerContext,并运行本地 Server。
先安装 `uv`,再从指定 Git ref 直接安装 PowerContext:

```bash
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@main"
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
```

该方式支持 macOS 和 Linux,不需要用户自行管理仓库工作副本。Git 会沿用本机的凭据配置,包括 credential
helper 和 SSH 设置。如需使用 SSH,请把 HTTPS URL 换成当前环境允许的 Git URL。

安装指定分支或 tag 时,替换最后一个 `@` 后的 `main`。配置集成时应使用同一个 ref:
安装指定分支或 tag 时,替换最后一个 `@` 后的 `master`。配置集成时应使用同一个 ref:

```bash
powercontext setup codex --source oceanbase/powercontext --ref <ref>
Expand Down Expand Up @@ -64,7 +64,7 @@ powercontext setup codex --source oceanbase/powercontext --ref <ref>
如果应用需要导入异步 Client SDK,应把它加入该应用自己的环境:

```bash
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@main"
uv add "powercontext[client] @ git+https://github.com/oceanbase/powercontext.git@master"
```

进程内 Python 组合使用 `builtin`,服务使用 `server`,Python SDK 使用 `client`,基于 Server 的命令行使用
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/docs/tutorials/codex-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ description: 安装 PowerContext,并在多个 Codex 会话之间传递项目
在任意目录执行:

```bash
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@main"
powercontext setup codex --source oceanbase/powercontext --ref main
uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
powercontext setup codex --source oceanbase/powercontext --ref master
```

第一条命令安装隔离的应用环境;第二条命令安装 Codex 插件,并准备 PowerContext 用户数据目录。
Expand Down
2 changes: 1 addition & 1 deletion integrations/codex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Install the PowerContext tool first, then configure the plugin:

```bash
powercontext setup codex --source oceanbase/powercontext --ref main
powercontext setup codex --source oceanbase/powercontext --ref master
powercontext server run
```

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ setup = "powercontext.cli.system:setup_app"
[project.urls]
Homepage = "https://github.com/oceanbase/powercontext"
Repository = "https://github.com/oceanbase/powercontext"
Documentation = "https://github.com/oceanbase/powercontext/tree/main/docs/en/docs"
Documentation = "https://github.com/oceanbase/powercontext/tree/master/docs/en/docs"

[dependency-groups]
dev = [
Expand Down
Loading