@magicappdev/cli 0.0.2 → 0.0.3
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.js +1 -1
- package/dist/commands/chat.d.ts.map +1 -1
- package/dist/commands/chat.js +1 -1
- package/dist/lib/config.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import { generateCommand } from "./commands/generate/index.js";
|
|
5
5
|
import { doctorCommand } from "./commands/doctor.js";
|
|
6
6
|
import { initCommand } from "./commands/init.js";
|
|
7
|
-
import { authCommand } from "./commands/auth.js";
|
|
8
7
|
import { chatCommand } from "./commands/chat.js";
|
|
8
|
+
import { authCommand } from "./commands/auth.js";
|
|
9
9
|
import { createRequire } from "module";
|
|
10
10
|
import { Command } from "commander";
|
|
11
11
|
const require = createRequire(import.meta.url);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/commands/chat.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/commands/chat.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,eAAO,MAAM,WAAW,SA8BpB,CAAC"}
|
package/dist/commands/chat.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { header, logo, info } from "../lib/ui.js";
|
|
5
5
|
import { AgentClient } from "agents/client";
|
|
6
|
-
import { Command } from "commander";
|
|
7
6
|
import { AGENT_HOST } from "../lib/api.js";
|
|
7
|
+
import { Command } from "commander";
|
|
8
8
|
import prompts from "prompts";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
import ora from "ora";
|
package/dist/lib/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
|
-
import { join } from "node:path";
|
|
3
2
|
import { homedir } from "node:os";
|
|
3
|
+
import { join } from "node:path";
|
|
4
4
|
const CONFIG_DIR = join(homedir(), ".magicappdev");
|
|
5
5
|
const CONFIG_FILE = join(CONFIG_DIR, "config.json");
|
|
6
6
|
export async function saveConfig(config) {
|