12 Commits

Author SHA1 Message Date
0xmrpeter
d42de77a11 Fixbug node 24 2026-03-20 16:01:37 +07:00
Leo Agent
638c425f29 merge upstream/develop: integrate tunnel/viewer features with session persistence 2026-03-20 13:16:43 +07:00
0xmrpeter
5cc81d8b2f chore: add husky for Git hooks and update package dependencies
- Added husky as a development dependency to manage Git hooks.
- Updated package.json to include a prepare script for husky.
- Updated pnpm-lock.yaml to reflect the addition of husky.
2026-03-20 13:11:10 +07:00
lngdao
24edd9c269 feat: add tunnel service with file/code viewer
Tunnel Service:
- Pluggable TunnelProvider interface with Cloudflare built-in
- Local HTTP server (Hono) on configurable port (default 3100)
- In-memory ViewerStore with TTL, path validation, 1MB limit
- Optional auth (Bearer token)
- Opt-in via config: tunnel.enabled (default: false)
- Env overrides: OPENACP_TUNNEL_ENABLED, OPENACP_TUNNEL_PORT,
  OPENACP_TUNNEL_PROVIDER

File/Code Viewer:
- Monaco Editor (VS Code engine) loaded from CDN
- Syntax highlighting for all languages
- Line numbers, minimap, word wrap, dark/light theme
- Line range highlighting via URL hash (#L42-L55)
- Copy button, file path breadcrumb

Diff Viewer:
- Monaco diff editor with side-by-side + inline toggle
- +/- change stats
- Dark/light theme

Integration:
- Core enriches tool_call/tool_update with viewerLinks metadata
- Telegram adapter renders clickable View file/View diff links
- ViewerLinks persist across tool updates (carried forward)
- File info extraction handles ACP diff content format
2026-03-20 12:26:25 +07:00
Leo Agent
057774e284 feat(session-store): add JsonFileSessionStore with auto-cleanup
Entire-Checkpoint: af64d46e784e
2026-03-20 12:13:22 +07:00
0xmrpeter
374f8138d5 feat(dependencies): add @zed-industries/claude-agent-acp package
- Included the @zed-industries/claude-agent-acp package version 0.22.2 in package.json and pnpm-lock.yaml to enhance functionality.
- Updated pnpm-lock.yaml to reflect the new dependency and its resolution details.
2026-03-20 10:12:43 +07:00
0xmrpeter
c82e2b98ed refactor: enhance logging and project structure for improved clarity and maintainability
- Updated logging system to use Pino for structured logging, including session-specific loggers.
- Refactored project structure in CLAUDE.md for better organization and clarity.
- Added new build scripts and commands in README.md for easier usage.
- Improved error handling and logging in core components and Telegram adapter.
- Introduced session log retention and cleanup functionality.
- Updated package.json and pnpm-lock.yaml to include new logging dependencies.
2026-03-19 21:32:18 +07:00
0xmrpeter
40777e75e2 chore: update package.json and pnpm-lock.yaml for dependency management and build configuration
- Added new dependencies: @agentclientprotocol/sdk, @inquirer/prompts, grammy, nanoid, and zod.
- Updated build scripts to use TypeScript compiler directly and modified entry points for the CLI.
- Removed outdated pnpm workspace and TypeScript configuration files.
- Adjusted tsup configuration for improved output structure and TypeScript declaration generation.
2026-03-19 19:03:47 +07:00
dylan
37794db457 feat: interactive CLI onboarding setup wizard
- Auto-detect agents from PATH and node_modules/.bin (prefer claude-agent-acp)
- Validate Telegram bot token and chat ID against API
- Streamlined 3-step setup: Telegram, Agents, Workspace
- Auto-save config and auto-start after setup
- Fix bin entry to use cli.js for proper command routing
- Update setup-guide.md and README.md to match new flow
- Security defaults applied automatically (editable in config)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 605d217b3192
2026-03-19 18:26:29 +07:00
0xmrpeter
31f3d5dd56 Update package.json to specify pnpm version 10.5.0 as the package manager. 2026-03-19 17:39:40 +07:00
0xmrpeter
d19032d779 Enhance OpenACP setup by adding support for plugin adapters and improving configuration management. Update .gitignore to exclude dist-publish, modify package.json to include versioning and new build scripts, and expand README with installation and plugin instructions. Refactor config schema to support dynamic channel configurations and improve main execution flow for better adapter registration. 2026-03-19 17:29:37 +07:00
0xmrpeter
f81d96892e Initialize OpenACP project with core structure, including package.json, pnpm workspace, and essential configurations. Add .gitignore, README, and TypeScript settings. Implement initial ACP documentation and roadmap. 2026-03-19 15:55:33 +07:00