zephyr-agent 0.0.45 → 0.0.46
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,41 +1,100 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fetchWithRetries = fetchWithRetries;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
const errors_1 = require("../errors");
|
|
6
|
+
const axios_1 = require("axios");
|
|
7
|
+
const axios_2 = tslib_1.__importDefault(require("axios"));
|
|
8
|
+
const axios_retry_1 = tslib_1.__importDefault(require("axios-retry"));
|
|
5
9
|
async function fetchWithRetries(url, options = {}, retries = 3) {
|
|
6
|
-
var _a, _b, _c, _d, _e
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
var _a, _b, _c, _d, _e;
|
|
11
|
+
try {
|
|
12
|
+
// Create a custom axios instance for this request
|
|
13
|
+
const axiosInstance = axios_2.default.create();
|
|
14
|
+
// Configure axios-retry
|
|
15
|
+
(0, axios_retry_1.default)(axiosInstance, {
|
|
16
|
+
retries,
|
|
17
|
+
retryDelay: axios_retry_1.default.exponentialDelay,
|
|
18
|
+
retryCondition: (error) => {
|
|
19
|
+
// Retry on network errors
|
|
20
|
+
if (!error.response) {
|
|
21
|
+
const networkError = error.code || error.message || '';
|
|
22
|
+
return networkError === 'EPIPE' || networkError.includes('network');
|
|
23
|
+
}
|
|
24
|
+
// Retry on server errors (5xx)
|
|
25
|
+
return error.response.status >= 500;
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
// Convert fetch options to axios options
|
|
29
|
+
const axiosConfig = Object.assign({ method: (_a = options.method) !== null && _a !== void 0 ? _a : 'GET', data: options.body }, (options.signal ? { signal: options.signal } : {}));
|
|
30
|
+
if (options.headers) {
|
|
31
|
+
// Convert HeadersInit to a format compatible with axios headers
|
|
32
|
+
if (options.headers instanceof Headers) {
|
|
33
|
+
// Convert Headers object to record
|
|
34
|
+
const headersRecord = {};
|
|
35
|
+
options.headers.forEach((value, key) => {
|
|
36
|
+
headersRecord[key] = value;
|
|
37
|
+
});
|
|
38
|
+
axiosConfig.headers = headersRecord;
|
|
39
|
+
}
|
|
40
|
+
else if (Array.isArray(options.headers)) {
|
|
41
|
+
// Convert header entries array to record
|
|
42
|
+
const headersRecord = {};
|
|
43
|
+
options.headers.forEach(([key, value]) => {
|
|
44
|
+
headersRecord[key] = value;
|
|
45
|
+
});
|
|
46
|
+
axiosConfig.headers = headersRecord;
|
|
17
47
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
48
|
+
else {
|
|
49
|
+
// Already a record object
|
|
50
|
+
axiosConfig.headers = options.headers;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
// Make the request with retries
|
|
54
|
+
const response = await axiosInstance(url.toString(), axiosConfig);
|
|
55
|
+
// Convert axios response to fetch Response interface
|
|
56
|
+
return {
|
|
57
|
+
ok: response.status >= 200 && response.status < 300,
|
|
58
|
+
status: response.status,
|
|
59
|
+
headers: new Headers(Object.entries(response.headers).reduce((acc, [key, value]) => {
|
|
60
|
+
if (value !== undefined) {
|
|
61
|
+
acc[key] = typeof value === 'string' ? value : String(value);
|
|
62
|
+
}
|
|
63
|
+
return acc;
|
|
64
|
+
}, {})),
|
|
65
|
+
text: async () => typeof response.data === 'string'
|
|
66
|
+
? response.data
|
|
67
|
+
: JSON.stringify(response.data) || '',
|
|
68
|
+
json: async () => response.data,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
// Handle errors after all retries have been exhausted
|
|
73
|
+
if (error instanceof axios_1.AxiosError && error.response) {
|
|
74
|
+
// Client errors (4xx)
|
|
75
|
+
throw new errors_1.ZephyrError(errors_1.ZeErrors.ERR_HTTP_ERROR, {
|
|
76
|
+
status: error.response.status,
|
|
77
|
+
url: url.toString(),
|
|
78
|
+
content: error.response.data,
|
|
79
|
+
method: (_c = (_b = options.method) === null || _b === void 0 ? void 0 : _b.toUpperCase()) !== null && _c !== void 0 ? _c : 'GET',
|
|
21
80
|
});
|
|
22
81
|
}
|
|
23
|
-
//
|
|
24
|
-
if (
|
|
25
|
-
|
|
82
|
+
// Unknown errors
|
|
83
|
+
if (error instanceof axios_1.AxiosError &&
|
|
84
|
+
(error.code === 'EPIPE' || (error.message && error.message.includes('network')))) {
|
|
85
|
+
// Max retries reached for network error
|
|
86
|
+
throw new errors_1.ZephyrError(errors_1.ZeErrors.ERR_HTTP_ERROR, {
|
|
87
|
+
status: -1,
|
|
88
|
+
url: url.toString(),
|
|
89
|
+
content: 'Max retries reached for network error',
|
|
90
|
+
method: (_e = (_d = options.method) === null || _d === void 0 ? void 0 : _d.toUpperCase()) !== null && _e !== void 0 ? _e : 'GET',
|
|
91
|
+
});
|
|
26
92
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
method: (_e = (_d = options.method) === null || _d === void 0 ? void 0 : _d.toUpperCase()) !== null && _e !== void 0 ? _e : 'GET',
|
|
93
|
+
// Other unknown errors
|
|
94
|
+
throw new errors_1.ZephyrError(errors_1.ZeErrors.ERR_UNKNOWN, {
|
|
95
|
+
message: 'Unknown error occurred',
|
|
96
|
+
cause: error,
|
|
32
97
|
});
|
|
33
98
|
}
|
|
34
|
-
throw new errors_1.ZephyrError(errors_1.ZeErrors.ERR_HTTP_ERROR, {
|
|
35
|
-
status: -1,
|
|
36
|
-
url: url.toString(),
|
|
37
|
-
content: 'Max retries reached',
|
|
38
|
-
method: (_g = (_f = options.method) === null || _f === void 0 ? void 0 : _f.toUpperCase()) !== null && _g !== void 0 ? _g : 'GET',
|
|
39
|
-
});
|
|
40
99
|
}
|
|
41
100
|
//# sourceMappingURL=fetch-with-retries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-with-retries.js","sourceRoot":"","sources":["../../../src/lib/http/fetch-with-retries.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"fetch-with-retries.js","sourceRoot":"","sources":["../../../src/lib/http/fetch-with-retries.ts"],"names":[],"mappings":";;AAMA,4CA+GC;;AArHD,sCAAkD;AAElD,iCAAmC;AACnC,0DAA0B;AAC1B,sEAAqC;AAE9B,KAAK,UAAU,gBAAgB,CACpC,GAAQ,EACR,UAAuB,EAAE,EACzB,OAAO,GAAG,CAAC;;IAEX,IAAI,CAAC;QACH,kDAAkD;QAClD,MAAM,aAAa,GAAG,eAAK,CAAC,MAAM,EAAE,CAAC;QAErC,wBAAwB;QACxB,IAAA,qBAAU,EAAC,aAAa,EAAE;YACxB,OAAO;YACP,UAAU,EAAE,qBAAU,CAAC,gBAAgB;YACvC,cAAc,EAAE,CAAC,KAAiB,EAAE,EAAE;gBACpC,0BAA0B;gBAC1B,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;oBACpB,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC;oBACvD,OAAO,YAAY,KAAK,OAAO,IAAI,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACtE,CAAC;gBAED,+BAA+B;gBAC/B,OAAO,KAAK,CAAC,QAAQ,CAAC,MAAM,IAAI,GAAG,CAAC;YACtC,CAAC;SACF,CAAC,CAAC;QAEH,yCAAyC;QACzC,MAAM,WAAW,mBACf,MAAM,EAAE,MAAA,OAAO,CAAC,MAAM,mCAAI,KAAK,EAC/B,IAAI,EAAE,OAAO,CAAC,IAAI,IAEf,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CACtD,CAAC;QAEF,IAAI,OAAO,CAAC,OAAO,EA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gBAC7C,MAAM,EAAE,CAAC,CAAC;gBACV,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;gBACnB,OAAO,EAAE,uCAAuC;gBAChD,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,WAAW,EAAE,mCAAI,KAAK;aAC/C,CAAC,CAAC;QACL,CAAC;QAED,uBAAuB;QACvB,MAAM,IAAI,oBAAW,CAAC,iBAAQ,CAAC,WAAW,EAAE;YAC1C,OAAO,EAAE,wBAAwB;YACjC,KAAK,EAAE,KAAK;SACb,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "Zephyr plugin agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
"test": "nx test zephyr-agent"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"axios": "^1.9.0",
|
|
37
|
+
"axios-retry": "^4.5.0",
|
|
36
38
|
"cloudflare": "^3.4.0",
|
|
37
39
|
"debug": "^4.3.4",
|
|
38
40
|
"git-url-parse": "^15.0.0",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolve_remote_dependency = resolve_remote_dependency;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
|
5
6
|
const token_1 = require("../lib/node-persist/token");
|
|
6
7
|
const errors_1 = require("../lib/errors");
|
|
7
8
|
const logging_1 = require("../lib/logging");
|
|
9
|
+
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
8
10
|
async function resolve_remote_dependency({ application_uid, version, platform, }) {
|
|
9
11
|
const resolveDependency = new URL(`${zephyr_edge_contract_1.ze_api_gateway.resolve}/${encodeURIComponent(application_uid)}/${encodeURIComponent(version)}`, (0, zephyr_edge_contract_1.ZE_API_ENDPOINT)());
|
|
10
12
|
if (platform) {
|
|
@@ -13,8 +15,7 @@ async function resolve_remote_dependency({ application_uid, version, platform, }
|
|
|
13
15
|
try {
|
|
14
16
|
(0, logging_1.ze_log)('URL for resolving dependency:', resolveDependency.toString());
|
|
15
17
|
const token = await (0, token_1.getToken)();
|
|
16
|
-
const res = await
|
|
17
|
-
method: 'GET',
|
|
18
|
+
const res = await axios_1.default.get(resolveDependency.toString(), {
|
|
18
19
|
headers: {
|
|
19
20
|
'Content-Type': 'application/json',
|
|
20
21
|
Authorization: `Bearer ${token}`,
|
|
@@ -22,7 +23,8 @@ async function resolve_remote_dependency({ application_uid, version, platform, }
|
|
|
22
23
|
},
|
|
23
24
|
});
|
|
24
25
|
const [appName, projectName, orgName] = application_uid.split('.');
|
|
25
|
-
|
|
26
|
+
// Check response status
|
|
27
|
+
if (res.status < 200 || res.status >= 300) {
|
|
26
28
|
throw new errors_1.ZephyrError(errors_1.ZeErrors.ERR_RESOLVE_REMOTES, {
|
|
27
29
|
appUid: application_uid,
|
|
28
30
|
appName,
|
|
@@ -31,11 +33,11 @@ async function resolve_remote_dependency({ application_uid, version, platform, }
|
|
|
31
33
|
data: {
|
|
32
34
|
url: resolveDependency.toString(),
|
|
33
35
|
version,
|
|
34
|
-
error:
|
|
36
|
+
error: res.data,
|
|
35
37
|
},
|
|
36
38
|
});
|
|
37
39
|
}
|
|
38
|
-
const response =
|
|
40
|
+
const response = res.data;
|
|
39
41
|
if (response.value) {
|
|
40
42
|
(0, logging_1.ze_log)('resolved dependency:', response.value, 'application_uid: ', application_uid, 'version: ', version);
|
|
41
43
|
return Object.assign({}, response.value, { version, platform });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve_remote_dependency.js","sourceRoot":"","sources":["../../src/zephyr-engine/resolve_remote_dependency.ts"],"names":[],"mappings":";;AAgBA,8DA4EC
|
|
1
|
+
{"version":3,"file":"resolve_remote_dependency.js","sourceRoot":"","sources":["../../src/zephyr-engine/resolve_remote_dependency.ts"],"names":[],"mappings":";;AAgBA,8DA4EC;;AA5FD,+DAAuE;AACvE,qDAAqD;AACrD,0CAAsD;AACtD,4CAAwC;AACxC,0DAA0B;AAYnB,KAAK,UAAU,yBAAyB,CAAC,EAC9C,eAAe,EACf,OAAO,EACP,QAAQ,GAKT;IACC,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAC/B,GAAG,qCAAc,CAAC,OAAO,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAE,EACjG,IAAA,sCAAe,GAAE,CAClB,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACb,iBAAiB,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAClE,CAAC;IAED,IAAI,CAAC;QACH,IAAA,gBAAM,EAAC,+BAA+B,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEtE,MAAM,KAAK,GAAG,MAAM,IAAA,gBAAQ,GAAE,CAAC;QAC/B,MAAM,GAAG,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,EAAE,EAAE;YACxD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,aAAa,EAAE,UAAU,KAAK,EAAE;gBAChC,MAAM,EAAE,kBAAkB;aAC3B;SACF,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEnE,wBAAwB;QACxB,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,EAAE,CAAC;YAC1C,MAAM,IAAI,oBAAW,CAAC,iBAAQ,CAAC,mBAAmB,EAAE;gBAClD,MAAM,EAAE,eAAe;gBACvB,OAAO;gBACP,WAAW;gBACX,OAAO;gBACP,IAAI,EAAE;oBACJ,GAAG,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACjC,OAAO;oBACP,KAAK,EAAE,GAAG,CAAC,IAAI;iBAChB;aACF,CAAC,CAAC;QACL,CAAC;QAED,MAAM,QAAQ,GAAG,GAAG,CAAC,IAAI,CAAC;QAE1B,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC;YACnB,IAAA,gBAAM,EACJ,sBAAsB,EACtB,QAAQ,CAAC,KAAK,EACd,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,OAAO,CACR,CAAC;YACF,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;QAClE,CAAC;QAED,MAAM,IAAI,oBAAW,CAAC,iBAAQ,CAAC,mBAAmB,EAAE;YAClD,MAAM,EAAE,eAAe;YACvB,OAAO;YACP,WAAW;YACX,OAAO;YACP,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC5B,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,oBAAW;YAAE,MAAM,KAAK,CAAC;QAE9C,MAAM,IAAI,oBAAW,CAAC,iBAAQ,CAAC,wCAAwC,EAAE;YACvE,IAAI,EAAE,EAAE,OAAO,EAAE;YACjB,KAAK;SACN,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "Zephyr plugin agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"main": "dist/index.js",
|
|
29
29
|
"types": "dist/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
+
"axios": "^1.9.0",
|
|
32
|
+
"axios-retry": "^4.5.0",
|
|
31
33
|
"cloudflare": "^3.4.0",
|
|
32
34
|
"debug": "^4.3.4",
|
|
33
35
|
"git-url-parse": "^15.0.0",
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
"socket.io-client": "^4.7.5",
|
|
39
41
|
"tslib": "^2.8.1",
|
|
40
42
|
"uuid": "^8.3.2",
|
|
41
|
-
"zephyr-edge-contract": "0.0.
|
|
43
|
+
"zephyr-edge-contract": "0.0.46"
|
|
42
44
|
},
|
|
43
45
|
"devDependencies": {
|
|
44
46
|
"@jest/globals": "^29.7.0",
|