@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,82 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** A local record snapshot is evidence of a claim, not proof of human consent. */
|
|
3
|
+
export declare const CommunicationReceiptSchema: z.ZodObject<{
|
|
4
|
+
rootMessageId: z.ZodUUID;
|
|
5
|
+
authorization: z.ZodObject<{
|
|
6
|
+
basis: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
"peer-letter": "peer-letter";
|
|
8
|
+
"thread-continuation": "thread-continuation";
|
|
9
|
+
"user-instruction": "user-instruction";
|
|
10
|
+
}>>;
|
|
11
|
+
whyThisCommunicationIsNecessaryAndWithinTheUserAuthorizedScope: z.ZodOptional<z.ZodString>;
|
|
12
|
+
userAuthorizationQuote: z.ZodOptional<z.ZodString>;
|
|
13
|
+
sourceMessageRef: z.ZodString;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
sourceLetter: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
id: z.ZodUUID;
|
|
17
|
+
ts: z.ZodString;
|
|
18
|
+
from: z.ZodUnion<readonly [z.ZodObject<{
|
|
19
|
+
kind: z.ZodLiteral<"managed">;
|
|
20
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
21
|
+
machine: z.ZodString;
|
|
22
|
+
agent: z.ZodEnum<{
|
|
23
|
+
antigravity: "antigravity";
|
|
24
|
+
claude: "claude";
|
|
25
|
+
codex: "codex";
|
|
26
|
+
custom: "custom";
|
|
27
|
+
opencode: "opencode";
|
|
28
|
+
}>;
|
|
29
|
+
session: z.ZodString;
|
|
30
|
+
threadId: z.ZodUUID;
|
|
31
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
|
+
kind: z.ZodLiteral<"codex-app">;
|
|
33
|
+
source: z.ZodLiteral<"codex-app">;
|
|
34
|
+
machine: z.ZodString;
|
|
35
|
+
agent: z.ZodLiteral<"codex">;
|
|
36
|
+
threadId: z.ZodUUID;
|
|
37
|
+
name: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
kind: z.ZodLiteral<"cli">;
|
|
40
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
41
|
+
machine: z.ZodString;
|
|
42
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43
|
+
kind: z.ZodLiteral<"service">;
|
|
44
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
45
|
+
machine: z.ZodString;
|
|
46
|
+
transport: z.ZodEnum<{
|
|
47
|
+
"declared-service": "declared-service";
|
|
48
|
+
local: "local";
|
|
49
|
+
}>;
|
|
50
|
+
}, z.core.$strict>]>;
|
|
51
|
+
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
52
|
+
kind: z.ZodLiteral<"managed">;
|
|
53
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
54
|
+
machine: z.ZodString;
|
|
55
|
+
agent: z.ZodEnum<{
|
|
56
|
+
antigravity: "antigravity";
|
|
57
|
+
claude: "claude";
|
|
58
|
+
codex: "codex";
|
|
59
|
+
custom: "custom";
|
|
60
|
+
opencode: "opencode";
|
|
61
|
+
}>;
|
|
62
|
+
session: z.ZodString;
|
|
63
|
+
threadId: z.ZodUUID;
|
|
64
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
65
|
+
kind: z.ZodLiteral<"codex-app">;
|
|
66
|
+
source: z.ZodLiteral<"codex-app">;
|
|
67
|
+
machine: z.ZodString;
|
|
68
|
+
agent: z.ZodLiteral<"codex">;
|
|
69
|
+
threadId: z.ZodUUID;
|
|
70
|
+
name: z.ZodNullable<z.ZodString>;
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
+
kind: z.ZodLiteral<"owner">;
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
|
+
kind: z.ZodLiteral<"external">;
|
|
75
|
+
source: z.ZodLiteral<"stitchmux">;
|
|
76
|
+
name: z.ZodString;
|
|
77
|
+
}, z.core.$strict>]>;
|
|
78
|
+
task: z.ZodNullable<z.ZodString>;
|
|
79
|
+
body: z.ZodString;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
export type CommunicationReceipt = z.infer<typeof CommunicationReceiptSchema>;
|