@managoat/fountain-sdk 3.0.0 → 4.0.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 CHANGED
@@ -11,6 +11,16 @@ server releases.
11
11
 
12
12
  ---
13
13
 
14
+ ## [4.0.0] — 2026-09-14
15
+
16
+ ### Breaking changes
17
+
18
+ - Removed `Catalog.avatar` and the generated avatar-generation request,
19
+ response, and operation types. The server no longer provides
20
+ `POST /api/avatars/generate` or the catalog's avatar bases and moods.
21
+ Remove avatar-generation controls and calls from clients. Avatar uploads,
22
+ reads, and removal remain available.
23
+
14
24
  ## [3.0.0] — 2026-09-13
15
25
 
16
26
  ### Breaking changes
@@ -940,26 +940,6 @@ export interface paths {
940
940
  patch?: never;
941
941
  trace?: never;
942
942
  };
943
- "/api/avatars/generate": {
944
- parameters: {
945
- query?: never;
946
- header?: never;
947
- path?: never;
948
- cookie?: never;
949
- };
950
- get?: never;
951
- put?: never;
952
- /**
953
- * Generate an avatar image
954
- * @description Generates a square PNG avatar with the tenant's OpenAI credential from a `base` and a `mood` (`GET /api/catalog` lists both). Returns base64 `data` and `media_type` in the shape `PUT /api/agents/:id/avatar` accepts. 422 `no_openai_key` when the tenant has no OpenAI credential; 502 when the provider refused.
955
- */
956
- post: operations["FountainWeb.AvatarGenerateController.create"];
957
- delete?: never;
958
- options?: never;
959
- head?: never;
960
- patch?: never;
961
- trace?: never;
962
- };
963
943
  "/api/buzz/agents": {
964
944
  parameters: {
965
945
  query?: never;
@@ -1009,7 +989,7 @@ export interface paths {
1009
989
  };
1010
990
  /**
1011
991
  * The instance's form vocabulary
1012
- * @description Runtimes with model suggestions per runtime (suggestions, not an allowlist — any `provider/model` under a known provider is accepted), sandbox providers usable on this instance and the default, package managers an environment accepts, the avatar generator's bases and moods, the URLs of the browser apps this instance sends people to for conversations and the team, and remote MCP servers verified to complete connection discovery (again suggestions — any URL can be discovered), each with the date it was last verified. Also `first_request`, the one onboarding snippet this deployment hands out, with its base URL already in it and the caller's own key and agent left as placeholders.
992
+ * @description Runtimes with model suggestions per runtime (suggestions, not an allowlist — any `provider/model` under a known provider is accepted), sandbox providers usable on this instance and the default, package managers an environment accepts, the URLs of the browser apps this instance sends people to for conversations and the team, and remote MCP servers verified to complete connection discovery (again suggestions — any URL can be discovered), each with the date it was last verified. Also `first_request`, the one onboarding snippet this deployment hands out, with its base URL already in it and the caller's own key and agent left as placeholders.
1013
993
  */
1014
994
  get: operations["FountainWeb.CatalogController.show"];
1015
995
  put?: never;
@@ -3154,22 +3134,6 @@ export interface components {
3154
3134
  /** @description Leading characters of the key, the only part stored in the clear. */
3155
3135
  prefix: string;
3156
3136
  };
3157
- /** AvatarGenerateRequest */
3158
- AvatarGenerateRequest: {
3159
- /** @description One of `GET /api/catalog` `avatar.bases`. */
3160
- base: string;
3161
- /** @description One of `GET /api/catalog` `avatar.moods`. */
3162
- mood: string;
3163
- };
3164
- /** AvatarGenerateResponse */
3165
- AvatarGenerateResponse: {
3166
- data: {
3167
- /** @description Base64 PNG bytes. */
3168
- data: string;
3169
- /** @example image/png */
3170
- media_type: string;
3171
- };
3172
- };
3173
3137
  /**
3174
3138
  * AvatarRequest
3175
3139
  * @description JSON form of an avatar upload. The raw-bytes form sends the image directly with an image content-type instead.
@@ -3364,10 +3328,6 @@ export interface components {
3364
3328
  conversations: string | null;
3365
3329
  team: string | null;
3366
3330
  };
3367
- avatar: {
3368
- bases: string[];
3369
- moods: string[];
3370
- };
3371
3331
  /** @description The one onboarding request this deployment hands out (ADR 0038), the same text the verified landing and the manual print. The base URL is already in it. The caller's key and agent are not: the server stores only a hash of a key, so a client substitutes the key it holds and an agent from `GET /api/agents`. */
3372
3332
  first_request: {
3373
3333
  /** @description The `curl`, with placeholders. */
@@ -9441,94 +9401,6 @@ export interface operations {
9441
9401
  };
9442
9402
  };
9443
9403
  };
9444
- "FountainWeb.AvatarGenerateController.create": {
9445
- parameters: {
9446
- query?: never;
9447
- header?: never;
9448
- path?: never;
9449
- cookie?: never;
9450
- };
9451
- /** @description Base and mood */
9452
- requestBody?: {
9453
- content: {
9454
- "application/json": components["schemas"]["AvatarGenerateRequest"];
9455
- };
9456
- };
9457
- responses: {
9458
- /** @description Generated image */
9459
- 200: {
9460
- headers: {
9461
- [name: string]: unknown;
9462
- };
9463
- content: {
9464
- "application/json": components["schemas"]["AvatarGenerateResponse"];
9465
- };
9466
- };
9467
- /** @description Invalid request */
9468
- 400: {
9469
- headers: {
9470
- [name: string]: unknown;
9471
- };
9472
- content: {
9473
- "application/json": components["schemas"]["Error"];
9474
- };
9475
- };
9476
- /** @description Unauthorized */
9477
- 401: {
9478
- headers: {
9479
- [name: string]: unknown;
9480
- };
9481
- content: {
9482
- "application/json": components["schemas"]["Error"];
9483
- };
9484
- };
9485
- /** @description Forbidden */
9486
- 403: {
9487
- headers: {
9488
- [name: string]: unknown;
9489
- };
9490
- content: {
9491
- "application/json": components["schemas"]["Error"];
9492
- };
9493
- };
9494
- /** @description No acceptable representation */
9495
- 406: {
9496
- headers: {
9497
- [name: string]: unknown;
9498
- };
9499
- content: {
9500
- "application/json": components["schemas"]["NegotiationError"];
9501
- };
9502
- };
9503
- /** @description No OpenAI credential, or unknown base/mood */
9504
- 422: {
9505
- headers: {
9506
- [name: string]: unknown;
9507
- };
9508
- content: {
9509
- "application/json": components["schemas"]["Error"];
9510
- };
9511
- };
9512
- /** @description Too Many Requests */
9513
- 429: {
9514
- headers: {
9515
- [name: string]: unknown;
9516
- };
9517
- content: {
9518
- "application/json": components["schemas"]["Error"];
9519
- };
9520
- };
9521
- /** @description The image provider refused */
9522
- 502: {
9523
- headers: {
9524
- [name: string]: unknown;
9525
- };
9526
- content: {
9527
- "application/json": components["schemas"]["Error"];
9528
- };
9529
- };
9530
- };
9531
- };
9532
9404
  "FountainWeb.BuzzAgentController.index": {
9533
9405
  parameters: {
9534
9406
  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/3.0.0";
18
+ export declare const USER_AGENT = "fountain-sdk-js/4.0.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/3.0.0";
8
+ export const USER_AGENT = "fountain-sdk-js/4.0.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managoat/fountain-sdk",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Run a coding agent on a real computer, with your repos and your credentials, in one call.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {