pub struct TaskInfo {Show 21 fields
pub id: i64,
pub project_name: String,
pub title: String,
pub state: String,
pub priority: i64,
pub parent_id: Option<i64>,
pub tags: Option<Value>,
pub affected_files: Option<Value>,
pub branch: Option<String>,
pub worktree_path: Option<String>,
pub session_id: Option<String>,
pub skip_review: bool,
pub require_approval: bool,
pub sandbox_profile: Option<String>,
pub held: bool,
pub has_live_session: bool,
pub filed_by_project: Option<String>,
pub filed_by_session_id: Option<String>,
pub no_merge: bool,
pub created_at: i64,
pub updated_at: i64,
}Expand description
Task info for wire protocol (mirrors tasks_db::Task but protocol-owned).
Fields§
§id: i64§project_name: String§title: String§state: String§priority: i64§parent_id: Option<i64>§affected_files: Option<Value>§branch: Option<String>§worktree_path: Option<String>§session_id: Option<String>§skip_review: bool§require_approval: bool§sandbox_profile: Option<String>§held: bool§has_live_session: boolBest-effort hint: true when any session recorded on this task is currently running a chat turn. Populated server-side for the TaskList / TaskTree / TaskDetail responses; defaults to false for back-compat with older clients / serialised payloads.
filed_by_project: Option<String>Project the task was filed from — the calling session’s
project at task_create time. Distinct from
TaskInfo::project_name, which is where the work runs. Equal
for same-project filing, different for cross-project filing
(#750). None for tasks created before #758. See
tasks_db::Task::filed_by_project for full semantics.
filed_by_session_id: Option<String>Session id of the caller that ran task_create. None for
tasks created before #758, or when no calling session was
available.
no_merge: boolTrue when this task does not produce a code change (no_merge tasks).
The scheduler skips worktree creation and the merge ceremony; on
approval the task transitions directly to done. Defaults to
false for back-compat with older clients / serialised payloads.
created_at: i64§updated_at: i64