@gowelle/stint-agent 1.2.19 → 1.2.20

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/README.md CHANGED
@@ -105,6 +105,33 @@ stint daemon status
105
105
  | `--push` | Push changes to remote after committing |
106
106
  | `--force` | Skip file validation warnings |
107
107
 
108
+ ### Updates
109
+
110
+ | Command | Description |
111
+ | ---------------------------- | ---------------------------------------------- |
112
+ | `stint update` | Update to latest stable version |
113
+ | `stint update --check` | Check for updates without installing |
114
+ | `stint update --channel beta`| Update to beta channel |
115
+ | `stint update -y` | Skip confirmation prompt |
116
+
117
+ **Automatic Update Checks:**
118
+
119
+ The daemon automatically checks for updates once per day on startup. You'll receive a desktop notification when an update is available.
120
+
121
+ **Disable automatic checks:**
122
+ ```bash
123
+ stint config set autoCheckUpdates false
124
+ ```
125
+
126
+ **Release Channels:**
127
+ - `stable` - Production releases (default)
128
+ - `beta` - Pre-release versions for testing
129
+
130
+ To publish a beta version:
131
+ ```bash
132
+ npm publish --tag beta
133
+ ```
134
+
108
135
  ## Complete Workflow
109
136
 
110
137
  ```bash
@@ -2,10 +2,10 @@ import {
2
2
  gitService,
3
3
  projectService,
4
4
  validatePidFile
5
- } from "./chunk-NVQIKLOA.js";
5
+ } from "./chunk-ABDHDLEJ.js";
6
6
  import {
7
7
  authService
8
- } from "./chunk-HZ4K7EPF.js";
8
+ } from "./chunk-GOS22L3R.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-L7PFNRLV.js";
4
+ import "./chunk-GOS22L3R.js";
5
+ export {
6
+ apiService
7
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  config,
3
3
  logger
4
- } from "./chunk-HZ4K7EPF.js";
4
+ } from "./chunk-GOS22L3R.js";
5
5
 
6
6
  // src/services/git.ts
7
7
  import simpleGit from "simple-git";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  apiService
3
- } from "./chunk-6LQKDEQR.js";
3
+ } from "./chunk-L7PFNRLV.js";
4
4
  import {
5
5
  gitService,
6
6
  projectService
7
- } from "./chunk-NVQIKLOA.js";
7
+ } from "./chunk-ABDHDLEJ.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __toESM,
11
11
  authService,
12
12
  config,
13
13
  logger
14
- } from "./chunk-HZ4K7EPF.js";
14
+ } from "./chunk-GOS22L3R.js";
15
15
 
16
16
  // node_modules/semver/internal/constants.js
17
17
  var require_constants = __commonJS({
@@ -310,7 +310,7 @@ var AuthServiceImpl = class {
310
310
  return null;
311
311
  }
312
312
  try {
313
- const { apiService } = await import("./api-76OMVWNR.js");
313
+ const { apiService } = await import("./api-RQW35VGT.js");
314
314
  const user = await apiService.getCurrentUser();
315
315
  logger.info("auth", `Token validated for user: ${user.email}`);
316
316
  return user;
@@ -2,7 +2,7 @@ import {
2
2
  authService,
3
3
  config,
4
4
  logger
5
- } from "./chunk-HZ4K7EPF.js";
5
+ } from "./chunk-GOS22L3R.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.19";
101
+ var AGENT_VERSION = "1.2.20";
102
102
  var ApiServiceImpl = class {
103
103
  sessionId = null;
104
104
  circuitBreaker = new CircuitBreaker({
@@ -4,21 +4,21 @@ import {
4
4
  notify,
5
5
  versionService,
6
6
  websocketService
7
- } from "../chunk-ZUQRDCS2.js";
7
+ } from "../chunk-BH4OTBYH.js";
8
8
  import {
9
9
  apiService
10
- } from "../chunk-6LQKDEQR.js";
10
+ } from "../chunk-L7PFNRLV.js";
11
11
  import {
12
12
  gitService,
13
13
  projectService,
14
14
  removePidFile,
15
15
  writePidFile
16
- } from "../chunk-NVQIKLOA.js";
16
+ } from "../chunk-ABDHDLEJ.js";
17
17
  import {
18
18
  authService,
19
19
  config,
20
20
  logger
21
- } from "../chunk-HZ4K7EPF.js";
21
+ } from "../chunk-GOS22L3R.js";
22
22
 
23
23
  // src/daemon/runner.ts
24
24
  import "dotenv/config";
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  commitQueue,
4
4
  versionService,
5
5
  websocketService
6
- } from "./chunk-ZUQRDCS2.js";
6
+ } from "./chunk-BH4OTBYH.js";
7
7
  import {
8
8
  apiService
9
- } from "./chunk-6LQKDEQR.js";
9
+ } from "./chunk-L7PFNRLV.js";
10
10
  import {
11
11
  getPidFilePath,
12
12
  gitService,
@@ -15,12 +15,12 @@ import {
15
15
  projectService,
16
16
  spawnDetached,
17
17
  validatePidFile
18
- } from "./chunk-NVQIKLOA.js";
18
+ } from "./chunk-ABDHDLEJ.js";
19
19
  import {
20
20
  authService,
21
21
  config,
22
22
  logger
23
- } from "./chunk-HZ4K7EPF.js";
23
+ } from "./chunk-GOS22L3R.js";
24
24
 
25
25
  // src/index.ts
26
26
  import "dotenv/config";
@@ -621,7 +621,7 @@ function registerStatusCommand(program2) {
621
621
  try {
622
622
  const { render } = await import("ink");
623
623
  const { createElement } = await import("react");
624
- const { StatusDashboard } = await import("./StatusDashboard-I5DG5GEB.js");
624
+ const { StatusDashboard } = await import("./StatusDashboard-UXWLHFTD.js");
625
625
  render(createElement(StatusDashboard, { cwd }));
626
626
  return;
627
627
  } catch (error) {
@@ -2069,7 +2069,7 @@ function registerDoctorCommand(program2) {
2069
2069
  }
2070
2070
 
2071
2071
  // src/index.ts
2072
- var AGENT_VERSION = "1.2.19";
2072
+ var AGENT_VERSION = "1.2.20";
2073
2073
  var program = new Command();
2074
2074
  program.name("stint").description("Stint Agent - Local daemon for Stint Project Assistant").version(AGENT_VERSION, "-v, --version", "output the current version").addHelpText("after", `
2075
2075
  ${chalk14.bold("Examples:")}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowelle/stint-agent",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
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-6LQKDEQR.js";
4
- import "./chunk-HZ4K7EPF.js";
5
- export {
6
- apiService
7
- };