@gowelle/stint-agent 1.2.18 → 1.2.19
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/assets/logo.png +0 -0
- package/dist/{StatusDashboard-KCHNLVD7.js → StatusDashboard-I5DG5GEB.js} +2 -2
- package/dist/api-76OMVWNR.js +7 -0
- package/dist/{chunk-XPZNWXB4.js → chunk-6LQKDEQR.js} +2 -2
- package/dist/{chunk-WETVBZ6Z.js → chunk-HZ4K7EPF.js} +32 -2
- package/dist/{chunk-A2CVSQ3K.js → chunk-NVQIKLOA.js} +1 -1
- package/dist/chunk-ZUQRDCS2.js +2618 -0
- package/dist/daemon/runner.js +40 -4
- package/dist/index.js +172 -126
- package/package.json +3 -1
- package/dist/api-6EGHLTCT.js +0 -7
- package/dist/chunk-SXPP272L.js +0 -534
package/assets/logo.png
CHANGED
|
Binary file
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
gitService,
|
|
3
3
|
projectService,
|
|
4
4
|
validatePidFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NVQIKLOA.js";
|
|
6
6
|
import {
|
|
7
7
|
authService
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HZ4K7EPF.js";
|
|
9
9
|
|
|
10
10
|
// src/components/StatusDashboard.tsx
|
|
11
11
|
import { useState, useEffect } from "react";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
authService,
|
|
3
3
|
config,
|
|
4
4
|
logger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HZ4K7EPF.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/circuit-breaker.ts
|
|
8
8
|
var CircuitBreaker = class {
|
|
@@ -98,7 +98,7 @@ var CircuitBreaker = class {
|
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
// src/services/api.ts
|
|
101
|
-
var AGENT_VERSION = "1.2.
|
|
101
|
+
var AGENT_VERSION = "1.2.19";
|
|
102
102
|
var ApiServiceImpl = class {
|
|
103
103
|
sessionId = null;
|
|
104
104
|
circuitBreaker = new CircuitBreaker({
|
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
|
+
mod
|
|
25
|
+
));
|
|
26
|
+
|
|
1
27
|
// src/utils/config.ts
|
|
2
28
|
import Conf from "conf";
|
|
3
29
|
import { createHash } from "crypto";
|
|
@@ -19,7 +45,9 @@ var DEFAULT_CONFIG = {
|
|
|
19
45
|
projects: {},
|
|
20
46
|
notifications: {
|
|
21
47
|
enabled: true
|
|
22
|
-
}
|
|
48
|
+
},
|
|
49
|
+
autoCheckUpdates: true,
|
|
50
|
+
lastUpdateCheck: null
|
|
23
51
|
};
|
|
24
52
|
var ConfigManager = class {
|
|
25
53
|
conf;
|
|
@@ -282,7 +310,7 @@ var AuthServiceImpl = class {
|
|
|
282
310
|
return null;
|
|
283
311
|
}
|
|
284
312
|
try {
|
|
285
|
-
const { apiService } = await import("./api-
|
|
313
|
+
const { apiService } = await import("./api-76OMVWNR.js");
|
|
286
314
|
const user = await apiService.getCurrentUser();
|
|
287
315
|
logger.info("auth", `Token validated for user: ${user.email}`);
|
|
288
316
|
return user;
|
|
@@ -302,6 +330,8 @@ var AuthServiceImpl = class {
|
|
|
302
330
|
var authService = new AuthServiceImpl();
|
|
303
331
|
|
|
304
332
|
export {
|
|
333
|
+
__commonJS,
|
|
334
|
+
__toESM,
|
|
305
335
|
config,
|
|
306
336
|
logger,
|
|
307
337
|
authService
|