Package Exports
- @ebowwa/stack
- @ebowwa/stack/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ebowwa/stack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@ebowwa/stack
Cross-channel AI stack with shared memory.
Features
- Channels: SSH, Telegram (both optional)
- Cross-Channel Memory: Shared context between channels with permission controls
- AI Brain: GLM-powered message handling with tool execution
- Minimal API: Status and health endpoints
Installation
bun add @ebowwa/stackUsage
# Telegram only
TELEGRAM_BOT_TOKEN=xxx bun run @ebowwa/stack
# SSH only
SSH_CHAT_DIR=/root/.ssh-chat bun run @ebowwa/stack
# Both channels
SSH_CHAT_DIR=/root/.ssh-chat TELEGRAM_BOT_TOKEN=xxx bun run @ebowwa/stackEnvironment Variables
| Variable | Description |
|---|---|
SSH_CHAT_DIR |
SSH chat directory (enables SSH channel) |
TELEGRAM_BOT_TOKEN |
Telegram bot token (enables Telegram) |
TELEGRAM_CHAT_ID |
Allowed Telegram chat ID |
API_PORT |
API port (default: 8911) |
NODE_NAME |
Node name (default: stack) |
API Endpoints
GET /api/status- Stack statusGET /health- Health check
Commands
/status- Node status/memory <cmd>- Memory management (grant, revoke, list, clear)
License
MIT