@skillcdn/console 0.1.24 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/api.d.ts +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +64 -65
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts +4 -28
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +7 -261
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +6 -6
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/pack.d.ts +46 -0
- package/dist/cli/pack.d.ts.map +1 -0
- package/dist/cli/pack.js +250 -0
- package/dist/cli/pack.js.map +1 -0
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +1 -1
- package/dist/components/decision-list.d.ts +13 -1
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +74 -29
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/paged.d.ts +24 -0
- package/dist/components/paged.d.ts.map +1 -1
- package/dist/components/paged.js +40 -4
- package/dist/components/paged.js.map +1 -1
- package/dist/components/skills.d.ts.map +1 -1
- package/dist/components/skills.js +8 -4
- package/dist/components/skills.js.map +1 -1
- package/dist/components/ui.d.ts +2 -0
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +7 -2
- package/dist/components/ui.js.map +1 -1
- package/dist/console.css +112 -5
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +2 -2
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +27 -2
- package/dist/data.js.map +1 -1
- package/dist/i18n/en.d.ts +13 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +15 -0
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +15 -0
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/router.d.ts +6 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +13 -7
- package/dist/router.js.map +1 -1
- package/dist/schemas.d.ts +321 -159
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +61 -154
- package/dist/schemas.js.map +1 -1
- package/docs/specs/cli.md +3 -3
- package/docs/specs/rest.md +5 -13
- package/package.json +2 -1
- package/skills/deploying-a-console/SKILL.md +2 -2
- package/skills/working-the-board/SKILL.md +3 -3
- package/src/api.ts +2 -7
- package/src/cli/cli.ts +92 -76
- package/src/cli/format.ts +10 -328
- package/src/cli/help.ts +7 -6
- package/src/cli/pack.ts +356 -0
- package/src/compat.ts +1 -1
- package/src/components/decision-list.tsx +227 -94
- package/src/components/paged.tsx +72 -3
- package/src/components/skills.tsx +51 -33
- package/src/components/ui.tsx +16 -3
- package/src/console.tsx +3 -0
- package/src/data.ts +32 -2
- package/src/i18n/en.ts +18 -0
- package/src/i18n/ko.ts +17 -0
- package/src/index.ts +9 -1
- package/src/router.ts +20 -9
- package/src/schemas.ts +76 -180
- package/src/styles/console.css +112 -5
package/dist/schemas.d.ts
CHANGED
|
@@ -900,6 +900,7 @@ export type RestGoalPatch = z.infer<typeof restGoalPatchSchema>;
|
|
|
900
900
|
export declare const restDecisionOptionSchema: z.ZodMiniObject<{
|
|
901
901
|
id: z.ZodMiniString<string>;
|
|
902
902
|
label: z.ZodMiniString<string>;
|
|
903
|
+
own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
903
904
|
}, z.core.$strip>;
|
|
904
905
|
export type RestDecisionOption = z.infer<typeof restDecisionOptionSchema>;
|
|
905
906
|
export declare const restDecisionSchema: z.ZodMiniObject<{
|
|
@@ -909,6 +910,7 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
|
|
|
909
910
|
options: z.ZodMiniArray<z.ZodMiniObject<{
|
|
910
911
|
id: z.ZodMiniString<string>;
|
|
911
912
|
label: z.ZodMiniString<string>;
|
|
913
|
+
own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
912
914
|
}, z.core.$strip>>;
|
|
913
915
|
taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
914
916
|
taskNumber: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
@@ -975,6 +977,7 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
|
|
|
975
977
|
options: z.ZodMiniArray<z.ZodMiniObject<{
|
|
976
978
|
id: z.ZodMiniString<string>;
|
|
977
979
|
label: z.ZodMiniString<string>;
|
|
980
|
+
own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
978
981
|
}, z.core.$strip>>;
|
|
979
982
|
taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
980
983
|
taskNumber: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
@@ -1303,6 +1306,7 @@ export declare const restWorkSchema: z.ZodMiniObject<{
|
|
|
1303
1306
|
options: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1304
1307
|
id: z.ZodMiniString<string>;
|
|
1305
1308
|
label: z.ZodMiniString<string>;
|
|
1309
|
+
own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
|
|
1306
1310
|
}, z.core.$strip>>;
|
|
1307
1311
|
taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
1308
1312
|
taskNumber: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
@@ -1617,9 +1621,13 @@ export declare const restDecisionPatchSchema: z.ZodMiniObject<{
|
|
|
1617
1621
|
outcome: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1618
1622
|
}, z.core.$strip>;
|
|
1619
1623
|
export type RestDecisionPatch = z.infer<typeof restDecisionPatchSchema>;
|
|
1620
|
-
/**
|
|
1624
|
+
/**
|
|
1625
|
+
* What `POST .../decisions/<id>/answer` is sent: one of the options by its id, or the person's
|
|
1626
|
+
* own answer in a line, one of the two; and a word about either.
|
|
1627
|
+
*/
|
|
1621
1628
|
export declare const restAnswerInputSchema: z.ZodMiniObject<{
|
|
1622
|
-
option: z.ZodMiniString<string
|
|
1629
|
+
option: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1630
|
+
own: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1623
1631
|
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1624
1632
|
}, z.core.$strip>;
|
|
1625
1633
|
export type RestAnswerInput = z.infer<typeof restAnswerInputSchema>;
|
|
@@ -2230,13 +2238,21 @@ export declare const restClaimSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
2230
2238
|
secret: z.ZodMiniString<string>;
|
|
2231
2239
|
}, z.core.$strip>]>;
|
|
2232
2240
|
export type RestClaim = z.infer<typeof restClaimSchema>;
|
|
2233
|
-
/**
|
|
2241
|
+
/** Why a pack did not answer a read: the code and the words the deployment, or the console reading a directory, gave, as the main repository's API spells them. */
|
|
2242
|
+
export declare const restPackRefusalSchema: z.ZodMiniObject<{
|
|
2243
|
+
code: z.ZodMiniString<string>;
|
|
2244
|
+
message: z.ZodMiniString<string>;
|
|
2245
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2246
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2247
|
+
}, z.core.$strip>;
|
|
2248
|
+
export type RestPackRefusal = z.infer<typeof restPackRefusalSchema>;
|
|
2249
|
+
/** One of the project's skills, as the pack lists it: what the repository says of it, where a person reads it, what an agent loads it by. */
|
|
2234
2250
|
export declare const restSkillSchema: z.ZodMiniObject<{
|
|
2235
2251
|
name: z.ZodMiniString<string>;
|
|
2236
2252
|
description: z.ZodMiniString<string>;
|
|
2237
2253
|
directory: z.ZodMiniString<string>;
|
|
2238
2254
|
path: z.ZodMiniString<string>;
|
|
2239
|
-
page: z.ZodMiniString<string
|
|
2255
|
+
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2240
2256
|
uri: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2241
2257
|
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2242
2258
|
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
@@ -2244,10 +2260,10 @@ export declare const restSkillSchema: z.ZodMiniObject<{
|
|
|
2244
2260
|
}, z.core.$strip>>;
|
|
2245
2261
|
}, z.core.$strip>;
|
|
2246
2262
|
export type RestSkill = z.infer<typeof restSkillSchema>;
|
|
2247
|
-
/** `GET /api/v1/projects/<key>/skills`: the project's
|
|
2263
|
+
/** `GET /api/v1/projects/<key>/skills`: the project's pack, read by address (ADR-0028, ADR-0031). */
|
|
2248
2264
|
export declare const restSkillsSchema: z.ZodMiniObject<{
|
|
2249
2265
|
address: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2250
|
-
source: z.ZodMiniString<string
|
|
2266
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2251
2267
|
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2252
2268
|
status: z.ZodMiniEnum<{
|
|
2253
2269
|
failed: "failed";
|
|
@@ -2258,6 +2274,12 @@ export declare const restSkillsSchema: z.ZodMiniObject<{
|
|
|
2258
2274
|
token_invalid: "token_invalid";
|
|
2259
2275
|
unavailable: "unavailable";
|
|
2260
2276
|
}>;
|
|
2277
|
+
refusal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2278
|
+
code: z.ZodMiniString<string>;
|
|
2279
|
+
message: z.ZodMiniString<string>;
|
|
2280
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2281
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2282
|
+
}, z.core.$strip>>;
|
|
2261
2283
|
pack: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2262
2284
|
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2263
2285
|
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
@@ -2272,13 +2294,120 @@ export declare const restSkillsSchema: z.ZodMiniObject<{
|
|
|
2272
2294
|
description: z.ZodMiniString<string>;
|
|
2273
2295
|
directory: z.ZodMiniString<string>;
|
|
2274
2296
|
path: z.ZodMiniString<string>;
|
|
2275
|
-
page: z.ZodMiniString<string
|
|
2297
|
+
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2276
2298
|
uri: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2277
2299
|
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2278
2300
|
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2279
2301
|
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2280
2302
|
}, z.core.$strip>>;
|
|
2281
2303
|
}, z.core.$strip>>;
|
|
2304
|
+
mount: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2305
|
+
address: z.ZodMiniString<string>;
|
|
2306
|
+
repository: z.ZodMiniObject<{
|
|
2307
|
+
host: z.ZodMiniEnum<{
|
|
2308
|
+
gh: "gh";
|
|
2309
|
+
local: "local";
|
|
2310
|
+
}>;
|
|
2311
|
+
owner: z.ZodMiniString<string>;
|
|
2312
|
+
name: z.ZodMiniString<string>;
|
|
2313
|
+
defaultBranch: z.ZodMiniString<string>;
|
|
2314
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2315
|
+
avatar: z.ZodMiniString<string>;
|
|
2316
|
+
visibility: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2317
|
+
private: "private";
|
|
2318
|
+
public: "public";
|
|
2319
|
+
}>>;
|
|
2320
|
+
}, z.core.$strip>;
|
|
2321
|
+
ref: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2322
|
+
pinned: z.ZodMiniBoolean<boolean>;
|
|
2323
|
+
commit: z.ZodMiniString<string>;
|
|
2324
|
+
path: z.ZodMiniString<string>;
|
|
2325
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
2326
|
+
image: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2327
|
+
index: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2328
|
+
status: z.ZodMiniLiteral<"ready">;
|
|
2329
|
+
truncated: z.ZodMiniBoolean<boolean>;
|
|
2330
|
+
license: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2331
|
+
kind: z.ZodMiniEnum<{
|
|
2332
|
+
none: "none";
|
|
2333
|
+
permissive: "permissive";
|
|
2334
|
+
restrictive: "restrictive";
|
|
2335
|
+
}>;
|
|
2336
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2337
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2338
|
+
}, z.core.$strip>>;
|
|
2339
|
+
manifest: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2340
|
+
path: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2341
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2342
|
+
description: z.ZodMiniString<string>;
|
|
2343
|
+
language: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2344
|
+
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2345
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2346
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2347
|
+
}, z.core.$strip>>;
|
|
2348
|
+
}, z.core.$strip>>;
|
|
2349
|
+
overview: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2350
|
+
path: z.ZodMiniString<string>;
|
|
2351
|
+
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2352
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2353
|
+
}, z.core.$strip>>;
|
|
2354
|
+
skillCount: z.ZodMiniInt;
|
|
2355
|
+
documentCount: z.ZodMiniInt;
|
|
2356
|
+
skills: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2357
|
+
path: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2358
|
+
name: z.ZodMiniString<string>;
|
|
2359
|
+
directory: z.ZodMiniString<string>;
|
|
2360
|
+
description: z.ZodMiniString<string>;
|
|
2361
|
+
warnings: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2362
|
+
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2363
|
+
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2364
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2365
|
+
}, z.core.$strip>>;
|
|
2366
|
+
}, z.core.$strip>>;
|
|
2367
|
+
documents: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2368
|
+
path: z.ZodMiniString<string>;
|
|
2369
|
+
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2370
|
+
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2371
|
+
}, z.core.$strip>>;
|
|
2372
|
+
diagnostics: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2373
|
+
path: z.ZodMiniString<string>;
|
|
2374
|
+
code: z.ZodMiniString<string>;
|
|
2375
|
+
message: z.ZodMiniString<string>;
|
|
2376
|
+
}, z.core.$strip>>;
|
|
2377
|
+
groups: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2378
|
+
browsePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2379
|
+
overviewPath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2380
|
+
license: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2381
|
+
kind: z.ZodMiniEnum<{
|
|
2382
|
+
none: "none";
|
|
2383
|
+
permissive: "permissive";
|
|
2384
|
+
restrictive: "restrictive";
|
|
2385
|
+
}>;
|
|
2386
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2387
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2388
|
+
}, z.core.$strip>>;
|
|
2389
|
+
describedOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2390
|
+
kind: z.ZodMiniEnum<{
|
|
2391
|
+
directory: "directory";
|
|
2392
|
+
file: "file";
|
|
2393
|
+
skill: "skill";
|
|
2394
|
+
}>;
|
|
2395
|
+
path: z.ZodMiniString<string>;
|
|
2396
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2397
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2398
|
+
skillCount: z.ZodMiniInt;
|
|
2399
|
+
documentCount: z.ZodMiniInt;
|
|
2400
|
+
size: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
2401
|
+
manifestPath: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2402
|
+
language: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2403
|
+
}, z.core.$strip>>>;
|
|
2404
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2405
|
+
status: z.ZodMiniLiteral<"indexing">;
|
|
2406
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2407
|
+
status: z.ZodMiniLiteral<"failed">;
|
|
2408
|
+
errorCode: z.ZodMiniString<string>;
|
|
2409
|
+
}, z.core.$strip>], "status">;
|
|
2410
|
+
}, z.core.$strip>>;
|
|
2282
2411
|
}, z.core.$strip>;
|
|
2283
2412
|
export type RestSkills = z.infer<typeof restSkillsSchema>;
|
|
2284
2413
|
/** `PUT .../pack-token`: the token a person made at the deployment for the project's pack (ADR-0028); from a field or standard input, never an argument. */
|
|
@@ -2286,53 +2415,10 @@ export declare const restPackTokenInputSchema: z.ZodMiniObject<{
|
|
|
2286
2415
|
token: z.ZodMiniString<string>;
|
|
2287
2416
|
}, z.core.$strip>;
|
|
2288
2417
|
export type RestPackTokenInput = z.infer<typeof restPackTokenInputSchema>;
|
|
2289
|
-
/**
|
|
2290
|
-
export declare const restSkillTextSchema: z.ZodMiniObject<{
|
|
2291
|
-
path: z.ZodMiniString<string>;
|
|
2292
|
-
body: z.ZodMiniString<string>;
|
|
2293
|
-
truncated: z.ZodMiniBoolean<boolean>;
|
|
2294
|
-
}, z.core.$strip>;
|
|
2295
|
-
/** A skill as the deployment serves it, on one page of its context: what `load_skill` gives a model, in the console's shape. */
|
|
2296
|
-
export declare const restSkillPageSchema: z.ZodMiniObject<{
|
|
2297
|
-
path: z.ZodMiniString<string>;
|
|
2298
|
-
directory: z.ZodMiniString<string>;
|
|
2299
|
-
name: z.ZodMiniString<string>;
|
|
2300
|
-
description: z.ZodMiniString<string>;
|
|
2301
|
-
rules: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2302
|
-
path: z.ZodMiniString<string>;
|
|
2303
|
-
body: z.ZodMiniString<string>;
|
|
2304
|
-
truncated: z.ZodMiniBoolean<boolean>;
|
|
2305
|
-
}, z.core.$strip>>;
|
|
2306
|
-
body: z.ZodMiniString<string>;
|
|
2307
|
-
included: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2308
|
-
path: z.ZodMiniString<string>;
|
|
2309
|
-
body: z.ZodMiniString<string>;
|
|
2310
|
-
truncated: z.ZodMiniBoolean<boolean>;
|
|
2311
|
-
}, z.core.$strip>>;
|
|
2312
|
-
files: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2313
|
-
references: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2314
|
-
path: z.ZodMiniString<string>;
|
|
2315
|
-
status: z.ZodMiniEnum<{
|
|
2316
|
-
available: "available";
|
|
2317
|
-
blocked: "blocked";
|
|
2318
|
-
missing: "missing";
|
|
2319
|
-
outside_mount: "outside_mount";
|
|
2320
|
-
}>;
|
|
2321
|
-
}, z.core.$strip>>;
|
|
2322
|
-
complete: z.ZodMiniBoolean<boolean>;
|
|
2323
|
-
nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2324
|
-
serving: z.ZodMiniObject<{
|
|
2325
|
-
full: z.ZodMiniBoolean<boolean>;
|
|
2326
|
-
license: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2327
|
-
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2328
|
-
}, z.core.$strip>;
|
|
2329
|
-
warnings: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2330
|
-
}, z.core.$strip>;
|
|
2331
|
-
export type RestSkillPage = z.infer<typeof restSkillPageSchema>;
|
|
2332
|
-
/** `GET .../skills/one?path=&cursor=`: one skill of the pack, a page of it; `skill` is `null` unless `ready`. */
|
|
2418
|
+
/** `GET .../skills/one?path=&cursor=`: a page of a skill's context, as the pack answers `load_skill` (`RestSkill` of `@skillcdn/core`); `read` is `null` unless `ready`. */
|
|
2333
2419
|
export declare const restSkillLoadSchema: z.ZodMiniObject<{
|
|
2334
2420
|
address: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2335
|
-
source: z.ZodMiniString<string
|
|
2421
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2336
2422
|
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2337
2423
|
status: z.ZodMiniEnum<{
|
|
2338
2424
|
failed: "failed";
|
|
@@ -2343,47 +2429,93 @@ export declare const restSkillLoadSchema: z.ZodMiniObject<{
|
|
|
2343
2429
|
token_invalid: "token_invalid";
|
|
2344
2430
|
unavailable: "unavailable";
|
|
2345
2431
|
}>;
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2432
|
+
refusal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2433
|
+
code: z.ZodMiniString<string>;
|
|
2434
|
+
message: z.ZodMiniString<string>;
|
|
2435
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2436
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2437
|
+
}, z.core.$strip>>;
|
|
2438
|
+
read: z.ZodMiniNullable<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2439
|
+
status: z.ZodMiniLiteral<"ready">;
|
|
2440
|
+
commit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2441
|
+
skill: z.ZodMiniObject<{
|
|
2442
|
+
path: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2443
|
+
ruleChain: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2444
|
+
path: z.ZodMiniString<string>;
|
|
2445
|
+
body: z.ZodMiniString<string>;
|
|
2446
|
+
truncated: z.ZodMiniBoolean<boolean>;
|
|
2447
|
+
}, z.core.$strip>>>;
|
|
2448
|
+
references: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2449
|
+
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2450
|
+
href: z.ZodMiniString<string>;
|
|
2451
|
+
path: z.ZodMiniString<string>;
|
|
2452
|
+
status: z.ZodMiniEnum<{
|
|
2453
|
+
available: "available";
|
|
2454
|
+
blocked: "blocked";
|
|
2455
|
+
missing: "missing";
|
|
2456
|
+
outside_mount: "outside_mount";
|
|
2457
|
+
}>;
|
|
2458
|
+
}, z.core.$strip>>>;
|
|
2459
|
+
complete: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2460
|
+
nextCursor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2461
|
+
includedContents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2462
|
+
path: z.ZodMiniString<string>;
|
|
2463
|
+
content: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2464
|
+
truncated: z.ZodMiniBoolean<boolean>;
|
|
2465
|
+
}, z.core.$strip>>>;
|
|
2466
|
+
name: z.ZodMiniString<string>;
|
|
2467
|
+
directory: z.ZodMiniString<string>;
|
|
2468
|
+
description: z.ZodMiniString<string>;
|
|
2376
2469
|
license: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2377
|
-
|
|
2470
|
+
compatibility: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2471
|
+
allowedTools: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2472
|
+
metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
2473
|
+
body: z.ZodMiniString<string>;
|
|
2474
|
+
files: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2475
|
+
filesTruncated: z.ZodMiniBoolean<boolean>;
|
|
2476
|
+
oversized: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2477
|
+
path: z.ZodMiniString<string>;
|
|
2478
|
+
size: z.ZodMiniInt;
|
|
2479
|
+
sourceUrl: z.ZodMiniString<string>;
|
|
2480
|
+
}, z.core.$strip>>>;
|
|
2481
|
+
included: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2482
|
+
warnings: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2483
|
+
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2484
|
+
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2485
|
+
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2486
|
+
}, z.core.$strip>>;
|
|
2487
|
+
serving: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2488
|
+
license: z.ZodMiniObject<{
|
|
2489
|
+
kind: z.ZodMiniEnum<{
|
|
2490
|
+
none: "none";
|
|
2491
|
+
permissive: "permissive";
|
|
2492
|
+
restrictive: "restrictive";
|
|
2493
|
+
}>;
|
|
2494
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2495
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2496
|
+
}, z.core.$strip>;
|
|
2497
|
+
full: z.ZodMiniBoolean<boolean>;
|
|
2498
|
+
sourceUrl: z.ZodMiniString<string>;
|
|
2499
|
+
}, z.core.$strip>>;
|
|
2500
|
+
rules: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2501
|
+
path: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2502
|
+
body: z.ZodMiniString<string>;
|
|
2503
|
+
truncated: z.ZodMiniBoolean<boolean>;
|
|
2504
|
+
}, z.core.$strip>>;
|
|
2378
2505
|
}, z.core.$strip>;
|
|
2379
|
-
|
|
2380
|
-
|
|
2506
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2507
|
+
status: z.ZodMiniLiteral<"indexing">;
|
|
2508
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2509
|
+
status: z.ZodMiniLiteral<"failed">;
|
|
2510
|
+
errorCode: z.ZodMiniString<string>;
|
|
2511
|
+
}, z.core.$strip>], "status">>;
|
|
2381
2512
|
}, z.core.$strip>;
|
|
2382
2513
|
export type RestSkillLoad = z.infer<typeof restSkillLoadSchema>;
|
|
2383
|
-
/** `GET .../skills/file?path=&offset=&limit=`: a page of a file
|
|
2514
|
+
/** `GET .../skills/file?path=&offset=&limit=`: a page of a file, or what a folder holds, as the pack answers `read_repo_file` (`RestFile` of `@skillcdn/core`); `read` is `null` unless `ready`. */
|
|
2384
2515
|
export declare const restSkillFileSchema: z.ZodMiniObject<{
|
|
2385
2516
|
address: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2386
|
-
source: z.ZodMiniString<string
|
|
2517
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2518
|
+
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2387
2519
|
status: z.ZodMiniEnum<{
|
|
2388
2520
|
failed: "failed";
|
|
2389
2521
|
indexing: "indexing";
|
|
@@ -2393,14 +2525,34 @@ export declare const restSkillFileSchema: z.ZodMiniObject<{
|
|
|
2393
2525
|
token_invalid: "token_invalid";
|
|
2394
2526
|
unavailable: "unavailable";
|
|
2395
2527
|
}>;
|
|
2396
|
-
|
|
2528
|
+
refusal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2529
|
+
code: z.ZodMiniString<string>;
|
|
2530
|
+
message: z.ZodMiniString<string>;
|
|
2531
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2532
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2533
|
+
}, z.core.$strip>>;
|
|
2534
|
+
read: z.ZodMiniNullable<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2535
|
+
kind: z.ZodMiniLiteral<"file">;
|
|
2536
|
+
commit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2537
|
+
references: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2538
|
+
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2539
|
+
href: z.ZodMiniString<string>;
|
|
2540
|
+
path: z.ZodMiniString<string>;
|
|
2541
|
+
status: z.ZodMiniEnum<{
|
|
2542
|
+
available: "available";
|
|
2543
|
+
blocked: "blocked";
|
|
2544
|
+
missing: "missing";
|
|
2545
|
+
outside_mount: "outside_mount";
|
|
2546
|
+
}>;
|
|
2547
|
+
}, z.core.$strip>>>;
|
|
2397
2548
|
path: z.ZodMiniString<string>;
|
|
2398
2549
|
content: z.ZodMiniString<string>;
|
|
2399
2550
|
offset: z.ZodMiniInt;
|
|
2400
2551
|
nextOffset: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
2401
2552
|
totalLength: z.ZodMiniInt;
|
|
2402
|
-
}, z.core.$strip
|
|
2403
|
-
|
|
2553
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2554
|
+
kind: z.ZodMiniLiteral<"directory">;
|
|
2555
|
+
commit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2404
2556
|
path: z.ZodMiniString<string>;
|
|
2405
2557
|
entries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2406
2558
|
path: z.ZodMiniString<string>;
|
|
@@ -2411,31 +2563,13 @@ export declare const restSkillFileSchema: z.ZodMiniObject<{
|
|
|
2411
2563
|
size: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
2412
2564
|
}, z.core.$strip>>;
|
|
2413
2565
|
truncated: z.ZodMiniBoolean<boolean>;
|
|
2414
|
-
}, z.core.$strip>>;
|
|
2566
|
+
}, z.core.$strip>], "kind">>;
|
|
2415
2567
|
}, z.core.$strip>;
|
|
2416
2568
|
export type RestSkillFile = z.infer<typeof restSkillFileSchema>;
|
|
2417
|
-
/**
|
|
2418
|
-
export declare const restSkillBrowseEntrySchema: z.ZodMiniObject<{
|
|
2419
|
-
kind: z.ZodMiniEnum<{
|
|
2420
|
-
directory: "directory";
|
|
2421
|
-
file: "file";
|
|
2422
|
-
skill: "skill";
|
|
2423
|
-
}>;
|
|
2424
|
-
path: z.ZodMiniString<string>;
|
|
2425
|
-
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2426
|
-
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2427
|
-
skillCount: z.ZodMiniInt;
|
|
2428
|
-
documentCount: z.ZodMiniInt;
|
|
2429
|
-
size: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
2430
|
-
overviewPath: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2431
|
-
license: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2432
|
-
describedOnly: z.ZodMiniBoolean<boolean>;
|
|
2433
|
-
}, z.core.$strip>;
|
|
2434
|
-
export type RestSkillBrowseEntry = z.infer<typeof restSkillBrowseEntrySchema>;
|
|
2435
|
-
/** `GET .../skills/browse?path=&cursor=&limit=`: what a folder of the pack holds, a page of it (`browse_repo`); `folder` is `null` unless `ready`. */
|
|
2569
|
+
/** `GET .../skills/browse?path=&cursor=&limit=`: what a folder holds, a page of it, as the pack answers `browse_repo` (`RestBrowse` of `@skillcdn/core`); `read` is `null` unless `ready`. */
|
|
2436
2570
|
export declare const restSkillBrowseSchema: z.ZodMiniObject<{
|
|
2437
2571
|
address: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2438
|
-
source: z.ZodMiniString<string
|
|
2572
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2439
2573
|
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2440
2574
|
status: z.ZodMiniEnum<{
|
|
2441
2575
|
failed: "failed";
|
|
@@ -2446,14 +2580,34 @@ export declare const restSkillBrowseSchema: z.ZodMiniObject<{
|
|
|
2446
2580
|
token_invalid: "token_invalid";
|
|
2447
2581
|
unavailable: "unavailable";
|
|
2448
2582
|
}>;
|
|
2449
|
-
|
|
2583
|
+
refusal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2584
|
+
code: z.ZodMiniString<string>;
|
|
2585
|
+
message: z.ZodMiniString<string>;
|
|
2586
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2587
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2588
|
+
}, z.core.$strip>>;
|
|
2589
|
+
read: z.ZodMiniNullable<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2590
|
+
status: z.ZodMiniLiteral<"ready">;
|
|
2591
|
+
commit: z.ZodMiniString<string>;
|
|
2450
2592
|
path: z.ZodMiniString<string>;
|
|
2451
|
-
overview: z.
|
|
2593
|
+
overview: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2452
2594
|
path: z.ZodMiniString<string>;
|
|
2453
2595
|
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2454
2596
|
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2455
2597
|
}, z.core.$strip>>;
|
|
2456
2598
|
entries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2599
|
+
browsePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2600
|
+
overviewPath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2601
|
+
license: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2602
|
+
kind: z.ZodMiniEnum<{
|
|
2603
|
+
none: "none";
|
|
2604
|
+
permissive: "permissive";
|
|
2605
|
+
restrictive: "restrictive";
|
|
2606
|
+
}>;
|
|
2607
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2608
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2609
|
+
}, z.core.$strip>>;
|
|
2610
|
+
describedOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2457
2611
|
kind: z.ZodMiniEnum<{
|
|
2458
2612
|
directory: "directory";
|
|
2459
2613
|
file: "file";
|
|
@@ -2465,47 +2619,27 @@ export declare const restSkillBrowseSchema: z.ZodMiniObject<{
|
|
|
2465
2619
|
skillCount: z.ZodMiniInt;
|
|
2466
2620
|
documentCount: z.ZodMiniInt;
|
|
2467
2621
|
size: z.ZodMiniNullable<z.ZodMiniInt>;
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
describedOnly: z.ZodMiniBoolean<boolean>;
|
|
2622
|
+
manifestPath: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2623
|
+
language: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2471
2624
|
}, z.core.$strip>>;
|
|
2625
|
+
diagnostics: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2626
|
+
path: z.ZodMiniString<string>;
|
|
2627
|
+
code: z.ZodMiniString<string>;
|
|
2628
|
+
message: z.ZodMiniString<string>;
|
|
2629
|
+
}, z.core.$strip>>>;
|
|
2472
2630
|
nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2473
|
-
}, z.core.$strip
|
|
2631
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2632
|
+
status: z.ZodMiniLiteral<"indexing">;
|
|
2633
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2634
|
+
status: z.ZodMiniLiteral<"failed">;
|
|
2635
|
+
errorCode: z.ZodMiniString<string>;
|
|
2636
|
+
}, z.core.$strip>], "status">>;
|
|
2474
2637
|
}, z.core.$strip>;
|
|
2475
2638
|
export type RestSkillBrowse = z.infer<typeof restSkillBrowseSchema>;
|
|
2476
|
-
/**
|
|
2477
|
-
export declare const restSkillFindItemSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2478
|
-
kind: z.ZodMiniLiteral<"skill">;
|
|
2479
|
-
name: z.ZodMiniString<string>;
|
|
2480
|
-
description: z.ZodMiniString<string>;
|
|
2481
|
-
directory: z.ZodMiniString<string>;
|
|
2482
|
-
path: z.ZodMiniString<string>;
|
|
2483
|
-
page: z.ZodMiniString<string>;
|
|
2484
|
-
uri: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2485
|
-
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2486
|
-
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2487
|
-
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2488
|
-
}, z.core.$strip>>;
|
|
2489
|
-
files: z.ZodMiniArray<z.ZodMiniObject<{
|
|
2490
|
-
path: z.ZodMiniString<string>;
|
|
2491
|
-
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2492
|
-
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2493
|
-
}, z.core.$strip>>;
|
|
2494
|
-
moreFiles: z.ZodMiniInt;
|
|
2495
|
-
license: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2496
|
-
describedOnly: z.ZodMiniBoolean<boolean>;
|
|
2497
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2498
|
-
kind: z.ZodMiniLiteral<"document">;
|
|
2499
|
-
path: z.ZodMiniString<string>;
|
|
2500
|
-
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2501
|
-
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2502
|
-
skillDirectory: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2503
|
-
}, z.core.$strip>], "kind">;
|
|
2504
|
-
export type RestSkillFindItem = z.infer<typeof restSkillFindItemSchema>;
|
|
2505
|
-
/** `GET .../skills/find?query=&path=&cursor=&limit=`: what words find in the pack, a page of it in relevance order (`search_repo`); `found` is `null` unless `ready`. */
|
|
2639
|
+
/** `GET .../skills/find?query=&path=&cursor=&limit=`: what words find, a page of it in relevance order, as the pack answers `search_repo` (`RestFind` of `@skillcdn/core`); `read` is `null` unless `ready`. */
|
|
2506
2640
|
export declare const restSkillFindSchema: z.ZodMiniObject<{
|
|
2507
2641
|
address: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2508
|
-
source: z.ZodMiniString<string
|
|
2642
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2509
2643
|
page: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2510
2644
|
status: z.ZodMiniEnum<{
|
|
2511
2645
|
failed: "failed";
|
|
@@ -2516,17 +2650,24 @@ export declare const restSkillFindSchema: z.ZodMiniObject<{
|
|
|
2516
2650
|
token_invalid: "token_invalid";
|
|
2517
2651
|
unavailable: "unavailable";
|
|
2518
2652
|
}>;
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2653
|
+
refusal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2654
|
+
code: z.ZodMiniString<string>;
|
|
2655
|
+
message: z.ZodMiniString<string>;
|
|
2656
|
+
sourceUrl: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2657
|
+
directories: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
2658
|
+
}, z.core.$strip>>;
|
|
2659
|
+
read: z.ZodMiniNullable<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2660
|
+
status: z.ZodMiniLiteral<"ready">;
|
|
2661
|
+
query: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2662
|
+
commit: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2663
|
+
path: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2664
|
+
nextCursor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2522
2665
|
items: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
2523
2666
|
kind: z.ZodMiniLiteral<"skill">;
|
|
2667
|
+
path: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2524
2668
|
name: z.ZodMiniString<string>;
|
|
2525
|
-
description: z.ZodMiniString<string>;
|
|
2526
2669
|
directory: z.ZodMiniString<string>;
|
|
2527
|
-
|
|
2528
|
-
page: z.ZodMiniString<string>;
|
|
2529
|
-
uri: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2670
|
+
description: z.ZodMiniString<string>;
|
|
2530
2671
|
translations: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
2531
2672
|
title: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2532
2673
|
description: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
@@ -2537,8 +2678,16 @@ export declare const restSkillFindSchema: z.ZodMiniObject<{
|
|
|
2537
2678
|
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2538
2679
|
}, z.core.$strip>>;
|
|
2539
2680
|
moreFiles: z.ZodMiniInt;
|
|
2540
|
-
license: z.
|
|
2541
|
-
|
|
2681
|
+
license: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
2682
|
+
kind: z.ZodMiniEnum<{
|
|
2683
|
+
none: "none";
|
|
2684
|
+
permissive: "permissive";
|
|
2685
|
+
restrictive: "restrictive";
|
|
2686
|
+
}>;
|
|
2687
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2688
|
+
source: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2689
|
+
}, z.core.$strip>>;
|
|
2690
|
+
describedOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
2542
2691
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2543
2692
|
kind: z.ZodMiniLiteral<"document">;
|
|
2544
2693
|
path: z.ZodMiniString<string>;
|
|
@@ -2546,8 +2695,21 @@ export declare const restSkillFindSchema: z.ZodMiniObject<{
|
|
|
2546
2695
|
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2547
2696
|
skillDirectory: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2548
2697
|
}, z.core.$strip>], "kind">>;
|
|
2549
|
-
|
|
2550
|
-
|
|
2698
|
+
diagnostics: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2699
|
+
path: z.ZodMiniString<string>;
|
|
2700
|
+
code: z.ZodMiniString<string>;
|
|
2701
|
+
message: z.ZodMiniString<string>;
|
|
2702
|
+
}, z.core.$strip>>>;
|
|
2703
|
+
totals: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2704
|
+
skills: z.ZodMiniInt;
|
|
2705
|
+
documents: z.ZodMiniInt;
|
|
2706
|
+
}, z.core.$strip>>;
|
|
2707
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2708
|
+
status: z.ZodMiniLiteral<"indexing">;
|
|
2709
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
2710
|
+
status: z.ZodMiniLiteral<"failed">;
|
|
2711
|
+
errorCode: z.ZodMiniString<string>;
|
|
2712
|
+
}, z.core.$strip>], "status">>;
|
|
2551
2713
|
}, z.core.$strip>;
|
|
2552
2714
|
export type RestSkillFind = z.infer<typeof restSkillFindSchema>;
|
|
2553
2715
|
/** A document as a folder or a search lists it: everything but the body. */
|