@postman/sdk-config 0.17.0 → 0.18.0
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.cjs +63 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +63 -7
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +63 -6
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +1 -1
- package/dist/sdk-config/index.d.ts +1 -1
- package/dist/sdk-config/index.js +63 -7
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +63 -6
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +674 -456
- package/dist/sdk-config/v1/index.d.ts +674 -456
- package/dist/sdk-config/v1/index.js +63 -7
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +22 -0
package/package.json
CHANGED
|
@@ -241,6 +241,28 @@ target must have an effective output either from that baseline or from its own `
|
|
|
241
241
|
migration writes output directly on each target because repositories and publication registries are
|
|
242
242
|
properties of the generated language artifact.
|
|
243
243
|
|
|
244
|
+
## Hosted MCP servers and the MCP base URL
|
|
245
|
+
|
|
246
|
+
A `language: mcp` target's own `output` block accepts `delivery: hosted` with a `slug`, which deploys
|
|
247
|
+
the generated MCP server to Fern-hosted infrastructure. It is the equivalent of `output.location:
|
|
248
|
+
fern-hosted` in `generators.yml`. It exists only on the `mcp` target; root `output` and other
|
|
249
|
+
languages reject it. The generation service still builds a download for a hosted target; the CLI
|
|
250
|
+
makes the deployment from that build, so `hosted` is never part of the request sent to the service.
|
|
251
|
+
The slug may be an environment expression that the CLI resolves.
|
|
252
|
+
|
|
253
|
+
```yaml
|
|
254
|
+
targets:
|
|
255
|
+
- language: mcp
|
|
256
|
+
output:
|
|
257
|
+
delivery: hosted
|
|
258
|
+
slug: petstore
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
Fern migration maps `output.location: fern-hosted` and its `slug` to this output. An MCP generator's
|
|
262
|
+
`baseUrl`, the base URL of the API its tools call, moves to `api.baseUrl`, which is shared by every
|
|
263
|
+
target, so it is migrated only when MCP is the only language in the generator group. Otherwise it
|
|
264
|
+
is reported in `unsupportedFields`.
|
|
265
|
+
|
|
244
266
|
## CLI distribution and npm publication
|
|
245
267
|
|
|
246
268
|
A `language: cli` target's own `output` block accepts `distribution`, which publishes the generated
|