@otto-code/protocol 0.8.12 → 0.8.14
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 +3 -0
- package/dist/agent-labels.js +10 -0
- package/dist/{agent-personalities.d.ts → agent-profiles.d.ts} +13 -3
- package/dist/{agent-personalities.js → agent-profiles.js} +27 -11
- package/dist/agent-teams.d.ts +5 -5
- package/dist/agent-teams.js +1 -1
- package/dist/agent-types.d.ts +24 -4
- package/dist/binary-frames/terminal.d.ts +4 -0
- package/dist/binary-frames/terminal.js +1 -0
- package/dist/brain.d.ts +91 -0
- package/dist/brain.js +19 -1
- package/dist/chat/rpc-schemas.js +1 -0
- package/dist/chat/types.js +1 -0
- package/dist/client-capabilities.d.ts +1 -0
- package/dist/client-capabilities.js +4 -0
- package/dist/daemon-config.d.ts +10 -0
- package/dist/daemon-config.js +6 -0
- package/dist/default-personalities.d.ts +2 -2
- package/dist/default-personalities.js +2 -2
- package/dist/generated/validation/ws-outbound.aot.js +65204 -60319
- package/dist/loop/rpc-schemas.js +1 -0
- package/dist/messages.d.ts +4146 -316
- package/dist/messages.js +483 -2
- package/dist/personality-schemas.d.ts +135 -0
- package/dist/personality-schemas.js +63 -0
- package/dist/provider-manifest.js +7 -0
- package/dist/provider-snapshot-codec.d.ts +18 -0
- package/dist/provider-snapshot-codec.js +71 -0
- package/dist/schedule/rpc-schemas.d.ts +16 -8
- package/dist/schedule/types.d.ts +6 -3
- package/dist/schedule/types.js +8 -1
- package/dist/search/text-match.d.ts +55 -0
- package/dist/search/text-match.js +262 -0
- package/dist/suggested-tasks.js +1 -1
- package/dist/terminal-input-mode.d.ts +4 -0
- package/dist/terminal-input-mode.js +35 -6
- package/dist/terminal-key-input.js +15 -6
- package/dist/terminal-profiles.d.ts +35 -0
- package/dist/terminal-profiles.js +246 -4
- package/dist/tool-call-display.d.ts +2 -2
- package/dist/tool-call-display.js +6 -6
- package/dist/validation/ws-outbound-schema-metadata.d.ts +677 -28
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare const CLIENT_CAPS: {
|
|
|
7
7
|
readonly projectUpdates: "project_updates";
|
|
8
8
|
readonly communicationsPresenceUpdates: "communications_presence_updates";
|
|
9
9
|
readonly brainLogWatch: "brain_log_watch";
|
|
10
|
+
readonly compactProviderSnapshots: "compact_provider_snapshots";
|
|
10
11
|
readonly browserHost: "browser_host";
|
|
11
12
|
};
|
|
12
13
|
export type ClientCapability = (typeof CLIENT_CAPS)[keyof typeof CLIENT_CAPS];
|
|
@@ -30,6 +30,10 @@ export const CLIENT_CAPS = {
|
|
|
30
30
|
// Logs tab opens; a client without it keeps the old unconditional feed,
|
|
31
31
|
// because it has no way to ask and would otherwise lose live logs entirely.
|
|
32
32
|
brainLogWatch: "brain_log_watch",
|
|
33
|
+
// COMPAT(compactProviderSnapshots): added in v0.2.X. Capable clients receive
|
|
34
|
+
// provider catalogs with shared thinking sets and may revalidate by content hash.
|
|
35
|
+
// Remove the legacy snapshot encoding after 2027-02-04.
|
|
36
|
+
compactProviderSnapshots: "compact_provider_snapshots",
|
|
33
37
|
browserHost: "browser_host",
|
|
34
38
|
};
|
|
35
39
|
//# sourceMappingURL=client-capabilities.js.map
|
package/dist/daemon-config.d.ts
CHANGED
|
@@ -103,6 +103,8 @@ export declare const MutableAgentPersonalitiesConfigSchema: z.ZodObject<{
|
|
|
103
103
|
personalities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
104
104
|
id: z.ZodString;
|
|
105
105
|
name: z.ZodString;
|
|
106
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
107
|
+
color: z.ZodOptional<z.ZodString>;
|
|
106
108
|
provider: z.ZodString;
|
|
107
109
|
model: z.ZodString;
|
|
108
110
|
effortLevel: z.ZodOptional<z.ZodString>;
|
|
@@ -132,6 +134,8 @@ export declare const MutableAgentPersonalitiesConfigPatchSchema: z.ZodObject<{
|
|
|
132
134
|
personalities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
135
|
id: z.ZodString;
|
|
134
136
|
name: z.ZodString;
|
|
137
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
138
|
+
color: z.ZodOptional<z.ZodString>;
|
|
135
139
|
provider: z.ZodString;
|
|
136
140
|
model: z.ZodString;
|
|
137
141
|
effortLevel: z.ZodOptional<z.ZodString>;
|
|
@@ -222,6 +226,8 @@ export declare const MutableBrainConfigSchema: z.ZodObject<{
|
|
|
222
226
|
port: z.ZodDefault<z.ZodNumber>;
|
|
223
227
|
}, z.core.$loose>>;
|
|
224
228
|
defaultModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
maxLoadedModels: z.ZodDefault<z.ZodNumber>;
|
|
230
|
+
lockedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
225
231
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
226
232
|
source: z.ZodDefault<z.ZodEnum<{
|
|
227
233
|
auto: "auto";
|
|
@@ -297,6 +303,8 @@ export declare const MutableBrainConfigPatchSchema: z.ZodObject<{
|
|
|
297
303
|
port: z.ZodOptional<z.ZodNumber>;
|
|
298
304
|
}, z.core.$loose>>;
|
|
299
305
|
defaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
maxLoadedModels: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
lockedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
308
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
301
309
|
source: z.ZodOptional<z.ZodEnum<{
|
|
302
310
|
auto: "auto";
|
|
@@ -344,6 +352,8 @@ export declare const DEFAULT_MUTABLE_BRAIN_CONFIG: {
|
|
|
344
352
|
port: number;
|
|
345
353
|
};
|
|
346
354
|
defaultModel: null;
|
|
355
|
+
maxLoadedModels: number;
|
|
356
|
+
lockedModels: never[];
|
|
347
357
|
runtime: {
|
|
348
358
|
source: "auto";
|
|
349
359
|
path: null;
|
package/dist/daemon-config.js
CHANGED
|
@@ -259,6 +259,8 @@ export const MutableBrainConfigSchema = z
|
|
|
259
259
|
.passthrough()
|
|
260
260
|
.default({ host: "127.0.0.1", port: 1234 }),
|
|
261
261
|
defaultModel: z.string().nullable().default(null),
|
|
262
|
+
maxLoadedModels: z.number().int().min(1).max(16).default(1),
|
|
263
|
+
lockedModels: z.array(z.string()).default([]),
|
|
262
264
|
runtime: z
|
|
263
265
|
.object({
|
|
264
266
|
source: z.enum(["auto", "managed", "lmstudio"]).default("auto"),
|
|
@@ -337,6 +339,8 @@ export const MutableBrainConfigPatchSchema = z
|
|
|
337
339
|
remote: MutableBrainRemotePatchSchema,
|
|
338
340
|
listen: MutableBrainListenPatchSchema,
|
|
339
341
|
defaultModel: z.string().nullable(),
|
|
342
|
+
maxLoadedModels: z.number().int().min(1).max(16),
|
|
343
|
+
lockedModels: z.array(z.string()),
|
|
340
344
|
runtime: z
|
|
341
345
|
.object({
|
|
342
346
|
source: z.enum(["auto", "managed", "lmstudio"]),
|
|
@@ -360,6 +364,8 @@ export const DEFAULT_MUTABLE_BRAIN_CONFIG = {
|
|
|
360
364
|
remote: { host: "", port: 1234, secure: false, authToken: null, certFingerprint: null },
|
|
361
365
|
listen: { host: "127.0.0.1", port: 1234 },
|
|
362
366
|
defaultModel: null,
|
|
367
|
+
maxLoadedModels: 1,
|
|
368
|
+
lockedModels: [],
|
|
363
369
|
runtime: { source: "auto", path: null, logVerbosity: 3 },
|
|
364
370
|
lockModel: false,
|
|
365
371
|
allowRemoteConfig: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const
|
|
1
|
+
import type { AgentProfile, AgentTeam } from "./messages.js";
|
|
2
|
+
export declare const DEFAULT_AGENT_PROFILES: readonly AgentProfile[];
|
|
3
3
|
export declare const DEFAULT_AGENT_TEAMS: readonly AgentTeam[];
|
|
4
4
|
//# sourceMappingURL=default-personalities.d.ts.map
|
|
@@ -31,7 +31,7 @@ const KOKORO_V1_MODEL = "kokoro-multi-lang-v1_0";
|
|
|
31
31
|
function kokoroVoice(name) {
|
|
32
32
|
return { provider: "local", model: KOKORO_V1_MODEL, name };
|
|
33
33
|
}
|
|
34
|
-
export const
|
|
34
|
+
export const DEFAULT_AGENT_PROFILES = [
|
|
35
35
|
{
|
|
36
36
|
id: "personality_builtin_atlas",
|
|
37
37
|
name: "Atlas",
|
|
@@ -148,7 +148,7 @@ export const DEFAULT_AGENT_TEAMS = [
|
|
|
148
148
|
"together under Atlas's lead. Stay in your lane and trust your teammates' lanes: do your " +
|
|
149
149
|
"own role's work well, hand off cleanly with the context the next specialist needs, and " +
|
|
150
150
|
"flag anything you notice outside your remit instead of fixing it yourself.",
|
|
151
|
-
memberIds:
|
|
151
|
+
memberIds: DEFAULT_AGENT_PROFILES.map((profile) => profile.id),
|
|
152
152
|
},
|
|
153
153
|
];
|
|
154
154
|
//# sourceMappingURL=default-personalities.js.map
|