negotium 0.16.0 → 0.16.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.
Files changed (49) hide show
  1. package/bin/negotium.mjs +18 -0
  2. package/dist/agent-helpers.js +340 -258
  3. package/dist/agent-helpers.js.map +4 -4
  4. package/dist/background-bash.js +2 -2
  5. package/dist/background-bash.js.map +3 -3
  6. package/dist/browser-runtime.js +2 -18
  7. package/dist/browser-runtime.js.map +3 -3
  8. package/dist/canonical-mcp-bridge.js +1 -1
  9. package/dist/{chunk-83hk7dq4.js → chunk-2xcqbd94.js} +3 -3
  10. package/dist/{chunk-83hk7dq4.js.map → chunk-2xcqbd94.js.map} +3 -3
  11. package/dist/{chunk-s2gez3wg.js → chunk-r0xs3t81.js} +3 -18
  12. package/dist/{chunk-s2gez3wg.js.map → chunk-r0xs3t81.js.map} +2 -2
  13. package/dist/{chunk-emzrsg4j.js → chunk-v18s6bj4.js} +3 -2
  14. package/dist/{chunk-emzrsg4j.js.map → chunk-v18s6bj4.js.map} +2 -2
  15. package/dist/{chunk-ezfxb5ad.js → chunk-yf3nnkc1.js} +4 -19
  16. package/dist/{chunk-ezfxb5ad.js.map → chunk-yf3nnkc1.js.map} +3 -3
  17. package/dist/hosted-agent.js +4 -5
  18. package/dist/hosted-agent.js.map +4 -4
  19. package/dist/main.js +784 -596
  20. package/dist/main.js.map +4 -4
  21. package/dist/mcp-catalog.js.map +1 -1
  22. package/dist/mcp-factories.js +315 -241
  23. package/dist/mcp-factories.js.map +4 -4
  24. package/dist/media.js +2 -2
  25. package/dist/media.js.map +3 -3
  26. package/dist/outbox.js.map +1 -1
  27. package/dist/platform-runtime.js.map +1 -1
  28. package/dist/prompts.js +2 -2
  29. package/dist/prompts.js.map +3 -3
  30. package/dist/query-runtime.js +2 -18
  31. package/dist/query-runtime.js.map +3 -3
  32. package/dist/registry.js +4 -5
  33. package/dist/registry.js.map +2 -2
  34. package/dist/rollout.js +2 -2
  35. package/dist/runtime/src/platform/config.ts +1 -1
  36. package/dist/runtime/src/version.ts +1 -1
  37. package/dist/runtime-gateway.js.map +1 -1
  38. package/dist/runtime-helpers.js +2 -18
  39. package/dist/runtime-helpers.js.map +3 -3
  40. package/dist/sqlite.js +1 -17
  41. package/dist/sqlite.js.map +2 -2
  42. package/dist/storage.js +6 -17
  43. package/dist/storage.js.map +2 -2
  44. package/dist/types/packages/core/src/platform/config.d.ts +1 -1
  45. package/dist/types/packages/core/src/version.d.ts +1 -1
  46. package/dist/vault.js +2 -18
  47. package/dist/vault.js.map +3 -3
  48. package/install-browser-rs.mjs +4 -4
  49. package/package.json +3 -2
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bun
2
+
3
+ // Silence `maestro-agent-sdk`'s login-PATH bootstrap before the bundle loads.
4
+ //
5
+ // `#platform/maestro-bootstrap-env` already sets this, and in the source tree
6
+ // it works: the module is imported ahead of the SDK, so the flag is in place
7
+ // when the SDK evaluates it at module load. The bundle breaks that ordering.
8
+ // Bun emits the flag-setting module as a lazy `__esm` initializer while the
9
+ // SDK stays an external `import` declaration, and ESM hoists every import
10
+ // above the module body — so the SDK always ran first and the CLI printed
11
+ // `[debug] env-bootstrap: …` on every invocation.
12
+ //
13
+ // A statement in `dist/main.js` cannot win that race for the same reason, so
14
+ // the flag has to be set in a module that runs before it. Hence this shim:
15
+ // a plain statement, then a dynamic import, which is ordered.
16
+ process.env.MAESTRO_SDK_SILENT_BOOTSTRAP ??= "1";
17
+
18
+ await import("../dist/main.js");