@gowelle/stint-agent 1.2.49 → 1.2.50

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.
@@ -2,10 +2,10 @@ import {
2
2
  gitService,
3
3
  projectService,
4
4
  validatePidFile
5
- } from "./chunk-NNK7GJL4.js";
5
+ } from "./chunk-WKM7D7FD.js";
6
6
  import {
7
7
  authService
8
- } from "./chunk-3JSOITUS.js";
8
+ } from "./chunk-SOWOUY52.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-2YUH2MJT.js";
4
+ import "./chunk-SOWOUY52.js";
5
+ export {
6
+ apiService
7
+ };
@@ -2,7 +2,7 @@ import {
2
2
  authService,
3
3
  config,
4
4
  logger
5
- } from "./chunk-3JSOITUS.js";
5
+ } from "./chunk-SOWOUY52.js";
6
6
 
7
7
  // src/utils/circuit-breaker.ts
8
8
  var CircuitBreaker = class {
@@ -100,7 +100,7 @@ var CircuitBreaker = class {
100
100
  };
101
101
 
102
102
  // src/services/api.ts
103
- var AGENT_VERSION = "1.2.49";
103
+ var AGENT_VERSION = "1.2.50";
104
104
  var ApiServiceImpl = class {
105
105
  sessionId = null;
106
106
  circuitBreaker = new CircuitBreaker({
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  apiService
3
- } from "./chunk-NUYTAWHX.js";
3
+ } from "./chunk-2YUH2MJT.js";
4
4
  import {
5
5
  gitService,
6
6
  projectService
7
- } from "./chunk-NNK7GJL4.js";
7
+ } from "./chunk-WKM7D7FD.js";
8
8
  import {
9
9
  authService,
10
10
  config,
11
11
  logger
12
- } from "./chunk-3JSOITUS.js";
12
+ } from "./chunk-SOWOUY52.js";
13
13
 
14
14
  // src/services/package-detector.ts
15
15
  import fs from "fs";
@@ -686,8 +686,9 @@ var HookService = class {
686
686
  cwd,
687
687
  shell: true,
688
688
  stdio: ["ignore", "pipe", "pipe"],
689
- env: { ...process.env, FORCE_COLOR: "1" }
689
+ env: { ...process.env, FORCE_COLOR: "1" },
690
690
  // Force color output for better terminal experience
691
+ windowsHide: true
691
692
  });
692
693
  let combinedOutput = "";
693
694
  child.stdout.on("data", (data) => {
@@ -1429,7 +1430,7 @@ var WebSocketServiceImpl = class {
1429
1430
  "websocket",
1430
1431
  `Commit ${commit.id} marked as large, fetching full details...`
1431
1432
  );
1432
- const { apiService: apiService2 } = await import("./api-XHW54OCY.js");
1433
+ const { apiService: apiService2 } = await import("./api-UWX32WR3.js");
1433
1434
  const fullCommit = await apiService2.getCommit(commit.id);
1434
1435
  commit = {
1435
1436
  ...commit,
@@ -358,7 +358,7 @@ var AuthServiceImpl = class {
358
358
  return null;
359
359
  }
360
360
  try {
361
- const { apiService } = await import("./api-XHW54OCY.js");
361
+ const { apiService } = await import("./api-UWX32WR3.js");
362
362
  const user = await apiService.getCurrentUser();
363
363
  logger.info("auth", `Token validated for user: ${user.email}`);
364
364
  return user;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  config,
3
3
  logger
4
- } from "./chunk-3JSOITUS.js";
4
+ } from "./chunk-SOWOUY52.js";
5
5
 
6
6
  // src/services/git.ts
7
7
  import simpleGit from "simple-git";
@@ -423,7 +423,8 @@ function spawnDetached(command, args, options = {}) {
423
423
  detached: true,
424
424
  stdio: ["ignore", out, err],
425
425
  cwd: options.cwd || process.cwd(),
426
- env: options.env || process.env
426
+ env: options.env || process.env,
427
+ windowsHide: true
427
428
  });
428
429
  child.unref();
429
430
  logger.info("process", `Spawned detached process ${child.pid}`);
@@ -4,20 +4,20 @@ import {
4
4
  notify,
5
5
  packageDetector,
6
6
  websocketService
7
- } from "../chunk-RBG4PQQH.js";
7
+ } from "../chunk-HSDBEI42.js";
8
8
  import {
9
9
  apiService
10
- } from "../chunk-NUYTAWHX.js";
10
+ } from "../chunk-2YUH2MJT.js";
11
11
  import {
12
12
  gitService,
13
13
  projectService,
14
14
  removePidFile,
15
15
  writePidFile
16
- } from "../chunk-NNK7GJL4.js";
16
+ } from "../chunk-WKM7D7FD.js";
17
17
  import {
18
18
  authService,
19
19
  logger
20
- } from "../chunk-3JSOITUS.js";
20
+ } from "../chunk-SOWOUY52.js";
21
21
 
22
22
  // src/daemon/runner.ts
23
23
  import "dotenv/config";
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  commitQueue,
4
4
  packageDetector,
5
5
  websocketService
6
- } from "./chunk-RBG4PQQH.js";
6
+ } from "./chunk-HSDBEI42.js";
7
7
  import {
8
8
  apiService
9
- } from "./chunk-NUYTAWHX.js";
9
+ } from "./chunk-2YUH2MJT.js";
10
10
  import {
11
11
  getPidFilePath,
12
12
  gitService,
@@ -15,14 +15,14 @@ import {
15
15
  projectService,
16
16
  spawnDetached,
17
17
  validatePidFile
18
- } from "./chunk-NNK7GJL4.js";
18
+ } from "./chunk-WKM7D7FD.js";
19
19
  import {
20
20
  __commonJS,
21
21
  __toESM,
22
22
  authService,
23
23
  config,
24
24
  logger
25
- } from "./chunk-3JSOITUS.js";
25
+ } from "./chunk-SOWOUY52.js";
26
26
 
27
27
  // node_modules/semver/internal/constants.js
28
28
  var require_constants = __commonJS({
@@ -2658,7 +2658,7 @@ function registerStatusCommand(program2) {
2658
2658
  try {
2659
2659
  const { render } = await import("ink");
2660
2660
  const { createElement } = await import("react");
2661
- const { StatusDashboard } = await import("./StatusDashboard-SV67LHN2.js");
2661
+ const { StatusDashboard } = await import("./StatusDashboard-YWQWWEZM.js");
2662
2662
  render(createElement(StatusDashboard, { cwd }));
2663
2663
  return;
2664
2664
  } catch (error) {
@@ -5057,7 +5057,7 @@ function displayLocalProjects(entries) {
5057
5057
  }
5058
5058
 
5059
5059
  // src/index.ts
5060
- var AGENT_VERSION = "1.2.49";
5060
+ var AGENT_VERSION = "1.2.50";
5061
5061
  var program = new Command3();
5062
5062
  program.name("stint").description("Stint Agent - Local daemon for Stint Project Assistant").version(AGENT_VERSION, "-v, --version", "output the current version").addHelpText(
5063
5063
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowelle/stint-agent",
3
- "version": "1.2.49",
3
+ "version": "1.2.50",
4
4
  "description": "Local agent for Stint - Project Assistant",
5
5
  "author": "Gowelle John <gowelle.john@icloud.com>",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- import {
2
- apiService
3
- } from "./chunk-NUYTAWHX.js";
4
- import "./chunk-3JSOITUS.js";
5
- export {
6
- apiService
7
- };