sfora-cli 0.4.0 → 0.5.0

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/config.d.ts CHANGED
@@ -8,7 +8,7 @@ export interface SforaConfig {
8
8
  }>;
9
9
  }
10
10
  export declare const CONFIG_PATH: string;
11
- export declare const DEFAULT_URL = "http://localhost:2222";
11
+ export declare const DEFAULT_URL = "https://www.sfora.ai";
12
12
  export declare function readConfig(): Promise<SforaConfig>;
13
13
  export declare function writeConfig(cfg: SforaConfig): Promise<string>;
14
14
  export interface ResolvedSettings {
package/dist/config.js CHANGED
@@ -8,7 +8,9 @@ import { join } from "node:path";
8
8
  import { readFile, writeFile, mkdir, chmod } from "node:fs/promises";
9
9
  const CONFIG_DIR = join(homedir(), ".sfora");
10
10
  export const CONFIG_PATH = join(CONFIG_DIR, "config.json");
11
- export const DEFAULT_URL = "http://localhost:2222";
11
+ // Production sfora. Local development of sfora itself overrides via --url or
12
+ // SFORA_URL (e.g. the dev Convex .site host).
13
+ export const DEFAULT_URL = "https://www.sfora.ai";
12
14
  export async function readConfig() {
13
15
  try {
14
16
  const raw = await readFile(CONFIG_PATH, "utf8");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfora-cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "Your sfora workspace as a markdown filesystem — a CLI + MCP server. Post/task/doc, ls/cat/grep, and a shell so agents operate sfora natively.",
6
6
  "keywords": [