meetsoma 0.6.0 → 0.23.0

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.
Files changed (2) hide show
  1. package/dist/thin-cli.js +21 -2
  2. package/package.json +46 -46
package/dist/thin-cli.js CHANGED
@@ -2075,8 +2075,27 @@ async function projectDoctor() {
2075
2075
  const heatLine = projRaw.match(/^heat:.*$/m);
2076
2076
  const loadsLine = projRaw.match(/^loads:.*$/m);
2077
2077
  let updated = bundledRaw;
2078
- if (heatLine) updated = updated.replace(/^heat:.*$/m, heatLine[0]);
2079
- if (loadsLine) updated = updated.replace(/^loads:.*$/m, loadsLine[0]);
2078
+ const inject = [];
2079
+ if (heatLine) {
2080
+ if (/^heat:.*$/m.test(updated)) {
2081
+ updated = updated.replace(/^heat:.*$/m, heatLine[0]);
2082
+ } else {
2083
+ inject.push(heatLine[0]);
2084
+ }
2085
+ }
2086
+ if (loadsLine) {
2087
+ if (/^loads:.*$/m.test(updated)) {
2088
+ updated = updated.replace(/^loads:.*$/m, loadsLine[0]);
2089
+ } else {
2090
+ inject.push(loadsLine[0]);
2091
+ }
2092
+ }
2093
+ if (inject.length > 0) {
2094
+ updated = updated.replace(/^---\n([\s\S]*?)\n---/, `---
2095
+ $1
2096
+ ${inject.join("\n")}
2097
+ ---`);
2098
+ }
2080
2099
  writeFileSync2(join3(protoDir, f), updated);
2081
2100
  staleUpdated++;
2082
2101
  }
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
1
  {
2
- "name": "meetsoma",
3
- "version": "0.6.0",
4
- "description": "Soma — the AI coding agent with self-growing memory",
5
- "type": "module",
6
- "bin": {
7
- "soma": "dist/thin-cli.js"
8
- },
9
- "files": [
10
- "dist/thin-cli.js",
11
- "dist/personality.js",
12
- "dist/postinstall.js",
13
- "LICENSE",
14
- "README.md",
15
- "CHANGELOG.md"
16
- ],
17
- "keywords": [
18
- "soma",
19
- "meetsoma",
20
- "ai",
21
- "agent",
22
- "memory",
23
- "coding-agent",
24
- "identity",
25
- "muscles",
26
- "protocols",
27
- "self-evolving",
28
- "cli",
29
- "llm"
30
- ],
31
- "author": "Gravicity <hello@gravicity.ai>",
32
- "license": "BSL-1.1",
33
- "homepage": "https://soma.gravicity.ai",
34
- "repository": {
35
- "type": "git",
36
- "url": "git+https://github.com/meetsoma/soma-agent.git"
37
- },
38
- "scripts": {
39
- "postinstall": "node dist/postinstall.js"
40
- },
41
- "engines": {
42
- "node": ">=20.6.0"
43
- },
44
- "piConfig": {
45
- "name": "soma",
46
- "configDir": ".soma"
47
- }
2
+ "name": "meetsoma",
3
+ "version": "0.23.0",
4
+ "description": "Soma — the AI coding agent with self-growing memory",
5
+ "type": "module",
6
+ "bin": {
7
+ "soma": "dist/thin-cli.js"
8
+ },
9
+ "files": [
10
+ "dist/thin-cli.js",
11
+ "dist/personality.js",
12
+ "dist/postinstall.js",
13
+ "LICENSE",
14
+ "README.md",
15
+ "CHANGELOG.md"
16
+ ],
17
+ "keywords": [
18
+ "soma",
19
+ "meetsoma",
20
+ "ai",
21
+ "agent",
22
+ "memory",
23
+ "coding-agent",
24
+ "identity",
25
+ "muscles",
26
+ "protocols",
27
+ "self-evolving",
28
+ "cli",
29
+ "llm"
30
+ ],
31
+ "author": "Gravicity <hello@gravicity.ai>",
32
+ "license": "BSL-1.1",
33
+ "homepage": "https://soma.gravicity.ai",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/meetsoma/soma-agent.git"
37
+ },
38
+ "scripts": {
39
+ "postinstall": "node dist/postinstall.js"
40
+ },
41
+ "engines": {
42
+ "node": ">=20.6.0"
43
+ },
44
+ "piConfig": {
45
+ "name": "soma",
46
+ "configDir": ".soma"
47
+ }
48
48
  }