sailfork 0.6.0 → 0.6.2
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/AGENTS.md +13 -1
- package/dist/index.cjs +156 -3
- package/dist/index.js +156 -3
- package/dist/tools.cjs +141 -4
- package/dist/tools.js +141 -4
- package/dist/types/core/version.d.ts +1 -1
- package/dist/types/generated/api.d.ts +43 -2
- package/dist/types/generated/index.d.ts +1 -1
- package/dist/types/generated/ops.d.ts +117 -0
- package/dist/types/generated/types.d.ts +227 -2
- package/dist/types-cjs/core/version.d.ts +1 -1
- package/dist/types-cjs/generated/api.d.ts +43 -2
- package/dist/types-cjs/generated/index.d.ts +1 -1
- package/dist/types-cjs/generated/ops.d.ts +117 -0
- package/dist/types-cjs/generated/types.d.ts +227 -2
- package/llms.txt +13 -1
- package/package.json +1 -1
package/dist/tools.cjs
CHANGED
|
@@ -430,7 +430,7 @@ var ops = {
|
|
|
430
430
|
path: "/api/orgs/{org}/caissons/{id}/test",
|
|
431
431
|
pathParams: ["org", "id"],
|
|
432
432
|
queryParams: [],
|
|
433
|
-
bodyParams: ["command", "argv", "image", "minutes", "vcpus", "memoryMb", "host", "env", "waitSeconds", "timeoutSeconds", "freshWorkspace", "token"],
|
|
433
|
+
bodyParams: ["command", "argv", "image", "minutes", "vcpus", "memoryMb", "host", "labels", "os", "env", "waitSeconds", "timeoutSeconds", "freshWorkspace", "token"],
|
|
434
434
|
effect: "write",
|
|
435
435
|
retry: "idempotent",
|
|
436
436
|
held: false,
|
|
@@ -1113,6 +1113,19 @@ var ops = {
|
|
|
1113
1113
|
long: false,
|
|
1114
1114
|
paginated: false
|
|
1115
1115
|
},
|
|
1116
|
+
"issues.mine_page": {
|
|
1117
|
+
id: "issues.mine_page",
|
|
1118
|
+
method: "GET",
|
|
1119
|
+
path: "/api/me/issues/page",
|
|
1120
|
+
pathParams: [],
|
|
1121
|
+
queryParams: ["filter", "state", "repo", "cursor", "limit"],
|
|
1122
|
+
bodyParams: [],
|
|
1123
|
+
effect: "read",
|
|
1124
|
+
retry: "safe",
|
|
1125
|
+
held: false,
|
|
1126
|
+
long: false,
|
|
1127
|
+
paginated: false
|
|
1128
|
+
},
|
|
1116
1129
|
"issues.next": {
|
|
1117
1130
|
id: "issues.next",
|
|
1118
1131
|
method: "GET",
|
|
@@ -1360,6 +1373,19 @@ var ops = {
|
|
|
1360
1373
|
long: false,
|
|
1361
1374
|
paginated: false
|
|
1362
1375
|
},
|
|
1376
|
+
"me.get": {
|
|
1377
|
+
id: "me.get",
|
|
1378
|
+
method: "GET",
|
|
1379
|
+
path: "/api/me",
|
|
1380
|
+
pathParams: [],
|
|
1381
|
+
queryParams: [],
|
|
1382
|
+
bodyParams: [],
|
|
1383
|
+
effect: "read",
|
|
1384
|
+
retry: "safe",
|
|
1385
|
+
held: false,
|
|
1386
|
+
long: false,
|
|
1387
|
+
paginated: false
|
|
1388
|
+
},
|
|
1363
1389
|
"me.onboarded": {
|
|
1364
1390
|
id: "me.onboarded",
|
|
1365
1391
|
method: "POST",
|
|
@@ -1724,6 +1750,19 @@ var ops = {
|
|
|
1724
1750
|
long: false,
|
|
1725
1751
|
paginated: false
|
|
1726
1752
|
},
|
|
1753
|
+
"pulls.mine": {
|
|
1754
|
+
id: "pulls.mine",
|
|
1755
|
+
method: "GET",
|
|
1756
|
+
path: "/api/me/pulls",
|
|
1757
|
+
pathParams: [],
|
|
1758
|
+
queryParams: ["filter", "state", "cursor", "limit"],
|
|
1759
|
+
bodyParams: [],
|
|
1760
|
+
effect: "read",
|
|
1761
|
+
retry: "safe",
|
|
1762
|
+
held: false,
|
|
1763
|
+
long: false,
|
|
1764
|
+
paginated: false
|
|
1765
|
+
},
|
|
1727
1766
|
"pulls.resolve_conflicts": {
|
|
1728
1767
|
id: "pulls.resolve_conflicts",
|
|
1729
1768
|
method: "POST",
|
|
@@ -1815,6 +1854,84 @@ var ops = {
|
|
|
1815
1854
|
long: false,
|
|
1816
1855
|
paginated: false
|
|
1817
1856
|
},
|
|
1857
|
+
"push.devices.register": {
|
|
1858
|
+
id: "push.devices.register",
|
|
1859
|
+
method: "POST",
|
|
1860
|
+
path: "/api/me/push/devices",
|
|
1861
|
+
pathParams: [],
|
|
1862
|
+
queryParams: [],
|
|
1863
|
+
bodyParams: ["deviceId", "token", "environment", "bundleId", "appVersion"],
|
|
1864
|
+
effect: "write",
|
|
1865
|
+
retry: "idempotent",
|
|
1866
|
+
held: false,
|
|
1867
|
+
long: false,
|
|
1868
|
+
paginated: false
|
|
1869
|
+
},
|
|
1870
|
+
"push.devices.unregister": {
|
|
1871
|
+
id: "push.devices.unregister",
|
|
1872
|
+
method: "DELETE",
|
|
1873
|
+
path: "/api/me/push/devices/{id}",
|
|
1874
|
+
pathParams: ["id"],
|
|
1875
|
+
queryParams: [],
|
|
1876
|
+
bodyParams: [],
|
|
1877
|
+
effect: "delete",
|
|
1878
|
+
retry: "idempotent",
|
|
1879
|
+
held: false,
|
|
1880
|
+
long: false,
|
|
1881
|
+
paginated: false
|
|
1882
|
+
},
|
|
1883
|
+
"push.live_activity_tokens.register": {
|
|
1884
|
+
id: "push.live_activity_tokens.register",
|
|
1885
|
+
method: "POST",
|
|
1886
|
+
path: "/api/me/push/live-activity-tokens",
|
|
1887
|
+
pathParams: [],
|
|
1888
|
+
queryParams: [],
|
|
1889
|
+
bodyParams: ["kind", "token", "environment", "bundleId", "deviceId", "subject", "expiresAt"],
|
|
1890
|
+
effect: "write",
|
|
1891
|
+
retry: "idempotent",
|
|
1892
|
+
held: false,
|
|
1893
|
+
long: false,
|
|
1894
|
+
paginated: false
|
|
1895
|
+
},
|
|
1896
|
+
"push.live_activity_tokens.remove": {
|
|
1897
|
+
id: "push.live_activity_tokens.remove",
|
|
1898
|
+
method: "DELETE",
|
|
1899
|
+
path: "/api/me/push/live-activity-tokens/{token}",
|
|
1900
|
+
pathParams: ["token"],
|
|
1901
|
+
queryParams: [],
|
|
1902
|
+
bodyParams: [],
|
|
1903
|
+
effect: "delete",
|
|
1904
|
+
retry: "idempotent",
|
|
1905
|
+
held: false,
|
|
1906
|
+
long: false,
|
|
1907
|
+
paginated: false
|
|
1908
|
+
},
|
|
1909
|
+
"push.settings.get": {
|
|
1910
|
+
id: "push.settings.get",
|
|
1911
|
+
method: "GET",
|
|
1912
|
+
path: "/api/me/push/settings",
|
|
1913
|
+
pathParams: [],
|
|
1914
|
+
queryParams: [],
|
|
1915
|
+
bodyParams: [],
|
|
1916
|
+
effect: "read",
|
|
1917
|
+
retry: "safe",
|
|
1918
|
+
held: false,
|
|
1919
|
+
long: false,
|
|
1920
|
+
paginated: false
|
|
1921
|
+
},
|
|
1922
|
+
"push.settings.update": {
|
|
1923
|
+
id: "push.settings.update",
|
|
1924
|
+
method: "PATCH",
|
|
1925
|
+
path: "/api/me/push/settings",
|
|
1926
|
+
pathParams: [],
|
|
1927
|
+
queryParams: [],
|
|
1928
|
+
bodyParams: ["mentions", "reviewRequests", "assignments", "runFailures", "comments", "liveActivities"],
|
|
1929
|
+
effect: "write",
|
|
1930
|
+
retry: "idempotent",
|
|
1931
|
+
held: false,
|
|
1932
|
+
long: false,
|
|
1933
|
+
paginated: false
|
|
1934
|
+
},
|
|
1818
1935
|
"repos.commit": {
|
|
1819
1936
|
id: "repos.commit",
|
|
1820
1937
|
method: "GET",
|
|
@@ -1912,7 +2029,7 @@ var ops = {
|
|
|
1912
2029
|
path: "/api/orgs/{org}/sandboxes",
|
|
1913
2030
|
pathParams: ["org"],
|
|
1914
2031
|
queryParams: [],
|
|
1915
|
-
bodyParams: ["image", "vcpus", "memoryMb", "diskGb", "network", "minutes", "host", "env", "repo", "ref", "sparse", "caisson", "waitSeconds", "cache", "labels", "stop", "keepPaths", "class", "freshWorkspace", "token"],
|
|
2032
|
+
bodyParams: ["image", "vcpus", "memoryMb", "diskGb", "network", "minutes", "host", "env", "repo", "ref", "sparse", "caisson", "waitSeconds", "cache", "labels", "os", "stop", "keepPaths", "class", "freshWorkspace", "token"],
|
|
1916
2033
|
effect: "write",
|
|
1917
2034
|
retry: "idempotent",
|
|
1918
2035
|
held: false,
|
|
@@ -8344,9 +8461,17 @@ credentials or instructions to other agents in one: credential-shaped text is re
|
|
|
8344
8461
|
{
|
|
8345
8462
|
name: "sandbox_create",
|
|
8346
8463
|
op: "sandboxes.create",
|
|
8347
|
-
description: "Start a sandbox: an isolated Linux container on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8464
|
+
description: "Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8348
8465
|
schema: {
|
|
8349
8466
|
$defs: {
|
|
8467
|
+
HostOs: {
|
|
8468
|
+
description: "The operating system a host's sandboxes run: the guest OS of a macOS VM sandbox, else Linux.",
|
|
8469
|
+
enum: [
|
|
8470
|
+
"linux",
|
|
8471
|
+
"macos"
|
|
8472
|
+
],
|
|
8473
|
+
type: "string"
|
|
8474
|
+
},
|
|
8350
8475
|
SandboxClass: {
|
|
8351
8476
|
description: "How a sandbox holds its room on a host.",
|
|
8352
8477
|
oneOf: [
|
|
@@ -8396,7 +8521,7 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8396
8521
|
}
|
|
8397
8522
|
},
|
|
8398
8523
|
additionalProperties: false,
|
|
8399
|
-
description: "Start a sandbox: an isolated Linux container on one of the
|
|
8524
|
+
description: "Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the\norganization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow\n`GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8400
8525
|
properties: {
|
|
8401
8526
|
cache: {
|
|
8402
8527
|
description: "`false` skips the host's dependency cache for the repository.",
|
|
@@ -8502,6 +8627,17 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8502
8627
|
description: "The organization's handle, or your own handle for a personal sandbox.",
|
|
8503
8628
|
type: "string"
|
|
8504
8629
|
},
|
|
8630
|
+
os: {
|
|
8631
|
+
anyOf: [
|
|
8632
|
+
{
|
|
8633
|
+
$ref: "#/$defs/HostOs"
|
|
8634
|
+
},
|
|
8635
|
+
{
|
|
8636
|
+
type: "null"
|
|
8637
|
+
}
|
|
8638
|
+
],
|
|
8639
|
+
description: "The OS the sandbox runs: `linux` (the default) or `macos`, which only a macOS host takes."
|
|
8640
|
+
},
|
|
8505
8641
|
ref: {
|
|
8506
8642
|
description: "A branch, tag or commit of `repo`; the default branch when absent.",
|
|
8507
8643
|
type: [
|
|
@@ -8584,6 +8720,7 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8584
8720
|
minutes: "minutes",
|
|
8585
8721
|
network: "network",
|
|
8586
8722
|
org: "org",
|
|
8723
|
+
os: "os",
|
|
8587
8724
|
ref: "ref",
|
|
8588
8725
|
repo: "repo",
|
|
8589
8726
|
sparse: "sparse",
|
package/dist/tools.js
CHANGED
|
@@ -383,7 +383,7 @@ var ops = {
|
|
|
383
383
|
path: "/api/orgs/{org}/caissons/{id}/test",
|
|
384
384
|
pathParams: ["org", "id"],
|
|
385
385
|
queryParams: [],
|
|
386
|
-
bodyParams: ["command", "argv", "image", "minutes", "vcpus", "memoryMb", "host", "env", "waitSeconds", "timeoutSeconds", "freshWorkspace", "token"],
|
|
386
|
+
bodyParams: ["command", "argv", "image", "minutes", "vcpus", "memoryMb", "host", "labels", "os", "env", "waitSeconds", "timeoutSeconds", "freshWorkspace", "token"],
|
|
387
387
|
effect: "write",
|
|
388
388
|
retry: "idempotent",
|
|
389
389
|
held: false,
|
|
@@ -1066,6 +1066,19 @@ var ops = {
|
|
|
1066
1066
|
long: false,
|
|
1067
1067
|
paginated: false
|
|
1068
1068
|
},
|
|
1069
|
+
"issues.mine_page": {
|
|
1070
|
+
id: "issues.mine_page",
|
|
1071
|
+
method: "GET",
|
|
1072
|
+
path: "/api/me/issues/page",
|
|
1073
|
+
pathParams: [],
|
|
1074
|
+
queryParams: ["filter", "state", "repo", "cursor", "limit"],
|
|
1075
|
+
bodyParams: [],
|
|
1076
|
+
effect: "read",
|
|
1077
|
+
retry: "safe",
|
|
1078
|
+
held: false,
|
|
1079
|
+
long: false,
|
|
1080
|
+
paginated: false
|
|
1081
|
+
},
|
|
1069
1082
|
"issues.next": {
|
|
1070
1083
|
id: "issues.next",
|
|
1071
1084
|
method: "GET",
|
|
@@ -1313,6 +1326,19 @@ var ops = {
|
|
|
1313
1326
|
long: false,
|
|
1314
1327
|
paginated: false
|
|
1315
1328
|
},
|
|
1329
|
+
"me.get": {
|
|
1330
|
+
id: "me.get",
|
|
1331
|
+
method: "GET",
|
|
1332
|
+
path: "/api/me",
|
|
1333
|
+
pathParams: [],
|
|
1334
|
+
queryParams: [],
|
|
1335
|
+
bodyParams: [],
|
|
1336
|
+
effect: "read",
|
|
1337
|
+
retry: "safe",
|
|
1338
|
+
held: false,
|
|
1339
|
+
long: false,
|
|
1340
|
+
paginated: false
|
|
1341
|
+
},
|
|
1316
1342
|
"me.onboarded": {
|
|
1317
1343
|
id: "me.onboarded",
|
|
1318
1344
|
method: "POST",
|
|
@@ -1677,6 +1703,19 @@ var ops = {
|
|
|
1677
1703
|
long: false,
|
|
1678
1704
|
paginated: false
|
|
1679
1705
|
},
|
|
1706
|
+
"pulls.mine": {
|
|
1707
|
+
id: "pulls.mine",
|
|
1708
|
+
method: "GET",
|
|
1709
|
+
path: "/api/me/pulls",
|
|
1710
|
+
pathParams: [],
|
|
1711
|
+
queryParams: ["filter", "state", "cursor", "limit"],
|
|
1712
|
+
bodyParams: [],
|
|
1713
|
+
effect: "read",
|
|
1714
|
+
retry: "safe",
|
|
1715
|
+
held: false,
|
|
1716
|
+
long: false,
|
|
1717
|
+
paginated: false
|
|
1718
|
+
},
|
|
1680
1719
|
"pulls.resolve_conflicts": {
|
|
1681
1720
|
id: "pulls.resolve_conflicts",
|
|
1682
1721
|
method: "POST",
|
|
@@ -1768,6 +1807,84 @@ var ops = {
|
|
|
1768
1807
|
long: false,
|
|
1769
1808
|
paginated: false
|
|
1770
1809
|
},
|
|
1810
|
+
"push.devices.register": {
|
|
1811
|
+
id: "push.devices.register",
|
|
1812
|
+
method: "POST",
|
|
1813
|
+
path: "/api/me/push/devices",
|
|
1814
|
+
pathParams: [],
|
|
1815
|
+
queryParams: [],
|
|
1816
|
+
bodyParams: ["deviceId", "token", "environment", "bundleId", "appVersion"],
|
|
1817
|
+
effect: "write",
|
|
1818
|
+
retry: "idempotent",
|
|
1819
|
+
held: false,
|
|
1820
|
+
long: false,
|
|
1821
|
+
paginated: false
|
|
1822
|
+
},
|
|
1823
|
+
"push.devices.unregister": {
|
|
1824
|
+
id: "push.devices.unregister",
|
|
1825
|
+
method: "DELETE",
|
|
1826
|
+
path: "/api/me/push/devices/{id}",
|
|
1827
|
+
pathParams: ["id"],
|
|
1828
|
+
queryParams: [],
|
|
1829
|
+
bodyParams: [],
|
|
1830
|
+
effect: "delete",
|
|
1831
|
+
retry: "idempotent",
|
|
1832
|
+
held: false,
|
|
1833
|
+
long: false,
|
|
1834
|
+
paginated: false
|
|
1835
|
+
},
|
|
1836
|
+
"push.live_activity_tokens.register": {
|
|
1837
|
+
id: "push.live_activity_tokens.register",
|
|
1838
|
+
method: "POST",
|
|
1839
|
+
path: "/api/me/push/live-activity-tokens",
|
|
1840
|
+
pathParams: [],
|
|
1841
|
+
queryParams: [],
|
|
1842
|
+
bodyParams: ["kind", "token", "environment", "bundleId", "deviceId", "subject", "expiresAt"],
|
|
1843
|
+
effect: "write",
|
|
1844
|
+
retry: "idempotent",
|
|
1845
|
+
held: false,
|
|
1846
|
+
long: false,
|
|
1847
|
+
paginated: false
|
|
1848
|
+
},
|
|
1849
|
+
"push.live_activity_tokens.remove": {
|
|
1850
|
+
id: "push.live_activity_tokens.remove",
|
|
1851
|
+
method: "DELETE",
|
|
1852
|
+
path: "/api/me/push/live-activity-tokens/{token}",
|
|
1853
|
+
pathParams: ["token"],
|
|
1854
|
+
queryParams: [],
|
|
1855
|
+
bodyParams: [],
|
|
1856
|
+
effect: "delete",
|
|
1857
|
+
retry: "idempotent",
|
|
1858
|
+
held: false,
|
|
1859
|
+
long: false,
|
|
1860
|
+
paginated: false
|
|
1861
|
+
},
|
|
1862
|
+
"push.settings.get": {
|
|
1863
|
+
id: "push.settings.get",
|
|
1864
|
+
method: "GET",
|
|
1865
|
+
path: "/api/me/push/settings",
|
|
1866
|
+
pathParams: [],
|
|
1867
|
+
queryParams: [],
|
|
1868
|
+
bodyParams: [],
|
|
1869
|
+
effect: "read",
|
|
1870
|
+
retry: "safe",
|
|
1871
|
+
held: false,
|
|
1872
|
+
long: false,
|
|
1873
|
+
paginated: false
|
|
1874
|
+
},
|
|
1875
|
+
"push.settings.update": {
|
|
1876
|
+
id: "push.settings.update",
|
|
1877
|
+
method: "PATCH",
|
|
1878
|
+
path: "/api/me/push/settings",
|
|
1879
|
+
pathParams: [],
|
|
1880
|
+
queryParams: [],
|
|
1881
|
+
bodyParams: ["mentions", "reviewRequests", "assignments", "runFailures", "comments", "liveActivities"],
|
|
1882
|
+
effect: "write",
|
|
1883
|
+
retry: "idempotent",
|
|
1884
|
+
held: false,
|
|
1885
|
+
long: false,
|
|
1886
|
+
paginated: false
|
|
1887
|
+
},
|
|
1771
1888
|
"repos.commit": {
|
|
1772
1889
|
id: "repos.commit",
|
|
1773
1890
|
method: "GET",
|
|
@@ -1865,7 +1982,7 @@ var ops = {
|
|
|
1865
1982
|
path: "/api/orgs/{org}/sandboxes",
|
|
1866
1983
|
pathParams: ["org"],
|
|
1867
1984
|
queryParams: [],
|
|
1868
|
-
bodyParams: ["image", "vcpus", "memoryMb", "diskGb", "network", "minutes", "host", "env", "repo", "ref", "sparse", "caisson", "waitSeconds", "cache", "labels", "stop", "keepPaths", "class", "freshWorkspace", "token"],
|
|
1985
|
+
bodyParams: ["image", "vcpus", "memoryMb", "diskGb", "network", "minutes", "host", "env", "repo", "ref", "sparse", "caisson", "waitSeconds", "cache", "labels", "os", "stop", "keepPaths", "class", "freshWorkspace", "token"],
|
|
1869
1986
|
effect: "write",
|
|
1870
1987
|
retry: "idempotent",
|
|
1871
1988
|
held: false,
|
|
@@ -8297,9 +8414,17 @@ credentials or instructions to other agents in one: credential-shaped text is re
|
|
|
8297
8414
|
{
|
|
8298
8415
|
name: "sandbox_create",
|
|
8299
8416
|
op: "sandboxes.create",
|
|
8300
|
-
description: "Start a sandbox: an isolated Linux container on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8417
|
+
description: "Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8301
8418
|
schema: {
|
|
8302
8419
|
$defs: {
|
|
8420
|
+
HostOs: {
|
|
8421
|
+
description: "The operating system a host's sandboxes run: the guest OS of a macOS VM sandbox, else Linux.",
|
|
8422
|
+
enum: [
|
|
8423
|
+
"linux",
|
|
8424
|
+
"macos"
|
|
8425
|
+
],
|
|
8426
|
+
type: "string"
|
|
8427
|
+
},
|
|
8303
8428
|
SandboxClass: {
|
|
8304
8429
|
description: "How a sandbox holds its room on a host.",
|
|
8305
8430
|
oneOf: [
|
|
@@ -8349,7 +8474,7 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8349
8474
|
}
|
|
8350
8475
|
},
|
|
8351
8476
|
additionalProperties: false,
|
|
8352
|
-
description: "Start a sandbox: an isolated Linux container on one of the
|
|
8477
|
+
description: "Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the\norganization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow\n`GET /api/sandboxes/{id}/events` or read it again until it runs.",
|
|
8353
8478
|
properties: {
|
|
8354
8479
|
cache: {
|
|
8355
8480
|
description: "`false` skips the host's dependency cache for the repository.",
|
|
@@ -8455,6 +8580,17 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8455
8580
|
description: "The organization's handle, or your own handle for a personal sandbox.",
|
|
8456
8581
|
type: "string"
|
|
8457
8582
|
},
|
|
8583
|
+
os: {
|
|
8584
|
+
anyOf: [
|
|
8585
|
+
{
|
|
8586
|
+
$ref: "#/$defs/HostOs"
|
|
8587
|
+
},
|
|
8588
|
+
{
|
|
8589
|
+
type: "null"
|
|
8590
|
+
}
|
|
8591
|
+
],
|
|
8592
|
+
description: "The OS the sandbox runs: `linux` (the default) or `macos`, which only a macOS host takes."
|
|
8593
|
+
},
|
|
8458
8594
|
ref: {
|
|
8459
8595
|
description: "A branch, tag or commit of `repo`; the default branch when absent.",
|
|
8460
8596
|
type: [
|
|
@@ -8537,6 +8673,7 @@ the same gVisor release, else restores the files only. Open network connections
|
|
|
8537
8673
|
minutes: "minutes",
|
|
8538
8674
|
network: "network",
|
|
8539
8675
|
org: "org",
|
|
8676
|
+
os: "os",
|
|
8540
8677
|
ref: "ref",
|
|
8541
8678
|
repo: "repo",
|
|
8542
8679
|
sparse: "sparse",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.2";
|
|
2
2
|
export declare const API_VERSION = "2026-12-01";
|
|
@@ -367,6 +367,10 @@ export declare class IssuesResource {
|
|
|
367
367
|
* Issues by title words, repository name or number across every repository you belong to, open first. Each word must appear in `owner/name` or the title; a number matches the issue's number.
|
|
368
368
|
*/
|
|
369
369
|
mine(input?: T.IssuesMineInput, opts?: RequestOptions): Promise<T.IssuesMineOutput>;
|
|
370
|
+
/**
|
|
371
|
+
* List the issues that need you or are yours across every repository you can read, newest first.
|
|
372
|
+
*/
|
|
373
|
+
minePage(input?: T.IssuesMinePageInput, opts?: RequestOptions): Promise<T.IssuesMinePageOutput>;
|
|
370
374
|
/**
|
|
371
375
|
* Get the most important ready issue: unblocked, not an epic, with no live lease, and unassigned or assigned to you. Answers 204 when none is ready. With `claim` it also takes a lease on it.
|
|
372
376
|
*
|
|
@@ -457,6 +461,10 @@ export declare class MeResource {
|
|
|
457
461
|
* Whether the account's agent work is tracked. Off, requests from the account's tokens, CLI and MCP ignore `X-Sailfork-Agent`, take no lease and read as the person.
|
|
458
462
|
*/
|
|
459
463
|
agentTracking(input?: T.MeAgentTrackingInput, opts?: RequestOptions): Promise<T.MeAgentTrackingOutput>;
|
|
464
|
+
/**
|
|
465
|
+
* The signed-in account. Any token or session works, whatever its scopes.
|
|
466
|
+
*/
|
|
467
|
+
get(input?: T.MeGetInput, opts?: RequestOptions): Promise<T.MeGetOutput>;
|
|
460
468
|
/**
|
|
461
469
|
* Mark the welcome steps finished or skipped. The first time is kept.
|
|
462
470
|
*/
|
|
@@ -591,6 +599,10 @@ export declare class PullsResource {
|
|
|
591
599
|
* Resolves to `{ status: "held" }` when a person has to approve it first.
|
|
592
600
|
*/
|
|
593
601
|
merge(input: T.PullsMergeInput, opts?: RequestOptions): Promise<Result<T.PullsMergeOutput>>;
|
|
602
|
+
/**
|
|
603
|
+
* List the pull requests that need you or are yours across every repository you can read, newest first.
|
|
604
|
+
*/
|
|
605
|
+
mine(input?: T.PullsMineInput, opts?: RequestOptions): Promise<T.PullsMineOutput>;
|
|
594
606
|
/**
|
|
595
607
|
* Bring the base into a pull request's branch as one merge commit by the caller, with every conflict resolved. Needs push access to the branch.
|
|
596
608
|
*/
|
|
@@ -620,6 +632,34 @@ export declare class PullsResource {
|
|
|
620
632
|
*/
|
|
621
633
|
updateBranch(input: T.PullsUpdateBranchInput, opts?: RequestOptions): Promise<T.PullsUpdateBranchOutput>;
|
|
622
634
|
}
|
|
635
|
+
export declare class PushResource {
|
|
636
|
+
private readonly core;
|
|
637
|
+
constructor(core: Core);
|
|
638
|
+
/**
|
|
639
|
+
* Register the app's APNs device token for this device, or refresh it. The same `deviceId` again replaces the token, environment and versions; a token another device or account held before is released to this one.
|
|
640
|
+
*/
|
|
641
|
+
devicesRegister(input: T.PushDevicesRegisterInput, opts?: RequestOptions): Promise<T.PushDevicesRegisterOutput>;
|
|
642
|
+
/**
|
|
643
|
+
* Stop pushing to a device, as the app does when the person signs out. A device that is not registered answers the same.
|
|
644
|
+
*/
|
|
645
|
+
devicesUnregister(input: T.PushDevicesUnregisterInput, opts?: RequestOptions): Promise<T.PushDevicesUnregisterOutput>;
|
|
646
|
+
/**
|
|
647
|
+
* Register a Live Activity token. A `push_to_start` token lets the server start an activity for a run or pull request you start; an `activity` token, with its `subject`, receives that activity's updates until it ends. The same token again replaces its subject and expiry.
|
|
648
|
+
*/
|
|
649
|
+
liveActivityTokensRegister(input: T.PushLiveActivityTokensRegisterInput, opts?: RequestOptions): Promise<T.PushLiveActivityTokensRegisterOutput>;
|
|
650
|
+
/**
|
|
651
|
+
* Forget a Live Activity token, as the app does when its activity ends.
|
|
652
|
+
*/
|
|
653
|
+
liveActivityTokensRemove(input: T.PushLiveActivityTokensRemoveInput, opts?: RequestOptions): Promise<T.PushLiveActivityTokensRemoveOutput>;
|
|
654
|
+
/**
|
|
655
|
+
* What reaches your phone: the push switches, and whether runs show as Live Activities.
|
|
656
|
+
*/
|
|
657
|
+
settingsGet(input?: T.PushSettingsGetInput, opts?: RequestOptions): Promise<T.PushSettingsGetOutput>;
|
|
658
|
+
/**
|
|
659
|
+
* Turn push events and Live Activities on or off. Only the fields sent change.
|
|
660
|
+
*/
|
|
661
|
+
settingsUpdate(input?: T.PushSettingsUpdateInput, opts?: RequestOptions): Promise<T.PushSettingsUpdateOutput>;
|
|
662
|
+
}
|
|
623
663
|
export declare class ReposResource {
|
|
624
664
|
private readonly core;
|
|
625
665
|
constructor(core: Core);
|
|
@@ -656,7 +696,7 @@ export declare class SandboxesResource {
|
|
|
656
696
|
private readonly core;
|
|
657
697
|
constructor(core: Core);
|
|
658
698
|
/**
|
|
659
|
-
* Start a sandbox: an isolated Linux container on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.
|
|
699
|
+
* Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.
|
|
660
700
|
*/
|
|
661
701
|
create(input: T.SandboxesCreateInput, opts?: RequestOptions): Promise<T.SandboxesCreateOutput>;
|
|
662
702
|
/**
|
|
@@ -876,7 +916,7 @@ export declare class OrgSandboxesResource {
|
|
|
876
916
|
private readonly bound;
|
|
877
917
|
constructor(core: Core, bound: OrgBound);
|
|
878
918
|
/**
|
|
879
|
-
* Start a sandbox: an isolated Linux container on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.
|
|
919
|
+
* Start a sandbox: an isolated Linux container (or, with `os` set to `macos`, a macOS VM) on one of the organization's Drydock hosts, for untrusted code, builds, tests or scripts. Answers 201 once it runs, or 202 with it `queued` when every host is full; follow `GET /api/sandboxes/{id}/events` or read it again until it runs.
|
|
880
920
|
*/
|
|
881
921
|
create(input?: Omit<T.SandboxesCreateInput, 'org'>, opts?: RequestOptions): Promise<T.SandboxesCreateOutput>;
|
|
882
922
|
/**
|
|
@@ -1369,6 +1409,7 @@ export type Resources = {
|
|
|
1369
1409
|
milestones: MilestonesResource;
|
|
1370
1410
|
notes: NotesResource;
|
|
1371
1411
|
pulls: PullsResource;
|
|
1412
|
+
push: PushResource;
|
|
1372
1413
|
repos: ReposResource;
|
|
1373
1414
|
sandboxes: SandboxesResource;
|
|
1374
1415
|
search: SearchResource;
|
|
@@ -2,4 +2,4 @@ export * from "./api.js";
|
|
|
2
2
|
export { type OpId, ops } from "./ops.js";
|
|
3
3
|
export * as tools from "./tools.js";
|
|
4
4
|
export type * as types from "./types.js";
|
|
5
|
-
export type { AffectedMode, AffectedStep, AgentTrackingState, Annotation, ApiError, Artifacts, AskKind, AskOptionInput, AutoMerge, BatchItem, BranchUpdated, CaissonAffected, CaissonAsk, CaissonAstMatch, CaissonAstMatches, CaissonBase, CaissonBashResult, CaissonBatchResult, CaissonChange, CaissonChangeRequest, CaissonChanged, CaissonCommitted, CaissonEdit, CaissonFileRead, CaissonFilesRead, CaissonGlob, CaissonGrep, CaissonGrepCount, CaissonGrepLine, CaissonGrepMatch, CaissonLocated, CaissonLspAnswer, CaissonLspPlace, CaissonLspProgress, CaissonLspQuestion, CaissonLspRenamed, CaissonLspStopped, CaissonPage, CaissonPolicy, CaissonPull, CaissonRefused, CaissonReview, CaissonReviewStatus, CaissonRow, CaissonShipped, CaissonTested, Check, CheckRun, CheckRunAction, CheckRunApp, CheckRunApp2, CheckRunBody, CheckRunBrief, CheckRunList, CheckRunOutput, CheckRunText, CheckSource, CheckState, CheckStep, ChecksState, Claim, CloneDefaults, CloneDefaultsEdit, CloseReason, CodeLine, CodeSnippet, CommentKind, CommentProof, CommitLog, CommitPage, CommitRecord, CommitView, CompareAnswer, CompareFiles, CompareView, ConflictFile, ConflictKind, ConflictResolution, ConflictSide, ConflictTake, ContextVisibility, CreatedIssue, Delegate, DelegateAsk, DelegateRequest, DeletionScheduled, DiffHunk, DiffLine, DiffSide, DiffTotals, EnvChain, EnvChainEntry, EnvDeviceRequest, EnvFile, EnvFileWrite, EnvFiles, EnvLog, EnvLogEntry, EnvPendingRemoval, EnvPerson, EnvRekeyFile, EnvRepo, EnvSigned, ErrorCode, ErrorLocation, Event, EventPage, EventSubscription, FailedStep, FileDiff, FileHit, FindingResolution, GithubInstallUrl, GithubInstallation, GithubRepo, GrepMode, Held, HeldDecided, HeldListing, HeldRequest, Hidden, HideReason, Inbox, InboxCounts, InboxItem, Issue, IssueAsk, IssueAskAnswer, IssueAskOption, IssueComment, IssueContext, IssueDetail, IssueEvent, IssuePage, IssuePriority, IssueStage, IssueStarted, IssueState, IssueStatus, ItemRef, KeyProof, Label, LabelItem, LabelList, MeUpdated, MergeMethod, Mergeable, Milestone, MilestoneItem, MilestoneList, MilestoneState, MyIssue, MyIssues, NoContent, Opener, PathHit, PathRule, Proof, ProofSource, Pull, PullChecks, PullComment, PullCommit, PullConflicts, PullDetail, PullDiff, PullFile, PullHunk, PullItems, PullLine, PullMerge, PullPage, PullPatchState, PullThread, QueueBatch, QueueDropped, QueueEntry, QueueStatus, Reaction, Reaction2, ReactionKind, RecoveryCodeList, RefHit, RefHit2, RefResults, RefResults2, RelatedItem, RelatedKind, RelatedLink, RelatedWork, RepoHit, RepoInfo, RepoNote, RepoNoteLimits, RepoNotes, ReviewChange, ReviewComment, ReviewFinding, ReviewFindingInput, ReviewPacket, ReviewRisk, ReviewSince, ReviewSinceFinding, Rollup, Run, RunArtifact, RunCancelled, RunEvent, RunFailures, RunId, RunJob, RunLogPage, RunLogs, RunStep, RunStepLog, RunTests, RunWait, Runs, Sandbox, SandboxBackground, SandboxCaisson, SandboxClass, SandboxExecResult, SandboxHostRef, SandboxIdle, SandboxKind, SandboxOrigin, SandboxPage, SandboxTokenMode, SandboxUsage, SandboxWait, SearchResults, SessionStep, SimilarIssue, SimilarIssues, SkippedWorkflow, SshKey, StackEntry, StopMode, SubIssue, Surface, SymbolHit, SymbolHit2, SymbolResults, SymbolResults2, TestFailure, Token, TokenCreated, TotpSetup, TouchingState, Verdict, Visibility, WaitAnswer, WaitTarget, WorkspaceUnread } from "./types.js";
|
|
5
|
+
export type { AffectedMode, AffectedStep, AgentTrackingState, Annotation, ApiError, Artifacts, AskKind, AskOptionInput, AutoMerge, BatchItem, BranchUpdated, CaissonAffected, CaissonAsk, CaissonAstMatch, CaissonAstMatches, CaissonBase, CaissonBashResult, CaissonBatchResult, CaissonChange, CaissonChangeRequest, CaissonChanged, CaissonCommitted, CaissonEdit, CaissonFileRead, CaissonFilesRead, CaissonGlob, CaissonGrep, CaissonGrepCount, CaissonGrepLine, CaissonGrepMatch, CaissonLocated, CaissonLspAnswer, CaissonLspPlace, CaissonLspProgress, CaissonLspQuestion, CaissonLspRenamed, CaissonLspStopped, CaissonPage, CaissonPolicy, CaissonPull, CaissonRefused, CaissonReview, CaissonReviewStatus, CaissonRow, CaissonShipped, CaissonTested, Check, CheckRun, CheckRunAction, CheckRunApp, CheckRunApp2, CheckRunBody, CheckRunBrief, CheckRunList, CheckRunOutput, CheckRunText, CheckSource, CheckState, CheckStep, ChecksState, Claim, CloneDefaults, CloneDefaultsEdit, CloseReason, CodeLine, CodeSnippet, CommentKind, CommentProof, CommitLog, CommitPage, CommitRecord, CommitView, CompareAnswer, CompareFiles, CompareView, ConflictFile, ConflictKind, ConflictResolution, ConflictSide, ConflictTake, ContextVisibility, CreatedIssue, Delegate, DelegateAsk, DelegateRequest, DeletionScheduled, DiffHunk, DiffLine, DiffSide, DiffTotals, EnvChain, EnvChainEntry, EnvDeviceRequest, EnvFile, EnvFileWrite, EnvFiles, EnvLog, EnvLogEntry, EnvPendingRemoval, EnvPerson, EnvRekeyFile, EnvRepo, EnvSigned, ErrorCode, ErrorLocation, Event, EventPage, EventSubscription, FailedStep, FileDiff, FileHit, FindingResolution, GithubInstallUrl, GithubInstallation, GithubRepo, GrepMode, Held, HeldDecided, HeldListing, HeldRequest, Hidden, HideReason, HostOs, Inbox, InboxCounts, InboxItem, Issue, IssueAsk, IssueAskAnswer, IssueAskOption, IssueComment, IssueContext, IssueDetail, IssueEvent, IssuePage, IssuePriority, IssueStage, IssueStarted, IssueState, IssueStatus, ItemRef, KeyProof, Label, LabelItem, LabelList, LiveActivityToken, LiveActivityTokenKind, MeUpdated, MeView, MergeMethod, Mergeable, Milestone, MilestoneItem, MilestoneList, MilestoneState, MyIssue, MyIssueFilter, MyIssuePage, MyIssuePageItem, MyIssues, MyPull, MyPullFilter, MyPullPage, NoContent, Opener, PathHit, PathRule, Proof, ProofSource, Pull, PullChecks, PullComment, PullCommit, PullConflicts, PullDetail, PullDiff, PullFile, PullHunk, PullItems, PullLine, PullMerge, PullPage, PullPatchState, PullThread, PushDevice, PushEnvironment, PushSettings, QueueBatch, QueueDropped, QueueEntry, QueueStatus, Reaction, Reaction2, ReactionKind, RecoveryCodeList, RefHit, RefHit2, RefResults, RefResults2, RelatedItem, RelatedKind, RelatedLink, RelatedWork, RepoHit, RepoInfo, RepoNote, RepoNoteLimits, RepoNotes, ReviewChange, ReviewComment, ReviewFinding, ReviewFindingInput, ReviewPacket, ReviewRisk, ReviewSince, ReviewSinceFinding, Rollup, Run, RunArtifact, RunCancelled, RunEvent, RunFailures, RunId, RunJob, RunLogPage, RunLogs, RunStep, RunStepLog, RunTests, RunWait, Runs, Sandbox, SandboxBackground, SandboxCaisson, SandboxClass, SandboxExecResult, SandboxHostRef, SandboxIdle, SandboxKind, SandboxOrigin, SandboxPage, SandboxTokenMode, SandboxUsage, SandboxWait, SearchResults, SessionStep, SimilarIssue, SimilarIssues, SkippedWorkflow, SshKey, StackEntry, StopMode, SubIssue, Surface, SymbolHit, SymbolHit2, SymbolResults, SymbolResults2, TestFailure, Token, TokenCreated, TotpSetup, TouchingState, Verdict, Visibility, WaitAnswer, WaitTarget, WorkspaceUnread } from "./types.js";
|