@openacp/cli 0.2.5 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -181,28 +181,28 @@ Configure in `~/.openacp/config.json`:
181
181
  ## Project Structure
182
182
 
183
183
  ```
184
- openacp/
185
- packages/
186
- core/ @openacp/core
187
- src/
188
- main.ts → Entry point
189
- core.ts → OpenACPCore orchestrator
190
- config.ts → ConfigManager + Zod validation
191
- setup.ts → Interactive setup wizard
192
- session.ts → Session (prompt queue, auto-name)
193
- agent-instance.ts → ACP SDK integration
194
- channel.ts → ChannelAdapter abstract class
195
- types.ts Shared types
196
- adapters/
197
- telegram/ → @openacp/adapter-telegram
198
- src/
199
- adapter.ts → TelegramAdapter
200
- streaming.ts → Real-time message streaming
201
- commands.ts → Bot commands
202
- permissions.ts → Permission inline buttons
203
- assistant.ts → AI assistant topic
204
- formatting.ts → Markdown → Telegram HTML
205
- topics.ts → Forum topic management
184
+ src/
185
+ cli.ts → CLI entry point
186
+ main.ts Server startup
187
+ index.ts → Public API exports
188
+ core/
189
+ core.ts → OpenACPCore orchestrator
190
+ config.ts → ConfigManager + Zod validation
191
+ setup.ts → Interactive setup wizard
192
+ session.ts → Session (prompt queue, auto-name)
193
+ agent-instance.ts → ACP SDK integration
194
+ channel.ts → ChannelAdapter abstract class
195
+ plugin-manager.ts Plugin install/uninstall/load
196
+ types.ts → Shared types
197
+ adapters/
198
+ telegram/
199
+ adapter.ts → TelegramAdapter
200
+ streaming.ts → Real-time message streaming
201
+ commands.ts → Bot commands
202
+ permissions.ts → Permission inline buttons
203
+ assistant.ts → AI assistant topic
204
+ formatting.ts → Markdown → Telegram HTML
205
+ topics.ts → Forum topic management
206
206
  ```
207
207
 
208
208
  ## Roadmap
@@ -217,10 +217,10 @@ See [docs/specs/01-roadmap.md](docs/specs/01-roadmap.md) for details.
217
217
 
218
218
  ## Adding a Channel Adapter
219
219
 
220
- Extend `ChannelAdapter` from `@openacp/core`:
220
+ Extend `ChannelAdapter` from `@openacp/cli`:
221
221
 
222
222
  ```typescript
223
- import { ChannelAdapter } from '@openacp/core'
223
+ import { ChannelAdapter } from '@openacp/cli'
224
224
 
225
225
  class MyAdapter extends ChannelAdapter {
226
226
  async start() { /* connect to platform */ }
@@ -245,7 +245,7 @@ pnpm build
245
245
  Run locally:
246
246
 
247
247
  ```bash
248
- node packages/core/dist/main.js
248
+ pnpm start
249
249
  ```
250
250
 
251
251
  ## License