@builder.io/dev-tools 1.72.4-dev.202607031956.aba96bb16 → 1.72.4-dev.202607032001.716fda764
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/cli/index.cjs +87 -12
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/codegen.d.ts +4 -3
- package/types/cli/utils/codegen-utils.d.ts +11 -0
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/codegen.d.ts
CHANGED
|
@@ -550,9 +550,10 @@ export declare class CodeGenSession {
|
|
|
550
550
|
}): Promise<void>;
|
|
551
551
|
/**
|
|
552
552
|
* Force a fresh git-status emit, bypassing the periodic poll. Clears the
|
|
553
|
-
* ahead-of-base and merge-base caches
|
|
554
|
-
* doesn't run a local git command and so
|
|
555
|
-
*
|
|
553
|
+
* ahead-of-base and merge-base caches and force-syncs local origin/<base>
|
|
554
|
+
* first so a server-side merge (which doesn't run a local git command and so
|
|
555
|
+
* never trips #isRefMutatingCommand nor refreshes local main) is reflected
|
|
556
|
+
* immediately instead of after the base-fetch throttle expires.
|
|
556
557
|
*/
|
|
557
558
|
refreshGitStatus(): Promise<void>;
|
|
558
559
|
sendMessageToOrgAgent(options: SendMessageToOrgAgentInput): Promise<{
|
|
@@ -126,6 +126,12 @@ export interface AheadOfBaseResult {
|
|
|
126
126
|
baseMergeBase?: string;
|
|
127
127
|
/** True when the base ref had to be fetched before it could be resolved. */
|
|
128
128
|
fetched: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* True when HEAD's tree differs from the base branch's tree (content diff,
|
|
131
|
+
* not commit count). Squash-merge safe, unlike aheadOfBase. Undefined when
|
|
132
|
+
* it could not be determined.
|
|
133
|
+
*/
|
|
134
|
+
hasChangesAgainstBase?: boolean;
|
|
129
135
|
/** Human-readable reason for the resulting aheadOfBase value. */
|
|
130
136
|
reason: string;
|
|
131
137
|
}
|
|
@@ -133,6 +139,11 @@ export interface GitStatusDiagnosticsInput {
|
|
|
133
139
|
ahead: number;
|
|
134
140
|
behind: number;
|
|
135
141
|
aheadOfBaseResult?: AheadOfBaseResult;
|
|
142
|
+
/**
|
|
143
|
+
* Content-diff-from-base result (squash-safe). Gates the merge summary;
|
|
144
|
+
* falls back to `aheadOfBaseResult.hasChangesAgainstBase` when omitted.
|
|
145
|
+
*/
|
|
146
|
+
hasChangesAgainstBase?: boolean;
|
|
136
147
|
remoteBranchExists: boolean;
|
|
137
148
|
remoteBranch: string;
|
|
138
149
|
hasMergeConflict: boolean;
|