@cleocode/skills 2026.4.74 → 2026.4.75

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/skills",
3
- "version": "2026.4.74",
3
+ "version": "2026.4.75",
4
4
  "description": "CLEO skill definitions - bundled with CLEO monorepo",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -17,16 +17,25 @@
17
17
  */
18
18
 
19
19
  import { readFileSync } from 'node:fs';
20
- import { resolve } from 'node:path';
20
+ import { dirname, resolve } from 'node:path';
21
+ import { fileURLToPath } from 'node:url';
21
22
  import { describe, expect, it } from 'vitest';
22
23
 
23
24
  // ---------------------------------------------------------------------------
24
25
  // Setup
25
26
  // ---------------------------------------------------------------------------
26
27
 
27
- /** Absolute path to CLEO-INJECTION.md template file */
28
+ /**
29
+ * Resolve the CLEO-INJECTION.md template from the in-repo source of truth.
30
+ * The template is authored at `packages/core/templates/` and mirrored by
31
+ * `cleo init` into `~/.local/share/cleo/templates/` + `~/.cleo/templates/`.
32
+ * We test the in-repo source directly — portable across dev machines and
33
+ * CI runners without any filesystem provisioning.
34
+ */
35
+ const thisDir = dirname(fileURLToPath(import.meta.url));
28
36
  const injectionPath = resolve(
29
- '/home/keatonhoskins/.local/share/cleo/templates/CLEO-INJECTION.md'
37
+ thisDir,
38
+ '../../../../core/templates/CLEO-INJECTION.md',
30
39
  );
31
40
 
32
41
  /** Read once — all assertions operate on this string */