@canonmsg/agent-sdk 13.0.2 → 13.0.3
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.
|
@@ -5473,6 +5473,7 @@ function createMlsDevGroups(options, context, keyPackages, bridge) {
|
|
|
5473
5473
|
return { changed: false, operation: void 0 };
|
|
5474
5474
|
}
|
|
5475
5475
|
if (feed) await checkFeedEntry(tx, current, conversationId, feed);
|
|
5476
|
+
if (!current.envelope?.head && current.envelope?.pending?.control.kind === "create" && current.envelope.pending.operationId !== accepted.operationId) fail6("MLS_DEV_GROUP_PENDING_CONTROL", true);
|
|
5476
5477
|
const rejoining = !!current.envelope && accepted.control.kind === "add" && accepted.control.keyPackageClaim?.recipientDeviceId === current.device.registration.device.deviceId && accepted.head.sequence > (current.envelope.head?.sequence ?? 0);
|
|
5477
5478
|
if (current.envelope?.removed && !rejoining) fail6("MLS_DEV_GROUP_REMOVED");
|
|
5478
5479
|
if (current.envelope?.head && !rejoining && (!same6(accepted.control.expectedHead, current.envelope.head) || accepted.head.sequence !== current.envelope.head.sequence + 1)) fail6("MLS_DEV_GROUP_CONTROL_GAP", true);
|
package/dist/cli.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runMlsDevSetup,
|
|
24
24
|
startRelayChannel,
|
|
25
25
|
writeRelayCredential
|
|
26
|
-
} from "./chunks/chunk-
|
|
26
|
+
} from "./chunks/chunk-XKUG2BQR.js";
|
|
27
27
|
import {
|
|
28
28
|
assertPrivateHome,
|
|
29
29
|
runnerLockName
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveCanonRuntimeConnection,
|
|
39
39
|
runCli,
|
|
40
40
|
verifyCanonRuntimeConnection
|
|
41
|
-
} from "./chunks/chunk-
|
|
41
|
+
} from "./chunks/chunk-ZPBOGOAD.js";
|
|
42
42
|
import "./chunks/chunk-YJUPKU47.js";
|
|
43
43
|
import "./chunks/chunk-YHDDOADK.js";
|
|
44
44
|
import {
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
runMlsDevSetup,
|
|
25
25
|
runtimeDescriptor,
|
|
26
26
|
startRelayChannel
|
|
27
|
-
} from "./chunks/chunk-
|
|
27
|
+
} from "./chunks/chunk-XKUG2BQR.js";
|
|
28
28
|
import "./chunks/chunk-DTAWEQCM.js";
|
|
29
29
|
import {
|
|
30
30
|
CanonApiError,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
toAnthropicImageBlock,
|
|
51
51
|
toAnthropicImageBlocksWithinBudget,
|
|
52
52
|
uploadMediaFile
|
|
53
|
-
} from "./chunks/chunk-
|
|
53
|
+
} from "./chunks/chunk-ZPBOGOAD.js";
|
|
54
54
|
import "./chunks/chunk-YJUPKU47.js";
|
|
55
55
|
import "./chunks/chunk-YHDDOADK.js";
|
|
56
56
|
import "./chunks/chunk-5WPAB5MB.js";
|
package/dist/media.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
toAnthropicImageBlock,
|
|
19
19
|
toAnthropicImageBlocksWithinBudget,
|
|
20
20
|
uploadMediaFile
|
|
21
|
-
} from "./chunks/chunk-
|
|
21
|
+
} from "./chunks/chunk-ZPBOGOAD.js";
|
|
22
22
|
import "./chunks/chunk-YJUPKU47.js";
|
|
23
23
|
import "./chunks/chunk-YHDDOADK.js";
|
|
24
24
|
import "./chunks/chunk-5WPAB5MB.js";
|