arkgate 2.7.0 → 2.8.1
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/CHANGELOG.md +45 -1
- package/README.md +8 -0
- package/bin/lib/agent-gates.mjs +48 -228
- package/bin/lib/architecture-scan.mjs +20 -0
- package/bin/lib/ast-scan.mjs +232 -4
- package/bin/lib/codex-home.mjs +320 -0
- package/bin/lib/doctor-plan.mjs +2 -0
- package/bin/lib/remediation.mjs +44 -12
- package/bin/lib/ts-resolve.mjs +5 -4
- package/dist/index.cjs +417 -338
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -9
- package/dist/index.d.ts +29 -9
- package/dist/index.js +417 -338
- package/dist/index.js.map +1 -1
- package/dist/nestjs/index.cjs +452 -373
- package/dist/nestjs/index.cjs.map +1 -1
- package/dist/nestjs/index.d.cts +1 -1
- package/dist/nestjs/index.d.ts +1 -1
- package/dist/nestjs/index.js +452 -373
- package/dist/nestjs/index.js.map +1 -1
- package/dist/runtime/index.cjs +417 -338
- package/dist/runtime/index.cjs.map +1 -1
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +417 -338
- package/dist/runtime/index.js.map +1 -1
- package/dist/{types-CP3KkwZt.d.cts → types-CSJhEOk2.d.cts} +34 -0
- package/dist/{types-CP3KkwZt.d.ts → types-CSJhEOk2.d.ts} +34 -0
- package/docs/agent-guide.md +1 -1
- package/docs/ai-gates.md +41 -7
- package/docs/brownfield-adoption.md +7 -0
- package/docs/demos/03-copilot-autopilot.md +3 -2
- package/docs/enthusiast/reference-commands.md +2 -2
- package/docs/package-surface.md +1 -1
- package/docs/production-hardening.md +11 -4
- package/package.json +2 -1
- package/server.json +2 -2
- package/templates/skills/ark-explain.md +3 -2
- package/templates/skills/ark-loop.md +2 -1
package/bin/lib/ts-resolve.mjs
CHANGED
|
@@ -124,12 +124,13 @@ export function scanCacheKey(root, args) {
|
|
|
124
124
|
? args.manifest
|
|
125
125
|
: path.join(root, args.manifest)
|
|
126
126
|
: undefined;
|
|
127
|
-
// Bump this schema tag whenever the cached scan shape
|
|
128
|
-
// older Ark can't feed stale entries to new logic. v2: typeOnly on edges.
|
|
129
|
-
//
|
|
127
|
+
// Bump this schema tag whenever the cached scan shape or detection semantics change, so a
|
|
128
|
+
// warm cache from an older Ark can't feed stale entries to new logic. v2: typeOnly on edges.
|
|
129
|
+
// v3: per-file exportsOnlyTypes. v4: typeOnlyExportNames + namedBindings.
|
|
130
|
+
// v5: hasTopLevelSideEffects. v6: non-exported impure inits + non-export class statics.
|
|
130
131
|
return crypto
|
|
131
132
|
.createHash('sha1')
|
|
132
|
-
.update(`ark-check-cache-
|
|
133
|
+
.update(`ark-check-cache-v6\0${read(configPath)}\0${manifestPath ? read(manifestPath) : ''}`)
|
|
133
134
|
.digest('hex');
|
|
134
135
|
}
|
|
135
136
|
|