@ellipsis-dev/sdk 0.7.0 → 0.8.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/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AgentSessionWire, L as ListSessionRecordsResponse, a as ListSessionTurnsResponse, b as ListSessionExecutionsResponse, S as SessionMessageWire, C as CreateReviewRequest, R as Review, c as ListReviewsResponse } from './types-
|
|
2
|
-
export { d as AgentSessionExitStatus, e as AgentSessionPr, f as AgentSessionSource, g as AgentSessionStatus, h as AgentTurn, i as AgentTurnStatus, j as AttributionType, B as BudgetSource, D as DefaultResolution, k as DeltaFrame, l as DoneFrame, E as ErrorFrame, F as Finding, G as GithubAccountSnippet, m as GithubAccountType, H as Harness, n as HeartbeatFrame, P as ParentKind, o as PromptBlockedReason, p as RecordsAppendFrame, q as ResolvedReviewScope, r as ReviewConfiguration, s as ReviewCounters, t as ReviewFinding, u as ReviewRequester, v as ReviewScope, w as ReviewScopeKind, x as ReviewStage, y as ReviewedCommit, z as SendSessionMessageRequest, I as SessionExecutionWire, J as SessionFrame, K as SessionLiveness, M as SessionMessageStatus, N as SessionPrompting, O as SessionRecordWire, Q as SessionState, T as SessionStreamFrame, U as SessionSurface, V as SnapshotFrame, W as StreamFrame, X as TokensInfo, Y as components, Z as paths } from './types-
|
|
1
|
+
import { A as AgentSessionWire, L as ListSessionRecordsResponse, a as ListSessionTurnsResponse, b as ListSessionExecutionsResponse, S as SessionMessageWire, C as CreateReviewRequest, R as Review, c as ListReviewsResponse } from './types-rf-NzI8E.js';
|
|
2
|
+
export { d as AgentSessionExitStatus, e as AgentSessionPr, f as AgentSessionSource, g as AgentSessionStatus, h as AgentTurn, i as AgentTurnStatus, j as AttributionType, B as BudgetSource, D as DefaultResolution, k as DeltaFrame, l as DoneFrame, E as ErrorFrame, F as Finding, G as GithubAccountSnippet, m as GithubAccountType, H as Harness, n as HeartbeatFrame, P as ParentKind, o as PromptBlockedReason, p as RecordsAppendFrame, q as ResolvedReviewScope, r as ReviewConfiguration, s as ReviewCounters, t as ReviewFinding, u as ReviewRequester, v as ReviewScope, w as ReviewScopeKind, x as ReviewStage, y as ReviewedCommit, z as SendSessionMessageRequest, I as SessionExecutionWire, J as SessionFrame, K as SessionLiveness, M as SessionMessageStatus, N as SessionPrompting, O as SessionRecordWire, Q as SessionState, T as SessionStreamFrame, U as SessionSurface, V as SnapshotFrame, W as StreamFrame, X as TokensInfo, Y as components, Z as paths } from './types-rf-NzI8E.js';
|
|
3
3
|
|
|
4
4
|
type FetchJson = (path: string, init?: {
|
|
5
5
|
method?: string;
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as SessionRecordWire, A as AgentSessionWire, S as SessionMessageWire, W as StreamFrame } from '../types-
|
|
1
|
+
import { O as SessionRecordWire, A as AgentSessionWire, S as SessionMessageWire, W as StreamFrame } from '../types-rf-NzI8E.js';
|
|
2
2
|
|
|
3
3
|
interface ChatToolNode {
|
|
4
4
|
key: string;
|
package/dist/stream/index.d.ts
CHANGED
|
@@ -593,6 +593,84 @@ interface paths {
|
|
|
593
593
|
patch?: never;
|
|
594
594
|
trace?: never;
|
|
595
595
|
};
|
|
596
|
+
'/memories': {
|
|
597
|
+
parameters: {
|
|
598
|
+
query?: never;
|
|
599
|
+
header?: never;
|
|
600
|
+
path?: never;
|
|
601
|
+
cookie?: never;
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* List Memories
|
|
605
|
+
* @description List the organization's memories as a readable index.
|
|
606
|
+
*
|
|
607
|
+
* Returns the memories rendered as a markdown index (one line per
|
|
608
|
+
* memory, carrying its id, path, and description) plus the same
|
|
609
|
+
* entries structured, each with every field except `content`. Read
|
|
610
|
+
* the index, then fetch the ids whose content you want.
|
|
611
|
+
*/
|
|
612
|
+
get: operations['list_memories'];
|
|
613
|
+
put?: never;
|
|
614
|
+
/**
|
|
615
|
+
* Create Memory
|
|
616
|
+
* @description Save a memory for future agent sessions.
|
|
617
|
+
*
|
|
618
|
+
* Memories are durable lessons shared across the whole
|
|
619
|
+
* organization — conventions, past decisions, known gotchas that an
|
|
620
|
+
* agent cannot derive from the repository itself. One concise fact
|
|
621
|
+
* per memory; the description is what a reader sees in the index.
|
|
622
|
+
*
|
|
623
|
+
* Creating never overwrites: a path that already exists is a 409, so
|
|
624
|
+
* correcting an existing memory is an explicit edit.
|
|
625
|
+
*/
|
|
626
|
+
post: operations['create_memory'];
|
|
627
|
+
delete?: never;
|
|
628
|
+
options?: never;
|
|
629
|
+
head?: never;
|
|
630
|
+
patch?: never;
|
|
631
|
+
trace?: never;
|
|
632
|
+
};
|
|
633
|
+
'/memories/{memory_id}': {
|
|
634
|
+
parameters: {
|
|
635
|
+
query?: never;
|
|
636
|
+
header?: never;
|
|
637
|
+
path?: never;
|
|
638
|
+
cookie?: never;
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
* Get Memory
|
|
642
|
+
* @description Read one memory's full content.
|
|
643
|
+
*
|
|
644
|
+
* The id comes from the index returned by listing memories.
|
|
645
|
+
*/
|
|
646
|
+
get: operations['get_memory'];
|
|
647
|
+
/**
|
|
648
|
+
* Edit Memory
|
|
649
|
+
* @description Correct an existing memory in place.
|
|
650
|
+
*
|
|
651
|
+
* Pass description, content, or both. This never creates a memory (an
|
|
652
|
+
* unknown id is a 404) and never moves one — the path is immutable, so
|
|
653
|
+
* relocating a memory is a delete plus a create.
|
|
654
|
+
*
|
|
655
|
+
* Pass `if_sha256` (from a previous read) to make a concurrent write
|
|
656
|
+
* a 409 instead of silently overwriting it.
|
|
657
|
+
*/
|
|
658
|
+
put: operations['edit_memory'];
|
|
659
|
+
post?: never;
|
|
660
|
+
/**
|
|
661
|
+
* Delete Memory
|
|
662
|
+
* @description Delete a memory that is no longer true.
|
|
663
|
+
*
|
|
664
|
+
* Available to every credential type, agents included — a wrong
|
|
665
|
+
* memory is worse than a missing one. The deleted content is kept in
|
|
666
|
+
* the memory's history for forensics, not for an undo API.
|
|
667
|
+
*/
|
|
668
|
+
delete: operations['delete_memory'];
|
|
669
|
+
options?: never;
|
|
670
|
+
head?: never;
|
|
671
|
+
patch?: never;
|
|
672
|
+
trace?: never;
|
|
673
|
+
};
|
|
596
674
|
'/models': {
|
|
597
675
|
parameters: {
|
|
598
676
|
query?: never;
|
|
@@ -2613,6 +2691,27 @@ interface components {
|
|
|
2613
2691
|
*/
|
|
2614
2692
|
url: string;
|
|
2615
2693
|
};
|
|
2694
|
+
/**
|
|
2695
|
+
* CreateMemoryRequest
|
|
2696
|
+
* @description Create a memory at a path that does not exist yet.
|
|
2697
|
+
*/
|
|
2698
|
+
CreateMemoryRequest: {
|
|
2699
|
+
/**
|
|
2700
|
+
* Content
|
|
2701
|
+
* @description The memory's markdown content, at most 100 KB of UTF-8.
|
|
2702
|
+
*/
|
|
2703
|
+
content: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* Description
|
|
2706
|
+
* @description A one-line summary, at most 200 characters and no newlines. This is the only thing a reader sees in the index, so make it say what the memory is for.
|
|
2707
|
+
*/
|
|
2708
|
+
description: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* Path
|
|
2711
|
+
* @description Where to store the memory. A memory path is slash-separated segments of [a-z0-9._-], with no leading or trailing slash, no empty segments, no '.' or '..' segments, at most 512 characters, ending in '.md'.
|
|
2712
|
+
*/
|
|
2713
|
+
path: string;
|
|
2714
|
+
};
|
|
2616
2715
|
/**
|
|
2617
2716
|
* CreateReviewRequest
|
|
2618
2717
|
* @description Request an explicit review of one existing pull request.
|
|
@@ -2702,6 +2801,28 @@ interface components {
|
|
|
2702
2801
|
*/
|
|
2703
2802
|
p75: number;
|
|
2704
2803
|
};
|
|
2804
|
+
/**
|
|
2805
|
+
* EditMemoryRequest
|
|
2806
|
+
* @description Update an existing memory. At least one of description or content is
|
|
2807
|
+
* required; this never creates a memory, and never moves it.
|
|
2808
|
+
*/
|
|
2809
|
+
EditMemoryRequest: {
|
|
2810
|
+
/**
|
|
2811
|
+
* Content
|
|
2812
|
+
* @description Replacement markdown content. Omit to keep it.
|
|
2813
|
+
*/
|
|
2814
|
+
content?: string | null;
|
|
2815
|
+
/**
|
|
2816
|
+
* Description
|
|
2817
|
+
* @description Replacement one-line summary. Omit to keep it.
|
|
2818
|
+
*/
|
|
2819
|
+
description?: string | null;
|
|
2820
|
+
/**
|
|
2821
|
+
* If Sha256
|
|
2822
|
+
* @description Only apply the edit if the memory's current content_sha256 matches. Returns 409 if it doesn't, so a concurrent write is a visible conflict rather than a silent overwrite.
|
|
2823
|
+
*/
|
|
2824
|
+
if_sha256?: string | null;
|
|
2825
|
+
};
|
|
2705
2826
|
/**
|
|
2706
2827
|
* EffortLevel
|
|
2707
2828
|
* @enum {string}
|
|
@@ -3535,6 +3656,23 @@ interface components {
|
|
|
3535
3656
|
*/
|
|
3536
3657
|
teams: components['schemas']['LinearTeamSummary'][];
|
|
3537
3658
|
};
|
|
3659
|
+
/**
|
|
3660
|
+
* ListMemoriesWireResponse
|
|
3661
|
+
* @description The organization's memories: the rendered index a reader scans, plus the
|
|
3662
|
+
* same entries structured. Content is fetched per memory.
|
|
3663
|
+
*/
|
|
3664
|
+
ListMemoriesWireResponse: {
|
|
3665
|
+
/**
|
|
3666
|
+
* Index
|
|
3667
|
+
* @description The memories rendered as a markdown index — one line per memory carrying its id, path, and description, grouped by top-level prefix. Read this, then fetch the ids that matter.
|
|
3668
|
+
*/
|
|
3669
|
+
index: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* Memories
|
|
3672
|
+
* @description The same memories as structured entries, ordered by path.
|
|
3673
|
+
*/
|
|
3674
|
+
memories: components['schemas']['MemoryStubWire'][];
|
|
3675
|
+
};
|
|
3538
3676
|
/**
|
|
3539
3677
|
* ListReviewsResponse
|
|
3540
3678
|
* @description Reviews matching the query, newest first. `findings` are omitted
|
|
@@ -3693,6 +3831,117 @@ interface components {
|
|
|
3693
3831
|
/** Stream Seq */
|
|
3694
3832
|
stream_seq: number;
|
|
3695
3833
|
};
|
|
3834
|
+
/**
|
|
3835
|
+
* MemoryActorType
|
|
3836
|
+
* @enum {string}
|
|
3837
|
+
*/
|
|
3838
|
+
MemoryActorType: 'agent_session' | 'api_key' | 'user';
|
|
3839
|
+
/**
|
|
3840
|
+
* MemoryActorWire
|
|
3841
|
+
* @description Who wrote a memory, derived from their credential.
|
|
3842
|
+
*/
|
|
3843
|
+
MemoryActorWire: {
|
|
3844
|
+
/**
|
|
3845
|
+
* Id
|
|
3846
|
+
* @description The writer's identifier: the agent session id, the API key id, or the GitHub account id, matching `type`.
|
|
3847
|
+
*/
|
|
3848
|
+
id: string;
|
|
3849
|
+
/** @description The kind of credential that wrote the memory: agent_session (an agent writing from inside its sandbox), api_key, or user. */
|
|
3850
|
+
type: components['schemas']['MemoryActorType'];
|
|
3851
|
+
};
|
|
3852
|
+
/**
|
|
3853
|
+
* MemoryStubWire
|
|
3854
|
+
* @description One entry in the index: a memory with every field except `content`.
|
|
3855
|
+
*
|
|
3856
|
+
* Content is the only omission, and it's the whole reason this shape exists —
|
|
3857
|
+
* an account can hold 2,000 memories of 100 KB each, so a listing that carried
|
|
3858
|
+
* content would be a 200 MB response.
|
|
3859
|
+
*/
|
|
3860
|
+
MemoryStubWire: {
|
|
3861
|
+
/**
|
|
3862
|
+
* Content Sha256
|
|
3863
|
+
* @description Hex SHA-256 of the content, usable as an `if_sha256` precondition.
|
|
3864
|
+
*/
|
|
3865
|
+
content_sha256: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* Created At
|
|
3868
|
+
* Format: date-time
|
|
3869
|
+
* @description When the memory was created.
|
|
3870
|
+
*/
|
|
3871
|
+
created_at: string;
|
|
3872
|
+
/** @description The credential that created the memory. */
|
|
3873
|
+
created_by: components['schemas']['MemoryActorWire'];
|
|
3874
|
+
/**
|
|
3875
|
+
* Description
|
|
3876
|
+
* @description The one-line summary of the memory.
|
|
3877
|
+
*/
|
|
3878
|
+
description: string;
|
|
3879
|
+
/**
|
|
3880
|
+
* Id
|
|
3881
|
+
* @description The memory's unique identifier.
|
|
3882
|
+
*/
|
|
3883
|
+
id: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* Path
|
|
3886
|
+
* @description The memory's address within the organization.
|
|
3887
|
+
*/
|
|
3888
|
+
path: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* Updated At
|
|
3891
|
+
* Format: date-time
|
|
3892
|
+
* @description When the memory was last written.
|
|
3893
|
+
*/
|
|
3894
|
+
updated_at: string;
|
|
3895
|
+
/** @description The credential that last wrote the memory. */
|
|
3896
|
+
updated_by: components['schemas']['MemoryActorWire'];
|
|
3897
|
+
};
|
|
3898
|
+
/**
|
|
3899
|
+
* MemoryWire
|
|
3900
|
+
* @description One memory, including its full markdown content.
|
|
3901
|
+
*/
|
|
3902
|
+
MemoryWire: {
|
|
3903
|
+
/**
|
|
3904
|
+
* Content
|
|
3905
|
+
* @description The memory's markdown content.
|
|
3906
|
+
*/
|
|
3907
|
+
content: string;
|
|
3908
|
+
/**
|
|
3909
|
+
* Content Sha256
|
|
3910
|
+
* @description Hex SHA-256 of the content, computed server-side. Pass it back as `if_sha256` on an edit or delete to fail instead of overwriting a change someone else made in the meantime.
|
|
3911
|
+
*/
|
|
3912
|
+
content_sha256: string;
|
|
3913
|
+
/**
|
|
3914
|
+
* Created At
|
|
3915
|
+
* Format: date-time
|
|
3916
|
+
* @description When the memory was created.
|
|
3917
|
+
*/
|
|
3918
|
+
created_at: string;
|
|
3919
|
+
/** @description The credential that created the memory. */
|
|
3920
|
+
created_by: components['schemas']['MemoryActorWire'];
|
|
3921
|
+
/**
|
|
3922
|
+
* Description
|
|
3923
|
+
* @description The one-line summary shown in the index. This is what a reader sees before deciding to open the memory.
|
|
3924
|
+
*/
|
|
3925
|
+
description: string;
|
|
3926
|
+
/**
|
|
3927
|
+
* Id
|
|
3928
|
+
* @description The memory's unique identifier.
|
|
3929
|
+
*/
|
|
3930
|
+
id: string;
|
|
3931
|
+
/**
|
|
3932
|
+
* Path
|
|
3933
|
+
* @description The memory's address, unique within the organization, e.g. repos/acme/deploys.md.
|
|
3934
|
+
*/
|
|
3935
|
+
path: string;
|
|
3936
|
+
/**
|
|
3937
|
+
* Updated At
|
|
3938
|
+
* Format: date-time
|
|
3939
|
+
* @description When the memory was last written.
|
|
3940
|
+
*/
|
|
3941
|
+
updated_at: string;
|
|
3942
|
+
/** @description The credential that last wrote the memory. */
|
|
3943
|
+
updated_by: components['schemas']['MemoryActorWire'];
|
|
3944
|
+
};
|
|
3696
3945
|
/**
|
|
3697
3946
|
* ModelManufacturer
|
|
3698
3947
|
* @description Who BUILT a model. Never who serves it.
|
|
@@ -3702,7 +3951,7 @@ interface components {
|
|
|
3702
3951
|
* or through Bedrock -- a choice made per request by the llm_providers chain, so
|
|
3703
3952
|
* it is not even a fixed property of the model. Likewise the `bedrock-gpt-5.6-*`
|
|
3704
3953
|
* rows are OPENAI (OpenAI's models, served by AWS), and GLM is ZAI (Z.ai's model,
|
|
3705
|
-
* served by
|
|
3954
|
+
* served by Concentrate).
|
|
3706
3955
|
*
|
|
3707
3956
|
* So this is deliberately NOT derived from `EgressRoute.provider`: routing is an
|
|
3708
3957
|
* infrastructure fact that changes when we move a model between providers, while
|
|
@@ -7986,6 +8235,323 @@ interface operations {
|
|
|
7986
8235
|
};
|
|
7987
8236
|
};
|
|
7988
8237
|
};
|
|
8238
|
+
list_memories: {
|
|
8239
|
+
parameters: {
|
|
8240
|
+
query?: {
|
|
8241
|
+
/** @description Limit to memories under this path prefix, matched on whole segments — repos/acme matches repos/acme/x.md but not repos/acme2/x.md. */
|
|
8242
|
+
prefix?: string | null;
|
|
8243
|
+
};
|
|
8244
|
+
header?: {
|
|
8245
|
+
'user-agent'?: string | null;
|
|
8246
|
+
};
|
|
8247
|
+
path?: never;
|
|
8248
|
+
cookie?: never;
|
|
8249
|
+
};
|
|
8250
|
+
requestBody?: never;
|
|
8251
|
+
responses: {
|
|
8252
|
+
/** @description Successful Response */
|
|
8253
|
+
200: {
|
|
8254
|
+
headers: {
|
|
8255
|
+
[name: string]: unknown;
|
|
8256
|
+
};
|
|
8257
|
+
content: {
|
|
8258
|
+
'application/json': components['schemas']['ListMemoriesWireResponse'];
|
|
8259
|
+
};
|
|
8260
|
+
};
|
|
8261
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
8262
|
+
401: {
|
|
8263
|
+
headers: {
|
|
8264
|
+
[name: string]: unknown;
|
|
8265
|
+
};
|
|
8266
|
+
content: {
|
|
8267
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8268
|
+
};
|
|
8269
|
+
};
|
|
8270
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
8271
|
+
403: {
|
|
8272
|
+
headers: {
|
|
8273
|
+
[name: string]: unknown;
|
|
8274
|
+
};
|
|
8275
|
+
content: {
|
|
8276
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8277
|
+
};
|
|
8278
|
+
};
|
|
8279
|
+
/** @description Validation Error */
|
|
8280
|
+
422: {
|
|
8281
|
+
headers: {
|
|
8282
|
+
[name: string]: unknown;
|
|
8283
|
+
};
|
|
8284
|
+
content: {
|
|
8285
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
8286
|
+
};
|
|
8287
|
+
};
|
|
8288
|
+
};
|
|
8289
|
+
};
|
|
8290
|
+
create_memory: {
|
|
8291
|
+
parameters: {
|
|
8292
|
+
query?: never;
|
|
8293
|
+
header?: {
|
|
8294
|
+
'user-agent'?: string | null;
|
|
8295
|
+
};
|
|
8296
|
+
path?: never;
|
|
8297
|
+
cookie?: never;
|
|
8298
|
+
};
|
|
8299
|
+
requestBody: {
|
|
8300
|
+
content: {
|
|
8301
|
+
'application/json': components['schemas']['CreateMemoryRequest'];
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
8304
|
+
responses: {
|
|
8305
|
+
/** @description Successful Response */
|
|
8306
|
+
201: {
|
|
8307
|
+
headers: {
|
|
8308
|
+
[name: string]: unknown;
|
|
8309
|
+
};
|
|
8310
|
+
content: {
|
|
8311
|
+
'application/json': components['schemas']['MemoryWire'];
|
|
8312
|
+
};
|
|
8313
|
+
};
|
|
8314
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
8315
|
+
401: {
|
|
8316
|
+
headers: {
|
|
8317
|
+
[name: string]: unknown;
|
|
8318
|
+
};
|
|
8319
|
+
content: {
|
|
8320
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8321
|
+
};
|
|
8322
|
+
};
|
|
8323
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
8324
|
+
403: {
|
|
8325
|
+
headers: {
|
|
8326
|
+
[name: string]: unknown;
|
|
8327
|
+
};
|
|
8328
|
+
content: {
|
|
8329
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8330
|
+
};
|
|
8331
|
+
};
|
|
8332
|
+
/** @description A memory already exists at that path. */
|
|
8333
|
+
409: {
|
|
8334
|
+
headers: {
|
|
8335
|
+
[name: string]: unknown;
|
|
8336
|
+
};
|
|
8337
|
+
content: {
|
|
8338
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8339
|
+
};
|
|
8340
|
+
};
|
|
8341
|
+
/** @description The path violates the path grammar, the description or content exceeds its limit, or the organization is at the memory cap. */
|
|
8342
|
+
422: {
|
|
8343
|
+
headers: {
|
|
8344
|
+
[name: string]: unknown;
|
|
8345
|
+
};
|
|
8346
|
+
content: {
|
|
8347
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8348
|
+
};
|
|
8349
|
+
};
|
|
8350
|
+
};
|
|
8351
|
+
};
|
|
8352
|
+
get_memory: {
|
|
8353
|
+
parameters: {
|
|
8354
|
+
query?: never;
|
|
8355
|
+
header?: {
|
|
8356
|
+
'user-agent'?: string | null;
|
|
8357
|
+
};
|
|
8358
|
+
path: {
|
|
8359
|
+
memory_id: string;
|
|
8360
|
+
};
|
|
8361
|
+
cookie?: never;
|
|
8362
|
+
};
|
|
8363
|
+
requestBody?: never;
|
|
8364
|
+
responses: {
|
|
8365
|
+
/** @description Successful Response */
|
|
8366
|
+
200: {
|
|
8367
|
+
headers: {
|
|
8368
|
+
[name: string]: unknown;
|
|
8369
|
+
};
|
|
8370
|
+
content: {
|
|
8371
|
+
'application/json': components['schemas']['MemoryWire'];
|
|
8372
|
+
};
|
|
8373
|
+
};
|
|
8374
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
8375
|
+
401: {
|
|
8376
|
+
headers: {
|
|
8377
|
+
[name: string]: unknown;
|
|
8378
|
+
};
|
|
8379
|
+
content: {
|
|
8380
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8381
|
+
};
|
|
8382
|
+
};
|
|
8383
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
8384
|
+
403: {
|
|
8385
|
+
headers: {
|
|
8386
|
+
[name: string]: unknown;
|
|
8387
|
+
};
|
|
8388
|
+
content: {
|
|
8389
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8390
|
+
};
|
|
8391
|
+
};
|
|
8392
|
+
/** @description No such memory in your account. */
|
|
8393
|
+
404: {
|
|
8394
|
+
headers: {
|
|
8395
|
+
[name: string]: unknown;
|
|
8396
|
+
};
|
|
8397
|
+
content: {
|
|
8398
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8399
|
+
};
|
|
8400
|
+
};
|
|
8401
|
+
/** @description Validation Error */
|
|
8402
|
+
422: {
|
|
8403
|
+
headers: {
|
|
8404
|
+
[name: string]: unknown;
|
|
8405
|
+
};
|
|
8406
|
+
content: {
|
|
8407
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
8408
|
+
};
|
|
8409
|
+
};
|
|
8410
|
+
};
|
|
8411
|
+
};
|
|
8412
|
+
edit_memory: {
|
|
8413
|
+
parameters: {
|
|
8414
|
+
query?: never;
|
|
8415
|
+
header?: {
|
|
8416
|
+
'user-agent'?: string | null;
|
|
8417
|
+
};
|
|
8418
|
+
path: {
|
|
8419
|
+
memory_id: string;
|
|
8420
|
+
};
|
|
8421
|
+
cookie?: never;
|
|
8422
|
+
};
|
|
8423
|
+
requestBody: {
|
|
8424
|
+
content: {
|
|
8425
|
+
'application/json': components['schemas']['EditMemoryRequest'];
|
|
8426
|
+
};
|
|
8427
|
+
};
|
|
8428
|
+
responses: {
|
|
8429
|
+
/** @description Successful Response */
|
|
8430
|
+
200: {
|
|
8431
|
+
headers: {
|
|
8432
|
+
[name: string]: unknown;
|
|
8433
|
+
};
|
|
8434
|
+
content: {
|
|
8435
|
+
'application/json': components['schemas']['MemoryWire'];
|
|
8436
|
+
};
|
|
8437
|
+
};
|
|
8438
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
8439
|
+
401: {
|
|
8440
|
+
headers: {
|
|
8441
|
+
[name: string]: unknown;
|
|
8442
|
+
};
|
|
8443
|
+
content: {
|
|
8444
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8445
|
+
};
|
|
8446
|
+
};
|
|
8447
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
8448
|
+
403: {
|
|
8449
|
+
headers: {
|
|
8450
|
+
[name: string]: unknown;
|
|
8451
|
+
};
|
|
8452
|
+
content: {
|
|
8453
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8454
|
+
};
|
|
8455
|
+
};
|
|
8456
|
+
/** @description No such memory in your account. */
|
|
8457
|
+
404: {
|
|
8458
|
+
headers: {
|
|
8459
|
+
[name: string]: unknown;
|
|
8460
|
+
};
|
|
8461
|
+
content: {
|
|
8462
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8463
|
+
};
|
|
8464
|
+
};
|
|
8465
|
+
/** @description if_sha256 does not match the memory's current content. */
|
|
8466
|
+
409: {
|
|
8467
|
+
headers: {
|
|
8468
|
+
[name: string]: unknown;
|
|
8469
|
+
};
|
|
8470
|
+
content: {
|
|
8471
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8472
|
+
};
|
|
8473
|
+
};
|
|
8474
|
+
/** @description Neither description nor content was provided, or one of them exceeds its limit. */
|
|
8475
|
+
422: {
|
|
8476
|
+
headers: {
|
|
8477
|
+
[name: string]: unknown;
|
|
8478
|
+
};
|
|
8479
|
+
content: {
|
|
8480
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8481
|
+
};
|
|
8482
|
+
};
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
delete_memory: {
|
|
8486
|
+
parameters: {
|
|
8487
|
+
query?: {
|
|
8488
|
+
/** @description Only delete if the memory's current content_sha256 matches. */
|
|
8489
|
+
if_sha256?: string | null;
|
|
8490
|
+
};
|
|
8491
|
+
header?: {
|
|
8492
|
+
'user-agent'?: string | null;
|
|
8493
|
+
};
|
|
8494
|
+
path: {
|
|
8495
|
+
memory_id: string;
|
|
8496
|
+
};
|
|
8497
|
+
cookie?: never;
|
|
8498
|
+
};
|
|
8499
|
+
requestBody?: never;
|
|
8500
|
+
responses: {
|
|
8501
|
+
/** @description Successful Response */
|
|
8502
|
+
204: {
|
|
8503
|
+
headers: {
|
|
8504
|
+
[name: string]: unknown;
|
|
8505
|
+
};
|
|
8506
|
+
content?: never;
|
|
8507
|
+
};
|
|
8508
|
+
/** @description The bearer token is missing, invalid, or revoked. */
|
|
8509
|
+
401: {
|
|
8510
|
+
headers: {
|
|
8511
|
+
[name: string]: unknown;
|
|
8512
|
+
};
|
|
8513
|
+
content: {
|
|
8514
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8515
|
+
};
|
|
8516
|
+
};
|
|
8517
|
+
/** @description The credential may not perform this action, or the account is blocked. */
|
|
8518
|
+
403: {
|
|
8519
|
+
headers: {
|
|
8520
|
+
[name: string]: unknown;
|
|
8521
|
+
};
|
|
8522
|
+
content: {
|
|
8523
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
/** @description No such memory in your account. */
|
|
8527
|
+
404: {
|
|
8528
|
+
headers: {
|
|
8529
|
+
[name: string]: unknown;
|
|
8530
|
+
};
|
|
8531
|
+
content: {
|
|
8532
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8533
|
+
};
|
|
8534
|
+
};
|
|
8535
|
+
/** @description if_sha256 does not match the memory's current content. */
|
|
8536
|
+
409: {
|
|
8537
|
+
headers: {
|
|
8538
|
+
[name: string]: unknown;
|
|
8539
|
+
};
|
|
8540
|
+
content: {
|
|
8541
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
8542
|
+
};
|
|
8543
|
+
};
|
|
8544
|
+
/** @description Validation Error */
|
|
8545
|
+
422: {
|
|
8546
|
+
headers: {
|
|
8547
|
+
[name: string]: unknown;
|
|
8548
|
+
};
|
|
8549
|
+
content: {
|
|
8550
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
8551
|
+
};
|
|
8552
|
+
};
|
|
8553
|
+
};
|
|
8554
|
+
};
|
|
7989
8555
|
list_supported_models: {
|
|
7990
8556
|
parameters: {
|
|
7991
8557
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ellipsis-dev/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "TypeScript SDK for the Ellipsis agents platform: /v1 REST types + client, the session stream WebSocket client, and the session transcript store.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|