@rubytech/taskmaster 1.0.16 → 1.0.17

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,5 +1,5 @@
1
1
  {
2
- "version": "1.0.16",
3
- "commit": "29d7bb96c371e7d6f1b015993e7354b0dc5bd563",
4
- "builtAt": "2026-02-16T08:08:27.128Z"
2
+ "version": "1.0.17",
3
+ "commit": "25cf76999236c76e4c0f5e3838ff47a23ce03fff",
4
+ "builtAt": "2026-02-16T08:12:16.226Z"
5
5
  }
@@ -124,8 +124,11 @@ export const updateHandlers = {
124
124
  const timeoutMs = typeof timeoutMsRaw === "number" && Number.isFinite(timeoutMsRaw)
125
125
  ? Math.max(1000, Math.floor(timeoutMsRaw))
126
126
  : undefined;
127
+ const log = context.logGateway;
128
+ log.info(`software update started`);
127
129
  const progress = {
128
130
  onStepStart: (step) => {
131
+ log.info(`update step ${step.index + 1}/${step.total}: ${step.name}`);
129
132
  context.broadcast("update.progress", {
130
133
  phase: "step-start",
131
134
  name: step.name,
@@ -134,13 +137,15 @@ export const updateHandlers = {
134
137
  });
135
138
  },
136
139
  onStepComplete: (step) => {
140
+ const ok = step.exitCode === 0 || step.exitCode === null;
141
+ log.info(`update step ${step.index + 1}/${step.total}: ${step.name} ${ok ? "ok" : `FAILED (exit ${step.exitCode})`} (${step.durationMs}ms)`);
137
142
  context.broadcast("update.progress", {
138
143
  phase: "step-done",
139
144
  name: step.name,
140
145
  index: step.index,
141
146
  total: step.total,
142
147
  durationMs: step.durationMs,
143
- ok: step.exitCode === 0 || step.exitCode === null,
148
+ ok,
144
149
  });
145
150
  },
146
151
  };
@@ -167,6 +172,12 @@ export const updateHandlers = {
167
172
  durationMs: 0,
168
173
  };
169
174
  }
175
+ if (result.status === "ok") {
176
+ log.info(`software update completed (${result.mode}, ${result.durationMs}ms)`);
177
+ }
178
+ else {
179
+ log.warn(`software update ${result.status}: ${result.reason ?? "unknown"} (${result.mode}, ${result.durationMs}ms)`);
180
+ }
170
181
  const payload = {
171
182
  kind: "update",
172
183
  status: result.status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/taskmaster",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "AI-powered business assistant for small businesses",
5
5
  "publishConfig": {
6
6
  "access": "public"