@otto-code/protocol 0.6.5 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-labels.d.ts +5 -0
- package/dist/agent-labels.js +16 -0
- package/dist/browser-automation/capabilities.d.ts +1 -1
- package/dist/browser-automation/rpc-schemas.d.ts +1 -1
- package/dist/generated/validation/ws-outbound.aot.js +24355 -21492
- package/dist/messages.d.ts +4237 -396
- package/dist/messages.js +494 -10
- package/dist/orchestration.d.ts +99 -1
- package/dist/orchestration.js +208 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +784 -1
- package/package.json +1 -1
|
@@ -2436,6 +2436,453 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2436
2436
|
workspaceId: import("zod").ZodString;
|
|
2437
2437
|
archivedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2438
2438
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2439
|
+
deletedBranch: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2440
|
+
}, import("zod/v4/core").$strip>;
|
|
2441
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2442
|
+
type: import("zod").ZodLiteral<"workspace.archive.preflight.response">;
|
|
2443
|
+
payload: import("zod").ZodObject<{
|
|
2444
|
+
requestId: import("zod").ZodString;
|
|
2445
|
+
workspaceId: import("zod").ZodString;
|
|
2446
|
+
detection: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2447
|
+
isOttoWorktree: import("zod").ZodBoolean;
|
|
2448
|
+
branchName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2449
|
+
baseBranch: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2450
|
+
mergeState: import("zod").ZodEnum<{
|
|
2451
|
+
unknown: "unknown";
|
|
2452
|
+
merged: "merged";
|
|
2453
|
+
unmerged: "unmerged";
|
|
2454
|
+
}>;
|
|
2455
|
+
unmergedCommitCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2456
|
+
hasRemoteBranch: import("zod").ZodBoolean;
|
|
2457
|
+
branchCheckedOutElsewhere: import("zod").ZodBoolean;
|
|
2458
|
+
directoryWillBeRemoved: import("zod").ZodBoolean;
|
|
2459
|
+
}, import("zod/v4/core").$strip>>;
|
|
2460
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2461
|
+
}, import("zod/v4/core").$strip>;
|
|
2462
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2463
|
+
type: import("zod").ZodLiteral<"worktree.reattach.list.response">;
|
|
2464
|
+
payload: import("zod").ZodObject<{
|
|
2465
|
+
requestId: import("zod").ZodString;
|
|
2466
|
+
candidates: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2467
|
+
workspaceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2468
|
+
worktreePath: import("zod").ZodString;
|
|
2469
|
+
branchName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2470
|
+
baseBranch: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2471
|
+
directoryOnDisk: import("zod").ZodBoolean;
|
|
2472
|
+
displayName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2473
|
+
archivedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2474
|
+
}, import("zod/v4/core").$strip>>;
|
|
2475
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2476
|
+
}, import("zod/v4/core").$strip>;
|
|
2477
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2478
|
+
type: import("zod").ZodLiteral<"worktree.reattach.response">;
|
|
2479
|
+
payload: import("zod").ZodObject<{
|
|
2480
|
+
requestId: import("zod").ZodString;
|
|
2481
|
+
workspace: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodObject<{
|
|
2482
|
+
id: import("zod").ZodString;
|
|
2483
|
+
projectId: import("zod").ZodString;
|
|
2484
|
+
projectDisplayName: import("zod").ZodString;
|
|
2485
|
+
projectCustomName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2486
|
+
projectRootPath: import("zod").ZodString;
|
|
2487
|
+
workspaceDirectory: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2488
|
+
projectKind: import("zod").ZodEnum<{
|
|
2489
|
+
git: "git";
|
|
2490
|
+
directory: "directory";
|
|
2491
|
+
non_git: "non_git";
|
|
2492
|
+
}>;
|
|
2493
|
+
workspaceKind: import("zod").ZodEnum<{
|
|
2494
|
+
worktree: "worktree";
|
|
2495
|
+
checkout: "checkout";
|
|
2496
|
+
directory: "directory";
|
|
2497
|
+
local_checkout: "local_checkout";
|
|
2498
|
+
}>;
|
|
2499
|
+
name: import("zod").ZodString;
|
|
2500
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2501
|
+
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2502
|
+
status: import("zod").ZodEnum<{
|
|
2503
|
+
running: "running";
|
|
2504
|
+
attention: "attention";
|
|
2505
|
+
needs_input: "needs_input";
|
|
2506
|
+
done: "done";
|
|
2507
|
+
failed: "failed";
|
|
2508
|
+
}>;
|
|
2509
|
+
statusEnteredAt: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, import("zod").ZodTransform<string | null, string | null | undefined>>;
|
|
2510
|
+
activityAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2511
|
+
diffStat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2512
|
+
additions: import("zod").ZodNumber;
|
|
2513
|
+
deletions: import("zod").ZodNumber;
|
|
2514
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2515
|
+
scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2516
|
+
scriptName: import("zod").ZodString;
|
|
2517
|
+
type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2518
|
+
script: "script";
|
|
2519
|
+
service: "service";
|
|
2520
|
+
}>>>;
|
|
2521
|
+
hostname: import("zod").ZodString;
|
|
2522
|
+
port: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2523
|
+
localProxyUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2524
|
+
publicProxyUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2525
|
+
proxyUrl: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2526
|
+
lifecycle: import("zod").ZodEnum<{
|
|
2527
|
+
running: "running";
|
|
2528
|
+
stopped: "stopped";
|
|
2529
|
+
}>;
|
|
2530
|
+
health: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2531
|
+
healthy: "healthy";
|
|
2532
|
+
unhealthy: "unhealthy";
|
|
2533
|
+
}>>;
|
|
2534
|
+
exitCode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
2535
|
+
terminalId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2536
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2537
|
+
gitRuntime: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2538
|
+
currentBranch: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2539
|
+
remoteUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2540
|
+
isOttoOwnedWorktree: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2541
|
+
isDirty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
2542
|
+
aheadBehind: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2543
|
+
ahead: import("zod").ZodNumber;
|
|
2544
|
+
behind: import("zod").ZodNumber;
|
|
2545
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2546
|
+
aheadOfOrigin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2547
|
+
behindOfOrigin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2548
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2549
|
+
githubRuntime: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2550
|
+
featuresEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2551
|
+
pullRequest: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2552
|
+
number: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2553
|
+
url: import("zod").ZodString;
|
|
2554
|
+
title: import("zod").ZodString;
|
|
2555
|
+
state: import("zod").ZodString;
|
|
2556
|
+
baseRefName: import("zod").ZodString;
|
|
2557
|
+
headRefName: import("zod").ZodString;
|
|
2558
|
+
isMerged: import("zod").ZodBoolean;
|
|
2559
|
+
isDraft: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2560
|
+
mergeable: import("zod").ZodOptional<import("zod").ZodCatch<import("zod").ZodEnum<{
|
|
2561
|
+
UNKNOWN: "UNKNOWN";
|
|
2562
|
+
MERGEABLE: "MERGEABLE";
|
|
2563
|
+
CONFLICTING: "CONFLICTING";
|
|
2564
|
+
}>>>;
|
|
2565
|
+
checks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2566
|
+
name: import("zod").ZodString;
|
|
2567
|
+
status: import("zod").ZodEnum<{
|
|
2568
|
+
success: "success";
|
|
2569
|
+
pending: "pending";
|
|
2570
|
+
skipped: "skipped";
|
|
2571
|
+
failure: "failure";
|
|
2572
|
+
cancelled: "cancelled";
|
|
2573
|
+
}>;
|
|
2574
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2575
|
+
workflow: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2576
|
+
duration: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2577
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2578
|
+
checksStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2579
|
+
success: "success";
|
|
2580
|
+
pending: "pending";
|
|
2581
|
+
none: "none";
|
|
2582
|
+
failure: "failure";
|
|
2583
|
+
}>>;
|
|
2584
|
+
reviewDecision: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2585
|
+
pending: "pending";
|
|
2586
|
+
approved: "approved";
|
|
2587
|
+
changes_requested: "changes_requested";
|
|
2588
|
+
}>>>;
|
|
2589
|
+
repoOwner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2590
|
+
repoName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2591
|
+
github: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2592
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2593
|
+
error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2594
|
+
message: import("zod").ZodString;
|
|
2595
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2596
|
+
refreshedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2597
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2598
|
+
project: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2599
|
+
projectKey: import("zod").ZodString;
|
|
2600
|
+
projectName: import("zod").ZodString;
|
|
2601
|
+
workspaceName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2602
|
+
checkout: import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodObject<{
|
|
2603
|
+
cwd: import("zod").ZodString;
|
|
2604
|
+
isGit: import("zod").ZodLiteral<false>;
|
|
2605
|
+
currentBranch: import("zod").ZodNull;
|
|
2606
|
+
remoteUrl: import("zod").ZodNull;
|
|
2607
|
+
worktreeRoot: import("zod").ZodOptional<import("zod").ZodNull>;
|
|
2608
|
+
isOttoOwnedWorktree: import("zod").ZodLiteral<false>;
|
|
2609
|
+
mainRepoRoot: import("zod").ZodNull;
|
|
2610
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2611
|
+
worktreeRoot: null;
|
|
2612
|
+
cwd: string;
|
|
2613
|
+
isGit: false;
|
|
2614
|
+
currentBranch: null;
|
|
2615
|
+
remoteUrl: null;
|
|
2616
|
+
isOttoOwnedWorktree: false;
|
|
2617
|
+
mainRepoRoot: null;
|
|
2618
|
+
}, {
|
|
2619
|
+
cwd: string;
|
|
2620
|
+
isGit: false;
|
|
2621
|
+
currentBranch: null;
|
|
2622
|
+
remoteUrl: null;
|
|
2623
|
+
isOttoOwnedWorktree: false;
|
|
2624
|
+
mainRepoRoot: null;
|
|
2625
|
+
worktreeRoot?: null | undefined;
|
|
2626
|
+
}>>, import("zod").ZodPipe<import("zod").ZodObject<{
|
|
2627
|
+
cwd: import("zod").ZodString;
|
|
2628
|
+
isGit: import("zod").ZodLiteral<true>;
|
|
2629
|
+
currentBranch: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2630
|
+
remoteUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2631
|
+
worktreeRoot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2632
|
+
isOttoOwnedWorktree: import("zod").ZodLiteral<false>;
|
|
2633
|
+
mainRepoRoot: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2634
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2635
|
+
worktreeRoot: string;
|
|
2636
|
+
cwd: string;
|
|
2637
|
+
isGit: true;
|
|
2638
|
+
currentBranch: string | null;
|
|
2639
|
+
remoteUrl: string | null;
|
|
2640
|
+
isOttoOwnedWorktree: false;
|
|
2641
|
+
mainRepoRoot: string | null;
|
|
2642
|
+
}, {
|
|
2643
|
+
cwd: string;
|
|
2644
|
+
isGit: true;
|
|
2645
|
+
currentBranch: string | null;
|
|
2646
|
+
remoteUrl: string | null;
|
|
2647
|
+
isOttoOwnedWorktree: false;
|
|
2648
|
+
mainRepoRoot: string | null;
|
|
2649
|
+
worktreeRoot?: string | undefined;
|
|
2650
|
+
}>>, import("zod").ZodPipe<import("zod").ZodObject<{
|
|
2651
|
+
cwd: import("zod").ZodString;
|
|
2652
|
+
isGit: import("zod").ZodLiteral<true>;
|
|
2653
|
+
currentBranch: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2654
|
+
remoteUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2655
|
+
worktreeRoot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2656
|
+
isOttoOwnedWorktree: import("zod").ZodLiteral<true>;
|
|
2657
|
+
mainRepoRoot: import("zod").ZodString;
|
|
2658
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2659
|
+
worktreeRoot: string;
|
|
2660
|
+
cwd: string;
|
|
2661
|
+
isGit: true;
|
|
2662
|
+
currentBranch: string | null;
|
|
2663
|
+
remoteUrl: string | null;
|
|
2664
|
+
isOttoOwnedWorktree: true;
|
|
2665
|
+
mainRepoRoot: string;
|
|
2666
|
+
}, {
|
|
2667
|
+
cwd: string;
|
|
2668
|
+
isGit: true;
|
|
2669
|
+
currentBranch: string | null;
|
|
2670
|
+
remoteUrl: string | null;
|
|
2671
|
+
isOttoOwnedWorktree: true;
|
|
2672
|
+
mainRepoRoot: string;
|
|
2673
|
+
worktreeRoot?: string | undefined;
|
|
2674
|
+
}>>]>;
|
|
2675
|
+
}, import("zod/v4/core").$strip>>;
|
|
2676
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
2677
|
+
workspaceDirectory: string;
|
|
2678
|
+
id: string;
|
|
2679
|
+
projectId: string;
|
|
2680
|
+
projectDisplayName: string;
|
|
2681
|
+
projectRootPath: string;
|
|
2682
|
+
projectKind: "git" | "directory" | "non_git";
|
|
2683
|
+
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
2684
|
+
name: string;
|
|
2685
|
+
archivingAt: string | null;
|
|
2686
|
+
status: "running" | "attention" | "needs_input" | "done" | "failed";
|
|
2687
|
+
statusEnteredAt: string | null;
|
|
2688
|
+
activityAt: string | null;
|
|
2689
|
+
scripts: {
|
|
2690
|
+
scriptName: string;
|
|
2691
|
+
type: "script" | "service";
|
|
2692
|
+
hostname: string;
|
|
2693
|
+
port: number | null;
|
|
2694
|
+
proxyUrl: string | null;
|
|
2695
|
+
lifecycle: "running" | "stopped";
|
|
2696
|
+
health: "healthy" | "unhealthy" | null;
|
|
2697
|
+
exitCode: number | null;
|
|
2698
|
+
terminalId: string | null;
|
|
2699
|
+
localProxyUrl?: string | null | undefined;
|
|
2700
|
+
publicProxyUrl?: string | null | undefined;
|
|
2701
|
+
}[];
|
|
2702
|
+
projectCustomName?: string | null | undefined;
|
|
2703
|
+
title?: string | null | undefined;
|
|
2704
|
+
diffStat?: {
|
|
2705
|
+
additions: number;
|
|
2706
|
+
deletions: number;
|
|
2707
|
+
} | null | undefined;
|
|
2708
|
+
gitRuntime?: {
|
|
2709
|
+
currentBranch?: string | null | undefined;
|
|
2710
|
+
remoteUrl?: string | null | undefined;
|
|
2711
|
+
isOttoOwnedWorktree?: boolean | undefined;
|
|
2712
|
+
isDirty?: boolean | null | undefined;
|
|
2713
|
+
aheadBehind?: {
|
|
2714
|
+
ahead: number;
|
|
2715
|
+
behind: number;
|
|
2716
|
+
} | null | undefined;
|
|
2717
|
+
aheadOfOrigin?: number | null | undefined;
|
|
2718
|
+
behindOfOrigin?: number | null | undefined;
|
|
2719
|
+
} | null | undefined;
|
|
2720
|
+
githubRuntime?: {
|
|
2721
|
+
featuresEnabled?: boolean | undefined;
|
|
2722
|
+
pullRequest?: {
|
|
2723
|
+
url: string;
|
|
2724
|
+
title: string;
|
|
2725
|
+
state: string;
|
|
2726
|
+
baseRefName: string;
|
|
2727
|
+
headRefName: string;
|
|
2728
|
+
isMerged: boolean;
|
|
2729
|
+
number?: number | undefined;
|
|
2730
|
+
isDraft?: boolean | undefined;
|
|
2731
|
+
mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
|
|
2732
|
+
checks?: {
|
|
2733
|
+
name: string;
|
|
2734
|
+
status: "success" | "pending" | "skipped" | "failure" | "cancelled";
|
|
2735
|
+
url: string | null;
|
|
2736
|
+
workflow?: string | undefined;
|
|
2737
|
+
duration?: string | undefined;
|
|
2738
|
+
}[] | undefined;
|
|
2739
|
+
checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
|
|
2740
|
+
reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
|
|
2741
|
+
repoOwner?: string | undefined;
|
|
2742
|
+
repoName?: string | undefined;
|
|
2743
|
+
github?: unknown;
|
|
2744
|
+
} | null | undefined;
|
|
2745
|
+
error?: {
|
|
2746
|
+
message: string;
|
|
2747
|
+
} | null | undefined;
|
|
2748
|
+
refreshedAt?: string | null | undefined;
|
|
2749
|
+
} | null | undefined;
|
|
2750
|
+
project?: {
|
|
2751
|
+
projectKey: string;
|
|
2752
|
+
projectName: string;
|
|
2753
|
+
checkout: {
|
|
2754
|
+
worktreeRoot: null;
|
|
2755
|
+
cwd: string;
|
|
2756
|
+
isGit: false;
|
|
2757
|
+
currentBranch: null;
|
|
2758
|
+
remoteUrl: null;
|
|
2759
|
+
isOttoOwnedWorktree: false;
|
|
2760
|
+
mainRepoRoot: null;
|
|
2761
|
+
} | {
|
|
2762
|
+
worktreeRoot: string;
|
|
2763
|
+
cwd: string;
|
|
2764
|
+
isGit: true;
|
|
2765
|
+
currentBranch: string | null;
|
|
2766
|
+
remoteUrl: string | null;
|
|
2767
|
+
isOttoOwnedWorktree: false;
|
|
2768
|
+
mainRepoRoot: string | null;
|
|
2769
|
+
} | {
|
|
2770
|
+
worktreeRoot: string;
|
|
2771
|
+
cwd: string;
|
|
2772
|
+
isGit: true;
|
|
2773
|
+
currentBranch: string | null;
|
|
2774
|
+
remoteUrl: string | null;
|
|
2775
|
+
isOttoOwnedWorktree: true;
|
|
2776
|
+
mainRepoRoot: string;
|
|
2777
|
+
};
|
|
2778
|
+
workspaceName?: string | null | undefined;
|
|
2779
|
+
} | undefined;
|
|
2780
|
+
}, {
|
|
2781
|
+
id: string;
|
|
2782
|
+
projectId: string;
|
|
2783
|
+
projectDisplayName: string;
|
|
2784
|
+
projectRootPath: string;
|
|
2785
|
+
projectKind: "git" | "directory" | "non_git";
|
|
2786
|
+
workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
|
|
2787
|
+
name: string;
|
|
2788
|
+
archivingAt: string | null;
|
|
2789
|
+
status: "running" | "attention" | "needs_input" | "done" | "failed";
|
|
2790
|
+
statusEnteredAt: string | null;
|
|
2791
|
+
activityAt: string | null;
|
|
2792
|
+
scripts: {
|
|
2793
|
+
scriptName: string;
|
|
2794
|
+
type: "script" | "service";
|
|
2795
|
+
hostname: string;
|
|
2796
|
+
port: number | null;
|
|
2797
|
+
proxyUrl: string | null;
|
|
2798
|
+
lifecycle: "running" | "stopped";
|
|
2799
|
+
health: "healthy" | "unhealthy" | null;
|
|
2800
|
+
exitCode: number | null;
|
|
2801
|
+
terminalId: string | null;
|
|
2802
|
+
localProxyUrl?: string | null | undefined;
|
|
2803
|
+
publicProxyUrl?: string | null | undefined;
|
|
2804
|
+
}[];
|
|
2805
|
+
projectCustomName?: string | null | undefined;
|
|
2806
|
+
workspaceDirectory?: string | undefined;
|
|
2807
|
+
title?: string | null | undefined;
|
|
2808
|
+
diffStat?: {
|
|
2809
|
+
additions: number;
|
|
2810
|
+
deletions: number;
|
|
2811
|
+
} | null | undefined;
|
|
2812
|
+
gitRuntime?: {
|
|
2813
|
+
currentBranch?: string | null | undefined;
|
|
2814
|
+
remoteUrl?: string | null | undefined;
|
|
2815
|
+
isOttoOwnedWorktree?: boolean | undefined;
|
|
2816
|
+
isDirty?: boolean | null | undefined;
|
|
2817
|
+
aheadBehind?: {
|
|
2818
|
+
ahead: number;
|
|
2819
|
+
behind: number;
|
|
2820
|
+
} | null | undefined;
|
|
2821
|
+
aheadOfOrigin?: number | null | undefined;
|
|
2822
|
+
behindOfOrigin?: number | null | undefined;
|
|
2823
|
+
} | null | undefined;
|
|
2824
|
+
githubRuntime?: {
|
|
2825
|
+
featuresEnabled?: boolean | undefined;
|
|
2826
|
+
pullRequest?: {
|
|
2827
|
+
url: string;
|
|
2828
|
+
title: string;
|
|
2829
|
+
state: string;
|
|
2830
|
+
baseRefName: string;
|
|
2831
|
+
headRefName: string;
|
|
2832
|
+
isMerged: boolean;
|
|
2833
|
+
number?: number | undefined;
|
|
2834
|
+
isDraft?: boolean | undefined;
|
|
2835
|
+
mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
|
|
2836
|
+
checks?: {
|
|
2837
|
+
name: string;
|
|
2838
|
+
status: "success" | "pending" | "skipped" | "failure" | "cancelled";
|
|
2839
|
+
url: string | null;
|
|
2840
|
+
workflow?: string | undefined;
|
|
2841
|
+
duration?: string | undefined;
|
|
2842
|
+
}[] | undefined;
|
|
2843
|
+
checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
|
|
2844
|
+
reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
|
|
2845
|
+
repoOwner?: string | undefined;
|
|
2846
|
+
repoName?: string | undefined;
|
|
2847
|
+
github?: unknown;
|
|
2848
|
+
} | null | undefined;
|
|
2849
|
+
error?: {
|
|
2850
|
+
message: string;
|
|
2851
|
+
} | null | undefined;
|
|
2852
|
+
refreshedAt?: string | null | undefined;
|
|
2853
|
+
} | null | undefined;
|
|
2854
|
+
project?: {
|
|
2855
|
+
projectKey: string;
|
|
2856
|
+
projectName: string;
|
|
2857
|
+
checkout: {
|
|
2858
|
+
worktreeRoot: null;
|
|
2859
|
+
cwd: string;
|
|
2860
|
+
isGit: false;
|
|
2861
|
+
currentBranch: null;
|
|
2862
|
+
remoteUrl: null;
|
|
2863
|
+
isOttoOwnedWorktree: false;
|
|
2864
|
+
mainRepoRoot: null;
|
|
2865
|
+
} | {
|
|
2866
|
+
worktreeRoot: string;
|
|
2867
|
+
cwd: string;
|
|
2868
|
+
isGit: true;
|
|
2869
|
+
currentBranch: string | null;
|
|
2870
|
+
remoteUrl: string | null;
|
|
2871
|
+
isOttoOwnedWorktree: false;
|
|
2872
|
+
mainRepoRoot: string | null;
|
|
2873
|
+
} | {
|
|
2874
|
+
worktreeRoot: string;
|
|
2875
|
+
cwd: string;
|
|
2876
|
+
isGit: true;
|
|
2877
|
+
currentBranch: string | null;
|
|
2878
|
+
remoteUrl: string | null;
|
|
2879
|
+
isOttoOwnedWorktree: true;
|
|
2880
|
+
mainRepoRoot: string;
|
|
2881
|
+
};
|
|
2882
|
+
workspaceName?: string | null | undefined;
|
|
2883
|
+
} | undefined;
|
|
2884
|
+
}>>>;
|
|
2885
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2439
2886
|
}, import("zod/v4/core").$strip>;
|
|
2440
2887
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2441
2888
|
type: import("zod").ZodLiteral<"fetch_agent_response">;
|
|
@@ -3444,6 +3891,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3444
3891
|
preferWriterPersonalities: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3445
3892
|
}, import("zod/v4/core").$loose>>;
|
|
3446
3893
|
autoArchiveAfterMerge: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3894
|
+
hideMergeIntoBaseAction: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3447
3895
|
enableTerminalAgentHooks: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3448
3896
|
appendSystemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3449
3897
|
terminalProfiles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3511,6 +3959,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3511
3959
|
voiceCues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3512
3960
|
join: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3513
3961
|
thinking: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3962
|
+
waiting: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3514
3963
|
done: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3515
3964
|
}, import("zod/v4/core").$loose>>;
|
|
3516
3965
|
}, import("zod/v4/core").$loose>>>;
|
|
@@ -3599,6 +4048,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3599
4048
|
preferWriterPersonalities: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3600
4049
|
}, import("zod/v4/core").$loose>>;
|
|
3601
4050
|
autoArchiveAfterMerge: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4051
|
+
hideMergeIntoBaseAction: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3602
4052
|
enableTerminalAgentHooks: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3603
4053
|
appendSystemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3604
4054
|
terminalProfiles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3666,6 +4116,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3666
4116
|
voiceCues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3667
4117
|
join: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3668
4118
|
thinking: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4119
|
+
waiting: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3669
4120
|
done: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3670
4121
|
}, import("zod/v4/core").$loose>>;
|
|
3671
4122
|
}, import("zod/v4/core").$loose>>>;
|
|
@@ -3744,6 +4195,19 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3744
4195
|
format: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3745
4196
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3746
4197
|
}, import("zod/v4/core").$loose>;
|
|
4198
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4199
|
+
type: import("zod").ZodLiteral<"speech.tts.speak.response">;
|
|
4200
|
+
payload: import("zod").ZodObject<{
|
|
4201
|
+
requestId: import("zod").ZodString;
|
|
4202
|
+
ok: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4203
|
+
canceled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4204
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4205
|
+
}, import("zod/v4/core").$loose>;
|
|
4206
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4207
|
+
type: import("zod").ZodLiteral<"speech.tts.speak.cancel.response">;
|
|
4208
|
+
payload: import("zod").ZodObject<{
|
|
4209
|
+
requestId: import("zod").ZodString;
|
|
4210
|
+
}, import("zod/v4/core").$loose>;
|
|
3747
4211
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3748
4212
|
type: import("zod").ZodLiteral<"visualizer.voiceCues.generate.response">;
|
|
3749
4213
|
payload: import("zod").ZodObject<{
|
|
@@ -3751,6 +4215,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3751
4215
|
cues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3752
4216
|
join: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3753
4217
|
thinking: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4218
|
+
waiting: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3754
4219
|
done: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3755
4220
|
}, import("zod/v4/core").$loose>>;
|
|
3756
4221
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -4816,13 +5281,167 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4816
5281
|
text: import("zod").ZodString;
|
|
4817
5282
|
}, import("zod/v4/core").$strip>>;
|
|
4818
5283
|
}, import("zod/v4/core").$strip>;
|
|
5284
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5285
|
+
type: import("zod").ZodLiteral<"checkout.git.get_file_history.response">;
|
|
5286
|
+
payload: import("zod").ZodObject<{
|
|
5287
|
+
cwd: import("zod").ZodString;
|
|
5288
|
+
path: import("zod").ZodString;
|
|
5289
|
+
entries: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5290
|
+
sha: import("zod").ZodString;
|
|
5291
|
+
shortSha: import("zod").ZodString;
|
|
5292
|
+
subject: import("zod").ZodString;
|
|
5293
|
+
body: import("zod").ZodString;
|
|
5294
|
+
authorName: import("zod").ZodString;
|
|
5295
|
+
authorEmail: import("zod").ZodString;
|
|
5296
|
+
authoredAt: import("zod").ZodNumber;
|
|
5297
|
+
committerName: import("zod").ZodString;
|
|
5298
|
+
committedAt: import("zod").ZodNumber;
|
|
5299
|
+
path: import("zod").ZodString;
|
|
5300
|
+
previousPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5301
|
+
changeKind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5302
|
+
isMerge: import("zod").ZodBoolean;
|
|
5303
|
+
parentShas: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
5304
|
+
}, import("zod/v4/core").$strip>>;
|
|
5305
|
+
hasMore: import("zod").ZodBoolean;
|
|
5306
|
+
error: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
5307
|
+
kind: import("zod").ZodLiteral<"not_git_repo">;
|
|
5308
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5309
|
+
kind: import("zod").ZodLiteral<"invalid_path">;
|
|
5310
|
+
detail: import("zod").ZodString;
|
|
5311
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5312
|
+
kind: import("zod").ZodLiteral<"git_failed">;
|
|
5313
|
+
detail: import("zod").ZodString;
|
|
5314
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
5315
|
+
requestId: import("zod").ZodString;
|
|
5316
|
+
}, import("zod/v4/core").$strip>;
|
|
5317
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5318
|
+
type: import("zod").ZodLiteral<"checkout.git.get_file_commit_diff.response">;
|
|
5319
|
+
payload: import("zod").ZodObject<{
|
|
5320
|
+
cwd: import("zod").ZodString;
|
|
5321
|
+
path: import("zod").ZodString;
|
|
5322
|
+
sha: import("zod").ZodString;
|
|
5323
|
+
diff: import("zod").ZodString;
|
|
5324
|
+
structured: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5325
|
+
path: import("zod").ZodString;
|
|
5326
|
+
isNew: import("zod").ZodBoolean;
|
|
5327
|
+
isDeleted: import("zod").ZodBoolean;
|
|
5328
|
+
additions: import("zod").ZodNumber;
|
|
5329
|
+
deletions: import("zod").ZodNumber;
|
|
5330
|
+
hunks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5331
|
+
oldStart: import("zod").ZodNumber;
|
|
5332
|
+
oldCount: import("zod").ZodNumber;
|
|
5333
|
+
newStart: import("zod").ZodNumber;
|
|
5334
|
+
newCount: import("zod").ZodNumber;
|
|
5335
|
+
lines: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5336
|
+
type: import("zod").ZodEnum<{
|
|
5337
|
+
context: "context";
|
|
5338
|
+
add: "add";
|
|
5339
|
+
remove: "remove";
|
|
5340
|
+
header: "header";
|
|
5341
|
+
}>;
|
|
5342
|
+
content: import("zod").ZodString;
|
|
5343
|
+
tokens: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5344
|
+
text: import("zod").ZodString;
|
|
5345
|
+
style: import("zod").ZodNullable<import("zod").ZodString>;
|
|
5346
|
+
}, import("zod/v4/core").$strip>>>;
|
|
5347
|
+
}, import("zod/v4/core").$strip>>;
|
|
5348
|
+
}, import("zod/v4/core").$strip>>;
|
|
5349
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5350
|
+
ok: "ok";
|
|
5351
|
+
too_large: "too_large";
|
|
5352
|
+
binary: "binary";
|
|
5353
|
+
}>>;
|
|
5354
|
+
}, import("zod/v4/core").$strip>>>;
|
|
5355
|
+
previousSha: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5356
|
+
previousPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5357
|
+
truncated: import("zod").ZodBoolean;
|
|
5358
|
+
error: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
5359
|
+
kind: import("zod").ZodLiteral<"not_git_repo">;
|
|
5360
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5361
|
+
kind: import("zod").ZodLiteral<"invalid_path">;
|
|
5362
|
+
detail: import("zod").ZodString;
|
|
5363
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5364
|
+
kind: import("zod").ZodLiteral<"git_failed">;
|
|
5365
|
+
detail: import("zod").ZodString;
|
|
5366
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
5367
|
+
requestId: import("zod").ZodString;
|
|
5368
|
+
}, import("zod/v4/core").$strip>;
|
|
5369
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5370
|
+
type: import("zod").ZodLiteral<"checkout.git.get_file_blame.response">;
|
|
5371
|
+
payload: import("zod").ZodObject<{
|
|
5372
|
+
cwd: import("zod").ZodString;
|
|
5373
|
+
path: import("zod").ZodString;
|
|
5374
|
+
lines: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5375
|
+
line: import("zod").ZodNumber;
|
|
5376
|
+
sha: import("zod").ZodString;
|
|
5377
|
+
originalLine: import("zod").ZodNumber;
|
|
5378
|
+
}, import("zod/v4/core").$strip>>;
|
|
5379
|
+
commits: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5380
|
+
sha: import("zod").ZodString;
|
|
5381
|
+
shortSha: import("zod").ZodString;
|
|
5382
|
+
summary: import("zod").ZodString;
|
|
5383
|
+
authorName: import("zod").ZodString;
|
|
5384
|
+
authorEmail: import("zod").ZodString;
|
|
5385
|
+
authoredAt: import("zod").ZodNumber;
|
|
5386
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5387
|
+
}, import("zod/v4/core").$strip>>;
|
|
5388
|
+
startLine: import("zod").ZodNumber;
|
|
5389
|
+
endLine: import("zod").ZodNumber;
|
|
5390
|
+
reachedEndOfFile: import("zod").ZodBoolean;
|
|
5391
|
+
error: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
5392
|
+
kind: import("zod").ZodLiteral<"not_git_repo">;
|
|
5393
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5394
|
+
kind: import("zod").ZodLiteral<"invalid_path">;
|
|
5395
|
+
detail: import("zod").ZodString;
|
|
5396
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5397
|
+
kind: import("zod").ZodLiteral<"git_failed">;
|
|
5398
|
+
detail: import("zod").ZodString;
|
|
5399
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
5400
|
+
requestId: import("zod").ZodString;
|
|
5401
|
+
}, import("zod/v4/core").$strip>;
|
|
5402
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5403
|
+
type: import("zod").ZodLiteral<"checkout.git.get_file_origin.response">;
|
|
5404
|
+
payload: import("zod").ZodObject<{
|
|
5405
|
+
cwd: import("zod").ZodString;
|
|
5406
|
+
path: import("zod").ZodString;
|
|
5407
|
+
entry: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
5408
|
+
sha: import("zod").ZodString;
|
|
5409
|
+
shortSha: import("zod").ZodString;
|
|
5410
|
+
subject: import("zod").ZodString;
|
|
5411
|
+
body: import("zod").ZodString;
|
|
5412
|
+
authorName: import("zod").ZodString;
|
|
5413
|
+
authorEmail: import("zod").ZodString;
|
|
5414
|
+
authoredAt: import("zod").ZodNumber;
|
|
5415
|
+
committerName: import("zod").ZodString;
|
|
5416
|
+
committedAt: import("zod").ZodNumber;
|
|
5417
|
+
path: import("zod").ZodString;
|
|
5418
|
+
previousPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5419
|
+
changeKind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5420
|
+
isMerge: import("zod").ZodBoolean;
|
|
5421
|
+
parentShas: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
5422
|
+
}, import("zod/v4/core").$strip>>;
|
|
5423
|
+
error: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
5424
|
+
kind: import("zod").ZodLiteral<"not_git_repo">;
|
|
5425
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5426
|
+
kind: import("zod").ZodLiteral<"invalid_path">;
|
|
5427
|
+
detail: import("zod").ZodString;
|
|
5428
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5429
|
+
kind: import("zod").ZodLiteral<"git_failed">;
|
|
5430
|
+
detail: import("zod").ZodString;
|
|
5431
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
5432
|
+
requestId: import("zod").ZodString;
|
|
5433
|
+
}, import("zod/v4/core").$strip>;
|
|
4819
5434
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4820
5435
|
type: import("zod").ZodLiteral<"runs.get_snapshot.response">;
|
|
4821
5436
|
payload: import("zod").ZodObject<{
|
|
4822
5437
|
runs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4823
5438
|
id: import("zod").ZodString;
|
|
4824
5439
|
title: import("zod").ZodString;
|
|
5440
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4825
5441
|
status: import("zod").ZodString;
|
|
5442
|
+
kind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5443
|
+
graphId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5444
|
+
graphInputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
4826
5445
|
requirements: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4827
5446
|
autopilot: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4828
5447
|
phases: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -4874,7 +5493,11 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4874
5493
|
run: import("zod").ZodObject<{
|
|
4875
5494
|
id: import("zod").ZodString;
|
|
4876
5495
|
title: import("zod").ZodString;
|
|
5496
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4877
5497
|
status: import("zod").ZodString;
|
|
5498
|
+
kind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5499
|
+
graphId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5500
|
+
graphInputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
4878
5501
|
requirements: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4879
5502
|
autopilot: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4880
5503
|
phases: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -4944,6 +5567,166 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4944
5567
|
payload: import("zod").ZodObject<{
|
|
4945
5568
|
runIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
4946
5569
|
}, import("zod/v4/core").$strip>;
|
|
5570
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5571
|
+
type: import("zod").ZodLiteral<"runs.graphs.list.response">;
|
|
5572
|
+
payload: import("zod").ZodObject<{
|
|
5573
|
+
graphs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5574
|
+
id: import("zod").ZodString;
|
|
5575
|
+
name: import("zod").ZodString;
|
|
5576
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5577
|
+
inputs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5578
|
+
key: import("zod").ZodString;
|
|
5579
|
+
label: import("zod").ZodString;
|
|
5580
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5581
|
+
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5582
|
+
required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5583
|
+
defaultValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5584
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5585
|
+
nodes: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5586
|
+
id: import("zod").ZodString;
|
|
5587
|
+
kind: import("zod").ZodString;
|
|
5588
|
+
title: import("zod").ZodString;
|
|
5589
|
+
role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5590
|
+
prompt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5591
|
+
promptFromInput: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5592
|
+
autonomous: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5593
|
+
loop: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5594
|
+
times: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5595
|
+
until: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5596
|
+
criteria: import("zod").ZodArray<import("zod").ZodString>;
|
|
5597
|
+
judgeRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5598
|
+
max: import("zod").ZodNumber;
|
|
5599
|
+
}, import("zod/v4/core").$loose>>;
|
|
5600
|
+
}, import("zod/v4/core").$loose>>;
|
|
5601
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5602
|
+
position: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5603
|
+
x: import("zod").ZodNumber;
|
|
5604
|
+
y: import("zod").ZodNumber;
|
|
5605
|
+
}, import("zod/v4/core").$loose>>;
|
|
5606
|
+
}, import("zod/v4/core").$loose>>;
|
|
5607
|
+
edges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5608
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5609
|
+
from: import("zod").ZodString;
|
|
5610
|
+
to: import("zod").ZodString;
|
|
5611
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5612
|
+
builtIn: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5613
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5614
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5615
|
+
}, import("zod/v4/core").$loose>>;
|
|
5616
|
+
requestId: import("zod").ZodString;
|
|
5617
|
+
}, import("zod/v4/core").$strip>;
|
|
5618
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5619
|
+
type: import("zod").ZodLiteral<"runs.graphs.save.response">;
|
|
5620
|
+
payload: import("zod").ZodObject<{
|
|
5621
|
+
graph: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5622
|
+
id: import("zod").ZodString;
|
|
5623
|
+
name: import("zod").ZodString;
|
|
5624
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5625
|
+
inputs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5626
|
+
key: import("zod").ZodString;
|
|
5627
|
+
label: import("zod").ZodString;
|
|
5628
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5629
|
+
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5630
|
+
required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5631
|
+
defaultValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5632
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5633
|
+
nodes: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5634
|
+
id: import("zod").ZodString;
|
|
5635
|
+
kind: import("zod").ZodString;
|
|
5636
|
+
title: import("zod").ZodString;
|
|
5637
|
+
role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5638
|
+
prompt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5639
|
+
promptFromInput: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5640
|
+
autonomous: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5641
|
+
loop: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5642
|
+
times: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5643
|
+
until: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5644
|
+
criteria: import("zod").ZodArray<import("zod").ZodString>;
|
|
5645
|
+
judgeRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5646
|
+
max: import("zod").ZodNumber;
|
|
5647
|
+
}, import("zod/v4/core").$loose>>;
|
|
5648
|
+
}, import("zod/v4/core").$loose>>;
|
|
5649
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5650
|
+
position: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5651
|
+
x: import("zod").ZodNumber;
|
|
5652
|
+
y: import("zod").ZodNumber;
|
|
5653
|
+
}, import("zod/v4/core").$loose>>;
|
|
5654
|
+
}, import("zod/v4/core").$loose>>;
|
|
5655
|
+
edges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5656
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5657
|
+
from: import("zod").ZodString;
|
|
5658
|
+
to: import("zod").ZodString;
|
|
5659
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5660
|
+
builtIn: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5661
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5662
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5663
|
+
}, import("zod/v4/core").$loose>>;
|
|
5664
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5665
|
+
requestId: import("zod").ZodString;
|
|
5666
|
+
}, import("zod/v4/core").$strip>;
|
|
5667
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5668
|
+
type: import("zod").ZodLiteral<"runs.graphs.delete.response">;
|
|
5669
|
+
payload: import("zod").ZodObject<{
|
|
5670
|
+
deleted: import("zod").ZodBoolean;
|
|
5671
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5672
|
+
requestId: import("zod").ZodString;
|
|
5673
|
+
}, import("zod/v4/core").$strip>;
|
|
5674
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5675
|
+
type: import("zod").ZodLiteral<"runs.graphs.changed.notification">;
|
|
5676
|
+
payload: import("zod").ZodObject<{
|
|
5677
|
+
graphs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5678
|
+
id: import("zod").ZodString;
|
|
5679
|
+
name: import("zod").ZodString;
|
|
5680
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5681
|
+
inputs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5682
|
+
key: import("zod").ZodString;
|
|
5683
|
+
label: import("zod").ZodString;
|
|
5684
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5685
|
+
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5686
|
+
required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5687
|
+
defaultValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5688
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5689
|
+
nodes: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5690
|
+
id: import("zod").ZodString;
|
|
5691
|
+
kind: import("zod").ZodString;
|
|
5692
|
+
title: import("zod").ZodString;
|
|
5693
|
+
role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5694
|
+
prompt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5695
|
+
promptFromInput: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5696
|
+
autonomous: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5697
|
+
loop: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5698
|
+
times: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5699
|
+
until: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5700
|
+
criteria: import("zod").ZodArray<import("zod").ZodString>;
|
|
5701
|
+
judgeRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5702
|
+
max: import("zod").ZodNumber;
|
|
5703
|
+
}, import("zod/v4/core").$loose>>;
|
|
5704
|
+
}, import("zod/v4/core").$loose>>;
|
|
5705
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5706
|
+
position: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5707
|
+
x: import("zod").ZodNumber;
|
|
5708
|
+
y: import("zod").ZodNumber;
|
|
5709
|
+
}, import("zod/v4/core").$loose>>;
|
|
5710
|
+
}, import("zod/v4/core").$loose>>;
|
|
5711
|
+
edges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5712
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5713
|
+
from: import("zod").ZodString;
|
|
5714
|
+
to: import("zod").ZodString;
|
|
5715
|
+
}, import("zod/v4/core").$loose>>>;
|
|
5716
|
+
builtIn: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5717
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5718
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5719
|
+
}, import("zod/v4/core").$loose>>;
|
|
5720
|
+
}, import("zod/v4/core").$strip>;
|
|
5721
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5722
|
+
type: import("zod").ZodLiteral<"runs.start.response">;
|
|
5723
|
+
payload: import("zod").ZodObject<{
|
|
5724
|
+
runId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5725
|
+
agentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5726
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5727
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5728
|
+
requestId: import("zod").ZodString;
|
|
5729
|
+
}, import("zod/v4/core").$strip>;
|
|
4947
5730
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4948
5731
|
type: import("zod").ZodLiteral<"checkout_merge_response">;
|
|
4949
5732
|
payload: import("zod").ZodObject<{
|
|
@@ -6086,8 +6869,8 @@ export declare const WSOutboundMessageSchema: {
|
|
|
6086
6869
|
cwd: import("zod").ZodString;
|
|
6087
6870
|
path: import("zod").ZodString;
|
|
6088
6871
|
change: import("zod").ZodEnum<{
|
|
6089
|
-
changed: "changed";
|
|
6090
6872
|
deleted: "deleted";
|
|
6873
|
+
changed: "changed";
|
|
6091
6874
|
recreated: "recreated";
|
|
6092
6875
|
}>;
|
|
6093
6876
|
modifiedAt: import("zod").ZodNullable<import("zod").ZodString>;
|