agent-tower 0.1.4 → 0.1.6

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 (90) hide show
  1. package/dist/cli.js +0 -0
  2. package/dist/mcp/index.js +0 -0
  3. package/node_modules/prisma/node_modules/@prisma/debug/LICENSE +201 -0
  4. package/node_modules/prisma/node_modules/@prisma/debug/README.md +29 -0
  5. package/node_modules/prisma/node_modules/@prisma/debug/dist/index.d.ts +35 -0
  6. package/node_modules/prisma/node_modules/@prisma/debug/dist/index.js +236 -0
  7. package/node_modules/prisma/node_modules/@prisma/debug/dist/util.d.ts +2 -0
  8. package/node_modules/prisma/node_modules/@prisma/debug/dist/util.js +74 -0
  9. package/node_modules/prisma/node_modules/@prisma/debug/package.json +37 -0
  10. package/node_modules/prisma/node_modules/@prisma/engines-version/LICENSE +201 -0
  11. package/node_modules/prisma/node_modules/@prisma/engines-version/README.md +8 -0
  12. package/node_modules/prisma/node_modules/@prisma/engines-version/index.d.ts +1 -0
  13. package/node_modules/prisma/node_modules/@prisma/engines-version/index.js +5 -0
  14. package/node_modules/prisma/node_modules/@prisma/engines-version/package.json +27 -0
  15. package/node_modules/prisma/node_modules/@prisma/fetch-engine/LICENSE +201 -0
  16. package/node_modules/prisma/node_modules/@prisma/fetch-engine/README.md +8 -0
  17. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/BinaryType.d.ts +5 -0
  18. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/BinaryType.js +25 -0
  19. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chmodPlusX.d.ts +1 -0
  20. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chmodPlusX.js +25 -0
  21. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-2BCLJS3M.js +2385 -0
  22. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-4LX3XBNY.js +161 -0
  23. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-AH6QHEOA.js +66 -0
  24. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-CWGQAQ3T.js +49 -0
  25. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-FQ2BOR66.js +2457 -0
  26. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-KDPLGCY6.js +1404 -0
  27. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-KJ74H3SQ.js +2385 -0
  28. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-MX3HXAU2.js +44 -0
  29. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-PXQVM7NP.js +159 -0
  30. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-QLWYUM7O.js +8153 -0
  31. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-QSTZGX47.js +70 -0
  32. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-RGVHWUUH.js +2786 -0
  33. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-VTJS2JJN.js +4232 -0
  34. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-X37PZICB.js +29 -0
  35. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/cleanupCache.d.ts +1 -0
  36. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/cleanupCache.js +28 -0
  37. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/download.d.ts +27 -0
  38. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/download.js +41 -0
  39. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/downloadZip.d.ts +6 -0
  40. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/downloadZip.js +30 -0
  41. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/env.d.ts +14 -0
  42. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/env.js +29 -0
  43. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getHash.d.ts +1 -0
  44. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getHash.js +25 -0
  45. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getProxyAgent.d.ts +3 -0
  46. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getProxyAgent.js +25 -0
  47. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/index.d.ts +5 -0
  48. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/index.js +49 -0
  49. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/log.d.ts +2 -0
  50. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/log.js +25 -0
  51. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/multipart-parser-47FFAP42.js +371 -0
  52. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/utils.d.ts +11 -0
  53. package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/utils.js +29 -0
  54. package/node_modules/prisma/node_modules/@prisma/fetch-engine/package.json +59 -0
  55. package/node_modules/prisma/node_modules/@prisma/get-platform/LICENSE +201 -0
  56. package/node_modules/prisma/node_modules/@prisma/get-platform/README.md +16 -0
  57. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.d.ts +4 -0
  58. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.js +25 -0
  59. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/binaryTargets.d.ts +2 -0
  60. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/binaryTargets.js +26 -0
  61. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-2ESYSVXG.js +67 -0
  62. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-2U36ISZO.js +34 -0
  63. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-6HZWON4S.js +1 -0
  64. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-7MLUNQIZ.js +62 -0
  65. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-B23KD6U3.js +53 -0
  66. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-D7S5FGQN.js +367 -0
  67. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-FWMN4WME.js +41 -0
  68. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-M5NKJZ76.js +14956 -0
  69. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-O5EOXX3N.js +43 -0
  70. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-YDM7ULQH.js +580 -0
  71. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-YVXCXD3A.js +70 -0
  72. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getNodeAPIName.d.ts +8 -0
  73. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getNodeAPIName.js +25 -0
  74. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getPlatform.d.ts +105 -0
  75. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getPlatform.js +38 -0
  76. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/index.d.ts +7 -0
  77. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/index.js +43 -0
  78. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/link.d.ts +1 -0
  79. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/link.js +26 -0
  80. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/logger.d.ts +8 -0
  81. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/logger.js +29 -0
  82. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.d.ts +8 -0
  83. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.js +27 -0
  84. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/index.d.ts +1 -0
  85. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/index.js +28 -0
  86. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestContext.d.ts +108 -0
  87. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestContext.js +27 -0
  88. package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestSnapshotSerializer.js +205 -0
  89. package/node_modules/prisma/node_modules/@prisma/get-platform/package.json +49 -0
  90. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var chunk_MX3HXAU2_exports = {};
30
+ __export(chunk_MX3HXAU2_exports, {
31
+ chmodPlusX: () => chmodPlusX
32
+ });
33
+ module.exports = __toCommonJS(chunk_MX3HXAU2_exports);
34
+ var import_fs = __toESM(require("fs"));
35
+ function chmodPlusX(file) {
36
+ if (process.platform === "win32") return;
37
+ const s = import_fs.default.statSync(file);
38
+ const newMode = s.mode | 64 | 8 | 1;
39
+ if (s.mode === newMode) {
40
+ return;
41
+ }
42
+ const base8 = newMode.toString(8).slice(-3);
43
+ import_fs.default.chmodSync(file, base8);
44
+ }
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var chunk_PXQVM7NP_exports = {};
30
+ __export(chunk_PXQVM7NP_exports, {
31
+ allEngineEnvVarsSet: () => allEngineEnvVarsSet,
32
+ bold: () => bold,
33
+ deprecatedEnvVarMap: () => deprecatedEnvVarMap,
34
+ engineEnvVarMap: () => engineEnvVarMap,
35
+ getBinaryEnvVarPath: () => getBinaryEnvVarPath,
36
+ yellow: () => yellow
37
+ });
38
+ module.exports = __toCommonJS(chunk_PXQVM7NP_exports);
39
+ var import_debug = __toESM(require("@prisma/debug"));
40
+ var import_fs = __toESM(require("fs"));
41
+ var import_path = __toESM(require("path"));
42
+ var FORCE_COLOR;
43
+ var NODE_DISABLE_COLORS;
44
+ var NO_COLOR;
45
+ var TERM;
46
+ var isTTY = true;
47
+ if (typeof process !== "undefined") {
48
+ ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});
49
+ isTTY = process.stdout && process.stdout.isTTY;
50
+ }
51
+ var $ = {
52
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY)
53
+ };
54
+ function init(x, y) {
55
+ let rgx = new RegExp(`\\x1b\\[${y}m`, "g");
56
+ let open = `\x1B[${x}m`, close = `\x1B[${y}m`;
57
+ return function(txt) {
58
+ if (!$.enabled || txt == null) return txt;
59
+ return open + (!!~("" + txt).indexOf(close) ? txt.replace(rgx, close + open) : txt) + close;
60
+ };
61
+ }
62
+ var reset = init(0, 0);
63
+ var bold = init(1, 22);
64
+ var dim = init(2, 22);
65
+ var italic = init(3, 23);
66
+ var underline = init(4, 24);
67
+ var inverse = init(7, 27);
68
+ var hidden = init(8, 28);
69
+ var strikethrough = init(9, 29);
70
+ var black = init(30, 39);
71
+ var red = init(31, 39);
72
+ var green = init(32, 39);
73
+ var yellow = init(33, 39);
74
+ var blue = init(34, 39);
75
+ var magenta = init(35, 39);
76
+ var cyan = init(36, 39);
77
+ var white = init(37, 39);
78
+ var gray = init(90, 39);
79
+ var grey = init(90, 39);
80
+ var bgBlack = init(40, 49);
81
+ var bgRed = init(41, 49);
82
+ var bgGreen = init(42, 49);
83
+ var bgYellow = init(43, 49);
84
+ var bgBlue = init(44, 49);
85
+ var bgMagenta = init(45, 49);
86
+ var bgCyan = init(46, 49);
87
+ var bgWhite = init(47, 49);
88
+ var debug = (0, import_debug.default)("prisma:fetch-engine:env");
89
+ var engineEnvVarMap = {
90
+ [
91
+ "query-engine"
92
+ /* QueryEngineBinary */
93
+ ]: "PRISMA_QUERY_ENGINE_BINARY",
94
+ [
95
+ "libquery-engine"
96
+ /* QueryEngineLibrary */
97
+ ]: "PRISMA_QUERY_ENGINE_LIBRARY",
98
+ [
99
+ "schema-engine"
100
+ /* SchemaEngineBinary */
101
+ ]: "PRISMA_SCHEMA_ENGINE_BINARY"
102
+ };
103
+ var deprecatedEnvVarMap = {
104
+ [
105
+ "schema-engine"
106
+ /* SchemaEngineBinary */
107
+ ]: "PRISMA_MIGRATION_ENGINE_BINARY"
108
+ };
109
+ function getBinaryEnvVarPath(binaryName) {
110
+ const envVar = getEnvVarToUse(binaryName);
111
+ if (process.env[envVar]) {
112
+ const envVarPath = import_path.default.resolve(process.cwd(), process.env[envVar]);
113
+ if (!import_fs.default.existsSync(envVarPath)) {
114
+ throw new Error(
115
+ `Env var ${bold(envVar)} is provided but provided path ${underline(process.env[envVar])} can't be resolved.`
116
+ );
117
+ }
118
+ debug(
119
+ `Using env var ${bold(envVar)} for binary ${bold(binaryName)}, which points to ${underline(
120
+ process.env[envVar]
121
+ )}`
122
+ );
123
+ return {
124
+ path: envVarPath,
125
+ fromEnvVar: envVar
126
+ };
127
+ }
128
+ return null;
129
+ }
130
+ function getEnvVarToUse(binaryType) {
131
+ const envVar = engineEnvVarMap[binaryType];
132
+ const deprecatedEnvVar = deprecatedEnvVarMap[binaryType];
133
+ if (deprecatedEnvVar && process.env[deprecatedEnvVar]) {
134
+ if (process.env[envVar]) {
135
+ console.warn(
136
+ `${yellow("prisma:warn")} Both ${bold(envVar)} and ${bold(deprecatedEnvVar)} are specified, ${bold(
137
+ envVar
138
+ )} takes precedence. ${bold(deprecatedEnvVar)} is deprecated.`
139
+ );
140
+ return envVar;
141
+ } else {
142
+ console.warn(
143
+ `${yellow("prisma:warn")} ${bold(deprecatedEnvVar)} environment variable is deprecated, please use ${bold(
144
+ envVar
145
+ )} instead`
146
+ );
147
+ return deprecatedEnvVar;
148
+ }
149
+ }
150
+ return envVar;
151
+ }
152
+ function allEngineEnvVarsSet(binaries) {
153
+ for (const binaryType of binaries) {
154
+ if (!getBinaryEnvVarPath(binaryType)) {
155
+ return false;
156
+ }
157
+ }
158
+ return true;
159
+ }