@floomhq/floom-mcp-sync 1.0.2 → 1.0.4

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.
File without changes
package/dist/auto-sync.js CHANGED
@@ -95,7 +95,7 @@ async function manifestHasMissingTrackedFile(manifest, root) {
95
95
  export async function autoSync(log = (message) => process.stderr.write(`${message}\n`)) {
96
96
  const cfg = await readConfig();
97
97
  if (!cfg) {
98
- maybeAuthWarning(log, "[floom] not signed in; skipping sync (run `floom login`)");
98
+ maybeAuthWarning(log, "[floom] not signed in; skipping sync (run `npx -y @floomhq/floom login`)");
99
99
  return { synced: 0, unchanged: 0, updated: 0, conflicts: 0 };
100
100
  }
101
101
  await ensureSyncManifestDir();
@@ -108,7 +108,7 @@ export async function autoSync(log = (message) => process.stderr.write(`${messag
108
108
  }
109
109
  catch (err) {
110
110
  if (err instanceof FloomApiError && err.status === 401) {
111
- maybeAuthWarning(log, "[floom] sign-in expired; skipping sync (run `floom login` again)");
111
+ maybeAuthWarning(log, "[floom] sign-in expired; skipping sync (run `npx -y @floomhq/floom login` again)");
112
112
  return { synced: 0, unchanged: 0, updated: 0, conflicts: 0 };
113
113
  }
114
114
  throw err;
package/dist/server.js CHANGED
@@ -6,7 +6,7 @@ import { installSkill } from "./tools/install.js";
6
6
  import { publishSkill } from "./tools/publish.js";
7
7
  import { listLibraries, moveSkill, subscribeLibrary, unsubscribeLibrary, } from "./tools/libraries.js";
8
8
  import { searchSkills } from "./tools/search.js";
9
- const SERVER_VERSION = "1.0.2";
9
+ const SERVER_VERSION = "1.0.4";
10
10
  const DEFAULT_INTERVAL_MS = 60_000;
11
11
  const MIN_INTERVAL_MS = 10_000;
12
12
  const VERSION_RE = /^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$/;
@@ -8,21 +8,21 @@ export async function listLibraries() {
8
8
  export async function subscribeLibrary(slug) {
9
9
  const cfg = await readConfig();
10
10
  if (!cfg)
11
- throw new Error("Not signed in. Run `floom login` first.");
11
+ throw new Error("Not signed in. Run `npx -y @floomhq/floom login` first.");
12
12
  const apiUrl = apiUrlFromConfig(cfg);
13
13
  return await postJson(`${apiUrl}/api/v1/me/subscriptions`, cfg.accessToken, { library_slug: slug });
14
14
  }
15
15
  export async function unsubscribeLibrary(slug) {
16
16
  const cfg = await readConfig();
17
17
  if (!cfg)
18
- throw new Error("Not signed in. Run `floom login` first.");
18
+ throw new Error("Not signed in. Run `npx -y @floomhq/floom login` first.");
19
19
  const apiUrl = apiUrlFromConfig(cfg);
20
20
  return await deleteRequest(`${apiUrl}/api/v1/me/subscriptions/${encodeURIComponent(slug)}`, cfg.accessToken);
21
21
  }
22
22
  export async function moveSkill(slug, folder, tags) {
23
23
  const cfg = await readConfig();
24
24
  if (!cfg)
25
- throw new Error("Not signed in. Run `floom login` first.");
25
+ throw new Error("Not signed in. Run `npx -y @floomhq/floom login` first.");
26
26
  const apiUrl = apiUrlFromConfig(cfg);
27
27
  return await putJson(`${apiUrl}/api/v1/me/skills/${encodeURIComponent(slug)}/override`, cfg.accessToken, { folder, tags });
28
28
  }
@@ -3,7 +3,7 @@ import { postJson } from "../lib/api.js";
3
3
  export async function publishSkill(name, content, description, visibility = "unlisted", assetType = "skill", installsAs = "claude_skill", version) {
4
4
  const cfg = await readConfig();
5
5
  if (!cfg)
6
- throw new Error("Not signed in. Run `floom login` first.");
6
+ throw new Error("Not signed in. Run `npx -y @floomhq/floom login` first.");
7
7
  const apiUrl = apiUrlFromConfig(cfg);
8
8
  const data = await postJson(`${apiUrl}/api/skills`, cfg.accessToken, {
9
9
  title: name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floomhq/floom-mcp-sync",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Lightweight Floom MCP server for installing, publishing, and startup-syncing skills.",
5
5
  "license": "MIT",
6
6
  "type": "module",