@playlist-tech/enterprise-skills 1.7.2-enterprise.2 → 1.7.2-enterprise.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.
- package/dist/cli.mjs +4 -3
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3392,7 +3392,7 @@ async function tryBlobInstall(ownerRepo, options = {}) {
|
|
|
3392
3392
|
tree
|
|
3393
3393
|
};
|
|
3394
3394
|
}
|
|
3395
|
-
var version$1 = "1.7.2-enterprise.
|
|
3395
|
+
var version$1 = "1.7.2-enterprise.4";
|
|
3396
3396
|
const isCancelled$1 = (value) => typeof value === "symbol";
|
|
3397
3397
|
async function getSourceVisibility(source) {
|
|
3398
3398
|
const ownerRepo = parseOwnerRepo(source);
|
|
@@ -6715,7 +6715,7 @@ const AGENT_TYPE_TO_RECIPE = {
|
|
|
6715
6715
|
"claude-code": "claude",
|
|
6716
6716
|
codex: "codex",
|
|
6717
6717
|
cursor: "cursor",
|
|
6718
|
-
"github-copilot": "copilot"
|
|
6718
|
+
"github-copilot": "github-copilot"
|
|
6719
6719
|
};
|
|
6720
6720
|
function componentBadges(components) {
|
|
6721
6721
|
if (!components) return "";
|
|
@@ -6861,8 +6861,9 @@ async function runPluginInstall(args) {
|
|
|
6861
6861
|
let agent = await resolveRecipeAgent(agentFlag);
|
|
6862
6862
|
if (!agent && process.stdin.isTTY && !await isRunningInAgent()) agent = await promptForAgent(name);
|
|
6863
6863
|
if (!agent) {
|
|
6864
|
+
const agents = await fetchAvailableAgents(name) ?? [...new Set(Object.values(AGENT_TYPE_TO_RECIPE))];
|
|
6864
6865
|
console.error(import_picocolors.default.red("Could not determine the target agent."));
|
|
6865
|
-
console.error(import_picocolors.default.dim(`Pass one explicitly: ${envConfig.cliName} plugin install ${name} --agent
|
|
6866
|
+
console.error(import_picocolors.default.dim(`Pass one explicitly: ${envConfig.cliName} plugin install ${name} --agent <${agents.join("|")}>`));
|
|
6866
6867
|
process.exit(1);
|
|
6867
6868
|
}
|
|
6868
6869
|
const url = `${envConfig.apiBase}/api/plugins/${encodeURIComponent(name)}/install?agent=${encodeURIComponent(agent)}`;
|
package/package.json
CHANGED