@sema-agent/cli 1.0.50 → 1.0.51

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@sema-agent/cli",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sema-agent/cli",
9
- "version": "1.0.50",
9
+ "version": "1.0.51",
10
10
  "license": "BUSL-1.1",
11
11
  "dependencies": {
12
- "@sema-agent/sdk": "0.0.69",
13
- "@sema-agent/server": "1.250.0"
12
+ "@sema-agent/sdk": "0.0.72",
13
+ "@sema-agent/server": "1.251.0"
14
14
  },
15
15
  "bin": {
16
16
  "sema": "sema.js"
@@ -629,9 +629,9 @@
629
629
  }
630
630
  },
631
631
  "node_modules/@sema-agent/core": {
632
- "version": "1.368.0",
633
- "resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.368.0.tgz",
634
- "integrity": "sha512-9OOR4vceHvfzUMeBYij21M52p2K0LZOTF0/iOGjjO4Y491BVS3o3y22YgLKLKcObHY+PAiH7ApbYLZggejfa6w==",
632
+ "version": "1.371.0",
633
+ "resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.371.0.tgz",
634
+ "integrity": "sha512-jYFtSRe7H88/RkYXqYmiviaGUwMsAHAF04hYdzYT1vzQmQDYyEAUqrBoZqFyrBxsRmTq6137MWY89Xsvj+0TGA==",
635
635
  "license": "BUSL-1.1",
636
636
  "dependencies": {
637
637
  "@modelcontextprotocol/sdk": "1.29.0",
@@ -669,21 +669,21 @@
669
669
  }
670
670
  },
671
671
  "node_modules/@sema-agent/sdk": {
672
- "version": "0.0.69",
673
- "resolved": "https://registry.npmjs.org/@sema-agent/sdk/-/sdk-0.0.69.tgz",
674
- "integrity": "sha512-BFBQgzMpdxBvjTBSU2P4Dny/kx4PLj2JMY9DppK7QEtJgnCVduPVneRviKbGd4KUr5OLotDyQ6ByHrEUFgSaQg==",
672
+ "version": "0.0.72",
673
+ "resolved": "https://registry.npmjs.org/@sema-agent/sdk/-/sdk-0.0.72.tgz",
674
+ "integrity": "sha512-XWkZe+Z9st8ZBex88fvCkYVph8LVJWh+xwMbmoWwNirQLq8OKNI9COdTqVKkYoKzmuwhuter15bi+ViMVQyCxQ==",
675
675
  "license": "BUSL-1.1",
676
676
  "engines": {
677
677
  "node": ">=20"
678
678
  }
679
679
  },
680
680
  "node_modules/@sema-agent/server": {
681
- "version": "1.250.0",
682
- "resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.250.0.tgz",
683
- "integrity": "sha512-ba9rUGfFiq1Mc+po4Xgwh1zI1XEVVDym3VZuUeAIJO6xb4tTlQjpz/HQuTlFVZWDrRz9Y46bNEXLjg4c2vi7LA==",
681
+ "version": "1.251.0",
682
+ "resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.251.0.tgz",
683
+ "integrity": "sha512-+8kdL9rxxKz0ut5UzMe7shc7jXIZqdmj5cO/xDZQosEs4nl9jeX5Jz0nkg1EWd7+XwOI6hACYAhQFaC/P5npaQ==",
684
684
  "license": "BUSL-1.1",
685
685
  "dependencies": {
686
- "@sema-agent/core": "^1.368.0",
686
+ "@sema-agent/core": "^1.370.0",
687
687
  "@sema-agent/registry-core": "^0.10.21",
688
688
  "e2b": "^2.28.0",
689
689
  "libsodium-wrappers": "^0.8.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sema-agent/cli",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "Sema — your own Claude Code-grade coding agent, in the terminal.",
5
5
  "license": "BUSL-1.1",
6
6
  "bin": {
@@ -21,14 +21,14 @@
21
21
  "sema"
22
22
  ],
23
23
  "dependencies": {
24
- "@sema-agent/sdk": "0.0.69",
25
- "@sema-agent/server": "1.250.0"
24
+ "@sema-agent/sdk": "0.0.72",
25
+ "@sema-agent/server": "1.251.0"
26
26
  },
27
27
  "overrides": {
28
- "@sema-agent/core": "1.368.0",
28
+ "@sema-agent/core": "1.371.0",
29
29
  "@sema-agent/registry-core": "0.10.21"
30
30
  },
31
- "semaEngineVersion": "server 1.250.0 / core 1.368.0 / registry-core 0.10.21",
31
+ "semaEngineVersion": "server 1.251.0 / core 1.371.0 / registry-core 0.10.21",
32
32
  "engines": {
33
33
  "node": ">=18"
34
34
  }
package/sema.js CHANGED
@@ -430512,6 +430512,11 @@ function createLiveFleetSource(config4, now2 = Date.now()) {
430512
430512
  sessionScopedMeta = typeof ss === "boolean" ? ss : void 0;
430513
430513
  const bfc = frame.bgNotifyFailClosed;
430514
430514
  bgNotifyFailClosedMeta = bfc === true;
430515
+ if (process.env.SEMA_DEBUG) {
430516
+ logForDebugging(
430517
+ `[fleet-frame] meta sessionScoped=${String(sessionScopedMeta)} bgNotifyFailClosed=${String(bgNotifyFailClosedMeta)}`
430518
+ );
430519
+ }
430515
430520
  break;
430516
430521
  }
430517
430522
  case "snapshot": {
@@ -480799,16 +480804,16 @@ var init_sema_brand = __esm({
480799
480804
  _doc: "Rendered as the 'What's new' feed (createWhatsNewFeed). Top version MUST be >= current app version (2.1.187) and newer than config.lastReleaseNotesSeen so the notes display and full-logo mode triggers. Pinned == app version (2.1.187) + lastReleaseNotesSeen (loginState.ts) so getRecentReleaseNotes()===[] \u2192 condensed logo (matches refs/chrome.empty-input.json).",
480800
480805
  version: "2.1.187",
480801
480806
  notes: [
480807
+ "Fixes a dependency-relay bug that had silently disabled two recently shipped behaviors \u2014 restart-surviving completion notifications on newer engines and session-scope trust hints now actually take effect, and a new regression lock keeps them observable from now on",
480808
+ "Stopping a task that is really running on another instance is now correctly distinguished from a stop that failed to land",
480802
480809
  "Background-agent timers in the agents panel are now anchored to the real launch time reported by the engine (1.250+) \u2014 elapsed no longer freezes between activity beats on long-quiet agents",
480803
480810
  "Completion notifications for agents left running across a shell restart now also arrive on older engines (resumed sessions recognize their own delegation tree)",
480804
480811
  "Stopping an engine-side task that is actually running on another instance now reports honestly that it can't be stopped from here (multi-replica deployments)",
480805
- "Background-agent completion notifications now survive a shell restart: on engines that declare fail-closed notification routing (1.247+), resuming a session delivers notifications for agents that were still running when the previous shell exited",
480806
- "Workflow monitor no longer bleeds a tool argument's raw multi-line content across the panel (long structured outputs in the Activity list are now summarized to their first line)",
480807
- "Workflow detail/status reads are now session-scoped end to end on newer engines \u2014 another conversation's workflow details are no longer readable from your window"
480812
+ "Background-agent completion notifications now survive a shell restart: on engines that declare fail-closed notification routing (1.247+), resuming a session delivers notifications for agents that were still running when the previous shell exited"
480808
480813
  ]
480809
480814
  },
480810
- productVersion: "1.0.50",
480811
- announcement: "sema 1.0.50 \u2014 Agents-panel timers now track the engine's real launch clock, restart-surviving completion notifications extend to older engines, and multi-replica task stops respond honestly."
480815
+ productVersion: "1.0.51",
480816
+ announcement: "sema 1.0.51 \u2014 Repairs a silent relay bug so restart-surviving notifications and session-scope hints truly work, adds a regression lock so this class of breakage can't hide again, and cleanly distinguishes remote-instance stops."
480812
480817
  };
480813
480818
  }
480814
480819
  });
@@ -483738,16 +483743,16 @@ var require_sema_brand = __commonJS({
483738
483743
  _doc: "Rendered as the 'What's new' feed (createWhatsNewFeed). Top version MUST be >= current app version (2.1.187) and newer than config.lastReleaseNotesSeen so the notes display and full-logo mode triggers. Pinned == app version (2.1.187) + lastReleaseNotesSeen (loginState.ts) so getRecentReleaseNotes()===[] \u2192 condensed logo (matches refs/chrome.empty-input.json).",
483739
483744
  version: "2.1.187",
483740
483745
  notes: [
483746
+ "Fixes a dependency-relay bug that had silently disabled two recently shipped behaviors \u2014 restart-surviving completion notifications on newer engines and session-scope trust hints now actually take effect, and a new regression lock keeps them observable from now on",
483747
+ "Stopping a task that is really running on another instance is now correctly distinguished from a stop that failed to land",
483741
483748
  "Background-agent timers in the agents panel are now anchored to the real launch time reported by the engine (1.250+) \u2014 elapsed no longer freezes between activity beats on long-quiet agents",
483742
483749
  "Completion notifications for agents left running across a shell restart now also arrive on older engines (resumed sessions recognize their own delegation tree)",
483743
483750
  "Stopping an engine-side task that is actually running on another instance now reports honestly that it can't be stopped from here (multi-replica deployments)",
483744
- "Background-agent completion notifications now survive a shell restart: on engines that declare fail-closed notification routing (1.247+), resuming a session delivers notifications for agents that were still running when the previous shell exited",
483745
- "Workflow monitor no longer bleeds a tool argument's raw multi-line content across the panel (long structured outputs in the Activity list are now summarized to their first line)",
483746
- "Workflow detail/status reads are now session-scoped end to end on newer engines \u2014 another conversation's workflow details are no longer readable from your window"
483751
+ "Background-agent completion notifications now survive a shell restart: on engines that declare fail-closed notification routing (1.247+), resuming a session delivers notifications for agents that were still running when the previous shell exited"
483747
483752
  ]
483748
483753
  },
483749
- productVersion: "1.0.50",
483750
- announcement: "sema 1.0.50 \u2014 Agents-panel timers now track the engine's real launch clock, restart-surviving completion notifications extend to older engines, and multi-replica task stops respond honestly."
483754
+ productVersion: "1.0.51",
483755
+ announcement: "sema 1.0.51 \u2014 Repairs a silent relay bug so restart-surviving notifications and session-scope hints truly work, adds a regression lock so this class of breakage can't hide again, and cleanly distinguishes remote-instance stops."
483751
483756
  };
483752
483757
  }
483753
483758
  });
@@ -489531,7 +489536,9 @@ async function stopEngineTask(handle, opts) {
489531
489536
  const detail = e instanceof Error ? e.message : String(e);
489532
489537
  logForDebugging(`[task-handle] stop ${handle} via run ${runId}: ${typeof status3 === "number" ? status3 : detail.slice(0, 160)}`);
489533
489538
  if (status3 === 409) {
489534
- return detail.includes("stop.not_local") ? { ok: false, reason: "not_local", detail } : { ok: false, reason: "not_landed", detail };
489539
+ const code2 = e?.code;
489540
+ const notLocal = code2 === "stop.not_local" || typeof code2 !== "string" && detail.includes("stop.not_local");
489541
+ return notLocal ? { ok: false, reason: "not_local", detail } : { ok: false, reason: "not_landed", detail };
489535
489542
  }
489536
489543
  return { ok: false, reason: "error", detail };
489537
489544
  }
@@ -656402,7 +656409,7 @@ Auth: unix socket -R \u2192 local proxy`, "info");
656402
656409
  pendingHookMessages
656403
656410
  }, renderAndRun);
656404
656411
  }
656405
- }).version("sema 1.0.50", "-v, --version", "Output the version number");
656412
+ }).version("sema 1.0.51", "-v, --version", "Output the version number");
656406
656413
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
656407
656414
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
656408
656415
  if (canUserConfigureAdvisor()) {