@entelligentsia/forgecli 0.7.10 → 0.8.4

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 (227) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/CHANGELOG-forge-plugin.md +70 -0
  3. package/dist/CHANGELOG-pi.md +63 -0
  4. package/dist/bin/argv.d.ts +2 -2
  5. package/dist/bin/argv.js +10 -0
  6. package/dist/bin/argv.js.map +1 -1
  7. package/dist/bin/env-defaults.d.ts +1 -0
  8. package/dist/bin/env-defaults.js +13 -0
  9. package/dist/bin/env-defaults.js.map +1 -0
  10. package/dist/bin/forge.js +9 -0
  11. package/dist/bin/forge.js.map +1 -1
  12. package/dist/bin/update-cli.d.ts +9 -0
  13. package/dist/bin/update-cli.js +120 -0
  14. package/dist/bin/update-cli.js.map +1 -0
  15. package/dist/extensions/forgecli/index.js +3 -3
  16. package/dist/extensions/forgecli/index.js.map +1 -1
  17. package/dist/extensions/forgecli/update-check.js +1 -1
  18. package/dist/extensions/forgecli/update-check.js.map +1 -1
  19. package/dist/extensions/forgecli/whats-new-widget.d.ts +5 -5
  20. package/dist/extensions/forgecli/whats-new-widget.js +11 -11
  21. package/dist/extensions/forgecli/whats-new-widget.js.map +1 -1
  22. package/dist/extensions/forgecli/whats-new.js +6 -5
  23. package/dist/extensions/forgecli/whats-new.js.map +1 -1
  24. package/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
  25. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +27 -98
  26. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
  27. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +62 -132
  28. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -1
  29. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -1
  30. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +25 -15
  31. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -1
  32. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
  33. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +1 -0
  34. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -1
  35. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.d.ts.map +1 -1
  36. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +17 -1
  37. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js.map +1 -1
  38. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts.map +1 -1
  39. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +8 -2
  40. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js.map +1 -1
  41. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.d.ts.map +1 -1
  42. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +17 -1
  43. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js.map +1 -1
  44. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts.map +1 -1
  45. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +8 -1
  46. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js.map +1 -1
  47. package/node_modules/@earendil-works/pi-ai/package.json +2 -2
  48. package/node_modules/@earendil-works/pi-coding-agent/CHANGELOG.md +63 -0
  49. package/node_modules/@earendil-works/pi-coding-agent/README.md +1 -1
  50. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -1
  51. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +1 -1
  52. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js.map +1 -1
  53. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.d.ts.map +1 -1
  54. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js +6 -10
  55. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js.map +1 -1
  56. package/node_modules/@earendil-works/pi-coding-agent/dist/config.d.ts.map +1 -1
  57. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +12 -3
  58. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js.map +1 -1
  59. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts +1 -0
  60. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
  61. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +30 -15
  62. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js.map +1 -1
  63. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts +3 -3
  64. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -1
  65. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +23 -13
  66. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -1
  67. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts +4 -0
  68. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -1
  69. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +58 -38
  70. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js.map +1 -1
  71. package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.d.ts.map +1 -1
  72. package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.js +0 -1
  73. package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.js.map +1 -1
  74. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.d.ts.map +1 -1
  75. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +3 -2
  76. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js.map +1 -1
  77. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +2 -2
  78. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -1
  79. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +7 -4
  80. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -1
  81. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  82. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +6 -2
  83. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -1
  84. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.d.ts.map +1 -1
  85. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +3 -4
  86. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js.map +1 -1
  87. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.d.ts.map +1 -1
  88. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.js +2 -2
  89. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/changelog.js.map +1 -1
  90. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.d.ts +7 -1
  91. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.d.ts.map +1 -1
  92. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js +60 -7
  93. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js.map +1 -1
  94. package/node_modules/@earendil-works/pi-coding-agent/docs/packages.md +2 -2
  95. package/node_modules/@earendil-works/pi-coding-agent/docs/settings.md +1 -3
  96. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +1 -1
  97. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  98. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package.json +1 -1
  99. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package.json +1 -1
  100. package/node_modules/@earendil-works/pi-coding-agent/package.json +6 -6
  101. package/node_modules/@earendil-works/pi-tui/package.json +2 -2
  102. package/node_modules/@protobufjs/fetch/CHANGELOG.md +8 -0
  103. package/node_modules/@protobufjs/fetch/index.d.ts +7 -7
  104. package/node_modules/@protobufjs/fetch/index.js +4 -7
  105. package/node_modules/@protobufjs/fetch/package.json +7 -5
  106. package/node_modules/@protobufjs/fetch/tests/data/file.txt +1 -0
  107. package/node_modules/@protobufjs/fetch/tests/index.js +150 -8
  108. package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
  109. package/node_modules/@protobufjs/inquire/CHANGELOG.md +8 -0
  110. package/node_modules/@protobufjs/inquire/index.d.ts +1 -0
  111. package/node_modules/@protobufjs/inquire/index.js +1 -0
  112. package/node_modules/@protobufjs/inquire/package.json +1 -1
  113. package/node_modules/protobufjs/dist/light/protobuf.js +187 -153
  114. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  115. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  116. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  117. package/node_modules/protobufjs/dist/minimal/protobuf.js +14 -5
  118. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  119. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  120. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  121. package/node_modules/protobufjs/dist/protobuf.js +207 -173
  122. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  123. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  124. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  125. package/node_modules/protobufjs/package.json +6 -3
  126. package/node_modules/protobufjs/src/util/fs.js +11 -0
  127. package/node_modules/protobufjs/src/util/minimal.js +10 -2
  128. package/node_modules/protobufjs/src/util.js +1 -1
  129. package/node_modules/undici/README.md +14 -5
  130. package/node_modules/undici/docs/docs/api/Client.md +4 -2
  131. package/node_modules/undici/docs/docs/api/Dispatcher.md +62 -27
  132. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +7 -5
  133. package/node_modules/undici/docs/docs/api/H2CClient.md +1 -1
  134. package/node_modules/undici/docs/docs/api/RedirectHandler.md +14 -9
  135. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -1
  136. package/node_modules/undici/docs/docs/api/RetryHandler.md +12 -14
  137. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +23 -0
  138. package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +231 -0
  139. package/node_modules/undici/index.js +4 -2
  140. package/node_modules/undici/lib/api/api-connect.js +13 -11
  141. package/node_modules/undici/lib/api/api-pipeline.js +26 -13
  142. package/node_modules/undici/lib/api/api-request.js +45 -21
  143. package/node_modules/undici/lib/api/api-stream.js +81 -20
  144. package/node_modules/undici/lib/api/api-upgrade.js +21 -11
  145. package/node_modules/undici/lib/api/readable.js +3 -2
  146. package/node_modules/undici/lib/cache/memory-cache-store.js +1 -1
  147. package/node_modules/undici/lib/cache/sqlite-cache-store.js +6 -4
  148. package/node_modules/undici/lib/core/connect.js +17 -1
  149. package/node_modules/undici/lib/core/constants.js +1 -24
  150. package/node_modules/undici/lib/core/errors.js +2 -2
  151. package/node_modules/undici/lib/core/request.js +115 -18
  152. package/node_modules/undici/lib/core/socks5-client.js +24 -9
  153. package/node_modules/undici/lib/core/socks5-utils.js +32 -23
  154. package/node_modules/undici/lib/core/symbols.js +1 -0
  155. package/node_modules/undici/lib/core/util.js +70 -43
  156. package/node_modules/undici/lib/dispatcher/agent.js +47 -33
  157. package/node_modules/undici/lib/dispatcher/balanced-pool.js +21 -26
  158. package/node_modules/undici/lib/dispatcher/client-h1.js +98 -39
  159. package/node_modules/undici/lib/dispatcher/client-h2.js +603 -272
  160. package/node_modules/undici/lib/dispatcher/client.js +12 -5
  161. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +24 -5
  162. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -4
  163. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +107 -0
  164. package/node_modules/undici/lib/dispatcher/h2c-client.js +5 -5
  165. package/node_modules/undici/lib/dispatcher/pool-base.js +28 -10
  166. package/node_modules/undici/lib/dispatcher/pool.js +31 -6
  167. package/node_modules/undici/lib/dispatcher/proxy-agent.js +38 -13
  168. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +31 -9
  169. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +95 -80
  170. package/node_modules/undici/lib/global.js +13 -1
  171. package/node_modules/undici/lib/handler/cache-handler.js +16 -8
  172. package/node_modules/undici/lib/handler/decorator-handler.js +1 -2
  173. package/node_modules/undici/lib/handler/redirect-handler.js +5 -51
  174. package/node_modules/undici/lib/handler/retry-handler.js +15 -2
  175. package/node_modules/undici/lib/interceptor/cache.js +30 -17
  176. package/node_modules/undici/lib/interceptor/decompress.js +28 -2
  177. package/node_modules/undici/lib/interceptor/dns.js +1 -1
  178. package/node_modules/undici/lib/interceptor/redirect.js +3 -3
  179. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +1 -1
  180. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +1 -1
  181. package/node_modules/undici/lib/mock/mock-agent.js +8 -8
  182. package/node_modules/undici/lib/mock/mock-call-history.js +15 -15
  183. package/node_modules/undici/lib/mock/mock-utils.js +37 -22
  184. package/node_modules/undici/lib/mock/snapshot-agent.js +16 -6
  185. package/node_modules/undici/lib/mock/snapshot-recorder.js +38 -3
  186. package/node_modules/undici/lib/util/cache.js +8 -7
  187. package/node_modules/undici/lib/util/runtime-features.js +3 -34
  188. package/node_modules/undici/lib/web/cache/cache.js +6 -8
  189. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
  190. package/node_modules/undici/lib/web/fetch/body.js +3 -9
  191. package/node_modules/undici/lib/web/fetch/formdata-parser.js +17 -6
  192. package/node_modules/undici/lib/web/fetch/formdata.js +21 -2
  193. package/node_modules/undici/lib/web/fetch/index.js +214 -221
  194. package/node_modules/undici/lib/web/webidl/index.js +7 -9
  195. package/node_modules/undici/lib/web/websocket/frame.js +1 -7
  196. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +13 -31
  197. package/node_modules/undici/lib/web/websocket/receiver.js +62 -22
  198. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +11 -17
  199. package/node_modules/undici/lib/web/websocket/websocket.js +6 -1
  200. package/node_modules/undici/package.json +9 -9
  201. package/node_modules/undici/types/agent.d.ts +0 -2
  202. package/node_modules/undici/types/client.d.ts +25 -19
  203. package/node_modules/undici/types/dispatcher.d.ts +7 -27
  204. package/node_modules/undici/types/dispatcher1-wrapper.d.ts +7 -0
  205. package/node_modules/undici/types/formdata.d.ts +0 -6
  206. package/node_modules/undici/types/h2c-client.d.ts +6 -6
  207. package/node_modules/undici/types/header.d.ts +5 -0
  208. package/node_modules/undici/types/index.d.ts +3 -1
  209. package/node_modules/undici/types/interceptors.d.ts +1 -1
  210. package/node_modules/undici/types/pool.d.ts +0 -2
  211. package/node_modules/undici/types/proxy-agent.d.ts +2 -2
  212. package/node_modules/undici/types/round-robin-pool.d.ts +0 -2
  213. package/node_modules/undici/types/snapshot-agent.d.ts +4 -0
  214. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -2
  215. package/node_modules/undici/types/webidl.d.ts +0 -1
  216. package/package.json +7 -8
  217. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +0 -24
  218. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/sandbox/package-lock.json +0 -92
  219. package/node_modules/@earendil-works/pi-coding-agent/examples/extensions/with-deps/package-lock.json +0 -31
  220. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  221. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  222. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  223. package/node_modules/undici/lib/util/promise.js +0 -28
  224. package/skills/refresh-kb-links/SKILL.md +0 -217
  225. package/skills/store-custodian/SKILL.md +0 -163
  226. package/skills/store-query-grammar/SKILL.md +0 -145
  227. package/skills/store-query-nlp/SKILL.md +0 -110
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.8 (c) 2016, daniel wirtz
3
- * compiled tue, 12 may 2026 09:39:59 utc
2
+ * protobuf.js v7.5.9 (c) 2016, daniel wirtz
3
+ * compiled sun, 17 may 2026 16:51:59 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -429,9 +429,7 @@ EventEmitter.prototype.emit = function emit(evt) {
429
429
  module.exports = fetch;
430
430
 
431
431
  var asPromise = require(1),
432
- inquire = require(7);
433
-
434
- var fs = inquire("fs");
432
+ fs = require(6);
435
433
 
436
434
  /**
437
435
  * Node-style callback as used by {@link util.fetch}.
@@ -444,8 +442,7 @@ var fs = inquire("fs");
444
442
 
445
443
  /**
446
444
  * Options as used by {@link util.fetch}.
447
- * @typedef FetchOptions
448
- * @type {Object}
445
+ * @interface IFetchOptions
449
446
  * @property {boolean} [binary=false] Whether expecting a binary response
450
447
  * @property {boolean} [xhr=false] If `true`, forces the use of XMLHttpRequest
451
448
  */
@@ -454,7 +451,7 @@ var fs = inquire("fs");
454
451
  * Fetches the contents of a file.
455
452
  * @memberof util
456
453
  * @param {string} filename File path or url
457
- * @param {FetchOptions} options Fetch options
454
+ * @param {IFetchOptions} options Fetch options
458
455
  * @param {FetchCallback} callback Callback function
459
456
  * @returns {undefined}
460
457
  */
@@ -497,7 +494,7 @@ function fetch(filename, options, callback) {
497
494
  * @name util.fetch
498
495
  * @function
499
496
  * @param {string} path File path or url
500
- * @param {FetchOptions} [options] Fetch options
497
+ * @param {IFetchOptions} [options] Fetch options
501
498
  * @returns {Promise<string|Uint8Array>} Promise
502
499
  * @variation 3
503
500
  */
@@ -541,7 +538,20 @@ fetch.xhr = function fetch_xhr(filename, options, callback) {
541
538
  xhr.send();
542
539
  };
543
540
 
544
- },{"1":1,"7":7}],6:[function(require,module,exports){
541
+ },{"1":1,"6":6}],6:[function(require,module,exports){
542
+ "use strict";
543
+
544
+ var fs = null;
545
+ try {
546
+ fs = require(12);
547
+ if (!fs || !fs.readFile || !fs.readFileSync)
548
+ fs = null;
549
+ } catch (e) {
550
+ // `fs` is unavailable in browsers and browser-like bundles.
551
+ }
552
+ module.exports = fs;
553
+
554
+ },{"12":12}],7:[function(require,module,exports){
545
555
  "use strict";
546
556
 
547
557
  module.exports = factory(factory);
@@ -878,7 +888,7 @@ function readUintBE(buf, pos) {
878
888
  | buf[pos + 3]) >>> 0;
879
889
  }
880
890
 
881
- },{}],7:[function(require,module,exports){
891
+ },{}],8:[function(require,module,exports){
882
892
  "use strict";
883
893
  module.exports = inquire;
884
894
 
@@ -887,6 +897,7 @@ module.exports = inquire;
887
897
  * @memberof util
888
898
  * @param {string} moduleName Module to require
889
899
  * @returns {?Object} Required module if available and not empty, otherwise `null`
900
+ * @deprecated Legacy optional require helper. Will be removed in a future release.
890
901
  */
891
902
  function inquire(moduleName) {
892
903
  try {
@@ -917,7 +928,7 @@ var r = require.__self;
917
928
  delete Function.prototype.__self;
918
929
  */
919
930
 
920
- },{}],8:[function(require,module,exports){
931
+ },{}],9:[function(require,module,exports){
921
932
  "use strict";
922
933
 
923
934
  /**
@@ -984,7 +995,7 @@ path.resolve = function resolve(originPath, includePath, alreadyNormalized) {
984
995
  return (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath;
985
996
  };
986
997
 
987
- },{}],9:[function(require,module,exports){
998
+ },{}],10:[function(require,module,exports){
988
999
  "use strict";
989
1000
  module.exports = pool;
990
1001
 
@@ -1034,7 +1045,7 @@ function pool(alloc, slice, size) {
1034
1045
  };
1035
1046
  }
1036
1047
 
1037
- },{}],10:[function(require,module,exports){
1048
+ },{}],11:[function(require,module,exports){
1038
1049
  "use strict";
1039
1050
 
1040
1051
  /**
@@ -1140,7 +1151,9 @@ utf8.write = function utf8_write(string, buffer, offset) {
1140
1151
  return offset - start;
1141
1152
  };
1142
1153
 
1143
- },{}],11:[function(require,module,exports){
1154
+ },{}],12:[function(require,module,exports){
1155
+
1156
+ },{}],13:[function(require,module,exports){
1144
1157
  "use strict";
1145
1158
  /**
1146
1159
  * Runtime message from/to plain object converters.
@@ -1148,8 +1161,8 @@ utf8.write = function utf8_write(string, buffer, offset) {
1148
1161
  */
1149
1162
  var converter = exports;
1150
1163
 
1151
- var Enum = require(14),
1152
- util = require(33);
1164
+ var Enum = require(16),
1165
+ util = require(35);
1153
1166
 
1154
1167
  /**
1155
1168
  * Generates a partial value fromObject conveter.
@@ -1452,13 +1465,13 @@ converter.toObject = function toObject(mtype) {
1452
1465
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
1453
1466
  };
1454
1467
 
1455
- },{"14":14,"33":33}],12:[function(require,module,exports){
1468
+ },{"16":16,"35":35}],14:[function(require,module,exports){
1456
1469
  "use strict";
1457
1470
  module.exports = decoder;
1458
1471
 
1459
- var Enum = require(14),
1460
- types = require(32),
1461
- util = require(33);
1472
+ var Enum = require(16),
1473
+ types = require(34),
1474
+ util = require(35);
1462
1475
 
1463
1476
  function missing(field) {
1464
1477
  return "missing required '" + field.name + "'";
@@ -1589,13 +1602,13 @@ function decoder(mtype) {
1589
1602
  /* eslint-enable no-unexpected-multiline */
1590
1603
  }
1591
1604
 
1592
- },{"14":14,"32":32,"33":33}],13:[function(require,module,exports){
1605
+ },{"16":16,"34":34,"35":35}],15:[function(require,module,exports){
1593
1606
  "use strict";
1594
1607
  module.exports = encoder;
1595
1608
 
1596
- var Enum = require(14),
1597
- types = require(32),
1598
- util = require(33);
1609
+ var Enum = require(16),
1610
+ types = require(34),
1611
+ util = require(35);
1599
1612
 
1600
1613
  /**
1601
1614
  * Generates a partial message type encoder.
@@ -1691,16 +1704,16 @@ function encoder(mtype) {
1691
1704
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
1692
1705
  }
1693
1706
 
1694
- },{"14":14,"32":32,"33":33}],14:[function(require,module,exports){
1707
+ },{"16":16,"34":34,"35":35}],16:[function(require,module,exports){
1695
1708
  "use strict";
1696
1709
  module.exports = Enum;
1697
1710
 
1698
1711
  // extends ReflectionObject
1699
- var ReflectionObject = require(22);
1712
+ var ReflectionObject = require(24);
1700
1713
  ((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
1701
1714
 
1702
- var Namespace = require(21),
1703
- util = require(33);
1715
+ var Namespace = require(23),
1716
+ util = require(35);
1704
1717
 
1705
1718
  /**
1706
1719
  * Constructs a new enum instance.
@@ -1919,17 +1932,17 @@ Enum.prototype.isReservedName = function isReservedName(name) {
1919
1932
  return Namespace.isReservedName(this.reserved, name);
1920
1933
  };
1921
1934
 
1922
- },{"21":21,"22":22,"33":33}],15:[function(require,module,exports){
1935
+ },{"23":23,"24":24,"35":35}],17:[function(require,module,exports){
1923
1936
  "use strict";
1924
1937
  module.exports = Field;
1925
1938
 
1926
1939
  // extends ReflectionObject
1927
- var ReflectionObject = require(22);
1940
+ var ReflectionObject = require(24);
1928
1941
  ((Field.prototype = Object.create(ReflectionObject.prototype)).constructor = Field).className = "Field";
1929
1942
 
1930
- var Enum = require(14),
1931
- types = require(32),
1932
- util = require(33);
1943
+ var Enum = require(16),
1944
+ types = require(34),
1945
+ util = require(35);
1933
1946
 
1934
1947
  var Type; // cyclic
1935
1948
 
@@ -2374,9 +2387,9 @@ Field._configure = function configure(Type_) {
2374
2387
  Type = Type_;
2375
2388
  };
2376
2389
 
2377
- },{"14":14,"22":22,"32":32,"33":33}],16:[function(require,module,exports){
2390
+ },{"16":16,"24":24,"34":34,"35":35}],18:[function(require,module,exports){
2378
2391
  "use strict";
2379
- var protobuf = module.exports = require(17);
2392
+ var protobuf = module.exports = require(19);
2380
2393
 
2381
2394
  protobuf.build = "light";
2382
2395
 
@@ -2449,30 +2462,30 @@ function loadSync(filename, root) {
2449
2462
  protobuf.loadSync = loadSync;
2450
2463
 
2451
2464
  // Serialization
2452
- protobuf.encoder = require(13);
2453
- protobuf.decoder = require(12);
2454
- protobuf.verifier = require(37);
2455
- protobuf.converter = require(11);
2465
+ protobuf.encoder = require(15);
2466
+ protobuf.decoder = require(14);
2467
+ protobuf.verifier = require(40);
2468
+ protobuf.converter = require(13);
2456
2469
 
2457
2470
  // Reflection
2458
- protobuf.ReflectionObject = require(22);
2459
- protobuf.Namespace = require(21);
2460
- protobuf.Root = require(26);
2461
- protobuf.Enum = require(14);
2462
- protobuf.Type = require(31);
2463
- protobuf.Field = require(15);
2464
- protobuf.OneOf = require(23);
2465
- protobuf.MapField = require(18);
2466
- protobuf.Service = require(30);
2467
- protobuf.Method = require(20);
2471
+ protobuf.ReflectionObject = require(24);
2472
+ protobuf.Namespace = require(23);
2473
+ protobuf.Root = require(28);
2474
+ protobuf.Enum = require(16);
2475
+ protobuf.Type = require(33);
2476
+ protobuf.Field = require(17);
2477
+ protobuf.OneOf = require(25);
2478
+ protobuf.MapField = require(20);
2479
+ protobuf.Service = require(32);
2480
+ protobuf.Method = require(22);
2468
2481
 
2469
2482
  // Runtime
2470
- protobuf.Message = require(19);
2471
- protobuf.wrappers = require(38);
2483
+ protobuf.Message = require(21);
2484
+ protobuf.wrappers = require(41);
2472
2485
 
2473
2486
  // Utility
2474
- protobuf.types = require(32);
2475
- protobuf.util = require(33);
2487
+ protobuf.types = require(34);
2488
+ protobuf.util = require(35);
2476
2489
 
2477
2490
  // Set up possibly cyclic reflection dependencies
2478
2491
  protobuf.ReflectionObject._configure(protobuf.Root);
@@ -2480,7 +2493,7 @@ protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum);
2480
2493
  protobuf.Root._configure(protobuf.Type);
2481
2494
  protobuf.Field._configure(protobuf.Type);
2482
2495
 
2483
- },{"11":11,"12":12,"13":13,"14":14,"15":15,"17":17,"18":18,"19":19,"20":20,"21":21,"22":22,"23":23,"26":26,"30":30,"31":31,"32":32,"33":33,"37":37,"38":38}],17:[function(require,module,exports){
2496
+ },{"13":13,"14":14,"15":15,"16":16,"17":17,"19":19,"20":20,"21":21,"22":22,"23":23,"24":24,"25":25,"28":28,"32":32,"33":33,"34":34,"35":35,"40":40,"41":41}],19:[function(require,module,exports){
2484
2497
  "use strict";
2485
2498
  var protobuf = exports;
2486
2499
 
@@ -2493,15 +2506,15 @@ var protobuf = exports;
2493
2506
  protobuf.build = "minimal";
2494
2507
 
2495
2508
  // Serialization
2496
- protobuf.Writer = require(39);
2497
- protobuf.BufferWriter = require(40);
2498
- protobuf.Reader = require(24);
2499
- protobuf.BufferReader = require(25);
2509
+ protobuf.Writer = require(42);
2510
+ protobuf.BufferWriter = require(43);
2511
+ protobuf.Reader = require(26);
2512
+ protobuf.BufferReader = require(27);
2500
2513
 
2501
2514
  // Utility
2502
- protobuf.util = require(35);
2503
- protobuf.rpc = require(28);
2504
- protobuf.roots = require(27);
2515
+ protobuf.util = require(38);
2516
+ protobuf.rpc = require(30);
2517
+ protobuf.roots = require(29);
2505
2518
  protobuf.configure = configure;
2506
2519
 
2507
2520
  /* istanbul ignore next */
@@ -2518,16 +2531,16 @@ function configure() {
2518
2531
  // Set up buffer utility according to the environment
2519
2532
  configure();
2520
2533
 
2521
- },{"24":24,"25":25,"27":27,"28":28,"35":35,"39":39,"40":40}],18:[function(require,module,exports){
2534
+ },{"26":26,"27":27,"29":29,"30":30,"38":38,"42":42,"43":43}],20:[function(require,module,exports){
2522
2535
  "use strict";
2523
2536
  module.exports = MapField;
2524
2537
 
2525
2538
  // extends Field
2526
- var Field = require(15);
2539
+ var Field = require(17);
2527
2540
  ((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
2528
2541
 
2529
- var types = require(32),
2530
- util = require(33);
2542
+ var types = require(34),
2543
+ util = require(35);
2531
2544
 
2532
2545
  /**
2533
2546
  * Constructs a new map field instance.
@@ -2646,11 +2659,11 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {
2646
2659
  };
2647
2660
  };
2648
2661
 
2649
- },{"15":15,"32":32,"33":33}],19:[function(require,module,exports){
2662
+ },{"17":17,"34":34,"35":35}],21:[function(require,module,exports){
2650
2663
  "use strict";
2651
2664
  module.exports = Message;
2652
2665
 
2653
- var util = require(35);
2666
+ var util = require(38);
2654
2667
 
2655
2668
  /**
2656
2669
  * Constructs a new message instance.
@@ -2791,15 +2804,15 @@ Message.prototype.toJSON = function toJSON() {
2791
2804
 
2792
2805
  /*eslint-enable valid-jsdoc*/
2793
2806
 
2794
- },{"35":35}],20:[function(require,module,exports){
2807
+ },{"38":38}],22:[function(require,module,exports){
2795
2808
  "use strict";
2796
2809
  module.exports = Method;
2797
2810
 
2798
2811
  // extends ReflectionObject
2799
- var ReflectionObject = require(22);
2812
+ var ReflectionObject = require(24);
2800
2813
  ((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
2801
2814
 
2802
- var util = require(33);
2815
+ var util = require(35);
2803
2816
 
2804
2817
  /**
2805
2818
  * Constructs a new service method instance.
@@ -2953,17 +2966,17 @@ Method.prototype.resolve = function resolve() {
2953
2966
  return ReflectionObject.prototype.resolve.call(this);
2954
2967
  };
2955
2968
 
2956
- },{"22":22,"33":33}],21:[function(require,module,exports){
2969
+ },{"24":24,"35":35}],23:[function(require,module,exports){
2957
2970
  "use strict";
2958
2971
  module.exports = Namespace;
2959
2972
 
2960
2973
  // extends ReflectionObject
2961
- var ReflectionObject = require(22);
2974
+ var ReflectionObject = require(24);
2962
2975
  ((Namespace.prototype = Object.create(ReflectionObject.prototype)).constructor = Namespace).className = "Namespace";
2963
2976
 
2964
- var Field = require(15),
2965
- util = require(33),
2966
- OneOf = require(23);
2977
+ var Field = require(17),
2978
+ util = require(35),
2979
+ OneOf = require(25);
2967
2980
 
2968
2981
  var Type, // cyclic
2969
2982
  Service,
@@ -3511,14 +3524,14 @@ Namespace._configure = function(Type_, Service_, Enum_) {
3511
3524
  Enum = Enum_;
3512
3525
  };
3513
3526
 
3514
- },{"15":15,"22":22,"23":23,"33":33}],22:[function(require,module,exports){
3527
+ },{"17":17,"24":24,"25":25,"35":35}],24:[function(require,module,exports){
3515
3528
  "use strict";
3516
3529
  module.exports = ReflectionObject;
3517
3530
 
3518
3531
  ReflectionObject.className = "ReflectionObject";
3519
3532
 
3520
- const OneOf = require(23);
3521
- var util = require(33);
3533
+ const OneOf = require(25);
3534
+ var util = require(35);
3522
3535
 
3523
3536
  var Root; // cyclic
3524
3537
 
@@ -3895,16 +3908,16 @@ ReflectionObject._configure = function(Root_) {
3895
3908
  Root = Root_;
3896
3909
  };
3897
3910
 
3898
- },{"23":23,"33":33}],23:[function(require,module,exports){
3911
+ },{"25":25,"35":35}],25:[function(require,module,exports){
3899
3912
  "use strict";
3900
3913
  module.exports = OneOf;
3901
3914
 
3902
3915
  // extends ReflectionObject
3903
- var ReflectionObject = require(22);
3916
+ var ReflectionObject = require(24);
3904
3917
  ((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
3905
3918
 
3906
- var Field = require(15),
3907
- util = require(33);
3919
+ var Field = require(17),
3920
+ util = require(35);
3908
3921
 
3909
3922
  /**
3910
3923
  * Constructs a new oneof instance.
@@ -4119,11 +4132,11 @@ OneOf.d = function decorateOneOf() {
4119
4132
  };
4120
4133
  };
4121
4134
 
4122
- },{"15":15,"22":22,"33":33}],24:[function(require,module,exports){
4135
+ },{"17":17,"24":24,"35":35}],26:[function(require,module,exports){
4123
4136
  "use strict";
4124
4137
  module.exports = Reader;
4125
4138
 
4126
- var util = require(35);
4139
+ var util = require(38);
4127
4140
 
4128
4141
  var BufferReader; // cyclic
4129
4142
 
@@ -4547,15 +4560,15 @@ Reader._configure = function(BufferReader_) {
4547
4560
  });
4548
4561
  };
4549
4562
 
4550
- },{"35":35}],25:[function(require,module,exports){
4563
+ },{"38":38}],27:[function(require,module,exports){
4551
4564
  "use strict";
4552
4565
  module.exports = BufferReader;
4553
4566
 
4554
4567
  // extends Reader
4555
- var Reader = require(24);
4568
+ var Reader = require(26);
4556
4569
  (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
4557
4570
 
4558
- var util = require(35);
4571
+ var util = require(38);
4559
4572
 
4560
4573
  /**
4561
4574
  * Constructs a new buffer reader instance.
@@ -4600,18 +4613,18 @@ BufferReader.prototype.string = function read_string_buffer() {
4600
4613
 
4601
4614
  BufferReader._configure();
4602
4615
 
4603
- },{"24":24,"35":35}],26:[function(require,module,exports){
4616
+ },{"26":26,"38":38}],28:[function(require,module,exports){
4604
4617
  "use strict";
4605
4618
  module.exports = Root;
4606
4619
 
4607
4620
  // extends Namespace
4608
- var Namespace = require(21);
4621
+ var Namespace = require(23);
4609
4622
  ((Root.prototype = Object.create(Namespace.prototype)).constructor = Root).className = "Root";
4610
4623
 
4611
- var Field = require(15),
4612
- Enum = require(14),
4613
- OneOf = require(23),
4614
- util = require(33);
4624
+ var Field = require(17),
4625
+ Enum = require(16),
4626
+ OneOf = require(25),
4627
+ util = require(35);
4615
4628
 
4616
4629
  var Type, // cyclic
4617
4630
  parse, // might be excluded
@@ -5008,7 +5021,7 @@ Root._configure = function(Type_, parse_, common_) {
5008
5021
  common = common_;
5009
5022
  };
5010
5023
 
5011
- },{"14":14,"15":15,"21":21,"23":23,"33":33}],27:[function(require,module,exports){
5024
+ },{"16":16,"17":17,"23":23,"25":25,"35":35}],29:[function(require,module,exports){
5012
5025
  "use strict";
5013
5026
  module.exports = {};
5014
5027
 
@@ -5028,7 +5041,7 @@ module.exports = {};
5028
5041
  * var root = protobuf.roots["myroot"];
5029
5042
  */
5030
5043
 
5031
- },{}],28:[function(require,module,exports){
5044
+ },{}],30:[function(require,module,exports){
5032
5045
  "use strict";
5033
5046
 
5034
5047
  /**
@@ -5064,13 +5077,13 @@ var rpc = exports;
5064
5077
  * @returns {undefined}
5065
5078
  */
5066
5079
 
5067
- rpc.Service = require(29);
5080
+ rpc.Service = require(31);
5068
5081
 
5069
- },{"29":29}],29:[function(require,module,exports){
5082
+ },{"31":31}],31:[function(require,module,exports){
5070
5083
  "use strict";
5071
5084
  module.exports = Service;
5072
5085
 
5073
- var util = require(35);
5086
+ var util = require(38);
5074
5087
 
5075
5088
  // Extends EventEmitter
5076
5089
  (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
@@ -5210,17 +5223,17 @@ Service.prototype.end = function end(endedByRPC) {
5210
5223
  return this;
5211
5224
  };
5212
5225
 
5213
- },{"35":35}],30:[function(require,module,exports){
5226
+ },{"38":38}],32:[function(require,module,exports){
5214
5227
  "use strict";
5215
5228
  module.exports = Service;
5216
5229
 
5217
5230
  // extends Namespace
5218
- var Namespace = require(21);
5231
+ var Namespace = require(23);
5219
5232
  ((Service.prototype = Object.create(Namespace.prototype)).constructor = Service).className = "Service";
5220
5233
 
5221
- var Method = require(20),
5222
- util = require(33),
5223
- rpc = require(28);
5234
+ var Method = require(22),
5235
+ util = require(35),
5236
+ rpc = require(30);
5224
5237
 
5225
5238
  var reservedRe = util.patterns.reservedRe;
5226
5239
 
@@ -5407,28 +5420,28 @@ Service.prototype.create = function create(rpcImpl, requestDelimited, responseDe
5407
5420
  return rpcService;
5408
5421
  };
5409
5422
 
5410
- },{"20":20,"21":21,"28":28,"33":33}],31:[function(require,module,exports){
5423
+ },{"22":22,"23":23,"30":30,"35":35}],33:[function(require,module,exports){
5411
5424
  "use strict";
5412
5425
  module.exports = Type;
5413
5426
 
5414
5427
  // extends Namespace
5415
- var Namespace = require(21);
5428
+ var Namespace = require(23);
5416
5429
  ((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
5417
5430
 
5418
- var Enum = require(14),
5419
- OneOf = require(23),
5420
- Field = require(15),
5421
- MapField = require(18),
5422
- Service = require(30),
5423
- Message = require(19),
5424
- Reader = require(24),
5425
- Writer = require(39),
5426
- util = require(33),
5427
- encoder = require(13),
5428
- decoder = require(12),
5429
- verifier = require(37),
5430
- converter = require(11),
5431
- wrappers = require(38);
5431
+ var Enum = require(16),
5432
+ OneOf = require(25),
5433
+ Field = require(17),
5434
+ MapField = require(20),
5435
+ Service = require(32),
5436
+ Message = require(21),
5437
+ Reader = require(26),
5438
+ Writer = require(42),
5439
+ util = require(35),
5440
+ encoder = require(15),
5441
+ decoder = require(14),
5442
+ verifier = require(40),
5443
+ converter = require(13),
5444
+ wrappers = require(41);
5432
5445
 
5433
5446
  /**
5434
5447
  * Constructs a new reflected message type instance.
@@ -6036,7 +6049,7 @@ Type.d = function decorateType(typeName) {
6036
6049
  };
6037
6050
  };
6038
6051
 
6039
- },{"11":11,"12":12,"13":13,"14":14,"15":15,"18":18,"19":19,"21":21,"23":23,"24":24,"30":30,"33":33,"37":37,"38":38,"39":39}],32:[function(require,module,exports){
6052
+ },{"13":13,"14":14,"15":15,"16":16,"17":17,"20":20,"21":21,"23":23,"25":25,"26":26,"32":32,"35":35,"40":40,"41":41,"42":42}],34:[function(require,module,exports){
6040
6053
  "use strict";
6041
6054
 
6042
6055
  /**
@@ -6045,7 +6058,7 @@ Type.d = function decorateType(typeName) {
6045
6058
  */
6046
6059
  var types = exports;
6047
6060
 
6048
- var util = require(33);
6061
+ var util = require(35);
6049
6062
 
6050
6063
  var s = [
6051
6064
  "double", // 0
@@ -6234,24 +6247,24 @@ types.packed = bake([
6234
6247
  /* bool */ 0
6235
6248
  ]);
6236
6249
 
6237
- },{"33":33}],33:[function(require,module,exports){
6250
+ },{"35":35}],35:[function(require,module,exports){
6238
6251
  "use strict";
6239
6252
 
6240
6253
  /**
6241
6254
  * Various utility functions.
6242
6255
  * @namespace
6243
6256
  */
6244
- var util = module.exports = require(35);
6257
+ var util = module.exports = require(38);
6245
6258
 
6246
- var roots = require(27);
6259
+ var roots = require(29);
6247
6260
 
6248
6261
  var Type, // cyclic
6249
6262
  Enum;
6250
6263
 
6251
6264
  util.codegen = require(3);
6252
6265
  util.fetch = require(5);
6253
- util.path = require(8);
6254
- util.patterns = require(36);
6266
+ util.path = require(9);
6267
+ util.patterns = require(39);
6255
6268
 
6256
6269
  var reservedRe = util.patterns.reservedRe,
6257
6270
  unsafePropertyRe = util.patterns.unsafePropertyRe;
@@ -6260,7 +6273,7 @@ var reservedRe = util.patterns.reservedRe,
6260
6273
  * Node's fs module if available.
6261
6274
  * @type {Object.<string,*>}
6262
6275
  */
6263
- util.fs = util.inquire("fs");
6276
+ util.fs = require(36);
6264
6277
 
6265
6278
  /**
6266
6279
  * Checks a recursion depth.
@@ -6384,7 +6397,7 @@ util.decorateType = function decorateType(ctor, typeName) {
6384
6397
 
6385
6398
  /* istanbul ignore next */
6386
6399
  if (!Type)
6387
- Type = require(31);
6400
+ Type = require(33);
6388
6401
 
6389
6402
  var type = new Type(typeName || ctor.name);
6390
6403
  util.decorateRoot.add(type);
@@ -6409,7 +6422,7 @@ util.decorateEnum = function decorateEnum(object) {
6409
6422
 
6410
6423
  /* istanbul ignore next */
6411
6424
  if (!Enum)
6412
- Enum = require(14);
6425
+ Enum = require(16);
6413
6426
 
6414
6427
  var enm = new Enum("Enum" + decorateEnumIndex++, object);
6415
6428
  util.decorateRoot.add(enm);
@@ -6461,15 +6474,28 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
6461
6474
  */
6462
6475
  Object.defineProperty(util, "decorateRoot", {
6463
6476
  get: function() {
6464
- return roots["decorated"] || (roots["decorated"] = new (require(26))());
6477
+ return roots["decorated"] || (roots["decorated"] = new (require(28))());
6465
6478
  }
6466
6479
  });
6467
6480
 
6468
- },{"14":14,"26":26,"27":27,"3":3,"31":31,"35":35,"36":36,"5":5,"8":8}],34:[function(require,module,exports){
6481
+ },{"16":16,"28":28,"29":29,"3":3,"33":33,"36":36,"38":38,"39":39,"5":5,"9":9}],36:[function(require,module,exports){
6482
+ "use strict";
6483
+
6484
+ var fs = null;
6485
+ try {
6486
+ fs = require(12);
6487
+ if (!fs || !fs.readFile || !fs.readFileSync)
6488
+ fs = null;
6489
+ } catch (e) {
6490
+ // `fs` is unavailable in browsers and browser-like bundles.
6491
+ }
6492
+ module.exports = fs;
6493
+
6494
+ },{"12":12}],37:[function(require,module,exports){
6469
6495
  "use strict";
6470
6496
  module.exports = LongBits;
6471
6497
 
6472
- var util = require(35);
6498
+ var util = require(38);
6473
6499
 
6474
6500
  /**
6475
6501
  * Constructs new long bits.
@@ -6667,7 +6693,7 @@ LongBits.prototype.length = function length() {
6667
6693
  : part2 < 128 ? 9 : 10;
6668
6694
  };
6669
6695
 
6670
- },{"35":35}],35:[function(require,module,exports){
6696
+ },{"38":38}],38:[function(require,module,exports){
6671
6697
  "use strict";
6672
6698
  var util = exports;
6673
6699
 
@@ -6681,19 +6707,19 @@ util.base64 = require(2);
6681
6707
  util.EventEmitter = require(4);
6682
6708
 
6683
6709
  // float handling accross browsers
6684
- util.float = require(6);
6710
+ util.float = require(7);
6685
6711
 
6686
6712
  // requires modules optionally and hides the call from bundlers
6687
- util.inquire = require(7);
6713
+ util.inquire = require(8);
6688
6714
 
6689
6715
  // converts to / from utf8 encoded strings
6690
- util.utf8 = require(10);
6716
+ util.utf8 = require(11);
6691
6717
 
6692
6718
  // provides a node-like buffer pool in the browser
6693
- util.pool = require(9);
6719
+ util.pool = require(10);
6694
6720
 
6695
6721
  // utility to work with the low and high bits of a 64 bit value
6696
- util.LongBits = require(34);
6722
+ util.LongBits = require(37);
6697
6723
 
6698
6724
  /**
6699
6725
  * Whether running within node or not.
@@ -6795,7 +6821,7 @@ util.isSet = function isSet(obj, prop) {
6795
6821
  */
6796
6822
  util.Buffer = (function() {
6797
6823
  try {
6798
- var Buffer = util.inquire("buffer").Buffer;
6824
+ var Buffer = util.global.Buffer;
6799
6825
  // refuse to use non-node buffers if not explicitly assigned (perf reasons):
6800
6826
  return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;
6801
6827
  } catch (e) {
@@ -6849,7 +6875,15 @@ util.Array = typeof Uint8Array !== "undefined" ? Uint8Array /* istanbul ignore n
6849
6875
  */
6850
6876
  util.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long
6851
6877
  || /* istanbul ignore next */ util.global.Long
6852
- || util.inquire("long");
6878
+ || (function() {
6879
+ try {
6880
+ var Long = require("long");
6881
+ return Long && Long.isLong ? Long : null;
6882
+ } catch (e) {
6883
+ /* istanbul ignore next */
6884
+ return null;
6885
+ }
6886
+ })();
6853
6887
 
6854
6888
  /**
6855
6889
  * Regular expression used to verify 2 bit (`bool`) map keys.
@@ -7130,7 +7164,7 @@ util._configure = function() {
7130
7164
  };
7131
7165
  };
7132
7166
 
7133
- },{"1":1,"10":10,"2":2,"34":34,"4":4,"6":6,"7":7,"9":9}],36:[function(require,module,exports){
7167
+ },{"1":1,"10":10,"11":11,"2":2,"37":37,"4":4,"7":7,"8":8,"long":"long"}],39:[function(require,module,exports){
7134
7168
  "use strict";
7135
7169
 
7136
7170
  var patterns = exports;
@@ -7140,12 +7174,12 @@ patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]
7140
7174
  patterns.reservedRe = /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
7141
7175
  patterns.unsafePropertyRe = /^(?:__proto__|prototype|constructor)$/;
7142
7176
 
7143
- },{}],37:[function(require,module,exports){
7177
+ },{}],40:[function(require,module,exports){
7144
7178
  "use strict";
7145
7179
  module.exports = verifier;
7146
7180
 
7147
- var Enum = require(14),
7148
- util = require(33);
7181
+ var Enum = require(16),
7182
+ util = require(35);
7149
7183
 
7150
7184
  function invalid(field, expected) {
7151
7185
  return field.name + ": " + expected + (field.repeated && expected !== "array" ? "[]" : field.map && expected !== "object" ? "{k:"+field.keyType+"}" : "") + " expected";
@@ -7322,7 +7356,7 @@ function verifier(mtype) {
7322
7356
  /* eslint-enable no-unexpected-multiline */
7323
7357
  }
7324
7358
 
7325
- },{"14":14,"33":33}],38:[function(require,module,exports){
7359
+ },{"16":16,"35":35}],41:[function(require,module,exports){
7326
7360
  "use strict";
7327
7361
 
7328
7362
  /**
@@ -7332,7 +7366,7 @@ function verifier(mtype) {
7332
7366
  */
7333
7367
  var wrappers = exports;
7334
7368
 
7335
- var Message = require(19);
7369
+ var Message = require(21);
7336
7370
 
7337
7371
  /**
7338
7372
  * From object converter part of an {@link IWrapper}.
@@ -7427,11 +7461,11 @@ wrappers[".google.protobuf.Any"] = {
7427
7461
  }
7428
7462
  };
7429
7463
 
7430
- },{"19":19}],39:[function(require,module,exports){
7464
+ },{"21":21}],42:[function(require,module,exports){
7431
7465
  "use strict";
7432
7466
  module.exports = Writer;
7433
7467
 
7434
- var util = require(35);
7468
+ var util = require(38);
7435
7469
 
7436
7470
  var BufferWriter; // cyclic
7437
7471
 
@@ -7894,15 +7928,15 @@ Writer._configure = function(BufferWriter_) {
7894
7928
  BufferWriter._configure();
7895
7929
  };
7896
7930
 
7897
- },{"35":35}],40:[function(require,module,exports){
7931
+ },{"38":38}],43:[function(require,module,exports){
7898
7932
  "use strict";
7899
7933
  module.exports = BufferWriter;
7900
7934
 
7901
7935
  // extends Writer
7902
- var Writer = require(39);
7936
+ var Writer = require(42);
7903
7937
  (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
7904
7938
 
7905
- var util = require(35);
7939
+ var util = require(38);
7906
7940
 
7907
7941
  /**
7908
7942
  * Constructs a new buffer writer instance.
@@ -7981,7 +8015,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
7981
8015
 
7982
8016
  BufferWriter._configure();
7983
8017
 
7984
- },{"35":35,"39":39}]},{},[16])
8018
+ },{"38":38,"42":42}]},{},[18])
7985
8019
 
7986
8020
  })();
7987
8021
  //# sourceMappingURL=protobuf.js.map