@stitchmux/client 0.0.0-stage → 0.96.1
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/LICENSE +21 -0
- package/README.md +45 -2
- package/dist/chunk-wddwdvbj.js +714 -0
- package/dist/index.js +4070 -0
- package/dist/monitoring.js +279 -0
- package/native-stream.json +8 -0
- package/package.json +36 -4
- package/types/src/agent/claude/native/commandSchema.d.ts +14 -0
- package/types/src/agent/custom/config.d.ts +159 -0
- package/types/src/agent/custom/endpoint.d.ts +26 -0
- package/types/src/agent/transcript/messageSchema.d.ts +153 -0
- package/types/src/attachments/reference.d.ts +56 -0
- package/types/src/attachments/schema.d.ts +512 -0
- package/types/src/chat/communicationAuthorizationSchema.d.ts +77 -0
- package/types/src/chat/communicationReceiptSchema.d.ts +82 -0
- package/types/src/chat/feedSchema.d.ts +641 -0
- package/types/src/chat/holdKind.d.ts +26 -0
- package/types/src/chat/identity.d.ts +55 -0
- package/types/src/chat/identitySchema.d.ts +121 -0
- package/types/src/chat/letterRequestSchema.d.ts +35 -0
- package/types/src/chat/messageOperationSchema.d.ts +277 -0
- package/types/src/chat/messageSchema.d.ts +284 -0
- package/types/src/chat/originSchema.d.ts +67 -0
- package/types/src/chat/sentLetterSchema.d.ts +79 -0
- package/types/src/client.d.ts +16 -0
- package/types/src/config/claudeProfileSchema.d.ts +22 -0
- package/types/src/config/launchSchema.d.ts +136 -0
- package/types/src/config/location.d.ts +6 -0
- package/types/src/config/machineSchema.d.ts +320 -0
- package/types/src/config/modelSelectionFlags.d.ts +4 -0
- package/types/src/config/paths.d.ts +87 -0
- package/types/src/config/remoteTransport.d.ts +12 -0
- package/types/src/content/schema.d.ts +312 -0
- package/types/src/content/toolSchema.d.ts +36 -0
- package/types/src/context/corpusSearchSchema.d.ts +578 -0
- package/types/src/context/exactMessageSchema.d.ts +54 -0
- package/types/src/context/messageSenderSchema.d.ts +14 -0
- package/types/src/context/schema.d.ts +176 -0
- package/types/src/context/searchFrames.d.ts +225 -0
- package/types/src/context/searchRequestSchema.d.ts +47 -0
- package/types/src/context/transcriptJsonSchema.d.ts +210 -0
- package/types/src/control/schema/context.d.ts +188 -0
- package/types/src/control/schema/contract.d.ts +7142 -0
- package/types/src/control/schema/core.d.ts +722 -0
- package/types/src/control/schema/directory.d.ts +34 -0
- package/types/src/control/schema/eventsContract.d.ts +1423 -0
- package/types/src/control/schema/externalList.d.ts +96 -0
- package/types/src/control/schema/message.d.ts +280 -0
- package/types/src/control/schema/model.d.ts +128 -0
- package/types/src/control/schema/native.d.ts +664 -0
- package/types/src/control/schema/nativeStreamContract.d.ts +155 -0
- package/types/src/control/schema/performance.d.ts +85 -0
- package/types/src/control/schema/public.d.ts +48 -0
- package/types/src/control/schema/reading.d.ts +24 -0
- package/types/src/control/schema/refusals.d.ts +433 -0
- package/types/src/control/schema/runtimeOps.d.ts +724 -0
- package/types/src/control/schema/searchContract.d.ts +258 -0
- package/types/src/control/schema/selection.d.ts +124 -0
- package/types/src/control/schema/session.d.ts +272 -0
- package/types/src/control/schema/terminalPrompt.d.ts +102 -0
- package/types/src/control/transport/boundary.d.ts +7137 -0
- package/types/src/control/transport/client.d.ts +10838 -0
- package/types/src/control/transport/connection.d.ts +13 -0
- package/types/src/control/transport/socketPath.d.ts +3 -0
- package/types/src/control-client.d.ts +9 -0
- package/types/src/delegation/applicationSchema.d.ts +132 -0
- package/types/src/delegation/schema.d.ts +267 -0
- package/types/src/events/schema.d.ts +155 -0
- package/types/src/external/contentSchema.d.ts +145 -0
- package/types/src/external/messageSchema.d.ts +131 -0
- package/types/src/external/residentFrames.d.ts +130 -0
- package/types/src/external/residentSchema.d.ts +144 -0
- package/types/src/external/sessionSchema.d.ts +427 -0
- package/types/src/external/turnSchema.d.ts +55 -0
- package/types/src/fleet/fleetSchema.d.ts +937 -0
- package/types/src/inventory/listSchema.d.ts +442 -0
- package/types/src/monitoring/nativeFile.d.ts +7 -0
- package/types/src/monitoring/nativeRead.d.ts +14 -0
- package/types/src/monitoring/performanceSchema.d.ts +28 -0
- package/types/src/monitoring/schema.d.ts +410 -0
- package/types/src/monitoring/validate.d.ts +5 -0
- package/types/src/monitoring-reader.d.ts +4 -0
- package/types/src/policy/reference.d.ts +93 -0
- package/types/src/policy/runtimeProfile.d.ts +24 -0
- package/types/src/policy/schema.d.ts +177 -0
- package/types/src/runtime/capabilities.d.ts +124 -0
- package/types/src/runtime/modes.d.ts +47 -0
- package/types/src/runtime/permissionScope.d.ts +22 -0
- package/types/src/runtime/planLimitsSchema.d.ts +55 -0
- package/types/src/runtime/projectionSchema.d.ts +539 -0
- package/types/src/runtime/rewindSchema.d.ts +16 -0
- package/types/src/runtime/selectionSchema.d.ts +158 -0
- package/types/src/runtime/workloadContract.d.ts +55 -0
- package/types/src/session/boundary.d.ts +43 -0
- package/types/src/session/identitySchema.d.ts +353 -0
- package/types/src/session/schema.d.ts +341 -0
- package/types/src/session/sleep/schema.d.ts +283 -0
- package/types/src/steering/schema.d.ts +197 -0
- package/types/src/types.d.ts +48 -0
- package/types/src/usage/schema.d.ts +978 -0
- package/types/src/util/home.d.ts +9 -0
- package/types/src/util/preview.d.ts +13 -0
- package/types/src/util/version.d.ts +3 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ControlHistoryReadSchema: z.ZodObject<{
|
|
3
|
+
target: z.ZodObject<{
|
|
4
|
+
kind: z.ZodLiteral<"managed">;
|
|
5
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
6
|
+
machine: z.ZodString;
|
|
7
|
+
agent: z.ZodEnum<{
|
|
8
|
+
antigravity: "antigravity";
|
|
9
|
+
claude: "claude";
|
|
10
|
+
codex: "codex";
|
|
11
|
+
custom: "custom";
|
|
12
|
+
opencode: "opencode";
|
|
13
|
+
}>;
|
|
14
|
+
session: z.ZodString;
|
|
15
|
+
threadId: z.ZodUUID;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
18
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
19
|
+
registrationGeneration: z.ZodUUID;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const ControlHistoryResultSchema: z.ZodObject<{
|
|
22
|
+
target: z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"managed">;
|
|
24
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
25
|
+
machine: z.ZodString;
|
|
26
|
+
agent: z.ZodEnum<{
|
|
27
|
+
antigravity: "antigravity";
|
|
28
|
+
claude: "claude";
|
|
29
|
+
codex: "codex";
|
|
30
|
+
custom: "custom";
|
|
31
|
+
opencode: "opencode";
|
|
32
|
+
}>;
|
|
33
|
+
session: z.ZodString;
|
|
34
|
+
threadId: z.ZodUUID;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
runtime: z.ZodEnum<{
|
|
37
|
+
antigravity: "antigravity";
|
|
38
|
+
claude: "claude";
|
|
39
|
+
codex: "codex";
|
|
40
|
+
custom: "custom";
|
|
41
|
+
opencode: "opencode";
|
|
42
|
+
}>;
|
|
43
|
+
nativeId: z.ZodString;
|
|
44
|
+
revision: z.ZodNumber;
|
|
45
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
46
|
+
turnId: z.ZodString;
|
|
47
|
+
itemId: z.ZodString;
|
|
48
|
+
kind: z.ZodEnum<{
|
|
49
|
+
assistant: "assistant";
|
|
50
|
+
compaction: "compaction";
|
|
51
|
+
other: "other";
|
|
52
|
+
"reasoning-summary": "reasoning-summary";
|
|
53
|
+
tool: "tool";
|
|
54
|
+
user: "user";
|
|
55
|
+
}>;
|
|
56
|
+
text: z.ZodNullable<z.ZodString>;
|
|
57
|
+
omittedBytes: z.ZodNumber;
|
|
58
|
+
images: z.ZodArray<z.ZodObject<{
|
|
59
|
+
id: z.ZodUUID;
|
|
60
|
+
digest: z.ZodString;
|
|
61
|
+
mediaType: z.ZodEnum<{
|
|
62
|
+
"image/jpeg": "image/jpeg";
|
|
63
|
+
"image/png": "image/png";
|
|
64
|
+
}>;
|
|
65
|
+
bytes: z.ZodNumber;
|
|
66
|
+
width: z.ZodNumber;
|
|
67
|
+
height: z.ZodNumber;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
omittedImages: z.ZodNumber;
|
|
70
|
+
status: z.ZodEnum<{
|
|
71
|
+
completed: "completed";
|
|
72
|
+
failed: "failed";
|
|
73
|
+
inProgress: "inProgress";
|
|
74
|
+
unknown: "unknown";
|
|
75
|
+
}>;
|
|
76
|
+
tool: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
77
|
+
callId: z.ZodNullable<z.ZodString>;
|
|
78
|
+
name: z.ZodNullable<z.ZodString>;
|
|
79
|
+
lifecycle: z.ZodEnum<{
|
|
80
|
+
completed: "completed";
|
|
81
|
+
pending: "pending";
|
|
82
|
+
running: "running";
|
|
83
|
+
unknown: "unknown";
|
|
84
|
+
}>;
|
|
85
|
+
outcome: z.ZodEnum<{
|
|
86
|
+
declined: "declined";
|
|
87
|
+
failed: "failed";
|
|
88
|
+
interrupted: "interrupted";
|
|
89
|
+
succeeded: "succeeded";
|
|
90
|
+
unknown: "unknown";
|
|
91
|
+
}>;
|
|
92
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
93
|
+
}, z.core.$strict>>>;
|
|
94
|
+
}, z.core.$strict>>;
|
|
95
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
96
|
+
completeness: z.ZodEnum<{
|
|
97
|
+
complete: "complete";
|
|
98
|
+
more: "more";
|
|
99
|
+
unknown: "unknown";
|
|
100
|
+
}>;
|
|
101
|
+
omittedItems: z.ZodNumber;
|
|
102
|
+
omittedBytes: z.ZodNumber;
|
|
103
|
+
registrationGeneration: z.ZodUUID;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
export declare const ControlCompactSchema: z.ZodObject<{
|
|
106
|
+
target: z.ZodObject<{
|
|
107
|
+
kind: z.ZodLiteral<"managed">;
|
|
108
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
109
|
+
machine: z.ZodString;
|
|
110
|
+
agent: z.ZodEnum<{
|
|
111
|
+
antigravity: "antigravity";
|
|
112
|
+
claude: "claude";
|
|
113
|
+
codex: "codex";
|
|
114
|
+
custom: "custom";
|
|
115
|
+
opencode: "opencode";
|
|
116
|
+
}>;
|
|
117
|
+
session: z.ZodString;
|
|
118
|
+
threadId: z.ZodUUID;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
operationId: z.ZodUUID;
|
|
121
|
+
generation: z.ZodUUID;
|
|
122
|
+
registrationGeneration: z.ZodUUID;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
export declare const ControlContextOperationReadSchema: z.ZodObject<{
|
|
125
|
+
target: z.ZodObject<{
|
|
126
|
+
kind: z.ZodLiteral<"managed">;
|
|
127
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
128
|
+
machine: z.ZodString;
|
|
129
|
+
agent: z.ZodEnum<{
|
|
130
|
+
antigravity: "antigravity";
|
|
131
|
+
claude: "claude";
|
|
132
|
+
codex: "codex";
|
|
133
|
+
custom: "custom";
|
|
134
|
+
opencode: "opencode";
|
|
135
|
+
}>;
|
|
136
|
+
session: z.ZodString;
|
|
137
|
+
threadId: z.ZodUUID;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
registrationGeneration: z.ZodUUID;
|
|
140
|
+
operationId: z.ZodUUID;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
export declare const PublicContextOperationSchema: z.ZodObject<{
|
|
143
|
+
operationId: z.ZodUUID;
|
|
144
|
+
generation: z.ZodUUID;
|
|
145
|
+
state: z.ZodEnum<{
|
|
146
|
+
completed: "completed";
|
|
147
|
+
dispatching: "dispatching";
|
|
148
|
+
queued: "queued";
|
|
149
|
+
rejected: "rejected";
|
|
150
|
+
running: "running";
|
|
151
|
+
uncertain: "uncertain";
|
|
152
|
+
}>;
|
|
153
|
+
revision: z.ZodNumber;
|
|
154
|
+
createdAt: z.ZodNumber;
|
|
155
|
+
updatedAt: z.ZodNumber;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
export declare const ControlContextOperationResultSchema: z.ZodObject<{
|
|
158
|
+
target: z.ZodObject<{
|
|
159
|
+
kind: z.ZodLiteral<"managed">;
|
|
160
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
161
|
+
machine: z.ZodString;
|
|
162
|
+
agent: z.ZodEnum<{
|
|
163
|
+
antigravity: "antigravity";
|
|
164
|
+
claude: "claude";
|
|
165
|
+
codex: "codex";
|
|
166
|
+
custom: "custom";
|
|
167
|
+
opencode: "opencode";
|
|
168
|
+
}>;
|
|
169
|
+
session: z.ZodString;
|
|
170
|
+
threadId: z.ZodUUID;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
registrationGeneration: z.ZodUUID;
|
|
173
|
+
operation: z.ZodNullable<z.ZodObject<{
|
|
174
|
+
operationId: z.ZodUUID;
|
|
175
|
+
generation: z.ZodUUID;
|
|
176
|
+
state: z.ZodEnum<{
|
|
177
|
+
completed: "completed";
|
|
178
|
+
dispatching: "dispatching";
|
|
179
|
+
queued: "queued";
|
|
180
|
+
rejected: "rejected";
|
|
181
|
+
running: "running";
|
|
182
|
+
uncertain: "uncertain";
|
|
183
|
+
}>;
|
|
184
|
+
revision: z.ZodNumber;
|
|
185
|
+
createdAt: z.ZodNumber;
|
|
186
|
+
updatedAt: z.ZodNumber;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
}, z.core.$strict>;
|