@skillcdn/console 0.1.24 → 0.3.1
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 +8 -7
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -2
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts +1 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +248 -92
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/credentials.d.ts +5 -0
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +2 -0
- package/dist/cli/credentials.js.map +1 -1
- package/dist/cli/directory.d.ts +7 -0
- package/dist/cli/directory.d.ts.map +1 -1
- package/dist/cli/directory.js +7 -0
- package/dist/cli/directory.js.map +1 -1
- package/dist/cli/format.d.ts +13 -28
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +74 -274
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +36 -19
- 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/client.d.ts +26 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +14 -1
- package/dist/client.js.map +1 -1
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +1 -1
- package/dist/components/calendar.d.ts +5 -1
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +3 -3
- package/dist/components/calendar.js.map +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/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +2 -0
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/pack-connect.d.ts +23 -0
- package/dist/components/pack-connect.d.ts.map +1 -0
- package/dist/components/pack-connect.js +86 -0
- package/dist/components/pack-connect.js.map +1 -0
- package/dist/components/pack-token.d.ts +27 -0
- package/dist/components/pack-token.d.ts.map +1 -0
- package/dist/components/pack-token.js +11 -0
- package/dist/components/pack-token.js.map +1 -0
- 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/projects.d.ts +13 -0
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +37 -5
- package/dist/components/projects.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/components/work.d.ts +3 -1
- package/dist/components/work.d.ts.map +1 -1
- package/dist/components/work.js +1 -1
- package/dist/components/work.js.map +1 -1
- package/dist/components/workspace.d.ts +46 -0
- package/dist/components/workspace.d.ts.map +1 -0
- package/dist/components/workspace.js +124 -0
- package/dist/components/workspace.js.map +1 -0
- package/dist/console.css +268 -5
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +62 -23
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +16 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +64 -2
- package/dist/data.js.map +1 -1
- package/dist/dates.d.ts +12 -2
- package/dist/dates.d.ts.map +1 -1
- package/dist/dates.js +20 -2
- package/dist/dates.js.map +1 -1
- package/dist/i18n/en.d.ts +66 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +80 -8
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +75 -7
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/router.d.ts +10 -5
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +24 -9
- package/dist/router.js.map +1 -1
- package/dist/routes.d.ts +4 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +4 -0
- package/dist/routes.js.map +1 -1
- package/dist/schemas.d.ts +500 -158
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +169 -165
- package/dist/schemas.js.map +1 -1
- package/dist/vocabulary.d.ts +19 -1
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +16 -0
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +19 -14
- package/docs/specs/rest.md +34 -19
- package/package.json +2 -1
- package/skills/building-a-console/SKILL.md +5 -5
- package/skills/building-a-console/references/the-look-from-a-website.md +39 -0
- package/skills/deploying-a-console/SKILL.md +9 -8
- package/skills/working-the-board/SKILL.md +5 -5
- package/skills/working-the-board/references/setting-up.md +1 -1
- package/skills/working-the-board/references/terms.md +2 -0
- package/skills/working-the-board/references/the-sentence.md +1 -1
- package/src/api.ts +18 -7
- package/src/cli/cli.ts +345 -109
- package/src/cli/credentials.ts +7 -0
- package/src/cli/directory.ts +9 -0
- package/src/cli/format.ts +82 -341
- package/src/cli/help.ts +43 -19
- package/src/cli/pack.ts +356 -0
- package/src/client.ts +84 -0
- package/src/compat.ts +1 -1
- package/src/components/calendar.tsx +8 -2
- package/src/components/decision-list.tsx +227 -94
- package/src/components/event-feed.tsx +2 -0
- package/src/components/pack-connect.tsx +179 -0
- package/src/components/pack-token.tsx +74 -0
- package/src/components/paged.tsx +72 -3
- package/src/components/projects.tsx +108 -9
- package/src/components/skills.tsx +51 -33
- package/src/components/ui.tsx +16 -3
- package/src/components/work.tsx +4 -1
- package/src/components/workspace.tsx +298 -0
- package/src/console.tsx +176 -29
- package/src/data.ts +89 -2
- package/src/dates.ts +23 -2
- package/src/i18n/en.ts +94 -8
- package/src/i18n/ko.ts +84 -7
- package/src/index.ts +25 -1
- package/src/router.ts +37 -14
- package/src/routes.ts +4 -0
- package/src/schemas.ts +202 -189
- package/src/styles/console.css +268 -5
- package/src/vocabulary.ts +25 -0
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAiC9B,OAAO,EAcL,KAAK,WAAW,EAOjB,MAAM,iBAAiB,CAAC;AA+BzB,mFAAmF;AACnF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;iBAgB3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,2GAA2G;AAC3G,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAEtD;AAED,wGAAwG;AACxG,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAInE;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;iBAM5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,yGAAyG;AACzG,eAAO,MAAM,sBAAsB;;;;;;;iBAMjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,gGAAgG;AAChG,eAAO,MAAM,sBAAsB;;;;;;iBAK6D,CAAC;AACjG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB;;;;;;iBAI7B,CAAC;AACH,MAAM,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
3
3
|
// and builds the output shapes; the pages and a custom console parse answers with the rest.
|
|
4
4
|
// Absent values are `null` on the wire, never missing keys. Changes within a version are additive.
|
|
5
|
+
import { restBrowseSchema as packBrowseSchema, restFileSchema as packFileSchema, restFindSchema as packFindSchema, restMountSchema as packMountSchema, restSkillSchema as packSkillSchema, } from "@skillcdn/core";
|
|
5
6
|
import * as z from "zod/mini";
|
|
6
7
|
import { isDocumentPath } from "./documents.js";
|
|
7
8
|
import { MAX_AGENT_LENGTH, MAX_BODY_LENGTH, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_FILE_NAME_LENGTH, MAX_LANGUAGE_TAG_LENGTH, MAX_LINK_LABEL_LENGTH, MAX_LINKS, MAX_LOGIN_LENGTH, MAX_NOTE_LENGTH, MAX_OPTION_LABEL_LENGTH, MAX_OPTIONS, MAX_PROJECT_DESCRIPTION_LENGTH, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_QUESTION_LENGTH, MAX_RULES_LENGTH, MAX_SECRET_LENGTH, MAX_SKILLS_ADDRESS_LENGTH, MAX_SUMMARY_LENGTH, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_URL_LENGTH, MIN_OPTIONS, } from "./limits.js";
|
|
8
9
|
import { hasForbiddenCodePoint } from "./text.js";
|
|
9
|
-
import { ARTIFACT_KINDS, CATEGORY_COLORS, COLOR_NAMES, EVENT_KINDS, GOAL_STATES, LINK_SOURCES, MEMBERSHIP_SOURCES, PERSON_ROLES, PERSON_STATUSES, PROJECT_ICON_TYPES, PROJECT_ROLES, PROJECT_VISIBILITIES, PROVIDER_KEYS, RULES_SOURCES, RUN_ENDINGS, RUN_STATUSES, SKILLS_STATUSES, TASK_PRIORITIES, TASK_STATES, } from "./vocabulary.js";
|
|
10
|
+
import { ARTIFACT_KINDS, CATEGORY_COLORS, COLOR_NAMES, EVENT_KINDS, GOAL_STATES, LINK_SOURCES, MEMBERSHIP_SOURCES, PACK_CONNECT_ENDINGS, PEOPLE_VISIBILITIES, PERSON_ROLES, PERSON_STATUSES, PROJECT_ICON_TYPES, PROJECT_ROLES, PROJECT_VISIBILITIES, PROVIDER_KEYS, RULES_SOURCES, RUN_ENDINGS, RUN_STATUSES, SKILLS_STATUSES, TASK_PRIORITIES, TASK_STATES, WEEK_STARTS, } from "./vocabulary.js";
|
|
10
11
|
/** A line of text a person wrote: trimmed, bounded, and free of characters that hide. */
|
|
11
12
|
const line = (maxLength) => z.string().check(z.trim(), z.minLength(1), z.maxLength(maxLength), z.refine((value) => !hasForbiddenCodePoint(value), "must not contain control characters"));
|
|
12
13
|
/** A text of a few lines: bounded, with its line breaks, and otherwise the same rule. */
|
|
@@ -81,28 +82,74 @@ export const restProviderSchema = z.object({
|
|
|
81
82
|
/** What people read on the button. */
|
|
82
83
|
label: z.string(),
|
|
83
84
|
});
|
|
85
|
+
/**
|
|
86
|
+
* A time zone's name as the IANA database spells one (`Asia/Seoul`, `UTC`): its shape here; the
|
|
87
|
+
* server knows which names are zones.
|
|
88
|
+
*/
|
|
89
|
+
export const timeZoneName = z
|
|
90
|
+
.string()
|
|
91
|
+
.check(z.minLength(1), z.maxLength(64), z.regex(/^[A-Za-z0-9_+-]+(?:\/[A-Za-z0-9_+-]+)*$/, "must be a time zone name"));
|
|
84
92
|
/** A language tag as a browser sends one (`en`, `ko-KR`): what the pages speak, by the person's choice. */
|
|
85
93
|
const languageTag = z
|
|
86
94
|
.string()
|
|
87
95
|
.check(z.maxLength(MAX_LANGUAGE_TAG_LENGTH), z.regex(/^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$/, "must be a language tag"));
|
|
88
96
|
/** What `PATCH /api/v1/me` is sent: the language the person chose, or `null` to choose none. */
|
|
89
97
|
export const restMePatchSchema = z.object({ language: z.nullable(languageTag) });
|
|
98
|
+
/**
|
|
99
|
+
* The workspace as `GET /api/v1/me` describes it, and as `PATCH /api/v1/workspace` answers: what
|
|
100
|
+
* the board is called, what the deployment's configuration says of it, and the settings an
|
|
101
|
+
* administrator keeps on the Settings page (ADR-0035).
|
|
102
|
+
*/
|
|
103
|
+
export const restWorkspaceSchema = z.object({
|
|
104
|
+
name: z.string(),
|
|
105
|
+
/** The most days a token may be good for here, or `null` when a person chooses. */
|
|
106
|
+
tokenDaysAtMost: z.nullable(z.int().check(z.positive())),
|
|
107
|
+
/**
|
|
108
|
+
* The organization's skills: the origin of the SkillCDN deployment they are read through,
|
|
109
|
+
* and the address a project without one of its own reads, canonical, or `null` for none.
|
|
110
|
+
*/
|
|
111
|
+
skills: z.object({
|
|
112
|
+
source: z.string(),
|
|
113
|
+
address: z.nullable(z.string()),
|
|
114
|
+
/**
|
|
115
|
+
* The SkillCDN token the organization's pack is read with, by a project that names no
|
|
116
|
+
* address and holds no token of its own (ADR-0036): when it was set, never the token; `null`
|
|
117
|
+
* for none. Optional, so that a console older than it still answers.
|
|
118
|
+
*/
|
|
119
|
+
packToken: z.optional(z.nullable(z.object({ setAt: instant }))),
|
|
120
|
+
}),
|
|
121
|
+
/**
|
|
122
|
+
* Who sees whom on the People page (ADR-0035): everyone, or the people one shares a project
|
|
123
|
+
* with. Read as optional, so that a console older than this setting still answers; `everyone`
|
|
124
|
+
* then, which is what it does.
|
|
125
|
+
*/
|
|
126
|
+
peopleVisibility: z.optional(z.enum(PEOPLE_VISIBILITIES)),
|
|
127
|
+
/** The day the calendars begin a week on: the language's, Monday or Sunday. Optional as above; `auto` then. */
|
|
128
|
+
weekStart: z.optional(z.enum(WEEK_STARTS)),
|
|
129
|
+
/**
|
|
130
|
+
* The workspace's time zone, an IANA name, in which the command prints moments; `null` for
|
|
131
|
+
* none, when they stay as the API gives them, in UTC. Optional as above; none then.
|
|
132
|
+
*/
|
|
133
|
+
timeZone: z.optional(z.nullable(timeZoneName)),
|
|
134
|
+
});
|
|
135
|
+
/** What `PATCH /api/v1/workspace` is sent, by an administrator: the settings to change, at least one. */
|
|
136
|
+
export const restWorkspacePatchSchema = z
|
|
137
|
+
.object({
|
|
138
|
+
peopleVisibility: z.optional(z.enum(PEOPLE_VISIBILITIES)),
|
|
139
|
+
weekStart: z.optional(z.enum(WEEK_STARTS)),
|
|
140
|
+
/** A zone's name, or `null` for none. */
|
|
141
|
+
timeZone: z.optional(z.nullable(timeZoneName)),
|
|
142
|
+
})
|
|
143
|
+
.check(z.refine((patch) => Object.values(patch).some((value) => value !== undefined), {
|
|
144
|
+
message: "names nothing to change",
|
|
145
|
+
}));
|
|
90
146
|
/**
|
|
91
147
|
* `GET /api/v1/me`: the workspace, who the session cookie says is signed in (or `null`), the
|
|
92
148
|
* language they chose (or `null`), and the identity providers people sign in through, none
|
|
93
149
|
* where nobody can.
|
|
94
150
|
*/
|
|
95
151
|
export const restMeSchema = z.object({
|
|
96
|
-
workspace:
|
|
97
|
-
name: z.string(),
|
|
98
|
-
/** The most days a token may be good for here, or `null` when a person chooses. */
|
|
99
|
-
tokenDaysAtMost: z.nullable(z.int().check(z.positive())),
|
|
100
|
-
/**
|
|
101
|
-
* The organization's skills: the origin of the SkillCDN deployment they are read through,
|
|
102
|
-
* and the address a project without one of its own reads, canonical, or `null` for none.
|
|
103
|
-
*/
|
|
104
|
-
skills: z.object({ source: z.string(), address: z.nullable(z.string()) }),
|
|
105
|
-
}),
|
|
152
|
+
workspace: restWorkspaceSchema,
|
|
106
153
|
person: z.nullable(restPersonSchema),
|
|
107
154
|
/**
|
|
108
155
|
* What the token asking is called by its person, when a token asks: how a console of a
|
|
@@ -207,13 +254,23 @@ export const restProjectPatchSchema = z.object({
|
|
|
207
254
|
color: z.optional(z.nullable(z.enum(COLOR_NAMES))),
|
|
208
255
|
symbol: z.optional(z.nullable(projectSymbol)),
|
|
209
256
|
});
|
|
210
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* A member of a project, with what they are in it: a person listed in it, or, in a project open
|
|
259
|
+
* to the workspace, anyone of the workspace, who is a member of it without a listing (ADR-0035).
|
|
260
|
+
*/
|
|
211
261
|
export const restMemberSchema = z.object({
|
|
212
262
|
person: restPersonSchema,
|
|
263
|
+
/** What they are in it: an owner as listed or as an administrator, else a member. */
|
|
213
264
|
role: z.enum(PROJECT_ROLES),
|
|
265
|
+
/** Since when: the listing's day, or, for a member without one, the later of the project's making and their joining. */
|
|
214
266
|
addedAt: instant,
|
|
267
|
+
/**
|
|
268
|
+
* Whether a listing holds them in the project. Read as optional, so that a console older than
|
|
269
|
+
* this field still answers; everyone it lists is listed.
|
|
270
|
+
*/
|
|
271
|
+
listed: z.optional(z.boolean()),
|
|
215
272
|
});
|
|
216
|
-
/** `GET /api/v1/projects/<key>/members`:
|
|
273
|
+
/** `GET /api/v1/projects/<key>/members`: the members, by login; everyone of the workspace in a project open to it. */
|
|
217
274
|
export const restMembersSchema = z.object({ items: z.array(restMemberSchema) });
|
|
218
275
|
/** What `POST /api/v1/projects/<key>/members` is sent: a person of the workspace, and what they are to be. */
|
|
219
276
|
export const restMemberInputSchema = z.object({
|
|
@@ -385,9 +442,15 @@ export const restGoalPatchSchema = z.object({
|
|
|
385
442
|
dueOn: z.optional(z.nullable(day)),
|
|
386
443
|
});
|
|
387
444
|
export const restDecisionOptionSchema = z.object({
|
|
388
|
-
/** What an answer names: stable
|
|
445
|
+
/** What an answer names: stable once given. */
|
|
389
446
|
id: z.string(),
|
|
390
447
|
label: z.string(),
|
|
448
|
+
/**
|
|
449
|
+
* On the one option a person's own answer became, when they answered in their own words
|
|
450
|
+
* instead of choosing (`POST .../answer` with `own`): added then, after the options given,
|
|
451
|
+
* which carry no `own`.
|
|
452
|
+
*/
|
|
453
|
+
own: z.optional(z.literal(true)),
|
|
391
454
|
});
|
|
392
455
|
export const restDecisionSchema = z.object({
|
|
393
456
|
id: uuid,
|
|
@@ -466,11 +529,19 @@ export const restDecisionPatchSchema = z.object({
|
|
|
466
529
|
/** What followed the decision; empty clears it. */
|
|
467
530
|
outcome: z.optional(body),
|
|
468
531
|
});
|
|
469
|
-
/**
|
|
470
|
-
|
|
471
|
-
|
|
532
|
+
/**
|
|
533
|
+
* What `POST .../decisions/<id>/answer` is sent: one of the options by its id, or the person's
|
|
534
|
+
* own answer in a line, one of the two; and a word about either.
|
|
535
|
+
*/
|
|
536
|
+
export const restAnswerInputSchema = z
|
|
537
|
+
.object({
|
|
538
|
+
/** The id of the chosen option. */
|
|
539
|
+
option: z.optional(z.string().check(z.minLength(1), z.maxLength(64))),
|
|
540
|
+
/** The person's own answer, when none of the options is it: one line, worded as an option is. */
|
|
541
|
+
own: z.optional(line(MAX_OPTION_LABEL_LENGTH)),
|
|
472
542
|
note: z.optional(paragraphs(MAX_NOTE_LENGTH)),
|
|
473
|
-
})
|
|
543
|
+
})
|
|
544
|
+
.check(z.refine((input) => (input.option === undefined) !== (input.own === undefined), "must name an option or give an answer of its own, one of the two"));
|
|
474
545
|
/**
|
|
475
546
|
* What an event says about its subject, so that a feed can show a line without asking for the
|
|
476
547
|
* task or the decision: every field is there only when the kind has it.
|
|
@@ -672,39 +743,56 @@ export const restClaimSchema = z.union([
|
|
|
672
743
|
z.object({ status: z.literal("pending"), expiresAt: instant }),
|
|
673
744
|
z.object({ status: z.literal("connected"), token: restTokenSchema, secret: z.string() }),
|
|
674
745
|
]);
|
|
675
|
-
/**
|
|
746
|
+
/** 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. */
|
|
747
|
+
export const restPackRefusalSchema = z.object({
|
|
748
|
+
code: z.string(),
|
|
749
|
+
message: z.string(),
|
|
750
|
+
/** With a file the pack will not carry: where it is at its source, or `null`. */
|
|
751
|
+
sourceUrl: z.nullable(z.string()),
|
|
752
|
+
/** With `skill.ambiguous`: the directories to choose from. */
|
|
753
|
+
directories: z.array(z.string()),
|
|
754
|
+
});
|
|
755
|
+
/** What every answer about a pack says first: its address, where it is read, and how the read went. */
|
|
756
|
+
const packEnvelope = {
|
|
757
|
+
/** The address, canonical, or `null` when neither the project nor the console names one. */
|
|
758
|
+
address: z.nullable(z.string()),
|
|
759
|
+
/** The origin of the SkillCDN deployment the pack is read at; `null` for a pack read from a directory on the console's machine (ADR-0031). */
|
|
760
|
+
source: z.nullable(z.string()),
|
|
761
|
+
/** Where a person browses the address at the deployment, or `null` without one. */
|
|
762
|
+
page: z.nullable(z.string()),
|
|
763
|
+
status: z.enum(SKILLS_STATUSES),
|
|
764
|
+
/** Why the read did not happen, in the pack's own words, when `status` says it did not; `null` otherwise. */
|
|
765
|
+
refusal: z.nullable(restPackRefusalSchema),
|
|
766
|
+
};
|
|
767
|
+
/** 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. */
|
|
676
768
|
export const restSkillSchema = z.object({
|
|
677
769
|
name: z.string(),
|
|
678
770
|
description: z.string(),
|
|
679
771
|
/** The skill's folder in the repository (`""` for the root), and the path of its `SKILL.md`. */
|
|
680
772
|
directory: z.string(),
|
|
681
773
|
path: z.string(),
|
|
682
|
-
/** Where a person reads the skill: its page at the deployment. */
|
|
683
|
-
page: z.string(),
|
|
774
|
+
/** Where a person reads the skill: its page at the deployment, or `null` for a pack read from a directory. */
|
|
775
|
+
page: z.nullable(z.string()),
|
|
684
776
|
/** What an agent loads the skill by, through its own SkillCDN connection; `null` when the path is not one. */
|
|
685
777
|
uri: z.nullable(z.string()),
|
|
686
778
|
/** The title and the description in other languages, by language tag, as the repository gives them. */
|
|
687
779
|
translations: z.record(z.string(), z.object({ title: z.nullable(z.string()), description: z.nullable(z.string()) })),
|
|
688
780
|
});
|
|
689
|
-
/** `GET /api/v1/projects/<key>/skills`: the project's
|
|
781
|
+
/** `GET /api/v1/projects/<key>/skills`: the project's pack, read by address (ADR-0028, ADR-0031). */
|
|
690
782
|
export const restSkillsSchema = z.object({
|
|
691
|
-
|
|
692
|
-
address: z.nullable(z.string()),
|
|
693
|
-
/** The origin of the SkillCDN deployment the skills are read through. */
|
|
694
|
-
source: z.string(),
|
|
695
|
-
/** Where a person browses the address, or `null` without one. */
|
|
696
|
-
page: z.nullable(z.string()),
|
|
697
|
-
status: z.enum(SKILLS_STATUSES),
|
|
783
|
+
...packEnvelope,
|
|
698
784
|
/** The pack as its manifest or its README names it, when `ready`: what it is called, what it is for, the language it is written in. */
|
|
699
785
|
pack: z.optional(z.object({
|
|
700
786
|
name: z.nullable(z.string()),
|
|
701
787
|
description: z.nullable(z.string()),
|
|
702
788
|
language: z.nullable(z.string()),
|
|
703
789
|
})),
|
|
704
|
-
/** How many skills and documents the
|
|
790
|
+
/** How many skills and documents the index found at the address, when `ready`. */
|
|
705
791
|
counts: z.optional(z.object({ skills: count, documents: count })),
|
|
706
792
|
/** The skills, when `ready`; empty otherwise. */
|
|
707
793
|
items: z.array(restSkillSchema),
|
|
794
|
+
/** What the address serves, as the main repository's REST API answers it (`RestMount` of `@skillcdn/core`), for a program that renders what a model is given; `null` when nothing was answered. */
|
|
795
|
+
mount: z.nullable(packMountSchema),
|
|
708
796
|
});
|
|
709
797
|
/** `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. */
|
|
710
798
|
export const restPackTokenInputSchema = z.object({
|
|
@@ -712,150 +800,66 @@ export const restPackTokenInputSchema = z.object({
|
|
|
712
800
|
.string()
|
|
713
801
|
.check(z.minLength(8), z.maxLength(1024), z.regex(/^\S+$/, "must have no space in it")),
|
|
714
802
|
});
|
|
715
|
-
/**
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
803
|
+
/**
|
|
804
|
+
* `POST .../pack-token/connect` (ADR-0036): what the person is shown, as the deployment said it,
|
|
805
|
+
* the code and the page to approve it on, until when, and how often the console asks again. The
|
|
806
|
+
* secret the console claims the token with stays with the console.
|
|
807
|
+
*/
|
|
808
|
+
export const restPackConnectStartedSchema = z.object({
|
|
809
|
+
code: z.string(),
|
|
810
|
+
url: z.string(),
|
|
811
|
+
expiresAt: instant,
|
|
812
|
+
intervalSeconds: z.int().check(z.positive()),
|
|
720
813
|
});
|
|
721
|
-
/**
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
})),
|
|
738
|
-
/** Whether this page completes the skill; else the cursor of the next. */
|
|
739
|
-
complete: z.boolean(),
|
|
740
|
-
nextCursor: z.nullable(z.string()),
|
|
741
|
-
/** How the skill is served: whole, or described only, with its license and where it is read at its host. */
|
|
742
|
-
serving: z.object({
|
|
743
|
-
full: z.boolean(),
|
|
744
|
-
license: z.nullable(z.string()),
|
|
745
|
-
sourceUrl: z.nullable(z.string()),
|
|
746
|
-
}),
|
|
747
|
-
warnings: z.array(z.string()),
|
|
814
|
+
/**
|
|
815
|
+
* `GET .../pack-token/connect`: how the connection stands. Nothing asked; waiting for the
|
|
816
|
+
* person, with what they were shown; connected, the token kept and the project as it stands; or
|
|
817
|
+
* ended short of a token, and why.
|
|
818
|
+
*/
|
|
819
|
+
const packConnectNone = z.object({ status: z.literal("none") });
|
|
820
|
+
const packConnectPending = z.object({
|
|
821
|
+
status: z.literal("pending"),
|
|
822
|
+
code: z.string(),
|
|
823
|
+
url: z.string(),
|
|
824
|
+
expiresAt: instant,
|
|
825
|
+
intervalSeconds: z.int().check(z.positive()),
|
|
826
|
+
});
|
|
827
|
+
const packConnectEnded = z.object({
|
|
828
|
+
status: z.literal("ended"),
|
|
829
|
+
reason: z.enum(PACK_CONNECT_ENDINGS),
|
|
748
830
|
});
|
|
749
|
-
|
|
831
|
+
export const restPackConnectSchema = z.union([
|
|
832
|
+
packConnectNone,
|
|
833
|
+
packConnectPending,
|
|
834
|
+
z.object({ status: z.literal("connected"), project: restProjectSchema }),
|
|
835
|
+
packConnectEnded,
|
|
836
|
+
]);
|
|
837
|
+
/** `GET /api/v1/workspace/pack-token/connect`: the same, for the workspace's token, with the workspace as it stands once connected. */
|
|
838
|
+
export const restWorkspacePackConnectSchema = z.union([
|
|
839
|
+
packConnectNone,
|
|
840
|
+
packConnectPending,
|
|
841
|
+
z.object({ status: z.literal("connected"), workspace: restWorkspaceSchema }),
|
|
842
|
+
packConnectEnded,
|
|
843
|
+
]);
|
|
844
|
+
/** `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`. */
|
|
750
845
|
export const restSkillLoadSchema = z.object({
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
page: z.nullable(z.string()),
|
|
754
|
-
status: z.enum(SKILLS_STATUSES),
|
|
755
|
-
skill: z.nullable(restSkillPageSchema),
|
|
846
|
+
...packEnvelope,
|
|
847
|
+
read: z.nullable(packSkillSchema),
|
|
756
848
|
});
|
|
757
|
-
/** `GET .../skills/file?path=&offset=&limit=`: a page of a file
|
|
849
|
+
/** `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`. */
|
|
758
850
|
export const restSkillFileSchema = z.object({
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
status: z.enum(SKILLS_STATUSES),
|
|
762
|
-
file: z.nullable(z.object({
|
|
763
|
-
path: z.string(),
|
|
764
|
-
content: z.string(),
|
|
765
|
-
offset: count,
|
|
766
|
-
nextOffset: z.nullable(count),
|
|
767
|
-
totalLength: count,
|
|
768
|
-
})),
|
|
769
|
-
folder: z.nullable(z.object({
|
|
770
|
-
path: z.string(),
|
|
771
|
-
entries: z.array(z.object({
|
|
772
|
-
path: z.string(),
|
|
773
|
-
kind: z.enum(["directory", "file"]),
|
|
774
|
-
size: z.nullable(count),
|
|
775
|
-
})),
|
|
776
|
-
truncated: z.boolean(),
|
|
777
|
-
})),
|
|
851
|
+
...packEnvelope,
|
|
852
|
+
read: z.nullable(packFileSchema),
|
|
778
853
|
});
|
|
779
|
-
/**
|
|
780
|
-
export const restSkillBrowseEntrySchema = z.object({
|
|
781
|
-
kind: z.enum(["skill", "directory", "file"]),
|
|
782
|
-
/** The path from the repository's root: of the `SKILL.md` for a skill, of the folder, of the file. */
|
|
783
|
-
path: z.string(),
|
|
784
|
-
name: z.nullable(z.string()),
|
|
785
|
-
description: z.nullable(z.string()),
|
|
786
|
-
/** For a folder: the skills and the documents under it. */
|
|
787
|
-
skillCount: count,
|
|
788
|
-
documentCount: count,
|
|
789
|
-
/** For a file: its size in bytes. */
|
|
790
|
-
size: z.nullable(count),
|
|
791
|
-
/** For a folder: the README that introduces it, read with the file route. */
|
|
792
|
-
overviewPath: z.nullable(z.string()),
|
|
793
|
-
/** For a skill: its license, and whether the address only describes it. */
|
|
794
|
-
license: z.nullable(z.string()),
|
|
795
|
-
describedOnly: z.boolean(),
|
|
796
|
-
});
|
|
797
|
-
/** `GET .../skills/browse?path=&cursor=&limit=`: what a folder of the pack holds, a page of it (`browse_repo`); `folder` is `null` unless `ready`. */
|
|
854
|
+
/** `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`. */
|
|
798
855
|
export const restSkillBrowseSchema = z.object({
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
page: z.nullable(z.string()),
|
|
802
|
-
status: z.enum(SKILLS_STATUSES),
|
|
803
|
-
folder: z.nullable(z.object({
|
|
804
|
-
path: z.string(),
|
|
805
|
-
/** The README that introduces the folder, or `null`. */
|
|
806
|
-
overview: z.nullable(z.object({
|
|
807
|
-
path: z.string(),
|
|
808
|
-
title: z.nullable(z.string()),
|
|
809
|
-
description: z.nullable(z.string()),
|
|
810
|
-
})),
|
|
811
|
-
entries: z.array(restSkillBrowseEntrySchema),
|
|
812
|
-
/** Where the listing goes on, or `null` at its end. */
|
|
813
|
-
nextCursor: z.nullable(z.string()),
|
|
814
|
-
})),
|
|
856
|
+
...packEnvelope,
|
|
857
|
+
read: z.nullable(packBrowseSchema),
|
|
815
858
|
});
|
|
816
|
-
/**
|
|
817
|
-
export const restSkillFindItemSchema = z.discriminatedUnion("kind", [
|
|
818
|
-
z.object({
|
|
819
|
-
kind: z.literal("skill"),
|
|
820
|
-
name: z.string(),
|
|
821
|
-
description: z.string(),
|
|
822
|
-
directory: z.string(),
|
|
823
|
-
path: z.string(),
|
|
824
|
-
page: z.string(),
|
|
825
|
-
uri: z.nullable(z.string()),
|
|
826
|
-
translations: z.record(z.string(), z.object({ title: z.nullable(z.string()), description: z.nullable(z.string()) })),
|
|
827
|
-
/** The files of the skill that matched, a few, and how many more did. */
|
|
828
|
-
files: z.array(z.object({
|
|
829
|
-
path: z.string(),
|
|
830
|
-
title: z.nullable(z.string()),
|
|
831
|
-
summary: z.nullable(z.string()),
|
|
832
|
-
})),
|
|
833
|
-
moreFiles: count,
|
|
834
|
-
license: z.nullable(z.string()),
|
|
835
|
-
describedOnly: z.boolean(),
|
|
836
|
-
}),
|
|
837
|
-
z.object({
|
|
838
|
-
kind: z.literal("document"),
|
|
839
|
-
path: z.string(),
|
|
840
|
-
title: z.nullable(z.string()),
|
|
841
|
-
summary: z.nullable(z.string()),
|
|
842
|
-
/** The folder of the skill the document belongs to, or `null` for one on its own. */
|
|
843
|
-
skillDirectory: z.nullable(z.string()),
|
|
844
|
-
}),
|
|
845
|
-
]);
|
|
846
|
-
/** `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`. */
|
|
859
|
+
/** `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`. */
|
|
847
860
|
export const restSkillFindSchema = z.object({
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
page: z.nullable(z.string()),
|
|
851
|
-
status: z.enum(SKILLS_STATUSES),
|
|
852
|
-
found: z.nullable(z.object({
|
|
853
|
-
query: z.string(),
|
|
854
|
-
/** The folder the search was kept to, or `null` for the whole pack. */
|
|
855
|
-
path: z.nullable(z.string()),
|
|
856
|
-
items: z.array(restSkillFindItemSchema),
|
|
857
|
-
nextCursor: z.nullable(z.string()),
|
|
858
|
-
})),
|
|
861
|
+
...packEnvelope,
|
|
862
|
+
read: z.nullable(packFindSchema),
|
|
859
863
|
});
|
|
860
864
|
/**
|
|
861
865
|
* A document's path (ADR-0009): segments of lowercase letters, digits and hyphens, separated
|