@managoat/fountain-sdk 6.2.0 → 6.3.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/CHANGELOG.md +13 -0
- package/dist/generated/openapi.d.ts +181 -9
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,19 @@ server releases.
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## [6.3.0] - 2026-09-30
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- The generated types carry ACP session config options (#2537, ADR 0062):
|
|
19
|
+
- `session_config` on agents, conversations, `ConversationCreateRequest`,
|
|
20
|
+
`ConversationReapplyRequest` and `PromptRequest`;
|
|
21
|
+
- the conversation's `session_config_options`;
|
|
22
|
+
- the turn's `config_selection`.
|
|
23
|
+
|
|
24
|
+
Pass `session_config` through `runRequest` or a raw request body, for
|
|
25
|
+
example `{ effort: "high", fast: true }`.
|
|
26
|
+
|
|
14
27
|
## [6.2.0] - 2026-09-26
|
|
15
28
|
|
|
16
29
|
### Added
|
|
@@ -1353,7 +1353,7 @@ export interface paths {
|
|
|
1353
1353
|
};
|
|
1354
1354
|
/**
|
|
1355
1355
|
* List a conversation's log events
|
|
1356
|
-
* @description The read-model behind the SSE stream. Same rows, same fields, as JSON — fetching or archiving a conversation's output no longer requires an SSE parser. Oldest first, cursor-paginated: pass the previous page's `meta.next_cursor` as `after`. SSE remains the tail/follow mechanism.
|
|
1356
|
+
* @description The read-model behind the SSE stream. Same rows, same fields, as JSON — fetching or archiving a conversation's output no longer requires an SSE parser. Oldest first, cursor-paginated: pass the previous page's `meta.next_cursor` as `after`. SSE remains the tail/follow mechanism. With `order=desc` the page is the newest events instead, newest first, and `meta.next_cursor` is the page's oldest id, to pass as `before` for the page older than it; add `whole_turns=true` so no page ends inside a turn. `page.newest_cursor` of the first such page is where an SSE follow resumes (`Last-Event-ID`).
|
|
1357
1357
|
*/
|
|
1358
1358
|
get: operations["FountainWeb.ConversationController.events"];
|
|
1359
1359
|
put?: never;
|
|
@@ -1465,7 +1465,7 @@ export interface paths {
|
|
|
1465
1465
|
*
|
|
1466
1466
|
* `model` changes the model this conversation runs from its next turn (ADR 0061), continuing the same runtime session. It is refused with 422 `model_invalid` when the runtime cannot run it, and with 409 `inference_source_changed` when the conversation's credential does not serve it.
|
|
1467
1467
|
*
|
|
1468
|
-
* Refused with 409 `conversation_busy` while a turn runs, 409 `rebuild_required` when the selection would need the machine built again (the `field` says which one forced it), 503 while the machine is still being built, and 410 once the conversation has ended.
|
|
1468
|
+
* Refused with 409 `conversation_busy` while a turn runs, 409 `rebuild_required` when the selection would need the machine built again (the `field` says which one forced it; for a conversation attached to another agent's sandbox with `sandbox_id`, `shared_sandbox` while another conversation is on it and `guest` once it is alone), 503 while the machine is still being built, and 410 once the conversation has ended.
|
|
1469
1469
|
*/
|
|
1470
1470
|
post: operations["FountainWeb.ConversationController.reapply"];
|
|
1471
1471
|
delete?: never;
|
|
@@ -2398,6 +2398,26 @@ export interface paths {
|
|
|
2398
2398
|
patch: operations["FountainWeb.VaultController.update (2)"];
|
|
2399
2399
|
trace?: never;
|
|
2400
2400
|
};
|
|
2401
|
+
"/api/vaults/{id}/copy": {
|
|
2402
|
+
parameters: {
|
|
2403
|
+
query?: never;
|
|
2404
|
+
header?: never;
|
|
2405
|
+
path?: never;
|
|
2406
|
+
cookie?: never;
|
|
2407
|
+
};
|
|
2408
|
+
get?: never;
|
|
2409
|
+
put?: never;
|
|
2410
|
+
/**
|
|
2411
|
+
* Copy a vault
|
|
2412
|
+
* @description Creates a new vault holding a copy of every secret in the source vault. Values are copied server-side and re-encrypted; no value is ever returned. `name` is required; `description` and `metadata` default to the source's. Atomic: on any failure no new vault exists. A source vault the caller does not own reads as not found.
|
|
2413
|
+
*/
|
|
2414
|
+
post: operations["FountainWeb.VaultController.copy"];
|
|
2415
|
+
delete?: never;
|
|
2416
|
+
options?: never;
|
|
2417
|
+
head?: never;
|
|
2418
|
+
patch?: never;
|
|
2419
|
+
trace?: never;
|
|
2420
|
+
};
|
|
2401
2421
|
"/api/vaults/{vault_id}/secrets": {
|
|
2402
2422
|
parameters: {
|
|
2403
2423
|
query?: never;
|
|
@@ -2819,6 +2839,8 @@ export interface components {
|
|
|
2819
2839
|
* @enum {string|null}
|
|
2820
2840
|
*/
|
|
2821
2841
|
sandbox_provider?: "sprites" | "e2b" | "daytona" | "runner" | null;
|
|
2842
|
+
/** @description ACP session config options every conversation of this agent requests (ADR 0062), such as {"effort": "high"}. A conversation's own session_config overrides these keys, and a prompt's overrides both for that turn. Null or {} requests none. */
|
|
2843
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
2822
2844
|
/** @description Each entry is either inline (`{name, content}` — full SKILL.md text written to the sprite) or github (`{source, ref?, name?}` — installed on the sprite via the skills.sh CLI, optionally pinned to a tag/branch/sha via `ref`). Exactly one of `content` or `source` must be set on each entry. */
|
|
2823
2845
|
skills?: {
|
|
2824
2846
|
/** @description Full SKILL.md body for inline entries. */
|
|
@@ -2879,6 +2901,8 @@ export interface components {
|
|
|
2879
2901
|
* @enum {string|null}
|
|
2880
2902
|
*/
|
|
2881
2903
|
sandbox_provider?: "sprites" | "e2b" | "daytona" | "runner" | null;
|
|
2904
|
+
/** @description ACP session config options every conversation of this agent requests (ADR 0062), such as {"effort": "high"}. A conversation's own session_config overrides these keys, and a prompt's overrides both for that turn. Null or {} requests none. */
|
|
2905
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
2882
2906
|
/** @description Each entry is either inline (`{name, content}` — full SKILL.md text written to the sprite) or github (`{source, ref?, name?}` — installed on the sprite via the skills.sh CLI, optionally pinned to a tag/branch/sha via `ref`). Exactly one of `content` or `source` must be set on each entry. */
|
|
2883
2907
|
skills?: {
|
|
2884
2908
|
/** @description Full SKILL.md body for inline entries. */
|
|
@@ -2936,6 +2960,8 @@ export interface components {
|
|
|
2936
2960
|
* @enum {string|null}
|
|
2937
2961
|
*/
|
|
2938
2962
|
sandbox_provider?: "sprites" | "e2b" | "daytona" | "runner" | null;
|
|
2963
|
+
/** @description ACP session config options every conversation of this agent requests (ADR 0062), such as {"effort": "high"}. A conversation's own session_config overrides these keys, and a prompt's overrides both for that turn. Null or {} requests none. */
|
|
2964
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
2939
2965
|
/** @description Each entry is either inline (`{name, content}` — full SKILL.md text written to the sprite) or github (`{source, ref?, name?}` — installed on the sprite via the skills.sh CLI, optionally pinned to a tag/branch/sha via `ref`). Exactly one of `content` or `source` must be set on each entry. */
|
|
2940
2966
|
skills?: {
|
|
2941
2967
|
/** @description Full SKILL.md body for inline entries. */
|
|
@@ -3780,6 +3806,10 @@ export interface components {
|
|
|
3780
3806
|
sandbox_api_access?: "owner" | "none";
|
|
3781
3807
|
/** Format: uuid */
|
|
3782
3808
|
sandbox_id?: string | null;
|
|
3809
|
+
/** @description This conversation's ACP session config options (ADR 0062), over its agent's: a key here replaces the agent's value for that key. Set at launch or by reapply. {} follows the agent. */
|
|
3810
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
3811
|
+
/** @description The config options the adapter advertised before the latest prompt, after the model and the requested options were applied: what the current model offers and what is in force. Null until a turn reports them. */
|
|
3812
|
+
session_config_options?: components["schemas"]["SessionConfigOption"][] | null;
|
|
3783
3813
|
/** @enum {string} */
|
|
3784
3814
|
source?: "ui" | "api" | "agent";
|
|
3785
3815
|
/** @enum {string} */
|
|
@@ -3836,7 +3866,7 @@ export interface components {
|
|
|
3836
3866
|
sandbox_api_access?: "owner" | "none";
|
|
3837
3867
|
/**
|
|
3838
3868
|
* Format: uuid
|
|
3839
|
-
* @description Attach the conversation to a sandbox you already have instead of provisioning one (ADR 0023). The sandbox must be yours (404 sandbox_not_found), ready or suspended (409 sandbox_not_attachable), and built
|
|
3869
|
+
* @description Attach the conversation to a sandbox you already have instead of provisioning one (ADR 0023). The sandbox must be yours (404 sandbox_not_found), ready or suspended (409 sandbox_not_attachable), and built from the same environment and vault as this launch (422 sandbox_identity_mismatch). It is normally the same agent's (422 sandbox_runtime_mismatch if the agent's runtime changed since). An agent other than the one the sandbox was built for may attach to that agent's persistent sandbox as a guest only to make a claude and codex pair: a codex agent on a claude agent's home, or a claude agent on a codex agent's, where no other agent of either runtime has run. Any other guest is 422 sandbox_identity_mismatch. Attaching a guest needs a full-scope API key; a sandbox's own token, or any key below full scope, is refused with 403 guest_attach_requires_full_scope (reason insufficient_scope), a channel rotation (fresh) of a guest included. The sandbox stays its own agent's, and a guest's reapply is refused with 409 rebuild_required: field shared_sandbox while another conversation is on the sandbox, field guest when the guest is alone there. A claude home created before guests were admitted refuses a codex guest with 409 codex_inference_conflict until it is reset. The conversation opens idle on that machine; a prompt here wakes it. Several conversations then run on one disk at once, except on opencode and gemini, where a second turn of the same runtime is refused with 409 sandbox_at_capacity while one runs.
|
|
3840
3870
|
*/
|
|
3841
3871
|
sandbox_id?: string | null;
|
|
3842
3872
|
/**
|
|
@@ -3844,6 +3874,8 @@ export interface components {
|
|
|
3844
3874
|
* @enum {string|null}
|
|
3845
3875
|
*/
|
|
3846
3876
|
sandbox_mode?: "ephemeral" | "persistent" | null;
|
|
3877
|
+
/** @description ACP session config options for this conversation (ADR 0062), over the agent's, such as {"reasoning_effort": "high"}. Applied after the model on every turn. The ids and values are the adapter's own; one it does not advertise is skipped, and a value it refuses fails the turn. */
|
|
3878
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
3847
3879
|
/** @description Name the conversation's machine instead of taking a generated name. The value is the suffix of an account-scoped name: the server keeps the fountain-<account>- prefix every generated name carries, so a name you choose lands in your own namespace rather than another account's. 1 to 40 characters of letters, digits, - and _, starting with a letter or digit; a name that already carries this account's prefix is taken as it stands, so a name from an earlier launch resolves to the same machine. 422 invalid_sprite_name otherwise. Refused with 422 sprite_name_not_supported on an agent that runs on a self-hosted runner, where the name carries the runner instead. Refused with sandbox_api_access none, which requires a machine no other conversation can reach. */
|
|
3848
3880
|
sprite_name?: string;
|
|
3849
3881
|
/** @description Optional display title. The team page names a teammate with it. */
|
|
@@ -3870,7 +3902,7 @@ export interface components {
|
|
|
3870
3902
|
};
|
|
3871
3903
|
/**
|
|
3872
3904
|
* ConversationReapplyRequest
|
|
3873
|
-
* @description A selection of Agent, Environment, Vault and
|
|
3905
|
+
* @description A selection of Agent, Environment, Vault, model and session config to apply to the machine an existing conversation already runs on. An omitted field keeps its current selection. An explicit null clears the Environment override, the Vault, the model override or the session config. An empty object reapplies the current selection.
|
|
3874
3906
|
*/
|
|
3875
3907
|
ConversationReapplyRequest: {
|
|
3876
3908
|
/**
|
|
@@ -3885,6 +3917,8 @@ export interface components {
|
|
|
3885
3917
|
environment_id?: string | null;
|
|
3886
3918
|
/** @description Model to run from the next turn (ADR 0061), in canonical provider/model_id form; null returns to the selected Agent's model. Checked against the selected Agent's runtime (422 model_invalid). The conversation keeps its credential: a model that credential does not serve is 409 inference_source_changed and nothing changes. The runtime session is kept, so the next turn continues it on the new model. */
|
|
3887
3919
|
model?: string | null;
|
|
3920
|
+
/** @description ACP session config options to request from the next turn (ADR 0062), replacing the conversation's current ones; null or {} returns to the Agent's. Only the shape is checked here. The adapter decides which ids and values exist. */
|
|
3921
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
3888
3922
|
/**
|
|
3889
3923
|
* Format: uuid
|
|
3890
3924
|
* @description Vault to use; null detaches the current Vault.
|
|
@@ -4317,11 +4351,26 @@ export interface components {
|
|
|
4317
4351
|
LogEventListResponse: {
|
|
4318
4352
|
data: components["schemas"]["LogEvent"][];
|
|
4319
4353
|
meta: {
|
|
4354
|
+
/** @description More matching events exist past this page: newer ones for `asc`, older ones for `desc`. */
|
|
4320
4355
|
has_more: boolean;
|
|
4321
4356
|
limit: number;
|
|
4322
|
-
/** @description
|
|
4357
|
+
/** @description The page's last event id: pass as `after` (`asc`) or `before` (`desc`) to fetch the next page. null when the page is empty. */
|
|
4323
4358
|
next_cursor?: number | null;
|
|
4324
4359
|
};
|
|
4360
|
+
/** @description The window this page covers (#2531). */
|
|
4361
|
+
page?: {
|
|
4362
|
+
/** @description The largest event id on the page; on the first `order=desc` page, the `Last-Event-ID` an SSE follow resumes from. null when the page is empty. */
|
|
4363
|
+
newest_cursor: number | null;
|
|
4364
|
+
/** @description The smallest event id on the page. null when the page is empty. */
|
|
4365
|
+
oldest_cursor: number | null;
|
|
4366
|
+
/**
|
|
4367
|
+
* @description The order of `data`, as requested.
|
|
4368
|
+
* @enum {string}
|
|
4369
|
+
*/
|
|
4370
|
+
order: "asc" | "desc";
|
|
4371
|
+
/** @description `whole_turns=true` reached its ceiling inside a turn: the page's oldest turn continues on the next page. Always false otherwise. */
|
|
4372
|
+
turn_split: boolean;
|
|
4373
|
+
};
|
|
4325
4374
|
};
|
|
4326
4375
|
/**
|
|
4327
4376
|
* ManifestResource
|
|
@@ -4494,6 +4543,8 @@ export interface components {
|
|
|
4494
4543
|
/** @description Optional images to attach to this prompt. */
|
|
4495
4544
|
images?: components["schemas"]["ImageInput"][] | null;
|
|
4496
4545
|
prompt: string;
|
|
4546
|
+
/** @description ACP session config options for this turn only (ADR 0062), over the conversation's and the agent's, such as {"effort": "high", "fast": true}. The next turn goes back to the conversation's. The turn's config_selection records what was requested, applied and skipped. */
|
|
4547
|
+
session_config?: components["schemas"]["SessionConfig"];
|
|
4497
4548
|
};
|
|
4498
4549
|
/** PromptResponse */
|
|
4499
4550
|
PromptResponse: {
|
|
@@ -4580,7 +4631,7 @@ export interface components {
|
|
|
4580
4631
|
Sandbox: {
|
|
4581
4632
|
/**
|
|
4582
4633
|
* Format: uuid
|
|
4583
|
-
* @description The agent the machine was built for. With environment_id and vault_id it is the identity a conversation must match to attach (sandbox_id on create).
|
|
4634
|
+
* @description The agent the machine was built for. With environment_id and vault_id it is the identity a conversation must match to attach (sandbox_id on create); an agent of another runtime may attach to a persistent machine as a guest, which leaves this field unchanged.
|
|
4584
4635
|
*/
|
|
4585
4636
|
agent_id?: string | null;
|
|
4586
4637
|
/** @description The checkpoint Fountain took of this home the last time it parked (ADR 0023). It is scoped to this machine: it can roll the machine back, not rebuild a machine that is gone. Null for an ephemeral sandbox, a provider without checkpoints, or a home that has not parked yet. */
|
|
@@ -4666,7 +4717,7 @@ export interface components {
|
|
|
4666
4717
|
SandboxDetail: {
|
|
4667
4718
|
/**
|
|
4668
4719
|
* Format: uuid
|
|
4669
|
-
* @description The agent the machine was built for. With environment_id and vault_id it is the identity a conversation must match to attach (sandbox_id on create).
|
|
4720
|
+
* @description The agent the machine was built for. With environment_id and vault_id it is the identity a conversation must match to attach (sandbox_id on create); an agent of another runtime may attach to a persistent machine as a guest, which leaves this field unchanged.
|
|
4670
4721
|
*/
|
|
4671
4722
|
agent_id?: string | null;
|
|
4672
4723
|
/** @description The checkpoint Fountain took of this home the last time it parked (ADR 0023). It is scoped to this machine: it can roll the machine back, not rebuild a machine that is gone. Null for an ephemeral sandbox, a provider without checkpoints, or a home that has not parked yet. */
|
|
@@ -4989,6 +5040,35 @@ export interface components {
|
|
|
4989
5040
|
SecretResponse: {
|
|
4990
5041
|
data: components["schemas"]["Secret"];
|
|
4991
5042
|
};
|
|
5043
|
+
/**
|
|
5044
|
+
* SessionConfig
|
|
5045
|
+
* @description ACP session config options to request (ADR 0062): a map of the adapter's option id to a value, a string or a boolean. The ids and values are the adapter's own and are not checked against a list: claude-agent-acp offers `effort` and `fast`, codex-acp `reasoning_effort` and `fast-mode`, and which exist depends on the model. They are applied after the model and before each prompt. An id the adapter does not advertise is skipped, and a `config` stage event reports it (`done`, outcome `skipped`). A value it refuses fails the turn. `model` is refused here; use the model field. `session_config_options` on the conversation lists what the adapter offers.
|
|
5046
|
+
* @example {
|
|
5047
|
+
* "effort": "high",
|
|
5048
|
+
* "fast": true
|
|
5049
|
+
* }
|
|
5050
|
+
*/
|
|
5051
|
+
SessionConfig: {
|
|
5052
|
+
[key: string]: string | boolean;
|
|
5053
|
+
} | null;
|
|
5054
|
+
/**
|
|
5055
|
+
* SessionConfigOption
|
|
5056
|
+
* @description One config option as the adapter advertised it (ACP `SessionConfigOption`), passed through unchanged. `category` is `thought_level` for reasoning effort and `model_config` for fast mode on the pinned adapters. `options` lists a select's values, possibly in groups. `currentValue` is the value in force.
|
|
5057
|
+
*/
|
|
5058
|
+
SessionConfigOption: {
|
|
5059
|
+
category?: string | null;
|
|
5060
|
+
currentValue?: string | boolean;
|
|
5061
|
+
description?: string | null;
|
|
5062
|
+
id: string;
|
|
5063
|
+
name?: string;
|
|
5064
|
+
options?: {
|
|
5065
|
+
[key: string]: unknown;
|
|
5066
|
+
}[];
|
|
5067
|
+
/** @description `select` or `boolean`. */
|
|
5068
|
+
type?: string;
|
|
5069
|
+
} & {
|
|
5070
|
+
[key: string]: unknown;
|
|
5071
|
+
};
|
|
4992
5072
|
/**
|
|
4993
5073
|
* StreamLogEvent
|
|
4994
5074
|
* @description One frame of the conversation, events or team SSE log stream (#2297). Same fields as `LogEvent` minus `id` — the frame's id travels in the SSE `id:` line, never the JSON body — plus `conversation_id` and `agent_id`, which the REST log feed never sends because its URL or list item already names the conversation.
|
|
@@ -5274,6 +5354,10 @@ export interface components {
|
|
|
5274
5354
|
Turn: {
|
|
5275
5355
|
/** @description The `client_request_id` of the prompt that opened this turn (#1406), or null: the caller sent none, or the turn is `autonomous`. Not unique. This is the value the caller sent, byte for byte, and it is the one to compare against: the copy on the turn's `started` stage event has been through event redaction, which rewrites any registered environment value it contains. */
|
|
5276
5356
|
client_request_id?: string | null;
|
|
5357
|
+
/** @description The ACP session config options of this turn (ADR 0062). `requested` is what the turn asked for (agent, then conversation, then prompt). `applied` maps each id the adapter took to the value it confirmed. `skipped` lists ids the adapter did not advertise. On a refusal, `status` is `failed` with `error`. Null on a turn that requested none. */
|
|
5358
|
+
config_selection?: {
|
|
5359
|
+
[key: string]: unknown;
|
|
5360
|
+
} | null;
|
|
5277
5361
|
/** Format: date-time */
|
|
5278
5362
|
ended_at?: string | null;
|
|
5279
5363
|
exit_code?: number | null;
|
|
@@ -11806,7 +11890,7 @@ export interface operations {
|
|
|
11806
11890
|
"application/json": components["schemas"]["Error"];
|
|
11807
11891
|
};
|
|
11808
11892
|
};
|
|
11809
|
-
/** @description A sandbox token labelling the conversation a resume landed on */
|
|
11893
|
+
/** @description A sandbox token labelling the conversation a resume landed on, or a key below full scope attaching another agent's conversation to a sandbox (guest_attach_requires_full_scope) */
|
|
11810
11894
|
403: {
|
|
11811
11895
|
headers: {
|
|
11812
11896
|
[name: string]: unknown;
|
|
@@ -11959,7 +12043,13 @@ export interface operations {
|
|
|
11959
12043
|
streams?: string;
|
|
11960
12044
|
/** @description Return events with an id greater than this. Defaults to 0. */
|
|
11961
12045
|
after?: number;
|
|
11962
|
-
/** @description
|
|
12046
|
+
/** @description Return events with an id less than this: the previous `order=desc` page's `meta.next_cursor`. Applies in either order; omitted means no upper bound. */
|
|
12047
|
+
before?: number;
|
|
12048
|
+
/** @description `asc` (the default) pages forward from `after`, oldest first. `desc` pages backward from `before` (or from the newest event), and `data` is newest first. */
|
|
12049
|
+
order?: "asc" | "desc";
|
|
12050
|
+
/** @description With `order=desc`, never end a page inside a turn: when the `limit`th event belongs to a turn that began earlier, the page extends past `limit` to that turn's first event, keeping any events interleaved with it, so a client renders complete turns and `before=<meta.next_cursor>` returns only earlier ones. At most 5000 events: a turn larger than that is cut there, with `page.turn_split: true`, and continues on the next page. Turn-less events (the setup before turn 1) page by `limit` alone. Refused with 422 without `order=desc`. Defaults to false. */
|
|
12051
|
+
whole_turns?: boolean;
|
|
12052
|
+
/** @description Page size, 1..1000. Defaults to 100. `whole_turns=true` can return more. */
|
|
11963
12053
|
limit?: number;
|
|
11964
12054
|
/** @description Add `blocks` to each event: its `data` parsed server-side into the structured blocks a transcript renders (text, thinking, tool_use, tool_result, init, result, error, raw) — the same parse the web UI uses, so no client re-implements a runtime's dialect. Defaults to false. */
|
|
11965
12055
|
blocks?: boolean;
|
|
@@ -17492,6 +17582,88 @@ export interface operations {
|
|
|
17492
17582
|
};
|
|
17493
17583
|
};
|
|
17494
17584
|
};
|
|
17585
|
+
"FountainWeb.VaultController.copy": {
|
|
17586
|
+
parameters: {
|
|
17587
|
+
query?: never;
|
|
17588
|
+
header?: never;
|
|
17589
|
+
path: {
|
|
17590
|
+
/** @description Source vault. */
|
|
17591
|
+
id: string;
|
|
17592
|
+
};
|
|
17593
|
+
cookie?: never;
|
|
17594
|
+
};
|
|
17595
|
+
/** @description New vault attributes */
|
|
17596
|
+
requestBody?: {
|
|
17597
|
+
content: {
|
|
17598
|
+
"application/json": components["schemas"]["VaultRequest"];
|
|
17599
|
+
};
|
|
17600
|
+
};
|
|
17601
|
+
responses: {
|
|
17602
|
+
/** @description Vault */
|
|
17603
|
+
201: {
|
|
17604
|
+
headers: {
|
|
17605
|
+
[name: string]: unknown;
|
|
17606
|
+
};
|
|
17607
|
+
content: {
|
|
17608
|
+
"application/json": components["schemas"]["VaultResponse"];
|
|
17609
|
+
};
|
|
17610
|
+
};
|
|
17611
|
+
/** @description Unauthorized */
|
|
17612
|
+
401: {
|
|
17613
|
+
headers: {
|
|
17614
|
+
[name: string]: unknown;
|
|
17615
|
+
};
|
|
17616
|
+
content: {
|
|
17617
|
+
"application/json": components["schemas"]["Error"];
|
|
17618
|
+
};
|
|
17619
|
+
};
|
|
17620
|
+
/** @description Forbidden */
|
|
17621
|
+
403: {
|
|
17622
|
+
headers: {
|
|
17623
|
+
[name: string]: unknown;
|
|
17624
|
+
};
|
|
17625
|
+
content: {
|
|
17626
|
+
"application/json": components["schemas"]["Error"];
|
|
17627
|
+
};
|
|
17628
|
+
};
|
|
17629
|
+
/** @description Not found */
|
|
17630
|
+
404: {
|
|
17631
|
+
headers: {
|
|
17632
|
+
[name: string]: unknown;
|
|
17633
|
+
};
|
|
17634
|
+
content: {
|
|
17635
|
+
"application/json": components["schemas"]["Error"];
|
|
17636
|
+
};
|
|
17637
|
+
};
|
|
17638
|
+
/** @description No acceptable representation */
|
|
17639
|
+
406: {
|
|
17640
|
+
headers: {
|
|
17641
|
+
[name: string]: unknown;
|
|
17642
|
+
};
|
|
17643
|
+
content: {
|
|
17644
|
+
"application/json": components["schemas"]["NegotiationError"];
|
|
17645
|
+
};
|
|
17646
|
+
};
|
|
17647
|
+
/** @description Validation error */
|
|
17648
|
+
422: {
|
|
17649
|
+
headers: {
|
|
17650
|
+
[name: string]: unknown;
|
|
17651
|
+
};
|
|
17652
|
+
content: {
|
|
17653
|
+
"application/json": components["schemas"]["Error"];
|
|
17654
|
+
};
|
|
17655
|
+
};
|
|
17656
|
+
/** @description Too Many Requests */
|
|
17657
|
+
429: {
|
|
17658
|
+
headers: {
|
|
17659
|
+
[name: string]: unknown;
|
|
17660
|
+
};
|
|
17661
|
+
content: {
|
|
17662
|
+
"application/json": components["schemas"]["Error"];
|
|
17663
|
+
};
|
|
17664
|
+
};
|
|
17665
|
+
};
|
|
17666
|
+
};
|
|
17495
17667
|
"FountainWeb.VaultSecretController.index": {
|
|
17496
17668
|
parameters: {
|
|
17497
17669
|
query?: never;
|
package/dist/http.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface RequestOptions {
|
|
|
15
15
|
* this string is already what Fountain's request logs are keyed on. The
|
|
16
16
|
* version half is asserted against `package.json` by a test.
|
|
17
17
|
*/
|
|
18
|
-
export declare const USER_AGENT = "fountain-sdk-js/6.
|
|
18
|
+
export declare const USER_AGENT = "fountain-sdk-js/6.3.0";
|
|
19
19
|
export declare class HttpClient {
|
|
20
20
|
readonly config: ResolvedConfig;
|
|
21
21
|
private readonly fetchImpl;
|
package/dist/http.js
CHANGED
|
@@ -5,7 +5,7 @@ import { AuthError, ConnectionError, FountainError, errorForStatus } from "./err
|
|
|
5
5
|
* this string is already what Fountain's request logs are keyed on. The
|
|
6
6
|
* version half is asserted against `package.json` by a test.
|
|
7
7
|
*/
|
|
8
|
-
export const USER_AGENT = "fountain-sdk-js/6.
|
|
8
|
+
export const USER_AGENT = "fountain-sdk-js/6.3.0";
|
|
9
9
|
/**
|
|
10
10
|
* The thin layer everything else is built on: one bearer token, JSON in and
|
|
11
11
|
* out, and errors that say which call failed. `Fountain#api` exposes it
|
package/package.json
CHANGED