@amalgm/shell 0.1.164-main.41425838217 → 0.1.164-main.41474889901

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.
@@ -442,6 +442,9 @@ export function createPrivateWireAuthority({
442
442
  if (isConstructType(submitted.change.result.type)
443
443
  && !constructOwners.has(submitted.entityId)) {
444
444
  constructOwners.set(submitted.entityId, userId);
445
+ // A new construct is a channel its owner's computers do not hold yet,
446
+ // the saving one included, so its first accept tells them to follow it.
447
+ ringGrantChanged(submitted.entityId, false);
445
448
  }
446
449
  return { ...decision, deliverySequence };
447
450
  };
@@ -1055,7 +1058,9 @@ export function createPrivateWireAuthority({
1055
1058
  // contract, or one the authority cannot read, ends the prefix with its
1056
1059
  // refusal, exactly as the production authority reads the frame.
1057
1060
  const rows = readEntityRecordBatch(frame.records, frame.data_bin, sha256);
1058
- if (rows[0].ok && !resources.has(rows[0].value.record.authorityId)) {
1061
+ // A construct is its own authority, so its first record finds none yet.
1062
+ if (rows[0].ok && !resources.has(rows[0].value.record.authorityId)
1063
+ && !isConstructType(rows[0].value.record.change.result.type)) {
1059
1064
  throw new AuthorityRefusal("entity_record_authority_not_found",
1060
1065
  "no entity authority exists at that id", 404, false);
1061
1066
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@amalgm/shell",
3
- "version": "0.1.164-main.41425838217",
3
+ "version": "0.1.164-main.41474889901",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@amalgm/shell",
9
- "version": "0.1.164-main.41425838217",
9
+ "version": "0.1.164-main.41474889901",
10
10
  "license": "UNLICENSED",
11
11
  "dependencies": {
12
12
  "@amalgm/agents": "0.2.3-main.41264636919",
@@ -16,7 +16,7 @@
16
16
  "@amalgm/channels": "0.1.5-main.41413986755",
17
17
  "@amalgm/chat": "0.2.9-main.41255881419",
18
18
  "@amalgm/core": "0.5.1-main.41264319540",
19
- "@amalgm/live": "0.2.81-main.41421531763",
19
+ "@amalgm/live": "0.2.81-main.41442331400",
20
20
  "@amalgm/tools": "0.1.7-main.41264631800",
21
21
  "@anthropic-ai/claude-agent-sdk": "^0.3.285",
22
22
  "@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
@@ -440,9 +440,9 @@
440
440
  }
441
441
  },
442
442
  "node_modules/@amalgm/live": {
443
- "version": "0.2.81-main.41421531763",
444
- "resolved": "https://registry.npmjs.org/@amalgm/live/-/live-0.2.81-main.41421531763.tgz",
445
- "integrity": "sha512-6CS49kSEwPsc17EUwNxPm1Cu+javjtLvNnpWEo913NEQ0vOAT+CjO1Tl7iCi2BvM0w0Y6pV7zgfKmPFH/2d8Sg==",
443
+ "version": "0.2.81-main.41442331400",
444
+ "resolved": "https://registry.npmjs.org/@amalgm/live/-/live-0.2.81-main.41442331400.tgz",
445
+ "integrity": "sha512-+6dh8N+pfExT6wTdPoWIP8bL463IhRX+hwEKw6YO58A8GG+yGj41SbdSBE0J5tjrc9VwYxMvW1TgQoR6tKqZ/Q==",
446
446
  "license": "UNLICENSED",
447
447
  "dependencies": {
448
448
  "@amalgm/core": "0.5.1-main.41264319540"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amalgm/shell",
3
- "version": "0.1.164-main.41425838217",
3
+ "version": "0.1.164-main.41474889901",
4
4
  "description": "The Amalgm runtime host assembled from the published @amalgm SDK capabilities.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -66,7 +66,7 @@
66
66
  "@amalgm/channels": "0.1.5-main.41413986755",
67
67
  "@amalgm/chat": "0.2.9-main.41255881419",
68
68
  "@amalgm/core": "0.5.1-main.41264319540",
69
- "@amalgm/live": "0.2.81-main.41421531763",
69
+ "@amalgm/live": "0.2.81-main.41442331400",
70
70
  "@amalgm/tools": "0.1.7-main.41264631800",
71
71
  "@anthropic-ai/claude-agent-sdk": "^0.3.285",
72
72
  "@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
@@ -168,11 +168,11 @@
168
168
  }
169
169
  ]
170
170
  },
171
- "gitHead": "3b6764af7da58ee79ff01dc206b8094c7018326d",
171
+ "gitHead": "71faf43e8a4981cc0bc7a5089b3c097f8c36b8e5",
172
172
  "amalgmSource": {
173
173
  "repository": "amalgm-inc/amalgm-shell",
174
174
  "branch": "main",
175
- "commit": "3b6764af7da58ee79ff01dc206b8094c7018326d",
176
- "occurrence": "41425838217"
175
+ "commit": "71faf43e8a4981cc0bc7a5089b3c097f8c36b8e5",
176
+ "occurrence": "41474889901"
177
177
  }
178
178
  }