Skip to content
Open
Changes from all commits
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
44 changes: 44 additions & 0 deletions docs/guides/installing-loopx.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,46 @@ loopx workflow-skills --install
loopx doctor
```

<a id="pipx-split-prerelease"></a>

### Try a split-package prerelease with pipx

Use a sibling pipx environment when adopting a published split-package
prerelease. An in-place update across this layout change can remove files
owned by the new Core package, including its launcher.

Choose a published prerelease that includes [split-package ownership support in
Doctor](https://github.com/loopx-project/loopx/pull/9646). Pin its exact version
and use an unused suffix. Include dependency applications to expose the launcher
provided by Core.

```bash
pipx install --include-deps --suffix=-split "loopx==<prerelease-version>"
loopx-split doctor --installation-only --deep
Comment thread
cocolord marked this conversation as resolved.
Resolved
```

After Deep Doctor passes, use the original launcher to reconcile unfinished Turns
and read back their receipts. Stop the original execution owner once active
leases are clear. Use the prerelease launcher with the same registry and runtime
root. Verify the original Todo and receipt before resuming work. Keep one
execution owner active for the binding.

To roll back, reconcile and stop the prerelease owner, then use the original
launcher with the same registry and runtime root. Read back the original Todo
and receipt before removing the prerelease environment.

```bash
pipx uninstall loopx-split
```

选择已发布且包含 [Doctor 拆包归属修复](https://github.com/loopx-project/loopx/pull/9646)
的预发布版本。填入准确版本,使用未占用的后缀,并用 `--include-deps` 暴露 Core 提供的入口。
原地换包可能移除新装配需要的文件。
通过深度 Doctor 后,用原入口对账未结束的 Turn,读回结算回执,确认没有活跃租约后停止原执行
宿主。新入口沿用原 registry 和 runtime root,读回原 Todo 和回执后继续工作。
同一绑定只保留一个执行宿主。回退时先对账并停止预发布宿主,再用原入口完成同样
的读回,随后卸载预发布环境。

## macOS service identity and workspace selection

Use the existing `scripts/macos-dashboard-launchagent.sh` from a matching
Expand Down Expand Up @@ -534,6 +574,10 @@ processes to install workflow skills and slash commands, runs doctor, revalidate
enabled extensions, and restarts managed local LoopX services. It does not
switch the installation to an archive snapshot.

For a pipx installation moving to a split-package prerelease, use the
[separate pipx environment](#pipx-split-prerelease) and retain the original
launcher for rollback.

On Windows, an update requested through the pip/pipx `loopx.exe` launcher is
refused before installation starts: the running launcher would prevent pip
from replacing it and can leave a partially uninstalled package. Follow the
Expand Down