dawmcp 0.0.0-stage → 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.
Files changed (110) hide show
  1. package/LICENSE +41 -0
  2. package/NOTICE +1 -0
  3. package/README.md +66 -2
  4. package/THIRD-PARTY-NOTICES.md +1740 -0
  5. package/bridge/index.mjs +62 -0
  6. package/bridge/types/browser-bridge-client.d.ts +134 -0
  7. package/bridge/types/browser-bridge-protocol.d.ts +150 -0
  8. package/bridge/types/catalog.d.ts +106 -0
  9. package/bridge/types/contracts.d.ts +3330 -0
  10. package/bridge/types/cubase-contracts.d.ts +87 -0
  11. package/bridge/types/fl-contracts.d.ts +297 -0
  12. package/bridge/types/http-daw-contracts.d.ts +141 -0
  13. package/bridge/types/logic-contracts.d.ts +527 -0
  14. package/bridge/types/plugin-contracts.d.ts +581 -0
  15. package/bridge/types/pro-tools-contracts.d.ts +103 -0
  16. package/bridge/types/provider-declaration.d.ts +122 -0
  17. package/bridge/types/provider-manifest.d.ts +463 -0
  18. package/bridge/types/provider-operations.d.ts +597 -0
  19. package/bridge/types/reaper-contracts.d.ts +217 -0
  20. package/bridge/types/studio-one-contracts.d.ts +125 -0
  21. package/bridge/types/waveform-contracts.d.ts +131 -0
  22. package/cli.mjs +2381 -0
  23. package/logic/LICENSE +21 -0
  24. package/logic/LogicProMCP +4 -0
  25. package/logic/THIRD-PARTY-NOTICES.md +6317 -0
  26. package/logic/lib/libswiftCompatibilitySpan.dylib +0 -0
  27. package/logic/runtime.json +42 -0
  28. package/native-midi/RtMidi-notices-and-interface.txt +677 -0
  29. package/native-midi/SOURCE.md +5 -0
  30. package/native-midi/package.json +1 -0
  31. package/node_modules/@julusian/midi/LICENSE +20 -0
  32. package/node_modules/@julusian/midi/binding-options.js +1 -0
  33. package/node_modules/@julusian/midi/dist/drums.js +1 -0
  34. package/node_modules/@julusian/midi/dist/input.js +1 -0
  35. package/node_modules/@julusian/midi/dist/instruments.js +1 -0
  36. package/node_modules/@julusian/midi/dist/lazy.js +1 -0
  37. package/node_modules/@julusian/midi/dist/message-parser.js +1 -0
  38. package/node_modules/@julusian/midi/dist/messages.js +1 -0
  39. package/node_modules/@julusian/midi/dist/midi.js +1 -0
  40. package/node_modules/@julusian/midi/dist/native.js +1 -0
  41. package/node_modules/@julusian/midi/dist/notes.js +1 -0
  42. package/node_modules/@julusian/midi/dist/output.js +1 -0
  43. package/node_modules/@julusian/midi/load-native.js +1 -0
  44. package/node_modules/@julusian/midi/package.json +98 -0
  45. package/node_modules/@julusian/midi/prebuilds/midi-darwin-arm64/node-napi-v7.node +0 -0
  46. package/node_modules/@julusian/midi/prebuilds/midi-darwin-x64/node-napi-v7.node +0 -0
  47. package/node_modules/@julusian/midi/prebuilds/midi-linux-arm/node-napi-v7.node +0 -0
  48. package/node_modules/@julusian/midi/prebuilds/midi-linux-arm64/node-napi-v7.node +0 -0
  49. package/node_modules/@julusian/midi/prebuilds/midi-linux-x64/node-napi-v7.node +0 -0
  50. package/node_modules/@julusian/midi/prebuilds/midi-linux-x64-musl/node-napi-v7.node +0 -0
  51. package/node_modules/@julusian/midi/prebuilds/midi-win32-arm64/node-napi-v7.node +0 -0
  52. package/node_modules/@julusian/midi/prebuilds/midi-win32-ia32/node-napi-v7.node +0 -0
  53. package/node_modules/@julusian/midi/prebuilds/midi-win32-x64/node-napi-v7.node +0 -0
  54. package/node_modules/pkg-prebuilds/LICENSE +21 -0
  55. package/node_modules/pkg-prebuilds/bindings.js +4 -0
  56. package/node_modules/pkg-prebuilds/lib/prebuild.js +1 -0
  57. package/node_modules/pkg-prebuilds/package.json +25 -0
  58. package/node_modules/tslib/LICENSE.txt +12 -0
  59. package/node_modules/tslib/modules/index.js +1 -0
  60. package/node_modules/tslib/modules/package.json +3 -0
  61. package/node_modules/tslib/package.json +47 -0
  62. package/node_modules/tslib/tslib.es6.js +1 -0
  63. package/node_modules/tslib/tslib.js +1 -0
  64. package/package.json +69 -3
  65. package/plugin/.agents/plugins/marketplace.json +19 -0
  66. package/plugin/.claude-plugin/marketplace.json +16 -0
  67. package/plugin/.claude-plugin/plugin.json +23 -0
  68. package/plugin/.mcp.json +12 -0
  69. package/plugin/README.md +67 -0
  70. package/plugin/THIRD-PARTY-NOTICES.md +1740 -0
  71. package/plugin/assets/logo.png +0 -0
  72. package/plugin/plugin.json +42 -0
  73. package/plugin/skills/daw/SKILL.md +43 -0
  74. package/plugin/skills/daw/references/ableton.md +16 -0
  75. package/plugin/skills/daw/references/ardour.md +18 -0
  76. package/plugin/skills/daw/references/arrangement.md +17 -0
  77. package/plugin/skills/daw/references/bitwig.md +15 -0
  78. package/plugin/skills/daw/references/connection.md +47 -0
  79. package/plugin/skills/daw/references/cubase.md +13 -0
  80. package/plugin/skills/daw/references/drums.md +23 -0
  81. package/plugin/skills/daw/references/editing.md +34 -0
  82. package/plugin/skills/daw/references/files-and-export.md +23 -0
  83. package/plugin/skills/daw/references/fl-studio.md +13 -0
  84. package/plugin/skills/daw/references/logic.md +15 -0
  85. package/plugin/skills/daw/references/mix-check.md +17 -0
  86. package/plugin/skills/daw/references/pro-tools.md +15 -0
  87. package/plugin/skills/daw/references/reaper.md +15 -0
  88. package/plugin/skills/daw/references/session-hygiene.md +15 -0
  89. package/plugin/skills/daw/references/studio-one.md +14 -0
  90. package/plugin/skills/daw/references/theory.md +26 -0
  91. package/plugin/skills/daw/references/waveform.md +17 -0
  92. package/skill/SKILL.md +43 -0
  93. package/skill/references/ableton.md +16 -0
  94. package/skill/references/ardour.md +18 -0
  95. package/skill/references/arrangement.md +17 -0
  96. package/skill/references/bitwig.md +15 -0
  97. package/skill/references/connection.md +47 -0
  98. package/skill/references/cubase.md +13 -0
  99. package/skill/references/drums.md +23 -0
  100. package/skill/references/editing.md +34 -0
  101. package/skill/references/files-and-export.md +23 -0
  102. package/skill/references/fl-studio.md +13 -0
  103. package/skill/references/logic.md +15 -0
  104. package/skill/references/mix-check.md +17 -0
  105. package/skill/references/pro-tools.md +15 -0
  106. package/skill/references/reaper.md +15 -0
  107. package/skill/references/session-hygiene.md +15 -0
  108. package/skill/references/studio-one.md +14 -0
  109. package/skill/references/theory.md +26 -0
  110. package/skill/references/waveform.md +17 -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;