@tostudy-ai/cli 0.18.18 → 0.18.19
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/main.js +5 -3
- package/dist/main.js.map +2 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -3756,7 +3756,7 @@ import { spawn } from "node:child_process";
|
|
|
3756
3756
|
import { hostname } from "node:os";
|
|
3757
3757
|
|
|
3758
3758
|
// src/version.ts
|
|
3759
|
-
var CLI_VERSION = true ? "0.18.
|
|
3759
|
+
var CLI_VERSION = true ? "0.18.19" : "0.7.1";
|
|
3760
3760
|
|
|
3761
3761
|
// src/installer/mcp-setup.ts
|
|
3762
3762
|
function safeServerError(text2) {
|
|
@@ -22391,8 +22391,9 @@ var TARGETS = {
|
|
|
22391
22391
|
path: `.cursor/rules/${SKILL_NAME}.mdc`,
|
|
22392
22392
|
wrap: (body) => cursorMdc("ToStudy Creator", body)
|
|
22393
22393
|
},
|
|
22394
|
-
// Codex has no
|
|
22395
|
-
|
|
22394
|
+
// GH-2351 / BUG-1553: Codex has no slash commands and never reads
|
|
22395
|
+
// ~/.codex/prompts/. Writing there produced dead files on disk and announced
|
|
22396
|
+
// an install of a command that does not exist. Left undefined.
|
|
22396
22397
|
opencode: {
|
|
22397
22398
|
path: `.opencode/command/${SKILL_NAME}.md`,
|
|
22398
22399
|
wrap: (body) => `---
|
|
@@ -22414,6 +22415,7 @@ function installCreatorSkill(input2) {
|
|
|
22414
22415
|
for (const runtime of RUNTIMES) {
|
|
22415
22416
|
if (!input2.allRuntimes && !runtime.detect(input2.home, input2.cwd)) continue;
|
|
22416
22417
|
const target = TARGETS[runtime.id];
|
|
22418
|
+
if (!target) continue;
|
|
22417
22419
|
if (target.global) {
|
|
22418
22420
|
const file2 = join3(input2.home, target.path);
|
|
22419
22421
|
mkdirSync4(dirname2(file2), { recursive: true });
|