shallok 0.1.4 → 0.1.5

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/README.md CHANGED
@@ -38,7 +38,7 @@ npx shallok setup
38
38
  This command automatically:
39
39
  1. Detects project framework and architecture.
40
40
  2. Installs `shallok` into `devDependencies` using your detected package manager (pnpm, npm, yarn, or bun).
41
- 3. Installs the matching AI agent skill directly into `.agents/skills/` and `skills/` (e.g. Next.js, React, Expo, Astro, or general fallback).
41
+ 3. Installs the matching AI agent skill directly into `.agents/skills/` (e.g. Next.js, React, Expo, Astro, or general fallback).
42
42
  4. Displays the next-step prompt to give to your AI coding agent: *"Add localization and translations for a, b, c, d languages"*.
43
43
 
44
44
  > **Note for AI Agents**: `shallok setup` is intended only for human developers. AI Agents should never run `shallok setup`; instead, agents run `shallok init`, `shallok extract`, `shallok translate`, etc.
package/dist/index.js CHANGED
@@ -50534,7 +50534,7 @@ function resolveCliVersion() {
50534
50534
  }
50535
50535
  } catch {
50536
50536
  }
50537
- return "0.1.3";
50537
+ return "0.1.4";
50538
50538
  }
50539
50539
  var CLI_VERSION = resolveCliVersion();
50540
50540
 
@@ -50611,8 +50611,7 @@ async function installSkillsForProject(projectRoot, framework) {
50611
50611
  const fwSkill = framework ? frameworkSkillMap[framework.toLowerCase()] : void 0;
50612
50612
  const selectedSkills = fwSkill ? [fwSkill] : ["localization-and-translation-i18n"];
50613
50613
  const targetRoots = [
50614
- path6.resolve(projectRoot, ".agents", "skills"),
50615
- path6.resolve(projectRoot, "skills")
50614
+ path6.resolve(projectRoot, ".agents", "skills")
50616
50615
  ];
50617
50616
  for (const targetRoot of targetRoots) {
50618
50617
  for (const skillName of selectedSkills) {
@@ -50683,7 +50682,7 @@ async function setupCommand(options) {
50683
50682
  printer.info(`shallok dependency verified in package.json`);
50684
50683
  }
50685
50684
  for (const skill of result.copiedSkills) {
50686
- printer.info(`Added AI agent skill: ${skill} (.agents/skills/ & skills/)`);
50685
+ printer.info(`Added AI agent skill: ${skill} (.agents/skills/)`);
50687
50686
  }
50688
50687
  console.log("");
50689
50688
  console.log(chalk2.bold.cyan("======================================================================"));