@sema-agent/cli 1.0.17 → 1.0.18

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@sema-agent/cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sema-agent/cli",
9
- "version": "1.0.17",
9
+ "version": "1.0.18",
10
10
  "license": "BUSL-1.1",
11
11
  "dependencies": {
12
12
  "@sema-agent/sdk": "0.0.53",
@@ -629,9 +629,9 @@
629
629
  }
630
630
  },
631
631
  "node_modules/@sema-agent/core": {
632
- "version": "1.318.0",
633
- "resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.318.0.tgz",
634
- "integrity": "sha512-Ans8S1njiD+9UjYiKI7pApVt4RCZAyO2IZuMrZNp8GIO3/qIPCPLFwed9hygok21KFmMVIwbXgPNYVZ01maTtw==",
632
+ "version": "1.320.0",
633
+ "resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.320.0.tgz",
634
+ "integrity": "sha512-z/xGnkEgLU/KtYTvgyDUdoMnFeHeERmgtBnfbvgMhGYxpc2UFq1Advz9iBEMYRMqoVBRisrOxdFYQ9Ho6Ur30w==",
635
635
  "license": "BUSL-1.1",
636
636
  "dependencies": {
637
637
  "@modelcontextprotocol/sdk": "1.29.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sema-agent/cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Sema — your own Claude Code-grade coding agent, in the terminal.",
5
5
  "license": "BUSL-1.1",
6
6
  "bin": {
@@ -25,10 +25,10 @@
25
25
  "@sema-agent/server": "1.225.0"
26
26
  },
27
27
  "overrides": {
28
- "@sema-agent/core": "1.318.0",
28
+ "@sema-agent/core": "1.320.0",
29
29
  "@sema-agent/registry-core": "0.10.19"
30
30
  },
31
- "semaEngineVersion": "server 1.225.0 / core 1.318.0 / registry-core 0.10.19",
31
+ "semaEngineVersion": "server 1.225.0 / core 1.320.0 / registry-core 0.10.19",
32
32
  "engines": {
33
33
  "node": ">=18"
34
34
  }
package/sema.js CHANGED
@@ -356442,7 +356442,7 @@ var import_react71, import_jsx_runtime101, MD_SYNTAX_RE2;
356442
356442
  var init_exitplanmode = __esm({
356443
356443
  "build-src/src/sema/overrides/exitplanmode.tsx"() {
356444
356444
  init_marked_esm();
356445
- import_react71 = __toESM(require_react(), 1);
356445
+ import_react71 = __toESM(require_react());
356446
356446
  init_ink2();
356447
356447
  init_useSettings();
356448
356448
  init_MarkdownTable();
@@ -356452,7 +356452,7 @@ var init_exitplanmode = __esm({
356452
356452
  init_teammateMailbox();
356453
356453
  init_ShutdownMessage();
356454
356454
  init_TaskAssignmentMessage();
356455
- import_jsx_runtime101 = __toESM(require_jsx_runtime(), 1);
356455
+ import_jsx_runtime101 = __toESM(require_jsx_runtime());
356456
356456
  MD_SYNTAX_RE2 = /[#*`|[>\-_~]|\n\n|^\d+\. |\n\d+\. /;
356457
356457
  }
356458
356458
  });
@@ -479586,8 +479586,8 @@ var init_sema_brand = __esm({
479586
479586
  "Slash-command gating wired to the fleet capability handshake"
479587
479587
  ]
479588
479588
  },
479589
- productVersion: "1.0.17",
479590
- announcement: "sema 1.0.17 \u2014 background commands you start with & now survive turn teardown: the engine settles the parent shell immediately and no longer sweeps detached grandchildren into cleanup (spooled stdio, CC-parity). Servers you launch keep listening after the run ends."
479589
+ productVersion: "1.0.18",
479590
+ announcement: "sema 1.0.18 \u2014 clearer failure taxonomy: torn streams, refusals, and empty length-capped replies now carry stable error codes end to end, so -p/JSON consumers can bucket failures precisely instead of guessing from prose."
479591
479591
  };
479592
479592
  }
479593
479593
  });
@@ -482521,8 +482521,8 @@ var require_sema_brand = __commonJS({
482521
482521
  "Slash-command gating wired to the fleet capability handshake"
482522
482522
  ]
482523
482523
  },
482524
- productVersion: "1.0.17",
482525
- announcement: "sema 1.0.17 \u2014 background commands you start with & now survive turn teardown: the engine settles the parent shell immediately and no longer sweeps detached grandchildren into cleanup (spooled stdio, CC-parity). Servers you launch keep listening after the run ends."
482524
+ productVersion: "1.0.18",
482525
+ announcement: "sema 1.0.18 \u2014 clearer failure taxonomy: torn streams, refusals, and empty length-capped replies now carry stable error codes end to end, so -p/JSON consumers can bucket failures precisely instead of guessing from prose."
482526
482526
  };
482527
482527
  }
482528
482528
  });
@@ -553806,7 +553806,7 @@ var init_llm2 = __esm({
553806
553806
  var BRAIN_ERROR_CODES, CODE_ALTERNATION, CODE_RE, CODE_PREFIX_RE;
553807
553807
  var init_errors12 = __esm({
553808
553808
  "node_modules/@sema-agent/core/dist/brain/errors.js"() {
553809
- BRAIN_ERROR_CODES = ["auth", "rate_limit", "invalid_request", "server", "network", "http"];
553809
+ BRAIN_ERROR_CODES = ["auth", "rate_limit", "invalid_request", "server", "network", "http", "stream_torn", "refusal", "length_empty"];
553810
553810
  CODE_ALTERNATION = BRAIN_ERROR_CODES.join("|");
553811
553811
  CODE_RE = new RegExp(`^\\[(${CODE_ALTERNATION})\\]`);
553812
553812
  CODE_PREFIX_RE = new RegExp(`^\\[(?:${CODE_ALTERNATION})\\]\\s*`);
@@ -607789,8 +607789,8 @@ function _temp161() {
607789
607789
  var import_compiler_runtime316, import_react313, SETTINGS_ERRORS_NOTIFICATION_KEY;
607790
607790
  var init_useSettingsErrors = __esm({
607791
607791
  "build-src/src/hooks/notifs/useSettingsErrors.tsx"() {
607792
- import_compiler_runtime316 = __toESM(require_compiler_runtime(), 1);
607793
- import_react313 = __toESM(require_react(), 1);
607792
+ import_compiler_runtime316 = __toESM(require_compiler_runtime());
607793
+ import_react313 = __toESM(require_react());
607794
607794
  init_notifications();
607795
607795
  init_state();
607796
607796
  init_allErrors();
@@ -653937,7 +653937,7 @@ Auth: unix socket -R \u2192 local proxy`, "info");
653937
653937
  pendingHookMessages
653938
653938
  }, renderAndRun);
653939
653939
  }
653940
- }).version("sema 1.0.17", "-v, --version", "Output the version number");
653940
+ }).version("sema 1.0.18", "-v, --version", "Output the version number");
653941
653941
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
653942
653942
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
653943
653943
  if (canUserConfigureAdvisor()) {