@empiricalrun/playwright-utils 0.66.4 → 0.67.1
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 +19 -0
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +0 -30
- package/dist/config/proxy.d.ts.map +1 -1
- package/dist/config/proxy.js +41 -1
- package/dist/generated/api-worker-openapi.d.ts +310 -56
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/package.json +4 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3149,7 +3149,7 @@ export interface paths {
|
|
|
3149
3149
|
put?: never;
|
|
3150
3150
|
/**
|
|
3151
3151
|
* ⚙️ Forward a sandbox lifecycle event
|
|
3152
|
-
* @description Forwards a sandbox lifecycle event (crashed/destroyed) to the session Durable Object. Internal
|
|
3152
|
+
* @description Forwards a sandbox lifecycle event (crashed/destroyed) to the session Durable Object. Internal callers only.
|
|
3153
3153
|
*/
|
|
3154
3154
|
post: operations["applyChatSessionSandboxLifecycle"];
|
|
3155
3155
|
delete?: never;
|
|
@@ -3983,7 +3983,7 @@ export interface paths {
|
|
|
3983
3983
|
};
|
|
3984
3984
|
/**
|
|
3985
3985
|
* List Hive agents
|
|
3986
|
-
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive.
|
|
3986
|
+
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive.
|
|
3987
3987
|
*/
|
|
3988
3988
|
get: operations["listHiveAgents"];
|
|
3989
3989
|
put?: never;
|
|
@@ -4064,7 +4064,7 @@ export interface paths {
|
|
|
4064
4064
|
get?: never;
|
|
4065
4065
|
put?: never;
|
|
4066
4066
|
/**
|
|
4067
|
-
*
|
|
4067
|
+
* 🛡️ Enqueue project blocks syncs
|
|
4068
4068
|
* @description Enqueues background jobs that regenerate agent prompt blocks from the default branch, for one project or every active project.
|
|
4069
4069
|
*/
|
|
4070
4070
|
post: operations["enqueueProjectBlocksSync"];
|
|
@@ -6536,6 +6536,26 @@ export interface paths {
|
|
|
6536
6536
|
patch?: never;
|
|
6537
6537
|
trace?: never;
|
|
6538
6538
|
};
|
|
6539
|
+
"/api/users/cli-login-codes/redeem": {
|
|
6540
|
+
parameters: {
|
|
6541
|
+
query?: never;
|
|
6542
|
+
header?: never;
|
|
6543
|
+
path?: never;
|
|
6544
|
+
cookie?: never;
|
|
6545
|
+
};
|
|
6546
|
+
get?: never;
|
|
6547
|
+
put?: never;
|
|
6548
|
+
/**
|
|
6549
|
+
* Redeem a one-time CLI login code
|
|
6550
|
+
* @description Swaps the code from the dashboard's setup prompt for an approved Supabase authorization code. Works once, before the code expires.
|
|
6551
|
+
*/
|
|
6552
|
+
post: operations["redeemCliLoginCode"];
|
|
6553
|
+
delete?: never;
|
|
6554
|
+
options?: never;
|
|
6555
|
+
head?: never;
|
|
6556
|
+
patch?: never;
|
|
6557
|
+
trace?: never;
|
|
6558
|
+
};
|
|
6539
6559
|
"/api/users/github-link": {
|
|
6540
6560
|
parameters: {
|
|
6541
6561
|
query?: never;
|
|
@@ -6608,6 +6628,66 @@ export interface paths {
|
|
|
6608
6628
|
patch?: never;
|
|
6609
6629
|
trace?: never;
|
|
6610
6630
|
};
|
|
6631
|
+
"/api/users/me/cli-login-codes": {
|
|
6632
|
+
parameters: {
|
|
6633
|
+
query?: never;
|
|
6634
|
+
header?: never;
|
|
6635
|
+
path?: never;
|
|
6636
|
+
cookie?: never;
|
|
6637
|
+
};
|
|
6638
|
+
get?: never;
|
|
6639
|
+
put?: never;
|
|
6640
|
+
/**
|
|
6641
|
+
* Create a one-time CLI login code
|
|
6642
|
+
* @description Approves a CLI login for the caller and wraps it in a one-time code for `empirical login --code`.
|
|
6643
|
+
*/
|
|
6644
|
+
post: operations["createMyCliLoginCode"];
|
|
6645
|
+
delete?: never;
|
|
6646
|
+
options?: never;
|
|
6647
|
+
head?: never;
|
|
6648
|
+
patch?: never;
|
|
6649
|
+
trace?: never;
|
|
6650
|
+
};
|
|
6651
|
+
"/api/users/me/cli-login-codes/{id}": {
|
|
6652
|
+
parameters: {
|
|
6653
|
+
query?: never;
|
|
6654
|
+
header?: never;
|
|
6655
|
+
path?: never;
|
|
6656
|
+
cookie?: never;
|
|
6657
|
+
};
|
|
6658
|
+
/**
|
|
6659
|
+
* Get a CLI login code's status
|
|
6660
|
+
* @description Whether the CLI has used the code yet, and from where.
|
|
6661
|
+
*/
|
|
6662
|
+
get: operations["getMyCliLoginCode"];
|
|
6663
|
+
put?: never;
|
|
6664
|
+
post?: never;
|
|
6665
|
+
delete?: never;
|
|
6666
|
+
options?: never;
|
|
6667
|
+
head?: never;
|
|
6668
|
+
patch?: never;
|
|
6669
|
+
trace?: never;
|
|
6670
|
+
};
|
|
6671
|
+
"/api/users/me/cli-login-codes/{id}/connect": {
|
|
6672
|
+
parameters: {
|
|
6673
|
+
query?: never;
|
|
6674
|
+
header?: never;
|
|
6675
|
+
path?: never;
|
|
6676
|
+
cookie?: never;
|
|
6677
|
+
};
|
|
6678
|
+
get?: never;
|
|
6679
|
+
put?: never;
|
|
6680
|
+
/**
|
|
6681
|
+
* Report that the CLI signed in with a login code
|
|
6682
|
+
* @description Called by `empirical login --code` after it signs in, so the dashboard shows the CLI as connected.
|
|
6683
|
+
*/
|
|
6684
|
+
post: operations["connectMyCliLoginCode"];
|
|
6685
|
+
delete?: never;
|
|
6686
|
+
options?: never;
|
|
6687
|
+
head?: never;
|
|
6688
|
+
patch?: never;
|
|
6689
|
+
trace?: never;
|
|
6690
|
+
};
|
|
6611
6691
|
"/api/users/me/memberships": {
|
|
6612
6692
|
parameters: {
|
|
6613
6693
|
query?: never;
|
|
@@ -7996,7 +8076,7 @@ export interface components {
|
|
|
7996
8076
|
};
|
|
7997
8077
|
};
|
|
7998
8078
|
CreateFailureGroupRequest: {
|
|
7999
|
-
/** @description
|
|
8079
|
+
/** @description Kebab-case slug naming the failure mode, unique per project (e.g. `checkout-api-500`). It is the group's public handle in URLs and API paths. */
|
|
8000
8080
|
label: string;
|
|
8001
8081
|
/**
|
|
8002
8082
|
* @description app or test issue.
|
|
@@ -8865,6 +8945,8 @@ export interface components {
|
|
|
8865
8945
|
EnqueueProjectBlocksSyncRequest: {
|
|
8866
8946
|
/** @description Project to sync. Omit to sync every active project. */
|
|
8867
8947
|
project_id?: number;
|
|
8948
|
+
/** @description Regenerate even when the blocks are already synced at the default branch's commit, e.g. after a generator change. */
|
|
8949
|
+
force?: boolean;
|
|
8868
8950
|
};
|
|
8869
8951
|
EnqueueProjectBlocksSyncResponse: {
|
|
8870
8952
|
/** @description Response payload. */
|
|
@@ -10124,11 +10206,6 @@ export interface components {
|
|
|
10124
10206
|
description: string | null;
|
|
10125
10207
|
/** @description Version that `<name>` (and `<name>@latest`) resolves to. */
|
|
10126
10208
|
latest_version: number;
|
|
10127
|
-
/**
|
|
10128
|
-
* @description Where the `@latest` version runs: `sandbox` (VM with a repo and shell) or `worker` (no filesystem).
|
|
10129
|
-
* @enum {string}
|
|
10130
|
-
*/
|
|
10131
|
-
runtime: "sandbox" | "worker";
|
|
10132
10209
|
/** @description Model the `@latest` version pins, before any override. */
|
|
10133
10210
|
model: string;
|
|
10134
10211
|
/** @description Whether a session created without `agent` runs this agent, for the project in `x-project-id` (or the default project). */
|
|
@@ -11191,7 +11268,7 @@ export interface components {
|
|
|
11191
11268
|
};
|
|
11192
11269
|
};
|
|
11193
11270
|
MergeFailureGroupRequest: {
|
|
11194
|
-
/** @description Target group
|
|
11271
|
+
/** @description Target group label or ID; this group merges into it. */
|
|
11195
11272
|
into_group_id: string;
|
|
11196
11273
|
};
|
|
11197
11274
|
MergeRequest: {
|
|
@@ -12139,10 +12216,10 @@ export interface components {
|
|
|
12139
12216
|
id: number;
|
|
12140
12217
|
project_id: number;
|
|
12141
12218
|
/**
|
|
12142
|
-
* @description `bug`: the platform misbehaves and the memory holds a workaround; fixed in code. `missing_from_skill`: platform how-to that no skill covers; fixed by updating a skill.
|
|
12219
|
+
* @description `bug`: the platform misbehaves and the memory holds a workaround; fixed in code. `missing_from_skill`: platform how-to that no skill covers; fixed by updating a skill. `feedback`: anything a person tells us from the CLI.
|
|
12143
12220
|
* @enum {string}
|
|
12144
12221
|
*/
|
|
12145
|
-
kind: "bug" | "missing_from_skill";
|
|
12222
|
+
kind: "bug" | "missing_from_skill" | "feedback";
|
|
12146
12223
|
title: string;
|
|
12147
12224
|
detail: string;
|
|
12148
12225
|
skill: string | null;
|
|
@@ -12154,6 +12231,7 @@ export interface components {
|
|
|
12154
12231
|
/** @description Chat sessions that wrote any version of the memory. */
|
|
12155
12232
|
memory_source_chat_session_ids: number[];
|
|
12156
12233
|
reported_by: string | null;
|
|
12234
|
+
reported_by_email: string | null;
|
|
12157
12235
|
reported_by_chat_session_id: number | null;
|
|
12158
12236
|
created_at: string;
|
|
12159
12237
|
resolved_at: string | null;
|
|
@@ -12996,10 +13074,10 @@ export interface components {
|
|
|
12996
13074
|
};
|
|
12997
13075
|
ReportPlatformIssueRequest: {
|
|
12998
13076
|
/**
|
|
12999
|
-
* @description `bug`: the platform misbehaves and the memory holds a workaround; fixed in code. `missing_from_skill`: platform how-to that no skill covers; fixed by updating a skill.
|
|
13077
|
+
* @description `bug`: the platform misbehaves and the memory holds a workaround; fixed in code. `missing_from_skill`: platform how-to that no skill covers; fixed by updating a skill. `feedback`: anything a person tells us from the CLI.
|
|
13000
13078
|
* @enum {string}
|
|
13001
13079
|
*/
|
|
13002
|
-
kind: "bug" | "missing_from_skill";
|
|
13080
|
+
kind: "bug" | "missing_from_skill" | "feedback";
|
|
13003
13081
|
title: string;
|
|
13004
13082
|
detail: string;
|
|
13005
13083
|
/** @description Skill that should cover this, if one exists or should exist. */
|
|
@@ -13451,21 +13529,8 @@ export interface components {
|
|
|
13451
13529
|
health: {
|
|
13452
13530
|
/** @description Sandbox health status. */
|
|
13453
13531
|
status: string;
|
|
13454
|
-
/** @description
|
|
13532
|
+
/** @description Computer build version. */
|
|
13455
13533
|
version: string;
|
|
13456
|
-
/** @description Status of the pi agent process. */
|
|
13457
|
-
pi_process?: {
|
|
13458
|
-
/** @description Whether the pi process is running. */
|
|
13459
|
-
running: boolean;
|
|
13460
|
-
/** @description Process ID, if running. */
|
|
13461
|
-
pid: number | null;
|
|
13462
|
-
/** @description Exit code, if the process has exited. */
|
|
13463
|
-
exit_code: number | null;
|
|
13464
|
-
/** @description Termination signal, if any. */
|
|
13465
|
-
signal: string | null;
|
|
13466
|
-
/** @description ISO 8601 process start time. */
|
|
13467
|
-
started_at: string | null;
|
|
13468
|
-
};
|
|
13469
13534
|
};
|
|
13470
13535
|
};
|
|
13471
13536
|
/** @description Opaque result forwarded from the session Durable Object. */
|
|
@@ -14205,6 +14270,8 @@ export interface components {
|
|
|
14205
14270
|
* @enum {string}
|
|
14206
14271
|
*/
|
|
14207
14272
|
created_by: "system" | "agent" | "user";
|
|
14273
|
+
/** @description Chat session that inbound replies in this thread are routed to, or null when none is bound. */
|
|
14274
|
+
inbound_chat_session_id: number | null;
|
|
14208
14275
|
/** @description ISO 8601 time of the latest known activity. */
|
|
14209
14276
|
last_activity_at: string;
|
|
14210
14277
|
/** @description ISO 8601 deletion time, or null when live. */
|
|
@@ -20616,6 +20683,8 @@ export interface operations {
|
|
|
20616
20683
|
channel_id?: string;
|
|
20617
20684
|
/** @description Filter by registered thread kind. */
|
|
20618
20685
|
kind?: "run_notification" | "discussion";
|
|
20686
|
+
/** @description Filter to threads whose inbound replies are routed to this chat session. */
|
|
20687
|
+
chat_session_id?: number;
|
|
20619
20688
|
/** @description Entity type; must be supplied with `entity_id`. */
|
|
20620
20689
|
entity_type?: "test_run" | "failure_group" | "pull_request" | "discussion";
|
|
20621
20690
|
/** @description Entity ID; must be supplied with `entity_type`. */
|
|
@@ -21012,7 +21081,7 @@ export interface operations {
|
|
|
21012
21081
|
query?: never;
|
|
21013
21082
|
header?: never;
|
|
21014
21083
|
path: {
|
|
21015
|
-
/** @description Failure group ID. */
|
|
21084
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21016
21085
|
id: string;
|
|
21017
21086
|
};
|
|
21018
21087
|
cookie?: never;
|
|
@@ -21044,7 +21113,7 @@ export interface operations {
|
|
|
21044
21113
|
query?: never;
|
|
21045
21114
|
header?: never;
|
|
21046
21115
|
path: {
|
|
21047
|
-
/** @description Failure group ID. */
|
|
21116
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21048
21117
|
id: string;
|
|
21049
21118
|
};
|
|
21050
21119
|
cookie?: never;
|
|
@@ -21076,7 +21145,7 @@ export interface operations {
|
|
|
21076
21145
|
query?: never;
|
|
21077
21146
|
header?: never;
|
|
21078
21147
|
path: {
|
|
21079
|
-
/** @description Failure group ID. */
|
|
21148
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21080
21149
|
id: string;
|
|
21081
21150
|
};
|
|
21082
21151
|
cookie?: never;
|
|
@@ -21130,7 +21199,7 @@ export interface operations {
|
|
|
21130
21199
|
query?: never;
|
|
21131
21200
|
header?: never;
|
|
21132
21201
|
path: {
|
|
21133
|
-
/** @description Failure group ID. */
|
|
21202
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21134
21203
|
id: string;
|
|
21135
21204
|
};
|
|
21136
21205
|
cookie?: never;
|
|
@@ -21166,7 +21235,7 @@ export interface operations {
|
|
|
21166
21235
|
};
|
|
21167
21236
|
header?: never;
|
|
21168
21237
|
path: {
|
|
21169
|
-
/** @description Failure group ID. */
|
|
21238
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21170
21239
|
id: string;
|
|
21171
21240
|
};
|
|
21172
21241
|
cookie?: never;
|
|
@@ -21198,7 +21267,7 @@ export interface operations {
|
|
|
21198
21267
|
query?: never;
|
|
21199
21268
|
header?: never;
|
|
21200
21269
|
path: {
|
|
21201
|
-
/** @description Failure group ID. */
|
|
21270
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21202
21271
|
id: string;
|
|
21203
21272
|
};
|
|
21204
21273
|
cookie?: never;
|
|
@@ -21243,7 +21312,7 @@ export interface operations {
|
|
|
21243
21312
|
query?: never;
|
|
21244
21313
|
header?: never;
|
|
21245
21314
|
path: {
|
|
21246
|
-
/** @description Failure group ID. */
|
|
21315
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
21247
21316
|
id: string;
|
|
21248
21317
|
};
|
|
21249
21318
|
cookie?: never;
|
|
@@ -22510,7 +22579,7 @@ export interface operations {
|
|
|
22510
22579
|
query?: never;
|
|
22511
22580
|
header?: never;
|
|
22512
22581
|
path: {
|
|
22513
|
-
/** @description Failure group ID. */
|
|
22582
|
+
/** @description Failure group label (e.g. `checkout-api-500`) or ID. A label resolves within the request's project, including labels the group had before a rename or merge. */
|
|
22514
22583
|
id: string;
|
|
22515
22584
|
};
|
|
22516
22585
|
cookie?: never;
|
|
@@ -22630,7 +22699,7 @@ export interface operations {
|
|
|
22630
22699
|
pw_test_id: string;
|
|
22631
22700
|
/** @description Dry-run this matcher source instead of the groups' matchers: `async ({ testRun, testCase, traceUtils }) => boolean`. */
|
|
22632
22701
|
source?: string;
|
|
22633
|
-
/** @description Only run these groups' matchers. Default: every open group with a matcher. */
|
|
22702
|
+
/** @description Only run these groups' matchers, by label or ID. Default: every open group with a matcher. */
|
|
22634
22703
|
group_ids?: string[];
|
|
22635
22704
|
};
|
|
22636
22705
|
};
|
|
@@ -24863,7 +24932,7 @@ export interface operations {
|
|
|
24863
24932
|
content: {
|
|
24864
24933
|
"application/json": {
|
|
24865
24934
|
message?: string | null;
|
|
24866
|
-
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version
|
|
24935
|
+
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version. The agent version decides the model, tools and prompt; `model` still overrides its model. List agents with `GET /api/hive/agents`. */
|
|
24867
24936
|
agent?: string | null;
|
|
24868
24937
|
/**
|
|
24869
24938
|
* @deprecated
|
|
@@ -25738,6 +25807,15 @@ export interface operations {
|
|
|
25738
25807
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
25739
25808
|
};
|
|
25740
25809
|
};
|
|
25810
|
+
/** @description The session ran on a retired runtime and takes no new messages; start a new session. */
|
|
25811
|
+
410: {
|
|
25812
|
+
headers: {
|
|
25813
|
+
[name: string]: unknown;
|
|
25814
|
+
};
|
|
25815
|
+
content: {
|
|
25816
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
25817
|
+
};
|
|
25818
|
+
};
|
|
25741
25819
|
};
|
|
25742
25820
|
};
|
|
25743
25821
|
getChatSessionSandboxLogs: {
|
|
@@ -28065,24 +28143,6 @@ export interface operations {
|
|
|
28065
28143
|
"application/json": components["schemas"]["HiveAgentsResponse"];
|
|
28066
28144
|
};
|
|
28067
28145
|
};
|
|
28068
|
-
/** @description The `x-project-id` header is invalid. */
|
|
28069
|
-
400: {
|
|
28070
|
-
headers: {
|
|
28071
|
-
[name: string]: unknown;
|
|
28072
|
-
};
|
|
28073
|
-
content: {
|
|
28074
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
28075
|
-
};
|
|
28076
|
-
};
|
|
28077
|
-
/** @description The project in `x-project-id` was not found. */
|
|
28078
|
-
404: {
|
|
28079
|
-
headers: {
|
|
28080
|
-
[name: string]: unknown;
|
|
28081
|
-
};
|
|
28082
|
-
content: {
|
|
28083
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
28084
|
-
};
|
|
28085
|
-
};
|
|
28086
28146
|
/** @description Hive is not configured or the request failed. */
|
|
28087
28147
|
500: {
|
|
28088
28148
|
headers: {
|
|
@@ -34677,6 +34737,51 @@ export interface operations {
|
|
|
34677
34737
|
};
|
|
34678
34738
|
};
|
|
34679
34739
|
};
|
|
34740
|
+
redeemCliLoginCode: {
|
|
34741
|
+
parameters: {
|
|
34742
|
+
query?: never;
|
|
34743
|
+
header?: never;
|
|
34744
|
+
path?: never;
|
|
34745
|
+
cookie?: never;
|
|
34746
|
+
};
|
|
34747
|
+
requestBody?: {
|
|
34748
|
+
content: {
|
|
34749
|
+
"application/json": {
|
|
34750
|
+
login_code: string;
|
|
34751
|
+
};
|
|
34752
|
+
};
|
|
34753
|
+
};
|
|
34754
|
+
responses: {
|
|
34755
|
+
/** @description The approved login. */
|
|
34756
|
+
200: {
|
|
34757
|
+
headers: {
|
|
34758
|
+
[name: string]: unknown;
|
|
34759
|
+
};
|
|
34760
|
+
content: {
|
|
34761
|
+
"application/json": {
|
|
34762
|
+
/** @description Response payload. */
|
|
34763
|
+
data: {
|
|
34764
|
+
/** Format: uuid */
|
|
34765
|
+
id: string;
|
|
34766
|
+
/** @description Supabase authorization code to exchange at the token endpoint. */
|
|
34767
|
+
oauth_code: string;
|
|
34768
|
+
/** @description PKCE verifier for the code. */
|
|
34769
|
+
code_verifier: string;
|
|
34770
|
+
};
|
|
34771
|
+
};
|
|
34772
|
+
};
|
|
34773
|
+
};
|
|
34774
|
+
/** @description Unknown, expired or already used code. */
|
|
34775
|
+
404: {
|
|
34776
|
+
headers: {
|
|
34777
|
+
[name: string]: unknown;
|
|
34778
|
+
};
|
|
34779
|
+
content: {
|
|
34780
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
34781
|
+
};
|
|
34782
|
+
};
|
|
34783
|
+
};
|
|
34784
|
+
};
|
|
34680
34785
|
listMyGithubLinks: {
|
|
34681
34786
|
parameters: {
|
|
34682
34787
|
query?: never;
|
|
@@ -34895,6 +35000,155 @@ export interface operations {
|
|
|
34895
35000
|
};
|
|
34896
35001
|
};
|
|
34897
35002
|
};
|
|
35003
|
+
createMyCliLoginCode: {
|
|
35004
|
+
parameters: {
|
|
35005
|
+
query?: never;
|
|
35006
|
+
header?: never;
|
|
35007
|
+
path?: never;
|
|
35008
|
+
cookie?: never;
|
|
35009
|
+
};
|
|
35010
|
+
requestBody?: never;
|
|
35011
|
+
responses: {
|
|
35012
|
+
/** @description The new login code. */
|
|
35013
|
+
201: {
|
|
35014
|
+
headers: {
|
|
35015
|
+
[name: string]: unknown;
|
|
35016
|
+
};
|
|
35017
|
+
content: {
|
|
35018
|
+
"application/json": {
|
|
35019
|
+
/** @description Response payload. */
|
|
35020
|
+
data: {
|
|
35021
|
+
/** Format: uuid */
|
|
35022
|
+
id: string;
|
|
35023
|
+
/** @enum {string} */
|
|
35024
|
+
status: "pending" | "connected" | "expired";
|
|
35025
|
+
expires_at: string;
|
|
35026
|
+
connected_at: string | null;
|
|
35027
|
+
hostname: string | null;
|
|
35028
|
+
git_remote: string | null;
|
|
35029
|
+
cli_version: string | null;
|
|
35030
|
+
/** @description One-time code for `empirical login --code`. Signs the CLI in as the caller. */
|
|
35031
|
+
login_code: string;
|
|
35032
|
+
};
|
|
35033
|
+
};
|
|
35034
|
+
};
|
|
35035
|
+
};
|
|
35036
|
+
/** @description Not a signed-in user. */
|
|
35037
|
+
400: {
|
|
35038
|
+
headers: {
|
|
35039
|
+
[name: string]: unknown;
|
|
35040
|
+
};
|
|
35041
|
+
content: {
|
|
35042
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35043
|
+
};
|
|
35044
|
+
};
|
|
35045
|
+
/** @description Supabase did not approve the login. */
|
|
35046
|
+
502: {
|
|
35047
|
+
headers: {
|
|
35048
|
+
[name: string]: unknown;
|
|
35049
|
+
};
|
|
35050
|
+
content: {
|
|
35051
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35052
|
+
};
|
|
35053
|
+
};
|
|
35054
|
+
};
|
|
35055
|
+
};
|
|
35056
|
+
getMyCliLoginCode: {
|
|
35057
|
+
parameters: {
|
|
35058
|
+
query?: never;
|
|
35059
|
+
header?: never;
|
|
35060
|
+
path: {
|
|
35061
|
+
id: string;
|
|
35062
|
+
};
|
|
35063
|
+
cookie?: never;
|
|
35064
|
+
};
|
|
35065
|
+
requestBody?: never;
|
|
35066
|
+
responses: {
|
|
35067
|
+
/** @description The code's status. */
|
|
35068
|
+
200: {
|
|
35069
|
+
headers: {
|
|
35070
|
+
[name: string]: unknown;
|
|
35071
|
+
};
|
|
35072
|
+
content: {
|
|
35073
|
+
"application/json": {
|
|
35074
|
+
/** @description Response payload. */
|
|
35075
|
+
data: {
|
|
35076
|
+
/** Format: uuid */
|
|
35077
|
+
id: string;
|
|
35078
|
+
/** @enum {string} */
|
|
35079
|
+
status: "pending" | "connected" | "expired";
|
|
35080
|
+
expires_at: string;
|
|
35081
|
+
connected_at: string | null;
|
|
35082
|
+
hostname: string | null;
|
|
35083
|
+
git_remote: string | null;
|
|
35084
|
+
cli_version: string | null;
|
|
35085
|
+
};
|
|
35086
|
+
};
|
|
35087
|
+
};
|
|
35088
|
+
};
|
|
35089
|
+
/** @description No such code for the caller. */
|
|
35090
|
+
404: {
|
|
35091
|
+
headers: {
|
|
35092
|
+
[name: string]: unknown;
|
|
35093
|
+
};
|
|
35094
|
+
content: {
|
|
35095
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35096
|
+
};
|
|
35097
|
+
};
|
|
35098
|
+
};
|
|
35099
|
+
};
|
|
35100
|
+
connectMyCliLoginCode: {
|
|
35101
|
+
parameters: {
|
|
35102
|
+
query?: never;
|
|
35103
|
+
header?: never;
|
|
35104
|
+
path: {
|
|
35105
|
+
id: string;
|
|
35106
|
+
};
|
|
35107
|
+
cookie?: never;
|
|
35108
|
+
};
|
|
35109
|
+
requestBody?: {
|
|
35110
|
+
content: {
|
|
35111
|
+
"application/json": {
|
|
35112
|
+
hostname: string;
|
|
35113
|
+
git_remote: string | null;
|
|
35114
|
+
cli_version: string;
|
|
35115
|
+
};
|
|
35116
|
+
};
|
|
35117
|
+
};
|
|
35118
|
+
responses: {
|
|
35119
|
+
/** @description The code's status. */
|
|
35120
|
+
200: {
|
|
35121
|
+
headers: {
|
|
35122
|
+
[name: string]: unknown;
|
|
35123
|
+
};
|
|
35124
|
+
content: {
|
|
35125
|
+
"application/json": {
|
|
35126
|
+
/** @description Response payload. */
|
|
35127
|
+
data: {
|
|
35128
|
+
/** Format: uuid */
|
|
35129
|
+
id: string;
|
|
35130
|
+
/** @enum {string} */
|
|
35131
|
+
status: "pending" | "connected" | "expired";
|
|
35132
|
+
expires_at: string;
|
|
35133
|
+
connected_at: string | null;
|
|
35134
|
+
hostname: string | null;
|
|
35135
|
+
git_remote: string | null;
|
|
35136
|
+
cli_version: string | null;
|
|
35137
|
+
};
|
|
35138
|
+
};
|
|
35139
|
+
};
|
|
35140
|
+
};
|
|
35141
|
+
/** @description No such unused code for the caller. */
|
|
35142
|
+
404: {
|
|
35143
|
+
headers: {
|
|
35144
|
+
[name: string]: unknown;
|
|
35145
|
+
};
|
|
35146
|
+
content: {
|
|
35147
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35148
|
+
};
|
|
35149
|
+
};
|
|
35150
|
+
};
|
|
35151
|
+
};
|
|
34898
35152
|
createMyMemberships: {
|
|
34899
35153
|
parameters: {
|
|
34900
35154
|
query?: never;
|