@crewhaus/ir 0.5.4 → 0.5.5
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/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,11 +44,17 @@ export type IrMcpStdioConfig = {
|
|
|
44
44
|
readonly command: string;
|
|
45
45
|
readonly args: readonly string[];
|
|
46
46
|
readonly env?: Readonly<Record<string, IrSecretRef>>;
|
|
47
|
+
/** #406 — present (false) ONLY when the spec opted out of fail-fast
|
|
48
|
+
* (`required: false`): a failed boot connect degrades + retries instead
|
|
49
|
+
* of exiting. Absent = required, byte-identical to pre-#406. */
|
|
50
|
+
readonly required?: false;
|
|
47
51
|
};
|
|
48
52
|
export type IrMcpSseConfig = {
|
|
49
53
|
readonly transport: "sse";
|
|
50
54
|
readonly url: string;
|
|
51
55
|
readonly headers?: Readonly<Record<string, IrSecretRef>>;
|
|
56
|
+
/** #406 — see {@link IrMcpStdioConfig.required}. */
|
|
57
|
+
readonly required?: false;
|
|
52
58
|
};
|
|
53
59
|
export type IrMcpServerConfig = IrMcpStdioConfig | IrMcpSseConfig;
|
|
54
60
|
export type IrMcpServers = Readonly<Record<string, IrMcpServerConfig>>;
|