@managoat/fountain-sdk 1.27.0 → 1.28.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 +12 -0
- package/dist/client.d.ts +28 -6
- package/dist/client.js +28 -5
- package/dist/client.js.map +1 -1
- package/dist/generated/openapi.d.ts +747 -79
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +4 -0
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
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/1.
|
|
18
|
+
export declare const USER_AGENT = "fountain-sdk-js/1.28.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/1.
|
|
8
|
+
export const USER_AGENT = "fountain-sdk-js/1.28.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/index.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export { streamEvents, streamPath, parseSse, type StreamOptions, type SseMessage
|
|
|
9
9
|
export { TurnFollower } from "./turn.ts";
|
|
10
10
|
export { FountainError, AuthError, SubscriptionRequiredError, NotFoundError, ValidationError, RateLimitError, ConversationBusyError, NotReadyError, QuotaExceededError, ConnectionError, TimeoutError, ResolutionError, type FountainErrorCode, } from "./errors.ts";
|
|
11
11
|
export type * from "./schemas.ts";
|
|
12
|
-
export type { Agent, AgentInput, Block, ConversationRecord, ConversationStatus, Environment, EnvironmentInput, LogEvent, NamedResource, PermissionOption, PermissionRequest, Stream, TeamEvent, Repository, Runtime, RunEvent, RunResult, SandboxDiff, SandboxEntry, SandboxFile, SandboxListing, SandboxProvider, SandboxRecord, Secret, SkillInput, Turn, TurnState, Vault, VaultInput, VaultSecretMetadataPatch, } from "./types.ts";
|
|
12
|
+
export type { Agent, AgentInput, Block, ConversationRecord, ConversationStatus, Environment, EnvironmentInput, LogEvent, NamedResource, PermissionOption, PermissionRequest, Stream, TeamEvent, Repository, Runtime, RunEvent, RunResult, SandboxChange, SandboxDiff, SandboxEntry, SandboxFile, SandboxListing, SandboxProvider, SandboxRecord, SandboxStatus, Secret, SkillInput, Turn, TurnState, Vault, VaultInput, VaultSecretMetadataPatch, } from "./types.ts";
|
|
13
13
|
import { Fountain } from "./client.ts";
|
|
14
14
|
export default Fountain;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAwC,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,GAAG,EAAmB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,YAAY,EAAoB,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAuC,MAAM,WAAW,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,IAAI,EAAE,aAAa,EAAuB,MAAM,WAAW,CAAC;AACrE,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,GAGhB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emas.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export type SandboxEntry = S["SandboxEntry"];
|
|
|
41
41
|
export type SandboxFile = S["SandboxFile"];
|
|
42
42
|
/** `git diff` of a repository on a sandbox, redacted. */
|
|
43
43
|
export type SandboxDiff = S["SandboxDiff"];
|
|
44
|
+
/** `git status` of a repository on a sandbox, one entry per changed path. */
|
|
45
|
+
export type SandboxStatus = S["SandboxStatus"];
|
|
46
|
+
/** One changed path of a `SandboxStatus`. */
|
|
47
|
+
export type SandboxChange = S["SandboxChange"];
|
|
44
48
|
/** One prompt and everything the agent did in response. */
|
|
45
49
|
export type Turn = S["Turn"];
|
|
46
50
|
/** One row of a conversation's log feed. */
|
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, SandboxDiff, SandboxEntry, SandboxFile, SandboxListing, SandboxRecord, 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, TeamCommsStatus, Teammate, TeammateContact, 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