disclaw/src
Nick Tabeling 62ea507974
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
fix(DIS-105): prevent fence closure from pushing chunks beyond 2000-char hard limit
The flush() helper now enforces the Discord hard limit by hard-splitting
any chunk that exceeds 2000 chars (e.g. when "\n```" was appended after
the soft-limit check). Also reserves 4 chars of overhead in the
soft-limit check when inside a fenced code block.

Adds a regression test that verifies no chunk exceeds 2000 chars even
when the fence closure is appended at the limit boundary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 10:13:58 +02:00
..
agent fix: add local type imports for AgentIdentity and DisclawConfig 2026-04-10 09:51:15 +02:00
commands fix(new-agent): add path traversal containment check 2026-04-09 11:19:28 +02:00
config fix: add local type imports for AgentIdentity and DisclawConfig 2026-04-10 09:51:15 +02:00
db refactor(DIS-108): extract DB schema to src/db/schema.sql (SSOT) 2026-04-09 17:50:14 +02:00
discord fix(DIS-105): prevent fence closure from pushing chunks beyond 2000-char hard limit 2026-04-10 10:13:58 +02:00
runtime fix(DIS-102): handle both slash styles for Windows path sanitization 2026-04-10 09:58:34 +02:00
bot.ts feat(DIS-101): introduce pino structured logger, remove console.* 2026-04-09 17:09:37 +02:00
index.ts feat(DIS-101): introduce pino structured logger, remove console.* 2026-04-09 17:09:37 +02:00
router.ts merge: integrate origin/main into phase-1/split-for-discord 2026-04-10 10:11:13 +02:00