@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 CHANGED
Binary file
@@ -2,10 +2,10 @@ import {
2
2
  gitService,
3
3
  projectService,
4
4
  validatePidFile
5
- } from "./chunk-A2CVSQ3K.js";
5
+ } from "./chunk-NVQIKLOA.js";
6
6
  import {
7
7
  authService
8
- } from "./chunk-WETVBZ6Z.js";
8
+ } from "./chunk-HZ4K7EPF.js";
9
9
 
10
10
  // src/components/StatusDashboard.tsx
11
11
  import { useState, useEffect } from "react";
@@ -0,0 +1,7 @@
1
+ import {
2
+ apiService
3
+ } from "./chunk-6LQKDEQR.js";
4
+ import "./chunk-HZ4K7EPF.js";
5
+ export {
6
+ apiService
7
+ };
@@ -2,7 +2,7 @@ import {
2
2
  authService,
3
3
  config,
4
4
  logger
5
- } from "./chunk-WETVBZ6Z.js";
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.18";
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-6EGHLTCT.js");
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  config,
3
3
  logger
4
- } from "./chunk-WETVBZ6Z.js";
4
+ } from "./chunk-HZ4K7EPF.js";
5
5
 
6
6
  // src/services/git.ts
7
7
  import simpleGit from "simple-git";