@insforge/cli 0.1.46 → 0.1.47

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 CHANGED
@@ -1833,8 +1833,6 @@ function registerProjectLinkCommand(program2) {
1833
1833
  } else {
1834
1834
  outputSuccess(`Linked to project "${project.name}" (${project.appkey}.${project.region})`);
1835
1835
  }
1836
- await installSkills(json);
1837
- await reportCliUsage("cli.link", true, 6, projectConfig);
1838
1836
  try {
1839
1837
  await reportAgentConnected({ project_id: project.id }, apiUrl);
1840
1838
  } catch {
@@ -1891,6 +1889,8 @@ function registerProjectLinkCommand(program2) {
1891
1889
  clack8.log.info("Run `npm install` manually to install dependencies.");
1892
1890
  }
1893
1891
  }
1892
+ await installSkills(json);
1893
+ await reportCliUsage("cli.link", true, 6, projectConfig);
1894
1894
  if (!json) {
1895
1895
  const dashboardUrl = `${getFrontendUrl()}/dashboard/project/${project.id}`;
1896
1896
  clack8.log.step(`Dashboard: ${dashboardUrl}`);
@@ -1902,20 +1902,24 @@ function registerProjectLinkCommand(program2) {
1902
1902
  clack8.log.warn("Template download failed. You can retry or set up manually.");
1903
1903
  }
1904
1904
  }
1905
- } else if (!json) {
1906
- const dashboardUrl = `${getFrontendUrl()}/dashboard/project/${project.id}`;
1907
- clack8.log.step(`Dashboard: ${dashboardUrl}`);
1908
- const prompts = [
1909
- "Build a todo app with Google OAuth sign-in",
1910
- "Build an Instagram clone where users can upload photos, like, and comment",
1911
- "Build an AI chatbot with conversation history"
1912
- ];
1913
- clack8.note(
1914
- `Open your coding agent (Claude Code, Codex, Cursor, etc.) and try:
1905
+ } else {
1906
+ await installSkills(json);
1907
+ await reportCliUsage("cli.link", true, 6, projectConfig);
1908
+ if (!json) {
1909
+ const dashboardUrl = `${getFrontendUrl()}/dashboard/project/${project.id}`;
1910
+ clack8.log.step(`Dashboard: ${dashboardUrl}`);
1911
+ const prompts = [
1912
+ "Build a todo app with Google OAuth sign-in",
1913
+ "Build an Instagram clone where users can upload photos, like, and comment",
1914
+ "Build an AI chatbot with conversation history and deploy it to a live URL"
1915
+ ];
1916
+ clack8.note(
1917
+ `Open your coding agent (Claude Code, Codex, Cursor, etc.) and try:
1915
1918
 
1916
1919
  ${prompts.map((p) => `\u2022 "${p}"`).join("\n")}`,
1917
- "Start building"
1918
- );
1920
+ "Start building"
1921
+ );
1922
+ }
1919
1923
  }
1920
1924
  } catch (err) {
1921
1925
  await reportCliUsage("cli.link", false);