@aidenhq/sdk 0.4.1 → 0.4.2
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,7 +1,9 @@
|
|
|
1
1
|
// The instance repo files an apply may land and a settings write may touch: instance.yaml, apps.yaml, the owner's profile,
|
|
2
2
|
// a module agent's added rules (agents/<key>.md) and handbook fork (agents/<key>/AGENTS.md), and a local module's
|
|
3
|
-
// module.yaml, agents' handbooks and skills
|
|
4
|
-
// codehost-github holds a copy,
|
|
5
|
-
|
|
3
|
+
// module.yaml, agents' handbooks and skills (a skill's SKILL.md and the references/<name>.md files it splits detail into).
|
|
4
|
+
// Pure: the kernel's apply and both code hosts (codehost-local imports it, codehost-github holds a copy,
|
|
5
|
+
// scripts/sync-shared.ts) read this one list.
|
|
6
|
+
// A reference file is one .md, one folder deep; the apply's DIFF_MAX (apply-tier.ts) already bounds what one can bring.
|
|
7
|
+
export const APPLY_PATHS = /^(instance\.yaml|apps\.yaml|owner\/profile\.md|agents\/[\w.-]+\.md|agents\/[a-z0-9][a-z0-9-]*\/AGENTS\.md|modules\/[a-z0-9][a-z0-9-]*\/(module\.yaml|agents\/[a-z0-9][a-z0-9-]*\/AGENTS\.md|skills\/[a-z0-9][a-z0-9-]*\/(SKILL\.md|references\/[A-Za-z0-9][A-Za-z0-9._-]{0,63}\.md)))$/;
|
|
6
8
|
/** Files a change touches outside what apply may land. */
|
|
7
9
|
export const strayFiles = (files) => files.filter((f) => !APPLY_PATHS.test(f));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidenhq/sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "The shared code of AidenHQ modules: contract types, engine IO, the caller check and fence, write executors, the reviewer side, the judges' models and call, the source writer and the vendor MCP pass-through.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|