meetsoma 0.1.2 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,77 @@ All notable changes to Soma (`meetsoma` on npm).
4
4
 
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/). Versioning follows [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.1.4] — 2026-03-28
8
+
9
+ Corresponds to Soma agent v0.6.5.
10
+
11
+ ### New
12
+
13
+ - **`soma inhale --list`** — see available preloads with age and staleness markers.
14
+ - **`soma inhale <name>`** — load a specific preload by date, session ID, or substring.
15
+ - **`soma inhale --load <path>`** — load any file as a preload.
16
+ - **`soma map <name>`** — run a MAP with prompt-config and targeted preload.
17
+ - **`soma map --list`** — see available MAPs with status and description.
18
+ - **`--preload` flag deprecated** — use `soma inhale` or `soma map` instead (still works).
19
+
20
+ ### Changed
21
+
22
+ - **Settings-driven heat overrides** — per-project AMPS heat control via `settings.heat.overrides`.
23
+ - **Statusline** shows preload status. Smart `/exhale` detects edit vs write mode.
24
+ - **Restart signal** — auto-detects when extensions change, prompts for restart.
25
+
26
+ ### Fixed
27
+
28
+ - **Crash on partial settings** — `settings.heat` access now defensive (won't crash with old config files).
29
+ - **Breathe grace period** — was 60s, now correctly 30s matching settings default.
30
+ - **5 auto-breathe UX gaps** — smarter context warnings, resume awareness.
31
+
32
+ ---
33
+
34
+ ## [0.1.3] — 2026-03-23
35
+
36
+ ### New
37
+
38
+ - **Body architecture** — structured identity in `.soma/body/`. Create `soul.md` (who the agent is), `voice.md` (how it communicates), `body.md` (project context). Each file becomes a `{{variable}}` usable in templates.
39
+ - **Template engine** — `_mind.md` controls your system prompt structure. Add `{{soul}}`, `{{voice}}`, custom text. 5 modifiers: `|tldr`, `|section:Name`, `|lines:N`, `|last:N`, `|ref`.
40
+ - **Smart AMPS loading** — warm protocols and muscles now appear as `<available_skills>` entries (Claude's native format). Agent reads them on demand instead of loading everything into the prompt.
41
+ - **`/body` command** — inspect your template system. `check` (health report), `vars` (all variables), `map` (structure), `render` (full compiled prompt).
42
+ - **`/exit`** command — save state and quit cleanly.
43
+ - **`SOMA.md`** — new canonical identity file name. Replaces `identity.md` (still works as fallback).
44
+
45
+ ### Changed
46
+
47
+ - **Boot messages** rewritten — "You woke up" instead of "You've booted into a session."
48
+ - **Auto-breathe** — agent no longer guesses context percentages. Trusts the system to prompt when it's time.
49
+ - **Muscle heat** — muscles gain heat when loaded at boot, not just when explicitly read.
50
+
51
+ ### Fixed
52
+
53
+ - **Stale conversation injection** — removed scanner that picked up old sessions from wrong runtime.
54
+ - **Identity frontmatter** — no longer leaks YAML into the system prompt.
55
+
56
+ ---
57
+
58
+ ## [0.1.2] — 2026-03-22
59
+
60
+ ### New
61
+
62
+ - **`/hub` command** — install, fork, share, find, and browse community content from one command. Replaces `/install` and `/list`.
63
+ - **Drop-in commands** — add scripts to `.soma/amps/scripts/commands/` and they become `/soma <name>` commands instantly.
64
+ - **Community hub: 40 items** — protocols, muscles, scripts, automations, and templates. Browse at soma.gravicity.ai/hub.
65
+ - **Smart sharing** — `/hub share` runs quality checks, auto-fixes private paths, opens a PR to the community.
66
+ - **Multiple git emails** — `guard.gitIdentity.email` now accepts an array for multi-account users.
67
+ - **Preload improvements** — Weather (session tone) and Warnings (traps for next session) in default template.
68
+
69
+ ### Changed
70
+
71
+ - `/install` and `/list` now redirect to `/hub install` and `/hub list`.
72
+ - Protocols that document built-in behavior no longer load into the prompt (saves ~2000 tokens).
73
+
74
+ ### Fixed
75
+
76
+ - `/hub list --remote` now works (flag was parsed as type filter).
77
+
7
78
  ## [0.6.2] — 2026-03-21
8
79
 
9
80
  ### New
package/dist/thin-cli.js CHANGED
@@ -429,7 +429,10 @@ function showHelp() {
429
429
  console.log(` ${green("soma")} Start a session`);
430
430
  console.log(` ${green("soma focus <keyword>")} Start a focused session`);
431
431
  console.log(` ${green("soma inhale")} Resume from last session's preload`);
432
- console.log(` ${green("soma --map <name>")} Load a specific workflow`);
432
+ console.log(` ${green("soma inhale <name>")} Load a specific preload by name`);
433
+ console.log(` ${green("soma inhale --list")} Show available preloads`);
434
+ console.log(` ${green("soma map <name>")} Load a specific workflow (MAP)`);
435
+ console.log(` ${green("soma map --list")} Show available MAPs`);
433
436
  console.log("");
434
437
  console.log(` ${bold("Maintenance")}`);
435
438
  console.log(` ${green("soma doctor")} Verify installation health`);
@@ -813,7 +816,18 @@ if (cmd === "--version" || cmd === "-v" || cmd === "-V") {
813
816
  } else if (cmd === "about") {
814
817
  await showAbout();
815
818
  } else if (cmd === "init") {
816
- await initSoma();
819
+ // If runtime is installed AND (has --template/--orphan args OR no .soma/ in cwd),
820
+ // route to project init via content-cli instead of runtime install
821
+ const hasProjectArgs = args.includes("--template") || args.includes("--orphan") || args.includes("-o");
822
+ const runtimeInstalled = isInstalled();
823
+ const hasSomaDir = existsSync(join(process.cwd(), ".soma"));
824
+
825
+ if (runtimeInstalled && (hasProjectArgs || !hasSomaDir)) {
826
+ // Delegate to content-cli for project init
827
+ await delegateToCore();
828
+ } else {
829
+ await initSoma();
830
+ }
817
831
  } else if (cmd === "update") {
818
832
  checkForUpdates();
819
833
  } else if (cmd === "doctor") {
@@ -825,7 +839,7 @@ if (cmd === "--version" || cmd === "-v" || cmd === "-V") {
825
839
  await delegateToCore();
826
840
  } else {
827
841
  // Check if user typed a known post-install command
828
- const postInstallCmds = ["focus", "inhale", "content", "install", "list", "--map", "--preload"];
842
+ const postInstallCmds = ["focus", "inhale", "content", "install", "list", "map", "--map", "--preload"];
829
843
  if (cmd && postInstallCmds.includes(cmd)) {
830
844
  printSigma();
831
845
  console.log(` ${bold("soma " + cmd)} requires the Soma runtime.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meetsoma",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Soma \u2014 the AI coding agent with self-growing memory",
5
5
  "type": "module",
6
6
  "bin": {