@technomoron/agent-brain 0.1.0 → 0.1.1

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/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.1.1 (2026-10-22)
2
+ --------------------------
3
+ * Allow independent repositories without a pool in configuration deployment and Git sync.
4
+
1
5
  Version 0.1.0 (2026-10-22)
2
6
  --------------------------
3
7
  * Extract the project knowledge and skills MCP server from agent-run.
package/README.md CHANGED
@@ -226,6 +226,9 @@ does not replace an explicit user constraint.
226
226
  For a remote server, set `dataRoot` to this shared configuration root and use
227
227
  that same `configRoot` for its groups and repositories. The existing `group`
228
228
  registration identifies the pool and must match the project's `pool` field.
229
+ For independent repositories, omit `pool` from both the project and deployment
230
+ manifest, and omit `group` from the remote registration. They receive global
231
+ and project context without sharing a pool.
229
232
  Legacy separate group roots remain supported when `dataRoot` is absent.
230
233
  Global writes require a wildcard token and current wildcard write permission.
231
234
  Pool writes require write permission for every registered member. Reading a
@@ -55,11 +55,11 @@ function manifest(value) {
55
55
  if (
56
56
  !repo ||
57
57
  !repoPattern.test(repo.id) ||
58
- !value.pools.includes(repo.pool) ||
58
+ (repo.pool !== undefined && !value.pools.includes(repo.pool)) ||
59
59
  Object.keys(repo).some((k) => !['id', 'pool'].includes(k)) ||
60
60
  ids.has(repo.id)
61
61
  )
62
- throw Error('Invalid, duplicate or unpooled repository');
62
+ throw Error('Invalid or duplicate repository or unknown pool');
63
63
  ids.add(repo.id);
64
64
  }
65
65
  if (!ids.size) throw Error('At least one repository is required');
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  },
6
6
  "author": "Bjorn Erik Jacobsen",
7
7
  "license": "MIT",
8
- "copyright": "Copyright (c) 2026 Bjørn Erik Jacobsen / Technomoron.com",
8
+ "copyright": "Copyright (c) 2026 Bj\u00f8rn Erik Jacobsen / Technomoron.com",
9
9
  "name": "@technomoron/agent-brain",
10
- "version": "0.1.0",
10
+ "version": "0.1.1",
11
11
  "description": "Project knowledge and skills MCP server extracted from agent-run",
12
12
  "bin": {
13
13
  "agent-brain": "dist/agent-brain.js",