@ellipsis-dev/sdk 0.15.0 → 0.16.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/chunk-RMPAMUAE.js +208 -0
- package/dist/index.d.ts +2 -2
- package/dist/store/index.d.ts +45 -2
- package/dist/store/index.js +320 -4
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.js +18 -189
- package/dist/{types-DtVn9Yj3.d.ts → types-DB1hOyQE.d.ts} +120 -49
- package/package.json +1 -1
- package/schema/frames.schema.json +176 -67
- package/schema/openapi.v1.json +168 -74
|
@@ -4085,11 +4085,10 @@ interface components {
|
|
|
4085
4085
|
* @description Who BUILT a model. Never who serves it.
|
|
4086
4086
|
*
|
|
4087
4087
|
* Serving path is irrelevant here. Anthropic built every Claude model, so all of
|
|
4088
|
-
* them are ANTHROPIC
|
|
4089
|
-
*
|
|
4090
|
-
*
|
|
4091
|
-
*
|
|
4092
|
-
* (Z.ai's model, served by DeepInfra via OpenRouter).
|
|
4088
|
+
* them are ANTHROPIC even though OpenRouter is what actually serves them.
|
|
4089
|
+
* Likewise the `gpt-5.6-*` rows are OPENAI (OpenAI's models, resold to us by
|
|
4090
|
+
* OpenRouter), and GLM is ZAI (Z.ai's model, served by DeepInfra via
|
|
4091
|
+
* OpenRouter).
|
|
4093
4092
|
*
|
|
4094
4093
|
* So this is deliberately NOT derived from `EgressRoute.provider`: routing is an
|
|
4095
4094
|
* infrastructure fact that changes when we move a model between providers, while
|
|
@@ -4626,16 +4625,13 @@ interface components {
|
|
|
4626
4625
|
* @description The session execution that produced the record, or null for session-scoped lifecycle records.
|
|
4627
4626
|
*/
|
|
4628
4627
|
execution_id?: string | null;
|
|
4628
|
+
/** @description What the session did to git, per repository, so a result row can show what it shipped without fetching the session. */
|
|
4629
|
+
git?: components['schemas']['SessionGit'] | null;
|
|
4629
4630
|
/**
|
|
4630
4631
|
* Id
|
|
4631
4632
|
* @description The matching record's unique identifier.
|
|
4632
4633
|
*/
|
|
4633
4634
|
id: string;
|
|
4634
|
-
/**
|
|
4635
|
-
* Output Prs
|
|
4636
|
-
* @description Pull requests the session created, so a result row can show what it shipped without fetching the session.
|
|
4637
|
-
*/
|
|
4638
|
-
output_prs?: components['schemas']['SessionPr'][] | null;
|
|
4639
4635
|
/**
|
|
4640
4636
|
* Record Type
|
|
4641
4637
|
* @description The record's event type.
|
|
@@ -5978,6 +5974,8 @@ interface components {
|
|
|
5978
5974
|
created_at: string;
|
|
5979
5975
|
/** @description How the session ended; null until it is terminal. */
|
|
5980
5976
|
exit_status?: components['schemas']['SessionExitStatus'] | null;
|
|
5977
|
+
/** @description What the session did to git, one entry per repository in its workspace: the commit and branch it sits on, per-file line counts for its uncommitted changes, and the pull requests it opened. Null if nothing was ever captured. */
|
|
5978
|
+
git?: components['schemas']['SessionGit'] | null;
|
|
5981
5979
|
/** @description The coding-agent harness the session runs on. */
|
|
5982
5980
|
harness: components['schemas']['Harness'];
|
|
5983
5981
|
/**
|
|
@@ -6003,11 +6001,6 @@ interface components {
|
|
|
6003
6001
|
metadata: {
|
|
6004
6002
|
[key: string]: string;
|
|
6005
6003
|
};
|
|
6006
|
-
/**
|
|
6007
|
-
* Output Prs
|
|
6008
|
-
* @description Pull requests the session created or updated.
|
|
6009
|
-
*/
|
|
6010
|
-
output_prs?: components['schemas']['SessionPr'][] | null;
|
|
6011
6004
|
/** @description What preceded this session, if anything. */
|
|
6012
6005
|
parent?: components['schemas']['SessionParent'];
|
|
6013
6006
|
/**
|
|
@@ -6234,6 +6227,75 @@ interface components {
|
|
|
6234
6227
|
* @enum {string}
|
|
6235
6228
|
*/
|
|
6236
6229
|
SessionExitStatus: 'completed' | 'budget_hit' | 'payment_required' | 'tool_call_failed' | 'lifecycle_hook_failed' | 'missing_repo_access' | 'missing_token_permissions' | 'missing_sandbox_variables' | 'blocked' | 'contact_email_required' | 'cancelled' | 'interrupted' | 'error' | 'stopped';
|
|
6230
|
+
/**
|
|
6231
|
+
* SessionGit
|
|
6232
|
+
* @description Every repo the session touched. Small enough to ride on `agent_sessions`
|
|
6233
|
+
* and be returned by every session read.
|
|
6234
|
+
*/
|
|
6235
|
+
SessionGit: {
|
|
6236
|
+
/**
|
|
6237
|
+
* Repos
|
|
6238
|
+
* @default []
|
|
6239
|
+
*/
|
|
6240
|
+
repos: components['schemas']['SessionGitRepo'][];
|
|
6241
|
+
};
|
|
6242
|
+
/**
|
|
6243
|
+
* SessionGitFile
|
|
6244
|
+
* @description One file's uncommitted change, as `git diff HEAD --numstat` reports it
|
|
6245
|
+
* (with intent-to-add, so a brand-new file still counts).
|
|
6246
|
+
*/
|
|
6247
|
+
SessionGitFile: {
|
|
6248
|
+
/** Additions */
|
|
6249
|
+
additions: number;
|
|
6250
|
+
/** Deletions */
|
|
6251
|
+
deletions: number;
|
|
6252
|
+
/** Path */
|
|
6253
|
+
path: string;
|
|
6254
|
+
/** Status */
|
|
6255
|
+
status: string;
|
|
6256
|
+
};
|
|
6257
|
+
/**
|
|
6258
|
+
* SessionGitPr
|
|
6259
|
+
* @description A pull request the session opened in this repo, denormalized at capture
|
|
6260
|
+
* time so a surface renders a labeled link without joining gh_prs. Live PR
|
|
6261
|
+
* state (open/merged/closed) is not stored — read gh_prs where a view needs
|
|
6262
|
+
* it. The repo is the parent object, so it is not repeated here.
|
|
6263
|
+
*/
|
|
6264
|
+
SessionGitPr: {
|
|
6265
|
+
/** Gh Pr Id */
|
|
6266
|
+
gh_pr_id?: number | null;
|
|
6267
|
+
/** Number */
|
|
6268
|
+
number: number;
|
|
6269
|
+
/** Title */
|
|
6270
|
+
title?: string | null;
|
|
6271
|
+
/** Url */
|
|
6272
|
+
url: string;
|
|
6273
|
+
};
|
|
6274
|
+
/**
|
|
6275
|
+
* SessionGitRepo
|
|
6276
|
+
* @description One checkout in the session's sandbox and everything the session did to
|
|
6277
|
+
* it, split by whether it survived the sandbox.
|
|
6278
|
+
*/
|
|
6279
|
+
SessionGitRepo: {
|
|
6280
|
+
/** Full Name */
|
|
6281
|
+
full_name: string;
|
|
6282
|
+
/** Local Commit */
|
|
6283
|
+
local_commit?: string | null;
|
|
6284
|
+
/**
|
|
6285
|
+
* Local Uncommitted Files
|
|
6286
|
+
* @default []
|
|
6287
|
+
*/
|
|
6288
|
+
local_uncommitted_files: components['schemas']['SessionGitFile'][];
|
|
6289
|
+
/**
|
|
6290
|
+
* Prs
|
|
6291
|
+
* @default []
|
|
6292
|
+
*/
|
|
6293
|
+
prs: components['schemas']['SessionGitPr'][];
|
|
6294
|
+
/** Remote Branch */
|
|
6295
|
+
remote_branch?: string | null;
|
|
6296
|
+
/** Remote Commit */
|
|
6297
|
+
remote_commit?: string | null;
|
|
6298
|
+
};
|
|
6237
6299
|
/**
|
|
6238
6300
|
* SessionLiveness
|
|
6239
6301
|
* @description The durable conversation axis (backs the surfaced `session` field).
|
|
@@ -6368,25 +6430,6 @@ interface components {
|
|
|
6368
6430
|
*/
|
|
6369
6431
|
session_id?: string | null;
|
|
6370
6432
|
};
|
|
6371
|
-
/**
|
|
6372
|
-
* SessionPr
|
|
6373
|
-
* @description A pull request this session created, denormalized at capture time so
|
|
6374
|
-
* session surfaces render a labeled link without joining gh_prs. Live PR
|
|
6375
|
-
* state (open/merged/closed) is not stored here — read it from gh_prs where
|
|
6376
|
-
* a view needs it.
|
|
6377
|
-
*/
|
|
6378
|
-
SessionPr: {
|
|
6379
|
-
/** Gh Pr Id */
|
|
6380
|
-
gh_pr_id?: number | null;
|
|
6381
|
-
/** Number */
|
|
6382
|
-
number: number;
|
|
6383
|
-
/** Repo Full Name */
|
|
6384
|
-
repo_full_name: string;
|
|
6385
|
-
/** Title */
|
|
6386
|
-
title?: string | null;
|
|
6387
|
-
/** Url */
|
|
6388
|
-
url: string;
|
|
6389
|
-
};
|
|
6390
6433
|
/**
|
|
6391
6434
|
* SessionPrompting
|
|
6392
6435
|
* @description The prompt-affordance projection. `enabled` answers "would a send work",
|
|
@@ -10812,6 +10855,10 @@ interface Session {
|
|
|
10812
10855
|
* How the session ended; null until it is terminal.
|
|
10813
10856
|
*/
|
|
10814
10857
|
exit_status: SessionExitStatus | null;
|
|
10858
|
+
/**
|
|
10859
|
+
* What the session did to git, one entry per repository in its workspace: the commit and branch it sits on, per-file line counts for its uncommitted changes, and the pull requests it opened. Null if nothing was ever captured.
|
|
10860
|
+
*/
|
|
10861
|
+
git: SessionGit | null;
|
|
10815
10862
|
harness: Harness;
|
|
10816
10863
|
/**
|
|
10817
10864
|
* Unique identifier of the session.
|
|
@@ -10831,10 +10878,6 @@ interface Session {
|
|
|
10831
10878
|
metadata: {
|
|
10832
10879
|
[k: string]: string;
|
|
10833
10880
|
};
|
|
10834
|
-
/**
|
|
10835
|
-
* Pull requests the session created or updated.
|
|
10836
|
-
*/
|
|
10837
|
-
output_prs: SessionPr[] | null;
|
|
10838
10881
|
parent: SessionParent;
|
|
10839
10882
|
/**
|
|
10840
10883
|
* The per-session prompt the session was started with.
|
|
@@ -11344,15 +11387,43 @@ interface SessionCost {
|
|
|
11344
11387
|
total: number;
|
|
11345
11388
|
}
|
|
11346
11389
|
/**
|
|
11347
|
-
*
|
|
11348
|
-
*
|
|
11349
|
-
|
|
11350
|
-
|
|
11390
|
+
* Every repo the session touched. Small enough to ride on `agent_sessions`
|
|
11391
|
+
* and be returned by every session read.
|
|
11392
|
+
*/
|
|
11393
|
+
interface SessionGit {
|
|
11394
|
+
repos: SessionGitRepo[];
|
|
11395
|
+
}
|
|
11396
|
+
/**
|
|
11397
|
+
* One checkout in the session's sandbox and everything the session did to
|
|
11398
|
+
* it, split by whether it survived the sandbox.
|
|
11399
|
+
*/
|
|
11400
|
+
interface SessionGitRepo {
|
|
11401
|
+
full_name: string;
|
|
11402
|
+
local_commit: string | null;
|
|
11403
|
+
local_uncommitted_files: SessionGitFile[];
|
|
11404
|
+
prs: SessionGitPr[];
|
|
11405
|
+
remote_branch: string | null;
|
|
11406
|
+
remote_commit: string | null;
|
|
11407
|
+
}
|
|
11408
|
+
/**
|
|
11409
|
+
* One file's uncommitted change, as `git diff HEAD --numstat` reports it
|
|
11410
|
+
* (with intent-to-add, so a brand-new file still counts).
|
|
11351
11411
|
*/
|
|
11352
|
-
interface
|
|
11412
|
+
interface SessionGitFile {
|
|
11413
|
+
additions: number;
|
|
11414
|
+
deletions: number;
|
|
11415
|
+
path: string;
|
|
11416
|
+
status: string;
|
|
11417
|
+
}
|
|
11418
|
+
/**
|
|
11419
|
+
* A pull request the session opened in this repo, denormalized at capture
|
|
11420
|
+
* time so a surface renders a labeled link without joining gh_prs. Live PR
|
|
11421
|
+
* state (open/merged/closed) is not stored — read gh_prs where a view needs
|
|
11422
|
+
* it. The repo is the parent object, so it is not repeated here.
|
|
11423
|
+
*/
|
|
11424
|
+
interface SessionGitPr {
|
|
11353
11425
|
gh_pr_id: number | null;
|
|
11354
11426
|
number: number;
|
|
11355
|
-
repo_full_name: string;
|
|
11356
11427
|
url: string;
|
|
11357
11428
|
}
|
|
11358
11429
|
/**
|
|
@@ -11969,6 +12040,10 @@ interface Session1 {
|
|
|
11969
12040
|
* How the session ended; null until it is terminal.
|
|
11970
12041
|
*/
|
|
11971
12042
|
exit_status: SessionExitStatus | null;
|
|
12043
|
+
/**
|
|
12044
|
+
* What the session did to git, one entry per repository in its workspace: the commit and branch it sits on, per-file line counts for its uncommitted changes, and the pull requests it opened. Null if nothing was ever captured.
|
|
12045
|
+
*/
|
|
12046
|
+
git: SessionGit | null;
|
|
11972
12047
|
harness: Harness;
|
|
11973
12048
|
/**
|
|
11974
12049
|
* Unique identifier of the session.
|
|
@@ -11988,10 +12063,6 @@ interface Session1 {
|
|
|
11988
12063
|
metadata: {
|
|
11989
12064
|
[k: string]: string;
|
|
11990
12065
|
};
|
|
11991
|
-
/**
|
|
11992
|
-
* Pull requests the session created or updated.
|
|
11993
|
-
*/
|
|
11994
|
-
output_prs: SessionPr[] | null;
|
|
11995
12066
|
parent: SessionParent;
|
|
11996
12067
|
/**
|
|
11997
12068
|
* The per-session prompt the session was started with.
|
|
@@ -12124,4 +12195,4 @@ type ReviewRequester = components['schemas']['ReviewRequester'];
|
|
|
12124
12195
|
type ReviewFinding = components['schemas']['ReviewFinding'];
|
|
12125
12196
|
type Finding = ReviewFinding;
|
|
12126
12197
|
|
|
12127
|
-
export type { SessionResponse 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, SessionExecution as M, SessionExecutionsListResponse as N, SessionExitStatus as O, ParentKind as P, SessionFrame as Q, RecordsAppendFrame as R, SdkAssistantRecord as S,
|
|
12198
|
+
export type { SessionResponse 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, SessionExecution as M, SessionExecutionsListResponse as N, SessionExitStatus as O, ParentKind as P, SessionFrame as Q, RecordsAppendFrame as R, SdkAssistantRecord as S, SessionGit as T, SessionLiveness as U, SessionMessage as V, SessionMessageResponse as W, SessionMessageStatus as X, SessionPrompting as Y, SessionRecord as Z, SessionRecordsListResponse as _, AttributionType as a, SessionSource as a0, SessionState as a1, SessionStatus as a2, SessionStreamFrame as a3, SessionSurface as a4, SessionsListResponse as a5, SnapshotFrame as a6, StreamFrame as a7, TokensInfo as a8, paths as a9, CodexFileChangeItem as aa, CodexMcpToolCallItem as ab, 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.16.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",
|
|
@@ -4036,6 +4036,18 @@
|
|
|
4036
4036
|
"default": null,
|
|
4037
4037
|
"description": "How the session ended; null until it is terminal."
|
|
4038
4038
|
},
|
|
4039
|
+
"git": {
|
|
4040
|
+
"anyOf": [
|
|
4041
|
+
{
|
|
4042
|
+
"$ref": "#/$defs/SessionGit"
|
|
4043
|
+
},
|
|
4044
|
+
{
|
|
4045
|
+
"type": "null"
|
|
4046
|
+
}
|
|
4047
|
+
],
|
|
4048
|
+
"default": null,
|
|
4049
|
+
"description": "What the session did to git, one entry per repository in its workspace: the commit and branch it sits on, per-file line counts for its uncommitted changes, and the pull requests it opened. Null if nothing was ever captured."
|
|
4050
|
+
},
|
|
4039
4051
|
"harness": {
|
|
4040
4052
|
"$ref": "#/$defs/Harness",
|
|
4041
4053
|
"description": "The coding-agent harness the session runs on."
|
|
@@ -4082,22 +4094,6 @@
|
|
|
4082
4094
|
"title": "Metadata",
|
|
4083
4095
|
"type": "object"
|
|
4084
4096
|
},
|
|
4085
|
-
"output_prs": {
|
|
4086
|
-
"anyOf": [
|
|
4087
|
-
{
|
|
4088
|
-
"items": {
|
|
4089
|
-
"$ref": "#/$defs/SessionPr"
|
|
4090
|
-
},
|
|
4091
|
-
"type": "array"
|
|
4092
|
-
},
|
|
4093
|
-
{
|
|
4094
|
-
"type": "null"
|
|
4095
|
-
}
|
|
4096
|
-
],
|
|
4097
|
-
"default": null,
|
|
4098
|
-
"description": "Pull requests the session created or updated.",
|
|
4099
|
-
"title": "Output Prs"
|
|
4100
|
-
},
|
|
4101
4097
|
"parent": {
|
|
4102
4098
|
"$ref": "#/$defs/SessionParent",
|
|
4103
4099
|
"description": "What preceded this session, if anything."
|
|
@@ -4199,12 +4195,12 @@
|
|
|
4199
4195
|
"cost",
|
|
4200
4196
|
"created_at",
|
|
4201
4197
|
"exit_status",
|
|
4198
|
+
"git",
|
|
4202
4199
|
"harness",
|
|
4203
4200
|
"id",
|
|
4204
4201
|
"last_activity_at",
|
|
4205
4202
|
"last_message_at",
|
|
4206
4203
|
"metadata",
|
|
4207
|
-
"output_prs",
|
|
4208
4204
|
"parent",
|
|
4209
4205
|
"prompt",
|
|
4210
4206
|
"prompting",
|
|
@@ -4426,6 +4422,169 @@
|
|
|
4426
4422
|
"title": "SessionFrame",
|
|
4427
4423
|
"type": "object"
|
|
4428
4424
|
},
|
|
4425
|
+
"SessionGit": {
|
|
4426
|
+
"description": "Every repo the session touched. Small enough to ride on `agent_sessions`\nand be returned by every session read.",
|
|
4427
|
+
"properties": {
|
|
4428
|
+
"repos": {
|
|
4429
|
+
"default": [],
|
|
4430
|
+
"items": {
|
|
4431
|
+
"$ref": "#/$defs/SessionGitRepo"
|
|
4432
|
+
},
|
|
4433
|
+
"title": "Repos",
|
|
4434
|
+
"type": "array"
|
|
4435
|
+
}
|
|
4436
|
+
},
|
|
4437
|
+
"required": [
|
|
4438
|
+
"repos"
|
|
4439
|
+
],
|
|
4440
|
+
"title": "SessionGit",
|
|
4441
|
+
"type": "object"
|
|
4442
|
+
},
|
|
4443
|
+
"SessionGitFile": {
|
|
4444
|
+
"description": "One file's uncommitted change, as `git diff HEAD --numstat` reports it\n(with intent-to-add, so a brand-new file still counts).",
|
|
4445
|
+
"properties": {
|
|
4446
|
+
"additions": {
|
|
4447
|
+
"title": "Additions",
|
|
4448
|
+
"type": "integer"
|
|
4449
|
+
},
|
|
4450
|
+
"deletions": {
|
|
4451
|
+
"title": "Deletions",
|
|
4452
|
+
"type": "integer"
|
|
4453
|
+
},
|
|
4454
|
+
"path": {
|
|
4455
|
+
"title": "Path",
|
|
4456
|
+
"type": "string"
|
|
4457
|
+
},
|
|
4458
|
+
"status": {
|
|
4459
|
+
"title": "Status",
|
|
4460
|
+
"type": "string"
|
|
4461
|
+
}
|
|
4462
|
+
},
|
|
4463
|
+
"required": [
|
|
4464
|
+
"additions",
|
|
4465
|
+
"deletions",
|
|
4466
|
+
"path",
|
|
4467
|
+
"status"
|
|
4468
|
+
],
|
|
4469
|
+
"title": "SessionGitFile",
|
|
4470
|
+
"type": "object"
|
|
4471
|
+
},
|
|
4472
|
+
"SessionGitPr": {
|
|
4473
|
+
"description": "A pull request the session opened in this repo, denormalized at capture\ntime so a surface renders a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored \u2014 read gh_prs where a view needs\nit. The repo is the parent object, so it is not repeated here.",
|
|
4474
|
+
"properties": {
|
|
4475
|
+
"gh_pr_id": {
|
|
4476
|
+
"anyOf": [
|
|
4477
|
+
{
|
|
4478
|
+
"type": "integer"
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
"type": "null"
|
|
4482
|
+
}
|
|
4483
|
+
],
|
|
4484
|
+
"default": null,
|
|
4485
|
+
"title": "Gh Pr Id"
|
|
4486
|
+
},
|
|
4487
|
+
"number": {
|
|
4488
|
+
"title": "Number",
|
|
4489
|
+
"type": "integer"
|
|
4490
|
+
},
|
|
4491
|
+
"title": {
|
|
4492
|
+
"anyOf": [
|
|
4493
|
+
{
|
|
4494
|
+
"type": "string"
|
|
4495
|
+
},
|
|
4496
|
+
{
|
|
4497
|
+
"type": "null"
|
|
4498
|
+
}
|
|
4499
|
+
],
|
|
4500
|
+
"default": null,
|
|
4501
|
+
"title": "Title"
|
|
4502
|
+
},
|
|
4503
|
+
"url": {
|
|
4504
|
+
"title": "Url",
|
|
4505
|
+
"type": "string"
|
|
4506
|
+
}
|
|
4507
|
+
},
|
|
4508
|
+
"required": [
|
|
4509
|
+
"gh_pr_id",
|
|
4510
|
+
"number",
|
|
4511
|
+
"title",
|
|
4512
|
+
"url"
|
|
4513
|
+
],
|
|
4514
|
+
"title": "SessionGitPr",
|
|
4515
|
+
"type": "object"
|
|
4516
|
+
},
|
|
4517
|
+
"SessionGitRepo": {
|
|
4518
|
+
"description": "One checkout in the session's sandbox and everything the session did to\nit, split by whether it survived the sandbox.",
|
|
4519
|
+
"properties": {
|
|
4520
|
+
"full_name": {
|
|
4521
|
+
"title": "Full Name",
|
|
4522
|
+
"type": "string"
|
|
4523
|
+
},
|
|
4524
|
+
"local_commit": {
|
|
4525
|
+
"anyOf": [
|
|
4526
|
+
{
|
|
4527
|
+
"type": "string"
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"type": "null"
|
|
4531
|
+
}
|
|
4532
|
+
],
|
|
4533
|
+
"default": null,
|
|
4534
|
+
"title": "Local Commit"
|
|
4535
|
+
},
|
|
4536
|
+
"local_uncommitted_files": {
|
|
4537
|
+
"default": [],
|
|
4538
|
+
"items": {
|
|
4539
|
+
"$ref": "#/$defs/SessionGitFile"
|
|
4540
|
+
},
|
|
4541
|
+
"title": "Local Uncommitted Files",
|
|
4542
|
+
"type": "array"
|
|
4543
|
+
},
|
|
4544
|
+
"prs": {
|
|
4545
|
+
"default": [],
|
|
4546
|
+
"items": {
|
|
4547
|
+
"$ref": "#/$defs/SessionGitPr"
|
|
4548
|
+
},
|
|
4549
|
+
"title": "Prs",
|
|
4550
|
+
"type": "array"
|
|
4551
|
+
},
|
|
4552
|
+
"remote_branch": {
|
|
4553
|
+
"anyOf": [
|
|
4554
|
+
{
|
|
4555
|
+
"type": "string"
|
|
4556
|
+
},
|
|
4557
|
+
{
|
|
4558
|
+
"type": "null"
|
|
4559
|
+
}
|
|
4560
|
+
],
|
|
4561
|
+
"default": null,
|
|
4562
|
+
"title": "Remote Branch"
|
|
4563
|
+
},
|
|
4564
|
+
"remote_commit": {
|
|
4565
|
+
"anyOf": [
|
|
4566
|
+
{
|
|
4567
|
+
"type": "string"
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"type": "null"
|
|
4571
|
+
}
|
|
4572
|
+
],
|
|
4573
|
+
"default": null,
|
|
4574
|
+
"title": "Remote Commit"
|
|
4575
|
+
}
|
|
4576
|
+
},
|
|
4577
|
+
"required": [
|
|
4578
|
+
"full_name",
|
|
4579
|
+
"local_commit",
|
|
4580
|
+
"local_uncommitted_files",
|
|
4581
|
+
"prs",
|
|
4582
|
+
"remote_branch",
|
|
4583
|
+
"remote_commit"
|
|
4584
|
+
],
|
|
4585
|
+
"title": "SessionGitRepo",
|
|
4586
|
+
"type": "object"
|
|
4587
|
+
},
|
|
4429
4588
|
"SessionLiveness": {
|
|
4430
4589
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
4431
4590
|
"enum": [
|
|
@@ -4617,56 +4776,6 @@
|
|
|
4617
4776
|
"title": "SessionParent",
|
|
4618
4777
|
"type": "object"
|
|
4619
4778
|
},
|
|
4620
|
-
"SessionPr": {
|
|
4621
|
-
"description": "A pull request this session created, denormalized at capture time so\nsession surfaces render a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored here \u2014 read it from gh_prs where\na view needs it.",
|
|
4622
|
-
"properties": {
|
|
4623
|
-
"gh_pr_id": {
|
|
4624
|
-
"anyOf": [
|
|
4625
|
-
{
|
|
4626
|
-
"type": "integer"
|
|
4627
|
-
},
|
|
4628
|
-
{
|
|
4629
|
-
"type": "null"
|
|
4630
|
-
}
|
|
4631
|
-
],
|
|
4632
|
-
"default": null,
|
|
4633
|
-
"title": "Gh Pr Id"
|
|
4634
|
-
},
|
|
4635
|
-
"number": {
|
|
4636
|
-
"title": "Number",
|
|
4637
|
-
"type": "integer"
|
|
4638
|
-
},
|
|
4639
|
-
"repo_full_name": {
|
|
4640
|
-
"title": "Repo Full Name",
|
|
4641
|
-
"type": "string"
|
|
4642
|
-
},
|
|
4643
|
-
"title": {
|
|
4644
|
-
"anyOf": [
|
|
4645
|
-
{
|
|
4646
|
-
"type": "string"
|
|
4647
|
-
},
|
|
4648
|
-
{
|
|
4649
|
-
"type": "null"
|
|
4650
|
-
}
|
|
4651
|
-
],
|
|
4652
|
-
"default": null,
|
|
4653
|
-
"title": "Title"
|
|
4654
|
-
},
|
|
4655
|
-
"url": {
|
|
4656
|
-
"title": "Url",
|
|
4657
|
-
"type": "string"
|
|
4658
|
-
}
|
|
4659
|
-
},
|
|
4660
|
-
"required": [
|
|
4661
|
-
"gh_pr_id",
|
|
4662
|
-
"number",
|
|
4663
|
-
"repo_full_name",
|
|
4664
|
-
"title",
|
|
4665
|
-
"url"
|
|
4666
|
-
],
|
|
4667
|
-
"title": "SessionPr",
|
|
4668
|
-
"type": "object"
|
|
4669
|
-
},
|
|
4670
4779
|
"SessionPrompting": {
|
|
4671
4780
|
"description": "The prompt-affordance projection. `enabled` answers \"would a send work\",\nand when it wouldn't, `blocked_reason` + `detail` say why.\n\n`surface_name` is set only for MENTION_SURFACE, naming where to reply.",
|
|
4672
4781
|
"properties": {
|