@base44-preview/cli 0.0.55-pr.541.427af2d → 0.0.55-pr.541.ec65d32
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 +4 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -235750,12 +235750,11 @@ var theme = {
|
|
|
235750
235750
|
if (hints.length === 0) {
|
|
235751
235751
|
return null;
|
|
235752
235752
|
}
|
|
235753
|
-
const hintLines = hints.
|
|
235754
|
-
const lines = [` ${hint.message}`];
|
|
235753
|
+
const hintLines = hints.map((hint) => {
|
|
235755
235754
|
if (hint.command) {
|
|
235756
|
-
|
|
235755
|
+
return ` Run: ${hint.command}`;
|
|
235757
235756
|
}
|
|
235758
|
-
return
|
|
235757
|
+
return ` ${hint.message}`;
|
|
235759
235758
|
});
|
|
235760
235759
|
return ["[Agent Hints]", ...hintLines].join(`
|
|
235761
235760
|
`);
|
|
@@ -241862,8 +241861,8 @@ async function getAppUserToken() {
|
|
|
241862
241861
|
throw await ApiError.fromHttpError(error48, "exchanging platform token for app user token");
|
|
241863
241862
|
}
|
|
241864
241863
|
}
|
|
241865
|
-
async function getSiteUrl(
|
|
241866
|
-
const id =
|
|
241864
|
+
async function getSiteUrl() {
|
|
241865
|
+
const id = getAppContext().id;
|
|
241867
241866
|
let response;
|
|
241868
241867
|
try {
|
|
241869
241868
|
response = await base44Client.get(`api/apps/platform/${id}/published-url`);
|
|
@@ -261833,4 +261832,4 @@ export {
|
|
|
261833
261832
|
CLIExitError
|
|
261834
261833
|
};
|
|
261835
261834
|
|
|
261836
|
-
//# debugId=
|
|
261835
|
+
//# debugId=7B666BE0D75AFE4564756E2164756E21
|