@truenine/memory-sync-cli 2026.10404.101 → 2026.10408.12323

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,4 +1,4 @@
1
- //#region ../libraries/md-compiler/dist/index-DeSXERS2.d.mts
1
+ //#region ../libraries/md-compiler/dist/index-ejiW4WR4.d.mts
2
2
  //#region src/globals/index.d.ts
3
3
  /**
4
4
  * // These types are available to users when writing MDX templates. // Global type declarations for MDX expression scope. // src/globals/index.ts
@@ -12,6 +12,15 @@ interface UserProfile {
12
12
  gender?: string;
13
13
  birthday?: string;
14
14
  }
15
+ /**
16
+ * User code style preferences
17
+ * @example {codeStyles.indent}, {codeStyles.tabSize}
18
+ */
19
+ interface CodeStylePreferences {
20
+ [key: string]: unknown;
21
+ indent?: 'tab' | 'space';
22
+ tabSize?: number;
23
+ }
15
24
  /**
16
25
  * Tool references for AI assistants
17
26
  * @example {tool.websearch}, {tool.webfetch}, {tool.readFile}
@@ -136,6 +145,8 @@ interface MdComponent {
136
145
  interface MdxGlobalScope {
137
146
  /** User profile information */
138
147
  profile: UserProfile;
148
+ /** User code style preferences */
149
+ codeStyles: CodeStylePreferences;
139
150
  /** Tool name references for AI assistants */
140
151
  tool: ToolReferences;
141
152
  /** Environment variables context */
@@ -147,7 +158,7 @@ interface MdxGlobalScope {
147
158
  }
148
159
  declare global {
149
160
  /** User profile information */
150
- const profile: UserProfile, /** Tool name references for AI assistants */tool: ToolReferences, /** Environment variables context */env: EnvironmentContext, /** Operating system information */os: OsInfo, /** Conditional Markdown component with Line sub-component */Md: MdComponent;
161
+ const profile: UserProfile, /** User code style preferences */codeStyles: CodeStylePreferences, /** Tool name references for AI assistants */tool: ToolReferences, /** Environment variables context */env: EnvironmentContext, /** Operating system information */os: OsInfo, /** Conditional Markdown component with Line sub-component */Md: MdComponent;
151
162
  namespace JSX {
152
163
  interface IntrinsicElements {
153
164
  'Md': MdProps;
@@ -156,4 +167,4 @@ declare global {
156
167
  }
157
168
  } //#endregion
158
169
  //#endregion
159
- export { EnvironmentContext, MdComponent, MdLineProps, MdProps, MdxGlobalScope, OsInfo, OsKind, ShellKind, ToolPresets, ToolReferences, UserProfile };
170
+ export { CodeStylePreferences, EnvironmentContext, MdComponent, MdLineProps, MdProps, MdxGlobalScope, OsInfo, OsKind, ShellKind, ToolPresets, ToolReferences, UserProfile };
package/dist/index.d.mts CHANGED
@@ -1047,7 +1047,7 @@ interface ParsedMarkdown<Y = Record<string, unknown>> {
1047
1047
  readonly contentWithoutFrontMatter: string;
1048
1048
  }
1049
1049
  //#endregion
1050
- //#region ../libraries/md-compiler/dist/index-DeSXERS2.d.mts
1050
+ //#region ../libraries/md-compiler/dist/index-ejiW4WR4.d.mts
1051
1051
  //#region src/globals/index.d.ts
1052
1052
  /**
1053
1053
  * // These types are available to users when writing MDX templates. // Global type declarations for MDX expression scope. // src/globals/index.ts
@@ -1061,6 +1061,15 @@ interface UserProfile$1 {
1061
1061
  gender?: string;
1062
1062
  birthday?: string;
1063
1063
  }
1064
+ /**
1065
+ * User code style preferences
1066
+ * @example {codeStyles.indent}, {codeStyles.tabSize}
1067
+ */
1068
+ interface CodeStylePreferences$1 {
1069
+ [key: string]: unknown;
1070
+ indent?: 'tab' | 'space';
1071
+ tabSize?: number;
1072
+ }
1064
1073
  /**
1065
1074
  * Tool references for AI assistants
1066
1075
  * @example {tool.websearch}, {tool.webfetch}, {tool.readFile}
@@ -1185,6 +1194,8 @@ interface MdComponent$1 {
1185
1194
  interface MdxGlobalScope {
1186
1195
  /** User profile information */
1187
1196
  profile: UserProfile$1;
1197
+ /** User code style preferences */
1198
+ codeStyles: CodeStylePreferences$1;
1188
1199
  /** Tool name references for AI assistants */
1189
1200
  tool: ToolReferences$1;
1190
1201
  /** Environment variables context */
@@ -1196,7 +1207,7 @@ interface MdxGlobalScope {
1196
1207
  }
1197
1208
  declare global {
1198
1209
  /** User profile information */
1199
- const profile: UserProfile$1, /** Tool name references for AI assistants */tool: ToolReferences$1, /** Environment variables context */env: EnvironmentContext$1, /** Operating system information */os: OsInfo$1, /** Conditional Markdown component with Line sub-component */Md: MdComponent$1;
1210
+ const profile: UserProfile$1, /** User code style preferences */codeStyles: CodeStylePreferences$1, /** Tool name references for AI assistants */tool: ToolReferences$1, /** Environment variables context */env: EnvironmentContext$1, /** Operating system information */os: OsInfo$1, /** Conditional Markdown component with Line sub-component */Md: MdComponent$1;
1200
1211
  namespace JSX {
1201
1212
  interface IntrinsicElements {
1202
1213
  'Md': MdProps$1;
@@ -1261,7 +1272,7 @@ declare abstract class AbstractInputCapability implements InputCapability {
1261
1272
  protected resolveAindexPath(relativePath: string, aindexDir: string): string;
1262
1273
  protected readAndParseMarkdown<T extends YAMLFrontMatter>(filePath: string, fs: typeof _$node_fs0): ParsedMarkdown<T>;
1263
1274
  } //#endregion
1264
- //#region ../libraries/md-compiler/dist/index-DeSXERS2.d.mts
1275
+ //#region ../libraries/md-compiler/dist/index-ejiW4WR4.d.mts
1265
1276
  //#region src/globals/index.d.ts
1266
1277
  /**
1267
1278
  * // These types are available to users when writing MDX templates. // Global type declarations for MDX expression scope. // src/globals/index.ts
@@ -1275,6 +1286,15 @@ interface UserProfile {
1275
1286
  gender?: string;
1276
1287
  birthday?: string;
1277
1288
  }
1289
+ /**
1290
+ * User code style preferences
1291
+ * @example {codeStyles.indent}, {codeStyles.tabSize}
1292
+ */
1293
+ interface CodeStylePreferences {
1294
+ [key: string]: unknown;
1295
+ indent?: 'tab' | 'space';
1296
+ tabSize?: number;
1297
+ }
1278
1298
  /**
1279
1299
  * Tool references for AI assistants
1280
1300
  * @example {tool.websearch}, {tool.webfetch}, {tool.readFile}
@@ -1369,7 +1389,7 @@ interface MdComponent {
1369
1389
  */
1370
1390
  declare global {
1371
1391
  /** User profile information */
1372
- const profile: UserProfile, /** Tool name references for AI assistants */tool: ToolReferences, /** Environment variables context */env: EnvironmentContext, /** Operating system information */os: OsInfo, /** Conditional Markdown component with Line sub-component */Md: MdComponent;
1392
+ const profile: UserProfile, /** User code style preferences */codeStyles: CodeStylePreferences, /** Tool name references for AI assistants */tool: ToolReferences, /** Environment variables context */env: EnvironmentContext, /** Operating system information */os: OsInfo, /** Conditional Markdown component with Line sub-component */Md: MdComponent;
1373
1393
  namespace JSX {
1374
1394
  interface IntrinsicElements {
1375
1395
  'Md': MdProps;
@@ -5270,6 +5290,23 @@ declare const ZFrontMatterOptions: z.ZodObject<{
5270
5290
  }, {
5271
5291
  blankLineAfter?: boolean | undefined;
5272
5292
  }>;
5293
+ declare const DEFAULT_CODE_STYLE_INDENT: "space";
5294
+ declare const DEFAULT_CODE_STYLE_TAB_SIZE: 2;
5295
+ declare const DEFAULT_CODE_STYLES_OPTIONS: {
5296
+ readonly indent: "space";
5297
+ readonly tabSize: 2;
5298
+ };
5299
+ declare const ZCodeStyleIndent: z.ZodEnum<["tab", "space"]>;
5300
+ declare const ZCodeStylesOptions: z.ZodObject<{
5301
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5302
+ tabSize: z.ZodDefault<z.ZodNumber>;
5303
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
5304
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5305
+ tabSize: z.ZodDefault<z.ZodNumber>;
5306
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
5307
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5308
+ tabSize: z.ZodDefault<z.ZodNumber>;
5309
+ }, z.ZodUnknown, "strip">>;
5273
5310
  declare const ZProtectionMode: z.ZodEnum<["direct", "recursive"]>;
5274
5311
  declare const ZProtectionRuleMatcher: z.ZodEnum<["path", "glob"]>;
5275
5312
  declare const ZCleanupProtectionRule: z.ZodObject<{
@@ -5345,6 +5382,11 @@ declare const ZWindowsOptions: z.ZodObject<{
5345
5382
  instances?: string | string[] | undefined;
5346
5383
  } | undefined;
5347
5384
  }>;
5385
+ declare const SUPPORTED_PLUGIN_CONFIG_KEYS: readonly ["agentsMd", "claudeCode", "codex", "cursor", "droid", "gemini", "git", "jetbrains", "jetbrainsCodeStyle", "kiro", "opencode", "qoder", "readme", "trae", "traeCn", "vscode", "warp", "windsurf", "zed"];
5386
+ type SupportedPluginConfigKey = (typeof SUPPORTED_PLUGIN_CONFIG_KEYS)[number];
5387
+ declare function isSupportedPluginConfigKey(key: string): key is SupportedPluginConfigKey;
5388
+ declare function getSupportedPluginConfigKeysMessage(): string;
5389
+ declare const ZPluginsConfig: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodBoolean>, Record<string, boolean>, Record<string, boolean>>;
5348
5390
  /**
5349
5391
  * Zod schema for user profile information.
5350
5392
  */
@@ -5445,6 +5487,16 @@ declare const ZUserConfigFile: z.ZodObject<{
5445
5487
  }, {
5446
5488
  blankLineAfter?: boolean | undefined;
5447
5489
  }>>;
5490
+ codeStyles: z.ZodOptional<z.ZodObject<{
5491
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5492
+ tabSize: z.ZodDefault<z.ZodNumber>;
5493
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
5494
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5495
+ tabSize: z.ZodDefault<z.ZodNumber>;
5496
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
5497
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5498
+ tabSize: z.ZodDefault<z.ZodNumber>;
5499
+ }, z.ZodUnknown, "strip">>>;
5448
5500
  cleanupProtection: z.ZodOptional<z.ZodObject<{
5449
5501
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5450
5502
  path: z.ZodString;
@@ -5510,6 +5562,7 @@ declare const ZUserConfigFile: z.ZodObject<{
5510
5562
  gender: z.ZodOptional<z.ZodString>;
5511
5563
  birthday: z.ZodOptional<z.ZodString>;
5512
5564
  }, z.ZodUnknown, "strip">>>;
5565
+ plugins: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodBoolean>, Record<string, boolean>, Record<string, boolean>>>;
5513
5566
  }, "strip", z.ZodTypeAny, {
5514
5567
  version?: string | undefined;
5515
5568
  workspaceDir?: string | undefined;
@@ -5521,6 +5574,7 @@ declare const ZUserConfigFile: z.ZodObject<{
5521
5574
  seriesSeparator?: string | undefined;
5522
5575
  }> | undefined;
5523
5576
  } | undefined;
5577
+ plugins?: Record<string, boolean> | undefined;
5524
5578
  outputScopes?: {
5525
5579
  plugins?: Record<string, {
5526
5580
  skills?: "project" | "global" | ("project" | "global")[] | undefined;
@@ -5534,6 +5588,10 @@ declare const ZUserConfigFile: z.ZodObject<{
5534
5588
  frontMatter?: {
5535
5589
  blankLineAfter?: boolean | undefined;
5536
5590
  } | undefined;
5591
+ codeStyles?: z.objectOutputType<{
5592
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5593
+ tabSize: z.ZodDefault<z.ZodNumber>;
5594
+ }, z.ZodUnknown, "strip"> | undefined;
5537
5595
  cleanupProtection?: {
5538
5596
  rules?: {
5539
5597
  path: string;
@@ -5564,6 +5622,7 @@ declare const ZUserConfigFile: z.ZodObject<{
5564
5622
  seriesSeparator?: string | undefined;
5565
5623
  }> | undefined;
5566
5624
  } | undefined;
5625
+ plugins?: Record<string, boolean> | undefined;
5567
5626
  outputScopes?: {
5568
5627
  plugins?: Record<string, {
5569
5628
  skills?: "project" | "global" | ("project" | "global")[] | undefined;
@@ -5577,6 +5636,10 @@ declare const ZUserConfigFile: z.ZodObject<{
5577
5636
  frontMatter?: {
5578
5637
  blankLineAfter?: boolean | undefined;
5579
5638
  } | undefined;
5639
+ codeStyles?: z.objectInputType<{
5640
+ indent: z.ZodDefault<z.ZodEnum<["tab", "space"]>>;
5641
+ tabSize: z.ZodDefault<z.ZodNumber>;
5642
+ }, z.ZodUnknown, "strip"> | undefined;
5580
5643
  cleanupProtection?: {
5581
5644
  rules?: {
5582
5645
  path: string;
@@ -5731,6 +5794,8 @@ type OutputScopeSelection = z.infer<typeof ZOutputScopeSelection>;
5731
5794
  type PluginOutputScopeTopics = z.infer<typeof ZPluginOutputScopeTopics>;
5732
5795
  type OutputScopeOptions = z.infer<typeof ZOutputScopeOptions>;
5733
5796
  type FrontMatterOptions = z.infer<typeof ZFrontMatterOptions>;
5797
+ type CodeStyleIndent = z.infer<typeof ZCodeStyleIndent>;
5798
+ type CodeStylesOptions = z.infer<typeof ZCodeStylesOptions>;
5734
5799
  type ProtectionMode = z.infer<typeof ZProtectionMode>;
5735
5800
  type ProtectionRuleMatcher = z.infer<typeof ZProtectionRuleMatcher>;
5736
5801
  type CleanupProtectionRule = z.infer<typeof ZCleanupProtectionRule>;
@@ -5738,11 +5803,14 @@ type CleanupProtectionOptions = z.infer<typeof ZCleanupProtectionOptions>;
5738
5803
  type StringOrStringArray = z.infer<typeof ZStringOrStringArray>;
5739
5804
  type WindowsWsl2Options = z.infer<typeof ZWindowsWsl2Options>;
5740
5805
  type WindowsOptions = z.infer<typeof ZWindowsOptions>;
5806
+ type PluginsConfig = z.infer<typeof ZPluginsConfig>;
5741
5807
  type UserConfigFile = z.infer<typeof ZUserConfigFile>;
5742
5808
  type McpProjectConfig = z.infer<typeof ZMcpProjectConfig>;
5743
5809
  type TypeSeriesConfig = z.infer<typeof ZTypeSeriesConfig>;
5744
5810
  type ProjectConfig = z.infer<typeof ZProjectConfig>;
5745
5811
  type ConfigLoaderOptions = z.infer<typeof ZConfigLoaderOptions>;
5812
+ declare function buildDefaultCodeStylesOptions(): CodeStylesOptions;
5813
+ declare function mergeCodeStylesOptions(base?: CodeStylesOptions, override?: Partial<CodeStylesOptions>): CodeStylesOptions;
5746
5814
  /**
5747
5815
  * Result of loading a config file.
5748
5816
  */
@@ -5769,6 +5837,10 @@ declare enum PromptKind {
5769
5837
  Rule = "rule"
5770
5838
  }
5771
5839
  type RuleScope = 'project' | 'global';
5840
+ declare enum OutputDeclarationScopeKind {
5841
+ Project = "project",
5842
+ Global = "global"
5843
+ }
5772
5844
  declare enum FilePathKind {
5773
5845
  Relative = "relative",
5774
5846
  Absolute = "absolute",
@@ -6748,14 +6820,6 @@ interface InputCapabilityContext extends PluginContext {
6748
6820
  interface InputCapability extends DependencyNode {
6749
6821
  collect: (ctx: InputCapabilityContext) => Partial<InputCollectedContext> | Promise<Partial<InputCollectedContext>>;
6750
6822
  }
6751
- /**
6752
- * Capability that can enhance projects after all projects are collected.
6753
- * This is useful for capabilities that need to add data to projects
6754
- * collected by earlier capabilities.
6755
- */
6756
- interface ProjectEnhancerCapability extends InputCapability {
6757
- enhanceProjects: (ctx: InputCapabilityContext, projects: readonly Project[]) => Project[];
6758
- }
6759
6823
  interface OutputRuntimeTargets {
6760
6824
  readonly jetbrainsCodexDirs: readonly string[];
6761
6825
  }
@@ -6978,9 +7042,7 @@ interface OutputCleanupDeclarations {
6978
7042
  /** Glob ignore patterns when expanding delete/protect globs */
6979
7043
  readonly excludeScanGlobs?: readonly string[];
6980
7044
  }
6981
- declare function validateOutputPluginCapabilities(plugin: OutputPlugin): void;
6982
- declare function validateOutputScopeOverridesForPlugin(plugin: OutputPlugin, pluginOptions?: PluginOptions): void;
6983
- declare function validateOutputScopeOverridesForPlugins(plugins: readonly OutputPlugin[], pluginOptions?: PluginOptions): void;
7045
+ declare function isOutputPluginEnabled(plugin: OutputPlugin, pluginOptions?: PluginOptions): boolean;
6984
7046
  declare function collectOutputDeclarations(plugins: readonly OutputPlugin[], ctx: OutputWriteContext): Promise<Map<OutputPlugin, readonly OutputFileDeclaration[]>>;
6985
7047
  /**
6986
7048
  * Execute declarative write operations for output plugins.
@@ -7014,12 +7076,10 @@ interface PluginOptions {
7014
7076
  readonly version?: string;
7015
7077
  readonly workspaceDir?: string;
7016
7078
  readonly aindex?: AindexConfig;
7017
- readonly commandSeriesOptions?: CommandSeriesOptions;
7018
- readonly outputScopes?: OutputScopeOptions;
7019
7079
  readonly frontMatter?: FrontMatterOptions;
7020
- readonly cleanupProtection?: CleanupProtectionOptions;
7080
+ readonly codeStyles?: CodeStylesOptions;
7021
7081
  readonly windows?: WindowsOptions;
7022
- plugins?: readonly (InputCapability | OutputPlugin)[];
7082
+ readonly plugins?: PluginsConfig;
7023
7083
  logLevel?: 'trace' | 'debug' | 'info' | 'warn' | 'error';
7024
7084
  } //#endregion
7025
7085
  //#region src/plugins/plugin-core/types.d.ts
@@ -7043,6 +7103,8 @@ type ToolPresetName = keyof typeof ToolPresets$1;
7043
7103
  interface GlobalScopeCollectorOptions {
7044
7104
  /** User configuration file */
7045
7105
  readonly userConfig?: UserConfigFile | undefined;
7106
+ /** Resolved user config options */
7107
+ readonly userConfigOptions?: Pick<PluginOptions, 'codeStyles'> | undefined;
7046
7108
  /** Tool preset to use (default: 'default') */
7047
7109
  readonly toolPreset?: ToolPresetName | undefined;
7048
7110
  }
@@ -7052,6 +7114,7 @@ interface GlobalScopeCollectorOptions {
7052
7114
  */
7053
7115
  declare class GlobalScopeCollector {
7054
7116
  private readonly userConfig;
7117
+ private readonly userConfigOptions;
7055
7118
  private readonly toolPreset;
7056
7119
  constructor(options?: GlobalScopeCollectorOptions);
7057
7120
  collect(): MdxGlobalScope;
@@ -7060,6 +7123,7 @@ declare class GlobalScopeCollector {
7060
7123
  private detectShellKind;
7061
7124
  private collectEnvContext;
7062
7125
  private collectProfile;
7126
+ private collectCodeStyles;
7063
7127
  private collectToolReferences;
7064
7128
  private createMdComponent;
7065
7129
  }
@@ -7078,7 +7142,7 @@ interface ScopeRegistration {
7078
7142
  declare enum ScopePriority {
7079
7143
  /** System default values (os, default tool) */
7080
7144
  SystemDefault = 0,
7081
- /** Values from configuration file (profile, custom tool) */
7145
+ /** Values from configuration file (profile, codeStyles, custom tool) */
7082
7146
  UserConfig = 10,
7083
7147
  /** Values registered by plugins */
7084
7148
  PluginRegistered = 20,
@@ -7223,7 +7287,7 @@ interface SubAgentsOutputConfig extends ScopedSourceConfig {
7223
7287
  readonly fieldOrder?: readonly string[];
7224
7288
  /** Optional frontmatter transformer */
7225
7289
  readonly transformFrontMatter?: (subAgent: SubAgentPrompt, context: {
7226
- readonly sourceFrontMatter?: Record<string, unknown>;
7290
+ readonly sourceFrontMatter?: SubAgentYAMLFrontMatter;
7227
7291
  }) => Record<string, unknown>;
7228
7292
  }
7229
7293
  /**
@@ -7304,6 +7368,21 @@ interface CombineOptions {
7304
7368
  skipIfEmpty?: boolean;
7305
7369
  position?: 'before' | 'after';
7306
7370
  }
7371
+ interface SkillDeclarationOptions {
7372
+ readonly skillSubDir?: string;
7373
+ readonly skillFileName?: string;
7374
+ readonly resolveSkillDirName?: (skill: SkillPrompt) => string;
7375
+ readonly resolveChildDocPath?: (skillDir: string, childDoc: SkillChildDoc) => string;
7376
+ readonly buildSkillMainSource?: (skill: SkillPrompt, skillDirName: string) => unknown;
7377
+ readonly buildSkillReferenceSource?: (childDoc: SkillChildDoc) => unknown;
7378
+ readonly buildSkillResourceSource?: (resource: SkillResource) => unknown;
7379
+ }
7380
+ interface SkillMcpDeclarationOptions {
7381
+ readonly skillSubDir?: string;
7382
+ readonly fileName?: string;
7383
+ readonly resolveSkillDirName?: (skill: SkillPrompt) => string;
7384
+ readonly buildSkillMcpSource?: (skill: SkillPrompt, skillDirName: string) => unknown;
7385
+ }
7307
7386
  declare abstract class AbstractOutputPlugin extends AbstractPlugin implements OutputPlugin {
7308
7387
  readonly declarativeOutput: true;
7309
7388
  readonly outputCapabilities: OutputPluginCapabilities;
@@ -7335,7 +7414,7 @@ declare abstract class AbstractOutputPlugin extends AbstractPlugin implements Ou
7335
7414
  readonly fieldOrder?: readonly string[];
7336
7415
  readonly scopeRemap?: Partial<Record<OutputDeclarationScope, OutputDeclarationScope>>;
7337
7416
  readonly transformFrontMatter?: (subAgent: SubAgentPrompt, context: {
7338
- readonly sourceFrontMatter?: Record<string, unknown>;
7417
+ readonly sourceFrontMatter?: SubAgentYAMLFrontMatter;
7339
7418
  }) => Record<string, unknown>;
7340
7419
  };
7341
7420
  protected readonly commandOutputEnabled: boolean;
@@ -7404,11 +7483,12 @@ declare abstract class AbstractOutputPlugin extends AbstractPlugin implements Ou
7404
7483
  private warnDeprecatedSubAgentFileNameSource;
7405
7484
  protected appendSubAgentDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, scopedSubAgents: readonly SubAgentPrompt[]): void;
7406
7485
  protected appendCommandDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, commands: readonly CommandPrompt[], transformOptions: CommandNameTransformOptions): void;
7407
- protected appendSkillDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, scopedSkills: readonly SkillPrompt[]): void;
7486
+ protected appendSkillDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, scopedSkills: readonly SkillPrompt[], options?: SkillDeclarationOptions): void;
7487
+ protected appendSkillMcpDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, scopedSkills: readonly SkillPrompt[], options?: SkillMcpDeclarationOptions): void;
7408
7488
  protected appendRuleDeclarations(declarations: OutputFileDeclaration[], basePath: string, scope: OutputDeclarationScope, rules: readonly RulePrompt[]): void;
7409
7489
  protected buildSubAgentTomlContent(agent: SubAgentPrompt, frontMatter: Record<string, unknown> | undefined): string;
7410
- protected getCommandSeriesOptions(ctx: OutputWriteContext): CommandSeriesPluginOverride;
7411
- protected getTransformOptionsFromContext(ctx: OutputWriteContext, additionalOptions?: CommandNameTransformOptions): CommandNameTransformOptions;
7490
+ protected getCommandSeriesOptions(): CommandSeriesPluginOverride;
7491
+ protected getTransformOptionsFromContext(_ctx: OutputWriteContext, additionalOptions?: CommandNameTransformOptions): CommandNameTransformOptions;
7412
7492
  protected shouldSkipDueToPlugin(ctx: OutputWriteContext, precedingPluginName: string): boolean;
7413
7493
  protected getRegistryWriter<TEntry, TRegistry extends RegistryData, T extends RegistryWriter<TEntry, TRegistry>>(WriterClass: new (logger: ILogger) => T): T;
7414
7494
  protected registerInRegistry<TEntry, TRegistry extends RegistryData>(writer: RegistryWriter<TEntry, TRegistry>, entries: readonly TEntry[], ctx: OutputWriteContext): Promise<readonly RegistryOperationResult[]>;
@@ -7424,7 +7504,7 @@ declare abstract class AbstractOutputPlugin extends AbstractPlugin implements Ou
7424
7504
  };
7425
7505
  protected selectRuleScopes(ctx: OutputWriteContext, rules: readonly RulePrompt[]): readonly OutputDeclarationScope[];
7426
7506
  protected selectPromptScopes(ctx: OutputWriteContext, supportedScopes?: readonly OutputDeclarationScope[], defaultScopes?: readonly OutputDeclarationScope[]): readonly OutputDeclarationScope[];
7427
- protected getTopicScopeOverride(ctx: OutputPluginContext | OutputWriteContext, topic: OutputScopeTopic): OutputScopeSelection | undefined;
7507
+ protected getTopicScopeOverride(_ctx: OutputPluginContext | OutputWriteContext, _topic: OutputScopeTopic): OutputScopeSelection | undefined;
7428
7508
  protected buildSkillFrontMatter(skill: SkillPrompt, options?: SkillFrontMatterOptions): Record<string, unknown>;
7429
7509
  protected buildRuleContent(rule: RulePrompt, ctx?: OutputPluginContext): string;
7430
7510
  protected buildRuleFileName(rule: RulePrompt): string;
@@ -7465,7 +7545,6 @@ declare const PLUGIN_NAMES: {
7465
7545
  readonly ReadmeOutput: "ReadmeMdConfigFileOutputPlugin";
7466
7546
  readonly VSCodeOutput: "VisualStudioCodeIDEConfigOutputPlugin";
7467
7547
  readonly ZedOutput: "ZedIDEConfigOutputPlugin";
7468
- readonly EditorConfigOutput: "EditorConfigOutputPlugin";
7469
7548
  readonly AntigravityOutput: "AntigravityOutputPlugin";
7470
7549
  };
7471
7550
  type PluginName = (typeof PLUGIN_NAMES)[keyof typeof PLUGIN_NAMES];
@@ -7757,76 +7836,35 @@ interface GenerationOptions {
7757
7836
  */
7758
7837
  declare function generateAindex(rootPath: string, options?: GenerationOptions): GenerationResult; //#endregion
7759
7838
  //#region src/config.d.ts
7760
- /**
7761
- * Pipeline configuration containing collected context and output plugins
7762
- */
7763
7839
  interface PipelineConfig {
7764
7840
  readonly context: OutputCollectedContext;
7765
7841
  readonly outputPlugins: readonly OutputPlugin[];
7766
7842
  readonly userConfigOptions: Required<PluginOptions>;
7767
7843
  readonly executionPlan: ExecutionPlan;
7768
7844
  }
7769
- /**
7770
- * Convert UserConfigFile to PluginOptions
7771
- * UserConfigFile is the JSON schema, PluginOptions includes plugins
7772
- */
7773
7845
  declare function userConfigToPluginOptions(userConfig: UserConfigFile): Partial<PluginOptions>;
7774
- /**
7775
- * Options for defineConfig
7776
- */
7777
7846
  interface DefineConfigOptions {
7778
7847
  readonly pluginOptions?: PluginOptions;
7848
+ readonly outputPlugins?: readonly OutputPlugin[];
7779
7849
  readonly configLoaderOptions?: ConfigLoaderOptions;
7780
7850
  readonly loadUserConfig?: boolean;
7781
7851
  readonly cwd?: string;
7782
7852
  readonly executionCwd?: string;
7783
7853
  readonly runtimeCommand?: RuntimeCommand;
7784
7854
  }
7785
- /**
7786
- * Merge multiple PluginOptions with default configuration.
7787
- * Later options override earlier ones.
7788
- * Similar to vite/vitest mergeConfig.
7789
- */
7790
7855
  declare function mergeConfig(...configs: Partial<PluginOptions>[]): Required<PluginOptions>;
7791
- /**
7792
- * Define configuration with support for user config files.
7793
- *
7794
- * Configuration priority (highest to lowest):
7795
- * 1. Programmatic options passed to defineConfig
7796
- * 2. Global config file (~/.aindex/.tnmsc.json)
7797
- * 3. Default values
7798
- *
7799
- * @param options - Plugin options or DefineConfigOptions
7800
- */
7856
+ declare function mergeConfigForRuntime(fallbackWorkspaceDir: string | undefined, ...configs: Partial<PluginOptions>[]): Required<PluginOptions>;
7801
7857
  declare function defineConfig(options?: PluginOptions | DefineConfigOptions): Promise<PipelineConfig>; //#endregion
7802
7858
  //#region src/ConfigLoader.d.ts
7803
- /**
7804
- * Default config file name
7805
- */
7806
7859
  declare const DEFAULT_CONFIG_FILE_NAME = ".tnmsc.json";
7807
- /**
7808
- * Default global config directory (relative to home)
7809
- */
7810
7860
  declare const DEFAULT_GLOBAL_CONFIG_DIR = ".aindex";
7811
- /**
7812
- * Get global config file path
7813
- */
7814
7861
  declare function getGlobalConfigPath(): string;
7815
- /**
7816
- * Validation result for global config
7817
- */
7818
7862
  interface GlobalConfigValidationResult {
7819
7863
  readonly valid: boolean;
7820
7864
  readonly exists: boolean;
7821
7865
  readonly errors: readonly string[];
7822
7866
  readonly shouldExit: boolean;
7823
7867
  }
7824
- /**
7825
- * ConfigLoader handles discovery and loading of user configuration files.
7826
- *
7827
- * The config source is fixed and unambiguous:
7828
- * 1. Global: ~/.aindex/.tnmsc.json
7829
- */
7830
7868
  declare class ConfigLoader {
7831
7869
  private readonly logger;
7832
7870
  constructor(options?: ConfigLoaderOptions);
@@ -7835,36 +7873,18 @@ declare class ConfigLoader {
7835
7873
  load(cwd?: string): MergedConfigResult;
7836
7874
  private parseConfig;
7837
7875
  private mergeConfigs;
7838
- private mergeOutputScopeTopics;
7839
- private mergeOutputScopeOptions;
7840
7876
  private mergeFrontMatterOptions;
7841
- private mergeCleanupProtectionOptions;
7877
+ private mergeCodeStylesOptions;
7842
7878
  private mergeWindowsOptions;
7843
7879
  private resolveTilde;
7844
7880
  }
7845
- /**
7846
- * Result of loading and merging all configurations
7847
- */
7848
7881
  interface MergedConfigResult {
7849
7882
  readonly config: UserConfigFile;
7850
7883
  readonly sources: readonly string[];
7851
7884
  readonly found: boolean;
7852
7885
  }
7853
- /**
7854
- * Get or create the default ConfigLoader instance
7855
- */
7856
7886
  declare function getConfigLoader(options?: ConfigLoaderOptions): ConfigLoader;
7857
- /**
7858
- * Load user configuration using default loader
7859
- */
7860
7887
  declare function loadUserConfig(cwd?: string): MergedConfigResult;
7861
- /**
7862
- * Validate global config file strictly.
7863
- * - If config doesn't exist: return invalid result (do not auto-create)
7864
- * - If config is invalid (parse error or validation error): return invalid result (do not recreate)
7865
- *
7866
- * @returns Validation result indicating whether program should continue or exit
7867
- */
7868
7888
  declare function validateGlobalConfig(): GlobalConfigValidationResult; //#endregion
7869
7889
  //#region src/ProtectedDeletionGuard.d.ts
7870
7890
  type ProtectionMode$1 = 'direct' | 'recursive';
@@ -8008,16 +8028,6 @@ declare class DroidCLIOutputPlugin extends AbstractOutputPlugin {
8008
8028
  constructor();
8009
8029
  protected buildSkillMainContent(skill: SkillPrompt, ctx?: OutputWriteContext): string;
8010
8030
  } //#endregion
8011
- //#region src/plugins/EditorConfigOutputPlugin.d.ts
8012
- /**
8013
- * Output plugin for writing .editorconfig files to project directories.
8014
- * Reads EditorConfig files collected by EditorConfigInputCapability.
8015
- */
8016
- declare class EditorConfigOutputPlugin extends AbstractOutputPlugin {
8017
- constructor();
8018
- declareOutputFiles(ctx: OutputWriteContext): Promise<OutputFileDeclaration[]>;
8019
- convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
8020
- } //#endregion
8021
8031
  //#region src/plugins/GeminiCLIOutputPlugin.d.ts
8022
8032
  declare class GeminiCLIOutputPlugin extends AbstractOutputPlugin {
8023
8033
  constructor();
@@ -8097,14 +8107,17 @@ declare class QoderIDEPluginOutputPlugin extends AbstractOutputPlugin {
8097
8107
  } //#endregion
8098
8108
  //#region src/plugins/ReadmeMdConfigFileOutputPlugin.d.ts
8099
8109
  /**
8100
- * Output plugin for writing readme-family files to project directories.
8101
- * Reads README prompts collected by ReadmeMdInputCapability and writes them
8102
- * to the corresponding project directories.
8110
+ * Output plugin for writing readme-family files and .editorconfig files to
8111
+ * project directories.
8112
+ * Reads README prompts collected by ReadmeMdInputCapability and EditorConfig
8113
+ * files collected by EditorConfigInputCapability, then writes them to the
8114
+ * corresponding project directories.
8103
8115
  *
8104
8116
  * Output mapping:
8105
8117
  * - fileKind=Readme → README.md
8106
8118
  * - fileKind=CodeOfConduct → CODE_OF_CONDUCT.md
8107
8119
  * - fileKind=Security → SECURITY.md
8120
+ * - editorConfigFiles → .editorconfig
8108
8121
  *
8109
8122
  * Supports:
8110
8123
  * - Root files (written to project root)
@@ -8143,12 +8156,6 @@ declare class VisualStudioCodeIDEConfigOutputPlugin extends AbstractOutputPlugin
8143
8156
  convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
8144
8157
  private getTargetRelativePath;
8145
8158
  } //#endregion
8146
- //#region src/plugins/WarpIDEOutputPlugin.d.ts
8147
- declare class WarpIDEOutputPlugin extends AbstractOutputPlugin {
8148
- constructor();
8149
- declareOutputFiles(ctx: OutputWriteContext): Promise<OutputFileDeclaration[]>;
8150
- convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
8151
- } //#endregion
8152
8159
  //#region src/plugins/WindsurfOutputPlugin.d.ts
8153
8160
  declare class WindsurfOutputPlugin extends AbstractOutputPlugin {
8154
8161
  constructor();
@@ -8165,6 +8172,12 @@ declare class ZedIDEConfigOutputPlugin extends AbstractOutputPlugin {
8165
8172
  convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
8166
8173
  private getTargetRelativePath;
8167
8174
  } //#endregion
8175
+ //#region src/plugins/WarpIDEOutputPlugin.d.ts
8176
+ declare class WarpIDEOutputPlugin extends AbstractOutputPlugin {
8177
+ constructor();
8178
+ declareOutputFiles(ctx: OutputWriteContext): Promise<OutputFileDeclaration[]>;
8179
+ convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
8180
+ } //#endregion
8168
8181
  //#region src/prompts.d.ts
8169
8182
  type ManagedPromptKind = 'global-memory' | 'workspace-memory' | 'project-memory' | 'project-child-memory' | 'skill' | 'skill-child-doc' | 'command' | 'subagent' | 'rule';
8170
8183
  type PromptArtifactState = 'missing' | 'stale' | 'ready';
@@ -8400,4 +8413,4 @@ declare function syncWindowsConfigIntoWsl(outputPlugins: readonly OutputPlugin[]
8400
8413
  declare function resolveRuntimeCommandFromArgv(argv?: readonly string[]): RuntimeCommand;
8401
8414
  declare function createDefaultPluginConfig(argv?: readonly string[], runtimeCommand?: RuntimeCommand, executionCwd?: string): Promise<PipelineConfig>;
8402
8415
  //#endregion
8403
- export { AIAgentIgnoreConfigFile, AINDEX_CONFIG_DIRECTORY_PAIR_KEYS, AINDEX_CONFIG_FILE_PAIR_KEYS, AINDEX_CONFIG_PAIR_DEFAULTS, AINDEX_CONFIG_PAIR_KEYS, AINDEX_DEFAULT_DIR_NAME, AINDEX_DIR_NAMES, AINDEX_FILE_NAMES, AINDEX_PROJECT_SERIES_NAMES, AINDEX_PROMPT_TREE_DIRECTORY_PAIR_KEYS, AINDEX_RELATIVE_PATHS, AbsolutePath, AbstractInputCapability, AbstractOutputPlugin, type AbstractOutputPluginOptions, AbstractPlugin, AgentsOutputPlugin, AindexConfig, AindexConfigDirectoryPairKey, AindexConfigFilePairKey, AindexConfigLike, AindexConfigPairKey, AindexDirName, AindexDirPair, AindexDirPairLike, AindexDirectory, AindexDirectoryEntry, AindexFileEntry, AindexFileName, type AindexProjectSeriesName, AindexPromptTreeDirectoryPairKey, AindexRelativePath, Awaitable, BaseExportMetadata, CircularDependencyError, ClaudeCodeCLIOutputPlugin, ClaudeCodeCLISubAgentColors, CleanupError, CleanupProtectionConflict, CleanupProtectionConflictError, CleanupProtectionOptions, CleanupProtectionRule, CleanupResult, type CleanupScopePathsConfig, CodexCLIOutputPlugin, CodexSkillMetadata, CodexSkillYAMLFrontMatter, CodingAgentTools, CollectedOutputs, type CombineOptions, CommandExportMetadata, type CommandNameTransformOptions, type CommandOutputConfig, CommandPrompt, CommandSeriesOptions, CommandSeriesPluginOverride, CommandYAMLFrontMatter, CommonYAMLFrontMatter, ConfigLoadResult, ConfigLoader, ConfigLoaderOptions, CursorOutputPlugin, DEFAULT_AINDEX_STRUCTURE, DEFAULT_CONFIG_FILE_NAME, DEFAULT_GLOBAL_CONFIG_DIR, DEFAULT_SCOPE_PRIORITY, DEFAULT_USER_CONFIG, DefineConfigOptions, DependencyNode, type DiagnosticLines, type DirectoryReadResult, DroidCLIOutputPlugin, EditorConfigOutputPlugin, ExecutionPlan, ExecutionPlanProjectSummary, ExecutionPlanProjectsBySeries, ExecutionScope, ExternalExecutionPlan, FastGlobType, FileContent, FileExtensions, FilePathKind, type FilterConfigPath, FrontMatterFields, FrontMatterOptions, GeminiCLIOutputPlugin, GenerationOptions, GenerationResult, GenericSkillsOutputPlugin, GitExcludeOutputPlugin, GlobalConfigDirectory, GlobalConfigDirectoryInOther, GlobalConfigDirectoryInUserHome, GlobalConfigDirectoryType, GlobalConfigDirs, GlobalConfigValidationResult, GlobalMemoryPrompt, GlobalScopeCollector, type GlobalScopeCollectorOptions, IDEKind, type ILogger, IgnoreFiles, InputCapability, InputCapabilityContext, InputCollectedContext, InputEffectContext, InputEffectHandler, InputEffectRegistration, InputEffectResult, JetBrainsAIAssistantCodexOutputPlugin, JetBrainsIDECodeStyleConfigOutputPlugin, KiroCLIOutputPlugin, KiroPowerEntry, KiroPowerSource, KiroPowerYAMLFrontMatter, KiroPowersRegistry, KiroRecommendedRepo, KiroRepoSource, KiroSteeringYAMLFrontMatter, ListPromptsOptions, Locale, LocalizedContent, LocalizedFileExtension, LocalizedPrompt, LocalizedPromptReader, type LocalizedReadOptions, LocalizedSource, type LogLevel, type LoggerDiagnosticInput, type LoggerDiagnosticRecord, ManagedPromptKind, type McpConfigFormat, McpConfigManager, type McpConfigTransformer, McpProjectConfig, McpServerConfig, type McpServerEntry, type McpWriteResult, MergedConfigResult, MetadataValidationResult, MissingDependencyError, NamingCaseKind, OUTPUT_SCOPE_TOPICS, OpencodeCLIOutputPlugin, OutputCleanContext, type OutputCleanupConfig, OutputCleanupDeclarations, OutputCleanupPathDeclaration, OutputCleanupScope, OutputCleanupTargetKind, OutputCollectedContext, OutputDeclarationScope, OutputFileDeclaration, OutputFileNames, OutputPlugin, OutputPluginCapabilities, OutputPluginContext, OutputPrefixes, OutputRuntimeTargets, OutputScope, OutputScopeOptions, OutputScopeSelection, OutputScopeTopic, OutputSubdirectories, OutputTopicCapability, OutputWriteContext, PLUGIN_NAMES, Path, PathPlaceholders, PipelineConfig, Plugin, PluginContext, PluginKind, type PluginName, PluginOptions, PluginOutputScopeTopics, PluginScopeRegistration, PreservedSkills, Project, ProjectChildrenMemoryPrompt, ProjectConfig, ProjectEnhancerCapability, ProjectExecutionPlan, ProjectIDEConfigFile, ProjectRootMemoryPrompt, Prompt, PromptArtifactRecord, PromptArtifactState, PromptCatalogItem, PromptCatalogPaths, PromptCatalogPresence, PromptDetails, PromptKind, PromptServiceOptions, PromptSourceLocale, ProtectionMode, ProtectionRuleMatcher, QoderIDEPluginOutputPlugin, README_FILE_KIND_MAP, type ReadError, ReadmeFileKind, ReadmeMdConfigFileOutputPlugin, ReadmePrompt, RegistryData, RegistryOperationResult, RegistryWriter, RelativePath, ResolvedBasePaths, ResolvedWslInstanceTarget, RootPath, type RuleContentOptions, RuleExportMetadata, type RuleOutputConfig, RulePrompt, RuleScope, RuleYAMLFrontMatter, RuntimeCommand, ScopePriority, type ScopeRegistration, ScopeRegistry, ScopeRegistryLike, SeriName, type SeriesFilterable, SkillChildDoc, SkillExportMetadata, type SkillFrontMatterOptions, SkillMcpConfig, SkillPrompt, SkillResource, SkillResourceEncoding, SkillYAMLFrontMatter, type SkillsOutputConfig, SkillsYAMLFrontMatter, SourceLocaleExtensions, SourcePromptExtensions, SourcePromptFileExtensions, StringOrStringArray, type SubAgentArtifactFormat, SubAgentExportMetadata, type SubAgentFileNameSource, SubAgentFrontMatterField, type SubAgentNameTransformOptions, SubAgentOutputConfig, SubAgentPrompt, SubAgentYAMLFrontMatter, type SubAgentsOutputConfig, Target, ToolAwareYAMLFrontMatter, ToolPresets, TraeCNIDEOutputPlugin, TraeIDEOutputPlugin, type TransformedMcpConfig, TypeSeriesConfig, UnsupportedExecutionPlan, UpsertPromptSourceInput, UserConfigFile, ValidateMetadataOptions, VersionControlCheckResult, VisualStudioCodeIDEConfigOutputPlugin, WORKSPACE_ROOT_PROJECT_NAME, WarpIDEOutputPlugin, WindowsOptions, WindowsWsl2Options, WindsurfOutputPlugin, Workspace, WorkspaceExecutionPlan, WritePromptArtifactsInput, WriteResult, WriteResults, WslMirrorFileDeclaration, WslMirrorRuntimeDependencies, WslMirrorSyncResult, YAMLFrontMatter, ZAindexConfig, ZAindexDirPair, ZCleanupProtectionOptions, ZCleanupProtectionRule, ZCommandSeriesOptions, ZCommandSeriesPluginOverride, ZConfigLoaderOptions, ZFrontMatterOptions, ZMcpProjectConfig, ZOutputScope, ZOutputScopeOptions, ZOutputScopeSelection, ZPluginOutputScopeTopics, ZProjectConfig, ZProtectionMode, ZProtectionRuleMatcher, ZStringOrStringArray, ZTypeSeriesConfig, ZUserConfigFile, ZUserProfile, ZWindowsOptions, ZWindowsWsl2Options, ZedIDEConfigOutputPlugin, applyMetadataDefaults, applySubSeriesGlobPrefix, buildBatchFileOperationDiagnostic, buildConfigDiagnostic, buildDefaultAindexConfig, buildDiagnostic, buildFileOperationDiagnostic, buildPathStateDiagnostic, buildPromptCompilerDiagnostic, buildProtectedDeletionDiagnostic, buildUnhandledExceptionDiagnostic, buildUsageDiagnostic, checkVersionControl, clearBufferedDiagnostics, clearPromptArtifactCache, collectAllPluginOutputs, collectDeclaredWslMirrorFiles, collectDeletionTargets, collectMcpServersFromSkills, collectOutputDeclarations, compileRawPromptArtifact, createDefaultPluginConfig, createEmptyExecutionPlanProjectsBySeries, createLocalizedPromptReader, createLogger, defineConfig, deriveSubAgentIdentity, diagnosticLines, discoverOutputRuntimeTargets, drainBufferedDiagnostics, executeDeclarativeWriteOutputs, filterByProjectConfig, filterPathScopedEntriesForExecutionPlan, findAllGitRepos, findGitModuleInfoDirs, flattenPromptPath, flushOutput, generateAindex, getConfigLoader, getGlobalConfigPath, getGlobalLogLevel, getPrompt, getRequiredGlobalConfigPath, hasNativeCleanupBinding, hasSourcePromptExtension, listPrompts, loadUserConfig, logProtectedDeletionGuardError, mergeAindexConfig, mergeConfig, partitionBufferedDiagnostics, performCleanup, performCleanupWithNative, planCleanupWithNative, readPromptArtifact, resolveExecutionPlan, resolveGitInfoDir, resolvePromptDefinition, resolveRuntimeCommandFromArgv, resolveSkillName, resolveSubAgentCanonicalName, resolveTopicScopes, resolveUserPath, resolveWslInstanceTargets, runCli, setGlobalLogLevel, splitDiagnosticText, syncWindowsConfigIntoWsl, toErrorMessage, toOutputCollectedContext, transformMcpConfigForCursor, transformMcpConfigForOpencode, transformMcpServerMap, upsertPromptSource, userConfigToPluginOptions, validateCommandMetadata, validateExportMetadata, validateGlobalConfig, validateOutputPluginCapabilities, validateOutputScopeOverridesForPlugin, validateOutputScopeOverridesForPlugins, validateRuleMetadata, validateSkillMetadata, validateSubAgentMetadata, writePromptArtifacts };
8416
+ export { AIAgentIgnoreConfigFile, AINDEX_CONFIG_DIRECTORY_PAIR_KEYS, AINDEX_CONFIG_FILE_PAIR_KEYS, AINDEX_CONFIG_PAIR_DEFAULTS, AINDEX_CONFIG_PAIR_KEYS, AINDEX_DEFAULT_DIR_NAME, AINDEX_DIR_NAMES, AINDEX_FILE_NAMES, AINDEX_PROJECT_SERIES_NAMES, AINDEX_PROMPT_TREE_DIRECTORY_PAIR_KEYS, AINDEX_RELATIVE_PATHS, AbsolutePath, AbstractInputCapability, AbstractOutputPlugin, type AbstractOutputPluginOptions, AbstractPlugin, AgentsOutputPlugin, AindexConfig, AindexConfigDirectoryPairKey, AindexConfigFilePairKey, AindexConfigLike, AindexConfigPairKey, AindexDirName, AindexDirPair, AindexDirPairLike, AindexDirectory, AindexDirectoryEntry, AindexFileEntry, AindexFileName, type AindexProjectSeriesName, AindexPromptTreeDirectoryPairKey, AindexRelativePath, Awaitable, BaseExportMetadata, CircularDependencyError, ClaudeCodeCLIOutputPlugin, ClaudeCodeCLISubAgentColors, CleanupError, CleanupProtectionConflict, CleanupProtectionConflictError, CleanupProtectionOptions, CleanupProtectionRule, CleanupResult, type CleanupScopePathsConfig, CodeStyleIndent, CodeStylesOptions, CodexCLIOutputPlugin, CodexSkillMetadata, CodexSkillYAMLFrontMatter, CodingAgentTools, CollectedOutputs, type CombineOptions, CommandExportMetadata, type CommandNameTransformOptions, type CommandOutputConfig, CommandPrompt, CommandSeriesOptions, CommandSeriesPluginOverride, CommandYAMLFrontMatter, CommonYAMLFrontMatter, ConfigLoadResult, ConfigLoader, ConfigLoaderOptions, CursorOutputPlugin, DEFAULT_AINDEX_STRUCTURE, DEFAULT_CODE_STYLES_OPTIONS, DEFAULT_CODE_STYLE_INDENT, DEFAULT_CODE_STYLE_TAB_SIZE, DEFAULT_CONFIG_FILE_NAME, DEFAULT_GLOBAL_CONFIG_DIR, DEFAULT_SCOPE_PRIORITY, DEFAULT_USER_CONFIG, DefineConfigOptions, DependencyNode, type DiagnosticLines, type DirectoryReadResult, DroidCLIOutputPlugin, ExecutionPlan, ExecutionPlanProjectSummary, ExecutionPlanProjectsBySeries, ExecutionScope, ExternalExecutionPlan, FastGlobType, FileContent, FileExtensions, FilePathKind, type FilterConfigPath, FrontMatterFields, FrontMatterOptions, GeminiCLIOutputPlugin, GenerationOptions, GenerationResult, GenericSkillsOutputPlugin, GitExcludeOutputPlugin, GlobalConfigDirectory, GlobalConfigDirectoryInOther, GlobalConfigDirectoryInUserHome, GlobalConfigDirectoryType, GlobalConfigDirs, GlobalConfigValidationResult, GlobalMemoryPrompt, GlobalScopeCollector, type GlobalScopeCollectorOptions, IDEKind, type ILogger, IgnoreFiles, InputCapability, InputCapabilityContext, InputCollectedContext, InputEffectContext, InputEffectHandler, InputEffectRegistration, InputEffectResult, JetBrainsAIAssistantCodexOutputPlugin, JetBrainsIDECodeStyleConfigOutputPlugin, KiroCLIOutputPlugin, KiroPowerEntry, KiroPowerSource, KiroPowerYAMLFrontMatter, KiroPowersRegistry, KiroRecommendedRepo, KiroRepoSource, KiroSteeringYAMLFrontMatter, ListPromptsOptions, Locale, LocalizedContent, LocalizedFileExtension, LocalizedPrompt, LocalizedPromptReader, type LocalizedReadOptions, LocalizedSource, type LogLevel, type LoggerDiagnosticInput, type LoggerDiagnosticRecord, ManagedPromptKind, type McpConfigFormat, McpConfigManager, type McpConfigTransformer, McpProjectConfig, McpServerConfig, type McpServerEntry, type McpWriteResult, MergedConfigResult, MetadataValidationResult, MissingDependencyError, NamingCaseKind, OUTPUT_SCOPE_TOPICS, OpencodeCLIOutputPlugin, OutputCleanContext, type OutputCleanupConfig, OutputCleanupDeclarations, OutputCleanupPathDeclaration, OutputCleanupScope, OutputCleanupTargetKind, OutputCollectedContext, OutputDeclarationScope, OutputDeclarationScopeKind, OutputFileDeclaration, OutputFileNames, OutputPlugin, OutputPluginCapabilities, OutputPluginContext, OutputPrefixes, OutputRuntimeTargets, OutputScope, OutputScopeOptions, OutputScopeSelection, OutputScopeTopic, OutputSubdirectories, OutputTopicCapability, OutputWriteContext, PLUGIN_NAMES, Path, PathPlaceholders, PipelineConfig, Plugin, PluginContext, PluginKind, type PluginName, PluginOptions, PluginOutputScopeTopics, PluginScopeRegistration, PluginsConfig, PreservedSkills, Project, ProjectChildrenMemoryPrompt, ProjectConfig, ProjectExecutionPlan, ProjectIDEConfigFile, ProjectRootMemoryPrompt, Prompt, PromptArtifactRecord, PromptArtifactState, PromptCatalogItem, PromptCatalogPaths, PromptCatalogPresence, PromptDetails, PromptKind, PromptServiceOptions, PromptSourceLocale, ProtectionMode, ProtectionRuleMatcher, QoderIDEPluginOutputPlugin, README_FILE_KIND_MAP, type ReadError, ReadmeFileKind, ReadmeMdConfigFileOutputPlugin, ReadmePrompt, RegistryData, RegistryOperationResult, RegistryWriter, RelativePath, ResolvedBasePaths, ResolvedWslInstanceTarget, RootPath, type RuleContentOptions, RuleExportMetadata, type RuleOutputConfig, RulePrompt, RuleScope, RuleYAMLFrontMatter, RuntimeCommand, SUPPORTED_PLUGIN_CONFIG_KEYS, ScopePriority, type ScopeRegistration, ScopeRegistry, ScopeRegistryLike, SeriName, type SeriesFilterable, SkillChildDoc, SkillExportMetadata, type SkillFrontMatterOptions, SkillMcpConfig, SkillPrompt, SkillResource, SkillResourceEncoding, SkillYAMLFrontMatter, type SkillsOutputConfig, SkillsYAMLFrontMatter, SourceLocaleExtensions, SourcePromptExtensions, SourcePromptFileExtensions, StringOrStringArray, type SubAgentArtifactFormat, SubAgentExportMetadata, type SubAgentFileNameSource, SubAgentFrontMatterField, type SubAgentNameTransformOptions, SubAgentOutputConfig, SubAgentPrompt, SubAgentYAMLFrontMatter, type SubAgentsOutputConfig, SupportedPluginConfigKey, Target, ToolAwareYAMLFrontMatter, ToolPresets, TraeCNIDEOutputPlugin, TraeIDEOutputPlugin, type TransformedMcpConfig, TypeSeriesConfig, UnsupportedExecutionPlan, UpsertPromptSourceInput, UserConfigFile, ValidateMetadataOptions, VersionControlCheckResult, VisualStudioCodeIDEConfigOutputPlugin, WORKSPACE_ROOT_PROJECT_NAME, WarpIDEOutputPlugin, WindowsOptions, WindowsWsl2Options, WindsurfOutputPlugin, Workspace, WorkspaceExecutionPlan, WritePromptArtifactsInput, WriteResult, WriteResults, WslMirrorFileDeclaration, WslMirrorRuntimeDependencies, WslMirrorSyncResult, YAMLFrontMatter, ZAindexConfig, ZAindexDirPair, ZCleanupProtectionOptions, ZCleanupProtectionRule, ZCodeStyleIndent, ZCodeStylesOptions, ZCommandSeriesOptions, ZCommandSeriesPluginOverride, ZConfigLoaderOptions, ZFrontMatterOptions, ZMcpProjectConfig, ZOutputScope, ZOutputScopeOptions, ZOutputScopeSelection, ZPluginOutputScopeTopics, ZPluginsConfig, ZProjectConfig, ZProtectionMode, ZProtectionRuleMatcher, ZStringOrStringArray, ZTypeSeriesConfig, ZUserConfigFile, ZUserProfile, ZWindowsOptions, ZWindowsWsl2Options, ZedIDEConfigOutputPlugin, applyMetadataDefaults, applySubSeriesGlobPrefix, buildBatchFileOperationDiagnostic, buildConfigDiagnostic, buildDefaultAindexConfig, buildDefaultCodeStylesOptions, buildDiagnostic, buildFileOperationDiagnostic, buildPathStateDiagnostic, buildPromptCompilerDiagnostic, buildProtectedDeletionDiagnostic, buildUnhandledExceptionDiagnostic, buildUsageDiagnostic, checkVersionControl, clearBufferedDiagnostics, clearPromptArtifactCache, collectAllPluginOutputs, collectDeclaredWslMirrorFiles, collectDeletionTargets, collectMcpServersFromSkills, collectOutputDeclarations, compileRawPromptArtifact, createDefaultPluginConfig, createEmptyExecutionPlanProjectsBySeries, createLocalizedPromptReader, createLogger, defineConfig, deriveSubAgentIdentity, diagnosticLines, discoverOutputRuntimeTargets, drainBufferedDiagnostics, executeDeclarativeWriteOutputs, filterByProjectConfig, filterPathScopedEntriesForExecutionPlan, findAllGitRepos, findGitModuleInfoDirs, flattenPromptPath, flushOutput, generateAindex, getConfigLoader, getGlobalConfigPath, getGlobalLogLevel, getPrompt, getRequiredGlobalConfigPath, getSupportedPluginConfigKeysMessage, hasNativeCleanupBinding, hasSourcePromptExtension, isOutputPluginEnabled, isSupportedPluginConfigKey, listPrompts, loadUserConfig, logProtectedDeletionGuardError, mergeAindexConfig, mergeCodeStylesOptions, mergeConfig, mergeConfigForRuntime, partitionBufferedDiagnostics, performCleanup, performCleanupWithNative, planCleanupWithNative, readPromptArtifact, resolveExecutionPlan, resolveGitInfoDir, resolvePromptDefinition, resolveRuntimeCommandFromArgv, resolveSkillName, resolveSubAgentCanonicalName, resolveTopicScopes, resolveUserPath, resolveWslInstanceTargets, runCli, setGlobalLogLevel, splitDiagnosticText, syncWindowsConfigIntoWsl, toErrorMessage, toOutputCollectedContext, transformMcpConfigForCursor, transformMcpConfigForOpencode, transformMcpServerMap, upsertPromptSource, userConfigToPluginOptions, validateCommandMetadata, validateExportMetadata, validateGlobalConfig, validateRuleMetadata, validateSkillMetadata, validateSubAgentMetadata, writePromptArtifacts };