32 lines
888 B
Markdown
32 lines
888 B
Markdown
# Connect Local Pi Extension
|
|
|
|
Install with Pi:
|
|
|
|
```bash
|
|
pi install https://github-cli.corp.ebay.com/adsguidance/agentic-chat-connect.git
|
|
```
|
|
|
|
Prerequisite: [Pi coding agent](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) installed globally or in your environment.
|
|
|
|
## Commands
|
|
|
|
- `/connect <pairing-token> [project-name]` — pair this interactive session with the cloud platform
|
|
- `/disconnect` — close the bridge and clear stored reconnect credentials
|
|
- `/connected` — show whether the bridge socket is connected
|
|
|
|
Obtain a pairing token from Slack: `/pi local new`.
|
|
|
|
## Configuration
|
|
|
|
- `PI_PLATFORM_LOCAL_AGENT_WS_URL` — WebSocket URL (default `ws://127.0.0.1:3000/api/local-agent/ws`)
|
|
- Reconnect credentials are stored under `~/.pi-platform/connect-local/` (outside your repo)
|
|
|
|
## Development
|
|
|
|
From the extension repository:
|
|
|
|
```bash
|
|
npm run build
|
|
npm test
|
|
```
|