fix: use Gitea-compatible package scope

This commit is contained in:
jb
2026-09-01 17:53:50 -04:00
parent 118b5bee06
commit 72a1645fdb
51 changed files with 142 additions and 142 deletions
+17 -17
View File
@@ -108,7 +108,7 @@ A successful check currently reports 44 links and zero local package entries. Th
Resolve any reported collision manually instead of deleting it blindly. Run `/reload` in an active Pi session, or restart Pi, after the sync.
The repository root is a private Bun workspace and is not installable as a Pi package. Use the curated `config/pi-links.json` policy for live development, or install one independently published `@_jb/pi-*` package. See [Bun workspace packages and Gitea npm publishing](docs/npm-packages.md).
The repository root is a private Bun workspace and is not installable as a Pi package. Use the curated `config/pi-links.json` policy for live development, or install one independently published `@jbcode/pi-*` package. See [Bun workspace packages and Gitea npm publishing](docs/npm-packages.md).
### 5. Verify Pi
@@ -127,21 +127,21 @@ Inside Pi:
The monorepo contains three optional packages that are not enabled by the curated link policy:
- `@_jb/pi-interactive-subagents`;
- `@_jb/pi-native-hooks`;
- `@_jb/pi-todo-herdr`.
- `@jbcode/pi-interactive-subagents`;
- `@jbcode/pi-native-hooks`;
- `@jbcode/pi-todo-herdr`.
After publishing them, configure the scoped Gitea npm registry and install only the packages you want. Keep the token in the user environment or user-level npm configuration; never commit it:
```ini
@_jb:registry=https://git.jb.codes/api/packages/jb/npm/
@jbcode:registry=https://git.jb.codes/api/packages/jb/npm/
//git.jb.codes/api/packages/jb/npm/:_authToken=${GITEA_NPM_TOKEN}
```
```bash
pi install npm:@_jb/pi-interactive-subagents
pi install npm:@_jb/pi-native-hooks
pi install npm:@_jb/pi-todo-herdr
pi install npm:@jbcode/pi-interactive-subagents
pi install npm:@jbcode/pi-native-hooks
pi install npm:@jbcode/pi-todo-herdr
pi list
```
@@ -151,7 +151,7 @@ Do not globally enable `harness-tools/extensions/subagents` at the same time as
### Configure interactive subagents
[`@_jb/pi-interactive-subagents`](extensions/interactive-subagents) creates asynchronous child Pi sessions in Herdr tabs or tmux panes. It requires one terminal backend:
[`@jbcode/pi-interactive-subagents`](extensions/interactive-subagents) creates asynchronous child Pi sessions in Herdr tabs or tmux panes. It requires one terminal backend:
- **Herdr:** install its Pi integration, then launch Pi inside a Herdr-managed pane;
- **tmux:** launch Pi inside tmux when Herdr is unavailable.
@@ -186,11 +186,11 @@ The status widget is enabled by the package's example configuration when no loca
### Configure Native Hooks
[`@_jb/pi-native-hooks`](extensions/native-hooks) coordinates trusted personal diagnostic and verification policies after workspace mutations. Review its [trust model and initialization workflow](extensions/native-hooks/README.md) before use. Preview with `/hooks-init --dry-run`; do not run `/hooks-init --apply` until every destination and executable policy has been reviewed.
[`@jbcode/pi-native-hooks`](extensions/native-hooks) coordinates trusted personal diagnostic and verification policies after workspace mutations. Review its [trust model and initialization workflow](extensions/native-hooks/README.md) before use. Preview with `/hooks-init --dry-run`; do not run `/hooks-init --apply` until every destination and executable policy has been reviewed.
### Configure Pi Todo Herdr
[`@_jb/pi-todo-herdr`](extensions/todo-herdr) provides the `set_tasks`, `patch_tasks`, `rm_task`, `list_task`, and `get_task` tools plus a session-local Pi task widget. Herdr is optional for the tools and widget.
[`@jbcode/pi-todo-herdr`](extensions/todo-herdr) provides the `set_tasks`, `patch_tasks`, `rm_task`, `list_task`, and `get_task` tools plus a session-local Pi task widget. Herdr is optional for the tools and widget.
Inside Pi after `/reload`:
@@ -223,13 +223,13 @@ herdr status client
### Update or remove the Gitea packages
```bash
pi update npm:@_jb/pi-interactive-subagents
pi update npm:@_jb/pi-native-hooks
pi update npm:@_jb/pi-todo-herdr
pi update npm:@jbcode/pi-interactive-subagents
pi update npm:@jbcode/pi-native-hooks
pi update npm:@jbcode/pi-todo-herdr
pi remove npm:@_jb/pi-interactive-subagents
pi remove npm:@_jb/pi-native-hooks
pi remove npm:@_jb/pi-todo-herdr
pi remove npm:@jbcode/pi-interactive-subagents
pi remove npm:@jbcode/pi-native-hooks
pi remove npm:@jbcode/pi-todo-herdr
```
Run `/reload` after an update or removal.