@gowelle/stint-agent 1.2.34 → 1.2.35
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/dist/{StatusDashboard-6H3FWITW.js → StatusDashboard-N3HF2TD3.js} +2 -2
- package/dist/api-Z3HF3YU7.js +7 -0
- package/dist/{chunk-UB56ZQNI.js → chunk-4655SBXG.js} +1 -1
- package/dist/{chunk-NEUK7ZZY.js → chunk-H5GHDNXY.js} +2 -2
- package/dist/{chunk-L4S6LLKQ.js → chunk-MISINEGG.js} +4 -4
- package/dist/{chunk-BKJMUBZE.js → chunk-RC7Z6GTK.js} +1 -1
- package/dist/daemon/runner.js +7 -10
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/dist/api-TC3OYN5R.js +0 -7
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
gitService,
|
|
3
3
|
projectService,
|
|
4
4
|
validatePidFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4655SBXG.js";
|
|
6
6
|
import {
|
|
7
7
|
authService
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RC7Z6GTK.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-RC7Z6GTK.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.35";
|
|
102
102
|
var ApiServiceImpl = class {
|
|
103
103
|
sessionId = null;
|
|
104
104
|
circuitBreaker = new CircuitBreaker({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
apiService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H5GHDNXY.js";
|
|
4
4
|
import {
|
|
5
5
|
gitService,
|
|
6
6
|
projectService
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4655SBXG.js";
|
|
8
8
|
import {
|
|
9
9
|
authService,
|
|
10
10
|
config,
|
|
11
11
|
logger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RC7Z6GTK.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/notify.ts
|
|
15
15
|
import notifier from "node-notifier";
|
|
@@ -768,7 +768,7 @@ var WebSocketServiceImpl = class {
|
|
|
768
768
|
if (commit.has_large_files) {
|
|
769
769
|
try {
|
|
770
770
|
logger.info("websocket", `Commit ${commit.id} marked as large, fetching full details...`);
|
|
771
|
-
const { apiService: apiService2 } = await import("./api-
|
|
771
|
+
const { apiService: apiService2 } = await import("./api-Z3HF3YU7.js");
|
|
772
772
|
const fullCommit = await apiService2.getCommit(commit.id);
|
|
773
773
|
commit = {
|
|
774
774
|
...commit,
|
|
@@ -315,7 +315,7 @@ var AuthServiceImpl = class {
|
|
|
315
315
|
return null;
|
|
316
316
|
}
|
|
317
317
|
try {
|
|
318
|
-
const { apiService } = await import("./api-
|
|
318
|
+
const { apiService } = await import("./api-Z3HF3YU7.js");
|
|
319
319
|
const user = await apiService.getCurrentUser();
|
|
320
320
|
logger.info("auth", `Token validated for user: ${user.email}`);
|
|
321
321
|
return user;
|
package/dist/daemon/runner.js
CHANGED
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
commitQueue,
|
|
4
4
|
notify,
|
|
5
5
|
websocketService
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-MISINEGG.js";
|
|
7
7
|
import {
|
|
8
8
|
apiService
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-H5GHDNXY.js";
|
|
10
10
|
import {
|
|
11
11
|
gitService,
|
|
12
12
|
projectService,
|
|
13
13
|
removePidFile,
|
|
14
14
|
writePidFile
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-4655SBXG.js";
|
|
16
16
|
import {
|
|
17
17
|
authService,
|
|
18
18
|
logger
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RC7Z6GTK.js";
|
|
20
20
|
|
|
21
21
|
// src/daemon/runner.ts
|
|
22
22
|
import "dotenv/config";
|
|
@@ -359,13 +359,10 @@ Priority: ${suggestion.priority}`,
|
|
|
359
359
|
});
|
|
360
360
|
setupSignalHandlers();
|
|
361
361
|
startHeartbeat();
|
|
362
|
-
logger.info("daemon", "
|
|
363
|
-
|
|
364
|
-
Object.values(linkedProjects).forEach((project) => {
|
|
365
|
-
logger.info("daemon", `Linked project: ${project.projectId}`);
|
|
366
|
-
fileWatcher.watchProject(project.projectId);
|
|
367
|
-
});
|
|
362
|
+
logger.info("daemon", "Starting file watcher...");
|
|
363
|
+
fileWatcher.start();
|
|
368
364
|
logger.info("daemon", "Daemon started successfully");
|
|
365
|
+
const linkedProjects = projectService.getAllLinkedProjects();
|
|
369
366
|
const projectEntries = Object.entries(linkedProjects);
|
|
370
367
|
if (projectEntries.length > 0) {
|
|
371
368
|
logger.info("daemon", `Syncing ${projectEntries.length} linked project(s) on startup...`);
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
commitQueue,
|
|
4
4
|
websocketService
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MISINEGG.js";
|
|
6
6
|
import {
|
|
7
7
|
apiService
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H5GHDNXY.js";
|
|
9
9
|
import {
|
|
10
10
|
getPidFilePath,
|
|
11
11
|
gitService,
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
projectService,
|
|
15
15
|
spawnDetached,
|
|
16
16
|
validatePidFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4655SBXG.js";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__toESM,
|
|
21
21
|
authService,
|
|
22
22
|
config,
|
|
23
23
|
logger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RC7Z6GTK.js";
|
|
25
25
|
|
|
26
26
|
// node_modules/semver/internal/constants.js
|
|
27
27
|
var require_constants = __commonJS({
|
|
@@ -2583,7 +2583,7 @@ function registerStatusCommand(program2) {
|
|
|
2583
2583
|
try {
|
|
2584
2584
|
const { render } = await import("ink");
|
|
2585
2585
|
const { createElement } = await import("react");
|
|
2586
|
-
const { StatusDashboard } = await import("./StatusDashboard-
|
|
2586
|
+
const { StatusDashboard } = await import("./StatusDashboard-N3HF2TD3.js");
|
|
2587
2587
|
render(createElement(StatusDashboard, { cwd }));
|
|
2588
2588
|
return;
|
|
2589
2589
|
} catch (error) {
|
|
@@ -4451,7 +4451,7 @@ ${chalk14.bold("Config file:")} ${chalk14.cyan(configPath)}
|
|
|
4451
4451
|
}
|
|
4452
4452
|
|
|
4453
4453
|
// src/index.ts
|
|
4454
|
-
var AGENT_VERSION = "1.2.
|
|
4454
|
+
var AGENT_VERSION = "1.2.35";
|
|
4455
4455
|
var program = new Command();
|
|
4456
4456
|
program.name("stint").description("Stint Agent - Local daemon for Stint Project Assistant").version(AGENT_VERSION, "-v, --version", "output the current version").addHelpText("after", `
|
|
4457
4457
|
${chalk15.bold("Examples:")}
|
package/package.json
CHANGED