@ankhorage/devtools 1.10.7 → 1.10.9

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.
@@ -1,8 +1,7 @@
1
1
  /***
2
2
  * Build shared Knip configuration while preserving repository-specific discovery.
3
3
  *
4
- * `createKnipConfig` keeps Knip zero-config discovery while excluding executable files in
5
- * Devtools-managed skills. Repositories can add narrow entries, project globs, ignored files,
4
+ * `createKnipConfig` keeps Knip zero-config discovery. Repositories can add narrow entries, project globs, ignored files,
6
5
  * binaries, dependencies, and workspace overrides without duplicating the shared Knip version.
7
6
  *
8
7
  * `createKnipMonorepoConfig` adds a root workspace plus conventional `packages/*` and `apps/*`
@@ -29,7 +28,7 @@ export interface DevtoolsKnipMonorepoConfigOptions {
29
28
  readonly workspaceGlobs?: string[];
30
29
  readonly workspaces?: Record<string, DevtoolsKnipWorkspaceConfigOptions>;
31
30
  }
32
- /*** Build shared Knip configuration with the Devtools-managed skill boundary excluded. */
31
+ /*** Build shared Knip configuration while preserving repository-specific discovery. */
33
32
  export declare function createKnipConfig(options?: DevtoolsKnipConfigOptions): KnipConfig;
34
- /*** Build shared monorepo Knip configuration with the same managed-skill boundary. */
33
+ /*** Build shared monorepo Knip configuration. */
35
34
  export declare function createKnipMonorepoConfig(options?: DevtoolsKnipMonorepoConfigOptions): KnipConfig;
@@ -1,8 +1,6 @@
1
- import { MANAGED_SKILL_EXECUTABLE_GLOB } from '../skills/manifest.js';
2
1
  const DEFAULT_MONOREPO_WORKSPACE_GLOBS = ['packages/*', 'apps/*'];
3
- /*** Build shared Knip configuration with the Devtools-managed skill boundary excluded. */
2
+ /*** Build shared Knip configuration while preserving repository-specific discovery. */
4
3
  export function createKnipConfig(options = {}) {
5
- const ignoreFiles = [...new Set([MANAGED_SKILL_EXECUTABLE_GLOB, ...(options.ignoreFiles ?? [])])];
6
4
  return {
7
5
  ...(options.entry === undefined ? {} : { entry: options.entry }),
8
6
  ...(options.project === undefined ? {} : { project: options.project }),
@@ -11,11 +9,11 @@ export function createKnipConfig(options = {}) {
11
9
  ...(options.ignoreDependencies === undefined
12
10
  ? {}
13
11
  : { ignoreDependencies: options.ignoreDependencies }),
14
- ignoreFiles,
12
+ ...(options.ignoreFiles === undefined ? {} : { ignoreFiles: options.ignoreFiles }),
15
13
  ...(options.workspaces === undefined ? {} : { workspaces: options.workspaces }),
16
14
  };
17
15
  }
18
- /*** Build shared monorepo Knip configuration with the same managed-skill boundary. */
16
+ /*** Build shared monorepo Knip configuration. */
19
17
  export function createKnipMonorepoConfig(options = {}) {
20
18
  const explicitWorkspaces = options.workspaces ?? {};
21
19
  const workspaceGlobs = options.workspaceGlobs ?? [...DEFAULT_MONOREPO_WORKSPACE_GLOBS];
@@ -14,7 +14,7 @@ Apply a repository profile instead of forcing one folder tree onto every package
14
14
  Before deciding structure:
15
15
 
16
16
  1. Read the repository `AGENTS.md`, `package.json`, exports, source tree, and representative tests.
17
- 2. Load `ankhorage-coding-rules` and `ankhorage-package-structure` when available.
17
+ 2. Load `ankhorage-coding-rules` as the complementary implementation and testing authority.
18
18
  3. Identify the repository's owning capability and its profile below.
19
19
  4. Identify current public subpaths and cross-package release boundaries.
20
20
 
@@ -9,8 +9,8 @@ one domain only -> src/<domain>/utils/<functionName>.ts
9
9
  semantic/domain behavior -> owning domain, not utils
10
10
  ```
11
11
 
12
- Do not retain local copies while waiting for a Utility release. Follow the Utility PR, merge,
13
- release, dependency-update sequence defined by `ankhorage-package-structure`.
12
+ Do not retain local copies while waiting for a Utility release. Follow the Utility repository's
13
+ current PR, merge, release, and dependency-update workflow.
14
14
 
15
15
  ## Strong cross-repository candidates
16
16
 
@@ -1,6 +1,5 @@
1
1
  export declare const MANIFEST_PATH = ".agents/.devtools-manifest.json";
2
2
  export declare const SKILLS_ROOT = ".agents/skills";
3
- export declare const MANAGED_SKILL_EXECUTABLE_GLOB = ".agents/skills/**/scripts/**";
4
3
  interface ManagedSkillManifestEntry {
5
4
  readonly files: Readonly<Record<string, string>>;
6
5
  }
@@ -3,7 +3,6 @@ import { readFile } from 'node:fs/promises';
3
3
  import { posix, relative, resolve } from 'node:path';
4
4
  export const MANIFEST_PATH = '.agents/.devtools-manifest.json';
5
5
  export const SKILLS_ROOT = '.agents/skills';
6
- export const MANAGED_SKILL_EXECUTABLE_GLOB = `${SKILLS_ROOT}/**/scripts/**`;
7
6
  const MANIFEST_SCHEMA_VERSION = 1;
8
7
  export function createManifestContents(contentsByPath, devtoolsVersion, skillNames) {
9
8
  const skills = Object.fromEntries(skillNames.map((skillName) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/devtools",
3
- "version": "1.10.7",
3
+ "version": "1.10.9",
4
4
  "description": "Shared development tools and repository standards for Ankhorage",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ankhorage/devtools#readme",