@insforge/cli 0.1.48 → 0.1.49
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 +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -817,6 +817,7 @@ import { promisify as promisify3 } from "util";
|
|
|
817
817
|
import * as fs4 from "fs/promises";
|
|
818
818
|
import * as path4 from "path";
|
|
819
819
|
import * as clack8 from "@clack/prompts";
|
|
820
|
+
import pc from "picocolors";
|
|
820
821
|
|
|
821
822
|
// src/lib/skills.ts
|
|
822
823
|
import { exec } from "child_process";
|
|
@@ -1953,11 +1954,14 @@ function registerProjectLinkCommand(program2) {
|
|
|
1953
1954
|
await reportCliUsage("cli.link", true, 6, projectConfig);
|
|
1954
1955
|
if (!json) {
|
|
1955
1956
|
const dashboardUrl = `${getFrontendUrl()}/dashboard/project/${project.id}`;
|
|
1956
|
-
clack8.log.step(`Dashboard: ${dashboardUrl}`);
|
|
1957
|
+
clack8.log.step(`Dashboard: ${pc.underline(dashboardUrl)}`);
|
|
1957
1958
|
if (templateDownloaded) {
|
|
1958
|
-
const
|
|
1959
|
-
|
|
1960
|
-
|
|
1959
|
+
const runCommand = `${pc.cyan("cd")} ${pc.green(dirName)} ${pc.dim("&&")} ${pc.cyan("npm run dev")}`;
|
|
1960
|
+
const steps = [
|
|
1961
|
+
`${pc.bold("1.")} ${runCommand}`,
|
|
1962
|
+
`${pc.bold("2.")} Open ${pc.cyan("Claude Code")} or ${pc.cyan("Cursor")} and prompt your agent to add more features`
|
|
1963
|
+
];
|
|
1964
|
+
clack8.note(steps.join("\n"), "What's next");
|
|
1961
1965
|
} else {
|
|
1962
1966
|
clack8.log.warn("Template download failed. You can retry or set up manually.");
|
|
1963
1967
|
}
|
|
@@ -4715,7 +4719,7 @@ function registerDiagnoseCommands(diagnoseCmd2) {
|
|
|
4715
4719
|
const s = !json ? clack14.spinner() : null;
|
|
4716
4720
|
s?.start("Collecting diagnostic data...");
|
|
4717
4721
|
const data2 = await collectDiagnosticData(projectId, ossMode, apiUrl);
|
|
4718
|
-
const cliVersion = "0.1.
|
|
4722
|
+
const cliVersion = "0.1.49";
|
|
4719
4723
|
s?.stop("Data collected");
|
|
4720
4724
|
if (!json) {
|
|
4721
4725
|
console.log(`
|