@sema-agent/cli 1.0.16 → 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,16 +1,16 @@
1
1
  {
2
2
  "name": "@sema-agent/cli",
3
- "version": "1.0.16",
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.16",
9
+ "version": "1.0.18",
10
10
  "license": "BUSL-1.1",
11
11
  "dependencies": {
12
12
  "@sema-agent/sdk": "0.0.53",
13
- "@sema-agent/server": "1.223.0"
13
+ "@sema-agent/server": "1.225.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.317.0",
633
- "resolved": "https://registry.npmjs.org/@sema-agent/core/-/core-1.317.0.tgz",
634
- "integrity": "sha512-5RI3IW6cW3hE4WWGGV6mOADCLblWiegRMOyIUcCudjPW0rwplUMH7WiKjsJ2mPHQN6a6aUe/3/OjPek1w/N3Aw==",
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",
@@ -678,12 +678,12 @@
678
678
  }
679
679
  },
680
680
  "node_modules/@sema-agent/server": {
681
- "version": "1.223.0",
682
- "resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.223.0.tgz",
683
- "integrity": "sha512-rpgtgF2mQKrFjGY/1SVxVGgkCtMPy7g856NTa5Vv35ugNtqkbRuLoJg70qAgfNWaqSWbGUqgpw5K7DYdOfJ9uw==",
681
+ "version": "1.225.0",
682
+ "resolved": "https://registry.npmjs.org/@sema-agent/server/-/server-1.225.0.tgz",
683
+ "integrity": "sha512-mdHSZ9xL46PjQEa5ZnzPeGXvfWmNWIgXFxtX6uJLRpRMdhL8bRnV0ZHIMNPdrVJ02Gyp/jgQsw9tdOaDGiAimw==",
684
684
  "license": "BUSL-1.1",
685
685
  "dependencies": {
686
- "@sema-agent/core": "^1.315.0",
686
+ "@sema-agent/core": "^1.316.0",
687
687
  "@sema-agent/registry-core": "^0.10.16",
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.16",
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": {
@@ -22,13 +22,13 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@sema-agent/sdk": "0.0.53",
25
- "@sema-agent/server": "1.223.0"
25
+ "@sema-agent/server": "1.225.0"
26
26
  },
27
27
  "overrides": {
28
- "@sema-agent/core": "1.317.0",
28
+ "@sema-agent/core": "1.320.0",
29
29
  "@sema-agent/registry-core": "0.10.19"
30
30
  },
31
- "semaEngineVersion": "server 1.223.0 / core 1.317.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
@@ -354306,7 +354306,7 @@ var init_classifierApprovalsHook = __esm({
354306
354306
  var React29, SentryErrorBoundary;
354307
354307
  var init_SentryErrorBoundary = __esm({
354308
354308
  "build-src/src/components/SentryErrorBoundary.ts"() {
354309
- React29 = __toESM(require_react());
354309
+ React29 = __toESM(require_react(), 1);
354310
354310
  SentryErrorBoundary = class extends React29.Component {
354311
354311
  constructor(props) {
354312
354312
  super(props);
@@ -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.16",
479590
- announcement: 'sema 1.0.16 \u2014 Workflow is now exposed on demand: say "workflow" or "ultracode" (or pick /effort ultracode) to surface it that turn; otherwise its schema stays out of your prompt for a leaner, cache-stable context. Opt out with SEMA_WORKFLOW_DEFER=0.'
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.16",
482525
- announcement: 'sema 1.0.16 \u2014 Workflow is now exposed on demand: say "workflow" or "ultracode" (or pick /effort ultracode) to surface it that turn; otherwise its schema stays out of your prompt for a leaner, cache-stable context. Opt out with SEMA_WORKFLOW_DEFER=0.'
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
  });
@@ -552887,6 +552887,7 @@ var init_scheduler = __esm({
552887
552887
  });
552888
552888
 
552889
552889
  // node_modules/@sema-agent/core/dist/engine/execution-env/node-execution-env.js
552890
+ var EXEC_SPOOL_ROTATE_BYTES, EXEC_SPOOL_FINAL_TAIL_BYTES, EXEC_SPOOL_HARD_CAP_BYTES;
552890
552891
  var init_node_execution_env = __esm({
552891
552892
  "node_modules/@sema-agent/core/dist/engine/execution-env/node-execution-env.js"() {
552892
552893
  init_types25();
@@ -552895,6 +552896,9 @@ var init_node_execution_env = __esm({
552895
552896
  init_exec_output_tail();
552896
552897
  init_background_shell();
552897
552898
  init_scheduler();
552899
+ EXEC_SPOOL_ROTATE_BYTES = 8 * 1024 * 1024;
552900
+ EXEC_SPOOL_FINAL_TAIL_BYTES = 8 * 1024 * 1024;
552901
+ EXEC_SPOOL_HARD_CAP_BYTES = 16 * 1024 * 1024;
552898
552902
  }
552899
552903
  });
552900
552904
 
@@ -553802,7 +553806,7 @@ var init_llm2 = __esm({
553802
553806
  var BRAIN_ERROR_CODES, CODE_ALTERNATION, CODE_RE, CODE_PREFIX_RE;
553803
553807
  var init_errors12 = __esm({
553804
553808
  "node_modules/@sema-agent/core/dist/brain/errors.js"() {
553805
- 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"];
553806
553810
  CODE_ALTERNATION = BRAIN_ERROR_CODES.join("|");
553807
553811
  CODE_RE = new RegExp(`^\\[(${CODE_ALTERNATION})\\]`);
553808
553812
  CODE_PREFIX_RE = new RegExp(`^\\[(?:${CODE_ALTERNATION})\\]\\s*`);
@@ -607785,8 +607789,8 @@ function _temp161() {
607785
607789
  var import_compiler_runtime316, import_react313, SETTINGS_ERRORS_NOTIFICATION_KEY;
607786
607790
  var init_useSettingsErrors = __esm({
607787
607791
  "build-src/src/hooks/notifs/useSettingsErrors.tsx"() {
607788
- import_compiler_runtime316 = __toESM(require_compiler_runtime(), 1);
607789
- import_react313 = __toESM(require_react(), 1);
607792
+ import_compiler_runtime316 = __toESM(require_compiler_runtime());
607793
+ import_react313 = __toESM(require_react());
607790
607794
  init_notifications();
607791
607795
  init_state();
607792
607796
  init_allErrors();
@@ -653933,7 +653937,7 @@ Auth: unix socket -R \u2192 local proxy`, "info");
653933
653937
  pendingHookMessages
653934
653938
  }, renderAndRun);
653935
653939
  }
653936
- }).version("sema 1.0.16", "-v, --version", "Output the version number");
653940
+ }).version("sema 1.0.18", "-v, --version", "Output the version number");
653937
653941
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
653938
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.");
653939
653943
  if (canUserConfigureAdvisor()) {