Release notes
Helpdock 0.4.0
A minor release.
M6 Telegram, M7 AI and M8 API, webhooks and reports, and the code side of M9 that shipped with them: the ASVS L2 walk-through, Semgrep rules, the ZAP baseline, the SBOM, the user guides under
docs/guides/, and the load, onboarding and restore tooling.M6 Telegram
Telegram bots are a channel.
Add a bot on Channels › Telegram with its token, test it, route it to a department and set the webhook in one press. Customers write to the bot and get a ticket; agents answer from the ticket view, with files, and see whether Telegram accepted each reply, with Retry when it did not. Photos, documents, voice notes and locations arrive on the ticket, and
/startasks for English or Arabic. For development, long polling stands in for the webhook (TELEGRAM_POLLING).
M7 AI
Providers and models.
Connect a provider in the first-run wizard or on AI › Providers with an API key, subscription credentials or none for a local OpenAI-compatible server, stored encrypted and never returned; pick the chat model and the install’s one embedding model.
Knowledge.
Build a brand’s knowledge on AI › Knowledge from its articles, files, a crawl, Notion or Drive, each public or internal, on a schedule, with a sync log.
Agent assist and auto-reply.
Suggested replies with citations, summaries, suggested fields, translation, tone, and a draft article a Team Leader approves; customers get grounded answers with sources and a one-press handoff that pauses the assistant. Per channel, with a threshold, a handoff message and a system prompt in both languages.
Guardrails.
PII redaction before every model call, an injection filter, a daily and monthly budget, and every call logged with its tokens and cost. Voice notes get a transcript.
pnpm eval:aiscores the assistant on the fixture set.
M8 API, webhooks and reports
Scoped API keys and REST v1 on Admin › Developers, documented at
/api/docs.Signed outbound webhooks, with every delivery readable, replay, ping and secret rotation.
Reports over any range, by department, channel and agent, each exportable as CSV.
The System page: version, migrations, queues with Bull Board, every channel’s health, storage per brand, LLM spend and the product metrics.
Satisfaction surveys on the channel a ticket used.
Brand deletion with a 30-day grace and restore.
Fixes
The offline auto-unassign waits for the department to open, the first-run wizard generates the web push key pair, the widget names the agents online, staff socket events have per-person budgets, and signing out of one browser closes only that browser’s sockets.
Install authentication settings with write-only OAuth credentials, nonce-based admin styles, a restrictive browser permissions policy, and the Fastify HTTP/2 trailer-response denial of service patched.
Upgrade notes
Run the migrations (
0036–0047). Restart the worker so it picks up the Telegram, AI and report jobs.New optional keys:
TELEGRAM_POLLING,TELEGRAM_API_ROOT,KNOWLEDGE_CRAWL_RENDER,AUTH_SESSION_IDLE_MINUTES,AUTH_SESSION_MAX_HOURSandOUTBOX_CONCURRENCY. Their defaults are in.env.exampleand the configuration guide.From this release the image’s digest is signed; the release guide has the
cosign verifycommand.v0.4.0itself was signed on 2026-10-09, after it was published.