@hasna/instructions 0.4.29 → 0.4.30
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/cli/index.js +3848 -2068
- package/dist/cli/profile-binding.test.d.ts +2 -0
- package/dist/cli/profile-binding.test.d.ts.map +1 -0
- package/dist/data/config-store.d.ts +19 -1
- package/dist/data/config-store.d.ts.map +1 -1
- package/dist/db/database.d.ts.map +1 -1
- package/dist/db/pg-migrations.d.ts.map +1 -1
- package/dist/db/profile-assets.test.d.ts +2 -0
- package/dist/db/profile-assets.test.d.ts.map +1 -0
- package/dist/db/profile-config-bindings.test.d.ts +2 -0
- package/dist/db/profile-config-bindings.test.d.ts.map +1 -0
- package/dist/db/profiles.d.ts +8 -2
- package/dist/db/profiles.d.ts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6029 -4354
- package/dist/lib/asset-plan.d.ts +117 -0
- package/dist/lib/asset-plan.d.ts.map +1 -0
- package/dist/lib/asset-plan.test.d.ts +2 -0
- package/dist/lib/asset-plan.test.d.ts.map +1 -0
- package/dist/lib/cursor-authority.d.ts +54 -0
- package/dist/lib/cursor-authority.d.ts.map +1 -0
- package/dist/lib/cursor-authority.test.d.ts +2 -0
- package/dist/lib/cursor-authority.test.d.ts.map +1 -0
- package/dist/lib/instruction-graph-apply.test.d.ts +2 -0
- package/dist/lib/instruction-graph-apply.test.d.ts.map +1 -0
- package/dist/lib/instruction-graph.d.ts +116 -0
- package/dist/lib/instruction-graph.d.ts.map +1 -0
- package/dist/lib/instruction-graph.test.d.ts +2 -0
- package/dist/lib/instruction-graph.test.d.ts.map +1 -0
- package/dist/lib/project-context.d.ts +18 -18
- package/dist/lib/provider-assets-adapters.test.d.ts +2 -0
- package/dist/lib/provider-assets-adapters.test.d.ts.map +1 -0
- package/dist/lib/provider-version-adapters.test.d.ts +2 -0
- package/dist/lib/provider-version-adapters.test.d.ts.map +1 -0
- package/dist/lib/provider-version.d.ts +2 -0
- package/dist/lib/provider-version.d.ts.map +1 -0
- package/dist/lib/session-apply.d.ts +7 -0
- package/dist/lib/session-apply.d.ts.map +1 -1
- package/dist/lib/session-render.d.ts +64 -3
- package/dist/lib/session-render.d.ts.map +1 -1
- package/dist/lib/sync.d.ts.map +1 -1
- package/dist/mcp/index.js +3563 -2954
- package/dist/server/index.js +5418 -245
- package/dist/server/openapi.d.ts +419 -0
- package/dist/server/openapi.d.ts.map +1 -1
- package/dist/server/v1.d.ts.map +1 -1
- package/dist/storage/cloud-store.d.ts +7 -1
- package/dist/storage/cloud-store.d.ts.map +1 -1
- package/dist/storage/schema.d.ts.map +1 -1
- package/dist/types/index.d.ts +81 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/server/openapi.d.ts
CHANGED
|
@@ -207,6 +207,190 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
|
+
ProfileConfigBindingSpec: {
|
|
211
|
+
type: string;
|
|
212
|
+
required: string[];
|
|
213
|
+
properties: {
|
|
214
|
+
schema: {
|
|
215
|
+
type: string;
|
|
216
|
+
const: string;
|
|
217
|
+
};
|
|
218
|
+
activation: {
|
|
219
|
+
type: string;
|
|
220
|
+
};
|
|
221
|
+
required: {
|
|
222
|
+
type: string;
|
|
223
|
+
};
|
|
224
|
+
fallback: {
|
|
225
|
+
type: string;
|
|
226
|
+
enum: string[];
|
|
227
|
+
};
|
|
228
|
+
providers: {
|
|
229
|
+
type: string;
|
|
230
|
+
items: {
|
|
231
|
+
type: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
depends_on: {
|
|
235
|
+
type: string;
|
|
236
|
+
items: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
replaces: {
|
|
241
|
+
type: string;
|
|
242
|
+
items: {
|
|
243
|
+
type: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
conflicts_with: {
|
|
247
|
+
type: string;
|
|
248
|
+
items: {
|
|
249
|
+
type: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
ProfileConfigBinding: {
|
|
255
|
+
type: string;
|
|
256
|
+
required: string[];
|
|
257
|
+
properties: {
|
|
258
|
+
profile_id: {
|
|
259
|
+
type: string;
|
|
260
|
+
};
|
|
261
|
+
config_id: {
|
|
262
|
+
type: string;
|
|
263
|
+
};
|
|
264
|
+
sort_order: {
|
|
265
|
+
type: string;
|
|
266
|
+
};
|
|
267
|
+
binding: {
|
|
268
|
+
$ref: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
ProfileAssetBindingSpec: {
|
|
273
|
+
type: string;
|
|
274
|
+
required: string[];
|
|
275
|
+
properties: {
|
|
276
|
+
schema: {
|
|
277
|
+
type: string;
|
|
278
|
+
const: string;
|
|
279
|
+
};
|
|
280
|
+
assetKey: {
|
|
281
|
+
type: string;
|
|
282
|
+
minLength: number;
|
|
283
|
+
};
|
|
284
|
+
kind: {
|
|
285
|
+
type: string;
|
|
286
|
+
enum: string[];
|
|
287
|
+
};
|
|
288
|
+
enabled: {
|
|
289
|
+
type: string;
|
|
290
|
+
};
|
|
291
|
+
required: {
|
|
292
|
+
type: string;
|
|
293
|
+
};
|
|
294
|
+
selector: {
|
|
295
|
+
type: string;
|
|
296
|
+
required: string[];
|
|
297
|
+
properties: {
|
|
298
|
+
provider: {
|
|
299
|
+
type: string;
|
|
300
|
+
};
|
|
301
|
+
versionRange: {
|
|
302
|
+
type: string;
|
|
303
|
+
};
|
|
304
|
+
surface: {
|
|
305
|
+
type: string;
|
|
306
|
+
};
|
|
307
|
+
scope: {
|
|
308
|
+
type: string;
|
|
309
|
+
enum: string[];
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
source: {
|
|
314
|
+
type: string;
|
|
315
|
+
required: string[];
|
|
316
|
+
properties: {
|
|
317
|
+
kind: {
|
|
318
|
+
type: string;
|
|
319
|
+
enum: string[];
|
|
320
|
+
};
|
|
321
|
+
locator: {
|
|
322
|
+
type: string;
|
|
323
|
+
};
|
|
324
|
+
digest: {
|
|
325
|
+
type: string;
|
|
326
|
+
pattern: string;
|
|
327
|
+
};
|
|
328
|
+
immutable: {
|
|
329
|
+
type: string;
|
|
330
|
+
};
|
|
331
|
+
allowed: {
|
|
332
|
+
type: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
destination: {
|
|
337
|
+
type: string;
|
|
338
|
+
required: string[];
|
|
339
|
+
properties: {
|
|
340
|
+
strategy: {
|
|
341
|
+
type: string;
|
|
342
|
+
enum: string[];
|
|
343
|
+
};
|
|
344
|
+
root: {
|
|
345
|
+
type: string;
|
|
346
|
+
enum: string[];
|
|
347
|
+
};
|
|
348
|
+
relativePath: {
|
|
349
|
+
type: string;
|
|
350
|
+
minLength: number;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
uninstall: {
|
|
355
|
+
type: string;
|
|
356
|
+
enum: string[];
|
|
357
|
+
};
|
|
358
|
+
rollback: {
|
|
359
|
+
type: string;
|
|
360
|
+
enum: string[];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
ProfileAssetBinding: {
|
|
365
|
+
type: string;
|
|
366
|
+
required: string[];
|
|
367
|
+
properties: {
|
|
368
|
+
profile_id: {
|
|
369
|
+
type: string;
|
|
370
|
+
};
|
|
371
|
+
source_config_id: {
|
|
372
|
+
type: string;
|
|
373
|
+
};
|
|
374
|
+
sort_order: {
|
|
375
|
+
type: string;
|
|
376
|
+
};
|
|
377
|
+
binding: {
|
|
378
|
+
$ref: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
AddProfileAssetInput: {
|
|
383
|
+
type: string;
|
|
384
|
+
required: string[];
|
|
385
|
+
properties: {
|
|
386
|
+
source_config_id: {
|
|
387
|
+
type: string;
|
|
388
|
+
};
|
|
389
|
+
binding: {
|
|
390
|
+
$ref: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
210
394
|
ProfileConfigAddedResponse: {
|
|
211
395
|
type: string;
|
|
212
396
|
required: string[];
|
|
@@ -846,6 +1030,53 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
846
1030
|
};
|
|
847
1031
|
};
|
|
848
1032
|
"/v1/profiles/{id}/configs/{configId}": {
|
|
1033
|
+
put: {
|
|
1034
|
+
operationId: string;
|
|
1035
|
+
summary: string;
|
|
1036
|
+
security: {
|
|
1037
|
+
apiKey: never[];
|
|
1038
|
+
}[];
|
|
1039
|
+
parameters: {
|
|
1040
|
+
name: string;
|
|
1041
|
+
in: string;
|
|
1042
|
+
required: boolean;
|
|
1043
|
+
schema: {
|
|
1044
|
+
type: string;
|
|
1045
|
+
};
|
|
1046
|
+
}[];
|
|
1047
|
+
requestBody: {
|
|
1048
|
+
required: boolean;
|
|
1049
|
+
content: {
|
|
1050
|
+
"application/json": {
|
|
1051
|
+
schema: {
|
|
1052
|
+
type: string;
|
|
1053
|
+
required: string[];
|
|
1054
|
+
properties: {
|
|
1055
|
+
binding: {
|
|
1056
|
+
$ref: string;
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
responses: {
|
|
1064
|
+
"200": {
|
|
1065
|
+
content: {
|
|
1066
|
+
"application/json": {
|
|
1067
|
+
schema: {
|
|
1068
|
+
type: string;
|
|
1069
|
+
properties: {
|
|
1070
|
+
binding: {
|
|
1071
|
+
$ref: string;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
849
1080
|
delete: {
|
|
850
1081
|
operationId: string;
|
|
851
1082
|
summary: string;
|
|
@@ -874,6 +1105,194 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
874
1105
|
};
|
|
875
1106
|
};
|
|
876
1107
|
};
|
|
1108
|
+
"/v1/profiles/{id}/bindings": {
|
|
1109
|
+
get: {
|
|
1110
|
+
operationId: string;
|
|
1111
|
+
summary: string;
|
|
1112
|
+
parameters: {
|
|
1113
|
+
name: string;
|
|
1114
|
+
in: string;
|
|
1115
|
+
required: boolean;
|
|
1116
|
+
schema: {
|
|
1117
|
+
type: string;
|
|
1118
|
+
};
|
|
1119
|
+
}[];
|
|
1120
|
+
responses: {
|
|
1121
|
+
"200": {
|
|
1122
|
+
content: {
|
|
1123
|
+
"application/json": {
|
|
1124
|
+
schema: {
|
|
1125
|
+
type: string;
|
|
1126
|
+
properties: {
|
|
1127
|
+
bindings: {
|
|
1128
|
+
type: string;
|
|
1129
|
+
items: {
|
|
1130
|
+
$ref: string;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
"/v1/profiles/{id}/assets": {
|
|
1142
|
+
get: {
|
|
1143
|
+
operationId: string;
|
|
1144
|
+
summary: string;
|
|
1145
|
+
parameters: {
|
|
1146
|
+
name: string;
|
|
1147
|
+
in: string;
|
|
1148
|
+
required: boolean;
|
|
1149
|
+
schema: {
|
|
1150
|
+
type: string;
|
|
1151
|
+
};
|
|
1152
|
+
}[];
|
|
1153
|
+
responses: {
|
|
1154
|
+
"200": {
|
|
1155
|
+
content: {
|
|
1156
|
+
"application/json": {
|
|
1157
|
+
schema: {
|
|
1158
|
+
type: string;
|
|
1159
|
+
properties: {
|
|
1160
|
+
assets: {
|
|
1161
|
+
type: string;
|
|
1162
|
+
items: {
|
|
1163
|
+
$ref: string;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
post: {
|
|
1174
|
+
operationId: string;
|
|
1175
|
+
summary: string;
|
|
1176
|
+
security: {
|
|
1177
|
+
apiKey: never[];
|
|
1178
|
+
}[];
|
|
1179
|
+
parameters: {
|
|
1180
|
+
name: string;
|
|
1181
|
+
in: string;
|
|
1182
|
+
required: boolean;
|
|
1183
|
+
schema: {
|
|
1184
|
+
type: string;
|
|
1185
|
+
};
|
|
1186
|
+
}[];
|
|
1187
|
+
requestBody: {
|
|
1188
|
+
required: boolean;
|
|
1189
|
+
content: {
|
|
1190
|
+
"application/json": {
|
|
1191
|
+
schema: {
|
|
1192
|
+
$ref: string;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
responses: {
|
|
1198
|
+
"201": {
|
|
1199
|
+
content: {
|
|
1200
|
+
"application/json": {
|
|
1201
|
+
schema: {
|
|
1202
|
+
type: string;
|
|
1203
|
+
properties: {
|
|
1204
|
+
asset: {
|
|
1205
|
+
$ref: string;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
"/v1/profiles/{id}/assets/{assetKey}": {
|
|
1216
|
+
put: {
|
|
1217
|
+
operationId: string;
|
|
1218
|
+
summary: string;
|
|
1219
|
+
security: {
|
|
1220
|
+
apiKey: never[];
|
|
1221
|
+
}[];
|
|
1222
|
+
parameters: {
|
|
1223
|
+
name: string;
|
|
1224
|
+
in: string;
|
|
1225
|
+
required: boolean;
|
|
1226
|
+
schema: {
|
|
1227
|
+
type: string;
|
|
1228
|
+
};
|
|
1229
|
+
}[];
|
|
1230
|
+
requestBody: {
|
|
1231
|
+
required: boolean;
|
|
1232
|
+
content: {
|
|
1233
|
+
"application/json": {
|
|
1234
|
+
schema: {
|
|
1235
|
+
type: string;
|
|
1236
|
+
required: string[];
|
|
1237
|
+
properties: {
|
|
1238
|
+
binding: {
|
|
1239
|
+
$ref: string;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
responses: {
|
|
1247
|
+
"200": {
|
|
1248
|
+
content: {
|
|
1249
|
+
"application/json": {
|
|
1250
|
+
schema: {
|
|
1251
|
+
type: string;
|
|
1252
|
+
properties: {
|
|
1253
|
+
asset: {
|
|
1254
|
+
$ref: string;
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
delete: {
|
|
1264
|
+
operationId: string;
|
|
1265
|
+
summary: string;
|
|
1266
|
+
security: {
|
|
1267
|
+
apiKey: never[];
|
|
1268
|
+
}[];
|
|
1269
|
+
parameters: {
|
|
1270
|
+
name: string;
|
|
1271
|
+
in: string;
|
|
1272
|
+
required: boolean;
|
|
1273
|
+
schema: {
|
|
1274
|
+
type: string;
|
|
1275
|
+
};
|
|
1276
|
+
}[];
|
|
1277
|
+
responses: {
|
|
1278
|
+
"200": {
|
|
1279
|
+
content: {
|
|
1280
|
+
"application/json": {
|
|
1281
|
+
schema: {
|
|
1282
|
+
type: string;
|
|
1283
|
+
properties: {
|
|
1284
|
+
removed: {
|
|
1285
|
+
type: string;
|
|
1286
|
+
const: boolean;
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
877
1296
|
"/v1/stats": {
|
|
878
1297
|
get: {
|
|
879
1298
|
operationId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/server/openapi.ts"],"names":[],"mappings":"AA4CA,wBAAgB,sBAAsB,CAAC,OAAO,SAAsB
|
|
1
|
+
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/server/openapi.ts"],"names":[],"mappings":"AA4CA,wBAAgB,sBAAsB,CAAC,OAAO,SAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqgBnE"}
|
package/dist/server/v1.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/server/v1.ts"],"names":[],"mappings":"AAgDA;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/server/v1.ts"],"names":[],"mappings":"AAgDA;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAiRtF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TypedQueryClient } from "../generated/storage-kit/index.js";
|
|
2
|
-
import { type Config, type ConfigFilter, type ConfigSnapshot, type CreateConfigInput, type CreateProfileInput, type Machine, type Profile, type BoundedReadOptions, type BoundedReadPage, type ProfileResolutionRead, type UpdateConfigInput, type UpdateProfileInput } from "../types/index.js";
|
|
2
|
+
import { type Config, type ConfigFilter, type ConfigSnapshot, type CreateConfigInput, type CreateProfileInput, type Machine, type Profile, type BoundedReadOptions, type BoundedReadPage, type ProfileResolutionRead, type UpdateConfigInput, type UpdateProfileInput, type ProfileConfigBinding, type ProfileConfigBindingSpec, type ProfileAssetBinding, type ProfileAssetBindingSpec } from "../types/index.js";
|
|
3
3
|
export declare function listConfigs(client: TypedQueryClient, filter?: ConfigFilter): Promise<Config[]>;
|
|
4
4
|
export declare function getConfig(client: TypedQueryClient, idOrSlug: string): Promise<Config>;
|
|
5
5
|
export declare function createConfig(client: TypedQueryClient, input: CreateConfigInput): Promise<Config>;
|
|
@@ -21,7 +21,13 @@ export declare function createProfile(client: TypedQueryClient, input: CreatePro
|
|
|
21
21
|
export declare function updateProfile(client: TypedQueryClient, idOrSlug: string, input: UpdateProfileInput): Promise<Profile>;
|
|
22
22
|
export declare function deleteProfile(client: TypedQueryClient, idOrSlug: string): Promise<void>;
|
|
23
23
|
export declare function addConfigToProfile(client: TypedQueryClient, profileIdOrSlug: string, configId: string): Promise<void>;
|
|
24
|
+
export declare function getProfileConfigBindings(client: TypedQueryClient, profileIdOrSlug: string): Promise<ProfileConfigBinding[]>;
|
|
25
|
+
export declare function setProfileConfigBinding(client: TypedQueryClient, profileIdOrSlug: string, configId: string, binding: ProfileConfigBindingSpec): Promise<ProfileConfigBinding>;
|
|
24
26
|
export declare function removeConfigFromProfile(client: TypedQueryClient, profileIdOrSlug: string, configId: string): Promise<void>;
|
|
27
|
+
export declare function addAssetToProfile(client: TypedQueryClient, profileIdOrSlug: string, sourceConfigId: string, binding: ProfileAssetBindingSpec): Promise<ProfileAssetBinding>;
|
|
28
|
+
export declare function setProfileAssetBinding(client: TypedQueryClient, profileIdOrSlug: string, assetKey: string, binding: ProfileAssetBindingSpec): Promise<ProfileAssetBinding>;
|
|
29
|
+
export declare function getProfileAssetBindings(client: TypedQueryClient, profileIdOrSlug: string): Promise<ProfileAssetBinding[]>;
|
|
30
|
+
export declare function removeAssetFromProfile(client: TypedQueryClient, profileIdOrSlug: string, assetKey: string): Promise<void>;
|
|
25
31
|
export declare function resolveProfileForMachine(client: TypedQueryClient, machine: {
|
|
26
32
|
hostname?: string;
|
|
27
33
|
os?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-store.d.ts","sourceRoot":"","sources":["../../src/storage/cloud-store.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,YAAY,EAEjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,OAAO,EAGZ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"cloud-store.d.ts","sourceRoot":"","sources":["../../src/storage/cloud-store.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,YAAY,EAEjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,OAAO,EAGZ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACx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|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/storage/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,4EAA4E;AAC5E,wBAAgB,qBAAqB,IAAI,MAAM,EAAE,CA2EhD"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const CONFIG_KINDS: readonly ["file", "reference"];
|
|
|
2
2
|
export type ConfigKind = (typeof CONFIG_KINDS)[number];
|
|
3
3
|
export declare const CONFIG_CATEGORIES: readonly ["agent", "rules", "mcp", "shell", "secrets_schema", "workspace", "git", "tools"];
|
|
4
4
|
export type ConfigCategory = (typeof CONFIG_CATEGORIES)[number];
|
|
5
|
-
export declare const CONFIG_AGENTS: readonly ["claude", "codex", "opencode", "cursor", "codewith", "aicopilot", "antigravity", "qwen", "zsh", "git", "npm", "global"];
|
|
5
|
+
export declare const CONFIG_AGENTS: readonly ["claude", "codex", "opencode", "cursor", "codewith", "aicopilot", "antigravity", "qwen", "grok", "copilot", "devin", "windsurf-legacy", "cline", "zsh", "git", "npm", "global"];
|
|
6
6
|
export type ConfigAgent = (typeof CONFIG_AGENTS)[number];
|
|
7
7
|
export declare const CONFIG_TRANSFORMS: readonly ["passthrough", "claude-passthrough", "codex-flat", "opencode-flat", "cursor-mdc", "skill-neutral"];
|
|
8
8
|
export type ConfigTransform = (typeof CONFIG_TRANSFORMS)[number];
|
|
@@ -155,6 +155,86 @@ export interface ProfileResolutionRead {
|
|
|
155
155
|
complete: true;
|
|
156
156
|
truncated: false;
|
|
157
157
|
}
|
|
158
|
+
export declare const PROFILE_CONFIG_BINDING_SCHEMA: "hasna.instructions.profile-config-binding/v1";
|
|
159
|
+
export declare const INSTRUCTION_ACTIVATION_MODES: readonly ["always", "glob", "model", "manual"];
|
|
160
|
+
export type InstructionActivationMode = (typeof INSTRUCTION_ACTIVATION_MODES)[number];
|
|
161
|
+
export declare const INSTRUCTION_FALLBACKS: readonly ["fail", "flatten", "promote-always", "omit"];
|
|
162
|
+
export type InstructionFallback = (typeof INSTRUCTION_FALLBACKS)[number];
|
|
163
|
+
export interface InstructionActivation {
|
|
164
|
+
mode: InstructionActivationMode;
|
|
165
|
+
globs?: string[];
|
|
166
|
+
models?: string[];
|
|
167
|
+
description?: string;
|
|
168
|
+
directory_scope?: string;
|
|
169
|
+
}
|
|
170
|
+
export interface InstructionProviderSelector {
|
|
171
|
+
provider: ConfigAgent;
|
|
172
|
+
version_range?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface ProfileConfigBindingSpec {
|
|
175
|
+
schema: typeof PROFILE_CONFIG_BINDING_SCHEMA;
|
|
176
|
+
activation: InstructionActivation;
|
|
177
|
+
required: boolean;
|
|
178
|
+
fallback: InstructionFallback;
|
|
179
|
+
providers?: InstructionProviderSelector[];
|
|
180
|
+
depends_on?: string[];
|
|
181
|
+
replaces?: string[];
|
|
182
|
+
conflicts_with?: string[];
|
|
183
|
+
}
|
|
184
|
+
export interface ProfileConfigBinding {
|
|
185
|
+
profile_id: string;
|
|
186
|
+
config_id: string;
|
|
187
|
+
sort_order: number;
|
|
188
|
+
binding: ProfileConfigBindingSpec;
|
|
189
|
+
}
|
|
190
|
+
export declare const PROFILE_ASSET_BINDING_SCHEMA: "hasna.instructions.profile-asset-binding/v1";
|
|
191
|
+
export declare const ASSET_KINDS: readonly ["skill", "workflow", "plugin", "extension", "hook", "custom-agent"];
|
|
192
|
+
export type AssetKind = (typeof ASSET_KINDS)[number];
|
|
193
|
+
export declare const ASSET_DESTINATION_STRATEGIES: readonly ["emit-file", "install-local", "install-marketplace", "unsupported"];
|
|
194
|
+
export type AssetDestinationStrategy = (typeof ASSET_DESTINATION_STRATEGIES)[number];
|
|
195
|
+
export declare const ASSET_SCOPES: readonly ["global", "project", "session"];
|
|
196
|
+
export type AssetScope = (typeof ASSET_SCOPES)[number];
|
|
197
|
+
export declare const ASSET_UNINSTALL_POLICIES: readonly ["remove-managed", "retain"];
|
|
198
|
+
export type AssetUninstallPolicy = (typeof ASSET_UNINSTALL_POLICIES)[number];
|
|
199
|
+
export declare const ASSET_ROLLBACK_POLICIES: readonly ["snapshot", "installer-receipt", "none"];
|
|
200
|
+
export type AssetRollbackPolicy = (typeof ASSET_ROLLBACK_POLICIES)[number];
|
|
201
|
+
export interface AssetProviderSelector {
|
|
202
|
+
provider: ConfigAgent;
|
|
203
|
+
versionRange: string;
|
|
204
|
+
surface: string;
|
|
205
|
+
scope: AssetScope;
|
|
206
|
+
}
|
|
207
|
+
export interface AssetSourceSpec {
|
|
208
|
+
kind: AssetKind;
|
|
209
|
+
locator: string;
|
|
210
|
+
digest: string;
|
|
211
|
+
immutable: boolean;
|
|
212
|
+
allowed: boolean;
|
|
213
|
+
}
|
|
214
|
+
export interface AssetDestinationSpec {
|
|
215
|
+
strategy: AssetDestinationStrategy;
|
|
216
|
+
root: "target-home" | "project-root";
|
|
217
|
+
relativePath: string;
|
|
218
|
+
}
|
|
219
|
+
export interface ProfileAssetBindingSpec {
|
|
220
|
+
schema: typeof PROFILE_ASSET_BINDING_SCHEMA;
|
|
221
|
+
assetKey: string;
|
|
222
|
+
kind: AssetKind;
|
|
223
|
+
enabled: boolean;
|
|
224
|
+
required: boolean;
|
|
225
|
+
selector: AssetProviderSelector;
|
|
226
|
+
source: AssetSourceSpec;
|
|
227
|
+
destination: AssetDestinationSpec;
|
|
228
|
+
uninstall: AssetUninstallPolicy;
|
|
229
|
+
rollback: AssetRollbackPolicy;
|
|
230
|
+
}
|
|
231
|
+
export interface ProfileAssetBinding {
|
|
232
|
+
profile_id: string;
|
|
233
|
+
source_config_id: string;
|
|
234
|
+
sort_order: number;
|
|
235
|
+
binding: ProfileAssetBindingSpec;
|
|
236
|
+
}
|
|
237
|
+
/** @deprecated Use ProfileConfigBinding for persisted profile membership. */
|
|
158
238
|
export interface ProfileConfig {
|
|
159
239
|
profile_id: string;
|
|
160
240
|
config_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY,gCAAiC,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAGvD,eAAO,MAAM,iBAAiB,4FASpB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAGhE,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY,gCAAiC,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAGvD,eAAO,MAAM,iBAAiB,4FASpB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAGhE,eAAO,MAAM,aAAa,2LAkBhB,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAGzD,eAAO,MAAM,iBAAiB,8GAOpB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,eAAe,CAAC;CAC5B;AAGD,eAAO,MAAM,cAAc,8DAOjB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAG3D,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAA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,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/instructions",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.30",
|
|
4
4
|
"description": "AI coding agent instruction & configuration manager \u2014 store, version, apply, and share all your AI coding configs. CLI + MCP + HTTP API (instructions-serve) + generated SDK + Dashboard.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|