iit-mcp-autotask 0.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +123 -0
- package/LICENSE +21 -0
- package/README.md +788 -0
- package/capabilities.json +487 -0
- package/dist/access/gate.d.ts +34 -0
- package/dist/access/gate.js +76 -0
- package/dist/access/grants.d.ts +20 -0
- package/dist/access/grants.js +35 -0
- package/dist/access/write-env.d.ts +41 -0
- package/dist/access/write-env.js +166 -0
- package/dist/auth.d.ts +74 -0
- package/dist/auth.js +129 -0
- package/dist/base-hosts.d.ts +38 -0
- package/dist/base-hosts.js +70 -0
- package/dist/config/load.d.ts +28 -0
- package/dist/config/load.js +105 -0
- package/dist/config/schema.d.ts +166 -0
- package/dist/config/schema.js +311 -0
- package/dist/credential.d.ts +28 -0
- package/dist/credential.js +32 -0
- package/dist/doctor.d.ts +112 -0
- package/dist/doctor.js +154 -0
- package/dist/http-guard.d.ts +57 -0
- package/dist/http-guard.js +134 -0
- package/dist/http.d.ts +50 -0
- package/dist/http.js +290 -0
- package/dist/lifecycle.d.ts +29 -0
- package/dist/lifecycle.js +52 -0
- package/dist/logger.d.ts +26 -0
- package/dist/logger.js +28 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.js +283 -0
- package/dist/policy.d.ts +54 -0
- package/dist/policy.js +80 -0
- package/dist/tools/aggregate.d.ts +16 -0
- package/dist/tools/aggregate.js +64 -0
- package/dist/tools/capabilities-manifest.d.ts +4 -0
- package/dist/tools/capabilities-manifest.js +94 -0
- package/dist/tools/catalog-data.d.ts +116 -0
- package/dist/tools/catalog-data.js +207 -0
- package/dist/tools/clock.d.ts +17 -0
- package/dist/tools/clock.js +43 -0
- package/dist/tools/composites.d.ts +36 -0
- package/dist/tools/composites.js +305 -0
- package/dist/tools/context/client.d.ts +41 -0
- package/dist/tools/context/client.js +139 -0
- package/dist/tools/context/derive.d.ts +9 -0
- package/dist/tools/context/derive.js +32 -0
- package/dist/tools/context/scope.d.ts +24 -0
- package/dist/tools/context/scope.js +180 -0
- package/dist/tools/context/types.d.ts +141 -0
- package/dist/tools/context/types.js +2 -0
- package/dist/tools/dispatch.d.ts +78 -0
- package/dist/tools/dispatch.js +272 -0
- package/dist/tools/field-pointer.d.ts +25 -0
- package/dist/tools/field-pointer.js +45 -0
- package/dist/tools/guide.d.ts +30 -0
- package/dist/tools/guide.js +97 -0
- package/dist/tools/lists.d.ts +9 -0
- package/dist/tools/lists.js +205 -0
- package/dist/tools/meta.d.ts +22 -0
- package/dist/tools/meta.js +709 -0
- package/dist/tools/output-file.d.ts +26 -0
- package/dist/tools/output-file.js +140 -0
- package/dist/tools/rank.d.ts +21 -0
- package/dist/tools/rank.js +57 -0
- package/dist/tools/reasons.d.ts +33 -0
- package/dist/tools/reasons.js +121 -0
- package/dist/tools/register.d.ts +23 -0
- package/dist/tools/register.js +50 -0
- package/dist/tools/resolves.d.ts +28 -0
- package/dist/tools/resolves.js +399 -0
- package/dist/tools/results/envelope.d.ts +55 -0
- package/dist/tools/results/envelope.js +63 -0
- package/dist/tools/results/errors.d.ts +147 -0
- package/dist/tools/results/errors.js +384 -0
- package/dist/tools/results/untrusted.d.ts +129 -0
- package/dist/tools/results/untrusted.js +218 -0
- package/dist/tools/revenue-rollup.d.ts +8 -0
- package/dist/tools/revenue-rollup.js +112 -0
- package/dist/tools/schemas.d.ts +467 -0
- package/dist/tools/schemas.js +444 -0
- package/dist/tools/scope-guard.d.ts +2 -0
- package/dist/tools/scope-guard.js +11 -0
- package/dist/tools/server-version.d.ts +3 -0
- package/dist/tools/server-version.js +14 -0
- package/dist/tools/server.d.ts +92 -0
- package/dist/tools/server.js +170 -0
- package/dist/tools/surface.d.ts +37 -0
- package/dist/tools/surface.js +94 -0
- package/dist/tools/tsv.d.ts +52 -0
- package/dist/tools/tsv.js +95 -0
- package/dist/tools/write/apply.d.ts +40 -0
- package/dist/tools/write/apply.js +500 -0
- package/dist/tools/write/checks.d.ts +39 -0
- package/dist/tools/write/checks.js +137 -0
- package/dist/tools/write/common.d.ts +23 -0
- package/dist/tools/write/common.js +33 -0
- package/dist/tools/write/facts.d.ts +52 -0
- package/dist/tools/write/facts.js +151 -0
- package/dist/tools/write/outcome.d.ts +23 -0
- package/dist/tools/write/outcome.js +67 -0
- package/dist/tools/write/parse.d.ts +37 -0
- package/dist/tools/write/parse.js +166 -0
- package/dist/tools/write/payload.d.ts +44 -0
- package/dist/tools/write/payload.js +119 -0
- package/dist/tools/write/preview.d.ts +3 -0
- package/dist/tools/write/preview.js +317 -0
- package/dist/tools/write/snapshot.d.ts +68 -0
- package/dist/tools/write/snapshot.js +360 -0
- package/dist/tools/write-guidance.d.ts +174 -0
- package/dist/tools/write-guidance.js +317 -0
- package/dist/tools/write.d.ts +9 -0
- package/dist/tools/write.js +10 -0
- package/dist/write/canonical.d.ts +12 -0
- package/dist/write/canonical.js +31 -0
- package/dist/write/evaluate.d.ts +77 -0
- package/dist/write/evaluate.js +91 -0
- package/dist/write/hard-rules.d.ts +49 -0
- package/dist/write/hard-rules.js +48 -0
- package/dist/write/runtime.d.ts +37 -0
- package/dist/write/runtime.js +72 -0
- package/dist/write/store/audit-log.d.ts +13 -0
- package/dist/write/store/audit-log.js +25 -0
- package/dist/write/store/constants.d.ts +34 -0
- package/dist/write/store/constants.js +35 -0
- package/dist/write/store/files.d.ts +44 -0
- package/dist/write/store/files.js +157 -0
- package/dist/write/store/heartbeat.d.ts +9 -0
- package/dist/write/store/heartbeat.js +65 -0
- package/dist/write/store/ledger.d.ts +15 -0
- package/dist/write/store/ledger.js +86 -0
- package/dist/write/store/lifecycle.d.ts +35 -0
- package/dist/write/store/lifecycle.js +114 -0
- package/dist/write/store/lock.d.ts +97 -0
- package/dist/write/store/lock.js +464 -0
- package/dist/write/store/op-lock.d.ts +13 -0
- package/dist/write/store/op-lock.js +175 -0
- package/dist/write/store/plan-store.d.ts +7 -0
- package/dist/write/store/plan-store.js +48 -0
- package/dist/write/store/plans.d.ts +5 -0
- package/dist/write/store/plans.js +19 -0
- package/dist/write/store/types.d.ts +195 -0
- package/dist/write/store/types.js +2 -0
- package/dist/write/store.d.ts +6 -0
- package/dist/write/store.js +182 -0
- package/examples/agentgateway.write-gate.yaml +29 -0
- package/package.json +71 -0
- package/server.json +69 -0
- package/skills/ar-aging.md +65 -0
- package/skills/company-360.md +69 -0
- package/skills/contract-profitability.md +65 -0
- package/skills/crm-management.md +87 -0
- package/skills/filter-semantics.md +75 -0
- package/skills/invoice-export.md +61 -0
- package/skills/log-time-entry.md +77 -0
- package/skills/non-chargeable-work.md +67 -0
- package/skills/portfolio-margin.md +66 -0
- package/skills/recurring-revenue.md +65 -0
- package/skills/revenue-rollup.md +65 -0
- package/skills/slim-reads.md +67 -0
- package/skills/ticket-triage.md +64 -0
- package/skills/unbilled-work-review.md +66 -0
- package/skills/wip-hours.md +68 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The state-lock facts and standing of one store (issue #55, #68, #88): `lockInfo` for /ready, `blocked` (the kill switch, a closed store, a
|
|
3
|
+
* removed holder registration) and the primary-lock release a closing primary performs. `isClosed` is a live callback.
|
|
4
|
+
*/
|
|
5
|
+
import { type FSWatcher } from 'node:fs';
|
|
6
|
+
import type { Logger } from '../../logger.js';
|
|
7
|
+
import type { LockInfo, LockTakeover, StateStore } from './types.js';
|
|
8
|
+
export declare function lockInfoOf({ lockPath, leasePath, holdersDir, now }: {
|
|
9
|
+
lockPath: string;
|
|
10
|
+
leasePath: string;
|
|
11
|
+
holdersDir: string;
|
|
12
|
+
now: () => number;
|
|
13
|
+
}): LockInfo;
|
|
14
|
+
export declare function createBlocked({ killFile, myHolder, log, isClosed, onKill }: {
|
|
15
|
+
killFile: string;
|
|
16
|
+
myHolder: string;
|
|
17
|
+
log: Logger;
|
|
18
|
+
isClosed: () => boolean;
|
|
19
|
+
onKill?: () => void;
|
|
20
|
+
}): StateStore['blocked'];
|
|
21
|
+
/**
|
|
22
|
+
* Issue #311: the kill file fires `onKill` when it is created, touched or removed, even if no write runs while it
|
|
23
|
+
* exists (a created-then-removed file leaves no trace a later check could see). A watch on its directory, filtered
|
|
24
|
+
* by name (a platform that reports no name counts as a kill: fail closed). Unwatchable (a missing directory): the
|
|
25
|
+
* blocked() check is the only trigger, with a warning.
|
|
26
|
+
*/
|
|
27
|
+
export declare function watchKillFile(killFile: string, onKill: (() => void) | undefined, log: Logger): FSWatcher | undefined;
|
|
28
|
+
/** Only the store that TOOK the lock releases it (and its lease). */
|
|
29
|
+
export declare function releasePrimaryLock({ ownsLock, lockPath, leasePath }: {
|
|
30
|
+
ownsLock: boolean;
|
|
31
|
+
lockPath: string;
|
|
32
|
+
leasePath: string;
|
|
33
|
+
}): void;
|
|
34
|
+
/** The takeover is audited now that the store is open (audit takes the op lock itself). */
|
|
35
|
+
export declare function auditTakeover(store: StateStore, takeover: LockTakeover | undefined, now: () => number): void;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The state-lock facts and standing of one store (issue #55, #68, #88): `lockInfo` for /ready, `blocked` (the kill switch, a closed store, a
|
|
3
|
+
* removed holder registration) and the primary-lock release a closing primary performs. `isClosed` is a live callback.
|
|
4
|
+
*/
|
|
5
|
+
import { readFileSync, unlinkSync, watch } from 'node:fs';
|
|
6
|
+
import { basename, dirname } from 'node:path';
|
|
7
|
+
import { LEASE_EXPIRY_MS } from './constants.js';
|
|
8
|
+
import { killFilePresent } from './files.js';
|
|
9
|
+
import { holderCount, lockState, readLease } from './lock.js';
|
|
10
|
+
export function lockInfoOf({ lockPath, leasePath, holdersDir, now }) {
|
|
11
|
+
const out = { held: lockState(lockPath) === 'held', holders: holderCount(holdersDir) };
|
|
12
|
+
let lock;
|
|
13
|
+
try {
|
|
14
|
+
lock = JSON.parse(readFileSync(lockPath, 'utf8'));
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
return out; // the lock is gone or unreadable: no holder facts to report
|
|
18
|
+
}
|
|
19
|
+
if (typeof lock.pid === 'number') {
|
|
20
|
+
out.holder = {
|
|
21
|
+
pid: lock.pid,
|
|
22
|
+
...(typeof lock.boot === 'string' ? { boot: lock.boot } : {}),
|
|
23
|
+
...(typeof lock.host === 'string' ? { host: lock.host } : {}),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
if (typeof lock.startedAt === 'string') {
|
|
27
|
+
const started = Date.parse(lock.startedAt);
|
|
28
|
+
if (Number.isFinite(started))
|
|
29
|
+
out.ageMs = Math.max(0, now() - started);
|
|
30
|
+
}
|
|
31
|
+
const lease = readLease(leasePath, now());
|
|
32
|
+
if (lease.kind === 'aged') {
|
|
33
|
+
out.leaseAgeMs = lease.age;
|
|
34
|
+
out.leaseExpired = lease.age > LEASE_EXPIRY_MS;
|
|
35
|
+
}
|
|
36
|
+
return out;
|
|
37
|
+
}
|
|
38
|
+
// Writes also stop when this process's own holder registration disappears at runtime
|
|
39
|
+
// (issue #68): a primary lock being replaced by another boot NEVER blocks this process's
|
|
40
|
+
// writes — the op lock and the fresh reads make the sharing safe.
|
|
41
|
+
export function createBlocked({ killFile, myHolder, log, isClosed, onKill }) {
|
|
42
|
+
return () => {
|
|
43
|
+
if (killFilePresent(killFile)) {
|
|
44
|
+
onKill?.();
|
|
45
|
+
return { code: 'KILL_SWITCH', next: 'stop', detail: 'writes are stopped by the kill switch' };
|
|
46
|
+
}
|
|
47
|
+
// Final review R12: after close() the state is gone.
|
|
48
|
+
if (isClosed())
|
|
49
|
+
return { code: 'STATE_UNAVAILABLE', next: 'stop', detail: 'the server is shutting down; writes are stopped' };
|
|
50
|
+
try {
|
|
51
|
+
readFileSync(myHolder, 'utf8');
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
if (err.code === 'ENOENT') {
|
|
55
|
+
log.error('this process\'s holder registration is gone: writes are stopped', { file: myHolder });
|
|
56
|
+
return { code: 'STATE_UNAVAILABLE', next: 'stop', detail: 'this server\'s state registration was removed; writes stop until it is restarted' };
|
|
57
|
+
}
|
|
58
|
+
log.warn('this process\'s holder registration could not be read: this write waits', { file: myHolder });
|
|
59
|
+
return { code: 'STATE_UNAVAILABLE', next: 'retry', detail: 'the state dir could not be read just now; retry shortly' };
|
|
60
|
+
}
|
|
61
|
+
return undefined;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Issue #311: the kill file fires `onKill` when it is created, touched or removed, even if no write runs while it
|
|
66
|
+
* exists (a created-then-removed file leaves no trace a later check could see). A watch on its directory, filtered
|
|
67
|
+
* by name (a platform that reports no name counts as a kill: fail closed). Unwatchable (a missing directory): the
|
|
68
|
+
* blocked() check is the only trigger, with a warning.
|
|
69
|
+
*/
|
|
70
|
+
export function watchKillFile(killFile, onKill, log) {
|
|
71
|
+
if (onKill === undefined)
|
|
72
|
+
return undefined;
|
|
73
|
+
const name = basename(killFile);
|
|
74
|
+
try {
|
|
75
|
+
const w = watch(dirname(killFile), (_event, file) => {
|
|
76
|
+
if (file === null || file === name)
|
|
77
|
+
onKill();
|
|
78
|
+
});
|
|
79
|
+
w.on('error', (err) => log.warn('the kill file watch failed: only a write that sees the kill file ends session grants', { file: killFile, error: String(err.message) }));
|
|
80
|
+
w.unref();
|
|
81
|
+
return w;
|
|
82
|
+
}
|
|
83
|
+
catch (err) {
|
|
84
|
+
log.warn('the kill file directory cannot be watched: only a write that sees the kill file ends session grants', { file: killFile, error: String(err?.message ?? err) });
|
|
85
|
+
return undefined;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
/** Only the store that TOOK the lock releases it (and its lease). */
|
|
89
|
+
export function releasePrimaryLock({ ownsLock, lockPath, leasePath }) {
|
|
90
|
+
if (ownsLock && lockState(lockPath) === 'held') {
|
|
91
|
+
try {
|
|
92
|
+
unlinkSync(lockPath);
|
|
93
|
+
unlinkSync(leasePath);
|
|
94
|
+
}
|
|
95
|
+
catch {
|
|
96
|
+
// The lock is gone or unreadable: nothing of ours to release.
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/** The takeover is audited now that the store is open (audit takes the op lock itself). */
|
|
101
|
+
export function auditTakeover(store, takeover, now) {
|
|
102
|
+
if (takeover !== undefined) {
|
|
103
|
+
store.audit({
|
|
104
|
+
event: 'lock_takeover',
|
|
105
|
+
principal: 'system',
|
|
106
|
+
op: 'state.lock',
|
|
107
|
+
decision: 'takeover',
|
|
108
|
+
reasons: [takeover.reason],
|
|
109
|
+
deadPid: takeover.deadPid,
|
|
110
|
+
...(takeover.deadBoot !== undefined ? { deadBoot: takeover.deadBoot } : {}),
|
|
111
|
+
}, now());
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=lifecycle.js.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { Logger } from '../../logger.js';
|
|
2
|
+
import type { LockTakeover } from './types.js';
|
|
3
|
+
export declare function pidAlive(pid: number): boolean;
|
|
4
|
+
export type HolderVerdict = {
|
|
5
|
+
pid: number;
|
|
6
|
+
boot: unknown;
|
|
7
|
+
reason: LockTakeover['reason'];
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* This process's boot identity, written into the lock and the holder registry (pre-release V5).
|
|
11
|
+
* A lock naming this process's own pid but another boot is a previous run's (in a container node
|
|
12
|
+
* is PID 1 on every start, so after a SIGKILL or an OOM kill the old lock names the new process's
|
|
13
|
+
* pid): it is stale. Another pid counts as live while that pid is alive (conservative: a recycled
|
|
14
|
+
* pid of an unrelated process refuses boot until an operator removes the lock, see the README).
|
|
15
|
+
*/
|
|
16
|
+
export declare const BOOT_ID: string;
|
|
17
|
+
/**
|
|
18
|
+
* The host (container) this process runs on, written into the lock (final review R6). In a
|
|
19
|
+
* container the hostname is the container id unless the deployment overrides it.
|
|
20
|
+
*/
|
|
21
|
+
export declare const HOST_ID: string;
|
|
22
|
+
export declare function holderAlive(pid: number, boot: unknown): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether this process still holds the lock: `held`, `lost` (deleted, or another holder), or
|
|
25
|
+
* `unknown` (the file could not be read just now, e.g. EIO or EMFILE: pre-release V7).
|
|
26
|
+
*/
|
|
27
|
+
export declare function lockState(path: string): 'held' | 'lost' | 'unknown';
|
|
28
|
+
/**
|
|
29
|
+
* The process-scoped holder registration (issue #68): the registration is per PROCESS (one per
|
|
30
|
+
* state dir), and a process can hold more than one store instance (the unit tests) — the ref
|
|
31
|
+
* count keeps the first instance's close from unlinking the registration out from under the
|
|
32
|
+
* others.
|
|
33
|
+
*/
|
|
34
|
+
export declare const holderRefs: Map<string, number>;
|
|
35
|
+
/**
|
|
36
|
+
* Register this boot in the holder registry (issue #68) BEFORE any other state work: the
|
|
37
|
+
* registration is what the boot rewrite consults when it decides which `sending` entries belong
|
|
38
|
+
* to live peers, and it is the runtime stop signal (a deleted registration stops this process's
|
|
39
|
+
* writes). The lease is written with the same per-writer-tmp idiom as the lock's.
|
|
40
|
+
*/
|
|
41
|
+
export declare function registerHolder(holdersDir: string, now: () => number): string;
|
|
42
|
+
/** Release this store's ref on the registration; the file goes when the last ref goes. */
|
|
43
|
+
export declare function releaseHolder(holderPath: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* The boot sweep (issue #68): remove the registry entries of peers that are no longer alive —
|
|
46
|
+
* another host's files are never touched (R6). A holder is DEAD when its entry names this
|
|
47
|
+
* process's own pid from an earlier boot (a live pid is unique, so that "holder" is a dead
|
|
48
|
+
* previous run — the container-PID-1 case, the same self-previous-boot exception the lock's
|
|
49
|
+
* takeover verdict has), when its pid answers ESRCH (a kill -9 / OOM restart inside the lease
|
|
50
|
+
* window: a same-host dead pid cannot be a live holder — the fresh-lease veto is liveness
|
|
51
|
+
* evidence for a LIVE-but-slow holder, not for a process that no longer exists), or when its
|
|
52
|
+
* lease is expired (the pid may be a recycled one — a recycled pid is no evidence). A live pid
|
|
53
|
+
* with a fresh lease stays, and a live pid with no readable lease (a legacy holder we cannot
|
|
54
|
+
* judge) stays, as before.
|
|
55
|
+
*/
|
|
56
|
+
export declare function sweepHolders(holdersDir: string, log: Logger, now: () => number): void;
|
|
57
|
+
/** The holder's lease heartbeat file, atomically rewritten (tmp + fsync + rename, 0600). */
|
|
58
|
+
export declare function writeLease(path: string, at: number): void;
|
|
59
|
+
/** The lease file as a takeover may read it: absent (no veto), corrupt (refuse), or aged. */
|
|
60
|
+
export type LeaseReading = {
|
|
61
|
+
kind: 'absent';
|
|
62
|
+
} | {
|
|
63
|
+
kind: 'corrupt';
|
|
64
|
+
} | {
|
|
65
|
+
kind: 'aged';
|
|
66
|
+
age: number;
|
|
67
|
+
boot?: unknown;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Read the holder's lease: `absent` when the file is not there (a pre-lease 0.6.0 holder — no
|
|
71
|
+
* veto, the pid probe decides), `corrupt` when it is but is unreadable or carries no numeric `at`
|
|
72
|
+
* (fail closed: refuse boot rather than open a takeover on a file the holder would never leave
|
|
73
|
+
* behind — our writes are atomic renames), or `aged` with its age in ms.
|
|
74
|
+
*/
|
|
75
|
+
export declare function readLease(path: string, now: number): LeaseReading;
|
|
76
|
+
export declare function primaryVerdict(path: string, now: () => number): {
|
|
77
|
+
kind: 'secondary';
|
|
78
|
+
} | {
|
|
79
|
+
kind: 'wait';
|
|
80
|
+
midCreate?: boolean;
|
|
81
|
+
midStartPid?: number;
|
|
82
|
+
} | {
|
|
83
|
+
kind: 'dead';
|
|
84
|
+
verdict: HolderVerdict;
|
|
85
|
+
};
|
|
86
|
+
export declare function takeLock(path: string, log: Logger, now: () => number, waitMs: number): {
|
|
87
|
+
takeover: LockTakeover | undefined;
|
|
88
|
+
ownsLock: boolean;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* The boot ids registered in `<state>/holders/` (no liveness filter, issue #68). Only the boot-id
|
|
92
|
+
* shape is a registration: the lease and the per-writer lease tmp never pass, so a beat in flight
|
|
93
|
+
* neither counts as a holder nor is ever read as a registry entry.
|
|
94
|
+
*/
|
|
95
|
+
export declare function holderNames(holdersDir: string): string[];
|
|
96
|
+
/** The /ready `holders` fact (issue #68): how many processes are registered, including this one. */
|
|
97
|
+
export declare function holderCount(holdersDir: string): number;
|