@przeprogramowani/10x-cli 1.3.2 → 1.4.0
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.mjs +9 -1
- package/package.json +1 -1
- package/skills/10x-cli-setup/SKILL.md +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2271,7 +2271,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
2271
2271
|
// package.json
|
|
2272
2272
|
var package_default = {
|
|
2273
2273
|
name: "@przeprogramowani/10x-cli",
|
|
2274
|
-
version: "1.
|
|
2274
|
+
version: "1.4.0",
|
|
2275
2275
|
description: "Open-source CLI for 10xDevs course content",
|
|
2276
2276
|
repository: {
|
|
2277
2277
|
type: "git",
|
|
@@ -4829,6 +4829,14 @@ async function resolveProfileOnly(flagOverride, projectRoot) {
|
|
|
4829
4829
|
if (!profile) {
|
|
4830
4830
|
throw new Error(`Unknown tool '${flagOverride}'. Supported: ${Object.keys(PROFILES).join(", ")}`);
|
|
4831
4831
|
}
|
|
4832
|
+
const existing = readToolConfig();
|
|
4833
|
+
if (existing?.tool !== flagOverride) {
|
|
4834
|
+
saveToolConfig({ ...existing ?? {}, tool: flagOverride });
|
|
4835
|
+
if (process.stdout.isTTY) {
|
|
4836
|
+
process.stderr.write(`Default tool set to ${profile.displayName}.
|
|
4837
|
+
`);
|
|
4838
|
+
}
|
|
4839
|
+
}
|
|
4832
4840
|
return profile;
|
|
4833
4841
|
}
|
|
4834
4842
|
const config = readToolConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 10x-cli-setup
|
|
3
|
-
description: ALWAYS invoke this skill when the user mentions 10x-cli, @przeprogramowani/10x-cli, the 10xDevs CLI, or the 10xDevs course environment in a setup context. This skill fetches the live README — Claude does not know 10x-cli's current install steps without it. Applies to: installing, updating, reconfiguring for different AI tools (Cursor, Copilot, Claude Code), permission/npm errors, authentication, and onboarding after 10xDevs enrollment. Excludes: developing 10x-cli source code, contributing to the repo, building similar CLIs, or general project setup.
|
|
3
|
+
description: "ALWAYS invoke this skill when the user mentions 10x-cli, @przeprogramowani/10x-cli, the 10xDevs CLI, or the 10xDevs course environment in a setup context. This skill fetches the live README — Claude does not know 10x-cli's current install steps without it. Applies to: installing, updating, reconfiguring for different AI tools (Cursor, Copilot, Claude Code), permission/npm errors, authentication, and onboarding after 10xDevs enrollment. Excludes: developing 10x-cli source code, contributing to the repo, building similar CLIs, or general project setup."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 10x-cli Setup
|