-
Notifications
You must be signed in to change notification settings - Fork 68
Releases: dandacompany/deskrpg
Releases · dandacompany/deskrpg
DeskRPG 2026年5月29日
DeskRPG 2026年5月29日 — multi-adapter NPC system + runtime-schema hardening.
Highlights
Multi-adapter NPC system (Phase 1 + 2A)
NpcAdapterinterface +AdapterRegistry— NPCs can be backed by different agent backends, with socket-handler routing.- New CLI adapters (Claude Code, Codex, Gemini) via
CliBaseAdapter, backed by:SubprocessPool— concurrency + timeout management for spawned CLIs.WorkspaceManager— per-user persona/auth isolation (HOME) and per-project workspacecwd.
- DM Hub — cross-session context +
npc_sessionstable. - Provider management —
provider_resourcestable, CRUD API, health check, CLI OAuth,/providerspage, adapter-type selector inNpcHireModal, adapter info inNpcDialog. - Docker — optional CLI adapter installation + data volumes.
Runtime DB schema hardening
- Extracted the runtime drizzle schema into CommonJS modules (
src/db/schema.pg.cjs/schema.sqlite.cjs) consumed by the custom server. Fixes a container boot crash (Cannot find module) and adds a structural drift guard (schema-drift.test.ts) keeping the.cjsin lockstep with the canonicalschema.ts/schema-sqlite.ts. TaskManagernow writes dialect-correct timestamps — aDatefor PostgreSQL (drizzle pg-core date mode), an ISO string for SQLite — guarded bytask-manager-timestamps.test.ts.
Build & verification
npm run build: passing.- schema-drift + task-manager timestamp tests: passing.
- Staging deploy (
test.deskrpg.com, PostgreSQL): boots cleanly withrestarts=0,/api/health → {"status":"ok","db":"connected"}.
Deployment note (please read)
NPC CLI adapters run their backing agent CLI with elevated permissions (--dangerously-skip-permissions / --dangerously-bypass-approvals-and-sandbox / --approval-mode yolo) so NPCs can perform real tasks, driven by channel chat input. There is currently no per-request OS sandbox or command allowlist around these subprocesses. Run DeskRPG for trusted users only — registration is disabled by default and accounts are admin-provisioned. Per-request sandboxing / command allowlisting is a planned follow-up.
Distribution
- npm:
deskrpg@2026年5月29日 - Docker:
dandacompany/deskrpg:2026年5月29日,dandacompany/deskrpg:latest(linux/amd64 + linux/arm64)
🤖 Generated with Claude Code
Assets 2
v2026.4.9-2
What's New (since v2026.4.9-1)
Features
- Task Board UX — font size +2px, report modal on task click, auto-promote FIFO queue (PR #12)
- NPC busy detection — assigning to busy NPC lands in pending, auto-starts when idle
Fixes
- Auto-promote race condition — atomic
moveTaskwith status guard prevents double-promotion - Socket target fix — auto-promote NPC response streams to correct assigner socket
- COOKIE_SECURE default —
falsefor standalone HTTP localhost - OpenClaw EBUSY retry — retries RPC on file-lock errors
Tests
- 8 new tests: moveTask race guard, hasInProgressTask, getNextPendingTask, DEV_JWT_SECRET
Docker
docker pull dandacompany/deskrpg:2026年4月9日-2
npm
npm install -g deskrpg@2026年4月9日-2
Assets 2
v2026.4.9-1
What's New
Fixes
- Zero-config development startup —
git clone → npm install → npm run devjust works- Auto-detect SQLite mode when
DATABASE_URLis absent - Dev fallback
JWT_SECRETwhenNODE_ENV !== "production"
- Auto-detect SQLite mode when
- Task Board socket handlers —
task:create,task:movehandlers added to production server (PR #11) - NPC active state — Use
hasAgentfield for accurate NPC availability in Task Board
Refactor
- Extract
DEV_JWT_SECRETto shareddev-constants.tsmodule (eliminates duplication across 3 files)
Docker
docker pull dandacompany/deskrpg:2026年4月9日-1
npm
npm install -g deskrpg@2026年4月9日-1
Assets 2
v2026.4.9
What's New
Features
- Invite-only mode —
REGISTRATION_DISABLED=trueenv var disables public registration;deskrpg create-userCLI for admin user creation - Task backlog & kanban — 5-column kanban board with drag-and-drop, backlog task creation, NPC assignment modal
- Test deploy workflow —
npm run deploy:testfor staging deployment via MiniPC build
Fixes
- Fix missing gateway tables migration for PostgreSQL (
gateway_resources,gateway_shares,channel_gateway_bindings) - Fix Docker EACCES on gateway connect (
DESKRPG_HOME=/app/data) - Fix Docker Socket.io port forwarding (
INTERNAL_HOSTNAME=0.0.0.0) - Fix gateway options dropdown not updating after save
Docker
docker pull dandacompany/deskrpg:2026年4月9日
npm
npm install -g deskrpg@2026年4月9日
Assets 2
DeskRPG 2026年4月9日-3
DeskRPG v2026.4.9-3
Bug Fix
- COOKIE_SECURE default for HTTP localhost: Browsers reject
Set-CookiewithSecureflag on plain HTTP, breaking login/signup on standalone (non-Docker) localhost deployments. Now defaults toCOOKIE_SECURE=falseinserver.js,.envauto-generation, and.env.example.
Install / Upgrade
npx deskrpg@2026年4月9日-3
# or
docker pull dandacompany/deskrpg:2026年4月9日-3Verified
- ✅ Production build passed
- ✅ npm published:
deskrpg@2026年4月9日-3 - ✅ Docker Hub:
dandacompany/deskrpg:2026年4月9日-3(linux/amd64 + linux/arm64)
Assets 2
DeskRPG 2026年4月6日
DeskRPG 2026年4月6日
날짜 기반 버전 체계로 전환한 첫 릴리스.
New Features
- NPC 파일 첨부 — NPC 대화에서 텍스트 파일(txt, md, json, csv, pdf, xlsx, docx) 업로드 및 내용 분석
- 이미지 Vision — OpenClaw multimodal attachments를 통한 이미지 인식 (
{ type: "image", mimeType, fileName, content }포맷) - 마크다운 렌더링 — NPC 채팅 메시지에서 headings, bold, code blocks(복사 버튼 포함), blockquotes, lists, tables, links, images 렌더링
- DEBUG_CHAT 로깅 —
npm run dev:debug로 NPC 채팅 디버그 로그 확인
Improvements
- socket.io
maxHttpBufferSize20MB로 증가 (파일 첨부 지원) - 채널 만들기 페이지에서 NPC 생성 UI 제거 (게임맵 내 고용 버튼으로 통합)
- WebSocket disconnect 시 무음 메시지 드롭 방지
Dependencies
react-markdown,remark-gfm— 마크다운 렌더링sharp— 이미지 리사이즈pdf-parse,xlsx,mammoth— 문서 텍스트 추출
Artifacts
- npm:
deskrpg@2026年4月6日 - Docker:
dandacompany/deskrpg:2026年4月6日,dandacompany/deskrpg:latest
Assets 2
DeskRPG 0.2.3
DeskRPG 0.2.3
Bug Fixes
- Gateway pairing error handling: Pairing errors now log as
console.infowith structured debug output instead of noisyconsole.errorstack traces - Meeting markdown export: Fixed
participants.map is not a functioncrash when SQLite returns JSON columns as strings - Meeting export download: Changed from direct navigation to fetch+blob download to ensure auth headers are included
UI Improvements
- Export dropdown: Repositioned as a proper dropdown above the export button (was rendering off-screen to the right)
- Pairing status copy buttons: Icon-only buttons with
items-stretchalignment matching code block height - Button component: Now supports icon-only mode (
childrenoptional) with dedicated square padding
Development
- Added
npm run db:resetscript for SQLite database reinitialization
Install / Update
# npm npm install -g deskrpg@0.2.3 # Docker docker pull dandacompany/deskrpg:0.2.3
Assets 2
DeskRPG 0.2.2
DeskRPG 0.2.2
Bug Fixes
- Fix gateway connection for NPC creation —
getOrConnectGatewaynow queriesgateway_resourcestable viachannel_gateway_bindingsinstead of the deprecatedchannels.gatewayConfigfield - Fix builtin project tileset loading — Starter project "Dante Labs PJT" now populates
tileset_imagesandproject_tilesetsDB tables on creation - Fix player count not updating on leave — Derive from
channelPlayers.lengthinstead of separate state
Enhancements
- CLI improvements: Added
help,version,update,stopcommands;-p PORTand-ddaemon flags;uninstallauto-removes global package - OpenClaw gateway integration: Channel creation and NPC hire modal support gateway agent selection and connection testing
- i18n: Added gateway error codes and translations (en/ko/ja/zh)
Install / Update
npm install -g deskrpg@0.2.2
deskrpg init # first time only
deskrpg startDocker
docker pull dandacompany/deskrpg:0.2.2
Assets 2
DeskRPG 0.2.1
DeskRPG 0.2.1
Highlights
- switched NPC-facing gateway checks to real-time validation so the NPC roster and hire dialog no longer trust stale runtime state
- made the channel gateway agent listing call OpenClaw directly with the bound gateway credentials instead of reusing a disconnected RPC session
- kept channel map NPC visibility aligned with the current gateway validity check
Verification
npm run buildnpm pack --dry-run- targeted ESLint on gateway and NPC API paths
Notes
- npm publish is a manual step and is not included in the automated release flow
- Docker Hub images are published as
dandacompany/deskrpg:0.2.1anddandacompany/deskrpg:latest
Assets 2
DeskRPG 0.2.0
DeskRPG 0.2.0
Released: 2026年04月02日
Highlights
- Added user-owned OpenClaw gateway resources with explicit sharing and channel binding support.
- Added the
/gatewaysmanagement page for registering, testing, updating, and sharing reusable gateways. - Updated channel creation and channel settings to bind exactly one saved gateway or direct credentials.
- Improved OpenClaw pairing UX with request ID display and CLI approval guidance in connection flows.
- Fixed gateway cache invalidation so dev/runtime NPC flows follow saved channel gateway changes immediately.
- Fixed NPC agent creation to use isolated OpenClaw workspaces instead of a hard-coded
/workspacepath. - Widened the channel creation form to better fit gateway setup and pairing guidance.
Verification
npx eslint src/app/api/npcs/create-agent/route.ts src/app/api/npcs/[id]/route.ts src/app/api/channels/route.ts src/app/channels/create/page.tsx src/lib/rpc-registry.ts src/server/socket-handlers.ts dev-server.ts src/app/api/channels/[id]/gateway/route.tsgit diff --checknpm run buildnpm pack --dry-run
Notes
- This release completes the move to reusable gateway resources and resolves the remaining NPC creation issues in the OpenClaw flow.
- Gateway pairing remains a one-time server-to-gateway step, while channel access is controlled through user-owned gateway resources and sharing.