be1a6cf8de
Adds Sessions, a durable, run-aware stream primitive that scopes session.in / session.out records to a session (not a single run). Records survive run boundaries; reconnect-from-last-event-id is built in. Server foundation: - New /realtime/v1/sessions/:session/:io/append + /records routes - sessionRunManager + sessionsRepository + clickhouseSessionsRepository - mintRunToken for short-lived per-session tokens - s2Append retry-with-backoff + undici cause diagnostics - /api/v[12]/packets/* exempt from customer rate limits - BackgroundWorker schema gains taskKind enum (TASK, AGENT, SCHEDULED) - TaskRun.taskKind column + clickhouse 029_add_task_kind_to_task_runs_v2 Core types: - new sessionStreams, inputStreams, realtimeStreams packages in @trigger.dev/core - session-streams-api / realtime-streams-api surface Sessions dashboard UI (the primitive's own viewer): - /sessions index + detail routes - SessionsTable, SessionFilters, SessionStatus, CloseSessionDialog - AGENT/SCHEDULED filter in RunFilters + TaskTriggerSource Includes the sessions-primitive changeset.
75 lines
1.0 KiB
Plaintext
75 lines
1.0 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
postgres-data
|
|
# dependencies
|
|
node_modules
|
|
.pnp
|
|
.pnp.js
|
|
|
|
# testing
|
|
coverage
|
|
|
|
# next.js
|
|
.next/
|
|
out/
|
|
dist
|
|
packages/**/dist
|
|
|
|
# vendored bundles (generated during build)
|
|
packages/**/src/**/vendor
|
|
|
|
# Tailwind
|
|
apps/**/styles/tailwind.css
|
|
packages/**/styles/tailwind.css
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# local env files
|
|
.env
|
|
.env.*
|
|
.docker/*.env
|
|
!.env.example
|
|
|
|
# turbo
|
|
.turbo
|
|
.vercel
|
|
.cache
|
|
.env
|
|
.output
|
|
apps/**/public/build
|
|
.tests-container-id.txt
|
|
.sentryclirc
|
|
.buildt
|
|
|
|
**/tmp/
|
|
/test-results/
|
|
/playwright-report/
|
|
/playwright/.cache/
|
|
|
|
.cosine
|
|
.trigger
|
|
.tshy*
|
|
.yarn
|
|
*.tsbuildinfo
|
|
/packages/cli-v3/src/package.json
|
|
.husky
|
|
/packages/react-hooks/src/package.json
|
|
/packages/core/src/package.json
|
|
/packages/trigger-sdk/src/package.json
|
|
/packages/python/src/package.json
|
|
**/.claude/settings.local.json
|
|
.claude/architecture/
|
|
.claude/docs-plans/
|
|
.claude/review-guides/
|
|
.claude/scheduled_tasks.lock
|
|
.mcp.log
|
|
.mcp.json
|
|
.cursor/debug.log
|
|
ailogger-output.log |