agentsmesh 0.31.0 → 0.33.0
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 +326 -0
- package/README.md +30 -29
- package/dist/canonical.d.ts +2 -2
- package/dist/canonical.js +16467 -9745
- package/dist/canonical.js.map +1 -1
- package/dist/cli.js +286 -228
- package/dist/engine.d.ts +17 -3
- package/dist/engine.js +12407 -5558
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11848 -4982
- package/dist/index.js.map +1 -1
- package/dist/{init-PvpXanVd.d.ts → init-rvKjGLTB.d.ts} +75 -75
- package/dist/lessons.d.ts +16 -4
- package/dist/lessons.js +869 -611
- package/dist/lessons.js.map +1 -1
- package/dist/{schema-CH_JJep8.d.ts → schema-BbywZEB9.d.ts} +6 -0
- package/dist/{target-descriptor-CaLUz7SR.d.ts → target-descriptor-DeS4XOtV.d.ts} +15 -2
- package/dist/targets.d.ts +3 -3
- package/dist/targets.js +16536 -9713
- package/dist/targets.js.map +1 -1
- package/package.json +2 -2
- package/schemas/agentsmesh.json +9 -0
- package/schemas/installs.json +3 -0
- package/schemas/pack.json +3 -0
package/dist/engine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as ValidatedConfig, b as CanonicalFiles } from './schema-
|
|
2
|
-
import { G as GenerateResult, h as TargetLayoutScope, L as LintDiagnostic, d as ImportResult } from './target-descriptor-
|
|
1
|
+
import { V as ValidatedConfig, b as CanonicalFiles } from './schema-BbywZEB9.js';
|
|
2
|
+
import { G as GenerateResult, h as TargetLayoutScope, L as LintDiagnostic, d as ImportResult } from './target-descriptor-DeS4XOtV.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -132,10 +132,14 @@ declare function formatDiffSummary(summary: DiffSummary): string;
|
|
|
132
132
|
*/
|
|
133
133
|
|
|
134
134
|
interface LockSyncReport {
|
|
135
|
-
/** True when
|
|
135
|
+
/** True when canonical state and checked generated outputs are all in sync. */
|
|
136
136
|
readonly inSync: boolean;
|
|
137
137
|
/** True when a `.lock` file was found at the canonical directory. */
|
|
138
138
|
readonly hasLock: boolean;
|
|
139
|
+
/** True when canonical files or extends differ from the lock. */
|
|
140
|
+
readonly canonicalDrift: boolean;
|
|
141
|
+
/** True when a generated output is modified, removed, or stale. */
|
|
142
|
+
readonly outputDrift: boolean;
|
|
139
143
|
/** Canonical files whose checksum differs from the lock. */
|
|
140
144
|
readonly modified: readonly string[];
|
|
141
145
|
/** Canonical files present now but not in the lock. */
|
|
@@ -153,6 +157,14 @@ interface LockSyncReport {
|
|
|
153
157
|
readonly outputsModified: readonly string[];
|
|
154
158
|
/** Generated outputs recorded in the lock but missing from disk. */
|
|
155
159
|
readonly outputsRemoved: readonly string[];
|
|
160
|
+
/** Managed generated outputs present on disk but absent from the lock. */
|
|
161
|
+
readonly outputsStale: readonly string[];
|
|
162
|
+
/**
|
|
163
|
+
* Files inside a managed directory the lock does not claim — the tool's own
|
|
164
|
+
* output or something hand-authored. Informational: deliberately excluded
|
|
165
|
+
* from `outputDrift` and `inSync`, because `generate` cannot remove them.
|
|
166
|
+
*/
|
|
167
|
+
readonly outputsUntracked: readonly string[];
|
|
156
168
|
/**
|
|
157
169
|
* True when output drift was actually verified — requires `rootBase` and a
|
|
158
170
|
* lock with an `outputs` map. False for old-format locks or when no
|
|
@@ -171,6 +183,8 @@ interface CheckLockSyncOptions {
|
|
|
171
183
|
* verification is skipped (keeps the programmatic API backward compatible).
|
|
172
184
|
*/
|
|
173
185
|
readonly rootBase?: string;
|
|
186
|
+
/** Output-layout scope used when scanning managed locations for stale files. */
|
|
187
|
+
readonly scope?: TargetLayoutScope;
|
|
174
188
|
}
|
|
175
189
|
|
|
176
190
|
declare function importFrom(target: string, opts: {
|