@mastra/deployer-cloudflare 0.0.1-alpha.7 → 0.1.0-alpha.36

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.
@@ -1,435 +0,0 @@
1
- import { MastraDeployer } from '@mastra/core';
2
- import * as child_process from 'child_process';
3
- import { writeFileSync } from 'fs';
4
- import { join } from 'path';
5
-
6
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
7
- try {
8
- var i = n[a](c),
9
- u = i.value;
10
- } catch (n) {
11
- return void e(n);
12
- }
13
- i.done ? t(u) : Promise.resolve(u).then(r, o);
14
- }
15
- function _asyncToGenerator(n) {
16
- return function () {
17
- var t = this,
18
- e = arguments;
19
- return new Promise(function (r, o) {
20
- var a = n.apply(t, e);
21
- function _next(n) {
22
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
23
- }
24
- function _throw(n) {
25
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
26
- }
27
- _next(void 0);
28
- });
29
- };
30
- }
31
- function _extends() {
32
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
33
- for (var e = 1; e < arguments.length; e++) {
34
- var t = arguments[e];
35
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
36
- }
37
- return n;
38
- }, _extends.apply(null, arguments);
39
- }
40
- function _inheritsLoose(t, o) {
41
- t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
42
- }
43
- function _regeneratorRuntime() {
44
- _regeneratorRuntime = function () {
45
- return e;
46
- };
47
- var t,
48
- e = {},
49
- r = Object.prototype,
50
- n = r.hasOwnProperty,
51
- o = Object.defineProperty || function (t, e, r) {
52
- t[e] = r.value;
53
- },
54
- i = "function" == typeof Symbol ? Symbol : {},
55
- a = i.iterator || "@@iterator",
56
- c = i.asyncIterator || "@@asyncIterator",
57
- u = i.toStringTag || "@@toStringTag";
58
- function define(t, e, r) {
59
- return Object.defineProperty(t, e, {
60
- value: r,
61
- enumerable: !0,
62
- configurable: !0,
63
- writable: !0
64
- }), t[e];
65
- }
66
- try {
67
- define({}, "");
68
- } catch (t) {
69
- define = function (t, e, r) {
70
- return t[e] = r;
71
- };
72
- }
73
- function wrap(t, e, r, n) {
74
- var i = e && e.prototype instanceof Generator ? e : Generator,
75
- a = Object.create(i.prototype),
76
- c = new Context(n || []);
77
- return o(a, "_invoke", {
78
- value: makeInvokeMethod(t, r, c)
79
- }), a;
80
- }
81
- function tryCatch(t, e, r) {
82
- try {
83
- return {
84
- type: "normal",
85
- arg: t.call(e, r)
86
- };
87
- } catch (t) {
88
- return {
89
- type: "throw",
90
- arg: t
91
- };
92
- }
93
- }
94
- e.wrap = wrap;
95
- var h = "suspendedStart",
96
- l = "suspendedYield",
97
- f = "executing",
98
- s = "completed",
99
- y = {};
100
- function Generator() {}
101
- function GeneratorFunction() {}
102
- function GeneratorFunctionPrototype() {}
103
- var p = {};
104
- define(p, a, function () {
105
- return this;
106
- });
107
- var d = Object.getPrototypeOf,
108
- v = d && d(d(values([])));
109
- v && v !== r && n.call(v, a) && (p = v);
110
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
111
- function defineIteratorMethods(t) {
112
- ["next", "throw", "return"].forEach(function (e) {
113
- define(t, e, function (t) {
114
- return this._invoke(e, t);
115
- });
116
- });
117
- }
118
- function AsyncIterator(t, e) {
119
- function invoke(r, o, i, a) {
120
- var c = tryCatch(t[r], t, o);
121
- if ("throw" !== c.type) {
122
- var u = c.arg,
123
- h = u.value;
124
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
125
- invoke("next", t, i, a);
126
- }, function (t) {
127
- invoke("throw", t, i, a);
128
- }) : e.resolve(h).then(function (t) {
129
- u.value = t, i(u);
130
- }, function (t) {
131
- return invoke("throw", t, i, a);
132
- });
133
- }
134
- a(c.arg);
135
- }
136
- var r;
137
- o(this, "_invoke", {
138
- value: function (t, n) {
139
- function callInvokeWithMethodAndArg() {
140
- return new e(function (e, r) {
141
- invoke(t, n, e, r);
142
- });
143
- }
144
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
145
- }
146
- });
147
- }
148
- function makeInvokeMethod(e, r, n) {
149
- var o = h;
150
- return function (i, a) {
151
- if (o === f) throw Error("Generator is already running");
152
- if (o === s) {
153
- if ("throw" === i) throw a;
154
- return {
155
- value: t,
156
- done: !0
157
- };
158
- }
159
- for (n.method = i, n.arg = a;;) {
160
- var c = n.delegate;
161
- if (c) {
162
- var u = maybeInvokeDelegate(c, n);
163
- if (u) {
164
- if (u === y) continue;
165
- return u;
166
- }
167
- }
168
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
169
- if (o === h) throw o = s, n.arg;
170
- n.dispatchException(n.arg);
171
- } else "return" === n.method && n.abrupt("return", n.arg);
172
- o = f;
173
- var p = tryCatch(e, r, n);
174
- if ("normal" === p.type) {
175
- if (o = n.done ? s : l, p.arg === y) continue;
176
- return {
177
- value: p.arg,
178
- done: n.done
179
- };
180
- }
181
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
182
- }
183
- };
184
- }
185
- function maybeInvokeDelegate(e, r) {
186
- var n = r.method,
187
- o = e.iterator[n];
188
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
189
- var i = tryCatch(o, e.iterator, r.arg);
190
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
191
- var a = i.arg;
192
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
193
- }
194
- function pushTryEntry(t) {
195
- var e = {
196
- tryLoc: t[0]
197
- };
198
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
199
- }
200
- function resetTryEntry(t) {
201
- var e = t.completion || {};
202
- e.type = "normal", delete e.arg, t.completion = e;
203
- }
204
- function Context(t) {
205
- this.tryEntries = [{
206
- tryLoc: "root"
207
- }], t.forEach(pushTryEntry, this), this.reset(!0);
208
- }
209
- function values(e) {
210
- if (e || "" === e) {
211
- var r = e[a];
212
- if (r) return r.call(e);
213
- if ("function" == typeof e.next) return e;
214
- if (!isNaN(e.length)) {
215
- var o = -1,
216
- i = function next() {
217
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
218
- return next.value = t, next.done = !0, next;
219
- };
220
- return i.next = i;
221
- }
222
- }
223
- throw new TypeError(typeof e + " is not iterable");
224
- }
225
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
226
- value: GeneratorFunctionPrototype,
227
- configurable: !0
228
- }), o(GeneratorFunctionPrototype, "constructor", {
229
- value: GeneratorFunction,
230
- configurable: !0
231
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
232
- var e = "function" == typeof t && t.constructor;
233
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
234
- }, e.mark = function (t) {
235
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
236
- }, e.awrap = function (t) {
237
- return {
238
- __await: t
239
- };
240
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
241
- return this;
242
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
243
- void 0 === i && (i = Promise);
244
- var a = new AsyncIterator(wrap(t, r, n, o), i);
245
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
246
- return t.done ? t.value : a.next();
247
- });
248
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
249
- return this;
250
- }), define(g, "toString", function () {
251
- return "[object Generator]";
252
- }), e.keys = function (t) {
253
- var e = Object(t),
254
- r = [];
255
- for (var n in e) r.push(n);
256
- return r.reverse(), function next() {
257
- for (; r.length;) {
258
- var t = r.pop();
259
- if (t in e) return next.value = t, next.done = !1, next;
260
- }
261
- return next.done = !0, next;
262
- };
263
- }, e.values = values, Context.prototype = {
264
- constructor: Context,
265
- reset: function (e) {
266
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
267
- },
268
- stop: function () {
269
- this.done = !0;
270
- var t = this.tryEntries[0].completion;
271
- if ("throw" === t.type) throw t.arg;
272
- return this.rval;
273
- },
274
- dispatchException: function (e) {
275
- if (this.done) throw e;
276
- var r = this;
277
- function handle(n, o) {
278
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
279
- }
280
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
281
- var i = this.tryEntries[o],
282
- a = i.completion;
283
- if ("root" === i.tryLoc) return handle("end");
284
- if (i.tryLoc <= this.prev) {
285
- var c = n.call(i, "catchLoc"),
286
- u = n.call(i, "finallyLoc");
287
- if (c && u) {
288
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
289
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
290
- } else if (c) {
291
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
292
- } else {
293
- if (!u) throw Error("try statement without catch or finally");
294
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
295
- }
296
- }
297
- }
298
- },
299
- abrupt: function (t, e) {
300
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
301
- var o = this.tryEntries[r];
302
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
303
- var i = o;
304
- break;
305
- }
306
- }
307
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
308
- var a = i ? i.completion : {};
309
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
310
- },
311
- complete: function (t, e) {
312
- if ("throw" === t.type) throw t.arg;
313
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
314
- },
315
- finish: function (t) {
316
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
317
- var r = this.tryEntries[e];
318
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
319
- }
320
- },
321
- catch: function (t) {
322
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
323
- var r = this.tryEntries[e];
324
- if (r.tryLoc === t) {
325
- var n = r.completion;
326
- if ("throw" === n.type) {
327
- var o = n.arg;
328
- resetTryEntry(r);
329
- }
330
- return o;
331
- }
332
- }
333
- throw Error("illegal catch attempt");
334
- },
335
- delegateYield: function (e, r, n) {
336
- return this.delegate = {
337
- iterator: values(e),
338
- resultName: r,
339
- nextLoc: n
340
- }, "next" === this.method && (this.arg = t), y;
341
- }
342
- }, e;
343
- }
344
- function _setPrototypeOf(t, e) {
345
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
346
- return t.__proto__ = e, t;
347
- }, _setPrototypeOf(t, e);
348
- }
349
-
350
- var CloudflareDeployer = /*#__PURE__*/function (_MastraDeployer) {
351
- function CloudflareDeployer(_ref) {
352
- var _this;
353
- var scope = _ref.scope,
354
- env = _ref.env,
355
- projectName = _ref.projectName,
356
- routes = _ref.routes,
357
- workerNamespace = _ref.workerNamespace;
358
- _this = _MastraDeployer.call(this, {
359
- scope: scope,
360
- env: env,
361
- projectName: projectName
362
- }) || this;
363
- _this.routes = [];
364
- _this.workerNamespace = void 0;
365
- _this.routes = routes;
366
- _this.workerNamespace = workerNamespace;
367
- return _this;
368
- }
369
- _inheritsLoose(CloudflareDeployer, _MastraDeployer);
370
- var _proto = CloudflareDeployer.prototype;
371
- _proto.writeFiles = function writeFiles(_ref2) {
372
- var dir = _ref2.dir;
373
- this.loadEnvVars();
374
- this.writeIndex({
375
- dir: dir
376
- });
377
- var cfWorkerName = this.projectName || 'mastra';
378
- var wranglerConfig = {
379
- name: cfWorkerName,
380
- main: 'index.mjs',
381
- compatibility_date: '2024-12-02',
382
- compatibility_flags: ['nodejs_compat'],
383
- build: {
384
- command: 'npm install'
385
- },
386
- observability: {
387
- logs: {
388
- enabled: true
389
- }
390
- },
391
- vars: this.env
392
- };
393
- if (!this.workerNamespace && this.routes) {
394
- wranglerConfig.routes = this.routes;
395
- }
396
- writeFileSync(join(dir, 'wrangler.json'), JSON.stringify(wranglerConfig));
397
- };
398
- _proto.writeIndex = function writeIndex(_ref3) {
399
- var dir = _ref3.dir;
400
- writeFileSync(join(dir, './index.mjs'), "\n export default {\n fetch: async (request, env, context) => {\n Object.keys(env).forEach(key => {\n process.env[key] = env[key]\n })\n const { app } = await import('./hono.mjs');\n return app.fetch(request, env, context);\n }\n }\n ");
401
- };
402
- _proto.deploy = /*#__PURE__*/function () {
403
- var _deploy = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref4) {
404
- var dir, token, cmd;
405
- return _regeneratorRuntime().wrap(function _callee$(_context) {
406
- while (1) switch (_context.prev = _context.next) {
407
- case 0:
408
- dir = _ref4.dir, token = _ref4.token;
409
- cmd = this.workerNamespace ? "npm exec -- wrangler deploy --dispatch-namespace " + this.workerNamespace : 'npm exec -- wrangler deploy';
410
- child_process.execSync(cmd, {
411
- cwd: dir,
412
- stdio: 'inherit',
413
- env: _extends({
414
- CLOUDFLARE_API_TOKEN: token,
415
- CLOUDFLARE_ACCOUNT_ID: this.scope
416
- }, this.env, {
417
- PATH: process.env.PATH
418
- })
419
- });
420
- case 3:
421
- case "end":
422
- return _context.stop();
423
- }
424
- }, _callee, this);
425
- }));
426
- function deploy(_x) {
427
- return _deploy.apply(this, arguments);
428
- }
429
- return deploy;
430
- }();
431
- return CloudflareDeployer;
432
- }(MastraDeployer);
433
-
434
- export { CloudflareDeployer };
435
- //# sourceMappingURL=deployer-cloudflare.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployer-cloudflare.esm.js","sources":["../src/index.ts"],"sourcesContent":["import { MastraDeployer } from '@mastra/core';\nimport * as child_process from 'child_process';\nimport { writeFileSync } from 'fs';\nimport { join } from 'path';\n\ninterface CFRoute {\n pattern: string;\n zone_name: string;\n custom_domain?: boolean;\n}\n\nexport class CloudflareDeployer extends MastraDeployer {\n routes?: CFRoute[] = [];\n workerNamespace?: string;\n constructor({\n scope,\n env,\n projectName,\n routes,\n workerNamespace,\n }: {\n env?: Record<string, any>;\n scope: string;\n projectName: string;\n routes?: CFRoute[];\n workerNamespace?: string;\n }) {\n super({ scope, env, projectName });\n\n this.routes = routes;\n this.workerNamespace = workerNamespace;\n }\n\n writeFiles({ dir }: { dir: string }): void {\n this.loadEnvVars();\n\n this.writeIndex({ dir });\n\n const cfWorkerName = this.projectName || 'mastra';\n\n const wranglerConfig: Record<string, any> = {\n name: cfWorkerName,\n main: 'index.mjs',\n compatibility_date: '2024-12-02',\n compatibility_flags: ['nodejs_compat'],\n build: {\n command: 'npm install',\n },\n observability: {\n logs: {\n enabled: true,\n },\n },\n vars: this.env,\n };\n\n if (!this.workerNamespace && this.routes) {\n wranglerConfig.routes = this.routes;\n }\n\n writeFileSync(join(dir, 'wrangler.json'), JSON.stringify(wranglerConfig));\n }\n\n writeIndex({ dir }: { dir: string }): void {\n writeFileSync(\n join(dir, './index.mjs'),\n `\n export default {\n fetch: async (request, env, context) => {\n Object.keys(env).forEach(key => {\n process.env[key] = env[key]\n })\n const { app } = await import('./hono.mjs');\n return app.fetch(request, env, context);\n }\n }\n `,\n );\n }\n\n async deploy({ dir, token }: { dir: string; token: string }): Promise<void> {\n const cmd = this.workerNamespace\n ? `npm exec -- wrangler deploy --dispatch-namespace ${this.workerNamespace}`\n : 'npm exec -- wrangler deploy';\n child_process.execSync(cmd, {\n cwd: dir,\n stdio: 'inherit',\n env: {\n CLOUDFLARE_API_TOKEN: token,\n CLOUDFLARE_ACCOUNT_ID: this.scope,\n ...this.env,\n PATH: process.env.PATH,\n },\n });\n }\n}\n"],"names":["CloudflareDeployer","_MastraDeployer","_ref","_this","scope","env","projectName","routes","workerNamespace","call","_inheritsLoose","_proto","prototype","writeFiles","_ref2","dir","loadEnvVars","writeIndex","cfWorkerName","wranglerConfig","name","main","compatibility_date","compatibility_flags","build","command","observability","logs","enabled","vars","writeFileSync","join","JSON","stringify","_ref3","deploy","_deploy","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_ref4","token","cmd","wrap","_callee$","_context","prev","next","child_process","execSync","cwd","stdio","_extends","CLOUDFLARE_API_TOKEN","CLOUDFLARE_ACCOUNT_ID","PATH","process","stop","_x","apply","arguments","MastraDeployer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWaA,IAAAA,kBAAmB,0BAAAC,eAAA,EAAA;EAG9B,SAAAD,kBAA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