@nikcli-ai/sdk 1.79.0 → 1.81.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.
@@ -115,6 +115,7 @@ export declare class Loop extends HeyApiClient {
115
115
  };
116
116
  maxRuns?: number;
117
117
  timeoutMs?: number;
118
+ createPR?: boolean;
118
119
  paused?: boolean;
119
120
  enabled?: boolean;
120
121
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LoopUpsertResponses, LoopUpsertErrors, ThrowOnError, "fields">;
@@ -185,6 +186,7 @@ export declare class Loop extends HeyApiClient {
185
186
  };
186
187
  maxRuns?: number;
187
188
  timeoutMs?: number;
189
+ createPR?: boolean;
188
190
  paused?: boolean;
189
191
  enabled?: boolean;
190
192
  createdAt?: number;
@@ -163,6 +163,7 @@ export class Loop extends HeyApiClient {
163
163
  { in: "body", key: "trigger" },
164
164
  { in: "body", key: "maxRuns" },
165
165
  { in: "body", key: "timeoutMs" },
166
+ { in: "body", key: "createPR" },
166
167
  { in: "body", key: "paused" },
167
168
  { in: "body", key: "enabled" },
168
169
  ],
@@ -295,6 +296,7 @@ export class Loop extends HeyApiClient {
295
296
  { in: "body", key: "trigger" },
296
297
  { in: "body", key: "maxRuns" },
297
298
  { in: "body", key: "timeoutMs" },
299
+ { in: "body", key: "createPR" },
298
300
  { in: "body", key: "paused" },
299
301
  { in: "body", key: "enabled" },
300
302
  { in: "body", key: "createdAt" },
@@ -1109,6 +1109,7 @@ export type LoopDefinition = {
1109
1109
  };
1110
1110
  maxRuns?: number;
1111
1111
  timeoutMs?: number;
1112
+ createPR?: boolean;
1112
1113
  paused?: boolean;
1113
1114
  enabled: boolean;
1114
1115
  createdAt: number;
@@ -1138,6 +1139,14 @@ export type LoopTemplate = {
1138
1139
  maxRuns?: number;
1139
1140
  };
1140
1141
  };
1142
+ export type LoopRunPullRequestRef = {
1143
+ number: number;
1144
+ url: string;
1145
+ branch: string;
1146
+ base: string;
1147
+ title?: string;
1148
+ action: "created" | "updated";
1149
+ };
1141
1150
  export type LoopRun = {
1142
1151
  id: string;
1143
1152
  loopID: string;
@@ -1147,6 +1156,7 @@ export type LoopRun = {
1147
1156
  ok: boolean;
1148
1157
  error?: string;
1149
1158
  sessionID?: string;
1159
+ pullRequest?: LoopRunPullRequestRef;
1150
1160
  };
1151
1161
  export type MissionDefinition = {
1152
1162
  id: string;
@@ -3348,6 +3358,7 @@ export type MobileLoop = {
3348
3358
  };
3349
3359
  maxRuns?: number;
3350
3360
  timeoutMs?: number;
3361
+ createPR?: boolean;
3351
3362
  paused?: boolean;
3352
3363
  enabled: boolean;
3353
3364
  createdAt: number;
@@ -3392,6 +3403,14 @@ export type MobileLoopRun = {
3392
3403
  sessionID?: string;
3393
3404
  error?: string;
3394
3405
  ok: boolean;
3406
+ pullRequest?: {
3407
+ number: number;
3408
+ url: string;
3409
+ branch: string;
3410
+ base: string;
3411
+ title?: string;
3412
+ action: "created" | "updated";
3413
+ };
3395
3414
  };
3396
3415
  export type MobileLoopWriteInput = {
3397
3416
  name: string;
@@ -3410,6 +3429,7 @@ export type MobileLoopWriteInput = {
3410
3429
  };
3411
3430
  maxRuns?: number;
3412
3431
  timeoutMs?: number;
3432
+ createPR?: boolean;
3413
3433
  paused?: boolean;
3414
3434
  enabled: boolean;
3415
3435
  };
@@ -3839,6 +3859,7 @@ export type LoopUpsertData = {
3839
3859
  };
3840
3860
  maxRuns?: number;
3841
3861
  timeoutMs?: number;
3862
+ createPR?: boolean;
3842
3863
  paused?: boolean;
3843
3864
  enabled: boolean;
3844
3865
  };
@@ -3990,6 +4011,7 @@ export type LoopUpdateData = {
3990
4011
  };
3991
4012
  maxRuns?: number;
3992
4013
  timeoutMs?: number;
4014
+ createPR?: boolean;
3993
4015
  paused?: boolean;
3994
4016
  enabled: boolean;
3995
4017
  createdAt: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.79.0",
4
+ "version": "1.81.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {