@formigio/fazemos-cli 0.10.38 → 0.10.39
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.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5643,9 +5643,15 @@ program
|
|
|
5643
5643
|
maxBudgetUsd: opts.budget || agentConfig.maxBudgetUsd || 10,
|
|
5644
5644
|
maxTurns: agentConfig.maxTurns || 100,
|
|
5645
5645
|
timeoutMs: 1800000,
|
|
5646
|
+
// [F22-FU-CLI-CLONE-URL] Send only { name, branch } — NOT a hardcoded
|
|
5647
|
+
// clone url. The API (POST /api/executions) resolves the real clone URL
|
|
5648
|
+
// server-side via buildProjectCloneUrl(sourceProjectId, name) from the
|
|
5649
|
+
// source project's bound VCS Connection, using only the repo `name` and
|
|
5650
|
+
// ignoring any CLI-supplied `url`. Hardcoding a host/org here would be a
|
|
5651
|
+
// de-branding leak (github.com/formigio/...) for external/OSS consumers,
|
|
5652
|
+
// so the CLI must not carry it.
|
|
5646
5653
|
repos: repoNames.map((r) => ({
|
|
5647
5654
|
name: r,
|
|
5648
|
-
url: `https://github.com/formigio/${r}.git`,
|
|
5649
5655
|
branch: 'main',
|
|
5650
5656
|
})),
|
|
5651
5657
|
};
|