@minhpnq1807/contextos 0.5.33 → 0.5.34
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,10 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.5.
|
|
3
|
+
## 0.5.34
|
|
4
4
|
|
|
5
5
|
- **Real-time streaming output during install/setup:** Replaced `captureSetupOutput` (buffered) with `streamSetupOutput` — now prints each line immediately with `│ ` prefix as it arrives, eliminating the perceived "hang" during long-running downloads and installs.
|
|
6
6
|
- **Fix codex CLI output missing `│` prefix:** Changed `runCodex` from `stdio: "inherit"` to `stdio: ["ignore", "pipe", "pipe"]`. Output now flows through `console.log` → `streamSetupOutput` → `│ ` prefix, ensuring lines like "Added marketplace..." are consistently formatted.
|
|
7
7
|
- **Async streaming for skillshare/ruler install:** Replaced blocking `execSync`/`runShell` calls in `installSkillshare` and `installRuler` with async `spawn` + line-by-line streaming. Download progress from PowerShell/curl/npm is now visible in real time instead of being buffered until completion.
|
|
8
|
+
- **Fix `skillshare init` hang on Windows:** `skillshare init` is interactive by default (prompts for copy source, git, skill install). With stdin routed to NUL (deadlock prevention), the Go binary hangs waiting for terminal input that never arrives. Fixed by passing `--no-copy --no-git --no-skill --all-targets` flags for fully non-interactive initialization.
|
|
8
9
|
|
|
9
10
|
## 0.5.32
|
|
10
11
|
|
package/package.json
CHANGED
|
@@ -412,7 +412,10 @@ export async function syncSkills({
|
|
|
412
412
|
logger("[ctx] No existing skills found.");
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
|
|
415
|
+
// --no-copy --no-git --no-skill --all-targets: fully non-interactive init.
|
|
416
|
+
// skillshare init is interactive by default; with stdin routed to NUL
|
|
417
|
+
// (deadlock prevention) the Go binary hangs waiting for terminal input.
|
|
418
|
+
run("skillshare", ["init", "--no-copy", "--no-git", "--no-skill", "--all-targets"], { cwd, stdio: "pipe", dryRun: options.dryRun });
|
|
416
419
|
logger(statusLine("Initializing skillshare...", options.dryRun ? "dry-run" : "✓ initialized"));
|
|
417
420
|
|
|
418
421
|
if (existing.length && !options.noCollect) {
|