@openagt/dashboard 0.16.0 → 0.17.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 (119) hide show
  1. package/README.md +1 -1
  2. package/dist/built-in.d.ts.map +1 -1
  3. package/dist/built-in.js +1 -1
  4. package/dist/built-in.js.map +1 -1
  5. package/dist/daemon-runtime.d.ts.map +1 -1
  6. package/dist/daemon-runtime.js +6 -1
  7. package/dist/daemon-runtime.js.map +1 -1
  8. package/dist/daemon.d.ts.map +1 -1
  9. package/dist/daemon.js +8 -3
  10. package/dist/daemon.js.map +1 -1
  11. package/dist/dashboard/agent-handoff.d.ts +48 -1
  12. package/dist/dashboard/agent-handoff.d.ts.map +1 -1
  13. package/dist/dashboard/agent-handoff.js +82 -6
  14. package/dist/dashboard/agent-handoff.js.map +1 -1
  15. package/dist/dashboard/cache.d.ts +5 -0
  16. package/dist/dashboard/cache.d.ts.map +1 -1
  17. package/dist/dashboard/cache.js +2 -2
  18. package/dist/dashboard/cache.js.map +1 -1
  19. package/dist/dashboard/machine-call.d.ts +13 -1
  20. package/dist/dashboard/machine-call.d.ts.map +1 -1
  21. package/dist/dashboard/machine-call.js +22 -2
  22. package/dist/dashboard/machine-call.js.map +1 -1
  23. package/dist/dashboard/relay-endpoints.d.ts +1 -1
  24. package/dist/dashboard/relay-endpoints.d.ts.map +1 -1
  25. package/dist/dashboard/relay-endpoints.js +1 -1
  26. package/dist/dashboard/relay-endpoints.js.map +1 -1
  27. package/dist/dashboard/remote-run.d.ts +6 -0
  28. package/dist/dashboard/remote-run.d.ts.map +1 -1
  29. package/dist/dashboard/remote-run.js +9 -0
  30. package/dist/dashboard/remote-run.js.map +1 -1
  31. package/dist/dashboard/types.d.ts +2 -0
  32. package/dist/dashboard/types.d.ts.map +1 -1
  33. package/dist/dashboard-bundle/assets/main-BEvNE_j-.js +141 -0
  34. package/dist/dashboard-bundle/assets/main-DYV5aTCD.css +2 -0
  35. package/dist/dashboard-bundle/assets/module-C6swDbeD.js +24 -0
  36. package/dist/dashboard-bundle/host/module.js +1 -1
  37. package/dist/dashboard-bundle/index.html +3 -3
  38. package/dist/dashboard-rpc/machines.d.ts +4 -1
  39. package/dist/dashboard-rpc/machines.d.ts.map +1 -1
  40. package/dist/dashboard-rpc/machines.js +5 -2
  41. package/dist/dashboard-rpc/machines.js.map +1 -1
  42. package/dist/dashboard-rpc/modules.d.ts.map +1 -1
  43. package/dist/dashboard-rpc/modules.js +5 -1
  44. package/dist/dashboard-rpc/modules.js.map +1 -1
  45. package/dist/dashboard-rpc/reads.d.ts +1 -1
  46. package/dist/dashboard-rpc/reads.js +1 -1
  47. package/dist/events.d.ts +15 -15
  48. package/dist/events.d.ts.map +1 -1
  49. package/dist/module-types/dashboard/components/AddMachineDialog.d.ts +4 -0
  50. package/dist/module-types/dashboard/components/DiffStat.d.ts +8 -2
  51. package/dist/module-types/dashboard/components/FileIcon.d.ts +5 -0
  52. package/dist/module-types/dashboard/components/Markdown.d.ts +5 -0
  53. package/dist/module-types/dashboard/components/PaneHeader.d.ts +14 -0
  54. package/dist/module-types/dashboard/components/SettingsRows.d.ts +3 -2
  55. package/dist/module-types/dashboard/components/ui/context-menu.d.ts +3 -0
  56. package/dist/module-types/dashboard/components/ui/copy-button.d.ts +5 -0
  57. package/dist/module-types/dashboard/components/ui/dialog.d.ts +7 -0
  58. package/dist/module-types/dashboard/components/ui/scroll-area.d.ts +1 -4
  59. package/dist/module-types/dashboard/lib/machines.d.ts +15 -0
  60. package/dist/module-types/dashboard/lib/models.d.ts +12 -0
  61. package/dist/module-types/dashboard/lib/remote-target.d.ts +6 -0
  62. package/dist/module-types/dashboard/lib/use-modules.d.ts +3 -3
  63. package/dist/module-types/dashboard/module/index.d.ts +41 -20
  64. package/dist/module-types/dashboard/rpc/machines.d.ts +9 -0
  65. package/dist/module-types/src/dashboard/agent-handoff.d.ts +48 -1
  66. package/dist/module-types/src/dashboard/cache.d.ts +5 -0
  67. package/dist/module-types/src/dashboard/machine-call.d.ts +13 -1
  68. package/dist/module-types/src/dashboard/remote-run.d.ts +6 -0
  69. package/dist/module-types/src/dashboard/types.d.ts +2 -0
  70. package/dist/module-types/src/dashboard-rpc/machines.d.ts +4 -1
  71. package/dist/module-types/src/dashboard-rpc/reads.d.ts +1 -1
  72. package/dist/module-types/src/events.d.ts +15 -15
  73. package/dist/module-types/src/package-services.d.ts +29 -0
  74. package/dist/module-types/src/project-hooks.d.ts +9 -1
  75. package/dist/module-types/src/project-modules.d.ts +3 -1
  76. package/dist/module-types/src/publish-levels.d.ts +4 -3
  77. package/dist/module-types/src/registry.d.ts +31 -0
  78. package/dist/module-types/src/screens.d.ts +7 -5
  79. package/dist/module-types/src/store/agent-store.d.ts +6 -0
  80. package/dist/module-types/src/store/runs.d.ts +6 -0
  81. package/dist/package-services.d.ts +4 -1
  82. package/dist/package-services.d.ts.map +1 -1
  83. package/dist/package-services.js +10 -0
  84. package/dist/package-services.js.map +1 -1
  85. package/dist/project-hooks.d.ts +9 -1
  86. package/dist/project-hooks.d.ts.map +1 -1
  87. package/dist/project-hooks.js +6 -1
  88. package/dist/project-hooks.js.map +1 -1
  89. package/dist/project-modules.d.ts +3 -1
  90. package/dist/project-modules.d.ts.map +1 -1
  91. package/dist/project-modules.js +4 -2
  92. package/dist/project-modules.js.map +1 -1
  93. package/dist/publish-levels.d.ts +4 -3
  94. package/dist/publish-levels.d.ts.map +1 -1
  95. package/dist/publish-levels.js +5 -4
  96. package/dist/publish-levels.js.map +1 -1
  97. package/dist/registry.d.ts +31 -0
  98. package/dist/registry.d.ts.map +1 -1
  99. package/dist/registry.js +26 -1
  100. package/dist/registry.js.map +1 -1
  101. package/dist/screens.d.ts +7 -5
  102. package/dist/screens.d.ts.map +1 -1
  103. package/dist/screens.js +19 -8
  104. package/dist/screens.js.map +1 -1
  105. package/dist/store/agent-store.d.ts +6 -0
  106. package/dist/store/agent-store.d.ts.map +1 -1
  107. package/dist/store/agent-store.js.map +1 -1
  108. package/dist/store/run-record.js +1 -1
  109. package/dist/store/run-record.js.map +1 -1
  110. package/dist/store/runs.d.ts +6 -0
  111. package/dist/store/runs.d.ts.map +1 -1
  112. package/dist/store/runs.js +3 -1
  113. package/dist/store/runs.js.map +1 -1
  114. package/dist/terminal.js +4 -2
  115. package/dist/terminal.js.map +1 -1
  116. package/package.json +16 -14
  117. package/dist/dashboard-bundle/assets/main-DHxsfluB.js +0 -140
  118. package/dist/dashboard-bundle/assets/main-DbqABoVD.css +0 -2
  119. package/dist/dashboard-bundle/assets/module-CFB4pxwP.js +0 -24
@@ -1 +1 @@
1
- import{$ as e,A as t,B as n,Bt as r,C as i,Ct as a,D as o,Dt as s,E as c,F as l,Ft as u,Gt as d,H as f,I as p,Jt as m,K as h,L as g,M as _,Mt as v,N as y,Nt as b,O as x,P as S,Pt as C,R as w,Rt as T,S as E,St as D,T as O,Tt as k,U as A,Ut as j,V as M,Vt as N,W as P,Y as F,_t as I,a as L,b as R,bt as z,c as B,d as V,dn as H,et as U,f as W,gt as G,ht as K,i as q,j as J,jt as Y,k as X,l as Z,n as Q,nn as $,nt as ee,o as te,r as ne,rn as re,rt as ie,s as ae,sn as oe,t as se,tn as ce,u as le,v as ue,vt as de,w as fe,x as pe,xt as me,y as he,z as ge,zt as _e}from"../assets/module-CFB4pxwP.js";export{m as Badge,ce as Button,w as Card,ge as CardContent,n as CardHeader,M as CardTitle,f as CardTitleLink,A as Checkbox,P as ConfirmDialog,he as DiffStat,me as DropdownMenu,D as DropdownMenuCheckboxItem,a as DropdownMenuContent,k as DropdownMenuItem,s as DropdownMenuSeparator,Y as DropdownMenuTrigger,T as Input,t as Label,W as LinkActions,H as MAX_SPEND_OFFSET,h as Markdown,se as ModuleHostContext,E as Popover,i as PopoverContent,fe as PopoverTrigger,R as PreviewCard,B as QrCode,b as RadioGroup,C as RadioGroupItem,u as RadioGroupOption,pe as RangeSlider,v as ScrollArea,O as Select,c as SelectContent,o as SelectItem,x as SelectTrigger,X as SelectValue,G as Separator,Z as SettingsRow,le as SettingsSection,V as SettingsSelectRow,K as Skeleton,ue as StartAgentButton,g as Switch,J as Table,_ as TableBody,y as TableCell,S as TableHead,l as TableHeader,p as TableRow,e as Textarea,I as Tooltip,de as TooltipContent,z as TooltipTrigger,$ as buttonVariants,re as cn,Q as defineModule,U as forgetRemembered,r as formatAge,N as formatDateTime,j as formatDuration,d as formatRelative,ne as moduleHost,oe as pageHref,L as pathsIn,_e as useAction,F as useCodingAgents,te as useFileNames,ee as useLoaded,q as useModuleHost,ie as usePolled,ae as useSchedule};
1
+ import{$ as e,$t as t,A as n,An as r,At as i,B as a,Bt as o,C as s,D as c,Dt as l,E as u,En as d,Et as f,F as p,G as m,H as h,Ht as g,I as _,It as v,J as y,Jt as b,K as x,Kt as S,L as C,Lt as w,M as T,Mn as E,Mt as D,N as O,O as k,P as A,Pt as j,R as M,Rt as N,S as P,Sn as F,T as I,Tt as L,U as R,Ut as z,V as B,Vt as V,W as H,Wt as U,X as W,Y as G,Yt as K,Zt as q,a as J,at as Y,b as X,bn as Z,c as Q,d as $,dt as ee,f as te,ft as ne,ht as re,i as ie,j as ae,jt as oe,k as se,kt as ce,l as le,lt as ue,mt as de,n as fe,o as pe,q as me,qt as he,r as ge,s as _e,t as ve,u as ye,v as be,w as xe,wt as Se,xn as Ce,y as we,z as Te,zt as Ee}from"../assets/module-C6swDbeD.js";export{ue as AddMachineDialog,y as Badge,Z as Button,R as Card,H as CardContent,m as CardHeader,x as CardTitle,me as CardTitleLink,G as Checkbox,W as ConfirmDialog,s as ContextMenu,xe as ContextMenuTrigger,I as DiffStat,i as DropdownMenu,oe as DropdownMenuCheckboxItem,D as DropdownMenuContent,j as DropdownMenuItem,v as DropdownMenuSeparator,w as DropdownMenuSub,N as DropdownMenuSubContent,Ee as DropdownMenuSubTrigger,o as DropdownMenuTrigger,we as FileIcon,S as Input,p as Label,te as LinkActions,E as MAX_SPEND_OFFSET,e as Markdown,ve as ModuleHostContext,X as PaneActions,P as PaneTitle,c as Popover,k as PopoverContent,se as PopoverTrigger,Q as QrCode,g as RadioGroup,z as RadioGroupItem,U as RadioGroupOption,u as RangeSlider,V as ScrollArea,n as Select,ae as SelectContent,T as SelectItem,O as SelectTrigger,A as SelectValue,L as Separator,le as SettingsRow,ye as SettingsSection,$ as SettingsSelectRow,Se as Skeleton,be as StartAgentButton,h as Switch,_ as Table,C as TableBody,M as TableCell,Te as TableHead,a as TableHeader,B as TableRow,ee as Textarea,f as Tooltip,l as TooltipContent,ce as TooltipTrigger,Ce as buttonVariants,F as cn,fe as defineModule,ne as forgetRemembered,b as formatAge,K as formatDateTime,q as formatDuration,t as formatRelative,ge as moduleHost,d as pageHref,J as pathsIn,r as reachedByLine,he as useAction,Y as useCodingAgents,pe as useFileNames,de as useLoaded,ie as useModuleHost,re as usePolled,_e as useSchedule};
@@ -27,14 +27,14 @@
27
27
  "@openagt/dashboard/module": "/host/module.js"
28
28
  }
29
29
  }</script>
30
- <script type="module" crossorigin src="/assets/main-DHxsfluB.js"></script>
30
+ <script type="module" crossorigin src="/assets/main-BEvNE_j-.js"></script>
31
31
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
32
32
  <link rel="modulepreload" crossorigin href="/assets/react-CZI7_Jkm.js">
33
33
  <link rel="modulepreload" crossorigin href="/assets/react-dom-cJyBB_A4.js">
34
34
  <link rel="modulepreload" crossorigin href="/assets/client-CbBRB9m4.js">
35
35
  <link rel="modulepreload" crossorigin href="/assets/jsx-runtime-By8HlURe.js">
36
- <link rel="modulepreload" crossorigin href="/assets/module-CFB4pxwP.js">
37
- <link rel="stylesheet" crossorigin href="/assets/main-DbqABoVD.css">
36
+ <link rel="modulepreload" crossorigin href="/assets/module-C6swDbeD.js">
37
+ <link rel="stylesheet" crossorigin href="/assets/main-DYV5aTCD.css">
38
38
  </head>
39
39
  <body>
40
40
  <div id="root"></div>
@@ -39,14 +39,17 @@ export declare function onMachinesReachable(): Promise<Record<string, boolean>>;
39
39
  export interface MachineVersions {
40
40
  /** This computer's own. */
41
41
  version: string;
42
- /** Each saved machine, with its version when it answers and says. */
42
+ /** Each saved machine, with its version when it answers and says, and the id it lists this computer under among its devices. */
43
43
  machines: (Machine & {
44
44
  version?: string;
45
+ device?: string;
45
46
  })[];
46
47
  }
47
48
  /**
48
49
  * The saved machines with the OpenAgent each runs, beside this computer's own: how a page tells
49
50
  * that a machine fell behind this computer. One short call to each, with this computer's key.
51
+ * The key itself is never told: only the id the machine lists this computer under, which a page
52
+ * that lists the machine's devices names this computer by.
50
53
  */
51
54
  export declare function onMachineVersions(): Promise<MachineVersions>;
52
55
  /** Whether a saved machine has a project of this computer's: `there` is false while the machine clones it. */
@@ -1 +1 @@
1
- {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../src/dashboard-rpc/machines.ts"],"names":[],"mappings":"AAgBA,sDAAsD;AACtD,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,gBAAgB,GAAG;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE5F,wCAAwC;AACxC,wBAAsB,UAAU,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAErD;AAOD;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAsB9F;AAED,MAAM,MAAM,mBAAmB,GAAG;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE7E;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC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;AAED,6GAA6G;AAC7G,wBAAsB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAExG"}
@@ -1,7 +1,7 @@
1
1
  import { hostname } from 'node:os';
2
2
  import { basename } from 'node:path';
3
3
  import { readSharing } from '@openagt/agent-data';
4
- import { enterRemote, leaveRemote, pingRemote, remoteProject, remoteVersion } from '../dashboard/remote-run.js';
4
+ import { deviceIdOf, enterRemote, leaveRemote, pingRemote, remoteProject, remoteVersion } from '../dashboard/remote-run.js';
5
5
  import { errorMessage } from '../error-message.js';
6
6
  import { repositoryAddress, repositorySpelling } from '../repository-address.js';
7
7
  import { contextRemote, resolveProjectPath } from './context.js';
@@ -74,11 +74,14 @@ export async function onMachinesReachable() {
74
74
  /**
75
75
  * The saved machines with the OpenAgent each runs, beside this computer's own: how a page tells
76
76
  * that a machine fell behind this computer. One short call to each, with this computer's key.
77
+ * The key itself is never told: only the id the machine lists this computer under, which a page
78
+ * that lists the machine's devices names this computer by.
77
79
  */
78
80
  export async function onMachineVersions() {
79
81
  const machines = await Promise.all((await listMachines()).map(async (machine) => {
80
82
  const version = await remoteVersion(machine);
81
- return { id: machine.id, label: machine.label, url: machine.url, ...(version !== undefined ? { version } : {}) };
83
+ const device = deviceIdOf(machine.key);
84
+ return { id: machine.id, label: machine.label, url: machine.url, ...(version !== undefined ? { version } : {}), ...(device !== undefined ? { device } : {}) };
82
85
  }));
83
86
  return { version: openagentVersion(), machines };
84
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"machines.js","sourceRoot":"","sources":["../../src/dashboard-rpc/machines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,UA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AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAOpH;AAED;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAUxH"}
@@ -5,6 +5,8 @@ import { computerModuleUrl, moduleUrl } from '../dashboard/module-serve.js';
5
5
  import { providedDataChanged } from '../store/provided.js';
6
6
  import { callModuleRead, serverHost } from '../dashboard/module-host.js';
7
7
  import { relayOr } from './relay-agent.js';
8
+ import { COMPUTER_ENV } from '../package-services.js';
9
+ import { computerSaid } from '../dashboard/machine-call.js';
8
10
  import { DATA_BRANCH, pullFileBranch } from '@openagt/agent-data';
9
11
  /**
10
12
  * Every module the dashboard loads (#1774), one per package. First the computer's, which are
@@ -72,7 +74,9 @@ export async function runComputerCommand(pkg, args, command) {
72
74
  const module = await findComputerModule(pkg);
73
75
  if (!module)
74
76
  return { ok: false, error: `${pkg} is not this computer's` };
75
- return runCommand(homedir(), module, args, command);
77
+ // Told which computer this is, in the word OpenAgent's own calls are made from: what such a command sets up on another machine is listed there as this computer's.
78
+ const computer = computerSaid();
79
+ return runCommand(homedir(), module, args, command, computer !== undefined ? { [COMPUTER_ENV]: computer } : undefined);
76
80
  }
77
81
  /**
78
82
  * Call read `name` of a module's server part in one project: how a module's browser part reads
@@ -1 +1 @@
1
- {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../src/dashboard-rpc/modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE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,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,8CAA8C,EAAE,CAAC,CAAA;AAC1E,CAAC"}
@@ -143,7 +143,7 @@ export declare function onDashboard(): Promise<DashboardData>;
143
143
  * file git sees (tracked + untracked, honoring .gitignore), repo-relative and sorted, via
144
144
  * `git ls-files`. Localhost-only by nature — the relay has no checkout, so it resolves `[]`.
145
145
  * Pass a live `agentId` to list that agent's worktree instead of the project root (#738). The
146
- * Files tab reads its own list, through its module.
146
+ * Files pane reads its own list, through its module.
147
147
  */
148
148
  export declare function onProjectFiles(projectId: string, agentId?: string): Promise<string[]>;
149
149
  /** 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. */
@@ -309,7 +309,7 @@ export async function onDashboard() {
309
309
  * file git sees (tracked + untracked, honoring .gitignore), repo-relative and sorted, via
310
310
  * `git ls-files`. Localhost-only by nature — the relay has no checkout, so it resolves `[]`.
311
311
  * Pass a live `agentId` to list that agent's worktree instead of the project root (#738). The
312
- * Files tab reads its own list, through its module.
312
+ * Files pane reads its own list, through its module.
313
313
  */
314
314
  export async function onProjectFiles(projectId, agentId) {
315
315
  return relayOr(agentId, 'onProjectFiles', [projectId, agentId], () => withAgentPath(projectId, agentId, crawlRepoFiles, []), []);
package/dist/events.d.ts CHANGED
@@ -96,6 +96,15 @@ export type OpenAgentEvent = {
96
96
  kind: 'intent';
97
97
  text: string;
98
98
  }
99
+ /**
100
+ * The short name the session was given, emitted once, soon after it opens: a small model's two
101
+ * to five words for what the person asked, which is what every list of sessions shows instead of
102
+ * the prompt's first line.
103
+ */
104
+ | {
105
+ kind: 'title';
106
+ text: string;
107
+ }
99
108
  /** The wrapped agent's own progress, forwarded verbatim (never gated on). */
100
109
  | {
101
110
  kind: 'driver';
@@ -103,9 +112,11 @@ export type OpenAgentEvent = {
103
112
  }
104
113
  /**
105
114
  * A live screen something the agent ran is showing: where it answers, on the loopback of the
106
- * computer the run is on, live while it is the newest open screen at that address and the run
107
- * has not ended. `label` names what it showed then. The same address with `ended` says the
108
- * screen has gone. A diary line a command appends itself (agent-driver's `DIARY_ENV`);
115
+ * computer the run is on, live while it is the newest open screen at that address. `label`
116
+ * names what it showed then. The same address with `ended` says the screen has gone, and with
117
+ * `until` that it outlives the run, up to that time: a screen is a browser the person looks at
118
+ * and clicks in, which the run ending does not take from them. Both of those are rows a reader
119
+ * shows nothing for. A diary line a command appends itself (agent-driver's `DIARY_ENV`);
109
120
  * OpenAgent passes a watcher's calls on to the address (dashboard/screen.ts) and knows nothing
110
121
  * of what the screen is.
111
122
  */
@@ -114,6 +125,7 @@ export type OpenAgentEvent = {
114
125
  url: string;
115
126
  label: string;
116
127
  ended?: true;
128
+ until?: string;
117
129
  }
118
130
  /** An OpenAgent-level log line. */
119
131
  | {
@@ -135,18 +147,6 @@ export type OpenAgentEvent = {
135
147
  headline: string;
136
148
  detail?: string;
137
149
  }
138
- /**
139
- * An ad-hoc markdown view the agent pushed to show the user (#441), e.g. a plan,
140
- * a summary, or a diff writeup. Non-blocking (unlike a `choice`): the dashboard
141
- * renders it as a view in the right rail. `id` is stable per title, so re-showing
142
- * the same view updates it in place rather than stacking a duplicate.
143
- */
144
- | {
145
- kind: 'view';
146
- id: string;
147
- title: string;
148
- markdown: string;
149
- }
150
150
  /**
151
151
  * The pull request this session's work is on (E6), the moment one is opened for it.
152
152
  *
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,4EAA4E;AAC5E,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAA;IACV,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;G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;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE;AACvD;;;;;;;GAOG;GACD;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AACpC;;;;;;GAMG;GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE;AACvC;;;;;;;;GAQG;GACD;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE;AACrB;;;;;;GAMG;GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACpC;;;;GAIG;GACD,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,aAAa,CAAC;AACtC,uHAAuH;GACrH;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;IAAC,EAAE,EAAE,QAAQ,CAAA;CAAE;AAC3F;;;;GAIG;GACD;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CACtF,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare function AddMachineDialog({ onClose, onAdded }: {
2
+ onClose: () => void;
3
+ onAdded: () => void;
4
+ }): import("react").JSX.Element;
@@ -1,6 +1,12 @@
1
- /** Added/removed counts as the `+12 −3` pair. */
2
- export declare function DiffStat({ added, removed, className }: {
1
+ /**
2
+ * Added/removed counts as the `+12 −3` pair. A count of nothing is left out, so a change that only
3
+ * adds reads `+12` — except where the pair is a chip of its own (`zeros`), as the bar above the
4
+ * message box has one: there both numbers are always there, as Claude Code on the web writes them,
5
+ * and a chip that changed width with every commit would make the bar jump.
6
+ */
7
+ export declare function DiffStat({ added, removed, className, zeros }: {
3
8
  added: number;
4
9
  removed: number;
5
10
  className?: string;
11
+ zeros?: boolean;
6
12
  }): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ /** A file's icon, coloured by its kind. */
2
+ export declare function FileIcon({ path, className }: {
3
+ path: string;
4
+ className?: string;
5
+ }): import("react").JSX.Element;
@@ -2,3 +2,8 @@ export declare function Markdown({ text, compact }: {
2
2
  text: string;
3
3
  compact?: boolean;
4
4
  }): import("react").JSX.Element;
5
+ /**
6
+ * Where `#12` in an answer leads: the project's page on GitHub, under which `issues/12` opens the
7
+ * issue or the pull request of that number. Given by the agent's page; without it `#12` is text.
8
+ */
9
+ export declare const IssueLinks: import("react").Context<string | undefined>;
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface PaneHeaderSlots {
3
+ title: HTMLElement | null;
4
+ actions: HTMLElement | null;
5
+ }
6
+ export declare const PaneHeaderContext: import("react").Context<PaneHeaderSlots>;
7
+ /** In place of the pane's name in its card's header. */
8
+ export declare function PaneTitle({ children }: {
9
+ children: ReactNode;
10
+ }): import("react").ReactPortal | null;
11
+ /** In the pane's card's header, before the buttons that let it fill the page and close it. */
12
+ export declare function PaneActions({ children }: {
13
+ children: ReactNode;
14
+ }): import("react").ReactPortal | null;
@@ -1,8 +1,9 @@
1
1
  import type { ReactNode } from 'react';
2
- /** One section of the Settings page: a titled card of rows. */
3
- export declare function SettingsSection({ title, description, children }: {
2
+ /** One section of the Settings page: a titled card of rows, with what it offers as a whole (`action`, a button) beside its title. */
3
+ export declare function SettingsSection({ title, description, action, children }: {
4
4
  title: string;
5
5
  description?: string;
6
+ action?: ReactNode;
6
7
  children: ReactNode;
7
8
  }): import("react").JSX.Element;
8
9
  /** One setting: what it is and what it does on the left, its control on the right. */
@@ -0,0 +1,3 @@
1
+ import { ContextMenu as BaseContextMenu } from '@base-ui-components/react/context-menu';
2
+ export declare const ContextMenu: typeof BaseContextMenu.Root;
3
+ export declare const ContextMenuTrigger: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/context-menu").ContextMenuTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ export declare function CopyButton({ text, label, className }: {
2
+ text: string;
3
+ label: string;
4
+ className?: string;
5
+ }): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export declare function Dialog({ open, onOpenChange, title, children, }: {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ title: ReactNode;
6
+ children: ReactNode;
7
+ }): import("react").JSX.Element;
@@ -1,8 +1,5 @@
1
- import type { Ref } from 'react';
2
1
  import { ScrollArea as ScrollAreaPrimitive } from '@base-ui-components/react/scroll-area';
3
- export declare function ScrollArea({ className, children, viewportRef, viewportClassName, ...props }: ScrollAreaPrimitive.Root.Props & {
4
- /** The scrolled element, for a rail that scrolls itself (ViewsRail). */
5
- viewportRef?: Ref<HTMLDivElement>;
2
+ export declare function ScrollArea({ className, children, viewportClassName, ...props }: ScrollAreaPrimitive.Root.Props & {
6
3
  /** Extra classes on the viewport — where the height cap belongs when the Root has no definite
7
4
  * height. A `max-h-*` on the Root only caps the box; the viewport's `h-full` cannot resolve
8
5
  * against a parent's max-height, so the content grows instead of scrolling. Put the cap here. */
@@ -0,0 +1,15 @@
1
+ import { type AddMachineResult, type Machine, type RemoveMachineResult } from '../rpc/machines.js';
2
+ export type { Machine };
3
+ /** Read the list from the daemon again. A read that fails keeps what is shown. */
4
+ export declare function refreshMachines(): Promise<void>;
5
+ /** Save the machine a pasted link names; the list is read again once the daemon has it. */
6
+ export declare function addMachine(pasted: string, label?: string): Promise<AddMachineResult>;
7
+ /**
8
+ * Take a saved machine off the list, and answer whether the daemon did, with its reason when it
9
+ * did not. The list is read again either way, so a machine the daemon did not remove is still shown.
10
+ * A removed machine is no longer where the next run starts (#1072): that run would point at
11
+ * something that is not in the list.
12
+ */
13
+ export declare function removeMachine(id: string): Promise<RemoveMachineResult>;
14
+ /** The saved machines as reactive state: empty until the daemon has answered. */
15
+ export declare function useMachines(): Machine[];
@@ -14,6 +14,18 @@ export declare function driverOptions(models: ModelsView | undefined): DriverOpt
14
14
  * the id itself: that is what the run was given or ran.
15
15
  */
16
16
  export declare function modelName(models: DriverModels | undefined, id: string): string;
17
+ /**
18
+ * The effort levels the picked model offers, by the coding agent's own names and in its own order
19
+ * (`DriverModel.efforts`). Empty for a model that takes none, for an agent that could not list its
20
+ * models, and before the daemon has answered — the control is simply not there then.
21
+ */
22
+ export declare function modelEfforts(models: ModelsView | undefined, driver: string | undefined, id: string | undefined): readonly string[];
23
+ /**
24
+ * How much conversation the picked model holds, by the coding agent's own word (Codex says it; for
25
+ * Claude it is what the driver knows of the family). `undefined` for a model nobody has said it
26
+ * of — nothing here guesses one.
27
+ */
28
+ export declare function modelContextWindow(models: ModelsView | undefined, driver: string | undefined, id: string | undefined): number | undefined;
17
29
  export type { DriverModels, ModelsView };
18
30
  /** A coding agent as a module offers it: its name for the run (`claude-code`), its label, its models, and why it lists none. */
19
31
  export type CodingAgent = DriverOption;
@@ -0,0 +1,6 @@
1
+ /** Pick a saved machine (by id) as the run's target, or null to go back to this machine. */
2
+ export declare function selectMachine(id: string | null): void;
3
+ /** The picked machine's id, read at submit time to say where the run starts. */
4
+ export declare function getSelectedMachineId(): string | null;
5
+ /** The picked machine's id as reactive state; null on the server and until one is picked. */
6
+ export declare function useSelectedMachineId(): string | null;
@@ -14,7 +14,7 @@ export interface MountedCard extends ModuleCard {
14
14
  package: string;
15
15
  projects: string[];
16
16
  }
17
- /** A side-rail tab as the shell mounts it: the tab, plus the package it came from and the projects that have it. */
17
+ /** A pane as the shell mounts it: the pane, plus the package it came from and the projects that have it. */
18
18
  export interface MountedPanel extends ModulePanel {
19
19
  package: string;
20
20
  projects: string[];
@@ -45,7 +45,7 @@ export interface MountedModules {
45
45
  /** Every package's cards, in the order the Overview draws the ones it draws: by `order`, then by package name. */
46
46
  cards: MountedCard[];
47
47
  linkActions: MountedLinkAction[];
48
- /** The side-rail tabs, in package order. */
48
+ /** The panes beside the chat, in package order. */
49
49
  panels: MountedPanel[];
50
50
  /** The run slots, one entry per module that has any, in package order. */
51
51
  runSlots: MountedRunSlots[];
@@ -68,7 +68,7 @@ export declare function byMountOrder(a: {
68
68
  }): number;
69
69
  /**
70
70
  * What the registered projects' modules add (#1774), in package order: the pages, a segment two
71
- * modules claim going to the first, the cards (#1818), sorted by their order then their package, the link actions, the side-rail tabs, the run slots, the Settings sections (sorted as the cards are) and the usage bar's stop line (the first module's that declares one),
71
+ * modules claim going to the first, the cards (#1818), sorted by their order then their package, the link actions, the panes, the run slots, the Settings sections (sorted as the cards are) and the usage bar's stop line (the first module's that declares one),
72
72
  * every one of them, each carrying the package it came from and the projects that have it. `loaded` is false until the module list has
73
73
  * been read and every module in it imported, so the shell can tell "no such page" from "not
74
74
  * loaded yet". A change of `reloadKey` reads the list again at once; what is mounted stays until
@@ -176,7 +176,7 @@ export interface ModuleSchedule {
176
176
  read(host: ModuleHost, project: ModuleProject): Promise<ModuleScheduledCommand[]>;
177
177
  }
178
178
  /**
179
- * The Context as a side-rail tab sees it (#504): the files the next run is pointed at. A tab may
179
+ * The Context as a pane sees it (#504): the files the next run is pointed at. A pane may
180
180
  * show which files are in it and add or remove one.
181
181
  */
182
182
  export interface ModuleContext {
@@ -185,19 +185,19 @@ export interface ModuleContext {
185
185
  /** Add the path to the Context, or take it out when it is in. */
186
186
  toggle(path: string): void;
187
187
  }
188
- /** What a side-rail tab is rendered with: the project on screen, the run selected in it (if any), the Context. */
188
+ /** What a pane is rendered with: the project on screen, the run selected in it (if any), the Context. */
189
189
  export interface ModulePanelProps {
190
190
  projectId: string;
191
191
  /** The run whose page this is; absent on the project's own page. */
192
192
  agentId?: string;
193
193
  /**
194
194
  * How many events the run's feed has shown: it grows each time the agent does something, so a
195
- * tab showing what the agent changes reads again then, rather than on its next poll. Absent on
195
+ * pane showing what the agent changes reads again then, rather than on its next poll. Absent on
196
196
  * the project's own page.
197
197
  */
198
198
  activity?: number;
199
199
  /**
200
- * On a tab that lists what a run changed (`changes`): the changed file a click in the chat
200
+ * On a pane that lists what a run changed (`changes`): the changed file a click in the chat
201
201
  * asked to see, by its path in the run's checkout. `at` tells one ask from the next for the
202
202
  * same file. Absent until a file is asked for.
203
203
  */
@@ -208,30 +208,33 @@ export interface ModulePanelProps {
208
208
  context: ModuleContext;
209
209
  }
210
210
  /**
211
- * A tab a module adds to the side rail (#492), shown on every project's page and every run's page
212
- * of the projects that have the module, before the dashboard's own tabs. A tab with nothing to
213
- * show says so inside it: the rail cannot know a module is empty without rendering it.
211
+ * A pane a module adds beside the chat (#492), on every project's page and every run's page of
212
+ * the projects that have the module: an icon at the end of the page's top bar opens it, in a
213
+ * column with the other open panes. A pane with nothing to show says so inside it: the top bar
214
+ * cannot know a module is empty without rendering it.
214
215
  */
215
216
  export interface ModulePanel {
216
- /** Which tab this is among the module's own, for the rail's key and its remembered pick. */
217
+ /** Which pane this is among the module's own, for its key and for remembering that it is open. */
217
218
  id: string;
218
- /** The tab's label. */
219
+ /** The pane's name: on its card, and what its icon is called. */
219
220
  label: string;
220
- /** The tab's tooltip: one sentence on what it shows. */
221
+ /** The icon's tooltip: one sentence on what the pane shows. */
221
222
  help: string;
222
- /** A count shown on the tab beside its label; none when absent or 0. */
223
- count?(props: ModulePanelProps): number;
223
+ /** The pane's icon in the top bar, drawn at the size its `className` gives. */
224
+ icon: ComponentType<{
225
+ className?: string;
226
+ }>;
224
227
  /**
225
- * This tab lists what a run changed. The chat's row of a changed file then opens the side panel
226
- * on it, and hands it the file as `reveal`. Without such a tab, those rows open nothing.
228
+ * This pane lists what a run changed. The chat's row of a changed file then opens it, and
229
+ * hands it the file as `reveal`. Without such a pane, those rows open nothing.
227
230
  */
228
231
  changes?: true;
229
232
  /**
230
- * This tab shows a run's live screen ({@link ModuleHost.watchScreen}). The chat's row of a live
231
- * screen then opens the side panel on it. Without such a tab, that row is a line of text.
233
+ * This pane shows a run's live screen ({@link ModuleHost.watchScreen}). The chat's row of a live
234
+ * screen then opens it. Without such a pane, that row is a line of text.
232
235
  */
233
236
  screen?: true;
234
- /** The tab's contents. */
237
+ /** The pane's contents. They may put their own things in the card's header: {@link PaneTitle}, {@link PaneActions}. */
235
238
  Panel: ComponentType<ModulePanelProps>;
236
239
  }
237
240
  /** What a run slot is rendered with: the run, and whether its agent is working. */
@@ -257,7 +260,7 @@ export interface ModuleDefinition {
257
260
  cards?: ModuleCard[];
258
261
  /** The actions the module offers on the links dashboard pages show, wherever the link's project has the module's package. */
259
262
  linkActions?: LinkAction[];
260
- /** The tabs the module adds to the side rail. */
263
+ /** The panes the module adds beside the chat. */
261
264
  panels?: ModulePanel[];
262
265
  /** What the module adds to a run's page. */
263
266
  run?: ModuleRunSlots;
@@ -348,6 +351,11 @@ export interface ModuleHost {
348
351
  * pastes it under Machines. This computer is let in there with it, once, and keeps its key.
349
352
  */
350
353
  addMachine(link: string, label?: string): Promise<MachineAdded>;
354
+ /**
355
+ * Take a saved machine off the list, by its id, and this computer out of the machine: its key
356
+ * there stops working. Refused, with the reason, while a run is at work there.
357
+ */
358
+ removeMachine(id: string): Promise<MachineRemoved>;
351
359
  /**
352
360
  * What the live screen of a run shows, as the screen's own stream of bytes, until `signal` ends
353
361
  * it; nothing when the run has no live screen. OpenAgent asks the computer the run is on, which
@@ -365,6 +373,8 @@ export interface ModuleMachine {
365
373
  url: string;
366
374
  /** The OpenAgent it runs; absent for a machine that does not answer right now. */
367
375
  version?: string;
376
+ /** The id the machine lists this computer under, among the devices that are in there. */
377
+ device?: string;
368
378
  }
369
379
  /** What {@link ModuleHost.machines} answers. */
370
380
  export interface ModuleMachines {
@@ -379,6 +389,13 @@ export type MachineAdded = {
379
389
  ok: false;
380
390
  error: string;
381
391
  };
392
+ /** How removing a machine went: done, or refused, with the reason. */
393
+ export type MachineRemoved = {
394
+ ok: true;
395
+ } | {
396
+ ok: false;
397
+ error: string;
398
+ };
382
399
  /** What the dashboard knows about the module it is serving: every service but the commands and the reads, which it binds to the package. */
383
400
  export type ModuleHostBase = Omit<ModuleHost, 'runCommand' | 'act' | 'runComputerCommand' | 'read'>;
384
401
  /**
@@ -412,17 +429,21 @@ export { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '.
412
429
  export { Popover, PopoverContent, PopoverTrigger } from '../components/ui/popover.js';
413
430
  export { RangeSlider } from '../components/ui/slider.js';
414
431
  export { Separator } from '../components/ui/separator.js';
415
- export { PreviewCard } from '@base-ui-components/react/preview-card';
416
432
  export { DiffStat } from '../components/DiffStat.js';
417
433
  export { ScrollArea } from '../components/ui/scroll-area.js';
418
434
  export { Tooltip, TooltipTrigger, TooltipContent } from '../components/ui/tooltip.js';
419
- export { DropdownMenu, DropdownMenuContent, DropdownMenuCheckboxItem, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from '../components/ui/dropdown-menu.js';
435
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuCheckboxItem, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../components/ui/dropdown-menu.js';
436
+ export { ContextMenu, ContextMenuTrigger } from '../components/ui/context-menu.js';
437
+ export { PaneTitle, PaneActions } from '../components/PaneHeader.js';
438
+ export { FileIcon } from '../components/FileIcon.js';
420
439
  export { Markdown } from '../components/Markdown.js';
421
440
  export { StartAgentButton } from '../components/StartAgentButton.js';
422
441
  export { LinkActions, type ProjectLinks, type LinkTargets } from '../components/LinkActions.js';
423
442
  export { cn } from '../lib/utils.js';
424
443
  export { SettingsSection, SettingsRow, SettingsSelectRow, type SettingsOption } from '../components/SettingsRows.js';
425
444
  export { QrCode } from '../components/QrCode.js';
445
+ export { AddMachineDialog } from '../components/AddMachineDialog.js';
446
+ export { reachedByLine } from '../../src/client.js';
426
447
  export { useCodingAgents, type CodingAgent } from '../lib/models.js';
427
448
  export { MAX_SPEND_OFFSET } from '../../src/preference-defaults.js';
428
449
  export { formatRelative, formatDateTime, formatDuration, formatAge } from '../lib/format-date.js';
@@ -0,0 +1,9 @@
1
+ import type * as impl from '../../src/dashboard-rpc/machines.js';
2
+ export type * from '../../src/dashboard-rpc/machines.js';
3
+ export declare const onMachines: () => Promise<impl.Machine[]>;
4
+ export declare const sendAddMachine: (pasted: string, label?: string | undefined) => Promise<impl.AddMachineResult>;
5
+ export declare const sendRemoveMachine: (id: string) => Promise<impl.RemoveMachineResult>;
6
+ export declare const onMachinesReachable: () => Promise<Record<string, boolean>>;
7
+ export declare const onMachineVersions: () => Promise<impl.MachineVersions>;
8
+ export declare const sendProjectToMachine: (projectId: string, machineId: string) => Promise<impl.ProjectOnMachine>;
9
+ export declare const onProjectOnMachine: (projectId: string, machineId: string) => Promise<impl.ProjectOnMachine>;