@otto-code/protocol 0.9.5 → 0.9.6
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/architectural-views/rpc-schemas.d.ts +5 -5
- package/dist/artifacts/rpc-schemas.d.ts +13 -13
- package/dist/artifacts/types.d.ts +4 -4
- package/dist/daemon-config.d.ts +9 -9
- package/dist/forge-connections.d.ts +127 -0
- package/dist/forge-connections.js +62 -0
- package/dist/generated/validation/ws-outbound.aot.js +14040 -13917
- package/dist/messages.d.ts +561 -387
- package/dist/messages.js +4 -0
- package/dist/project-knowledge.d.ts +11 -11
- package/dist/validation/ws-outbound-schema-metadata.d.ts +106 -78
- package/dist/workflow.d.ts +41 -41
- package/package.json +1 -1
package/dist/messages.js
CHANGED
|
@@ -3,6 +3,7 @@ export { AgentRateLimitInfoSchema } from "./agent-rate-limit.js";
|
|
|
3
3
|
import { WSPingMessageSchema, WSPongMessageSchema, WSHelloMessageSchema, WSRecordingStateMessageSchema, } from "./websocket-control.js";
|
|
4
4
|
export { WSPingMessageSchema, WSPongMessageSchema, WSHelloMessageSchema, WSRecordingStateMessageSchema, } from "./websocket-control.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
+
import { ForgeConnectionsManageRequestSchema, ForgeConnectionsManageResponseSchema, } from "./forge-connections.js";
|
|
6
7
|
import { MutableAgentBehaviorsConfigSchema, MutableAgentBehaviorsConfigPatchSchema, MutableLspConfigSchema, MutableLspConfigPatchSchema, MutableDotnetSolutionConfigSchema, MutableDotnetSolutionConfigPatchSchema, MutableGitHostingConfigSchema, MutableKanbanConfigSchema, MutableProjectKnowledgeConfigSchema, MutableProjectKnowledgeConfigPatchSchema, MutableProjectArtifactsConfigSchema, MutableProjectArtifactsConfigPatchSchema, MutableProjectWorkflowsConfigSchema, MutableProjectWorkflowsConfigPatchSchema, MutableAgentPersonalitiesConfigSchema, MutableAgentPersonalitiesConfigPatchSchema, MutableAgentTeamsConfigSchema, MutableAgentTeamsConfigPatchSchema, MutableBrainConfigSchema, MutableBrainConfigPatchSchema, MutableGitFetchConfigSchema, DEFAULT_MUTABLE_BRAIN_CONFIG, } from "./daemon-config.js";
|
|
7
8
|
import { VisualizerVoiceCuesGenerateRequestSchema, VisualizerVoiceCuesGenerateResponseSchema, AgentProfileSpinnerSchema, AgentPersonalityVoiceSchema, AgentPersonalityVoiceCuesSchema, AgentPersonalitiesGetStatsRequestSchema, AgentPersonalitiesGenerateProfileRequestSchema, AgentPersonalitiesGetStatsResponseSchema, AgentPersonalitiesGenerateProfileResponseSchema, AgentProfileStatsRequestSchema, AgentProfileStatsResponseSchema, AgentProfileGeneratePromptRequestSchema, AgentProfileGeneratePromptResponseSchema, AgentProfileGenerateVoiceCuesRequestSchema, AgentProfileGenerateVoiceCuesResponseSchema, PersonalityMemoryListRequestMessageSchema, PersonalityMemoryListResponseMessageSchema, PersonalityMemoryUpdateRequestMessageSchema, PersonalityMemoryUpdateResponseMessageSchema, PersonalityMemoryTransferRequestMessageSchema, PersonalityMemoryTransferResponseMessageSchema, PersonalityMemoryStatsRequestMessageSchema, PersonalityMemoryStatsResponseMessageSchema, ProfileMemoryListRequestMessageSchema, ProfileMemoryListResponseMessageSchema, ProfileMemoryUpdateRequestMessageSchema, ProfileMemoryUpdateResponseMessageSchema, ProfileMemoryTransferRequestMessageSchema, ProfileMemoryTransferResponseMessageSchema, ProfileMemoryStatsRequestMessageSchema, ProfileMemoryStatsResponseMessageSchema, } from "./personality-schemas.js";
|
|
8
9
|
import { TerminalCompatibilityDiagnosticRequestSchema, TerminalCompatibilityDiagnosticResponseSchema, } from "./terminal-compatibility.js";
|
|
@@ -3703,6 +3704,7 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
3703
3704
|
GitHubSearchRequestSchema,
|
|
3704
3705
|
HostingSearchRequestSchema,
|
|
3705
3706
|
HostingAuthStatusRequestSchema,
|
|
3707
|
+
ForgeConnectionsManageRequestSchema,
|
|
3706
3708
|
DirectorySuggestionsRequestSchema,
|
|
3707
3709
|
OttoWorktreeListRequestSchema,
|
|
3708
3710
|
OttoWorktreeArchiveRequestSchema,
|
|
@@ -4602,6 +4604,7 @@ export const ServerInfoStatusPayloadSchema = z
|
|
|
4602
4604
|
// Daemon advertises pluggable non-GitHub forge support (the forge registry);
|
|
4603
4605
|
// the client gates non-GitHub setup UI on it.
|
|
4604
4606
|
forgeProviders: z.boolean().optional(),
|
|
4607
|
+
forgeConnections: z.boolean().optional(),
|
|
4605
4608
|
// COMPAT(selectiveAgentTimeline): added in v0.1.106, remove after 2027-01-12.
|
|
4606
4609
|
selectiveAgentTimeline: z.boolean().optional(),
|
|
4607
4610
|
// COMPAT(canonicalSubmittedPrompts): added in v0.2.6, remove gate after 2027-01-30.
|
|
@@ -7784,6 +7787,7 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
7784
7787
|
GitHubSearchResponseSchema,
|
|
7785
7788
|
HostingSearchResponseSchema,
|
|
7786
7789
|
HostingAuthStatusResponseSchema,
|
|
7790
|
+
ForgeConnectionsManageResponseSchema,
|
|
7787
7791
|
HostingListRepositoriesResponseSchema,
|
|
7788
7792
|
HostingListOwnersResponseSchema,
|
|
7789
7793
|
DirectorySuggestionsResponseSchema,
|
|
@@ -29,8 +29,8 @@ export declare const ProjectKnowledgeStatusSchema: z.ZodEnum<{
|
|
|
29
29
|
* COMPAT(projectKnowledgeStoreLocation): added in v0.8.18.
|
|
30
30
|
*/
|
|
31
31
|
export declare const ProjectKnowledgeStoreLocationValueSchema: z.ZodEnum<{
|
|
32
|
-
repository: "repository";
|
|
33
32
|
host: "host";
|
|
33
|
+
repository: "repository";
|
|
34
34
|
}>;
|
|
35
35
|
export declare const ProjectDeliveryStatusSchema: z.ZodEnum<{
|
|
36
36
|
reference: "reference";
|
|
@@ -961,16 +961,16 @@ export type ProjectKnowledgeDeleteResponseMessage = z.infer<typeof ProjectKnowle
|
|
|
961
961
|
/** What the daemon resolved for a workspace, and why the client may act on it. */
|
|
962
962
|
export declare const ProjectKnowledgeStoreDescriptorSchema: z.ZodObject<{
|
|
963
963
|
location: z.ZodEnum<{
|
|
964
|
-
repository: "repository";
|
|
965
964
|
host: "host";
|
|
965
|
+
repository: "repository";
|
|
966
966
|
}>;
|
|
967
967
|
override: z.ZodNullable<z.ZodEnum<{
|
|
968
|
-
repository: "repository";
|
|
969
968
|
host: "host";
|
|
969
|
+
repository: "repository";
|
|
970
970
|
}>>;
|
|
971
971
|
hostDefault: z.ZodEnum<{
|
|
972
|
-
repository: "repository";
|
|
973
972
|
host: "host";
|
|
973
|
+
repository: "repository";
|
|
974
974
|
}>;
|
|
975
975
|
basePath: z.ZodString;
|
|
976
976
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -995,16 +995,16 @@ export declare const ProjectKnowledgeStoreGetResponseMessageSchema: z.ZodObject<
|
|
|
995
995
|
requestId: z.ZodString;
|
|
996
996
|
store: z.ZodNullable<z.ZodObject<{
|
|
997
997
|
location: z.ZodEnum<{
|
|
998
|
-
repository: "repository";
|
|
999
998
|
host: "host";
|
|
999
|
+
repository: "repository";
|
|
1000
1000
|
}>;
|
|
1001
1001
|
override: z.ZodNullable<z.ZodEnum<{
|
|
1002
|
-
repository: "repository";
|
|
1003
1002
|
host: "host";
|
|
1003
|
+
repository: "repository";
|
|
1004
1004
|
}>>;
|
|
1005
1005
|
hostDefault: z.ZodEnum<{
|
|
1006
|
-
repository: "repository";
|
|
1007
1006
|
host: "host";
|
|
1007
|
+
repository: "repository";
|
|
1008
1008
|
}>;
|
|
1009
1009
|
basePath: z.ZodString;
|
|
1010
1010
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1020,8 +1020,8 @@ export declare const ProjectKnowledgeStoreSetRequestMessageSchema: z.ZodObject<{
|
|
|
1020
1020
|
projectId: z.ZodString;
|
|
1021
1021
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
1022
1022
|
location: z.ZodNullable<z.ZodEnum<{
|
|
1023
|
-
repository: "repository";
|
|
1024
1023
|
host: "host";
|
|
1024
|
+
repository: "repository";
|
|
1025
1025
|
}>>;
|
|
1026
1026
|
movePages: z.ZodDefault<z.ZodBoolean>;
|
|
1027
1027
|
}, z.core.$strip>;
|
|
@@ -1033,16 +1033,16 @@ export declare const ProjectKnowledgeStoreSetResponseMessageSchema: z.ZodObject<
|
|
|
1033
1033
|
accepted: z.ZodBoolean;
|
|
1034
1034
|
store: z.ZodNullable<z.ZodObject<{
|
|
1035
1035
|
location: z.ZodEnum<{
|
|
1036
|
-
repository: "repository";
|
|
1037
1036
|
host: "host";
|
|
1037
|
+
repository: "repository";
|
|
1038
1038
|
}>;
|
|
1039
1039
|
override: z.ZodNullable<z.ZodEnum<{
|
|
1040
|
-
repository: "repository";
|
|
1041
1040
|
host: "host";
|
|
1041
|
+
repository: "repository";
|
|
1042
1042
|
}>>;
|
|
1043
1043
|
hostDefault: z.ZodEnum<{
|
|
1044
|
-
repository: "repository";
|
|
1045
1044
|
host: "host";
|
|
1045
|
+
repository: "repository";
|
|
1046
1046
|
}>;
|
|
1047
1047
|
basePath: z.ZodString;
|
|
1048
1048
|
projectId: z.ZodNullable<z.ZodString>;
|