create-mastra 0.1.0-alpha.23 → 0.1.0-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/LICENSE +44 -0
  2. package/dist/AssumeRoleCommand-Cse3dzcY.js +3650 -0
  3. package/dist/AssumeRoleCommand-Cse3dzcY.js.map +1 -0
  4. package/dist/create-aggregated-client-BFp7oxSr.js +24 -0
  5. package/dist/create-aggregated-client-BFp7oxSr.js.map +1 -0
  6. package/dist/extended-encode-uri-component-Dlbpb2Wd.js +8 -0
  7. package/dist/extended-encode-uri-component-Dlbpb2Wd.js.map +1 -0
  8. package/dist/index-B6QXpY-b.js +37 -0
  9. package/dist/index-B6QXpY-b.js.map +1 -0
  10. package/dist/index-BRCgFUbU.js +37 -0
  11. package/dist/index-BRCgFUbU.js.map +1 -0
  12. package/dist/index-BZHBFaQF.js +37 -0
  13. package/dist/index-BZHBFaQF.js.map +1 -0
  14. package/dist/index-B_Yunpbk.js +37 -0
  15. package/dist/index-B_Yunpbk.js.map +1 -0
  16. package/dist/index-BpMCSgn8.js +1145 -0
  17. package/dist/index-BpMCSgn8.js.map +1 -0
  18. package/dist/index-BxJx8yLU.js +37 -0
  19. package/dist/index-BxJx8yLU.js.map +1 -0
  20. package/dist/index-CF0rZfmW.js +37 -0
  21. package/dist/index-CF0rZfmW.js.map +1 -0
  22. package/dist/index-DeZeG5u4.js +3726 -0
  23. package/dist/index-DeZeG5u4.js.map +1 -0
  24. package/dist/index-_YTyVz_X.js +298 -0
  25. package/dist/index-_YTyVz_X.js.map +1 -0
  26. package/dist/index-lqkrgSwk.js +37 -0
  27. package/dist/index-lqkrgSwk.js.map +1 -0
  28. package/dist/index.js +152931 -39
  29. package/dist/index.js.map +1 -0
  30. package/dist/loadCognitoIdentity-CWxGlq_8.js +828 -0
  31. package/dist/loadCognitoIdentity-CWxGlq_8.js.map +1 -0
  32. package/dist/loadSso-MEAVww3h.js +615 -0
  33. package/dist/loadSso-MEAVww3h.js.map +1 -0
  34. package/dist/loadSts-DEnlAvEU.js +40 -0
  35. package/dist/loadSts-DEnlAvEU.js.map +1 -0
  36. package/dist/parseJsonBody-C_mcRkFo.js +161 -0
  37. package/dist/parseJsonBody-C_mcRkFo.js.map +1 -0
  38. package/dist/requestBuilder-CuNXirlx.js +90 -0
  39. package/dist/requestBuilder-CuNXirlx.js.map +1 -0
  40. package/package.json +16 -5
  41. package/starter-files/config.ts +28 -0
  42. package/starter-files/mastra-pg.docker-compose.yaml +15 -0
  43. package/starter-files/tools.ts +95 -0
  44. package/starter-files/workflow.ts +173 -0
  45. package/dist/index.d.ts +0 -2
  46. package/dist/utils.d.ts +0 -1
  47. package/dist/utils.js +0 -11
@@ -0,0 +1,24 @@
1
+ const createAggregatedClient = (commands, Client) => {
2
+ for (const command of Object.keys(commands)) {
3
+ const CommandCtor = commands[command];
4
+ const methodImpl = async function (args, optionsOrCb, cb) {
5
+ const command = new CommandCtor(args);
6
+ if (typeof optionsOrCb === "function") {
7
+ this.send(command, optionsOrCb);
8
+ }
9
+ else if (typeof cb === "function") {
10
+ if (typeof optionsOrCb !== "object")
11
+ throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
12
+ this.send(command, optionsOrCb || {}, cb);
13
+ }
14
+ else {
15
+ return this.send(command, optionsOrCb);
16
+ }
17
+ };
18
+ const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
19
+ Client.prototype[methodName] = methodImpl;
20
+ }
21
+ };
22
+
23
+ export { createAggregatedClient as c };
24
+ //# sourceMappingURL=create-aggregated-client-BFp7oxSr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-aggregated-client-BFp7oxSr.js","sources":["../../../node_modules/.pnpm/@smithy+smithy-client@3.5.2/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js"],"sourcesContent":["export const createAggregatedClient = (commands, Client) => {\n for (const command of Object.keys(commands)) {\n const CommandCtor = commands[command];\n const methodImpl = async function (args, optionsOrCb, cb) {\n const command = new CommandCtor(args);\n if (typeof optionsOrCb === \"function\") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === \"function\") {\n if (typeof optionsOrCb !== \"object\")\n throw new Error(`Expected http options but got ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n };\n const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, \"\");\n Client.prototype[methodName] = methodImpl;\n }\n};\n"],"names":[],"mappings":"AAAY,MAAC,sBAAsB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK;AAC5D,IAAI,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACjD,QAAQ,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC;AAC7C,QAAQ,MAAM,UAAU,GAAG,gBAAgB,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE;AAClE,YAAY,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC;AACjD,YAAY,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;AACnD,gBAAgB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC;AAC/C;AACA,iBAAiB,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;AAC/C,gBAAgB,IAAI,OAAO,WAAW,KAAK,QAAQ;AACnD,oBAAoB,MAAM,IAAI,KAAK,CAAC,CAAC,8BAA8B,EAAE,OAAO,WAAW,CAAC,CAAC,CAAC;AAC1F,gBAAgB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC;AACzD;AACA,iBAAiB;AACjB,gBAAgB,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC;AACtD;AACA,SAAS;AACT,QAAQ,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;AAChG,QAAQ,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,UAAU;AACjD;AACA;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ function extendedEncodeURIComponent(str) {
2
+ return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
3
+ return "%" + c.charCodeAt(0).toString(16).toUpperCase();
4
+ });
5
+ }
6
+
7
+ export { extendedEncodeURIComponent as e };
8
+ //# sourceMappingURL=extended-encode-uri-component-Dlbpb2Wd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extended-encode-uri-component-Dlbpb2Wd.js","sources":["../../../node_modules/.pnpm/@smithy+core@2.5.6/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js"],"sourcesContent":["export function extendedEncodeURIComponent(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n"],"names":[],"mappings":"AAAO,SAAS,0BAA0B,CAAC,GAAG,EAAE;AAChD,IAAI,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE;AACpE,QAAQ,OAAO,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE;AAC/D,KAAK,CAAC;AACN;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,37 @@
1
+ export { o as fromHttp } from './index.js';
2
+ import 'commander';
3
+ import 'node:crypto';
4
+ import 'node:fs';
5
+ import 'node:os';
6
+ import 'node:path';
7
+ import 'posthog-node';
8
+ import 'node:url';
9
+ import 'node:process';
10
+ import 'node:readline';
11
+ import 'node:tty';
12
+ import 'node:child_process';
13
+ import 'node:util';
14
+ import 'prettier';
15
+ import 'fs-extra/esm';
16
+ import 'node:fs/promises';
17
+ import 'execa';
18
+ import 'node:events';
19
+ import 'node:assert';
20
+ import 'node:worker_threads';
21
+ import 'node:module';
22
+ import 'node:buffer';
23
+ import 'node:stream';
24
+ import 'node:string_decoder';
25
+ import '@opentelemetry/api';
26
+ import '@opentelemetry/auto-instrumentations-node';
27
+ import '@opentelemetry/exporter-trace-otlp-http';
28
+ import '@opentelemetry/resources';
29
+ import '@opentelemetry/sdk-node';
30
+ import '@opentelemetry/sdk-trace-base';
31
+ import '@opentelemetry/semantic-conventions';
32
+ import 'node:http';
33
+ import 'node:https';
34
+ import 'node:punycode';
35
+ import 'node:zlib';
36
+ import 'fs-extra';
37
+ //# sourceMappingURL=index-B6QXpY-b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-B6QXpY-b.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,37 @@
1
+ export { c as fromTokenFile, d as fromWebToken } from './index.js';
2
+ import 'commander';
3
+ import 'node:crypto';
4
+ import 'node:fs';
5
+ import 'node:os';
6
+ import 'node:path';
7
+ import 'posthog-node';
8
+ import 'node:url';
9
+ import 'node:process';
10
+ import 'node:readline';
11
+ import 'node:tty';
12
+ import 'node:child_process';
13
+ import 'node:util';
14
+ import 'prettier';
15
+ import 'fs-extra/esm';
16
+ import 'node:fs/promises';
17
+ import 'execa';
18
+ import 'node:events';
19
+ import 'node:assert';
20
+ import 'node:worker_threads';
21
+ import 'node:module';
22
+ import 'node:buffer';
23
+ import 'node:stream';
24
+ import 'node:string_decoder';
25
+ import '@opentelemetry/api';
26
+ import '@opentelemetry/auto-instrumentations-node';
27
+ import '@opentelemetry/exporter-trace-otlp-http';
28
+ import '@opentelemetry/resources';
29
+ import '@opentelemetry/sdk-node';
30
+ import '@opentelemetry/sdk-trace-base';
31
+ import '@opentelemetry/semantic-conventions';
32
+ import 'node:http';
33
+ import 'node:https';
34
+ import 'node:punycode';
35
+ import 'node:zlib';
36
+ import 'fs-extra';
37
+ //# sourceMappingURL=index-BRCgFUbU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BRCgFUbU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,37 @@
1
+ export { b as fromProcess } from './index.js';
2
+ import 'commander';
3
+ import 'node:crypto';
4
+ import 'node:fs';
5
+ import 'node:os';
6
+ import 'node:path';
7
+ import 'posthog-node';
8
+ import 'node:url';
9
+ import 'node:process';
10
+ import 'node:readline';
11
+ import 'node:tty';
12
+ import 'node:child_process';
13
+ import 'node:util';
14
+ import 'prettier';
15
+ import 'fs-extra/esm';
16
+ import 'node:fs/promises';
17
+ import 'execa';
18
+ import 'node:events';
19
+ import 'node:assert';
20
+ import 'node:worker_threads';
21
+ import 'node:module';
22
+ import 'node:buffer';
23
+ import 'node:stream';
24
+ import 'node:string_decoder';
25
+ import '@opentelemetry/api';
26
+ import '@opentelemetry/auto-instrumentations-node';
27
+ import '@opentelemetry/exporter-trace-otlp-http';
28
+ import '@opentelemetry/resources';
29
+ import '@opentelemetry/sdk-node';
30
+ import '@opentelemetry/sdk-trace-base';
31
+ import '@opentelemetry/semantic-conventions';
32
+ import 'node:http';
33
+ import 'node:https';
34
+ import 'node:punycode';
35
+ import 'node:zlib';
36
+ import 'fs-extra';
37
+ //# sourceMappingURL=index-BZHBFaQF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BZHBFaQF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,37 @@
1
+ export { a as fromIni } from './index.js';
2
+ import 'commander';
3
+ import 'node:crypto';
4
+ import 'node:fs';
5
+ import 'node:os';
6
+ import 'node:path';
7
+ import 'posthog-node';
8
+ import 'node:url';
9
+ import 'node:process';
10
+ import 'node:readline';
11
+ import 'node:tty';
12
+ import 'node:child_process';
13
+ import 'node:util';
14
+ import 'prettier';
15
+ import 'fs-extra/esm';
16
+ import 'node:fs/promises';
17
+ import 'execa';
18
+ import 'node:events';
19
+ import 'node:assert';
20
+ import 'node:worker_threads';
21
+ import 'node:module';
22
+ import 'node:buffer';
23
+ import 'node:stream';
24
+ import 'node:string_decoder';
25
+ import '@opentelemetry/api';
26
+ import '@opentelemetry/auto-instrumentations-node';
27
+ import '@opentelemetry/exporter-trace-otlp-http';
28
+ import '@opentelemetry/resources';
29
+ import '@opentelemetry/sdk-node';
30
+ import '@opentelemetry/sdk-trace-base';
31
+ import '@opentelemetry/semantic-conventions';
32
+ import 'node:http';
33
+ import 'node:https';
34
+ import 'node:punycode';
35
+ import 'node:zlib';
36
+ import 'fs-extra';
37
+ //# sourceMappingURL=index-B_Yunpbk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-B_Yunpbk.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}