workctrl
v0.6.3
Published
WorkCtrl — Teleagent local runner daemon: manage project folders and run AI agents on local files.
Readme
@teleagent/runner
Local Teleagent runner for project folders that need local file, shell, static build, preview, and workflow tools.
Daemon mode (recommended) — manage many folders
Run the runner as a background daemon and pick project folders from a small local manager instead of launching one runner per folder by hand:
npm --workspace runner run login # once, stores credentials in ~/.teleagent
npm --workspace runner run daemon # or: node dist/daemon.js after a buildThen open http://127.0.0.1:8790 and click "+ เพิ่มโฟลเดอร์โปรเจค" to
choose a folder with the native OS dialog. The daemon supervises one child
runner per folder (1 project = 1 folder, no cross-folder access), restarts
crashed children, and keeps everything online. Enable/disable/remove folders
from the same page. The registry lives at ~/.teleagent/workspaces.json.
Security: adding a folder requires selecting it in the native OS dialog on the
machine — a web page cannot silently mount a folder. The control API binds to
127.0.0.1 only.
One-line start (single folder / headless)
npx @teleagent/runner --session <setup-session>The setup session can be a base64url JSON payload generated by Teleagent web. For existing setup files, run:
npx @teleagent/runner --config ./teleagent.config.envWithout --session or --config, the runner loads the normal .env,
config.env, and TELEAGENT_CONFIG_ENV files.
