dawmcp 0.0.1 → 0.0.2
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/README.md +46 -91
- package/THIRD-PARTY-NOTICES.md +997 -2
- package/bridge/index.mjs +62 -0
- package/bridge/types/browser-bridge-client.d.ts +134 -0
- package/bridge/types/browser-bridge-protocol.d.ts +150 -0
- package/bridge/types/catalog.d.ts +106 -0
- package/bridge/types/contracts.d.ts +3330 -0
- package/bridge/types/cubase-contracts.d.ts +87 -0
- package/bridge/types/fl-contracts.d.ts +297 -0
- package/bridge/types/http-daw-contracts.d.ts +141 -0
- package/bridge/types/logic-contracts.d.ts +527 -0
- package/bridge/types/plugin-contracts.d.ts +581 -0
- package/bridge/types/pro-tools-contracts.d.ts +103 -0
- package/bridge/types/provider-declaration.d.ts +122 -0
- package/bridge/types/provider-manifest.d.ts +463 -0
- package/bridge/types/provider-operations.d.ts +597 -0
- package/bridge/types/reaper-contracts.d.ts +217 -0
- package/bridge/types/studio-one-contracts.d.ts +125 -0
- package/bridge/types/waveform-contracts.d.ts +131 -0
- package/cli.mjs +253 -148
- package/logic/LogicProMCP +2 -2
- package/logic/runtime.json +2 -2
- package/package.json +18 -2
- package/plugin/.claude-plugin/marketplace.json +1 -0
- package/plugin/.claude-plugin/plugin.json +3 -2
- package/plugin/.mcp.json +1 -1
- package/plugin/README.md +46 -91
- package/plugin/THIRD-PARTY-NOTICES.md +997 -2
- package/plugin/plugin.json +1 -1
- package/plugin/skills/daw/SKILL.md +8 -2
- package/plugin/skills/daw/references/ardour.md +7 -2
- package/plugin/skills/daw/references/arrangement.md +17 -0
- package/plugin/skills/daw/references/connection.md +21 -0
- package/plugin/skills/daw/references/drums.md +23 -0
- package/plugin/skills/daw/references/editing.md +9 -0
- package/plugin/skills/daw/references/mix-check.md +17 -0
- package/plugin/skills/daw/references/session-hygiene.md +15 -0
- package/plugin/skills/daw/references/theory.md +26 -0
- package/skill/SKILL.md +8 -2
- package/skill/references/ardour.md +7 -2
- package/skill/references/arrangement.md +17 -0
- package/skill/references/connection.md +21 -0
- package/skill/references/drums.md +23 -0
- package/skill/references/editing.md +9 -0
- package/skill/references/mix-check.md +17 -0
- package/skill/references/session-hygiene.md +15 -0
- package/skill/references/theory.md +26 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ReaperPluginCatalogSchema: z.ZodObject<{
|
|
3
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
pluginId: z.ZodString;
|
|
6
|
+
}, z.core.$strict>>;
|
|
7
|
+
total: z.ZodNumber;
|
|
8
|
+
truncated: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export type ReaperCatalogPlugin = z.infer<typeof ReaperPluginCatalogSchema>["items"][number];
|
|
11
|
+
export declare const ReaperTrackChainSchema: z.ZodObject<{
|
|
12
|
+
trackId: z.ZodString;
|
|
13
|
+
fxCount: z.ZodNumber;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
export declare const ReaperInsertedPluginSchema: z.ZodObject<{
|
|
16
|
+
trackId: z.ZodString;
|
|
17
|
+
fxId: z.ZodString;
|
|
18
|
+
fxIndex: z.ZodNumber;
|
|
19
|
+
pluginId: z.ZodString;
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
instanceName: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const ReaperFxListSchema: z.ZodObject<{
|
|
24
|
+
trackId: z.ZodString;
|
|
25
|
+
fx: z.ZodArray<z.ZodObject<{
|
|
26
|
+
fxIndex: z.ZodNumber;
|
|
27
|
+
fxId: z.ZodString;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
enabled: z.ZodBoolean;
|
|
30
|
+
offline: z.ZodBoolean;
|
|
31
|
+
parameterCount: z.ZodNumber;
|
|
32
|
+
pluginId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
catalogName: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
total: z.ZodNumber;
|
|
36
|
+
offset: z.ZodNumber;
|
|
37
|
+
truncated: z.ZodBoolean;
|
|
38
|
+
chain: z.ZodLiteral<"normal">;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
export declare const ReaperParameterStateSchema: z.ZodObject<{
|
|
41
|
+
fxId: z.ZodString;
|
|
42
|
+
fxIndex: z.ZodNumber;
|
|
43
|
+
paramIndex: z.ZodNumber;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
normalized: z.ZodNumber;
|
|
46
|
+
value: z.ZodNumber;
|
|
47
|
+
minimum: z.ZodNumber;
|
|
48
|
+
maximum: z.ZodNumber;
|
|
49
|
+
display: z.ZodString;
|
|
50
|
+
requestedNormalized: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export declare const ReaperParameterPageSchema: z.ZodObject<{
|
|
53
|
+
trackId: z.ZodString;
|
|
54
|
+
fxId: z.ZodString;
|
|
55
|
+
fxIndex: z.ZodNumber;
|
|
56
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
57
|
+
fxId: z.ZodString;
|
|
58
|
+
fxIndex: z.ZodNumber;
|
|
59
|
+
paramIndex: z.ZodNumber;
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
normalized: z.ZodNumber;
|
|
62
|
+
value: z.ZodNumber;
|
|
63
|
+
minimum: z.ZodNumber;
|
|
64
|
+
maximum: z.ZodNumber;
|
|
65
|
+
display: z.ZodString;
|
|
66
|
+
requestedNormalized: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
}, z.core.$strict>>;
|
|
68
|
+
total: z.ZodNumber;
|
|
69
|
+
offset: z.ZodNumber;
|
|
70
|
+
truncated: z.ZodBoolean;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
/**
|
|
73
|
+
* Bounded ReaScript paths derived from TwelveTake REAPER MCP
|
|
74
|
+
* 2a2cdf5fb8e5bcd5d6586d7029a9219ad3790eb1 and the public REAPER API.
|
|
75
|
+
* Native GUIDs replace upstream positional targets; FX also requires its
|
|
76
|
+
* observed normal-chain index so a reordered/stale slot is refused.
|
|
77
|
+
*/
|
|
78
|
+
export declare const ReaperNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
79
|
+
action: z.ZodLiteral<"track.read">;
|
|
80
|
+
params: z.ZodObject<{
|
|
81
|
+
trackId: z.ZodString;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
84
|
+
action: z.ZodLiteral<"track.setVolume">;
|
|
85
|
+
params: z.ZodObject<{
|
|
86
|
+
gain: z.ZodNumber;
|
|
87
|
+
trackId: z.ZodString;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
90
|
+
action: z.ZodLiteral<"track.setPan">;
|
|
91
|
+
params: z.ZodObject<{
|
|
92
|
+
pan: z.ZodNumber;
|
|
93
|
+
trackId: z.ZodString;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
96
|
+
action: z.ZodLiteral<"track.setMute">;
|
|
97
|
+
params: z.ZodObject<{
|
|
98
|
+
muted: z.ZodBoolean;
|
|
99
|
+
trackId: z.ZodString;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
102
|
+
action: z.ZodLiteral<"track.setSolo">;
|
|
103
|
+
params: z.ZodObject<{
|
|
104
|
+
solo: z.ZodBoolean;
|
|
105
|
+
trackId: z.ZodString;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
108
|
+
action: z.ZodLiteral<"track.rename">;
|
|
109
|
+
params: z.ZodObject<{
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
trackId: z.ZodString;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
action: z.ZodLiteral<"fx.list">;
|
|
115
|
+
params: z.ZodObject<{
|
|
116
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
117
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
118
|
+
trackId: z.ZodString;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
action: z.ZodLiteral<"plugin.list">;
|
|
122
|
+
params: z.ZodObject<{
|
|
123
|
+
query: z.ZodOptional<z.ZodString>;
|
|
124
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
125
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
128
|
+
action: z.ZodLiteral<"fx.insert">;
|
|
129
|
+
params: z.ZodObject<{
|
|
130
|
+
pluginId: z.ZodString;
|
|
131
|
+
expectedFxCount: z.ZodNumber;
|
|
132
|
+
trackId: z.ZodString;
|
|
133
|
+
}, z.core.$strict>;
|
|
134
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
135
|
+
action: z.ZodLiteral<"fx.listParameters">;
|
|
136
|
+
params: z.ZodObject<{
|
|
137
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
138
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
139
|
+
fxId: z.ZodString;
|
|
140
|
+
fxIndex: z.ZodNumber;
|
|
141
|
+
trackId: z.ZodString;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
144
|
+
action: z.ZodLiteral<"fx.readParameter">;
|
|
145
|
+
params: z.ZodObject<{
|
|
146
|
+
paramIndex: z.ZodNumber;
|
|
147
|
+
fxId: z.ZodString;
|
|
148
|
+
fxIndex: z.ZodNumber;
|
|
149
|
+
trackId: z.ZodString;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
action: z.ZodLiteral<"fx.setParameter">;
|
|
153
|
+
params: z.ZodObject<{
|
|
154
|
+
normalized: z.ZodNumber;
|
|
155
|
+
paramIndex: z.ZodNumber;
|
|
156
|
+
fxId: z.ZodString;
|
|
157
|
+
fxIndex: z.ZodNumber;
|
|
158
|
+
trackId: z.ZodString;
|
|
159
|
+
}, z.core.$strict>;
|
|
160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
161
|
+
action: z.ZodLiteral<"item.list">;
|
|
162
|
+
params: z.ZodObject<{
|
|
163
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
164
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
165
|
+
trackId: z.ZodString;
|
|
166
|
+
}, z.core.$strict>;
|
|
167
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
168
|
+
action: z.ZodLiteral<"item.read">;
|
|
169
|
+
params: z.ZodObject<{
|
|
170
|
+
itemId: z.ZodString;
|
|
171
|
+
trackId: z.ZodString;
|
|
172
|
+
}, z.core.$strict>;
|
|
173
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174
|
+
action: z.ZodLiteral<"midi.listNotes">;
|
|
175
|
+
params: z.ZodObject<{
|
|
176
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
177
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
178
|
+
itemId: z.ZodString;
|
|
179
|
+
trackId: z.ZodString;
|
|
180
|
+
}, z.core.$strict>;
|
|
181
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
182
|
+
action: z.ZodLiteral<"marker.list">;
|
|
183
|
+
params: z.ZodObject<{
|
|
184
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
185
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
186
|
+
}, z.core.$strict>;
|
|
187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
action: z.ZodLiteral<"marker.add">;
|
|
189
|
+
params: z.ZodObject<{
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
positionBeat: z.ZodNumber;
|
|
192
|
+
}, z.core.$strict>;
|
|
193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
194
|
+
action: z.ZodLiteral<"project.saveExisting">;
|
|
195
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
+
action: z.ZodLiteral<"transport.seek">;
|
|
198
|
+
params: z.ZodObject<{
|
|
199
|
+
positionBeat: z.ZodNumber;
|
|
200
|
+
}, z.core.$strict>;
|
|
201
|
+
}, z.core.$strict>], "action">;
|
|
202
|
+
export type ReaperNativeCommand = z.infer<typeof ReaperNativeCommandSchema>;
|
|
203
|
+
export type ReaperNativeAction = ReaperNativeCommand["action"];
|
|
204
|
+
export declare const REAPER_NATIVE_COMMANDS: {
|
|
205
|
+
name: "track.read" | "track.setVolume" | "track.setPan" | "track.setMute" | "track.setSolo" | "track.rename" | "fx.list" | "plugin.list" | "fx.insert" | "fx.listParameters" | "fx.readParameter" | "fx.setParameter" | "item.list" | "item.read" | "midi.listNotes" | "marker.list" | "marker.add" | "project.saveExisting" | "transport.seek";
|
|
206
|
+
category: "context" | "mixing" | "composition" | "transport" | "project";
|
|
207
|
+
readOnly: boolean;
|
|
208
|
+
description: string;
|
|
209
|
+
}[];
|
|
210
|
+
export declare function reaperCommandInfo(command: ReaperNativeCommand): {
|
|
211
|
+
name: "track.read" | "track.setVolume" | "track.setPan" | "track.setMute" | "track.setSolo" | "track.rename" | "fx.list" | "plugin.list" | "fx.insert" | "fx.listParameters" | "fx.readParameter" | "fx.setParameter" | "item.list" | "item.read" | "midi.listNotes" | "marker.list" | "marker.add" | "project.saveExisting" | "transport.seek";
|
|
212
|
+
category: "context" | "mixing" | "composition" | "transport" | "project";
|
|
213
|
+
readOnly: boolean;
|
|
214
|
+
description: string;
|
|
215
|
+
};
|
|
216
|
+
/** Mailbox values are flat primitives; strings are hex-framed by the host. */
|
|
217
|
+
export declare function reaperNativeFields(value: unknown): Record<string, string>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const StudioOneNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
action: z.ZodLiteral<"session.read">;
|
|
4
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
5
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6
|
+
action: z.ZodLiteral<"mixer.read">;
|
|
7
|
+
params: z.ZodObject<{
|
|
8
|
+
sessionId: z.ZodString;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11
|
+
action: z.ZodLiteral<"mixer.set">;
|
|
12
|
+
params: z.ZodObject<{
|
|
13
|
+
sessionId: z.ZodString;
|
|
14
|
+
channelId: z.ZodString;
|
|
15
|
+
field: z.ZodEnum<{
|
|
16
|
+
pan: "pan";
|
|
17
|
+
mute: "mute";
|
|
18
|
+
solo: "solo";
|
|
19
|
+
volume: "volume";
|
|
20
|
+
}>;
|
|
21
|
+
value: z.ZodNumber;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24
|
+
action: z.ZodLiteral<"transport.play">;
|
|
25
|
+
params: z.ZodObject<{
|
|
26
|
+
sessionId: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
action: z.ZodLiteral<"transport.stop">;
|
|
30
|
+
params: z.ZodObject<{
|
|
31
|
+
sessionId: z.ZodString;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34
|
+
action: z.ZodLiteral<"transport.setTempo">;
|
|
35
|
+
params: z.ZodObject<{
|
|
36
|
+
sessionId: z.ZodString;
|
|
37
|
+
bpm: z.ZodNumber;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
}, z.core.$strict>], "action">;
|
|
40
|
+
export type StudioOneNativeCommand = z.infer<typeof StudioOneNativeCommandSchema>;
|
|
41
|
+
export declare const STUDIO_ONE_NATIVE_COMMANDS: readonly [{
|
|
42
|
+
readonly name: "session.read";
|
|
43
|
+
readonly category: "context";
|
|
44
|
+
readonly readOnly: true;
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "mixer.read";
|
|
47
|
+
readonly category: "context";
|
|
48
|
+
readonly readOnly: true;
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "mixer.set";
|
|
51
|
+
readonly category: "mixing";
|
|
52
|
+
readonly readOnly: false;
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "transport.play";
|
|
55
|
+
readonly category: "transport";
|
|
56
|
+
readonly readOnly: false;
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "transport.stop";
|
|
59
|
+
readonly category: "transport";
|
|
60
|
+
readonly readOnly: false;
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "transport.setTempo";
|
|
63
|
+
readonly category: "transport";
|
|
64
|
+
readonly readOnly: false;
|
|
65
|
+
}];
|
|
66
|
+
export declare function studioOneCommandInfo(value: StudioOneNativeCommand): {
|
|
67
|
+
readonly name: "session.read";
|
|
68
|
+
readonly category: "context";
|
|
69
|
+
readonly readOnly: true;
|
|
70
|
+
} | {
|
|
71
|
+
readonly name: "mixer.read";
|
|
72
|
+
readonly category: "context";
|
|
73
|
+
readonly readOnly: true;
|
|
74
|
+
} | {
|
|
75
|
+
readonly name: "mixer.set";
|
|
76
|
+
readonly category: "mixing";
|
|
77
|
+
readonly readOnly: false;
|
|
78
|
+
} | {
|
|
79
|
+
readonly name: "transport.play";
|
|
80
|
+
readonly category: "transport";
|
|
81
|
+
readonly readOnly: false;
|
|
82
|
+
} | {
|
|
83
|
+
readonly name: "transport.stop";
|
|
84
|
+
readonly category: "transport";
|
|
85
|
+
readonly readOnly: false;
|
|
86
|
+
} | {
|
|
87
|
+
readonly name: "transport.setTempo";
|
|
88
|
+
readonly category: "transport";
|
|
89
|
+
readonly readOnly: false;
|
|
90
|
+
};
|
|
91
|
+
export declare const StudioOneSessionSchema: z.ZodObject<{
|
|
92
|
+
daw: z.ZodLiteral<"studio-one">;
|
|
93
|
+
sessionId: z.ZodString;
|
|
94
|
+
name: z.ZodString;
|
|
95
|
+
version: z.ZodString;
|
|
96
|
+
bpm: z.ZodNumber;
|
|
97
|
+
playing: z.ZodBoolean;
|
|
98
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
}, z.core.$strict>>;
|
|
102
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
103
|
+
observedAt: z.ZodString;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
export declare const StudioOneReportSchema: z.ZodObject<{
|
|
106
|
+
session: z.ZodObject<{
|
|
107
|
+
daw: z.ZodLiteral<"studio-one">;
|
|
108
|
+
sessionId: z.ZodString;
|
|
109
|
+
name: z.ZodString;
|
|
110
|
+
version: z.ZodString;
|
|
111
|
+
bpm: z.ZodNumber;
|
|
112
|
+
playing: z.ZodBoolean;
|
|
113
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
name: z.ZodString;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
118
|
+
observedAt: z.ZodString;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
commandResult: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
121
|
+
identity: z.ZodLiteral<"native-object-lease">;
|
|
122
|
+
coverage: z.ZodLiteral<"Observed active-document tracks and bounded mixer bank; native version and hidden populations unverified">;
|
|
123
|
+
liveValidated: z.ZodLiteral<false>;
|
|
124
|
+
}, z.core.$strict>;
|
|
125
|
+
export type StudioOneReport = z.infer<typeof StudioOneReportSchema>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const WaveformNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
action: z.ZodLiteral<"edit.inspect">;
|
|
4
|
+
params: z.ZodObject<{
|
|
5
|
+
filePath: z.ZodString;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8
|
+
action: z.ZodLiteral<"track.setMixer">;
|
|
9
|
+
params: z.ZodObject<{
|
|
10
|
+
volumePosition: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
pan: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
mute: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
solo: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
filePath: z.ZodString;
|
|
15
|
+
expectedSha256: z.ZodString;
|
|
16
|
+
closedProject: z.ZodLiteral<true>;
|
|
17
|
+
trackId: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
action: z.ZodLiteral<"midi.createClip">;
|
|
21
|
+
params: z.ZodObject<{
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
startSeconds: z.ZodNumber;
|
|
24
|
+
lengthSeconds: z.ZodNumber;
|
|
25
|
+
channel: z.ZodDefault<z.ZodNumber>;
|
|
26
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
27
|
+
pitch: z.ZodNumber;
|
|
28
|
+
startBeat: z.ZodNumber;
|
|
29
|
+
durationBeats: z.ZodNumber;
|
|
30
|
+
velocity: z.ZodNumber;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
filePath: z.ZodString;
|
|
33
|
+
expectedSha256: z.ZodString;
|
|
34
|
+
closedProject: z.ZodLiteral<true>;
|
|
35
|
+
trackId: z.ZodString;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
}, z.core.$strict>], "action">;
|
|
38
|
+
export type WaveformNativeCommand = z.infer<typeof WaveformNativeCommandSchema>;
|
|
39
|
+
export declare const WAVEFORM_NATIVE_COMMANDS: readonly [{
|
|
40
|
+
readonly name: "edit.inspect";
|
|
41
|
+
readonly category: "context";
|
|
42
|
+
readonly readOnly: true;
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "track.setMixer";
|
|
45
|
+
readonly category: "mixing";
|
|
46
|
+
readonly readOnly: false;
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "midi.createClip";
|
|
49
|
+
readonly category: "composition";
|
|
50
|
+
readonly readOnly: false;
|
|
51
|
+
}];
|
|
52
|
+
export declare const WaveformReadReportSchema: z.ZodObject<{
|
|
53
|
+
scope: z.ZodLiteral<"saved-project">;
|
|
54
|
+
filePath: z.ZodString;
|
|
55
|
+
sha256: z.ZodString;
|
|
56
|
+
modifiedAt: z.ZodString;
|
|
57
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
58
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
59
|
+
tempos: z.ZodArray<z.ZodObject<{
|
|
60
|
+
startBeat: z.ZodNullable<z.ZodNumber>;
|
|
61
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
}, z.core.$strict>>;
|
|
63
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
64
|
+
id: z.ZodNullable<z.ZodString>;
|
|
65
|
+
name: z.ZodNullable<z.ZodString>;
|
|
66
|
+
volumePosition: z.ZodNullable<z.ZodNumber>;
|
|
67
|
+
pan: z.ZodNullable<z.ZodNumber>;
|
|
68
|
+
mute: z.ZodNullable<z.ZodBoolean>;
|
|
69
|
+
solo: z.ZodNullable<z.ZodBoolean>;
|
|
70
|
+
clips: z.ZodArray<z.ZodObject<{
|
|
71
|
+
id: z.ZodNullable<z.ZodString>;
|
|
72
|
+
kind: z.ZodString;
|
|
73
|
+
name: z.ZodNullable<z.ZodString>;
|
|
74
|
+
startSeconds: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
lengthSeconds: z.ZodNullable<z.ZodNumber>;
|
|
76
|
+
noteCount: z.ZodNumber;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
79
|
+
id: z.ZodNullable<z.ZodString>;
|
|
80
|
+
type: z.ZodNullable<z.ZodString>;
|
|
81
|
+
name: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strict>>;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
liveState: z.ZodLiteral<"not-observed">;
|
|
85
|
+
reloadRequired: z.ZodBoolean;
|
|
86
|
+
backupPath: z.ZodOptional<z.ZodString>;
|
|
87
|
+
createdClipId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
export type WaveformReadReport = z.infer<typeof WaveformReadReportSchema>;
|
|
90
|
+
export declare const WaveformNativeReceiptSchema: z.ZodObject<{
|
|
91
|
+
daw: z.ZodLiteral<"waveform">;
|
|
92
|
+
status: z.ZodLiteral<"native">;
|
|
93
|
+
requestId: z.ZodString;
|
|
94
|
+
result: z.ZodObject<{
|
|
95
|
+
scope: z.ZodLiteral<"saved-project">;
|
|
96
|
+
filePath: z.ZodString;
|
|
97
|
+
sha256: z.ZodString;
|
|
98
|
+
modifiedAt: z.ZodString;
|
|
99
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
100
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
101
|
+
tempos: z.ZodArray<z.ZodObject<{
|
|
102
|
+
startBeat: z.ZodNullable<z.ZodNumber>;
|
|
103
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
106
|
+
id: z.ZodNullable<z.ZodString>;
|
|
107
|
+
name: z.ZodNullable<z.ZodString>;
|
|
108
|
+
volumePosition: z.ZodNullable<z.ZodNumber>;
|
|
109
|
+
pan: z.ZodNullable<z.ZodNumber>;
|
|
110
|
+
mute: z.ZodNullable<z.ZodBoolean>;
|
|
111
|
+
solo: z.ZodNullable<z.ZodBoolean>;
|
|
112
|
+
clips: z.ZodArray<z.ZodObject<{
|
|
113
|
+
id: z.ZodNullable<z.ZodString>;
|
|
114
|
+
kind: z.ZodString;
|
|
115
|
+
name: z.ZodNullable<z.ZodString>;
|
|
116
|
+
startSeconds: z.ZodNullable<z.ZodNumber>;
|
|
117
|
+
lengthSeconds: z.ZodNullable<z.ZodNumber>;
|
|
118
|
+
noteCount: z.ZodNumber;
|
|
119
|
+
}, z.core.$strict>>;
|
|
120
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
121
|
+
id: z.ZodNullable<z.ZodString>;
|
|
122
|
+
type: z.ZodNullable<z.ZodString>;
|
|
123
|
+
name: z.ZodNullable<z.ZodString>;
|
|
124
|
+
}, z.core.$strict>>;
|
|
125
|
+
}, z.core.$strict>>;
|
|
126
|
+
liveState: z.ZodLiteral<"not-observed">;
|
|
127
|
+
reloadRequired: z.ZodBoolean;
|
|
128
|
+
backupPath: z.ZodOptional<z.ZodString>;
|
|
129
|
+
createdClipId: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
}, z.core.$strict>;
|