@openagt/dashboard 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +14 -13
  2. package/dist/client.d.ts +1 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +1 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/daemon-runtime.d.ts.map +1 -1
  7. package/dist/daemon-runtime.js +16 -2
  8. package/dist/daemon-runtime.js.map +1 -1
  9. package/dist/dashboard/agent-handoff.js +4 -4
  10. package/dist/dashboard/agent-handoff.js.map +1 -1
  11. package/dist/dashboard/logins-sync.js +1 -1
  12. package/dist/dashboard/logins-sync.js.map +1 -1
  13. package/dist/dashboard/start-branch.d.ts +12 -5
  14. package/dist/dashboard/start-branch.d.ts.map +1 -1
  15. package/dist/dashboard/start-branch.js +37 -10
  16. package/dist/dashboard/start-branch.js.map +1 -1
  17. package/dist/dashboard/types.d.ts +10 -6
  18. package/dist/dashboard/types.d.ts.map +1 -1
  19. package/dist/dashboard-bundle/assets/host/module-PIrJC0JP.js +1 -0
  20. package/dist/dashboard-bundle/assets/main-CM5J2FK8.js +148 -0
  21. package/dist/dashboard-bundle/assets/main-CarPriwc.css +2 -0
  22. package/dist/dashboard-bundle/assets/module-fv4cy12w.js +14 -0
  23. package/dist/dashboard-bundle/index.html +4 -4
  24. package/dist/dashboard-rpc/index.d.ts +2 -2
  25. package/dist/dashboard-rpc/index.d.ts.map +1 -1
  26. package/dist/dashboard-rpc/index.js +2 -2
  27. package/dist/dashboard-rpc/index.js.map +1 -1
  28. package/dist/dashboard-rpc/projects.d.ts +22 -6
  29. package/dist/dashboard-rpc/projects.d.ts.map +1 -1
  30. package/dist/dashboard-rpc/projects.js +26 -7
  31. package/dist/dashboard-rpc/projects.js.map +1 -1
  32. package/dist/dashboard-rpc/reads.d.ts +6 -0
  33. package/dist/dashboard-rpc/reads.d.ts.map +1 -1
  34. package/dist/dashboard-rpc/reads.js +15 -0
  35. package/dist/dashboard-rpc/reads.js.map +1 -1
  36. package/dist/dashboard-rpc/relay-dispatch.js +3 -3
  37. package/dist/dashboard-rpc/relay-dispatch.js.map +1 -1
  38. package/dist/dashboard-rpc/skills.d.ts +3 -3
  39. package/dist/dashboard-rpc/skills.js +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/module-types/dashboard/components/PersonMark.d.ts +21 -0
  43. package/dist/module-types/dashboard/components/ui/dropdown-menu.d.ts +3 -0
  44. package/dist/module-types/dashboard/components/ui/row-item.d.ts +22 -1
  45. package/dist/module-types/dashboard/lib/use-git-host-people.d.ts +16 -0
  46. package/dist/module-types/dashboard/module/index.d.ts +2 -0
  47. package/dist/module-types/src/branch-name.d.ts +7 -0
  48. package/dist/module-types/src/client.d.ts +1 -0
  49. package/dist/module-types/src/dashboard/start-branch.d.ts +12 -5
  50. package/dist/module-types/src/dashboard/types.d.ts +10 -6
  51. package/dist/module-types/src/dashboard-rpc/index.d.ts +2 -2
  52. package/dist/module-types/src/dashboard-rpc/projects.d.ts +22 -6
  53. package/dist/module-types/src/dashboard-rpc/reads.d.ts +6 -0
  54. package/dist/module-types/src/dashboard-rpc/skills.d.ts +3 -3
  55. package/dist/module-types/src/index.d.ts +1 -1
  56. package/dist/module-types/src/project-commands.d.ts +0 -2
  57. package/dist/module-types/src/project-hooks.d.ts +7 -6
  58. package/dist/module-types/src/project-skills/catalogue.d.ts +1 -1
  59. package/dist/module-types/src/project-skills/change.d.ts +1 -1
  60. package/dist/module-types/src/registry.d.ts +16 -12
  61. package/dist/module-types/src/store/agent-store.d.ts +4 -0
  62. package/dist/module-types/src/store/git-host.d.ts +1 -0
  63. package/dist/project-commands.d.ts +0 -2
  64. package/dist/project-commands.d.ts.map +1 -1
  65. package/dist/project-commands.js.map +1 -1
  66. package/dist/project-hooks.d.ts +7 -6
  67. package/dist/project-hooks.d.ts.map +1 -1
  68. package/dist/project-hooks.js +7 -4
  69. package/dist/project-hooks.js.map +1 -1
  70. package/dist/project-skills/catalogue.d.ts +1 -1
  71. package/dist/project-skills/change.d.ts +1 -1
  72. package/dist/registry.d.ts +16 -12
  73. package/dist/registry.d.ts.map +1 -1
  74. package/dist/registry.js +15 -3
  75. package/dist/registry.js.map +1 -1
  76. package/dist/store/agent-store.d.ts +4 -0
  77. package/dist/store/agent-store.d.ts.map +1 -1
  78. package/dist/store/agent-store.js.map +1 -1
  79. package/dist/store/git-host.d.ts +1 -0
  80. package/dist/store/git-host.d.ts.map +1 -1
  81. package/dist/store/git-host.js +1 -1
  82. package/dist/store/git-host.js.map +1 -1
  83. package/package.json +22 -22
  84. package/dist/dashboard-bundle/assets/host/module-Cj4JvDNR.js +0 -1
  85. package/dist/dashboard-bundle/assets/main-C337ghZH.css +0 -2
  86. package/dist/dashboard-bundle/assets/main-Dws_coS4.js +0 -148
  87. package/dist/dashboard-bundle/assets/module-pxUBfZug.js +0 -14
@@ -1,7 +1,28 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactElement, ReactNode } from 'react';
2
2
  export declare const rowItemClass = "inline-flex h-7 min-w-0 max-w-full shrink items-center gap-1.5 overflow-hidden rounded-md px-2 text-[13px] font-normal text-muted-foreground max-sm:max-w-none max-sm:shrink-0";
3
3
  /** A row item that is a button: it lights up under the pointer and shows the keyboard's focus. */
4
4
  export declare const rowButtonClass: string;
5
+ /** A row of items above or under the box: one line of a fixed height, no wrap. */
6
+ export declare const rowClass = "flex h-8 items-center gap-2";
7
+ /** Its left side, which gives way: each item cut short, and on a phone, where cut short they would say nothing, scrolled sideways under a faded edge. */
8
+ export declare const rowLeftClass = "flex min-w-0 flex-1 items-center gap-0.5 max-sm:overflow-x-auto max-sm:[scrollbar-width:none] max-sm:[mask-image:linear-gradient(to_right,#000_85%,transparent)]";
9
+ /**
10
+ * The row above the box, on both pages: where the agent starts, or where it started. A fixed height
11
+ * and no wrap, so a name that lands late moves nothing; the later items give way first, each cut
12
+ * short, and on a phone the row scrolls sideways, its right edge faded to say so.
13
+ */
14
+ export declare function RowAboveBox({ children, end }: {
15
+ children: ReactNode;
16
+ end?: ReactNode;
17
+ }): import("react").JSX.Element;
18
+ /**
19
+ * A disabled row button and what its hover says. A disabled button takes no pointer, so the hover
20
+ * is on what holds it, which gives way in the row as the button does.
21
+ */
22
+ export declare function RowOff({ tip, children }: {
23
+ tip: string;
24
+ children: ReactElement;
25
+ }): import("react").JSX.Element;
5
26
  /** A plain row item: an icon and a few words that say one thing. Not a button. */
6
27
  export declare function RowItem({ icon, children }: {
7
28
  icon: ReactNode;
@@ -0,0 +1,16 @@
1
+ import type { ModuleHostPerson } from '../module/index.js';
2
+ /** Who a row wants: the run's person, in the project it belongs to. */
3
+ export interface PersonWanted {
4
+ projectId: string | null;
5
+ person?: string | undefined;
6
+ }
7
+ /** A person's account, as a row finds it. */
8
+ export type AccountOf = (projectId: string | null, person: string | undefined) => ModuleHostPerson | undefined;
9
+ /**
10
+ * What the project's git host said of the people of these runs. `remember` names the list: its
11
+ * last answer stays shown while new people are asked for, and is there from the first frame of the
12
+ * next visit, so a picture already seen does not fall back to letters.
13
+ */
14
+ export declare function useGitHostPeople(wanted: readonly PersonWanted[], ask: (projectId: string, emails: string[]) => Promise<ModuleHostPerson[]>, remember: string): AccountOf;
15
+ /** Who a person's mark says it is: their email, and their account at the git host when it knows one. */
16
+ export declare function personSaid(person: string, account: ModuleHostPerson | undefined): string;
@@ -609,6 +609,8 @@ export { Markdown } from '../components/Markdown.js';
609
609
  export { StartAgentButton } from '../components/StartAgentButton.js';
610
610
  export { LinkActions, type ProjectLinks, type LinkTargets } from '../components/LinkActions.js';
611
611
  export { MachineMark } from '../components/MachineMark.js';
612
+ export { PersonMark, personName } from '../components/PersonMark.js';
613
+ export { useGitHostPeople, personSaid } from '../lib/use-git-host-people.js';
612
614
  export { machineKind, machineName, type MachineKind } from '../../src/client.js';
613
615
  export { SettingsSection, SettingsRow, SettingsSelectRow, type SettingsOption } from '../components/SettingsRows.js';
614
616
  export { useSettingsCrumb, type SettingsCrumb } from '../lib/settings-crumb.js';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Whether `value` names a branch the way git lets a branch be named (`git check-ref-format
3
+ * --branch`), told without running git. The branch a Start names to start from ends up on a
4
+ * command line, so a word that could be read there as an option (a leading `-`), or that git would
5
+ * read as something other than one branch (`a..b`, `x@{1}`, `HEAD`), is not a name.
6
+ */
7
+ export declare function isBranchName(value: unknown): value is string;
@@ -5,6 +5,7 @@ export { runName } from './run-name.js';
5
5
  export { foldScreenRows } from './screens.js';
6
6
  export { formatBytes } from './format-bytes.js';
7
7
  export { errorMessage } from './error-message.js';
8
+ export { publishedBase } from '@openagt/agent-data/names';
8
9
  export { pickedIds } from './events.js';
9
10
  export { sessionInfo, agentErrors, type SessionInfo, type AgentError, } from './agent-view.js';
10
11
  export { pendingChoices } from './open-choices.js';
@@ -1,3 +1,4 @@
1
+ import type { StartFromPick } from '../registry.js';
1
2
  /**
2
3
  * The branch agents start from in the project at `cwd`: origin's default branch as this clone has
3
4
  * it, else the branch the folder is on (a project with no remote starts an agent from its last
@@ -8,6 +9,11 @@ export declare function startBranch(cwd: string): Promise<{
8
9
  ref: string;
9
10
  name: string;
10
11
  } | undefined>;
12
+ /**
13
+ * The branches origin has now, asked of origin itself: this clone's copies keep every branch it
14
+ * ever saw, long after origin deleted it. Nothing where origin could not be read.
15
+ */
16
+ export declare function branchesOnOrigin(cwd: string): Promise<string[] | undefined>;
11
17
  /** A skill that is in the folder and not on the branch agents start from. */
12
18
  export interface Waiting {
13
19
  /** The branch it has yet to reach, by name. */
@@ -17,12 +23,13 @@ export interface Waiting {
17
23
  }
18
24
  /**
19
25
  * Which of the skills `names`, all in the project's folder, are waiting to reach the branch agents
20
- * start from. A skill is said to be waiting only when that is known: an agent's checkout fetches
21
- * the remote before it starts, so before a skill is called waiting against a remote branch, this
22
- * clone's copy of that branch is fetched too (at most once a minute per project), or a pull
23
- * request merged a moment ago would keep its skill waiting here.
26
+ * start from: the one the launcher's menu has picked, given a `pick`, else the main branch. A skill
27
+ * is said to be waiting only when that is known: an agent's checkout fetches the remote before it
28
+ * starts, so before a skill is called waiting against a remote branch, this clone's copy of that
29
+ * branch is fetched too (at most once a minute per project and branch), or a pull request merged a
30
+ * moment ago would keep its skill waiting here.
24
31
  */
25
- export declare function waitingSkills(cwd: string, names: readonly string[]): Promise<{
32
+ export declare function waitingSkills(cwd: string, names: readonly string[], pick?: StartFromPick): Promise<{
26
33
  start?: {
27
34
  ref: string;
28
35
  name: string;
@@ -96,16 +96,20 @@ export interface StartAgentOptions {
96
96
  /** The person's saved pick of how far the run takes its work when the agent finishes. Absent, none is saved: the daemon starts the run at `commit`. A saved pick the project is not offered is held to the furthest the project goes with no pull request. */
97
97
  publish?: PublishPick;
98
98
  /**
99
- * The branch the agent's own branch starts from, as this machine has it, commits that are not
100
- * pushed included: the launcher's "My local branch" pick. Absent, origin's default branch. A
101
- * word that is no branch name refuses the Start. Not sent to another machine: its branches are its own.
99
+ * What the agent's own branch starts from, from the launcher's branch menu. A branch's name: that
100
+ * branch as this computer has it, commits that are not pushed included ("My local branch"). A
101
+ * `publishedBase`: that branch as origin has it, fetched at the Start; one origin no longer has,
102
+ * or an origin that cannot be read, refuses the Start. Absent, origin's default branch. A word
103
+ * that is no branch name refuses the Start. Not sent to a machine picked to run on: the launcher
104
+ * read this computer's branches, and that machine's copy is its own.
102
105
  */
103
106
  base?: string;
104
107
  /**
105
- * The follow-up's prompt: once the run ends done with a pull request, a fresh agent works its
106
- * branch from it before the request merges. The launcher's "Post-merge cleanup" box.
108
+ * The branch the run's pull request goes into, from the launcher's Auto menu, kept on the run's
109
+ * record for its agent and the Open PR press. Absent, the repository's default branch. A word
110
+ * that is no branch name refuses the Start. Not sent to a machine picked to run on, as {@link base}.
107
111
  */
108
- then?: string;
112
+ prBase?: string;
109
113
  /**
110
114
  * Run this session on a saved machine (#1067), named by its id: the local daemon relays the
111
115
  * start to that machine's daemon, which starts it in its own copy of the project, and streams
@@ -1,7 +1,7 @@
1
- export { onAgents, onModuleAgents, onAgent, onAgentsDoing, onDocs, onQueue, onOverview, onRecentAgents, onInterventions, onActivity, onDashboard, onGitHostHome, onRepositoryOffer, onGitStatus, onProjectFiles, onRetainedWorktrees, onAgentWorktree, onAgentHandoff, onBridgeQuestion, onBridgeStatus, onBridgeToken, onBridgeEvents, onBridgeAnswer, onBridgeBrowser } from './reads.js';
1
+ export { onAgents, onModuleAgents, onAgent, onAgentsDoing, onDocs, onQueue, onOverview, onRecentAgents, onInterventions, onActivity, onDashboard, onGitHostHome, onRepositoryOffer, onGitStatus, onProjectFiles, onRetainedWorktrees, onAgentWorktree, onAgentMainBranch, onAgentHandoff, onBridgeQuestion, onBridgeStatus, onBridgeToken, onBridgeEvents, onBridgeAnswer, onBridgeBrowser } from './reads.js';
2
2
  export { sendStop, sendChoice, sendBridgeAnswer, sendBridgeAnswerCancel, sendBridgeBrowser, sendMessage, sendStart, sendOpenInApp, sendRemoveWorktree, sendDeleteAgent, sendOpenPullRequest, sendPush, sendMergeBranch, sendMerge, sendCreateRepository } from './control.js';
3
3
  export { streamAgentEvents, type LiveFeedEvent, type PartialMessage, type StreamSync } from './events.js';
4
- export { onProjects, sendAddProject, sendStartedAgain, onCloneTarget, sendAddProjectFromAddress, sendRemoveProject, onRecordsReach, sendShareRecords, sendPickProjectDirectory, onOnboarding, onCommands, onStartCheck, onCloneCheck, type ProjectLauncher } from './projects.js';
4
+ export { onProjects, sendAddProject, sendStartedAgain, onCloneTarget, sendAddProjectFromAddress, sendRemoveProject, onRecordsReach, sendShareRecords, sendPickProjectDirectory, onOnboarding, onCommands, onStartBranches, onStartCheck, onCloneCheck, type ProjectLauncher } from './projects.js';
5
5
  export { onPreferences, savePreferences, patchPreferences, onProjectPresets, saveProjectPresets, onEditors, type SavePreferencesResult, type PatchPreferencesResult, } from './preferences.js';
6
6
  export { type EditorInfo } from '../dashboard/open-in-app.js';
7
7
  export { onQuota } from './quota.js';
@@ -1,6 +1,7 @@
1
1
  import { type ProjectCommand } from '../project-commands.js';
2
2
  import { type BranchReach } from '@openagt/agent-data';
3
3
  import { type StartReadiness } from '../project-hooks.js';
4
+ import { type StartFromPick } from '../registry.js';
4
5
  import { type PickDirectoryResult } from '../pick-directory.js';
5
6
  import type { ProjectSummary } from '../dashboard/projects.js';
6
7
  import type { OwnProject } from '../dashboard/elsewhere.js';
@@ -94,21 +95,36 @@ export interface ProjectLauncher {
94
95
  /** The address the project's repository was cloned from, the name another machine knows the project by; absent, the project cannot be sent to one. */
95
96
  address?: string;
96
97
  /**
97
- * The two branches an agent can start from here, for the launcher's "start from" chip: `main`,
98
- * the name of origin's default branch, and `local`, the branch the project's folder is on now.
99
- * Absent where the pick could not be obeyed or has nothing to pick between: the start line does
100
- * not pass `BASE` on, the repository has no remote, or the folder is on no branch.
98
+ * What the launcher's branch menu always lists: `main`, the name of origin's default branch, and
99
+ * `local`, the branch the project's folder is on now. Absent where a pick could not be obeyed:
100
+ * the start line does not pass `BASE` on, the repository has no remote, or the folder is on no
101
+ * branch. The rest of the menu is {@link onStartBranches}.
101
102
  */
102
103
  startFrom?: {
103
104
  main: string;
104
105
  local: string;
105
106
  };
107
+ /** Whether the start line passes `PR_BASE` on: without it the launcher offers no branch for the pull request to go into. */
108
+ prBase: boolean;
106
109
  }
107
110
  /**
108
111
  * The project's commands (#1774), read off its skills folders, whether it has a start hook, whether
109
- * it has a git host, and the branches an agent can start from. `null` when the project is unknown here.
112
+ * it has a git host, and the branches an agent can start from. `from` is the person's pick of those
113
+ * branches: a command is waiting for the branch agents will start from. `null` when the project is
114
+ * unknown here.
110
115
  */
111
- export declare function onCommands(projectId: string): Promise<ProjectLauncher | null>;
116
+ export declare function onCommands(projectId: string, from?: StartFromPick): Promise<ProjectLauncher | null>;
117
+ /** The other branches the launcher's menu lists; `branches` is absent where origin could not be read. */
118
+ export interface StartBranches {
119
+ branches?: string[];
120
+ }
121
+ /**
122
+ * The branches an agent can start from besides the two `onCommands` names, read live from origin
123
+ * each time the launcher's menu opens: all of origin's but its main branch, which the menu lists
124
+ * first, and the branch that holds the runs' records, which is no code to start from. `null` when
125
+ * the project is unknown here.
126
+ */
127
+ export declare function onStartBranches(projectId: string): Promise<StartBranches | null>;
112
128
  /**
113
129
  * What would stop a run in this project before it spends a checkout, said in the launcher before
114
130
  * the Start: the project's `check` hook, given the coding agent picked. A missing CLI or a
@@ -194,6 +194,12 @@ export declare function onDashboard(): Promise<DashboardData>;
194
194
  * Files pane reads its own list, through its module.
195
195
  */
196
196
  export declare function onProjectFiles(projectId: string, agentId?: string): Promise<string[]>;
197
+ /**
198
+ * The name of origin's default branch on the computer a run is on: what a run that made its own
199
+ * branch and was told no other started from, read by the rule the start itself goes by. Null for a
200
+ * clone with none: such a run started from whatever was checked out, which nobody wrote down.
201
+ */
202
+ export declare function onAgentMainBranch(projectId: string, agentId: string): Promise<string | null>;
197
203
  /** The project's page on its git host and the git host's name (#489, #1820), or null: no git host package, no remote there, or the relay. */
198
204
  export declare function onGitHostHome(projectId: string): Promise<GitHostHome | null>;
199
205
  /** The repository the project's provider offers to create for it (a project with no remote), or null: no provider, a remote already there, the host out of reach, or the relay. */
@@ -2,8 +2,8 @@ import { type Standing } from '../project-skills/project.js';
2
2
  import { type SendSkillsResult } from '../dashboard/send-skills.js';
3
3
  export type { SendSkillsResult } from '../dashboard/send-skills.js';
4
4
  /**
5
- * A project's skills, as the dashboard shows and changes them (#2023): the list with ticks of the
6
- * skills a project picks beyond the defaults. A project has a skill when the skill's text is in its folder; the
5
+ * A project's skills, as the dashboard shows and changes them (#2023): a card with a tick for each
6
+ * skill a project picks beyond the defaults. A project has a skill when the skill's text is in its folder; the
7
7
  * dashboard writes and deletes those files, and sends them where agents start from.
8
8
  */
9
9
  /** One skill of the list, as it stands in the project. */
@@ -61,7 +61,7 @@ export type ChangeSkillsResult = {
61
61
  error: string;
62
62
  };
63
63
  /**
64
- * Write and delete skills in a project's folder: what the "Add skills" screen saves. Only the names
64
+ * Write and delete skills in a project's folder: what the Skills page saves. Only the names
65
65
  * of the list are taken; anything else is refused whole. The scheduler's skill written switches the
66
66
  * scheduler on for this machine, and it starts at once, by its own line, as it would have at this
67
67
  * dashboard's opening.
@@ -15,7 +15,7 @@
15
15
  export type { AgentError, SessionInfo } from './agent-view.js';
16
16
  export type { ChoiceRequest, OpenAgentEvent } from './events.js';
17
17
  export type { QuotaBoundary } from './quota-boundary.js';
18
- export type { CustomPreset, Preferences } from './registry.js';
18
+ export type { CustomPreset, Preferences, StartFromPick } from './registry.js';
19
19
  export type { PublishPick } from './publish-levels.js';
20
20
  export type { DriverQuotaWindow } from '@openagt/agent-driver';
21
21
  export type { AgentDoing, AgentMeta, AgentStatus } from './store/agent-store.js';
@@ -13,8 +13,6 @@ export interface ProjectCommand {
13
13
  description?: string;
14
14
  /** The branch the skill has yet to reach, by name, when its text is in the folder but not on the branch agents start from: an agent started from that branch does not have the command. */
15
15
  waiting?: string;
16
- /** With `waiting`: whether the branch the folder is on has the skill, so an agent started from that branch does have the command. */
17
- here?: true;
18
16
  }
19
17
  /**
20
18
  * The project's commands, by name: the skills whose front matter says
@@ -59,19 +59,19 @@ export interface RunHooksOptions {
59
59
  * goes there. Never throws.
60
60
  */
61
61
  export declare function runProjectHooks(cwd: string, kind: HookKind, opts?: RunHooksOptions): Promise<void>;
62
- /** What a `start` line is given: the prompt, the coding agent, model, publish level and branch to start from when the person picked them, and the follow-up when there is one. */
62
+ /** What a `start` line is given: the prompt, and the coding agent, model, publish level branch to start from and pull request's branch when the person picked them. */
63
63
  export interface StartHookInput {
64
64
  prompt: string;
65
65
  driver?: string;
66
66
  model?: string;
67
67
  /** How hard the model may think, by the coding agent's own names. */
68
68
  effort?: string;
69
- /** A fresh agent's prompt once the run ends done with a pull request; the merge waits for it. */
70
- then?: string;
71
69
  /** How far the run takes its work when its agent finishes: `commit`, `branch`, `pr` or `merge`. */
72
70
  publish?: string;
73
71
  /** The branch the run's own branch starts from; origin's default branch when absent. */
74
72
  base?: string;
73
+ /** The branch the run's pull request goes into; the repository's default branch when absent. */
74
+ prBase?: string;
75
75
  /**
76
76
  * Whether the run is given a short name by a small model (the person's setting). `false` reaches
77
77
  * the run's own tool through the environment rather than the line, so no project's `hooks.yml`
@@ -85,6 +85,8 @@ export interface StartHookInput {
85
85
  * not; the launcher then offers no pick, rather than one the line would drop.
86
86
  */
87
87
  export declare function startLineTakesBase(line: string): boolean;
88
+ /** Whether a `start` line passes the branch a pull request goes into on, read as {@link startLineTakesBase} reads `BASE`. */
89
+ export declare function startLineTakesPrBase(line: string): boolean;
88
90
  /** What a `resume` line is given: the run, and the person's text or their answer to the question it ended on. */
89
91
  export type ResumeHookInput = {
90
92
  runId: string;
@@ -105,9 +107,8 @@ export type RunHookResult = {
105
107
  };
106
108
  /**
107
109
  * Run the project's `start` line: the prompt in `PROMPT`, the picks in `DRIVER`, `MODEL`, `EFFORT`,
108
- * `PUBLISH` and `BASE` when made, the follow-up in `THEN` when there is one. The line answers one JSON
109
- * document on stdout whose `id` names the run it started, and whose `driver` may name the coding
110
- * agent that runs it.
110
+ * `PUBLISH`, `BASE` and `PR_BASE` when made. The line answers one JSON document on stdout whose `id` names the
111
+ * run it started, and whose `driver` may name the coding agent that runs it.
111
112
  */
112
113
  export declare function runStartHook(cwd: string, input: StartHookInput, opts?: Omit<RunHooksOptions, 'log'>): Promise<RunHookResult>;
113
114
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The skills a project can pick in the dashboard's Skills list (#2023), in its groups, with what
2
+ * The skills a project can pick on the dashboard's Skills page (#2023), in its groups, with what
3
3
  * is ticked the first time. Every group is ticked except the skills that are useless until something of
4
4
  * their own is set up. The skills every run gets by default are not here (the branches skill,
5
5
  * and the ones its command names): they come with every run, with nothing written in the
@@ -1,4 +1,4 @@
1
- /** One change to a project's skills, from the dashboard's Skills list or its Update button. */
1
+ /** One change to a project's skills, from the dashboard's Skills page or its Update button. */
2
2
  export interface Change {
3
3
  /** Skills to write: a new one, or one written again over what is there. */
4
4
  write?: readonly string[];
@@ -100,6 +100,18 @@ export interface CustomPreset {
100
100
  label: string;
101
101
  prompt: string;
102
102
  }
103
+ /**
104
+ * Where agents started from the launcher start, when it is not the project's main branch: the
105
+ * branch the project's folder is on, whatever that is by then, or one of origin's branches, by name.
106
+ */
107
+ export type StartFromPick = {
108
+ kind: 'local';
109
+ } | {
110
+ kind: 'published';
111
+ branch: string;
112
+ };
113
+ /** A value read as a {@link StartFromPick}: nothing for anything else, a word that is no branch name included. */
114
+ export declare function startFromPick(value: unknown): StartFromPick | undefined;
103
115
  export interface Preferences {
104
116
  /** Fire a browser notification when a new item lands on the "needs you" queue (#627). Absent = on. */
105
117
  notifyBrowser?: boolean;
@@ -131,25 +143,17 @@ export interface Preferences {
131
143
  /** How far a run started from the dashboard publishes its work: `nothing`, or the level handed to the project's start hook, `commit`, `branch`, `pr` or `merge`. The launcher's menu shows it and writes it. Absent = none saved: the daemon decides where a Start goes. */
132
144
  publish?: PublishPick;
133
145
  /**
134
- * Where an agent started from the launcher starts, per project: the projects, by id, whose
135
- * launcher is set to "My local branch" (the branch the project's folder is on, as this machine
136
- * has it). The launcher's "start from" chip shows it and writes it. **A project not listed
137
- * starts from its main branch**, so the default stores nothing.
146
+ * Where an agent started from the launcher starts, per project, by its id: "My local branch",
147
+ * or a branch of origin's. The launcher's branch menu shows it and writes it. **A project not
148
+ * listed starts from its main branch**, so the default stores nothing.
138
149
  */
139
- startFrom?: Record<string, 'local'>;
150
+ startFrom?: Record<string, StartFromPick>;
140
151
  /**
141
152
  * Where a run started from the launcher goes: a saved machine, by its id. The "Run on" pick
142
153
  * writes it, and the page picks it again at its next opening. **Absent = this machine.** A
143
154
  * machine no longer saved, or offline when the page opens, is not picked: the run starts here.
144
155
  */
145
156
  runOn?: string;
146
- /**
147
- * Post-merge cleanup: a run started from the launcher, in a project that has the
148
- * `post-merge-cleanup` command, is followed by a fresh agent running it on the run's branch
149
- * before the run's pull request merges. The default of the launcher's box, which writes it
150
- * too. **Absent = off.**
151
- */
152
- postMergeCleanup?: boolean;
153
157
  /**
154
158
  * Name each run: a small model is asked for the two to five words a list of runs shows in place
155
159
  * of the first line of the prompt (`agent-runner`'s `title.ts`). It is one short turn of the
@@ -65,6 +65,10 @@ export interface AgentMeta {
65
65
  * started it.
66
66
  */
67
67
  baseCommit?: string;
68
+ /** The account the run worked as at the git host, written on the card by the tool that runs it; absent on a run recorded before it was kept, or whose git host cannot say. */
69
+ gitAccount?: string;
70
+ /** The branch the run's pull request goes into, written on the card by the tool that runs it; absent, the repository's default branch. */
71
+ prBase?: string;
68
72
  /**
69
73
  * How far the run takes its work when its agent finishes: `commit`, `branch`, `pr` or `merge`,
70
74
  * the level it was started at or last given. Written on the card by the tool that runs it;
@@ -95,6 +95,7 @@ export interface GitHostSource {
95
95
  open(branch: string, opts: {
96
96
  title: string;
97
97
  body?: string;
98
+ base?: string;
98
99
  draft?: boolean;
99
100
  }): Promise<OpenOutcome>;
100
101
  /** Land a pull request. */
@@ -13,8 +13,6 @@ export interface ProjectCommand {
13
13
  description?: string;
14
14
  /** The branch the skill has yet to reach, by name, when its text is in the folder but not on the branch agents start from: an agent started from that branch does not have the command. */
15
15
  waiting?: string;
16
- /** With `waiting`: whether the branch the folder is on has the skill, so an agent started from that branch does have the command. */
17
- here?: true;
18
16
  }
19
17
  /**
20
18
  * The project's commands, by name: the skills whose front matter says
@@ -1 +1 @@
1
- {"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH,0CAA0C;AAC1C,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2LAA2L;IAC3L,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qIAAqI;IACrI,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAqBhF"}
1
+ {"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH,0CAA0C;AAC1C,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2LAA2L;IAC3L,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAqBhF"}
@@ -1 +1 @@
1
- {"version":3,"file":"project-commands.js","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAsBjD;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAC,GAAW;IACnD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA0B,CAAA;IAClD,8FAA8F;IAC9F,uDAAuD;IACvD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAA;IAC9B,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QAC9B,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;QAC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,MAAM,IAAI,GAAY,SAAS,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAA;QAC1C,OAAO,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAE,IAAgC,CAAC,CAAC,CAAC,EAAE,CAAA;IAC1G,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAA;IACX,CAAC;AACH,CAAC"}
@@ -59,19 +59,19 @@ export interface RunHooksOptions {
59
59
  * goes there. Never throws.
60
60
  */
61
61
  export declare function runProjectHooks(cwd: string, kind: HookKind, opts?: RunHooksOptions): Promise<void>;
62
- /** What a `start` line is given: the prompt, the coding agent, model, publish level and branch to start from when the person picked them, and the follow-up when there is one. */
62
+ /** What a `start` line is given: the prompt, and the coding agent, model, publish level branch to start from and pull request's branch when the person picked them. */
63
63
  export interface StartHookInput {
64
64
  prompt: string;
65
65
  driver?: string;
66
66
  model?: string;
67
67
  /** How hard the model may think, by the coding agent's own names. */
68
68
  effort?: string;
69
- /** A fresh agent's prompt once the run ends done with a pull request; the merge waits for it. */
70
- then?: string;
71
69
  /** How far the run takes its work when its agent finishes: `commit`, `branch`, `pr` or `merge`. */
72
70
  publish?: string;
73
71
  /** The branch the run's own branch starts from; origin's default branch when absent. */
74
72
  base?: string;
73
+ /** The branch the run's pull request goes into; the repository's default branch when absent. */
74
+ prBase?: string;
75
75
  /**
76
76
  * Whether the run is given a short name by a small model (the person's setting). `false` reaches
77
77
  * the run's own tool through the environment rather than the line, so no project's `hooks.yml`
@@ -85,6 +85,8 @@ export interface StartHookInput {
85
85
  * not; the launcher then offers no pick, rather than one the line would drop.
86
86
  */
87
87
  export declare function startLineTakesBase(line: string): boolean;
88
+ /** Whether a `start` line passes the branch a pull request goes into on, read as {@link startLineTakesBase} reads `BASE`. */
89
+ export declare function startLineTakesPrBase(line: string): boolean;
88
90
  /** What a `resume` line is given: the run, and the person's text or their answer to the question it ended on. */
89
91
  export type ResumeHookInput = {
90
92
  runId: string;
@@ -105,9 +107,8 @@ export type RunHookResult = {
105
107
  };
106
108
  /**
107
109
  * Run the project's `start` line: the prompt in `PROMPT`, the picks in `DRIVER`, `MODEL`, `EFFORT`,
108
- * `PUBLISH` and `BASE` when made, the follow-up in `THEN` when there is one. The line answers one JSON
109
- * document on stdout whose `id` names the run it started, and whose `driver` may name the coding
110
- * agent that runs it.
110
+ * `PUBLISH`, `BASE` and `PR_BASE` when made. The line answers one JSON document on stdout whose `id` names the
111
+ * run it started, and whose `driver` may name the coding agent that runs it.
111
112
  */
112
113
  export declare function runStartHook(cwd: string, input: StartHookInput, opts?: Omit<RunHooksOptions, 'log'>): Promise<RunHookResult>;
113
114
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"project-hooks.d.ts","sourceRoot":"","sources":["../src/project-hooks.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AAEH,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,yBAA+B,CAAA;AAE9D,6EAA6E;AAC7E,eAAO,MAAM,eAAe,QAAS,CAAA;AAErC,yIAAyI;AACzI,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAEvC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAA;AAK5C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAKD;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC,CAa7G;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAA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AE,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAE7F"}
@@ -109,11 +109,14 @@ export async function runProjectHooks(cwd, kind, opts = {}) {
109
109
  export function startLineTakesBase(line) {
110
110
  return /\$\{?BASE\b/.test(line);
111
111
  }
112
+ /** Whether a `start` line passes the branch a pull request goes into on, read as {@link startLineTakesBase} reads `BASE`. */
113
+ export function startLineTakesPrBase(line) {
114
+ return /\$\{?PR_BASE\b/.test(line);
115
+ }
112
116
  /**
113
117
  * Run the project's `start` line: the prompt in `PROMPT`, the picks in `DRIVER`, `MODEL`, `EFFORT`,
114
- * `PUBLISH` and `BASE` when made, the follow-up in `THEN` when there is one. The line answers one JSON
115
- * document on stdout whose `id` names the run it started, and whose `driver` may name the coding
116
- * agent that runs it.
118
+ * `PUBLISH`, `BASE` and `PR_BASE` when made. The line answers one JSON document on stdout whose `id` names the
119
+ * run it started, and whose `driver` may name the coding agent that runs it.
117
120
  */
118
121
  export function runStartHook(cwd, input, opts = {}) {
119
122
  return runRunHook(cwd, 'start', {
@@ -125,9 +128,9 @@ export function runStartHook(cwd, input, opts = {}) {
125
128
  ...(input.driver !== undefined ? { DRIVER: input.driver } : {}),
126
129
  ...(input.model !== undefined ? { MODEL: input.model } : {}),
127
130
  ...(input.effort !== undefined ? { EFFORT: input.effort } : {}),
128
- ...(input.then !== undefined ? { THEN: input.then } : {}),
129
131
  ...(input.publish !== undefined ? { PUBLISH: input.publish } : {}),
130
132
  ...(input.base !== undefined ? { BASE: input.base } : {}),
133
+ ...(input.prBase !== undefined ? { PR_BASE: input.prBase } : {}),
131
134
  }, opts);
132
135
  }
133
136
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"project-hooks.js","sourceRoot":"","sources":["../src/project-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO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;QACF,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;QACzE,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC,CAAA;IACnG,CAAC,CAAC,CAAA;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The skills a project can pick in the dashboard's Skills list (#2023), in its groups, with what
2
+ * The skills a project can pick on the dashboard's Skills page (#2023), in its groups, with what
3
3
  * is ticked the first time. Every group is ticked except the skills that are useless until something of
4
4
  * their own is set up. The skills every run gets by default are not here (the branches skill,
5
5
  * and the ones its command names): they come with every run, with nothing written in the
@@ -1,4 +1,4 @@
1
- /** One change to a project's skills, from the dashboard's Skills list or its Update button. */
1
+ /** One change to a project's skills, from the dashboard's Skills page or its Update button. */
2
2
  export interface Change {
3
3
  /** Skills to write: a new one, or one written again over what is there. */
4
4
  write?: readonly string[];