@arokodev/cli 0.1.0-alpha.5 → 0.1.0-alpha.8

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 (167) hide show
  1. package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts +12 -12
  2. package/node_modules/@pairmesh/client/dist/build-info.generated.js +6 -6
  3. package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js +1 -1
  4. package/node_modules/@pairmesh/client/dist/session/schemas.d.ts +10 -10
  5. package/node_modules/@pairmesh/client/dist/session/schemas.d.ts.map +1 -1
  6. package/node_modules/@pairmesh/client/package.json +5 -5
  7. package/node_modules/@pairmesh/coordination/package.json +5 -5
  8. package/node_modules/@pairmesh/mcp/package.json +5 -5
  9. package/node_modules/@pairmesh/permissions/package.json +2 -2
  10. package/node_modules/@pairmesh/protocol/dist/action.d.ts +1 -1
  11. package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts +1 -1
  12. package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts +1 -1
  13. package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts.map +1 -1
  14. package/node_modules/@pairmesh/protocol/dist/inspection.d.ts +2 -2
  15. package/node_modules/@pairmesh/protocol/dist/pairing.d.ts +1 -1
  16. package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts +1 -1
  17. package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts.map +1 -1
  18. package/node_modules/@pairmesh/protocol/package.json +2 -2
  19. package/node_modules/@pairmesh/shared/package.json +1 -1
  20. package/node_modules/body-parser/README.md +17 -13
  21. package/node_modules/body-parser/lib/read.js +74 -57
  22. package/node_modules/body-parser/lib/types/json.js +11 -11
  23. package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
  24. package/node_modules/body-parser/lib/utils.js +0 -15
  25. package/node_modules/body-parser/package.json +7 -12
  26. package/node_modules/encodeurl/README.md +14 -0
  27. package/node_modules/encodeurl/index.js +9 -11
  28. package/node_modules/encodeurl/package.json +13 -6
  29. package/node_modules/jose/README.md +2 -2
  30. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +5 -4
  31. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -4
  32. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +5 -4
  33. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +5 -5
  34. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +5 -4
  35. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +5 -5
  36. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +5 -4
  37. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +5 -5
  38. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -4
  39. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +6 -5
  40. package/node_modules/jose/dist/types/jws/general/sign.d.ts +9 -6
  41. package/node_modules/jose/dist/types/jws/general/verify.d.ts +7 -5
  42. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +10 -6
  43. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +1 -1
  44. package/node_modules/jose/dist/types/jwt/sign.d.ts +1 -1
  45. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +3 -1
  46. package/node_modules/jose/dist/types/jwt/verify.d.ts +6 -5
  47. package/node_modules/jose/dist/types/key/export.d.ts +1 -1
  48. package/node_modules/jose/dist/types/key/generate_secret.d.ts +1 -1
  49. package/node_modules/jose/dist/types/key/import.d.ts +2 -2
  50. package/node_modules/jose/dist/types/types.d.ts +173 -107
  51. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +3 -2
  52. package/node_modules/jose/dist/types/util/errors.d.ts +1 -1
  53. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  54. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +3 -3
  55. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +8 -8
  56. package/node_modules/jose/dist/webapi/jwks/local.js +2 -1
  57. package/node_modules/jose/dist/webapi/jwks/remote.js +6 -4
  58. package/node_modules/jose/dist/webapi/jws/general/sign.js +3 -3
  59. package/node_modules/jose/dist/webapi/jws/general/verify.js +5 -11
  60. package/node_modules/jose/dist/webapi/jwt/encrypt.js +6 -9
  61. package/node_modules/jose/dist/webapi/jwt/sign.js +2 -2
  62. package/node_modules/jose/dist/webapi/jwt/unsecured.js +3 -3
  63. package/node_modules/jose/dist/webapi/key/generate_secret.js +4 -4
  64. package/node_modules/jose/dist/webapi/lib/asn1.js +2 -2
  65. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +4 -4
  66. package/node_modules/jose/dist/webapi/lib/content_encryption.js +8 -8
  67. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  68. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +26 -23
  69. package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +5 -5
  70. package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -2
  71. package/node_modules/jose/dist/webapi/lib/jws_sign.js +11 -11
  72. package/node_modules/jose/dist/webapi/lib/jws_verify.js +19 -16
  73. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +48 -44
  74. package/node_modules/jose/dist/webapi/lib/key.js +6 -4
  75. package/node_modules/jose/dist/webapi/lib/key_management.js +17 -18
  76. package/node_modules/jose/dist/webapi/lib/validate.js +10 -10
  77. package/node_modules/jose/dist/webapi/util/decode_jwt.js +12 -12
  78. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -5
  79. package/node_modules/jose/package.json +1 -1
  80. package/node_modules/object-inspect/CHANGELOG.md +31 -0
  81. package/node_modules/object-inspect/index.js +326 -24
  82. package/node_modules/object-inspect/package.json +22 -13
  83. package/node_modules/object-inspect/readme.markdown +4 -1
  84. package/node_modules/object-inspect/stringWidth.js +68 -0
  85. package/node_modules/object-inspect/stringWidthRanges.js +38 -0
  86. package/node_modules/on-finished/index.js +14 -2
  87. package/node_modules/on-finished/package.json +11 -7
  88. package/node_modules/qs/.editorconfig +1 -1
  89. package/node_modules/qs/.github/THREAT_MODEL.md +4 -2
  90. package/node_modules/qs/CHANGELOG.md +103 -14
  91. package/node_modules/qs/README.md +90 -9
  92. package/node_modules/qs/dist/qs.js +19 -19
  93. package/node_modules/qs/eslint.config.mjs +61 -50
  94. package/node_modules/qs/lib/formats.js +7 -2
  95. package/node_modules/qs/lib/parse.js +121 -12
  96. package/node_modules/qs/lib/stringify.js +9 -7
  97. package/node_modules/qs/lib/utils.js +158 -15
  98. package/node_modules/qs/package.json +8 -8
  99. package/node_modules/qs/test/parse.js +509 -2
  100. package/node_modules/qs/test/stringify.js +485 -33
  101. package/node_modules/qs/test/utils.js +245 -3
  102. package/node_modules/router/HISTORY.md +67 -52
  103. package/node_modules/router/README.md +222 -2
  104. package/node_modules/router/index.d.ts +188 -0
  105. package/node_modules/router/index.js +86 -50
  106. package/node_modules/router/lib/layer.js +154 -47
  107. package/node_modules/router/lib/param.js +47 -0
  108. package/node_modules/router/lib/route.d.ts +118 -0
  109. package/node_modules/router/lib/route.js +14 -8
  110. package/node_modules/router/lib/symbols.js +4 -0
  111. package/node_modules/router/lib/tracing.js +173 -0
  112. package/node_modules/router/package.json +24 -9
  113. package/node_modules/ws/README.md +22 -31
  114. package/node_modules/ws/lib/buffer-util.js +13 -2
  115. package/node_modules/ws/lib/receiver.js +8 -0
  116. package/node_modules/ws/lib/sender.js +4 -1
  117. package/node_modules/ws/lib/websocket-server.js +3 -0
  118. package/node_modules/ws/lib/websocket.js +66 -16
  119. package/node_modules/ws/package.json +1 -1
  120. package/node_modules/zod/package.json +1 -1
  121. package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
  122. package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
  123. package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
  124. package/node_modules/zod/src/v4/core/compile.ts +9 -0
  125. package/node_modules/zod/src/v4/core/schemas.ts +35 -1
  126. package/node_modules/zod/src/v4/core/util.ts +13 -0
  127. package/node_modules/zod/src/v4/core/versions.ts +1 -1
  128. package/node_modules/zod/v4/core/compile.cjs +8 -0
  129. package/node_modules/zod/v4/core/compile.js +8 -0
  130. package/node_modules/zod/v4/core/schemas.cjs +30 -0
  131. package/node_modules/zod/v4/core/schemas.d.cts +3 -1
  132. package/node_modules/zod/v4/core/schemas.d.ts +3 -1
  133. package/node_modules/zod/v4/core/schemas.js +30 -0
  134. package/node_modules/zod/v4/core/util.cjs +15 -0
  135. package/node_modules/zod/v4/core/util.d.cts +2 -0
  136. package/node_modules/zod/v4/core/util.d.ts +2 -0
  137. package/node_modules/zod/v4/core/util.js +14 -0
  138. package/node_modules/zod/v4/core/versions.cjs +1 -1
  139. package/node_modules/zod/v4/core/versions.js +1 -1
  140. package/package.json +7 -7
  141. package/node_modules/object-inspect/.eslintrc +0 -53
  142. package/node_modules/object-inspect/.nycrc +0 -13
  143. package/node_modules/object-inspect/example/all.js +0 -23
  144. package/node_modules/object-inspect/example/circular.js +0 -6
  145. package/node_modules/object-inspect/example/fn.js +0 -5
  146. package/node_modules/object-inspect/example/inspect.js +0 -10
  147. package/node_modules/object-inspect/test/bigint.js +0 -58
  148. package/node_modules/object-inspect/test/browser/dom.js +0 -15
  149. package/node_modules/object-inspect/test/circular.js +0 -16
  150. package/node_modules/object-inspect/test/deep.js +0 -12
  151. package/node_modules/object-inspect/test/element.js +0 -53
  152. package/node_modules/object-inspect/test/err.js +0 -48
  153. package/node_modules/object-inspect/test/fakes.js +0 -29
  154. package/node_modules/object-inspect/test/fn.js +0 -76
  155. package/node_modules/object-inspect/test/global.js +0 -17
  156. package/node_modules/object-inspect/test/has.js +0 -15
  157. package/node_modules/object-inspect/test/holes.js +0 -15
  158. package/node_modules/object-inspect/test/indent-option.js +0 -271
  159. package/node_modules/object-inspect/test/inspect.js +0 -139
  160. package/node_modules/object-inspect/test/lowbyte.js +0 -12
  161. package/node_modules/object-inspect/test/number.js +0 -58
  162. package/node_modules/object-inspect/test/quoteStyle.js +0 -26
  163. package/node_modules/object-inspect/test/toStringTag.js +0 -40
  164. package/node_modules/object-inspect/test/undef.js +0 -12
  165. package/node_modules/object-inspect/test/values.js +0 -261
  166. package/node_modules/object-inspect/test-core-js.js +0 -26
  167. package/node_modules/on-finished/HISTORY.md +0 -98
@@ -1,21 +1,21 @@
1
1
  /** Generated by scripts/generate-build-info.mjs — do not edit. */
2
- export declare const AROKO_VERSION = "0.1.0-alpha.5";
3
- export declare const AROKO_BUILD_ID = "aroko-0.1.0-alpha.5-113ee594a516";
4
- export declare const AROKO_BUILD_TIMESTAMP = "2026-10-11T12:23:32+02:00";
5
- export declare const AROKO_GIT_COMMIT = "113ee594a51638ca313503f7d2f07be18d10a960";
6
- export declare const AROKO_GIT_TAG = "v0.1.0-alpha.5";
7
- export declare const AROKO_RELEASE_ID = "aroko-0.1.0-alpha.5-113ee594a516";
2
+ export declare const AROKO_VERSION = "0.1.0-alpha.8";
3
+ export declare const AROKO_BUILD_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
4
+ export declare const AROKO_BUILD_TIMESTAMP = "2026-11-27T18:47:44+01:00";
5
+ export declare const AROKO_GIT_COMMIT = "8e454291b8d941d0279227de7c22b3564e61f5c5";
6
+ export declare const AROKO_GIT_TAG = "v0.1.0-alpha.8";
7
+ export declare const AROKO_RELEASE_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
8
8
  export declare const AROKO_PROTOCOL_VERSION = "0.1.0";
9
9
  export declare const AROKO_STATE_SCHEMA_VERSION = "0.6.0";
10
10
  export declare const AROKO_IS_DIRTY = false;
11
11
  export declare const AROKO_BUILD_MODE = "release";
12
12
  /** @deprecated Use AROKO_* — PairMesh compatibility aliases (S23-4). */
13
- export declare const PAIRMESH_VERSION = "0.1.0-alpha.5";
14
- export declare const PAIRMESH_BUILD_ID = "aroko-0.1.0-alpha.5-113ee594a516";
15
- export declare const PAIRMESH_BUILD_TIMESTAMP = "2026-10-11T12:23:32+02:00";
16
- export declare const PAIRMESH_GIT_COMMIT = "113ee594a51638ca313503f7d2f07be18d10a960";
17
- export declare const PAIRMESH_GIT_TAG = "v0.1.0-alpha.5";
18
- export declare const PAIRMESH_RELEASE_ID = "aroko-0.1.0-alpha.5-113ee594a516";
13
+ export declare const PAIRMESH_VERSION = "0.1.0-alpha.8";
14
+ export declare const PAIRMESH_BUILD_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
15
+ export declare const PAIRMESH_BUILD_TIMESTAMP = "2026-11-27T18:47:44+01:00";
16
+ export declare const PAIRMESH_GIT_COMMIT = "8e454291b8d941d0279227de7c22b3564e61f5c5";
17
+ export declare const PAIRMESH_GIT_TAG = "v0.1.0-alpha.8";
18
+ export declare const PAIRMESH_RELEASE_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
19
19
  export declare const PAIRMESH_PROTOCOL_VERSION = "0.1.0";
20
20
  export declare const PAIRMESH_STATE_SCHEMA_VERSION = "0.6.0";
21
21
  export declare const PAIRMESH_IS_DIRTY = false;
@@ -1,10 +1,10 @@
1
1
  /** Generated by scripts/generate-build-info.mjs — do not edit. */
2
- export const AROKO_VERSION = "0.1.0-alpha.5";
3
- export const AROKO_BUILD_ID = "aroko-0.1.0-alpha.5-113ee594a516";
4
- export const AROKO_BUILD_TIMESTAMP = "2026-10-11T12:23:32+02:00";
5
- export const AROKO_GIT_COMMIT = "113ee594a51638ca313503f7d2f07be18d10a960";
6
- export const AROKO_GIT_TAG = "v0.1.0-alpha.5";
7
- export const AROKO_RELEASE_ID = "aroko-0.1.0-alpha.5-113ee594a516";
2
+ export const AROKO_VERSION = "0.1.0-alpha.8";
3
+ export const AROKO_BUILD_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
4
+ export const AROKO_BUILD_TIMESTAMP = "2026-11-27T18:47:44+01:00";
5
+ export const AROKO_GIT_COMMIT = "8e454291b8d941d0279227de7c22b3564e61f5c5";
6
+ export const AROKO_GIT_TAG = "v0.1.0-alpha.8";
7
+ export const AROKO_RELEASE_ID = "aroko-0.1.0-alpha.8-8e454291b8d9";
8
8
  export const AROKO_PROTOCOL_VERSION = "0.1.0";
9
9
  export const AROKO_STATE_SCHEMA_VERSION = "0.6.0";
10
10
  export const AROKO_IS_DIRTY = false;
@@ -391,7 +391,7 @@ export class HostedPairMeshRelay {
391
391
  res.end(JSON.stringify({
392
392
  status: "ok",
393
393
  role: "pairmesh-relay",
394
- version: "0.1.0-alpha.5"
394
+ version: "0.1.0-alpha.8"
395
395
  }));
396
396
  return;
397
397
  }
@@ -74,7 +74,7 @@ export declare const LocalInspectionTurnRecordSchema: z.ZodObject<{
74
74
  module: "module";
75
75
  }>>;
76
76
  }, z.core.$strict>>>;
77
- }, z.core.$strict>>>;
77
+ }, z.core.$strict>, unknown>>;
78
78
  }, z.core.$strict>;
79
79
  export type LocalInspectionTurnRecord = z.infer<typeof LocalInspectionTurnRecordSchema>;
80
80
  export declare const LocalInspectionExecutionRecordSchema: z.ZodObject<{
@@ -231,7 +231,7 @@ export declare const LocalInspectionExecutionRecordSchema: z.ZodObject<{
231
231
  }, z.core.$strict>>;
232
232
  sequence: z.ZodOptional<z.ZodNumber>;
233
233
  providerEventId: z.ZodOptional<z.ZodString>;
234
- }, z.core.$strict>>>>;
234
+ }, z.core.$strict>, unknown>>>;
235
235
  ownerRole: z.ZodOptional<z.ZodEnum<{
236
236
  initiator: "initiator";
237
237
  receiver: "receiver";
@@ -285,7 +285,7 @@ export declare const LocalInspectionThreadRecordSchema: z.ZodObject<{
285
285
  module: "module";
286
286
  }>>;
287
287
  }, z.core.$strict>>>;
288
- }, z.core.$strict>>>;
288
+ }, z.core.$strict>, unknown>>;
289
289
  }, z.core.$strict>>;
290
290
  providerSessionId: z.ZodOptional<z.ZodString>;
291
291
  cursorSessionId: z.ZodOptional<z.ZodString>;
@@ -434,7 +434,7 @@ declare const LocalSessionStateBaseSchema: z.ZodObject<{
434
434
  module: "module";
435
435
  }>>;
436
436
  }, z.core.$strict>>>;
437
- }, z.core.$strict>>>;
437
+ }, z.core.$strict>, unknown>>;
438
438
  }, z.core.$strict>>;
439
439
  providerSessionId: z.ZodOptional<z.ZodString>;
440
440
  cursorSessionId: z.ZodOptional<z.ZodString>;
@@ -593,7 +593,7 @@ declare const LocalSessionStateBaseSchema: z.ZodObject<{
593
593
  }, z.core.$strict>>;
594
594
  sequence: z.ZodOptional<z.ZodNumber>;
595
595
  providerEventId: z.ZodOptional<z.ZodString>;
596
- }, z.core.$strict>>>>;
596
+ }, z.core.$strict>, unknown>>>;
597
597
  ownerRole: z.ZodOptional<z.ZodEnum<{
598
598
  initiator: "initiator";
599
599
  receiver: "receiver";
@@ -887,7 +887,7 @@ declare const LocalSessionStateBaseSchema: z.ZodObject<{
887
887
  }, z.core.$strict>>;
888
888
  sequence: z.ZodOptional<z.ZodNumber>;
889
889
  providerEventId: z.ZodOptional<z.ZodString>;
890
- }, z.core.$strict>>>>;
890
+ }, z.core.$strict>, unknown>>>;
891
891
  executionProviderId: z.ZodOptional<z.ZodString>;
892
892
  executionProviderDisplayName: z.ZodOptional<z.ZodString>;
893
893
  taskId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CollaborativeTaskId", "out">>;
@@ -1199,7 +1199,7 @@ export declare const LocalSessionStateSchema: z.ZodPreprocess<z.ZodObject<{
1199
1199
  module: "module";
1200
1200
  }>>;
1201
1201
  }, z.core.$strict>>>;
1202
- }, z.core.$strict>>>;
1202
+ }, z.core.$strict>, unknown>>;
1203
1203
  }, z.core.$strict>>;
1204
1204
  providerSessionId: z.ZodOptional<z.ZodString>;
1205
1205
  cursorSessionId: z.ZodOptional<z.ZodString>;
@@ -1358,7 +1358,7 @@ export declare const LocalSessionStateSchema: z.ZodPreprocess<z.ZodObject<{
1358
1358
  }, z.core.$strict>>;
1359
1359
  sequence: z.ZodOptional<z.ZodNumber>;
1360
1360
  providerEventId: z.ZodOptional<z.ZodString>;
1361
- }, z.core.$strict>>>>;
1361
+ }, z.core.$strict>, unknown>>>;
1362
1362
  ownerRole: z.ZodOptional<z.ZodEnum<{
1363
1363
  initiator: "initiator";
1364
1364
  receiver: "receiver";
@@ -1652,7 +1652,7 @@ export declare const LocalSessionStateSchema: z.ZodPreprocess<z.ZodObject<{
1652
1652
  }, z.core.$strict>>;
1653
1653
  sequence: z.ZodOptional<z.ZodNumber>;
1654
1654
  providerEventId: z.ZodOptional<z.ZodString>;
1655
- }, z.core.$strict>>>>;
1655
+ }, z.core.$strict>, unknown>>>;
1656
1656
  executionProviderId: z.ZodOptional<z.ZodString>;
1657
1657
  executionProviderDisplayName: z.ZodOptional<z.ZodString>;
1658
1658
  taskId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CollaborativeTaskId", "out">>;
@@ -1820,7 +1820,7 @@ export declare const LocalSessionStateSchema: z.ZodPreprocess<z.ZodObject<{
1820
1820
  consumedByProviderTurnId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ProviderTurnId", "out">>;
1821
1821
  }, z.core.$strict>>>;
1822
1822
  requiresRePair: z.ZodOptional<z.ZodBoolean>;
1823
- }, z.core.$strict>>;
1823
+ }, z.core.$strict>, unknown>;
1824
1824
  export type LocalSessionState = z.infer<typeof LocalSessionStateBaseSchema>;
1825
1825
  export {};
1826
1826
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/session/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAwBzB,eAAO,MAAM,mBAAmB,EAAG,OAAgB,CAAC;AAOpD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoCwC,CAAC;AAClF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAK4B,CAAC;AACzE,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAmEL,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/client",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko client library",
5
5
  "type": "module",
6
6
  "engines": {
@@ -19,14 +19,14 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@a2a-js/sdk": "^1.0.1",
22
- "@modelcontextprotocol/server": "^2.0.0",
22
+ "@modelcontextprotocol/server": "~2.3.1",
23
23
  "@noble/ciphers": "^2.0.0",
24
24
  "@noble/curves": "^2.0.0",
25
25
  "@noble/hashes": "^2.0.0",
26
- "@pairmesh/protocol": "0.1.0-alpha.5",
27
- "@pairmesh/shared": "0.1.0-alpha.5",
26
+ "@pairmesh/protocol": "0.1.0-alpha.8",
27
+ "@pairmesh/shared": "0.1.0-alpha.8",
28
28
  "ws": "^8.18.0",
29
- "zod": "^4.4.3"
29
+ "zod": "^4.6.6"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/ws": "^8.5.13"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/coordination",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko A2A coordination",
5
5
  "type": "module",
6
6
  "engines": {
@@ -30,11 +30,11 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@a2a-js/sdk": "^1.0.1",
33
- "@pairmesh/client": "0.1.0-alpha.5",
34
- "@pairmesh/protocol": "0.1.0-alpha.5",
35
- "@pairmesh/shared": "0.1.0-alpha.5",
33
+ "@pairmesh/client": "0.1.0-alpha.8",
34
+ "@pairmesh/protocol": "0.1.0-alpha.8",
35
+ "@pairmesh/shared": "0.1.0-alpha.8",
36
36
  "express": "^5.2.1",
37
- "zod": "^4.4.3"
37
+ "zod": "^4.6.6"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/express": "^5.0.6"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/mcp",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko MCP server",
5
5
  "type": "module",
6
6
  "engines": {
@@ -28,10 +28,10 @@
28
28
  "start": "node dist/index.js"
29
29
  },
30
30
  "dependencies": {
31
- "@modelcontextprotocol/server": "^2.0.0",
32
- "@pairmesh/client": "0.1.0-alpha.5",
33
- "@pairmesh/protocol": "0.1.0-alpha.5",
34
- "zod": "^4.4.3"
31
+ "@modelcontextprotocol/server": "~2.3.1",
32
+ "@pairmesh/client": "0.1.0-alpha.8",
33
+ "@pairmesh/protocol": "0.1.0-alpha.8",
34
+ "zod": "^4.6.6"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@modelcontextprotocol/client": "^2.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/permissions",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko permissions",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,7 +16,7 @@
16
16
  "typecheck": "tsc -p tsconfig.json --noEmit"
17
17
  },
18
18
  "dependencies": {
19
- "@pairmesh/protocol": "0.1.0-alpha.5"
19
+ "@pairmesh/protocol": "0.1.0-alpha.8"
20
20
  },
21
21
  "license": "Apache-2.0"
22
22
  }
@@ -352,7 +352,7 @@ export declare const ActionExecutionRecordSchema: z.ZodObject<{
352
352
  }, z.core.$strict>>;
353
353
  sequence: z.ZodOptional<z.ZodNumber>;
354
354
  providerEventId: z.ZodOptional<z.ZodString>;
355
- }, z.core.$strict>>>>;
355
+ }, z.core.$strict>, unknown>>>;
356
356
  executionProviderId: z.ZodOptional<z.ZodString>;
357
357
  executionProviderDisplayName: z.ZodOptional<z.ZodString>;
358
358
  taskId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CollaborativeTaskId", "out">>;
@@ -229,7 +229,7 @@ export declare const InspectionExecutionRecordSchema: z.ZodObject<{
229
229
  }, z.core.$strict>>;
230
230
  sequence: z.ZodOptional<z.ZodNumber>;
231
231
  providerEventId: z.ZodOptional<z.ZodString>;
232
- }, z.core.$strict>>>>;
232
+ }, z.core.$strict>, unknown>>>;
233
233
  ownerRole: z.ZodOptional<z.ZodEnum<{
234
234
  initiator: "initiator";
235
235
  receiver: "receiver";
@@ -71,7 +71,7 @@ export declare const PairMeshInspectionTurnResultSchema: z.ZodPreprocess<z.ZodOb
71
71
  module: "module";
72
72
  }>>;
73
73
  }, z.core.$strict>>>;
74
- }, z.core.$strict>>;
74
+ }, z.core.$strict>, unknown>;
75
75
  export type PairMeshInspectionTurnResult = z.infer<typeof PairMeshInspectionTurnResultBaseSchema>;
76
76
  export {};
77
77
  //# sourceMappingURL=inspection-thread.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inspection-thread.d.ts","sourceRoot":"","sources":["../src/inspection-thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAWzB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;;;;;;;;;4BAKL,CAAC;AAC3C,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC"}
@@ -478,7 +478,7 @@ export declare const PairMeshInspectProgressPayloadSchema: z.ZodObject<{
478
478
  }, z.core.$strict>>;
479
479
  sequence: z.ZodOptional<z.ZodNumber>;
480
480
  providerEventId: z.ZodOptional<z.ZodString>;
481
- }, z.core.$strict>>>;
481
+ }, z.core.$strict>, unknown>>;
482
482
  }, z.core.$strict>;
483
483
  export type PairMeshInspectProgressPayload = z.infer<typeof PairMeshInspectProgressPayloadSchema>;
484
484
  export declare const PairMeshInspectionRequestEnvelopeSchema: z.ZodObject<{
@@ -767,7 +767,7 @@ export declare const PairMeshInspectProgressEnvelopeSchema: z.ZodObject<{
767
767
  }, z.core.$strict>>;
768
768
  sequence: z.ZodOptional<z.ZodNumber>;
769
769
  providerEventId: z.ZodOptional<z.ZodString>;
770
- }, z.core.$strict>>>;
770
+ }, z.core.$strict>, unknown>>;
771
771
  }, z.core.$strict>;
772
772
  }, z.core.$strict>;
773
773
  //# sourceMappingURL=inspection.d.ts.map
@@ -1310,7 +1310,7 @@ export declare const PairMeshA2APayloadEnvelopeSchema: z.ZodDiscriminatedUnion<[
1310
1310
  }, z.core.$strict>>;
1311
1311
  sequence: z.ZodOptional<z.ZodNumber>;
1312
1312
  providerEventId: z.ZodOptional<z.ZodString>;
1313
- }, z.core.$strict>>>;
1313
+ }, z.core.$strict>, unknown>>;
1314
1314
  }, z.core.$strict>;
1315
1315
  }, z.core.$strict>, z.ZodObject<{
1316
1316
  type: z.ZodLiteral<"pairmesh.action.request">;
@@ -196,7 +196,7 @@ export declare const ProgressEventSchema: z.ZodPreprocess<z.ZodObject<{
196
196
  }, z.core.$strict>>;
197
197
  sequence: z.ZodOptional<z.ZodNumber>;
198
198
  providerEventId: z.ZodOptional<z.ZodString>;
199
- }, z.core.$strict>>;
199
+ }, z.core.$strict>, unknown>;
200
200
  export type ProgressEvent = z.infer<typeof ProgressEventSchema>;
201
201
  /** File / search / tool / command detail — always owner_only; never requester-visible. */
202
202
  export declare const OWNER_DETAIL_ACTIVITY_KINDS: ReadonlySet<ProgressActivityKind>;
@@ -1 +1 @@
1
- {"version":3,"file":"progress-event.d.ts","sourceRoot":"","sources":["../src/progress-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,wBAAwB;;;;EAA0D,CAAC;AAChG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAqB9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAqBrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,qEAAqE;AACrE,eAAO,MAAM,wBAAwB;;;;;EAA4D,CAAC;AAClG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,mGAAmG;AACnG,eAAO,MAAM,2BAA2B,gMAe9B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnF,QAAA,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;kBAmBpC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AACpF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;mBAA8C,CAAC;AAEtF;;;GAGG;AACH,eAAO,MAAM,gCA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AAS,aAAa,EAAE,GAAG,SAAS,GAAG,MAAM,CAQ3F;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,EAC5C,MAAM,EAAE,OAAO,GAAG,WAAW,GAAG,aAAa,GAC5C,aAAa,EAAE,CAejB;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,GAC3C,aAAa,GAAG,SAAS,CAK3B;AAED,qEAAqE;AACrE,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,EAC5C,KAAK,GAAE,MAA4B,GAClC,aAAa,EAAE,CASjB"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/protocol",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko protocol types and schemas (wire IDs remain pairmesh.* for compatibility)",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,7 +16,7 @@
16
16
  "typecheck": "tsc -p tsconfig.json --noEmit"
17
17
  },
18
18
  "dependencies": {
19
- "zod": "^4.1.8"
19
+ "zod": "^4.6.6"
20
20
  },
21
21
  "license": "Apache-2.0"
22
22
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairmesh/shared",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Aroko shared utilities",
5
5
  "type": "module",
6
6
  "engines": {
@@ -37,6 +37,10 @@ This module provides the following parsers:
37
37
  * [Text body parser](#bodyparsertextoptions)
38
38
  * [URL-encoded form body parser](#bodyparserurlencodedoptions)
39
39
 
40
+ All parsers support automatic inflation of `gzip`, `br` (brotli), `deflate`
41
+ and `zstd` encodings. `zstd` is available in Node.js `^22.15.0` and
42
+ `>=23.8.0`.
43
+
40
44
  Other body parsers you might be interested in:
41
45
 
42
46
  - [body](https://www.npmjs.com/package/body#readme)
@@ -65,6 +69,12 @@ The `bodyParser` object exposes various factories to create middlewares. All
65
69
  middlewares will populate the `req.body` property with the parsed body when
66
70
  the `Content-Type` request header matches the `type` option.
67
71
 
72
+ **Note** As of v2, `req.body` is left `undefined` when no body is parsed (for
73
+ example when the request has neither `Content-Length` nor `Transfer-Encoding`,
74
+ or when `Content-Type` does not match). In v1, `req.body` was always initialized
75
+ to `{}`. Code that assumes `req.body` is always an object should use optional
76
+ chaining (for example `req.body?.username`) or set a default.
77
+
68
78
  The various errors returned by this module are described in the
69
79
  [errors section](#errors).
70
80
 
@@ -72,8 +82,7 @@ The various errors returned by this module are described in the
72
82
 
73
83
  Returns middleware that only parses `json` and only looks at requests where
74
84
  the `Content-Type` header matches the `type` option. This parser accepts any
75
- Unicode encoding of the body and supports automatic inflation of `gzip`,
76
- `br` (brotli) and `deflate` encodings.
85
+ Unicode encoding of the body.
77
86
 
78
87
  A new `body` object containing the parsed data is populated on the `request`
79
88
  object after the middleware (i.e. `req.body`).
@@ -110,7 +119,7 @@ argument. You can find more information on this argument
110
119
 
111
120
  ##### strict
112
121
 
113
- When set to `true`, will only accept arrays and objects; when `false` will
122
+ When set to `true`, it will only accept arrays and objects; when `false`, it will
114
123
  accept anything `JSON.parse` accepts. Defaults to `true`.
115
124
 
116
125
  ##### type
@@ -133,9 +142,7 @@ encoding of the request. The parsing can be aborted by throwing an error.
133
142
  ### bodyParser.raw([options])
134
143
 
135
144
  Returns middleware that parses all bodies as a `Buffer` and only looks at
136
- requests where the `Content-Type` header matches the `type` option. This
137
- parser supports automatic inflation of `gzip`, `br` (brotli) and `deflate`
138
- encodings.
145
+ requests where the `Content-Type` header matches the `type` option.
139
146
 
140
147
  A new `body` object containing the parsed data is populated on the `request`
141
148
  object after the middleware (i.e. `req.body`). This will be a `Buffer` object
@@ -181,9 +188,7 @@ encoding of the request. The parsing can be aborted by throwing an error.
181
188
  ### bodyParser.text([options])
182
189
 
183
190
  Returns middleware that parses all bodies as a string and only looks at
184
- requests where the `Content-Type` header matches the `type` option. This
185
- parser supports automatic inflation of `gzip`, `br` (brotli) and `deflate`
186
- encodings.
191
+ requests where the `Content-Type` header matches the `type` option.
187
192
 
188
193
  A new `body` string containing the parsed data is populated on the `request`
189
194
  object after the middleware (i.e. `req.body`). This will be a string of the
@@ -234,8 +239,7 @@ encoding of the request. The parsing can be aborted by throwing an error.
234
239
 
235
240
  Returns middleware that only parses `urlencoded` bodies and only looks at
236
241
  requests where the `Content-Type` header matches the `type` option. This
237
- parser accepts only UTF-8 and ISO-8859-1 encodings of the body and supports
238
- automatic inflation of `gzip`, `br` (brotli) and `deflate` encodings.
242
+ parser accepts only UTF-8 and ISO-8859-1 encodings of the body.
239
243
 
240
244
  A new `body` object containing the parsed data is populated on the `request`
241
245
  object after the middleware (i.e. `req.body`). This object will contain
@@ -346,7 +350,7 @@ the entity value that failed parsing.
346
350
  ### entity verify failed
347
351
 
348
352
  This error will occur when the request contained an entity that could not be
349
- failed verification by the defined `verify` option. The `status` property is
353
+ verified by the defined `verify` option. The `status` property is
350
354
  set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
351
355
  `body` property is set to the entity value that failed verification.
352
356
 
@@ -413,7 +417,7 @@ property is set to the encoding that is unsupported.
413
417
 
414
418
  ### The input exceeded the depth
415
419
 
416
- This error occurs when using `bodyParser.urlencoded` with the `extended` property set to `true` and the input exceeds the configured `depth` option. The `status` property is set to `400`. It is recommended to review the `depth` option and evaluate if it requires a higher value. When the `depth` option is set to `32` (default value), the error will not be thrown.
420
+ This error occurs when using `bodyParser.urlencoded` with the `extended` property set to `true` and the input exceeds the configured `depth` option. The `status` property is set to `400`. It is recommended to review the `depth` option and evaluate if it requires a higher value. With the default `depth` of `32`, an input with 33 or more levels of nesting gets this error.
417
421
 
418
422
  ## Examples
419
423