@kenkaiiii/gg-boss 4.3.146 → 4.3.148

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/cli.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  use_app_default,
44
44
  use_input_default,
45
45
  use_stdout_default
46
- } from "./chunk-3EWLK53W.js";
46
+ } from "./chunk-ZNVFGIDI.js";
47
47
  import "./chunk-QT366Y52.js";
48
48
  import {
49
49
  source_default
@@ -164,7 +164,7 @@ init_esm_shims();
164
164
  // package.json
165
165
  var package_default = {
166
166
  name: "@kenkaiiii/gg-boss",
167
- version: "4.3.146",
167
+ version: "4.3.148",
168
168
  type: "module",
169
169
  description: "Orchestrator agent that drives multiple ggcoder sessions across projects from a single chat",
170
170
  license: "MIT",
@@ -1409,7 +1409,7 @@ function BossAppInner({ boss, resetUI }) {
1409
1409
  );
1410
1410
  (0, import_react11.useEffect)(() => {
1411
1411
  startPeriodicUpdateCheck(VERSION, (msg) => {
1412
- bossStore.appendInfo(msg, "info");
1412
+ bossStore.appendUpdateNotice(msg);
1413
1413
  setUpdatePending(true);
1414
1414
  });
1415
1415
  return () => stopPeriodicUpdateCheck();
@@ -1762,8 +1762,16 @@ function StaticRowView({ row }) {
1762
1762
  if (row.kind === "worker_error") return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WorkerErrorRow, { item: row });
1763
1763
  if (row.kind === "info") return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(InfoRow, { text: row.text, level: row.level ?? "info" });
1764
1764
  if (row.kind === "task_dispatch") return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TaskDispatchRow, { tasks: row.tasks });
1765
+ if (row.kind === "update_notice") return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(UpdateNoticeRow, { text: row.text });
1765
1766
  return null;
1766
1767
  }
1768
+ function UpdateNoticeRow({ text }) {
1769
+ const theme = useTheme();
1770
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Box_default, { marginTop: 1, flexShrink: 1, borderStyle: "round", borderColor: theme.success, paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Text, { color: theme.success, bold: true, wrap: "wrap", children: [
1771
+ "\u2728 ",
1772
+ text
1773
+ ] }) });
1774
+ }
1767
1775
  function TaskDispatchRow({
1768
1776
  tasks
1769
1777
  }) {
@@ -2289,6 +2297,16 @@ async function main() {
2289
2297
  if (isContinue) args.continueRecent = true;
2290
2298
  await runOrchestrator(args);
2291
2299
  }
2300
+ process.on("uncaughtException", (err) => {
2301
+ const message = err instanceof Error ? err.message : String(err);
2302
+ const stack = err instanceof Error ? err.stack : void 0;
2303
+ log("ERROR", "uncaught_exception", message, { stack });
2304
+ });
2305
+ process.on("unhandledRejection", (reason) => {
2306
+ const message = reason instanceof Error ? reason.message : String(reason);
2307
+ const stack = reason instanceof Error ? reason.stack : void 0;
2308
+ log("ERROR", "unhandled_rejection", message, { stack });
2309
+ });
2292
2310
  main().catch((err) => {
2293
2311
  const message = err instanceof Error ? err.message : String(err);
2294
2312
  process.stderr.write(source_default.hex(COLORS.error)(`