@otto-code/protocol 0.8.19 → 0.9.2
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 +22 -0
- package/dist/agent-labels.js +42 -1
- package/dist/agent-profiles.d.ts +1 -1
- package/dist/agent-profiles.js +3 -3
- package/dist/agent-rate-limit.d.ts +13 -0
- package/dist/agent-rate-limit.js +18 -0
- package/dist/agent-types.d.ts +6 -0
- package/dist/architectural-views/rpc-schemas.d.ts +465 -0
- package/dist/architectural-views/rpc-schemas.js +205 -0
- package/dist/artifacts/rpc-schemas.d.ts +360 -2
- package/dist/artifacts/rpc-schemas.js +75 -1
- package/dist/artifacts/types.d.ts +71 -0
- package/dist/artifacts/types.js +27 -0
- package/dist/binary-frames/terminal.d.ts +1 -1
- package/dist/brain.d.ts +3 -3
- package/dist/browser-automation/capabilities.d.ts +1 -1
- package/dist/browser-automation/rpc-schemas.d.ts +16 -16
- package/dist/code-intelligence.d.ts +5 -5
- package/dist/daemon-config.d.ts +66 -0
- package/dist/daemon-config.js +76 -3
- package/dist/file-operations.d.ts +1 -1
- package/dist/generated/validation/ws-outbound.aot.js +81113 -69135
- package/dist/loop/rpc-schemas.d.ts +6 -6
- package/dist/messages.d.ts +11477 -1097
- package/dist/messages.js +633 -117
- package/dist/model-preferences.d.ts +26 -0
- package/dist/model-preferences.js +47 -0
- package/dist/model-tiers.js +2 -0
- package/dist/personality-schemas.d.ts +4 -4
- package/dist/project-knowledge.d.ts +38 -16
- package/dist/project-knowledge.js +17 -1
- package/dist/provider-config.js +1 -1
- package/dist/provider-icon-names.js +1 -0
- package/dist/schedule/rpc-schemas.d.ts +92 -12
- package/dist/schedule/rpc-schemas.js +2 -0
- package/dist/schedule/types.d.ts +47 -3
- package/dist/schedule/types.js +22 -0
- package/dist/search/text-match.d.ts +16 -0
- package/dist/search/text-match.js +31 -2
- package/dist/suggested-tasks.d.ts +7 -3
- package/dist/suggested-tasks.js +2 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +2348 -111
- package/dist/websocket-control.d.ts +39 -0
- package/dist/websocket-control.js +36 -0
- package/dist/workflow.d.ts +3060 -0
- package/dist/{orchestration.js → workflow.js} +461 -29
- package/dist/workspace-labels.d.ts +9 -0
- package/dist/workspace-labels.js +19 -0
- package/package.json +1 -1
- package/dist/orchestration.d.ts +0 -1148
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { ArtifactMetadataSchema, ArtifactSpinnerSchema } from "./types.js";
|
|
2
|
+
import { ArtifactMetadataSchema, ArtifactSpinnerSchema, ProjectArtifactStoreLocationValueSchema, } from "./types.js";
|
|
3
3
|
// ============================================================================
|
|
4
4
|
// Client → Daemon (Requests)
|
|
5
5
|
// ============================================================================
|
|
@@ -71,6 +71,35 @@ export const ArtifactGetContentRequestSchema = z.object({
|
|
|
71
71
|
artifactId: z.string(),
|
|
72
72
|
requestId: z.string(),
|
|
73
73
|
});
|
|
74
|
+
export const ArtifactRepairRequestSchema = z.object({
|
|
75
|
+
type: z.literal("artifact.repair.request"),
|
|
76
|
+
artifactId: z.string(),
|
|
77
|
+
requestId: z.string(),
|
|
78
|
+
});
|
|
79
|
+
export const ArtifactDataGetRequestSchema = z.object({
|
|
80
|
+
type: z.literal("artifact.data.get.request"),
|
|
81
|
+
artifactId: z.string(),
|
|
82
|
+
requestId: z.string(),
|
|
83
|
+
});
|
|
84
|
+
export const ArtifactDataUpdateRequestSchema = z.object({
|
|
85
|
+
type: z.literal("artifact.data.update.request"),
|
|
86
|
+
artifactId: z.string(),
|
|
87
|
+
data: z.json(),
|
|
88
|
+
requestId: z.string(),
|
|
89
|
+
});
|
|
90
|
+
export const ArtifactStoreMoveRequestSchema = z.object({
|
|
91
|
+
type: z.literal("artifact.store.move.request"),
|
|
92
|
+
artifactId: z.string(),
|
|
93
|
+
destination: ProjectArtifactStoreLocationValueSchema,
|
|
94
|
+
requestId: z.string(),
|
|
95
|
+
});
|
|
96
|
+
export const ProjectArtifactStoreSetRequestSchema = z.object({
|
|
97
|
+
type: z.literal("project.artifact.store.set.request"),
|
|
98
|
+
projectId: z.string(),
|
|
99
|
+
// Null inherits the host-wide Artifacts default.
|
|
100
|
+
location: ProjectArtifactStoreLocationValueSchema.nullable(),
|
|
101
|
+
requestId: z.string(),
|
|
102
|
+
});
|
|
74
103
|
// ============================================================================
|
|
75
104
|
// Daemon → Client (Responses)
|
|
76
105
|
// ============================================================================
|
|
@@ -145,6 +174,51 @@ export const ArtifactGetContentResponseSchema = z.object({
|
|
|
145
174
|
requestId: z.string(),
|
|
146
175
|
}),
|
|
147
176
|
});
|
|
177
|
+
export const ArtifactRepairResponseSchema = z.object({
|
|
178
|
+
type: z.literal("artifact.repair.response"),
|
|
179
|
+
payload: z.object({
|
|
180
|
+
artifact: ArtifactMetadataSchema,
|
|
181
|
+
success: z.boolean(),
|
|
182
|
+
error: z.string().optional(),
|
|
183
|
+
requestId: z.string(),
|
|
184
|
+
}),
|
|
185
|
+
});
|
|
186
|
+
export const ArtifactDataGetResponseSchema = z.object({
|
|
187
|
+
type: z.literal("artifact.data.get.response"),
|
|
188
|
+
payload: z.object({
|
|
189
|
+
data: z.json().nullable(),
|
|
190
|
+
success: z.boolean(),
|
|
191
|
+
error: z.string().optional(),
|
|
192
|
+
requestId: z.string(),
|
|
193
|
+
}),
|
|
194
|
+
});
|
|
195
|
+
export const ArtifactDataUpdateResponseSchema = z.object({
|
|
196
|
+
type: z.literal("artifact.data.update.response"),
|
|
197
|
+
payload: z.object({
|
|
198
|
+
artifact: ArtifactMetadataSchema,
|
|
199
|
+
success: z.boolean(),
|
|
200
|
+
error: z.string().optional(),
|
|
201
|
+
requestId: z.string(),
|
|
202
|
+
}),
|
|
203
|
+
});
|
|
204
|
+
export const ArtifactStoreMoveResponseSchema = z.object({
|
|
205
|
+
type: z.literal("artifact.store.move.response"),
|
|
206
|
+
payload: z.object({
|
|
207
|
+
artifact: ArtifactMetadataSchema,
|
|
208
|
+
success: z.boolean(),
|
|
209
|
+
error: z.string().optional(),
|
|
210
|
+
requestId: z.string(),
|
|
211
|
+
}),
|
|
212
|
+
});
|
|
213
|
+
export const ProjectArtifactStoreSetResponseSchema = z.object({
|
|
214
|
+
type: z.literal("project.artifact.store.set.response"),
|
|
215
|
+
payload: z.object({
|
|
216
|
+
requestId: z.string(),
|
|
217
|
+
projectId: z.string(),
|
|
218
|
+
accepted: z.boolean(),
|
|
219
|
+
error: z.string().nullable(),
|
|
220
|
+
}),
|
|
221
|
+
});
|
|
148
222
|
// ============================================================================
|
|
149
223
|
// Daemon → Client (Push Notifications)
|
|
150
224
|
// ============================================================================
|
|
@@ -3,6 +3,11 @@ export declare const ArtifactKindSchema: z.ZodEnum<{
|
|
|
3
3
|
html: "html";
|
|
4
4
|
}>;
|
|
5
5
|
export type ArtifactKind = z.infer<typeof ArtifactKindSchema>;
|
|
6
|
+
export declare const ProjectArtifactStoreLocationValueSchema: z.ZodEnum<{
|
|
7
|
+
repository: "repository";
|
|
8
|
+
host: "host";
|
|
9
|
+
}>;
|
|
10
|
+
export type ProjectArtifactStoreLocationValue = z.infer<typeof ProjectArtifactStoreLocationValueSchema>;
|
|
6
11
|
export declare const ArtifactStatusSchema: z.ZodEnum<{
|
|
7
12
|
error: "error";
|
|
8
13
|
ready: "ready";
|
|
@@ -14,6 +19,19 @@ export declare const ArtifactSpinnerSchema: z.ZodObject<{
|
|
|
14
19
|
glowB: z.ZodString;
|
|
15
20
|
}, z.core.$loose>;
|
|
16
21
|
export type ArtifactSpinner = z.infer<typeof ArtifactSpinnerSchema>;
|
|
22
|
+
export declare const ArtifactSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"chat">;
|
|
24
|
+
agentId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
kind: z.ZodLiteral<"workflow">;
|
|
27
|
+
workflowId: z.ZodString;
|
|
28
|
+
runId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
kind: z.ZodLiteral<"schedule">;
|
|
31
|
+
scheduleId: z.ZodString;
|
|
32
|
+
runId: z.ZodString;
|
|
33
|
+
}, z.core.$strip>], "kind">;
|
|
34
|
+
export type ArtifactSource = z.infer<typeof ArtifactSourceSchema>;
|
|
17
35
|
export declare const ArtifactMetadataSchema: z.ZodObject<{
|
|
18
36
|
id: z.ZodString;
|
|
19
37
|
name: z.ZodString;
|
|
@@ -41,6 +59,23 @@ export declare const ArtifactMetadataSchema: z.ZodObject<{
|
|
|
41
59
|
glowB: z.ZodString;
|
|
42
60
|
}, z.core.$loose>>>;
|
|
43
61
|
generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
|
+
kind: z.ZodLiteral<"chat">;
|
|
64
|
+
agentId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"workflow">;
|
|
67
|
+
workflowId: z.ZodString;
|
|
68
|
+
runId: z.ZodString;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"schedule">;
|
|
71
|
+
scheduleId: z.ZodString;
|
|
72
|
+
runId: z.ZodString;
|
|
73
|
+
}, z.core.$strip>], "kind">>;
|
|
74
|
+
storageLocation: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
repository: "repository";
|
|
76
|
+
host: "host";
|
|
77
|
+
}>>;
|
|
78
|
+
repairAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
44
79
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
45
80
|
}, z.core.$strip>;
|
|
46
81
|
export type ArtifactMetadata = z.infer<typeof ArtifactMetadataSchema>;
|
|
@@ -71,6 +106,23 @@ export declare const ArtifactSummarySchema: z.ZodObject<{
|
|
|
71
106
|
glowB: z.ZodString;
|
|
72
107
|
}, z.core.$loose>>>;
|
|
73
108
|
generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
|
+
kind: z.ZodLiteral<"chat">;
|
|
111
|
+
agentId: z.ZodString;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
kind: z.ZodLiteral<"workflow">;
|
|
114
|
+
workflowId: z.ZodString;
|
|
115
|
+
runId: z.ZodString;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
kind: z.ZodLiteral<"schedule">;
|
|
118
|
+
scheduleId: z.ZodString;
|
|
119
|
+
runId: z.ZodString;
|
|
120
|
+
}, z.core.$strip>], "kind">>;
|
|
121
|
+
storageLocation: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
repository: "repository";
|
|
123
|
+
host: "host";
|
|
124
|
+
}>>;
|
|
125
|
+
repairAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
74
126
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
75
127
|
}, z.core.$strip>;
|
|
76
128
|
export type ArtifactSummary = z.infer<typeof ArtifactSummarySchema>;
|
|
@@ -132,6 +184,23 @@ export declare const StoredArtifactSchema: z.ZodObject<{
|
|
|
132
184
|
glowB: z.ZodString;
|
|
133
185
|
}, z.core.$loose>>>;
|
|
134
186
|
generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"chat">;
|
|
189
|
+
agentId: z.ZodString;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
kind: z.ZodLiteral<"workflow">;
|
|
192
|
+
workflowId: z.ZodString;
|
|
193
|
+
runId: z.ZodString;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
kind: z.ZodLiteral<"schedule">;
|
|
196
|
+
scheduleId: z.ZodString;
|
|
197
|
+
runId: z.ZodString;
|
|
198
|
+
}, z.core.$strip>], "kind">>;
|
|
199
|
+
storageLocation: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
repository: "repository";
|
|
201
|
+
host: "host";
|
|
202
|
+
}>>;
|
|
203
|
+
repairAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
135
204
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
136
205
|
runs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
137
206
|
id: z.ZodString;
|
|
@@ -171,5 +240,7 @@ export interface CreateArtifactInput {
|
|
|
171
240
|
* so its card can show who generated it (persona · provider · model). Absent
|
|
172
241
|
* when no personality was used. */
|
|
173
242
|
personalityName?: string;
|
|
243
|
+
/** Latest durable source, stamped only by daemon-owned creation adapters. */
|
|
244
|
+
source?: ArtifactSource;
|
|
174
245
|
}
|
|
175
246
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/artifacts/types.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const ArtifactKindSchema = z.enum(["html"]);
|
|
3
|
+
// Independent from Knowledge's equivalent setting: each durable category has
|
|
4
|
+
// its own project override and host default.
|
|
5
|
+
export const ProjectArtifactStoreLocationValueSchema = z.enum(["repository", "host"]);
|
|
3
6
|
export const ArtifactStatusSchema = z.enum(["generating", "ready", "error"]);
|
|
4
7
|
// Two glow colors for the generating spinner, snapshotted from the Agent
|
|
5
8
|
// Personality the artifact was generated under (BlobLoader glowA/glowB), so its
|
|
@@ -11,6 +14,15 @@ export const ArtifactSpinnerSchema = z
|
|
|
11
14
|
glowB: z.string().min(1),
|
|
12
15
|
})
|
|
13
16
|
.passthrough();
|
|
17
|
+
// The latest durable trigger that created or refreshed an artifact. The
|
|
18
|
+
// referenced object can later be deleted, so consumers must show an honest
|
|
19
|
+
// unavailable state rather than trying to reconstruct provenance from prompt
|
|
20
|
+
// text. Optional keeps records written before provenance readable.
|
|
21
|
+
export const ArtifactSourceSchema = z.discriminatedUnion("kind", [
|
|
22
|
+
z.object({ kind: z.literal("chat"), agentId: z.string() }),
|
|
23
|
+
z.object({ kind: z.literal("workflow"), workflowId: z.string(), runId: z.string() }),
|
|
24
|
+
z.object({ kind: z.literal("schedule"), scheduleId: z.string(), runId: z.string() }),
|
|
25
|
+
]);
|
|
14
26
|
export const ArtifactMetadataSchema = z.object({
|
|
15
27
|
id: z.string(),
|
|
16
28
|
name: z.string(),
|
|
@@ -43,6 +55,21 @@ export const ArtifactMetadataSchema = z.object({
|
|
|
43
55
|
// provider/model. Absent ⇒ no personality was used (plain provider/model
|
|
44
56
|
// selection). Purely additive (no daemon floor needed).
|
|
45
57
|
generationPersonalityName: z.string().nullable().optional(),
|
|
58
|
+
// COMPAT(artifactProvenance): added in v0.9.0, remove after 2027-02-28.
|
|
59
|
+
// The latest Chat, Workflow, or Schedule source, when Otto has one.
|
|
60
|
+
source: ArtifactSourceSchema.optional(),
|
|
61
|
+
// Where this particular deliverable was created. This is a durable resolved
|
|
62
|
+
// location, not the project's current preference: changing the preference
|
|
63
|
+
// never changes an existing Artifact's ownership. Optional so records from
|
|
64
|
+
// before independent Artifact storage remain readable.
|
|
65
|
+
// COMPAT(artifactStorageMetadata): added in v0.9.0, remove after 2027-02-28.
|
|
66
|
+
storageLocation: ProjectArtifactStoreLocationValueSchema.optional(),
|
|
67
|
+
// An external edit left the on-disk HTML invalid. Otto retains the invalid
|
|
68
|
+
// file for inspection, never renders it, and can explicitly restore the
|
|
69
|
+
// separately retained last-known-good output. Optional for records written
|
|
70
|
+
// before repair tracking existed.
|
|
71
|
+
// COMPAT(artifactRepair): added in v0.9.0, remove after 2027-02-28.
|
|
72
|
+
repairAvailable: z.boolean().optional(),
|
|
46
73
|
errorMessage: z.string().nullable(),
|
|
47
74
|
});
|
|
48
75
|
export const ArtifactSummarySchema = ArtifactMetadataSchema;
|
|
@@ -4,8 +4,8 @@ export declare const TerminalStreamResizeSchema: z.ZodObject<{
|
|
|
4
4
|
rows: z.ZodNumber;
|
|
5
5
|
cols: z.ZodNumber;
|
|
6
6
|
intent: z.ZodOptional<z.ZodEnum<{
|
|
7
|
-
claim: "claim";
|
|
8
7
|
update: "update";
|
|
8
|
+
claim: "claim";
|
|
9
9
|
}>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
export declare const TerminalStreamOpcode: {
|
package/dist/brain.d.ts
CHANGED
|
@@ -665,9 +665,9 @@ export declare const BrainBindAddressSchema: z.ZodObject<{
|
|
|
665
665
|
value: z.ZodString;
|
|
666
666
|
label: z.ZodString;
|
|
667
667
|
kind: z.ZodEnum<{
|
|
668
|
+
all: "all";
|
|
668
669
|
tailscale: "tailscale";
|
|
669
670
|
loopback: "loopback";
|
|
670
|
-
all: "all";
|
|
671
671
|
lan: "lan";
|
|
672
672
|
}>;
|
|
673
673
|
}, z.core.$loose>;
|
|
@@ -677,9 +677,9 @@ export declare const BrainNetworkInfoSchema: z.ZodObject<{
|
|
|
677
677
|
value: z.ZodString;
|
|
678
678
|
label: z.ZodString;
|
|
679
679
|
kind: z.ZodEnum<{
|
|
680
|
+
all: "all";
|
|
680
681
|
tailscale: "tailscale";
|
|
681
682
|
loopback: "loopback";
|
|
682
|
-
all: "all";
|
|
683
683
|
lan: "lan";
|
|
684
684
|
}>;
|
|
685
685
|
}, z.core.$loose>>>;
|
|
@@ -742,9 +742,9 @@ export declare const BrainNetworkDiscoverResponseSchema: z.ZodObject<{
|
|
|
742
742
|
value: z.ZodString;
|
|
743
743
|
label: z.ZodString;
|
|
744
744
|
kind: z.ZodEnum<{
|
|
745
|
+
all: "all";
|
|
745
746
|
tailscale: "tailscale";
|
|
746
747
|
loopback: "loopback";
|
|
747
|
-
all: "all";
|
|
748
748
|
lan: "lan";
|
|
749
749
|
}>;
|
|
750
750
|
}, z.core.$loose>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BrowserAutomationHostCapabilitySchema: z.ZodObject<{
|
|
3
|
-
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "
|
|
3
|
+
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "select" | "hover" | "drag" | "logs" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab" | "focus_tab" | "page_text" | "set_color_scheme" | "screenshot_element")[], string[]>>;
|
|
4
4
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
5
5
|
}, z.core.$loose>;
|
|
6
6
|
export type BrowserAutomationHostCapability = z.infer<typeof BrowserAutomationHostCapabilitySchema>;
|
|
@@ -16,8 +16,6 @@ export declare const BROWSER_AUTOMATION_COMMAND_NAMES: readonly ["list_tabs", "n
|
|
|
16
16
|
export declare const BrowserAutomationCommandNameSchema: z.ZodEnum<{
|
|
17
17
|
type: "type";
|
|
18
18
|
fill: "fill";
|
|
19
|
-
select: "select";
|
|
20
|
-
logs: "logs";
|
|
21
19
|
list_tabs: "list_tabs";
|
|
22
20
|
new_tab: "new_tab";
|
|
23
21
|
snapshot: "snapshot";
|
|
@@ -30,8 +28,10 @@ export declare const BrowserAutomationCommandNameSchema: z.ZodEnum<{
|
|
|
30
28
|
reload: "reload";
|
|
31
29
|
screenshot: "screenshot";
|
|
32
30
|
upload: "upload";
|
|
31
|
+
select: "select";
|
|
33
32
|
hover: "hover";
|
|
34
33
|
drag: "drag";
|
|
34
|
+
logs: "logs";
|
|
35
35
|
evaluate: "evaluate";
|
|
36
36
|
inspect: "inspect";
|
|
37
37
|
network: "network";
|
|
@@ -213,8 +213,8 @@ export declare const BrowserAutomationNetworkCommandSchema: z.ZodObject<{
|
|
|
213
213
|
args: z.ZodObject<{
|
|
214
214
|
browserId: z.ZodString;
|
|
215
215
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
216
|
-
failed: "failed";
|
|
217
216
|
all: "all";
|
|
217
|
+
failed: "failed";
|
|
218
218
|
}>>;
|
|
219
219
|
requestId: z.ZodOptional<z.ZodString>;
|
|
220
220
|
}, z.core.$strict>;
|
|
@@ -256,18 +256,18 @@ export declare const BrowserAutomationPageTextCommandSchema: z.ZodObject<{
|
|
|
256
256
|
}, z.core.$strict>;
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
export declare const BrowserAutomationColorSchemeSchema: z.ZodEnum<{
|
|
259
|
-
auto: "auto";
|
|
260
259
|
light: "light";
|
|
261
260
|
dark: "dark";
|
|
261
|
+
auto: "auto";
|
|
262
262
|
}>;
|
|
263
263
|
export declare const BrowserAutomationSetColorSchemeCommandSchema: z.ZodObject<{
|
|
264
264
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
265
265
|
args: z.ZodObject<{
|
|
266
266
|
browserId: z.ZodString;
|
|
267
267
|
colorScheme: z.ZodEnum<{
|
|
268
|
-
auto: "auto";
|
|
269
268
|
light: "light";
|
|
270
269
|
dark: "dark";
|
|
270
|
+
auto: "auto";
|
|
271
271
|
}>;
|
|
272
272
|
}, z.core.$strict>;
|
|
273
273
|
}, z.core.$strip>;
|
|
@@ -427,8 +427,8 @@ export declare const BrowserAutomationCommandSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
427
427
|
args: z.ZodObject<{
|
|
428
428
|
browserId: z.ZodString;
|
|
429
429
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
430
|
-
failed: "failed";
|
|
431
430
|
all: "all";
|
|
431
|
+
failed: "failed";
|
|
432
432
|
}>>;
|
|
433
433
|
requestId: z.ZodOptional<z.ZodString>;
|
|
434
434
|
}, z.core.$strict>;
|
|
@@ -468,9 +468,9 @@ export declare const BrowserAutomationCommandSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
468
468
|
args: z.ZodObject<{
|
|
469
469
|
browserId: z.ZodString;
|
|
470
470
|
colorScheme: z.ZodEnum<{
|
|
471
|
-
auto: "auto";
|
|
472
471
|
light: "light";
|
|
473
472
|
dark: "dark";
|
|
473
|
+
auto: "auto";
|
|
474
474
|
}>;
|
|
475
475
|
}, z.core.$strict>;
|
|
476
476
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -490,8 +490,8 @@ export declare const BrowserAutomationTabInfoSchema: z.ZodObject<{
|
|
|
490
490
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
491
491
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
492
492
|
status: z.ZodOptional<z.ZodEnum<{
|
|
493
|
-
ready: "ready";
|
|
494
493
|
starting: "starting";
|
|
494
|
+
ready: "ready";
|
|
495
495
|
detached: "detached";
|
|
496
496
|
}>>;
|
|
497
497
|
}, z.core.$strip>;
|
|
@@ -507,8 +507,8 @@ export declare const BrowserAutomationListTabsResultSchema: z.ZodObject<{
|
|
|
507
507
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
508
508
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
509
509
|
status: z.ZodOptional<z.ZodEnum<{
|
|
510
|
-
ready: "ready";
|
|
511
510
|
starting: "starting";
|
|
511
|
+
ready: "ready";
|
|
512
512
|
detached: "detached";
|
|
513
513
|
}>>;
|
|
514
514
|
}, z.core.$strip>>;
|
|
@@ -777,9 +777,9 @@ export declare const BrowserAutomationSetColorSchemeResultSchema: z.ZodObject<{
|
|
|
777
777
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
778
778
|
browserId: z.ZodString;
|
|
779
779
|
colorScheme: z.ZodEnum<{
|
|
780
|
-
auto: "auto";
|
|
781
780
|
light: "light";
|
|
782
781
|
dark: "dark";
|
|
782
|
+
auto: "auto";
|
|
783
783
|
}>;
|
|
784
784
|
}, z.core.$strip>;
|
|
785
785
|
export declare const BrowserAutomationResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -794,8 +794,8 @@ export declare const BrowserAutomationResultSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
794
794
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
795
795
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
796
796
|
status: z.ZodOptional<z.ZodEnum<{
|
|
797
|
-
ready: "ready";
|
|
798
797
|
starting: "starting";
|
|
798
|
+
ready: "ready";
|
|
799
799
|
detached: "detached";
|
|
800
800
|
}>>;
|
|
801
801
|
}, z.core.$strip>>;
|
|
@@ -993,9 +993,9 @@ export declare const BrowserAutomationResultSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
993
993
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
994
994
|
browserId: z.ZodString;
|
|
995
995
|
colorScheme: z.ZodEnum<{
|
|
996
|
-
auto: "auto";
|
|
997
996
|
light: "light";
|
|
998
997
|
dark: "dark";
|
|
998
|
+
auto: "auto";
|
|
999
999
|
}>;
|
|
1000
1000
|
}, z.core.$strip>, z.ZodObject<{
|
|
1001
1001
|
command: z.ZodLiteral<"screenshot_element">;
|
|
@@ -1195,8 +1195,8 @@ export declare const BrowserAutomationExecuteRequestSchema: z.ZodObject<{
|
|
|
1195
1195
|
args: z.ZodObject<{
|
|
1196
1196
|
browserId: z.ZodString;
|
|
1197
1197
|
filter: z.ZodDefault<z.ZodEnum<{
|
|
1198
|
-
failed: "failed";
|
|
1199
1198
|
all: "all";
|
|
1199
|
+
failed: "failed";
|
|
1200
1200
|
}>>;
|
|
1201
1201
|
requestId: z.ZodOptional<z.ZodString>;
|
|
1202
1202
|
}, z.core.$strict>;
|
|
@@ -1236,9 +1236,9 @@ export declare const BrowserAutomationExecuteRequestSchema: z.ZodObject<{
|
|
|
1236
1236
|
args: z.ZodObject<{
|
|
1237
1237
|
browserId: z.ZodString;
|
|
1238
1238
|
colorScheme: z.ZodEnum<{
|
|
1239
|
-
auto: "auto";
|
|
1240
1239
|
light: "light";
|
|
1241
1240
|
dark: "dark";
|
|
1241
|
+
auto: "auto";
|
|
1242
1242
|
}>;
|
|
1243
1243
|
}, z.core.$strict>;
|
|
1244
1244
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1266,8 +1266,8 @@ export declare const BrowserAutomationExecuteResponseSchema: z.ZodObject<{
|
|
|
1266
1266
|
canGoBack: z.ZodOptional<z.ZodBoolean>;
|
|
1267
1267
|
canGoForward: z.ZodOptional<z.ZodBoolean>;
|
|
1268
1268
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1269
|
-
ready: "ready";
|
|
1270
1269
|
starting: "starting";
|
|
1270
|
+
ready: "ready";
|
|
1271
1271
|
detached: "detached";
|
|
1272
1272
|
}>>;
|
|
1273
1273
|
}, z.core.$strip>>;
|
|
@@ -1465,9 +1465,9 @@ export declare const BrowserAutomationExecuteResponseSchema: z.ZodObject<{
|
|
|
1465
1465
|
command: z.ZodLiteral<"set_color_scheme">;
|
|
1466
1466
|
browserId: z.ZodString;
|
|
1467
1467
|
colorScheme: z.ZodEnum<{
|
|
1468
|
-
auto: "auto";
|
|
1469
1468
|
light: "light";
|
|
1470
1469
|
dark: "dark";
|
|
1470
|
+
auto: "auto";
|
|
1471
1471
|
}>;
|
|
1472
1472
|
}, z.core.$strip>, z.ZodObject<{
|
|
1473
1473
|
command: z.ZodLiteral<"screenshot_element">;
|
|
@@ -57,9 +57,9 @@ export declare const SolutionTreeProjectSchema: z.ZodObject<{
|
|
|
57
57
|
* broken. One project that fails must not blank the tree, so this status is per project.
|
|
58
58
|
*/
|
|
59
59
|
export declare const SolutionProjectStatusSchema: z.ZodEnum<{
|
|
60
|
+
failed: "failed";
|
|
60
61
|
ok: "ok";
|
|
61
62
|
unavailable: "unavailable";
|
|
62
|
-
failed: "failed";
|
|
63
63
|
}>;
|
|
64
64
|
/**
|
|
65
65
|
* One entry in a project's evaluated membership, flat with parent links like the folders above.
|
|
@@ -265,8 +265,8 @@ export declare const CodeSolutionLoadProjectRequestSchema: z.ZodObject<{
|
|
|
265
265
|
*/
|
|
266
266
|
export declare const CodeDiagnosticSeveritySchema: z.ZodEnum<{
|
|
267
267
|
error: "error";
|
|
268
|
-
info: "info";
|
|
269
268
|
warning: "warning";
|
|
269
|
+
info: "info";
|
|
270
270
|
hint: "hint";
|
|
271
271
|
}>;
|
|
272
272
|
/** One problem the language server reported, 1-based like every other position. */
|
|
@@ -277,8 +277,8 @@ export declare const CodeDiagnosticSchema: z.ZodObject<{
|
|
|
277
277
|
endColumn: z.ZodNumber;
|
|
278
278
|
severity: z.ZodEnum<{
|
|
279
279
|
error: "error";
|
|
280
|
-
info: "info";
|
|
281
280
|
warning: "warning";
|
|
281
|
+
info: "info";
|
|
282
282
|
hint: "hint";
|
|
283
283
|
}>;
|
|
284
284
|
message: z.ZodString;
|
|
@@ -664,9 +664,9 @@ export declare const CodeSolutionLoadProjectResponseSchema: z.ZodObject<{
|
|
|
664
664
|
solutionPath: z.ZodString;
|
|
665
665
|
projectPath: z.ZodString;
|
|
666
666
|
status: z.ZodEnum<{
|
|
667
|
+
failed: "failed";
|
|
667
668
|
ok: "ok";
|
|
668
669
|
unavailable: "unavailable";
|
|
669
|
-
failed: "failed";
|
|
670
670
|
}>;
|
|
671
671
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
672
672
|
kind: z.ZodLiteral<"directory">;
|
|
@@ -823,8 +823,8 @@ export declare const LspDiagnosticsChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
823
823
|
endColumn: z.ZodNumber;
|
|
824
824
|
severity: z.ZodEnum<{
|
|
825
825
|
error: "error";
|
|
826
|
-
info: "info";
|
|
827
826
|
warning: "warning";
|
|
827
|
+
info: "info";
|
|
828
828
|
hint: "hint";
|
|
829
829
|
}>;
|
|
830
830
|
message: z.ZodString;
|
package/dist/daemon-config.d.ts
CHANGED
|
@@ -10,6 +10,14 @@ export declare const MutableAgentBehaviorsConfigSchema: z.ZodObject<{
|
|
|
10
10
|
todoReconcileOnIdle: z.ZodDefault<z.ZodBoolean>;
|
|
11
11
|
stallGuardThreshold: z.ZodDefault<z.ZodNumber>;
|
|
12
12
|
}, z.core.$loose>;
|
|
13
|
+
export declare const MutableAgentBehaviorsConfigPatchSchema: z.ZodObject<{
|
|
14
|
+
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
agentProgressSummaries: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
todoNudge: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
todoReconcileOnIdle: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
stallGuardThreshold: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
}, z.core.$loose>;
|
|
13
21
|
/**
|
|
14
22
|
* Language-server code intelligence, host-scoped because the servers are processes
|
|
15
23
|
* on the daemon's machine - they follow the host, not the client.
|
|
@@ -35,6 +43,17 @@ export declare const MutableLspConfigSchema: z.ZodObject<{
|
|
|
35
43
|
idleMinutes: z.ZodDefault<z.ZodNumber>;
|
|
36
44
|
backgroundIdleMinutes: z.ZodDefault<z.ZodNumber>;
|
|
37
45
|
}, z.core.$loose>;
|
|
46
|
+
export declare const MutableLspConfigPatchSchema: z.ZodObject<{
|
|
47
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
languages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
49
|
+
csharpProjectScope: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
solution: "solution";
|
|
51
|
+
allProjects: "allProjects";
|
|
52
|
+
}>>;
|
|
53
|
+
maxRunningServers: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
idleMinutes: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
backgroundIdleMinutes: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
}, z.core.$loose>;
|
|
38
57
|
/**
|
|
39
58
|
* "Microsoft .NET Solution Management" - the Solution view's own switch.
|
|
40
59
|
*
|
|
@@ -54,6 +73,11 @@ export declare const MutableDotnetSolutionConfigSchema: z.ZodObject<{
|
|
|
54
73
|
maxRunningProbes: z.ZodDefault<z.ZodNumber>;
|
|
55
74
|
idleMinutes: z.ZodDefault<z.ZodNumber>;
|
|
56
75
|
}, z.core.$loose>;
|
|
76
|
+
export declare const MutableDotnetSolutionConfigPatchSchema: z.ZodObject<{
|
|
77
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
maxRunningProbes: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
idleMinutes: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
}, z.core.$loose>;
|
|
57
81
|
export declare const MutableGitHostingBitbucketCloudConfigSchema: z.ZodObject<{
|
|
58
82
|
email: z.ZodOptional<z.ZodString>;
|
|
59
83
|
apiToken: z.ZodOptional<z.ZodString>;
|
|
@@ -109,8 +133,50 @@ export declare const MutableProjectKnowledgeConfigSchema: z.ZodObject<{
|
|
|
109
133
|
host: "host";
|
|
110
134
|
}>>;
|
|
111
135
|
}, z.core.$loose>;
|
|
136
|
+
export declare const MutableProjectKnowledgeConfigPatchSchema: z.ZodObject<{
|
|
137
|
+
defaultStoreLocation: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
repository: "repository";
|
|
139
|
+
host: "host";
|
|
140
|
+
}>>;
|
|
141
|
+
}, z.core.$loose>;
|
|
112
142
|
export type MutableProjectKnowledgeConfig = z.infer<typeof MutableProjectKnowledgeConfigSchema>;
|
|
113
143
|
export declare const DEFAULT_MUTABLE_PROJECT_KNOWLEDGE_CONFIG: MutableProjectKnowledgeConfig;
|
|
144
|
+
export declare const ProjectArtifactStoreLocationSchema: z.ZodEnum<{
|
|
145
|
+
repository: "repository";
|
|
146
|
+
host: "host";
|
|
147
|
+
}>;
|
|
148
|
+
export declare const MutableProjectArtifactsConfigSchema: z.ZodObject<{
|
|
149
|
+
defaultStoreLocation: z.ZodDefault<z.ZodEnum<{
|
|
150
|
+
repository: "repository";
|
|
151
|
+
host: "host";
|
|
152
|
+
}>>;
|
|
153
|
+
}, z.core.$loose>;
|
|
154
|
+
export declare const MutableProjectArtifactsConfigPatchSchema: z.ZodObject<{
|
|
155
|
+
defaultStoreLocation: z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
repository: "repository";
|
|
157
|
+
host: "host";
|
|
158
|
+
}>>;
|
|
159
|
+
}, z.core.$loose>;
|
|
160
|
+
export type MutableProjectArtifactsConfig = z.infer<typeof MutableProjectArtifactsConfigSchema>;
|
|
161
|
+
export declare const DEFAULT_MUTABLE_PROJECT_ARTIFACTS_CONFIG: MutableProjectArtifactsConfig;
|
|
162
|
+
export declare const ProjectWorkflowStoreLocationSchema: z.ZodEnum<{
|
|
163
|
+
repository: "repository";
|
|
164
|
+
host: "host";
|
|
165
|
+
}>;
|
|
166
|
+
export declare const MutableProjectWorkflowsConfigSchema: z.ZodObject<{
|
|
167
|
+
defaultStoreLocation: z.ZodDefault<z.ZodEnum<{
|
|
168
|
+
repository: "repository";
|
|
169
|
+
host: "host";
|
|
170
|
+
}>>;
|
|
171
|
+
}, z.core.$loose>;
|
|
172
|
+
export declare const MutableProjectWorkflowsConfigPatchSchema: z.ZodObject<{
|
|
173
|
+
defaultStoreLocation: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
repository: "repository";
|
|
175
|
+
host: "host";
|
|
176
|
+
}>>;
|
|
177
|
+
}, z.core.$loose>;
|
|
178
|
+
export type MutableProjectWorkflowsConfig = z.infer<typeof MutableProjectWorkflowsConfigSchema>;
|
|
179
|
+
export declare const DEFAULT_MUTABLE_PROJECT_WORKFLOWS_CONFIG: MutableProjectWorkflowsConfig;
|
|
114
180
|
export declare const MutableAgentPersonalitiesConfigSchema: z.ZodObject<{
|
|
115
181
|
personalities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
116
182
|
id: z.ZodString;
|