@skillcdn/console 0.3.2 → 0.4.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 +4 -3
- 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.map +1 -1
- package/dist/cli/cli.js +132 -18
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +6 -4
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +72 -21
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/pack.d.ts +7 -2
- package/dist/cli/pack.d.ts.map +1 -1
- package/dist/cli/pack.js +16 -2
- package/dist/cli/pack.js.map +1 -1
- package/dist/client.d.ts +19 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +11 -1
- package/dist/client.js.map +1 -1
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +2 -2
- package/dist/components/board.d.ts +12 -1
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +52 -4
- package/dist/components/board.js.map +1 -1
- package/dist/components/calendar.d.ts +4 -0
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +61 -22
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/decision-form.d.ts +12 -4
- package/dist/components/decision-form.d.ts.map +1 -1
- package/dist/components/decision-form.js +24 -6
- package/dist/components/decision-form.js.map +1 -1
- package/dist/components/decision-list.d.ts +4 -0
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +9 -6
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/documents.d.ts.map +1 -1
- package/dist/components/documents.js +3 -3
- package/dist/components/documents.js.map +1 -1
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +63 -8
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +6 -3
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/my-decisions.d.ts +20 -0
- package/dist/components/my-decisions.d.ts.map +1 -0
- package/dist/components/my-decisions.js +36 -0
- package/dist/components/my-decisions.js.map +1 -0
- package/dist/components/pack-connect.d.ts +3 -1
- package/dist/components/pack-connect.d.ts.map +1 -1
- package/dist/components/pack-connect.js +4 -4
- package/dist/components/pack-connect.js.map +1 -1
- package/dist/components/pack-token.d.ts +3 -1
- package/dist/components/pack-token.d.ts.map +1 -1
- package/dist/components/pack-token.js +1 -1
- package/dist/components/pack-token.js.map +1 -1
- package/dist/components/people.d.ts.map +1 -1
- package/dist/components/people.js +14 -3
- package/dist/components/people.js.map +1 -1
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +3 -3
- package/dist/components/projects.js.map +1 -1
- package/dist/components/remote-pictures.d.ts +6 -0
- package/dist/components/remote-pictures.d.ts.map +1 -0
- package/dist/components/remote-pictures.js +8 -0
- package/dist/components/remote-pictures.js.map +1 -0
- package/dist/components/roadmap.js +1 -1
- package/dist/components/roadmap.js.map +1 -1
- package/dist/components/runs.d.ts.map +1 -1
- package/dist/components/runs.js +1 -1
- package/dist/components/runs.js.map +1 -1
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +36 -1
- package/dist/components/shell.js.map +1 -1
- package/dist/components/sign-in.d.ts.map +1 -1
- package/dist/components/sign-in.js +49 -2
- package/dist/components/sign-in.js.map +1 -1
- package/dist/components/task-list.js +1 -1
- package/dist/components/task-list.js.map +1 -1
- package/dist/components/task-view.d.ts.map +1 -1
- package/dist/components/task-view.js +2 -2
- package/dist/components/task-view.js.map +1 -1
- package/dist/components/ui.d.ts +13 -2
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +21 -14
- package/dist/components/ui.js.map +1 -1
- package/dist/console.css +1686 -425
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +83 -13
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +15 -2
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +18 -19
- package/dist/data.js.map +1 -1
- package/dist/i18n/en.d.ts +48 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +50 -3
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +47 -4
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +14 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +14 -0
- package/dist/limits.js.map +1 -1
- package/dist/router.d.ts +9 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +12 -0
- package/dist/router.js.map +1 -1
- package/dist/routes.d.ts +5 -1
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +5 -1
- package/dist/routes.js.map +1 -1
- package/dist/rules.js +1 -1
- package/dist/rules.js.map +1 -1
- package/dist/schemas.d.ts +272 -4
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +33 -8
- package/dist/schemas.js.map +1 -1
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +3 -2
- package/dist/web.js.map +1 -1
- package/docs/specs/cli.md +11 -10
- package/docs/specs/rest.md +33 -17
- package/package.json +2 -2
- package/skills/building-a-console/SKILL.md +5 -5
- package/skills/building-a-console/references/the-default-console.md +4 -4
- package/skills/building-a-console/references/the-look-from-a-website.md +5 -5
- package/skills/working-the-board/SKILL.md +6 -4
- package/skills/working-the-board/references/setting-up.md +1 -1
- package/skills/working-the-board/references/terms.md +1 -1
- package/src/api.ts +10 -0
- package/src/cli/cli.ts +162 -19
- package/src/cli/format.ts +11 -4
- package/src/cli/help.ts +79 -20
- package/src/cli/pack.ts +17 -1
- package/src/client.ts +51 -2
- package/src/compat.ts +2 -2
- package/src/components/board.tsx +114 -21
- package/src/components/calendar.tsx +207 -102
- package/src/components/decision-form.tsx +71 -23
- package/src/components/decision-list.tsx +30 -3
- package/src/components/documents.tsx +27 -11
- package/src/components/event-feed.tsx +116 -33
- package/src/components/markdown.tsx +6 -3
- package/src/components/my-decisions.tsx +138 -0
- package/src/components/pack-connect.tsx +10 -7
- package/src/components/pack-token.tsx +4 -1
- package/src/components/people.tsx +20 -8
- package/src/components/projects.tsx +7 -5
- package/src/components/remote-pictures.ts +19 -0
- package/src/components/roadmap.tsx +1 -1
- package/src/components/runs.tsx +5 -1
- package/src/components/shell.tsx +36 -1
- package/src/components/sign-in.tsx +114 -13
- package/src/components/task-list.tsx +1 -1
- package/src/components/task-view.tsx +48 -47
- package/src/components/ui.tsx +70 -14
- package/src/console.tsx +153 -32
- package/src/data.ts +37 -20
- package/src/i18n/en.ts +53 -3
- package/src/i18n/ko.ts +50 -4
- package/src/index.ts +3 -0
- package/src/limits.ts +14 -0
- package/src/router.ts +18 -1
- package/src/routes.ts +5 -1
- package/src/rules.ts +1 -1
- package/src/schemas.ts +37 -8
- package/src/styles/console.css +1686 -425
- package/src/web.ts +3 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<a href="https://github.com/skillcdn/console/blob/main/LICENSE.md"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-3a6dd4"></a>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
**Pre-1.0.** Published from `main` by the release workflow, from changesets, through the registry's trusted publishing ([ADR-0007](https://github.com/skillcdn/console/blob/main/docs/adr/0007-the-package-is-published-through-trusted-publishing-and-versioned-on-the-core-line.md)). The version's major and minor are SkillCDN's, the one version of the main repository's packages the console is built on, and its patch the console's own: `@skillcdn/console` 0.
|
|
11
|
+
**Pre-1.0.** Published from `main` by the release workflow, from changesets, through the registry's trusted publishing ([ADR-0007](https://github.com/skillcdn/console/blob/main/docs/adr/0007-the-package-is-published-through-trusted-publishing-and-versioned-on-the-core-line.md)). The version's major and minor are SkillCDN's, the one version of the main repository's packages the console is built on, and its patch the console's own: `@skillcdn/console` 0.4.x is the console for SkillCDN 0.4, and the changelog says what each release changed, first as `Breaking:` where it changed what existed ([ADR-0034](https://github.com/skillcdn/console/blob/main/docs/adr/0034-the-package-is-versioned-on-skillcdns-line-one-line-at-a-time-with-a-patch-of-its-own.md)). All three layers are here, and the command: the contract of the REST API, the components, the composition of the default console, and `console`, what an agent works the board with.
|
|
12
12
|
|
|
13
13
|
## What it exports
|
|
14
14
|
|
|
@@ -76,11 +76,12 @@ createConsole({
|
|
|
76
76
|
}).mount(document.getElementById("root"));
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
- **The components** take their data as props and nothing from the network: `Board` (one column per state, the sooner due first; given `onMove`, a card is dragged to another column with a mouse, or with a finger that rests on it a moment first; given `editHref` and `onArchive`, each card has a menu with the way to the task's form and, once it is done or dropped, the way to put it away), `TaskCard`, `BoardFilters` with `filterTasks` and `byDue` (the board narrowed by category, goal, person and one's own), `TaskList` (tasks as rows, a page at a time), `TaskView` (one task with its plan, its moments, its workers, its decisions and its parts; given `parent`, the task it is part of when the page has read it, and `findTasks` and `findGoals`, its form searches), `TaskForm` (with the `categories` to choose from, the `people` to put on the task as its workers, and `findTasks` and `findGoals`, searches a page at a time by which the task it is part of and the goal it works towards are found, never offered whole, ADR-0037), `Calendar` and `Workload` with `workloadOf` (a month with each task across its planned days, a bar in a lane of its own, or on its one day, a due day or a start, the person who has each before its title, with a legend of the colours of the `categories` given, and who has what; `weekSegments` lays the bars; `TaskTip` is the task under the pointer in full, with the facts its page lists, within its item and above or below it as `placeTip` says, where there is more room, its goal named from the `goals` given; the composition narrows the page with `BoardFilters` as it does the board, the address carrying the filter with the month), `GoalList`, `GoalView` and `GoalForm` (the roadmap, one goal with its tasks by state, and the way to set one, with the `categories` to sort it into and its start and target days, ADR-0026), `GoalTimeline` with `timelineBars` (the roadmap as months: six from the month given, each goal planned in days a bar from its start to its target in the colour of its category, filled as far as its tasks are done, today marked, and the goals without days named below; `Calendar` given `goalHref` marks each goal's target day on the month), `WorkList` (a person's own work across projects), `CategoryList` (the categories, with the ways an administrator keeps them), `DecisionList` and `DecisionCard` (the waiting ones as cards, each with the way to answer, one of the options or a line of one's own; the answered ones as the record, `DecisionLog`, a row each with who asked and when, through which agent, the answer with the word given, marked when it is the person's own, and who answered and when, twenty to a page, each page at an address given `pageHref` and `page`, or turned in place), `DecisionForm`, `EventFeed` (a sentence per event, newest first, a page at a time; `describeEvent` makes the sentence), `Shell` (the header with the workspace, the project, the tabs of the pages and the person's menu), `SignIn` (one button per provider the deployment offers), `TokenList`, `TokenForm` and `NewToken` (the agents a person connected, as the tokens they hold, the way to make one by hand, and the one just made with its secret shown once), `ConnectCodeForm`, `ConnectApproval` and `ConnectWords` (an agent connecting with a code: where the code is typed, what asks under it with the way to approve or refuse it, and what to tell the agent; `ConnectPage` composes the first two for a code), `PeopleList` (everyone in, with what each is and what let them in, the logins let in that nobody signed in with yet, and the deactivated, with the ways for an administrator to change a role, take a person out or back in, and take a listing away) and `ListingForm` (where an administrator lets someone in by login), `ProjectMark` (a project's mark: its own image when it has one, else its symbol on its colour, or the ones chosen from its key and its name; `sm`, `md` or `lg`), `ProjectList`, `ProjectForm` and `MemberList` (the projects a person may see with what they are in each, the way to make or change one, its mark included, with an image chosen for it (`onSubmit` gets the file, or `null` to take the image away), and those listed in a project with the way for an owner to add, change and remove them; `ProjectRoleBadge`, `PROJECT_ROLE_LABELS`, `VISIBILITY_LABELS` and `keyOf` with them), `PackTokenForm`, `PackConnect` and `PackTokenWays` (the SkillCDN token a private pack is read with: pasted, or connected with a code approved at SkillCDN, the console asked again at the interval the deployment named; and the two ways side by side, as a project's Settings page and the workspace's offer them), `WorkspaceSettingsView` and `WorkspaceSettingsForm` (the workspace's settings as rows: who sees whom, the day the week begins on and the time zone, picked by area with `timeZoneGroups`, `deviceTimeZone` and `offsetOf`), `SkillList` (a project's skills as SkillCDN serves them at its address, each with where a person reads it and what an agent loads it by, and how an agent is connected to it), `RulesView` and `RulesForm` (the rules of the board, ADR-0023: what holds and where it comes from, the console's own, a page written or none, with `{language}` filled with the language the pages speak, folded under its facts where asked, and the ways to write them, put them away and go back to the console's own for whoever may; the form starts from what holds and saves nothing that would change nothing), `FolderView`, `DocumentList`, `DocumentSearch`, `DocumentView`, `DocumentForm`, `DocumentFiles` and `DocumentCrumbs` (a project's documents: a folder's folders and pages, the way to find pages by their words, one page with its versions, what it links to, what refers to it and its files, a picture among them shown where the body names it, and the forms to write and attach, a picture pasted into the body attached once the page is written; `DocsPage` composes them for a path), `RunList` and `RunCard` (an agent's run on a task: what it reported, what it handed in, links and files alike, a picture among them small and large as a comment's is and placed in a report by its file name, what it waits for, and when an open one was last heard from; `RunStatusBadge` and `RUN_STATUS_LABELS` with them, and `fileHref` for where a file is read), `TaskThread`, `CommentCard` and `CommentForm` (the discussion on a task, ADR-0024: the comments, the runs and the decisions as one thread in the order they came, which `threadOf` orders, each comment with who said it, through which agent, its text with the pictures it names in place and its other files after it, pictures being what `isPicture` says, and the form at the end, where a picture pasted in goes with the comment; `TaskView` shows the thread given `comments` and `onComment`, and its `fileHref` names any file of the project by its id), and `Markdown`, which renders what people and agents wrote as elements, never as HTML, with links to the web only and pictures over https only, or, given `fileSrc`, from the file of that name, and, given `docHref`, a link to a page's path as a link to the page. `DecisionCard` reads as a record, with the context, the rationale and what followed, which `onUpdate` lets a person write. The small blocks (`Button`, `CopyButton` (a text put on the clipboard), `Badge`, `Avatar` (`xs` to `lg`), `PersonChip` with `personName` (a person by the name the host gives, the login where there is none), `Callout`, `EmptyState`, `Spinner`, `Time`, `Day`, `CategoryBadge`, `DueBadge`, `GoalStateBadge`, `ProgressBar`, `ShowMore` with `usePaged` and `PAGE_SIZE`, a long list growing a page at a time, `Pager` with `pageOf` and `RECORD_PAGE_SIZE`, a list turned by pages, `Picker` with `PICKER_PAGE_LIMIT`, one thing chosen out of a listing searched a page at a time and standing as a chip once chosen, and `Workers`, the people at work on a task as pictures side by side with a count of the rest), the words of the vocabulary (`STATE_LABELS`, `PRIORITY_LABELS`, `ROLE_LABELS`, with `RoleBadge`) and the day helpers (`today`, `addDays`, `daysBetween`, `monthGrid`, `formatDay`, `formatMonth` and the rest, days being the strings the API spells them as) are exported too.
|
|
79
|
+
- **The components** take their data as props and nothing from the network: `Board` (one column per state, the sooner due first; given `onMove`, a card is dragged to another column with a mouse, or with a finger that rests on it a moment first; given `editHref` and `onArchive`, each card has a menu with the way to the task's form and, once it is done or dropped, the way to put it away; the columns `folded` names, `FOLDED_STATES`, done and dropped, by default, are strips with their count and the way to open them, still taking a card dragged onto them, and `[]` folds none), `TaskCard`, `BoardFilters` with `filterTasks` and `byDue` (the board narrowed by category, goal, person and one's own), `TaskList` (tasks as rows, a page at a time), `TaskView` (one task with its plan, its moments, its workers, its decisions and its parts, the ways to its forms in its head beside the title; given `parent`, the task it is part of when the page has read it, and `findTasks` and `findGoals`, its form searches), `TaskForm` (with the `categories` to choose from, the `people` to put on the task as its workers, and `findTasks` and `findGoals`, searches a page at a time by which the task it is part of and the goal it works towards are found, never offered whole, ADR-0037), `Calendar` and `Workload` with `workloadOf` (a month with each task across its planned days, a bar in a lane of its own, or on its one day, a due day or a start, three of a day's own and the way to the rest where it has more, the person who has each before its title, with a legend of the colours of the `categories` given, and who has what; `weekSegments` lays the bars; `TaskTip` is the task under the pointer in full, with the facts its page lists, within its item and above or below it as `placeTip` says, where there is more room, its goal named from the `goals` given; the composition narrows the page with `BoardFilters` as it does the board, the address carrying the filter with the month), `GoalList`, `GoalView` and `GoalForm` (the roadmap, one goal with its tasks by state, and the way to set one, with the `categories` to sort it into and its start and target days, ADR-0026), `GoalTimeline` with `timelineBars` (the roadmap as months: six from the month given, each goal planned in days a bar from its start to its target in the colour of its category, filled as far as its tasks are done, today marked, and the goals without days named below; `Calendar` given `goalHref` marks each goal's target day on the month), `WorkList` (a person's own work across projects), `MyDecisions` (a person's decisions across their projects: those addressed to them, the waiting first, and those they asked of others, each row naming who asked and who answers, ADR-0042), `CategoryList` (the categories, with the ways an administrator keeps them), `DecisionList` and `DecisionCard` (the waiting ones as cards, each with the way to answer, one of the options or a line of one's own; the answered ones as the record, `DecisionLog`, a row each with who asked and when, through which agent, the answer with the word given, marked when it is the person's own, and who answered and when, twenty to a page, each page at an address given `pageHref` and `page`, or turned in place), `DecisionForm` (about the task given as `taskId`, or one found by search through `findTasks`, a page at a time, ADR-0037; addressed to `me` unless one of `deciders`, the people who may be named, is chosen, ADR-0042), `EventFeed` (a sentence per event, newest first, a page at a time; `describeEvent` makes the sentence), `Shell` (the header with the workspace, the project, the tabs of the pages and the person's menu), `SignIn` (one button per provider the deployment offers), `TokenList`, `TokenForm` and `NewToken` (the agents a person connected, as the tokens they hold, the way to make one by hand, and the one just made with its secret shown once), `ConnectCodeForm`, `ConnectApproval` and `ConnectWords` (an agent connecting with a code: where the code is typed, what asks under it with the way to approve or refuse it, and what to tell the agent; `ConnectPage` composes the first two for a code), `PeopleList` (everyone in, with what each is and what let them in, the logins let in that nobody signed in with yet, and the deactivated, with the ways for an administrator to change a role, take a person out or back in, and take a listing away) and `ListingForm` (where an administrator lets someone in by login), `ProjectMark` (a project's mark: its own image when it has one, else its symbol on its colour, or the ones chosen from its key and its name; `sm`, `md` or `lg`), `ProjectList`, `ProjectForm` and `MemberList` (the projects a person may see with what they are in each, the way to make or change one, its mark included, with an image chosen for it (`onSubmit` gets the file, or `null` to take the image away), and those listed in a project with the way for an owner to add, change and remove them; `ProjectRoleBadge`, `PROJECT_ROLE_LABELS`, `VISIBILITY_LABELS` and `keyOf` with them), `PackTokenForm`, `PackConnect` and `PackTokenWays` (the SkillCDN token a private pack is read with: pasted, or connected with a code approved at SkillCDN, the console asked again at the interval the deployment named; and the two ways side by side, as a project's Settings page and the workspace's offer them), `WorkspaceSettingsView` and `WorkspaceSettingsForm` (the workspace's settings as rows: who sees whom, the day the week begins on and the time zone, picked by area with `timeZoneGroups`, `deviceTimeZone` and `offsetOf`), `SkillList` (a project's skills as SkillCDN serves them at its address, each with where a person reads it and what an agent loads it by, and how an agent is connected to it), `RulesView` and `RulesForm` (the rules of the board, ADR-0023: what holds and where it comes from, the console's own, a page written or none, with `{language}` filled with the language the pages speak, folded under its facts where asked, and the ways to write them, put them away and go back to the console's own for whoever may; the form starts from what holds and saves nothing that would change nothing), `FolderView`, `DocumentList`, `DocumentSearch`, `DocumentView`, `DocumentForm`, `DocumentFiles` and `DocumentCrumbs` (a project's documents: a folder's folders and pages, the way to find pages by their words, one page with its versions, what it links to, what refers to it and its files, a picture among them shown where the body names it, and the forms to write and attach, a picture pasted into the body attached once the page is written; `DocsPage` composes them for a path), `RunList` and `RunCard` (an agent's run on a task: what it reported, what it handed in, links and files alike, a picture among them small and large as a comment's is and placed in a report by its file name, what it waits for, and when an open one was last heard from; `RunStatusBadge` and `RUN_STATUS_LABELS` with them, and `fileHref` for where a file is read), `TaskThread`, `CommentCard` and `CommentForm` (the discussion on a task, ADR-0024: the comments, the runs and the decisions as one thread in the order they came, which `threadOf` orders, each comment with who said it, through which agent, its text with the pictures it names in place and its other files after it, pictures being what `isPicture` says, and the form at the end, where a picture pasted in goes with the comment; `TaskView` shows the thread given `comments` and `onComment`, and its `fileHref` names any file of the project by its id), and `Markdown`, which renders what people and agents wrote as elements, never as HTML, with links to the web only and pictures over https only, or, given `fileSrc`, from the file of that name, and, given `docHref`, a link to a page's path as a link to the page. `DecisionCard` reads as a record, with the context, the rationale and what followed, which `onUpdate` lets a person write. The small blocks (`Button`, `LinkButton` (a link that reads as a button), `CopyButton` (a text put on the clipboard), `Badge`, `Avatar` (`xs` to `lg`), `PersonChip` with `personName` (a person by the name the host gives, the login where there is none), `Callout`, `EmptyState`, `Spinner`, `Time`, `Day`, `CategoryBadge`, `DueBadge`, `GoalStateBadge`, `ProgressBar`, `ShowMore` with `usePaged` and `PAGE_SIZE`, a long list growing a page at a time, `Pager` with `pageOf` and `RECORD_PAGE_SIZE`, a list turned by pages, `Picker` with `PICKER_PAGE_LIMIT`, one thing chosen out of a listing searched a page at a time and standing as a chip once chosen, and `Workers`, the people at work on a task as pictures side by side with a count of the rest), the words of the vocabulary (`STATE_LABELS`, `PRIORITY_LABELS`, `ROLE_LABELS`, with `RoleBadge`) and the day helpers (`today`, `addDays`, `daysBetween`, `monthGrid`, `formatDay`, `formatMonth` and the rest, days being the strings the API spells them as) are exported too.
|
|
80
|
+
- **A picture from elsewhere** is read through the console ([ADR-0048](../../docs/adr/0048-a-picture-from-elsewhere-is-read-through-the-console-from-a-public-address-and-kept-a-while.md)): `Markdown` and `Avatar` take its address from `RemotePicturesContext`, which `createConsole` provides from the client's `pictureUrl` and which falls back to the API's own path (`REST_ROUTES.pictures`), so that a page loads nothing from elsewhere.
|
|
80
81
|
- **The composition:** `createConsole(config)` returns `{ App, mount }`. `App` is the whole console as one component; `mount(container)` renders it and returns the way to take it down. `config.baseUrl` is the origin of the API (the page's own when left out), `config.components` the pieces to replace (`ConsoleComponents` names them with the props each takes), `config.languages` the packs the pages speak, `config.brand` the addresses of a symbol and a wordmark to show beside the name (ADR-0013; the default console passes those of `@skillcdn/brand`, the main repository's package of its marks), `config.client` a client of your own, for tests. The SkillCDN name and marks are trademarks of KDX Labs under the main repository's trademark policy, not under this package's MIT license; a custom console brings its own marks through the same slot. A console that holds a token rather than a session (one of your own, served by `console serve`) is told so by the API (`me.agent`, the token's name) and offers nothing a token cannot do: no agents page and no sign-out, since the tokens themselves are a person's own doing; everything else, configuring included, it does on the token as the person (ADR-0021), and it keeps the choice of language on the person. The pages route in the browser and every form has an address (ADR-0010): the projects at `/`, the person's own work at `/work`, the workspace's settings at `/settings` (its rules, its categories at `/categories`, where its skills come from), a project's pages under `/projects/<key>` (its roadmap, calendar and settings among them), a task by its number, a goal and a decision by their ids, a document by its path, and the query for how a page is shown, the board's filters, the calendar's month, the week of the person's work and the settings' forms among it (`matchRoute(pathname, search)`, `PATHS`, `projectHref`, `boardHref`, `taskHref`, `goalHref`, `calendarHref`, `workHref`, `personWorkHref`, `decisionHref`, `docHref`, `settingsHref`, `projectSettingsHref`, `newTaskHref`, `newGoalHref`, `newDecisionHref`, and `movedFrom` for the addresses of before); every link to one of them is followed in place, with one history entry per step; the workspace is loaded once and the project the page is on whole, kept current by the project's stream (`useConsoleData(client, projectKey)`, for a composition of your own).
|
|
81
82
|
- **Pages of your own:** `config.pages` adds tabs beside the console's. Each is a `CustomPage`: a `key` (what the address says: `/pages/<key>` on the workspace, `/projects/<project>/pages/<key>` on a project), a `label` (one word, or a word by language tag with `en` standing in), a `level` (`workspace`, or `project` for a tab on every project), `wide` for a page that takes the whole window, and `render(context)`, which gets what the default pages get: the `data` of `useConsoleData` with its actions, the `project` the page is on, the `client`, the `navigation`, the `words` and the `language`. `customPageHref` names the address and `customPageLabel` the tab's word. A page that is not among the pages given shows nothing there.
|
|
82
83
|
- **The languages:** every word the pages show is in a pack (`Messages`, keyed as `en` is), English and Korean ship (`ENGLISH`, `KOREAN`, `DEFAULT_LANGUAGES`), and a component takes its words from the language above it (`useWords`, `useLanguage`, `LanguageContext`), English where there is none. The person's choice is kept on them (`client.updateMe({ language })`) and the browser's languages decide before one (`chooseLanguage`, `packFor`). `createConsole({ languages })` replaces the packs the default console speaks, so that a custom console adds a language of its own; a pack is complete by type.
|
|
83
|
-
- **The styles** are one file, `@skillcdn/console/console.css`: the tokens (`--sc
|
|
84
|
+
- **The styles** are one file, `@skillcdn/console/console.css`: the tokens (`--sc-*`, 86 of them, every one read by a rule), a small reset, and one class per block, all prefixed `sc-`. The look is SkillCDN's own, on a light ground ([ADR-0040](https://github.com/skillcdn/console/blob/main/docs/adr/0040-the-pages-are-light-by-default.md)): one accent, the page a pale field (the shell, `sc-shell`, paints it), the surfaces panes of frosted glass over it, and white sheets inside the panes. Re-skinning starts and mostly ends with the tokens; a stylesheet of your own, loaded after this one, sets them on `:root`. The ground: `--sc-color-bg`, `--sc-color-bg-inset` (a step into it), `--sc-color-bg-raised` (white above it), `--sc-color-border` and `--sc-color-border-strong`. The text: `--sc-color-text`, `--sc-color-text-muted` and `--sc-color-text-faint`. The accent and the point: `--sc-color-accent`, `--sc-color-accent-solid` (the fill a white label reads on), `--sc-color-accent-contrast`, `--sc-color-accent-subtle`, `--sc-color-point` and `--sc-color-point-subtle`; what is under the pointer is mixed from them where it is drawn. The tones: `--sc-color-success`, `--sc-color-warning` and `--sc-color-danger`, each with a `-subtle`. The field: `--sc-field-gradient`, one gradient from the top. The glass: `--sc-glass-backdrop` (the blur behind a pane), `--sc-color-glass` and `--sc-color-glass-hover` (its veil), `--sc-color-glass-edge` (its rim), `--sc-glass-highlight` (the light down its face), `--sc-glass-surface` and `--sc-glass-surface-hover` (the veil and the light composed), `--sc-glass-sheen` (the line along its top edge) and `--sc-glass-lift` (its stand-off from the field); and the sheets inside a pane, `--sc-color-sheet` and `--sc-color-sheet-hover`. The shadows: `--sc-glow` (what is lit casts the accent's colour), `--sc-shadow-stage` (what is over the page) and `--sc-focus-ring`. The lines: `--sc-border`, `--sc-border-strong` (for what is typed into), `--sc-hairline` (what parts things inside a pane), `--sc-scrollbar-thumb` and `--sc-select-chevron` (a picture). The type: `--sc-font-sans` and `--sc-font-mono`; `--sc-text-xs`, `-sm`, `-md`, `-lg`, `-xl` and `-2xl`; `--sc-weight-normal`, `-medium` and `-bold`; `--sc-leading-tight`, `-snug`, `-normal` and `-code`; `--sc-tracking-tight`, `-wide` and `-code`, both off on a page in Korean; and `--sc-label-lift`, how far a one-line label is lifted in its box, set again for Korean. The space and the shape: `--sc-space-1` to `--sc-space-8` on a 4px grid, `--sc-radius-sm`, `-md`, `-lg`, `-xl` and `-full`, and `--sc-transition`. The layout: `--sc-gutter`, `--sc-width-prose`, `--sc-width-aside`, `--sc-column-width`, `--sc-header-height` and `--sc-control-size`. The lockup: `--sc-brand-size`, `--sc-brand-size-compact`, `--sc-brand-wordmark-ratio` and `--sc-brand-gap-ratio`. The categories: `--sc-category-fill`, `--sc-category-line` and `--sc-category-mark`, set by each category's class. The small capitals over a group are one rule, `.sc-eyebrow`, for a label of your own too. A custom console that wants a flat page sets the glass to none and the field to one colour; the control sizes, the blur, the opacities, the z-indexes and the breakpoints are not tokens, by decision.
|
|
84
85
|
- React 19 is a peer dependency; `react-markdown`, `remark-gfm` and `@skillcdn/core`, for the pack's shapes and the renderers of what a model is given, are the package's own.
|
|
85
86
|
|
|
86
87
|
A custom console is a small repository that depends on this package, holds a configuration and a CI job, and builds to static files: the organization's, served by the image from `WEB_ROOT` in place of the default UI, or your own, served by `console serve` on your machine. Nothing of the server is in the package but the serving of a build, `@skillcdn/console/web`, which the image and the command share.
|
package/dist/api.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export { ApiError, type ClientOptions, type CommentInput, type ConsoleClient, cr
|
|
|
3
3
|
export { CLIENT_POLICY, CLIENT_PRODUCT, CLIENT_RANGE_HEADER, type ClientJudgement, type ClientPolicy, type ClientVerdict, CONSOLE_AT_LEAST, clientRange, clientVersionOf, commonRange, compareVersions, consoleRange, formatRange, formatVersion, inRange, judgeClient, judgeConsole, parseRange, parseVersion, userAgentOf, VERSION_HEADER, type Version, type VersionRange, } from "./compat.js";
|
|
4
4
|
export { CONNECT_CODE_ALPHABET, CONNECT_CODE_LENGTH, isConnectCode, normalizeConnectCode, } from "./connect.js";
|
|
5
5
|
export { DOCUMENT_PATH, documentPathsIn, folderOf, foldersAbove, isDocumentPath, isFolderPath, nameOf, } from "./documents.js";
|
|
6
|
-
export { DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, LIST_LIMIT, MAX_AGENT_LENGTH, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DOCUMENT, 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_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SKILLS_ADDRESS_LENGTH, MAX_SUMMARY_LENGTH, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_OPTIONS, } from "./limits.js";
|
|
6
|
+
export { DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, LIST_LIMIT, MAX_AGENT_LENGTH, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DECISIONS_PER_PROJECT, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_DOCUMENTS_PER_PROJECT, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DOCUMENT, MAX_GOALS_PER_PROJECT, 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_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_PROJECTS_PER_WORKSPACE, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_RUNS_PER_TASK, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SKILLS_ADDRESS_LENGTH, MAX_STREAMS, MAX_STREAMS_PER_PERSON, MAX_SUMMARY_LENGTH, MAX_TASKS_PER_PROJECT, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_OPTIONS, } from "./limits.js";
|
|
7
7
|
export { projectColorOf, projectSymbolOf } from "./marks.js";
|
|
8
8
|
export { AUTH_ROUTES, CLAIM_PATH, categoryPath, connectPath, isSignInFailure, loginPath, PROJECT_COLLECTIONS, type ProjectCollection, personTokensPath, personWorkPath, projectIconPath, projectPath, REST_ROUTES, RETURN_TO_PARAM, restPath, rulesPath, SIGN_IN_FAILURES, SIGN_IN_PARAM, type SignInFailure, signInPath, } from "./routes.js";
|
|
9
9
|
export { fillRules, isReferenceRules, languageNameOf, PROJECT_RULES_TEMPLATE, REFERENCE_RULES, RULES_LANGUAGE_PLACEHOLDER, RULES_PATH, RULES_TITLE, } from "./rules.js";
|
|
10
|
-
export { hostOfLogin, isLoginAt, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestBacklink, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestClaimInput, type RestComment, type RestCommentFile, type RestCommentInput, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionInput, type RestDecisionOption, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentFile, type RestDocumentInput, type RestDocumentLink, type RestDocumentSummary, type RestDocuments, type RestError, type RestEvent, type RestEventData, type RestEvents, type RestFile, type RestFileInput, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestListing, type RestListingInput, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestOrganization, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestProject, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRun, type RestRunEndInput, type RestRunInput, type RestRuns, type RestSkill, type RestSkillBrowse, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkills, type RestTask, type RestTaskCounts, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restListingInputSchema, restListingSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesSchema, restRunEndInputSchema, restRunInputSchema, restRunSchema, restRunsSchema, restSkillBrowseSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillSchema, restSkillsSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, } from "./schemas.js";
|
|
10
|
+
export { hostOfLogin, isLoginAt, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestBacklink, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestClaimInput, type RestComment, type RestCommentFile, type RestCommentInput, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionInput, type RestDecisionOption, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentFile, type RestDocumentInput, type RestDocumentLink, type RestDocumentSummary, type RestDocuments, type RestError, type RestEvent, type RestEventData, type RestEvents, type RestFile, type RestFileInput, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestListing, type RestListingInput, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestMyDecisions, type RestOrganization, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestProject, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRun, type RestRunEndInput, type RestRunInput, type RestRuns, type RestSkill, type RestSkillBrowse, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkills, type RestTask, type RestTaskCounts, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restListingInputSchema, restListingSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesSchema, restRunEndInputSchema, restRunInputSchema, restRunSchema, restRunsSchema, restSkillBrowseSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillSchema, restSkillsSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, } from "./schemas.js";
|
|
11
11
|
export { hasForbiddenCodePoint } from "./text.js";
|
|
12
12
|
export { ARTIFACT_KINDS, type ArtifactKind, CATEGORY_COLORS, type CategoryColor, COLOR_NAMES, type ColorName, EVENT_KINDS, type EventKind, GOAL_STATES, type GoalState, isProviderKey, LINK_SOURCES, type LinkSource, MEMBERSHIP_SOURCES, type MembershipSource, OPEN_GOAL_STATES, OPEN_TASK_STATES, PACK_CONNECT_ENDINGS, type PackConnectEnding, PEOPLE_VISIBILITIES, PERSON_ROLES, PERSON_STATUSES, type PeopleVisibility, type PersonRole, type PersonStatus, PROJECT_ICON_TYPES, PROJECT_ROLES, PROJECT_VISIBILITIES, PROVIDER_KEYS, type ProjectIconType, type ProjectRole, type ProjectVisibility, type ProviderKey, RULES_SOURCES, RUN_ENDINGS, RUN_STATUSES, type RulesSource, type RunEnding, type RunStatus, SKILLS_STATUSES, type SkillsStatus, TASK_PRIORITIES, TASK_STATES, type TaskPriority, type TaskState, WEEK_STARTS, type WeekStart, } from "./vocabulary.js";
|
|
13
13
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,YAAY,EACZ,KAAK,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AAwB,EACxB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EACL,cAAc,EACd,KAAK,YAAY,EACjB,eAAe,EACf,KAAK,aAAa,EAClB,WAAW,EACX,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,EACd,aAAa,EACb,YAAY,EACZ,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,aAAa,EACb,WAAW,EACX,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,eAAe,EACf,KAAK,YAAY,EACjB,eAAe,EACf,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,YAAY,EACZ,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,IAAI,EACT,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,aAAa,CAAC;AACrB,O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,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EACL,cAAc,EACd,KAAK,YAAY,EACjB,eAAe,EACf,KAAK,aAAa,EAClB,WAAW,EACX,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,EACd,aAAa,EACb,YAAY,EACZ,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,aAAa,EACb,WAAW,EACX,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,eAAe,EACf,KAAK,YAAY,EACjB,eAAe,EACf,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,WAAW,EACX,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC"}
|
package/dist/api.js
CHANGED
|
@@ -7,11 +7,11 @@ export { ApiError, createClient, } from "./client.js";
|
|
|
7
7
|
export { CLIENT_POLICY, CLIENT_PRODUCT, CLIENT_RANGE_HEADER, CONSOLE_AT_LEAST, clientRange, clientVersionOf, commonRange, compareVersions, consoleRange, formatRange, formatVersion, inRange, judgeClient, judgeConsole, parseRange, parseVersion, userAgentOf, VERSION_HEADER, } from "./compat.js";
|
|
8
8
|
export { CONNECT_CODE_ALPHABET, CONNECT_CODE_LENGTH, isConnectCode, normalizeConnectCode, } from "./connect.js";
|
|
9
9
|
export { DOCUMENT_PATH, documentPathsIn, folderOf, foldersAbove, isDocumentPath, isFolderPath, nameOf, } from "./documents.js";
|
|
10
|
-
export { DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, LIST_LIMIT, MAX_AGENT_LENGTH, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DOCUMENT, 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_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SKILLS_ADDRESS_LENGTH, MAX_SUMMARY_LENGTH, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_OPTIONS, } from "./limits.js";
|
|
10
|
+
export { DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, LIST_LIMIT, MAX_AGENT_LENGTH, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DECISIONS_PER_PROJECT, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_DOCUMENTS_PER_PROJECT, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DOCUMENT, MAX_GOALS_PER_PROJECT, 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_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_PROJECTS_PER_WORKSPACE, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_RUNS_PER_TASK, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SKILLS_ADDRESS_LENGTH, MAX_STREAMS, MAX_STREAMS_PER_PERSON, MAX_SUMMARY_LENGTH, MAX_TASKS_PER_PROJECT, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_OPTIONS, } from "./limits.js";
|
|
11
11
|
export { projectColorOf, projectSymbolOf } from "./marks.js";
|
|
12
12
|
export { AUTH_ROUTES, CLAIM_PATH, categoryPath, connectPath, isSignInFailure, loginPath, PROJECT_COLLECTIONS, personTokensPath, personWorkPath, projectIconPath, projectPath, REST_ROUTES, RETURN_TO_PARAM, restPath, rulesPath, SIGN_IN_FAILURES, SIGN_IN_PARAM, signInPath, } from "./routes.js";
|
|
13
13
|
export { fillRules, isReferenceRules, languageNameOf, PROJECT_RULES_TEMPLATE, REFERENCE_RULES, RULES_LANGUAGE_PLACEHOLDER, RULES_PATH, RULES_TITLE, } from "./rules.js";
|
|
14
|
-
export { hostOfLogin, isLoginAt, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restListingInputSchema, restListingSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesSchema, restRunEndInputSchema, restRunInputSchema, restRunSchema, restRunsSchema, restSkillBrowseSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillSchema, restSkillsSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, } from "./schemas.js";
|
|
14
|
+
export { hostOfLogin, isLoginAt, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restListingInputSchema, restListingSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesSchema, restRunEndInputSchema, restRunInputSchema, restRunSchema, restRunsSchema, restSkillBrowseSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillSchema, restSkillsSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, } from "./schemas.js";
|
|
15
15
|
export { hasForbiddenCodePoint } from "./text.js";
|
|
16
16
|
export { ARTIFACT_KINDS, CATEGORY_COLORS, COLOR_NAMES, EVENT_KINDS, GOAL_STATES, isProviderKey, LINK_SOURCES, MEMBERSHIP_SOURCES, OPEN_GOAL_STATES, OPEN_TASK_STATES, 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";
|
|
17
17
|
//# sourceMappingURL=api.js.map
|
package/dist/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,8FAA8F;AAC9F,+FAA+F;AAC/F,2FAA2F;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,QAAQ,EAIR,YAAY,GAUb,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,aAAa,EACb,cAAc,EACd,mBAAmB,EAInB,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,WAAW,EACX,eAAe,EACf,YAAY,EACZ,WAAW,EACX,aAAa,EACb,OAAO,EACP,WAAW,EACX,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,cAAc,GAGf,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EACb,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,aAAa,EACb,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,EACnB,wBAAwB,EACxB,2BAA2B,EAC3B,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,WAAW,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,yBAAyB,EACzB,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EACL,WAAW,EACX,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,SAAS,EACT,mBAAmB,EAEnB,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,WAAW,EACX,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,aAAa,EAEb,UAAU,GACX,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,UAAU,EACV,WAAW,GACZ,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,WAAW,EACX,SAAS,
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,8FAA8F;AAC9F,+FAA+F;AAC/F,2FAA2F;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,QAAQ,EAIR,YAAY,GAUb,MAAM,aAAa,CAAC;AACrB,O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,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EACL,cAAc,EAEd,eAAe,EAEf,WAAW,EAEX,WAAW,EAEX,WAAW,EAEX,aAAa,EACb,YAAY,EAEZ,kBAAkB,EAElB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EAEpB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EAIf,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,aAAa,EAKb,aAAa,EACb,WAAW,EACX,YAAY,EAIZ,eAAe,EAEf,eAAe,EACf,WAAW,EAGX,WAAW,GAEZ,MAAM,iBAAiB,CAAC"}
|
package/dist/cli/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli/cli.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAkDtB,OAAO,EACL,KAAK,eAAe,EASrB,MAAM,kBAAkB,CAAC;AAC1B,O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AAe,CAAC;IAChC,+EAA+E;IAC/E,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,QAAQ,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC;IAC3B,uFAAuF;IACvF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,4GAA4G;IAC5G,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,+GAA+G;IAC/G,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,mFAAmF;IACnF,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC3C,gGAAgG;IAChG,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,qIAAqI;IACrI,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,qHAAqH;IACrH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,0FAA0F;IAC1F,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AA88FD,yFAAyF;AACzF,wBAAsB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CAyDhF"}
|
package/dist/cli/cli.js
CHANGED
|
@@ -518,14 +518,19 @@ const logout = async (args, io) => {
|
|
|
518
518
|
}
|
|
519
519
|
// The token is given up at the console first, so that it is good for nothing from now on;
|
|
520
520
|
// one the console no longer knows is gone already. A console out of reach leaves it to the
|
|
521
|
-
// Agents page, and the person is told so.
|
|
522
|
-
|
|
521
|
+
// Agents page, and the person is told so. A console that keeps it because the person is out
|
|
522
|
+
// (ADR-0044) is told so too: the token is theirs again when they are back in.
|
|
523
|
+
let outcome = "gone";
|
|
523
524
|
try {
|
|
524
525
|
await clientOf(io, url, login.token).giveUpToken();
|
|
525
526
|
}
|
|
526
527
|
catch (error) {
|
|
527
|
-
if (
|
|
528
|
-
|
|
528
|
+
if (error instanceof ApiError &&
|
|
529
|
+
(error.code === "auth.deactivated" || error.code === "auth.not_admitted")) {
|
|
530
|
+
outcome = "kept";
|
|
531
|
+
}
|
|
532
|
+
else if (!(error instanceof ApiError && error.code === "auth.required")) {
|
|
533
|
+
outcome = "left";
|
|
529
534
|
}
|
|
530
535
|
}
|
|
531
536
|
const next = withoutLogin(credentials, url, login.account);
|
|
@@ -536,9 +541,11 @@ const logout = async (args, io) => {
|
|
|
536
541
|
await io.store.save(next);
|
|
537
542
|
}
|
|
538
543
|
const whom = login.account === undefined ? "" : ` as ${login.account}`;
|
|
539
|
-
io.stdout(gone
|
|
544
|
+
io.stdout(outcome === "gone"
|
|
540
545
|
? `Signed out of ${url}${whom}: the token is given up at the console and forgotten here.\n`
|
|
541
|
-
:
|
|
546
|
+
: outcome === "kept"
|
|
547
|
+
? `Signed out of ${url}${whom} here: the console keeps the token while the person is out, for when they are back in.\n`
|
|
548
|
+
: `Signed out of ${url}${whom} here, but the console could not be reached to give the token up: a person removes it on the Agents page.\n`);
|
|
542
549
|
envNote();
|
|
543
550
|
return EXIT.ok;
|
|
544
551
|
};
|
|
@@ -829,14 +836,41 @@ const skills = async (args, io) => {
|
|
|
829
836
|
answer(io, session, { ...browsed, read: whole === undefined ? null : bodyOfFolder(whole) }, () => formatSkillBrowse(browsed, whole));
|
|
830
837
|
return EXIT.ok;
|
|
831
838
|
};
|
|
839
|
+
/** The most characters one read of a file asks for: what the console's API allows on one page. */
|
|
840
|
+
const MAX_FILE_LIMIT = 100_000;
|
|
841
|
+
/** A count given as a flag, within its bounds, or nothing; anything else is not understood. */
|
|
842
|
+
function countOf(given, name, bounds) {
|
|
843
|
+
if (given === undefined) {
|
|
844
|
+
return undefined;
|
|
845
|
+
}
|
|
846
|
+
const count = Number(given);
|
|
847
|
+
if (!Number.isInteger(count) ||
|
|
848
|
+
count < bounds.least ||
|
|
849
|
+
(bounds.most !== undefined && count > bounds.most)) {
|
|
850
|
+
const range = bounds.most === undefined ? `${bounds.least} or more` : `${bounds.least} to ${bounds.most}`;
|
|
851
|
+
throw misuse(`Not a number for --${name}, ${range}: ${given}`);
|
|
852
|
+
}
|
|
853
|
+
return count;
|
|
854
|
+
}
|
|
832
855
|
const skill = async (args, io) => {
|
|
833
|
-
const { values, positionals } = parse(args, {
|
|
856
|
+
const { values, positionals } = parse(args, {
|
|
857
|
+
file: { type: "string" },
|
|
858
|
+
offset: { type: "string" },
|
|
859
|
+
limit: { type: "string" },
|
|
860
|
+
});
|
|
834
861
|
const file = text(values, "file");
|
|
835
862
|
// A file is read by its own path from the repository's root; a skill's path beside it would be
|
|
836
863
|
// ignored, which reads as if it mattered, so the two together are not understood.
|
|
837
864
|
if (file !== undefined && positionals.length > 0) {
|
|
838
865
|
throw misuse("Say one: console skill <path of its SKILL.md> for a skill, or console skill --file <path> for a file of the pack.");
|
|
839
866
|
}
|
|
867
|
+
// A section is a page of a file read as asked (SkillCDN 0.4): the flags mean nothing without one.
|
|
868
|
+
if (file === undefined &&
|
|
869
|
+
(text(values, "offset") !== undefined || text(values, "limit") !== undefined)) {
|
|
870
|
+
throw misuse("--offset and --limit go with --file: console skill --file <path> [--offset <n>] [--limit <n>]");
|
|
871
|
+
}
|
|
872
|
+
const offset = countOf(text(values, "offset"), "offset", { least: 0 });
|
|
873
|
+
const limit = countOf(text(values, "limit"), "limit", { least: 1, most: MAX_FILE_LIMIT });
|
|
840
874
|
const session = await open(io, values);
|
|
841
875
|
const project = await session.project();
|
|
842
876
|
const { listing, summary } = await packOf(project);
|
|
@@ -844,6 +878,14 @@ const skill = async (args, io) => {
|
|
|
844
878
|
answer(io, session, listing, () => formatSkills(listing, io.skillsDir));
|
|
845
879
|
return EXIT.ok;
|
|
846
880
|
}
|
|
881
|
+
if (file !== undefined && (offset !== undefined || limit !== undefined)) {
|
|
882
|
+
// One page as asked, the section a search or an outline named; the result says where the
|
|
883
|
+
// file continues, and asks for nothing.
|
|
884
|
+
const page = await project.skillFile(file, { offset, limit });
|
|
885
|
+
const section = page.read === null ? undefined : joinFile([page], summary, limit);
|
|
886
|
+
answer(io, session, { ...page, read: section === undefined ? null : bodyOfFile(section) }, () => formatSkillFile(page, section));
|
|
887
|
+
return EXIT.ok;
|
|
888
|
+
}
|
|
847
889
|
if (file !== undefined) {
|
|
848
890
|
// The file whole, page after page, as the console reads it from the pack.
|
|
849
891
|
const pages = [];
|
|
@@ -1352,8 +1394,13 @@ const ask = async (args, io) => {
|
|
|
1352
1394
|
file: { type: "string" },
|
|
1353
1395
|
run: { type: "string" },
|
|
1354
1396
|
wait: { type: "string" },
|
|
1397
|
+
to: { type: "string" },
|
|
1355
1398
|
});
|
|
1356
1399
|
const question = theOne(positionals, 'Say the question: console ask "<question>" --option "<label>" --option "<label>"');
|
|
1400
|
+
const to = text(values, "to");
|
|
1401
|
+
if (to === "none") {
|
|
1402
|
+
throw misuse("Say whom the decision is for: --to <login|me>.");
|
|
1403
|
+
}
|
|
1357
1404
|
const options = texts(values, "option");
|
|
1358
1405
|
if (options.length < MIN_OPTIONS || options.length > MAX_OPTIONS) {
|
|
1359
1406
|
throw misuse(`Give ${MIN_OPTIONS} to ${MAX_OPTIONS} options, one --option each.`);
|
|
@@ -1363,18 +1410,49 @@ const ask = async (args, io) => {
|
|
|
1363
1410
|
const session = await open(io, values);
|
|
1364
1411
|
const project = await session.project();
|
|
1365
1412
|
const runId = await currentRun(project, values);
|
|
1413
|
+
// Whom the decision is for (ADR-0042): the person the agent works for, unless --to names another.
|
|
1414
|
+
const deciderId = await personIdOf(session, to);
|
|
1366
1415
|
const raised = await project.raiseDecision({
|
|
1367
1416
|
question,
|
|
1368
1417
|
options: options.map((label) => ({ label })),
|
|
1369
1418
|
runId,
|
|
1370
1419
|
...(body === undefined ? {} : { body }),
|
|
1420
|
+
...(typeof deciderId === "string" ? { deciderId } : {}),
|
|
1371
1421
|
});
|
|
1372
1422
|
// The id is printed before any waiting, so that a wait cut short loses nothing.
|
|
1373
1423
|
io.stdout(session.json
|
|
1374
1424
|
? `${JSON.stringify(raised, null, 2)}\n`
|
|
1375
|
-
: `Decision ${raised.id} raised on run ${runId}; the run waits for
|
|
1425
|
+
: `Decision ${raised.id} raised on run ${runId}; the run waits for ${raised.decider.login}.\ndecision id: ${raised.id}\n${formatOptions(raised)}\n`);
|
|
1376
1426
|
return settle(io, session, project, raised, seconds, true);
|
|
1377
1427
|
};
|
|
1428
|
+
/**
|
|
1429
|
+
* Writes a person's answer on a decision, in their name through the agent (ADR-0021): the
|
|
1430
|
+
* option they chose, or their own words, and a note about it, so that a choice made in chat
|
|
1431
|
+
* or in passing reaches the record the run waits on.
|
|
1432
|
+
*/
|
|
1433
|
+
const answering = async (args, io) => {
|
|
1434
|
+
const { values, positionals } = parse(args, {
|
|
1435
|
+
option: { type: "string" },
|
|
1436
|
+
own: { type: "string" },
|
|
1437
|
+
note: { type: "string" },
|
|
1438
|
+
file: { type: "string" },
|
|
1439
|
+
});
|
|
1440
|
+
const id = theOne(positionals, 'Say which decision: console answer <id> --option <n>|--own "<answer>" [--note <markdown>|--file <path>]');
|
|
1441
|
+
const option = text(values, "option");
|
|
1442
|
+
const own = text(values, "own");
|
|
1443
|
+
if ((option === undefined) === (own === undefined)) {
|
|
1444
|
+
throw misuse('Say the option chosen, --option <n>, or the person\'s own answer, --own "<words>": one of the two.');
|
|
1445
|
+
}
|
|
1446
|
+
const note = await bodyOf(io, values, text(values, "note"));
|
|
1447
|
+
const session = await open(io, values);
|
|
1448
|
+
const project = await session.project();
|
|
1449
|
+
const answered = await project.answerDecision(id, {
|
|
1450
|
+
...(own === undefined ? { option } : { own }),
|
|
1451
|
+
...(note === undefined ? {} : { note }),
|
|
1452
|
+
});
|
|
1453
|
+
answer(io, session, answered, () => formatDecision(answered));
|
|
1454
|
+
return EXIT.ok;
|
|
1455
|
+
};
|
|
1378
1456
|
const decision = async (args, io) => {
|
|
1379
1457
|
const { values, positionals } = parse(args, {
|
|
1380
1458
|
wait: { type: "string" },
|
|
@@ -1636,14 +1714,31 @@ const goal = async (args, io) => {
|
|
|
1636
1714
|
return EXIT.ok;
|
|
1637
1715
|
};
|
|
1638
1716
|
const decisions = async (args, io) => {
|
|
1639
|
-
const { values } = parse(args, {
|
|
1717
|
+
const { values } = parse(args, {
|
|
1718
|
+
open: { type: "boolean" },
|
|
1719
|
+
mine: { type: "boolean" },
|
|
1720
|
+
raised: { type: "boolean" },
|
|
1721
|
+
...PAGE_OPTIONS,
|
|
1722
|
+
}, false);
|
|
1640
1723
|
const page = pageOf(values);
|
|
1641
1724
|
const session = await open(io, values);
|
|
1725
|
+
const open_ = on(values, "open") ? { open: true } : {};
|
|
1726
|
+
if (on(values, "mine") || on(values, "raised")) {
|
|
1727
|
+
// One's own across the projects (ADR-0042), addressed to the person or raised by them for
|
|
1728
|
+
// someone else: the waiting first, each with its project's key.
|
|
1729
|
+
const raised = on(values, "raised");
|
|
1730
|
+
const found = await session.client.myDecisions({ ...open_, raised, ...page });
|
|
1731
|
+
answer(io, session, found, () => found.items.length === 0
|
|
1732
|
+
? raised
|
|
1733
|
+
? "No decisions you asked of others."
|
|
1734
|
+
: "No decisions of yours."
|
|
1735
|
+
: found.items
|
|
1736
|
+
.map(({ project, decision }) => `${project.key} ${formatDecisionLine(decision)}`)
|
|
1737
|
+
.join("\n") + formatMore(found.more, page.limit, page.offset));
|
|
1738
|
+
return EXIT.ok;
|
|
1739
|
+
}
|
|
1642
1740
|
const project = await session.project();
|
|
1643
|
-
const found = await project.decisions({
|
|
1644
|
-
...(on(values, "open") ? { open: true } : {}),
|
|
1645
|
-
...page,
|
|
1646
|
-
});
|
|
1741
|
+
const found = await project.decisions({ ...open_, ...page });
|
|
1647
1742
|
answer(io, session, found, () => found.items.length === 0
|
|
1648
1743
|
? "No decisions."
|
|
1649
1744
|
: found.items.map(formatDecisionLine).join("\n") +
|
|
@@ -1835,8 +1930,8 @@ const workspace = async (args, io) => {
|
|
|
1835
1930
|
set: (token) => client.setWorkspacePackToken({ token }),
|
|
1836
1931
|
remove: () => client.removeWorkspacePackToken(),
|
|
1837
1932
|
connect: () => client.connectWorkspacePackToken(),
|
|
1838
|
-
async
|
|
1839
|
-
const state = await client.
|
|
1933
|
+
async claim() {
|
|
1934
|
+
const state = await client.claimWorkspacePackTokenConnection();
|
|
1840
1935
|
return state.status === "connected"
|
|
1841
1936
|
? { status: "connected", held: state.workspace }
|
|
1842
1937
|
: state;
|
|
@@ -1973,7 +2068,7 @@ async function packToken(io, session, way, holder, format) {
|
|
|
1973
2068
|
io.stdout(`To connect the pack, a person who may open its repository opens ${started.url} signed in at SkillCDN, checks that the page shows the code ${started.code}, and approves; the console receives the SkillCDN token and keeps it sealed, shown to nobody.\nWaiting for that, until ${moment(started.expiresAt)}.\n`);
|
|
1974
2069
|
for (;;) {
|
|
1975
2070
|
await io.sleep(started.intervalSeconds * 1000);
|
|
1976
|
-
const state = await holder.
|
|
2071
|
+
const state = await holder.claim();
|
|
1977
2072
|
if (state.status === "pending") {
|
|
1978
2073
|
continue;
|
|
1979
2074
|
}
|
|
@@ -2010,8 +2105,8 @@ const projectPackToken = async (args, io) => {
|
|
|
2010
2105
|
set: (token) => project.setPackToken({ token }),
|
|
2011
2106
|
remove: () => project.removePackToken(),
|
|
2012
2107
|
connect: () => project.connectPackToken(),
|
|
2013
|
-
async
|
|
2014
|
-
const state = await project.
|
|
2108
|
+
async claim() {
|
|
2109
|
+
const state = await project.claimPackTokenConnection();
|
|
2015
2110
|
return state.status === "connected" ? { status: "connected", held: state.project } : state;
|
|
2016
2111
|
},
|
|
2017
2112
|
}, formatProject);
|
|
@@ -2212,6 +2307,7 @@ const COMMANDS = {
|
|
|
2212
2307
|
comment,
|
|
2213
2308
|
file,
|
|
2214
2309
|
ask,
|
|
2310
|
+
answer: answering,
|
|
2215
2311
|
decision,
|
|
2216
2312
|
decisions,
|
|
2217
2313
|
finish: ending("finished"),
|
|
@@ -2328,6 +2424,10 @@ function hintFor(error, io, seen) {
|
|
|
2328
2424
|
return `Install the console's version: ${updateWords(io, seen.version)}; or ask the console's operator to update the console.\n`;
|
|
2329
2425
|
case "auth.required":
|
|
2330
2426
|
return "The token is not one the console knows, any more or at all. A person signs the command in again: console login\n";
|
|
2427
|
+
case "auth.deactivated":
|
|
2428
|
+
return "Tell the person: they are taken back in on the People page, by an administrator or by their organization, and this token works again then. console logout forgets it here meanwhile.\n";
|
|
2429
|
+
case "auth.not_admitted":
|
|
2430
|
+
return "Tell the person: they are back in when what let them in is named again, or when an administrator lists their login and they sign in again, and this token works again then. console logout forgets it here meanwhile.\n";
|
|
2331
2431
|
case "project.not_found":
|
|
2332
2432
|
return "No project has this key, or it is not yours to see. console projects lists the projects you may work in.\n";
|
|
2333
2433
|
case "document.not_found":
|
|
@@ -2352,6 +2452,20 @@ function hintFor(error, io, seen) {
|
|
|
2352
2452
|
return "What was asked is an administrator's, or an owner's of the project, and the person this token acts as is not one here. Hand the step to them.\n";
|
|
2353
2453
|
case "project.key_taken":
|
|
2354
2454
|
return "A project has that key already. console projects lists them.\n";
|
|
2455
|
+
case "project.too_many":
|
|
2456
|
+
return "The workspace holds as many projects as one may. Work goes on in a project there is.\n";
|
|
2457
|
+
case "project.too_many_bytes":
|
|
2458
|
+
return "The project's files hold as many bytes together as this console allows. Hand in a link to where the file is instead, and say so in the report.\n";
|
|
2459
|
+
case "task.too_many":
|
|
2460
|
+
return "The project holds as many tasks as one may, those put away counted. The work goes on in another project; ask the person which.\n";
|
|
2461
|
+
case "goal.too_many":
|
|
2462
|
+
return "The project holds as many goals as one may. console goals lists them; one done or dropped is still a goal.\n";
|
|
2463
|
+
case "decision.too_many":
|
|
2464
|
+
return "The project holds as many decisions as one may. Ask the person in the report instead.\n";
|
|
2465
|
+
case "document.too_many":
|
|
2466
|
+
return "The project holds as many pages as one may. Write on a page there is: console docs lists them.\n";
|
|
2467
|
+
case "run.too_many":
|
|
2468
|
+
return "The task has been taken as many times as one may. Write a new task for what is left, and take that.\n";
|
|
2355
2469
|
case "project.invalid_address":
|
|
2356
2470
|
return "The skills address is not one as SkillCDN spells it; none makes the organization's skills the project's.\n";
|
|
2357
2471
|
case "project.invalid_icon":
|