@getmagical/cli 0.2.0 → 0.2.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/dist/index.js CHANGED
@@ -35,545 +35,545 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  mod
36
36
  ));
37
37
 
38
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/primitive/index.js
38
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/primitive/index.js
39
39
  var require_primitive = __commonJS({
40
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/primitive/index.js"(exports) {
40
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/primitive/index.js"(exports) {
41
41
  "use strict";
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
43
  }
44
44
  });
45
45
 
46
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/built-in/index.js
46
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/built-in/index.js
47
47
  var require_built_in = __commonJS({
48
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/built-in/index.js"(exports) {
48
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/built-in/index.js"(exports) {
49
49
  "use strict";
50
50
  Object.defineProperty(exports, "__esModule", { value: true });
51
51
  }
52
52
  });
53
53
 
54
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/key-of-base/index.js
54
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/key-of-base/index.js
55
55
  var require_key_of_base = __commonJS({
56
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/key-of-base/index.js"(exports) {
56
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/key-of-base/index.js"(exports) {
57
57
  "use strict";
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  }
60
60
  });
61
61
 
62
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-exclude/index.js
62
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-exclude/index.js
63
63
  var require_strict_exclude = __commonJS({
64
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-exclude/index.js"(exports) {
64
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-exclude/index.js"(exports) {
65
65
  "use strict";
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  }
68
68
  });
69
69
 
70
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-extract/index.js
70
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-extract/index.js
71
71
  var require_strict_extract = __commonJS({
72
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-extract/index.js"(exports) {
72
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-extract/index.js"(exports) {
73
73
  "use strict";
74
74
  Object.defineProperty(exports, "__esModule", { value: true });
75
75
  }
76
76
  });
77
77
 
78
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-omit/index.js
78
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-omit/index.js
79
79
  var require_strict_omit = __commonJS({
80
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-omit/index.js"(exports) {
80
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-omit/index.js"(exports) {
81
81
  "use strict";
82
82
  Object.defineProperty(exports, "__esModule", { value: true });
83
83
  }
84
84
  });
85
85
 
86
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/writable/index.js
86
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/writable/index.js
87
87
  var require_writable = __commonJS({
88
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/writable/index.js"(exports) {
88
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/writable/index.js"(exports) {
89
89
  "use strict";
90
90
  Object.defineProperty(exports, "__esModule", { value: true });
91
91
  }
92
92
  });
93
93
 
94
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/async-or-sync/index.js
94
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/async-or-sync/index.js
95
95
  var require_async_or_sync = __commonJS({
96
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/async-or-sync/index.js"(exports) {
96
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/async-or-sync/index.js"(exports) {
97
97
  "use strict";
98
98
  Object.defineProperty(exports, "__esModule", { value: true });
99
99
  }
100
100
  });
101
101
 
102
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/async-or-sync-type/index.js
102
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/async-or-sync-type/index.js
103
103
  var require_async_or_sync_type = __commonJS({
104
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/async-or-sync-type/index.js"(exports) {
104
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/async-or-sync-type/index.js"(exports) {
105
105
  "use strict";
106
106
  Object.defineProperty(exports, "__esModule", { value: true });
107
107
  }
108
108
  });
109
109
 
110
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/dictionary/index.js
110
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/dictionary/index.js
111
111
  var require_dictionary = __commonJS({
112
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/dictionary/index.js"(exports) {
112
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/dictionary/index.js"(exports) {
113
113
  "use strict";
114
114
  Object.defineProperty(exports, "__esModule", { value: true });
115
115
  }
116
116
  });
117
117
 
118
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/dictionary-values/index.js
118
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/dictionary-values/index.js
119
119
  var require_dictionary_values = __commonJS({
120
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/dictionary-values/index.js"(exports) {
120
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/dictionary-values/index.js"(exports) {
121
121
  "use strict";
122
122
  Object.defineProperty(exports, "__esModule", { value: true });
123
123
  }
124
124
  });
125
125
 
126
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/merge/index.js
126
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/merge/index.js
127
127
  var require_merge = __commonJS({
128
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/merge/index.js"(exports) {
128
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/merge/index.js"(exports) {
129
129
  "use strict";
130
130
  Object.defineProperty(exports, "__esModule", { value: true });
131
131
  }
132
132
  });
133
133
 
134
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/merge-n/index.js
134
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/merge-n/index.js
135
135
  var require_merge_n = __commonJS({
136
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/merge-n/index.js"(exports) {
136
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/merge-n/index.js"(exports) {
137
137
  "use strict";
138
138
  Object.defineProperty(exports, "__esModule", { value: true });
139
139
  }
140
140
  });
141
141
 
142
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/newable/index.js
142
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/newable/index.js
143
143
  var require_newable = __commonJS({
144
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/newable/index.js"(exports) {
144
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/newable/index.js"(exports) {
145
145
  "use strict";
146
146
  Object.defineProperty(exports, "__esModule", { value: true });
147
147
  }
148
148
  });
149
149
 
150
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-never/index.js
150
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-never/index.js
151
151
  var require_non_never = __commonJS({
152
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-never/index.js"(exports) {
152
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-never/index.js"(exports) {
153
153
  "use strict";
154
154
  Object.defineProperty(exports, "__esModule", { value: true });
155
155
  }
156
156
  });
157
157
 
158
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/omit-properties/index.js
158
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/omit-properties/index.js
159
159
  var require_omit_properties = __commonJS({
160
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/omit-properties/index.js"(exports) {
160
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/omit-properties/index.js"(exports) {
161
161
  "use strict";
162
162
  Object.defineProperty(exports, "__esModule", { value: true });
163
163
  }
164
164
  });
165
165
 
166
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/opaque/index.js
166
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/opaque/index.js
167
167
  var require_opaque = __commonJS({
168
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/opaque/index.js"(exports) {
168
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/opaque/index.js"(exports) {
169
169
  "use strict";
170
170
  Object.defineProperty(exports, "__esModule", { value: true });
171
171
  }
172
172
  });
173
173
 
174
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/path-value/index.js
174
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/path-value/index.js
175
175
  var require_path_value = __commonJS({
176
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/path-value/index.js"(exports) {
176
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/path-value/index.js"(exports) {
177
177
  "use strict";
178
178
  Object.defineProperty(exports, "__esModule", { value: true });
179
179
  }
180
180
  });
181
181
 
182
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/paths/index.js
182
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/paths/index.js
183
183
  var require_paths = __commonJS({
184
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/paths/index.js"(exports) {
184
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/paths/index.js"(exports) {
185
185
  "use strict";
186
186
  Object.defineProperty(exports, "__esModule", { value: true });
187
187
  }
188
188
  });
189
189
 
190
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/pick-properties/index.js
190
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/pick-properties/index.js
191
191
  var require_pick_properties = __commonJS({
192
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/pick-properties/index.js"(exports) {
192
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/pick-properties/index.js"(exports) {
193
193
  "use strict";
194
194
  Object.defineProperty(exports, "__esModule", { value: true });
195
195
  }
196
196
  });
197
197
 
198
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/prettify/index.js
198
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/prettify/index.js
199
199
  var require_prettify = __commonJS({
200
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/prettify/index.js"(exports) {
200
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/prettify/index.js"(exports) {
201
201
  "use strict";
202
202
  Object.defineProperty(exports, "__esModule", { value: true });
203
203
  }
204
204
  });
205
205
 
206
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/safe-dictionary/index.js
206
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/safe-dictionary/index.js
207
207
  var require_safe_dictionary = __commonJS({
208
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/safe-dictionary/index.js"(exports) {
208
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/safe-dictionary/index.js"(exports) {
209
209
  "use strict";
210
210
  Object.defineProperty(exports, "__esModule", { value: true });
211
211
  }
212
212
  });
213
213
 
214
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/union-to-intersection/index.js
214
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/union-to-intersection/index.js
215
215
  var require_union_to_intersection = __commonJS({
216
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/union-to-intersection/index.js"(exports) {
216
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/union-to-intersection/index.js"(exports) {
217
217
  "use strict";
218
218
  Object.defineProperty(exports, "__esModule", { value: true });
219
219
  }
220
220
  });
221
221
 
222
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/value-of/index.js
222
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/value-of/index.js
223
223
  var require_value_of = __commonJS({
224
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/value-of/index.js"(exports) {
224
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/value-of/index.js"(exports) {
225
225
  "use strict";
226
226
  Object.defineProperty(exports, "__esModule", { value: true });
227
227
  }
228
228
  });
229
229
 
230
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/xor/index.js
230
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/xor/index.js
231
231
  var require_xor = __commonJS({
232
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/xor/index.js"(exports) {
232
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/xor/index.js"(exports) {
233
233
  "use strict";
234
234
  Object.defineProperty(exports, "__esModule", { value: true });
235
235
  }
236
236
  });
237
237
 
238
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-optional/index.js
238
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-optional/index.js
239
239
  var require_mark_optional = __commonJS({
240
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-optional/index.js"(exports) {
240
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-optional/index.js"(exports) {
241
241
  "use strict";
242
242
  Object.defineProperty(exports, "__esModule", { value: true });
243
243
  }
244
244
  });
245
245
 
246
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-readonly/index.js
246
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-readonly/index.js
247
247
  var require_mark_readonly = __commonJS({
248
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-readonly/index.js"(exports) {
248
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-readonly/index.js"(exports) {
249
249
  "use strict";
250
250
  Object.defineProperty(exports, "__esModule", { value: true });
251
251
  }
252
252
  });
253
253
 
254
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-required/index.js
254
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-required/index.js
255
255
  var require_mark_required = __commonJS({
256
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-required/index.js"(exports) {
256
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-required/index.js"(exports) {
257
257
  "use strict";
258
258
  Object.defineProperty(exports, "__esModule", { value: true });
259
259
  }
260
260
  });
261
261
 
262
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-writable/index.js
262
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-writable/index.js
263
263
  var require_mark_writable = __commonJS({
264
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/mark-writable/index.js"(exports) {
264
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/mark-writable/index.js"(exports) {
265
265
  "use strict";
266
266
  Object.defineProperty(exports, "__esModule", { value: true });
267
267
  }
268
268
  });
269
269
 
270
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/buildable/index.js
270
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/buildable/index.js
271
271
  var require_buildable = __commonJS({
272
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/buildable/index.js"(exports) {
272
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/buildable/index.js"(exports) {
273
273
  "use strict";
274
274
  Object.defineProperty(exports, "__esModule", { value: true });
275
275
  }
276
276
  });
277
277
 
278
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-mark-optional/index.js
278
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-mark-optional/index.js
279
279
  var require_deep_mark_optional = __commonJS({
280
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-mark-optional/index.js"(exports) {
280
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-mark-optional/index.js"(exports) {
281
281
  "use strict";
282
282
  Object.defineProperty(exports, "__esModule", { value: true });
283
283
  }
284
284
  });
285
285
 
286
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-mark-required/index.js
286
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-mark-required/index.js
287
287
  var require_deep_mark_required = __commonJS({
288
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-mark-required/index.js"(exports) {
288
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-mark-required/index.js"(exports) {
289
289
  "use strict";
290
290
  Object.defineProperty(exports, "__esModule", { value: true });
291
291
  }
292
292
  });
293
293
 
294
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-non-nullable/index.js
294
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-non-nullable/index.js
295
295
  var require_deep_non_nullable = __commonJS({
296
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-non-nullable/index.js"(exports) {
296
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-non-nullable/index.js"(exports) {
297
297
  "use strict";
298
298
  Object.defineProperty(exports, "__esModule", { value: true });
299
299
  }
300
300
  });
301
301
 
302
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-nullable/index.js
302
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-nullable/index.js
303
303
  var require_deep_nullable = __commonJS({
304
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-nullable/index.js"(exports) {
304
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-nullable/index.js"(exports) {
305
305
  "use strict";
306
306
  Object.defineProperty(exports, "__esModule", { value: true });
307
307
  }
308
308
  });
309
309
 
310
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-omit/index.js
310
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-omit/index.js
311
311
  var require_deep_omit = __commonJS({
312
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-omit/index.js"(exports) {
312
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-omit/index.js"(exports) {
313
313
  "use strict";
314
314
  Object.defineProperty(exports, "__esModule", { value: true });
315
315
  }
316
316
  });
317
317
 
318
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-partial/index.js
318
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-partial/index.js
319
319
  var require_deep_partial = __commonJS({
320
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-partial/index.js"(exports) {
320
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-partial/index.js"(exports) {
321
321
  "use strict";
322
322
  Object.defineProperty(exports, "__esModule", { value: true });
323
323
  }
324
324
  });
325
325
 
326
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-pick/index.js
326
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-pick/index.js
327
327
  var require_deep_pick = __commonJS({
328
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-pick/index.js"(exports) {
328
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-pick/index.js"(exports) {
329
329
  "use strict";
330
330
  Object.defineProperty(exports, "__esModule", { value: true });
331
331
  }
332
332
  });
333
333
 
334
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-readonly/index.js
334
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-readonly/index.js
335
335
  var require_deep_readonly = __commonJS({
336
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-readonly/index.js"(exports) {
336
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-readonly/index.js"(exports) {
337
337
  "use strict";
338
338
  Object.defineProperty(exports, "__esModule", { value: true });
339
339
  }
340
340
  });
341
341
 
342
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-required/index.js
342
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-required/index.js
343
343
  var require_deep_required = __commonJS({
344
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-required/index.js"(exports) {
344
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-required/index.js"(exports) {
345
345
  "use strict";
346
346
  Object.defineProperty(exports, "__esModule", { value: true });
347
347
  }
348
348
  });
349
349
 
350
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-undefinable/index.js
350
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-undefinable/index.js
351
351
  var require_deep_undefinable = __commonJS({
352
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-undefinable/index.js"(exports) {
352
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-undefinable/index.js"(exports) {
353
353
  "use strict";
354
354
  Object.defineProperty(exports, "__esModule", { value: true });
355
355
  }
356
356
  });
357
357
 
358
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-writable/index.js
358
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-writable/index.js
359
359
  var require_deep_writable = __commonJS({
360
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-writable/index.js"(exports) {
360
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-writable/index.js"(exports) {
361
361
  "use strict";
362
362
  Object.defineProperty(exports, "__esModule", { value: true });
363
363
  }
364
364
  });
365
365
 
366
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-deep-omit/index.js
366
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-deep-omit/index.js
367
367
  var require_strict_deep_omit = __commonJS({
368
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-deep-omit/index.js"(exports) {
368
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-deep-omit/index.js"(exports) {
369
369
  "use strict";
370
370
  Object.defineProperty(exports, "__esModule", { value: true });
371
371
  }
372
372
  });
373
373
 
374
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-deep-pick/index.js
374
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-deep-pick/index.js
375
375
  var require_strict_deep_pick = __commonJS({
376
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/strict-deep-pick/index.js"(exports) {
376
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/strict-deep-pick/index.js"(exports) {
377
377
  "use strict";
378
378
  Object.defineProperty(exports, "__esModule", { value: true });
379
379
  }
380
380
  });
381
381
 
382
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/optional-keys/index.js
382
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/optional-keys/index.js
383
383
  var require_optional_keys = __commonJS({
384
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/optional-keys/index.js"(exports) {
384
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/optional-keys/index.js"(exports) {
385
385
  "use strict";
386
386
  Object.defineProperty(exports, "__esModule", { value: true });
387
387
  }
388
388
  });
389
389
 
390
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/pick-keys/index.js
390
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/pick-keys/index.js
391
391
  var require_pick_keys = __commonJS({
392
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/pick-keys/index.js"(exports) {
392
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/pick-keys/index.js"(exports) {
393
393
  "use strict";
394
394
  Object.defineProperty(exports, "__esModule", { value: true });
395
395
  }
396
396
  });
397
397
 
398
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/readonly-keys/index.js
398
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/readonly-keys/index.js
399
399
  var require_readonly_keys = __commonJS({
400
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/readonly-keys/index.js"(exports) {
400
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/readonly-keys/index.js"(exports) {
401
401
  "use strict";
402
402
  Object.defineProperty(exports, "__esModule", { value: true });
403
403
  }
404
404
  });
405
405
 
406
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/required-keys/index.js
406
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/required-keys/index.js
407
407
  var require_required_keys = __commonJS({
408
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/required-keys/index.js"(exports) {
408
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/required-keys/index.js"(exports) {
409
409
  "use strict";
410
410
  Object.defineProperty(exports, "__esModule", { value: true });
411
411
  }
412
412
  });
413
413
 
414
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/writable-keys/index.js
414
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/writable-keys/index.js
415
415
  var require_writable_keys = __commonJS({
416
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/writable-keys/index.js"(exports) {
416
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/writable-keys/index.js"(exports) {
417
417
  "use strict";
418
418
  Object.defineProperty(exports, "__esModule", { value: true });
419
419
  }
420
420
  });
421
421
 
422
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/exact/index.js
422
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/exact/index.js
423
423
  var require_exact = __commonJS({
424
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/exact/index.js"(exports) {
424
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/exact/index.js"(exports) {
425
425
  "use strict";
426
426
  Object.defineProperty(exports, "__esModule", { value: true });
427
427
  }
428
428
  });
429
429
 
430
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-any/index.js
430
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-any/index.js
431
431
  var require_is_any = __commonJS({
432
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-any/index.js"(exports) {
432
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-any/index.js"(exports) {
433
433
  "use strict";
434
434
  Object.defineProperty(exports, "__esModule", { value: true });
435
435
  }
436
436
  });
437
437
 
438
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-never/index.js
438
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-never/index.js
439
439
  var require_is_never = __commonJS({
440
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-never/index.js"(exports) {
440
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-never/index.js"(exports) {
441
441
  "use strict";
442
442
  Object.defineProperty(exports, "__esModule", { value: true });
443
443
  }
444
444
  });
445
445
 
446
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-unknown/index.js
446
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-unknown/index.js
447
447
  var require_is_unknown = __commonJS({
448
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-unknown/index.js"(exports) {
448
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-unknown/index.js"(exports) {
449
449
  "use strict";
450
450
  Object.defineProperty(exports, "__esModule", { value: true });
451
451
  }
452
452
  });
453
453
 
454
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-tuple/index.js
454
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-tuple/index.js
455
455
  var require_is_tuple = __commonJS({
456
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/is-tuple/index.js"(exports) {
456
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/is-tuple/index.js"(exports) {
457
457
  "use strict";
458
458
  Object.defineProperty(exports, "__esModule", { value: true });
459
459
  }
460
460
  });
461
461
 
462
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-empty-object/index.js
462
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-empty-object/index.js
463
463
  var require_non_empty_object = __commonJS({
464
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-empty-object/index.js"(exports) {
464
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-empty-object/index.js"(exports) {
465
465
  "use strict";
466
466
  Object.defineProperty(exports, "__esModule", { value: true });
467
467
  }
468
468
  });
469
469
 
470
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/any-array/index.js
470
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/any-array/index.js
471
471
  var require_any_array = __commonJS({
472
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/any-array/index.js"(exports) {
472
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/any-array/index.js"(exports) {
473
473
  "use strict";
474
474
  Object.defineProperty(exports, "__esModule", { value: true });
475
475
  }
476
476
  });
477
477
 
478
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/array-or-single/index.js
478
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/array-or-single/index.js
479
479
  var require_array_or_single = __commonJS({
480
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/array-or-single/index.js"(exports) {
480
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/array-or-single/index.js"(exports) {
481
481
  "use strict";
482
482
  Object.defineProperty(exports, "__esModule", { value: true });
483
483
  }
484
484
  });
485
485
 
486
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/element-of/index.js
486
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/element-of/index.js
487
487
  var require_element_of = __commonJS({
488
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/element-of/index.js"(exports) {
488
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/element-of/index.js"(exports) {
489
489
  "use strict";
490
490
  Object.defineProperty(exports, "__esModule", { value: true });
491
491
  }
492
492
  });
493
493
 
494
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/head/index.js
494
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/head/index.js
495
495
  var require_head = __commonJS({
496
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/head/index.js"(exports) {
496
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/head/index.js"(exports) {
497
497
  "use strict";
498
498
  Object.defineProperty(exports, "__esModule", { value: true });
499
499
  }
500
500
  });
501
501
 
502
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-empty-array/index.js
502
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-empty-array/index.js
503
503
  var require_non_empty_array = __commonJS({
504
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/non-empty-array/index.js"(exports) {
504
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/non-empty-array/index.js"(exports) {
505
505
  "use strict";
506
506
  Object.defineProperty(exports, "__esModule", { value: true });
507
507
  }
508
508
  });
509
509
 
510
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/readonly-array-or-single/index.js
510
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/readonly-array-or-single/index.js
511
511
  var require_readonly_array_or_single = __commonJS({
512
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/readonly-array-or-single/index.js"(exports) {
512
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/readonly-array-or-single/index.js"(exports) {
513
513
  "use strict";
514
514
  Object.defineProperty(exports, "__esModule", { value: true });
515
515
  }
516
516
  });
517
517
 
518
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/tail/index.js
518
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/tail/index.js
519
519
  var require_tail = __commonJS({
520
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/tail/index.js"(exports) {
520
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/tail/index.js"(exports) {
521
521
  "use strict";
522
522
  Object.defineProperty(exports, "__esModule", { value: true });
523
523
  }
524
524
  });
525
525
 
526
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/tuple/index.js
526
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/tuple/index.js
527
527
  var require_tuple = __commonJS({
528
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/tuple/index.js"(exports) {
528
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/tuple/index.js"(exports) {
529
529
  "use strict";
530
530
  Object.defineProperty(exports, "__esModule", { value: true });
531
531
  }
532
532
  });
533
533
 
534
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/camel-case/index.js
534
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/camel-case/index.js
535
535
  var require_camel_case = __commonJS({
536
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/camel-case/index.js"(exports) {
536
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/camel-case/index.js"(exports) {
537
537
  "use strict";
538
538
  Object.defineProperty(exports, "__esModule", { value: true });
539
539
  }
540
540
  });
541
541
 
542
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-camel-case-properties/index.js
542
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-camel-case-properties/index.js
543
543
  var require_deep_camel_case_properties = __commonJS({
544
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/deep-camel-case-properties/index.js"(exports) {
544
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/deep-camel-case-properties/index.js"(exports) {
545
545
  "use strict";
546
546
  Object.defineProperty(exports, "__esModule", { value: true });
547
547
  }
548
548
  });
549
549
 
550
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/any-function/index.js
550
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/any-function/index.js
551
551
  var require_any_function = __commonJS({
552
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/any-function/index.js"(exports) {
552
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/any-function/index.js"(exports) {
553
553
  "use strict";
554
554
  Object.defineProperty(exports, "__esModule", { value: true });
555
555
  }
556
556
  });
557
557
 
558
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/predicate-function/index.js
558
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/predicate-function/index.js
559
559
  var require_predicate_function = __commonJS({
560
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/predicate-function/index.js"(exports) {
560
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/predicate-function/index.js"(exports) {
561
561
  "use strict";
562
562
  Object.defineProperty(exports, "__esModule", { value: true });
563
563
  }
564
564
  });
565
565
 
566
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/predicate-type/index.js
566
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/predicate-type/index.js
567
567
  var require_predicate_type = __commonJS({
568
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/predicate-type/index.js"(exports) {
568
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/predicate-type/index.js"(exports) {
569
569
  "use strict";
570
570
  Object.defineProperty(exports, "__esModule", { value: true });
571
571
  }
572
572
  });
573
573
 
574
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/unreachable-case-error/index.js
574
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/unreachable-case-error/index.js
575
575
  var require_unreachable_case_error = __commonJS({
576
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/unreachable-case-error/index.js"(exports) {
576
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/unreachable-case-error/index.js"(exports) {
577
577
  "use strict";
578
578
  Object.defineProperty(exports, "__esModule", { value: true });
579
579
  exports.UnreachableCaseError = void 0;
@@ -586,9 +586,9 @@ var require_unreachable_case_error = __commonJS({
586
586
  }
587
587
  });
588
588
 
589
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/assert/index.js
589
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/assert/index.js
590
590
  var require_assert = __commonJS({
591
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/assert/index.js"(exports) {
591
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/assert/index.js"(exports) {
592
592
  "use strict";
593
593
  Object.defineProperty(exports, "__esModule", { value: true });
594
594
  exports.assert = void 0;
@@ -601,9 +601,9 @@ var require_assert = __commonJS({
601
601
  }
602
602
  });
603
603
 
604
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/create-factory-with-constraint/index.js
604
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/create-factory-with-constraint/index.js
605
605
  var require_create_factory_with_constraint = __commonJS({
606
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/create-factory-with-constraint/index.js"(exports) {
606
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/create-factory-with-constraint/index.js"(exports) {
607
607
  "use strict";
608
608
  Object.defineProperty(exports, "__esModule", { value: true });
609
609
  exports.createFactoryWithConstraint = void 0;
@@ -612,9 +612,9 @@ var require_create_factory_with_constraint = __commonJS({
612
612
  }
613
613
  });
614
614
 
615
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/is-exact/index.js
615
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/is-exact/index.js
616
616
  var require_is_exact = __commonJS({
617
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/is-exact/index.js"(exports) {
617
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/is-exact/index.js"(exports) {
618
618
  "use strict";
619
619
  Object.defineProperty(exports, "__esModule", { value: true });
620
620
  exports.isExact = void 0;
@@ -623,9 +623,9 @@ var require_is_exact = __commonJS({
623
623
  }
624
624
  });
625
625
 
626
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/noop/index.js
626
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/noop/index.js
627
627
  var require_noop = __commonJS({
628
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/functions/noop/index.js"(exports) {
628
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/functions/noop/index.js"(exports) {
629
629
  "use strict";
630
630
  Object.defineProperty(exports, "__esModule", { value: true });
631
631
  exports.noop = void 0;
@@ -635,17 +635,17 @@ var require_noop = __commonJS({
635
635
  }
636
636
  });
637
637
 
638
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/awaited/index.js
638
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/awaited/index.js
639
639
  var require_awaited = __commonJS({
640
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/awaited/index.js"(exports) {
640
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/awaited/index.js"(exports) {
641
641
  "use strict";
642
642
  Object.defineProperty(exports, "__esModule", { value: true });
643
643
  }
644
644
  });
645
645
 
646
- // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/index.js
646
+ // ../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/index.js
647
647
  var require_dist = __commonJS({
648
- "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@6.0.3/node_modules/ts-essentials/dist/index.js"(exports) {
648
+ "../../node_modules/.pnpm/ts-essentials@10.1.1_typescript@7.0.2/node_modules/ts-essentials/dist/index.js"(exports) {
649
649
  "use strict";
650
650
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
651
651
  if (k2 === void 0) k2 = k;
@@ -7174,7 +7174,20 @@ function resolveApiMessage({ appError, statusCode }) {
7174
7174
  }
7175
7175
  return getStatusMessage(statusCode);
7176
7176
  }
7177
+ function getExplicitUserFacingCode(details) {
7178
+ if (typeof details !== "object" || details === null || !("userFacingCode" in details) || typeof details.userFacingCode !== "string") {
7179
+ return void 0;
7180
+ }
7181
+ return details.userFacingCode;
7182
+ }
7177
7183
  function resolveApiErrorCode({ appError, statusCode }) {
7184
+ const userFacingCode = getExplicitUserFacingCode(appError.details);
7185
+ if (typeof userFacingCode === "string" && userFacingCode.trim().length > 0) {
7186
+ return normalizeUserFacingErrorCode({
7187
+ type: userFacingCode,
7188
+ fallbackCode: getFallbackErrorCode(statusCode)
7189
+ });
7190
+ }
7178
7191
  if (!shouldExposeMessage({ appError, statusCode })) {
7179
7192
  return getFallbackErrorCode(statusCode);
7180
7193
  }
@@ -12409,6 +12422,45 @@ var reportStopDataSchema = z11.object({
12409
12422
  output: z11.string().optional().describe('Put the user-requested result content here when asked to return it with reportStop. This is for unstructured results only; do not include statuses ("success", "fail") and do not place results in metadata.reasoning. If the user did not request return content, omit this field.')
12410
12423
  });
12411
12424
 
12425
+ // ../common/dist/src/utils/automation-store-path.util.js
12426
+ var AUTOMATION_STORE_ROOT_PATH = "store";
12427
+ var relativeStorePathRegex = /^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*)*$/u;
12428
+ function normalizeStoreMutationPath(path7) {
12429
+ const trimmedPath = path7.trim();
12430
+ const rootPrefix = `${AUTOMATION_STORE_ROOT_PATH}.`;
12431
+ const relativePath = trimmedPath.startsWith(rootPrefix) ? trimmedPath.slice(rootPrefix.length) : trimmedPath;
12432
+ if (!relativeStorePathRegex.test(relativePath)) {
12433
+ return Err({
12434
+ type: "invalid-automation-store-path",
12435
+ path: path7,
12436
+ categories: ["customer_usage"],
12437
+ statusCode: 400,
12438
+ nonRetryable: true,
12439
+ message: `Automation store path "${path7}" is invalid.`,
12440
+ suggestedAction: "Use a dot path relative to the automation store, such as patient.name or provider.clinic."
12441
+ });
12442
+ }
12443
+ return Ok(relativePath);
12444
+ }
12445
+
12446
+ // ../common/dist/src/utils/automation-store-mutation-path.util.js
12447
+ function findAutomationStorePathOverlap(paths) {
12448
+ const canonicalPaths = [
12449
+ ...new Set(paths.map(getCanonicalAutomationStoreMutationPath))
12450
+ ].toSorted((left, right) => (left === AUTOMATION_STORE_ROOT_PATH ? 0 : left.split(".").length) - (right === AUTOMATION_STORE_ROOT_PATH ? 0 : right.split(".").length));
12451
+ for (const [index, ancestorPath] of canonicalPaths.entries()) {
12452
+ const descendantPath = canonicalPaths.slice(index + 1).find((path7) => ancestorPath === AUTOMATION_STORE_ROOT_PATH || path7.startsWith(`${ancestorPath}.`));
12453
+ if (descendantPath !== void 0) {
12454
+ return { ancestorPath, descendantPath };
12455
+ }
12456
+ }
12457
+ return void 0;
12458
+ }
12459
+ function getCanonicalAutomationStoreMutationPath(path7) {
12460
+ const normalizedPath = normalizeStoreMutationPath(path7);
12461
+ return normalizedPath._tag === "Ok" ? normalizedPath.value : path7.trim();
12462
+ }
12463
+
12412
12464
  // ../common/dist/src/constants/tool-declarations.js
12413
12465
  var COMMON_PARAMETERS_KEY = "metadata";
12414
12466
  var COMMON_PARAMETERS_DESCRIPTION = `REQUIRED metadata object that must be provided with every tool call. This object contains context and tracking information that helps monitor agent progress and decision-making. MUST be provided as a JSON object (not a string) under the 'metadata' parameter for all tool calls.`;
@@ -12475,7 +12527,8 @@ var baseToolDeclarations = {
12475
12527
  parameters: z12.object({
12476
12528
  [COMMON_PARAMETERS_KEY]: DEFAULT_COMMON_PARAMETERS,
12477
12529
  marker: markerSchema("The marker to click on the page to initiate the download"),
12478
- clickType: z12.enum(["LEFT", "RIGHT", "MIDDLE", "DOUBLE", "TRIPLE"]).describe("The type of click to perform")
12530
+ clickType: z12.enum(["LEFT", "RIGHT", "MIDDLE", "DOUBLE", "TRIPLE"]).describe("The type of click to perform"),
12531
+ extension: z12.string().min(1).optional().describe("The extension of the downloaded document")
12479
12532
  })
12480
12533
  },
12481
12534
  downloadNextDocumentRequest: {
@@ -12610,12 +12663,13 @@ var baseToolDeclarations = {
12610
12663
  },
12611
12664
  updateStoreValues: {
12612
12665
  id: "updateStoreValues",
12613
- description: "Update values in the automation store. Update scalar leaf paths, append one item to array paths, and clear scalar or array paths in a single mutation.",
12666
+ description: "Update values in the automation store. Set scalar leaf paths, append one item or a list of items to array paths, replace complete arrays, and clear scalar or array paths in a single mutation.",
12614
12667
  parameters: z12.object({
12615
12668
  [COMMON_PARAMETERS_KEY]: DEFAULT_COMMON_PARAMETERS,
12616
12669
  updates: z12.array(z12.object({
12617
- path: z12.string().min(1).describe("Scalar leaf path to set or array path to append to, such as patient.name or documents."),
12618
- value: z12.json().describe("Concrete JSON value for this update. Scalar paths receive this value. Array paths append this value as one item.")
12670
+ path: z12.string().min(1).describe("Scalar leaf path to set or array path to append to or replace, such as patient.name or documents."),
12671
+ arrayMode: z12.enum(["append", "appendList", "replace"]).optional().describe("Array mutation behavior. Omit or use append to add one item, use appendList to add every item in the supplied list, or use replace to set the complete array. Do not use this for scalar paths."),
12672
+ value: z12.json().describe("Concrete JSON value for this update. Scalar paths receive this value. Array append updates receive one item, appendList updates receive a list of items, and replacements receive the complete list.")
12619
12673
  })).optional().describe("Store values to update. Omit or pass an empty array when only clearing values."),
12620
12674
  clears: z12.array(z12.string().min(1)).optional().describe("Scalar leaf or array store paths to clear. Clearing an array writes an empty list. Omit or pass an empty array when only updating values.")
12621
12675
  }).superRefine((value, context) => {
@@ -12628,15 +12682,34 @@ var baseToolDeclarations = {
12628
12682
  path: []
12629
12683
  });
12630
12684
  }
12631
- const clearPathSet = new Set(clears);
12632
- const conflictedUpdate = updates.find(({ path: path7 }) => clearPathSet.has(path7));
12633
- if (conflictedUpdate) {
12685
+ const canonicalUpdatePaths = updates.map(({ path: path7 }) => getCanonicalAutomationStoreMutationPath(path7));
12686
+ const canonicalClearPathSet = new Set(clears.map(getCanonicalAutomationStoreMutationPath));
12687
+ const conflictedUpdatePath = canonicalUpdatePaths.find((path7) => canonicalClearPathSet.has(path7));
12688
+ if (conflictedUpdatePath !== void 0) {
12634
12689
  context.addIssue({
12635
12690
  code: "custom",
12636
12691
  message: "Choose Update or Clear for each automation store value, not both.",
12637
12692
  path: ["updates"]
12638
12693
  });
12639
12694
  }
12695
+ if (new Set(canonicalUpdatePaths).size !== canonicalUpdatePaths.length) {
12696
+ context.addIssue({
12697
+ code: "custom",
12698
+ message: "Choose each automation store value at most once in Updates.",
12699
+ path: ["updates"]
12700
+ });
12701
+ }
12702
+ const overlappingPaths = findAutomationStorePathOverlap([
12703
+ ...canonicalUpdatePaths,
12704
+ ...canonicalClearPathSet
12705
+ ]);
12706
+ if (overlappingPaths !== void 0) {
12707
+ context.addIssue({
12708
+ code: "custom",
12709
+ message: `Store paths "${overlappingPaths.ancestorPath}" and "${overlappingPaths.descendantPath}" cannot both be changed in one command.`,
12710
+ path: ["updates"]
12711
+ });
12712
+ }
12640
12713
  })
12641
12714
  },
12642
12715
  scroll: {
@@ -12925,6 +12998,13 @@ var baseToolDeclarations = {
12925
12998
  [COMMON_PARAMETERS_KEY]: DEFAULT_COMMON_PARAMETERS
12926
12999
  })
12927
13000
  },
13001
+ generateDownloadLink: {
13002
+ id: "generateDownloadLink",
13003
+ description: "This object is deprecated, only adding here to satisfy the DB type check",
13004
+ parameters: z12.object({
13005
+ [COMMON_PARAMETERS_KEY]: DEFAULT_COMMON_PARAMETERS
13006
+ })
13007
+ },
12928
13008
  fillCredentialsAndSubmit: {
12929
13009
  id: "fillCredentialsAndSubmit",
12930
13010
  description: "This object is deprecated, only adding here to satisfy the DB type check",
@@ -13047,7 +13127,7 @@ var SOM_LEGEND_HTML_ATTRIBUTES = [
13047
13127
  ];
13048
13128
 
13049
13129
  // ../common/dist/src/zod-schemas/agent-config.schema.js
13050
- import { z as z18 } from "zod";
13130
+ import { z as z19 } from "zod";
13051
13131
 
13052
13132
  // ../common/dist/src/commands/commands-registry/special.commands.js
13053
13133
  import { z as z13 } from "zod";
@@ -13356,7 +13436,13 @@ function isValidApiFormUrlEncodedBody({ bodyType, body }) {
13356
13436
  }
13357
13437
 
13358
13438
  // ../common/dist/src/zod-schemas/api-tool.schema.js
13439
+ import { z as z16 } from "zod";
13440
+
13441
+ // ../common/dist/src/zod-schemas/output-store-binding.schema.js
13359
13442
  import { z as z15 } from "zod";
13443
+ var outputStorePathSchema = z15.string().regex(/^store\.[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*)*$/u, "Data Store destination must be a fully qualified path such as store.patient.name.");
13444
+
13445
+ // ../common/dist/src/zod-schemas/api-tool.schema.js
13360
13446
  var methodsWithBody = new Set(ApiMethodsWithBody);
13361
13447
  var SECONDS_PER_DAY = 24 * 60 * 60;
13362
13448
  function getStaticHttpsBaseUrl(value) {
@@ -13371,11 +13457,11 @@ function getStaticHttpsBaseUrl(value) {
13371
13457
  const isStaticHttpsBaseUrl = url.protocol === "https:" && url.username === "" && url.password === "" && url.search === "" && url.hash === "";
13372
13458
  return isStaticHttpsBaseUrl ? url : void 0;
13373
13459
  }
13374
- var nangoBaseUrlOverrideSchema = z15.string().trim().superRefine((value, ctx) => {
13460
+ var nangoBaseUrlOverrideSchema = z16.string().trim().superRefine((value, ctx) => {
13375
13461
  const baseUrl = getStaticHttpsBaseUrl(value);
13376
13462
  if (baseUrl === void 0) {
13377
13463
  ctx.addIssue({
13378
- code: z15.ZodIssueCode.custom,
13464
+ code: z16.ZodIssueCode.custom,
13379
13465
  message: "Base URL override must be a static HTTPS URL without credentials, query parameters, fragments, or template placeholders"
13380
13466
  });
13381
13467
  }
@@ -13386,30 +13472,67 @@ var defaultApiResponseCacheConfig = {
13386
13472
  enabled: false,
13387
13473
  ttl: API_RESPONSE_CACHE_DEFAULT_TTL_SECONDS
13388
13474
  };
13389
- var apiResponseCacheConfigObjectSchema = z15.object({
13390
- enabled: z15.boolean().default(defaultApiResponseCacheConfig.enabled).describe("Whether API response caching is enabled for this request."),
13391
- ttl: z15.number().int().positive().default(defaultApiResponseCacheConfig.ttl).describe("Time-to-live for cached successful API responses, measured in seconds.")
13475
+ var apiResponseCacheConfigObjectSchema = z16.object({
13476
+ enabled: z16.boolean().default(defaultApiResponseCacheConfig.enabled).describe("Whether API response caching is enabled for this request."),
13477
+ ttl: z16.number().int().positive().default(defaultApiResponseCacheConfig.ttl).describe("Time-to-live for cached successful API responses, measured in seconds.")
13392
13478
  });
13393
13479
  var apiResponseCacheConfigSchema = apiResponseCacheConfigObjectSchema.optional().describe("Response cache configuration. Successful API responses can be reused across runs for identical rendered requests, with TTL measured in seconds.");
13394
- var apiToolSchema = z15.object({
13395
- name: z15.string().describe("Unique name for the API tool."),
13396
- description: z15.string().describe("Description of what the API tool does. Shown to the agent to help it decide when to use this tool."),
13397
- inputSchema: z15.custom().optional().describe("JSON schema (in serialized Zod format) defining the input parameters for the API call."),
13398
- authInputs: z15.array(z15.object({
13399
- key: z15.string().describe("Parameter key where the auth value will be injected."),
13400
- value: z15.object({
13401
- authId: z15.string().describe("ID of the authentication credential to use."),
13402
- factor: z15.enum(IdentifierTypes).optional().describe("Type of authentication factor.")
13480
+ var apiOutputStorePathSchema = outputStorePathSchema.describe("Fully qualified Data Store path that receives the selected value.");
13481
+ var apiOutputStoreBindingShape = {
13482
+ jmesPath: z16.string().trim().min(1, "JMESPath is required. Use @ to select the entire response.").describe("JMESPath expression evaluated against the raw API response. Use @ to select the entire response."),
13483
+ storePath: apiOutputStorePathSchema,
13484
+ arrayMode: z16.enum(["append", "appendList", "replace"]).optional().describe("Required for newly authored array destinations: append adds exactly one item, appendList adds multiple items, and replace sets the complete list. Omit for scalar destinations. Legacy omitted array modes still append at runtime.")
13485
+ };
13486
+ var apiOutputStoreBindingObjectSchema = z16.object(apiOutputStoreBindingShape);
13487
+ var apiOutputStoreBindingAuthoringSchema = z16.object(apiOutputStoreBindingShape).strict();
13488
+ var legacyApiOutputStoreBindingObjectSchema = z16.object({
13489
+ sourcePath: z16.literal("$"),
13490
+ storePath: apiOutputStorePathSchema,
13491
+ arrayMode: z16.enum(["append", "appendList", "replace"]).optional()
13492
+ });
13493
+ var apiOutputStoreBindingSchema = z16.union([
13494
+ apiOutputStoreBindingObjectSchema,
13495
+ legacyApiOutputStoreBindingObjectSchema
13496
+ ]).transform((binding) => "jmesPath" in binding ? binding : {
13497
+ jmesPath: "@",
13498
+ storePath: binding.storePath,
13499
+ ...binding.arrayMode === void 0 ? {} : { arrayMode: binding.arrayMode }
13500
+ });
13501
+ function validateUniqueApiOutputStoreBindingPaths(bindings, ctx) {
13502
+ const storePaths = /* @__PURE__ */ new Set();
13503
+ for (const [index, { storePath }] of bindings.entries()) {
13504
+ if (storePaths.has(storePath)) {
13505
+ ctx.addIssue({
13506
+ code: z16.ZodIssueCode.custom,
13507
+ path: [index, "storePath"],
13508
+ message: `Data Store destination "${storePath}" can only be written once by this node.`
13509
+ });
13510
+ }
13511
+ storePaths.add(storePath);
13512
+ }
13513
+ }
13514
+ var apiOutputStoreBindingsAuthoringSchema = z16.array(apiOutputStoreBindingAuthoringSchema).superRefine(validateUniqueApiOutputStoreBindingPaths).describe("Public authoring mappings from independently selected raw API response values to Data Store destinations.");
13515
+ var apiOutputStoreBindingsSchema = z16.array(apiOutputStoreBindingSchema).superRefine(validateUniqueApiOutputStoreBindingPaths).describe("Optional mappings from independently selected raw API response values to Data Store destinations.");
13516
+ var apiToolSchema = z16.object({
13517
+ name: z16.string().describe("Unique name for the API tool."),
13518
+ description: z16.string().describe("Description of what the API tool does. Shown to the agent to help it decide when to use this tool."),
13519
+ inputSchema: z16.custom().optional().describe("JSON schema (in serialized Zod format) defining the input parameters for the API call."),
13520
+ authInputs: z16.array(z16.object({
13521
+ key: z16.string().describe("Parameter key where the auth value will be injected."),
13522
+ value: z16.object({
13523
+ authId: z16.string().describe("ID of the authentication credential to use."),
13524
+ factor: z16.enum(IdentifierTypes).optional().describe("Type of authentication factor.")
13403
13525
  })
13404
13526
  })).optional().describe("Authentication inputs to inject into the API call. Maps parameter keys to saved credentials."),
13405
- type: z15.enum(["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]).describe("HTTP method for the API call."),
13406
- url: z15.string().describe("URL template for the API endpoint. Can include placeholders like {paramName} for dynamic values."),
13527
+ type: z16.enum(["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]).describe("HTTP method for the API call."),
13528
+ url: z16.string().describe("URL template for the API endpoint. Can include placeholders like {paramName} for dynamic values."),
13407
13529
  baseUrlOverride: nangoBaseUrlOverrideSchema.optional().describe("Optional static base URL override for Nango-backed requests when the endpoint uses a base URL different from the provider default."),
13408
- headers: z15.record(z15.string(), z15.string()).optional().describe("HTTP headers to include in the request. Values can include placeholders."),
13409
- queryParams: z15.record(z15.string(), z15.string()).optional().describe("Query parameters to include in the URL. Values can include placeholders."),
13410
- body: z15.unknown().optional().describe("Request body template. Can include placeholders for dynamic values."),
13411
- bodyType: z15.enum(ApiRequestBodyTypes).optional().describe("Request body encoding mode. Defaults to JSON when omitted. Use multipartFormData for typed form-data fields and formUrlEncoded for application/x-www-form-urlencoded payloads."),
13412
- outputJmesPath: z15.string().optional().describe("JMESPath expression to extract specific data from the API response before returning it to the agent."),
13530
+ headers: z16.record(z16.string(), z16.string()).optional().describe("HTTP headers to include in the request. Values can include placeholders."),
13531
+ queryParams: z16.record(z16.string(), z16.string()).optional().describe("Query parameters to include in the URL. Values can include placeholders."),
13532
+ body: z16.unknown().optional().describe("Request body template. Can include placeholders for dynamic values."),
13533
+ bodyType: z16.enum(ApiRequestBodyTypes).optional().describe("Request body encoding mode. Defaults to JSON when omitted. Use multipartFormData for typed form-data fields and formUrlEncoded for application/x-www-form-urlencoded payloads."),
13534
+ outputJmesPath: z16.string().optional().describe("JMESPath expression to extract specific data from the API response before returning it to the agent."),
13535
+ outputStoreBindings: apiOutputStoreBindingsSchema.optional(),
13413
13536
  cacheResponse: apiResponseCacheConfigSchema
13414
13537
  }).refine((data) => !(data.bodyType !== void 0 && !methodsWithBody.has(data.type)), {
13415
13538
  message: "Body type is not supported for this method",
@@ -13429,48 +13552,48 @@ var apiToolSchema = z15.object({
13429
13552
  }).describe("Custom API tool definition. Allows agents to make HTTP requests to external APIs.");
13430
13553
 
13431
13554
  // ../common/dist/src/zod-schemas/run-limitation.schema.js
13432
- import { z as z16 } from "zod";
13555
+ import { z as z17 } from "zod";
13433
13556
  var MAX_BROWSER_SESSION_DURATION_SECONDS = 6 * 60 * 60;
13434
13557
  var BROWSER_TERMINATION_BUFFER_SECONDS = 60;
13435
13558
  var MAX_AUTOMATION_DURATION_SECONDS = MAX_BROWSER_SESSION_DURATION_SECONDS - BROWSER_TERMINATION_BUFFER_SECONDS;
13436
13559
  var MAX_AUTOMATION_TOOL_CALLS = 500;
13437
13560
  var MAX_AGENT_TOOL_CALLS = 50;
13438
- var maxDurationSecondsSchema = z16.number().min(1).max(MAX_AUTOMATION_DURATION_SECONDS).optional().default(MAX_AUTOMATION_DURATION_SECONDS).describe("Maximum execution duration in seconds. The run will be terminated if it exceeds this limit.");
13439
- var baseRunLimitationSchema = z16.object({
13561
+ var maxDurationSecondsSchema = z17.number().min(1).max(MAX_AUTOMATION_DURATION_SECONDS).optional().default(MAX_AUTOMATION_DURATION_SECONDS).describe("Maximum execution duration in seconds. The run will be terminated if it exceeds this limit.");
13562
+ var baseRunLimitationSchema = z17.object({
13440
13563
  maxDurationSeconds: maxDurationSecondsSchema,
13441
- maxToolCalls: z16.number().optional().describe("Maximum number of tool calls allowed. The run will pause with MAX_TOOL_CALLS_REACHED when exceeded."),
13442
- allowedUrlRegexes: z16.array(z16.string()).optional().describe("Array of regex patterns for URLs the agent is allowed to navigate to. If specified, navigation to non-matching URLs will be blocked.")
13564
+ maxToolCalls: z17.number().optional().describe("Maximum number of tool calls allowed. The run will pause with MAX_TOOL_CALLS_REACHED when exceeded."),
13565
+ allowedUrlRegexes: z17.array(z17.string()).optional().describe("Array of regex patterns for URLs the agent is allowed to navigate to. If specified, navigation to non-matching URLs will be blocked.")
13443
13566
  });
13444
13567
  var automationRunLimitationSchema = baseRunLimitationSchema.extend({
13445
- maxToolCalls: z16.number().optional().default(MAX_AUTOMATION_TOOL_CALLS).describe("Maximum number of tool calls allowed across all agents in the automation.")
13568
+ maxToolCalls: z17.number().optional().default(MAX_AUTOMATION_TOOL_CALLS).describe("Maximum number of tool calls allowed across all agents in the automation.")
13446
13569
  }).optional().default({
13447
13570
  maxDurationSeconds: MAX_AUTOMATION_DURATION_SECONDS,
13448
13571
  maxToolCalls: MAX_AUTOMATION_TOOL_CALLS
13449
13572
  }).describe("Resource limits for the automation run.");
13450
13573
  var agentRunLimitationSchema = baseRunLimitationSchema.extend({
13451
- maxToolCalls: z16.number().optional().default(MAX_AGENT_TOOL_CALLS).describe("Maximum number of tool calls allowed for this agent.")
13574
+ maxToolCalls: z17.number().optional().default(MAX_AGENT_TOOL_CALLS).describe("Maximum number of tool calls allowed for this agent.")
13452
13575
  }).optional().default({
13453
13576
  maxDurationSeconds: MAX_AUTOMATION_DURATION_SECONDS,
13454
13577
  maxToolCalls: MAX_AGENT_TOOL_CALLS
13455
13578
  }).describe("Resource limits for the agent run.");
13456
13579
 
13457
13580
  // ../common/dist/src/zod-schemas/voice-provider-options.schema.js
13458
- import { z as z17 } from "zod";
13459
- var voiceParticipantSchema = z17.object({
13460
- number: z17.string().min(1).optional().describe("Default phone number or endpoint to use for this call participant. Accepts a literal value or a Handlebars template with agent, shared, and context inputs."),
13461
- name: z17.string().min(1).optional().describe("Display name to associate with this call participant."),
13462
- countryCode: z17.enum(["US", "CA"]).optional().describe("Country context for local national phone numbers. US and CA numbers can be safely normalized to E.164 for providers that require it.")
13581
+ import { z as z18 } from "zod";
13582
+ var voiceParticipantSchema = z18.object({
13583
+ number: z18.string().min(1).optional().describe("Default phone number or endpoint to use for this call participant. Accepts a literal value or a Handlebars template with agent, shared, and context inputs."),
13584
+ name: z18.string().min(1).optional().describe("Display name to associate with this call participant."),
13585
+ countryCode: z18.enum(["US", "CA"]).optional().describe("Country context for local national phone numbers. US and CA numbers can be safely normalized to E.164 for providers that require it.")
13463
13586
  }).describe("Default voice call participant settings.");
13464
- var vapiVoiceProviderOptionsSchema = z17.object({
13465
- assistantId: z17.string().min(1).optional().describe("Existing Vapi assistant ID to start or hand off the call to."),
13466
- assistant: z17.record(z17.string(), z17.unknown()).optional().describe("Inline Vapi assistant definition used when an explicit assistantId is not provided."),
13467
- assistantOverrides: z17.record(z17.string(), z17.unknown()).optional().describe("Runtime assistant override payload forwarded to Vapi when starting or handing off a call."),
13587
+ var vapiVoiceProviderOptionsSchema = z18.object({
13588
+ assistantId: z18.string().min(1).optional().describe("Existing Vapi assistant ID to start or hand off the call to."),
13589
+ assistant: z18.record(z18.string(), z18.unknown()).optional().describe("Inline Vapi assistant definition used when an explicit assistantId is not provided."),
13590
+ assistantOverrides: z18.record(z18.string(), z18.unknown()).optional().describe("Runtime assistant override payload forwarded to Vapi when starting or handing off a call."),
13468
13591
  caller: voiceParticipantSchema.optional().describe("Default caller settings for outbound calls."),
13469
13592
  callee: voiceParticipantSchema.optional().describe("Default callee settings for outbound calls."),
13470
- phoneNumberId: z17.string().min(1).optional().describe("Vapi phone number ID used to originate outbound calls."),
13471
- enableDtmf: z17.boolean().optional().describe("Whether the call should support DTMF input.")
13593
+ phoneNumberId: z18.string().min(1).optional().describe("Vapi phone number ID used to originate outbound calls."),
13594
+ enableDtmf: z18.boolean().optional().describe("Whether the call should support DTMF input.")
13472
13595
  }).describe("Configuration options specific to the Vapi voice provider.");
13473
- var voiceProviderOptionsSchema = z17.object({
13596
+ var voiceProviderOptionsSchema = z18.object({
13474
13597
  vapi: vapiVoiceProviderOptionsSchema.optional().describe("Configuration options specific to the Vapi provider.")
13475
13598
  }).describe("Provider-specific voice configuration options. Only the options for the selected voiceProvider are used.");
13476
13599
 
@@ -13482,50 +13605,50 @@ var NangoSupportedMethods = [
13482
13605
  "PATCH",
13483
13606
  "DELETE"
13484
13607
  ];
13485
- var startingUrlSchema = z18.string().refine(isValidUrlOrHandlebarsTemplateString, {
13608
+ var startingUrlSchema = z19.string().refine(isValidUrlOrHandlebarsTemplateString, {
13486
13609
  message: "Starting URL must be a valid URL or Handlebars template"
13487
13610
  }).optional();
13488
- var browserSOMEnvironmentOptionsSchema = z18.object({
13489
- environment: z18.literal("browser").describe("Browser environment using Set of Marks (SOM) for element identification."),
13490
- maxMediaToIncludeInMemory: z18.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13611
+ var browserSOMEnvironmentOptionsSchema = z19.object({
13612
+ environment: z19.literal("browser").describe("Browser environment using Set of Marks (SOM) for element identification."),
13613
+ maxMediaToIncludeInMemory: z19.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13491
13614
  somFilter: somFilterConfigSchema.optional().describe("Default SOM overlay filter to apply for each browser iteration until the somFilter tool sets or clears a session filter."),
13492
- saveAuthCookiesAfterRun: z18.boolean().optional().describe("Whether to save authentication cookies after the run completes for reuse in future runs."),
13493
- suppressNativePrint: z18.boolean().optional().describe("Suppress native window.print dialogs for the whole browser session while still recording print calls."),
13615
+ saveAuthCookiesAfterRun: z19.boolean().optional().describe("Whether to save authentication cookies after the run completes for reuse in future runs."),
13616
+ suppressNativePrint: z19.boolean().optional().describe("Suppress native window.print dialogs for the whole browser session while still recording print calls."),
13494
13617
  startingUrl: startingUrlSchema.describe("Initial URL to navigate to when the agent starts. Accepts a valid URL or a Handlebars template with agent inputs. If not provided, uses the current URL of the browser; if this is the first agent, it will be a blank page."),
13495
- browserProvider: z18.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use if this agent is the first in a run to create a browser."),
13618
+ browserProvider: z19.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use if this agent is the first in a run to create a browser."),
13496
13619
  browserProviderOptions: browserProviderOptionsSchema.optional().describe("Provider-specific configuration options for the browser.")
13497
13620
  }).describe("Browser environment configuration using Set of Marks (SOM) for element identification. This is the recommended browser mode for most use cases.");
13498
- var browserCoordinatesEnvironmentOptionsSchema = z18.object({
13499
- environment: z18.literal("browserCoordinates").describe("Browser environment using coordinate-based interactions instead of SOM."),
13500
- maxMediaToIncludeInMemory: z18.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13501
- saveAuthCookiesAfterRun: z18.boolean().optional().describe("Whether to save authentication cookies after the run completes for reuse in future runs."),
13502
- suppressNativePrint: z18.boolean().optional().describe("Suppress native window.print dialogs for the whole browser session while still recording print calls."),
13621
+ var browserCoordinatesEnvironmentOptionsSchema = z19.object({
13622
+ environment: z19.literal("browserCoordinates").describe("Browser environment using coordinate-based interactions instead of SOM."),
13623
+ maxMediaToIncludeInMemory: z19.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13624
+ saveAuthCookiesAfterRun: z19.boolean().optional().describe("Whether to save authentication cookies after the run completes for reuse in future runs."),
13625
+ suppressNativePrint: z19.boolean().optional().describe("Suppress native window.print dialogs for the whole browser session while still recording print calls."),
13503
13626
  startingUrl: startingUrlSchema.describe("Initial URL to navigate to when the agent starts. Accepts a valid URL or a Handlebars template with agent inputs. If not provided, uses the current URL of the browser; if this is the first agent, it will be a blank page."),
13504
- browserProvider: z18.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use if this agent is the first in a run to create a browser."),
13627
+ browserProvider: z19.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use if this agent is the first in a run to create a browser."),
13505
13628
  browserProviderOptions: browserProviderOptionsSchema.optional().describe("Provider-specific configuration options for the browser.")
13506
13629
  }).describe("Browser environment configuration using coordinate-based interactions. Use for scenarios where SOM-based identification is insufficient.");
13507
- var guacamoleEnvironmentOptionsSchema = z18.object({
13508
- environment: z18.literal("desktop").describe("Desktop environment using Guacamole for remote desktop access."),
13509
- browserProvider: z18.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use to connect to Guacamole."),
13630
+ var guacamoleEnvironmentOptionsSchema = z19.object({
13631
+ environment: z19.literal("desktop").describe("Desktop environment using Guacamole for remote desktop access."),
13632
+ browserProvider: z19.nativeEnum(BrowserProviderNames).default(BrowserProviderNames.browserbase).describe("Browser provider to use to connect to Guacamole."),
13510
13633
  browserProviderOptions: browserProviderOptionsSchema.optional().describe("Provider-specific configuration options."),
13511
- maxMediaToIncludeInMemory: z18.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13634
+ maxMediaToIncludeInMemory: z19.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13512
13635
  startingUrl: startingUrlSchema.describe("Initial URL for the Guacamole connection. Accepts a valid URL or a Handlebars template with agent inputs."),
13513
- useCopyPasteForTyping: z18.boolean().default(false).optional().describe("Use copy-paste instead of keystroke simulation for text input. Can improve reliability in some desktop applications.")
13636
+ useCopyPasteForTyping: z19.boolean().default(false).optional().describe("Use copy-paste instead of keystroke simulation for text input. Can improve reliability in some desktop applications.")
13514
13637
  }).describe("Desktop environment configuration using Guacamole for remote desktop automation.");
13515
- var desktopAppEnvironmentOptionsSchema = z18.object({
13516
- environment: z18.literal("desktopApp").describe("Native application environment for mobile or desktop app automation."),
13517
- maxMediaToIncludeInMemory: z18.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13638
+ var desktopAppEnvironmentOptionsSchema = z19.object({
13639
+ environment: z19.literal("desktopApp").describe("Native application environment for mobile or desktop app automation."),
13640
+ maxMediaToIncludeInMemory: z19.number().min(1).optional().describe("Maximum number of screenshots/media items to keep in the agent memory context."),
13518
13641
  viewport: viewportSizeSchema.optional().describe(`Target viewport dimensions for screenshots and coordinate-based actions. Defaults to ${BROWSER_DEFAULT_VIEWPORT.width}x${BROWSER_DEFAULT_VIEWPORT.height} when omitted.`)
13519
13642
  }).describe("Native application environment configuration for automating mobile or desktop applications.");
13520
- var minimalEnvironmentOptionsSchema = z18.object({
13521
- environment: z18.literal("minimal").describe("Minimal environment without browser or desktop capabilities. Use for non-UI agents.")
13643
+ var minimalEnvironmentOptionsSchema = z19.object({
13644
+ environment: z19.literal("minimal").describe("Minimal environment without browser or desktop capabilities. Use for non-UI agents.")
13522
13645
  }).describe("Minimal environment configuration for agents that do not require browser or desktop access (e.g., API-only agents).");
13523
- var voiceEnvironmentOptionsSchema = z18.object({
13524
- environment: z18.literal("voice").describe("Hosted voice environment for live phone or audio conversations."),
13525
- voiceProvider: z18.nativeEnum(VoiceProviderNames).default(VoiceProviderNames.vapi).describe("Voice provider to use if this agent is the first in a run to create or attach to a live call."),
13646
+ var voiceEnvironmentOptionsSchema = z19.object({
13647
+ environment: z19.literal("voice").describe("Hosted voice environment for live phone or audio conversations."),
13648
+ voiceProvider: z19.nativeEnum(VoiceProviderNames).default(VoiceProviderNames.vapi).describe("Voice provider to use if this agent is the first in a run to create or attach to a live call."),
13526
13649
  voiceProviderOptions: voiceProviderOptionsSchema.optional().describe("Provider-specific configuration options for voice runtime.")
13527
13650
  }).describe("Voice environment configuration for hosted conversational runtimes such as Vapi.");
13528
- var environmentOptionsSchema = z18.discriminatedUnion("environment", [
13651
+ var environmentOptionsSchema = z19.discriminatedUnion("environment", [
13529
13652
  browserSOMEnvironmentOptionsSchema,
13530
13653
  browserCoordinatesEnvironmentOptionsSchema,
13531
13654
  guacamoleEnvironmentOptionsSchema,
@@ -13536,7 +13659,7 @@ var environmentOptionsSchema = z18.discriminatedUnion("environment", [
13536
13659
  var runSettingsBrowserSOMEnvironmentOptionsSchema = browserSOMEnvironmentOptionsSchema.omit({
13537
13660
  somFilter: true
13538
13661
  }).describe("Browser environment configuration using Set of Marks (SOM) for element identification. This is the recommended browser mode for most use cases.");
13539
- var runSettingsEnvironmentOptionsSchema = z18.discriminatedUnion("environment", [
13662
+ var runSettingsEnvironmentOptionsSchema = z19.discriminatedUnion("environment", [
13540
13663
  runSettingsBrowserSOMEnvironmentOptionsSchema,
13541
13664
  browserCoordinatesEnvironmentOptionsSchema,
13542
13665
  guacamoleEnvironmentOptionsSchema,
@@ -13552,14 +13675,14 @@ var environmentNames = [
13552
13675
  "voice",
13553
13676
  "minimal"
13554
13677
  ];
13555
- var environmentNamesSchema = z18.enum(environmentNames).describe("Available environment types: browser (SOM-based), browserCoordinates (coordinate-based), desktop (Guacamole), desktopApp, voice, or minimal.");
13678
+ var environmentNamesSchema = z19.enum(environmentNames).describe("Available environment types: browser (SOM-based), browserCoordinates (coordinate-based), desktop (Guacamole), desktopApp, voice, or minimal.");
13556
13679
  var DEFAULT_ENVIRONMENT_OPTION = environmentOptionsSchema.parse({
13557
13680
  environment: "browser"
13558
13681
  });
13559
- var passkeyLeaseScopeSchema = z18.enum(["session", "authStep"]).describe("Passkey lock lifetime. session holds the passkey lease for the browser session; authStep starts the lease before WebAuthn is armed for login and releases it after assertion so the passkey can be reused sooner.");
13560
- var resourcePoolReferenceSchema = z18.object({
13561
- id: z18.string().uuid().describe("Unique identifier of the resource pool."),
13562
- type: z18.enum([
13682
+ var passkeyLeaseScopeSchema = z19.enum(["session", "authStep"]).describe("Passkey lock lifetime. session holds the passkey lease for the browser session; authStep starts the lease before WebAuthn is armed for login and releases it after assertion so the passkey can be reused sooner.");
13683
+ var resourcePoolReferenceSchema = z19.object({
13684
+ id: z19.string().uuid().describe("Unique identifier of the resource pool."),
13685
+ type: z19.enum([
13563
13686
  "commandGenerated",
13564
13687
  "proxy",
13565
13688
  "apiAuthentication",
@@ -13569,21 +13692,21 @@ var resourcePoolReferenceSchema = z18.object({
13569
13692
  passkeyLeaseScope: passkeyLeaseScopeSchema.optional()
13570
13693
  });
13571
13694
  var MAX_RESOURCE_POOLS_PER_STARTING_AGENT = 8;
13572
- var resourcePoolsSchema = z18.array(resourcePoolReferenceSchema).max(MAX_RESOURCE_POOLS_PER_STARTING_AGENT, "Only eight resource pools per starting agent are currently supported").optional();
13573
- var agentRunSettingsSchema = z18.object({
13695
+ var resourcePoolsSchema = z19.array(resourcePoolReferenceSchema).max(MAX_RESOURCE_POOLS_PER_STARTING_AGENT, "Only eight resource pools per starting agent are currently supported").optional();
13696
+ var agentRunSettingsSchema = z19.object({
13574
13697
  environmentOptions: runSettingsEnvironmentOptionsSchema.optional().describe("Canonical run-level browser/session settings used when this agent is selected as the run settings source. Agent-owned fields such as startingUrl and maxMediaToIncludeInMemory are intentionally ignored at runtime even if present here."),
13575
13698
  resourcePools: resourcePoolsSchema.describe("Managed resource pools used when this agent is selected as the run settings source. These may be persisted on any agent even when that agent is not currently a top-level run settings source."),
13576
- skipBrowserDebuggerPauses: z18.boolean().optional().describe("Run-level browser session startup setting. When run settings mode is active, this value is snapshotted from runSettings and legacy agent-local values are ignored.")
13699
+ skipBrowserDebuggerPauses: z19.boolean().optional().describe("Run-level browser session startup setting. When run settings mode is active, this value is snapshotted from runSettings and legacy agent-local values are ignored.")
13577
13700
  });
13578
- var remoteFileConnectionSchema = z18.object({
13579
- description: z18.string().describe("Human-readable description of this remote file connection."),
13580
- host: z18.string().describe("Hostname or IP address of the remote server."),
13581
- port: z18.number().describe("Port number for the connection (e.g., 22 for SFTP)."),
13582
- protocol: z18.enum(["sftp"]).describe("Protocol to use for the connection. Currently only SFTP is supported."),
13583
- opItemId: z18.string().describe("1Password item ID containing the credentials."),
13584
- opVaultId: z18.string().describe("1Password vault ID containing the item.")
13701
+ var remoteFileConnectionSchema = z19.object({
13702
+ description: z19.string().describe("Human-readable description of this remote file connection."),
13703
+ host: z19.string().describe("Hostname or IP address of the remote server."),
13704
+ port: z19.number().describe("Port number for the connection (e.g., 22 for SFTP)."),
13705
+ protocol: z19.enum(["sftp"]).describe("Protocol to use for the connection. Currently only SFTP is supported."),
13706
+ opItemId: z19.string().describe("1Password item ID containing the credentials."),
13707
+ opVaultId: z19.string().describe("1Password vault ID containing the item.")
13585
13708
  }).describe("Remote file connection configuration for SFTP access. Credentials are stored securely in 1Password.");
13586
- var workflowIdReusePolicySchema = z18.enum(["ALLOW_DUPLICATE", "ALLOW_DUPLICATE_FAILED_ONLY"]).describe("Controls Temporal workflow ID reuse. ALLOW_DUPLICATE allows rerunning with the same ID. ALLOW_DUPLICATE_FAILED_ONLY only allows reuse if the previous run failed.");
13709
+ var workflowIdReusePolicySchema = z19.enum(["ALLOW_DUPLICATE", "ALLOW_DUPLICATE_FAILED_ONLY"]).describe("Controls Temporal workflow ID reuse. ALLOW_DUPLICATE allows rerunning with the same ID. ALLOW_DUPLICATE_FAILED_ONLY only allows reuse if the previous run failed.");
13587
13710
  var codeLanguages = ["typescript"];
13588
13711
  var windowsAbsolutePathPattern = /^[A-Za-z]:[\\/]/u;
13589
13712
  function hasControlCharacter(value) {
@@ -13611,147 +13734,189 @@ function normalizeRepoPath(path7) {
13611
13734
  return path7.replaceAll(/\/+$/gu, "");
13612
13735
  }
13613
13736
  var skillPathPattern = /^(?:skills\/.+|automations\/[^/]+\/skills\/.+|automations\/[^/]+\/agents\/[^/]+\/skills\/.+)$/u;
13614
- var repoPathSchema = z18.string().min(1).transform(normalizeRepoPath).refine(isNormalizedRepoPath, {
13737
+ var repoPathSchema = z19.string().min(1).transform(normalizeRepoPath).refine(isNormalizedRepoPath, {
13615
13738
  message: "Path must be a normalized repository-relative path."
13616
13739
  });
13617
- var knowledgeBasePluginPermissionSchema = z18.object({
13740
+ var knowledgeBasePluginPermissionSchema = z19.object({
13618
13741
  path: repoPathSchema.refine(getIsKnowledgeBaseAssetPathAllowed, {
13619
13742
  message: "Knowledge Base paths must be under org, automation, or automation-agent assets."
13620
13743
  }).describe("Repository path the knowledge base plugin can access."),
13621
- access: z18.enum(["read", "write"]).describe("Access level for the path. Write access also grants reads.")
13744
+ access: z19.enum(["read", "write"]).describe("Access level for the path. Write access also grants reads.")
13622
13745
  }).describe("Path-scoped permission for the knowledge base runtime plugin.");
13623
- var knowledgeBaseConfigSchema = z18.object({
13624
- enabled: z18.boolean().default(false).describe("Explicit rollout switch for the knowledge base runtime plugin."),
13625
- permissions: z18.array(knowledgeBasePluginPermissionSchema).min(1).describe("Repository paths the knowledge base plugin can access. Write grants read and write access.")
13746
+ var knowledgeBaseConfigSchema = z19.object({
13747
+ enabled: z19.boolean().default(false).describe("Explicit rollout switch for the knowledge base runtime plugin."),
13748
+ permissions: z19.array(knowledgeBasePluginPermissionSchema).min(1).describe("Repository paths the knowledge base plugin can access. Write grants read and write access.")
13626
13749
  }).describe("Configuration for the knowledge base runtime plugin.");
13627
- var memoryConfigSchema = z18.object({
13628
- enabled: z18.boolean().default(false).describe("Explicit rollout switch for the memory runtime plugin.")
13750
+ var memoryConfigSchema = z19.object({
13751
+ enabled: z19.boolean().default(false).describe("Explicit rollout switch for the memory runtime plugin.")
13629
13752
  }).strict().describe("Configuration for the memory runtime plugin.");
13630
- var skillsConfigSchema = z18.object({
13631
- enabled: z18.boolean().default(false).describe("Explicit rollout switch for the skills runtime plugin."),
13632
- registeredSkills: z18.array(repoPathSchema.refine((path7) => skillPathPattern.test(path7), {
13753
+ var skillsConfigSchema = z19.object({
13754
+ enabled: z19.boolean().default(false).describe("Explicit rollout switch for the skills runtime plugin."),
13755
+ registeredSkills: z19.array(repoPathSchema.refine((path7) => skillPathPattern.test(path7), {
13633
13756
  message: "Skill paths must be under root, automation, or automation-agent skills."
13634
13757
  })).default(() => []).describe("Repository skill root paths available to the skills plugin."),
13635
- canEdit: z18.boolean().default(false).describe("Allows the skills runtime plugin to edit repo skills under the root skills folder.")
13758
+ canEdit: z19.boolean().default(false).describe("Allows the skills runtime plugin to edit repo skills under the root skills folder.")
13636
13759
  }).describe("Configuration for the skills runtime plugin.");
13637
- var agentPluginsConfigSchema = z18.object({
13760
+ var agentPluginsConfigSchema = z19.object({
13638
13761
  knowledgeBase: knowledgeBaseConfigSchema.optional().describe("Enables the knowledge base runtime plugin."),
13639
13762
  memory: memoryConfigSchema.optional().describe("Enables the memory runtime plugin."),
13640
13763
  skills: skillsConfigSchema.optional().describe("Enables the skills runtime plugin.")
13641
13764
  }).optional().describe("Runtime plugins enabled for this agent. Plugin tools are not controlled by the built-in tools allow-list.");
13642
- var baseAgentConfigFieldsSchema = z18.object({
13643
- apiTools: z18.array(apiToolSchema).optional().describe("Custom API tools available to this agent. Each tool defines an HTTP endpoint the agent can call."),
13644
- remoteFileConnections: z18.array(remoteFileConnectionSchema).optional().describe("Remote file server connections for SFTP operations. Enables agents to read/write files on remote servers."),
13765
+ var baseAgentConfigFieldsSchema = z19.object({
13766
+ apiTools: z19.array(apiToolSchema).optional().describe("Custom API tools available to this agent. Each tool defines an HTTP endpoint the agent can call."),
13767
+ remoteFileConnections: z19.array(remoteFileConnectionSchema).optional().describe("Remote file server connections for SFTP operations. Enables agents to read/write files on remote servers."),
13645
13768
  resourcePools: resourcePoolsSchema.describe("Deprecated compatibility shadow of runSettings.resourcePools. Keep mirrored with runSettings.resourcePools during the migration. New runtime logic should prefer runSettings.resourcePools. Maximum 8 pools per starting agent."),
13646
- tools: z18.array(z18.enum(baseToolNames)).optional().default(() => []).describe("List of built-in tools enabled for this agent (e.g., click, clickFill, scroll, navigateTo). Note: reportStop is always included by default, callSpecializedAgent is included if the agent has child agents, and queueAgents is included if queueableAgentIds is configured. An empty array will still have these automatically included tools."),
13647
- knowledgeBase: z18.object({
13648
- namespace: z18.string().describe("Vector database namespace for knowledge retrieval."),
13649
- k: z18.number().describe("Number of results to retrieve from the knowledge base per query.")
13769
+ tools: z19.array(z19.enum(baseToolNames)).optional().default(() => []).describe("List of built-in tools enabled for this agent (e.g., click, clickFill, scroll, navigateTo). Note: reportStop is always included by default, callSpecializedAgent is included if the agent has child agents, and queueAgents is included if queueableAgentIds is configured. An empty array will still have these automatically included tools."),
13770
+ knowledgeBase: z19.object({
13771
+ namespace: z19.string().describe("Vector database namespace for knowledge retrieval."),
13772
+ k: z19.number().describe("Number of results to retrieve from the knowledge base per query.")
13650
13773
  }).optional().describe("Knowledge base configuration for RAG (Retrieval-Augmented Generation). Enables the agent to query a vector database."),
13651
13774
  plugins: agentPluginsConfigSchema,
13652
- maxSessionMessages: z18.number().optional().describe("Maximum number of messages to keep in the agent session memory. Older messages are pruned to stay within this limit."),
13775
+ maxSessionMessages: z19.number().optional().describe("Maximum number of messages to keep in the agent session memory. Older messages are pruned to stay within this limit."),
13653
13776
  environmentOptions: environmentOptionsSchema.optional().default(DEFAULT_ENVIRONMENT_OPTION).describe("Environment configuration for the agent. Default is browser with SOM."),
13654
13777
  runSettings: agentRunSettingsSchema.optional().describe("Run settings persisted on the agent and used when this agent is selected as the settings source for a run while the run-settings rollout is enabled. This is the canonical runtime source for resource pools during the migration. It intentionally mirrors a subset of agent config so settings survive topology changes and can be stored on any agent regardless of that agent's own execution environment. Writers may populate this before the rollout flag is enabled, but runtime snapshotting must keep using legacy fields while the flag is disabled."),
13655
- skipBrowserDebuggerPauses: z18.boolean().optional().describe("Legacy agent-local browser session startup setting. Used only when a run is in legacy config mode; canonical run settings mode reads runSettings.skipBrowserDebuggerPauses instead."),
13778
+ skipBrowserDebuggerPauses: z19.boolean().optional().describe("Legacy agent-local browser session startup setting. Used only when a run is in legacy config mode; canonical run settings mode reads runSettings.skipBrowserDebuggerPauses instead."),
13656
13779
  limitations: agentRunLimitationSchema.describe("Resource limits for this agent, including maximum duration and tool call limits."),
13657
- commonParametersSchema: z18.custom().optional().describe("Custom schema defining metadata the agent must provide with every tool call. By default, agents provide reasoning and step information. If specified, this schema replaces the default metadata schema entirely."),
13658
- idempotencySettings: z18.object({
13659
- include: z18.array(z18.string()).optional().describe("Input field names to include in the idempotency key. If specified, only these fields are used."),
13660
- exclude: z18.array(z18.string()).optional().describe("Input field names to exclude from the idempotency key. Ignored if include is specified."),
13780
+ commonParametersSchema: z19.custom().optional().describe("Custom schema defining metadata the agent must provide with every tool call. By default, agents provide reasoning and step information. If specified, this schema replaces the default metadata schema entirely."),
13781
+ idempotencySettings: z19.object({
13782
+ include: z19.array(z19.string()).optional().describe("Input field names to include in the idempotency key. If specified, only these fields are used."),
13783
+ exclude: z19.array(z19.string()).optional().describe("Input field names to exclude from the idempotency key. Ignored if include is specified."),
13661
13784
  workflowIdReusePolicy: workflowIdReusePolicySchema.optional().default("ALLOW_DUPLICATE").describe("Policy for reusing Temporal workflow IDs.")
13662
13785
  }).optional().describe("Idempotency settings for preventing duplicate runs. Controls which input fields contribute to the unique run identifier."),
13663
- taskQueue: z18.string().optional().describe("Temporal task queue name for this agent. If specified, queued child agents run on this queue instead of the parent queue."),
13664
- waitUponQueueing: z18.boolean().optional().default(false).describe("If true, wait for queued child agents to complete before proceeding."),
13665
- queueableAgentIds: z18.array(brandedStringValidator("agentId")).optional().default(() => []).describe("List of agent IDs that this agent can queue using the queueAgents tool. Enables the agent to run a new automation with a different agent as the starting point."),
13666
- callableAgentIds: z18.array(brandedStringValidator("agentId")).optional().describe("List of external root agent IDs that this agent can call using the callSpecializedAgent tool. Same-automation callable agents continue to be configured by graph connections."),
13667
- queuedAgentVariables: z18.record(brandedStringValidator("agentId"), z18.record(z18.string(), z18.unknown())).optional().describe("Static automation variable values to pass when this agent queues another automation by target agent ID."),
13668
- checkpoint: z18.object({
13669
- name: z18.string().describe("Name for the checkpoint, used for filtering and identification."),
13670
- screenshot: z18.boolean().optional().default(false).describe("Whether to capture a screenshot when creating the checkpoint.")
13786
+ taskQueue: z19.string().optional().describe("Temporal task queue name for this agent. If specified, queued child agents run on this queue instead of the parent queue."),
13787
+ waitUponQueueing: z19.boolean().optional().default(false).describe("If true, wait for queued child agents to complete before proceeding."),
13788
+ queueableAgentIds: z19.array(brandedStringValidator("agentId")).optional().default(() => []).describe("List of agent IDs that this agent can queue using the queueAgents tool. Enables the agent to run a new automation with a different agent as the starting point."),
13789
+ callableAgentIds: z19.array(brandedStringValidator("agentId")).optional().describe("List of external root agent IDs that this agent can call using the callSpecializedAgent tool. Same-automation callable agents continue to be configured by graph connections."),
13790
+ queuedAgentVariables: z19.record(brandedStringValidator("agentId"), z19.record(z19.string(), z19.unknown())).optional().describe("Static automation variable values to pass when this agent queues another automation by target agent ID."),
13791
+ checkpoint: z19.object({
13792
+ name: z19.string().describe("Name for the checkpoint, used for filtering and identification."),
13793
+ screenshot: z19.boolean().optional().default(false).describe("Whether to capture a screenshot when creating the checkpoint.")
13671
13794
  }).optional().describe("Checkpoint configuration. When set, agent iterations are recorded as checkpoints for auditing and debugging."),
13672
- systemPrompt: z18.string().optional().describe("Custom system prompt that replaces the default system prompt for this agent. Combined with automation-level and agent-level additionalSystemPrompt values."),
13673
- additionalSystemPrompt: z18.string().optional().describe("Additional instructions appended to the system prompt for this agent. Combined with automation-level additionalSystemPrompt."),
13795
+ systemPrompt: z19.string().optional().describe("Custom system prompt that replaces the default system prompt for this agent. Combined with automation-level and agent-level additionalSystemPrompt values."),
13796
+ additionalSystemPrompt: z19.string().optional().describe("Additional instructions appended to the system prompt for this agent. Combined with automation-level additionalSystemPrompt."),
13674
13797
  // Backlinking metadata for imported agents
13675
- importedFrom: z18.object({
13798
+ importedFrom: z19.object({
13676
13799
  automationId: brandedStringValidator("draftAutomationId").describe("ID of the source automation from which this agent was imported."),
13677
13800
  originalAgentId: brandedStringValidator("agentId").describe("Original agent ID in the source automation.")
13678
13801
  }).optional().describe("Metadata for agents imported from another automation. Used for traceability and updates."),
13679
- ignoreUnstableSessionState: z18.boolean().optional().describe("When true, skips screenshot consistency checks before tool execution. Overrides the automation-level ignoreUnstableSessionState setting."),
13680
- pointOfNoReturn: z18.object({
13681
- keyFields: z18.array(z18.string().trim().min(1).refine((keyField) => parsePointOfNoReturnKeyFieldPath(keyField) !== void 0, "PONR key fields must start with input. or store. and use safe path segments")).min(1).describe("Paths resolved against the current node input or automation store into the work-item business key. A path that cannot be resolved fails closed.")
13802
+ ignoreUnstableSessionState: z19.boolean().optional().describe("When true, skips screenshot consistency checks before tool execution. Overrides the automation-level ignoreUnstableSessionState setting."),
13803
+ pointOfNoReturn: z19.object({
13804
+ keyFields: z19.array(z19.string().trim().min(1).refine((keyField) => parsePointOfNoReturnKeyFieldPath(keyField) !== void 0, "PONR key fields must start with input. or store. and use safe path segments")).min(1).describe("Paths resolved against the current node input or automation store into the work-item business key. A path that cannot be resolved fails closed.")
13682
13805
  }).optional().describe("Marks this node as a point of no return. Once the work item identified by keyFields crosses this node, the node and everything downstream never auto-run again; recovery is override-only.")
13683
13806
  }).superRefine((config, ctx) => {
13684
13807
  if (config.resourcePools !== void 0 && config.runSettings?.resourcePools !== void 0 && !isDeepEqualAndSameType(config.resourcePools, config.runSettings.resourcePools)) {
13685
13808
  ctx.addIssue({
13686
- code: z18.ZodIssueCode.custom,
13809
+ code: z19.ZodIssueCode.custom,
13687
13810
  path: ["runSettings", "resourcePools"],
13688
13811
  message: "runSettings.resourcePools must match resourcePools when both are provided"
13689
13812
  });
13690
13813
  }
13691
13814
  });
13692
13815
  var agenticAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13693
- type: z18.literal("agentic").describe("Agentic agent type - autonomous AI agent with tool calling capabilities."),
13816
+ type: z19.literal("agentic").describe("Agentic agent type - autonomous AI agent with tool calling capabilities."),
13694
13817
  model: agentModelConfigSchema.describe("LLM model configuration for this agentic agent.")
13695
13818
  }).describe("Agentic agent configuration. Uses an LLM to autonomously decide which tools to call to accomplish tasks.");
13696
13819
  var codeAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13697
- type: z18.literal("code").describe("Code agent type - executes predefined code instead of LLM-driven decisions."),
13698
- language: z18.enum(codeLanguages).default("typescript").describe("Programming language for the agent code. Currently only TypeScript is supported.")
13820
+ type: z19.literal("code").describe("Code agent type - executes predefined code instead of LLM-driven decisions."),
13821
+ language: z19.enum(codeLanguages).default("typescript").describe("Programming language for the agent code. Currently only TypeScript is supported.")
13699
13822
  }).describe("Code agent configuration. Executes predefined TypeScript code instead of using LLM-driven decision making.");
13823
+ var outputStoreSourcePathRegex = /^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*)*$/u;
13824
+ var outputStoreBindingSchema = z19.object({
13825
+ sourcePath: z19.string().refine((sourcePath) => sourcePath === "$" || outputStoreSourcePathRegex.test(sourcePath), 'Output source path must be "$" or a dot path such as patient.name.').describe("Dot path of the node output value to write."),
13826
+ storePath: outputStorePathSchema.describe("Fully qualified Data Store path that receives the output."),
13827
+ arrayMode: z19.enum(["append", "appendList", "replace"]).optional().describe("Required for newly authored array destinations: append adds exactly one item, appendList adds multiple items, and replace sets the complete list. Omit for scalar destinations. Legacy omitted array modes still append at runtime.")
13828
+ }).describe("Maps one node output value to one Data Store destination.");
13829
+ function validateUniqueOutputStoreBindings(bindings, ctx) {
13830
+ const sourcePaths = /* @__PURE__ */ new Set();
13831
+ const storePaths = /* @__PURE__ */ new Set();
13832
+ for (const [index, { sourcePath, storePath }] of bindings.entries()) {
13833
+ if (sourcePaths.has(sourcePath)) {
13834
+ ctx.addIssue({
13835
+ code: z19.ZodIssueCode.custom,
13836
+ path: [index, "sourcePath"],
13837
+ message: `Output source path "${sourcePath}" can only have one Data Store destination.`
13838
+ });
13839
+ }
13840
+ sourcePaths.add(sourcePath);
13841
+ if (storePaths.has(storePath)) {
13842
+ ctx.addIssue({
13843
+ code: z19.ZodIssueCode.custom,
13844
+ path: [index, "storePath"],
13845
+ message: `Data Store destination "${storePath}" can only be written once by this node.`
13846
+ });
13847
+ }
13848
+ storePaths.add(storePath);
13849
+ }
13850
+ }
13851
+ var extractOutputStoreBindingsSchema = z19.array(outputStoreBindingSchema).superRefine((bindings, ctx) => {
13852
+ validateUniqueOutputStoreBindings(bindings, ctx);
13853
+ for (const [index, { sourcePath }] of bindings.entries()) {
13854
+ if (sourcePath === "$") {
13855
+ ctx.addIssue({
13856
+ code: z19.ZodIssueCode.custom,
13857
+ path: [index, "sourcePath"],
13858
+ message: "Extract output bindings must use a declared output path."
13859
+ });
13860
+ }
13861
+ }
13862
+ }).describe("Optional mappings from declared Extract output fields to Data Store destinations.");
13700
13863
  var extractAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13701
- type: z18.literal("extract").describe("Extract agent type - specialized for structured data extraction."),
13702
- model: agentModelConfigSchema.describe("LLM model configuration for this extract agent.")
13864
+ type: z19.literal("extract").describe("Extract agent type - specialized for structured data extraction."),
13865
+ model: agentModelConfigSchema.describe("LLM model configuration for this extract agent."),
13866
+ outputStoreBindings: extractOutputStoreBindingsSchema.optional()
13703
13867
  }).describe("Extract agent configuration. Specialized for extracting structured data from files according to a defined output schema.");
13704
- var OutcomePayloadSchema = z18.object({
13705
- id: z18.string().min(1).describe("Unique identifier for the outcome."),
13706
- input: z18.record(z18.string(), z18.unknown()).describe("Input data for the outcome. Maps parameter keys to values."),
13707
- preview: z18.string().describe("Rendered text representation of the outcome.")
13868
+ var OutcomePayloadSchema = z19.object({
13869
+ id: z19.string().min(1).describe("Unique identifier for the outcome."),
13870
+ input: z19.record(z19.string(), z19.unknown()).describe("Input data for the outcome. Maps parameter keys to values."),
13871
+ preview: z19.string().describe("Rendered text representation of the outcome.")
13708
13872
  });
13709
13873
  var branchAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13710
- type: z18.literal("branch").describe("Branch agent type - makes decisions to route to different agents."),
13711
- model: agentModelConfigSchema.describe("LLM model configuration for this branch agent."),
13712
- includeScreenshot: z18.boolean().optional().describe("Whether to include the previous agent's screen state in this branch agent's decision context."),
13713
- conditionsAndOutcomes: z18.object({
13714
- if: z18.array(z18.object({
13715
- caseName: z18.string().describe("Name of the condition case."),
13716
- condition: z18.string().min(1).describe("Condition to evaluate."),
13717
- outcome: z18.array(OutcomePayloadSchema).describe("Outcomes to return if the condition is met.")
13718
- })).min(1).describe("Conditions and outcomes for the branch agent."),
13719
- else: z18.array(OutcomePayloadSchema).min(1).describe("Outcomes to return if the condition is not met.")
13720
- }).describe("Conditions and outcomes for the branch agent, including a fallback outcome.")
13721
- }).describe("Branch agent configuration. Makes decisions about which agent to call next based on the current context.");
13874
+ type: z19.literal("branch").describe("Decision agent type - makes decisions to route to different agents."),
13875
+ model: agentModelConfigSchema.describe("LLM model configuration for this decision agent."),
13876
+ includeScreenshot: z19.boolean().optional().describe("Whether to include the previous agent's screen state in this decision agent's decision context."),
13877
+ conditionsAndOutcomes: z19.object({
13878
+ if: z19.array(z19.object({
13879
+ caseName: z19.string().describe("Name of the condition case."),
13880
+ condition: z19.string().min(1).describe("Condition to evaluate."),
13881
+ outcome: z19.array(OutcomePayloadSchema).describe("Outcomes to return if the condition is met.")
13882
+ })).min(1).describe("Conditions and outcomes for the decision agent."),
13883
+ else: z19.array(OutcomePayloadSchema).min(1).describe("Outcomes to return if the condition is not met.")
13884
+ }).describe("Conditions and outcomes for the decision agent, including a fallback outcome.")
13885
+ }).describe("Decision agent configuration. Makes decisions about which agent to call next based on the current context.");
13722
13886
  var draftBranchAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13723
- type: z18.literal("branch").describe("Branch agent draft configuration. Allows incomplete conditions and outcomes while the agent is still being authored."),
13724
- model: agentModelConfigSchema.describe("LLM model configuration for this branch agent."),
13725
- includeScreenshot: z18.boolean().optional().describe("Whether to include the previous agent's screen state in this branch agent's decision context."),
13726
- conditionsAndOutcomes: z18.object({
13727
- if: z18.array(z18.object({
13728
- caseName: z18.string().describe("Name of the condition case."),
13729
- condition: z18.string().describe("Condition to evaluate. Draft saves may include an empty placeholder while the user is still editing."),
13730
- outcome: z18.array(OutcomePayloadSchema).describe("Outcomes to return if the condition is met.")
13731
- })).describe("Draft branch conditions and outcomes."),
13732
- else: z18.array(OutcomePayloadSchema).describe("Draft fallback outcomes for the branch agent. May be empty while the branch is still being configured.")
13733
- }).describe("Draft conditions and outcomes for the branch agent, including an optional fallback outcome while editing.")
13734
- }).describe("Branch agent draft configuration. More permissive than the authored branch schema so incomplete draft branches can be saved.");
13887
+ type: z19.literal("branch").describe("Decision agent draft configuration. Allows incomplete conditions and outcomes while the agent is still being authored."),
13888
+ model: agentModelConfigSchema.describe("LLM model configuration for this decision agent."),
13889
+ includeScreenshot: z19.boolean().optional().describe("Whether to include the previous agent's screen state in this decision agent's decision context."),
13890
+ conditionsAndOutcomes: z19.object({
13891
+ if: z19.array(z19.object({
13892
+ caseName: z19.string().describe("Name of the condition case."),
13893
+ condition: z19.string().describe("Condition to evaluate. Draft saves may include an empty placeholder while the user is still editing."),
13894
+ outcome: z19.array(OutcomePayloadSchema).describe("Outcomes to return if the condition is met.")
13895
+ })).describe("Draft decision conditions and outcomes."),
13896
+ else: z19.array(OutcomePayloadSchema).describe("Draft fallback outcomes for the decision agent. May be empty while the decision agent is still being configured.")
13897
+ }).describe("Draft conditions and outcomes for the decision agent, including an optional fallback outcome while editing.")
13898
+ }).describe("Decision agent draft configuration. More permissive than the authored decision schema so incomplete decision agents can be saved.");
13735
13899
  var METHODS_WITH_BODY = new Set(ApiMethodsWithBody);
13736
13900
  var apiAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13737
- type: z18.literal("api").describe("API agent type - makes HTTP requests to external APIs."),
13738
- method: z18.enum(NangoSupportedMethods).describe("HTTP method for the API request (GET, POST, PUT, PATCH, DELETE)."),
13739
- url: z18.string().describe("URL for the API endpoint. Can include placeholders like {paramName} for dynamic values from inputs."),
13901
+ type: z19.literal("api").describe("API agent type - makes HTTP requests to external APIs."),
13902
+ method: z19.enum(NangoSupportedMethods).describe("HTTP method for the API request (GET, POST, PUT, PATCH, DELETE)."),
13903
+ url: z19.string().describe("URL for the API endpoint. Can include placeholders like {paramName} for dynamic values from inputs."),
13740
13904
  baseUrlOverride: nangoBaseUrlOverrideSchema.optional().describe("Optional static base URL override for Nango-backed requests. Use when the request endpoint is hosted on a base URL different from the Nango provider default."),
13741
- headers: z18.array(z18.object({ key: z18.string(), value: z18.string() })).optional().describe("HTTP headers to include in the request. Values can include placeholders."),
13742
- queryParams: z18.array(z18.object({ key: z18.string(), value: z18.string() })).optional().describe("Query parameters to append to the URL. Values can include placeholders."),
13743
- body: z18.unknown().optional().describe("Request body for POST/PUT/PATCH requests. Can include placeholders for dynamic values."),
13744
- bodyType: z18.enum(ApiRequestBodyTypes).optional().describe("Request body encoding mode. Defaults to JSON when omitted. Use multipartFormData for typed form-data fields and formUrlEncoded for application/x-www-form-urlencoded payloads."),
13745
- outputJmesPath: z18.string().optional().describe("JMESPath expression to extract specific data from the API response before returning it."),
13905
+ headers: z19.array(z19.object({ key: z19.string(), value: z19.string() })).optional().describe("HTTP headers to include in the request. Values can include placeholders."),
13906
+ queryParams: z19.array(z19.object({ key: z19.string(), value: z19.string() })).optional().describe("Query parameters to append to the URL. Values can include placeholders."),
13907
+ body: z19.unknown().optional().describe("Request body for POST/PUT/PATCH requests. Can include placeholders for dynamic values."),
13908
+ bodyType: z19.enum(ApiRequestBodyTypes).optional().describe("Request body encoding mode. Defaults to JSON when omitted. Use multipartFormData for typed form-data fields and formUrlEncoded for application/x-www-form-urlencoded payloads."),
13909
+ outputJmesPath: z19.string().optional().describe("JMESPath expression to extract specific data from the API response before returning it."),
13910
+ outputStoreBindings: apiOutputStoreBindingsSchema.optional(),
13746
13911
  cacheResponse: apiResponseCacheConfigSchema.describe("Response cache configuration for this API agent. TTL is measured in seconds."),
13747
- authentication: z18.discriminatedUnion("type", [
13748
- z18.object({
13749
- type: z18.literal("nangoConnection").describe("Authentication via Nango integration."),
13750
- providerConfigKey: z18.string().describe('The provider config key for the integration (e.g., "github", "slack").'),
13912
+ authentication: z19.discriminatedUnion("type", [
13913
+ z19.object({
13914
+ type: z19.literal("nangoConnection").describe("Authentication via Nango integration."),
13915
+ providerConfigKey: z19.string().describe('The provider config key for the integration (e.g., "github", "slack").'),
13751
13916
  poolId: brandedStringValidator("resourcePoolId").optional().describe("ID of the resource pool containing authentication credentials.")
13752
13917
  }),
13753
- z18.object({
13754
- type: z18.literal("customHost").describe("Authentication via 1Password credentials for custom host."),
13918
+ z19.object({
13919
+ type: z19.literal("customHost").describe("Authentication via 1Password credentials for custom host."),
13755
13920
  poolId: brandedStringValidator("resourcePoolId").optional().describe("ID of the resource pool containing 1Password authentication.")
13756
13921
  })
13757
13922
  ]).optional().describe("Authentication configuration for the API request. Uses credentials from a resource pool.")
@@ -13778,10 +13943,10 @@ var apiAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13778
13943
  path: ["baseUrlOverride"]
13779
13944
  }).describe("API agent configuration. Makes HTTP requests to external APIs without LLM decision making. Supports authentication via Nango connections.");
13780
13945
  var specializedAgentConfigSchema = baseAgentConfigFieldsSchema.safeExtend({
13781
- type: z18.literal("specialized").describe("Specialized agent type - runs a published specialized automation."),
13782
- specializedAutomationId: z18.string().min(1).describe("ID of the specialized automation to run.")
13946
+ type: z19.literal("specialized").describe("Specialized agent type - runs a published specialized automation."),
13947
+ specializedAutomationId: z19.string().min(1).describe("ID of the specialized automation to run.")
13783
13948
  }).describe("Specialized agent configuration. Runs a specialized automation shared by another organization and returns its output.");
13784
- var agentConfigSchemaUnion = z18.discriminatedUnion("type", [
13949
+ var agentConfigSchemaUnion = z19.discriminatedUnion("type", [
13785
13950
  agenticAgentConfigSchema,
13786
13951
  codeAgentConfigSchema,
13787
13952
  extractAgentConfigSchema,
@@ -13789,34 +13954,34 @@ var agentConfigSchemaUnion = z18.discriminatedUnion("type", [
13789
13954
  apiAgentConfigSchema,
13790
13955
  specializedAgentConfigSchema
13791
13956
  ]).describe("Agent configuration discriminated by type. Types: agentic (LLM-driven), code (predefined code), extract (data extraction), branch (routing decisions), api (HTTP requests), specialized (shared specialized automation).");
13792
- var agentConfigSchema = z18.preprocess((data) => {
13957
+ var agentConfigSchema = z19.preprocess((data) => {
13793
13958
  if (typeof data === "object" && data !== null && !("type" in data)) {
13794
13959
  return { ...data, type: "agentic" };
13795
13960
  }
13796
13961
  return data;
13797
13962
  }, agentConfigSchemaUnion).describe("Agent configuration. Defines the agent type, environment, available tools, model settings, and behavior options. If type is omitted, defaults to agentic.");
13798
- var draftAgentConfigSchemaUnion = z18.discriminatedUnion("type", [
13963
+ var draftAgentConfigSchemaUnion = z19.discriminatedUnion("type", [
13799
13964
  agenticAgentConfigSchema,
13800
13965
  codeAgentConfigSchema,
13801
13966
  extractAgentConfigSchema,
13802
13967
  draftBranchAgentConfigSchema,
13803
13968
  apiAgentConfigSchema,
13804
13969
  specializedAgentConfigSchema
13805
- ]).describe("Draft agent configuration discriminated by type. Uses a more permissive branch schema so incomplete branches can be saved before publish-time validation.");
13806
- var draftAgentConfigSchema = z18.preprocess((data) => {
13970
+ ]).describe("Draft agent configuration discriminated by type. Uses a more permissive decision schema so incomplete decision agents can be saved before publish-time validation.");
13971
+ var draftAgentConfigSchema = z19.preprocess((data) => {
13807
13972
  if (typeof data === "object" && data !== null && !("type" in data)) {
13808
13973
  return { ...data, type: "agentic" };
13809
13974
  }
13810
13975
  return data;
13811
- }, draftAgentConfigSchemaUnion).describe("Draft agent configuration. Matches authored validation for most agent types, but allows incomplete branch agents during draft saves.");
13976
+ }, draftAgentConfigSchemaUnion).describe("Draft agent configuration. Matches authored validation for most agent types, but allows incomplete decision agents during draft saves.");
13812
13977
  var DEFAULT_AGENT_CONFIG = agentConfigSchema.parse({});
13813
13978
 
13814
13979
  // ../common/dist/src/zod-schemas/automation-run-config.schema.js
13815
- import { z as z19 } from "zod";
13816
- var automationRunResolvedRunSettingsSchema = z19.object({
13980
+ import { z as z20 } from "zod";
13981
+ var automationRunResolvedRunSettingsSchema = z20.object({
13817
13982
  environmentOptions: runSettingsEnvironmentOptionsSchema.describe("Canonical run-settings-owned environment settings snapshotted onto the automation run when it starts in runSettings mode. Agent-owned fields such as startingUrl and maxMediaToIncludeInMemory are intentionally ignored at runtime."),
13818
13983
  resourcePools: resourcePoolsSchema.describe("Canonical run-settings-owned resource pools snapshotted onto the automation run when it starts in runSettings mode. Slot assignment and queue status use this only when resolvedRunSettingsSource is runSettings."),
13819
- skipBrowserDebuggerPauses: z19.boolean().optional().describe("Canonical run-settings-owned browser session startup setting snapshotted onto the automation run when it starts in runSettings mode.")
13984
+ skipBrowserDebuggerPauses: z20.boolean().optional().describe("Canonical run-settings-owned browser session startup setting snapshotted onto the automation run when it starts in runSettings mode.")
13820
13985
  });
13821
13986
  var CONSISTENCY_CHECK_COUNT_MAX = 50;
13822
13987
  var NETWORK_TRAFFIC_CAPTURE_RECORD_MODES = [
@@ -13824,18 +13989,18 @@ var NETWORK_TRAFFIC_CAPTURE_RECORD_MODES = [
13824
13989
  "explicit"
13825
13990
  ];
13826
13991
  var DEFAULT_NETWORK_TRAFFIC_CAPTURE_RECORD_MODE = "implicit";
13827
- var networkTrafficCaptureSchema = z19.discriminatedUnion("mode", [
13828
- z19.object({
13829
- mode: z19.literal("record"),
13830
- recordMode: z19.enum(NETWORK_TRAFFIC_CAPTURE_RECORD_MODES).optional().default(DEFAULT_NETWORK_TRAFFIC_CAPTURE_RECORD_MODE).describe("Whether this recording was created implicitly by automation infrastructure or explicitly requested by the user. Explicit recordings are retained longer.")
13992
+ var networkTrafficCaptureSchema = z20.discriminatedUnion("mode", [
13993
+ z20.object({
13994
+ mode: z20.literal("record"),
13995
+ recordMode: z20.enum(NETWORK_TRAFFIC_CAPTURE_RECORD_MODES).optional().default(DEFAULT_NETWORK_TRAFFIC_CAPTURE_RECORD_MODE).describe("Whether this recording was created implicitly by automation infrastructure or explicitly requested by the user. Explicit recordings are retained longer.")
13831
13996
  }).describe("Record network traffic for this run. The recording ID is generated from the automation run ID."),
13832
- z19.object({
13833
- mode: z19.literal("replay"),
13834
- recordingId: z19.uuid().describe("Recording ID from a previous record run in the same organization.")
13997
+ z20.object({
13998
+ mode: z20.literal("replay"),
13999
+ recordingId: z20.uuid().describe("Recording ID from a previous record run in the same organization.")
13835
14000
  }).describe("Replay network traffic from a previous recording.")
13836
14001
  ]).describe("Optional network traffic capture mode for this run. Applies to browser provider traffic and supported agent tool HTTP traffic, including API tool calls and provider-authenticated helper requests.");
13837
- var automationRunSlaTypeSchema = z19.enum(["all"]);
13838
- var automationRunSlaTimestampSchema = z19.iso.datetime();
14002
+ var automationRunSlaTypeSchema = z20.enum(["all"]);
14003
+ var automationRunSlaTimestampSchema = z20.iso.datetime();
13839
14004
  function refineAutomationRunSlaTimestampOrder(sla, ctx) {
13840
14005
  const startedAtMs = Date.parse(sla.startedAt);
13841
14006
  const breachesAtMs = Date.parse(sla.breachesAt);
@@ -13865,43 +14030,57 @@ function refineAutomationRunSlaTimestampOrder(sla, ctx) {
13865
14030
  });
13866
14031
  }
13867
14032
  }
13868
- var automationRunSlaSchema = z19.object({
14033
+ var automationRunSlaSchema = z20.object({
13869
14034
  startedAt: automationRunSlaTimestampSchema.describe("ISO timestamp when SLA tracking started for this run."),
13870
14035
  highRiskAt: automationRunSlaTimestampSchema.optional().describe("Optional ISO timestamp when this run should be considered at high risk of breaching its SLA."),
13871
14036
  breachesAt: automationRunSlaTimestampSchema.describe("ISO timestamp when this run breaches its SLA."),
13872
14037
  type: automationRunSlaTypeSchema.optional().default("all").describe("SLA policy type that applies to this automation run.")
13873
14038
  }).superRefine(refineAutomationRunSlaTimestampOrder).describe("Optional service-level timing metadata for queueing and runtime consumers of this automation run.");
13874
- var automationRunConfigSchema = z19.object({
13875
- approvalMode: z19.enum(["HUMAN_APPROVAL", "OFF"]).default("OFF"),
13876
- consistencyCheckCount: z19.number().int().nonnegative().max(CONSISTENCY_CHECK_COUNT_MAX).nullable().default(null),
13877
- settingsSourceAgentId: z19.uuid().nullable().optional().describe("Optional provenance/debug field recording which top-level agent supplied canonical run settings when the run started. Runtime consumers must not use this as a live pointer once resolvedRunSettingsSource has been decided."),
13878
- startInTakeOverMode: z19.boolean().default(false).describe("When true, create and prepare the remote session, then pause until a human manually starts the agent."),
13879
- captureActions: z19.boolean().default(false).describe("When true, attach an action recording while a draft run is paused in takeover mode."),
13880
- runDraftQueuedAgents: z19.boolean().optional().describe("Draft-run-only option. When false, queue-agent actions in the draft run report success without starting downstream queued draft child runs. Omit or true preserves queueing."),
13881
- allowPointOfNoReturnOverride: z19.boolean().optional().describe("Internal rerun authorization. When true, the rerun and its queued descendants may proceed past a point-of-no-return crossing owned by an earlier run."),
13882
- pointOfNoReturnGateEnabled: z19.literal(true).optional().describe("Infrastructure-owned rollout marker. PONR is enforced only for run trees created after the gate rollout."),
14039
+ var automationRunConfigBaseSchema = z20.object({
14040
+ approvalMode: z20.enum(["HUMAN_APPROVAL", "OFF"]).default("OFF"),
14041
+ consistencyCheckCount: z20.number().int().nonnegative().max(CONSISTENCY_CHECK_COUNT_MAX).nullable().default(null),
14042
+ settingsSourceAgentId: z20.uuid().nullable().optional().describe("Optional provenance/debug field recording which top-level agent supplied canonical run settings when the run started. Runtime consumers must not use this as a live pointer once resolvedRunSettingsSource has been decided."),
14043
+ startInTakeOverMode: z20.boolean().default(false).describe("When true, create and prepare the remote session, then pause until a human manually starts the agent."),
14044
+ captureActions: z20.boolean().default(false).describe("When true, attach an action recording while a draft run is paused in takeover mode."),
14045
+ runDraftQueuedAgents: z20.boolean().optional().describe("Draft-run-only option. When false, queue-agent actions in the draft run report success without starting downstream queued draft child runs. Omit or true preserves queueing."),
14046
+ allowPointOfNoReturnOverride: z20.boolean().optional().describe("Internal rerun authorization. When true, the rerun and its queued descendants may proceed past a point-of-no-return crossing owned by an earlier run."),
14047
+ pointOfNoReturnGateEnabled: z20.literal(true).optional().describe("Infrastructure-owned rollout marker. PONR is enforced only for run trees created after the gate rollout."),
13883
14048
  sla: automationRunSlaSchema.optional(),
13884
14049
  networkTrafficCapture: networkTrafficCaptureSchema.optional(),
13885
- implicitNetworkTrafficRecordingDecision: z19.object({
13886
- enabled: z19.boolean()
14050
+ networkTrafficCaptureExplicitlyDisabled: z20.literal(true).optional().describe("Infrastructure-owned marker indicating that network traffic capture was explicitly disabled for this run. When present, runtime policy resolution must not enable capture."),
14051
+ implicitNetworkTrafficRecordingDecision: z20.object({
14052
+ enabled: z20.boolean()
13887
14053
  }).optional().describe("Infrastructure-owned snapshot of the implicit network traffic recording flag decision. Runtime retries use this to avoid re-evaluating LaunchDarkly for the same run."),
13888
14054
  resolvedRunSettings: automationRunResolvedRunSettingsSchema.optional().describe("Canonical run settings snapshotted onto the automation run at creation time. Present only for runSettings mode; legacyConfig mode intentionally resolves runtime settings from each current agent config instead of storing a misleading snapshot."),
13889
14055
  queueResourcePools: resourcePoolsSchema.optional().describe("Canonical deduped resource-pool requirements snapshotted for queue and slot assignment. Present on new runs so assignment does not recompute requirements from mutable agent config."),
13890
14056
  credentialVariableResourcePools: resourcePoolsSchema.optional().describe("Additional resource pools selected through credential-valued automation variables. These are additive queue requirements and do not change whether the run uses runSettings or legacyConfig as its runtime settings source."),
13891
- resolvedRunSettingsSource: z19.enum(["runSettings", "legacyConfig"]).optional().describe("Runtime mode decided at run creation. runSettings means resolvedRunSettings is canonical for browser/session/resource-pool behaviour; legacyConfig means runtime consumers must use current agent legacy config fields.")
14057
+ resolvedRunSettingsSource: z20.enum(["runSettings", "legacyConfig"]).optional().describe("Runtime mode decided at run creation. runSettings means resolvedRunSettings is canonical for browser/session/resource-pool behaviour; legacyConfig means runtime consumers must use current agent legacy config fields.")
14058
+ });
14059
+ var automationRunConfigSchema = automationRunConfigBaseSchema.superRefine((config, ctx) => {
14060
+ if (config.networkTrafficCaptureExplicitlyDisabled === true && config.networkTrafficCapture !== void 0) {
14061
+ ctx.addIssue({
14062
+ code: "custom",
14063
+ path: ["networkTrafficCapture"],
14064
+ message: "networkTrafficCapture cannot be configured when networkTrafficCaptureExplicitlyDisabled is true."
14065
+ });
14066
+ }
13892
14067
  });
13893
- var automationRunStartConfigSchema = automationRunConfigSchema.omit({
14068
+ var automationRunStartConfigSchema = automationRunConfigBaseSchema.omit({
13894
14069
  allowPointOfNoReturnOverride: true,
13895
14070
  credentialVariableResourcePools: true,
13896
14071
  implicitNetworkTrafficRecordingDecision: true,
14072
+ networkTrafficCapture: true,
14073
+ networkTrafficCaptureExplicitlyDisabled: true,
13897
14074
  queueResourcePools: true,
13898
14075
  resolvedRunSettings: true,
13899
14076
  resolvedRunSettingsSource: true,
13900
14077
  pointOfNoReturnGateEnabled: true
14078
+ }).extend({
14079
+ networkTrafficCapture: networkTrafficCaptureSchema.nullable().optional().describe("Network traffic capture preference for this run. Omit to apply the implicit recording policy, pass null to explicitly disable capture, or pass a record/replay config to explicitly enable capture.")
13901
14080
  });
13902
14081
 
13903
14082
  // ../mcp-registry/src/operation-specs.ts
13904
- import { z as z20 } from "zod";
14083
+ import { z as z21 } from "zod";
13905
14084
 
13906
14085
  // ../mcp-registry/src/operation-spec.ts
13907
14086
  function stripLeadingGraphqlComments(document) {
@@ -14005,7 +14184,7 @@ function jsonOption({
14005
14184
  valueType: "json"
14006
14185
  };
14007
14186
  }
14008
- var jsonObjectSchema = z20.record(z20.string(), z20.unknown());
14187
+ var jsonObjectSchema = z21.record(z21.string(), z21.unknown());
14009
14188
  var agentBrowserProviderOptionsSelection = ` browserbase {
14010
14189
  advancedStealth
14011
14190
  contextId
@@ -14101,8 +14280,8 @@ var operationSpecs = [
14101
14280
  createOperationSpec({
14102
14281
  operationName: "GetAgents",
14103
14282
  kind: "query",
14104
- inputSchema: z20.object({
14105
- ids: z20.array(z20.string().min(1)).min(1)
14283
+ inputSchema: z21.object({
14284
+ ids: z21.array(z21.string().min(1)).min(1)
14106
14285
  }),
14107
14286
  cli: {
14108
14287
  name: "get-agents",
@@ -14141,6 +14320,7 @@ query GetAgents($ids: [ID!]!) {
14141
14320
  model
14142
14321
  tools
14143
14322
  maxSessionMessages
14323
+ outputStoreBindings
14144
14324
  ${agentEnvironmentOptionsSelection}
14145
14325
  ${agentLimitationsSelection}
14146
14326
  commonParametersSchema
@@ -14162,9 +14342,9 @@ ${agentLimitationsSelection}
14162
14342
  createOperationSpec({
14163
14343
  operationName: "GetAgentVersion",
14164
14344
  kind: "query",
14165
- inputSchema: z20.object({
14166
- agentId: z20.string().min(1),
14167
- versionId: z20.string().min(1)
14345
+ inputSchema: z21.object({
14346
+ agentId: z21.string().min(1),
14347
+ versionId: z21.string().min(1)
14168
14348
  }),
14169
14349
  cli: {
14170
14350
  name: "get-agent-version",
@@ -14209,6 +14389,7 @@ query GetAgentVersion($agentId: ID!, $versionId: ID!) {
14209
14389
  model
14210
14390
  tools
14211
14391
  maxSessionMessages
14392
+ outputStoreBindings
14212
14393
  ${agentEnvironmentOptionsSelection}
14213
14394
  ${agentLimitationsSelection}
14214
14395
  commonParametersSchema
@@ -14226,8 +14407,8 @@ ${agentLimitationsSelection}
14226
14407
  createOperationSpec({
14227
14408
  operationName: "GetAgentVersions",
14228
14409
  kind: "query",
14229
- inputSchema: z20.object({
14230
- agentId: z20.string().min(1)
14410
+ inputSchema: z21.object({
14411
+ agentId: z21.string().min(1)
14231
14412
  }),
14232
14413
  cli: {
14233
14414
  name: "get-agent-versions",
@@ -14261,10 +14442,10 @@ query GetAgentVersions($agentId: ID!) {
14261
14442
  createOperationSpec({
14262
14443
  operationName: "DiffAgentVersion",
14263
14444
  kind: "query",
14264
- inputSchema: z20.object({
14265
- agentId: z20.string().min(1),
14266
- versionId: z20.string().min(1),
14267
- compareVersionId: z20.string().min(1).optional()
14445
+ inputSchema: z21.object({
14446
+ agentId: z21.string().min(1),
14447
+ versionId: z21.string().min(1),
14448
+ compareVersionId: z21.string().min(1).optional()
14268
14449
  }),
14269
14450
  cli: {
14270
14451
  name: "diff-agent-version",
@@ -14318,8 +14499,8 @@ query DiffAgentVersion(
14318
14499
  createOperationSpec({
14319
14500
  operationName: "GetAgentRun",
14320
14501
  kind: "query",
14321
- inputSchema: z20.object({
14322
- id: z20.string().min(1)
14502
+ inputSchema: z21.object({
14503
+ id: z21.string().min(1)
14323
14504
  }),
14324
14505
  cli: {
14325
14506
  name: "get-agent-run",
@@ -14355,8 +14536,8 @@ query GetAgentRun($id: ID!) {
14355
14536
  createOperationSpec({
14356
14537
  operationName: "GetAutomationAgents",
14357
14538
  kind: "query",
14358
- inputSchema: z20.object({
14359
- ids: z20.array(z20.string().min(1)).min(1)
14539
+ inputSchema: z21.object({
14540
+ ids: z21.array(z21.string().min(1)).min(1)
14360
14541
  }),
14361
14542
  cli: {
14362
14543
  name: "get-automation-agents",
@@ -14399,8 +14580,8 @@ query GetAutomationAgents($ids: [ID!]!) {
14399
14580
  createOperationSpec({
14400
14581
  operationName: "GetAutomationDiffFromPublished",
14401
14582
  kind: "query",
14402
- inputSchema: z20.object({
14403
- automationId: z20.string().min(1)
14583
+ inputSchema: z21.object({
14584
+ automationId: z21.string().min(1)
14404
14585
  }),
14405
14586
  cli: {
14406
14587
  name: "get-automation-diff-from-published",
@@ -14433,9 +14614,9 @@ query GetAutomationDiffFromPublished($automationId: ID!) {
14433
14614
  createOperationSpec({
14434
14615
  operationName: "GetAutomationDiffVersions",
14435
14616
  kind: "query",
14436
- inputSchema: z20.object({
14437
- baseVersionId: z20.string().min(1),
14438
- targetVersionId: z20.string().min(1)
14617
+ inputSchema: z21.object({
14618
+ baseVersionId: z21.string().min(1),
14619
+ targetVersionId: z21.string().min(1)
14439
14620
  }),
14440
14621
  cli: {
14441
14622
  name: "get-automation-diff-versions",
@@ -14476,10 +14657,10 @@ query GetAutomationDiffVersions($baseVersionId: ID!, $targetVersionId: ID!) {
14476
14657
  createOperationSpec({
14477
14658
  operationName: "GetAutomationVersionJson",
14478
14659
  kind: "query",
14479
- inputSchema: z20.object({
14480
- versionId: z20.string().min(1),
14481
- paths: z20.array(z20.string().min(1)).optional(),
14482
- format: z20.enum(["normalized", "full", "export"]).optional()
14660
+ inputSchema: z21.object({
14661
+ versionId: z21.string().min(1),
14662
+ paths: z21.array(z21.string().min(1)).optional(),
14663
+ format: z21.enum(["normalized", "full", "export"]).optional()
14483
14664
  }),
14484
14665
  cli: {
14485
14666
  name: "get-automation-version-json",
@@ -14514,8 +14695,8 @@ query GetAutomationVersionJson($versionId: ID!, $paths: [String!], $format: Stri
14514
14695
  createOperationSpec({
14515
14696
  operationName: "GetAutomationVersionJsonSkeleton",
14516
14697
  kind: "query",
14517
- inputSchema: z20.object({
14518
- versionId: z20.string().min(1)
14698
+ inputSchema: z21.object({
14699
+ versionId: z21.string().min(1)
14519
14700
  }),
14520
14701
  cli: {
14521
14702
  name: "get-automation-version-json-skeleton",
@@ -14540,8 +14721,8 @@ query GetAutomationVersionJsonSkeleton($versionId: ID!) {
14540
14721
  createOperationSpec({
14541
14722
  operationName: "GetAutomationRun",
14542
14723
  kind: "query",
14543
- inputSchema: z20.object({
14544
- id: z20.string().min(1)
14724
+ inputSchema: z21.object({
14725
+ id: z21.string().min(1)
14545
14726
  }),
14546
14727
  cli: {
14547
14728
  name: "get-automation-run",
@@ -14581,8 +14762,8 @@ query GetAutomationRun($id: ID!) {
14581
14762
  createOperationSpec({
14582
14763
  operationName: "GetAutomationRunAgentRuns",
14583
14764
  kind: "query",
14584
- inputSchema: z20.object({
14585
- automationRunId: z20.string().min(1)
14765
+ inputSchema: z21.object({
14766
+ automationRunId: z21.string().min(1)
14586
14767
  }),
14587
14768
  cli: {
14588
14769
  name: "get-automation-run-agent-runs",
@@ -14618,11 +14799,11 @@ query GetAutomationRunAgentRuns($automationRunId: ID!) {
14618
14799
  createOperationSpec({
14619
14800
  operationName: "GetAutomationRunIterations",
14620
14801
  kind: "query",
14621
- inputSchema: z20.object({
14622
- automationRunId: z20.string().min(1),
14623
- agentRunId: z20.string().min(1).optional(),
14624
- limit: z20.number().int().positive().optional(),
14625
- reverse: z20.boolean().optional()
14802
+ inputSchema: z21.object({
14803
+ automationRunId: z21.string().min(1),
14804
+ agentRunId: z21.string().min(1).optional(),
14805
+ limit: z21.number().int().positive().optional(),
14806
+ reverse: z21.boolean().optional()
14626
14807
  }),
14627
14808
  cli: {
14628
14809
  name: "get-automation-run-iterations",
@@ -14691,14 +14872,14 @@ query GetAutomationRunIterations(
14691
14872
  createOperationSpec({
14692
14873
  operationName: "GetAutomationRuns",
14693
14874
  kind: "query",
14694
- inputSchema: z20.object({
14695
- automationId: z20.string().min(1).optional(),
14696
- from: z20.string().min(1).optional(),
14697
- status: z20.array(z20.string().min(1)).optional(),
14698
- invocationType: z20.array(z20.string().min(1)).optional(),
14699
- limit: z20.number().int().positive().optional(),
14700
- page: z20.number().int().nonnegative().optional(),
14701
- to: z20.string().min(1).optional()
14875
+ inputSchema: z21.object({
14876
+ automationId: z21.string().min(1).optional(),
14877
+ from: z21.string().min(1).optional(),
14878
+ status: z21.array(z21.string().min(1)).optional(),
14879
+ invocationType: z21.array(z21.string().min(1)).optional(),
14880
+ limit: z21.number().int().positive().optional(),
14881
+ page: z21.number().int().nonnegative().optional(),
14882
+ to: z21.string().min(1).optional()
14702
14883
  }),
14703
14884
  cli: {
14704
14885
  name: "get-automation-runs",
@@ -14780,8 +14961,8 @@ query GetAutomationRuns(
14780
14961
  createOperationSpec({
14781
14962
  operationName: "ListAutomations",
14782
14963
  kind: "query",
14783
- inputSchema: z20.object({
14784
- limit: z20.number().positive().optional(),
14964
+ inputSchema: z21.object({
14965
+ limit: z21.number().positive().optional(),
14785
14966
  order: jsonObjectSchema.optional(),
14786
14967
  where: jsonObjectSchema.optional()
14787
14968
  }),
@@ -14832,8 +15013,8 @@ query ListAutomations(
14832
15013
  createOperationSpec({
14833
15014
  operationName: "GetAutomations",
14834
15015
  kind: "query",
14835
- inputSchema: z20.object({
14836
- ids: z20.array(z20.string().min(1)).min(1)
15016
+ inputSchema: z21.object({
15017
+ ids: z21.array(z21.string().min(1)).min(1)
14837
15018
  }),
14838
15019
  cli: {
14839
15020
  name: "get-automations",
@@ -14881,8 +15062,8 @@ query GetAutomations($ids: [ID!]!) {
14881
15062
  createOperationSpec({
14882
15063
  operationName: "GetAvailableCommands",
14883
15064
  kind: "query",
14884
- inputSchema: z20.object({
14885
- env: z20.string().min(1)
15065
+ inputSchema: z21.object({
15066
+ env: z21.string().min(1)
14886
15067
  }),
14887
15068
  cli: {
14888
15069
  name: "get-available-commands",
@@ -14912,8 +15093,8 @@ query GetAvailableCommands($env: AvailableCommandsEnv!) {
14912
15093
  createOperationSpec({
14913
15094
  operationName: "GetAvailableModels",
14914
15095
  kind: "query",
14915
- inputSchema: z20.object({
14916
- agentId: z20.string().min(1)
15096
+ inputSchema: z21.object({
15097
+ agentId: z21.string().min(1)
14917
15098
  }),
14918
15099
  cli: {
14919
15100
  name: "get-available-models",
@@ -14957,9 +15138,9 @@ query GetAvailableModels($agentId: String!) {
14957
15138
  createOperationSpec({
14958
15139
  operationName: "GetAvailableTools",
14959
15140
  kind: "query",
14960
- inputSchema: z20.object({
14961
- env: z20.string().min(1),
14962
- automationId: z20.string().min(1).optional()
15141
+ inputSchema: z21.object({
15142
+ env: z21.string().min(1),
15143
+ automationId: z21.string().min(1).optional()
14963
15144
  }),
14964
15145
  cli: {
14965
15146
  name: "get-available-tools",
@@ -14993,8 +15174,8 @@ query GetAvailableTools($env: AvailableCommandsEnv!, $automationId: String) {
14993
15174
  createOperationSpec({
14994
15175
  operationName: "GetFeatureFlagsContext",
14995
15176
  kind: "query",
14996
- inputSchema: z20.object({
14997
- flagKeys: z20.array(z20.string().min(1)).min(1).max(100).optional()
15177
+ inputSchema: z21.object({
15178
+ flagKeys: z21.array(z21.string().min(1)).min(1).max(100).optional()
14998
15179
  }),
14999
15180
  cli: {
15000
15181
  name: "get-feature-flags-context",
@@ -15031,7 +15212,7 @@ query GetFeatureFlagsContext($flagKeys: [String!]) {
15031
15212
  createOperationSpec({
15032
15213
  operationName: "GetAutomationWorkbenchCredentials",
15033
15214
  kind: "query",
15034
- inputSchema: z20.object({}),
15215
+ inputSchema: z21.object({}),
15035
15216
  cli: {
15036
15217
  name: "get-automation-workbench-credentials",
15037
15218
  path: ["workbench", "credentials"],
@@ -15056,8 +15237,8 @@ query GetAutomationWorkbenchCredentials {
15056
15237
  createOperationSpec({
15057
15238
  operationName: "GetAutomationWorkbenchDiagnostics",
15058
15239
  kind: "query",
15059
- inputSchema: z20.object({
15060
- draftAutomationId: z20.string().min(1)
15240
+ inputSchema: z21.object({
15241
+ draftAutomationId: z21.string().min(1)
15061
15242
  }),
15062
15243
  cli: {
15063
15244
  name: "get-automation-workbench-diagnostics",
@@ -15122,11 +15303,11 @@ query GetAutomationWorkbenchDiagnostics($draftAutomationId: ID!) {
15122
15303
  createOperationSpec({
15123
15304
  operationName: "GetAutomationWorkbenchRunTrace",
15124
15305
  kind: "query",
15125
- inputSchema: z20.object({
15126
- automationRunId: z20.string().min(1),
15127
- agentRunId: z20.string().min(1).optional(),
15128
- limit: z20.number().int().positive().optional(),
15129
- reverse: z20.boolean().optional()
15306
+ inputSchema: z21.object({
15307
+ automationRunId: z21.string().min(1),
15308
+ agentRunId: z21.string().min(1).optional(),
15309
+ limit: z21.number().int().positive().optional(),
15310
+ reverse: z21.boolean().optional()
15130
15311
  }),
15131
15312
  cli: {
15132
15313
  name: "get-automation-workbench-run-trace",
@@ -15258,13 +15439,13 @@ query GetAutomationWorkbenchRunTrace(
15258
15439
  createOperationSpec({
15259
15440
  operationName: "GetAutomationWorkbenchAwaitRunCompletion",
15260
15441
  kind: "query",
15261
- inputSchema: z20.object({
15262
- automationRunId: z20.string().min(1),
15263
- timeoutMs: z20.number().int().min(1e3).max(6e4).optional(),
15264
- sinceSequence: z20.number().int().min(0).optional(),
15265
- agentRunId: z20.string().min(1).optional(),
15266
- limit: z20.number().int().positive().optional(),
15267
- reverse: z20.boolean().optional()
15442
+ inputSchema: z21.object({
15443
+ automationRunId: z21.string().min(1),
15444
+ timeoutMs: z21.number().int().min(1e3).max(6e4).optional(),
15445
+ sinceSequence: z21.number().int().min(0).optional(),
15446
+ agentRunId: z21.string().min(1).optional(),
15447
+ limit: z21.number().int().positive().optional(),
15448
+ reverse: z21.boolean().optional()
15268
15449
  }),
15269
15450
  cli: {
15270
15451
  name: "await-automation-workbench-run-completion",
@@ -15418,11 +15599,11 @@ query GetAutomationWorkbenchAwaitRunCompletion(
15418
15599
  createOperationSpec({
15419
15600
  operationName: "GetAutomationWorkbenchSchemaSuggestions",
15420
15601
  kind: "query",
15421
- inputSchema: z20.object({
15422
- automationRunId: z20.string().min(1),
15423
- draftAutomationId: z20.string().min(1).optional(),
15424
- minConfidence: z20.number().min(0).max(1).optional(),
15425
- includeSensitive: z20.boolean().optional()
15602
+ inputSchema: z21.object({
15603
+ automationRunId: z21.string().min(1),
15604
+ draftAutomationId: z21.string().min(1).optional(),
15605
+ minConfidence: z21.number().min(0).max(1).optional(),
15606
+ includeSensitive: z21.boolean().optional()
15426
15607
  }),
15427
15608
  cli: {
15428
15609
  name: "get-automation-workbench-schema-suggestions",
@@ -15490,7 +15671,7 @@ query GetAutomationWorkbenchSchemaSuggestions(
15490
15671
  createOperationSpec({
15491
15672
  operationName: "CreateAutomation",
15492
15673
  kind: "mutation",
15493
- inputSchema: z20.object({
15674
+ inputSchema: z21.object({
15494
15675
  input: jsonObjectSchema
15495
15676
  }),
15496
15677
  cli: {
@@ -15527,7 +15708,7 @@ mutation CreateAutomation($input: CreateAutomationInput!) {
15527
15708
  createOperationSpec({
15528
15709
  operationName: "GetGraphqlSchema",
15529
15710
  kind: "query",
15530
- inputSchema: z20.object({}),
15711
+ inputSchema: z21.object({}),
15531
15712
  cli: {
15532
15713
  name: "get-graphql-schema",
15533
15714
  path: ["graphql", "schema"],
@@ -15548,8 +15729,8 @@ query GetGraphqlSchema {
15548
15729
  createOperationSpec({
15549
15730
  operationName: "PauseAutomationRun",
15550
15731
  kind: "mutation",
15551
- inputSchema: z20.object({
15552
- automationRunId: z20.string().min(1)
15732
+ inputSchema: z21.object({
15733
+ automationRunId: z21.string().min(1)
15553
15734
  }),
15554
15735
  cli: {
15555
15736
  name: "pause-automation-run",
@@ -15574,11 +15755,11 @@ mutation PauseAutomationRun($automationRunId: ID!) {
15574
15755
  createOperationSpec({
15575
15756
  operationName: "RerunAutomation",
15576
15757
  kind: "mutation",
15577
- inputSchema: z20.object({
15578
- automationRunId: z20.string().min(1),
15579
- additionalPrompt: z20.string().min(1).optional(),
15580
- idempotencyKey: z20.string().min(1),
15581
- allowPointOfNoReturnOverride: z20.boolean().optional()
15758
+ inputSchema: z21.object({
15759
+ automationRunId: z21.string().min(1),
15760
+ additionalPrompt: z21.string().min(1).optional(),
15761
+ idempotencyKey: z21.string().min(1),
15762
+ allowPointOfNoReturnOverride: z21.boolean().optional()
15582
15763
  }),
15583
15764
  cli: {
15584
15765
  name: "rerun-automation",
@@ -15633,9 +15814,9 @@ mutation RerunAutomation(
15633
15814
  createOperationSpec({
15634
15815
  operationName: "ResumeAutomationRun",
15635
15816
  kind: "mutation",
15636
- inputSchema: z20.object({
15637
- automationRunId: z20.string().min(1),
15638
- message: z20.string().min(1).optional()
15817
+ inputSchema: z21.object({
15818
+ automationRunId: z21.string().min(1),
15819
+ message: z21.string().min(1).optional()
15639
15820
  }),
15640
15821
  cli: {
15641
15822
  name: "resume-automation-run",
@@ -15665,15 +15846,15 @@ mutation ResumeAutomationRun($automationRunId: ID!, $message: String) {
15665
15846
  createOperationSpec({
15666
15847
  operationName: "RunDraftAutomation",
15667
15848
  kind: "mutation",
15668
- inputSchema: z20.object({
15669
- draftAutomationId: z20.string().min(1),
15670
- agentId: z20.string().min(1),
15671
- idempotencyKey: z20.string().min(1),
15672
- input: z20.unknown().optional(),
15673
- initialStore: z20.record(z20.string(), z20.unknown()).optional(),
15849
+ inputSchema: z21.object({
15850
+ draftAutomationId: z21.string().min(1),
15851
+ agentId: z21.string().min(1),
15852
+ idempotencyKey: z21.string().min(1),
15853
+ input: z21.unknown().optional(),
15854
+ initialStore: z21.record(z21.string(), z21.unknown()).optional(),
15674
15855
  config: automationRunStartConfigSchema.partial().passthrough().optional(),
15675
- additionalPrompt: z20.string().min(1).optional(),
15676
- consistencyCheckCount: z20.number().int().optional()
15856
+ additionalPrompt: z21.string().min(1).optional(),
15857
+ consistencyCheckCount: z21.number().int().optional()
15677
15858
  }),
15678
15859
  cli: {
15679
15860
  name: "run-draft-automation",
@@ -15758,8 +15939,8 @@ mutation RunDraftAutomation(
15758
15939
  createOperationSpec({
15759
15940
  operationName: "StopAutomationRun",
15760
15941
  kind: "mutation",
15761
- inputSchema: z20.object({
15762
- automationRunId: z20.string().min(1)
15942
+ inputSchema: z21.object({
15943
+ automationRunId: z21.string().min(1)
15763
15944
  }),
15764
15945
  cli: {
15765
15946
  name: "stop-automation-run",
@@ -15784,10 +15965,10 @@ mutation StopAutomationRun($automationRunId: ID!) {
15784
15965
  createOperationSpec({
15785
15966
  operationName: "PreviewAutomationPatch",
15786
15967
  kind: "mutation",
15787
- inputSchema: z20.object({
15788
- draftAutomationId: z20.string().min(1),
15789
- expectedLastSavedAt: z20.string().optional(),
15790
- operations: z20.array(z20.unknown()).min(1)
15968
+ inputSchema: z21.object({
15969
+ draftAutomationId: z21.string().min(1),
15970
+ expectedLastSavedAt: z21.string().optional(),
15971
+ operations: z21.array(z21.unknown()).min(1)
15791
15972
  }),
15792
15973
  cli: {
15793
15974
  name: "preview-automation-patch",
@@ -15896,9 +16077,9 @@ mutation PreviewAutomationPatch(
15896
16077
  createOperationSpec({
15897
16078
  operationName: "ApplyAutomationPatch",
15898
16079
  kind: "mutation",
15899
- inputSchema: z20.object({
15900
- draftAutomationId: z20.string().min(1),
15901
- operations: z20.array(z20.unknown()).min(1)
16080
+ inputSchema: z21.object({
16081
+ draftAutomationId: z21.string().min(1),
16082
+ operations: z21.array(z21.unknown()).min(1)
15902
16083
  }),
15903
16084
  cli: {
15904
16085
  name: "apply-automation-patch",
@@ -16014,8 +16195,8 @@ mutation ApplyAutomationPatch(
16014
16195
  createOperationSpec({
16015
16196
  operationName: "UpdateAutomationById",
16016
16197
  kind: "mutation",
16017
- inputSchema: z20.object({
16018
- id: z20.string().min(1),
16198
+ inputSchema: z21.object({
16199
+ id: z21.string().min(1),
16019
16200
  input: jsonObjectSchema
16020
16201
  }),
16021
16202
  cli: {
@@ -16033,7 +16214,7 @@ mutation ApplyAutomationPatch(
16033
16214
  jsonOption({
16034
16215
  inputKey: "input",
16035
16216
  flagName: "input-json",
16036
- description: "UpdateAutomationInput payload. Must include baseVersionId from a fresh automations get/list call.",
16217
+ description: "UpdateAutomationInput payload. Must include baseVersionId from a fresh read. Store schema writes are additive under config.storeSchema; use removeStoreSchemaPaths for explicit deletion or replaceStoreSchema for exact replacement.",
16037
16218
  required: true
16038
16219
  })
16039
16220
  ]
@@ -16042,6 +16223,8 @@ mutation ApplyAutomationPatch(
16042
16223
  document: `# Mutation to update an automation
16043
16224
  # Before calling, fetch the automation and agents again. Pass the fetched draftVersionId as input.baseVersionId.
16044
16225
  # If this mutation returns a draft-automation-version-conflict, discard the generated update, refetch the automation and agents, inspect what changed, then regenerate the update on top of the latest version.
16226
+ # config.storeSchema remains additive. Use removeStoreSchemaPaths to delete named properties (and combine it with config.storeSchema for an atomic rename), or replaceStoreSchema for an exact replacement. replaceStoreSchema cannot be combined with either of those fields.
16227
+ # Destructive Store schema changes are rejected when the final agent set still references a removed property. Rewrite those agent references in the same update or leave the property in place.
16045
16228
  # Returns only id and lastSavedAt for MCP tool simplicity
16046
16229
  mutation UpdateAutomationById($id: ID!, $input: UpdateAutomationInput!) {
16047
16230
  updateAutomation(id: $id, input: $input) {
@@ -16056,58 +16239,58 @@ mutation UpdateAutomationById($id: ID!, $input: UpdateAutomationInput!) {
16056
16239
  import { Command as Command2, InvalidArgumentError as InvalidArgumentError2, Option as Option2 } from "commander";
16057
16240
 
16058
16241
  // src/api.ts
16059
- import { z as z21 } from "zod";
16242
+ import { z as z23 } from "zod";
16060
16243
  var OTTO_AUTHORIZATION_HEADER_NAME = "X-Otto-Authorization";
16061
16244
  var OTTO_AUTHORIZATION_ISSUER = "magical:otto";
16062
- var workosOrganizationsResponseSchema = z21.object({
16063
- organizations: z21.array(
16064
- z21.object({
16065
- id: z21.string().min(1),
16066
- name: z21.string().min(1),
16067
- primaryDomain: z21.string().nullable().optional()
16245
+ var workosOrganizationsResponseSchema = z23.object({
16246
+ organizations: z23.array(
16247
+ z23.object({
16248
+ id: z23.string().min(1),
16249
+ name: z23.string().min(1),
16250
+ primaryDomain: z23.string().nullable().optional()
16068
16251
  })
16069
16252
  ),
16070
- success: z21.boolean()
16253
+ success: z23.boolean()
16071
16254
  });
16072
- var workosUserSchema = z21.object({
16073
- email: z21.string().nullable(),
16074
- id: z21.string().min(1)
16255
+ var workosUserSchema = z23.object({
16256
+ email: z23.string().nullable(),
16257
+ id: z23.string().min(1)
16075
16258
  });
16076
- var nangoIntegrationWireSchema = z21.object({
16259
+ var nangoIntegrationWireSchema = z23.object({
16077
16260
  // eslint-disable-next-line @typescript-eslint/naming-convention -- mirrors Nango REST payload
16078
- unique_key: z21.string().min(1)
16261
+ unique_key: z23.string().min(1)
16079
16262
  }).passthrough().transform((data) => ({
16080
16263
  ...data,
16081
16264
  uniqueKey: data.unique_key
16082
16265
  }));
16083
- var nangoIntegrationsResponseSchema = z21.array(nangoIntegrationWireSchema);
16084
- var organizationAuthenticationSchema = z21.object({
16085
- id: z21.string().min(1),
16086
- type: z21.string().min(1),
16087
- connectionId: z21.string().nullable().optional(),
16088
- providerConfigKey: z21.string().nullable().optional(),
16089
- description: z21.string().nullable().optional(),
16090
- hostname: z21.string().nullable().optional()
16266
+ var nangoIntegrationsResponseSchema = z23.array(nangoIntegrationWireSchema);
16267
+ var organizationAuthenticationSchema = z23.object({
16268
+ id: z23.string().min(1),
16269
+ type: z23.string().min(1),
16270
+ connectionId: z23.string().nullable().optional(),
16271
+ providerConfigKey: z23.string().nullable().optional(),
16272
+ description: z23.string().nullable().optional(),
16273
+ hostname: z23.string().nullable().optional()
16091
16274
  }).passthrough();
16092
- var organizationAuthenticationsResponseSchema = z21.object({
16093
- authentications: z21.array(organizationAuthenticationSchema),
16094
- success: z21.boolean()
16275
+ var organizationAuthenticationsResponseSchema = z23.object({
16276
+ authentications: z23.array(organizationAuthenticationSchema),
16277
+ success: z23.boolean()
16095
16278
  });
16096
- var graphQlResponseSchema = z21.object({
16097
- data: z21.record(z21.string(), z21.unknown()).optional(),
16098
- errors: z21.array(
16099
- z21.object({
16100
- message: z21.string().min(1)
16279
+ var graphQlResponseSchema = z23.object({
16280
+ data: z23.record(z23.string(), z23.unknown()).optional(),
16281
+ errors: z23.array(
16282
+ z23.object({
16283
+ message: z23.string().min(1)
16101
16284
  })
16102
16285
  ).optional()
16103
16286
  });
16104
- var apiErrorResponseSchema = z21.object({
16105
- errors: z21.array(
16106
- z21.object({
16107
- message: z21.string().min(1)
16287
+ var apiErrorResponseSchema = z23.object({
16288
+ errors: z23.array(
16289
+ z23.object({
16290
+ message: z23.string().min(1)
16108
16291
  })
16109
16292
  ).optional(),
16110
- message: z21.string().min(1).optional()
16293
+ message: z23.string().min(1).optional()
16111
16294
  });
16112
16295
  function getApiErrorDetail(responseBody) {
16113
16296
  const parsedResponse = apiErrorResponseSchema.safeParse(responseBody);
@@ -16191,6 +16374,7 @@ function createMagicalApiClient({
16191
16374
  ...impersonatedOrganizationId ? { impersonatedOrganizationId } : {},
16192
16375
  ...organizationId ? { organizationId } : {}
16193
16376
  });
16377
+ headers.set("x-magical-client", "mgcl");
16194
16378
  const response = await fetchFn(url, {
16195
16379
  ...init,
16196
16380
  headers
@@ -16394,10 +16578,10 @@ function requireWorkosClientId(config) {
16394
16578
  // src/settings.ts
16395
16579
  import { mkdir, readFile, rm, writeFile } from "node:fs/promises";
16396
16580
  import path2 from "node:path";
16397
- import { z as z23 } from "zod";
16398
- var cliSettingsSchema = z23.object({
16399
- env: z23.object({
16400
- baseUrl: z23.url().optional()
16581
+ import { z as z24 } from "zod";
16582
+ var cliSettingsSchema = z24.object({
16583
+ env: z24.object({
16584
+ baseUrl: z24.url().optional()
16401
16585
  }).default({})
16402
16586
  });
16403
16587
  function createEmptyCliSettings() {
@@ -16999,24 +17183,24 @@ ${formatExamples("Examples", [
16999
17183
  // src/state.ts
17000
17184
  import { mkdir as mkdir2, readFile as readFile3, rm as rm3, writeFile as writeFile2 } from "node:fs/promises";
17001
17185
  import path4 from "node:path";
17002
- import { z as z24 } from "zod";
17003
- var cliAccountSchema = z24.object({
17004
- clientId: z24.string().min(1),
17005
- email: z24.string().nullable(),
17006
- userId: z24.string().min(1)
17186
+ import { z as z25 } from "zod";
17187
+ var cliAccountSchema = z25.object({
17188
+ clientId: z25.string().min(1),
17189
+ email: z25.string().nullable(),
17190
+ userId: z25.string().min(1)
17007
17191
  });
17008
- var cliOrganizationSchema = z24.object({
17009
- id: z24.string().min(1),
17010
- name: z24.string().min(1),
17011
- primaryDomain: z24.string().nullable().default(null)
17192
+ var cliOrganizationSchema = z25.object({
17193
+ id: z25.string().min(1),
17194
+ name: z25.string().min(1),
17195
+ primaryDomain: z25.string().nullable().default(null)
17012
17196
  });
17013
- var cliStateSchema = z24.object({
17197
+ var cliStateSchema = z25.object({
17014
17198
  account: cliAccountSchema,
17015
- defaultOrgId: z24.string().nullable(),
17016
- lastUsedOrgId: z24.string().nullable(),
17017
- organizations: z24.array(cliOrganizationSchema)
17199
+ defaultOrgId: z25.string().nullable(),
17200
+ lastUsedOrgId: z25.string().nullable(),
17201
+ organizations: z25.array(cliOrganizationSchema)
17018
17202
  });
17019
- var refreshTokenFileSchema = z24.record(z24.string(), z24.string());
17203
+ var refreshTokenFileSchema = z25.record(z25.string(), z25.string());
17020
17204
  function createFileStateStore(stateFilePath) {
17021
17205
  return {
17022
17206
  async clear() {
@@ -17129,37 +17313,37 @@ if (typeof cliPackageVersion !== "string" || cliPackageVersion.length === 0) {
17129
17313
  var CLI_VERSION = cliPackageVersion;
17130
17314
 
17131
17315
  // src/workos-auth.ts
17132
- import { z as z25 } from "zod";
17316
+ import { z as z26 } from "zod";
17133
17317
  var DEFAULT_DEVICE_POLL_INTERVAL_SECONDS = 5;
17134
17318
  function buildFormHeaders() {
17135
17319
  const headers = new Headers();
17136
17320
  headers.set("content-type", "application/x-www-form-urlencoded");
17137
17321
  return headers;
17138
17322
  }
17139
- var deviceAuthorizationSchema = z25.object({
17140
- device_code: z25.string().min(1),
17141
- expires_in: z25.number().int().positive().optional(),
17142
- interval: z25.number().int().positive().optional(),
17143
- user_code: z25.string().min(1),
17144
- verification_uri: z25.url(),
17145
- verification_uri_complete: z25.url().optional()
17323
+ var deviceAuthorizationSchema = z26.object({
17324
+ device_code: z26.string().min(1),
17325
+ expires_in: z26.number().int().positive().optional(),
17326
+ interval: z26.number().int().positive().optional(),
17327
+ user_code: z26.string().min(1),
17328
+ verification_uri: z26.url(),
17329
+ verification_uri_complete: z26.url().optional()
17146
17330
  });
17147
- var tokenResponseSchema = z25.object({
17148
- access_token: z25.string().min(1),
17149
- expires_in: z25.number().int().positive().optional(),
17150
- refresh_token: z25.string().min(1),
17151
- token_type: z25.string().optional()
17331
+ var tokenResponseSchema = z26.object({
17332
+ access_token: z26.string().min(1),
17333
+ expires_in: z26.number().int().positive().optional(),
17334
+ refresh_token: z26.string().min(1),
17335
+ token_type: z26.string().optional()
17152
17336
  });
17153
- var tokenErrorSchema = z25.object({
17154
- error: z25.string().min(1),
17155
- error_description: z25.string().optional()
17337
+ var tokenErrorSchema = z26.object({
17338
+ error: z26.string().min(1),
17339
+ error_description: z26.string().optional()
17156
17340
  });
17157
- var accessTokenClaimsSchema = z25.object({
17158
- exp: z25.number().int().positive().optional(),
17159
- iss: z25.string().min(1).optional(),
17160
- org_id: z25.string().min(1).optional(),
17161
- sid: z25.string().min(1).optional(),
17162
- sub: z25.string().min(1)
17341
+ var accessTokenClaimsSchema = z26.object({
17342
+ exp: z26.number().int().positive().optional(),
17343
+ iss: z26.string().min(1).optional(),
17344
+ org_id: z26.string().min(1).optional(),
17345
+ sid: z26.string().min(1).optional(),
17346
+ sub: z26.string().min(1)
17163
17347
  });
17164
17348
  function createWorkosAuthClient({
17165
17349
  fetchFn = fetch,