synskill 0.1.6 → 0.1.7

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/bin/synskill.js +7 -4
  2. package/package.json +1 -1
package/bin/synskill.js CHANGED
@@ -180,6 +180,7 @@ var require_constants = __commonJS({
180
180
  folder: ".claude"
181
181
  }
182
182
  ];
183
+ var DEFAULT_TARGET_KEYS2 = INSTALL_TARGETS2.map((target) => target.key);
183
184
  function userHome() {
184
185
  return process.env.USERPROFILE || os.homedir();
185
186
  }
@@ -203,6 +204,7 @@ var require_constants = __commonJS({
203
204
  CLI_NAME: CLI_NAME2,
204
205
  DEFAULT_BRANCH: DEFAULT_BRANCH2,
205
206
  DEFAULT_REPO_URL: DEFAULT_REPO_URL2,
207
+ DEFAULT_TARGET_KEYS: DEFAULT_TARGET_KEYS2,
206
208
  INSTALL_TARGETS: INSTALL_TARGETS2,
207
209
  LEGACY_CACHE_DIR_NAMES,
208
210
  LEGACY_CACHE_METADATA_NAMES,
@@ -1469,7 +1471,7 @@ var require_search_multiselect = __commonJS({
1469
1471
  var require_prompts = __commonJS({
1470
1472
  "src/prompts.js"(exports2, module2) {
1471
1473
  "use strict";
1472
- var { INSTALL_TARGETS: INSTALL_TARGETS2 } = require_constants();
1474
+ var { DEFAULT_TARGET_KEYS: DEFAULT_TARGET_KEYS2, INSTALL_TARGETS: INSTALL_TARGETS2 } = require_constants();
1473
1475
  var { splitRepositoryField } = require_skill_catalog();
1474
1476
  var {
1475
1477
  cancelSymbol: cancelSymbol2,
@@ -1502,7 +1504,7 @@ var require_prompts = __commonJS({
1502
1504
  label: target.name,
1503
1505
  hint: `${target.folder}/skills`
1504
1506
  })),
1505
- initialValues: INSTALL_TARGETS2.filter((target) => target.key !== "claude").map((target) => target.key),
1507
+ initialValues: [...DEFAULT_TARGET_KEYS2],
1506
1508
  required: true,
1507
1509
  instructions: "Use arrows to move, space to toggle, a for all, then press enter to confirm."
1508
1510
  });
@@ -1946,6 +1948,7 @@ var {
1946
1948
  CLI_NAME,
1947
1949
  DEFAULT_BRANCH,
1948
1950
  DEFAULT_REPO_URL,
1951
+ DEFAULT_TARGET_KEYS,
1949
1952
  INSTALL_TARGETS,
1950
1953
  PRIVATE_REPO_ENV_VAR
1951
1954
  } = require_constants();
@@ -1986,7 +1989,7 @@ function usage() {
1986
1989
  console.log(" --copy Copy files instead of symlinking targets to the source skill directory");
1987
1990
  console.log(" --force Overwrite existing skills");
1988
1991
  console.log(" --no-pull Use the local cache as-is");
1989
- console.log(" --yes, -y Skip prompts (defaults to all skills + global + .agents only)");
1992
+ console.log(" --yes, -y Skip prompts (defaults to all skills + global + all install targets)");
1990
1993
  console.log(" --filter <text> Filter skills by name, description, or repository");
1991
1994
  console.log(" --details Show full descriptions");
1992
1995
  console.log(" --repo-url <git-url> Override the private skills repo URL");
@@ -2189,7 +2192,7 @@ async function resolveTargetKeys(options, interactive) {
2189
2192
  return [];
2190
2193
  }
2191
2194
  if (options.yes || !interactive) {
2192
- return ["agents"];
2195
+ return [...DEFAULT_TARGET_KEYS];
2193
2196
  }
2194
2197
  const selected = await promptForTargets();
2195
2198
  if (selected === cancelSymbol) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synskill",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "description": "CLI installer for private agent skills.",
6
6
  "license": "UNLICENSED",