@floomhq/skills 0.2.17 → 0.2.18

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/index.js CHANGED
@@ -2547,7 +2547,7 @@ function isLegacyApiUrl(apiUrl) {
2547
2547
  }
2548
2548
 
2549
2549
  // src/version.ts
2550
- var VERSION = "0.2.17";
2550
+ var VERSION = "0.2.18";
2551
2551
 
2552
2552
  // src/api-client.ts
2553
2553
  var DEFAULT_TIMEOUT_MS = 2e4;
@@ -3189,6 +3189,7 @@ async function publishCommand(opts = {}) {
3189
3189
  authRequired: true,
3190
3190
  body: {
3191
3191
  manifest,
3192
+ folder_id: opts.folder,
3192
3193
  skill_md: skillMd,
3193
3194
  bundle: {
3194
3195
  sha256: packed.sha256,
@@ -3755,6 +3756,8 @@ async function infoCommand(refStr) {
3755
3756
  log.kv("Latest", r.latest_version);
3756
3757
  log.kv("Visibility", r.visibility);
3757
3758
  log.kv("Owner", `@${r.owner.handle}${r.owner.display_name ? ` (${r.owner.display_name})` : ""}`);
3759
+ if (r.folder) log.kv("Folder", `${r.folder.name} (${r.folder.slug}, ${r.folder.access_mode})`);
3760
+ if (r.tags?.length) log.kv("Tags", r.tags.map((tag) => `#${tag}`).join(" "));
3758
3761
  if (r.has_scripts) {
3759
3762
  log.kv("Scripts", "yes (review before activating)");
3760
3763
  }
@@ -4956,8 +4959,8 @@ program.command("logout").description("Log out and revoke local token.").action(
4956
4959
  program.command("whoami").description("Show the logged-in user.").action(whoamiCommand);
4957
4960
  program.command("init").description("Scaffold a new skill in the current directory.").action(initCommand);
4958
4961
  program.command("validate").description("Validate the skill in the current directory.").option("--json", "Emit machine-readable JSON").action((opts) => validateCommand(opts));
4959
- program.command("publish").description("Publish the skill in the current directory.").option("--dry-run", "Validate and pack locally without uploading.").option("--workspace <slug>", "Publish into a shared workspace slug (default: personal)").option("--library <slug>", "Legacy alias for --workspace").addHelpText("after", "\nExamples:\n $ floom publish\n $ floom publish --workspace team-workspace").action((opts) => publishCommand(opts));
4960
- program.command("push [dir]").description("Publish one skill folder or every immediate child skill folder.").option("--dry-run", "Validate and pack locally without uploading.").option("--workspace <slug>", "Publish into a shared workspace slug").option("--library <slug>", "Legacy alias for --workspace").option("--concurrency <n>", "Bulk push concurrency, 1-16", "6").addHelpText("after", "\nExamples:\n $ floom push\n $ floom push ./skills --workspace team-workspace --concurrency 4").action((dir, opts) => pushCommand(dir ?? ".", opts));
4962
+ program.command("publish").description("Publish the skill in the current directory.").option("--dry-run", "Validate and pack locally without uploading.").option("--workspace <slug>", "Publish into a shared workspace slug (default: personal)").option("--library <slug>", "Legacy alias for --workspace").option("--folder <uuid>", "Publish into a workspace folder id").addHelpText("after", "\nExamples:\n $ floom publish\n $ floom publish --workspace team-workspace\n $ floom publish --workspace team-workspace --folder 00000000-0000-0000-0000-000000000000").action((opts) => publishCommand(opts));
4963
+ program.command("push [dir]").description("Publish one skill folder or every immediate child skill folder.").option("--dry-run", "Validate and pack locally without uploading.").option("--workspace <slug>", "Publish into a shared workspace slug").option("--library <slug>", "Legacy alias for --workspace").option("--folder <uuid>", "Publish into a workspace folder id").option("--concurrency <n>", "Bulk push concurrency, 1-16", "6").addHelpText("after", "\nExamples:\n $ floom push\n $ floom push ./skills --workspace team-workspace --concurrency 4\n $ floom push ./skills --workspace team-workspace --folder 00000000-0000-0000-0000-000000000000").action((dir, opts) => pushCommand(dir ?? ".", opts));
4961
4964
  program.command("install <ref>").description("Install a skill (default: .agents/skills/<slug>/).").option("--for <target>", "Tool preset: claude | codex | cursor | gemini | opencode | kimi | all").option("--to <path>", "Parent directory; installs to <path>/<skill-slug>/ (not the skill folder itself)").option("--global", "Install to user-level folder instead of project-local").option("--force", "Overwrite existing folder").addHelpText("after", "\nExamples:\n $ floom install @alice/research-brief\n $ floom install @alice/research-brief --for codex\n $ floom install @alice/research-brief --to .agents/skills\n\nNote: --to is the parent folder. The skill lands in .agents/skills/research-brief/, not directly in .agents/skills/.").action((ref, opts) => installCommand(ref, opts));
4962
4965
  program.command("installed").description("List installed skills in this project.").option("--json").action(installedCommand);
4963
4966
  program.command("outdated").description("Show installed skills with newer versions available.").action(outdatedCommand);
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.2.17";
1
+ export const VERSION = "0.2.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floomhq/skills",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Floom CLI — publish, install, sync, and share AI agent skills.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://skills.floom.dev",