@sideboard-ai/core 0.1.67 → 0.1.68
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/{agents-TS3EI2YI.js → agents-JBD7IAGK.js} +6 -6
- package/dist/{agents-OTBZVTZO.js → agents-PE3RHQS5.js} +6 -6
- package/dist/{chunk-K7LM4CLD.js → chunk-47RBLBRK.js} +4 -4
- package/dist/{chunk-B4PRRKMA.js → chunk-6Q7H6SMX.js} +4 -4
- package/dist/{chunk-FGDJOJ2L.js → chunk-AE5VBOFE.js} +1 -1
- package/dist/{chunk-DB3I75FI.js → chunk-BTL7EMGT.js} +4 -4
- package/dist/{chunk-4UIYN56C.js → chunk-D4DPQ552.js} +1 -1
- package/dist/{chunk-WAFIF22N.js → chunk-DPDGMMGI.js} +2 -2
- package/dist/{chunk-4BUCGNZS.js → chunk-EEBDVLDK.js} +22 -20
- package/dist/{chunk-57WWNMFP.js → chunk-N5LMEP65.js} +1 -1
- package/dist/{chunk-JWZNK3CQ.js → chunk-OICHV4DH.js} +2 -2
- package/dist/{chunk-5HTTCYWA.js → chunk-QQC2D4MY.js} +2 -2
- package/dist/{chunk-LW5CMQGZ.js → chunk-REKGFVUX.js} +22 -20
- package/dist/{chunk-7ZOQY4A7.js → chunk-ROXEENBT.js} +2 -2
- package/dist/{chunk-M5V4QIWF.js → chunk-VROPG6QF.js} +1 -1
- package/dist/{chunk-ZRFAZVGL.js → chunk-VX6ACNXS.js} +1 -1
- package/dist/{connected-teams-RUNMOCG5.js → connected-teams-35EIRJCP.js} +2 -2
- package/dist/{connected-teams-OMDHTL6A.js → connected-teams-ZRS53OAT.js} +2 -2
- package/dist/{coordinator-prompt-3BSMKZL4.js → coordinator-prompt-HD6IMCKS.js} +3 -3
- package/dist/{coordinator-prompt-6HMTOX4G.js → coordinator-prompt-YZYZ5P6P.js} +3 -3
- package/dist/{global-workspace-QS7A23CB.js → global-workspace-7P5NG3JZ.js} +4 -4
- package/dist/{global-workspace-YZ2NJVLL.js → global-workspace-Z6GF7D2K.js} +4 -4
- package/dist/index.cjs +367 -158
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +364 -157
- package/dist/mcp/run-stdio.cjs +367 -158
- package/dist/mcp/run-stdio.js +363 -156
- package/dist/{run-Y2MI3EVV.js → run-A4RHY7HH.js} +1 -1
- package/dist/{run-JLD2Y52J.js → run-V2WZUMJA.js} +1 -1
- package/dist/{workspaces-EBFW7I7S.js → workspaces-BWJNGEE6.js} +5 -5
- package/dist/{workspaces-AIUYUXB7.js → workspaces-O6EZGKQK.js} +5 -5
- package/dist/{worktree-WMDJW2BL.js → worktree-VDXLUOWR.js} +2 -2
- package/dist/{worktree-7NBPIVFZ.js → worktree-ZPSKEZFE.js} +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -367,6 +367,8 @@ interface DiffResult {
|
|
|
367
367
|
hasLastTurnBase: boolean;
|
|
368
368
|
/** Recent commits on the branch (vs merge-base), for the Commits flyout. */
|
|
369
369
|
commits: DiffCommit[];
|
|
370
|
+
/** Resolved merge-base SHA when comparing the branch to the default. */
|
|
371
|
+
mergeBase?: string | null;
|
|
370
372
|
}
|
|
371
373
|
interface LandPreview {
|
|
372
374
|
branch: string;
|
|
@@ -1046,7 +1048,9 @@ declare function ensureGhPreferOrigin(cwd: string): Promise<void>;
|
|
|
1046
1048
|
* Makerkit-style `upstream`. `GH_REPO` is the CLI's documented override.
|
|
1047
1049
|
*/
|
|
1048
1050
|
declare function originGhRepoEnv(cwd: string): Promise<Record<string, string>>;
|
|
1049
|
-
declare function resolveDefaultBranch(repoPath: string
|
|
1051
|
+
declare function resolveDefaultBranch(repoPath: string, opts?: {
|
|
1052
|
+
network?: boolean;
|
|
1053
|
+
}): Promise<string>;
|
|
1050
1054
|
/**
|
|
1051
1055
|
* Prefer `origin/<branch>` for diff/merge-base so Changes / Land don't inflate
|
|
1052
1056
|
* against a stale local default-branch tip (common after adopting a PR).
|
|
@@ -1871,6 +1875,18 @@ interface GetDiffOptions {
|
|
|
1871
1875
|
lastTurnBase?: string | null;
|
|
1872
1876
|
/** When scope is `commits`, show only this commit's patch. */
|
|
1873
1877
|
commitSha?: string | null;
|
|
1878
|
+
/**
|
|
1879
|
+
* When false, skip unified patches (file list + line counts only).
|
|
1880
|
+
* Default true. The Changes file list should pass false and load one
|
|
1881
|
+
* file's patch with `path` when the editor opens.
|
|
1882
|
+
*/
|
|
1883
|
+
includePatches?: boolean;
|
|
1884
|
+
/** Scope stats, commits, dirty, unpushed. Default true. */
|
|
1885
|
+
includeMeta?: boolean;
|
|
1886
|
+
/** Untracked files. Default follows the scope (usually on). */
|
|
1887
|
+
includeUntracked?: boolean;
|
|
1888
|
+
/** Only this worktree-relative path. */
|
|
1889
|
+
path?: string;
|
|
1874
1890
|
}
|
|
1875
1891
|
/** Recent commits since merge-base (Cursor Commits submenu). */
|
|
1876
1892
|
declare function listBranchCommits(worktreePath: string, repoPath: string, opts?: {
|
|
@@ -2432,6 +2448,11 @@ declare class Orchestrator {
|
|
|
2432
2448
|
diff(threadRef: string, opts?: {
|
|
2433
2449
|
scope?: DiffScope;
|
|
2434
2450
|
commitSha?: string | null;
|
|
2451
|
+
base?: string;
|
|
2452
|
+
includePatches?: boolean;
|
|
2453
|
+
includeMeta?: boolean;
|
|
2454
|
+
includeUntracked?: boolean;
|
|
2455
|
+
path?: string;
|
|
2435
2456
|
}): Promise<DiffResult>;
|
|
2436
2457
|
diffSummary(threadRef: string): Promise<{
|
|
2437
2458
|
base: string;
|
|
@@ -3026,6 +3047,11 @@ interface IpcApi {
|
|
|
3026
3047
|
getDiff(threadRef: string, opts?: {
|
|
3027
3048
|
scope?: DiffScope;
|
|
3028
3049
|
commitSha?: string | null;
|
|
3050
|
+
base?: string;
|
|
3051
|
+
includePatches?: boolean;
|
|
3052
|
+
includeMeta?: boolean;
|
|
3053
|
+
includeUntracked?: boolean;
|
|
3054
|
+
path?: string;
|
|
3029
3055
|
}): Promise<DiffResult>;
|
|
3030
3056
|
/** `git init` in the thread worktree when Changes has no Git repo (Cursor-style). */
|
|
3031
3057
|
initializeGit(threadRef: string): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -367,6 +367,8 @@ interface DiffResult {
|
|
|
367
367
|
hasLastTurnBase: boolean;
|
|
368
368
|
/** Recent commits on the branch (vs merge-base), for the Commits flyout. */
|
|
369
369
|
commits: DiffCommit[];
|
|
370
|
+
/** Resolved merge-base SHA when comparing the branch to the default. */
|
|
371
|
+
mergeBase?: string | null;
|
|
370
372
|
}
|
|
371
373
|
interface LandPreview {
|
|
372
374
|
branch: string;
|
|
@@ -1046,7 +1048,9 @@ declare function ensureGhPreferOrigin(cwd: string): Promise<void>;
|
|
|
1046
1048
|
* Makerkit-style `upstream`. `GH_REPO` is the CLI's documented override.
|
|
1047
1049
|
*/
|
|
1048
1050
|
declare function originGhRepoEnv(cwd: string): Promise<Record<string, string>>;
|
|
1049
|
-
declare function resolveDefaultBranch(repoPath: string
|
|
1051
|
+
declare function resolveDefaultBranch(repoPath: string, opts?: {
|
|
1052
|
+
network?: boolean;
|
|
1053
|
+
}): Promise<string>;
|
|
1050
1054
|
/**
|
|
1051
1055
|
* Prefer `origin/<branch>` for diff/merge-base so Changes / Land don't inflate
|
|
1052
1056
|
* against a stale local default-branch tip (common after adopting a PR).
|
|
@@ -1871,6 +1875,18 @@ interface GetDiffOptions {
|
|
|
1871
1875
|
lastTurnBase?: string | null;
|
|
1872
1876
|
/** When scope is `commits`, show only this commit's patch. */
|
|
1873
1877
|
commitSha?: string | null;
|
|
1878
|
+
/**
|
|
1879
|
+
* When false, skip unified patches (file list + line counts only).
|
|
1880
|
+
* Default true. The Changes file list should pass false and load one
|
|
1881
|
+
* file's patch with `path` when the editor opens.
|
|
1882
|
+
*/
|
|
1883
|
+
includePatches?: boolean;
|
|
1884
|
+
/** Scope stats, commits, dirty, unpushed. Default true. */
|
|
1885
|
+
includeMeta?: boolean;
|
|
1886
|
+
/** Untracked files. Default follows the scope (usually on). */
|
|
1887
|
+
includeUntracked?: boolean;
|
|
1888
|
+
/** Only this worktree-relative path. */
|
|
1889
|
+
path?: string;
|
|
1874
1890
|
}
|
|
1875
1891
|
/** Recent commits since merge-base (Cursor Commits submenu). */
|
|
1876
1892
|
declare function listBranchCommits(worktreePath: string, repoPath: string, opts?: {
|
|
@@ -2432,6 +2448,11 @@ declare class Orchestrator {
|
|
|
2432
2448
|
diff(threadRef: string, opts?: {
|
|
2433
2449
|
scope?: DiffScope;
|
|
2434
2450
|
commitSha?: string | null;
|
|
2451
|
+
base?: string;
|
|
2452
|
+
includePatches?: boolean;
|
|
2453
|
+
includeMeta?: boolean;
|
|
2454
|
+
includeUntracked?: boolean;
|
|
2455
|
+
path?: string;
|
|
2435
2456
|
}): Promise<DiffResult>;
|
|
2436
2457
|
diffSummary(threadRef: string): Promise<{
|
|
2437
2458
|
base: string;
|
|
@@ -3026,6 +3047,11 @@ interface IpcApi {
|
|
|
3026
3047
|
getDiff(threadRef: string, opts?: {
|
|
3027
3048
|
scope?: DiffScope;
|
|
3028
3049
|
commitSha?: string | null;
|
|
3050
|
+
base?: string;
|
|
3051
|
+
includePatches?: boolean;
|
|
3052
|
+
includeMeta?: boolean;
|
|
3053
|
+
includeUntracked?: boolean;
|
|
3054
|
+
path?: string;
|
|
3029
3055
|
}): Promise<DiffResult>;
|
|
3030
3056
|
/** `git init` in the thread worktree when Changes has no Git repo (Cursor-style). */
|
|
3031
3057
|
initializeGit(threadRef: string): Promise<void>;
|