somora 2026.930.3 → 2026.930.4

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.
@@ -49,7 +49,7 @@ providers:
49
49
  anthropic:
50
50
  engine: claude-cli
51
51
  models:
52
- - id: claude-opus-5
52
+ - id: claude-opus-5-5
53
53
  alias: opus
54
54
  contextWindow: 1000000
55
55
  capabilities: [text, image, pdf, reasoning]
package/docs/models.md CHANGED
@@ -46,7 +46,7 @@ providers:
46
46
  alias: fable
47
47
  contextWindow: 1000000
48
48
  capabilities: [text, image, pdf, reasoning]
49
- - id: claude-opus-5
49
+ - id: claude-opus-5-5
50
50
  alias: opus
51
51
  contextWindow: 1000000
52
52
  capabilities: [text, image, pdf, reasoning]
@@ -63,7 +63,7 @@ providers:
63
63
  | model | contextWindow | notes | verified |
64
64
  |---|---|---|---|
65
65
  | `claude-fable-5-1` | 1000000 | Frontier model, adaptive thinking always on. The SDK discloses **no thinking text** for it — somora shows a placeholder row that the model thought ([thinking.md](thinking.md#thinking-content--seeing-what-the-model-thought)). No separate reasoning-token count (rolled into `tokens_out`). | 2026-09-03 |
66
- | `claude-opus-5` | 1000000 | Anthropic's recommendation for most workloads. Thinking text: placeholder, as above. | 2026-09-03 |
66
+ | `claude-opus-5-5` | 1000000 | Opus 5.5 — Anthropic's recommendation for most workloads; replaces `claude-opus-5` (keep your alias, change the `id`). Thinking text: placeholder, as above. | 2026-09-30 |
67
67
  | `claude-sonnet-5` | 1000000 | Same surface as Opus, cheaper on the subscription budget. | 2026-09-03 |
68
68
  | `claude-haiku-4-5` | 200000 | Does support extended thinking — keep `reasoning` in `capabilities`, it is missing from most example configs. | 2026-09-03 |
69
69
 
package/docs/setup.md CHANGED
@@ -281,7 +281,7 @@ providers:
281
281
  anthropic:
282
282
  engine: claude-cli
283
283
  models:
284
- - id: claude-opus-5
284
+ - id: claude-opus-5-5
285
285
  alias: opus
286
286
  contextWindow: 1000000
287
287
  capabilities: [text, image, pdf, reasoning]
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "somora",
3
- "version": "2026.930.3",
3
+ "version": "2026.930.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "somora",
9
- "version": "2026.930.3",
9
+ "version": "2026.930.4",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/claude-agent-sdk": "^0.3.152",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "somora",
3
- "version": "2026.930.3",
3
+ "version": "2026.930.4",
4
4
  "description": "A self-hosted multi-agent harness: your agents, your models, one server — with memory, a shared wiki, a web desktop, a phone app and a terminal client.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/cli/somora.ts CHANGED
@@ -23,7 +23,7 @@ import { fileURLToPath } from 'node:url';
23
23
 
24
24
  import { SOMORA_VERSION } from '../version.ts';
25
25
  import { buildSystemdUnit, extractCustomEnvLines, nodePathLine } from './systemd-unit.ts';
26
- import { compareVersions, parseUpdateArgs } from './update-args.ts';
26
+ import { allowScriptsArgs, compareVersions, parseUpdateArgs } from './update-args.ts';
27
27
  import {
28
28
  LAUNCHD_LABEL, launchdAvailable, launchdLoaded, launchdPid, launchdPlistPath, launchdRestart, launchdStart,
29
29
  launchdStop, nodeDirOnPath, writeLaunchdPlist,
@@ -530,7 +530,8 @@ async function cmdUpdate(args: string[]): Promise<number> {
530
530
  // tested with; no in-place re-resolve needed afterwards.
531
531
  const spec = `${SOMORA_NPM_NAME}@${target.version}`;
532
532
  process.stdout.write(` npm install -g ${spec}\n`);
533
- const ri = spawnSync('npm', ['install', '-g', '--no-audit', '--no-fund', spec], { encoding: 'utf8', stdio: ['inherit', 'inherit', 'pipe'] });
533
+ const allow = allowScriptsArgs(run('npm', ['config', 'get', 'allow-scripts']).stdout);
534
+ const ri = spawnSync('npm', ['install', '-g', '--no-audit', '--no-fund', ...allow, spec], { encoding: 'utf8', stdio: ['inherit', 'inherit', 'pipe'] });
534
535
  if (ri.stderr) process.stderr.write(ri.stderr);
535
536
  if (ri.status !== 0) {
536
537
  if (/EACCES/.test(ri.stderr ?? '')) {
@@ -53,3 +53,17 @@ export function compareVersions(a: string, b: string): number {
53
53
  if (bpre === undefined) return -1;
54
54
  return apre < bpre ? -1 : 1;
55
55
  }
56
+
57
+ /** Dependencies that build or fetch a binary at install time. npm from
58
+ * 11.16 on wants them named on a global install (`--allow-scripts`);
59
+ * today it only warns, a stricter default would leave node-pty and
60
+ * better-sqlite3 unbuilt. update-args.test.mts holds this list against
61
+ * npm-shrinkwrap.json and install.sh. */
62
+ export const ALLOW_SCRIPTS = ['better-sqlite3', 'cpu-features', 'esbuild', 'fsevents', 'node-pty', 'onnxruntime-node', 'protobufjs', 'ssh2'];
63
+
64
+ /** Extra arguments for `npm install -g`, given what `npm config get
65
+ * allow-scripts` printed: an npm that does not know the setting says
66
+ * "undefined" and must not get the flag. */
67
+ export function allowScriptsArgs(configGetOutput: string): string[] {
68
+ return configGetOutput.trim() === 'undefined' ? [] : [`--allow-scripts=${ALLOW_SCRIPTS.join(',')}`];
69
+ }
@@ -33,7 +33,7 @@ providers:
33
33
  anthropic:
34
34
  engine: claude-cli
35
35
  models:
36
- - id: claude-opus-5
36
+ - id: claude-opus-5-5
37
37
  alias: opus
38
38
  contextWindow: 1000000
39
39
  capabilities: [text, image, pdf, reasoning]
@@ -27,7 +27,7 @@ export const CLAUDE_PRESET: ProviderPreset = {
27
27
  engine: 'claude-cli',
28
28
  models: [
29
29
  { id: 'claude-fable-5-1', alias: 'fable', contextWindow: 1000000, capabilities: FULL, note: 'frontier model' },
30
- { id: 'claude-opus-5', alias: 'opus', contextWindow: 1000000, capabilities: FULL, note: 'recommended for most work' },
30
+ { id: 'claude-opus-5-5', alias: 'opus', contextWindow: 1000000, capabilities: FULL, note: 'recommended for most work' },
31
31
  { id: 'claude-sonnet-5', alias: 'sonnet', contextWindow: 1000000, capabilities: FULL, note: 'lighter on the subscription budget' },
32
32
  { id: 'claude-haiku-4-5', alias: 'haiku', contextWindow: 200000, capabilities: FULL, note: 'fast and cheap — good for background work' },
33
33
  ],