@minhpnq1807/contextos 0.5.0 → 0.5.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
- Fixes `ctx sync --skills` first-run ordering by running `skillshare init` before `skillshare backup`, matching skillshare's config requirement.
|
|
6
|
+
|
|
3
7
|
## 0.5.0
|
|
4
8
|
|
|
5
9
|
- Adds `ctx sync --skills` for skillshare-backed skill sync across Codex, Claude Code, and Antigravity.
|
package/package.json
CHANGED
|
@@ -199,10 +199,6 @@ export async function syncSkills({
|
|
|
199
199
|
for (const entry of existing) {
|
|
200
200
|
logger(` ${entry.path.padEnd(44)} ${entry.count} skills`);
|
|
201
201
|
}
|
|
202
|
-
if (!options.noCollect) {
|
|
203
|
-
run("skillshare", ["backup"], { cwd, stdio: "inherit", dryRun: options.dryRun });
|
|
204
|
-
logger(statusLine("Backing up...", options.dryRun ? "dry-run" : "✓ backup created"));
|
|
205
|
-
}
|
|
206
202
|
} else {
|
|
207
203
|
logger("[ctx] No existing skills found.");
|
|
208
204
|
}
|
|
@@ -211,6 +207,8 @@ export async function syncSkills({
|
|
|
211
207
|
logger(statusLine("Initializing skillshare...", options.dryRun ? "dry-run" : "✓ initialized"));
|
|
212
208
|
|
|
213
209
|
if (existing.length && !options.noCollect) {
|
|
210
|
+
run("skillshare", ["backup"], { cwd, stdio: "inherit", dryRun: options.dryRun });
|
|
211
|
+
logger(statusLine("Backing up...", options.dryRun ? "dry-run" : "✓ backup created"));
|
|
214
212
|
run("skillshare", ["collect", "--all"], { cwd, stdio: "inherit", dryRun: options.dryRun });
|
|
215
213
|
const collected = countSkillFiles(skillshareSourceDir({ home }));
|
|
216
214
|
logger(statusLine("Collecting from all agents...", options.dryRun ? "dry-run" : `✓ ${collected} skills collected`));
|