@managoat/fountain-sdk 2.1.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,27 @@ 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
+
24
+ ## [3.0.0] — 2026-09-13
25
+
26
+ ### Breaking changes
27
+
28
+ - `team.commsStatus()` and the `TeamCommsStatus` and `TeammateContact` types
29
+ are removed. Teammate email and phone (Team comms) is gone from the server:
30
+ `GET /api/team/comms`, the `/api/team/:agent_id/contact` operations and
31
+ the `contact` field on a teammate no longer exist, and the generated types
32
+ drop them. Nothing else moves; a caller that never used them upgrades
33
+ without a change.
34
+
14
35
  ## [2.1.0] — 2026-09-13
15
36
 
16
37
  ### Added
@@ -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;
@@ -2110,26 +2090,6 @@ export interface paths {
2110
2090
  patch?: never;
2111
2091
  trace?: never;
2112
2092
  };
2113
- "/api/team/comms": {
2114
- parameters: {
2115
- query?: never;
2116
- header?: never;
2117
- path?: never;
2118
- cookie?: never;
2119
- };
2120
- /**
2121
- * Can teammates be given an email address and phone number?
2122
- * @description The two gates for `POST /api/team/:agent_id/contact`: the caller's `team_comms` feature flag and whether this instance has the AgentMail/AgentPhone keys. A client shows the affordance when `enabled`, and explains itself when `configured` is false.
2123
- */
2124
- get: operations["FountainWeb.TeamController.comms_status"];
2125
- put?: never;
2126
- post?: never;
2127
- delete?: never;
2128
- options?: never;
2129
- head?: never;
2130
- patch?: never;
2131
- trace?: never;
2132
- };
2133
2093
  "/api/team/schedules": {
2134
2094
  parameters: {
2135
2095
  query?: never;
@@ -2195,34 +2155,6 @@ export interface paths {
2195
2155
  patch: operations["FountainWeb.TeamController.update"];
2196
2156
  trace?: never;
2197
2157
  };
2198
- "/api/team/{agent_id}/contact": {
2199
- parameters: {
2200
- query?: never;
2201
- header?: never;
2202
- path?: never;
2203
- cookie?: never;
2204
- };
2205
- get?: never;
2206
- put?: never;
2207
- /**
2208
- * Give a teammate an email address and a phone number
2209
- * @description Provisions an inbox (AgentMail) and a number (AgentPhone) under Fountain's own keys and records them on the teammate; from its next turn the teammate has `email_*` and `sms_*` MCP tools served by Fountain, and knows its own address and number. All or nothing: a provider failure on either channel leaves the teammate without both. Behind the `team_comms` flag — 404 when it is off for the caller, 503 when this instance has no provider keys.
2210
- */
2211
- post: operations["FountainWeb.TeamController.provision_contact"];
2212
- /**
2213
- * Take a teammate's email address and phone number away
2214
- * @description Deletes the inbox and releases the number upstream, then forgets them. A provider failure keeps the contact (nothing is orphaned) and is reported as 424.
2215
- */
2216
- delete: operations["FountainWeb.TeamController.release_contact"];
2217
- options?: never;
2218
- head?: never;
2219
- /**
2220
- * Change which number's texts reach the teammate
2221
- * @description Sets `prompt_from_number` on an existing contact. Nothing is bought or released — the teammate keeps its address and number.
2222
- */
2223
- patch: operations["FountainWeb.TeamController.update_contact"];
2224
- trace?: never;
2225
- };
2226
2158
  "/api/team/{agent_id}/conversations": {
2227
2159
  parameters: {
2228
2160
  query?: never;
@@ -3168,8 +3100,10 @@ export interface components {
3168
3100
  brokered?: boolean;
3169
3101
  /** @description Null when billing is off. */
3170
3102
  comped?: boolean | null;
3171
- /** @description Whether Connections and credential binding management are enabled for this account. */
3103
+ /** @description Whether this account may add connections, providers, or credential bindings. Use connections_manageable to show existing credentials and their removal controls. */
3172
3104
  connections_enabled?: boolean;
3105
+ /** @description Whether this account may list, revoke, and delete existing connections, providers, and credential bindings. Remains true when the connections rollout flag is off but the deployment still brokers credentials. */
3106
+ connections_manageable?: boolean;
3173
3107
  /** Format: email */
3174
3108
  email: string;
3175
3109
  email_verified: boolean;
@@ -3200,22 +3134,6 @@ export interface components {
3200
3134
  /** @description Leading characters of the key, the only part stored in the clear. */
3201
3135
  prefix: string;
3202
3136
  };
3203
- /** AvatarGenerateRequest */
3204
- AvatarGenerateRequest: {
3205
- /** @description One of `GET /api/catalog` `avatar.bases`. */
3206
- base: string;
3207
- /** @description One of `GET /api/catalog` `avatar.moods`. */
3208
- mood: string;
3209
- };
3210
- /** AvatarGenerateResponse */
3211
- AvatarGenerateResponse: {
3212
- data: {
3213
- /** @description Base64 PNG bytes. */
3214
- data: string;
3215
- /** @example image/png */
3216
- media_type: string;
3217
- };
3218
- };
3219
3137
  /**
3220
3138
  * AvatarRequest
3221
3139
  * @description JSON form of an avatar upload. The raw-bytes form sends the image directly with an image content-type instead.
@@ -3257,7 +3175,7 @@ export interface components {
3257
3175
  usage: {
3258
3176
  /** @description Conversations that ran a turn in the month, deleted or not. */
3259
3177
  conversations?: number;
3260
- /** @description Cents the ledger took this month: turns, rent and messages. The charged number, where turn_hours is the metered one. Null with billing off. */
3178
+ /** @description Cents the ledger took this month: turns and platform inference. The charged number, where turn_hours is the metered one. Null with billing off. */
3261
3179
  credit_burned_cents?: number | null;
3262
3180
  /** @description Active sandbox minutes inside the period, parked time excluded. */
3263
3181
  sandbox_minutes?: number;
@@ -3410,10 +3328,6 @@ export interface components {
3410
3328
  conversations: string | null;
3411
3329
  team: string | null;
3412
3330
  };
3413
- avatar: {
3414
- bases: string[];
3415
- moods: string[];
3416
- };
3417
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`. */
3418
3332
  first_request: {
3419
3333
  /** @description The `curl`, with placeholders. */
@@ -4009,7 +3923,7 @@ export interface components {
4009
3923
  /** @description How long the whole request took, request head through response body, not time to first byte. */
4010
3924
  latency_ms?: number | null;
4011
3925
  method: string;
4012
- /** @description The URL path. A query string is never recorded: it can hold a credential. */
3926
+ /** @description Always /[REDACTED]. URL paths, queries and fragments are withheld because they can contain credentials. */
4013
3927
  path: string;
4014
3928
  /** @description The binding that matched, and so which credential was attached. Null when none was: a passthrough host, or a host allowed under `limited` with no credential bound to it. */
4015
3929
  service?: string | null;
@@ -5067,23 +4981,6 @@ export interface components {
5067
4981
  */
5068
4982
  vault_id?: string | null;
5069
4983
  };
5070
- /**
5071
- * TeamCommsStatus
5072
- * @description Whether teammates can be given an email address and phone number here: `enabled` is the per-user feature flag (`team_comms`), `configured` whether this instance has the provider keys. Both must hold to provision.
5073
- */
5074
- TeamCommsStatus: {
5075
- configured: boolean;
5076
- enabled: boolean;
5077
- };
5078
- /** TeamCommsStatusResponse */
5079
- TeamCommsStatusResponse: {
5080
- data: components["schemas"]["TeamCommsStatus"];
5081
- };
5082
- /** TeamContactRequest */
5083
- TeamContactRequest: {
5084
- /** @description Your phone number: texts from it to the teammate's new number become prompts in its conversation. Any common format; stored E.164. Required. */
5085
- prompt_from_number: string;
5086
- };
5087
4984
  /** TeamMessageRequest */
5088
4985
  TeamMessageRequest: {
5089
4986
  images?: components["schemas"]["ImageInput"][] | null;
@@ -5182,8 +5079,6 @@ export interface components {
5182
5079
  agent: components["schemas"]["Agent"];
5183
5080
  /** Format: uuid */
5184
5081
  agent_id: string;
5185
- /** @description The teammate's own email address and phone number (flag `team_comms`), or null when it has none. */
5186
- contact?: components["schemas"]["TeammateContact"] | null;
5187
5082
  conversation: components["schemas"]["Conversation"];
5188
5083
  last_turn?: {
5189
5084
  /** Format: uuid */
@@ -5212,24 +5107,6 @@ export interface components {
5212
5107
  /** @description Summed over every conversation this agent has had under the team channel, not just the current one — the per-teammate figure. */
5213
5108
  usage_total?: components["schemas"]["UsageTotal"];
5214
5109
  };
5215
- /**
5216
- * TeammateContact
5217
- * @description A teammate's own email address and phone number, provisioned by Fountain (AgentMail + AgentPhone) behind the `team_comms` flag. The teammate reaches both through MCP tools Fountain serves; no provider key enters its sandbox.
5218
- */
5219
- TeammateContact: {
5220
- email: string | null;
5221
- /** Format: date-time */
5222
- inserted_at?: string;
5223
- /** @description E.164 */
5224
- phone: string | null;
5225
- /** @description E.164. The one number whose texts to `phone` arrive as prompts in the teammate's conversation; texts from anyone else are ignored. */
5226
- prompt_from_number?: string | null;
5227
- /**
5228
- * Format: date-time
5229
- * @description Set when `prompt_from_number` texted STOP: its texts are dropped until it texts START, or until the number is changed (new consent).
5230
- */
5231
- prompt_opted_out_at?: string | null;
5232
- };
5233
5110
  /**
5234
5111
  * TeammateConversation
5235
5112
  * @description A conversation object plus `current`: whether it is the teammate's live one.
@@ -9524,94 +9401,6 @@ export interface operations {
9524
9401
  };
9525
9402
  };
9526
9403
  };
9527
- "FountainWeb.AvatarGenerateController.create": {
9528
- parameters: {
9529
- query?: never;
9530
- header?: never;
9531
- path?: never;
9532
- cookie?: never;
9533
- };
9534
- /** @description Base and mood */
9535
- requestBody?: {
9536
- content: {
9537
- "application/json": components["schemas"]["AvatarGenerateRequest"];
9538
- };
9539
- };
9540
- responses: {
9541
- /** @description Generated image */
9542
- 200: {
9543
- headers: {
9544
- [name: string]: unknown;
9545
- };
9546
- content: {
9547
- "application/json": components["schemas"]["AvatarGenerateResponse"];
9548
- };
9549
- };
9550
- /** @description Invalid request */
9551
- 400: {
9552
- headers: {
9553
- [name: string]: unknown;
9554
- };
9555
- content: {
9556
- "application/json": components["schemas"]["Error"];
9557
- };
9558
- };
9559
- /** @description Unauthorized */
9560
- 401: {
9561
- headers: {
9562
- [name: string]: unknown;
9563
- };
9564
- content: {
9565
- "application/json": components["schemas"]["Error"];
9566
- };
9567
- };
9568
- /** @description Forbidden */
9569
- 403: {
9570
- headers: {
9571
- [name: string]: unknown;
9572
- };
9573
- content: {
9574
- "application/json": components["schemas"]["Error"];
9575
- };
9576
- };
9577
- /** @description No acceptable representation */
9578
- 406: {
9579
- headers: {
9580
- [name: string]: unknown;
9581
- };
9582
- content: {
9583
- "application/json": components["schemas"]["NegotiationError"];
9584
- };
9585
- };
9586
- /** @description No OpenAI credential, or unknown base/mood */
9587
- 422: {
9588
- headers: {
9589
- [name: string]: unknown;
9590
- };
9591
- content: {
9592
- "application/json": components["schemas"]["Error"];
9593
- };
9594
- };
9595
- /** @description Too Many Requests */
9596
- 429: {
9597
- headers: {
9598
- [name: string]: unknown;
9599
- };
9600
- content: {
9601
- "application/json": components["schemas"]["Error"];
9602
- };
9603
- };
9604
- /** @description The image provider refused */
9605
- 502: {
9606
- headers: {
9607
- [name: string]: unknown;
9608
- };
9609
- content: {
9610
- "application/json": components["schemas"]["Error"];
9611
- };
9612
- };
9613
- };
9614
- };
9615
9404
  "FountainWeb.BuzzAgentController.index": {
9616
9405
  parameters: {
9617
9406
  query?: never;
@@ -15600,62 +15389,6 @@ export interface operations {
15600
15389
  };
15601
15390
  };
15602
15391
  };
15603
- "FountainWeb.TeamController.comms_status": {
15604
- parameters: {
15605
- query?: never;
15606
- header?: never;
15607
- path?: never;
15608
- cookie?: never;
15609
- };
15610
- requestBody?: never;
15611
- responses: {
15612
- /** @description Status */
15613
- 200: {
15614
- headers: {
15615
- [name: string]: unknown;
15616
- };
15617
- content: {
15618
- "application/json": components["schemas"]["TeamCommsStatusResponse"];
15619
- };
15620
- };
15621
- /** @description Unauthorized */
15622
- 401: {
15623
- headers: {
15624
- [name: string]: unknown;
15625
- };
15626
- content: {
15627
- "application/json": components["schemas"]["Error"];
15628
- };
15629
- };
15630
- /** @description Forbidden */
15631
- 403: {
15632
- headers: {
15633
- [name: string]: unknown;
15634
- };
15635
- content: {
15636
- "application/json": components["schemas"]["Error"];
15637
- };
15638
- };
15639
- /** @description No acceptable representation */
15640
- 406: {
15641
- headers: {
15642
- [name: string]: unknown;
15643
- };
15644
- content: {
15645
- "application/json": components["schemas"]["NegotiationError"];
15646
- };
15647
- };
15648
- /** @description Too Many Requests */
15649
- 429: {
15650
- headers: {
15651
- [name: string]: unknown;
15652
- };
15653
- content: {
15654
- "application/json": components["schemas"]["Error"];
15655
- };
15656
- };
15657
- };
15658
- };
15659
15392
  "FountainWeb.TeamScheduleController.index_all": {
15660
15393
  parameters: {
15661
15394
  query?: never;
@@ -15980,278 +15713,6 @@ export interface operations {
15980
15713
  };
15981
15714
  };
15982
15715
  };
15983
- "FountainWeb.TeamController.provision_contact": {
15984
- parameters: {
15985
- query?: never;
15986
- header?: never;
15987
- path: {
15988
- agent_id: string;
15989
- };
15990
- cookie?: never;
15991
- };
15992
- /** @description The number whose texts become prompts */
15993
- requestBody: {
15994
- content: {
15995
- "application/json": components["schemas"]["TeamContactRequest"];
15996
- };
15997
- };
15998
- responses: {
15999
- /** @description Teammate, now with a contact */
16000
- 201: {
16001
- headers: {
16002
- [name: string]: unknown;
16003
- };
16004
- content: {
16005
- "application/json": components["schemas"]["TeammateResponse"];
16006
- };
16007
- };
16008
- /** @description Unauthorized */
16009
- 401: {
16010
- headers: {
16011
- [name: string]: unknown;
16012
- };
16013
- content: {
16014
- "application/json": components["schemas"]["Error"];
16015
- };
16016
- };
16017
- /** @description Forbidden */
16018
- 403: {
16019
- headers: {
16020
- [name: string]: unknown;
16021
- };
16022
- content: {
16023
- "application/json": components["schemas"]["Error"];
16024
- };
16025
- };
16026
- /** @description Not on the team, or the feature is off */
16027
- 404: {
16028
- headers: {
16029
- [name: string]: unknown;
16030
- };
16031
- content: {
16032
- "application/json": components["schemas"]["Error"];
16033
- };
16034
- };
16035
- /** @description No acceptable representation */
16036
- 406: {
16037
- headers: {
16038
- [name: string]: unknown;
16039
- };
16040
- content: {
16041
- "application/json": components["schemas"]["NegotiationError"];
16042
- };
16043
- };
16044
- /** @description Already has a contact */
16045
- 409: {
16046
- headers: {
16047
- [name: string]: unknown;
16048
- };
16049
- content: {
16050
- "application/json": components["schemas"]["Error"];
16051
- };
16052
- };
16053
- /** @description Bad prompt_from_number */
16054
- 422: {
16055
- headers: {
16056
- [name: string]: unknown;
16057
- };
16058
- content: {
16059
- "application/json": components["schemas"]["Error"];
16060
- };
16061
- };
16062
- /** @description Contact provider unavailable */
16063
- 424: {
16064
- headers: {
16065
- [name: string]: unknown;
16066
- };
16067
- content: {
16068
- "application/json": components["schemas"]["Error"];
16069
- };
16070
- };
16071
- /** @description Too Many Requests */
16072
- 429: {
16073
- headers: {
16074
- [name: string]: unknown;
16075
- };
16076
- content: {
16077
- "application/json": components["schemas"]["Error"];
16078
- };
16079
- };
16080
- /** @description A provider refused */
16081
- 502: {
16082
- headers: {
16083
- [name: string]: unknown;
16084
- };
16085
- content: {
16086
- "application/json": components["schemas"]["Error"];
16087
- };
16088
- };
16089
- /** @description No provider keys on this instance */
16090
- 503: {
16091
- headers: {
16092
- [name: string]: unknown;
16093
- };
16094
- content: {
16095
- "application/json": components["schemas"]["Error"];
16096
- };
16097
- };
16098
- };
16099
- };
16100
- "FountainWeb.TeamController.release_contact": {
16101
- parameters: {
16102
- query?: never;
16103
- header?: never;
16104
- path: {
16105
- agent_id: string;
16106
- };
16107
- cookie?: never;
16108
- };
16109
- requestBody?: never;
16110
- responses: {
16111
- /** @description Released */
16112
- 204: {
16113
- headers: {
16114
- [name: string]: unknown;
16115
- };
16116
- content?: never;
16117
- };
16118
- /** @description Unauthorized */
16119
- 401: {
16120
- headers: {
16121
- [name: string]: unknown;
16122
- };
16123
- content: {
16124
- "application/json": components["schemas"]["Error"];
16125
- };
16126
- };
16127
- /** @description Forbidden */
16128
- 403: {
16129
- headers: {
16130
- [name: string]: unknown;
16131
- };
16132
- content: {
16133
- "application/json": components["schemas"]["Error"];
16134
- };
16135
- };
16136
- /** @description No contact, or not on the team */
16137
- 404: {
16138
- headers: {
16139
- [name: string]: unknown;
16140
- };
16141
- content: {
16142
- "application/json": components["schemas"]["Error"];
16143
- };
16144
- };
16145
- /** @description No acceptable representation */
16146
- 406: {
16147
- headers: {
16148
- [name: string]: unknown;
16149
- };
16150
- content: {
16151
- "application/json": components["schemas"]["NegotiationError"];
16152
- };
16153
- };
16154
- /** @description A provider refused */
16155
- 424: {
16156
- headers: {
16157
- [name: string]: unknown;
16158
- };
16159
- content: {
16160
- "application/json": components["schemas"]["Error"];
16161
- };
16162
- };
16163
- /** @description Too Many Requests */
16164
- 429: {
16165
- headers: {
16166
- [name: string]: unknown;
16167
- };
16168
- content: {
16169
- "application/json": components["schemas"]["Error"];
16170
- };
16171
- };
16172
- };
16173
- };
16174
- "FountainWeb.TeamController.update_contact": {
16175
- parameters: {
16176
- query?: never;
16177
- header?: never;
16178
- path: {
16179
- agent_id: string;
16180
- };
16181
- cookie?: never;
16182
- };
16183
- /** @description The number whose texts become prompts */
16184
- requestBody: {
16185
- content: {
16186
- "application/json": components["schemas"]["TeamContactRequest"];
16187
- };
16188
- };
16189
- responses: {
16190
- /** @description Teammate */
16191
- 200: {
16192
- headers: {
16193
- [name: string]: unknown;
16194
- };
16195
- content: {
16196
- "application/json": components["schemas"]["TeammateResponse"];
16197
- };
16198
- };
16199
- /** @description Unauthorized */
16200
- 401: {
16201
- headers: {
16202
- [name: string]: unknown;
16203
- };
16204
- content: {
16205
- "application/json": components["schemas"]["Error"];
16206
- };
16207
- };
16208
- /** @description Forbidden */
16209
- 403: {
16210
- headers: {
16211
- [name: string]: unknown;
16212
- };
16213
- content: {
16214
- "application/json": components["schemas"]["Error"];
16215
- };
16216
- };
16217
- /** @description No contact, or not on the team */
16218
- 404: {
16219
- headers: {
16220
- [name: string]: unknown;
16221
- };
16222
- content: {
16223
- "application/json": components["schemas"]["Error"];
16224
- };
16225
- };
16226
- /** @description No acceptable representation */
16227
- 406: {
16228
- headers: {
16229
- [name: string]: unknown;
16230
- };
16231
- content: {
16232
- "application/json": components["schemas"]["NegotiationError"];
16233
- };
16234
- };
16235
- /** @description Bad prompt_from_number */
16236
- 422: {
16237
- headers: {
16238
- [name: string]: unknown;
16239
- };
16240
- content: {
16241
- "application/json": components["schemas"]["Error"];
16242
- };
16243
- };
16244
- /** @description Too Many Requests */
16245
- 429: {
16246
- headers: {
16247
- [name: string]: unknown;
16248
- };
16249
- content: {
16250
- "application/json": components["schemas"]["Error"];
16251
- };
16252
- };
16253
- };
16254
- };
16255
15716
  "FountainWeb.TeamController.conversations": {
16256
15717
  parameters: {
16257
15718
  query?: {
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/2.1.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/2.1.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/dist/schemas.d.ts CHANGED
@@ -67,8 +67,6 @@ export type Schedule = S["TeamSchedule"];
67
67
  */
68
68
  export type ScheduleInput = Optional<S["TeamScheduleCreateRequest"], "enabled" | "one_off">;
69
69
  export type SchedulePatch = S["TeamScheduleUpdateRequest"];
70
- export type TeamCommsStatus = S["TeamCommsStatus"];
71
- export type TeammateContact = S["TeammateContact"];
72
70
  /** The form vocabulary: runtimes, models, providers a client can offer. */
73
71
  export type Catalog = S["CatalogResponse"]["data"];
74
72
  /** One hit from full-text search across the caller's conversations. */
package/dist/team.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { Resolver } from "./resolve.ts";
3
3
  import { Conversation } from "./conversation.ts";
4
4
  import { Run, type RunOptions } from "./run.ts";
5
5
  import { type StreamRequest } from "./sse.ts";
6
- import type { ConversationRecord, ImageInput, Schedule, ScheduleInput, SchedulePatch, Stream, TeamAddInput, TeamCommsStatus, TeamEvent, Teammate } from "./types.ts";
6
+ import type { ConversationRecord, ImageInput, Schedule, ScheduleInput, SchedulePatch, Stream, TeamAddInput, TeamEvent, Teammate } from "./types.ts";
7
7
  export interface MessageOptions extends RunOptions {
8
8
  images?: ImageInput[];
9
9
  }
@@ -46,8 +46,6 @@ export declare class Team {
46
46
  history(agent: string): Promise<ConversationRecord[]>;
47
47
  /** Start a fresh thread on a new computer; the current one is retired. */
48
48
  freshConversation(agent: string): Promise<ConversationRecord>;
49
- /** Can teammates here be given an email address and a phone number? */
50
- commsStatus(): Promise<TeamCommsStatus>;
51
49
  /**
52
50
  * The whole team's events on one connection.
53
51
  *
package/dist/team.js CHANGED
@@ -102,10 +102,6 @@ export class Team {
102
102
  async freshConversation(agent) {
103
103
  return this.http.data("POST", `/api/team/${await this.agentId(agent)}/conversations`);
104
104
  }
105
- /** Can teammates here be given an email address and a phone number? */
106
- async commsStatus() {
107
- return this.http.data("GET", "/api/team/comms");
108
- }
109
105
  /**
110
106
  * The whole team's events on one connection.
111
107
  *
package/dist/team.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"team.js","sourceRoot":"","sources":["../src/team.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAmB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,UAAU,EAAsB,MAAM,UAAU,CAAC;AAkB1D;;;;;;;;;GASG;AACH,MAAM,OAAO,IAAI;IACE,IAAI,CAAa;IACjB,QAAQ,CAAW;IAEpC,uDAAuD;IAC9C,SAAS,CAAgB;IAElC,YAAY,IAAgB,EAAE,QAAkB;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrD,CAAC;IAED,wEAAwE;IACxE,KAAK,CAAC,IAAI;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAW,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED,yCAAyC;IACzC,KAAK,CAAC,GAAG,CA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ACvB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KACvE,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * cannot say: that many log events fold into one *turn*, that a run can be
7
7
  * awaited or streamed, and how a turn ended.
8
8
  */
9
- export type { Agent, AgentInput, AgentPatch, AuthMe, Block, Catalog, Connection, ConnectionProvider, ConnectionProviderInput, ConnectionProviderPatch, ConversationRecord, ConversationTreeNode, Environment, EnvironmentInput, EnvironmentPatch, ImageInput, LogEvent, Repository, Runner, SandboxChange, SandboxDiff, SandboxEntry, SandboxFile, SandboxListing, SandboxRecord, SandboxStatus, Schedule, ScheduleInput, SchedulePatch, SearchHit, Secret, TeamAddInput, TeamCommsStatus, Teammate, TeammateContact, Turn, Vault, VaultInput, VaultPatch, VaultSecret, VaultSecretMetadataPatch, } from "./schemas.ts";
9
+ export type { Agent, AgentInput, AgentPatch, AuthMe, Block, Catalog, Connection, ConnectionProvider, ConnectionProviderInput, ConnectionProviderPatch, ConversationRecord, ConversationTreeNode, Environment, EnvironmentInput, EnvironmentPatch, ImageInput, LogEvent, Repository, Runner, SandboxChange, SandboxDiff, SandboxEntry, SandboxFile, SandboxListing, SandboxRecord, SandboxStatus, Schedule, ScheduleInput, SchedulePatch, SearchHit, Secret, TeamAddInput, Teammate, Turn, Vault, VaultInput, VaultPatch, VaultSecret, VaultSecretMetadataPatch, } from "./schemas.ts";
10
10
  import type { Agent, Block, ConversationRecord, LogEvent } from "./schemas.ts";
11
11
  /** The agent runtimes Fountain can start. */
12
12
  export type Runtime = NonNullable<Agent["runtime"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managoat/fountain-sdk",
3
- "version": "2.1.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": {