@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 CHANGED
@@ -235750,12 +235750,11 @@ var theme = {
235750
235750
  if (hints.length === 0) {
235751
235751
  return null;
235752
235752
  }
235753
- const hintLines = hints.flatMap((hint) => {
235754
- const lines = [` ${hint.message}`];
235753
+ const hintLines = hints.map((hint) => {
235755
235754
  if (hint.command) {
235756
- lines.push(` Run: ${hint.command}`);
235755
+ return ` Run: ${hint.command}`;
235757
235756
  }
235758
- return lines;
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(projectId) {
241866
- const id = projectId ?? getAppContext().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=1AFC96DD14EFBB4A64756E2164756E21
261835
+ //# debugId=7B666BE0D75AFE4564756E2164756E21