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.
- package/bin/negotium.mjs +18 -0
- package/dist/agent-helpers.js +340 -258
- package/dist/agent-helpers.js.map +4 -4
- package/dist/background-bash.js +2 -2
- package/dist/background-bash.js.map +3 -3
- package/dist/browser-runtime.js +2 -18
- package/dist/browser-runtime.js.map +3 -3
- package/dist/canonical-mcp-bridge.js +1 -1
- package/dist/{chunk-83hk7dq4.js → chunk-2xcqbd94.js} +3 -3
- package/dist/{chunk-83hk7dq4.js.map → chunk-2xcqbd94.js.map} +3 -3
- package/dist/{chunk-s2gez3wg.js → chunk-r0xs3t81.js} +3 -18
- package/dist/{chunk-s2gez3wg.js.map → chunk-r0xs3t81.js.map} +2 -2
- package/dist/{chunk-emzrsg4j.js → chunk-v18s6bj4.js} +3 -2
- package/dist/{chunk-emzrsg4j.js.map → chunk-v18s6bj4.js.map} +2 -2
- package/dist/{chunk-ezfxb5ad.js → chunk-yf3nnkc1.js} +4 -19
- package/dist/{chunk-ezfxb5ad.js.map → chunk-yf3nnkc1.js.map} +3 -3
- package/dist/hosted-agent.js +4 -5
- package/dist/hosted-agent.js.map +4 -4
- package/dist/main.js +784 -596
- package/dist/main.js.map +4 -4
- package/dist/mcp-catalog.js.map +1 -1
- package/dist/mcp-factories.js +315 -241
- package/dist/mcp-factories.js.map +4 -4
- package/dist/media.js +2 -2
- package/dist/media.js.map +3 -3
- package/dist/outbox.js.map +1 -1
- package/dist/platform-runtime.js.map +1 -1
- package/dist/prompts.js +2 -2
- package/dist/prompts.js.map +3 -3
- package/dist/query-runtime.js +2 -18
- package/dist/query-runtime.js.map +3 -3
- package/dist/registry.js +4 -5
- package/dist/registry.js.map +2 -2
- package/dist/rollout.js +2 -2
- package/dist/runtime/src/platform/config.ts +1 -1
- package/dist/runtime/src/version.ts +1 -1
- package/dist/runtime-gateway.js.map +1 -1
- package/dist/runtime-helpers.js +2 -18
- package/dist/runtime-helpers.js.map +3 -3
- package/dist/sqlite.js +1 -17
- package/dist/sqlite.js.map +2 -2
- package/dist/storage.js +6 -17
- package/dist/storage.js.map +2 -2
- package/dist/types/packages/core/src/platform/config.d.ts +1 -1
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/dist/vault.js +2 -18
- package/dist/vault.js.map +3 -3
- package/install-browser-rs.mjs +4 -4
- package/package.json +3 -2
package/bin/negotium.mjs
ADDED
|
@@ -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");
|