@pleri/olam-cli 0.1.170 → 0.1.173

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.
@@ -98,6 +98,19 @@ export function buildSdkOptions(input) {
98
98
  effort: 'low',
99
99
  thinking: { type: 'disabled' },
100
100
  model: 'claude-sonnet-4-6',
101
+ // SDK 0.3.142: MCP servers now connect in the background by default.
102
+ // Mark @olam/mcp-server as alwaysLoad so the SDK waits for it in turn 1.
103
+ // This closes a turn-1 race where the agent could dispatch via
104
+ // mcp__olam__olam_dispatch before the server finished connecting.
105
+ // Operator-installed third-party servers are left background-loaded (no
106
+ // entry here for them — they don't need to be ready before turn 1).
107
+ mcpServers: {
108
+ olam: {
109
+ command: 'olam',
110
+ args: ['mcp', 'serve'],
111
+ alwaysLoad: true,
112
+ },
113
+ },
101
114
  };
102
115
  }
103
116
  /**
@@ -1,12 +1,12 @@
1
1
  {
2
- "auth": "sha256:2d32d178380641bcdae11f9ad05851238bd4b121adfc9638c8abed3b25467846",
3
- "devbox": "sha256:c5535f84af8e5879e8177447d63bafb432dcc2860d85712423ac18bd1d8c61ac",
4
- "devbox-base": "sha256:c21b2a9acbd4b4237c1f80b90c89c8248a49706dee108fd88a48c8f18d616a7f",
5
- "host-cp": "sha256:1206e857af61f8907d76d9324adbe8d2d5638a94fe2411c6713ffb4f570e8f58",
6
- "kg-service": "sha256:ee636804b8cffd40a1fb75ba3f79cc0c30a17e89c9a135864567859ccdf895d7",
7
- "memory-service": "sha256:20443e8e6725151f7523a8a85c73c7449767782de1d03bb172ba395df19a0939",
8
- "mcp-auth": "sha256:07cdd816ac1d991c065f2936b142a5c6909da683d9a6d4efbe7fe66f0c811821",
2
+ "auth": "sha256:2e40e0c1f0469331dfa98a2e194c922c710149d8d5d3816bc660e530be6a9b97",
3
+ "devbox": "sha256:e05a15802a819e5be84c270cf7e96e4810efc06486bcac4ac384284656d84b09",
4
+ "devbox-base": "sha256:affbd92b5c5383758570889fcdcdfa67cb0d1a51beb2d3d6c68b57a82ee58d34",
5
+ "host-cp": "sha256:3043df80469fa58319de53688991c81575522beba48b7a1b6956d0e3f2d03b45",
6
+ "kg-service": "sha256:225dd3460bce1f2572e6076e55a875ff526a5217a2d8f311d14b6dee591e8a38",
7
+ "memory-service": "sha256:86ce43a8bfec3edf0a9ac1aea63bf3ecd922209a7ab2a0f589ae9e1cedc0134a",
8
+ "mcp-auth": "sha256:f61bf653ada702d59aca0a309b224b01e0f151a89e01583a76f94d8604101d20",
9
9
  "$schema_version": 1,
10
- "$published_version": "0.1.170",
10
+ "$published_version": "0.1.173",
11
11
  "$registry": "ghcr.io/pleri"
12
12
  }
package/dist/index.js CHANGED
@@ -8769,6 +8769,8 @@ function stripMcpServers(mcpServers) {
8769
8769
  stripped.type = value;
8770
8770
  } else if (key === "url" && typeof value === "string") {
8771
8771
  stripped.url = value;
8772
+ } else if (key === "alwaysLoad" && typeof value === "boolean") {
8773
+ stripped.alwaysLoad = value;
8772
8774
  }
8773
8775
  }
8774
8776
  out[svc] = stripped;
@@ -9086,7 +9088,8 @@ var init_env_setup = __esm({
9086
9088
  "command",
9087
9089
  "args",
9088
9090
  "type",
9089
- "url"
9091
+ "url",
9092
+ "alwaysLoad"
9090
9093
  ]);
9091
9094
  SKIP_FILES = /* @__PURE__ */ new Set([
9092
9095
  ".credentials.json",