@rubytech/taskmaster 1.0.34 → 1.0.36

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.
@@ -6,7 +6,7 @@
6
6
  <title>Taskmaster Control</title>
7
7
  <meta name="color-scheme" content="dark light" />
8
8
  <link rel="icon" type="image/png" href="./favicon.png" />
9
- <script type="module" crossorigin src="./assets/index-D9HCutTJ.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-DgT0m3bj.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="./assets/index-BQEnHucA.css">
11
11
  </head>
12
12
  <body>
@@ -134,25 +134,25 @@ export const systemHandlers = {
134
134
  respond(true, { ok: true, scopes, purge }, undefined);
135
135
  // Small delay to let the response reach the client
136
136
  await new Promise((r) => setTimeout(r, 500));
137
- // Run state + workspace + purge first, WITHOUT the service scope.
138
- // We cannot stop our own service systemd would SIGTERM this process
139
- // before workspace/state removal runs.
137
+ // skipService: we cannot stop our own service systemd would SIGTERM
138
+ // this process before workspace/state removal runs. The service files
139
+ // are uninstalled separately below (without stopping).
140
140
  try {
141
141
  await uninstallCommand(defaultRuntime, {
142
- service: false,
143
142
  state: scopes.includes("state"),
144
143
  workspace: scopes.includes("workspace"),
145
144
  app: scopes.includes("app"),
146
145
  purge,
146
+ skipService: true,
147
147
  yes: true,
148
148
  nonInteractive: true,
149
149
  });
150
150
  }
151
151
  catch (err) {
152
- log.error(`system.uninstall (data removal) failed: ${String(err)}`);
152
+ log.error(`system.uninstall failed: ${String(err)}`);
153
153
  }
154
- // Now uninstall the service files (without stopping — we ARE the service).
155
- // The process.exit below handles the actual stop.
154
+ // Uninstall the service files without stopping — we ARE the service.
155
+ // process.exit below handles the actual stop.
156
156
  if (scopes.includes("service")) {
157
157
  try {
158
158
  const service = resolveGatewayService();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/taskmaster",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "AI-powered business assistant for small businesses",
5
5
  "publishConfig": {
6
6
  "access": "public"