@tostudy-ai/cli 0.18.17 → 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 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.17" : "0.7.1";
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) {
@@ -4447,6 +4447,57 @@ var STOP_WORDS = /* @__PURE__ */ new Set([
4447
4447
  "este",
4448
4448
  "esta",
4449
4449
  "tem",
4450
+ // preposições e contrações que a lista acima não cobria: o aluno ainda lia
4451
+ // "Motivo: … em horas, entre e prática" (0.18.10)
4452
+ "entre",
4453
+ "sobre",
4454
+ "at\xE9",
4455
+ "ate",
4456
+ "ap\xF3s",
4457
+ "apos",
4458
+ "desde",
4459
+ "ante",
4460
+ "perante",
4461
+ "contra",
4462
+ "durante",
4463
+ "sob",
4464
+ "pelo",
4465
+ "pela",
4466
+ "pelos",
4467
+ "pelas",
4468
+ "num",
4469
+ "numa",
4470
+ "nos",
4471
+ "nas",
4472
+ "aos",
4473
+ // conectivos e pronomes, pela mesma razão
4474
+ "mas",
4475
+ "por\xE9m",
4476
+ "porem",
4477
+ "quando",
4478
+ "onde",
4479
+ "porque",
4480
+ "pois",
4481
+ "tamb\xE9m",
4482
+ "tambem",
4483
+ "ent\xE3o",
4484
+ "entao",
4485
+ "enquanto",
4486
+ "ele",
4487
+ "ela",
4488
+ "eles",
4489
+ "elas",
4490
+ "esse",
4491
+ "essa",
4492
+ "esses",
4493
+ "essas",
4494
+ "estes",
4495
+ "estas",
4496
+ "isto",
4497
+ "aquele",
4498
+ "aquela",
4499
+ "aquilo",
4500
+ "cada",
4450
4501
  "the",
4451
4502
  "and",
4452
4503
  "for",
@@ -22340,8 +22391,9 @@ var TARGETS = {
22340
22391
  path: `.cursor/rules/${SKILL_NAME}.mdc`,
22341
22392
  wrap: (body) => cursorMdc("ToStudy Creator", body)
22342
22393
  },
22343
- // Codex has no project-level command channel; its prompts dir is global.
22344
- codex: { path: `.codex/prompts/${SKILL_NAME}.md`, wrap: raw, global: true },
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.
22345
22397
  opencode: {
22346
22398
  path: `.opencode/command/${SKILL_NAME}.md`,
22347
22399
  wrap: (body) => `---
@@ -22363,6 +22415,7 @@ function installCreatorSkill(input2) {
22363
22415
  for (const runtime of RUNTIMES) {
22364
22416
  if (!input2.allRuntimes && !runtime.detect(input2.home, input2.cwd)) continue;
22365
22417
  const target = TARGETS[runtime.id];
22418
+ if (!target) continue;
22366
22419
  if (target.global) {
22367
22420
  const file2 = join3(input2.home, target.path);
22368
22421
  mkdirSync4(dirname2(file2), { recursive: true });