mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-29 09:33:55 +01:00
The runner copies the new whole lines of a running job's log file into job_log_chunks every 5 seconds and once at its end (one INSERT per copy, one DELETE of the oldest chunks once a job passes 256 KiB plus slack), and command-line runs do the same. The job page reads the log file when it is on its disk and the stored chunks otherwise, so a dashboard that does not share the runner's volume shows job logs. pruneJobs deletes the chunks with the job.
2737 lines
77 KiB
TypeScript
2737 lines
77 KiB
TypeScript
// Generated by scripts/gen-db-types.ts from a freshly migrated SQLite database: `pnpm db-types` rewrites it, `pnpm check` fails when it is stale.
|
|
// Every table is also keyed as `main.<table>`, for code that reads past the scoped views or writes a shadowed table (src/db/scoped.ts).
|
|
import type { Generated } from "kysely";
|
|
|
|
export interface Access {
|
|
login: string;
|
|
role: string;
|
|
added_by: string | null;
|
|
added_at: string | null;
|
|
note: string | null;
|
|
github_id: number | null;
|
|
}
|
|
|
|
export interface AccountUsageSamples {
|
|
account_id: string;
|
|
t: string;
|
|
five_hour_pct: number | null;
|
|
weekly_pct: number | null;
|
|
}
|
|
|
|
export interface Actions {
|
|
id: Generated<number>;
|
|
decision_id: string;
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
state: string;
|
|
comment_url: string | null;
|
|
reason: string | null;
|
|
created_at: string;
|
|
attempts: Generated<number>;
|
|
}
|
|
|
|
export interface ActivitySync {
|
|
repo: string;
|
|
number: number;
|
|
head: string | null;
|
|
updated_at: string | null;
|
|
read_at: string;
|
|
error: string | null;
|
|
retry_at: string | null;
|
|
}
|
|
|
|
export interface AgentRunItems {
|
|
run_id: number;
|
|
repo: string;
|
|
number: number;
|
|
}
|
|
|
|
export interface AgentRunTexts {
|
|
run_id: Generated<number>;
|
|
prompt: string | Uint8Array | null;
|
|
output: string | Uint8Array | null;
|
|
}
|
|
|
|
export interface AgentRunTools {
|
|
run_id: number;
|
|
seq: number;
|
|
tool: string;
|
|
args: string;
|
|
result_bytes: number | null;
|
|
is_error: Generated<number>;
|
|
started_at: string | null;
|
|
ended_at: string | null;
|
|
check_id: number | null;
|
|
}
|
|
|
|
export interface AgentRuns {
|
|
id: Generated<number>;
|
|
job_id: number | null;
|
|
step: string;
|
|
stage: number;
|
|
prompt_id: string;
|
|
prompt_version: string;
|
|
provider: string;
|
|
model: string;
|
|
account_id: string | null;
|
|
items: Generated<string>;
|
|
item_count: Generated<number>;
|
|
state: string;
|
|
started_at: string;
|
|
ended_at: string | null;
|
|
input_tokens: number | null;
|
|
output_tokens: number | null;
|
|
cache_read_tokens: number | null;
|
|
cache_write_tokens: number | null;
|
|
summary: string | null;
|
|
error: string | null;
|
|
progress: string | null;
|
|
cost_usd: number | null;
|
|
user_login: string | null;
|
|
harness: string | null;
|
|
reported_model: string | null;
|
|
}
|
|
|
|
export interface AreaLists {
|
|
repo: string;
|
|
version: number;
|
|
areas: string;
|
|
at: string;
|
|
by: string | null;
|
|
note: string | null;
|
|
}
|
|
|
|
export interface AreaProposals {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
kind: string;
|
|
areas: string;
|
|
created_at: string;
|
|
created_by: string | null;
|
|
state: Generated<string>;
|
|
decided_by: string | null;
|
|
decided_at: string | null;
|
|
}
|
|
|
|
export interface Audit {
|
|
at: string;
|
|
login: string;
|
|
action: string;
|
|
target: string | null;
|
|
details: string | null;
|
|
}
|
|
|
|
export interface AuthorIds {
|
|
login: string;
|
|
id: number;
|
|
}
|
|
|
|
export interface AuthorPermissions {
|
|
login: string;
|
|
repo: string;
|
|
permission: string | null;
|
|
checked_at: string | null;
|
|
failures: Generated<number>;
|
|
first_failure_at: string | null;
|
|
author_id: number | null;
|
|
}
|
|
|
|
export interface AutorepinOffs {
|
|
repo: string;
|
|
number: number;
|
|
off_at: string;
|
|
}
|
|
|
|
export interface Autorepins {
|
|
repo: string;
|
|
number: number;
|
|
ref_repo: string;
|
|
ref_number: number;
|
|
login: string;
|
|
github_id: number;
|
|
requested_at: string;
|
|
state: string;
|
|
sha: string | null;
|
|
head: string | null;
|
|
task_id: number | null;
|
|
tries: Generated<number>;
|
|
tried_at: string | null;
|
|
to_head: string | null;
|
|
result: string | null;
|
|
done_at: string | null;
|
|
notice: string | null;
|
|
ref_branch: string | null;
|
|
}
|
|
|
|
export interface BuildArtifacts {
|
|
task_id: number;
|
|
name: string;
|
|
bytes: number;
|
|
content_type: string;
|
|
file: string;
|
|
}
|
|
|
|
export interface BuildEnvs {
|
|
id: string;
|
|
label: string;
|
|
kind: string;
|
|
enabled: Generated<number>;
|
|
slots: number;
|
|
confidential: Generated<number>;
|
|
confidential_since: string | null;
|
|
confidential_online_at: string | null;
|
|
key_hash: string;
|
|
capabilities: string | null;
|
|
reported_slots: number | null;
|
|
version: string | null;
|
|
paused_reason: string | null;
|
|
last_seen_at: string | null;
|
|
created_at: string;
|
|
updated_by: string | null;
|
|
updated_at: string | null;
|
|
settings: string | null;
|
|
health: string | null;
|
|
health_at: string | null;
|
|
}
|
|
|
|
export interface BuildPodRuns {
|
|
task_id: Generated<number>;
|
|
env_id: string;
|
|
key_hash: string;
|
|
pvc: string;
|
|
stage: Generated<number>;
|
|
pod: string | null;
|
|
pod_created_at: string | null;
|
|
prepared: string | null;
|
|
results: Generated<string>;
|
|
failed: string | null;
|
|
ran: Generated<number>;
|
|
logged: Generated<string>;
|
|
create_tries: Generated<number>;
|
|
failing_since: string | null;
|
|
retry_at: string | null;
|
|
started_at: string;
|
|
}
|
|
|
|
export interface BuildTaskLogs {
|
|
task_id: number;
|
|
seq: number;
|
|
step: string;
|
|
chunk: string;
|
|
}
|
|
|
|
export interface BuildTasks {
|
|
id: Generated<number>;
|
|
job_id: number | null;
|
|
step: string;
|
|
repo: string;
|
|
number: number | null;
|
|
head_sha: string;
|
|
base_sha: string | null;
|
|
requires: string;
|
|
priority: Generated<number>;
|
|
plan: string;
|
|
state: string;
|
|
env_id: string | null;
|
|
attempts: Generated<number>;
|
|
queued_at: string;
|
|
claimed_at: string | null;
|
|
started_at: string | null;
|
|
ended_at: string | null;
|
|
heartbeat_at: string | null;
|
|
cancel_requested_at: string | null;
|
|
results: Generated<string>;
|
|
summary: string | null;
|
|
log_bytes: Generated<number>;
|
|
artifact_bytes: Generated<number>;
|
|
patch: string | null;
|
|
warm_key: string | null;
|
|
warm_role: string | null;
|
|
sandbox_env: string | null;
|
|
}
|
|
|
|
export interface ChangeSeq {
|
|
topic: string;
|
|
seq: number;
|
|
at: string | null;
|
|
}
|
|
|
|
export interface CiFixes {
|
|
repo: string;
|
|
number: number;
|
|
head: string;
|
|
to_head: string | null;
|
|
kind: string;
|
|
state: string;
|
|
reason: string | null;
|
|
files: string | null;
|
|
attempt: number;
|
|
task_id: number | null;
|
|
runs: string | null;
|
|
created_at: string;
|
|
session: string | null;
|
|
patch: string | null;
|
|
lint_task: number | null;
|
|
lint_round: number | null;
|
|
lint_state: string | null;
|
|
}
|
|
|
|
export interface CiRunApprovals {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
cross_repo: Generated<number>;
|
|
runs: string;
|
|
approved: string;
|
|
reread: Generated<number>;
|
|
failed: string;
|
|
checked_at: string;
|
|
approved_at: string | null;
|
|
}
|
|
|
|
export interface Classifications {
|
|
repo: string;
|
|
number: number;
|
|
classifier: string;
|
|
run_id: string;
|
|
at: string;
|
|
type_label: string | null;
|
|
want: string | null;
|
|
reference: string | null;
|
|
flags: string | null;
|
|
dup_of: number | null;
|
|
reason: string | null;
|
|
probs: string | null;
|
|
input_hash: string | null;
|
|
}
|
|
|
|
export interface ClaudeAccountStatus {
|
|
account_id: string;
|
|
logged_in: number;
|
|
method: string | null;
|
|
plan: string | null;
|
|
login_expires_at: string | null;
|
|
checked_at: string;
|
|
}
|
|
|
|
export interface ClaudeAccountTokens {
|
|
account_id: string;
|
|
set_at: string;
|
|
rejected_at: string | null;
|
|
}
|
|
|
|
export interface ClaudeAccounts {
|
|
id: string;
|
|
label: string;
|
|
enabled: Generated<number>;
|
|
max_concurrent: Generated<number>;
|
|
updated_by: string | null;
|
|
updated_at: string | null;
|
|
}
|
|
|
|
export interface Comments {
|
|
repo: string;
|
|
number: number;
|
|
id: string;
|
|
kind: string | null;
|
|
author: string | null;
|
|
created_at: string | null;
|
|
body: string | null;
|
|
review_state: string | null;
|
|
commit_oid: string | null;
|
|
counted: number | null;
|
|
author_association: string | null;
|
|
mentions_pipeline: Generated<number>;
|
|
url: string | null;
|
|
}
|
|
|
|
export interface ConflictMerges {
|
|
repo: string;
|
|
number: number;
|
|
from_head: string;
|
|
to_head: string | null;
|
|
base_sha: string | null;
|
|
state: string;
|
|
reason: string | null;
|
|
files: string | null;
|
|
attempt: number;
|
|
created_at: string;
|
|
session: string | null;
|
|
patch: string | null;
|
|
lint_task: number | null;
|
|
lint_round: number | null;
|
|
own_diff: string | null;
|
|
own_delta: string | null;
|
|
}
|
|
|
|
export interface ConversationCards {
|
|
id: Generated<number>;
|
|
turn_id: number;
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
params: string;
|
|
text: string | null;
|
|
description: string;
|
|
state: Generated<string>;
|
|
result: string | null;
|
|
result_url: string | null;
|
|
error: string | null;
|
|
acted_by: string | null;
|
|
acted_at: string | null;
|
|
edited_by: string | null;
|
|
edited_at: string | null;
|
|
seen: string | null;
|
|
choice_id: string | null;
|
|
queued_at: string | null;
|
|
queue_args: string | null;
|
|
dispute_by: string | null;
|
|
dispute_reason: string | null;
|
|
dispute_at: string | null;
|
|
}
|
|
|
|
export interface ConversationIncludes {
|
|
repo: string;
|
|
number: number;
|
|
source: string;
|
|
by: string;
|
|
at: string;
|
|
sent_turn: number | null;
|
|
}
|
|
|
|
export interface ConversationTurns {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
login: string;
|
|
at: string;
|
|
body: string;
|
|
block: string;
|
|
status: string | null;
|
|
error: string | null;
|
|
notes: string | null;
|
|
seq: number | null;
|
|
claim: string | null;
|
|
claimed_at: string | null;
|
|
progress: string | null;
|
|
}
|
|
|
|
export interface Conversations {
|
|
repo: string;
|
|
number: number;
|
|
item_block: string;
|
|
item_sig: string;
|
|
created_at: string;
|
|
created_by: string;
|
|
}
|
|
|
|
export interface DecisionChoices {
|
|
id: string;
|
|
decision_id: string;
|
|
repo: string;
|
|
number: number;
|
|
turn_id: number | null;
|
|
stamp: string;
|
|
seen: string | null;
|
|
source: string;
|
|
drafts: string;
|
|
added: Generated<string>;
|
|
pick: string;
|
|
state: Generated<string>;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface DecisionClaims {
|
|
decision_id: string;
|
|
login: string;
|
|
since: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface DecisionComments {
|
|
id: string;
|
|
decision_id: string;
|
|
login: string;
|
|
at: string;
|
|
body: string;
|
|
via: string | null;
|
|
}
|
|
|
|
export interface DecisionItems {
|
|
repo: string;
|
|
number: number;
|
|
decision_id: string;
|
|
}
|
|
|
|
export interface DecisionOpinions {
|
|
id: string;
|
|
decision_id: string;
|
|
login: string;
|
|
option: string | null;
|
|
note: string | null;
|
|
at: string;
|
|
permission: string;
|
|
retracted_at: string | null;
|
|
via: string | null;
|
|
}
|
|
|
|
export interface DecisionPrepares {
|
|
decision_id: string;
|
|
at: string;
|
|
manual: Generated<number>;
|
|
}
|
|
|
|
export interface Decisions {
|
|
id: string;
|
|
kind: string;
|
|
repo: string | null;
|
|
number: number | null;
|
|
items: string | null;
|
|
question: string;
|
|
context: string | null;
|
|
facts: string | null;
|
|
options: string;
|
|
recommended: string | null;
|
|
recommended_reason: string | null;
|
|
recommended_by: string | null;
|
|
prepared_at: string | null;
|
|
prepared_head: string | null;
|
|
prepared_discussion: string | null;
|
|
prepare_failed_head: string | null;
|
|
recommend_failures: number | null;
|
|
recommend_failed_at: string | null;
|
|
public_text: string | null;
|
|
asked_at: string;
|
|
asked_by: string | null;
|
|
docket: string | null;
|
|
answer: string | null;
|
|
answer_note: string | null;
|
|
exceptions: string | null;
|
|
answered_by: string | null;
|
|
answered_at: string | null;
|
|
applied_at: string | null;
|
|
summary: string | null;
|
|
summary_by: string | null;
|
|
summary_at: string | null;
|
|
adopted_opinion: string | null;
|
|
snoozed_by: string | null;
|
|
snoozed_at: string | null;
|
|
exec_state: string | null;
|
|
exec_reason: string | null;
|
|
dispute_by: string | null;
|
|
dispute_reason: string | null;
|
|
dispute_at: string | null;
|
|
answered_role: string | null;
|
|
prepare_requested_at: string | null;
|
|
}
|
|
|
|
export interface DiffFacts {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
reasons: string;
|
|
lines: number;
|
|
pending: number;
|
|
last_read: number | null;
|
|
}
|
|
|
|
export interface DiscordAlertMsgs {
|
|
decision_id: string;
|
|
user_hash: string;
|
|
sealed: string | null;
|
|
choices_id: string | null;
|
|
sent_at: string;
|
|
}
|
|
|
|
export interface DiscordAlerts {
|
|
user_hash: string;
|
|
sealed: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface DiscordCategories {
|
|
category_id: string;
|
|
guild_id: string;
|
|
name: string | null;
|
|
position: number | null;
|
|
}
|
|
|
|
export interface DiscordChannels {
|
|
channel_id: string;
|
|
guild_id: string;
|
|
guild_name: string | null;
|
|
name: string | null;
|
|
watched: Generated<number>;
|
|
parent_id: string | null;
|
|
default_repo: string | null;
|
|
position: number | null;
|
|
category_id: string | null;
|
|
}
|
|
|
|
export interface DiscordFiled {
|
|
repo: string;
|
|
number: number;
|
|
login: string;
|
|
reporter: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface DiscordLinkCodes {
|
|
code_hash: string;
|
|
login: string;
|
|
expires_at: string;
|
|
}
|
|
|
|
export interface DiscordLinks {
|
|
user_hash: string;
|
|
login: string;
|
|
linked_at: string;
|
|
}
|
|
|
|
export interface DiscordMentions {
|
|
msg_hash: string;
|
|
channel_hash: string;
|
|
repo: string;
|
|
number: number;
|
|
sealed: string;
|
|
signal: Generated<number>;
|
|
}
|
|
|
|
export interface DiscordReplies {
|
|
ping_hash: string;
|
|
quoted_hash: string | null;
|
|
channel_hash: string;
|
|
sealed: string;
|
|
}
|
|
|
|
export interface DiscordStatus {
|
|
id: Generated<number>;
|
|
state: string;
|
|
detail: string | null;
|
|
at: string;
|
|
}
|
|
|
|
export interface DownloadDeltas {
|
|
asset_id: number;
|
|
t: string;
|
|
span: string;
|
|
delta: number;
|
|
}
|
|
|
|
export interface DupeCarries {
|
|
decision_id: string;
|
|
repo: string;
|
|
number: number;
|
|
state: string;
|
|
attempts: Generated<number>;
|
|
outcome: string | null;
|
|
to_head: string | null;
|
|
from_head: string | null;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface DupeComparisons {
|
|
repo: string;
|
|
key: string;
|
|
kind: string;
|
|
members: string;
|
|
hash: string;
|
|
kept: number;
|
|
source: string;
|
|
model: string | null;
|
|
reason: string | null;
|
|
result: string | null;
|
|
error: string | null;
|
|
attempts: Generated<number>;
|
|
at: string;
|
|
heads: string | null;
|
|
summary: string | null;
|
|
why: string | null;
|
|
sizes: string | null;
|
|
}
|
|
|
|
export interface DupeGroupFails {
|
|
decision_id: string;
|
|
number: number;
|
|
fails: number;
|
|
}
|
|
|
|
export interface DupeGroupItems {
|
|
decision_id: string;
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
role: string;
|
|
target: number | null;
|
|
detail: string | null;
|
|
base_role: string;
|
|
base_target: number | null;
|
|
head: string | null;
|
|
}
|
|
|
|
export interface DupeGroupPosts {
|
|
decision_id: string;
|
|
number: number;
|
|
step: string;
|
|
url: string | null;
|
|
at: string;
|
|
}
|
|
|
|
export interface DupeGroupTexts {
|
|
decision_id: string;
|
|
option: string;
|
|
number: number;
|
|
step: string;
|
|
text: string;
|
|
}
|
|
|
|
export interface DupeGroups {
|
|
decision_id: string;
|
|
repo: string;
|
|
source: string;
|
|
applied_answer: string | null;
|
|
}
|
|
|
|
export interface DuplicatePairs {
|
|
repo: string;
|
|
a: number;
|
|
b: number;
|
|
a_hash: string;
|
|
b_hash: string;
|
|
similarity: number;
|
|
jev_p: number | null;
|
|
haiku: string | null;
|
|
verdict: string | null;
|
|
canonical: number | null;
|
|
by_operator: Generated<number>;
|
|
created_at: string;
|
|
checked_at: string | null;
|
|
}
|
|
|
|
export interface DuplicateScans {
|
|
repo: string;
|
|
number: number;
|
|
hash: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface EverTrackedRepos {
|
|
name: string;
|
|
}
|
|
|
|
export interface FastTrack {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
added_by: string;
|
|
added_at: string;
|
|
weight: Generated<number>;
|
|
}
|
|
|
|
export interface FinalReviews {
|
|
repo: string | null;
|
|
number: number | null;
|
|
head_oid: string | null;
|
|
run_id: string | null;
|
|
at: string | null;
|
|
model: string | null;
|
|
verdict: string | null;
|
|
reason: string | null;
|
|
fixes: string | null;
|
|
risks: string | null;
|
|
sure: number | null;
|
|
mode: string | null;
|
|
base_head: string | null;
|
|
seen_at: string | null;
|
|
disc_hash: string | null;
|
|
}
|
|
|
|
export interface FixAttempts {
|
|
repo: string;
|
|
number: number;
|
|
main_sha: string;
|
|
text_hash: string;
|
|
state: string;
|
|
round: Generated<number>;
|
|
files: string | null;
|
|
crate: string | null;
|
|
crate_dir: string | null;
|
|
patch: string | null;
|
|
test_patch: string | null;
|
|
head_task_id: number | null;
|
|
base_task_id: number | null;
|
|
retries: Generated<number>;
|
|
push_tries: Generated<number>;
|
|
summary: string | null;
|
|
pr_url: string | null;
|
|
reason: string | null;
|
|
created_at: string;
|
|
updated_at: string;
|
|
size: string | null;
|
|
format_diff: string | null;
|
|
}
|
|
|
|
export interface Fixups {
|
|
repo: string;
|
|
number: number;
|
|
from_head: string;
|
|
to_head: string | null;
|
|
state: string;
|
|
reason: string | null;
|
|
files: string | null;
|
|
attempt: number;
|
|
created_at: string;
|
|
source: string | null;
|
|
patch: string | null;
|
|
lint_task: number | null;
|
|
lint_round: number | null;
|
|
lint_state: string | null;
|
|
carry_decision: string | null;
|
|
operator_fix: number | null;
|
|
changes: string | null;
|
|
session: string | null;
|
|
}
|
|
|
|
export interface FlowSummary {
|
|
repo: string;
|
|
counts: string;
|
|
counted_at: string;
|
|
stale: Generated<number>;
|
|
decisions_sig: string | null;
|
|
}
|
|
|
|
export interface GithubApp {
|
|
id: Generated<number>;
|
|
app_id: string | null;
|
|
slug: string | null;
|
|
keys_enc: string | null;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface GithubAppStates {
|
|
state: string;
|
|
login: string;
|
|
session_hash: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface GithubCommands {
|
|
comment_id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
pr: number;
|
|
command: string;
|
|
weight: number | null;
|
|
login: string;
|
|
github_id: number;
|
|
created_at: string;
|
|
requested_at: string;
|
|
state: string;
|
|
result: string | null;
|
|
done_at: string | null;
|
|
tried_at: string | null;
|
|
retries: Generated<number>;
|
|
allowed: number | null;
|
|
reply: string | null;
|
|
ref_repo: string | null;
|
|
ref_number: number | null;
|
|
ref_branch: string | null;
|
|
}
|
|
|
|
export interface GithubSetupLinks {
|
|
id: string;
|
|
org: string;
|
|
created_by: string;
|
|
hash: string;
|
|
created_at: string;
|
|
expires_at: string;
|
|
revoked_at: string | null;
|
|
used_at: string | null;
|
|
used_by: string | null;
|
|
installation_id: number | null;
|
|
}
|
|
|
|
export interface HeldFollowups {
|
|
id: Generated<number>;
|
|
card_id: number;
|
|
choice_id: string | null;
|
|
decision_id: string | null;
|
|
answer_seq: number | null;
|
|
preapproval_id: number | null;
|
|
repo: string;
|
|
number: number;
|
|
issue_repo: string;
|
|
title: string;
|
|
body: string;
|
|
by: string;
|
|
at: string;
|
|
state: Generated<string>;
|
|
issue_number: number | null;
|
|
url: string | null;
|
|
reason: string | null;
|
|
attempts: Generated<number>;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface ItemActivity {
|
|
repo: string;
|
|
number: number;
|
|
id: string;
|
|
kind: string;
|
|
at: string;
|
|
actor: string | null;
|
|
label: string | null;
|
|
before_oid: string | null;
|
|
after_oid: string | null;
|
|
}
|
|
|
|
export interface ItemAreas {
|
|
repo: string;
|
|
number: number;
|
|
area: string | null;
|
|
source: string;
|
|
confidence: number | null;
|
|
list_version: number;
|
|
at: string;
|
|
}
|
|
|
|
export interface ItemChanges {
|
|
seq: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
}
|
|
|
|
export interface ItemEmbeddings {
|
|
repo: string;
|
|
number: number;
|
|
model: string;
|
|
hash: string;
|
|
vec: Uint8Array;
|
|
at: string;
|
|
}
|
|
|
|
export interface ItemPlans {
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
head: string | null;
|
|
state: string;
|
|
item_state: string | null;
|
|
actions: string;
|
|
wait: string | null;
|
|
reasons: string;
|
|
note: string | null;
|
|
view: Generated<string>;
|
|
planned_at: string;
|
|
}
|
|
|
|
export interface ItemPlansRev {
|
|
id: Generated<number>;
|
|
rev: number;
|
|
}
|
|
|
|
export interface ItemPriority {
|
|
repo: string;
|
|
number: number;
|
|
text_hash: string;
|
|
impact: string;
|
|
jev_impact: string | null;
|
|
jev_p: number | null;
|
|
haiku_impact: string | null;
|
|
score: number;
|
|
model: string;
|
|
reason: string | null;
|
|
at: string;
|
|
}
|
|
|
|
export interface ItemRank {
|
|
repo: string;
|
|
number: number;
|
|
score: number;
|
|
breakdown: string;
|
|
computed_at: string;
|
|
}
|
|
|
|
export interface ItemReads {
|
|
repo: string;
|
|
number: number;
|
|
synced_at: string;
|
|
}
|
|
|
|
export interface ItemSettled {
|
|
run: string;
|
|
repo: string;
|
|
number: number;
|
|
status: string;
|
|
label: string | null;
|
|
source: string | null;
|
|
top: number | null;
|
|
jev_label: string | null;
|
|
haiku_label: string | null;
|
|
flags: string;
|
|
security: number;
|
|
needs_decision: number;
|
|
referee_label: string | null;
|
|
referee_sure: number | null;
|
|
referee_reason: string | null;
|
|
referee_final: Generated<number>;
|
|
}
|
|
|
|
export interface ItemSettledDirty {
|
|
run_id: string;
|
|
repo: string;
|
|
number: number;
|
|
n: Generated<number>;
|
|
}
|
|
|
|
export interface ItemSettledRuns {
|
|
run: string;
|
|
refreshed_at: string;
|
|
}
|
|
|
|
export interface ItemStage {
|
|
repo: string;
|
|
number: number;
|
|
stage: string;
|
|
at: string;
|
|
reviewed: Generated<number>;
|
|
}
|
|
|
|
export interface Items {
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
state: string;
|
|
title: string | null;
|
|
body: string | null;
|
|
url: string | null;
|
|
author: string | null;
|
|
author_type: string | null;
|
|
author_association: string | null;
|
|
created_at: string | null;
|
|
updated_at: string | null;
|
|
closed_at: string | null;
|
|
merged_at: string | null;
|
|
merged_by: string | null;
|
|
state_reason: string | null;
|
|
is_draft: number | null;
|
|
labels: string | null;
|
|
assignees: string | null;
|
|
comments_count: number | null;
|
|
reactions_count: number | null;
|
|
additions: number | null;
|
|
deletions: number | null;
|
|
changed_files: number | null;
|
|
head_ref: string | null;
|
|
head_oid: string | null;
|
|
head_repo: string | null;
|
|
base_ref: string | null;
|
|
maintainer_can_modify: number | null;
|
|
mergeable: string | null;
|
|
review_decision: string | null;
|
|
ci_state: string | null;
|
|
closing_issues: string | null;
|
|
detail_level: string | null;
|
|
embed_hash: string | null;
|
|
class_hash: string | null;
|
|
class_scheme: string | null;
|
|
text_refs: string | null;
|
|
author_id: number | null;
|
|
}
|
|
|
|
export interface JobItems {
|
|
id: Generated<number>;
|
|
job_id: number;
|
|
repo: string;
|
|
number: number;
|
|
outcome: string | null;
|
|
at: string;
|
|
ref: string | null;
|
|
}
|
|
|
|
export interface JobLogChunks {
|
|
job_id: number;
|
|
seq: number;
|
|
start: number;
|
|
chunk: string;
|
|
}
|
|
|
|
export interface Jobs {
|
|
id: Generated<number>;
|
|
step: string;
|
|
params: string;
|
|
requested_by: string;
|
|
requested_at: string;
|
|
state: string;
|
|
started_at: string | null;
|
|
ended_at: string | null;
|
|
progress: string | null;
|
|
summary: string | null;
|
|
error: string | null;
|
|
usage: string | null;
|
|
log_path: string | null;
|
|
pid: number | null;
|
|
cancel_requested_at: string | null;
|
|
cancel_requested_by: string | null;
|
|
repo: string | null;
|
|
items: number | null;
|
|
acted: number | null;
|
|
resumes: Generated<number>;
|
|
lease_skips: number | null;
|
|
lease_skip_keys: string | null;
|
|
}
|
|
|
|
export interface LaneNext {
|
|
lane: string;
|
|
total: number;
|
|
items: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface LivenessItems {
|
|
repo: string;
|
|
number: number;
|
|
kind: string;
|
|
verdict: string;
|
|
cause: string;
|
|
state: string;
|
|
wait: string | null;
|
|
phase: string;
|
|
since: string;
|
|
checked_at: string;
|
|
}
|
|
|
|
export interface MainCi {
|
|
repo: string;
|
|
head_sha: string;
|
|
branch: string;
|
|
state: string;
|
|
failing: string;
|
|
checks: string;
|
|
committed_at: string | null;
|
|
headline: string | null;
|
|
first_seen_at: string;
|
|
state_changed_at: string;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface MainFixes {
|
|
repo: string;
|
|
head_sha: string;
|
|
check: string;
|
|
verdict: string;
|
|
state: string;
|
|
reason: string | null;
|
|
run_id: number | null;
|
|
run_url: string | null;
|
|
excerpt: string | null;
|
|
decision_id: string | null;
|
|
issue_number: number | null;
|
|
pr_number: number | null;
|
|
pr_url: string | null;
|
|
created_at: string;
|
|
updated_at: string;
|
|
session: string | null;
|
|
patch: string | null;
|
|
files: string | null;
|
|
lint_task: number | null;
|
|
lint_round: number | null;
|
|
lint_state: string | null;
|
|
}
|
|
|
|
export interface McpTokens {
|
|
id: Generated<number>;
|
|
login: string;
|
|
token_hash: string;
|
|
label: string | null;
|
|
can_answer: Generated<number>;
|
|
created_at: string;
|
|
last_used_at: string | null;
|
|
expires_at: string;
|
|
can_run: Generated<number>;
|
|
idle_claim_at: number | null;
|
|
idle_tiers: string | null;
|
|
idle_repos: string | null;
|
|
kind: Generated<string>;
|
|
machine: string | null;
|
|
can_agent: Generated<number>;
|
|
}
|
|
|
|
export interface MergeBatchPrs {
|
|
batch_id: number;
|
|
number: number;
|
|
head_oid: string;
|
|
position: number;
|
|
}
|
|
|
|
export interface MergeBatches {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
branch: string;
|
|
state: string;
|
|
base_sha: string;
|
|
commit_sha: string;
|
|
parent_id: number | null;
|
|
task_id: number | null;
|
|
retries: Generated<number>;
|
|
pr_number: number | null;
|
|
pr_url: string | null;
|
|
summary: string | null;
|
|
created_at: string;
|
|
updated_at: string;
|
|
fork: string | null;
|
|
merge_sha: string | null;
|
|
build_state: string | null;
|
|
build_tries: Generated<number>;
|
|
ci_reruns: Generated<number>;
|
|
ci_rerun_at: string | null;
|
|
}
|
|
|
|
export interface MergeHolds {
|
|
repo: string;
|
|
number: number;
|
|
held_by: string;
|
|
held_at: string;
|
|
}
|
|
|
|
export interface Merges {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
run_id: string;
|
|
at: string;
|
|
path: string;
|
|
method: string | null;
|
|
outcome: string;
|
|
reason: string | null;
|
|
ci: string | null;
|
|
mergeable: string | null;
|
|
}
|
|
|
|
export interface ModelChecks {
|
|
id: Generated<number>;
|
|
run_id: number | null;
|
|
step: string;
|
|
repo: string;
|
|
number: number | null;
|
|
head: string;
|
|
command: string;
|
|
crate: string | null;
|
|
test_name: string | null;
|
|
task_id: number | null;
|
|
outcome: string | null;
|
|
started_at: string;
|
|
ended_at: string | null;
|
|
}
|
|
|
|
export interface ModelWaits {
|
|
id: Generated<number>;
|
|
provider: string;
|
|
class: number;
|
|
job_id: number | null;
|
|
step: string;
|
|
repo: string | null;
|
|
since: number;
|
|
seen_at: number;
|
|
eligible: Generated<number>;
|
|
level: Generated<number>;
|
|
}
|
|
|
|
export interface NightlyBench {
|
|
repo: string;
|
|
bench: string;
|
|
sha: string;
|
|
at: string;
|
|
value: number;
|
|
unit: string;
|
|
}
|
|
|
|
export interface NightlyResults {
|
|
run_id: number;
|
|
check_id: string;
|
|
task_id: number | null;
|
|
state: string;
|
|
summary: string | null;
|
|
issue_number: number | null;
|
|
decision_id: string | null;
|
|
finished_at: string | null;
|
|
}
|
|
|
|
export interface NightlyRuns {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
sha: string;
|
|
started_at: string;
|
|
state: Generated<string>;
|
|
}
|
|
|
|
export interface NightlySelection {
|
|
repo: string;
|
|
check_id: string;
|
|
enabled: Generated<number>;
|
|
params: string | null;
|
|
}
|
|
|
|
export interface OauthStates {
|
|
state: string;
|
|
verifier: string;
|
|
return_to: string | null;
|
|
identity: string | null;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface OperatorFixups {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
from_head: string;
|
|
instructions: string;
|
|
by: string;
|
|
at: string;
|
|
state: Generated<string>;
|
|
preapproval_id: number | null;
|
|
}
|
|
|
|
export interface OpusCarriedFixes {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
from_head: string;
|
|
file: string;
|
|
change: string;
|
|
outcome: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface OpusReviewHistory {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
at: string;
|
|
model: string | null;
|
|
mode: string | null;
|
|
verdict: string | null;
|
|
sure: number | null;
|
|
reason: string | null;
|
|
risks: string | null;
|
|
fixes: string | null;
|
|
summary: string | null;
|
|
why: string | null;
|
|
public_review: string | null;
|
|
claims: string | null;
|
|
blocked_by: string | null;
|
|
trigger: string | null;
|
|
job_id: number | null;
|
|
}
|
|
|
|
export interface OpusReviews {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
run_id: string | null;
|
|
at: string;
|
|
model: string | null;
|
|
mode: string;
|
|
base_head: string | null;
|
|
verdict: string | null;
|
|
sure: number | null;
|
|
reason: string | null;
|
|
fixes: string | null;
|
|
risks: string | null;
|
|
base_ref: string | null;
|
|
seen_at: string | null;
|
|
disc_hash: string | null;
|
|
public_review: string | null;
|
|
summary: string | null;
|
|
why: string | null;
|
|
conflicts: string | null;
|
|
claims: string | null;
|
|
blocked_by: string | null;
|
|
}
|
|
|
|
export interface OutsideAdmitted {
|
|
repo: string;
|
|
number: number;
|
|
at: string;
|
|
}
|
|
|
|
export interface OutsideHolds {
|
|
repo: string;
|
|
number: number;
|
|
author: string;
|
|
kind: string;
|
|
reason: string;
|
|
}
|
|
|
|
export interface OutsideReleased {
|
|
repo: string;
|
|
number: number;
|
|
by: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface OwnCommits {
|
|
repo: string;
|
|
sha: string;
|
|
action: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface OwnerStatements {
|
|
id: Generated<number>;
|
|
source_kind: string;
|
|
source_id: string;
|
|
repo: string;
|
|
number: number | null;
|
|
item_title: Generated<string>;
|
|
author: string;
|
|
text: string;
|
|
at: string;
|
|
embedding: Uint8Array | null;
|
|
model: string | null;
|
|
}
|
|
|
|
export interface PatchChecks {
|
|
id: Generated<number>;
|
|
kind: string;
|
|
repo: string;
|
|
number: number;
|
|
subject: string;
|
|
patch_hash: string;
|
|
round: Generated<number>;
|
|
verdict: string;
|
|
reasons: string;
|
|
problems: string;
|
|
model: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface PlanBulk {
|
|
id: Generated<number>;
|
|
}
|
|
|
|
export interface PlanFull {
|
|
id: Generated<number>;
|
|
seq: number;
|
|
}
|
|
|
|
export interface PlanFullCauses {
|
|
source: string;
|
|
n: number;
|
|
last_seq: number;
|
|
}
|
|
|
|
export interface PlanHistory {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
head: string | null;
|
|
old_state: string | null;
|
|
new_state: string;
|
|
old_wait: string | null;
|
|
wait: string | null;
|
|
reasons: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface PlanPassStats {
|
|
kind: string;
|
|
passes: number;
|
|
refs: number;
|
|
last_at: string;
|
|
ms: Generated<number>;
|
|
max_ms: Generated<number>;
|
|
}
|
|
|
|
export interface PlanShadowDiffs {
|
|
at: string;
|
|
ref: string;
|
|
side: string;
|
|
fields: string;
|
|
detail: string;
|
|
}
|
|
|
|
export interface PostmergeFollowups {
|
|
repo: string;
|
|
number: number;
|
|
review_at: string;
|
|
finding: number;
|
|
title: string;
|
|
issue_number: number | null;
|
|
url: string | null;
|
|
state: string;
|
|
at: string;
|
|
duplicate_of: number | null;
|
|
attempts: Generated<number>;
|
|
note: string | null;
|
|
}
|
|
|
|
export interface PostmergeReviews {
|
|
repo: string;
|
|
number: number;
|
|
merge_sha: string;
|
|
at: string;
|
|
model: string | null;
|
|
run_id: string | null;
|
|
findings: string | null;
|
|
error: string | null;
|
|
tries: Generated<number>;
|
|
}
|
|
|
|
export interface PrBuilds {
|
|
repo: string;
|
|
number: number;
|
|
head_sha: string;
|
|
base_sha: string | null;
|
|
scope: string;
|
|
task_id: number | null;
|
|
retried: Generated<number>;
|
|
state: string;
|
|
summary: string | null;
|
|
ci_overall: string | null;
|
|
disagree: Generated<number>;
|
|
created_at: string;
|
|
finished_at: string | null;
|
|
}
|
|
|
|
export interface PrChecks {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
state: string | null;
|
|
is_draft: number | null;
|
|
overall: string;
|
|
checks: string;
|
|
mergeable: string | null;
|
|
maintainer_can_modify: number | null;
|
|
fetched_at: string;
|
|
}
|
|
|
|
export interface PrCommits {
|
|
repo: string;
|
|
number: number;
|
|
oid: string;
|
|
committed_at: string;
|
|
author: string | null;
|
|
first_seen_at: string | null;
|
|
co_authors: string | null;
|
|
message: string | null;
|
|
}
|
|
|
|
export interface PrFiles {
|
|
repo: string;
|
|
number: number;
|
|
head: string;
|
|
path: string;
|
|
additions: number;
|
|
deletions: number;
|
|
change_type: string;
|
|
}
|
|
|
|
export interface Preapprovals {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
number: number;
|
|
by: string;
|
|
at: string;
|
|
instructions: string;
|
|
state: string;
|
|
from_head: string;
|
|
head: string | null;
|
|
reason: string | null;
|
|
updated_at: string;
|
|
fix_id: number | null;
|
|
}
|
|
|
|
export interface PremergeReviews {
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
at: string;
|
|
run_id: string | null;
|
|
model: string | null;
|
|
findings: string | null;
|
|
searched: string | null;
|
|
error: string | null;
|
|
tries: Generated<number>;
|
|
conflicts: string | null;
|
|
base_ref: string | null;
|
|
unsure: number | null;
|
|
claims: string | null;
|
|
}
|
|
|
|
export interface PushOutcomes {
|
|
id: Generated<number>;
|
|
at: string;
|
|
stage: string;
|
|
action: string;
|
|
repo: string;
|
|
number: number | null;
|
|
from_oid: string | null;
|
|
to_oid: string;
|
|
before_res: string;
|
|
after_res: string | null;
|
|
outcome: string | null;
|
|
resolved_at: string | null;
|
|
}
|
|
|
|
export interface ReleaseApps {
|
|
repo: string;
|
|
name: string;
|
|
stars: Generated<number>;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface ReleaseAssets {
|
|
asset_id: Generated<number>;
|
|
repo: string;
|
|
release_id: number;
|
|
tag: string;
|
|
release_name: string | null;
|
|
published_at: string | null;
|
|
prerelease: Generated<number>;
|
|
name: string;
|
|
platform: string | null;
|
|
processor: string | null;
|
|
format: string | null;
|
|
downloads: Generated<number>;
|
|
first_seen: string;
|
|
updated_at: string;
|
|
gone_at: string | null;
|
|
}
|
|
|
|
export interface RemoteCalls {
|
|
id: Generated<number>;
|
|
job_id: number | null;
|
|
step: string;
|
|
stage: number;
|
|
run_id: number | null;
|
|
prompt_id: string;
|
|
prompt_version: string;
|
|
tier: string;
|
|
effort: string;
|
|
asked_model: string;
|
|
bundle: string;
|
|
state: string;
|
|
items: Generated<string>;
|
|
repo: string | null;
|
|
class: Generated<number>;
|
|
level: Generated<number>;
|
|
since: number;
|
|
seen_at: number;
|
|
queued_since: number | null;
|
|
queued_ms: Generated<number>;
|
|
user_login: string | null;
|
|
harness: string | null;
|
|
harness_version: string | null;
|
|
model: string | null;
|
|
lease_secret_hash: string | null;
|
|
token_id: number | null;
|
|
leased_at: number | null;
|
|
heartbeat_at: number | null;
|
|
started_at: number | null;
|
|
claim_id: string | null;
|
|
attempt: Generated<number>;
|
|
max_attempts: number;
|
|
timeout_ms: number;
|
|
parent_id: number | null;
|
|
sticky_login: string | null;
|
|
released_by: string | null;
|
|
released_at: number | null;
|
|
progress: string | null;
|
|
reply: string | null;
|
|
usage: string | null;
|
|
turns: number | null;
|
|
session_id: string | null;
|
|
duration_ms: number | null;
|
|
error: string | null;
|
|
ended_at: number | null;
|
|
reference_repo: string | null;
|
|
root: string | null;
|
|
authors: string | null;
|
|
picked_by: string | null;
|
|
picked_at: number | null;
|
|
pick_until: number | null;
|
|
no_taker_since: number | null;
|
|
bundle_hash: string | null;
|
|
consumed_at: number | null;
|
|
}
|
|
|
|
export interface RemoteChecks {
|
|
id: Generated<number>;
|
|
call_id: number;
|
|
run_id: number | null;
|
|
input: string;
|
|
state: string;
|
|
result: string | null;
|
|
requested_at: number;
|
|
ended_at: number | null;
|
|
}
|
|
|
|
export interface RemoteCooloffs {
|
|
login: string;
|
|
until: number | null;
|
|
reason: string | null;
|
|
failures: Generated<number>;
|
|
failures_since: number | null;
|
|
}
|
|
|
|
export interface RemoteHelpers {
|
|
token_id: Generated<number>;
|
|
login: string;
|
|
readiness: string;
|
|
until: string | null;
|
|
reason: string | null;
|
|
harness: string;
|
|
models: string;
|
|
reserve: string;
|
|
usage: string | null;
|
|
reported_at: number;
|
|
slots: number | null;
|
|
busy: number | null;
|
|
last_error: string | null;
|
|
helper_version: string | null;
|
|
}
|
|
|
|
export interface RemoteLeaseDrops {
|
|
token_id: number;
|
|
at: number;
|
|
login: string | null;
|
|
call_id: number | null;
|
|
}
|
|
|
|
export interface RemoteLeaseTombstones {
|
|
secret_hash: string;
|
|
call_id: number;
|
|
at: number;
|
|
}
|
|
|
|
export interface RemoteLiveness {
|
|
id: Generated<number>;
|
|
alive_at: number;
|
|
since: number;
|
|
}
|
|
|
|
export interface RemoteNoTaker {
|
|
repo: string;
|
|
since: number;
|
|
}
|
|
|
|
export interface RemotePassages {
|
|
id: Generated<number>;
|
|
call_id: number;
|
|
run_id: number | null;
|
|
user_login: string;
|
|
repo: string;
|
|
passage_id: number;
|
|
page: string;
|
|
at: number;
|
|
}
|
|
|
|
export interface RepoPermissions {
|
|
login: string;
|
|
repo: string;
|
|
permission: string;
|
|
checked_at: string;
|
|
}
|
|
|
|
export interface ReporterStates {
|
|
state_hash: string;
|
|
reporter: string;
|
|
expires_at: string;
|
|
verifier: string;
|
|
}
|
|
|
|
export interface ReporterTokens {
|
|
reporter: string;
|
|
github_id: number;
|
|
login: string;
|
|
token_enc: string;
|
|
version: Generated<number>;
|
|
updated_at: string;
|
|
status: Generated<string>;
|
|
}
|
|
|
|
export interface Repos {
|
|
name: string;
|
|
owner: Generated<string>;
|
|
visibility: string | null;
|
|
default_branch: string | null;
|
|
open_prs: number | null;
|
|
open_issues: number | null;
|
|
synced_at: string | null;
|
|
high_water: string | null;
|
|
reconciled_at: string | null;
|
|
}
|
|
|
|
export interface ReviewBlockers {
|
|
b_repo: string;
|
|
b_number: number;
|
|
repo: string;
|
|
number: number;
|
|
head_oid: string;
|
|
}
|
|
|
|
export interface ReviewGates {
|
|
repo: string;
|
|
number: number;
|
|
blocked: number | null;
|
|
by_login: string | null;
|
|
read_at: string | null;
|
|
failures: Generated<number>;
|
|
}
|
|
|
|
export interface ReviewPosts {
|
|
repo: string;
|
|
number: number;
|
|
review_id: string;
|
|
head_oid: string;
|
|
posted_at: string;
|
|
edited_at: string | null;
|
|
posted_as: string | null;
|
|
opus_at: string | null;
|
|
}
|
|
|
|
export interface RunnerLogins {
|
|
id: Generated<number>;
|
|
user_code: string;
|
|
secret_hash: string;
|
|
label: string | null;
|
|
machine: string | null;
|
|
ip: string | null;
|
|
helper_version: string | null;
|
|
created_at: number;
|
|
expires_at: number;
|
|
state: Generated<string>;
|
|
login: string | null;
|
|
token_id: number | null;
|
|
want_agent: Generated<number>;
|
|
want_answer: Generated<number>;
|
|
}
|
|
|
|
export interface ScreenshotConfig {
|
|
repo: string;
|
|
package: string;
|
|
example: string;
|
|
driver: string;
|
|
commands: string;
|
|
ui_paths: string;
|
|
size: string | null;
|
|
updated_by: string;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface ScreenshotRuns {
|
|
repo: string;
|
|
number: number;
|
|
head_sha: string;
|
|
base_sha: string | null;
|
|
state: string;
|
|
reason: string | null;
|
|
plan: string | null;
|
|
head_task_id: number | null;
|
|
base_task_id: number | null;
|
|
verdict: string | null;
|
|
clear: number | null;
|
|
comparison: string | null;
|
|
model: string | null;
|
|
held: Generated<number>;
|
|
created_at: string;
|
|
finished_at: string | null;
|
|
}
|
|
|
|
export interface SecurityAreas {
|
|
scan_id: number;
|
|
idx: number;
|
|
name: string;
|
|
paths: string;
|
|
entry_points: string;
|
|
risk: number;
|
|
why: string | null;
|
|
state: Generated<string>;
|
|
cost_usd: Generated<number>;
|
|
}
|
|
|
|
export interface SecurityCalls {
|
|
id: Generated<number>;
|
|
scan_id: number;
|
|
kind: string;
|
|
area_idx: number | null;
|
|
finding_number: number | null;
|
|
started_at: string;
|
|
ended_at: string | null;
|
|
ok: Generated<number>;
|
|
cost_usd: number | null;
|
|
agent_run_id: number | null;
|
|
resumed: Generated<number>;
|
|
}
|
|
|
|
export interface SecurityFindings {
|
|
repo: string;
|
|
number: number;
|
|
scan_id: number;
|
|
area: string;
|
|
title: string;
|
|
severity: string;
|
|
urgent: Generated<number>;
|
|
state: string;
|
|
refs: string;
|
|
category: string | null;
|
|
reach: string;
|
|
impact: string;
|
|
verification: string | null;
|
|
fingerprint: string;
|
|
fix_commit: string | null;
|
|
fix_pr: number | null;
|
|
ghsa_id: string | null;
|
|
fork: string | null;
|
|
fix_patch: string | null;
|
|
fix_title: string | null;
|
|
fix_summary: string | null;
|
|
fix_branch: string | null;
|
|
fix_files: string | null;
|
|
fix_ref: string | null;
|
|
note: string | null;
|
|
env_wait_at: string | null;
|
|
reason: string | null;
|
|
decided_by: string | null;
|
|
duplicate_of: number | null;
|
|
created_at: string;
|
|
updated_at: string;
|
|
fix_attempts: Generated<number>;
|
|
last_failure: string | null;
|
|
}
|
|
|
|
export interface SecurityFixLog {
|
|
repo: string;
|
|
number: number;
|
|
attempt: number;
|
|
round: number;
|
|
state: string;
|
|
failure: string | null;
|
|
title: string;
|
|
created_at: string;
|
|
ended_at: string;
|
|
}
|
|
|
|
export interface SecurityFixRounds {
|
|
repo: string;
|
|
number: number;
|
|
round: number;
|
|
patch: string;
|
|
test_patch: string;
|
|
title: string;
|
|
summary: string;
|
|
head_task: number;
|
|
base_task: number;
|
|
retried: Generated<number>;
|
|
session: string | null;
|
|
state: Generated<string>;
|
|
failure: string | null;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface SecurityQuietPrs {
|
|
repo: string;
|
|
pr: number;
|
|
finding: number;
|
|
}
|
|
|
|
export interface SecurityScanTests {
|
|
repo: string;
|
|
number: number;
|
|
test_path: string;
|
|
crate: string;
|
|
test_patch: string;
|
|
test_source: string;
|
|
task_id: number;
|
|
retried: Generated<number>;
|
|
state: Generated<string>;
|
|
detail: string | null;
|
|
created_at: string;
|
|
ended_at: string | null;
|
|
}
|
|
|
|
export interface SecurityScans {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
commit_sha: string | null;
|
|
state: string;
|
|
cap_usd: number | null;
|
|
cost_usd: Generated<number>;
|
|
estimate_usd: number | null;
|
|
areas_total: Generated<number>;
|
|
areas_done: Generated<number>;
|
|
started_by: string;
|
|
started_at: string;
|
|
ended_at: string | null;
|
|
error: string | null;
|
|
job_id: number | null;
|
|
threat_model: string | null;
|
|
}
|
|
|
|
export interface Sessions {
|
|
id_hash: string;
|
|
login: string;
|
|
csrf: string;
|
|
token_enc: string | null;
|
|
created_at: string;
|
|
last_seen: string;
|
|
expires_at: string;
|
|
user_agent: string | null;
|
|
}
|
|
|
|
export interface Settings {
|
|
key: string;
|
|
value: string | null;
|
|
}
|
|
|
|
export interface StageLimits {
|
|
step: string;
|
|
per_day: number | null;
|
|
updated_by: string | null;
|
|
updated_at: string | null;
|
|
}
|
|
|
|
export interface StageTrips {
|
|
stage: string;
|
|
active: Generated<number>;
|
|
reason: string;
|
|
evidence: string;
|
|
tripped_at: string;
|
|
cleared_at: string | null;
|
|
cleared_by: string | null;
|
|
}
|
|
|
|
export interface Stages {
|
|
repo: string;
|
|
number: number;
|
|
stage: string;
|
|
at: string;
|
|
actor: string | null;
|
|
note: string | null;
|
|
docket: string | null;
|
|
}
|
|
|
|
export interface StarSamples {
|
|
repo: string;
|
|
t: string;
|
|
stars: number;
|
|
}
|
|
|
|
export interface SyncRepoErrors {
|
|
repo: string;
|
|
kind: string;
|
|
message: string;
|
|
moved_to: string | null;
|
|
since: string;
|
|
at: string;
|
|
}
|
|
|
|
export interface SyncRequests {
|
|
repo: string;
|
|
number: number;
|
|
event: string;
|
|
requested_at: string;
|
|
}
|
|
|
|
export interface SyncRuns {
|
|
started_at: string;
|
|
ended_at: string | null;
|
|
mode: string | null;
|
|
items: number | null;
|
|
error: string | null;
|
|
}
|
|
|
|
export interface TokenUsage {
|
|
run_id: string;
|
|
agent: string;
|
|
stage: string | null;
|
|
model: string | null;
|
|
repo: string | null;
|
|
items: number | null;
|
|
input_tokens: number | null;
|
|
output_tokens: number | null;
|
|
cache_read_tokens: number | null;
|
|
cache_write_tokens: number | null;
|
|
started_at: string | null;
|
|
ended_at: string | null;
|
|
cost_usd: number | null;
|
|
}
|
|
|
|
export interface TrackedRepos {
|
|
name: string;
|
|
added_by: string | null;
|
|
added_at: string | null;
|
|
pipeline: Generated<number>;
|
|
}
|
|
|
|
export interface UserSettings {
|
|
login: string;
|
|
key: string;
|
|
value: string;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface UserTokenRevocations {
|
|
id: Generated<number>;
|
|
login: string;
|
|
token_enc: string;
|
|
queued_at: string;
|
|
kind: Generated<string>;
|
|
aad: string | null;
|
|
attempts: Generated<number>;
|
|
}
|
|
|
|
export interface UserTokens {
|
|
login: string;
|
|
github_id: number;
|
|
token_enc: string;
|
|
version: Generated<number>;
|
|
updated_at: string;
|
|
status: Generated<string>;
|
|
}
|
|
|
|
export interface Verifications {
|
|
repo: string;
|
|
number: number;
|
|
head_sha: string;
|
|
base_sha: string | null;
|
|
kind: string;
|
|
reason: string;
|
|
plan: string | null;
|
|
model: string | null;
|
|
head_task_id: number | null;
|
|
base_task_id: number | null;
|
|
state: string;
|
|
summary: string | null;
|
|
note: string | null;
|
|
created_at: string;
|
|
finished_at: string | null;
|
|
}
|
|
|
|
export interface WhitelistOverrides {
|
|
login: string;
|
|
status: string;
|
|
note: string | null;
|
|
by: string | null;
|
|
at: string | null;
|
|
github_id: number | null;
|
|
}
|
|
|
|
export interface WorkLeases {
|
|
key: string;
|
|
job_id: number;
|
|
step: string;
|
|
taken_at: string;
|
|
}
|
|
|
|
export interface WorkspaceCalls {
|
|
id: Generated<number>;
|
|
workspace_id: number;
|
|
n: number | null;
|
|
tool: string;
|
|
args: Generated<string>;
|
|
state: Generated<string>;
|
|
result: string | null;
|
|
created_at: string;
|
|
started_at: string | null;
|
|
deadline_at: string | null;
|
|
finished_at: string | null;
|
|
run_id: number | null;
|
|
}
|
|
|
|
export interface WorkspaceSessions {
|
|
id: Generated<number>;
|
|
kind: string | null;
|
|
repo: string;
|
|
base_sha: string;
|
|
item: number;
|
|
prompt: string | null;
|
|
env_id: string;
|
|
keep: Generated<number>;
|
|
deadline_sec: number;
|
|
state: Generated<string>;
|
|
outcome: string | null;
|
|
workspace_id: number | null;
|
|
remote_call_id: number | null;
|
|
job_id: number | null;
|
|
requested_by: string;
|
|
created_at: string;
|
|
updated_at: string;
|
|
ended_at: string | null;
|
|
}
|
|
|
|
export interface Workspaces {
|
|
id: Generated<number>;
|
|
repo: string;
|
|
base_sha: string;
|
|
base_commit: string | null;
|
|
app: string | null;
|
|
env_id: string;
|
|
state: Generated<string>;
|
|
state_at: string;
|
|
pod: string | null;
|
|
pod_created_at: string | null;
|
|
create_tries: Generated<number>;
|
|
pvc: string | null;
|
|
node: string | null;
|
|
limits: Generated<string>;
|
|
checkpoint: Uint8Array | null;
|
|
checkpoint_at: string | null;
|
|
last_call_at: string | null;
|
|
next_call: Generated<number>;
|
|
error: string | null;
|
|
owner: string | null;
|
|
created_at: string;
|
|
updated_at: string;
|
|
ended_at: string | null;
|
|
remote_call_id: number | null;
|
|
}
|
|
|
|
export interface DB {
|
|
access: Access;
|
|
account_usage_samples: AccountUsageSamples;
|
|
actions: Actions;
|
|
activity_sync: ActivitySync;
|
|
agent_run_items: AgentRunItems;
|
|
agent_run_texts: AgentRunTexts;
|
|
agent_run_tools: AgentRunTools;
|
|
agent_runs: AgentRuns;
|
|
area_lists: AreaLists;
|
|
area_proposals: AreaProposals;
|
|
audit: Audit;
|
|
author_ids: AuthorIds;
|
|
author_permissions: AuthorPermissions;
|
|
autorepin_offs: AutorepinOffs;
|
|
autorepins: Autorepins;
|
|
build_artifacts: BuildArtifacts;
|
|
build_envs: BuildEnvs;
|
|
build_pod_runs: BuildPodRuns;
|
|
build_task_logs: BuildTaskLogs;
|
|
build_tasks: BuildTasks;
|
|
change_seq: ChangeSeq;
|
|
ci_fixes: CiFixes;
|
|
ci_run_approvals: CiRunApprovals;
|
|
classifications: Classifications;
|
|
claude_account_status: ClaudeAccountStatus;
|
|
claude_account_tokens: ClaudeAccountTokens;
|
|
claude_accounts: ClaudeAccounts;
|
|
comments: Comments;
|
|
conflict_merges: ConflictMerges;
|
|
conversation_cards: ConversationCards;
|
|
conversation_includes: ConversationIncludes;
|
|
conversation_turns: ConversationTurns;
|
|
conversations: Conversations;
|
|
decision_choices: DecisionChoices;
|
|
decision_claims: DecisionClaims;
|
|
decision_comments: DecisionComments;
|
|
decision_items: DecisionItems;
|
|
decision_opinions: DecisionOpinions;
|
|
decision_prepares: DecisionPrepares;
|
|
decisions: Decisions;
|
|
diff_facts: DiffFacts;
|
|
discord_alert_msgs: DiscordAlertMsgs;
|
|
discord_alerts: DiscordAlerts;
|
|
discord_categories: DiscordCategories;
|
|
discord_channels: DiscordChannels;
|
|
discord_filed: DiscordFiled;
|
|
discord_link_codes: DiscordLinkCodes;
|
|
discord_links: DiscordLinks;
|
|
discord_mentions: DiscordMentions;
|
|
discord_replies: DiscordReplies;
|
|
discord_status: DiscordStatus;
|
|
download_deltas: DownloadDeltas;
|
|
dupe_carries: DupeCarries;
|
|
dupe_comparisons: DupeComparisons;
|
|
dupe_group_fails: DupeGroupFails;
|
|
dupe_group_items: DupeGroupItems;
|
|
dupe_group_posts: DupeGroupPosts;
|
|
dupe_group_texts: DupeGroupTexts;
|
|
dupe_groups: DupeGroups;
|
|
duplicate_pairs: DuplicatePairs;
|
|
duplicate_scans: DuplicateScans;
|
|
ever_tracked_repos: EverTrackedRepos;
|
|
fast_track: FastTrack;
|
|
final_reviews: FinalReviews;
|
|
fix_attempts: FixAttempts;
|
|
fixups: Fixups;
|
|
flow_summary: FlowSummary;
|
|
github_app: GithubApp;
|
|
github_app_states: GithubAppStates;
|
|
github_commands: GithubCommands;
|
|
github_setup_links: GithubSetupLinks;
|
|
held_followups: HeldFollowups;
|
|
item_activity: ItemActivity;
|
|
item_areas: ItemAreas;
|
|
item_changes: ItemChanges;
|
|
item_embeddings: ItemEmbeddings;
|
|
item_plans: ItemPlans;
|
|
item_plans_rev: ItemPlansRev;
|
|
item_priority: ItemPriority;
|
|
item_rank: ItemRank;
|
|
item_reads: ItemReads;
|
|
item_settled: ItemSettled;
|
|
item_settled_dirty: ItemSettledDirty;
|
|
item_settled_runs: ItemSettledRuns;
|
|
item_stage: ItemStage;
|
|
items: Items;
|
|
job_items: JobItems;
|
|
job_log_chunks: JobLogChunks;
|
|
jobs: Jobs;
|
|
lane_next: LaneNext;
|
|
liveness_items: LivenessItems;
|
|
main_ci: MainCi;
|
|
main_fixes: MainFixes;
|
|
mcp_tokens: McpTokens;
|
|
merge_batch_prs: MergeBatchPrs;
|
|
merge_batches: MergeBatches;
|
|
merge_holds: MergeHolds;
|
|
merges: Merges;
|
|
model_checks: ModelChecks;
|
|
model_waits: ModelWaits;
|
|
nightly_bench: NightlyBench;
|
|
nightly_results: NightlyResults;
|
|
nightly_runs: NightlyRuns;
|
|
nightly_selection: NightlySelection;
|
|
oauth_states: OauthStates;
|
|
operator_fixups: OperatorFixups;
|
|
opus_carried_fixes: OpusCarriedFixes;
|
|
opus_review_history: OpusReviewHistory;
|
|
opus_reviews: OpusReviews;
|
|
outside_admitted: OutsideAdmitted;
|
|
outside_holds: OutsideHolds;
|
|
outside_released: OutsideReleased;
|
|
own_commits: OwnCommits;
|
|
owner_statements: OwnerStatements;
|
|
patch_checks: PatchChecks;
|
|
plan_bulk: PlanBulk;
|
|
plan_full: PlanFull;
|
|
plan_full_causes: PlanFullCauses;
|
|
plan_history: PlanHistory;
|
|
plan_pass_stats: PlanPassStats;
|
|
plan_shadow_diffs: PlanShadowDiffs;
|
|
postmerge_followups: PostmergeFollowups;
|
|
postmerge_reviews: PostmergeReviews;
|
|
pr_builds: PrBuilds;
|
|
pr_checks: PrChecks;
|
|
pr_commits: PrCommits;
|
|
pr_files: PrFiles;
|
|
preapprovals: Preapprovals;
|
|
premerge_reviews: PremergeReviews;
|
|
push_outcomes: PushOutcomes;
|
|
release_apps: ReleaseApps;
|
|
release_assets: ReleaseAssets;
|
|
remote_calls: RemoteCalls;
|
|
remote_checks: RemoteChecks;
|
|
remote_cooloffs: RemoteCooloffs;
|
|
remote_helpers: RemoteHelpers;
|
|
remote_lease_drops: RemoteLeaseDrops;
|
|
remote_lease_tombstones: RemoteLeaseTombstones;
|
|
remote_liveness: RemoteLiveness;
|
|
remote_no_taker: RemoteNoTaker;
|
|
remote_passages: RemotePassages;
|
|
repo_permissions: RepoPermissions;
|
|
reporter_states: ReporterStates;
|
|
reporter_tokens: ReporterTokens;
|
|
repos: Repos;
|
|
review_blockers: ReviewBlockers;
|
|
review_gates: ReviewGates;
|
|
review_posts: ReviewPosts;
|
|
runner_logins: RunnerLogins;
|
|
screenshot_config: ScreenshotConfig;
|
|
screenshot_runs: ScreenshotRuns;
|
|
security_areas: SecurityAreas;
|
|
security_calls: SecurityCalls;
|
|
security_findings: SecurityFindings;
|
|
security_fix_log: SecurityFixLog;
|
|
security_fix_rounds: SecurityFixRounds;
|
|
security_quiet_prs: SecurityQuietPrs;
|
|
security_scan_tests: SecurityScanTests;
|
|
security_scans: SecurityScans;
|
|
sessions: Sessions;
|
|
settings: Settings;
|
|
stage_limits: StageLimits;
|
|
stage_trips: StageTrips;
|
|
stages: Stages;
|
|
star_samples: StarSamples;
|
|
sync_repo_errors: SyncRepoErrors;
|
|
sync_requests: SyncRequests;
|
|
sync_runs: SyncRuns;
|
|
token_usage: TokenUsage;
|
|
tracked_repos: TrackedRepos;
|
|
user_settings: UserSettings;
|
|
user_token_revocations: UserTokenRevocations;
|
|
user_tokens: UserTokens;
|
|
verifications: Verifications;
|
|
whitelist_overrides: WhitelistOverrides;
|
|
work_leases: WorkLeases;
|
|
workspace_calls: WorkspaceCalls;
|
|
workspace_sessions: WorkspaceSessions;
|
|
workspaces: Workspaces;
|
|
"main.access": Access;
|
|
"main.account_usage_samples": AccountUsageSamples;
|
|
"main.actions": Actions;
|
|
"main.activity_sync": ActivitySync;
|
|
"main.agent_run_items": AgentRunItems;
|
|
"main.agent_run_texts": AgentRunTexts;
|
|
"main.agent_run_tools": AgentRunTools;
|
|
"main.agent_runs": AgentRuns;
|
|
"main.area_lists": AreaLists;
|
|
"main.area_proposals": AreaProposals;
|
|
"main.audit": Audit;
|
|
"main.author_ids": AuthorIds;
|
|
"main.author_permissions": AuthorPermissions;
|
|
"main.autorepin_offs": AutorepinOffs;
|
|
"main.autorepins": Autorepins;
|
|
"main.build_artifacts": BuildArtifacts;
|
|
"main.build_envs": BuildEnvs;
|
|
"main.build_pod_runs": BuildPodRuns;
|
|
"main.build_task_logs": BuildTaskLogs;
|
|
"main.build_tasks": BuildTasks;
|
|
"main.change_seq": ChangeSeq;
|
|
"main.ci_fixes": CiFixes;
|
|
"main.ci_run_approvals": CiRunApprovals;
|
|
"main.classifications": Classifications;
|
|
"main.claude_account_status": ClaudeAccountStatus;
|
|
"main.claude_account_tokens": ClaudeAccountTokens;
|
|
"main.claude_accounts": ClaudeAccounts;
|
|
"main.comments": Comments;
|
|
"main.conflict_merges": ConflictMerges;
|
|
"main.conversation_cards": ConversationCards;
|
|
"main.conversation_includes": ConversationIncludes;
|
|
"main.conversation_turns": ConversationTurns;
|
|
"main.conversations": Conversations;
|
|
"main.decision_choices": DecisionChoices;
|
|
"main.decision_claims": DecisionClaims;
|
|
"main.decision_comments": DecisionComments;
|
|
"main.decision_items": DecisionItems;
|
|
"main.decision_opinions": DecisionOpinions;
|
|
"main.decision_prepares": DecisionPrepares;
|
|
"main.decisions": Decisions;
|
|
"main.diff_facts": DiffFacts;
|
|
"main.discord_alert_msgs": DiscordAlertMsgs;
|
|
"main.discord_alerts": DiscordAlerts;
|
|
"main.discord_categories": DiscordCategories;
|
|
"main.discord_channels": DiscordChannels;
|
|
"main.discord_filed": DiscordFiled;
|
|
"main.discord_link_codes": DiscordLinkCodes;
|
|
"main.discord_links": DiscordLinks;
|
|
"main.discord_mentions": DiscordMentions;
|
|
"main.discord_replies": DiscordReplies;
|
|
"main.discord_status": DiscordStatus;
|
|
"main.download_deltas": DownloadDeltas;
|
|
"main.dupe_carries": DupeCarries;
|
|
"main.dupe_comparisons": DupeComparisons;
|
|
"main.dupe_group_fails": DupeGroupFails;
|
|
"main.dupe_group_items": DupeGroupItems;
|
|
"main.dupe_group_posts": DupeGroupPosts;
|
|
"main.dupe_group_texts": DupeGroupTexts;
|
|
"main.dupe_groups": DupeGroups;
|
|
"main.duplicate_pairs": DuplicatePairs;
|
|
"main.duplicate_scans": DuplicateScans;
|
|
"main.ever_tracked_repos": EverTrackedRepos;
|
|
"main.fast_track": FastTrack;
|
|
"main.final_reviews": FinalReviews;
|
|
"main.fix_attempts": FixAttempts;
|
|
"main.fixups": Fixups;
|
|
"main.flow_summary": FlowSummary;
|
|
"main.github_app": GithubApp;
|
|
"main.github_app_states": GithubAppStates;
|
|
"main.github_commands": GithubCommands;
|
|
"main.github_setup_links": GithubSetupLinks;
|
|
"main.held_followups": HeldFollowups;
|
|
"main.item_activity": ItemActivity;
|
|
"main.item_areas": ItemAreas;
|
|
"main.item_changes": ItemChanges;
|
|
"main.item_embeddings": ItemEmbeddings;
|
|
"main.item_plans": ItemPlans;
|
|
"main.item_plans_rev": ItemPlansRev;
|
|
"main.item_priority": ItemPriority;
|
|
"main.item_rank": ItemRank;
|
|
"main.item_reads": ItemReads;
|
|
"main.item_settled": ItemSettled;
|
|
"main.item_settled_dirty": ItemSettledDirty;
|
|
"main.item_settled_runs": ItemSettledRuns;
|
|
"main.item_stage": ItemStage;
|
|
"main.items": Items;
|
|
"main.job_items": JobItems;
|
|
"main.job_log_chunks": JobLogChunks;
|
|
"main.jobs": Jobs;
|
|
"main.lane_next": LaneNext;
|
|
"main.liveness_items": LivenessItems;
|
|
"main.main_ci": MainCi;
|
|
"main.main_fixes": MainFixes;
|
|
"main.mcp_tokens": McpTokens;
|
|
"main.merge_batch_prs": MergeBatchPrs;
|
|
"main.merge_batches": MergeBatches;
|
|
"main.merge_holds": MergeHolds;
|
|
"main.merges": Merges;
|
|
"main.model_checks": ModelChecks;
|
|
"main.model_waits": ModelWaits;
|
|
"main.nightly_bench": NightlyBench;
|
|
"main.nightly_results": NightlyResults;
|
|
"main.nightly_runs": NightlyRuns;
|
|
"main.nightly_selection": NightlySelection;
|
|
"main.oauth_states": OauthStates;
|
|
"main.operator_fixups": OperatorFixups;
|
|
"main.opus_carried_fixes": OpusCarriedFixes;
|
|
"main.opus_review_history": OpusReviewHistory;
|
|
"main.opus_reviews": OpusReviews;
|
|
"main.outside_admitted": OutsideAdmitted;
|
|
"main.outside_holds": OutsideHolds;
|
|
"main.outside_released": OutsideReleased;
|
|
"main.own_commits": OwnCommits;
|
|
"main.owner_statements": OwnerStatements;
|
|
"main.patch_checks": PatchChecks;
|
|
"main.plan_bulk": PlanBulk;
|
|
"main.plan_full": PlanFull;
|
|
"main.plan_full_causes": PlanFullCauses;
|
|
"main.plan_history": PlanHistory;
|
|
"main.plan_pass_stats": PlanPassStats;
|
|
"main.plan_shadow_diffs": PlanShadowDiffs;
|
|
"main.postmerge_followups": PostmergeFollowups;
|
|
"main.postmerge_reviews": PostmergeReviews;
|
|
"main.pr_builds": PrBuilds;
|
|
"main.pr_checks": PrChecks;
|
|
"main.pr_commits": PrCommits;
|
|
"main.pr_files": PrFiles;
|
|
"main.preapprovals": Preapprovals;
|
|
"main.premerge_reviews": PremergeReviews;
|
|
"main.push_outcomes": PushOutcomes;
|
|
"main.release_apps": ReleaseApps;
|
|
"main.release_assets": ReleaseAssets;
|
|
"main.remote_calls": RemoteCalls;
|
|
"main.remote_checks": RemoteChecks;
|
|
"main.remote_cooloffs": RemoteCooloffs;
|
|
"main.remote_helpers": RemoteHelpers;
|
|
"main.remote_lease_drops": RemoteLeaseDrops;
|
|
"main.remote_lease_tombstones": RemoteLeaseTombstones;
|
|
"main.remote_liveness": RemoteLiveness;
|
|
"main.remote_no_taker": RemoteNoTaker;
|
|
"main.remote_passages": RemotePassages;
|
|
"main.repo_permissions": RepoPermissions;
|
|
"main.reporter_states": ReporterStates;
|
|
"main.reporter_tokens": ReporterTokens;
|
|
"main.repos": Repos;
|
|
"main.review_blockers": ReviewBlockers;
|
|
"main.review_gates": ReviewGates;
|
|
"main.review_posts": ReviewPosts;
|
|
"main.runner_logins": RunnerLogins;
|
|
"main.screenshot_config": ScreenshotConfig;
|
|
"main.screenshot_runs": ScreenshotRuns;
|
|
"main.security_areas": SecurityAreas;
|
|
"main.security_calls": SecurityCalls;
|
|
"main.security_findings": SecurityFindings;
|
|
"main.security_fix_log": SecurityFixLog;
|
|
"main.security_fix_rounds": SecurityFixRounds;
|
|
"main.security_quiet_prs": SecurityQuietPrs;
|
|
"main.security_scan_tests": SecurityScanTests;
|
|
"main.security_scans": SecurityScans;
|
|
"main.sessions": Sessions;
|
|
"main.settings": Settings;
|
|
"main.stage_limits": StageLimits;
|
|
"main.stage_trips": StageTrips;
|
|
"main.stages": Stages;
|
|
"main.star_samples": StarSamples;
|
|
"main.sync_repo_errors": SyncRepoErrors;
|
|
"main.sync_requests": SyncRequests;
|
|
"main.sync_runs": SyncRuns;
|
|
"main.token_usage": TokenUsage;
|
|
"main.tracked_repos": TrackedRepos;
|
|
"main.user_settings": UserSettings;
|
|
"main.user_token_revocations": UserTokenRevocations;
|
|
"main.user_tokens": UserTokens;
|
|
"main.verifications": Verifications;
|
|
"main.whitelist_overrides": WhitelistOverrides;
|
|
"main.work_leases": WorkLeases;
|
|
"main.workspace_calls": WorkspaceCalls;
|
|
"main.workspace_sessions": WorkspaceSessions;
|
|
"main.workspaces": Workspaces;
|
|
}
|
|
|
|
/** Each table's and view's columns in table order (no rowid), for selecting a whole row: `kx.cols`. */
|
|
export const COLUMNS = {
|
|
access: ["login", "role", "added_by", "added_at", "note", "github_id"],
|
|
account_usage_samples: ["account_id", "t", "five_hour_pct", "weekly_pct"],
|
|
actions: ["id", "decision_id", "repo", "number", "kind", "state", "comment_url", "reason", "created_at", "attempts"],
|
|
activity_sync: ["repo", "number", "head", "updated_at", "read_at", "error", "retry_at"],
|
|
agent_run_items: ["run_id", "repo", "number"],
|
|
agent_run_texts: ["run_id", "prompt", "output"],
|
|
agent_run_tools: ["run_id", "seq", "tool", "args", "result_bytes", "is_error", "started_at", "ended_at", "check_id"],
|
|
agent_runs: ["id", "job_id", "step", "stage", "prompt_id", "prompt_version", "provider", "model", "account_id", "items", "item_count", "state", "started_at", "ended_at", "input_tokens", "output_tokens", "cache_read_tokens", "cache_write_tokens", "summary", "error", "progress", "cost_usd", "user_login", "harness", "reported_model"],
|
|
area_lists: ["repo", "version", "areas", "at", "by", "note"],
|
|
area_proposals: ["id", "repo", "kind", "areas", "created_at", "created_by", "state", "decided_by", "decided_at"],
|
|
audit: ["at", "login", "action", "target", "details"],
|
|
author_ids: ["login", "id"],
|
|
author_permissions: ["login", "repo", "permission", "checked_at", "failures", "first_failure_at", "author_id"],
|
|
autorepin_offs: ["repo", "number", "off_at"],
|
|
autorepins: ["repo", "number", "ref_repo", "ref_number", "login", "github_id", "requested_at", "state", "sha", "head", "task_id", "tries", "tried_at", "to_head", "result", "done_at", "notice", "ref_branch"],
|
|
build_artifacts: ["task_id", "name", "bytes", "content_type", "file"],
|
|
build_envs: ["id", "label", "kind", "enabled", "slots", "confidential", "confidential_since", "confidential_online_at", "key_hash", "capabilities", "reported_slots", "version", "paused_reason", "last_seen_at", "created_at", "updated_by", "updated_at", "settings", "health", "health_at"],
|
|
build_pod_runs: ["task_id", "env_id", "key_hash", "pvc", "stage", "pod", "pod_created_at", "prepared", "results", "failed", "ran", "logged", "create_tries", "failing_since", "retry_at", "started_at"],
|
|
build_task_logs: ["task_id", "seq", "step", "chunk"],
|
|
build_tasks: ["id", "job_id", "step", "repo", "number", "head_sha", "base_sha", "requires", "priority", "plan", "state", "env_id", "attempts", "queued_at", "claimed_at", "started_at", "ended_at", "heartbeat_at", "cancel_requested_at", "results", "summary", "log_bytes", "artifact_bytes", "patch", "warm_key", "warm_role", "sandbox_env"],
|
|
change_seq: ["topic", "seq", "at"],
|
|
ci_fixes: ["repo", "number", "head", "to_head", "kind", "state", "reason", "files", "attempt", "task_id", "runs", "created_at", "session", "patch", "lint_task", "lint_round", "lint_state"],
|
|
ci_run_approvals: ["repo", "number", "head_oid", "cross_repo", "runs", "approved", "reread", "failed", "checked_at", "approved_at"],
|
|
classifications: ["repo", "number", "classifier", "run_id", "at", "type_label", "want", "reference", "flags", "dup_of", "reason", "probs", "input_hash"],
|
|
claude_account_status: ["account_id", "logged_in", "method", "plan", "login_expires_at", "checked_at"],
|
|
claude_account_tokens: ["account_id", "set_at", "rejected_at"],
|
|
claude_accounts: ["id", "label", "enabled", "max_concurrent", "updated_by", "updated_at"],
|
|
comments: ["repo", "number", "id", "kind", "author", "created_at", "body", "review_state", "commit_oid", "counted", "author_association", "mentions_pipeline", "url"],
|
|
conflict_merges: ["repo", "number", "from_head", "to_head", "base_sha", "state", "reason", "files", "attempt", "created_at", "session", "patch", "lint_task", "lint_round", "own_diff", "own_delta"],
|
|
conversation_cards: ["id", "turn_id", "repo", "number", "kind", "params", "text", "description", "state", "result", "result_url", "error", "acted_by", "acted_at", "edited_by", "edited_at", "seen", "choice_id", "queued_at", "queue_args", "dispute_by", "dispute_reason", "dispute_at"],
|
|
conversation_includes: ["repo", "number", "source", "by", "at", "sent_turn"],
|
|
conversation_turns: ["id", "repo", "number", "kind", "login", "at", "body", "block", "status", "error", "notes", "seq", "claim", "claimed_at", "progress"],
|
|
conversations: ["repo", "number", "item_block", "item_sig", "created_at", "created_by"],
|
|
decision_choices: ["id", "decision_id", "repo", "number", "turn_id", "stamp", "seen", "source", "drafts", "added", "pick", "state", "created_at"],
|
|
decision_claims: ["decision_id", "login", "since", "at"],
|
|
decision_comments: ["id", "decision_id", "login", "at", "body", "via"],
|
|
decision_items: ["repo", "number", "decision_id"],
|
|
decision_opinions: ["id", "decision_id", "login", "option", "note", "at", "permission", "retracted_at", "via"],
|
|
decision_prepares: ["decision_id", "at", "manual"],
|
|
decisions: ["id", "kind", "repo", "number", "items", "question", "context", "facts", "options", "recommended", "recommended_reason", "recommended_by", "prepared_at", "prepared_head", "prepared_discussion", "prepare_failed_head", "recommend_failures", "recommend_failed_at", "public_text", "asked_at", "asked_by", "docket", "answer", "answer_note", "exceptions", "answered_by", "answered_at", "applied_at", "summary", "summary_by", "summary_at", "adopted_opinion", "snoozed_by", "snoozed_at", "exec_state", "exec_reason", "dispute_by", "dispute_reason", "dispute_at", "answered_role", "prepare_requested_at"],
|
|
diff_facts: ["repo", "number", "head_oid", "reasons", "lines", "pending", "last_read"],
|
|
discord_alert_msgs: ["decision_id", "user_hash", "sealed", "choices_id", "sent_at"],
|
|
discord_alerts: ["user_hash", "sealed", "created_at"],
|
|
discord_categories: ["category_id", "guild_id", "name", "position"],
|
|
discord_channels: ["channel_id", "guild_id", "guild_name", "name", "watched", "parent_id", "default_repo", "position", "category_id"],
|
|
discord_filed: ["repo", "number", "login", "reporter", "at"],
|
|
discord_link_codes: ["code_hash", "login", "expires_at"],
|
|
discord_links: ["user_hash", "login", "linked_at"],
|
|
discord_mentions: ["msg_hash", "channel_hash", "repo", "number", "sealed", "signal"],
|
|
discord_replies: ["ping_hash", "quoted_hash", "channel_hash", "sealed"],
|
|
discord_status: ["id", "state", "detail", "at"],
|
|
download_deltas: ["asset_id", "t", "span", "delta"],
|
|
dupe_carries: ["decision_id", "repo", "number", "state", "attempts", "outcome", "to_head", "from_head", "updated_at"],
|
|
dupe_comparisons: ["repo", "key", "kind", "members", "hash", "kept", "source", "model", "reason", "result", "error", "attempts", "at", "heads", "summary", "why", "sizes"],
|
|
dupe_group_fails: ["decision_id", "number", "fails"],
|
|
dupe_group_items: ["decision_id", "repo", "number", "kind", "role", "target", "detail", "base_role", "base_target", "head"],
|
|
dupe_group_posts: ["decision_id", "number", "step", "url", "at"],
|
|
dupe_group_texts: ["decision_id", "option", "number", "step", "text"],
|
|
dupe_groups: ["decision_id", "repo", "source", "applied_answer"],
|
|
duplicate_pairs: ["repo", "a", "b", "a_hash", "b_hash", "similarity", "jev_p", "haiku", "verdict", "canonical", "by_operator", "created_at", "checked_at"],
|
|
duplicate_scans: ["repo", "number", "hash", "at"],
|
|
ever_tracked_repos: ["name"],
|
|
fast_track: ["id", "repo", "number", "added_by", "added_at", "weight"],
|
|
final_reviews: ["repo", "number", "head_oid", "run_id", "at", "model", "verdict", "reason", "fixes", "risks", "sure", "mode", "base_head", "seen_at", "disc_hash"],
|
|
fix_attempts: ["repo", "number", "main_sha", "text_hash", "state", "round", "files", "crate", "crate_dir", "patch", "test_patch", "head_task_id", "base_task_id", "retries", "push_tries", "summary", "pr_url", "reason", "created_at", "updated_at", "size", "format_diff"],
|
|
fixups: ["repo", "number", "from_head", "to_head", "state", "reason", "files", "attempt", "created_at", "source", "patch", "lint_task", "lint_round", "lint_state", "carry_decision", "operator_fix", "changes", "session"],
|
|
flow_summary: ["repo", "counts", "counted_at", "stale", "decisions_sig"],
|
|
github_app: ["id", "app_id", "slug", "keys_enc", "updated_at"],
|
|
github_app_states: ["state", "login", "session_hash", "created_at"],
|
|
github_commands: ["comment_id", "repo", "number", "pr", "command", "weight", "login", "github_id", "created_at", "requested_at", "state", "result", "done_at", "tried_at", "retries", "allowed", "reply", "ref_repo", "ref_number", "ref_branch"],
|
|
github_setup_links: ["id", "org", "created_by", "hash", "created_at", "expires_at", "revoked_at", "used_at", "used_by", "installation_id"],
|
|
held_followups: ["id", "card_id", "choice_id", "decision_id", "answer_seq", "preapproval_id", "repo", "number", "issue_repo", "title", "body", "by", "at", "state", "issue_number", "url", "reason", "attempts", "updated_at"],
|
|
item_activity: ["repo", "number", "id", "kind", "at", "actor", "label", "before_oid", "after_oid"],
|
|
item_areas: ["repo", "number", "area", "source", "confidence", "list_version", "at"],
|
|
item_changes: ["seq", "repo", "number"],
|
|
item_embeddings: ["repo", "number", "model", "hash", "vec", "at"],
|
|
item_plans: ["repo", "number", "kind", "head", "state", "item_state", "actions", "wait", "reasons", "note", "view", "planned_at"],
|
|
item_plans_rev: ["id", "rev"],
|
|
item_priority: ["repo", "number", "text_hash", "impact", "jev_impact", "jev_p", "haiku_impact", "score", "model", "reason", "at"],
|
|
item_rank: ["repo", "number", "score", "breakdown", "computed_at"],
|
|
item_reads: ["repo", "number", "synced_at"],
|
|
item_settled: ["run", "repo", "number", "status", "label", "source", "top", "jev_label", "haiku_label", "flags", "security", "needs_decision", "referee_label", "referee_sure", "referee_reason", "referee_final"],
|
|
item_settled_dirty: ["run_id", "repo", "number", "n"],
|
|
item_settled_runs: ["run", "refreshed_at"],
|
|
item_stage: ["repo", "number", "stage", "at", "reviewed"],
|
|
items: ["repo", "number", "kind", "state", "title", "body", "url", "author", "author_type", "author_association", "created_at", "updated_at", "closed_at", "merged_at", "merged_by", "state_reason", "is_draft", "labels", "assignees", "comments_count", "reactions_count", "additions", "deletions", "changed_files", "head_ref", "head_oid", "head_repo", "base_ref", "maintainer_can_modify", "mergeable", "review_decision", "ci_state", "closing_issues", "detail_level", "embed_hash", "class_hash", "class_scheme", "text_refs", "author_id"],
|
|
job_items: ["id", "job_id", "repo", "number", "outcome", "at", "ref"],
|
|
job_log_chunks: ["job_id", "seq", "start", "chunk"],
|
|
jobs: ["id", "step", "params", "requested_by", "requested_at", "state", "started_at", "ended_at", "progress", "summary", "error", "usage", "log_path", "pid", "cancel_requested_at", "cancel_requested_by", "repo", "items", "acted", "resumes", "lease_skips", "lease_skip_keys"],
|
|
lane_next: ["lane", "total", "items", "at"],
|
|
liveness_items: ["repo", "number", "kind", "verdict", "cause", "state", "wait", "phase", "since", "checked_at"],
|
|
main_ci: ["repo", "head_sha", "branch", "state", "failing", "checks", "committed_at", "headline", "first_seen_at", "state_changed_at", "updated_at"],
|
|
main_fixes: ["repo", "head_sha", "check", "verdict", "state", "reason", "run_id", "run_url", "excerpt", "decision_id", "issue_number", "pr_number", "pr_url", "created_at", "updated_at", "session", "patch", "files", "lint_task", "lint_round", "lint_state"],
|
|
mcp_tokens: ["id", "login", "token_hash", "label", "can_answer", "created_at", "last_used_at", "expires_at", "can_run", "idle_claim_at", "idle_tiers", "idle_repos", "kind", "machine", "can_agent"],
|
|
merge_batch_prs: ["batch_id", "number", "head_oid", "position"],
|
|
merge_batches: ["id", "repo", "branch", "state", "base_sha", "commit_sha", "parent_id", "task_id", "retries", "pr_number", "pr_url", "summary", "created_at", "updated_at", "fork", "merge_sha", "build_state", "build_tries", "ci_reruns", "ci_rerun_at"],
|
|
merge_holds: ["repo", "number", "held_by", "held_at"],
|
|
merges: ["repo", "number", "head_oid", "run_id", "at", "path", "method", "outcome", "reason", "ci", "mergeable"],
|
|
model_checks: ["id", "run_id", "step", "repo", "number", "head", "command", "crate", "test_name", "task_id", "outcome", "started_at", "ended_at"],
|
|
model_waits: ["id", "provider", "class", "job_id", "step", "repo", "since", "seen_at", "eligible", "level"],
|
|
nightly_bench: ["repo", "bench", "sha", "at", "value", "unit"],
|
|
nightly_results: ["run_id", "check_id", "task_id", "state", "summary", "issue_number", "decision_id", "finished_at"],
|
|
nightly_runs: ["id", "repo", "sha", "started_at", "state"],
|
|
nightly_selection: ["repo", "check_id", "enabled", "params"],
|
|
oauth_states: ["state", "verifier", "return_to", "identity", "created_at"],
|
|
operator_fixups: ["id", "repo", "number", "from_head", "instructions", "by", "at", "state", "preapproval_id"],
|
|
opus_carried_fixes: ["repo", "number", "head_oid", "from_head", "file", "change", "outcome", "at"],
|
|
opus_review_history: ["repo", "number", "head_oid", "at", "model", "mode", "verdict", "sure", "reason", "risks", "fixes", "summary", "why", "public_review", "claims", "blocked_by", "trigger", "job_id"],
|
|
opus_reviews: ["repo", "number", "head_oid", "run_id", "at", "model", "mode", "base_head", "verdict", "sure", "reason", "fixes", "risks", "base_ref", "seen_at", "disc_hash", "public_review", "summary", "why", "conflicts", "claims", "blocked_by"],
|
|
outside_admitted: ["repo", "number", "at"],
|
|
outside_holds: ["repo", "number", "author", "kind", "reason"],
|
|
outside_released: ["repo", "number", "by", "at"],
|
|
own_commits: ["repo", "sha", "action", "at"],
|
|
owner_statements: ["id", "source_kind", "source_id", "repo", "number", "item_title", "author", "text", "at", "embedding", "model"],
|
|
patch_checks: ["id", "kind", "repo", "number", "subject", "patch_hash", "round", "verdict", "reasons", "problems", "model", "created_at"],
|
|
plan_bulk: ["id"],
|
|
plan_full: ["id", "seq"],
|
|
plan_full_causes: ["source", "n", "last_seq"],
|
|
plan_history: ["id", "repo", "number", "head", "old_state", "new_state", "old_wait", "wait", "reasons", "at"],
|
|
plan_pass_stats: ["kind", "passes", "refs", "last_at", "ms", "max_ms"],
|
|
plan_shadow_diffs: ["at", "ref", "side", "fields", "detail"],
|
|
postmerge_followups: ["repo", "number", "review_at", "finding", "title", "issue_number", "url", "state", "at", "duplicate_of", "attempts", "note"],
|
|
postmerge_reviews: ["repo", "number", "merge_sha", "at", "model", "run_id", "findings", "error", "tries"],
|
|
pr_builds: ["repo", "number", "head_sha", "base_sha", "scope", "task_id", "retried", "state", "summary", "ci_overall", "disagree", "created_at", "finished_at"],
|
|
pr_checks: ["repo", "number", "head_oid", "state", "is_draft", "overall", "checks", "mergeable", "maintainer_can_modify", "fetched_at"],
|
|
pr_commits: ["repo", "number", "oid", "committed_at", "author", "first_seen_at", "co_authors", "message"],
|
|
pr_files: ["repo", "number", "head", "path", "additions", "deletions", "change_type"],
|
|
preapprovals: ["id", "repo", "number", "by", "at", "instructions", "state", "from_head", "head", "reason", "updated_at", "fix_id"],
|
|
premerge_reviews: ["repo", "number", "head_oid", "at", "run_id", "model", "findings", "searched", "error", "tries", "conflicts", "base_ref", "unsure", "claims"],
|
|
push_outcomes: ["id", "at", "stage", "action", "repo", "number", "from_oid", "to_oid", "before_res", "after_res", "outcome", "resolved_at"],
|
|
release_apps: ["repo", "name", "stars", "updated_at"],
|
|
release_assets: ["asset_id", "repo", "release_id", "tag", "release_name", "published_at", "prerelease", "name", "platform", "processor", "format", "downloads", "first_seen", "updated_at", "gone_at"],
|
|
remote_calls: ["id", "job_id", "step", "stage", "run_id", "prompt_id", "prompt_version", "tier", "effort", "asked_model", "bundle", "state", "items", "repo", "class", "level", "since", "seen_at", "queued_since", "queued_ms", "user_login", "harness", "harness_version", "model", "lease_secret_hash", "token_id", "leased_at", "heartbeat_at", "started_at", "claim_id", "attempt", "max_attempts", "timeout_ms", "parent_id", "sticky_login", "released_by", "released_at", "progress", "reply", "usage", "turns", "session_id", "duration_ms", "error", "ended_at", "reference_repo", "root", "authors", "picked_by", "picked_at", "pick_until", "no_taker_since", "bundle_hash", "consumed_at"],
|
|
remote_checks: ["id", "call_id", "run_id", "input", "state", "result", "requested_at", "ended_at"],
|
|
remote_cooloffs: ["login", "until", "reason", "failures", "failures_since"],
|
|
remote_helpers: ["token_id", "login", "readiness", "until", "reason", "harness", "models", "reserve", "usage", "reported_at", "slots", "busy", "last_error", "helper_version"],
|
|
remote_lease_drops: ["token_id", "at", "login", "call_id"],
|
|
remote_lease_tombstones: ["secret_hash", "call_id", "at"],
|
|
remote_liveness: ["id", "alive_at", "since"],
|
|
remote_no_taker: ["repo", "since"],
|
|
remote_passages: ["id", "call_id", "run_id", "user_login", "repo", "passage_id", "page", "at"],
|
|
repo_permissions: ["login", "repo", "permission", "checked_at"],
|
|
reporter_states: ["state_hash", "reporter", "expires_at", "verifier"],
|
|
reporter_tokens: ["reporter", "github_id", "login", "token_enc", "version", "updated_at", "status"],
|
|
repos: ["name", "owner", "visibility", "default_branch", "open_prs", "open_issues", "synced_at", "high_water", "reconciled_at"],
|
|
review_blockers: ["b_repo", "b_number", "repo", "number", "head_oid"],
|
|
review_gates: ["repo", "number", "blocked", "by_login", "read_at", "failures"],
|
|
review_posts: ["repo", "number", "review_id", "head_oid", "posted_at", "edited_at", "posted_as", "opus_at"],
|
|
runner_logins: ["id", "user_code", "secret_hash", "label", "machine", "ip", "helper_version", "created_at", "expires_at", "state", "login", "token_id", "want_agent", "want_answer"],
|
|
screenshot_config: ["repo", "package", "example", "driver", "commands", "ui_paths", "size", "updated_by", "updated_at"],
|
|
screenshot_runs: ["repo", "number", "head_sha", "base_sha", "state", "reason", "plan", "head_task_id", "base_task_id", "verdict", "clear", "comparison", "model", "held", "created_at", "finished_at"],
|
|
security_areas: ["scan_id", "idx", "name", "paths", "entry_points", "risk", "why", "state", "cost_usd"],
|
|
security_calls: ["id", "scan_id", "kind", "area_idx", "finding_number", "started_at", "ended_at", "ok", "cost_usd", "agent_run_id", "resumed"],
|
|
security_findings: ["repo", "number", "scan_id", "area", "title", "severity", "urgent", "state", "refs", "category", "reach", "impact", "verification", "fingerprint", "fix_commit", "fix_pr", "ghsa_id", "fork", "fix_patch", "fix_title", "fix_summary", "fix_branch", "fix_files", "fix_ref", "note", "env_wait_at", "reason", "decided_by", "duplicate_of", "created_at", "updated_at", "fix_attempts", "last_failure"],
|
|
security_fix_log: ["repo", "number", "attempt", "round", "state", "failure", "title", "created_at", "ended_at"],
|
|
security_fix_rounds: ["repo", "number", "round", "patch", "test_patch", "title", "summary", "head_task", "base_task", "retried", "session", "state", "failure", "created_at"],
|
|
security_quiet_prs: ["repo", "pr", "finding"],
|
|
security_scan_tests: ["repo", "number", "test_path", "crate", "test_patch", "test_source", "task_id", "retried", "state", "detail", "created_at", "ended_at"],
|
|
security_scans: ["id", "repo", "commit_sha", "state", "cap_usd", "cost_usd", "estimate_usd", "areas_total", "areas_done", "started_by", "started_at", "ended_at", "error", "job_id", "threat_model"],
|
|
sessions: ["id_hash", "login", "csrf", "token_enc", "created_at", "last_seen", "expires_at", "user_agent"],
|
|
settings: ["key", "value"],
|
|
stage_limits: ["step", "per_day", "updated_by", "updated_at"],
|
|
stage_trips: ["stage", "active", "reason", "evidence", "tripped_at", "cleared_at", "cleared_by"],
|
|
stages: ["repo", "number", "stage", "at", "actor", "note", "docket"],
|
|
star_samples: ["repo", "t", "stars"],
|
|
sync_repo_errors: ["repo", "kind", "message", "moved_to", "since", "at"],
|
|
sync_requests: ["repo", "number", "event", "requested_at"],
|
|
sync_runs: ["started_at", "ended_at", "mode", "items", "error"],
|
|
token_usage: ["run_id", "agent", "stage", "model", "repo", "items", "input_tokens", "output_tokens", "cache_read_tokens", "cache_write_tokens", "started_at", "ended_at", "cost_usd"],
|
|
tracked_repos: ["name", "added_by", "added_at", "pipeline"],
|
|
user_settings: ["login", "key", "value", "updated_at"],
|
|
user_token_revocations: ["id", "login", "token_enc", "queued_at", "kind", "aad", "attempts"],
|
|
user_tokens: ["login", "github_id", "token_enc", "version", "updated_at", "status"],
|
|
verifications: ["repo", "number", "head_sha", "base_sha", "kind", "reason", "plan", "model", "head_task_id", "base_task_id", "state", "summary", "note", "created_at", "finished_at"],
|
|
whitelist_overrides: ["login", "status", "note", "by", "at", "github_id"],
|
|
work_leases: ["key", "job_id", "step", "taken_at"],
|
|
workspace_calls: ["id", "workspace_id", "n", "tool", "args", "state", "result", "created_at", "started_at", "deadline_at", "finished_at", "run_id"],
|
|
workspace_sessions: ["id", "kind", "repo", "base_sha", "item", "prompt", "env_id", "keep", "deadline_sec", "state", "outcome", "workspace_id", "remote_call_id", "job_id", "requested_by", "created_at", "updated_at", "ended_at"],
|
|
workspaces: ["id", "repo", "base_sha", "base_commit", "app", "env_id", "state", "state_at", "pod", "pod_created_at", "create_tries", "pvc", "node", "limits", "checkpoint", "checkpoint_at", "last_call_at", "next_call", "error", "owner", "created_at", "updated_at", "ended_at", "remote_call_id"],
|
|
} as const;
|