@kilocode/sdk 7.0.34 → 7.0.35
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/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -277,6 +277,7 @@ export declare class Worktree extends HeyApiClient {
|
|
|
277
277
|
*/
|
|
278
278
|
diff<ThrowOnError extends boolean = false>(parameters?: {
|
|
279
279
|
directory?: string;
|
|
280
|
+
base?: string;
|
|
280
281
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeDiffResponses, WorktreeDiffErrors, ThrowOnError, "fields">;
|
|
281
282
|
}
|
|
282
283
|
export declare class Session extends HeyApiClient {
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -502,7 +502,14 @@ export class Worktree extends HeyApiClient {
|
|
|
502
502
|
* Get file diffs for a worktree compared to its base branch. Includes uncommitted changes.
|
|
503
503
|
*/
|
|
504
504
|
diff(parameters, options) {
|
|
505
|
-
const params = buildClientParams([parameters], [
|
|
505
|
+
const params = buildClientParams([parameters], [
|
|
506
|
+
{
|
|
507
|
+
args: [
|
|
508
|
+
{ in: "query", key: "directory" },
|
|
509
|
+
{ in: "query", key: "base" },
|
|
510
|
+
],
|
|
511
|
+
},
|
|
512
|
+
]);
|
|
506
513
|
return (options?.client ?? this.client).get({
|
|
507
514
|
url: "/experimental/worktree/diff",
|
|
508
515
|
...options,
|