Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ src/
setup/ β€” First-run setup wizard
plugins/ β€” All plugins (adapters + services)
telegram/ β€” Telegram adapter (grammY)
slack/ β€” Slack adapter (@slack/bolt)
speech/ β€” TTS/STT (Edge TTS, Groq STT)
tunnel/ β€” Port forwarding (Cloudflare, ngrok, Bore, Tailscale)
security/ β€” Access control, rate limiting
Expand Down Expand Up @@ -227,3 +226,7 @@ Users who installed and ran older versions will have config, data, and storage i
- **CLI flags & commands**: Do not remove or rename existing commands/flags. If deprecating, keep them working and log a warning.
- **Plugin API**: When changing interfaces that plugins use, must maintain backward compat or bump major version.
- **General rule**: New code must work with old data/config without requiring user action. If migration is needed, run it automatically on startup.

## Local OpenACP Workspace

The `.openacp/` directory contains a local OpenACP workspace with secrets (bot tokens, API keys). Do not read, commit, or reference files inside it.
2 changes: 1 addition & 1 deletion docs/gitbook/getting-started/for-contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Welcome, and thank you for wanting to contribute! This guide gets your local dev

```bash
# Clone the repo
git clone https://github.com/openacp/OpenACP.git
git clone https://github.com/Open-ACP/OpenACP.git
cd OpenACP

# Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/troubleshooting/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ On next startup, OpenACP will create fresh sessions. If a session record in `<in

### How do I report a bug or request a feature?

Open an issue on the [OpenACP GitHub repository](https://github.com/OpenACP/OpenACP). Before filing, run `openacp doctor` and include its output. Enable debug logging with `OPENACP_DEBUG=true openacp start` and attach the relevant log section.
Open an issue on the [OpenACP GitHub repository](https://github.com/Open-ACP/OpenACP). Before filing, run `openacp doctor` and include its output. Enable debug logging with `OPENACP_DEBUG=true openacp start` and attach the relevant log section.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openacp/cli",
"version": "2026.424.1",
"version": "2026.424.2",
"private": true,
"license": "MIT",
"type": "module",
Expand All @@ -18,7 +18,7 @@
"openacp": "dist/cli.js"
},
"scripts": {
"build": "tsc && mkdir -p dist/data && cp src/data/registry-snapshot.json dist/data/",
"build": "tsx scripts/build.ts",
"build:publish": "tsx scripts/build-publish.ts",
"dev": "./scripts/dev-loop.sh",
"dev:loop": "./scripts/dev-loop.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openacp/plugin-sdk",
"version": "2026.424.1",
"version": "2026.424.2",
"description": "SDK for building OpenACP plugins β€” types, base classes, and testing utilities",
"type": "module",
"exports": {
Expand Down
33 changes: 33 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions scripts/build.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { mkdir, copyFile } from 'node:fs/promises'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
import { spawn } from 'node:child_process'

const root = dirname(dirname(fileURLToPath(import.meta.url)))

async function run(command: string, args: string[]): Promise<void> {
await new Promise<void>((resolve, reject) => {
const child = spawn(command, args, {
cwd: root,
stdio: 'inherit',
shell: process.platform === 'win32',
})
child.on('error', reject)
child.on('exit', (code) => {
if (code === 0) {
resolve()
} else {
reject(new Error(`${command} ${args.join(' ')} exited with code ${code ?? 'unknown'}`))
}
})
})
}

await run('tsc', [])
await mkdir(join(root, 'dist', 'data'), { recursive: true })
await copyFile(
join(root, 'src', 'data', 'registry-snapshot.json'),
join(root, 'dist', 'data', 'registry-snapshot.json'),
)
Loading