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/dist/engine.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as ValidatedConfig, b as CanonicalFiles } from './schema-CH_JJep8.js';
2
- import { G as GenerateResult, h as TargetLayoutScope, L as LintDiagnostic, d as ImportResult } from './target-descriptor-CaLUz7SR.js';
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 the canonical state matches the lock file and no extend drifted. */
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: {