@base44-preview/cli 0.0.55-pr.540.d15d29c → 0.0.55-pr.540.e661f33
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/cli/index.js +6 -7
- package/dist/cli/index.js.map +5 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -235749,12 +235749,11 @@ var theme = {
|
|
|
235749
235749
|
if (hints.length === 0) {
|
|
235750
235750
|
return null;
|
|
235751
235751
|
}
|
|
235752
|
-
const hintLines = hints.
|
|
235753
|
-
const lines = [` ${hint.message}`];
|
|
235752
|
+
const hintLines = hints.map((hint) => {
|
|
235754
235753
|
if (hint.command) {
|
|
235755
|
-
|
|
235754
|
+
return ` Run: ${hint.command}`;
|
|
235756
235755
|
}
|
|
235757
|
-
return
|
|
235756
|
+
return ` ${hint.message}`;
|
|
235758
235757
|
});
|
|
235759
235758
|
return ["[Agent Hints]", ...hintLines].join(`
|
|
235760
235759
|
`);
|
|
@@ -241844,8 +241843,8 @@ async function getAppUserToken() {
|
|
|
241844
241843
|
throw await ApiError.fromHttpError(error48, "exchanging platform token for app user token");
|
|
241845
241844
|
}
|
|
241846
241845
|
}
|
|
241847
|
-
async function getSiteUrl(
|
|
241848
|
-
const id =
|
|
241846
|
+
async function getSiteUrl() {
|
|
241847
|
+
const id = getAppContext().id;
|
|
241849
241848
|
let response;
|
|
241850
241849
|
try {
|
|
241851
241850
|
response = await base44Client.get(`api/apps/platform/${id}/published-url`);
|
|
@@ -261763,4 +261762,4 @@ export {
|
|
|
261763
261762
|
CLIExitError
|
|
261764
261763
|
};
|
|
261765
261764
|
|
|
261766
|
-
//# debugId=
|
|
261765
|
+
//# debugId=A648AA5C0FFA5F4264756E2164756E21
|