@getpaseo/protocol 0.1.107 → 0.1.109
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/generated/validation/ws-outbound.aot.js +20961 -20395
- package/dist/git-remote.d.ts +10 -0
- package/dist/git-remote.js +12 -0
- package/dist/messages.d.ts +754 -0
- package/dist/messages.js +135 -0
- package/dist/provider-manifest.js +25 -22
- package/dist/validation/ws-outbound-schema-metadata.d.ts +143 -0
- package/package.json +1 -1
package/dist/messages.js
CHANGED
|
@@ -655,6 +655,12 @@ export const WorkspaceTitleSetRequestSchema = z.object({
|
|
|
655
655
|
title: z.string().nullable(),
|
|
656
656
|
requestId: z.string(),
|
|
657
657
|
});
|
|
658
|
+
export const WorkspacePinSetRequestSchema = z.object({
|
|
659
|
+
type: z.literal("workspace.pin.set.request"),
|
|
660
|
+
workspaceId: z.string(),
|
|
661
|
+
pinned: z.boolean(),
|
|
662
|
+
requestId: z.string(),
|
|
663
|
+
});
|
|
658
664
|
export const SetVoiceModeMessageSchema = z.object({
|
|
659
665
|
type: z.literal("set_voice_mode"),
|
|
660
666
|
enabled: z.boolean(),
|
|
@@ -1073,6 +1079,7 @@ export const ProviderSubagentTimelineRequestMessageSchema = z.object({
|
|
|
1073
1079
|
export const AgentForkContextRequestMessageSchema = z.object({
|
|
1074
1080
|
type: z.literal("agent.fork_context.request"),
|
|
1075
1081
|
agentId: z.string(),
|
|
1082
|
+
boundaryCursor: AgentTimelineCursorSchema.optional(),
|
|
1076
1083
|
boundaryMessageId: z.string().optional(),
|
|
1077
1084
|
requestId: z.string(),
|
|
1078
1085
|
});
|
|
@@ -1187,6 +1194,17 @@ export const WorkspaceTitleSetResponseSchema = z.object({
|
|
|
1187
1194
|
type: z.literal("workspace.title.set.response"),
|
|
1188
1195
|
payload: WorkspaceTitleSetResponsePayloadSchema,
|
|
1189
1196
|
});
|
|
1197
|
+
export const WorkspacePinSetResponsePayloadSchema = z.object({
|
|
1198
|
+
requestId: z.string(),
|
|
1199
|
+
workspaceId: z.string(),
|
|
1200
|
+
accepted: z.boolean(),
|
|
1201
|
+
pinnedAt: z.string().nullable(),
|
|
1202
|
+
error: z.string().nullable(),
|
|
1203
|
+
});
|
|
1204
|
+
export const WorkspacePinSetResponseSchema = z.object({
|
|
1205
|
+
type: z.literal("workspace.pin.set.response"),
|
|
1206
|
+
payload: WorkspacePinSetResponsePayloadSchema,
|
|
1207
|
+
});
|
|
1190
1208
|
export const SetVoiceModeResponseMessageSchema = z.object({
|
|
1191
1209
|
type: z.literal("set_voice_mode_response"),
|
|
1192
1210
|
payload: z.object({
|
|
@@ -1465,11 +1483,42 @@ export const OpenProjectRequestSchema = z.object({
|
|
|
1465
1483
|
cwd: z.string(),
|
|
1466
1484
|
requestId: z.string(),
|
|
1467
1485
|
});
|
|
1486
|
+
// Smallest shorthand repo path is "a/b": owner, slash, repository.
|
|
1487
|
+
const MIN_REPOSITORY_PATH_LENGTH = 3;
|
|
1468
1488
|
export const ProjectAddRequestSchema = z.object({
|
|
1469
1489
|
type: z.literal("project.add.request"),
|
|
1470
1490
|
cwd: z.string(),
|
|
1471
1491
|
requestId: z.string(),
|
|
1472
1492
|
});
|
|
1493
|
+
export const ProjectCreateDirectoryRequestSchema = z.object({
|
|
1494
|
+
type: z.literal("project.create_directory.request"),
|
|
1495
|
+
parentPath: z.string(),
|
|
1496
|
+
name: z.string(),
|
|
1497
|
+
requestId: z.string(),
|
|
1498
|
+
});
|
|
1499
|
+
export const GithubRepositorySchema = z.object({
|
|
1500
|
+
id: z.string().min(1),
|
|
1501
|
+
name: z.string().min(1),
|
|
1502
|
+
nameWithOwner: z.string().min(MIN_REPOSITORY_PATH_LENGTH),
|
|
1503
|
+
description: z.string().nullable(),
|
|
1504
|
+
visibility: z.enum(["public", "private", "internal"]),
|
|
1505
|
+
updatedAt: z.string(),
|
|
1506
|
+
cloneUrl: z.string().min(MIN_REPOSITORY_PATH_LENGTH),
|
|
1507
|
+
});
|
|
1508
|
+
export const WorkspaceGithubSearchRepositoriesRequestSchema = z.object({
|
|
1509
|
+
type: z.literal("workspace.github.search_repositories.request"),
|
|
1510
|
+
query: z.string(),
|
|
1511
|
+
limit: z.number().int().min(1).max(50).optional(),
|
|
1512
|
+
requestId: z.string(),
|
|
1513
|
+
});
|
|
1514
|
+
export const ProjectGithubCloneProtocolSchema = z.enum(["https", "ssh"]);
|
|
1515
|
+
export const ProjectGithubCloneRequestSchema = z.object({
|
|
1516
|
+
type: z.literal("project.github.clone.request"),
|
|
1517
|
+
repo: z.string().trim().min(MIN_REPOSITORY_PATH_LENGTH),
|
|
1518
|
+
cloneProtocol: ProjectGithubCloneProtocolSchema.optional(),
|
|
1519
|
+
targetDirectory: z.string().trim().min(1),
|
|
1520
|
+
requestId: z.string(),
|
|
1521
|
+
});
|
|
1473
1522
|
export const ArchiveWorkspaceRequestSchema = z.object({
|
|
1474
1523
|
type: z.literal("archive_workspace_request"),
|
|
1475
1524
|
workspaceId: z.string(),
|
|
@@ -1746,6 +1795,7 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
1746
1795
|
ProjectRenameRequestSchema,
|
|
1747
1796
|
ProjectRemoveRequestSchema,
|
|
1748
1797
|
WorkspaceTitleSetRequestSchema,
|
|
1798
|
+
WorkspacePinSetRequestSchema,
|
|
1749
1799
|
SetVoiceModeMessageSchema,
|
|
1750
1800
|
SendAgentMessageRequestSchema,
|
|
1751
1801
|
WaitForFinishRequestSchema,
|
|
@@ -1819,6 +1869,9 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
1819
1869
|
LegacyOpenInEditorRequestSchema,
|
|
1820
1870
|
OpenProjectRequestSchema,
|
|
1821
1871
|
ProjectAddRequestSchema,
|
|
1872
|
+
ProjectCreateDirectoryRequestSchema,
|
|
1873
|
+
WorkspaceGithubSearchRepositoriesRequestSchema,
|
|
1874
|
+
ProjectGithubCloneRequestSchema,
|
|
1822
1875
|
ArchiveWorkspaceRequestSchema,
|
|
1823
1876
|
WorkspaceCreateRequestSchema,
|
|
1824
1877
|
WorkspaceClearAttentionRequestSchema,
|
|
@@ -2036,8 +2089,18 @@ export const ServerInfoStatusPayloadSchema = z
|
|
|
2036
2089
|
daemonSelfUpdate: z.boolean().optional(),
|
|
2037
2090
|
// COMPAT(agentForkContext): added in v0.1.102, remove gate after 2026-12-28.
|
|
2038
2091
|
agentForkContext: z.boolean().optional(),
|
|
2092
|
+
// COMPAT(agentForkContextCursor): added in v0.1.108, remove gate after 2027-01-14.
|
|
2093
|
+
agentForkContextCursor: z.boolean().optional(),
|
|
2039
2094
|
// COMPAT(providerSubagents): added in v0.1.107, remove gate after 2027-01-12.
|
|
2040
2095
|
providerSubagents: z.boolean().optional(),
|
|
2096
|
+
// COMPAT(workspacePinning): added in v0.1.107, remove gate after 2027-01-12.
|
|
2097
|
+
workspacePinning: z.boolean().optional(),
|
|
2098
|
+
// COMPAT(projectGithubClone): added in v0.1.108, remove gate after 2027-01-15.
|
|
2099
|
+
projectGithubClone: z.boolean().optional(),
|
|
2100
|
+
// COMPAT(workspaceGithubRepositorySearch): added in v0.1.108, remove gate after 2027-01-15.
|
|
2101
|
+
workspaceGithubRepositorySearch: z.boolean().optional(),
|
|
2102
|
+
// COMPAT(projectCreateDirectory): added in v0.1.108, remove gate after 2027-01-15.
|
|
2103
|
+
projectCreateDirectory: z.boolean().optional(),
|
|
2041
2104
|
})
|
|
2042
2105
|
.optional(),
|
|
2043
2106
|
})
|
|
@@ -2288,6 +2351,8 @@ export const WorkspaceDescriptorPayloadSchema = z
|
|
|
2288
2351
|
// its input and offer a "reset to branch name" action. Null means the name
|
|
2289
2352
|
// is derived from the branch/directory.
|
|
2290
2353
|
title: z.string().nullable().optional(),
|
|
2354
|
+
// COMPAT(workspacePinning): added in v0.1.107, remove optional after 2027-01-12.
|
|
2355
|
+
pinnedAt: z.string().nullable().optional(),
|
|
2291
2356
|
archivingAt: z.string().nullable().optional().default(null),
|
|
2292
2357
|
status: WorkspaceStateBucketSchema,
|
|
2293
2358
|
// Best-effort workspace status entry timestamp. Old daemons omit the
|
|
@@ -2487,6 +2552,70 @@ export const ProjectAddResponseSchema = z.object({
|
|
|
2487
2552
|
errorCode: z.enum(["directory_not_found"]).nullish().catch(null),
|
|
2488
2553
|
}),
|
|
2489
2554
|
});
|
|
2555
|
+
export const ProjectCreateDirectoryErrorCodeSchema = z.enum([
|
|
2556
|
+
"invalid_name",
|
|
2557
|
+
"parent_directory_not_found",
|
|
2558
|
+
"directory_exists",
|
|
2559
|
+
"permission_denied",
|
|
2560
|
+
"registration_failed",
|
|
2561
|
+
"filesystem_error",
|
|
2562
|
+
]);
|
|
2563
|
+
export const ProjectCreateDirectoryResponseSchema = z.object({
|
|
2564
|
+
type: z.literal("project.create_directory.response"),
|
|
2565
|
+
payload: z.object({
|
|
2566
|
+
requestId: z.string(),
|
|
2567
|
+
directoryPath: z.string().nullable(),
|
|
2568
|
+
project: WorkspaceProjectDescriptorPayloadSchema.nullable(),
|
|
2569
|
+
error: z.string().nullable(),
|
|
2570
|
+
// Error codes are open-ended on the wire so older clients can still parse
|
|
2571
|
+
// responses after a newer daemon learns another failure reason.
|
|
2572
|
+
errorCode: z.string().nullable(),
|
|
2573
|
+
}),
|
|
2574
|
+
});
|
|
2575
|
+
export const WorkspaceGithubSearchRepositoriesResponseSchema = z.object({
|
|
2576
|
+
type: z.literal("workspace.github.search_repositories.response"),
|
|
2577
|
+
payload: z.discriminatedUnion("status", [
|
|
2578
|
+
z.object({
|
|
2579
|
+
status: z.literal("success"),
|
|
2580
|
+
requestId: z.string(),
|
|
2581
|
+
repositories: z.array(GithubRepositorySchema),
|
|
2582
|
+
available: z.literal(true),
|
|
2583
|
+
error: z.null(),
|
|
2584
|
+
}),
|
|
2585
|
+
z.object({
|
|
2586
|
+
status: z.literal("unavailable"),
|
|
2587
|
+
requestId: z.string(),
|
|
2588
|
+
repositories: z.array(GithubRepositorySchema),
|
|
2589
|
+
reason: z.literal("gh_missing"),
|
|
2590
|
+
available: z.literal(false),
|
|
2591
|
+
error: z.string(),
|
|
2592
|
+
}),
|
|
2593
|
+
z.object({
|
|
2594
|
+
status: z.literal("unauthenticated"),
|
|
2595
|
+
requestId: z.string(),
|
|
2596
|
+
repositories: z.array(GithubRepositorySchema),
|
|
2597
|
+
available: z.literal(false),
|
|
2598
|
+
error: z.string(),
|
|
2599
|
+
}),
|
|
2600
|
+
z.object({
|
|
2601
|
+
status: z.literal("error"),
|
|
2602
|
+
requestId: z.string(),
|
|
2603
|
+
repositories: z.array(GithubRepositorySchema),
|
|
2604
|
+
available: z.literal(true),
|
|
2605
|
+
error: z.string(),
|
|
2606
|
+
}),
|
|
2607
|
+
]),
|
|
2608
|
+
});
|
|
2609
|
+
export const ProjectGithubCloneResponseSchema = z.object({
|
|
2610
|
+
type: z.literal("project.github.clone.response"),
|
|
2611
|
+
payload: z.object({
|
|
2612
|
+
requestId: z.string(),
|
|
2613
|
+
repo: z.string().trim().min(MIN_REPOSITORY_PATH_LENGTH),
|
|
2614
|
+
checkoutPath: z.string().nullable(),
|
|
2615
|
+
project: WorkspaceProjectDescriptorPayloadSchema.nullable(),
|
|
2616
|
+
error: z.string().nullable(),
|
|
2617
|
+
}),
|
|
2618
|
+
});
|
|
2490
2619
|
export const StartWorkspaceScriptResponseMessageSchema = z.object({
|
|
2491
2620
|
type: z.literal("start_workspace_script_response"),
|
|
2492
2621
|
payload: z.object({
|
|
@@ -2652,6 +2781,7 @@ export const AgentForkContextResponseMessageSchema = z.object({
|
|
|
2652
2781
|
attachment: TextAttachmentSchema.nullable(),
|
|
2653
2782
|
itemCount: z.number().int().nonnegative(),
|
|
2654
2783
|
boundaryMessageId: z.string().nullable(),
|
|
2784
|
+
boundaryCursor: AgentTimelineCursorSchema.nullable().optional(),
|
|
2655
2785
|
error: z.string().nullable(),
|
|
2656
2786
|
}),
|
|
2657
2787
|
});
|
|
@@ -2661,6 +2791,7 @@ export const CancelAgentResponseMessageSchema = z.object({
|
|
|
2661
2791
|
requestId: z.string(),
|
|
2662
2792
|
agentId: z.string(),
|
|
2663
2793
|
agent: AgentSnapshotPayloadSchema.nullable(),
|
|
2794
|
+
error: z.string().nullable().optional(),
|
|
2664
2795
|
}),
|
|
2665
2796
|
});
|
|
2666
2797
|
export const ClearAgentAttentionResponseMessageSchema = z.object({
|
|
@@ -3759,7 +3890,10 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
3759
3890
|
FetchRecentProviderSessionsResponseMessageSchema,
|
|
3760
3891
|
FetchWorkspacesResponseMessageSchema,
|
|
3761
3892
|
ProjectAddResponseSchema,
|
|
3893
|
+
ProjectCreateDirectoryResponseSchema,
|
|
3762
3894
|
OpenProjectResponseMessageSchema,
|
|
3895
|
+
WorkspaceGithubSearchRepositoriesResponseSchema,
|
|
3896
|
+
ProjectGithubCloneResponseSchema,
|
|
3763
3897
|
StartWorkspaceScriptResponseMessageSchema,
|
|
3764
3898
|
LegacyListAvailableEditorsResponseMessageSchema,
|
|
3765
3899
|
LegacyOpenInEditorResponseMessageSchema,
|
|
@@ -3793,6 +3927,7 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
3793
3927
|
ProjectRenameResponseSchema,
|
|
3794
3928
|
ProjectRemoveResponseSchema,
|
|
3795
3929
|
WorkspaceTitleSetResponseSchema,
|
|
3930
|
+
WorkspacePinSetResponseSchema,
|
|
3796
3931
|
WaitForFinishResponseMessageSchema,
|
|
3797
3932
|
AgentPermissionRequestMessageSchema,
|
|
3798
3933
|
AgentPermissionResolvedMessageSchema,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
const CLAUDE_MODES = [
|
|
3
|
+
{
|
|
4
|
+
id: "plan",
|
|
5
|
+
label: "Plan Mode",
|
|
6
|
+
description: "Analyze the codebase without executing tools or edits",
|
|
7
|
+
icon: "ShieldEllipsis",
|
|
8
|
+
colorTier: "planning",
|
|
9
|
+
},
|
|
3
10
|
{
|
|
4
11
|
id: "default",
|
|
5
12
|
label: "Always Ask",
|
|
6
13
|
description: "Prompts for permission the first time a tool is used",
|
|
7
|
-
icon: "
|
|
14
|
+
icon: "Shield",
|
|
8
15
|
colorTier: "safe",
|
|
9
16
|
},
|
|
10
|
-
{
|
|
11
|
-
id: "auto",
|
|
12
|
-
label: "Auto mode",
|
|
13
|
-
description: "Uses a model classifier to review permission prompts automatically",
|
|
14
|
-
icon: "ShieldQuestionMark",
|
|
15
|
-
colorTier: "moderate",
|
|
16
|
-
},
|
|
17
17
|
{
|
|
18
18
|
id: "acceptEdits",
|
|
19
19
|
label: "Accept File Edits",
|
|
20
20
|
description: "Automatically approves edit-focused tools without prompting",
|
|
21
|
-
icon: "
|
|
21
|
+
icon: "ShieldPlus",
|
|
22
22
|
colorTier: "moderate",
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
id: "
|
|
26
|
-
label: "
|
|
27
|
-
description: "
|
|
25
|
+
id: "auto",
|
|
26
|
+
label: "Auto mode",
|
|
27
|
+
description: "Uses a model classifier to review permission prompts automatically",
|
|
28
28
|
icon: "ShieldCheck",
|
|
29
|
-
colorTier: "
|
|
29
|
+
colorTier: "moderate",
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
id: "bypassPermissions",
|
|
33
33
|
label: "Bypass",
|
|
34
34
|
description: "Skip all permission prompts (use with caution)",
|
|
35
|
-
icon: "
|
|
35
|
+
icon: "ShieldOff",
|
|
36
36
|
colorTier: "dangerous",
|
|
37
37
|
isUnattended: true,
|
|
38
38
|
},
|
|
@@ -42,21 +42,21 @@ const CODEX_MODES = [
|
|
|
42
42
|
id: "auto",
|
|
43
43
|
label: "Default Permissions",
|
|
44
44
|
description: "Edit files and run commands with Codex's default approval flow.",
|
|
45
|
-
icon: "
|
|
45
|
+
icon: "Shield",
|
|
46
46
|
colorTier: "moderate",
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
id: "auto-review",
|
|
50
50
|
label: "Auto-review",
|
|
51
51
|
description: "Same workspace-write permissions as Default, but eligible `on-request` approvals are routed through the auto-reviewer subagent.",
|
|
52
|
-
icon: "
|
|
52
|
+
icon: "ShieldCheck",
|
|
53
53
|
colorTier: "moderate",
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
id: "full-access",
|
|
57
57
|
label: "Full Access",
|
|
58
58
|
description: "Edit files, run commands, and access the network without additional prompts.",
|
|
59
|
-
icon: "
|
|
59
|
+
icon: "ShieldOff",
|
|
60
60
|
colorTier: "dangerous",
|
|
61
61
|
isUnattended: true,
|
|
62
62
|
},
|
|
@@ -66,14 +66,14 @@ const COPILOT_MODES = [
|
|
|
66
66
|
id: "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
67
67
|
label: "Agent",
|
|
68
68
|
description: "Default agent mode for conversational interactions",
|
|
69
|
-
icon: "
|
|
69
|
+
icon: "Shield",
|
|
70
70
|
colorTier: "moderate",
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
id: "https://agentclientprotocol.com/protocol/session-modes#plan",
|
|
74
74
|
label: "Plan",
|
|
75
75
|
description: "Plan mode for creating and executing multi-step plans",
|
|
76
|
-
icon: "
|
|
76
|
+
icon: "ShieldEllipsis",
|
|
77
77
|
colorTier: "planning",
|
|
78
78
|
},
|
|
79
79
|
{
|
|
@@ -90,14 +90,14 @@ const OPENCODE_MODES = [
|
|
|
90
90
|
id: "build",
|
|
91
91
|
label: "Build",
|
|
92
92
|
description: "Allows edits and tool execution for implementation work",
|
|
93
|
-
icon: "
|
|
93
|
+
icon: "Shield",
|
|
94
94
|
colorTier: "moderate",
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
id: "plan",
|
|
98
98
|
label: "Plan",
|
|
99
99
|
description: "Read-only planning mode that avoids file edits",
|
|
100
|
-
icon: "
|
|
100
|
+
icon: "ShieldEllipsis",
|
|
101
101
|
colorTier: "planning",
|
|
102
102
|
},
|
|
103
103
|
];
|
|
@@ -155,7 +155,10 @@ export const AGENT_PROVIDER_DEFINITIONS = [
|
|
|
155
155
|
id: "opencode",
|
|
156
156
|
label: "OpenCode",
|
|
157
157
|
description: "Open-source coding assistant with multi-provider model support",
|
|
158
|
-
|
|
158
|
+
// No static default: OpenCode users can rename or delete any agent,
|
|
159
|
+
// including "build". Leaving this unset means the daemon and OpenCode
|
|
160
|
+
// itself decide (see normalizeOpenCodeModeId in opencode-agent.ts).
|
|
161
|
+
defaultModeId: null,
|
|
159
162
|
modes: OPENCODE_MODES,
|
|
160
163
|
voice: {
|
|
161
164
|
enabled: true,
|
|
@@ -449,6 +449,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
449
449
|
}>;
|
|
450
450
|
name: import("zod").ZodString;
|
|
451
451
|
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
452
|
+
pinnedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
452
453
|
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
453
454
|
status: import("zod").ZodEnum<{
|
|
454
455
|
running: "running";
|
|
@@ -652,6 +653,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
652
653
|
}[];
|
|
653
654
|
projectCustomName?: string | null | undefined;
|
|
654
655
|
title?: string | null | undefined;
|
|
656
|
+
pinnedAt?: string | null | undefined;
|
|
655
657
|
diffStat?: {
|
|
656
658
|
additions: number;
|
|
657
659
|
deletions: number;
|
|
@@ -756,6 +758,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
756
758
|
projectCustomName?: string | null | undefined;
|
|
757
759
|
workspaceDirectory?: string | undefined;
|
|
758
760
|
title?: string | null | undefined;
|
|
761
|
+
pinnedAt?: string | null | undefined;
|
|
759
762
|
diffStat?: {
|
|
760
763
|
additions: number;
|
|
761
764
|
deletions: number;
|
|
@@ -1421,6 +1424,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
1421
1424
|
}>;
|
|
1422
1425
|
name: import("zod").ZodString;
|
|
1423
1426
|
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1427
|
+
pinnedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1424
1428
|
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
1425
1429
|
status: import("zod").ZodEnum<{
|
|
1426
1430
|
running: "running";
|
|
@@ -1624,6 +1628,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
1624
1628
|
}[];
|
|
1625
1629
|
projectCustomName?: string | null | undefined;
|
|
1626
1630
|
title?: string | null | undefined;
|
|
1631
|
+
pinnedAt?: string | null | undefined;
|
|
1627
1632
|
diffStat?: {
|
|
1628
1633
|
additions: number;
|
|
1629
1634
|
deletions: number;
|
|
@@ -1728,6 +1733,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
1728
1733
|
projectCustomName?: string | null | undefined;
|
|
1729
1734
|
workspaceDirectory?: string | undefined;
|
|
1730
1735
|
title?: string | null | undefined;
|
|
1736
|
+
pinnedAt?: string | null | undefined;
|
|
1731
1737
|
diffStat?: {
|
|
1732
1738
|
additions: number;
|
|
1733
1739
|
deletions: number;
|
|
@@ -1842,6 +1848,25 @@ export declare const WSOutboundMessageSchema: {
|
|
|
1842
1848
|
directory_not_found: "directory_not_found";
|
|
1843
1849
|
}>>>>;
|
|
1844
1850
|
}, import("zod/v4/core").$strip>;
|
|
1851
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1852
|
+
type: import("zod").ZodLiteral<"project.create_directory.response">;
|
|
1853
|
+
payload: import("zod").ZodObject<{
|
|
1854
|
+
requestId: import("zod").ZodString;
|
|
1855
|
+
directoryPath: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1856
|
+
project: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1857
|
+
projectId: import("zod").ZodString;
|
|
1858
|
+
projectDisplayName: import("zod").ZodString;
|
|
1859
|
+
projectCustomName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1860
|
+
projectRootPath: import("zod").ZodString;
|
|
1861
|
+
projectKind: import("zod").ZodEnum<{
|
|
1862
|
+
git: "git";
|
|
1863
|
+
directory: "directory";
|
|
1864
|
+
non_git: "non_git";
|
|
1865
|
+
}>;
|
|
1866
|
+
}, import("zod/v4/core").$strip>>;
|
|
1867
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1868
|
+
errorCode: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1869
|
+
}, import("zod/v4/core").$strip>;
|
|
1845
1870
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1846
1871
|
type: import("zod").ZodLiteral<"open_project_response">;
|
|
1847
1872
|
payload: import("zod").ZodObject<{
|
|
@@ -1866,6 +1891,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
1866
1891
|
}>;
|
|
1867
1892
|
name: import("zod").ZodString;
|
|
1868
1893
|
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1894
|
+
pinnedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1869
1895
|
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
1870
1896
|
status: import("zod").ZodEnum<{
|
|
1871
1897
|
running: "running";
|
|
@@ -2069,6 +2095,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2069
2095
|
}[];
|
|
2070
2096
|
projectCustomName?: string | null | undefined;
|
|
2071
2097
|
title?: string | null | undefined;
|
|
2098
|
+
pinnedAt?: string | null | undefined;
|
|
2072
2099
|
diffStat?: {
|
|
2073
2100
|
additions: number;
|
|
2074
2101
|
deletions: number;
|
|
@@ -2173,6 +2200,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2173
2200
|
projectCustomName?: string | null | undefined;
|
|
2174
2201
|
workspaceDirectory?: string | undefined;
|
|
2175
2202
|
title?: string | null | undefined;
|
|
2203
|
+
pinnedAt?: string | null | undefined;
|
|
2176
2204
|
diffStat?: {
|
|
2177
2205
|
additions: number;
|
|
2178
2206
|
deletions: number;
|
|
@@ -2255,6 +2283,101 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2255
2283
|
directory_not_found: "directory_not_found";
|
|
2256
2284
|
}>>>>;
|
|
2257
2285
|
}, import("zod/v4/core").$strip>;
|
|
2286
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2287
|
+
type: import("zod").ZodLiteral<"workspace.github.search_repositories.response">;
|
|
2288
|
+
payload: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2289
|
+
status: import("zod").ZodLiteral<"success">;
|
|
2290
|
+
requestId: import("zod").ZodString;
|
|
2291
|
+
repositories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2292
|
+
id: import("zod").ZodString;
|
|
2293
|
+
name: import("zod").ZodString;
|
|
2294
|
+
nameWithOwner: import("zod").ZodString;
|
|
2295
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2296
|
+
visibility: import("zod").ZodEnum<{
|
|
2297
|
+
public: "public";
|
|
2298
|
+
private: "private";
|
|
2299
|
+
internal: "internal";
|
|
2300
|
+
}>;
|
|
2301
|
+
updatedAt: import("zod").ZodString;
|
|
2302
|
+
cloneUrl: import("zod").ZodString;
|
|
2303
|
+
}, import("zod/v4/core").$strip>>;
|
|
2304
|
+
available: import("zod").ZodLiteral<true>;
|
|
2305
|
+
error: import("zod").ZodNull;
|
|
2306
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2307
|
+
status: import("zod").ZodLiteral<"unavailable">;
|
|
2308
|
+
requestId: import("zod").ZodString;
|
|
2309
|
+
repositories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2310
|
+
id: import("zod").ZodString;
|
|
2311
|
+
name: import("zod").ZodString;
|
|
2312
|
+
nameWithOwner: import("zod").ZodString;
|
|
2313
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2314
|
+
visibility: import("zod").ZodEnum<{
|
|
2315
|
+
public: "public";
|
|
2316
|
+
private: "private";
|
|
2317
|
+
internal: "internal";
|
|
2318
|
+
}>;
|
|
2319
|
+
updatedAt: import("zod").ZodString;
|
|
2320
|
+
cloneUrl: import("zod").ZodString;
|
|
2321
|
+
}, import("zod/v4/core").$strip>>;
|
|
2322
|
+
reason: import("zod").ZodLiteral<"gh_missing">;
|
|
2323
|
+
available: import("zod").ZodLiteral<false>;
|
|
2324
|
+
error: import("zod").ZodString;
|
|
2325
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2326
|
+
status: import("zod").ZodLiteral<"unauthenticated">;
|
|
2327
|
+
requestId: import("zod").ZodString;
|
|
2328
|
+
repositories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2329
|
+
id: import("zod").ZodString;
|
|
2330
|
+
name: import("zod").ZodString;
|
|
2331
|
+
nameWithOwner: import("zod").ZodString;
|
|
2332
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2333
|
+
visibility: import("zod").ZodEnum<{
|
|
2334
|
+
public: "public";
|
|
2335
|
+
private: "private";
|
|
2336
|
+
internal: "internal";
|
|
2337
|
+
}>;
|
|
2338
|
+
updatedAt: import("zod").ZodString;
|
|
2339
|
+
cloneUrl: import("zod").ZodString;
|
|
2340
|
+
}, import("zod/v4/core").$strip>>;
|
|
2341
|
+
available: import("zod").ZodLiteral<false>;
|
|
2342
|
+
error: import("zod").ZodString;
|
|
2343
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2344
|
+
status: import("zod").ZodLiteral<"error">;
|
|
2345
|
+
requestId: import("zod").ZodString;
|
|
2346
|
+
repositories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2347
|
+
id: import("zod").ZodString;
|
|
2348
|
+
name: import("zod").ZodString;
|
|
2349
|
+
nameWithOwner: import("zod").ZodString;
|
|
2350
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2351
|
+
visibility: import("zod").ZodEnum<{
|
|
2352
|
+
public: "public";
|
|
2353
|
+
private: "private";
|
|
2354
|
+
internal: "internal";
|
|
2355
|
+
}>;
|
|
2356
|
+
updatedAt: import("zod").ZodString;
|
|
2357
|
+
cloneUrl: import("zod").ZodString;
|
|
2358
|
+
}, import("zod/v4/core").$strip>>;
|
|
2359
|
+
available: import("zod").ZodLiteral<true>;
|
|
2360
|
+
error: import("zod").ZodString;
|
|
2361
|
+
}, import("zod/v4/core").$strip>], "status">;
|
|
2362
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2363
|
+
type: import("zod").ZodLiteral<"project.github.clone.response">;
|
|
2364
|
+
payload: import("zod").ZodObject<{
|
|
2365
|
+
requestId: import("zod").ZodString;
|
|
2366
|
+
repo: import("zod").ZodString;
|
|
2367
|
+
checkoutPath: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2368
|
+
project: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2369
|
+
projectId: import("zod").ZodString;
|
|
2370
|
+
projectDisplayName: import("zod").ZodString;
|
|
2371
|
+
projectCustomName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2372
|
+
projectRootPath: import("zod").ZodString;
|
|
2373
|
+
projectKind: import("zod").ZodEnum<{
|
|
2374
|
+
git: "git";
|
|
2375
|
+
directory: "directory";
|
|
2376
|
+
non_git: "non_git";
|
|
2377
|
+
}>;
|
|
2378
|
+
}, import("zod/v4/core").$strip>>;
|
|
2379
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2380
|
+
}, import("zod/v4/core").$strip>;
|
|
2258
2381
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2259
2382
|
type: import("zod").ZodLiteral<"start_workspace_script_response">;
|
|
2260
2383
|
payload: import("zod").ZodObject<{
|
|
@@ -2662,6 +2785,10 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2662
2785
|
}>>>;
|
|
2663
2786
|
itemCount: import("zod").ZodNumber;
|
|
2664
2787
|
boundaryMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2788
|
+
boundaryCursor: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2789
|
+
epoch: import("zod").ZodString;
|
|
2790
|
+
seq: import("zod").ZodNumber;
|
|
2791
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2665
2792
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2666
2793
|
}, import("zod/v4/core").$strip>;
|
|
2667
2794
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2731,6 +2858,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2731
2858
|
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2732
2859
|
providerUnavailable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2733
2860
|
}, import("zod/v4/core").$strip>>;
|
|
2861
|
+
error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2734
2862
|
}, import("zod/v4/core").$strip>;
|
|
2735
2863
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2736
2864
|
type: import("zod").ZodLiteral<"clear_agent_attention_response">;
|
|
@@ -2823,6 +2951,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
2823
2951
|
}>;
|
|
2824
2952
|
name: import("zod").ZodString;
|
|
2825
2953
|
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2954
|
+
pinnedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2826
2955
|
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2827
2956
|
status: import("zod").ZodEnum<{
|
|
2828
2957
|
running: "running";
|
|
@@ -3026,6 +3155,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3026
3155
|
}[];
|
|
3027
3156
|
projectCustomName?: string | null | undefined;
|
|
3028
3157
|
title?: string | null | undefined;
|
|
3158
|
+
pinnedAt?: string | null | undefined;
|
|
3029
3159
|
diffStat?: {
|
|
3030
3160
|
additions: number;
|
|
3031
3161
|
deletions: number;
|
|
@@ -3130,6 +3260,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3130
3260
|
projectCustomName?: string | null | undefined;
|
|
3131
3261
|
workspaceDirectory?: string | undefined;
|
|
3132
3262
|
title?: string | null | undefined;
|
|
3263
|
+
pinnedAt?: string | null | undefined;
|
|
3133
3264
|
diffStat?: {
|
|
3134
3265
|
additions: number;
|
|
3135
3266
|
deletions: number;
|
|
@@ -3559,6 +3690,15 @@ export declare const WSOutboundMessageSchema: {
|
|
|
3559
3690
|
title: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3560
3691
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3561
3692
|
}, import("zod/v4/core").$strip>;
|
|
3693
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3694
|
+
type: import("zod").ZodLiteral<"workspace.pin.set.response">;
|
|
3695
|
+
payload: import("zod").ZodObject<{
|
|
3696
|
+
requestId: import("zod").ZodString;
|
|
3697
|
+
workspaceId: import("zod").ZodString;
|
|
3698
|
+
accepted: import("zod").ZodBoolean;
|
|
3699
|
+
pinnedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3700
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3701
|
+
}, import("zod/v4/core").$strip>;
|
|
3562
3702
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3563
3703
|
type: import("zod").ZodLiteral<"wait_for_finish_response">;
|
|
3564
3704
|
payload: import("zod").ZodObject<{
|
|
@@ -4510,6 +4650,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4510
4650
|
}>;
|
|
4511
4651
|
name: import("zod").ZodString;
|
|
4512
4652
|
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4653
|
+
pinnedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4513
4654
|
archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
4514
4655
|
status: import("zod").ZodEnum<{
|
|
4515
4656
|
running: "running";
|
|
@@ -4713,6 +4854,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4713
4854
|
}[];
|
|
4714
4855
|
projectCustomName?: string | null | undefined;
|
|
4715
4856
|
title?: string | null | undefined;
|
|
4857
|
+
pinnedAt?: string | null | undefined;
|
|
4716
4858
|
diffStat?: {
|
|
4717
4859
|
additions: number;
|
|
4718
4860
|
deletions: number;
|
|
@@ -4817,6 +4959,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4817
4959
|
projectCustomName?: string | null | undefined;
|
|
4818
4960
|
workspaceDirectory?: string | undefined;
|
|
4819
4961
|
title?: string | null | undefined;
|
|
4962
|
+
pinnedAt?: string | null | undefined;
|
|
4820
4963
|
diffStat?: {
|
|
4821
4964
|
additions: number;
|
|
4822
4965
|
deletions: number;
|