@tostudy-ai/cli 0.18.26 → 0.18.27

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
@@ -3828,7 +3828,7 @@ import { spawn } from "node:child_process";
3828
3828
  import { hostname } from "node:os";
3829
3829
 
3830
3830
  // src/version.ts
3831
- var CLI_VERSION = true ? "0.18.26" : "0.7.1";
3831
+ var CLI_VERSION = true ? "0.18.27" : "0.7.1";
3832
3832
 
3833
3833
  // src/installer/mcp-setup.ts
3834
3834
  function safeServerError(text2) {
@@ -19957,7 +19957,7 @@ function formatCourseMethodology(approach) {
19957
19957
  }
19958
19958
  function formatCourseObjective(description) {
19959
19959
  if (!description || description.trim() === "") return null;
19960
- const firstSentence = description.split(/[.!?]/)[0]?.trim();
19960
+ const firstSentence = description.split(/\.(?=\s|$)|[!?]/)[0]?.trim();
19961
19961
  if (!firstSentence) return null;
19962
19962
  if (firstSentence.length > 200) return firstSentence.slice(0, 200) + "...";
19963
19963
  return firstSentence;