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,87 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CubaseNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
action: z.ZodLiteral<"selected.read">;
|
|
4
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
5
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6
|
+
action: z.ZodLiteral<"selected.setVolume">;
|
|
7
|
+
params: z.ZodObject<{
|
|
8
|
+
targetRef: z.ZodString;
|
|
9
|
+
value: z.ZodNumber;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12
|
+
action: z.ZodLiteral<"selected.setPan">;
|
|
13
|
+
params: z.ZodObject<{
|
|
14
|
+
targetRef: z.ZodString;
|
|
15
|
+
value: z.ZodNumber;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18
|
+
action: z.ZodLiteral<"selected.setMute">;
|
|
19
|
+
params: z.ZodObject<{
|
|
20
|
+
targetRef: z.ZodString;
|
|
21
|
+
enabled: z.ZodBoolean;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24
|
+
action: z.ZodLiteral<"selected.setSolo">;
|
|
25
|
+
params: z.ZodObject<{
|
|
26
|
+
targetRef: z.ZodString;
|
|
27
|
+
enabled: z.ZodBoolean;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
}, z.core.$strict>], "action">;
|
|
30
|
+
export type CubaseNativeCommand = z.infer<typeof CubaseNativeCommandSchema>;
|
|
31
|
+
export declare const CUBASE_NATIVE_COMMANDS: readonly [{
|
|
32
|
+
readonly name: "selected.read";
|
|
33
|
+
readonly category: "context";
|
|
34
|
+
readonly readOnly: true;
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "selected.setVolume";
|
|
37
|
+
readonly category: "mixing";
|
|
38
|
+
readonly readOnly: false;
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "selected.setPan";
|
|
41
|
+
readonly category: "mixing";
|
|
42
|
+
readonly readOnly: false;
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "selected.setMute";
|
|
45
|
+
readonly category: "mixing";
|
|
46
|
+
readonly readOnly: false;
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "selected.setSolo";
|
|
49
|
+
readonly category: "mixing";
|
|
50
|
+
readonly readOnly: false;
|
|
51
|
+
}];
|
|
52
|
+
export declare const CubaseReadReportSchema: z.ZodObject<{
|
|
53
|
+
coverage: z.ZodLiteral<"selected-channel-only">;
|
|
54
|
+
targetRef: z.ZodString;
|
|
55
|
+
name: z.ZodNullable<z.ZodString>;
|
|
56
|
+
values: z.ZodObject<{
|
|
57
|
+
volume: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
pan: z.ZodNullable<z.ZodNumber>;
|
|
59
|
+
mute: z.ZodNullable<z.ZodBoolean>;
|
|
60
|
+
solo: z.ZodNullable<z.ZodBoolean>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
observedAt: z.ZodNullable<z.ZodString>;
|
|
63
|
+
unknown: z.ZodArray<z.ZodString>;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
export type CubaseReadReport = z.infer<typeof CubaseReadReportSchema>;
|
|
66
|
+
export declare const CubaseNativeReceiptSchema: z.ZodObject<{
|
|
67
|
+
daw: z.ZodLiteral<"cubase">;
|
|
68
|
+
status: z.ZodLiteral<"native">;
|
|
69
|
+
requestId: z.ZodString;
|
|
70
|
+
result: z.ZodObject<{
|
|
71
|
+
report: z.ZodObject<{
|
|
72
|
+
coverage: z.ZodLiteral<"selected-channel-only">;
|
|
73
|
+
targetRef: z.ZodString;
|
|
74
|
+
name: z.ZodNullable<z.ZodString>;
|
|
75
|
+
values: z.ZodObject<{
|
|
76
|
+
volume: z.ZodNullable<z.ZodNumber>;
|
|
77
|
+
pan: z.ZodNullable<z.ZodNumber>;
|
|
78
|
+
mute: z.ZodNullable<z.ZodBoolean>;
|
|
79
|
+
solo: z.ZodNullable<z.ZodBoolean>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
observedAt: z.ZodNullable<z.ZodString>;
|
|
82
|
+
unknown: z.ZodArray<z.ZodString>;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
verified: z.ZodBoolean;
|
|
85
|
+
liveValidated: z.ZodLiteral<false>;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Exact controller dispatcher vocabulary from karl-andres/fl-studio-mcp,
|
|
4
|
+
* 202b7a28a4dc725350b68064d1be4e1eab852847. No eval/script/shell escape.
|
|
5
|
+
* Indices retain their native meaning: mixer insert != Channel Rack channel.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FlNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8
|
+
action: z.ZodLiteral<"transport.start">;
|
|
9
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
10
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11
|
+
action: z.ZodLiteral<"transport.stop">;
|
|
12
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
13
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14
|
+
action: z.ZodLiteral<"transport.record">;
|
|
15
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
16
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17
|
+
action: z.ZodLiteral<"transport.getStatus">;
|
|
18
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
action: z.ZodLiteral<"transport.setPosition">;
|
|
21
|
+
params: z.ZodObject<{
|
|
22
|
+
position: z.ZodNumber;
|
|
23
|
+
mode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
26
|
+
action: z.ZodLiteral<"transport.getLength">;
|
|
27
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
action: z.ZodLiteral<"transport.setLoopMode">;
|
|
30
|
+
params: z.ZodObject<{
|
|
31
|
+
mode: z.ZodEnum<{
|
|
32
|
+
pattern: "pattern";
|
|
33
|
+
song: "song";
|
|
34
|
+
}>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
37
|
+
action: z.ZodLiteral<"transport.setPlaybackSpeed">;
|
|
38
|
+
params: z.ZodObject<{
|
|
39
|
+
speed: z.ZodNumber;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
42
|
+
action: z.ZodLiteral<"mixer.getTrackCount">;
|
|
43
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
44
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
45
|
+
action: z.ZodLiteral<"mixer.getTrackInfo">;
|
|
46
|
+
params: z.ZodObject<{
|
|
47
|
+
track: z.ZodNumber;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
action: z.ZodLiteral<"mixer.getAllTracks">;
|
|
51
|
+
params: z.ZodObject<{
|
|
52
|
+
include_empty: z.ZodDefault<z.ZodBoolean>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
+
action: z.ZodLiteral<"mixer.setTrackVolume">;
|
|
56
|
+
params: z.ZodObject<{
|
|
57
|
+
track: z.ZodNumber;
|
|
58
|
+
volume: z.ZodNumber;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
action: z.ZodLiteral<"mixer.setTrackPan">;
|
|
62
|
+
params: z.ZodObject<{
|
|
63
|
+
track: z.ZodNumber;
|
|
64
|
+
pan: z.ZodNumber;
|
|
65
|
+
}, z.core.$strict>;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
action: z.ZodLiteral<"mixer.muteTrack">;
|
|
68
|
+
params: z.ZodObject<{
|
|
69
|
+
track: z.ZodNumber;
|
|
70
|
+
muted: z.ZodBoolean;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
73
|
+
action: z.ZodLiteral<"mixer.soloTrack">;
|
|
74
|
+
params: z.ZodObject<{
|
|
75
|
+
track: z.ZodNumber;
|
|
76
|
+
solo: z.ZodBoolean;
|
|
77
|
+
mode: z.ZodDefault<z.ZodNumber>;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
80
|
+
action: z.ZodLiteral<"mixer.armTrack">;
|
|
81
|
+
params: z.ZodObject<{
|
|
82
|
+
track: z.ZodNumber;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
85
|
+
action: z.ZodLiteral<"mixer.setTrackName">;
|
|
86
|
+
params: z.ZodObject<{
|
|
87
|
+
track: z.ZodNumber;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
action: z.ZodLiteral<"mixer.setTrackColor">;
|
|
92
|
+
params: z.ZodObject<{
|
|
93
|
+
r: z.ZodNumber;
|
|
94
|
+
g: z.ZodNumber;
|
|
95
|
+
b: z.ZodNumber;
|
|
96
|
+
track: z.ZodNumber;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
99
|
+
action: z.ZodLiteral<"mixer.setStereoSep">;
|
|
100
|
+
params: z.ZodObject<{
|
|
101
|
+
track: z.ZodNumber;
|
|
102
|
+
separation: z.ZodNumber;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
105
|
+
action: z.ZodLiteral<"channels.getCount">;
|
|
106
|
+
params: z.ZodObject<{
|
|
107
|
+
global_count: z.ZodDefault<z.ZodBoolean>;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
110
|
+
action: z.ZodLiteral<"channels.getInfo">;
|
|
111
|
+
params: z.ZodObject<{
|
|
112
|
+
index: z.ZodNumber;
|
|
113
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
}, z.core.$strict>;
|
|
115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
116
|
+
action: z.ZodLiteral<"channels.getAll">;
|
|
117
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
119
|
+
action: z.ZodLiteral<"channels.getSelected">;
|
|
120
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
+
action: z.ZodLiteral<"channels.select">;
|
|
123
|
+
params: z.ZodObject<{
|
|
124
|
+
index: z.ZodNumber;
|
|
125
|
+
select: z.ZodBoolean;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
128
|
+
action: z.ZodLiteral<"channels.selectOne">;
|
|
129
|
+
params: z.ZodObject<{
|
|
130
|
+
index: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
133
|
+
action: z.ZodLiteral<"channels.triggerNote">;
|
|
134
|
+
params: z.ZodObject<{
|
|
135
|
+
channel: z.ZodNumber;
|
|
136
|
+
note: z.ZodNumber;
|
|
137
|
+
velocity: z.ZodNumber;
|
|
138
|
+
midi_channel: z.ZodDefault<z.ZodNumber>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
141
|
+
action: z.ZodLiteral<"channels.setVolume">;
|
|
142
|
+
params: z.ZodObject<{
|
|
143
|
+
index: z.ZodNumber;
|
|
144
|
+
volume: z.ZodNumber;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
action: z.ZodLiteral<"channels.setPan">;
|
|
148
|
+
params: z.ZodObject<{
|
|
149
|
+
index: z.ZodNumber;
|
|
150
|
+
pan: z.ZodNumber;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
153
|
+
action: z.ZodLiteral<"channels.mute">;
|
|
154
|
+
params: z.ZodObject<{
|
|
155
|
+
index: z.ZodNumber;
|
|
156
|
+
muted: z.ZodBoolean;
|
|
157
|
+
}, z.core.$strict>;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
action: z.ZodLiteral<"channels.solo">;
|
|
160
|
+
params: z.ZodObject<{
|
|
161
|
+
index: z.ZodNumber;
|
|
162
|
+
solo: z.ZodBoolean;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
+
action: z.ZodLiteral<"channels.setName">;
|
|
166
|
+
params: z.ZodObject<{
|
|
167
|
+
index: z.ZodNumber;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
action: z.ZodLiteral<"channels.setColor">;
|
|
172
|
+
params: z.ZodObject<{
|
|
173
|
+
r: z.ZodNumber;
|
|
174
|
+
g: z.ZodNumber;
|
|
175
|
+
b: z.ZodNumber;
|
|
176
|
+
index: z.ZodNumber;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
|
+
action: z.ZodLiteral<"channels.routeToMixer">;
|
|
180
|
+
params: z.ZodObject<{
|
|
181
|
+
channel_index: z.ZodNumber;
|
|
182
|
+
mixer_track: z.ZodNumber;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
185
|
+
action: z.ZodLiteral<"channels.getGridBit">;
|
|
186
|
+
params: z.ZodObject<{
|
|
187
|
+
channel: z.ZodNumber;
|
|
188
|
+
position: z.ZodNumber;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
action: z.ZodLiteral<"channels.setGridBit">;
|
|
192
|
+
params: z.ZodObject<{
|
|
193
|
+
channel: z.ZodNumber;
|
|
194
|
+
position: z.ZodNumber;
|
|
195
|
+
value: z.ZodBoolean;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
198
|
+
action: z.ZodLiteral<"channels.getStepSequence">;
|
|
199
|
+
params: z.ZodObject<{
|
|
200
|
+
channel: z.ZodNumber;
|
|
201
|
+
steps: z.ZodDefault<z.ZodNumber>;
|
|
202
|
+
}, z.core.$strict>;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
action: z.ZodLiteral<"channels.setStepSequence">;
|
|
205
|
+
params: z.ZodObject<{
|
|
206
|
+
channel: z.ZodNumber;
|
|
207
|
+
pattern: z.ZodArray<z.ZodBoolean>;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
210
|
+
action: z.ZodLiteral<"plugins.isValid">;
|
|
211
|
+
params: z.ZodObject<{
|
|
212
|
+
index: z.ZodNumber;
|
|
213
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
214
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
215
|
+
}, z.core.$strict>;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
action: z.ZodLiteral<"plugins.getName">;
|
|
218
|
+
params: z.ZodObject<{
|
|
219
|
+
index: z.ZodNumber;
|
|
220
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
221
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
action: z.ZodLiteral<"plugins.getParamCount">;
|
|
225
|
+
params: z.ZodObject<{
|
|
226
|
+
index: z.ZodNumber;
|
|
227
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
228
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
231
|
+
action: z.ZodLiteral<"plugins.getParams">;
|
|
232
|
+
params: z.ZodObject<{
|
|
233
|
+
max_params: z.ZodDefault<z.ZodNumber>;
|
|
234
|
+
index: z.ZodNumber;
|
|
235
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
236
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
action: z.ZodLiteral<"plugins.getParamValue">;
|
|
240
|
+
params: z.ZodObject<{
|
|
241
|
+
plugin_index: z.ZodNumber;
|
|
242
|
+
param_index: z.ZodNumber;
|
|
243
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
244
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
245
|
+
}, z.core.$strict>;
|
|
246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
247
|
+
action: z.ZodLiteral<"plugins.setParamValue">;
|
|
248
|
+
params: z.ZodObject<{
|
|
249
|
+
plugin_index: z.ZodNumber;
|
|
250
|
+
param_index: z.ZodNumber;
|
|
251
|
+
value: z.ZodNumber;
|
|
252
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
253
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
256
|
+
action: z.ZodLiteral<"plugins.getPresetCount">;
|
|
257
|
+
params: z.ZodObject<{
|
|
258
|
+
index: z.ZodNumber;
|
|
259
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
260
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
263
|
+
action: z.ZodLiteral<"plugins.nextPreset">;
|
|
264
|
+
params: z.ZodObject<{
|
|
265
|
+
index: z.ZodNumber;
|
|
266
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
267
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
268
|
+
}, z.core.$strict>;
|
|
269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
270
|
+
action: z.ZodLiteral<"plugins.prevPreset">;
|
|
271
|
+
params: z.ZodObject<{
|
|
272
|
+
index: z.ZodNumber;
|
|
273
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
274
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
275
|
+
}, z.core.$strict>;
|
|
276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
277
|
+
action: z.ZodLiteral<"plugins.getColor">;
|
|
278
|
+
params: z.ZodObject<{
|
|
279
|
+
index: z.ZodNumber;
|
|
280
|
+
slot_index: z.ZodDefault<z.ZodNumber>;
|
|
281
|
+
use_global: z.ZodDefault<z.ZodBoolean>;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
}, z.core.$strict>], "action">;
|
|
284
|
+
export type FlNativeCommand = z.infer<typeof FlNativeCommandSchema>;
|
|
285
|
+
export type FlNativeAction = FlNativeCommand["action"];
|
|
286
|
+
export declare const FL_NATIVE_COMMANDS: {
|
|
287
|
+
name: "transport.stop" | "transport.start" | "transport.record" | "transport.getStatus" | "transport.setPosition" | "transport.getLength" | "transport.setLoopMode" | "transport.setPlaybackSpeed" | "mixer.getTrackCount" | "mixer.getTrackInfo" | "mixer.getAllTracks" | "mixer.setTrackVolume" | "mixer.setTrackPan" | "mixer.muteTrack" | "mixer.soloTrack" | "mixer.armTrack" | "mixer.setTrackName" | "mixer.setTrackColor" | "mixer.setStereoSep" | "channels.getCount" | "channels.getInfo" | "channels.getAll" | "channels.getSelected" | "channels.select" | "channels.selectOne" | "channels.triggerNote" | "channels.setVolume" | "channels.setPan" | "channels.mute" | "channels.solo" | "channels.setName" | "channels.setColor" | "channels.routeToMixer" | "channels.getGridBit" | "channels.setGridBit" | "channels.getStepSequence" | "channels.setStepSequence" | "plugins.isValid" | "plugins.getName" | "plugins.getParamCount" | "plugins.getParams" | "plugins.getParamValue" | "plugins.setParamValue" | "plugins.getPresetCount" | "plugins.nextPreset" | "plugins.prevPreset" | "plugins.getColor";
|
|
288
|
+
category: "context" | "mixing" | "composition" | "transport";
|
|
289
|
+
readOnly: boolean;
|
|
290
|
+
description: string;
|
|
291
|
+
}[];
|
|
292
|
+
export declare function flCommandInfo(command: FlNativeCommand): {
|
|
293
|
+
name: "transport.stop" | "transport.start" | "transport.record" | "transport.getStatus" | "transport.setPosition" | "transport.getLength" | "transport.setLoopMode" | "transport.setPlaybackSpeed" | "mixer.getTrackCount" | "mixer.getTrackInfo" | "mixer.getAllTracks" | "mixer.setTrackVolume" | "mixer.setTrackPan" | "mixer.muteTrack" | "mixer.soloTrack" | "mixer.armTrack" | "mixer.setTrackName" | "mixer.setTrackColor" | "mixer.setStereoSep" | "channels.getCount" | "channels.getInfo" | "channels.getAll" | "channels.getSelected" | "channels.select" | "channels.selectOne" | "channels.triggerNote" | "channels.setVolume" | "channels.setPan" | "channels.mute" | "channels.solo" | "channels.setName" | "channels.setColor" | "channels.routeToMixer" | "channels.getGridBit" | "channels.setGridBit" | "channels.getStepSequence" | "channels.setStepSequence" | "plugins.isValid" | "plugins.getName" | "plugins.getParamCount" | "plugins.getParams" | "plugins.getParamValue" | "plugins.setParamValue" | "plugins.getPresetCount" | "plugins.nextPreset" | "plugins.prevPreset" | "plugins.getColor";
|
|
294
|
+
category: "context" | "mixing" | "composition" | "transport";
|
|
295
|
+
readOnly: boolean;
|
|
296
|
+
description: string;
|
|
297
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { DawCategory } from "./contracts.js";
|
|
3
|
+
/** Curated subset of the pinned Bitwig Java extension. Index targets are ephemeral. */
|
|
4
|
+
export declare const BitwigNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
+
action: z.ZodLiteral<"project_snapshot">;
|
|
6
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
7
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8
|
+
action: z.ZodLiteral<"list_tracks">;
|
|
9
|
+
params: z.ZodObject<{
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
audio: "audio";
|
|
12
|
+
instrument: "instrument";
|
|
13
|
+
group: "group";
|
|
14
|
+
effect: "effect";
|
|
15
|
+
master: "master";
|
|
16
|
+
hybrid: "hybrid";
|
|
17
|
+
}>>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
action: z.ZodLiteral<"get_track_details">;
|
|
21
|
+
params: z.ZodObject<{
|
|
22
|
+
track_target: z.ZodLiteral<"track">;
|
|
23
|
+
track_index: z.ZodNumber;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
26
|
+
action: z.ZodLiteral<"get_device_details">;
|
|
27
|
+
params: z.ZodObject<{
|
|
28
|
+
device_target: z.ZodLiteral<"device">;
|
|
29
|
+
track_index: z.ZodNumber;
|
|
30
|
+
device_index: z.ZodNumber;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33
|
+
action: z.ZodLiteral<"transport_start">;
|
|
34
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
35
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36
|
+
action: z.ZodLiteral<"transport_stop">;
|
|
37
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
action: z.ZodLiteral<"transport_set_tempo">;
|
|
40
|
+
params: z.ZodObject<{
|
|
41
|
+
bpm: z.ZodNumber;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
+
action: z.ZodLiteral<"transport_set_time_signature">;
|
|
45
|
+
params: z.ZodObject<{
|
|
46
|
+
numerator: z.ZodNumber;
|
|
47
|
+
denominator: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>, z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<64>]>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
action: z.ZodLiteral<"device_set_remote_controls">;
|
|
51
|
+
params: z.ZodObject<{
|
|
52
|
+
device_target: z.ZodLiteral<"device">;
|
|
53
|
+
track_index: z.ZodNumber;
|
|
54
|
+
device_index: z.ZodNumber;
|
|
55
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
56
|
+
parameter_index: z.ZodNumber;
|
|
57
|
+
value: z.ZodNumber;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
}, z.core.$strict>], "action">;
|
|
61
|
+
export type BitwigNativeCommand = z.infer<typeof BitwigNativeCommandSchema>;
|
|
62
|
+
/** Exact underscore schema vocabulary from Ardour's pinned experimental surface. */
|
|
63
|
+
export declare const ArdourNativeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
64
|
+
action: z.ZodLiteral<"session_get_info">;
|
|
65
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
action: z.ZodLiteral<"transport_get_state">;
|
|
68
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
action: z.ZodLiteral<"tracks_list">;
|
|
71
|
+
params: z.ZodObject<{
|
|
72
|
+
includeHidden: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
+
action: z.ZodLiteral<"track_get_info">;
|
|
76
|
+
params: z.ZodObject<{
|
|
77
|
+
id: z.ZodString;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
80
|
+
action: z.ZodLiteral<"track_get_regions">;
|
|
81
|
+
params: z.ZodObject<{
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
includeHidden: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
|
+
action: z.ZodLiteral<"plugin_get_description">;
|
|
87
|
+
params: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
pluginIndex: z.ZodNumber;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
92
|
+
action: z.ZodLiteral<"markers_list">;
|
|
93
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
94
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
95
|
+
action: z.ZodLiteral<"transport_play">;
|
|
96
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
97
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
98
|
+
action: z.ZodLiteral<"transport_stop">;
|
|
99
|
+
params: z.ZodObject<{}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
101
|
+
action: z.ZodLiteral<"transport_locate_bbt">;
|
|
102
|
+
params: z.ZodObject<{
|
|
103
|
+
bar: z.ZodNumber;
|
|
104
|
+
beat: z.ZodNumber;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
107
|
+
action: z.ZodLiteral<"track_set_fader_db">;
|
|
108
|
+
params: z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
db: z.ZodNumber;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
113
|
+
action: z.ZodLiteral<"track_set_pan">;
|
|
114
|
+
params: z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
position: z.ZodNumber;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
119
|
+
action: z.ZodLiteral<"track_set_mute">;
|
|
120
|
+
params: z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
value: z.ZodBoolean;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
+
action: z.ZodLiteral<"track_set_solo">;
|
|
126
|
+
params: z.ZodObject<{
|
|
127
|
+
id: z.ZodString;
|
|
128
|
+
value: z.ZodBoolean;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
}, z.core.$strict>], "action">;
|
|
131
|
+
export type ArdourNativeCommand = z.infer<typeof ArdourNativeCommandSchema>;
|
|
132
|
+
export type HttpDawNativeCommand = BitwigNativeCommand | ArdourNativeCommand;
|
|
133
|
+
export interface HttpDawCommandInfo {
|
|
134
|
+
name: string;
|
|
135
|
+
category: DawCategory;
|
|
136
|
+
readOnly: boolean;
|
|
137
|
+
description: string;
|
|
138
|
+
}
|
|
139
|
+
export declare const BITWIG_NATIVE_COMMANDS: readonly HttpDawCommandInfo[];
|
|
140
|
+
export declare const ARDOUR_NATIVE_COMMANDS: readonly HttpDawCommandInfo[];
|
|
141
|
+
export declare function httpDawCommandInfo(daw: "bitwig" | "ardour", command: HttpDawNativeCommand): HttpDawCommandInfo;
|