@figs-so/cli 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/figs.mjs +3 -3
  2. package/package.json +1 -1
package/figs.mjs CHANGED
@@ -34,10 +34,10 @@ import { randomUUID } from "node:crypto"
34
34
 
35
35
  const cliDir = dirname(fileURLToPath(import.meta.url))
36
36
 
37
- const VERSION = "0.1.1"
37
+ const VERSION = "0.1.2"
38
38
  // Going-forward default; override with FIGS_ENDPOINT or .figs/config.json endpoint
39
39
  // (e.g. FIGS_ENDPOINT=http://localhost:3000 for local dev).
40
- const DEFAULT_ENDPOINT = "https://figs.so"
40
+ const DEFAULT_ENDPOINT = "https://app.figs.so"
41
41
 
42
42
  const repoDir = join(process.cwd(), ".figs")
43
43
  const globalDir = join(homedir(), ".figs")
@@ -296,7 +296,7 @@ function init() {
296
296
  }
297
297
  const existing = readJson(join(repoDir, "config.json"), null)
298
298
  const endpoint =
299
- flag("--endpoint") || existing?.endpoint || "http://localhost:3000"
299
+ flag("--endpoint") || existing?.endpoint || DEFAULT_ENDPOINT
300
300
  const agentId = existing?.agentId || randomUUID()
301
301
  mkdirSync(repoDir, { recursive: true })
302
302
  writeFileSync(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@figs-so/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Figs CLI — publish your AI agent's state to Figs (figs.so). Run by the agent.",
5
5
  "type": "module",
6
6
  "bin": {