@agentage/cli 0.56.0 → 0.58.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/README.md +11 -11
- package/dist/commands/daemon/daemon.d.ts +1 -0
- package/dist/commands/daemon/daemon.js +4 -2
- package/dist/commands/daemon/run.d.ts +1 -0
- package/dist/commands/daemon/run.js +11 -1
- package/dist/commands/daemon/start.d.ts +8 -0
- package/dist/commands/daemon/start.js +14 -0
- package/dist/commands/extension/create.js +4 -3
- package/dist/lib/auth/machines-base.js +3 -20
- package/dist/lib/net/market.js +19 -8
- package/dist/lib/net/route-base.d.ts +9 -0
- package/dist/lib/net/route-base.js +34 -0
- package/dist/program-deps.js +2 -0
- package/dist/program.d.ts +1 -1
- package/dist/program.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,17 +36,17 @@ More: [docs/reference.md](docs/reference.md#token-auth-ci-and-headless).
|
|
|
36
36
|
|
|
37
37
|
## Commands
|
|
38
38
|
|
|
39
|
-
| Command | What it does
|
|
40
|
-
| ----------------------------- |
|
|
41
|
-
| `agentage setup` | Sign in, install your account's profile, show status, start the daemon
|
|
42
|
-
| `agentage setup --no-browser` | Print the sign-in URL instead of opening a browser
|
|
43
|
-
| `agentage setup --reauth` | Force a fresh sign-in
|
|
44
|
-
| `agentage setup --disconnect` | Sign out and remove local credentials
|
|
45
|
-
| `agentage status` | Version, update, target, sign-in, endpoint, then machine, profile, extensions
|
|
46
|
-
| `agentage update` | Install the latest published version (`--check` only reports)
|
|
47
|
-
| `agentage daemon status` | The local daemon on 127.0.0.1:4243 (`stop`, `restart`); `setup` starts it
|
|
48
|
-
| `agentage extension ...` | Manage extensions, see [Extensions](#extensions)
|
|
49
|
-
| any command with `--json` | One JSON object on stdout: `{ success, data }` or `{ success, error }`
|
|
39
|
+
| Command | What it does |
|
|
40
|
+
| ----------------------------- | ---------------------------------------------------------------------------------- |
|
|
41
|
+
| `agentage setup` | Sign in, install your account's profile, show status, start the daemon |
|
|
42
|
+
| `agentage setup --no-browser` | Print the sign-in URL instead of opening a browser |
|
|
43
|
+
| `agentage setup --reauth` | Force a fresh sign-in |
|
|
44
|
+
| `agentage setup --disconnect` | Sign out and remove local credentials |
|
|
45
|
+
| `agentage status` | Version, update, target, sign-in, endpoint, then machine, profile, extensions |
|
|
46
|
+
| `agentage update` | Install the latest published version (`--check` only reports) |
|
|
47
|
+
| `agentage daemon status` | The local daemon on 127.0.0.1:4243 (`start`, `stop`, `restart`); `setup` starts it |
|
|
48
|
+
| `agentage extension ...` | Manage extensions, see [Extensions](#extensions) |
|
|
49
|
+
| any command with `--json` | One JSON object on stdout: `{ success, data }` or `{ success, error }` |
|
|
50
50
|
|
|
51
51
|
More: [author commands](docs/extensions.md#author-commands) and [the lifecycle](docs/extensions.md#lifecycle).
|
|
52
52
|
|
|
@@ -95,14 +95,16 @@ export const runDaemonRestart = async (ensure = () => ensureDaemon(), settle = s
|
|
|
95
95
|
const HELP = `
|
|
96
96
|
The daemon runs the installed extensions on 127.0.0.1 (port 4243, AGENTAGE_DAEMON_PORT for
|
|
97
97
|
another), one child process each, and serves /api/{id}/* and /host/extensions. setup starts it,
|
|
98
|
-
and so does each command that needs it
|
|
98
|
+
and so does each command that needs it; daemon start prints its pid, url, protocol and startedBy
|
|
99
|
+
(AGENTAGE_STARTED_BY=desktop when the desktop starts it). daemon.json in the config folder names its pid and port.`;
|
|
99
100
|
export const registerDaemon = (program, actions) => {
|
|
100
101
|
const group = program
|
|
101
102
|
.command('daemon')
|
|
102
|
-
.description('
|
|
103
|
+
.description('Start, show, stop or restart the local daemon that runs extensions')
|
|
103
104
|
.allowExcessArguments()
|
|
104
105
|
.addHelpText('after', HELP)
|
|
105
106
|
.action(helpOrUnknown);
|
|
107
|
+
addJson(group.command('start').description('Connect to the daemon, or start it')).action(actions.start);
|
|
106
108
|
addJson(group.command('status').description('Show the daemon and its extensions')).action(actions.status);
|
|
107
109
|
addJson(group.command('stop').description('Stop the daemon and every extension')).action(actions.stop);
|
|
108
110
|
addJson(group.command('restart').description('Stop the daemon, then start it')).action(actions.restart);
|
|
@@ -6,4 +6,5 @@ export interface DaemonRunDeps {
|
|
|
6
6
|
export declare const clockRateOf: (env?: NodeJS.ProcessEnv) => {
|
|
7
7
|
clockRate?: number;
|
|
8
8
|
};
|
|
9
|
+
export declare const startedByOf: (env?: NodeJS.ProcessEnv) => string;
|
|
9
10
|
export declare const runDaemon: (deps: DaemonRunDeps) => Promise<void>;
|
|
@@ -9,6 +9,12 @@ export const clockRateOf = (env = process.env) => {
|
|
|
9
9
|
const raw = env['AGENTAGE_DAEMON_CLOCK_RATE'];
|
|
10
10
|
return raw ? { clockRate: Number(raw) } : {};
|
|
11
11
|
};
|
|
12
|
+
const STARTERS = ['cli', 'desktop'];
|
|
13
|
+
// C5: the desktop sets AGENTAGE_STARTED_BY=desktop; unset or another value is the cli.
|
|
14
|
+
export const startedByOf = (env = process.env) => {
|
|
15
|
+
const raw = env['AGENTAGE_STARTED_BY'] ?? '';
|
|
16
|
+
return STARTERS.includes(raw) ? raw : 'cli';
|
|
17
|
+
};
|
|
12
18
|
const signalled = () => new Promise((resolve) => {
|
|
13
19
|
process.once('SIGTERM', resolve);
|
|
14
20
|
process.once('SIGINT', resolve);
|
|
@@ -40,7 +46,11 @@ export const runDaemon = async (deps) => {
|
|
|
40
46
|
version: VERSION,
|
|
41
47
|
...clockRateOf(),
|
|
42
48
|
};
|
|
43
|
-
const daemon = await createDaemon({
|
|
49
|
+
const daemon = await createDaemon({
|
|
50
|
+
...opts,
|
|
51
|
+
install: deps.installer(),
|
|
52
|
+
startedBy: startedByOf(),
|
|
53
|
+
}).catch(busy);
|
|
44
54
|
await stopping;
|
|
45
55
|
await daemon.stop();
|
|
46
56
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DaemonFile } from '../../lib/daemon/daemon-file.js';
|
|
2
|
+
export interface DaemonStart {
|
|
3
|
+
pid: number;
|
|
4
|
+
url: string;
|
|
5
|
+
protocol: number;
|
|
6
|
+
startedBy: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const runDaemonStart: (ensure?: () => Promise<number>, read?: () => DaemonFile | null) => Promise<DaemonStart>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ensureDaemon } from '../../lib/daemon/daemon-client.js';
|
|
2
|
+
import { readDaemonFile } from '../../lib/daemon/daemon-file.js';
|
|
3
|
+
import { CliError } from '../../lib/json-output.js';
|
|
4
|
+
// Connect-or-start: the running daemon of this config folder, else a new one.
|
|
5
|
+
export const runDaemonStart = async (ensure = () => ensureDaemon(), read = readDaemonFile) => {
|
|
6
|
+
const port = await ensure();
|
|
7
|
+
const file = read();
|
|
8
|
+
if (!file || file.port !== port)
|
|
9
|
+
throw new CliError('daemon_unavailable', `no daemon.json names the daemon on 127.0.0.1:${port}`);
|
|
10
|
+
const { pid, protocol, startedBy } = file;
|
|
11
|
+
const url = `http://127.0.0.1:${port}`;
|
|
12
|
+
console.log(`daemon: running on 127.0.0.1:${port}, pid ${pid}, started by ${startedBy}`);
|
|
13
|
+
return { pid, url, protocol, startedBy };
|
|
14
|
+
};
|
|
@@ -8,7 +8,7 @@ import { installCreated, trustFrom } from './create-install.js';
|
|
|
8
8
|
import { terminalIo } from './lifecycle.js';
|
|
9
9
|
const run = promisify(execFile);
|
|
10
10
|
export const TEMPLATE = 'agentage/extension-template';
|
|
11
|
-
export const PARTS = ['pages', 'ui', 'api', 'mcp', 'worker', 'store', 'cli'];
|
|
11
|
+
export const PARTS = ['pages', 'ui', 'api', 'mcp', 'worker', 'store', 'cli', 'app'];
|
|
12
12
|
const ROUTED = ['pages', 'ui', 'api', 'mcp'];
|
|
13
13
|
// `_` is a separator here, so `template__echo` is the id too.
|
|
14
14
|
const WORD = /(?<![A-Za-z0-9])template(?![A-Za-z0-9])/g;
|
|
@@ -21,6 +21,7 @@ const PRUNE = {
|
|
|
21
21
|
mcp: { keys: [['agentage', 'settings', 'mcp.listing']], paths: ['template.mcpc.json'] },
|
|
22
22
|
api: { paths: ['openapi.json'] },
|
|
23
23
|
store: { paths: ['migrations', 'seeds'] },
|
|
24
|
+
app: { keys: [['agentage', 'app']], paths: ['src/app-part.test.tsx', 'src/app-lint.test.ts'] },
|
|
24
25
|
};
|
|
25
26
|
const refusal = ({ id, parts, from = TEMPLATE }, kept) => {
|
|
26
27
|
const unknown = parts.find((part) => !PARTS.includes(part));
|
|
@@ -105,7 +106,7 @@ const CI = join('.github', 'workflows', 'ci.yml');
|
|
|
105
106
|
const FLOOR = /MIN_EXECUTED: '\d+'/;
|
|
106
107
|
const LOWERED = " ci MIN_EXECUTED is 1: after the first green run, set it to the gate's count";
|
|
107
108
|
const BY_HAND = ` ci no MIN_EXECUTED line found in ${CI}: set it by hand to the gate's count`;
|
|
108
|
-
// The template's floor counts the gate's tests for all
|
|
109
|
+
// The template's floor counts the gate's tests for all eight parts; a subset's count is unknown.
|
|
109
110
|
const lowerFloor = (dir, kept) => {
|
|
110
111
|
if (kept.length === PARTS.length)
|
|
111
112
|
return undefined;
|
|
@@ -159,7 +160,7 @@ export const addCreate = (group, create) => addJson(group
|
|
|
159
160
|
.command('create')
|
|
160
161
|
.description('Create ./extension-<id> from the extension template with the parts named')
|
|
161
162
|
.argument('<id>', 'the extension id, also its host and contract name')
|
|
162
|
-
.argument('[parts...]', `parts to keep (default: all
|
|
163
|
+
.argument('[parts...]', `parts to keep (default: all eight): ${PARTS.join(', ')}`)
|
|
163
164
|
.option('--from <owner/repo[#branch]>', `the template repo (default: ${TEMPLATE})`)
|
|
164
165
|
.option('--no-install', 'build the folder, but do not give it to the daemon')
|
|
165
166
|
.option('--yes', 'run code from another --from repo or branch without asking')).action((id, parts, o) => create({ id, parts, ...o }));
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { isRecord } from '../fs/json-file.js';
|
|
2
2
|
import {} from '../net/discovery.js';
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
export const forgetMachinesBases = () => chosen.clear();
|
|
3
|
+
import { forgetRouteBases, routeCall } from '../net/route-base.js';
|
|
4
|
+
export const forgetMachinesBases = forgetRouteBases;
|
|
6
5
|
// The machines route's own 404 is MACHINE_NOT_FOUND; any other 404 is a host without the route.
|
|
7
6
|
const missingRoute = async (res) => {
|
|
8
7
|
if (res.status !== 404)
|
|
@@ -15,20 +14,4 @@ const missingRoute = async (res) => {
|
|
|
15
14
|
return error['code'] !== 'MACHINE_NOT_FOUND';
|
|
16
15
|
};
|
|
17
16
|
// `machines` first, then the v13 `fallback` on a missing route; a 5xx decides nothing.
|
|
18
|
-
export const machinesCall =
|
|
19
|
-
const { machines, fallback } = platform;
|
|
20
|
-
const known = chosen.get(machines);
|
|
21
|
-
if (known !== undefined || fallback === undefined)
|
|
22
|
-
return call(`${known ?? machines}${path}`);
|
|
23
|
-
const res = await call(`${machines}${path}`);
|
|
24
|
-
if (!(await missingRoute(res))) {
|
|
25
|
-
if (res.status < 500)
|
|
26
|
-
chosen.set(machines, machines);
|
|
27
|
-
return res;
|
|
28
|
-
}
|
|
29
|
-
await res.body?.cancel();
|
|
30
|
-
const old = await call(`${fallback}${path}`);
|
|
31
|
-
if (old.status < 500 && !(await missingRoute(old)))
|
|
32
|
-
chosen.set(machines, fallback);
|
|
33
|
-
return old;
|
|
34
|
-
};
|
|
17
|
+
export const machinesCall = (platform, path, call) => routeCall({ primary: platform.machines, fallback: platform.fallback }, path, call, missingRoute);
|
package/dist/lib/net/market.js
CHANGED
|
@@ -3,6 +3,7 @@ import { CliError, messageOf } from '../json-output.js';
|
|
|
3
3
|
import { cliFetch } from './fetch.js';
|
|
4
4
|
import { answered, isTimeout, marketError, noDiscovery, noMarket, notTheDocument, unreached, } from './market-error.js';
|
|
5
5
|
import { links, siteFqdn } from './origins.js';
|
|
6
|
+
import { routeCall } from './route-base.js';
|
|
6
7
|
const TIMEOUT_MS = 5_000;
|
|
7
8
|
const EXACT = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$/;
|
|
8
9
|
const timed = (url) => cliFetch(url, {}, { timeoutMs: TIMEOUT_MS });
|
|
@@ -12,8 +13,18 @@ const fetched = (get, url) => get(url).catch((err) => {
|
|
|
12
13
|
const bodyOf = (res, url) => res.json().catch((err) => {
|
|
13
14
|
throw isTimeout(err) ? unreached(url, err, TIMEOUT_MS) : answered(url, res.status, 'no JSON');
|
|
14
15
|
});
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
// Every market answers 404 NOT_FOUND for an unknown id and for a route it lacks alike.
|
|
17
|
+
const anyNotFound = (res) => Promise.resolve(res.status === 404);
|
|
18
|
+
// `/api/market/extensions` (one-image host) first, else the v13 `/api/v1/extensions`.
|
|
19
|
+
const json = async (get, origin, path) => {
|
|
20
|
+
const bases = {
|
|
21
|
+
primary: `${origin}/api/market/extensions`,
|
|
22
|
+
fallback: `${origin}/api/v1/extensions`,
|
|
23
|
+
};
|
|
24
|
+
const at = { url: '' };
|
|
25
|
+
const call = (url) => fetched(get, (at.url = url));
|
|
26
|
+
const res = await routeCall(bases, path, call, anyNotFound);
|
|
27
|
+
const url = at.url;
|
|
17
28
|
if (res.status === 404)
|
|
18
29
|
return null;
|
|
19
30
|
if (!res.ok)
|
|
@@ -67,8 +78,8 @@ export const openMarket = (fqdn = siteFqdn(), get = timed, known) => {
|
|
|
67
78
|
let data;
|
|
68
79
|
try {
|
|
69
80
|
base ??= marketUrl(fqdn, get);
|
|
70
|
-
const path =
|
|
71
|
-
data = (await json(get,
|
|
81
|
+
const path = `/${encodeURIComponent(id)}/latest`;
|
|
82
|
+
data = (await json(get, await base, path))?.['data'];
|
|
72
83
|
}
|
|
73
84
|
catch (err) {
|
|
74
85
|
failure ??= err instanceof CliError ? err : marketError('market_failed', messageOf(err));
|
|
@@ -84,15 +95,15 @@ const AT_ONCE = 8;
|
|
|
84
95
|
// A market that repeats its cursor would page for ever; past this the listing stops.
|
|
85
96
|
export const MAX_PAGES = 20;
|
|
86
97
|
// Every row of the market list, page after page while `meta.nextCursor` names one.
|
|
87
|
-
const pages = async (get,
|
|
98
|
+
const pages = async (get, base, cursor, page = 1) => {
|
|
88
99
|
if (page > MAX_PAGES)
|
|
89
100
|
throw marketError('market_failed', `the market list has more than ${MAX_PAGES} pages of ${PAGE}; stopped there`);
|
|
90
101
|
const query = `?limit=${PAGE}${cursor ? `&cursor=${encodeURIComponent(cursor)}` : ''}`;
|
|
91
|
-
const body = await json(get,
|
|
102
|
+
const body = await json(get, base, query);
|
|
92
103
|
const data = Array.isArray(body?.['data']) ? body['data'] : [];
|
|
93
104
|
const meta = body?.['meta'];
|
|
94
105
|
const next = isRecord(meta) && typeof meta['nextCursor'] === 'string' ? meta['nextCursor'] : '';
|
|
95
|
-
return next && data.length > 0 ? [...data, ...(await pages(get,
|
|
106
|
+
return next && data.length > 0 ? [...data, ...(await pages(get, base, next, page + 1))] : data;
|
|
96
107
|
};
|
|
97
108
|
// A row without an exact version (the market of today lists none) asks /latest for it.
|
|
98
109
|
const offered = async (row, market) => {
|
|
@@ -116,7 +127,7 @@ const offered = async (row, market) => {
|
|
|
116
127
|
// fails it; a row that cannot be read is skipped with its reason.
|
|
117
128
|
export const listMarket = async (fqdn = siteFqdn(), get = timed) => {
|
|
118
129
|
const base = await marketUrl(fqdn, get);
|
|
119
|
-
const rows = await pages(get,
|
|
130
|
+
const rows = await pages(get, base);
|
|
120
131
|
const found = [];
|
|
121
132
|
for (let i = 0; i < rows.length; i += AT_ONCE) {
|
|
122
133
|
const batch = rows.slice(i, i + AT_ONCE);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Call = (url: string) => Promise<Response>;
|
|
2
|
+
export interface Bases {
|
|
3
|
+
primary: string;
|
|
4
|
+
fallback?: string;
|
|
5
|
+
}
|
|
6
|
+
export type Missing = (res: Response) => Promise<boolean>;
|
|
7
|
+
export declare const forgetRouteBases: () => void;
|
|
8
|
+
export declare const routeCall: ({ primary, fallback }: Bases, path: string, call: Call, missing: Missing) => Promise<Response>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { isRecord } from '../fs/json-file.js';
|
|
2
|
+
// The base that answered, per primary base: a v13 row costs one 404 per run, not one per call.
|
|
3
|
+
const chosen = new Map();
|
|
4
|
+
export const forgetRouteBases = () => chosen.clear();
|
|
5
|
+
// 4xx codes a route itself answers; 401, 403, 429 or an unknown body may be the edge's, not the route's.
|
|
6
|
+
const OWNED = new Set(['VALIDATION_ERROR', 'CONFLICT', 'PRECONDITION_FAILED', 'MACHINE_NOT_FOUND']);
|
|
7
|
+
const codeOf = async (res) => {
|
|
8
|
+
const body = await res
|
|
9
|
+
.clone()
|
|
10
|
+
.json()
|
|
11
|
+
.catch(() => null);
|
|
12
|
+
const error = isRecord(body) && isRecord(body['error']) ? body['error'] : {};
|
|
13
|
+
return error['code'];
|
|
14
|
+
};
|
|
15
|
+
// Only a 2xx or the route's own refusal pins a base.
|
|
16
|
+
const pins = async (res) => res.ok || (res.status >= 400 && res.status < 500 && OWNED.has(String(await codeOf(res))));
|
|
17
|
+
// `primary` first, then `fallback` on a missing route; a 5xx, 401, 403 or 429 decides nothing.
|
|
18
|
+
export const routeCall = async ({ primary, fallback }, path, call, missing) => {
|
|
19
|
+
const known = chosen.get(primary);
|
|
20
|
+
if (known !== undefined || fallback === undefined)
|
|
21
|
+
return call(`${known ?? primary}${path}`);
|
|
22
|
+
const res = await call(`${primary}${path}`);
|
|
23
|
+
if (!(await missing(res))) {
|
|
24
|
+
if (await pins(res))
|
|
25
|
+
chosen.set(primary, primary);
|
|
26
|
+
return res;
|
|
27
|
+
}
|
|
28
|
+
// Unawaited: a tee'd body (a clone) cancels only once its sibling does.
|
|
29
|
+
void res.body?.cancel().catch(() => undefined);
|
|
30
|
+
const old = await call(`${fallback}${path}`);
|
|
31
|
+
if (!(await missing(old)) && (await pins(old)))
|
|
32
|
+
chosen.set(primary, fallback);
|
|
33
|
+
return old;
|
|
34
|
+
};
|
package/dist/program-deps.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {} from './commands/auth/setup.js';
|
|
2
2
|
import { runDaemonRestart, runDaemonStatus, runDaemonStop } from './commands/daemon/daemon.js';
|
|
3
|
+
import { runDaemonStart } from './commands/daemon/start.js';
|
|
3
4
|
import { cliInstaller, npmNewest } from './commands/daemon/installer.js';
|
|
4
5
|
import { moveBeforeStart } from './commands/daemon/move.js';
|
|
5
6
|
import { runDaemon } from './commands/daemon/run.js';
|
|
@@ -84,6 +85,7 @@ export const defaultDeps = {
|
|
|
84
85
|
extensionDown: (opts) => runExtensionDown(opts),
|
|
85
86
|
extensionToken: (opts) => runExtensionToken(opts),
|
|
86
87
|
daemon: {
|
|
88
|
+
start: () => runDaemonStart(),
|
|
87
89
|
status: () => runDaemonStatus(),
|
|
88
90
|
stop: () => runDaemonStop(),
|
|
89
91
|
restart: () => runDaemonRestart(),
|
package/dist/program.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface ProgramDeps {
|
|
|
35
35
|
extensionUp: Run<ExtensionUpFlags>;
|
|
36
36
|
extensionDown: Run<ExtensionDownOptions>;
|
|
37
37
|
extensionToken: Run<ExtensionTokenOptions>;
|
|
38
|
-
daemon: Record<'status' | 'stop' | 'restart' | 'run', Run<DaemonOptions>>;
|
|
38
|
+
daemon: Record<'start' | 'status' | 'stop' | 'restart' | 'run', Run<DaemonOptions>>;
|
|
39
39
|
kitTool: LoadKitTool;
|
|
40
40
|
updateHint: () => string | null;
|
|
41
41
|
refreshUpdateCache: () => Promise<void>;
|
package/dist/program.js
CHANGED
|
@@ -70,6 +70,7 @@ export const createProgram = (deps = defaultDeps, argv = process.argv) => {
|
|
|
70
70
|
registerUpdate(program, withAction(deps, deps.update));
|
|
71
71
|
const daemon = (fn) => withAction(deps, fn);
|
|
72
72
|
registerDaemon(program, {
|
|
73
|
+
start: daemon(deps.daemon.start),
|
|
73
74
|
status: daemon(deps.daemon.status),
|
|
74
75
|
stop: daemon(deps.daemon.stop),
|
|
75
76
|
restart: daemon(deps.daemon.restart),
|