@adea-ai/runtime-gateway-protocol 1.17.2 → 1.17.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.
@@ -3,7 +3,8 @@ import { DhkemX25519HkdfSha256 } from '@hpke/dhkem-x25519';
3
3
  import { z } from 'zod';
4
4
  import { canonicalJsonStringify } from '@adea-ai/contracts/canonical-json';
5
5
  import { decodeBase64Url, encodeBase64Url, signRelayBytes, verifyRelayBytes, } from './device-relay.js';
6
- import { TimestampSchema, SyncAuthorKeyIdSchema } from '@adea-ai/contracts';
6
+ import { SyncAuthorKeyIdSchema } from '@adea-ai/contracts/device-sync';
7
+ import { TimestampSchema } from '@adea-ai/contracts/primitives';
7
8
  export const CONTENT_KEY_BYTES = 32;
8
9
  export const CONTENT_SEAL_VERSION = 1;
9
10
  export const CONTENT_KEY_WRAP_VERSION = 1;
@@ -2,7 +2,8 @@ import { Aes128Gcm, CipherSuite, HkdfSha256 } from '@hpke/core';
2
2
  import { DhkemX25519HkdfSha256 } from '@hpke/dhkem-x25519';
3
3
  import { z } from 'zod';
4
4
  import { canonicalJsonStringify } from '@adea-ai/contracts/canonical-json';
5
- import { Sha256DigestSchema, TimestampSchema, SyncAuthorKeyIdSchema, } from '@adea-ai/contracts';
5
+ import { SyncAuthorKeyIdSchema } from '@adea-ai/contracts/device-sync';
6
+ import { Sha256DigestSchema, TimestampSchema } from '@adea-ai/contracts/primitives';
6
7
  export const RELAY_HPKE_SUITE = 'DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_128_GCM';
7
8
  export const MAX_RELAY_CIPHERTEXT_BYTES = 1024 * 1024;
8
9
  export const MAX_RELAY_CLOCK_SKEW_MS = 5 * 60 * 1000;
@@ -3,7 +3,8 @@ import { canonicalJsonStringify } from '@adea-ai/contracts/canonical-json';
3
3
  import { MAX_SYNC_ENTRY_BYTES, SignedSyncEntrySchema, SyncObjectIdSchema, SyncEntryIdSchema, } from '@adea-ai/contracts/device-sync';
4
4
  import { ContentKeyError, ContentSealSchema, openContent, sealContent, } from './content-key.js';
5
5
  import { MAX_RELAY_CLOCK_SKEW_MS, decodeBase64Url, encodeBase64Url, sha256, signRelayBytes, verifyRelayBytes, } from './device-relay.js';
6
- import { Sha256DigestSchema, TimestampSchema, SyncAuthorKeyIdSchema, } from '@adea-ai/contracts';
6
+ import { SyncAuthorKeyIdSchema } from '@adea-ai/contracts/device-sync';
7
+ import { Sha256DigestSchema, TimestampSchema } from '@adea-ai/contracts/primitives';
7
8
  export { DeviceSyncErrorCodeSchema, MAX_SYNC_BATCH, MAX_SYNC_CIPHERTEXT_BYTES, MAX_SYNC_ENTRY_BYTES, MAX_SYNC_LOG_PAGE, MIN_SYNC_CIPHERTEXT_BYTES, SignedSyncEntrySchema, StoredSyncEntrySchema, SyncAppendRequestSchema, SyncAppendResponseSchema, SyncCommitResponseSchema, SyncDownloadRequestSchema, SyncDownloadResponseSchema, SyncEntryIdSchema, SyncLogPageSchema, SyncLogRequestSchema, SyncObjectIdSchema, SyncObjectRequestSchema, SyncReleaseResponseSchema, SyncUploadRequestSchema, SyncUploadResponseSchema, SyncUsageSchema, } from '@adea-ai/contracts/device-sync';
8
9
  export const SYNC_BLOB_VERSION = 1;
9
10
  export const SYNC_ENTRY_VERSION = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/runtime-gateway-protocol",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "description": "Device relay envelopes and workspace content keys shared by the Control Plane and Adea clients.",
5
5
  "keywords": [
6
6
  "agents",
@@ -52,9 +52,9 @@
52
52
  "test": "bun test src"
53
53
  },
54
54
  "dependencies": {
55
- "@adea-ai/contracts": "^5.0.2",
56
- "@hpke/core": "1.9.0",
57
- "@hpke/dhkem-x25519": "1.8.0",
55
+ "@adea-ai/contracts": "^5.0.3",
56
+ "@hpke/core": "1.10.1",
57
+ "@hpke/dhkem-x25519": "1.8.1",
58
58
  "zod": "4.6.6"
59
59
  },
60
60
  "engines": {