@floomhq/floom 1.0.2 → 1.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 +9 -7
- package/dist/mcp.js +5 -4
- package/dist/setup.js +4 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ import { search } from "./search.js";
|
|
|
17
17
|
import { libraryAddSkill, libraryCreate, libraryList, libraryRemoveSkill, librarySubscribe, libraryUnsubscribe, moveSkill, } from "./library.js";
|
|
18
18
|
import { c, symbols } from "./ui.js";
|
|
19
19
|
import { printError, FloomError } from "./errors.js";
|
|
20
|
-
const VERSION = "1.0.
|
|
20
|
+
const VERSION = "1.0.3";
|
|
21
21
|
const PKG = { name: "@floomhq/floom", version: VERSION };
|
|
22
22
|
const V1_NOT_AVAILABLE = "Not available in Floom Version 1.";
|
|
23
23
|
function usage() {
|
|
@@ -34,14 +34,16 @@ function usage() {
|
|
|
34
34
|
${c.cyan("floom")} ${c.dim("<command> [options]")}
|
|
35
35
|
|
|
36
36
|
${c.bold("Start Here")}
|
|
37
|
-
${c.
|
|
38
|
-
${c.dim("Create a starter Markdown skill.")}
|
|
39
|
-
|
|
37
|
+
${c.dim("Try a shared skill, no account needed:")}
|
|
40
38
|
${c.cyan("floom add")} ${c.dim("https://floom.dev/s/ffas93ud")}
|
|
41
|
-
${c.dim("Install a public skill. No account needed.")}
|
|
42
39
|
|
|
43
|
-
${c.
|
|
44
|
-
|
|
40
|
+
${c.dim("Publish your own skill:")}
|
|
41
|
+
${c.cyan("floom init")} ${c.dim("support-tone.md")}
|
|
42
|
+
${c.cyan("floom login")}
|
|
43
|
+
${c.cyan("floom publish")} ${c.dim("support-tone.md --type instruction --public")}
|
|
44
|
+
|
|
45
|
+
${c.dim("Tell your agent where Floom installs skills:")}
|
|
46
|
+
${c.cyan("floom setup")} ${c.dim("--target claude --dry-run")}
|
|
45
47
|
|
|
46
48
|
${c.bold("Commands")}
|
|
47
49
|
${c.dim("Receive")}
|
package/dist/mcp.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { c } from "./ui.js";
|
|
2
2
|
export function printMcpSetup() {
|
|
3
3
|
const snippet = `## Floom
|
|
4
|
-
-
|
|
5
|
-
- To install a skill
|
|
6
|
-
- To
|
|
4
|
+
- Use Floom skills from ~/.claude/skills/ when they match the task.
|
|
5
|
+
- To install a shared skill, run \`floom add <slug-or-url>\`.
|
|
6
|
+
- To find reusable behavior, run \`floom search <query>\`.
|
|
7
|
+
- MCP sync is optional preview behavior; use it only while the Floom MCP server is configured and running.`;
|
|
7
8
|
process.stdout.write(`\n${c.bold("Floom MCP setup")}\n\n`);
|
|
8
9
|
process.stdout.write(`${c.dim("Pick your tool:")}\n\n`);
|
|
9
10
|
process.stdout.write(` ${c.bold("Claude Code")}\n`);
|
|
@@ -17,6 +18,6 @@ export function printMcpSetup() {
|
|
|
17
18
|
process.stdout.write(` ${c.bold("OpenCode")}\n`);
|
|
18
19
|
process.stdout.write(` ${c.dim("Edit ~/.config/opencode/opencode.json - see guide.")}\n\n`);
|
|
19
20
|
process.stdout.write(`${c.dim("Full guide:")} ${c.cyan("https://floom.dev/docs/mcp")}\n\n`);
|
|
20
|
-
process.stdout.write(`${c.dim("Recommended
|
|
21
|
+
process.stdout.write(`${c.dim("Recommended agent instruction snippet:")}\n\n`);
|
|
21
22
|
process.stdout.write(`${snippet}\n\n`);
|
|
22
23
|
}
|
package/dist/setup.js
CHANGED
|
@@ -14,11 +14,11 @@ const TARGETS = {
|
|
|
14
14
|
export const FLOOM_AGENT_INSTRUCTIONS = `${START_MARKER}
|
|
15
15
|
## Floom
|
|
16
16
|
|
|
17
|
-
- Before
|
|
17
|
+
- Before recreating agent behavior from scratch, check Floom for reusable skills.
|
|
18
18
|
- Search or inspect skills with \`floom search <query>\`, \`floom info <slug-or-url>\`, and \`floom list\`.
|
|
19
|
-
- Add
|
|
20
|
-
-
|
|
21
|
-
-
|
|
19
|
+
- Add shared skills with \`floom add <slug-or-url>\`; public and unlisted links do not require a Floom account.
|
|
20
|
+
- Use installed Markdown skills from the local skills folder when they match the task.
|
|
21
|
+
- \`floom sync\`, \`floom watch\`, and \`@floomhq/floom-mcp-sync\` are preview paths for saved, published, and subscribed library skills; review conflicts before relying on synced output.
|
|
22
22
|
${END_MARKER}`;
|
|
23
23
|
async function fileExists(path) {
|
|
24
24
|
try {
|