agentsmesh 0.32.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.
@@ -174,6 +174,7 @@ declare const configSchema: z.ZodObject<{
174
174
  "augment-code": "augment-code";
175
175
  "claude-code": "claude-code";
176
176
  cline: "cline";
177
+ codebuff: "codebuff";
177
178
  "codex-cli": "codex-cli";
178
179
  continue: "continue";
179
180
  copilot: "copilot";
@@ -186,8 +187,10 @@ declare const configSchema: z.ZodObject<{
186
187
  jules: "jules";
187
188
  junie: "junie";
188
189
  "kilo-code": "kilo-code";
190
+ "kimi-code": "kimi-code";
189
191
  kiro: "kiro";
190
192
  opencode: "opencode";
193
+ openhands: "openhands";
191
194
  "pi-agent": "pi-agent";
192
195
  "qwen-code": "qwen-code";
193
196
  "replit-agent": "replit-agent";
@@ -220,6 +223,7 @@ declare const configSchema: z.ZodObject<{
220
223
  "augment-code": "augment-code";
221
224
  "claude-code": "claude-code";
222
225
  cline: "cline";
226
+ codebuff: "codebuff";
223
227
  "codex-cli": "codex-cli";
224
228
  continue: "continue";
225
229
  copilot: "copilot";
@@ -232,8 +236,10 @@ declare const configSchema: z.ZodObject<{
232
236
  jules: "jules";
233
237
  junie: "junie";
234
238
  "kilo-code": "kilo-code";
239
+ "kimi-code": "kimi-code";
235
240
  kiro: "kiro";
236
241
  opencode: "opencode";
242
+ openhands: "openhands";
237
243
  "pi-agent": "pi-agent";
238
244
  "qwen-code": "qwen-code";
239
245
  "replit-agent": "replit-agent";
@@ -1,4 +1,4 @@
1
- import { b as CanonicalFiles, c as CanonicalRule, V as ValidatedConfig, E as ExtendPick } from './schema-CH_JJep8.js';
1
+ import { b as CanonicalFiles, c as CanonicalRule, V as ValidatedConfig, E as ExtendPick } from './schema-BbywZEB9.js';
2
2
 
3
3
  /** Result of generating files for a target */
4
4
  interface GenerateResult {
@@ -41,7 +41,7 @@ type SupportLevel = 'native' | 'embedded' | 'partial' | 'none';
41
41
  * No descriptor imports — keeps this module on the schema-safe side of the
42
42
  * `schema.ts → descriptors → ValidatedConfig → schema.ts` cycle.
43
43
  */
44
- declare const BUILTIN_TARGET_IDS: readonly ["aider", "amazon-q", "amp", "antigravity", "augment-code", "claude-code", "cline", "codex-cli", "continue", "copilot", "crush", "cursor", "deepagents-cli", "factory-droid", "gemini-cli", "goose", "jules", "junie", "kilo-code", "kiro", "opencode", "pi-agent", "qwen-code", "replit-agent", "roo-code", "rovodev", "trae", "warp", "windsurf", "zed"];
44
+ declare const BUILTIN_TARGET_IDS: readonly ["aider", "amazon-q", "amp", "antigravity", "augment-code", "claude-code", "cline", "codebuff", "codex-cli", "continue", "copilot", "crush", "cursor", "deepagents-cli", "factory-droid", "gemini-cli", "goose", "jules", "junie", "kilo-code", "kimi-code", "kiro", "opencode", "openhands", "pi-agent", "qwen-code", "replit-agent", "roo-code", "rovodev", "trae", "warp", "windsurf", "zed"];
45
45
  type BuiltinTargetId = (typeof BUILTIN_TARGET_IDS)[number];
46
46
 
47
47
  /** Serialization / projection variant for a canonical feature (see architecture review §3.3). */
@@ -224,8 +224,21 @@ interface TargetPathResolvers {
224
224
  agentPath(name: string, config: ValidatedConfig): string | null;
225
225
  }
226
226
  interface TargetManagedOutputs {
227
+ /** Directories agentsmesh fills alone; every file inside is deletable. */
227
228
  dirs: readonly string[];
229
+ /**
230
+ * Files agentsmesh owns outright. A run that stops emitting one DELETES it,
231
+ * which is how revocation works.
232
+ */
228
233
  files: readonly string[];
234
+ /**
235
+ * Files agentsmesh writes into but the user owns too (a shared tool config
236
+ * holding their model, auth or editor settings). NEVER deleted: a run that
237
+ * stops emitting one just leaves it alone, and the descriptor's
238
+ * `mergeGeneratedOutputContent` hook keeps the user's content on the runs
239
+ * that do write it. A path belongs to exactly one of the two lists.
240
+ */
241
+ coOwnedFiles?: readonly string[];
229
242
  }
230
243
  interface TargetLayout {
231
244
  /** Primary root instruction artifact for this scope, if any. */
package/dist/targets.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { e as TargetDescriptor, h as TargetLayoutScope, C as ContentNormalizer, d as ImportResult } from './target-descriptor-CaLUz7SR.js';
2
- export { E as ExtraRuleOutputContext, a as ExtraRuleOutputResolver, F as FeatureLinter, b as GeneratedOutputMerger, c as GlobalTargetSupport, I as ImportPathBuilder, R as RuleLinter, S as ScopeExtrasFn, T as TargetCapabilities, f as TargetGenerators, g as TargetLayout, i as TargetLintHooks, j as TargetManagedOutputs, k as TargetOutputFamily, l as TargetPathResolvers } from './target-descriptor-CaLUz7SR.js';
3
- import './schema-CH_JJep8.js';
1
+ import { e as TargetDescriptor, h as TargetLayoutScope, C as ContentNormalizer, d as ImportResult } from './target-descriptor-DeS4XOtV.js';
2
+ export { E as ExtraRuleOutputContext, a as ExtraRuleOutputResolver, F as FeatureLinter, b as GeneratedOutputMerger, c as GlobalTargetSupport, I as ImportPathBuilder, R as RuleLinter, S as ScopeExtrasFn, T as TargetCapabilities, f as TargetGenerators, g as TargetLayout, i as TargetLintHooks, j as TargetManagedOutputs, k as TargetOutputFamily, l as TargetPathResolvers } from './target-descriptor-DeS4XOtV.js';
3
+ import './schema-BbywZEB9.js';
4
4
  import 'zod';
5
5
 
6
6
  /** Register a full target descriptor (for plugins). */