@skillcdn/console 0.6.1 → 0.6.2
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 +2 -2
- package/dist/agent-page.d.ts.map +1 -1
- package/dist/agent-page.js +38 -28
- package/dist/agent-page.js.map +1 -1
- package/dist/agent-usage.d.ts +9 -6
- package/dist/agent-usage.d.ts.map +1 -1
- package/dist/agent-usage.js +38 -8
- package/dist/agent-usage.js.map +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +65 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/help.js +3 -3
- package/dist/cli/help.js.map +1 -1
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -1
- package/dist/client.js.map +1 -1
- package/dist/components/agent-page.d.ts +33 -8
- package/dist/components/agent-page.d.ts.map +1 -1
- package/dist/components/agent-page.js +98 -32
- package/dist/components/agent-page.js.map +1 -1
- package/dist/components/calendar.d.ts +24 -4
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +78 -35
- package/dist/components/calendar.js.map +1 -1
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +39 -11
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +2 -0
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +4 -0
- package/dist/data.js.map +1 -1
- package/dist/desk-page.js +5 -5
- package/dist/desk-page.js.map +1 -1
- package/dist/feed-words.js +6 -0
- package/dist/feed-words.js.map +1 -1
- package/dist/i18n/en.d.ts +6 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +8 -1
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +24 -17
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/plugin/capabilities.d.ts +1 -1
- package/dist/plugin/capabilities.d.ts.map +1 -1
- package/dist/plugin/capabilities.js +6 -1
- package/dist/plugin/capabilities.js.map +1 -1
- package/dist/plugin/context.d.ts +62 -1
- package/dist/plugin/context.d.ts.map +1 -1
- package/dist/plugin/limits.d.ts +7 -0
- package/dist/plugin/limits.d.ts.map +1 -1
- package/dist/plugin/limits.js +7 -0
- package/dist/plugin/limits.js.map +1 -1
- package/dist/plugin/testing.d.ts +2 -0
- package/dist/plugin/testing.d.ts.map +1 -1
- package/dist/plugin/testing.js +2 -0
- package/dist/plugin/testing.js.map +1 -1
- package/dist/rules.js +1 -1
- package/dist/rules.js.map +1 -1
- package/dist/runner/claude.d.ts.map +1 -1
- package/dist/runner/claude.js +138 -9
- package/dist/runner/claude.js.map +1 -1
- package/dist/runner/desk.d.ts.map +1 -1
- package/dist/runner/desk.js +11 -4
- package/dist/runner/desk.js.map +1 -1
- package/dist/runner/message.d.ts +32 -2
- package/dist/runner/message.d.ts.map +1 -1
- package/dist/runner/message.js +163 -27
- package/dist/runner/message.js.map +1 -1
- package/dist/runner/runner.d.ts +15 -1
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +131 -15
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/slack.d.ts +17 -11
- package/dist/runner/slack.d.ts.map +1 -1
- package/dist/runner/slack.js +1007 -105
- package/dist/runner/slack.js.map +1 -1
- package/dist/runner/types.d.ts +110 -5
- package/dist/runner/types.d.ts.map +1 -1
- package/dist/runner/types.js.map +1 -1
- package/dist/runner.d.ts +4 -4
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +3 -3
- package/dist/runner.js.map +1 -1
- package/dist/schemas.d.ts +103 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +55 -0
- package/dist/schemas.js.map +1 -1
- package/docs/specs/cli.md +2 -1
- package/docs/specs/plugins.md +7 -2
- package/docs/specs/rest.md +4 -2
- package/docs/specs/runner.md +50 -19
- package/package.json +1 -1
- package/skills/building-a-plugin/SKILL.md +3 -3
- package/skills/planning-the-board/references/setting-up.md +1 -1
- package/skills/running-an-agent/SKILL.md +10 -67
- package/skills/running-an-agent/references/preparing-the-machine.md +17 -0
- package/skills/running-an-agent/references/several-tasks.md +1 -1
- package/skills/running-an-agent/references/slack-app.md +36 -6
- package/skills/running-an-agent/references/the-account-and-the-invitation.md +5 -0
- package/skills/running-an-agent/references/what-was-not-seen-run-yet.md +3 -0
- package/skills/running-an-agent/references/when-the-agent-could-not-go-on.md +16 -0
- package/skills/running-an-agent/references/your-first-task.md +14 -0
- package/skills/working-the-board/SKILL.md +9 -13
- package/skills/working-the-board/references/a-pack-skills-questions.md +3 -0
- package/skills/working-the-board/references/a-plugins-commands.md +3 -0
- package/skills/working-the-board/references/a-review.md +3 -0
- package/skills/working-the-board/references/an-open-run.md +3 -0
- package/skills/working-the-board/references/requirements.md +7 -0
- package/skills/working-the-board/references/what-they-were-told.md +3 -0
- package/skills/working-the-board/references/work-given-in-chat.md +5 -0
- package/src/agent-page.tsx +41 -40
- package/src/agent-usage.ts +55 -12
- package/src/api.ts +7 -0
- package/src/cli/cli.ts +84 -0
- package/src/cli/help.ts +3 -3
- package/src/client.ts +11 -0
- package/src/components/agent-page.tsx +114 -36
- package/src/components/calendar.tsx +92 -36
- package/src/console.tsx +46 -10
- package/src/data.ts +6 -0
- package/src/desk-page.tsx +5 -5
- package/src/feed-words.ts +6 -0
- package/src/i18n/en.ts +11 -1
- package/src/i18n/ko.ts +30 -17
- package/src/index.ts +2 -0
- package/src/plugin/capabilities.ts +8 -1
- package/src/plugin/context.ts +63 -0
- package/src/plugin/limits.ts +7 -0
- package/src/plugin/testing.ts +4 -0
- package/src/rules.ts +1 -1
- package/src/runner/claude.ts +154 -9
- package/src/runner/desk.ts +13 -4
- package/src/runner/message.ts +176 -29
- package/src/runner/runner.ts +173 -15
- package/src/runner/slack.ts +1273 -124
- package/src/runner/types.ts +102 -2
- package/src/runner.ts +16 -1
- package/src/schemas.ts +64 -0
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ console serve dist # a console of your own, built
|
|
|
71
71
|
- **Agent accounts** ([ADR-0084](https://github.com/skillcdn/console/blob/main/docs/adr/0084-an-agent-account-is-a-member-of-its-own-with-a-manager-above-it.md)) are made, set up and supervised with the same command ([its commands](https://github.com/skillcdn/console/blob/main/docs/specs/cli.md#commands-for-agent-accounts)): `agents`, `agent new` and `agent invite` for an administrator; on the agent's own machine `agent setup`, the one line an invitation carries, and then `console runner`, which a service of the machine keeps running; `agent tell`, `interrupt`, `stop`, `restart`, `reset`, `wake` and `set` for its supervisors, with `agent signals` for the record of what it was sent; and for the account itself `secrets` and `secret <name>`, its own store, `agent wake me`, a wake now or at a moment to come, and `agent reset me`, a new conversation where its work has a break, begun when its turn is over.
|
|
72
72
|
- **The guide of an agent account's setup** ([ADR-0088](https://github.com/skillcdn/console/blob/main/docs/adr/0088-an-agent-account-has-a-desk-and-is-set-up-from-an-invitation-by-signing-in-as-itself.md)) is made by `setupGuideOf` from what an invitation's code opens (`client.agentSetup(code)`), and printed by `setupGuideText`; `SetupGuideView` shows it, `AgentInvitationPanel` is the invitation under an account, and `setupCommandOf` and `setupSentenceOf` spell the command and the one line said on the machine. The default console shows the guide at `/setup/<code>` (`setupHref`) to a browser that is signed in nowhere.
|
|
73
73
|
- **`console desk [<directory>] [--web]`** is for a person: it writes a desk of your own, the folder `desk` your agent begins in, and with `--web` the shell of [your desk's pages](#a-desks-pages); `console desk check` says whether the records a desk keeps read right.
|
|
74
|
-
- **`@skillcdn/console/runner`** is what `console runner` is made of ([docs/specs/runner.md](https://github.com/skillcdn/console/blob/main/docs/specs/runner.md)), for a console of one's own that drives another product or a test that runs a runner against a console: `createRunner(options)`, which takes a `ConsoleClient` on the account's command, a `Driver`, its `runner.json` and what it needs of the machine; the `Driver`, `DriverSession` and `DriverEvent` types a driver is written to, `createClaudeDriver`, `createCodexDriver` and `createSpawn`; `createRunnerModules` and `ownRunnerModules`, the four registries a module is known by; `composeSignals`, `headerOf` and `introOf`, how a signal reaches the agent; `redactorOf`, which takes the values of a secret store out of a text in the encodings they are carried in, and `cutShown`, which cuts a text to a length once they are out, what a session hands its driver as `cut` so that no part of a secret stands where a driver cut a text, with `cutShownEnd`, which keeps the end of one the same way, handed as `cutEnd`, and `errorsShown`, which shows the end of what a product wrote on its standard error through it (`plainCut` and `plainCutEnd` where a driver is handed neither); `parseRunnerConfig`; `launchd`, `systemdUser` and `taskScheduler`, the services that keep a runner running on macOS, on Linux and on Windows, each as a plan of what to write and to run; and `deskFiles`, the template of an agent account's desk, with `deskServicesOf` for what it says of the workspace's services, `personDeskFiles`, the template of a person's, and `DESK_FOLDER`, what a desk's folder is called. Both templates are the least: the instructions and a structure, and no form of a thing to keep.
|
|
74
|
+
- **`@skillcdn/console/runner`** is what `console runner` is made of ([docs/specs/runner.md](https://github.com/skillcdn/console/blob/main/docs/specs/runner.md)), for a console of one's own that drives another product or a test that runs a runner against a console: `createRunner(options)`, which takes a `ConsoleClient` on the account's command, a `Driver`, its `runner.json` and what it needs of the machine; the `Driver`, `DriverSession` and `DriverEvent` types a driver is written to, `createClaudeDriver`, `createCodexDriver` and `createSpawn`; `createRunnerModules` and `ownRunnerModules`, the four registries a module is known by; `composeSignals`, `headerOf` and `introOf`, how a signal reaches the agent, with `wakeTextOf` and `wakePartsOf`, how the parts a wake source raised, its own lines and what someone wrote (`WakePart`), are written as the text of a signal and read back; `redactorOf`, which takes the values of a secret store out of a text in the encodings they are carried in, and `cutShown`, which cuts a text to a length once they are out, what a session hands its driver as `cut` so that no part of a secret stands where a driver cut a text, with `cutShownEnd`, which keeps the end of one the same way, handed as `cutEnd`, and `errorsShown`, which shows the end of what a product wrote on its standard error through it (`plainCut` and `plainCutEnd` where a driver is handed neither); `parseRunnerConfig`; `launchd`, `systemdUser` and `taskScheduler`, the services that keep a runner running on macOS, on Linux and on Windows, each as a plan of what to write and to run; and `deskFiles`, the template of an agent account's desk, with `deskServicesOf` for what it says of the workspace's services, `personDeskFiles`, the template of a person's, and `DESK_FOLDER`, what a desk's folder is called. Both templates are the least: the instructions and a structure, and no form of a thing to keep.
|
|
75
75
|
- **`@skillcdn/console/cli`** exports `runCli(argv, io)`, the command as a function that takes its environment, its streams, its `fetch` and its credential store: what the integration tests run against the app with no socket, and what a console of a person's own could embed.
|
|
76
76
|
|
|
77
77
|
### Writing a plugin
|
|
@@ -102,7 +102,7 @@ createConsole({
|
|
|
102
102
|
}).mount(document.getElementById("root"));
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
- **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, and the board scrolls on while the card is held near its edge, still or moving, as `edgeScrollOf` meters it; 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; the files put on a decision read at the decision's own address, since it may be of a project the person may not see, ADR-0068, unless `fileHref(projectKey, fileId, decisionId)` says where), `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, and, given `addressing`, the way to say anew whom it is for, [ADR-0096](https://github.com/skillcdn/console/blob/main/docs/adr/0096-a-decision-that-waits-may-be-addressed-anew-by-whoever-may-answer-it.md): the people to name, given or read when the form opens, and `onAddress`; 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, with what `notifications` gives before the menu, the bell), `NotificationsMenu`, `NotificationSettings` and `TaskBell` (what a member is told of, [ADR-0157](https://github.com/skillcdn/console/blob/main/docs/adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md): the bell in the head of every page, marked while `unread` counts any, with the list under it, the newest first and more of it through `onMore`, read whole as it opens, which `onOpen` says, a row read at `since` or after shown as new that once; what the member chose to be told of, each kind on or off, the projects turned off and, for each plugin that carries notifications elsewhere, a row of the kinds it sends too, the Notifications view of the settings; and a task's own bell, `on` or struck through, pressed to turn it), `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), `SessionList` (the browsers a person is signed in on, each with what it is, when it was last used, where from and the day it signed in, the current one marked, and the ways to sign any other out, or all the others at once; the Sessions view of the settings), `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, each a card whose facts, their role, their manager, their work email, whom they manage and their teams, read as values in one column and are changed in place by an administrator, with the ways to take a person out or back in, put them in a team or take them out of one, and take a listing away), `ListingForm` (where an administrator lets someone in by login), `TeamList` (the teams, ADR-0073, a card each with how many are in it and who, a chip each, the name written anew in its place, a person added from the end of the row and taken out from their chip, and the way to delete a team) and `TeamForm` (where an administrator makes one), `HomeGrid` and `ProjectTile` (the front page, ADR-0061: the projects and the plugins' widgets as tiles on one grid of square cells, each at a place the person chose, taken in hand with a mouse or a finger that rests on it a moment first and put down on any cell, those in the way moving aside, with the way off the page and the sizes each comes in; `homeTiles`, `arranged`, `moved` and the rest in the package's `home-tiles.ts` read the arrangement; a project at `medium`, `large` or `wide` is a glance at its board, ADR-0105, from the `glances` the grid is given by the project's id, each the one answer of `client.project(key).glance()`, a `ProjectGlance`, ADR-0107, which it asks for through `onGlance` with the projects it shows so, an empty list when it shows none; `createGlanceReader` reads them for a composition of your own, once for each reading, a failed read tried again and a late answer dropped; `glanceProjects` names the projects shown so, and `glanceFit` gives out the rows a room holds by the heights of `GLANCE_REM`), `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`), `ProjectForm` and `MemberList` (the way to make or change a project, 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, the time zone, picked by area with `timeZoneGroups`, `deviceTimeZone` and `offsetOf`, and the language for whoever has none of their own; the view, given `console`, what `me.console` says, names the console's version and the range of command versions it takes first), `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, which is how a person, a project or a goal is chosen wherever one is, with `peopleSearch`, `projectsSearch`, `goalsSearch` and `listSearch` searching a listing the page already holds, and the `className` `sc-picker-quiet` for a fact changed in place or `sc-picker-add` for the way to add one more at the end of a row of chips, `Chip`, a thing named among others in a row, a person, a team, an item of a list, a holder of a role, with the way to take it out where it can be, 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.
|
|
105
|
+
- **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, and the board scrolls on while the card is held near its edge, still or moving, as `edgeScrollOf` meters it; 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, and a task with no day of its plan on the days it was worked, from when the board kept it as started through today while it is in progress, and else through when its last run ended or it was done, as `daysOf` reads them and never writes them, ADR-0159; 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, counted from the day given as today; `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; the files put on a decision read at the decision's own address, since it may be of a project the person may not see, ADR-0068, unless `fileHref(projectKey, fileId, decisionId)` says where), `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, and, given `addressing`, the way to say anew whom it is for, [ADR-0096](https://github.com/skillcdn/console/blob/main/docs/adr/0096-a-decision-that-waits-may-be-addressed-anew-by-whoever-may-answer-it.md): the people to name, given or read when the form opens, and `onAddress`; 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, with what `notifications` gives before the menu, the bell), `NotificationsMenu`, `NotificationSettings` and `TaskBell` (what a member is told of, [ADR-0157](https://github.com/skillcdn/console/blob/main/docs/adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md): the bell in the head of every page, marked while `unread` counts any, with the list under it, the newest first and more of it through `onMore`, read whole as it opens, which `onOpen` says, a row read at `since` or after shown as new that once; what the member chose to be told of, each kind on or off, the projects turned off and, for each plugin that carries notifications elsewhere, a row of the kinds it sends too, the Notifications view of the settings; and a task's own bell, `on` or struck through, pressed to turn it), `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), `SessionList` (the browsers a person is signed in on, each with what it is, when it was last used, where from and the day it signed in, the current one marked, and the ways to sign any other out, or all the others at once; the Sessions view of the settings), `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, each a card whose facts, their role, their manager, their work email, whom they manage and their teams, read as values in one column and are changed in place by an administrator, with the ways to take a person out or back in, put them in a team or take them out of one, and take a listing away), `ListingForm` (where an administrator lets someone in by login), `TeamList` (the teams, ADR-0073, a card each with how many are in it and who, a chip each, the name written anew in its place, a person added from the end of the row and taken out from their chip, and the way to delete a team) and `TeamForm` (where an administrator makes one), `HomeGrid` and `ProjectTile` (the front page, ADR-0061: the projects and the plugins' widgets as tiles on one grid of square cells, each at a place the person chose, taken in hand with a mouse or a finger that rests on it a moment first and put down on any cell, those in the way moving aside, with the way off the page and the sizes each comes in; `homeTiles`, `arranged`, `moved` and the rest in the package's `home-tiles.ts` read the arrangement; a project at `medium`, `large` or `wide` is a glance at its board, ADR-0105, from the `glances` the grid is given by the project's id, each the one answer of `client.project(key).glance()`, a `ProjectGlance`, ADR-0107, which it asks for through `onGlance` with the projects it shows so, an empty list when it shows none; `createGlanceReader` reads them for a composition of your own, once for each reading, a failed read tried again and a late answer dropped; `glanceProjects` names the projects shown so, and `glanceFit` gives out the rows a room holds by the heights of `GLANCE_REM`), `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`), `ProjectForm` and `MemberList` (the way to make or change a project, 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, the time zone, picked by area with `timeZoneGroups`, `deviceTimeZone` and `offsetOf`, and the language for whoever has none of their own; the view, given `console`, what `me.console` says, names the console's version and the range of command versions it takes first), `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, which is how a person, a project or a goal is chosen wherever one is, with `peopleSearch`, `projectsSearch`, `goalsSearch` and `listSearch` searching a listing the page already holds, and the `className` `sc-picker-quiet` for a fact changed in place or `sc-picker-add` for the way to add one more at the end of a row of chips, `Chip`, a thing named among others in a row, a person, a team, an item of a list, a holder of a role, with the way to take it out where it can be, 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.
|
|
106
106
|
- **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.
|
|
107
107
|
- **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, `config.persona` what an agent account's persona is proposed and drawn from in place of the package's (ADR-0084): `names`, a handle and its spelling per language each, which "Add an agent account" proposes from, and `avatarSets`, the sets the avatars are drawn from on this console's pages (`AvatarSet`, which is data: its grounds and its ramps as colours, its bodies, its surfaces and its accents as outlines in a square of a hundred units; ADR-0097), each under a version the package does not use. 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, or `me.session` for a command signed in as the account itself) and offers nothing a token cannot do: no tokens, no sessions and no sign-out, since those are a person's own doing, and on the Agents page the agent accounts alone; 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), what the person is told of at `/settings/notifications` (`PATHS.notificationSettings`), 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).
|
|
108
108
|
- **Pages of your own:** `config.pages` adds tabs beside the console's, each a `CustomPage`. "Pages of your own" below says what a page is given, may read and is built from, "Charts" what figures are drawn with, and "A desk's pages" what a desk's pages begin as and what is ready for them.
|
package/dist/agent-page.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-page.d.ts","sourceRoot":"","sources":["../src/agent-page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEjG,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,SAAS,EAId,KAAK,YAAY,EAKlB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-page.d.ts","sourceRoot":"","sources":["../src/agent-page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEjG,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,SAAS,EAId,KAAK,YAAY,EAKlB,MAAM,UAAU,CAAC;AAwClB,OAAO,EAAE,KAAK,QAAQ,EAA+B,MAAM,aAAa,CAAC;AAoBzE,oHAAoH;AACpH,wBAAgB,OAAO,CAAC,CAAC,EACvB,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,EACzC,OAAO,CAAC,EAAE,MAAM,GACf;IAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CA4BzF;AAyLD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,YAAY,EAAE,GAAG,MAAM,CAKpF;AAwlBD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,oFAAoF;IACpF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,mGAAmG;IACnG,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,CAAC;IACzD,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,SAAS,CAAC;CAChD;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAKnF;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAgH9C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,QAAQ,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,sCA8BA"}
|
package/dist/agent-page.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
3
3
|
import { followSession } from "./agent-stream.js";
|
|
4
4
|
import { ApiError, isLoginAt, usageStanding, } from "./api.js";
|
|
5
|
-
import { AgentChoice, AgentControls, AgentElsewhereList, AgentRunnerFacts, AgentSecretList, AgentSessionList, AgentStateBadge, AgentUsage, atWorkOf, ChatPane, isOwnReset, ownResetWaiting, SignalComposer, TalkWaiting, TalkWorking, TranscriptView, takenOf, waitingOf, withEarlier, wordOf, workingOf, } from "./components/agent-page.js";
|
|
5
|
+
import { AgentChoice, AgentControls, AgentElsewhereList, AgentRunnerFacts, AgentSecretList, AgentSessionList, AgentStateBadge, AgentUsage, atWorkOf, ChatPane, isOwnReset, lacksStarter, ownResetWaiting, SignalComposer, TalkWaiting, TalkWorking, TranscriptView, takenOf, waitingOf, withEarlier, wordOf, workingOf, } from "./components/agent-page.js";
|
|
6
6
|
import { AgentPictureSave } from "./components/agents.js";
|
|
7
7
|
import { AgentInvitationPanel, AgentStartSteps } from "./components/setup.js";
|
|
8
8
|
import { Avatar, Button, Callout, cx, EmptyState, LinkButton, PersonChip, personName, Spinner, Time, } from "./components/ui.js";
|
|
@@ -16,7 +16,11 @@ import { useAction } from "./use-action.js";
|
|
|
16
16
|
const REFRESH_MS = 10_000;
|
|
17
17
|
/** How many of a session's last events the page reads first, and how many more a step back reads. */
|
|
18
18
|
const TAIL = 200;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* How many steps back the page reads, quietly, for what the conversation's foot says: the last
|
|
21
|
+
* word the agent took, and the call that started a sub-agent, where the events shown hold
|
|
22
|
+
* neither.
|
|
23
|
+
*/
|
|
20
24
|
const LOOK_BACK_STEPS = 5;
|
|
21
25
|
const TABS = ["live", "work", "sessions", "settings"];
|
|
22
26
|
/** Something read from the console and read again on a timer: what it answered last, and the way to read it now. */
|
|
@@ -70,8 +74,8 @@ function SessionTranscript(props) {
|
|
|
70
74
|
const [standing, setStanding] = useState("waiting");
|
|
71
75
|
/** Whether the events before the first one shown are being read: asked for once at a time. */
|
|
72
76
|
const [readingEarlier, setReadingEarlier] = useState(false);
|
|
73
|
-
/** The
|
|
74
|
-
const [
|
|
77
|
+
/** The events before those shown that were read for the foot alone, and stand nowhere else. */
|
|
78
|
+
const [behind, setBehind] = useState([]);
|
|
75
79
|
const ended = useRef(onEnded);
|
|
76
80
|
ended.current = onEnded;
|
|
77
81
|
const open = session.ended === null;
|
|
@@ -93,7 +97,7 @@ function SessionTranscript(props) {
|
|
|
93
97
|
setProblem(false);
|
|
94
98
|
setStanding("waiting");
|
|
95
99
|
setReadingEarlier(false);
|
|
96
|
-
|
|
100
|
+
setBehind([]);
|
|
97
101
|
// What is there is read, and what arrives is followed; a stream that closed for good, as
|
|
98
102
|
// one does while the console restarts, is opened again from the last event read.
|
|
99
103
|
return followSession({
|
|
@@ -108,32 +112,36 @@ function SessionTranscript(props) {
|
|
|
108
112
|
onEnded: () => ended.current?.(),
|
|
109
113
|
});
|
|
110
114
|
}, [client, handle, session.id]);
|
|
111
|
-
//
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
// What stands at the conversation's foot is read off what is shown and, where that does not
|
|
116
|
+
// say it, off the events before, a step at a time and a few at most: the last signal the agent
|
|
117
|
+
// took, by which the words that still wait are told, and the call that started a sub-agent
|
|
118
|
+
// (ADR-0161), which one that has worked for long has far back. None of them is shown, so that
|
|
119
|
+
// nothing moves under whoever reads, and one that could not be read is left at that.
|
|
120
|
+
const all = behind.length === 0 ? events : withEarlier(events, behind, from);
|
|
121
|
+
const taken = takenOf(all);
|
|
122
|
+
const upTo = Math.min(from, (behind[0]?.n ?? Number.POSITIVE_INFINITY) - 1);
|
|
123
|
+
const looks = props.foot !== undefined &&
|
|
124
|
+
open &&
|
|
125
|
+
events.length > 0 &&
|
|
126
|
+
upTo > 0 &&
|
|
127
|
+
from - upTo < LOOK_BACK_STEPS * TAIL &&
|
|
128
|
+
(taken === undefined || lacksStarter(all));
|
|
116
129
|
useEffect(() => {
|
|
117
|
-
if (!looks
|
|
130
|
+
if (!looks) {
|
|
118
131
|
return;
|
|
119
132
|
}
|
|
120
133
|
const controller = new AbortController();
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if (found !== undefined) {
|
|
128
|
-
setBefore(found);
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
upTo = after;
|
|
134
|
+
const after = Math.max(0, upTo - TAIL);
|
|
135
|
+
client
|
|
136
|
+
.transcript(handle, session.id, { after, limit: upTo - after }, controller.signal)
|
|
137
|
+
.then((page) => {
|
|
138
|
+
if (!controller.signal.aborted) {
|
|
139
|
+
setBehind((current) => [...page.items, ...current]);
|
|
132
140
|
}
|
|
133
|
-
|
|
134
|
-
|
|
141
|
+
})
|
|
142
|
+
.catch(() => undefined);
|
|
135
143
|
return () => controller.abort();
|
|
136
|
-
}, [looks,
|
|
144
|
+
}, [looks, upTo, client, handle, session.id]);
|
|
137
145
|
const earlier = () => {
|
|
138
146
|
if (readingEarlier) {
|
|
139
147
|
return;
|
|
@@ -162,8 +170,7 @@ function SessionTranscript(props) {
|
|
|
162
170
|
}
|
|
163
171
|
});
|
|
164
172
|
};
|
|
165
|
-
|
|
166
|
-
return (_jsxs("section", { className: "sc-agent-transcript", "aria-label": words.transcript, children: [session.away && _jsx(Callout, { tone: "warning", children: words.away }), problem && _jsx(Callout, { tone: "danger", children: words.couldNotLoad }), open && typeof EventSource === "undefined" && (_jsx("p", { className: "sc-field-hint", children: words.notLive })), from > 0 && (_jsx(Button, { variant: "ghost", size: "sm", disabled: readingEarlier, onClick: earlier, children: words.earlier })), _jsx(TranscriptView, { of: session.id, events: events, agent: props.agent, fileHref: (fileId) => client.transcriptFileUrl(handle, session.id, fileId), signalFiles: filesOf, signalFileHref: (number, fileId) => client.signalFileUrl(handle, number, fileId), onReadWhole: async (n) => (await client.transcriptText(handle, session.id, n)).text, live: props.working ?? open, empty: session.away ? null : _jsx("p", { className: "sc-field-hint", children: words.empty }), foot: props.foot?.({ events, taken }) }, session.id), open && standing === "lost" && (_jsx("p", { className: "sc-field-hint", role: "status", children: words.lost }))] }));
|
|
173
|
+
return (_jsxs("section", { className: "sc-agent-transcript", "aria-label": words.transcript, children: [session.away && _jsx(Callout, { tone: "warning", children: words.away }), problem && _jsx(Callout, { tone: "danger", children: words.couldNotLoad }), open && typeof EventSource === "undefined" && (_jsx("p", { className: "sc-field-hint", children: words.notLive })), from > 0 && (_jsx(Button, { variant: "ghost", size: "sm", disabled: readingEarlier, onClick: earlier, children: words.earlier })), _jsx(TranscriptView, { of: session.id, events: events, agent: props.agent, fileHref: (fileId) => client.transcriptFileUrl(handle, session.id, fileId), signalFiles: filesOf, signalFileHref: (number, fileId) => client.signalFileUrl(handle, number, fileId), onReadWhole: async (n) => (await client.transcriptText(handle, session.id, n)).text, live: props.working ?? open, empty: session.away ? null : _jsx("p", { className: "sc-field-hint", children: words.empty }), foot: props.foot?.({ events: all, taken }) }, session.id), open && standing === "lost" && (_jsx("p", { className: "sc-field-hint", role: "status", children: words.lost }))] }));
|
|
167
174
|
}
|
|
168
175
|
/**
|
|
169
176
|
* What the provider an account signs in through is called: the one of the deployment's whose
|
|
@@ -231,6 +238,9 @@ function AgentLive(props) {
|
|
|
231
238
|
const foot = (events, taken) => {
|
|
232
239
|
const open = session !== undefined && session.ended === null;
|
|
233
240
|
const working = open && state === "running" ? workingOf(events) : undefined;
|
|
241
|
+
// A sub-agent that goes on in the background is at work past the turn that started it
|
|
242
|
+
// (ADR-0161): read of an agent at work in an open session, a turn under way or none.
|
|
243
|
+
const agents = open && state === "running" ? atWorkOf(events, Date.now()) : undefined;
|
|
234
244
|
// Signals are taken in order: everything up to the last one the record says was taken is.
|
|
235
245
|
// Where the record says none, what the runner says is delivered counts as taken: what the
|
|
236
246
|
// product took, or the record of an earlier session says was never read (ADR-0131).
|
|
@@ -256,7 +266,7 @@ function AgentLive(props) {
|
|
|
256
266
|
: agent.runner?.offers?.steer === false
|
|
257
267
|
? "turn"
|
|
258
268
|
: "call";
|
|
259
|
-
return (_jsxs(_Fragment, { children: [_jsx(TalkWorking, { working: working, agent: agent.person, agents:
|
|
269
|
+
return (_jsxs(_Fragment, { children: [_jsx(TalkWorking, { working: working, agent: agent.person, agents: agents }), _jsx(TalkWaiting, { signals: waiting, why: why, fileHref: (number, fileId) => client.signalFileUrl(handle, number, fileId), busy: busy, onInterrupt: working === undefined
|
|
260
270
|
? undefined
|
|
261
271
|
: () => void act(async () => {
|
|
262
272
|
await client.sendSignal(handle, { kind: "interrupt" });
|
package/dist/agent-page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-page.js","sourceRoot":"","sources":["../src/agent-page.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkC,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjG,OAAO,EAAE,aAAa,EAAuB,MAAM,mBAAmB,CAAC;AACvE,OAAO,EACL,QAAQ,EAER,SAAS,EAST,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,EACd,OAAO,EACP,SAAS,EACT,WAAW,EACX,MAAM,EACN,SAAS,GACV,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EACL,MAAM,EACN,MAAM,EACN,OAAO,EACP,EAAE,EACF,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,OAAO,EACP,IAAI,GACL,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EA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|
|
16
16
|
*/
|
|
17
17
|
export declare const USAGE_KEPT_MS: number;
|
|
18
18
|
/**
|
|
19
|
-
* The windows that still stand at a moment. One whose reset has
|
|
20
|
-
* window after it, and an account whose runner is away keeps what it
|
|
21
|
-
* is left out, so that no page shows a share of a window that is over.
|
|
22
|
-
* reset is left out once it was said longer ago than any window lasts
|
|
23
|
-
* Which windows there are is the product's to say, and nothing here expects
|
|
24
|
-
* no short window shows the week alone.
|
|
19
|
+
* The windows that still stand at a moment, in the order they are shown in. One whose reset has
|
|
20
|
+
* passed says nothing of the window after it, and an account whose runner is away keeps what it
|
|
21
|
+
* last said: such a window is left out, so that no page shows a share of a window that is over.
|
|
22
|
+
* One that names no reset is left out once it was said longer ago than any window lasts
|
|
23
|
+
* (`USAGE_KEPT_MS`). Which windows there are is the product's to say, and nothing here expects
|
|
24
|
+
* one: a plan with no short window shows the week alone. Their order is by their names, the
|
|
25
|
+
* short window, the week, then the week of a model: a product says a window at a time, and one
|
|
26
|
+
* that reset is said again after those that did not.
|
|
25
27
|
*/
|
|
26
28
|
export declare function usageStanding<T extends {
|
|
29
|
+
readonly name?: string | undefined;
|
|
27
30
|
readonly resetsAt: string | null;
|
|
28
31
|
readonly at?: string | undefined;
|
|
29
32
|
}>(usage: readonly T[] | null | undefined, now: number): readonly T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-usage.d.ts","sourceRoot":"","sources":["../src/agent-usage.ts"],"names":[],"mappings":"AAGA,8GAA8G;AAC9G,eAAO,MAAM,UAAU,MAAM,CAAC;AAE9B,kHAAkH;AAClH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,Q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;AAC/F,eAAO,MAAM,SAAS,WAAY;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,KAAG,OAAsF,CAAC"}
|
package/dist/agent-usage.js
CHANGED
|
@@ -9,18 +9,48 @@ export const USAGE_NEAR = 0.8;
|
|
|
9
9
|
* when a plan comes to count something else.
|
|
10
10
|
*/
|
|
11
11
|
export const USAGE_KEPT_MS = 8 * 24 * 60 * 60 * 1000;
|
|
12
|
+
/** How many minutes a window lasts, by the word its driver names it with: none where the word says none. */
|
|
13
|
+
const MINUTES = { minute: 1, hour: 60, day: 24 * 60 };
|
|
14
|
+
const LASTS = /^([0-9]{1,6})-(minute|hour|day)$/;
|
|
15
|
+
function minutesOf(word) {
|
|
16
|
+
if (word === "weekly") {
|
|
17
|
+
return 7 * 24 * 60;
|
|
18
|
+
}
|
|
19
|
+
const [, count, unit] = LASTS.exec(word) ?? [];
|
|
20
|
+
return count === undefined || unit === undefined
|
|
21
|
+
? undefined
|
|
22
|
+
: Number(count) * (MINUTES[unit] ?? 1);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Where a window stands among the others, by its name: the plan's own first, the shortest of
|
|
26
|
+
* them before the longer; then the windows of a part of the allowance (`weekly fable`), the
|
|
27
|
+
* shortest first as well; then any other.
|
|
28
|
+
*/
|
|
29
|
+
function placeOf(name) {
|
|
30
|
+
const space = name.indexOf(" ");
|
|
31
|
+
const minutes = minutesOf(space < 0 ? name : name.slice(0, space));
|
|
32
|
+
return minutes === undefined ? { group: 2, minutes: 0 } : { group: space < 0 ? 0 : 1, minutes };
|
|
33
|
+
}
|
|
34
|
+
function inOrder({ name: a = "" }, { name: b = "" }) {
|
|
35
|
+
const [first, second] = [placeOf(a), placeOf(b)];
|
|
36
|
+
return (first.group - second.group || first.minutes - second.minutes || (a < b ? -1 : a > b ? 1 : 0));
|
|
37
|
+
}
|
|
12
38
|
/**
|
|
13
|
-
* The windows that still stand at a moment. One whose reset has
|
|
14
|
-
* window after it, and an account whose runner is away keeps what it
|
|
15
|
-
* is left out, so that no page shows a share of a window that is over.
|
|
16
|
-
* reset is left out once it was said longer ago than any window lasts
|
|
17
|
-
* Which windows there are is the product's to say, and nothing here expects
|
|
18
|
-
* no short window shows the week alone.
|
|
39
|
+
* The windows that still stand at a moment, in the order they are shown in. One whose reset has
|
|
40
|
+
* passed says nothing of the window after it, and an account whose runner is away keeps what it
|
|
41
|
+
* last said: such a window is left out, so that no page shows a share of a window that is over.
|
|
42
|
+
* One that names no reset is left out once it was said longer ago than any window lasts
|
|
43
|
+
* (`USAGE_KEPT_MS`). Which windows there are is the product's to say, and nothing here expects
|
|
44
|
+
* one: a plan with no short window shows the week alone. Their order is by their names, the
|
|
45
|
+
* short window, the week, then the week of a model: a product says a window at a time, and one
|
|
46
|
+
* that reset is said again after those that did not.
|
|
19
47
|
*/
|
|
20
48
|
export function usageStanding(usage, now) {
|
|
21
|
-
return (usage ?? [])
|
|
49
|
+
return (usage ?? [])
|
|
50
|
+
.filter((window) => window.resetsAt === null
|
|
22
51
|
? !(window.at !== undefined && now - Date.parse(window.at) > USAGE_KEPT_MS)
|
|
23
|
-
: !(Date.parse(window.resetsAt) <= now))
|
|
52
|
+
: !(Date.parse(window.resetsAt) <= now))
|
|
53
|
+
.sort(inOrder);
|
|
24
54
|
}
|
|
25
55
|
/** How far apart two windows may have been said and still be said together: one answer of the product. */
|
|
26
56
|
export const USAGE_SAID_TOGETHER_MS = 60_000;
|
package/dist/agent-usage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-usage.js","sourceRoot":"","sources":["../src/agent-usage.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,qFAAqF;AAErF,8GAA8G;AAC9G,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC;AAW9B;;;;;GAKG;AACH,MAAM,CAAC,M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|
@@ -15,7 +15,7 @@ export * from "./plugin/rest-schemas.js";
|
|
|
15
15
|
export { checkRecords, isLfsPointer, isRecordDay, isRecordFilePath, isRecordLink, isRecordPreviewPath, MAX_LFS_POINTER_BYTES, MAX_RECORD_COLLECTIONS, MAX_RECORD_FIELDS, MAX_RECORD_FILE_BYTES, MAX_RECORD_ITEM_FILES, MAX_RECORD_ITEMS, MAX_RECORD_KEY_LENGTH, MAX_RECORD_LINE_LENGTH, MAX_RECORD_LINKS, MAX_RECORD_METRIC_ROWS, MAX_RECORD_METRICS, MAX_RECORD_PATH_LENGTH, MAX_RECORD_RATIOS, MAX_RECORD_STATUSES, MAX_RECORD_TEXT_LENGTH, MAX_RECORD_URL_LENGTH, MAX_RECORD_USES, RECORD_FIELD_KINDS, RECORD_METRIC_UNITS, RECORD_PREVIEW_KINDS, RECORD_RATIO_FORMS, RECORDS_COLLECTION_FILE, RECORDS_DIR, RECORDS_FILES_DIR, RECORDS_INDEX_FILE, RECORDS_ITEMS_FILE, RECORDS_METRICS_FILE, RECORDS_USES_FILE, type RecordsCheck, type RecordsCollection, type RecordsFiles, type RecordsIndex, type RecordsItem, type RecordsMetricRow, type RecordsProblem, type RecordsRead, type RecordsUse, readRecords, recordsCollectionSchema, recordsFieldSchema, recordsIndexSchema, recordsItemSchema, recordsItemsSchema, recordsMetricRowSchema, recordsMetricSchema, recordsMetricsSchema, recordsRatioSchema, recordsStatusSchema, recordsUseSchema, recordsUsesSchema, } from "./records.js";
|
|
16
16
|
export { AUTH_ROUTES, agentPath, CLAIM_PATH, categoryPath, connectPath, decisionFilePath, decisionPath, isSignInFailure, loginPath, PROJECT_COLLECTIONS, type ProjectCollection, personTokensPath, personWorkPath, pluginPath, projectIconPath, projectPath, REST_ROUTES, RETURN_TO_PARAM, restPath, rulesPath, SIGN_IN_FAILURES, SIGN_IN_PARAM, type SignInFailure, signInPath, } from "./routes.js";
|
|
17
17
|
export { ADDED_RULES_HEADING, addedRulesOf, CONSOLE_RULES, fillRules, languageNameOf, PROJECT_RULES_TEMPLATE, RULES_LANGUAGE_PLACEHOLDER, RULES_PATH, RULES_TITLE, rulesWith, } from "./rules.js";
|
|
18
|
-
export { CONNECT_AS, type ConnectAs, hostOfLogin, isDomain, isHandle, isLoginAt, isSecretName, OPTION_KEY_PATTERN, RESERVED_HANDLES, type RestAgent, type RestAgentChoice, type RestAgentElsewhere, type RestAgentHours, type RestAgentInput, type RestAgentInvitation, type RestAgentInvitationMade, type RestAgentInvitationState, type RestAgentPatch, type RestAgentProposal, type RestAgentProposals, type RestAgentRunner, type RestAgentSecret, type RestAgentSecretAccess, type RestAgentSecretAccesses, type RestAgentSecretInput, type RestAgentSecrets, type RestAgentSecretValue, type RestAgentSession, type RestAgentSessionEndInput, type RestAgentSessionInput, type RestAgentSessions, type RestAgentSetup, type RestAgentState, type RestAgents, type RestAgentUsageWindow, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestAvatarParts, 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 RestDecisionBrief, type RestDecisionDeciders, type RestDecisionFile, 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 RestGlanceGoal, type RestGlanceTask, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestHome, type RestHomeTile, type RestListing, type RestListingInput, type RestManager, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestMyDecisions, type RestNotification, type RestNotificationSettings, type RestNotificationSettingsInput, type RestNotifications, type RestNotificationsRead, type RestNotificationsReadInput, type RestOrganization, type RestOwnResetInput, type RestOwnWake, type RestOwnWakeInput, type RestOwnWakeRaised, type RestOwnWakes, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestPersonWorkBrief, type RestProject, type RestProjectGlance, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReachedDecision, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRulesPlugin, type RestRun, type RestRunBrief, type RestRunBriefs, type RestRunEndInput, type RestRunInput, type RestRunnerHeartbeat, type RestRunnerHeartbeatInput, type RestRunnerWake, type RestRuns, type RestSession, type RestSessions, type RestSignal, type RestSignalInput, type RestSignals, type RestSkill, type RestSkillBrowse, type RestSkillCode, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkillRows, type RestSkills, type RestTask, type RestTaskBrief, type RestTaskBriefs, type RestTaskCounts, type RestTaskFollow, type RestTaskFollowInput, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestTeam, type RestTeamInput, type RestTeamMemberInput, type RestTeamPatch, type RestTeams, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestTranscriptBatch, type RestTranscriptBatchInput, type RestTranscriptEvent, type RestTranscriptEventInput, type RestTranscriptEvents, type RestTranscriptFile, type RestTranscriptSealInput, type RestTranscriptText, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkBrief, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, type RestWorkspaceService, type RestWorkspaceServices, reportCountOf, restAgentChoiceSchema, restAgentElsewhereSchema, restAgentHoursSchema, restAgentInputSchema, restAgentInvitationMadeSchema, restAgentInvitationSchema, restAgentInvitationStateSchema, restAgentPatchSchema, restAgentProposalSchema, restAgentProposalsSchema, restAgentRunnerSchema, restAgentSchema, restAgentSecretAccessesSchema, restAgentSecretAccessSchema, restAgentSecretInputSchema, restAgentSecretSchema, restAgentSecretsSchema, restAgentSecretValueSchema, restAgentSessionEndInputSchema, restAgentSessionInputSchema, restAgentSessionSchema, restAgentSessionsSchema, restAgentSetupSchema, restAgentStateSchema, restAgentsSchema, restAgentUsageWindowSchema, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restAvatarPartsSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionBriefSchema, restDecisionDecidersSchema, restDecisionFileSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGlanceGoalSchema, restGlanceTaskSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restHomeSchema, restHomeTileSchema, restListingInputSchema, restListingSchema, restManagerSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restNotificationSchema, restNotificationSettingsInputSchema, restNotificationSettingsSchema, restNotificationsReadInputSchema, restNotificationsReadSchema, restNotificationsSchema, restOrganizationSchema, restOwnResetInputSchema, restOwnWakeInputSchema, restOwnWakeRaisedSchema, restOwnWakeSchema, restOwnWakesSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkBriefSchema, restPersonWorkSchema, restProjectGlanceSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReachedDecisionSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesPluginSchema, restRulesSchema, restRunBriefSchema, restRunBriefsSchema, restRunEndInputSchema, restRunInputSchema, restRunnerHeartbeatInputSchema, restRunnerHeartbeatSchema, restRunnerWakeSchema, restRunSchema, restRunsSchema, restSessionSchema, restSessionsSchema, restSignalInputSchema, restSignalSchema, restSignalsSchema, restSkillBrowseSchema, restSkillCodeSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillRowsSchema, restSkillSchema, restSkillsSchema, restTaskBriefSchema, restTaskBriefsSchema, restTaskCountsSchema, restTaskFollowInputSchema, restTaskFollowSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTeamInputSchema, restTeamMemberInputSchema, restTeamPatchSchema, restTeamSchema, restTeamsSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restTranscriptBatchInputSchema, restTranscriptBatchSchema, restTranscriptEventInputSchema, restTranscriptEventSchema, restTranscriptEventsSchema, restTranscriptFileSchema, restTranscriptSealInputSchema, restTranscriptTextSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkBriefSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, restWorkspaceServiceSchema, restWorkspaceServicesSchema, type ServiceProblem, serviceProblem, serviceProblemOf, } from "./schemas.js";
|
|
18
|
+
export { CONNECT_AS, type ConnectAs, hostOfLogin, isDomain, isHandle, isLoginAt, isSecretName, MAX_WRITERS_ASKED, OPTION_KEY_PATTERN, RESERVED_HANDLES, type RestAgent, type RestAgentChoice, type RestAgentElsewhere, type RestAgentHours, type RestAgentInput, type RestAgentInvitation, type RestAgentInvitationMade, type RestAgentInvitationState, type RestAgentPatch, type RestAgentProposal, type RestAgentProposals, type RestAgentRunner, type RestAgentSecret, type RestAgentSecretAccess, type RestAgentSecretAccesses, type RestAgentSecretInput, type RestAgentSecrets, type RestAgentSecretValue, type RestAgentSession, type RestAgentSessionEndInput, type RestAgentSessionInput, type RestAgentSessions, type RestAgentSetup, type RestAgentState, type RestAgents, type RestAgentUsageWindow, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestAvatarParts, 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 RestDecisionBrief, type RestDecisionDeciders, type RestDecisionFile, 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 RestGlanceGoal, type RestGlanceTask, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestHome, type RestHomeTile, type RestListing, type RestListingInput, type RestManager, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestMyDecisions, type RestNotification, type RestNotificationSettings, type RestNotificationSettingsInput, type RestNotifications, type RestNotificationsRead, type RestNotificationsReadInput, type RestOrganization, type RestOwnResetInput, type RestOwnWake, type RestOwnWakeInput, type RestOwnWakeRaised, type RestOwnWakes, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestPersonWorkBrief, type RestProject, type RestProjectGlance, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReachedDecision, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRulesPlugin, type RestRun, type RestRunBrief, type RestRunBriefs, type RestRunEndInput, type RestRunInput, type RestRunnerHeartbeat, type RestRunnerHeartbeatInput, type RestRunnerWake, type RestRuns, type RestSession, type RestSessions, type RestSignal, type RestSignalInput, type RestSignals, type RestSkill, type RestSkillBrowse, type RestSkillCode, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkillRows, type RestSkills, type RestTask, type RestTaskBrief, type RestTaskBriefs, type RestTaskCounts, type RestTaskFollow, type RestTaskFollowInput, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestTeam, type RestTeamInput, type RestTeamMemberInput, type RestTeamPatch, type RestTeams, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestTranscriptBatch, type RestTranscriptBatchInput, type RestTranscriptEvent, type RestTranscriptEventInput, type RestTranscriptEvents, type RestTranscriptFile, type RestTranscriptSealInput, type RestTranscriptText, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkBrief, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, type RestWorkspaceService, type RestWorkspaceServices, type RestWriter, type RestWriters, type RestWritersInput, reportCountOf, restAgentChoiceSchema, restAgentElsewhereSchema, restAgentHoursSchema, restAgentInputSchema, restAgentInvitationMadeSchema, restAgentInvitationSchema, restAgentInvitationStateSchema, restAgentPatchSchema, restAgentProposalSchema, restAgentProposalsSchema, restAgentRunnerSchema, restAgentSchema, restAgentSecretAccessesSchema, restAgentSecretAccessSchema, restAgentSecretInputSchema, restAgentSecretSchema, restAgentSecretsSchema, restAgentSecretValueSchema, restAgentSessionEndInputSchema, restAgentSessionInputSchema, restAgentSessionSchema, restAgentSessionsSchema, restAgentSetupSchema, restAgentStateSchema, restAgentsSchema, restAgentUsageWindowSchema, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restAvatarPartsSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionBriefSchema, restDecisionDecidersSchema, restDecisionFileSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGlanceGoalSchema, restGlanceTaskSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restHomeSchema, restHomeTileSchema, restListingInputSchema, restListingSchema, restManagerSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restNotificationSchema, restNotificationSettingsInputSchema, restNotificationSettingsSchema, restNotificationsReadInputSchema, restNotificationsReadSchema, restNotificationsSchema, restOrganizationSchema, restOwnResetInputSchema, restOwnWakeInputSchema, restOwnWakeRaisedSchema, restOwnWakeSchema, restOwnWakesSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkBriefSchema, restPersonWorkSchema, restProjectGlanceSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReachedDecisionSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesPluginSchema, restRulesSchema, restRunBriefSchema, restRunBriefsSchema, restRunEndInputSchema, restRunInputSchema, restRunnerHeartbeatInputSchema, restRunnerHeartbeatSchema, restRunnerWakeSchema, restRunSchema, restRunsSchema, restSessionSchema, restSessionsSchema, restSignalInputSchema, restSignalSchema, restSignalsSchema, restSkillBrowseSchema, restSkillCodeSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillRowsSchema, restSkillSchema, restSkillsSchema, restTaskBriefSchema, restTaskBriefsSchema, restTaskCountsSchema, restTaskFollowInputSchema, restTaskFollowSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTeamInputSchema, restTeamMemberInputSchema, restTeamPatchSchema, restTeamSchema, restTeamsSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restTranscriptBatchInputSchema, restTranscriptBatchSchema, restTranscriptEventInputSchema, restTranscriptEventSchema, restTranscriptEventsSchema, restTranscriptFileSchema, restTranscriptSealInputSchema, restTranscriptTextSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkBriefSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, restWorkspaceServiceSchema, restWorkspaceServicesSchema, restWriterSchema, restWritersInputSchema, restWritersSchema, type ServiceProblem, serviceProblem, serviceProblemOf, } from "./schemas.js";
|
|
19
19
|
export { agentAddressOf, agentLoginOf, describeService, deskRemoteOf, fillTemplate, SERVICE_PROVIDERS, type ServiceContext, type ServiceItem, type ServiceNames, type ServiceProvider, serviceAccountOf, serviceNamesOf, serviceProviderOf, } from "./services.js";
|
|
20
20
|
export { type GuideService, guideServicesOf, SETUP_INSTALL, type SetupGuide, type SetupGuideSection, type SetupGuideStep, type SetupRole, setupCommandOf, setupGuideOf, setupGuideText, setupSentenceOf, } from "./setup-guide.js";
|
|
21
21
|
export { hasForbiddenCodePoint } from "./text.js";
|