@floomhq/floom 1.0.7 → 1.0.9

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/share.js CHANGED
@@ -19,11 +19,11 @@ async function readJson(res) {
19
19
  export async function share(opts) {
20
20
  const cfg = await readConfig();
21
21
  if (!cfg) {
22
- throw new FloomError("Not signed in.", "Run `floom login` first.");
22
+ throw new FloomError("Not signed in.", "Run `npx -y @floomhq/floom login` first.");
23
23
  }
24
24
  const slug = slugFromInput(opts.slug);
25
25
  if (!slug) {
26
- throw new FloomError("Missing skill slug.", "Try: `floom share <slug> --list`");
26
+ throw new FloomError("Missing skill slug.", "Try: `npx -y @floomhq/floom share <slug> --list`");
27
27
  }
28
28
  const apiUrl = resolveApiUrl(cfg);
29
29
  const endpoint = `${apiUrl}/api/skills/${encodeURIComponent(slug)}/share`;
package/dist/sync.js CHANGED
@@ -205,7 +205,7 @@ function conflictError(message, code) {
205
205
  export async function sync(opts = {}) {
206
206
  const cfg = await readConfig();
207
207
  if (!cfg)
208
- throw new FloomError("Not signed in.", "Run `floom login` first.");
208
+ throw new FloomError("Not signed in.", "Run `npx -y @floomhq/floom login` first.");
209
209
  await ensureSyncManifestDir();
210
210
  const apiUrl = resolveApiUrl(cfg);
211
211
  const spinner = opts.spinner === false ? null : ora({ text: c.dim("Syncing skills..."), color: "yellow" }).start();
@@ -394,7 +394,7 @@ export async function sync(opts = {}) {
394
394
  process.stderr.write(`${symbols.bullet} [floom] skipped local conflict: ${note}\n`);
395
395
  }
396
396
  if (conflicts > 0) {
397
- process.stderr.write(` ${c.dim("Move or delete the local file, then run `floom sync` again.")}\n`);
397
+ process.stderr.write(` ${c.dim("Move or delete the local file, then run `npx -y @floomhq/floom sync` again.")}\n`);
398
398
  }
399
399
  process.stdout.write(`\n${symbols.ok} [floom] synced ${synced} skills (${unchanged} unchanged, ${updated} updated${conflictNote})${skippedNote}\n\n`);
400
400
  }
package/dist/whoami.js CHANGED
@@ -6,7 +6,7 @@ import { FloomError, friendlyHttp, friendlyNetwork } from "./errors.js";
6
6
  export async function whoami() {
7
7
  const cfg = await readConfig();
8
8
  if (!cfg) {
9
- throw new FloomError("Not signed in.", "Run `floom login` to sign in.");
9
+ throw new FloomError("Not signed in.", "Run `npx -y @floomhq/floom login` to sign in.");
10
10
  }
11
11
  const apiUrl = resolveApiUrl(cfg);
12
12
  const spinner = ora({ text: c.dim("Checking session..."), color: "yellow" }).start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floomhq/floom",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Publish AI skills from your terminal. Share with a link.",
5
5
  "license": "MIT",
6
6
  "type": "module",