@gowelle/stint-agent 1.0.4 → 1.0.5

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,6 +1,6 @@
1
1
  import {
2
2
  apiService
3
- } from "./chunk-XZCWE3IA.js";
3
+ } from "./chunk-BSBIB3MX.js";
4
4
  export {
5
5
  apiService
6
6
  };
@@ -2,7 +2,7 @@ import {
2
2
  apiService,
3
3
  config,
4
4
  logger
5
- } from "./chunk-XZCWE3IA.js";
5
+ } from "./chunk-BSBIB3MX.js";
6
6
 
7
7
  // src/utils/process.ts
8
8
  import fs from "fs";
@@ -254,7 +254,7 @@ var AuthServiceImpl = class {
254
254
  return null;
255
255
  }
256
256
  try {
257
- const { apiService: apiService2 } = await import("./api-HRVUUV3V.js");
257
+ const { apiService: apiService2 } = await import("./api-OUZE76VQ.js");
258
258
  const user = await apiService2.getCurrentUser();
259
259
  logger.info("auth", `Token validated for user: ${user.email}`);
260
260
  return user;
@@ -274,7 +274,7 @@ var AuthServiceImpl = class {
274
274
  var authService = new AuthServiceImpl();
275
275
 
276
276
  // src/services/api.ts
277
- var AGENT_VERSION = "1.0.4";
277
+ var AGENT_VERSION = "1.0.5";
278
278
  var ApiServiceImpl = class {
279
279
  sessionId = null;
280
280
  async getHeaders() {
@@ -5,13 +5,13 @@ import {
5
5
  projectService,
6
6
  removePidFile,
7
7
  writePidFile
8
- } from "../chunk-UGODXDEE.js";
8
+ } from "../chunk-5PC3XTZ7.js";
9
9
  import {
10
10
  apiService,
11
11
  authService,
12
12
  config,
13
13
  logger
14
- } from "../chunk-XZCWE3IA.js";
14
+ } from "../chunk-BSBIB3MX.js";
15
15
 
16
16
  // src/daemon/runner.ts
17
17
  import "dotenv/config";
package/dist/index.js CHANGED
@@ -8,13 +8,13 @@ import {
8
8
  projectService,
9
9
  spawnDetached,
10
10
  validatePidFile
11
- } from "./chunk-UGODXDEE.js";
11
+ } from "./chunk-5PC3XTZ7.js";
12
12
  import {
13
13
  apiService,
14
14
  authService,
15
15
  config,
16
16
  logger
17
- } from "./chunk-XZCWE3IA.js";
17
+ } from "./chunk-BSBIB3MX.js";
18
18
 
19
19
  // src/index.ts
20
20
  import "dotenv/config";
@@ -1267,7 +1267,7 @@ function registerUninstallCommand(program2) {
1267
1267
  }
1268
1268
 
1269
1269
  // src/index.ts
1270
- var AGENT_VERSION = "1.0.4";
1270
+ var AGENT_VERSION = "1.0.5";
1271
1271
  var program = new Command();
1272
1272
  program.name("stint").description("Stint Agent - Local daemon for Stint Project Assistant").version(AGENT_VERSION, "-V, --version", "output the current version").addHelpText("after", `
1273
1273
  ${chalk11.bold("Examples:")}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowelle/stint-agent",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Local agent for Stint - Project Assistant",
5
5
  "author": "Gowelle John <gowelle.john@icloud.com>",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "npm run build"
37
37
  },
38
38
  "dependencies": {
39
- "@inquirer/prompts": "^5.5.0",
39
+ "@inquirer/prompts": "^8.1.0",
40
40
  "chalk": "^5.3.0",
41
41
  "commander": "^12.0.0",
42
42
  "conf": "^12.0.0",
@@ -57,7 +57,7 @@
57
57
  "eslint": "^8.56.0",
58
58
  "tsup": "^8.0.1",
59
59
  "typescript": "^5.3.3",
60
- "vitest": "^1.2.0"
60
+ "vitest": "^4.0.16"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=20.0.0"