scream-code 0.11.9 → 0.11.10

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.
@@ -59422,6 +59422,27 @@ const USER_GENERIC_DIRS = [".agents/skills"];
59422
59422
  const PROJECT_BRAND_DIRS = [".scream-code/skills"];
59423
59423
  const PROJECT_GENERIC_DIRS = [".agents/skills"];
59424
59424
  const MAX_SKILL_SCAN_DEPTH = 8;
59425
+ /**
59426
+ * Common documentation files shipped inside downloaded skill/plugin bundles
59427
+ * are not skills; matched (case-insensitively) against top-level flat .md
59428
+ * entries so e.g. README.md does not surface as a /skill:README entry.
59429
+ */
59430
+ const DOCUMENTATION_MARKDOWN_LOWER = new Set([
59431
+ "readme.md",
59432
+ "changelog.md",
59433
+ "changes.md",
59434
+ "history.md",
59435
+ "license.md",
59436
+ "copying.md",
59437
+ "authors.md",
59438
+ "notice.md",
59439
+ "contributing.md",
59440
+ "security.md",
59441
+ "code_of_conduct.md",
59442
+ "architecture.md",
59443
+ "design.md",
59444
+ "notes.md"
59445
+ ]);
59425
59446
  async function resolveSkillRoots(options) {
59426
59447
  const isDir = options.isDir ?? defaultIsDir;
59427
59448
  const realpath = options.realpath ?? ((p) => promises.realpath(p).then((r) => r.replaceAll("\\", "/")));
@@ -59495,6 +59516,7 @@ async function discoverSkills(options) {
59495
59516
  for (const entry of entries) {
59496
59517
  if (!entry.endsWith(".md")) continue;
59497
59518
  if (entry === "SKILL.md") continue;
59519
+ if (DOCUMENTATION_MARKDOWN_LOWER.has(entry.toLowerCase())) continue;
59498
59520
  const skillName = entry.slice(0, -3);
59499
59521
  if (directorySkills.has(skillName)) {
59500
59522
  warn(`Ignoring flat skill ${join$1(dirPath, entry)} because ${join$1(dirPath, skillName, "SKILL.md")} exists with the same name`);
@@ -120731,7 +120753,7 @@ function optionalBuildString(value) {
120731
120753
  return typeof value === "string" && value.length > 0 ? value : void 0;
120732
120754
  }
120733
120755
  const SCREAM_BUILD_INFO = {
120734
- version: optionalBuildString("0.11.9"),
120756
+ version: optionalBuildString("0.11.10"),
120735
120757
  channel: optionalBuildString(""),
120736
120758
  commit: optionalBuildString(""),
120737
120759
  buildTarget: optionalBuildString("darwin-arm64")
@@ -124637,7 +124659,7 @@ function createMarkdownTheme(colors) {
124637
124659
  quote: (text) => chalk.hex(colors.mdQuote)(text),
124638
124660
  quoteBorder: (text) => chalk.hex(colors.mdQuote)(text),
124639
124661
  hr: (text) => border(text),
124640
- tableHeader: (text) => chalk.bold.hex(colors.accent)(text),
124662
+ tableHeader: (text) => chalk.bold.hex(colors.fusionPlanMode)(text),
124641
124663
  listBullet: (text) => chalk.hex(colors.roleAssistant)(text.replace(/^-/, "•")),
124642
124664
  bold: (text) => chalk.bold(text),
124643
124665
  italic: (text) => chalk.italic(text),
@@ -140918,9 +140940,11 @@ var FileMentionProvider = class {
140918
140940
  const desc = ac.description ?? "";
140919
140941
  const resolvedDesc = desc ? t(desc) : "";
140920
140942
  const aliases = cmd.aliases;
140943
+ const aliasStr = aliases && aliases.length > 0 ? ` (${aliases.join(", ")})` : "";
140944
+ const shortDesc = resolvedDesc ? truncateToWidth(resolvedDesc, 60, "…") : "";
140921
140945
  return {
140922
140946
  value: name,
140923
- label: `/${name}${aliases && aliases.length > 0 ? ` (${aliases.join(", ")})` : ""}${resolvedDesc ? ` — ${resolvedDesc}` : ""}`
140947
+ label: `/${name}${aliasStr}${shortDesc ? ` — ${shortDesc}` : ""}`
140924
140948
  };
140925
140949
  });
140926
140950
  this.inner = new CombinedAutocompleteProvider(slashCommands, workDir, fdPath);
package/dist/main.mjs CHANGED
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
6
6
  import "./suppress-sqlite-warning-C2VB0doZ.mjs";
7
7
  //#region src/main.ts
8
8
  try {
9
- (await import("./app-CTeIrRAX.mjs")).main();
9
+ (await import("./app-T1SUMT1T.mjs")).main();
10
10
  } catch (error) {
11
11
  process.stderr.write(`${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
12
12
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.11.9",
3
+ "version": "0.11.10",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",
@@ -59,7 +59,7 @@
59
59
  "smoke": "node dist/main.mjs --version"
60
60
  },
61
61
  "dependencies": {
62
- "@liutod-scream/pi-tui": "^0.80.32",
62
+ "@liutod-scream/pi-tui": "^0.80.34",
63
63
  "@mariozechner/clipboard": "^0.3.2",
64
64
  "chalk": "^5.4.1",
65
65
  "cli-highlight": "^2.1.11",