@managoat/fountain-sdk 3.0.0 → 5.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 +38 -0
- package/README.md +1 -1
- package/dist/generated/openapi.d.ts +14 -133
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/turn.js +1 -1
- package/dist/turn.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,44 @@ server releases.
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## [5.0.0] — 2026-09-14
|
|
15
|
+
|
|
16
|
+
### Breaking changes
|
|
17
|
+
|
|
18
|
+
- The public `Block.body` type now includes an array of plan entries alongside
|
|
19
|
+
`string | null | undefined`. Existing code that calls string methods on
|
|
20
|
+
`body` must check its type first. Checking `block.kind` alone does not narrow
|
|
21
|
+
`body`, because the generated `Block` type is not a discriminated union.
|
|
22
|
+
|
|
23
|
+
Replace `block.body?.trim() ?? ""` with a body-type check:
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
function text(block: Block): string {
|
|
27
|
+
if (block.kind !== "text") return "";
|
|
28
|
+
return typeof block.body === "string" ? block.body.trim() : "";
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Read checklist entries only when `block.kind === "plan"` and
|
|
33
|
+
`Array.isArray(block.body)`. Each array is the full ordered snapshot;
|
|
34
|
+
an empty array clears the checklist.
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- `plan` blocks with full checklist arrays in `body`. Streaming block events
|
|
39
|
+
preserve the checklist, and the turn follower keeps it out of the
|
|
40
|
+
assistant's text.
|
|
41
|
+
|
|
42
|
+
## [4.0.0] — 2026-09-14
|
|
43
|
+
|
|
44
|
+
### Breaking changes
|
|
45
|
+
|
|
46
|
+
- Removed `Catalog.avatar` and the generated avatar-generation request,
|
|
47
|
+
response, and operation types. The server no longer provides
|
|
48
|
+
`POST /api/avatars/generate` or the catalog's avatar bases and moods.
|
|
49
|
+
Remove avatar-generation controls and calls from clients. Avatar uploads,
|
|
50
|
+
reads, and removal remain available.
|
|
51
|
+
|
|
14
52
|
## [3.0.0] — 2026-09-13
|
|
15
53
|
|
|
16
54
|
### Breaking changes
|
package/README.md
CHANGED
|
@@ -435,7 +435,7 @@ does not have, publishes it, and tags the merge commit `sdk-v<version>`.
|
|
|
435
435
|
A PR that touches only tests, examples or the changelog needs no bump; the
|
|
436
436
|
gate stays quiet, and the publish workflow finds nothing to do. To change the
|
|
437
437
|
published surface deliberately without releasing, label the PR
|
|
438
|
-
`sdk
|
|
438
|
+
`release:skip-sdk`.
|
|
439
439
|
|
|
440
440
|
## License
|
|
441
441
|
|
|
@@ -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
|
|
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.
|
|
@@ -3227,14 +3191,23 @@ export interface components {
|
|
|
3227
3191
|
};
|
|
3228
3192
|
/**
|
|
3229
3193
|
* Block
|
|
3230
|
-
* @description One structured piece of a log event's output — the same parse the web UI renders (`Fountain.Conversations.Blocks`). `kind` decides the other fields: `text`/`thinking` carry `body`; `tool_use` carries `id`, `name`, `summary`, `body` (the input); `tool_result` carries `tool_id`, `body`, `error` and pairs with the `tool_use` of the same id; `init` carries `summary`, `body`; `result` carries `body`, `raw`; `error` carries `body`; `raw` carries `body`, `summary`; `permission_request` carries `request_id`, `name`, `summary` and `options` — the agent is blocked on it, and a client answers with POST /api/conversations/{id}/requests/{request_id}. Render only the options in `options`; never synthesise one the agent did not offer.
|
|
3194
|
+
* @description One structured piece of a log event's output — the same parse the web UI renders (`Fountain.Conversations.Blocks`). `kind` decides the other fields: `text`/`thinking` carry `body`; `plan` carries the full ordered checklist in `body` (entries with `content`, `status`, and optional `priority`, `id`, `activeForm`); `tool_use` carries `id`, `name`, `summary`, `body` (the input); `tool_result` carries `tool_id`, `body`, `error` and pairs with the `tool_use` of the same id; `init` carries `summary`, `body`; `result` carries `body`, `raw`; `error` carries `body`; `raw` carries `body`, `summary`; `permission_request` carries `request_id`, `name`, `summary` and `options` — the agent is blocked on it, and a client answers with POST /api/conversations/{id}/requests/{request_id}. Render only the options in `options`; never synthesise one the agent did not offer.
|
|
3231
3195
|
*/
|
|
3232
3196
|
Block: {
|
|
3233
|
-
body?: string | null
|
|
3197
|
+
body?: (string | null) | ({
|
|
3198
|
+
activeForm?: string;
|
|
3199
|
+
content: string;
|
|
3200
|
+
id?: string;
|
|
3201
|
+
priority?: string;
|
|
3202
|
+
/** @enum {string} */
|
|
3203
|
+
status: "pending" | "in_progress" | "completed";
|
|
3204
|
+
} & {
|
|
3205
|
+
[key: string]: unknown;
|
|
3206
|
+
})[];
|
|
3234
3207
|
error?: boolean | null;
|
|
3235
3208
|
id?: string | null;
|
|
3236
3209
|
/** @enum {string} */
|
|
3237
|
-
kind: "text" | "thinking" | "tool_use" | "tool_result" | "init" | "result" | "error" | "raw" | "permission_request";
|
|
3210
|
+
kind: "text" | "thinking" | "tool_use" | "tool_result" | "init" | "result" | "error" | "raw" | "permission_request" | "plan";
|
|
3238
3211
|
name?: string | null;
|
|
3239
3212
|
/** @description permission_request only: the options the agent offered, in its order. Each carries at least `optionId` and `kind` (allow_once, allow_always, reject_once, reject_always, ...). */
|
|
3240
3213
|
options?: {
|
|
@@ -3364,10 +3337,6 @@ export interface components {
|
|
|
3364
3337
|
conversations: string | null;
|
|
3365
3338
|
team: string | null;
|
|
3366
3339
|
};
|
|
3367
|
-
avatar: {
|
|
3368
|
-
bases: string[];
|
|
3369
|
-
moods: string[];
|
|
3370
|
-
};
|
|
3371
3340
|
/** @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
3341
|
first_request: {
|
|
3373
3342
|
/** @description The `curl`, with placeholders. */
|
|
@@ -3775,7 +3744,7 @@ export interface components {
|
|
|
3775
3744
|
source?: "ui" | "api" | "agent";
|
|
3776
3745
|
/** @enum {string} */
|
|
3777
3746
|
status: "pending" | "running" | "idle" | "failed" | "terminated";
|
|
3778
|
-
/** @description
|
|
3747
|
+
/** @description Optional display title, set explicitly or supplied by the harness over ACP. Harness titles may be revised or cleared; null when no title is set. */
|
|
3779
3748
|
title?: string | null;
|
|
3780
3749
|
turn_count?: number;
|
|
3781
3750
|
/** @description last_active_at is later than last_read_at (true if never read). */
|
|
@@ -9441,94 +9410,6 @@ export interface operations {
|
|
|
9441
9410
|
};
|
|
9442
9411
|
};
|
|
9443
9412
|
};
|
|
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
9413
|
"FountainWeb.BuzzAgentController.index": {
|
|
9533
9414
|
parameters: {
|
|
9534
9415
|
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/
|
|
18
|
+
export declare const USER_AGENT = "fountain-sdk-js/5.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/
|
|
8
|
+
export const USER_AGENT = "fountain-sdk-js/5.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/dist/turn.js
CHANGED
package/dist/turn.js.map
CHANGED
|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 -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@managoat/fountain-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.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": {
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"prepublishOnly": "node scripts/ci-publishes.mjs && npm run typecheck && npm test && npm run build"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
+
"@redocly/ajv": "8.11.2",
|
|
54
55
|
"@types/node": "^26.4.0",
|
|
55
56
|
"openapi-typescript": "^7.13.0",
|
|
56
57
|
"typescript": "^5.7.0"
|