@otto-code/protocol 0.8.18 → 0.9.0
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 +13 -0
- package/dist/agent-labels.js +26 -1
- package/dist/agent-profiles.d.ts +1 -1
- package/dist/agent-profiles.js +3 -3
- package/dist/architectural-views/rpc-schemas.d.ts +342 -0
- package/dist/architectural-views/rpc-schemas.js +171 -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/daemon-config.d.ts +66 -0
- package/dist/daemon-config.js +76 -3
- package/dist/generated/validation/ws-outbound.aot.js +70170 -56553
- package/dist/git-hosting.d.ts +56 -0
- package/dist/git-hosting.js +50 -0
- package/dist/kanban.d.ts +4 -0
- package/dist/kanban.js +4 -0
- package/dist/messages.d.ts +12186 -1217
- package/dist/messages.js +642 -33
- package/dist/model-tiers.js +2 -0
- package/dist/project-knowledge.d.ts +172 -0
- package/dist/project-knowledge.js +77 -0
- package/dist/provider-config.js +1 -1
- package/dist/provider-icon-names.js +1 -0
- package/dist/schedule/rpc-schemas.d.ts +212 -0
- package/dist/schedule/rpc-schemas.js +2 -0
- package/dist/schedule/types.d.ts +110 -0
- package/dist/schedule/types.js +27 -0
- package/dist/search/text-match.d.ts +16 -0
- package/dist/search/text-match.js +31 -2
- package/dist/validation/ws-outbound-schema-metadata.d.ts +2481 -104
- 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
- package/dist/project-links.d.ts +0 -102
- package/dist/project-links.js +0 -62
package/dist/project-links.d.ts
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Otto project-link wire schemas: the project.links.* RPCs and their payloads. Fork-only capability, so it owns its schemas; messages.ts re-exports them.
|
|
4
|
-
*/
|
|
5
|
-
export declare const ProjectLinkSchema: z.ZodObject<{
|
|
6
|
-
projectAId: z.ZodString;
|
|
7
|
-
projectBId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export declare const ProjectLinksListRequestSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodLiteral<"project.links.list.request">;
|
|
11
|
-
requestId: z.ZodString;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export declare const ProjectLinksSetRequestSchema: z.ZodObject<{
|
|
14
|
-
type: z.ZodLiteral<"project.links.set.request">;
|
|
15
|
-
projectId: z.ZodString;
|
|
16
|
-
otherProjectId: z.ZodString;
|
|
17
|
-
requestId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
export declare const ProjectLinksUnsetRequestSchema: z.ZodObject<{
|
|
20
|
-
type: z.ZodLiteral<"project.links.unset.request">;
|
|
21
|
-
projectId: z.ZodString;
|
|
22
|
-
otherProjectId: z.ZodString;
|
|
23
|
-
requestId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export declare const ProjectLinksListResponsePayloadSchema: z.ZodObject<{
|
|
26
|
-
requestId: z.ZodString;
|
|
27
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28
|
-
projectAId: z.ZodString;
|
|
29
|
-
projectBId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>>;
|
|
31
|
-
error: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>;
|
|
33
|
-
export declare const ProjectLinksListResponseSchema: z.ZodObject<{
|
|
34
|
-
type: z.ZodLiteral<"project.links.list.response">;
|
|
35
|
-
payload: z.ZodObject<{
|
|
36
|
-
requestId: z.ZodString;
|
|
37
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
38
|
-
projectAId: z.ZodString;
|
|
39
|
-
projectBId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>>;
|
|
41
|
-
error: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
export declare const ProjectLinksMutationResponsePayloadSchema: z.ZodObject<{
|
|
45
|
-
requestId: z.ZodString;
|
|
46
|
-
accepted: z.ZodBoolean;
|
|
47
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
48
|
-
projectAId: z.ZodString;
|
|
49
|
-
projectBId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>>;
|
|
51
|
-
error: z.ZodNullable<z.ZodString>;
|
|
52
|
-
}, z.core.$strip>;
|
|
53
|
-
export declare const ProjectLinksSetResponseSchema: z.ZodObject<{
|
|
54
|
-
type: z.ZodLiteral<"project.links.set.response">;
|
|
55
|
-
payload: z.ZodObject<{
|
|
56
|
-
requestId: z.ZodString;
|
|
57
|
-
accepted: z.ZodBoolean;
|
|
58
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
59
|
-
projectAId: z.ZodString;
|
|
60
|
-
projectBId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>>;
|
|
62
|
-
error: z.ZodNullable<z.ZodString>;
|
|
63
|
-
}, z.core.$strip>;
|
|
64
|
-
}, z.core.$strip>;
|
|
65
|
-
export declare const ProjectLinksUnsetResponseSchema: z.ZodObject<{
|
|
66
|
-
type: z.ZodLiteral<"project.links.unset.response">;
|
|
67
|
-
payload: z.ZodObject<{
|
|
68
|
-
requestId: z.ZodString;
|
|
69
|
-
accepted: z.ZodBoolean;
|
|
70
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
71
|
-
projectAId: z.ZodString;
|
|
72
|
-
projectBId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>>;
|
|
74
|
-
error: z.ZodNullable<z.ZodString>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
export declare const ProjectLinksChangedPayloadSchema: z.ZodObject<{
|
|
78
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
79
|
-
projectAId: z.ZodString;
|
|
80
|
-
projectBId: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>>;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
export declare const ProjectLinksChangedSchema: z.ZodObject<{
|
|
84
|
-
type: z.ZodLiteral<"project.links.changed">;
|
|
85
|
-
payload: z.ZodObject<{
|
|
86
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
87
|
-
projectAId: z.ZodString;
|
|
88
|
-
projectBId: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>>;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
}, z.core.$strip>;
|
|
92
|
-
export type ProjectLink = z.infer<typeof ProjectLinkSchema>;
|
|
93
|
-
export type ProjectLinksListResponse = z.infer<typeof ProjectLinksListResponseSchema>;
|
|
94
|
-
export type ProjectLinksListResponsePayload = z.infer<typeof ProjectLinksListResponsePayloadSchema>;
|
|
95
|
-
export type ProjectLinksSetResponse = z.infer<typeof ProjectLinksSetResponseSchema>;
|
|
96
|
-
export type ProjectLinksUnsetResponse = z.infer<typeof ProjectLinksUnsetResponseSchema>;
|
|
97
|
-
export type ProjectLinksMutationResponsePayload = z.infer<typeof ProjectLinksMutationResponsePayloadSchema>;
|
|
98
|
-
export type ProjectLinksChanged = z.infer<typeof ProjectLinksChangedSchema>;
|
|
99
|
-
export type ProjectLinksListRequest = z.infer<typeof ProjectLinksListRequestSchema>;
|
|
100
|
-
export type ProjectLinksSetRequest = z.infer<typeof ProjectLinksSetRequestSchema>;
|
|
101
|
-
export type ProjectLinksUnsetRequest = z.infer<typeof ProjectLinksUnsetRequestSchema>;
|
|
102
|
-
//# sourceMappingURL=project-links.d.ts.map
|
package/dist/project-links.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Otto project-link wire schemas: the project.links.* RPCs and their payloads. Fork-only capability, so it owns its schemas; messages.ts re-exports them.
|
|
4
|
-
*/
|
|
5
|
-
// An unordered pair of linked projects. The daemon stores the pair in a
|
|
6
|
-
// canonical order, but clients treat it as undirected: a link between A and B
|
|
7
|
-
// permits opening files across both projects. See the gated-multi-root project.
|
|
8
|
-
export const ProjectLinkSchema = z.object({
|
|
9
|
-
projectAId: z.string(),
|
|
10
|
-
projectBId: z.string(),
|
|
11
|
-
});
|
|
12
|
-
export const ProjectLinksListRequestSchema = z.object({
|
|
13
|
-
type: z.literal("project.links.list.request"),
|
|
14
|
-
requestId: z.string(),
|
|
15
|
-
});
|
|
16
|
-
export const ProjectLinksSetRequestSchema = z.object({
|
|
17
|
-
type: z.literal("project.links.set.request"),
|
|
18
|
-
// Order is irrelevant; the daemon canonicalizes. Linking is idempotent.
|
|
19
|
-
projectId: z.string(),
|
|
20
|
-
otherProjectId: z.string(),
|
|
21
|
-
requestId: z.string(),
|
|
22
|
-
});
|
|
23
|
-
export const ProjectLinksUnsetRequestSchema = z.object({
|
|
24
|
-
type: z.literal("project.links.unset.request"),
|
|
25
|
-
projectId: z.string(),
|
|
26
|
-
otherProjectId: z.string(),
|
|
27
|
-
requestId: z.string(),
|
|
28
|
-
});
|
|
29
|
-
export const ProjectLinksListResponsePayloadSchema = z.object({
|
|
30
|
-
requestId: z.string(),
|
|
31
|
-
links: z.array(ProjectLinkSchema).default([]),
|
|
32
|
-
error: z.string().nullable(),
|
|
33
|
-
});
|
|
34
|
-
export const ProjectLinksListResponseSchema = z.object({
|
|
35
|
-
type: z.literal("project.links.list.response"),
|
|
36
|
-
payload: ProjectLinksListResponsePayloadSchema,
|
|
37
|
-
});
|
|
38
|
-
export const ProjectLinksMutationResponsePayloadSchema = z.object({
|
|
39
|
-
requestId: z.string(),
|
|
40
|
-
accepted: z.boolean(),
|
|
41
|
-
// The full link set after the mutation, so the client refreshes in one hop.
|
|
42
|
-
links: z.array(ProjectLinkSchema).default([]),
|
|
43
|
-
error: z.string().nullable(),
|
|
44
|
-
});
|
|
45
|
-
export const ProjectLinksSetResponseSchema = z.object({
|
|
46
|
-
type: z.literal("project.links.set.response"),
|
|
47
|
-
payload: ProjectLinksMutationResponsePayloadSchema,
|
|
48
|
-
});
|
|
49
|
-
export const ProjectLinksUnsetResponseSchema = z.object({
|
|
50
|
-
type: z.literal("project.links.unset.response"),
|
|
51
|
-
payload: ProjectLinksMutationResponsePayloadSchema,
|
|
52
|
-
});
|
|
53
|
-
// Pushed to the session whenever the link set changes (mutation or cascade on
|
|
54
|
-
// project removal) so open UIs re-evaluate cross-project access without polling.
|
|
55
|
-
export const ProjectLinksChangedPayloadSchema = z.object({
|
|
56
|
-
links: z.array(ProjectLinkSchema).default([]),
|
|
57
|
-
});
|
|
58
|
-
export const ProjectLinksChangedSchema = z.object({
|
|
59
|
-
type: z.literal("project.links.changed"),
|
|
60
|
-
payload: ProjectLinksChangedPayloadSchema,
|
|
61
|
-
});
|
|
62
|
-
//# sourceMappingURL=project-links.js.map
|