Task Types Definition (tasks/types.ts)

Raven · ui-web/src/features/tasks/types.ts · typescript · Apache-2.0
ui, ai, chat, dev-tools, lang:typescript, tag:tasks

TypeScript types for task entities in a conversational AI platform, including status, counts, and file attachments. Reuse when building task management UI or API contracts.

// Source: https://github.com/EverMind-AI/Raven | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/* What one task of a conversation is, as the panel holds it.
 *
 * A task is every unit of delegated work the session started: a spawned
 * subagent, or a `run_subagent_dag` graph (a playbook run is one of those).
 * The wire shapes are `tasks.list`'s own contract types, re-exported here
 * rather than hand-maintained -- see rpc-schema/openrpc.json's `TaskRow` /
 * `TaskNode`; the design is docs/specs/2026-09-18-desk-tasks-list-design.md.
 */

import type {
  DagNodeUpdatedEvent,
  DagRunCompletedEvent,
  DagRunReplannedEvent,
  DagRunStartedEvent,
  SubagentRow,
  SubagentStatusEvent,

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key