@tostudy-ai/cli 0.16.7 → 0.16.8

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/cli.js CHANGED
@@ -3383,7 +3383,7 @@ var CLI_VERSION;
3383
3383
  var init_version = __esm({
3384
3384
  "src/version.ts"() {
3385
3385
  "use strict";
3386
- CLI_VERSION = true ? "0.16.7" : "0.7.1";
3386
+ CLI_VERSION = true ? "0.16.8" : "0.7.1";
3387
3387
  }
3388
3388
  });
3389
3389
 
@@ -20204,8 +20204,8 @@ async function collectLearnerContextProfileWithDeps(input2, deps) {
20204
20204
  `- Regiao: ${existingProfile.region}`,
20205
20205
  `- Equipe: ${existingProfile.team}`,
20206
20206
  `- Objetivo: ${existingProfile.goal}`,
20207
- `- Nivel: ${existingProfile.learnerLevel}`,
20208
- `- Contexto real: ${existingProfile.adaptToRealContext ? "sim" : "nao"}`,
20207
+ `- N\xEDvel: ${existingProfile.learnerLevel}`,
20208
+ `- Contexto real: ${existingProfile.adaptToRealContext ? "sim" : "n\xE3o"}`,
20209
20209
  ""
20210
20210
  ].join("\n")
20211
20211
  );
@@ -20248,7 +20248,7 @@ async function collectLearnerContextProfileWithDeps(input2, deps) {
20248
20248
  baseProfile?.goal
20249
20249
  );
20250
20250
  const learnerLevel = action === "keep" && baseProfile ? baseProfile.learnerLevel : await askChoice(
20251
- baseProfile ? `Nivel do aluno (beginner/intermediate/advanced) [${baseProfile.learnerLevel}]: ` : "Nivel do aluno (beginner/intermediate/advanced): ",
20251
+ baseProfile ? `N\xEDvel do aluno (beginner/intermediate/advanced) [${baseProfile.learnerLevel}]: ` : "N\xEDvel do aluno (beginner/intermediate/advanced): ",
20252
20252
  ["beginner", "intermediate", "advanced"],
20253
20253
  deps,
20254
20254
  baseProfile?.learnerLevel
@@ -20294,7 +20294,7 @@ function isCompleteProfile(flags) {
20294
20294
  async function runInit(deps = defaultDeps4, flags = {}) {
20295
20295
  const session = await deps.getSession();
20296
20296
  if (!session) {
20297
- deps.output("Nao autenticado. Rode `tostudy login` para comecar.", { json: false });
20297
+ deps.output("N\xE3o autenticado. Rode `tostudy login` para come\xE7ar.", { json: false });
20298
20298
  return;
20299
20299
  }
20300
20300
  const data = deps.createHttpProvider(session.apiUrl, session.token);
@@ -21668,7 +21668,7 @@ function openUrl(url2) {
21668
21668
  }
21669
21669
  execFile4(cmd, args, (err) => {
21670
21670
  if (err) {
21671
- output(`Nao consegui abrir o navegador. Acesse manualmente: ${url2}`, { json: false });
21671
+ output(`N\xE3o consegui abrir o navegador. Acesse manualmente: ${url2}`, { json: false });
21672
21672
  }
21673
21673
  });
21674
21674
  }
@@ -21761,10 +21761,10 @@ var init_compact = __esm({
21761
21761
  const summary = fs19.readFileSync("/dev/stdin", "utf-8").trim();
21762
21762
  if (!summary) {
21763
21763
  if (opts.json) jsonError("empty_summary", { message: "Summary vazio" });
21764
- error("Summary vazio. Envie o conteudo via stdin.");
21764
+ error("Summary vazio. Envie o conte\xFAdo via stdin.");
21765
21765
  }
21766
21766
  const moduleId = opts.moduleId ?? activeCourse.currentModuleId ?? "unknown";
21767
- const moduleTitle = opts.moduleTitle ?? `Modulo ${moduleId}`;
21767
+ const moduleTitle = opts.moduleTitle ?? `M\xF3dulo ${moduleId}`;
21768
21768
  const filePath = await saveModuleSummary(ws.workspacePath, {
21769
21769
  moduleId,
21770
21770
  moduleTitle,
@@ -21834,7 +21834,7 @@ var init_context = __esm({
21834
21834
  } else {
21835
21835
  output(`Workspace: ${ws.workspacePath}`, { json: false });
21836
21836
  output(`Curso: ${ws.state.courseTitle}`, { json: false });
21837
- output(`Modulos resumidos: ${sessionCtx.moduleSummaries.length}`, { json: false });
21837
+ output(`M\xF3dulos resumidos: ${sessionCtx.moduleSummaries.length}`, { json: false });
21838
21838
  }
21839
21839
  } catch (err) {
21840
21840
  const msg = err instanceof Error ? err.message : String(err);