@truenine/memory-sync-cli 2026.10402.110 → 2026.10403.117
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/index.d.mts +540 -488
- package/dist/index.mjs +165 -167
- package/dist/plugin-runtime.mjs +108 -108
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,6 @@ import { z } from "zod/v3";
|
|
|
8
8
|
import * as fs from "fs";
|
|
9
9
|
|
|
10
10
|
//#region src/cli-runtime.d.ts
|
|
11
|
-
declare function isJsonMode(argv: readonly string[]): boolean;
|
|
12
11
|
declare function runCli(argv?: readonly string[]): Promise<number>;
|
|
13
12
|
//#endregion
|
|
14
13
|
//#region ../libraries/md-compiler/dist/index-B2X5YAQV.d.mts
|
|
@@ -4803,6 +4802,7 @@ declare const AINDEX_FILE_NAMES: {
|
|
|
4803
4802
|
readonly CURSOR_IGNORE: ".cursorignore";
|
|
4804
4803
|
readonly WARP_INDEX_IGNORE: ".warpindexignore";
|
|
4805
4804
|
readonly AI_IGNORE: ".aiignore";
|
|
4805
|
+
readonly WINDSURF_IGNORE: ".codeignore";
|
|
4806
4806
|
readonly CODEIUM_IGNORE: ".codeiumignore";
|
|
4807
4807
|
};
|
|
4808
4808
|
/**
|
|
@@ -4867,7 +4867,7 @@ declare const ZAindexDirPair: z.ZodObject<{
|
|
|
4867
4867
|
* All paths are relative to <workspaceDir>/<aindex.dir>.
|
|
4868
4868
|
*/
|
|
4869
4869
|
declare const ZAindexConfig: z.ZodObject<{
|
|
4870
|
-
|
|
4870
|
+
app: z.ZodObject<{
|
|
4871
4871
|
src: z.ZodString;
|
|
4872
4872
|
dist: z.ZodString;
|
|
4873
4873
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4886,7 +4886,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4886
4886
|
src: string;
|
|
4887
4887
|
dist: string;
|
|
4888
4888
|
}>>;
|
|
4889
|
-
|
|
4889
|
+
ext: z.ZodObject<{
|
|
4890
4890
|
src: z.ZodString;
|
|
4891
4891
|
dist: z.ZodString;
|
|
4892
4892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4905,7 +4905,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4905
4905
|
src: string;
|
|
4906
4906
|
dist: string;
|
|
4907
4907
|
}>>;
|
|
4908
|
-
|
|
4908
|
+
arch: z.ZodObject<{
|
|
4909
4909
|
src: z.ZodString;
|
|
4910
4910
|
dist: z.ZodString;
|
|
4911
4911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4924,7 +4924,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4924
4924
|
src: string;
|
|
4925
4925
|
dist: string;
|
|
4926
4926
|
}>>;
|
|
4927
|
-
|
|
4927
|
+
softwares: z.ZodObject<{
|
|
4928
4928
|
src: z.ZodString;
|
|
4929
4929
|
dist: z.ZodString;
|
|
4930
4930
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4943,7 +4943,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4943
4943
|
src: string;
|
|
4944
4944
|
dist: string;
|
|
4945
4945
|
}>>;
|
|
4946
|
-
|
|
4946
|
+
skills: z.ZodObject<{
|
|
4947
4947
|
src: z.ZodString;
|
|
4948
4948
|
dist: z.ZodString;
|
|
4949
4949
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4962,7 +4962,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4962
4962
|
src: string;
|
|
4963
4963
|
dist: string;
|
|
4964
4964
|
}>>;
|
|
4965
|
-
|
|
4965
|
+
commands: z.ZodObject<{
|
|
4966
4966
|
src: z.ZodString;
|
|
4967
4967
|
dist: z.ZodString;
|
|
4968
4968
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4981,7 +4981,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
4981
4981
|
src: string;
|
|
4982
4982
|
dist: string;
|
|
4983
4983
|
}>>;
|
|
4984
|
-
|
|
4984
|
+
subAgents: z.ZodObject<{
|
|
4985
4985
|
src: z.ZodString;
|
|
4986
4986
|
dist: z.ZodString;
|
|
4987
4987
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5000,7 +5000,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
5000
5000
|
src: string;
|
|
5001
5001
|
dist: string;
|
|
5002
5002
|
}>>;
|
|
5003
|
-
|
|
5003
|
+
rules: z.ZodObject<{
|
|
5004
5004
|
src: z.ZodString;
|
|
5005
5005
|
dist: z.ZodString;
|
|
5006
5006
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5019,7 +5019,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
5019
5019
|
src: string;
|
|
5020
5020
|
dist: string;
|
|
5021
5021
|
}>>;
|
|
5022
|
-
|
|
5022
|
+
globalPrompt: z.ZodObject<{
|
|
5023
5023
|
src: z.ZodString;
|
|
5024
5024
|
dist: z.ZodString;
|
|
5025
5025
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5038,7 +5038,7 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
5038
5038
|
src: string;
|
|
5039
5039
|
dist: string;
|
|
5040
5040
|
}>>;
|
|
5041
|
-
|
|
5041
|
+
workspacePrompt: z.ZodObject<{
|
|
5042
5042
|
src: z.ZodString;
|
|
5043
5043
|
dist: z.ZodString;
|
|
5044
5044
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5059,89 +5059,89 @@ declare const ZAindexConfig: z.ZodObject<{
|
|
|
5059
5059
|
}>>;
|
|
5060
5060
|
dir: z.ZodDefault<z.ZodString>;
|
|
5061
5061
|
}, "strip", z.ZodTypeAny, {
|
|
5062
|
-
|
|
5063
|
-
skills: {
|
|
5062
|
+
app: {
|
|
5064
5063
|
src: string;
|
|
5065
5064
|
dist: string;
|
|
5066
5065
|
};
|
|
5067
|
-
|
|
5066
|
+
ext: {
|
|
5068
5067
|
src: string;
|
|
5069
5068
|
dist: string;
|
|
5070
5069
|
};
|
|
5071
|
-
|
|
5070
|
+
arch: {
|
|
5072
5071
|
src: string;
|
|
5073
5072
|
dist: string;
|
|
5074
5073
|
};
|
|
5075
|
-
|
|
5074
|
+
softwares: {
|
|
5076
5075
|
src: string;
|
|
5077
5076
|
dist: string;
|
|
5078
5077
|
};
|
|
5079
|
-
|
|
5078
|
+
skills: {
|
|
5080
5079
|
src: string;
|
|
5081
5080
|
dist: string;
|
|
5082
5081
|
};
|
|
5083
|
-
|
|
5082
|
+
commands: {
|
|
5084
5083
|
src: string;
|
|
5085
5084
|
dist: string;
|
|
5086
5085
|
};
|
|
5087
|
-
|
|
5086
|
+
subAgents: {
|
|
5088
5087
|
src: string;
|
|
5089
5088
|
dist: string;
|
|
5090
5089
|
};
|
|
5091
|
-
|
|
5090
|
+
rules: {
|
|
5092
5091
|
src: string;
|
|
5093
5092
|
dist: string;
|
|
5094
5093
|
};
|
|
5095
|
-
|
|
5094
|
+
globalPrompt: {
|
|
5096
5095
|
src: string;
|
|
5097
5096
|
dist: string;
|
|
5098
5097
|
};
|
|
5099
|
-
|
|
5098
|
+
workspacePrompt: {
|
|
5100
5099
|
src: string;
|
|
5101
5100
|
dist: string;
|
|
5102
5101
|
};
|
|
5102
|
+
dir: string;
|
|
5103
5103
|
}, {
|
|
5104
|
-
|
|
5105
|
-
skills?: {
|
|
5104
|
+
app?: {
|
|
5106
5105
|
src: string;
|
|
5107
5106
|
dist: string;
|
|
5108
5107
|
} | undefined;
|
|
5109
|
-
|
|
5108
|
+
ext?: {
|
|
5110
5109
|
src: string;
|
|
5111
5110
|
dist: string;
|
|
5112
5111
|
} | undefined;
|
|
5113
|
-
|
|
5112
|
+
arch?: {
|
|
5114
5113
|
src: string;
|
|
5115
5114
|
dist: string;
|
|
5116
5115
|
} | undefined;
|
|
5117
|
-
|
|
5116
|
+
softwares?: {
|
|
5118
5117
|
src: string;
|
|
5119
5118
|
dist: string;
|
|
5120
5119
|
} | undefined;
|
|
5121
|
-
|
|
5120
|
+
skills?: {
|
|
5122
5121
|
src: string;
|
|
5123
5122
|
dist: string;
|
|
5124
5123
|
} | undefined;
|
|
5125
|
-
|
|
5124
|
+
commands?: {
|
|
5126
5125
|
src: string;
|
|
5127
5126
|
dist: string;
|
|
5128
5127
|
} | undefined;
|
|
5129
|
-
|
|
5128
|
+
subAgents?: {
|
|
5130
5129
|
src: string;
|
|
5131
5130
|
dist: string;
|
|
5132
5131
|
} | undefined;
|
|
5133
|
-
|
|
5132
|
+
rules?: {
|
|
5134
5133
|
src: string;
|
|
5135
5134
|
dist: string;
|
|
5136
5135
|
} | undefined;
|
|
5137
|
-
|
|
5136
|
+
globalPrompt?: {
|
|
5138
5137
|
src: string;
|
|
5139
5138
|
dist: string;
|
|
5140
5139
|
} | undefined;
|
|
5141
|
-
|
|
5140
|
+
workspacePrompt?: {
|
|
5142
5141
|
src: string;
|
|
5143
5142
|
dist: string;
|
|
5144
5143
|
} | undefined;
|
|
5144
|
+
dir?: string | undefined;
|
|
5145
5145
|
}>;
|
|
5146
5146
|
/**
|
|
5147
5147
|
* Zod schema for per-plugin command series override options.
|
|
@@ -5206,15 +5206,15 @@ declare const ZPluginOutputScopeTopics: z.ZodObject<{
|
|
|
5206
5206
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5207
5207
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5208
5208
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5209
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5210
5209
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5210
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5211
5211
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5212
5212
|
}, {
|
|
5213
5213
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5214
5214
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5215
5215
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5216
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5217
5216
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5217
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5218
5218
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5219
5219
|
}>;
|
|
5220
5220
|
/**
|
|
@@ -5232,15 +5232,15 @@ declare const ZOutputScopeOptions: z.ZodObject<{
|
|
|
5232
5232
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5233
5233
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5234
5234
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5235
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5236
5235
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5236
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5237
5237
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5238
5238
|
}, {
|
|
5239
5239
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5240
5240
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5241
5241
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5242
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5243
5242
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5243
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5244
5244
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5245
5245
|
}>>>;
|
|
5246
5246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5248,8 +5248,8 @@ declare const ZOutputScopeOptions: z.ZodObject<{
|
|
|
5248
5248
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5249
5249
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5250
5250
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5251
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5252
5251
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5252
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5253
5253
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5254
5254
|
}> | undefined;
|
|
5255
5255
|
}, {
|
|
@@ -5257,8 +5257,8 @@ declare const ZOutputScopeOptions: z.ZodObject<{
|
|
|
5257
5257
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5258
5258
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5259
5259
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5260
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5261
5260
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5261
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5262
5262
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5263
5263
|
}> | undefined;
|
|
5264
5264
|
}>;
|
|
@@ -5373,7 +5373,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5373
5373
|
version: z.ZodOptional<z.ZodString>;
|
|
5374
5374
|
workspaceDir: z.ZodOptional<z.ZodString>;
|
|
5375
5375
|
aindex: z.ZodOptional<z.ZodObject<{
|
|
5376
|
-
|
|
5376
|
+
app: z.ZodObject<{
|
|
5377
5377
|
src: z.ZodString;
|
|
5378
5378
|
dist: z.ZodString;
|
|
5379
5379
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5392,7 +5392,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5392
5392
|
src: string;
|
|
5393
5393
|
dist: string;
|
|
5394
5394
|
}>>;
|
|
5395
|
-
|
|
5395
|
+
ext: z.ZodObject<{
|
|
5396
5396
|
src: z.ZodString;
|
|
5397
5397
|
dist: z.ZodString;
|
|
5398
5398
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5411,7 +5411,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5411
5411
|
src: string;
|
|
5412
5412
|
dist: string;
|
|
5413
5413
|
}>>;
|
|
5414
|
-
|
|
5414
|
+
arch: z.ZodObject<{
|
|
5415
5415
|
src: z.ZodString;
|
|
5416
5416
|
dist: z.ZodString;
|
|
5417
5417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5430,7 +5430,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5430
5430
|
src: string;
|
|
5431
5431
|
dist: string;
|
|
5432
5432
|
}>>;
|
|
5433
|
-
|
|
5433
|
+
softwares: z.ZodObject<{
|
|
5434
5434
|
src: z.ZodString;
|
|
5435
5435
|
dist: z.ZodString;
|
|
5436
5436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5449,7 +5449,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5449
5449
|
src: string;
|
|
5450
5450
|
dist: string;
|
|
5451
5451
|
}>>;
|
|
5452
|
-
|
|
5452
|
+
skills: z.ZodObject<{
|
|
5453
5453
|
src: z.ZodString;
|
|
5454
5454
|
dist: z.ZodString;
|
|
5455
5455
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5468,7 +5468,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5468
5468
|
src: string;
|
|
5469
5469
|
dist: string;
|
|
5470
5470
|
}>>;
|
|
5471
|
-
|
|
5471
|
+
commands: z.ZodObject<{
|
|
5472
5472
|
src: z.ZodString;
|
|
5473
5473
|
dist: z.ZodString;
|
|
5474
5474
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5487,7 +5487,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5487
5487
|
src: string;
|
|
5488
5488
|
dist: string;
|
|
5489
5489
|
}>>;
|
|
5490
|
-
|
|
5490
|
+
subAgents: z.ZodObject<{
|
|
5491
5491
|
src: z.ZodString;
|
|
5492
5492
|
dist: z.ZodString;
|
|
5493
5493
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5506,7 +5506,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5506
5506
|
src: string;
|
|
5507
5507
|
dist: string;
|
|
5508
5508
|
}>>;
|
|
5509
|
-
|
|
5509
|
+
rules: z.ZodObject<{
|
|
5510
5510
|
src: z.ZodString;
|
|
5511
5511
|
dist: z.ZodString;
|
|
5512
5512
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5525,7 +5525,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5525
5525
|
src: string;
|
|
5526
5526
|
dist: string;
|
|
5527
5527
|
}>>;
|
|
5528
|
-
|
|
5528
|
+
globalPrompt: z.ZodObject<{
|
|
5529
5529
|
src: z.ZodString;
|
|
5530
5530
|
dist: z.ZodString;
|
|
5531
5531
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5544,7 +5544,7 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5544
5544
|
src: string;
|
|
5545
5545
|
dist: string;
|
|
5546
5546
|
}>>;
|
|
5547
|
-
|
|
5547
|
+
workspacePrompt: z.ZodObject<{
|
|
5548
5548
|
src: z.ZodString;
|
|
5549
5549
|
dist: z.ZodString;
|
|
5550
5550
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5565,89 +5565,89 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5565
5565
|
}>>;
|
|
5566
5566
|
dir: z.ZodDefault<z.ZodString>;
|
|
5567
5567
|
}, "strip", z.ZodTypeAny, {
|
|
5568
|
-
|
|
5569
|
-
skills: {
|
|
5568
|
+
app: {
|
|
5570
5569
|
src: string;
|
|
5571
5570
|
dist: string;
|
|
5572
5571
|
};
|
|
5573
|
-
|
|
5572
|
+
ext: {
|
|
5574
5573
|
src: string;
|
|
5575
5574
|
dist: string;
|
|
5576
5575
|
};
|
|
5577
|
-
|
|
5576
|
+
arch: {
|
|
5578
5577
|
src: string;
|
|
5579
5578
|
dist: string;
|
|
5580
5579
|
};
|
|
5581
|
-
|
|
5580
|
+
softwares: {
|
|
5582
5581
|
src: string;
|
|
5583
5582
|
dist: string;
|
|
5584
5583
|
};
|
|
5585
|
-
|
|
5584
|
+
skills: {
|
|
5586
5585
|
src: string;
|
|
5587
5586
|
dist: string;
|
|
5588
5587
|
};
|
|
5589
|
-
|
|
5588
|
+
commands: {
|
|
5590
5589
|
src: string;
|
|
5591
5590
|
dist: string;
|
|
5592
5591
|
};
|
|
5593
|
-
|
|
5592
|
+
subAgents: {
|
|
5594
5593
|
src: string;
|
|
5595
5594
|
dist: string;
|
|
5596
5595
|
};
|
|
5597
|
-
|
|
5596
|
+
rules: {
|
|
5598
5597
|
src: string;
|
|
5599
5598
|
dist: string;
|
|
5600
5599
|
};
|
|
5601
|
-
|
|
5600
|
+
globalPrompt: {
|
|
5602
5601
|
src: string;
|
|
5603
5602
|
dist: string;
|
|
5604
5603
|
};
|
|
5605
|
-
|
|
5604
|
+
workspacePrompt: {
|
|
5606
5605
|
src: string;
|
|
5607
5606
|
dist: string;
|
|
5608
5607
|
};
|
|
5608
|
+
dir: string;
|
|
5609
5609
|
}, {
|
|
5610
|
-
|
|
5611
|
-
skills?: {
|
|
5610
|
+
app?: {
|
|
5612
5611
|
src: string;
|
|
5613
5612
|
dist: string;
|
|
5614
5613
|
} | undefined;
|
|
5615
|
-
|
|
5614
|
+
ext?: {
|
|
5616
5615
|
src: string;
|
|
5617
5616
|
dist: string;
|
|
5618
5617
|
} | undefined;
|
|
5619
|
-
|
|
5618
|
+
arch?: {
|
|
5620
5619
|
src: string;
|
|
5621
5620
|
dist: string;
|
|
5622
5621
|
} | undefined;
|
|
5623
|
-
|
|
5622
|
+
softwares?: {
|
|
5624
5623
|
src: string;
|
|
5625
5624
|
dist: string;
|
|
5626
5625
|
} | undefined;
|
|
5627
|
-
|
|
5626
|
+
skills?: {
|
|
5628
5627
|
src: string;
|
|
5629
5628
|
dist: string;
|
|
5630
5629
|
} | undefined;
|
|
5631
|
-
|
|
5630
|
+
commands?: {
|
|
5632
5631
|
src: string;
|
|
5633
5632
|
dist: string;
|
|
5634
5633
|
} | undefined;
|
|
5635
|
-
|
|
5634
|
+
subAgents?: {
|
|
5636
5635
|
src: string;
|
|
5637
5636
|
dist: string;
|
|
5638
5637
|
} | undefined;
|
|
5639
|
-
|
|
5638
|
+
rules?: {
|
|
5640
5639
|
src: string;
|
|
5641
5640
|
dist: string;
|
|
5642
5641
|
} | undefined;
|
|
5643
|
-
|
|
5642
|
+
globalPrompt?: {
|
|
5644
5643
|
src: string;
|
|
5645
5644
|
dist: string;
|
|
5646
5645
|
} | undefined;
|
|
5647
|
-
|
|
5646
|
+
workspacePrompt?: {
|
|
5648
5647
|
src: string;
|
|
5649
5648
|
dist: string;
|
|
5650
5649
|
} | undefined;
|
|
5650
|
+
dir?: string | undefined;
|
|
5651
5651
|
}>>;
|
|
5652
5652
|
logLevel: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error"]>>;
|
|
5653
5653
|
commandSeriesOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -5687,15 +5687,15 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5687
5687
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5688
5688
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5689
5689
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5690
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5691
5690
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5691
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5692
5692
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5693
5693
|
}, {
|
|
5694
5694
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5695
5695
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5696
5696
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5697
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5698
5697
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5698
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5699
5699
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5700
5700
|
}>>>;
|
|
5701
5701
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5703,8 +5703,8 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5703
5703
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5704
5704
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5705
5705
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5706
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5707
5706
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5707
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5708
5708
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5709
5709
|
}> | undefined;
|
|
5710
5710
|
}, {
|
|
@@ -5712,8 +5712,8 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5712
5712
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5713
5713
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5714
5714
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5715
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5716
5715
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5716
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5717
5717
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5718
5718
|
}> | undefined;
|
|
5719
5719
|
}>>;
|
|
@@ -5790,51 +5790,51 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5790
5790
|
birthday: z.ZodOptional<z.ZodString>;
|
|
5791
5791
|
}, z.ZodUnknown, "strip">>>;
|
|
5792
5792
|
}, "strip", z.ZodTypeAny, {
|
|
5793
|
-
version?: string | undefined;
|
|
5794
|
-
workspaceDir?: string | undefined;
|
|
5795
5793
|
aindex?: {
|
|
5796
|
-
|
|
5797
|
-
skills: {
|
|
5794
|
+
app: {
|
|
5798
5795
|
src: string;
|
|
5799
5796
|
dist: string;
|
|
5800
5797
|
};
|
|
5801
|
-
|
|
5798
|
+
ext: {
|
|
5802
5799
|
src: string;
|
|
5803
5800
|
dist: string;
|
|
5804
5801
|
};
|
|
5805
|
-
|
|
5802
|
+
arch: {
|
|
5806
5803
|
src: string;
|
|
5807
5804
|
dist: string;
|
|
5808
5805
|
};
|
|
5809
|
-
|
|
5806
|
+
softwares: {
|
|
5810
5807
|
src: string;
|
|
5811
5808
|
dist: string;
|
|
5812
5809
|
};
|
|
5813
|
-
|
|
5810
|
+
skills: {
|
|
5814
5811
|
src: string;
|
|
5815
5812
|
dist: string;
|
|
5816
5813
|
};
|
|
5817
|
-
|
|
5814
|
+
commands: {
|
|
5818
5815
|
src: string;
|
|
5819
5816
|
dist: string;
|
|
5820
5817
|
};
|
|
5821
|
-
|
|
5818
|
+
subAgents: {
|
|
5822
5819
|
src: string;
|
|
5823
5820
|
dist: string;
|
|
5824
5821
|
};
|
|
5825
|
-
|
|
5822
|
+
rules: {
|
|
5826
5823
|
src: string;
|
|
5827
5824
|
dist: string;
|
|
5828
5825
|
};
|
|
5829
|
-
|
|
5826
|
+
globalPrompt: {
|
|
5830
5827
|
src: string;
|
|
5831
5828
|
dist: string;
|
|
5832
5829
|
};
|
|
5833
|
-
|
|
5830
|
+
workspacePrompt: {
|
|
5834
5831
|
src: string;
|
|
5835
5832
|
dist: string;
|
|
5836
5833
|
};
|
|
5834
|
+
dir: string;
|
|
5837
5835
|
} | undefined;
|
|
5836
|
+
version?: string | undefined;
|
|
5837
|
+
workspaceDir?: string | undefined;
|
|
5838
5838
|
logLevel?: "trace" | "debug" | "info" | "warn" | "error" | undefined;
|
|
5839
5839
|
commandSeriesOptions?: {
|
|
5840
5840
|
includeSeriesPrefix?: boolean | undefined;
|
|
@@ -5848,8 +5848,8 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5848
5848
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5849
5849
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5850
5850
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5851
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5852
5851
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5852
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5853
5853
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5854
5854
|
}> | undefined;
|
|
5855
5855
|
} | undefined;
|
|
@@ -5876,51 +5876,51 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5876
5876
|
birthday: z.ZodOptional<z.ZodString>;
|
|
5877
5877
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
5878
5878
|
}, {
|
|
5879
|
-
version?: string | undefined;
|
|
5880
|
-
workspaceDir?: string | undefined;
|
|
5881
5879
|
aindex?: {
|
|
5882
|
-
|
|
5883
|
-
skills?: {
|
|
5880
|
+
app?: {
|
|
5884
5881
|
src: string;
|
|
5885
5882
|
dist: string;
|
|
5886
5883
|
} | undefined;
|
|
5887
|
-
|
|
5884
|
+
ext?: {
|
|
5888
5885
|
src: string;
|
|
5889
5886
|
dist: string;
|
|
5890
5887
|
} | undefined;
|
|
5891
|
-
|
|
5888
|
+
arch?: {
|
|
5892
5889
|
src: string;
|
|
5893
5890
|
dist: string;
|
|
5894
5891
|
} | undefined;
|
|
5895
|
-
|
|
5892
|
+
softwares?: {
|
|
5896
5893
|
src: string;
|
|
5897
5894
|
dist: string;
|
|
5898
5895
|
} | undefined;
|
|
5899
|
-
|
|
5896
|
+
skills?: {
|
|
5900
5897
|
src: string;
|
|
5901
5898
|
dist: string;
|
|
5902
5899
|
} | undefined;
|
|
5903
|
-
|
|
5900
|
+
commands?: {
|
|
5904
5901
|
src: string;
|
|
5905
5902
|
dist: string;
|
|
5906
5903
|
} | undefined;
|
|
5907
|
-
|
|
5904
|
+
subAgents?: {
|
|
5908
5905
|
src: string;
|
|
5909
5906
|
dist: string;
|
|
5910
5907
|
} | undefined;
|
|
5911
|
-
|
|
5908
|
+
rules?: {
|
|
5912
5909
|
src: string;
|
|
5913
5910
|
dist: string;
|
|
5914
5911
|
} | undefined;
|
|
5915
|
-
|
|
5912
|
+
globalPrompt?: {
|
|
5916
5913
|
src: string;
|
|
5917
5914
|
dist: string;
|
|
5918
5915
|
} | undefined;
|
|
5919
|
-
|
|
5916
|
+
workspacePrompt?: {
|
|
5920
5917
|
src: string;
|
|
5921
5918
|
dist: string;
|
|
5922
5919
|
} | undefined;
|
|
5920
|
+
dir?: string | undefined;
|
|
5923
5921
|
} | undefined;
|
|
5922
|
+
version?: string | undefined;
|
|
5923
|
+
workspaceDir?: string | undefined;
|
|
5924
5924
|
logLevel?: "trace" | "debug" | "info" | "warn" | "error" | undefined;
|
|
5925
5925
|
commandSeriesOptions?: {
|
|
5926
5926
|
includeSeriesPrefix?: boolean | undefined;
|
|
@@ -5934,8 +5934,8 @@ declare const ZUserConfigFile: z.ZodObject<{
|
|
|
5934
5934
|
skills?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5935
5935
|
commands?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5936
5936
|
rules?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5937
|
-
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5938
5937
|
subagents?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5938
|
+
prompt?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5939
5939
|
mcp?: "project" | "global" | ("project" | "global")[] | undefined;
|
|
5940
5940
|
}> | undefined;
|
|
5941
5941
|
} | undefined;
|
|
@@ -6162,308 +6162,26 @@ declare enum GlobalConfigDirectoryType {
|
|
|
6162
6162
|
}
|
|
6163
6163
|
type CodingAgentTools = string;
|
|
6164
6164
|
type ClaudeCodeCLISubAgentColors = string; //#endregion
|
|
6165
|
-
//#region src/plugins/plugin-core/
|
|
6166
|
-
interface Project {
|
|
6167
|
-
readonly name?: string;
|
|
6168
|
-
readonly dirFromWorkspacePath?: RelativePath;
|
|
6169
|
-
readonly rootMemoryPrompt?: ProjectRootMemoryPrompt;
|
|
6170
|
-
readonly childMemoryPrompts?: readonly ProjectChildrenMemoryPrompt[];
|
|
6171
|
-
readonly isPromptSourceProject?: boolean;
|
|
6172
|
-
readonly isWorkspaceRootProject?: boolean;
|
|
6173
|
-
readonly projectConfig?: ProjectConfig;
|
|
6174
|
-
readonly promptSeries?: AindexProjectSeriesName;
|
|
6175
|
-
}
|
|
6176
|
-
interface Workspace {
|
|
6177
|
-
readonly directory: Path;
|
|
6178
|
-
readonly projects: Project[];
|
|
6179
|
-
}
|
|
6165
|
+
//#region src/plugins/plugin-core/OutputTypes.d.ts
|
|
6180
6166
|
/**
|
|
6181
|
-
*
|
|
6167
|
+
* Global configuration based on user_home root directory
|
|
6182
6168
|
*/
|
|
6183
|
-
interface
|
|
6184
|
-
readonly type:
|
|
6169
|
+
interface GlobalConfigDirectoryInUserHome<K = GlobalConfigDirectoryType.UserHome> {
|
|
6170
|
+
readonly type: K;
|
|
6171
|
+
readonly directory: RelativePath;
|
|
6185
6172
|
}
|
|
6186
6173
|
/**
|
|
6187
|
-
*
|
|
6174
|
+
* Special, absolute path global memory prompt
|
|
6188
6175
|
*/
|
|
6189
|
-
interface
|
|
6190
|
-
readonly
|
|
6191
|
-
readonly
|
|
6192
|
-
readonly sourcePath?: string;
|
|
6176
|
+
interface GlobalConfigDirectoryInOther<K = GlobalConfigDirectoryType.External> {
|
|
6177
|
+
readonly type: K;
|
|
6178
|
+
readonly directory: AbsolutePath;
|
|
6193
6179
|
}
|
|
6180
|
+
type GlobalConfigDirectory<K = GlobalConfigDirectoryType> = GlobalConfigDirectoryInUserHome<K> | GlobalConfigDirectoryInOther<K>;
|
|
6181
|
+
interface Target {}
|
|
6194
6182
|
/**
|
|
6195
|
-
*
|
|
6196
|
-
|
|
6197
|
-
interface CollectedContextData {
|
|
6198
|
-
readonly workspace: Workspace;
|
|
6199
|
-
/** Flat prompt projections used by current output plugins */
|
|
6200
|
-
readonly skills?: readonly SkillPrompt[];
|
|
6201
|
-
readonly commands?: readonly CommandPrompt[];
|
|
6202
|
-
readonly subAgents?: readonly SubAgentPrompt[];
|
|
6203
|
-
readonly rules?: readonly RulePrompt[];
|
|
6204
|
-
readonly readmePrompts?: readonly ReadmePrompt[];
|
|
6205
|
-
readonly globalMemory?: GlobalMemoryPrompt;
|
|
6206
|
-
/** Other non-prompt fields */
|
|
6207
|
-
readonly vscodeConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.VSCode>[];
|
|
6208
|
-
readonly zedConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.Zed>[];
|
|
6209
|
-
readonly jetbrainsConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.IntellijIDEA>[];
|
|
6210
|
-
readonly editorConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.EditorConfig>[];
|
|
6211
|
-
readonly aiAgentIgnoreConfigFiles?: readonly AIAgentIgnoreConfigFile[];
|
|
6212
|
-
readonly globalGitIgnore?: string;
|
|
6213
|
-
readonly shadowGitExclude?: string;
|
|
6214
|
-
readonly aindexDir?: string;
|
|
6215
|
-
}
|
|
6216
|
-
/**
|
|
6217
|
-
* Input-side collected context.
|
|
6218
|
-
* Built incrementally by input plugins through dependency-aware merging.
|
|
6219
|
-
*/
|
|
6220
|
-
interface InputCollectedContext extends CollectedContextData {}
|
|
6221
|
-
/**
|
|
6222
|
-
* Output-side collected context.
|
|
6223
|
-
* Produced once from input context and consumed by output plugins only.
|
|
6224
|
-
*/
|
|
6225
|
-
interface OutputCollectedContext extends CollectedContextData {}
|
|
6226
|
-
/**
|
|
6227
|
-
* Convert input context to output context boundary object.
|
|
6228
|
-
* This keeps input and output stages decoupled while preserving data shape.
|
|
6229
|
-
*/
|
|
6230
|
-
declare function toOutputCollectedContext(input: InputCollectedContext): OutputCollectedContext;
|
|
6231
|
-
/**
|
|
6232
|
-
* Rule prompt with glob patterns for file-scoped rule application
|
|
6233
|
-
*/
|
|
6234
|
-
interface RulePrompt extends Prompt<PromptKind.Rule, RuleYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6235
|
-
readonly type: PromptKind.Rule;
|
|
6236
|
-
readonly prefix: string;
|
|
6237
|
-
readonly ruleName: string;
|
|
6238
|
-
readonly globs: readonly string[];
|
|
6239
|
-
readonly scope: RuleScope;
|
|
6240
|
-
readonly seriName?: SeriName;
|
|
6241
|
-
readonly rawMdxContent?: string;
|
|
6242
|
-
}
|
|
6243
|
-
/**
|
|
6244
|
-
* Command prompt
|
|
6245
|
-
*/
|
|
6246
|
-
interface CommandPrompt extends Prompt<PromptKind.Command, CommandYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6247
|
-
readonly type: PromptKind.Command;
|
|
6248
|
-
readonly globalOnly?: true;
|
|
6249
|
-
readonly commandPrefix?: string;
|
|
6250
|
-
readonly commandName: string;
|
|
6251
|
-
readonly seriName?: SeriName;
|
|
6252
|
-
readonly rawMdxContent?: string;
|
|
6253
|
-
}
|
|
6254
|
-
/**
|
|
6255
|
-
* Sub-agent prompt
|
|
6256
|
-
*/
|
|
6257
|
-
interface SubAgentPrompt extends Prompt<PromptKind.SubAgent, SubAgentYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6258
|
-
readonly type: PromptKind.SubAgent;
|
|
6259
|
-
readonly agentPrefix?: string;
|
|
6260
|
-
readonly agentName: string;
|
|
6261
|
-
readonly canonicalName: string;
|
|
6262
|
-
readonly seriName?: SeriName;
|
|
6263
|
-
readonly rawMdxContent?: string;
|
|
6264
|
-
}
|
|
6265
|
-
/**
|
|
6266
|
-
* Skill child document (.md files in skill directory or any subdirectory)
|
|
6267
|
-
* Excludes skill.md which is the main skill file
|
|
6268
|
-
*/
|
|
6269
|
-
interface SkillChildDoc extends Prompt<PromptKind.SkillChildDoc> {
|
|
6270
|
-
readonly type: PromptKind.SkillChildDoc;
|
|
6271
|
-
readonly relativePath: string;
|
|
6272
|
-
}
|
|
6273
|
-
/**
|
|
6274
|
-
* Resource content encoding type
|
|
6275
|
-
*/
|
|
6276
|
-
type SkillResourceEncoding = 'text' | 'base64';
|
|
6277
|
-
/**
|
|
6278
|
-
* Skill resource file for AI on-demand access
|
|
6279
|
-
* Any non-.md file in skill directory or subdirectories
|
|
6280
|
-
*
|
|
6281
|
-
* Supports:
|
|
6282
|
-
* - Code files: .kt, .java, .py, .ts, .js, .go, .rs, .c, .cpp, etc.
|
|
6283
|
-
* - Data files: .sql, .json, .xml, .yaml, .csv, etc.
|
|
6284
|
-
* - Documents: .txt, .rtf, .docx, .pdf, etc.
|
|
6285
|
-
* - Config files: .ini, .conf, .properties, etc.
|
|
6286
|
-
* - Scripts: .sh, .bash, .ps1, .bat, etc.
|
|
6287
|
-
* - Images: .png, .jpg, .gif, .svg, .webp, etc.
|
|
6288
|
-
* - Binary files: .exe, .dll, .wasm, etc.
|
|
6289
|
-
*/
|
|
6290
|
-
interface SkillResource {
|
|
6291
|
-
readonly type: PromptKind.SkillResource;
|
|
6292
|
-
readonly extension: string;
|
|
6293
|
-
readonly fileName: string;
|
|
6294
|
-
readonly relativePath: string;
|
|
6295
|
-
readonly sourcePath?: string;
|
|
6296
|
-
readonly content: string;
|
|
6297
|
-
readonly encoding: SkillResourceEncoding;
|
|
6298
|
-
readonly length: number;
|
|
6299
|
-
readonly mimeType?: string;
|
|
6300
|
-
}
|
|
6301
|
-
/**
|
|
6302
|
-
* MCP server configuration entry
|
|
6303
|
-
*/
|
|
6304
|
-
interface McpServerConfig {
|
|
6305
|
-
readonly command: string;
|
|
6306
|
-
readonly args?: readonly string[];
|
|
6307
|
-
readonly env?: Readonly<Record<string, string>>;
|
|
6308
|
-
readonly disabled?: boolean;
|
|
6309
|
-
readonly autoApprove?: readonly string[];
|
|
6310
|
-
}
|
|
6311
|
-
/**
|
|
6312
|
-
* Skill MCP configuration (mcp.json)
|
|
6313
|
-
* - Kiro: supports per-power MCP configuration natively
|
|
6314
|
-
* - Others: may support lazy loading in the future
|
|
6315
|
-
*/
|
|
6316
|
-
interface SkillMcpConfig {
|
|
6317
|
-
readonly type: PromptKind.SkillMcpConfig;
|
|
6318
|
-
readonly mcpServers: Readonly<Record<string, McpServerConfig>>;
|
|
6319
|
-
readonly rawContent: string;
|
|
6320
|
-
}
|
|
6321
|
-
interface SkillPrompt extends Prompt<PromptKind.Skill, SkillYAMLFrontMatter> {
|
|
6322
|
-
readonly type: PromptKind.Skill;
|
|
6323
|
-
readonly dir: RelativePath;
|
|
6324
|
-
readonly skillName: string;
|
|
6325
|
-
readonly yamlFrontMatter: SkillYAMLFrontMatter;
|
|
6326
|
-
readonly mcpConfig?: SkillMcpConfig;
|
|
6327
|
-
readonly childDocs?: SkillChildDoc[];
|
|
6328
|
-
readonly resources?: SkillResource[];
|
|
6329
|
-
readonly seriName?: SeriName;
|
|
6330
|
-
}
|
|
6331
|
-
/**
|
|
6332
|
-
* Readme-family source file kind
|
|
6333
|
-
*
|
|
6334
|
-
* - Readme: rdm.mdx → README.md
|
|
6335
|
-
* - CodeOfConduct: coc.mdx → CODE_OF_CONDUCT.md
|
|
6336
|
-
* - Security: security.mdx → SECURITY.md
|
|
6337
|
-
*/
|
|
6338
|
-
type ReadmeFileKind = 'Readme' | 'CodeOfConduct' | 'Security';
|
|
6339
|
-
/**
|
|
6340
|
-
* Mapping from ReadmeFileKind to source/output file names
|
|
6341
|
-
*/
|
|
6342
|
-
declare const README_FILE_KIND_MAP: Readonly<Record<ReadmeFileKind, {
|
|
6343
|
-
readonly src: string;
|
|
6344
|
-
readonly out: string;
|
|
6345
|
-
}>>;
|
|
6346
|
-
/**
|
|
6347
|
-
* README-family prompt data structure (README.md, CODE_OF_CONDUCT.md, SECURITY.md)
|
|
6348
|
-
*/
|
|
6349
|
-
interface ReadmePrompt extends Prompt<PromptKind.Readme> {
|
|
6350
|
-
readonly type: PromptKind.Readme;
|
|
6351
|
-
readonly projectName: string;
|
|
6352
|
-
readonly targetDir: RelativePath;
|
|
6353
|
-
readonly isRoot: boolean;
|
|
6354
|
-
readonly fileKind: ReadmeFileKind;
|
|
6355
|
-
}
|
|
6356
|
-
/**
|
|
6357
|
-
* Supported locale codes
|
|
6358
|
-
*/
|
|
6359
|
-
type Locale = 'zh' | 'en';
|
|
6360
|
-
type LocalizedFileExtension = string | readonly string[];
|
|
6361
|
-
/**
|
|
6362
|
-
* Localized content wrapper for a single locale
|
|
6363
|
-
* Contains both compiled content and raw MDX source
|
|
6364
|
-
*/
|
|
6365
|
-
interface LocalizedContent<T extends Prompt = Prompt> {
|
|
6366
|
-
/** Compiled/processed content */
|
|
6367
|
-
readonly content: string;
|
|
6368
|
-
/** Original MDX source (before compilation) */
|
|
6369
|
-
readonly rawMdx?: string;
|
|
6370
|
-
/** Extracted front matter */
|
|
6371
|
-
readonly frontMatter?: Record<string, unknown>;
|
|
6372
|
-
/** File last modified timestamp */
|
|
6373
|
-
readonly lastModified: Date;
|
|
6374
|
-
/** Full prompt object (optional, for extended access) */
|
|
6375
|
-
readonly prompt?: T;
|
|
6376
|
-
/** Absolute file path */
|
|
6377
|
-
readonly filePath: string;
|
|
6378
|
-
}
|
|
6379
|
-
/**
|
|
6380
|
-
* Source content container for all locales
|
|
6381
|
-
*/
|
|
6382
|
-
interface LocalizedSource<T extends Prompt = Prompt> {
|
|
6383
|
-
/** Default source content (.src.mdx) */
|
|
6384
|
-
readonly zh?: LocalizedContent<T>;
|
|
6385
|
-
/** English content (.mdx) */
|
|
6386
|
-
readonly en?: LocalizedContent<T>;
|
|
6387
|
-
/** Default locale content (typically zh) */
|
|
6388
|
-
readonly default: LocalizedContent<T>;
|
|
6389
|
-
/** Which locale is the default */
|
|
6390
|
-
readonly defaultLocale: Locale;
|
|
6391
|
-
}
|
|
6392
|
-
/** Universal localized prompt wrapper */
|
|
6393
|
-
interface LocalizedPrompt<T extends Prompt = Prompt, K extends PromptKind = PromptKind> {
|
|
6394
|
-
readonly name: string;
|
|
6395
|
-
readonly type: K;
|
|
6396
|
-
readonly src?: LocalizedSource<T>;
|
|
6397
|
-
readonly dist?: LocalizedContent<T>;
|
|
6398
|
-
/** Metadata flags */
|
|
6399
|
-
readonly metadata: {
|
|
6400
|
-
readonly hasDist: boolean;
|
|
6401
|
-
readonly hasMultipleLocales: boolean;
|
|
6402
|
-
readonly isDirectoryStructure: boolean; /** Available child items (for directory structures) */
|
|
6403
|
-
readonly children?: string[];
|
|
6404
|
-
};
|
|
6405
|
-
/** File paths for all variants */
|
|
6406
|
-
readonly paths: {
|
|
6407
|
-
readonly zh?: string;
|
|
6408
|
-
readonly en?: string;
|
|
6409
|
-
readonly dist?: string;
|
|
6410
|
-
};
|
|
6411
|
-
}
|
|
6412
|
-
/**
|
|
6413
|
-
* Options for reading localized prompts from different structures
|
|
6414
|
-
*/
|
|
6415
|
-
interface LocalizedReadOptions<T extends Prompt, K extends PromptKind> {
|
|
6416
|
-
/** File extensions for each locale */
|
|
6417
|
-
readonly localeExtensions: {
|
|
6418
|
-
readonly zh: LocalizedFileExtension;
|
|
6419
|
-
readonly en: LocalizedFileExtension;
|
|
6420
|
-
};
|
|
6421
|
-
/** Entry file name (without extension, e.g., 'skill' for skills) */
|
|
6422
|
-
readonly entryFileName?: string;
|
|
6423
|
-
/** Whether source contents should be hydrated and compiled in addition to dist */
|
|
6424
|
-
readonly hydrateSourceContents?: boolean;
|
|
6425
|
-
/** Create prompt from content */
|
|
6426
|
-
readonly createPrompt: (content: string, locale: Locale, name: string, metadata?: Record<string, unknown>) => T | Promise<T>;
|
|
6427
|
-
/** Prompt kind */
|
|
6428
|
-
readonly kind: K;
|
|
6429
|
-
/** Whether this is a directory-based structure */
|
|
6430
|
-
readonly isDirectoryStructure: boolean;
|
|
6431
|
-
}
|
|
6432
|
-
/**
|
|
6433
|
-
* Result of reading a directory structure (like skills)
|
|
6434
|
-
*/
|
|
6435
|
-
interface DirectoryReadResult<T extends Prompt, K extends PromptKind> {
|
|
6436
|
-
readonly prompts: LocalizedPrompt<T, K>[];
|
|
6437
|
-
readonly errors: ReadError[];
|
|
6438
|
-
}
|
|
6439
|
-
/**
|
|
6440
|
-
* Error during reading
|
|
6441
|
-
*/
|
|
6442
|
-
interface ReadError {
|
|
6443
|
-
readonly path: string;
|
|
6444
|
-
readonly error: Error;
|
|
6445
|
-
readonly phase: 'scan' | 'read' | 'compile';
|
|
6446
|
-
} //#endregion
|
|
6447
|
-
//#region src/plugins/plugin-core/OutputTypes.d.ts
|
|
6448
|
-
/**
|
|
6449
|
-
* Global configuration based on user_home root directory
|
|
6450
|
-
*/
|
|
6451
|
-
interface GlobalConfigDirectoryInUserHome<K = GlobalConfigDirectoryType.UserHome> {
|
|
6452
|
-
readonly type: K;
|
|
6453
|
-
readonly directory: RelativePath;
|
|
6454
|
-
}
|
|
6455
|
-
/**
|
|
6456
|
-
* Special, absolute path global memory prompt
|
|
6457
|
-
*/
|
|
6458
|
-
interface GlobalConfigDirectoryInOther<K = GlobalConfigDirectoryType.External> {
|
|
6459
|
-
readonly type: K;
|
|
6460
|
-
readonly directory: AbsolutePath;
|
|
6461
|
-
}
|
|
6462
|
-
type GlobalConfigDirectory<K = GlobalConfigDirectoryType> = GlobalConfigDirectoryInUserHome<K> | GlobalConfigDirectoryInOther<K>;
|
|
6463
|
-
interface Target {}
|
|
6464
|
-
/**
|
|
6465
|
-
* SubAgent frontmatter field mapping
|
|
6466
|
-
* Value can be a static string or a function that extracts value from SubAgentPrompt
|
|
6183
|
+
* SubAgent frontmatter field mapping
|
|
6184
|
+
* Value can be a static string or a function that extracts value from SubAgentPrompt
|
|
6467
6185
|
*/
|
|
6468
6186
|
type SubAgentFrontMatterField = string | ((subAgent: SubAgentPrompt) => unknown);
|
|
6469
6187
|
/**
|
|
@@ -6587,125 +6305,447 @@ interface FileContent<C = unknown, FK extends FilePathKind = FilePathKind.Relati
|
|
|
6587
6305
|
charsetEncoding?: BufferEncoding;
|
|
6588
6306
|
}
|
|
6589
6307
|
/**
|
|
6590
|
-
* Prompt
|
|
6308
|
+
* Prompt
|
|
6309
|
+
*/
|
|
6310
|
+
interface Prompt<T extends PromptKind = PromptKind, Y extends YAMLFrontMatter = YAMLFrontMatter, DK extends FilePathKind = FilePathKind.Relative, D extends Path = RelativePath, C = unknown> extends FileContent<C, DK, D> {
|
|
6311
|
+
readonly type: T;
|
|
6312
|
+
readonly yamlFrontMatter?: Y;
|
|
6313
|
+
readonly rawFrontMatter?: string;
|
|
6314
|
+
readonly markdownAst?: Root;
|
|
6315
|
+
readonly markdownContents: readonly RootContent[];
|
|
6316
|
+
readonly dir: D;
|
|
6317
|
+
}
|
|
6318
|
+
interface YAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends Record<string, unknown> {
|
|
6319
|
+
readonly namingCase: N;
|
|
6320
|
+
}
|
|
6321
|
+
/**
|
|
6322
|
+
* Series name type - used across multiple prompt types
|
|
6323
|
+
* Extracted to avoid repetition and ensure consistency
|
|
6324
|
+
*/
|
|
6325
|
+
type SeriName = string | string[] | null;
|
|
6326
|
+
interface CommonYAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends YAMLFrontMatter<N> {
|
|
6327
|
+
readonly description: string;
|
|
6328
|
+
}
|
|
6329
|
+
interface ToolAwareYAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends CommonYAMLFrontMatter<N> {
|
|
6330
|
+
readonly allowTools?: (CodingAgentTools | string)[];
|
|
6331
|
+
readonly argumentHint?: string;
|
|
6332
|
+
}
|
|
6333
|
+
/**
|
|
6334
|
+
* Memory prompt working on project root directory
|
|
6335
|
+
*/
|
|
6336
|
+
interface ProjectRootMemoryPrompt extends Prompt<PromptKind.ProjectRootMemory, YAMLFrontMatter, FilePathKind.Relative, RootPath> {
|
|
6337
|
+
readonly type: PromptKind.ProjectRootMemory;
|
|
6338
|
+
}
|
|
6339
|
+
/**
|
|
6340
|
+
* Memory prompt working on project subdirectory
|
|
6341
|
+
*/
|
|
6342
|
+
interface ProjectChildrenMemoryPrompt extends Prompt<PromptKind.ProjectChildrenMemory> {
|
|
6343
|
+
readonly type: PromptKind.ProjectChildrenMemory;
|
|
6344
|
+
readonly workingChildDirectoryPath: RelativePath;
|
|
6345
|
+
}
|
|
6346
|
+
interface SubAgentYAMLFrontMatter extends ToolAwareYAMLFrontMatter {
|
|
6347
|
+
readonly model?: string;
|
|
6348
|
+
readonly color?: ClaudeCodeCLISubAgentColors | string;
|
|
6349
|
+
readonly seriName?: SeriName;
|
|
6350
|
+
readonly scope?: RuleScope;
|
|
6351
|
+
}
|
|
6352
|
+
interface CommandYAMLFrontMatter extends ToolAwareYAMLFrontMatter {
|
|
6353
|
+
readonly seriName?: SeriName;
|
|
6354
|
+
readonly scope?: RuleScope;
|
|
6355
|
+
}
|
|
6356
|
+
/**
|
|
6357
|
+
* Base YAML front matter for all skill types
|
|
6358
|
+
*/
|
|
6359
|
+
interface SkillsYAMLFrontMatter extends CommonYAMLFrontMatter {
|
|
6360
|
+
readonly name?: string;
|
|
6361
|
+
}
|
|
6362
|
+
interface SkillYAMLFrontMatter extends SkillsYAMLFrontMatter {
|
|
6363
|
+
readonly allowTools?: (CodingAgentTools | string)[];
|
|
6364
|
+
readonly keywords?: readonly string[];
|
|
6365
|
+
readonly displayName?: string;
|
|
6366
|
+
readonly author?: string;
|
|
6367
|
+
readonly version?: string;
|
|
6368
|
+
readonly seriName?: SeriName;
|
|
6369
|
+
readonly scope?: RuleScope;
|
|
6370
|
+
}
|
|
6371
|
+
/**
|
|
6372
|
+
* Codex skill metadata field
|
|
6373
|
+
* Follows Agent Skills specification: https://agentskills.io/specification
|
|
6374
|
+
*
|
|
6375
|
+
* The metadata field is an arbitrary key-value mapping for additional metadata.
|
|
6376
|
+
* Common fields include displayName, version, author, keywords, etc.
|
|
6377
|
+
*/
|
|
6378
|
+
interface CodexSkillMetadata {
|
|
6379
|
+
readonly 'short-description'?: string;
|
|
6380
|
+
readonly 'displayName'?: string;
|
|
6381
|
+
readonly 'version'?: string;
|
|
6382
|
+
readonly 'author'?: string;
|
|
6383
|
+
readonly 'keywords'?: readonly string[];
|
|
6384
|
+
readonly 'category'?: string;
|
|
6385
|
+
readonly 'repository'?: string;
|
|
6386
|
+
readonly [key: string]: unknown;
|
|
6387
|
+
}
|
|
6388
|
+
interface CodexSkillYAMLFrontMatter extends SkillsYAMLFrontMatter {
|
|
6389
|
+
readonly 'license'?: string;
|
|
6390
|
+
readonly 'compatibility'?: string;
|
|
6391
|
+
readonly 'metadata'?: CodexSkillMetadata;
|
|
6392
|
+
readonly 'allowed-tools'?: string;
|
|
6393
|
+
}
|
|
6394
|
+
/**
|
|
6395
|
+
* Kiro steering file front matter
|
|
6396
|
+
* @see https://kiro.dev/docs/steering
|
|
6397
|
+
*/
|
|
6398
|
+
interface KiroSteeringYAMLFrontMatter extends YAMLFrontMatter {
|
|
6399
|
+
readonly inclusion?: 'always' | 'fileMatch' | 'manual';
|
|
6400
|
+
readonly fileMatchPattern?: string;
|
|
6401
|
+
}
|
|
6402
|
+
/**
|
|
6403
|
+
* Kiro Power POWER.md front matter
|
|
6404
|
+
* @see https://kiro.dev/docs/powers
|
|
6405
|
+
*/
|
|
6406
|
+
interface KiroPowerYAMLFrontMatter extends SkillsYAMLFrontMatter {
|
|
6407
|
+
readonly displayName?: string;
|
|
6408
|
+
readonly keywords?: readonly string[];
|
|
6409
|
+
readonly author?: string;
|
|
6410
|
+
}
|
|
6411
|
+
/**
|
|
6412
|
+
* Rule YAML front matter with glob patterns and scope
|
|
6413
|
+
*/
|
|
6414
|
+
interface RuleYAMLFrontMatter extends CommonYAMLFrontMatter {
|
|
6415
|
+
readonly globs: readonly string[];
|
|
6416
|
+
readonly scope?: RuleScope;
|
|
6417
|
+
readonly seriName?: SeriName;
|
|
6418
|
+
}
|
|
6419
|
+
/**
|
|
6420
|
+
* Global memory prompt
|
|
6421
|
+
* Single output target
|
|
6422
|
+
*/
|
|
6423
|
+
interface GlobalMemoryPrompt extends Prompt<PromptKind.GlobalMemory> {
|
|
6424
|
+
readonly type: PromptKind.GlobalMemory;
|
|
6425
|
+
readonly parentDirectoryPath: GlobalConfigDirectory;
|
|
6426
|
+
} //#endregion
|
|
6427
|
+
//#region src/plugins/plugin-core/InputTypes.d.ts
|
|
6428
|
+
interface Project {
|
|
6429
|
+
readonly name?: string;
|
|
6430
|
+
readonly dirFromWorkspacePath?: RelativePath;
|
|
6431
|
+
readonly rootMemoryPrompt?: ProjectRootMemoryPrompt;
|
|
6432
|
+
readonly childMemoryPrompts?: readonly ProjectChildrenMemoryPrompt[];
|
|
6433
|
+
readonly isPromptSourceProject?: boolean;
|
|
6434
|
+
readonly isWorkspaceRootProject?: boolean;
|
|
6435
|
+
readonly projectConfig?: ProjectConfig;
|
|
6436
|
+
readonly promptSeries?: AindexProjectSeriesName;
|
|
6437
|
+
}
|
|
6438
|
+
interface Workspace {
|
|
6439
|
+
readonly directory: Path;
|
|
6440
|
+
readonly projects: Project[];
|
|
6441
|
+
}
|
|
6442
|
+
/**
|
|
6443
|
+
* IDE configuration file
|
|
6444
|
+
*/
|
|
6445
|
+
interface ProjectIDEConfigFile<I extends IDEKind = IDEKind.Original> extends FileContent<string, FilePathKind, Path> {
|
|
6446
|
+
readonly type: I;
|
|
6447
|
+
}
|
|
6448
|
+
/**
|
|
6449
|
+
* AI Agent ignore configuration file
|
|
6450
|
+
*/
|
|
6451
|
+
interface AIAgentIgnoreConfigFile {
|
|
6452
|
+
readonly fileName: string;
|
|
6453
|
+
readonly content: string;
|
|
6454
|
+
readonly sourcePath?: string;
|
|
6455
|
+
}
|
|
6456
|
+
/**
|
|
6457
|
+
* Shared context fields across input aggregation and output execution.
|
|
6458
|
+
*/
|
|
6459
|
+
interface CollectedContextData {
|
|
6460
|
+
readonly workspace: Workspace;
|
|
6461
|
+
/** Flat prompt projections used by current output plugins */
|
|
6462
|
+
readonly skills?: readonly SkillPrompt[];
|
|
6463
|
+
readonly commands?: readonly CommandPrompt[];
|
|
6464
|
+
readonly subAgents?: readonly SubAgentPrompt[];
|
|
6465
|
+
readonly rules?: readonly RulePrompt[];
|
|
6466
|
+
readonly readmePrompts?: readonly ReadmePrompt[];
|
|
6467
|
+
readonly globalMemory?: GlobalMemoryPrompt;
|
|
6468
|
+
/** Other non-prompt fields */
|
|
6469
|
+
readonly vscodeConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.VSCode>[];
|
|
6470
|
+
readonly zedConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.Zed>[];
|
|
6471
|
+
readonly jetbrainsConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.IntellijIDEA>[];
|
|
6472
|
+
readonly editorConfigFiles?: readonly ProjectIDEConfigFile<IDEKind.EditorConfig>[];
|
|
6473
|
+
readonly aiAgentIgnoreConfigFiles?: readonly AIAgentIgnoreConfigFile[];
|
|
6474
|
+
readonly globalGitIgnore?: string;
|
|
6475
|
+
readonly shadowGitExclude?: string;
|
|
6476
|
+
readonly aindexDir?: string;
|
|
6477
|
+
}
|
|
6478
|
+
/**
|
|
6479
|
+
* Input-side collected context.
|
|
6480
|
+
* Built incrementally by input plugins through dependency-aware merging.
|
|
6481
|
+
*/
|
|
6482
|
+
interface InputCollectedContext extends CollectedContextData {}
|
|
6483
|
+
/**
|
|
6484
|
+
* Output-side collected context.
|
|
6485
|
+
* Produced once from input context and consumed by output plugins only.
|
|
6486
|
+
*/
|
|
6487
|
+
interface OutputCollectedContext extends CollectedContextData {}
|
|
6488
|
+
/**
|
|
6489
|
+
* Convert input context to output context boundary object.
|
|
6490
|
+
* This keeps input and output stages decoupled while preserving data shape.
|
|
6491
|
+
*/
|
|
6492
|
+
declare function toOutputCollectedContext(input: InputCollectedContext): OutputCollectedContext;
|
|
6493
|
+
/**
|
|
6494
|
+
* Rule prompt with glob patterns for file-scoped rule application
|
|
6495
|
+
*/
|
|
6496
|
+
interface RulePrompt extends Prompt<PromptKind.Rule, RuleYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6497
|
+
readonly type: PromptKind.Rule;
|
|
6498
|
+
readonly prefix: string;
|
|
6499
|
+
readonly ruleName: string;
|
|
6500
|
+
readonly globs: readonly string[];
|
|
6501
|
+
readonly scope: RuleScope;
|
|
6502
|
+
readonly seriName?: SeriName;
|
|
6503
|
+
readonly rawMdxContent?: string;
|
|
6504
|
+
}
|
|
6505
|
+
/**
|
|
6506
|
+
* Command prompt
|
|
6507
|
+
*/
|
|
6508
|
+
interface CommandPrompt extends Prompt<PromptKind.Command, CommandYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6509
|
+
readonly type: PromptKind.Command;
|
|
6510
|
+
readonly globalOnly?: true;
|
|
6511
|
+
readonly commandPrefix?: string;
|
|
6512
|
+
readonly commandName: string;
|
|
6513
|
+
readonly seriName?: SeriName;
|
|
6514
|
+
readonly rawMdxContent?: string;
|
|
6515
|
+
}
|
|
6516
|
+
/**
|
|
6517
|
+
* Sub-agent prompt
|
|
6518
|
+
*/
|
|
6519
|
+
interface SubAgentPrompt extends Prompt<PromptKind.SubAgent, SubAgentYAMLFrontMatter, FilePathKind.Relative, RelativePath, string> {
|
|
6520
|
+
readonly type: PromptKind.SubAgent;
|
|
6521
|
+
readonly agentPrefix?: string;
|
|
6522
|
+
readonly agentName: string;
|
|
6523
|
+
readonly canonicalName: string;
|
|
6524
|
+
readonly seriName?: SeriName;
|
|
6525
|
+
readonly rawMdxContent?: string;
|
|
6526
|
+
}
|
|
6527
|
+
/**
|
|
6528
|
+
* Skill child document (.md files in skill directory or any subdirectory)
|
|
6529
|
+
* Excludes skill.md which is the main skill file
|
|
6591
6530
|
*/
|
|
6592
|
-
interface
|
|
6593
|
-
readonly type:
|
|
6594
|
-
readonly
|
|
6595
|
-
readonly rawFrontMatter?: string;
|
|
6596
|
-
readonly markdownAst?: Root;
|
|
6597
|
-
readonly markdownContents: readonly RootContent[];
|
|
6598
|
-
readonly dir: D;
|
|
6599
|
-
}
|
|
6600
|
-
interface YAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends Record<string, unknown> {
|
|
6601
|
-
readonly namingCase: N;
|
|
6531
|
+
interface SkillChildDoc extends Prompt<PromptKind.SkillChildDoc> {
|
|
6532
|
+
readonly type: PromptKind.SkillChildDoc;
|
|
6533
|
+
readonly relativePath: string;
|
|
6602
6534
|
}
|
|
6603
6535
|
/**
|
|
6604
|
-
*
|
|
6605
|
-
* Extracted to avoid repetition and ensure consistency
|
|
6536
|
+
* Resource content encoding type
|
|
6606
6537
|
*/
|
|
6607
|
-
type
|
|
6608
|
-
interface CommonYAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends YAMLFrontMatter<N> {
|
|
6609
|
-
readonly description: string;
|
|
6610
|
-
}
|
|
6611
|
-
interface ToolAwareYAMLFrontMatter<N extends NamingCaseKind = NamingCaseKind.KebabCase> extends CommonYAMLFrontMatter<N> {
|
|
6612
|
-
readonly allowTools?: (CodingAgentTools | string)[];
|
|
6613
|
-
readonly argumentHint?: string;
|
|
6614
|
-
}
|
|
6538
|
+
type SkillResourceEncoding = 'text' | 'base64';
|
|
6615
6539
|
/**
|
|
6616
|
-
*
|
|
6540
|
+
* Skill resource file for AI on-demand access
|
|
6541
|
+
* Any non-.md file in skill directory or subdirectories
|
|
6542
|
+
*
|
|
6543
|
+
* Supports:
|
|
6544
|
+
* - Code files: .kt, .java, .py, .ts, .js, .go, .rs, .c, .cpp, etc.
|
|
6545
|
+
* - Data files: .sql, .json, .xml, .yaml, .csv, etc.
|
|
6546
|
+
* - Documents: .txt, .rtf, .docx, .pdf, etc.
|
|
6547
|
+
* - Config files: .ini, .conf, .properties, etc.
|
|
6548
|
+
* - Scripts: .sh, .bash, .ps1, .bat, etc.
|
|
6549
|
+
* - Images: .png, .jpg, .gif, .svg, .webp, etc.
|
|
6550
|
+
* - Binary files: .exe, .dll, .wasm, etc.
|
|
6617
6551
|
*/
|
|
6618
|
-
interface
|
|
6619
|
-
readonly type: PromptKind.
|
|
6552
|
+
interface SkillResource {
|
|
6553
|
+
readonly type: PromptKind.SkillResource;
|
|
6554
|
+
readonly extension: string;
|
|
6555
|
+
readonly fileName: string;
|
|
6556
|
+
readonly relativePath: string;
|
|
6557
|
+
readonly sourcePath?: string;
|
|
6558
|
+
readonly content: string;
|
|
6559
|
+
readonly encoding: SkillResourceEncoding;
|
|
6560
|
+
readonly length: number;
|
|
6561
|
+
readonly mimeType?: string;
|
|
6620
6562
|
}
|
|
6621
6563
|
/**
|
|
6622
|
-
*
|
|
6564
|
+
* MCP server configuration entry
|
|
6623
6565
|
*/
|
|
6624
|
-
interface
|
|
6625
|
-
readonly
|
|
6626
|
-
readonly
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
readonly
|
|
6630
|
-
readonly color?: ClaudeCodeCLISubAgentColors | string;
|
|
6631
|
-
readonly seriName?: SeriName;
|
|
6632
|
-
readonly scope?: RuleScope;
|
|
6633
|
-
}
|
|
6634
|
-
interface CommandYAMLFrontMatter extends ToolAwareYAMLFrontMatter {
|
|
6635
|
-
readonly seriName?: SeriName;
|
|
6636
|
-
readonly scope?: RuleScope;
|
|
6566
|
+
interface McpServerConfig {
|
|
6567
|
+
readonly command: string;
|
|
6568
|
+
readonly args?: readonly string[];
|
|
6569
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
6570
|
+
readonly disabled?: boolean;
|
|
6571
|
+
readonly autoApprove?: readonly string[];
|
|
6637
6572
|
}
|
|
6638
6573
|
/**
|
|
6639
|
-
*
|
|
6574
|
+
* Skill MCP configuration (mcp.json)
|
|
6575
|
+
* - Kiro: supports per-power MCP configuration natively
|
|
6576
|
+
* - Others: may support lazy loading in the future
|
|
6640
6577
|
*/
|
|
6641
|
-
interface
|
|
6642
|
-
readonly
|
|
6578
|
+
interface SkillMcpConfig {
|
|
6579
|
+
readonly type: PromptKind.SkillMcpConfig;
|
|
6580
|
+
readonly mcpServers: Readonly<Record<string, McpServerConfig>>;
|
|
6581
|
+
readonly rawContent: string;
|
|
6643
6582
|
}
|
|
6644
|
-
interface
|
|
6645
|
-
readonly
|
|
6646
|
-
readonly
|
|
6647
|
-
readonly
|
|
6648
|
-
readonly
|
|
6649
|
-
readonly
|
|
6583
|
+
interface SkillPrompt extends Prompt<PromptKind.Skill, SkillYAMLFrontMatter> {
|
|
6584
|
+
readonly type: PromptKind.Skill;
|
|
6585
|
+
readonly dir: RelativePath;
|
|
6586
|
+
readonly skillName: string;
|
|
6587
|
+
readonly yamlFrontMatter: SkillYAMLFrontMatter;
|
|
6588
|
+
readonly mcpConfig?: SkillMcpConfig;
|
|
6589
|
+
readonly childDocs?: SkillChildDoc[];
|
|
6590
|
+
readonly resources?: SkillResource[];
|
|
6650
6591
|
readonly seriName?: SeriName;
|
|
6651
|
-
readonly scope?: RuleScope;
|
|
6652
6592
|
}
|
|
6653
6593
|
/**
|
|
6654
|
-
*
|
|
6655
|
-
* Follows Agent Skills specification: https://agentskills.io/specification
|
|
6594
|
+
* Readme-family source file kind
|
|
6656
6595
|
*
|
|
6657
|
-
*
|
|
6658
|
-
*
|
|
6596
|
+
* - Readme: rdm.mdx → README.md
|
|
6597
|
+
* - CodeOfConduct: coc.mdx → CODE_OF_CONDUCT.md
|
|
6598
|
+
* - Security: security.mdx → SECURITY.md
|
|
6659
6599
|
*/
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
readonly
|
|
6666
|
-
readonly
|
|
6667
|
-
|
|
6668
|
-
|
|
6600
|
+
type ReadmeFileKind = 'Readme' | 'CodeOfConduct' | 'Security';
|
|
6601
|
+
/**
|
|
6602
|
+
* Mapping from ReadmeFileKind to source/output file names
|
|
6603
|
+
*/
|
|
6604
|
+
declare const README_FILE_KIND_MAP: Readonly<Record<ReadmeFileKind, {
|
|
6605
|
+
readonly src: string;
|
|
6606
|
+
readonly out: string;
|
|
6607
|
+
}>>;
|
|
6608
|
+
/**
|
|
6609
|
+
* README-family prompt data structure (README.md, CODE_OF_CONDUCT.md, SECURITY.md)
|
|
6610
|
+
*/
|
|
6611
|
+
interface ReadmePrompt extends Prompt<PromptKind.Readme> {
|
|
6612
|
+
readonly type: PromptKind.Readme;
|
|
6613
|
+
readonly projectName: string;
|
|
6614
|
+
readonly targetDir: RelativePath;
|
|
6615
|
+
readonly isRoot: boolean;
|
|
6616
|
+
readonly fileKind: ReadmeFileKind;
|
|
6669
6617
|
}
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6618
|
+
/**
|
|
6619
|
+
* Supported locale codes
|
|
6620
|
+
*/
|
|
6621
|
+
type Locale = 'zh' | 'en';
|
|
6622
|
+
type LocalizedFileExtension = string | readonly string[];
|
|
6623
|
+
/**
|
|
6624
|
+
* Localized content wrapper for a single locale
|
|
6625
|
+
* Contains both compiled content and raw MDX source
|
|
6626
|
+
*/
|
|
6627
|
+
interface LocalizedContent<T extends Prompt = Prompt> {
|
|
6628
|
+
/** Compiled/processed content */
|
|
6629
|
+
readonly content: string;
|
|
6630
|
+
/** Original MDX source (before compilation) */
|
|
6631
|
+
readonly rawMdx?: string;
|
|
6632
|
+
/** Extracted front matter */
|
|
6633
|
+
readonly frontMatter?: Record<string, unknown>;
|
|
6634
|
+
/** File last modified timestamp */
|
|
6635
|
+
readonly lastModified: Date;
|
|
6636
|
+
/** Full prompt object (optional, for extended access) */
|
|
6637
|
+
readonly prompt?: T;
|
|
6638
|
+
/** Absolute file path */
|
|
6639
|
+
readonly filePath: string;
|
|
6675
6640
|
}
|
|
6676
6641
|
/**
|
|
6677
|
-
*
|
|
6678
|
-
* @see https://kiro.dev/docs/steering
|
|
6642
|
+
* Source content container for all locales
|
|
6679
6643
|
*/
|
|
6680
|
-
interface
|
|
6681
|
-
|
|
6682
|
-
readonly
|
|
6644
|
+
interface LocalizedSource<T extends Prompt = Prompt> {
|
|
6645
|
+
/** Default source content (.src.mdx) */
|
|
6646
|
+
readonly zh?: LocalizedContent<T>;
|
|
6647
|
+
/** English content (.mdx) */
|
|
6648
|
+
readonly en?: LocalizedContent<T>;
|
|
6649
|
+
/** Default locale content (typically zh) */
|
|
6650
|
+
readonly default: LocalizedContent<T>;
|
|
6651
|
+
/** Which locale is the default */
|
|
6652
|
+
readonly defaultLocale: Locale;
|
|
6653
|
+
}
|
|
6654
|
+
/** Universal localized prompt wrapper */
|
|
6655
|
+
interface LocalizedPrompt<T extends Prompt = Prompt, K extends PromptKind = PromptKind> {
|
|
6656
|
+
readonly name: string;
|
|
6657
|
+
readonly type: K;
|
|
6658
|
+
readonly src?: LocalizedSource<T>;
|
|
6659
|
+
readonly dist?: LocalizedContent<T>;
|
|
6660
|
+
/** Metadata flags */
|
|
6661
|
+
readonly metadata: {
|
|
6662
|
+
readonly hasDist: boolean;
|
|
6663
|
+
readonly hasMultipleLocales: boolean;
|
|
6664
|
+
readonly isDirectoryStructure: boolean; /** Available child items (for directory structures) */
|
|
6665
|
+
readonly children?: string[];
|
|
6666
|
+
};
|
|
6667
|
+
/** File paths for all variants */
|
|
6668
|
+
readonly paths: {
|
|
6669
|
+
readonly zh?: string;
|
|
6670
|
+
readonly en?: string;
|
|
6671
|
+
readonly dist?: string;
|
|
6672
|
+
};
|
|
6683
6673
|
}
|
|
6684
6674
|
/**
|
|
6685
|
-
*
|
|
6686
|
-
* @see https://kiro.dev/docs/powers
|
|
6675
|
+
* Options for reading localized prompts from different structures
|
|
6687
6676
|
*/
|
|
6688
|
-
interface
|
|
6689
|
-
|
|
6690
|
-
readonly
|
|
6691
|
-
|
|
6677
|
+
interface LocalizedReadOptions<T extends Prompt, K extends PromptKind> {
|
|
6678
|
+
/** File extensions for each locale */
|
|
6679
|
+
readonly localeExtensions: {
|
|
6680
|
+
readonly zh: LocalizedFileExtension;
|
|
6681
|
+
readonly en: LocalizedFileExtension;
|
|
6682
|
+
};
|
|
6683
|
+
/** Entry file name (without extension, e.g., 'skill' for skills) */
|
|
6684
|
+
readonly entryFileName?: string;
|
|
6685
|
+
/** Whether source contents should be hydrated and compiled in addition to dist */
|
|
6686
|
+
readonly hydrateSourceContents?: boolean;
|
|
6687
|
+
/** Create prompt from content */
|
|
6688
|
+
readonly createPrompt: (content: string, locale: Locale, name: string, metadata?: Record<string, unknown>) => T | Promise<T>;
|
|
6689
|
+
/** Prompt kind */
|
|
6690
|
+
readonly kind: K;
|
|
6691
|
+
/** Whether this is a directory-based structure */
|
|
6692
|
+
readonly isDirectoryStructure: boolean;
|
|
6692
6693
|
}
|
|
6693
6694
|
/**
|
|
6694
|
-
*
|
|
6695
|
+
* Result of reading a directory structure (like skills)
|
|
6695
6696
|
*/
|
|
6696
|
-
interface
|
|
6697
|
-
readonly
|
|
6698
|
-
readonly
|
|
6699
|
-
readonly seriName?: SeriName;
|
|
6697
|
+
interface DirectoryReadResult<T extends Prompt, K extends PromptKind> {
|
|
6698
|
+
readonly prompts: LocalizedPrompt<T, K>[];
|
|
6699
|
+
readonly errors: ReadError[];
|
|
6700
6700
|
}
|
|
6701
6701
|
/**
|
|
6702
|
-
*
|
|
6703
|
-
* Single output target
|
|
6702
|
+
* Error during reading
|
|
6704
6703
|
*/
|
|
6705
|
-
interface
|
|
6706
|
-
readonly
|
|
6707
|
-
readonly
|
|
6704
|
+
interface ReadError {
|
|
6705
|
+
readonly path: string;
|
|
6706
|
+
readonly error: Error;
|
|
6707
|
+
readonly phase: 'scan' | 'read' | 'compile';
|
|
6708
6708
|
} //#endregion
|
|
6709
|
+
//#region src/execution-plan.d.ts
|
|
6710
|
+
type ExecutionScope = 'workspace' | 'project' | 'external' | 'unsupported';
|
|
6711
|
+
interface ExecutionPlanProjectSummary {
|
|
6712
|
+
readonly name: string;
|
|
6713
|
+
readonly rootDir: string;
|
|
6714
|
+
readonly series?: AindexProjectSeriesName;
|
|
6715
|
+
}
|
|
6716
|
+
interface ExecutionPlanProjectsBySeries {
|
|
6717
|
+
readonly app: readonly ExecutionPlanProjectSummary[];
|
|
6718
|
+
readonly ext: readonly ExecutionPlanProjectSummary[];
|
|
6719
|
+
readonly arch: readonly ExecutionPlanProjectSummary[];
|
|
6720
|
+
readonly softwares: readonly ExecutionPlanProjectSummary[];
|
|
6721
|
+
}
|
|
6722
|
+
interface ExecutionPlanBase {
|
|
6723
|
+
readonly cwd: string;
|
|
6724
|
+
readonly workspaceDir: string;
|
|
6725
|
+
readonly projectsBySeries: ExecutionPlanProjectsBySeries;
|
|
6726
|
+
}
|
|
6727
|
+
interface WorkspaceExecutionPlan extends ExecutionPlanBase {
|
|
6728
|
+
readonly scope: 'workspace';
|
|
6729
|
+
}
|
|
6730
|
+
interface ProjectExecutionPlan extends ExecutionPlanBase {
|
|
6731
|
+
readonly scope: 'project';
|
|
6732
|
+
readonly matchedProject: ExecutionPlanProjectSummary;
|
|
6733
|
+
}
|
|
6734
|
+
interface ExternalExecutionPlan extends ExecutionPlanBase {
|
|
6735
|
+
readonly scope: 'external';
|
|
6736
|
+
}
|
|
6737
|
+
interface UnsupportedExecutionPlan extends ExecutionPlanBase {
|
|
6738
|
+
readonly scope: 'unsupported';
|
|
6739
|
+
readonly managedProjects: readonly ExecutionPlanProjectSummary[];
|
|
6740
|
+
}
|
|
6741
|
+
type ExecutionPlan = WorkspaceExecutionPlan | ProjectExecutionPlan | ExternalExecutionPlan | UnsupportedExecutionPlan;
|
|
6742
|
+
interface PathScopedEntry {
|
|
6743
|
+
readonly path: string;
|
|
6744
|
+
readonly scope?: string;
|
|
6745
|
+
}
|
|
6746
|
+
declare function createEmptyExecutionPlanProjectsBySeries(): ExecutionPlanProjectsBySeries;
|
|
6747
|
+
declare function resolveExecutionPlan(context: OutputCollectedContext, executionCwd: string): ExecutionPlan;
|
|
6748
|
+
declare function filterPathScopedEntriesForExecutionPlan<T extends PathScopedEntry>(entries: readonly T[], plan: ExecutionPlan | undefined, context: OutputCollectedContext): T[]; //#endregion
|
|
6709
6749
|
//#region src/plugins/plugin-core/ExportMetadataTypes.d.ts
|
|
6710
6750
|
/**
|
|
6711
6751
|
* Base export metadata interface
|
|
@@ -7092,6 +7132,7 @@ interface OutputPluginContext {
|
|
|
7092
7132
|
readonly collectedOutputContext: OutputCollectedContext;
|
|
7093
7133
|
readonly pluginOptions?: PluginOptions;
|
|
7094
7134
|
readonly runtimeTargets: OutputRuntimeTargets;
|
|
7135
|
+
readonly executionPlan: ExecutionPlan;
|
|
7095
7136
|
}
|
|
7096
7137
|
/**
|
|
7097
7138
|
* Context for output cleaning operations
|
|
@@ -7846,7 +7887,8 @@ declare const GlobalConfigDirs: {
|
|
|
7846
7887
|
};
|
|
7847
7888
|
declare const IgnoreFiles: {
|
|
7848
7889
|
readonly CURSOR: ".cursorignore";
|
|
7849
|
-
readonly WINDSURF: ".
|
|
7890
|
+
readonly WINDSURF: ".codeignore";
|
|
7891
|
+
readonly WINDSURF_LEGACY: ".codeiumignore";
|
|
7850
7892
|
};
|
|
7851
7893
|
declare const PreservedSkills: {
|
|
7852
7894
|
readonly CURSOR: Set<string>;
|
|
@@ -8087,6 +8129,7 @@ interface PipelineConfig {
|
|
|
8087
8129
|
readonly context: OutputCollectedContext;
|
|
8088
8130
|
readonly outputPlugins: readonly OutputPlugin[];
|
|
8089
8131
|
readonly userConfigOptions: Required<PluginOptions>;
|
|
8132
|
+
readonly executionPlan: ExecutionPlan;
|
|
8090
8133
|
}
|
|
8091
8134
|
/**
|
|
8092
8135
|
* Convert UserConfigFile to PluginOptions
|
|
@@ -8101,6 +8144,7 @@ interface DefineConfigOptions {
|
|
|
8101
8144
|
readonly configLoaderOptions?: ConfigLoaderOptions;
|
|
8102
8145
|
readonly loadUserConfig?: boolean;
|
|
8103
8146
|
readonly cwd?: string;
|
|
8147
|
+
readonly executionCwd?: string;
|
|
8104
8148
|
readonly runtimeCommand?: RuntimeCommand;
|
|
8105
8149
|
}
|
|
8106
8150
|
/**
|
|
@@ -8349,10 +8393,12 @@ declare class GeminiCLIOutputPlugin extends AbstractOutputPlugin {
|
|
|
8349
8393
|
declare class GitExcludeOutputPlugin extends AbstractOutputPlugin {
|
|
8350
8394
|
constructor();
|
|
8351
8395
|
declareOutputFiles(ctx: OutputWriteContext): Promise<OutputFileDeclaration[]>;
|
|
8396
|
+
declareCleanupPaths(ctx: OutputCleanContext): Promise<OutputCleanupDeclarations>;
|
|
8352
8397
|
convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
|
|
8353
8398
|
private buildManagedContent;
|
|
8354
8399
|
private sanitizeContent;
|
|
8355
8400
|
private normalizeContent;
|
|
8401
|
+
private collectManagedExcludePaths;
|
|
8356
8402
|
} //#endregion
|
|
8357
8403
|
//#region src/plugins/JetBrainsAIAssistantCodexOutputPlugin.d.ts
|
|
8358
8404
|
declare class JetBrainsAIAssistantCodexOutputPlugin extends AbstractOutputPlugin {
|
|
@@ -8376,6 +8422,10 @@ declare class JetBrainsIDECodeStyleConfigOutputPlugin extends AbstractOutputPlug
|
|
|
8376
8422
|
convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string>;
|
|
8377
8423
|
private getTargetRelativePath;
|
|
8378
8424
|
} //#endregion
|
|
8425
|
+
//#region src/plugins/KiroCLIOutputPlugin.d.ts
|
|
8426
|
+
declare class KiroCLIOutputPlugin extends AbstractOutputPlugin {
|
|
8427
|
+
constructor();
|
|
8428
|
+
} //#endregion
|
|
8379
8429
|
//#region src/plugins/CodexCLIOutputPlugin.d.ts
|
|
8380
8430
|
declare class CodexCLIOutputPlugin extends AbstractOutputPlugin {
|
|
8381
8431
|
constructor();
|
|
@@ -8386,6 +8436,8 @@ declare class CodexCLIOutputPlugin extends AbstractOutputPlugin {
|
|
|
8386
8436
|
* built-in `.system/` subtree.
|
|
8387
8437
|
*/
|
|
8388
8438
|
declareCleanupPaths(ctx: OutputCleanContext): Promise<OutputCleanupDeclarations>;
|
|
8439
|
+
declareOutputFiles(ctx: OutputWriteContext): Promise<OutputFileDeclaration[]>;
|
|
8440
|
+
convertContent(declaration: OutputFileDeclaration, ctx: OutputWriteContext): Promise<string | Buffer>;
|
|
8389
8441
|
} //#endregion
|
|
8390
8442
|
//#region src/plugins/OpencodeCLIOutputPlugin.d.ts
|
|
8391
8443
|
declare class OpencodeCLIOutputPlugin extends AbstractOutputPlugin {
|
|
@@ -8712,6 +8764,6 @@ declare function syncWindowsConfigIntoWsl(outputPlugins: readonly OutputPlugin[]
|
|
|
8712
8764
|
//#endregion
|
|
8713
8765
|
//#region src/plugin.config.d.ts
|
|
8714
8766
|
declare function resolveRuntimeCommandFromArgv(argv?: readonly string[]): RuntimeCommand;
|
|
8715
|
-
declare function createDefaultPluginConfig(argv?: readonly string[], runtimeCommand?: RuntimeCommand): Promise<PipelineConfig>;
|
|
8767
|
+
declare function createDefaultPluginConfig(argv?: readonly string[], runtimeCommand?: RuntimeCommand, executionCwd?: string): Promise<PipelineConfig>;
|
|
8716
8768
|
//#endregion
|
|
8717
|
-
export { AIAgentIgnoreConfigFile, AINDEX_CONFIG_DIRECTORY_PAIR_KEYS, AINDEX_CONFIG_FILE_PAIR_KEYS, AINDEX_CONFIG_KEY_PATHS, 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, AindexConfigKeyPath, 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, 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, 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, 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, UpsertPromptSourceInput, UserConfigFile, ValidateMetadataOptions, VersionControlCheckResult, VisualStudioCodeIDEConfigOutputPlugin, WORKSPACE_ROOT_PROJECT_NAME, WarpIDEOutputPlugin, WindowsOptions, WindowsWsl2Options, WindsurfOutputPlugin, Workspace, 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, createLocalizedPromptReader, createLogger, defineConfig, deriveSubAgentIdentity, diagnosticLines, discoverOutputRuntimeTargets, drainBufferedDiagnostics, executeDeclarativeWriteOutputs, filterByProjectConfig, findAllGitRepos, findGitModuleInfoDirs, flattenPromptPath, flushOutput, generateAindex, getConfigLoader, getGlobalConfigPath, getGlobalLogLevel, getPrompt, getRequiredGlobalConfigPath, hasNativeCleanupBinding, hasSourcePromptExtension,
|
|
8769
|
+
export { AIAgentIgnoreConfigFile, AINDEX_CONFIG_DIRECTORY_PAIR_KEYS, AINDEX_CONFIG_FILE_PAIR_KEYS, AINDEX_CONFIG_KEY_PATHS, 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, AindexConfigKeyPath, 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 };
|