sailfork 0.1.1 → 0.2.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.cjs CHANGED
@@ -604,7 +604,7 @@ async function resolveToken(host, option) {
604
604
  }
605
605
 
606
606
  // src/core/version.ts
607
- var VERSION = "0.1.1";
607
+ var VERSION = "0.2.0";
608
608
  var API_VERSION = "2026-12-01";
609
609
 
610
610
  // src/core/client.ts
@@ -1099,7 +1099,7 @@ var ops = {
1099
1099
  method: "GET",
1100
1100
  path: "/api/orgs/{org}/caissons",
1101
1101
  pathParams: ["org"],
1102
- queryParams: ["repo", "state", "limit", "cursor", "brief", "full"],
1102
+ queryParams: ["repo", "state", "limit", "cursor", "brief", "full", "branch", "pull", "issue"],
1103
1103
  bodyParams: [],
1104
1104
  effect: "read",
1105
1105
  retry: "safe",
package/dist/index.js CHANGED
@@ -500,7 +500,7 @@ async function resolveToken(host, option) {
500
500
  }
501
501
 
502
502
  // src/core/version.ts
503
- var VERSION = "0.1.1";
503
+ var VERSION = "0.2.0";
504
504
  var API_VERSION = "2026-12-01";
505
505
 
506
506
  // src/core/client.ts
@@ -995,7 +995,7 @@ var ops = {
995
995
  method: "GET",
996
996
  path: "/api/orgs/{org}/caissons",
997
997
  pathParams: ["org"],
998
- queryParams: ["repo", "state", "limit", "cursor", "brief", "full"],
998
+ queryParams: ["repo", "state", "limit", "cursor", "brief", "full", "branch", "pull", "issue"],
999
999
  bodyParams: [],
1000
1000
  effect: "read",
1001
1001
  retry: "safe",
package/dist/tools.cjs CHANGED
@@ -195,7 +195,7 @@ var ops = {
195
195
  method: "GET",
196
196
  path: "/api/orgs/{org}/caissons",
197
197
  pathParams: ["org"],
198
- queryParams: ["repo", "state", "limit", "cursor", "brief", "full"],
198
+ queryParams: ["repo", "state", "limit", "cursor", "brief", "full", "branch", "pull", "issue"],
199
199
  bodyParams: [],
200
200
  effect: "read",
201
201
  retry: "safe",
@@ -2497,6 +2497,13 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2497
2497
  schema: {
2498
2498
  description: "List an owner's caissons, newest first, across the repositories the caller may read. Pages of 30 by default;\n`full=1` without `limit` or `cursor` answers a bare array of whole caissons instead.",
2499
2499
  properties: {
2500
+ branch: {
2501
+ description: "Only caissons on this branch. With `pull` or `issue`, a caisson matching any of them.",
2502
+ type: [
2503
+ "string",
2504
+ "null"
2505
+ ]
2506
+ },
2500
2507
  brief: {
2501
2508
  description: "`live`, `finished` or `all`: the rows a list page draws, with the files each changes.",
2502
2509
  type: [
@@ -2518,6 +2525,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2518
2525
  "null"
2519
2526
  ]
2520
2527
  },
2528
+ issue: {
2529
+ description: "Only caissons on an `issue/<n>` or `issue/<n>-...` branch. With `branch` or `pull`, a caisson matching any of\nthem.",
2530
+ format: "int64",
2531
+ type: [
2532
+ "integer",
2533
+ "null"
2534
+ ]
2535
+ },
2521
2536
  limit: {
2522
2537
  description: "Items per page: 30 by default, at most 200.",
2523
2538
  format: "int64",
@@ -2530,6 +2545,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2530
2545
  description: "The org or user the caissons are under.",
2531
2546
  type: "string"
2532
2547
  },
2548
+ pull: {
2549
+ description: "Only caissons that opened this pull request. With `branch` or `issue`, a caisson matching any of them.",
2550
+ format: "int64",
2551
+ type: [
2552
+ "integer",
2553
+ "null"
2554
+ ]
2555
+ },
2533
2556
  repo: {
2534
2557
  description: "Only this repository's caissons.",
2535
2558
  type: [
@@ -2551,11 +2574,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2551
2574
  type: "object"
2552
2575
  },
2553
2576
  renames: {
2577
+ branch: "branch",
2554
2578
  brief: "brief",
2555
2579
  cursor: "cursor",
2556
2580
  full: "full",
2581
+ issue: "issue",
2557
2582
  limit: "limit",
2558
2583
  org: "org",
2584
+ pull: "pull",
2559
2585
  repo: "repo",
2560
2586
  state: "state"
2561
2587
  }
package/dist/tools.js CHANGED
@@ -148,7 +148,7 @@ var ops = {
148
148
  method: "GET",
149
149
  path: "/api/orgs/{org}/caissons",
150
150
  pathParams: ["org"],
151
- queryParams: ["repo", "state", "limit", "cursor", "brief", "full"],
151
+ queryParams: ["repo", "state", "limit", "cursor", "brief", "full", "branch", "pull", "issue"],
152
152
  bodyParams: [],
153
153
  effect: "read",
154
154
  retry: "safe",
@@ -2450,6 +2450,13 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2450
2450
  schema: {
2451
2451
  description: "List an owner's caissons, newest first, across the repositories the caller may read. Pages of 30 by default;\n`full=1` without `limit` or `cursor` answers a bare array of whole caissons instead.",
2452
2452
  properties: {
2453
+ branch: {
2454
+ description: "Only caissons on this branch. With `pull` or `issue`, a caisson matching any of them.",
2455
+ type: [
2456
+ "string",
2457
+ "null"
2458
+ ]
2459
+ },
2453
2460
  brief: {
2454
2461
  description: "`live`, `finished` or `all`: the rows a list page draws, with the files each changes.",
2455
2462
  type: [
@@ -2471,6 +2478,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2471
2478
  "null"
2472
2479
  ]
2473
2480
  },
2481
+ issue: {
2482
+ description: "Only caissons on an `issue/<n>` or `issue/<n>-...` branch. With `branch` or `pull`, a caisson matching any of\nthem.",
2483
+ format: "int64",
2484
+ type: [
2485
+ "integer",
2486
+ "null"
2487
+ ]
2488
+ },
2474
2489
  limit: {
2475
2490
  description: "Items per page: 30 by default, at most 200.",
2476
2491
  format: "int64",
@@ -2483,6 +2498,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2483
2498
  description: "The org or user the caissons are under.",
2484
2499
  type: "string"
2485
2500
  },
2501
+ pull: {
2502
+ description: "Only caissons that opened this pull request. With `branch` or `issue`, a caisson matching any of them.",
2503
+ format: "int64",
2504
+ type: [
2505
+ "integer",
2506
+ "null"
2507
+ ]
2508
+ },
2486
2509
  repo: {
2487
2510
  description: "Only this repository's caissons.",
2488
2511
  type: [
@@ -2504,11 +2527,14 @@ can be tried at once. Stopped and merged caissons can be forked too.`,
2504
2527
  type: "object"
2505
2528
  },
2506
2529
  renames: {
2530
+ branch: "branch",
2507
2531
  brief: "brief",
2508
2532
  cursor: "cursor",
2509
2533
  full: "full",
2534
+ issue: "issue",
2510
2535
  limit: "limit",
2511
2536
  org: "org",
2537
+ pull: "pull",
2512
2538
  repo: "repo",
2513
2539
  state: "state"
2514
2540
  }
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.1";
1
+ export declare const VERSION = "0.2.0";
2
2
  export declare const API_VERSION = "2026-12-01";
@@ -2262,16 +2262,22 @@ export type CaissonsGrepOutput = CaissonGrep;
2262
2262
  * List an owner's caissons, newest first, across the repositories the caller may read. Pages of 30 by default; `full=1` without `limit` or `cursor` answers a bare array of whole caissons instead.
2263
2263
  */
2264
2264
  export type CaissonsListInput = {
2265
+ /** Only caissons on this branch. With `pull` or `issue`, a caisson matching any of them. */
2266
+ branch?: string | null;
2265
2267
  /** `live`, `finished` or `all`: the rows a list page draws, with the files each changes. */
2266
2268
  brief?: string | null;
2267
2269
  /** The `nextCursor` of the previous page. */
2268
2270
  cursor?: string | null;
2269
2271
  /** `1`: the array of whole caissons (diff, commits and session log of each), at most 200. */
2270
2272
  full?: string | null;
2273
+ /** Only caissons on an `issue/<n>` or `issue/<n>-...` branch. With `branch` or `pull`, a caisson matching any of them. */
2274
+ issue?: number | null;
2271
2275
  /** Items per page: 30 by default, at most 200. */
2272
2276
  limit?: number | null;
2273
2277
  /** The org or user the caissons are under. */
2274
2278
  org: string;
2279
+ /** Only caissons that opened this pull request. With `branch` or `issue`, a caisson matching any of them. */
2280
+ pull?: number | null;
2275
2281
  /** Only this repository's caissons. */
2276
2282
  repo?: string | null;
2277
2283
  /** Only caissons in this state. */
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.1";
1
+ export declare const VERSION = "0.2.0";
2
2
  export declare const API_VERSION = "2026-12-01";
@@ -2262,16 +2262,22 @@ export type CaissonsGrepOutput = CaissonGrep;
2262
2262
  * List an owner's caissons, newest first, across the repositories the caller may read. Pages of 30 by default; `full=1` without `limit` or `cursor` answers a bare array of whole caissons instead.
2263
2263
  */
2264
2264
  export type CaissonsListInput = {
2265
+ /** Only caissons on this branch. With `pull` or `issue`, a caisson matching any of them. */
2266
+ branch?: string | null;
2265
2267
  /** `live`, `finished` or `all`: the rows a list page draws, with the files each changes. */
2266
2268
  brief?: string | null;
2267
2269
  /** The `nextCursor` of the previous page. */
2268
2270
  cursor?: string | null;
2269
2271
  /** `1`: the array of whole caissons (diff, commits and session log of each), at most 200. */
2270
2272
  full?: string | null;
2273
+ /** Only caissons on an `issue/<n>` or `issue/<n>-...` branch. With `branch` or `pull`, a caisson matching any of them. */
2274
+ issue?: number | null;
2271
2275
  /** Items per page: 30 by default, at most 200. */
2272
2276
  limit?: number | null;
2273
2277
  /** The org or user the caissons are under. */
2274
2278
  org: string;
2279
+ /** Only caissons that opened this pull request. With `branch` or `issue`, a caisson matching any of them. */
2280
+ pull?: number | null;
2275
2281
  /** Only this repository's caissons. */
2276
2282
  repo?: string | null;
2277
2283
  /** Only caissons in this state. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailfork",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "The Sailfork SDK for TypeScript: issues, pull requests, caissons and CI for agents.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",