@openagt/dashboard 0.41.0 → 0.43.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.
- package/dist/daemon-runtime.d.ts +2 -2
- package/dist/daemon-runtime.d.ts.map +1 -1
- package/dist/daemon-runtime.js +9 -6
- package/dist/daemon-runtime.js.map +1 -1
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +7 -2
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/computers-sync.d.ts +104 -0
- package/dist/dashboard/computers-sync.d.ts.map +1 -0
- package/dist/dashboard/computers-sync.js +178 -0
- package/dist/dashboard/computers-sync.js.map +1 -0
- package/dist/dashboard/machine-call.d.ts +7 -0
- package/dist/dashboard/machine-call.d.ts.map +1 -1
- package/dist/dashboard/machine-call.js +12 -1
- package/dist/dashboard/machine-call.js.map +1 -1
- package/dist/dashboard/models.d.ts +2 -1
- package/dist/dashboard/models.d.ts.map +1 -1
- package/dist/dashboard/models.js +1 -1
- package/dist/dashboard/models.js.map +1 -1
- package/dist/dashboard/relay-endpoints.js +5 -3
- package/dist/dashboard/relay-endpoints.js.map +1 -1
- package/dist/dashboard/remote-run.d.ts +5 -3
- package/dist/dashboard/remote-run.d.ts.map +1 -1
- package/dist/dashboard/remote-run.js +8 -5
- package/dist/dashboard/remote-run.js.map +1 -1
- package/dist/dashboard-bundle/assets/host/module-BpujONbg.js +1 -0
- package/dist/dashboard-bundle/assets/main-idwI6-1C.js +148 -0
- package/dist/dashboard-bundle/assets/module-qB4OUxzG.js +14 -0
- package/dist/dashboard-bundle/index.html +3 -3
- package/dist/dashboard-rpc/computers.d.ts +27 -0
- package/dist/dashboard-rpc/computers.d.ts.map +1 -0
- package/dist/dashboard-rpc/computers.js +90 -0
- package/dist/dashboard-rpc/computers.js.map +1 -0
- package/dist/dashboard-rpc/index.d.ts +1 -1
- package/dist/dashboard-rpc/index.d.ts.map +1 -1
- package/dist/dashboard-rpc/index.js +1 -1
- package/dist/dashboard-rpc/index.js.map +1 -1
- package/dist/dashboard-rpc/machines.d.ts +20 -1
- package/dist/dashboard-rpc/machines.d.ts.map +1 -1
- package/dist/dashboard-rpc/machines.js +58 -11
- package/dist/dashboard-rpc/machines.js.map +1 -1
- package/dist/dashboard-rpc/relay-dispatch.d.ts.map +1 -1
- package/dist/dashboard-rpc/relay-dispatch.js +4 -2
- package/dist/dashboard-rpc/relay-dispatch.js.map +1 -1
- package/dist/dashboard-rpc/server-logins.js +3 -3
- package/dist/dashboard-rpc/server-logins.js.map +1 -1
- package/dist/module-types/dashboard/lib/models.d.ts +7 -3
- package/dist/module-types/dashboard/module/index.d.ts +3 -1
- package/dist/module-types/dashboard/rpc/machines.d.ts +1 -0
- package/dist/module-types/src/dashboard/computers-sync.d.ts +103 -0
- package/dist/module-types/src/dashboard/machine-call.d.ts +7 -0
- package/dist/module-types/src/dashboard/models.d.ts +2 -1
- package/dist/module-types/src/dashboard/remote-run.d.ts +5 -3
- package/dist/module-types/src/dashboard-rpc/computers.d.ts +26 -0
- package/dist/module-types/src/dashboard-rpc/index.d.ts +1 -1
- package/dist/module-types/src/dashboard-rpc/machines.d.ts +20 -1
- package/dist/module-types/src/registry.d.ts +37 -2
- package/dist/module-types/src/store/runs.d.ts +3 -1
- package/dist/registry.d.ts +37 -2
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +90 -19
- package/dist/registry.js.map +1 -1
- package/dist/store/runs.d.ts +3 -1
- package/dist/store/runs.d.ts.map +1 -1
- package/dist/store/runs.js +8 -8
- package/dist/store/runs.js.map +1 -1
- package/package.json +19 -19
- package/dist/dashboard-bundle/assets/host/module-BcFzlJhp.js +0 -1
- package/dist/dashboard-bundle/assets/main-rpNhGecV.js +0 -148
- package/dist/dashboard-bundle/assets/module-Bhd9t16k.js +0 -14
|
@@ -8,16 +8,20 @@ import { type DriverModels, type ModelsView } from '../rpc/models.js';
|
|
|
8
8
|
export declare function useModels(): ModelsView | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* The models a run started on the machine picked in "Run on" can be given: that machine's own, as
|
|
11
|
-
* it asked its agents, which need not be this computer's. `undefined` while it is asked; this
|
|
11
|
+
* it asked its agents, which need not be this computer's (`theirs`). `undefined` while it is asked; this
|
|
12
12
|
* computer's when none is picked, or the machine does not say (an OpenAgent that is not asked this).
|
|
13
13
|
*/
|
|
14
|
-
export declare function useModelsOn(machineId: string | undefined):
|
|
14
|
+
export declare function useModelsOn(machineId: string | undefined): {
|
|
15
|
+
models: ModelsView | undefined;
|
|
16
|
+
theirs: boolean;
|
|
17
|
+
};
|
|
15
18
|
/**
|
|
16
19
|
* Every coding agent with the models it listed, by the names it gives them, or a line saying why
|
|
17
20
|
* there are none: the one list every surface that picks a model offers (the start menu, Settings),
|
|
18
21
|
* so the two can never disagree on what a pick may be. No icons: those are the menu's own.
|
|
22
|
+
* `on` names the computer the models are another's of, for an agent not installed there.
|
|
19
23
|
*/
|
|
20
|
-
export declare function driverOptions(models: ModelsView | undefined): DriverOption[];
|
|
24
|
+
export declare function driverOptions(models: ModelsView | undefined, on?: string): DriverOption[];
|
|
21
25
|
/**
|
|
22
26
|
* A model's name as its agent shows it ("Opus 5.5" for `opus`, and for `claude-opus-5-5`, the full
|
|
23
27
|
* id `opus` runs today). A model the agent does not list, or a list not answered yet, is named by
|
|
@@ -399,8 +399,10 @@ export interface ModuleHost {
|
|
|
399
399
|
* there stops working. Refused, with the reason, while a run is at work there.
|
|
400
400
|
*/
|
|
401
401
|
removeMachine(id: string): Promise<MachineRemoved>;
|
|
402
|
-
/** Give a saved machine the name the person picked. */
|
|
402
|
+
/** Give a saved machine the name the person picked: the machine keeps it as its own, and every page reads it from there. */
|
|
403
403
|
renameMachine(id: string, label: string): Promise<MachineAdded>;
|
|
404
|
+
/** Give this computer the name the person picked: kept here, and every page reads it from here. */
|
|
405
|
+
renameComputer(name: string): Promise<MachineAdded>;
|
|
404
406
|
/**
|
|
405
407
|
* Have a saved machine save this computer, with the link this computer's door gave for a new
|
|
406
408
|
* device: that machine then starts runs here too. Not for a computer reached through a server.
|
|
@@ -16,6 +16,7 @@ export declare const sendAddComputerThrough: (machineId: string, computerId: str
|
|
|
16
16
|
export declare const onMachinePerson: (machineId: string) => Promise<impl.MachinePerson>;
|
|
17
17
|
export declare const sendRemoveMachineDevice: (machineId: string, deviceId: string) => Promise<impl.MachinePerson>;
|
|
18
18
|
export declare const sendRenameMachine: (id: string, label: string) => Promise<impl.AddMachineResult>;
|
|
19
|
+
export declare const sendRenameComputer: (picked: unknown) => Promise<impl.RenameComputerResult>;
|
|
19
20
|
export declare const sendLetMachineIn: (machineId: string, link: string) => Promise<{
|
|
20
21
|
ok: true;
|
|
21
22
|
} | {
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { type ForgottenMachine, type MachineRecord } from '../registry.js';
|
|
2
|
+
/**
|
|
3
|
+
* The person's computers, the same on every one of them: a computer one of them saves, the others
|
|
4
|
+
* save too, and one the person removes on one of them, the others take out. So every computer's
|
|
5
|
+
* page reaches every other, whichever page the person opens.
|
|
6
|
+
*
|
|
7
|
+
* Each computer, now and then, asks each of the person's computers it reaches at an address (a
|
|
8
|
+
* server, or a computer on Tailscale) what it has and what it removed. What that computer lacks,
|
|
9
|
+
* this one hands it: for each of its other computers reached at an address, and for itself when
|
|
10
|
+
* it has one, a code that computer gets in with, fetched from the door it is for, so every
|
|
11
|
+
* computer holds a key of its own. What that computer removed after it was saved here is taken out
|
|
12
|
+
* here, and what was removed here, it takes out. A computer that keeps a line to a server of the
|
|
13
|
+
* person's is saved through that server, by every computer that is in there.
|
|
14
|
+
*
|
|
15
|
+
* Only the person's own computers: a computer of another person's, shared on a server, is never
|
|
16
|
+
* handed on. Each computer still says only its own projects and runs; it only knows the others.
|
|
17
|
+
*/
|
|
18
|
+
/** One of the person's computers another computer reaches at its address, as a computer says it has it. */
|
|
19
|
+
export interface OwnComputer {
|
|
20
|
+
url: string;
|
|
21
|
+
label: string;
|
|
22
|
+
/** The computer's own name, as it first said it. */
|
|
23
|
+
host?: string;
|
|
24
|
+
/** When it was saved there, ISO: a removal after this one stands. */
|
|
25
|
+
added?: string;
|
|
26
|
+
}
|
|
27
|
+
/** What a computer says of the person's computers: the ones it reaches at their addresses, the ones the person removed there, and its own door's address. */
|
|
28
|
+
export interface OwnComputers {
|
|
29
|
+
/** Where this computer's own door is reached, when it has an address: a server's, or its name on Tailscale. */
|
|
30
|
+
door?: string;
|
|
31
|
+
computers: OwnComputer[];
|
|
32
|
+
forgotten: ForgottenMachine[];
|
|
33
|
+
}
|
|
34
|
+
/** Whether a saved machine is one another computer reaches at the same address: a server, or a computer on Tailscale. Not one saved through a server, on a Wi-Fi, or on a line at this server. */
|
|
35
|
+
export declare function reachedAtAddress(machine: Pick<MachineRecord, 'url'>): boolean;
|
|
36
|
+
/** Whether a saved machine is a server of the person's with a door of its own: one other computers keep lines to. A computer on Tailscale keeps none. */
|
|
37
|
+
export declare function isServer(machine: Pick<MachineRecord, 'url'>): boolean;
|
|
38
|
+
/** What a computer answered as its computers, the ones that read as such: anything else is dropped. */
|
|
39
|
+
export declare function ownComputersOf(said: unknown): OwnComputers;
|
|
40
|
+
/** Whether a removal at `at` stands over a computer saved at `added`: one with no time of its own was saved before any. */
|
|
41
|
+
export declare function removedSince(added: string | undefined, at: string): boolean;
|
|
42
|
+
/** A computer to hand another: one of this computer's others, or this computer itself. */
|
|
43
|
+
export type Handed = {
|
|
44
|
+
self: true;
|
|
45
|
+
url: string;
|
|
46
|
+
} | {
|
|
47
|
+
self?: undefined;
|
|
48
|
+
machine: MachineRecord;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* What computer `there` lacks of what this one reaches at an address: each of this computer's
|
|
52
|
+
* others but `there` itself, and this computer when its door has an address. One `there` has by
|
|
53
|
+
* its address or its own name is not handed, nor one it removed since this computer saved it.
|
|
54
|
+
*/
|
|
55
|
+
export declare function lacking(there: MachineRecord, theirs: OwnComputers, mine: readonly MachineRecord[], door: string | undefined): Handed[];
|
|
56
|
+
/** What this computer's own door says of itself: its address, and its id among the devices of each server it keeps a line to. */
|
|
57
|
+
export interface OwnDoor {
|
|
58
|
+
address?: string;
|
|
59
|
+
lines: {
|
|
60
|
+
url: string;
|
|
61
|
+
id: string;
|
|
62
|
+
}[];
|
|
63
|
+
}
|
|
64
|
+
/** A computer on a line at a server, as the server lists it. */
|
|
65
|
+
export interface LineComputer {
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
added: boolean;
|
|
69
|
+
owner?: string;
|
|
70
|
+
}
|
|
71
|
+
/** What a round reaches through: the real ones, unless a test says otherwise. */
|
|
72
|
+
export declare const computersWiring: {
|
|
73
|
+
env: NodeJS.ProcessEnv;
|
|
74
|
+
machines: () => Promise<MachineRecord[]>;
|
|
75
|
+
forgotten: () => Promise<ForgottenMachine[]>;
|
|
76
|
+
call: (machine: MachineRecord, fn: string, args: unknown[]) => Promise<{
|
|
77
|
+
ok: true;
|
|
78
|
+
ret: unknown;
|
|
79
|
+
} | {
|
|
80
|
+
ok: false;
|
|
81
|
+
error: string;
|
|
82
|
+
}>;
|
|
83
|
+
door: () => Promise<OwnDoor>;
|
|
84
|
+
/** A link one more device of the person gets in with: at this computer's own door, or at a saved machine's. */
|
|
85
|
+
ownCode: () => Promise<string | undefined>;
|
|
86
|
+
codeAt: (machine: MachineRecord) => Promise<string | undefined>;
|
|
87
|
+
/** This computer's name, as a computer it is handed to saves it by. */
|
|
88
|
+
name: () => Promise<string>;
|
|
89
|
+
/** Take out here what the person removed on another of their computers. */
|
|
90
|
+
forget: (gone: readonly ForgottenMachine[]) => Promise<void>;
|
|
91
|
+
/** The computers on a line at a saved server, and how one is saved through it. */
|
|
92
|
+
lineComputers: (server: MachineRecord) => Promise<LineComputer[] | undefined>;
|
|
93
|
+
saveThrough: (server: MachineRecord, id: string) => Promise<void>;
|
|
94
|
+
now: () => number;
|
|
95
|
+
};
|
|
96
|
+
/** One round: each of the person's computers reached at an address is brought up to this one's, and this one to theirs. */
|
|
97
|
+
export declare function syncComputers(): Promise<void>;
|
|
98
|
+
/** A round in a moment, when the computers sync at all: the person just saved or removed one. */
|
|
99
|
+
export declare function syncComputersSoon(): void;
|
|
100
|
+
/** Keep the person's computers the same on all of them, from now on: a round every few minutes, the first a moment after the start. */
|
|
101
|
+
export declare function startComputersSync(env: NodeJS.ProcessEnv): () => void;
|
|
102
|
+
/** Take out here the computers the person removed on another of theirs, after each was saved here: through-saved ones with the server they go through. */
|
|
103
|
+
export declare function forgetHere(gone: readonly ForgottenMachine[], remove: (machine: MachineRecord) => Promise<boolean>): Promise<void>;
|
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
export declare const NOT_THE_MACHINE = "what answers at this address is not the machine that was added: add the machine again, with a new link";
|
|
3
3
|
/** How this computer says which one it is to a machine's door, with every call: the door lists it once by it. */
|
|
4
4
|
export declare const COMPUTER_HEADER = "x-openagent-computer";
|
|
5
|
+
/**
|
|
6
|
+
* How this computer says its own name to a machine's door, with every call: the door lists it under
|
|
7
|
+
* the name it has now. URI-encoded: a header carries plain letters only, and a name is any language's.
|
|
8
|
+
*/
|
|
9
|
+
export declare const COMPUTER_NAME_HEADER = "x-openagent-computer-name";
|
|
5
10
|
/** Say which computer this is from here on, with every call to a machine. Set once, when OpenAgent starts. */
|
|
6
11
|
export declare function sayComputer(id: string | undefined): void;
|
|
12
|
+
/** Say this computer's own name from here on, with every call to a machine: when OpenAgent starts, and when the person renames it. */
|
|
13
|
+
export declare function sayName(name: string | undefined): void;
|
|
7
14
|
/** The word OpenAgent was told to say, as the home file keeps it: what its own packages are handed, to say the same. */
|
|
8
15
|
export declare function computerSaid(): string | undefined;
|
|
9
16
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Driver, DriverModel } from '@openagt/agent-driver';
|
|
2
2
|
import { type DriverName } from '../driver-names.js';
|
|
3
|
-
/** What one coding agent offers: its models, or why it could not say. */
|
|
3
|
+
/** What one coding agent offers: its models, or why it could not say; `missing` when its CLI is not on the computer at all. */
|
|
4
4
|
export type DriverModels = {
|
|
5
5
|
models: DriverModel[];
|
|
6
6
|
} | {
|
|
7
7
|
models: [];
|
|
8
8
|
error: string;
|
|
9
|
+
missing?: true;
|
|
9
10
|
};
|
|
10
11
|
/** The models of every coding agent a person can pick, by driver. */
|
|
11
12
|
export type ModelsView = Record<DriverName, DriverModels>;
|
|
@@ -50,13 +50,15 @@ export type RelayStartResult = StartAgentResult | {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare function pingRemote(target: MachineAccess): Promise<boolean>;
|
|
52
52
|
/**
|
|
53
|
-
* What a saved machine says of itself in its ping: the OpenAgent it runs, the computer's
|
|
54
|
-
* name, which the records of its runs carry, the
|
|
55
|
-
* machines it saved, and whether it is a server. Nothing for a machine
|
|
53
|
+
* What a saved machine says of itself in its ping: the OpenAgent it runs, the computer's host
|
|
54
|
+
* name, which the records of its runs carry, the name it is shown under, the ids it is listed
|
|
55
|
+
* under at the doors of the machines it saved, and whether it is a server. Nothing for a machine
|
|
56
|
+
* that does not answer, or does not say.
|
|
56
57
|
*/
|
|
57
58
|
export declare function remoteFacts(target: MachineAccess): Promise<{
|
|
58
59
|
version?: string;
|
|
59
60
|
host?: string;
|
|
61
|
+
name?: string;
|
|
60
62
|
listed?: string[];
|
|
61
63
|
server?: true;
|
|
62
64
|
health?: Health;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type OwnComputers, type OwnDoor } from '../dashboard/computers-sync.js';
|
|
2
|
+
/** Where this computer's own door is reached at an address, when it is: a server's, or its name on Tailscale; and its id at each server it keeps a line to. */
|
|
3
|
+
export declare function ownDoor(): Promise<OwnDoor>;
|
|
4
|
+
/** A link one more device of the person's gets in with at this computer's own door: only at an address. */
|
|
5
|
+
export declare function ownCode(): Promise<string | undefined>;
|
|
6
|
+
/**
|
|
7
|
+
* The person's computers this one reaches at their addresses, and the ones the person removed
|
|
8
|
+
* here, for another computer of theirs that brings itself up to them: never another person's.
|
|
9
|
+
*/
|
|
10
|
+
export declare function onOwnComputers(): Promise<OwnComputers>;
|
|
11
|
+
export type AddComputerResult = {
|
|
12
|
+
ok: true;
|
|
13
|
+
} | {
|
|
14
|
+
ok: false;
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Save a computer another of the person's computers hands this one, by the link it got in with
|
|
19
|
+
* for it: this computer's own key there. Not this computer itself, not one the person removed
|
|
20
|
+
* here since the other saved it (`added`), and only one reached at an address.
|
|
21
|
+
*/
|
|
22
|
+
export declare function sendAddComputer(link: unknown, label: unknown, added: unknown): Promise<AddComputerResult>;
|
|
23
|
+
/** Take out here the computers the person removed on another of theirs, each removed after it was saved here. */
|
|
24
|
+
export declare function sendForgetComputers(gone: unknown): Promise<{
|
|
25
|
+
ok: true;
|
|
26
|
+
}>;
|
|
@@ -6,7 +6,7 @@ export { onPreferences, savePreferences, patchPreferences, onProjectPresets, sav
|
|
|
6
6
|
export { type EditorInfo } from '../dashboard/open-in-app.js';
|
|
7
7
|
export { onQuota } from './quota.js';
|
|
8
8
|
export { onModels } from './models.js';
|
|
9
|
-
export { onMachines, sendAddMachine, sendRemoveMachine, onMachinesReachable, onMachineVersions, sendProjectToMachine, onProjectOnMachine, onMachineStartCheck, onComputersThrough, sendAddComputerThrough, onMachinePerson, sendRemoveMachineDevice, sendRenameMachine, sendLetMachineIn, sendMachineLineLink, sendMachineCode, sendMachineTold, onMachineLogins, sendMachineLogins, type Machine, type MachineLoginsResult, type AddMachineResult, type MachineVersions, type ProjectOnMachine, type ComputersThrough, type MachinePerson, type MachineCode } from './machines.js';
|
|
9
|
+
export { onMachines, sendAddMachine, sendRemoveMachine, onMachinesReachable, onMachineVersions, sendProjectToMachine, onProjectOnMachine, onMachineStartCheck, onComputersThrough, sendAddComputerThrough, onMachinePerson, sendRemoveMachineDevice, sendRenameMachine, sendRenameComputer, sendLetMachineIn, sendMachineLineLink, sendMachineCode, sendMachineTold, onMachineLogins, sendMachineLogins, type Machine, type MachineLoginsResult, type AddMachineResult, type MachineVersions, type ProjectOnMachine, type RenameComputerResult, type ComputersThrough, type MachinePerson, type MachineCode } from './machines.js';
|
|
10
10
|
export { onModules, runModuleCommand, runComputerCommand, runComputerCommandOn, readModule, type DashboardModule, type ModuleCommandResult, type ModuleReadResult } from './modules.js';
|
|
11
11
|
export { onProjectSkills, sendChangeSkills, sendProjectSkills, type ProjectSkills, type ProjectSkill, type ChangeSkillsResult } from './skills.js';
|
|
12
12
|
export { onPerson, type Person } from './person.js';
|
|
@@ -31,6 +31,8 @@ export declare function onMachines(): Promise<Machine[]>;
|
|
|
31
31
|
* everyone: the door says whose it is when it tells this OpenAgent of it.
|
|
32
32
|
*/
|
|
33
33
|
export declare function sendAddMachine(pasted: string, label?: string, owner?: string): Promise<AddMachineResult>;
|
|
34
|
+
/** Get in at the machine a link names and save it, with this computer's own key there. */
|
|
35
|
+
export declare function saveMachine(pasted: string, label?: string, owner?: string): Promise<AddMachineResult>;
|
|
34
36
|
export type RemoveMachineResult = {
|
|
35
37
|
ok: true;
|
|
36
38
|
} | {
|
|
@@ -74,6 +76,8 @@ export declare function onComputersThrough(machineId: string): Promise<Computers
|
|
|
74
76
|
* computer's logins.
|
|
75
77
|
*/
|
|
76
78
|
export declare function sendAddComputerThrough(machineId: string, computerId: string): Promise<AddMachineResult>;
|
|
79
|
+
/** Save a computer on a line at a saved server, through that server. */
|
|
80
|
+
export declare function saveComputerThrough(machineId: string, computerId: string): Promise<AddMachineResult>;
|
|
77
81
|
/** Write down that the person was told their logins are copied to a saved machine of another person's: the page says it once. */
|
|
78
82
|
export declare function sendMachineTold(machineId: string): Promise<{
|
|
79
83
|
ok: boolean;
|
|
@@ -180,8 +184,23 @@ export interface MachineVersions {
|
|
|
180
184
|
* what it said last.
|
|
181
185
|
*/
|
|
182
186
|
export declare function onMachineVersions(): Promise<MachineVersions>;
|
|
183
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Give a saved machine the name the person picked: the machine keeps it, as its own, and every
|
|
189
|
+
* page reads it from there. Kept here too, as what it is shown under while it does not answer.
|
|
190
|
+
*/
|
|
184
191
|
export declare function sendRenameMachine(id: string, label: string): Promise<AddMachineResult>;
|
|
192
|
+
export type RenameComputerResult = {
|
|
193
|
+
ok: true;
|
|
194
|
+
name: string;
|
|
195
|
+
} | {
|
|
196
|
+
ok: false;
|
|
197
|
+
error: string;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Give this computer the name the person picked, here or from a page of another of their
|
|
201
|
+
* computers: kept here, said in every call to a machine from now on, so a door lists it by it.
|
|
202
|
+
*/
|
|
203
|
+
export declare function sendRenameComputer(picked: unknown): Promise<RenameComputerResult>;
|
|
185
204
|
/**
|
|
186
205
|
* Have a saved machine save this computer, with a link this computer's door gave for a new
|
|
187
206
|
* device: from then on it starts runs here too. Not for a computer reached through a server,
|
|
@@ -61,6 +61,18 @@ export interface MachineRecord {
|
|
|
61
61
|
seenAt?: string;
|
|
62
62
|
/** Its own projects, as it said them last (elsewhere.ts): a computer of the person's own lists them while it does not answer. */
|
|
63
63
|
projects?: OwnProject[];
|
|
64
|
+
/** When it was first saved here, ISO: of two computers' word on it, a removal after this is the one that stands (computers-sync.ts). */
|
|
65
|
+
added?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A computer the person removed, by its address: one of their other computers that still has it
|
|
69
|
+
* does not bring it back here, and takes it out too (computers-sync.ts). Saved again by the person,
|
|
70
|
+
* it is no longer one.
|
|
71
|
+
*/
|
|
72
|
+
export interface ForgottenMachine {
|
|
73
|
+
url: string;
|
|
74
|
+
/** When it was removed, ISO. */
|
|
75
|
+
at: string;
|
|
64
76
|
}
|
|
65
77
|
/** A GitHub account's name: letters, digits and single dashes, at most 39. */
|
|
66
78
|
export declare function isAccount(value: unknown): value is string;
|
|
@@ -199,6 +211,10 @@ export interface Registry {
|
|
|
199
211
|
* in again. Top-level, and never part of what the browser is handed. Absent until first needed.
|
|
200
212
|
*/
|
|
201
213
|
computer?: string;
|
|
214
|
+
/** This computer's name as the person named it, the one every page shows it under: absent, its host name. */
|
|
215
|
+
name?: string;
|
|
216
|
+
/** The computers the person removed, the newest last (computers-sync.ts). */
|
|
217
|
+
forgotten?: ForgottenMachine[];
|
|
202
218
|
}
|
|
203
219
|
/** A read/write handle for the user preferences, wired into the dashboard's context by the daemon. */
|
|
204
220
|
export interface PreferencesStore {
|
|
@@ -307,6 +323,12 @@ export declare function ensureBridgeToken(fs?: RegistryFs, env?: NodeJS.ProcessE
|
|
|
307
323
|
* Serialized with the other mutators, so two starts at once do not each make another.
|
|
308
324
|
*/
|
|
309
325
|
export declare function ensureComputerId(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string>;
|
|
326
|
+
/** A computer's name as it may be kept and shown: no control characters, trimmed, capped; `undefined` for none. */
|
|
327
|
+
export declare function computerNameOf(value: unknown): string | undefined;
|
|
328
|
+
/** This computer's own name: the one the person gave it, else its host name. */
|
|
329
|
+
export declare function thisComputerName(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string>;
|
|
330
|
+
/** Give this computer the name the person picked. Answers the name as kept; nothing for an empty one. */
|
|
331
|
+
export declare function renameThisComputer(picked: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string | undefined>;
|
|
310
332
|
/** The persisted bridge key, or `undefined` when none exists. A pure read: it never generates one. */
|
|
311
333
|
export declare function readBridgeToken(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string | undefined>;
|
|
312
334
|
/** The saved machines, newest first. Forgiving like every read of this file: none on a bad file. */
|
|
@@ -346,6 +368,15 @@ export declare function noteListed(machine: {
|
|
|
346
368
|
id: string;
|
|
347
369
|
key: string;
|
|
348
370
|
}, listed: string[], fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
371
|
+
/**
|
|
372
|
+
* Keep the name a saved machine says it has now, when it changed: a page shows a machine under its
|
|
373
|
+
* own name, and the one kept here is what it is shown under while it does not answer. `key` is the
|
|
374
|
+
* key the machine was asked with: a machine saved anew since says its own.
|
|
375
|
+
*/
|
|
376
|
+
export declare function noteName(machine: {
|
|
377
|
+
id: string;
|
|
378
|
+
key: string;
|
|
379
|
+
}, said: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
349
380
|
/** Keep when a saved machine last answered, once a minute at most: the file is not written at each answer. */
|
|
350
381
|
export declare function noteSeen(machine: {
|
|
351
382
|
id: string;
|
|
@@ -360,10 +391,14 @@ export declare function noteProjects(machine: {
|
|
|
360
391
|
export declare function tellMachine(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<boolean>;
|
|
361
392
|
/** Say whether a saved server uses this computer's logins. Answers whether it is saved. */
|
|
362
393
|
export declare function useLoginsOn(id: string, on: boolean, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<boolean>;
|
|
363
|
-
/** Give a saved machine the name the person picked. Answers the machine as saved; nothing when it is not saved, or the name is empty. */
|
|
364
|
-
export declare function renameMachine(id: string, label: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<MachineRecord | undefined>;
|
|
365
394
|
/** Take a saved machine off the list, by id. Answers the one that was there. */
|
|
366
395
|
export declare function removeMachine(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<MachineRecord | undefined>;
|
|
396
|
+
/** The computers the person removed, the newest last. */
|
|
397
|
+
export declare function listForgotten(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ForgottenMachine[]>;
|
|
398
|
+
/** Remember that the person removed the computer at `url`, at `at`; a later removal of it replaces an earlier one. */
|
|
399
|
+
export declare function forgetMachine(url: string, at: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
400
|
+
/** The person saved the computer at `url` again: it is no longer one they removed. */
|
|
401
|
+
export declare function unforgetMachine(url: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
367
402
|
/** A {@link PreferencesStore} bound to the real registry file, wired by the daemon so the
|
|
368
403
|
* dashboard's preferences RPCs read/write the user's home file.
|
|
369
404
|
*
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
* `<command> show <id> --local --full` one run: the whole card plus `diary`, every line
|
|
12
12
|
* `<command> delete <id>` remove a run
|
|
13
13
|
* `<command> patch <id> [--branch <b>] [--pr <n> --pr-url <url>] [--landed <commit> --from <commit>]` the late facts
|
|
14
|
-
* `--local` reads the copy on this machine, no network: OpenAgent polls.
|
|
14
|
+
* `--local` reads the copy on this machine, no network: OpenAgent polls. A provider whose package
|
|
15
|
+
* exports the function its command calls, `runCli(argv, io)`, is answered inside OpenAgent's own
|
|
16
|
+
* process: a read every few seconds is no Node started each time, which a small server cannot carry.
|
|
15
17
|
*
|
|
16
18
|
* The shapes, owned here: {@link RunCard} and {@link AnyDiaryLine}. A running agent's own card in
|
|
17
19
|
* its checkout is the same shape, written by the tool that runs it.
|
package/dist/registry.d.ts
CHANGED
|
@@ -61,6 +61,18 @@ export interface MachineRecord {
|
|
|
61
61
|
seenAt?: string;
|
|
62
62
|
/** Its own projects, as it said them last (elsewhere.ts): a computer of the person's own lists them while it does not answer. */
|
|
63
63
|
projects?: OwnProject[];
|
|
64
|
+
/** When it was first saved here, ISO: of two computers' word on it, a removal after this is the one that stands (computers-sync.ts). */
|
|
65
|
+
added?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A computer the person removed, by its address: one of their other computers that still has it
|
|
69
|
+
* does not bring it back here, and takes it out too (computers-sync.ts). Saved again by the person,
|
|
70
|
+
* it is no longer one.
|
|
71
|
+
*/
|
|
72
|
+
export interface ForgottenMachine {
|
|
73
|
+
url: string;
|
|
74
|
+
/** When it was removed, ISO. */
|
|
75
|
+
at: string;
|
|
64
76
|
}
|
|
65
77
|
/** A GitHub account's name: letters, digits and single dashes, at most 39. */
|
|
66
78
|
export declare function isAccount(value: unknown): value is string;
|
|
@@ -199,6 +211,10 @@ export interface Registry {
|
|
|
199
211
|
* in again. Top-level, and never part of what the browser is handed. Absent until first needed.
|
|
200
212
|
*/
|
|
201
213
|
computer?: string;
|
|
214
|
+
/** This computer's name as the person named it, the one every page shows it under: absent, its host name. */
|
|
215
|
+
name?: string;
|
|
216
|
+
/** The computers the person removed, the newest last (computers-sync.ts). */
|
|
217
|
+
forgotten?: ForgottenMachine[];
|
|
202
218
|
}
|
|
203
219
|
/** A read/write handle for the user preferences, wired into the dashboard's context by the daemon. */
|
|
204
220
|
export interface PreferencesStore {
|
|
@@ -307,6 +323,12 @@ export declare function ensureBridgeToken(fs?: RegistryFs, env?: NodeJS.ProcessE
|
|
|
307
323
|
* Serialized with the other mutators, so two starts at once do not each make another.
|
|
308
324
|
*/
|
|
309
325
|
export declare function ensureComputerId(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string>;
|
|
326
|
+
/** A computer's name as it may be kept and shown: no control characters, trimmed, capped; `undefined` for none. */
|
|
327
|
+
export declare function computerNameOf(value: unknown): string | undefined;
|
|
328
|
+
/** This computer's own name: the one the person gave it, else its host name. */
|
|
329
|
+
export declare function thisComputerName(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string>;
|
|
330
|
+
/** Give this computer the name the person picked. Answers the name as kept; nothing for an empty one. */
|
|
331
|
+
export declare function renameThisComputer(picked: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string | undefined>;
|
|
310
332
|
/** The persisted bridge key, or `undefined` when none exists. A pure read: it never generates one. */
|
|
311
333
|
export declare function readBridgeToken(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<string | undefined>;
|
|
312
334
|
/** The saved machines, newest first. Forgiving like every read of this file: none on a bad file. */
|
|
@@ -346,6 +368,15 @@ export declare function noteListed(machine: {
|
|
|
346
368
|
id: string;
|
|
347
369
|
key: string;
|
|
348
370
|
}, listed: string[], fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
371
|
+
/**
|
|
372
|
+
* Keep the name a saved machine says it has now, when it changed: a page shows a machine under its
|
|
373
|
+
* own name, and the one kept here is what it is shown under while it does not answer. `key` is the
|
|
374
|
+
* key the machine was asked with: a machine saved anew since says its own.
|
|
375
|
+
*/
|
|
376
|
+
export declare function noteName(machine: {
|
|
377
|
+
id: string;
|
|
378
|
+
key: string;
|
|
379
|
+
}, said: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
349
380
|
/** Keep when a saved machine last answered, once a minute at most: the file is not written at each answer. */
|
|
350
381
|
export declare function noteSeen(machine: {
|
|
351
382
|
id: string;
|
|
@@ -360,10 +391,14 @@ export declare function noteProjects(machine: {
|
|
|
360
391
|
export declare function tellMachine(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<boolean>;
|
|
361
392
|
/** Say whether a saved server uses this computer's logins. Answers whether it is saved. */
|
|
362
393
|
export declare function useLoginsOn(id: string, on: boolean, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<boolean>;
|
|
363
|
-
/** Give a saved machine the name the person picked. Answers the machine as saved; nothing when it is not saved, or the name is empty. */
|
|
364
|
-
export declare function renameMachine(id: string, label: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<MachineRecord | undefined>;
|
|
365
394
|
/** Take a saved machine off the list, by id. Answers the one that was there. */
|
|
366
395
|
export declare function removeMachine(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<MachineRecord | undefined>;
|
|
396
|
+
/** The computers the person removed, the newest last. */
|
|
397
|
+
export declare function listForgotten(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ForgottenMachine[]>;
|
|
398
|
+
/** Remember that the person removed the computer at `url`, at `at`; a later removal of it replaces an earlier one. */
|
|
399
|
+
export declare function forgetMachine(url: string, at: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
400
|
+
/** The person saved the computer at `url` again: it is no longer one they removed. */
|
|
401
|
+
export declare function unforgetMachine(url: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
367
402
|
/** A {@link PreferencesStore} bound to the real registry file, wired by the daemon so the
|
|
368
403
|
* dashboard's preferences RPCs read/write the user's home file.
|
|
369
404
|
*
|
package/dist/registry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAIpF,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAErE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAIpF,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAErE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGzE;;;;;;;GAOG;AAEH,8BAA8B;AAC9B,MAAM,WAAW,aAAa;IAC5B,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,qGAAqG;IACrG,EAAE,EAAE,MAAM,CAAA;IACV,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,GAAG,EAAE,MAAM,CAAA;IACX,0EAA0E;IAC1E,GAAG,EAAE,MAAM,CAAA;IACX,uGAAuG;IACvG,IAAI,EAAE,MAAM,CAAA;IACZ,qHAAqH;IACrH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAC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