@ellipsis-dev/sdk 0.20.0 → 0.22.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 +6 -45
- package/dist/index.js +4 -38
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-D2YZTvgg.d.ts → types-BKAbWcLN.d.ts} +14 -416
- package/package.json +1 -1
- package/schema/frames.schema.json +3 -11
- package/schema/openapi.v1.json +16 -730
|
@@ -528,7 +528,7 @@ interface paths {
|
|
|
528
528
|
* @description List the GitHub organization roster.
|
|
529
529
|
*
|
|
530
530
|
* (Or the account itself for a personal workspace) — the universe of author_id values for
|
|
531
|
-
* /sessions
|
|
531
|
+
* /sessions.
|
|
532
532
|
*
|
|
533
533
|
* Members carry their linked Slack identity when a Slack-GitHub
|
|
534
534
|
* link exists, and /slack/members carries the reverse link.
|
|
@@ -928,34 +928,6 @@ interface paths {
|
|
|
928
928
|
patch?: never;
|
|
929
929
|
trace?: never;
|
|
930
930
|
};
|
|
931
|
-
'/v1/sessions/search': {
|
|
932
|
-
parameters: {
|
|
933
|
-
query?: never;
|
|
934
|
-
header?: never;
|
|
935
|
-
path?: never;
|
|
936
|
-
cookie?: never;
|
|
937
|
-
};
|
|
938
|
-
/**
|
|
939
|
-
* Search Agent Sessions
|
|
940
|
-
* @description Search sessions over steps, recaps, and pull requests.
|
|
941
|
-
*
|
|
942
|
-
* Grouped by session, over everything a session left behind: step text, recap text, created
|
|
943
|
-
* PRs, and recap-embedding similarity.
|
|
944
|
-
*
|
|
945
|
-
* This is how an agent answers "did Tony look into X?": resolve
|
|
946
|
-
* the author via /github/members, search, then read the winning
|
|
947
|
-
* session via /sessions/{id} (recap) and /sessions/{id}/records
|
|
948
|
-
* (transcript).
|
|
949
|
-
*/
|
|
950
|
-
get: operations['search_sessions'];
|
|
951
|
-
put?: never;
|
|
952
|
-
post?: never;
|
|
953
|
-
delete?: never;
|
|
954
|
-
options?: never;
|
|
955
|
-
head?: never;
|
|
956
|
-
patch?: never;
|
|
957
|
-
trace?: never;
|
|
958
|
-
};
|
|
959
931
|
'/v1/sessions/{session_id}': {
|
|
960
932
|
parameters: {
|
|
961
933
|
query?: never;
|
|
@@ -983,33 +955,6 @@ interface paths {
|
|
|
983
955
|
patch?: never;
|
|
984
956
|
trace?: never;
|
|
985
957
|
};
|
|
986
|
-
'/v1/sessions/{session_id}/executions': {
|
|
987
|
-
parameters: {
|
|
988
|
-
query?: never;
|
|
989
|
-
header?: never;
|
|
990
|
-
path?: never;
|
|
991
|
-
cookie?: never;
|
|
992
|
-
};
|
|
993
|
-
/**
|
|
994
|
-
* Get Agent Session Executions
|
|
995
|
-
* @description Return the session's executions and launch context.
|
|
996
|
-
*
|
|
997
|
-
* Most notably system_prompt_append, the text Ellipsis appends to
|
|
998
|
-
* Claude Code's default system prompt (platform section + response
|
|
999
|
-
* instructions + the config's own instructions).
|
|
1000
|
-
*
|
|
1001
|
-
* Per execution because each cold wake persists its own launch
|
|
1002
|
-
* config (a config edit between wakes changes it).
|
|
1003
|
-
*/
|
|
1004
|
-
get: operations['get_agent_session_executions'];
|
|
1005
|
-
put?: never;
|
|
1006
|
-
post?: never;
|
|
1007
|
-
delete?: never;
|
|
1008
|
-
options?: never;
|
|
1009
|
-
head?: never;
|
|
1010
|
-
patch?: never;
|
|
1011
|
-
trace?: never;
|
|
1012
|
-
};
|
|
1013
958
|
'/v1/sessions/{session_id}/export': {
|
|
1014
959
|
parameters: {
|
|
1015
960
|
query?: never;
|
|
@@ -1103,9 +1048,9 @@ interface paths {
|
|
|
1103
1048
|
*
|
|
1104
1049
|
* Pagination is opt-in (cursor/limit); a bare call returns the
|
|
1105
1050
|
* full retained transcript. Available to sandbox tokens too: an
|
|
1106
|
-
* agent answering "did X look into Y?" needs to read the
|
|
1107
|
-
* it
|
|
1108
|
-
*
|
|
1051
|
+
* agent answering "did X look into Y?" needs to read the sessions
|
|
1052
|
+
* it finds, and any org member sees the same transcript in the
|
|
1053
|
+
* dashboard.
|
|
1109
1054
|
*/
|
|
1110
1055
|
get: operations['get_agent_session_records'];
|
|
1111
1056
|
put?: never;
|
|
@@ -3304,14 +3249,6 @@ interface components {
|
|
|
3304
3249
|
ErrorResponse: {
|
|
3305
3250
|
error: components['schemas']['ErrorInfo'];
|
|
3306
3251
|
};
|
|
3307
|
-
/**
|
|
3308
|
-
* ExecutionStatus
|
|
3309
|
-
* @description Per-execution status ladder (was AgentProcessStatus). Distinct from the
|
|
3310
|
-
* session's durable `session_state` and from `agent_sessions.status`, which
|
|
3311
|
-
* remains the atomic claim/dispatch guard.
|
|
3312
|
-
* @enum {string}
|
|
3313
|
-
*/
|
|
3314
|
-
ExecutionStatus: 'running' | 'failed' | 'done';
|
|
3315
3252
|
/**
|
|
3316
3253
|
* File
|
|
3317
3254
|
* @description A file's metadata — the file itself is fetched via a separate
|
|
@@ -4797,68 +4734,6 @@ interface components {
|
|
|
4797
4734
|
*/
|
|
4798
4735
|
user_login: string;
|
|
4799
4736
|
};
|
|
4800
|
-
/**
|
|
4801
|
-
* RecordHit
|
|
4802
|
-
* @description One session-log record matching a search query, denormalized with just
|
|
4803
|
-
* enough session context to render a result row and deep-link to the
|
|
4804
|
-
* session.
|
|
4805
|
-
*/
|
|
4806
|
-
RecordHit: {
|
|
4807
|
-
/**
|
|
4808
|
-
* Attribution Id
|
|
4809
|
-
* @description The actor the session is attributed to; the key into the response's attributed_users map for github_user attributions.
|
|
4810
|
-
*/
|
|
4811
|
-
attribution_id?: string | null;
|
|
4812
|
-
/** @description What kind of actor the session is attributed to. Only github_user attributions appear in the response's attributed_users map. */
|
|
4813
|
-
attribution_type?: components['schemas']['AttributionType'] | null;
|
|
4814
|
-
/**
|
|
4815
|
-
* Config Id
|
|
4816
|
-
* @description The agent config the session ran from, when it ran from a stored config.
|
|
4817
|
-
*/
|
|
4818
|
-
config_id?: string | null;
|
|
4819
|
-
/**
|
|
4820
|
-
* Created At
|
|
4821
|
-
* Format: date-time
|
|
4822
|
-
* @description When the record was written.
|
|
4823
|
-
*/
|
|
4824
|
-
created_at: string;
|
|
4825
|
-
/**
|
|
4826
|
-
* Execution Id
|
|
4827
|
-
* @description The session execution that produced the record, or null for session-scoped lifecycle records.
|
|
4828
|
-
*/
|
|
4829
|
-
execution_id?: string | null;
|
|
4830
|
-
/** @description What the session did to git, per repository, so a result row can show what it shipped without fetching the session. */
|
|
4831
|
-
git?: components['schemas']['SessionGit'] | null;
|
|
4832
|
-
/**
|
|
4833
|
-
* Id
|
|
4834
|
-
* @description The matching record's unique identifier.
|
|
4835
|
-
*/
|
|
4836
|
-
id: string;
|
|
4837
|
-
/**
|
|
4838
|
-
* Record Type
|
|
4839
|
-
* @description The record's event type.
|
|
4840
|
-
*/
|
|
4841
|
-
record_type: string;
|
|
4842
|
-
/**
|
|
4843
|
-
* Session Id
|
|
4844
|
-
* @description The session the record belongs to.
|
|
4845
|
-
*/
|
|
4846
|
-
session_id: string;
|
|
4847
|
-
/** @description Where the matching session came from. */
|
|
4848
|
-
session_source?: components['schemas']['SessionSource'] | null;
|
|
4849
|
-
/** @description The matching session's status. */
|
|
4850
|
-
session_status?: components['schemas']['SessionStatus'] | null;
|
|
4851
|
-
/**
|
|
4852
|
-
* Snippet
|
|
4853
|
-
* @description A short window of the indexed text around the first match.
|
|
4854
|
-
*/
|
|
4855
|
-
snippet: string;
|
|
4856
|
-
/**
|
|
4857
|
-
* Stream Seq
|
|
4858
|
-
* @description The record's position within its execution's stream.
|
|
4859
|
-
*/
|
|
4860
|
-
stream_seq: number;
|
|
4861
|
-
};
|
|
4862
4737
|
/**
|
|
4863
4738
|
* RecordSource
|
|
4864
4739
|
* @description `session_records.source` — the client render switch. `lifecycle` rows are
|
|
@@ -6200,8 +6075,8 @@ interface components {
|
|
|
6200
6075
|
stopped?: components['schemas']['SessionStopped'];
|
|
6201
6076
|
/** @description The latest live summary of the session's progress while it runs, and when it was generated. */
|
|
6202
6077
|
summary?: components['schemas']['SessionSummary'] | null;
|
|
6203
|
-
/** @description The public status projection
|
|
6204
|
-
surface
|
|
6078
|
+
/** @description The public status projection: the durable conversation (`session`), the current execution (`run`), and the one derived `status` word. */
|
|
6079
|
+
surface: components['schemas']['SessionSurface'];
|
|
6205
6080
|
/** @description The tokens the session spent and the model they went to. `total` includes the prompt-cache lanes. */
|
|
6206
6081
|
tokens?: components['schemas']['SessionTokens'];
|
|
6207
6082
|
/**
|
|
@@ -6330,83 +6205,6 @@ interface components {
|
|
|
6330
6205
|
/** @description How the environment was chosen (request, agent_config, repo_default, account_default, platform_default). Null when the config carried its own inline environment. */
|
|
6331
6206
|
source?: components['schemas']['EnvironmentSource'] | null;
|
|
6332
6207
|
};
|
|
6333
|
-
/**
|
|
6334
|
-
* SessionExecution
|
|
6335
|
-
* @description One runtime attempt of a session — the initial start, a cold wake of a
|
|
6336
|
-
* durable conversation, or an infrastructure retry — including the launch
|
|
6337
|
-
* context the model was actually given.
|
|
6338
|
-
*/
|
|
6339
|
-
SessionExecution: {
|
|
6340
|
-
/**
|
|
6341
|
-
* Attempt Index
|
|
6342
|
-
* @description Infrastructure-retry counter within one wake.
|
|
6343
|
-
*/
|
|
6344
|
-
attempt_index: number;
|
|
6345
|
-
/**
|
|
6346
|
-
* Created At
|
|
6347
|
-
* Format: date-time
|
|
6348
|
-
* @description When the execution was created.
|
|
6349
|
-
*/
|
|
6350
|
-
created_at: string;
|
|
6351
|
-
/**
|
|
6352
|
-
* Execution Index
|
|
6353
|
-
* @description Monotonic position of this execution within the session, across all starts, wakes, and retries.
|
|
6354
|
-
*/
|
|
6355
|
-
execution_index: number;
|
|
6356
|
-
/**
|
|
6357
|
-
* Exit Status
|
|
6358
|
-
* @description Finer terminal reason, mirroring the session's exit_status vocabulary; null until the execution is terminal.
|
|
6359
|
-
*/
|
|
6360
|
-
exit_status?: string | null;
|
|
6361
|
-
/**
|
|
6362
|
-
* Id
|
|
6363
|
-
* @description Unique identifier of the execution.
|
|
6364
|
-
*/
|
|
6365
|
-
id: string;
|
|
6366
|
-
/**
|
|
6367
|
-
* Model
|
|
6368
|
-
* @description The model the harness was launched with, when a launch config exists.
|
|
6369
|
-
*/
|
|
6370
|
-
model?: string | null;
|
|
6371
|
-
/**
|
|
6372
|
-
* Query
|
|
6373
|
-
* @description The initial query delivered to the harness, when the trigger carried one.
|
|
6374
|
-
*/
|
|
6375
|
-
query?: string | null;
|
|
6376
|
-
/**
|
|
6377
|
-
* Resumed
|
|
6378
|
-
* @description Whether this execution resumed a prior conversation (a cold wake with the previous state restored).
|
|
6379
|
-
*/
|
|
6380
|
-
resumed: boolean;
|
|
6381
|
-
/**
|
|
6382
|
-
* Session Id
|
|
6383
|
-
* @description Identifier of the session this execution belongs to.
|
|
6384
|
-
*/
|
|
6385
|
-
session_id: string;
|
|
6386
|
-
/** @description Execution status. */
|
|
6387
|
-
status: components['schemas']['ExecutionStatus'];
|
|
6388
|
-
/**
|
|
6389
|
-
* System Prompt Append
|
|
6390
|
-
* @description The system-prompt text Ellipsis appends to the harness's default system prompt (the platform section, run-type instructions, and the config's own instructions) — the platform-added portion, not the complete prompt the model saw. Null when no launch config was persisted (the execution failed before provisioning finished).
|
|
6391
|
-
*/
|
|
6392
|
-
system_prompt_append?: string | null;
|
|
6393
|
-
/**
|
|
6394
|
-
* Wake Index
|
|
6395
|
-
* @description 0 on the session's fresh start; increments once per cold wake of a durable conversation.
|
|
6396
|
-
*/
|
|
6397
|
-
wake_index: number;
|
|
6398
|
-
};
|
|
6399
|
-
/**
|
|
6400
|
-
* SessionExecutionsListResponse
|
|
6401
|
-
* @description A session's executions with the launch context each was given.
|
|
6402
|
-
*/
|
|
6403
|
-
SessionExecutionsListResponse: {
|
|
6404
|
-
/**
|
|
6405
|
-
* Executions
|
|
6406
|
-
* @description The session's executions (initial start, cold wakes, infra retries), ordered by execution_index. Each carries the launch context the harness was given: system_prompt_append (the text appended to Claude Code's default system prompt), the initial query, and the model.
|
|
6407
|
-
*/
|
|
6408
|
-
executions: components['schemas']['SessionExecution'][];
|
|
6409
|
-
};
|
|
6410
6208
|
/**
|
|
6411
6209
|
* SessionExitStatus
|
|
6412
6210
|
* @description Why a terminal agent session ended — a finer-grained reason than `status`.
|
|
@@ -6523,7 +6321,7 @@ interface components {
|
|
|
6523
6321
|
* @description The durable conversation axis (backs the surfaced `session` field).
|
|
6524
6322
|
* @enum {string}
|
|
6525
6323
|
*/
|
|
6526
|
-
SessionLiveness: 'alive' | '
|
|
6324
|
+
SessionLiveness: 'alive' | 'idle' | 'closed';
|
|
6527
6325
|
/**
|
|
6528
6326
|
* SessionLogSegment
|
|
6529
6327
|
* @description One immutable archived segment of the session log: its feed_seq range
|
|
@@ -6710,61 +6508,6 @@ interface components {
|
|
|
6710
6508
|
/** @description The session. */
|
|
6711
6509
|
session: components['schemas']['Session'];
|
|
6712
6510
|
};
|
|
6713
|
-
/**
|
|
6714
|
-
* SessionSearchResponse
|
|
6715
|
-
* @description A page of session search results.
|
|
6716
|
-
*/
|
|
6717
|
-
SessionSearchResponse: {
|
|
6718
|
-
/**
|
|
6719
|
-
* Attributed Users
|
|
6720
|
-
* @description GitHub account snippets for the user attributions among the results, keyed by attribution_id, so callers can render author logins and avatars.
|
|
6721
|
-
*/
|
|
6722
|
-
attributed_users: {
|
|
6723
|
-
[key: string]: components['schemas']['GithubAccountSnippet'];
|
|
6724
|
-
};
|
|
6725
|
-
/**
|
|
6726
|
-
* Results
|
|
6727
|
-
* @description The matching sessions, newest first.
|
|
6728
|
-
*/
|
|
6729
|
-
results: components['schemas']['SessionSearchResult'][];
|
|
6730
|
-
};
|
|
6731
|
-
/**
|
|
6732
|
-
* SessionSearchResult
|
|
6733
|
-
* @description One search hit: a session plus how and where the query matched it.
|
|
6734
|
-
*/
|
|
6735
|
-
SessionSearchResult: {
|
|
6736
|
-
/**
|
|
6737
|
-
* Matched
|
|
6738
|
-
* @description Which search arms matched this session: "records", "recap", "pr", and/or "similar".
|
|
6739
|
-
*/
|
|
6740
|
-
matched: string[];
|
|
6741
|
-
/**
|
|
6742
|
-
* Recap Snippet
|
|
6743
|
-
* @description A short window of the session's recap text around the first term match; null unless the recap arm matched.
|
|
6744
|
-
*/
|
|
6745
|
-
recap_snippet?: string | null;
|
|
6746
|
-
/**
|
|
6747
|
-
* Record Hit Count
|
|
6748
|
-
* @description Total record hits found for this session within the search window; may exceed the number of record_hits returned.
|
|
6749
|
-
* @default 0
|
|
6750
|
-
*/
|
|
6751
|
-
record_hit_count: number;
|
|
6752
|
-
/**
|
|
6753
|
-
* Record Hits
|
|
6754
|
-
* @description Matching session-log entries, capped per session.
|
|
6755
|
-
* @default []
|
|
6756
|
-
*/
|
|
6757
|
-
record_hits: components['schemas']['RecordHit'][];
|
|
6758
|
-
/** @description The matching session. */
|
|
6759
|
-
session: components['schemas']['Session'];
|
|
6760
|
-
};
|
|
6761
|
-
/**
|
|
6762
|
-
* SessionSearchScope
|
|
6763
|
-
* @description What text a search query is matched against: the session log's record
|
|
6764
|
-
* text, the session recaps (summaries), or both.
|
|
6765
|
-
* @enum {string}
|
|
6766
|
-
*/
|
|
6767
|
-
SessionSearchScope: 'records' | 'recaps' | 'both';
|
|
6768
6511
|
/**
|
|
6769
6512
|
* SessionSource
|
|
6770
6513
|
* @enum {string}
|
|
@@ -10182,9 +9925,9 @@ interface operations {
|
|
|
10182
9925
|
cursor?: string | null;
|
|
10183
9926
|
/** @description A GitHub account id (see GET /v1/integrations/github/members); scopes the list to sessions attributed to that developer. */
|
|
10184
9927
|
author_id?: number | null;
|
|
10185
|
-
/** @description "owner/name" (exact) or a bare repo name
|
|
9928
|
+
/** @description "owner/name" (exact) or a bare repo name. Sessions whose repository is named only inside their agent config — dashboard starts, cron — do not match. */
|
|
10186
9929
|
repo?: string | null;
|
|
10187
|
-
/** @description Keep only sessions whose conversation is still going — live or
|
|
9930
|
+
/** @description Keep only sessions whose conversation is still going — live or idle — dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished. */
|
|
10188
9931
|
unfinished?: boolean;
|
|
10189
9932
|
};
|
|
10190
9933
|
header?: {
|
|
@@ -10304,79 +10047,6 @@ interface operations {
|
|
|
10304
10047
|
};
|
|
10305
10048
|
};
|
|
10306
10049
|
};
|
|
10307
|
-
search_sessions: {
|
|
10308
|
-
parameters: {
|
|
10309
|
-
query: {
|
|
10310
|
-
q: string;
|
|
10311
|
-
scope?: components['schemas']['SessionSearchScope'];
|
|
10312
|
-
source?: components['schemas']['SessionSource'][] | null;
|
|
10313
|
-
/** @description Attributed GitHub user account ids. */
|
|
10314
|
-
author_id?: number[] | null;
|
|
10315
|
-
/** @description Saved agent config ids (ORed with author_id). */
|
|
10316
|
-
config_id?: string[] | null;
|
|
10317
|
-
session_ids?: string[] | null;
|
|
10318
|
-
/** @description "owner/name" (exact) or a bare repo name. */
|
|
10319
|
-
repo?: string | null;
|
|
10320
|
-
status?: components['schemas']['SessionStatus'][] | null;
|
|
10321
|
-
start?: string | null;
|
|
10322
|
-
end?: string | null;
|
|
10323
|
-
limit?: number;
|
|
10324
|
-
};
|
|
10325
|
-
header?: {
|
|
10326
|
-
'user-agent'?: string | null;
|
|
10327
|
-
};
|
|
10328
|
-
path?: never;
|
|
10329
|
-
cookie?: never;
|
|
10330
|
-
};
|
|
10331
|
-
requestBody?: never;
|
|
10332
|
-
responses: {
|
|
10333
|
-
/** @description Successful Response */
|
|
10334
|
-
200: {
|
|
10335
|
-
headers: {
|
|
10336
|
-
[name: string]: unknown;
|
|
10337
|
-
};
|
|
10338
|
-
content: {
|
|
10339
|
-
'application/json': components['schemas']['SessionSearchResponse'];
|
|
10340
|
-
};
|
|
10341
|
-
};
|
|
10342
|
-
/** @description The search query is too short. */
|
|
10343
|
-
400: {
|
|
10344
|
-
headers: {
|
|
10345
|
-
[name: string]: unknown;
|
|
10346
|
-
};
|
|
10347
|
-
content: {
|
|
10348
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10349
|
-
};
|
|
10350
|
-
};
|
|
10351
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
10352
|
-
401: {
|
|
10353
|
-
headers: {
|
|
10354
|
-
[name: string]: unknown;
|
|
10355
|
-
};
|
|
10356
|
-
content: {
|
|
10357
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10358
|
-
};
|
|
10359
|
-
};
|
|
10360
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
10361
|
-
403: {
|
|
10362
|
-
headers: {
|
|
10363
|
-
[name: string]: unknown;
|
|
10364
|
-
};
|
|
10365
|
-
content: {
|
|
10366
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10367
|
-
};
|
|
10368
|
-
};
|
|
10369
|
-
/** @description Validation Error */
|
|
10370
|
-
422: {
|
|
10371
|
-
headers: {
|
|
10372
|
-
[name: string]: unknown;
|
|
10373
|
-
};
|
|
10374
|
-
content: {
|
|
10375
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
10376
|
-
};
|
|
10377
|
-
};
|
|
10378
|
-
};
|
|
10379
|
-
};
|
|
10380
10050
|
get_agent_session: {
|
|
10381
10051
|
parameters: {
|
|
10382
10052
|
query?: never;
|
|
@@ -10437,66 +10107,6 @@ interface operations {
|
|
|
10437
10107
|
};
|
|
10438
10108
|
};
|
|
10439
10109
|
};
|
|
10440
|
-
get_agent_session_executions: {
|
|
10441
|
-
parameters: {
|
|
10442
|
-
query?: never;
|
|
10443
|
-
header?: {
|
|
10444
|
-
'user-agent'?: string | null;
|
|
10445
|
-
};
|
|
10446
|
-
path: {
|
|
10447
|
-
session_id: string;
|
|
10448
|
-
};
|
|
10449
|
-
cookie?: never;
|
|
10450
|
-
};
|
|
10451
|
-
requestBody?: never;
|
|
10452
|
-
responses: {
|
|
10453
|
-
/** @description Successful Response */
|
|
10454
|
-
200: {
|
|
10455
|
-
headers: {
|
|
10456
|
-
[name: string]: unknown;
|
|
10457
|
-
};
|
|
10458
|
-
content: {
|
|
10459
|
-
'application/json': components['schemas']['SessionExecutionsListResponse'];
|
|
10460
|
-
};
|
|
10461
|
-
};
|
|
10462
|
-
/** @description The bearer token is missing, invalid, or revoked. */
|
|
10463
|
-
401: {
|
|
10464
|
-
headers: {
|
|
10465
|
-
[name: string]: unknown;
|
|
10466
|
-
};
|
|
10467
|
-
content: {
|
|
10468
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10469
|
-
};
|
|
10470
|
-
};
|
|
10471
|
-
/** @description The credential may not perform this action, or the account is blocked. */
|
|
10472
|
-
403: {
|
|
10473
|
-
headers: {
|
|
10474
|
-
[name: string]: unknown;
|
|
10475
|
-
};
|
|
10476
|
-
content: {
|
|
10477
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10478
|
-
};
|
|
10479
|
-
};
|
|
10480
|
-
/** @description No such session in your account. */
|
|
10481
|
-
404: {
|
|
10482
|
-
headers: {
|
|
10483
|
-
[name: string]: unknown;
|
|
10484
|
-
};
|
|
10485
|
-
content: {
|
|
10486
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
10487
|
-
};
|
|
10488
|
-
};
|
|
10489
|
-
/** @description Validation Error */
|
|
10490
|
-
422: {
|
|
10491
|
-
headers: {
|
|
10492
|
-
[name: string]: unknown;
|
|
10493
|
-
};
|
|
10494
|
-
content: {
|
|
10495
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
10496
|
-
};
|
|
10497
|
-
};
|
|
10498
|
-
};
|
|
10499
|
-
};
|
|
10500
10110
|
export_agent_session: {
|
|
10501
10111
|
parameters: {
|
|
10502
10112
|
query?: never;
|
|
@@ -11290,7 +10900,7 @@ type RunStatus = 'scheduled' | 'starting' | 'working' | 'waiting' | 'done' | 'fa
|
|
|
11290
10900
|
/**
|
|
11291
10901
|
* The durable conversation axis (backs the surfaced `session` field).
|
|
11292
10902
|
*/
|
|
11293
|
-
type SessionLiveness = 'alive' | '
|
|
10903
|
+
type SessionLiveness = 'alive' | 'idle' | 'closed';
|
|
11294
10904
|
/**
|
|
11295
10905
|
* The first frame after the stream connects: the session plus its open
|
|
11296
10906
|
* inbox. Records always arrive separately via records_append frames.
|
|
@@ -11423,10 +11033,7 @@ interface Session {
|
|
|
11423
11033
|
* The latest live summary of the session's progress while it runs, and when it was generated.
|
|
11424
11034
|
*/
|
|
11425
11035
|
summary: SessionSummary | null;
|
|
11426
|
-
|
|
11427
|
-
* The public status projection; null on list/search responses, which do not derive it.
|
|
11428
|
-
*/
|
|
11429
|
-
surface: SessionSurface | null;
|
|
11036
|
+
surface: SessionSurface;
|
|
11430
11037
|
tokens: SessionTokens;
|
|
11431
11038
|
/**
|
|
11432
11039
|
* When the session was last updated.
|
|
@@ -12065,11 +11672,7 @@ interface SessionSummary {
|
|
|
12065
11672
|
description: string;
|
|
12066
11673
|
}
|
|
12067
11674
|
/**
|
|
12068
|
-
* The
|
|
12069
|
-
*
|
|
12070
|
-
* `use_enum_values=True` (from CustomBaseModel) stores the members as their
|
|
12071
|
-
* string values, so this serializes to `{"session": "alive", "run": "waiting",
|
|
12072
|
-
* "status": "waiting"}` — a plain object, not enum names.
|
|
11675
|
+
* The public status projection: the durable conversation (`session`), the current execution (`run`), and the one derived `status` word.
|
|
12073
11676
|
*/
|
|
12074
11677
|
interface SessionSurface {
|
|
12075
11678
|
run: RunStatus | null;
|
|
@@ -12666,10 +12269,7 @@ interface Session1 {
|
|
|
12666
12269
|
* The latest live summary of the session's progress while it runs, and when it was generated.
|
|
12667
12270
|
*/
|
|
12668
12271
|
summary: SessionSummary | null;
|
|
12669
|
-
|
|
12670
|
-
* The public status projection; null on list/search responses, which do not derive it.
|
|
12671
|
-
*/
|
|
12672
|
-
surface: SessionSurface | null;
|
|
12272
|
+
surface: SessionSurface;
|
|
12673
12273
|
tokens: SessionTokens;
|
|
12674
12274
|
/**
|
|
12675
12275
|
* When the session was last updated.
|
|
@@ -12758,8 +12358,6 @@ type StreamFrame = SessionStreamFrame | {
|
|
|
12758
12358
|
};
|
|
12759
12359
|
type SendSessionMessageRequest = components['schemas']['SendSessionMessageRequest'];
|
|
12760
12360
|
type SessionRecordsListResponse = components['schemas']['SessionRecordsListResponse'];
|
|
12761
|
-
type SessionExecutionsListResponse = components['schemas']['SessionExecutionsListResponse'];
|
|
12762
|
-
type SessionExecution = components['schemas']['SessionExecution'];
|
|
12763
12361
|
type SessionResponse = components['schemas']['SessionResponse'];
|
|
12764
12362
|
type SessionMessageResponse = components['schemas']['SessionMessageResponse'];
|
|
12765
12363
|
type SessionsListResponse = components['schemas']['SessionsListResponse'];
|
|
@@ -12777,4 +12375,4 @@ type ReviewRequester = components['schemas']['ReviewRequester'];
|
|
|
12777
12375
|
type ReviewFinding = components['schemas']['ReviewFinding'];
|
|
12778
12376
|
type Finding = ReviewFinding;
|
|
12779
12377
|
|
|
12780
|
-
export type {
|
|
12378
|
+
export type { SessionState as $, AgentConfigSource as A, BudgetSource as B, ClaudeSessionRecord as C, DeltaFrame as D, ErrorFrame as E, Finding as F, GithubAccountSnippet as G, Harness as H, SdkUserRecord as I, SendSessionMessageRequest as J, Session as K, LifecycleSessionRecord as L, SessionExitStatus as M, SessionFrame as N, SessionGit as O, ParentKind as P, SessionLiveness as Q, RecordsAppendFrame as R, SdkAssistantRecord as S, SessionMessage as T, SessionMessageResponse as U, SessionMessageStatus as V, SessionPrompting as W, SessionRecord as X, SessionRecordsListResponse as Y, SessionResponse as Z, SessionSource as _, AttributionType as a, SessionStatus as a0, SessionStreamFrame as a1, SessionSurface as a2, SessionsListResponse as a3, SnapshotFrame as a4, StreamFrame as a5, TokensInfo as a6, paths as a7, CodexFileChangeItem as a8, CodexMcpToolCallItem as a9, CodexEvent as b, components as c, CodexItem as d, CodexSessionRecord as e, CreateReviewRequest as f, DoneFrame as g, GithubAccountType as h, HeartbeatFrame as i, PromptBlockedReason as j, ResolvedReviewScope as k, Review as l, ReviewConfiguration as m, ReviewCounters as n, ReviewFinding as o, ReviewRequester as p, ReviewScope as q, ReviewScopeKind as r, ReviewStage as s, ReviewedCommit as t, ReviewsListResponse as u, SdkContentBlock as v, SdkRateLimitRecord as w, SdkRecord as x, SdkResultRecord as y, SdkSystemRecord as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ellipsis-dev/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.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",
|
|
@@ -4263,16 +4263,8 @@
|
|
|
4263
4263
|
"description": "The latest live summary of the session's progress while it runs, and when it was generated."
|
|
4264
4264
|
},
|
|
4265
4265
|
"surface": {
|
|
4266
|
-
"
|
|
4267
|
-
|
|
4268
|
-
"$ref": "#/$defs/SessionSurface"
|
|
4269
|
-
},
|
|
4270
|
-
{
|
|
4271
|
-
"type": "null"
|
|
4272
|
-
}
|
|
4273
|
-
],
|
|
4274
|
-
"default": null,
|
|
4275
|
-
"description": "The public status projection; null on list/search responses, which do not derive it."
|
|
4266
|
+
"$ref": "#/$defs/SessionSurface",
|
|
4267
|
+
"description": "The public status projection: the durable conversation (`session`), the current execution (`run`), and the one derived `status` word."
|
|
4276
4268
|
},
|
|
4277
4269
|
"tokens": {
|
|
4278
4270
|
"$ref": "#/$defs/SessionTokens",
|
|
@@ -4769,7 +4761,7 @@
|
|
|
4769
4761
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
4770
4762
|
"enum": [
|
|
4771
4763
|
"alive",
|
|
4772
|
-
"
|
|
4764
|
+
"idle",
|
|
4773
4765
|
"closed"
|
|
4774
4766
|
],
|
|
4775
4767
|
"title": "SessionLiveness",
|