@lelouchhe/agent-evals 0.0.0-stage → 0.2.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 (105) hide show
  1. package/.env.example +27 -0
  2. package/LICENSE +21 -0
  3. package/README.md +121 -2
  4. package/dist/checkers/file/index.d.ts +26 -0
  5. package/dist/checkers/file/index.js +396 -0
  6. package/dist/checkers/judge/index.d.ts +20 -0
  7. package/dist/checkers/judge/index.js +474 -0
  8. package/dist/checkers/judge/prompt.d.ts +19 -0
  9. package/dist/checkers/judge/prompt.js +55 -0
  10. package/dist/checkers/judge/trace.d.ts +6 -0
  11. package/dist/checkers/judge/trace.js +41 -0
  12. package/dist/checkers/mock/index.d.ts +18 -0
  13. package/dist/checkers/mock/index.js +127 -0
  14. package/dist/checkers/shell/index.d.ts +10 -0
  15. package/dist/checkers/shell/index.js +61 -0
  16. package/dist/checkers/trace/index.d.ts +22 -0
  17. package/dist/checkers/trace/index.js +183 -0
  18. package/dist/cli.d.ts +2 -0
  19. package/dist/cli.js +453 -0
  20. package/dist/engine/authoring.d.ts +24 -0
  21. package/dist/engine/authoring.js +356 -0
  22. package/dist/engine/check-runner.d.ts +1 -0
  23. package/dist/engine/check-runner.js +127 -0
  24. package/dist/engine/check-sandbox.d.ts +18 -0
  25. package/dist/engine/check-sandbox.js +171 -0
  26. package/dist/engine/config.d.ts +171 -0
  27. package/dist/engine/config.js +368 -0
  28. package/dist/engine/env-source.d.ts +10 -0
  29. package/dist/engine/env-source.js +114 -0
  30. package/dist/engine/files.d.ts +84 -0
  31. package/dist/engine/files.js +304 -0
  32. package/dist/engine/forwarder.sh +61 -0
  33. package/dist/engine/ignore.d.ts +29 -0
  34. package/dist/engine/ignore.js +67 -0
  35. package/dist/engine/messages.d.ts +8 -0
  36. package/dist/engine/messages.js +9 -0
  37. package/dist/engine/mock-match.d.ts +44 -0
  38. package/dist/engine/mock-match.js +104 -0
  39. package/dist/engine/mocks.d.ts +35 -0
  40. package/dist/engine/mocks.js +336 -0
  41. package/dist/engine/params.d.ts +18 -0
  42. package/dist/engine/params.js +96 -0
  43. package/dist/engine/placement.d.ts +26 -0
  44. package/dist/engine/placement.js +107 -0
  45. package/dist/engine/regex.d.ts +10 -0
  46. package/dist/engine/regex.js +16 -0
  47. package/dist/engine/registry.d.ts +243 -0
  48. package/dist/engine/registry.js +127 -0
  49. package/dist/engine/report.d.ts +17 -0
  50. package/dist/engine/report.js +420 -0
  51. package/dist/engine/results.d.ts +50 -0
  52. package/dist/engine/results.js +42 -0
  53. package/dist/engine/run.d.ts +50 -0
  54. package/dist/engine/run.js +710 -0
  55. package/dist/engine/runtime-assets.d.ts +6 -0
  56. package/dist/engine/runtime-assets.js +11 -0
  57. package/dist/engine/skills.d.ts +49 -0
  58. package/dist/engine/skills.js +270 -0
  59. package/dist/engine/truncate.d.ts +3 -0
  60. package/dist/engine/truncate.js +7 -0
  61. package/dist/engine/values.d.ts +18 -0
  62. package/dist/engine/values.js +75 -0
  63. package/dist/engine/view.d.ts +10 -0
  64. package/dist/engine/view.js +150 -0
  65. package/dist/engine/workspace.d.ts +63 -0
  66. package/dist/engine/workspace.js +305 -0
  67. package/dist/index.d.ts +16 -0
  68. package/dist/index.js +7 -0
  69. package/dist/platform/macos/launch.d.ts +13 -0
  70. package/dist/platform/macos/launch.js +14 -0
  71. package/dist/platform/macos/policy.d.ts +33 -0
  72. package/dist/platform/macos/policy.js +131 -0
  73. package/dist/platform/macos/supervise.d.ts +26 -0
  74. package/dist/platform/macos/supervise.js +98 -0
  75. package/dist/platform/macos/supervisor.sh +13 -0
  76. package/dist/runners/acp/agent.d.ts +17 -0
  77. package/dist/runners/acp/agent.js +38 -0
  78. package/dist/runners/acp/commands.d.ts +2 -0
  79. package/dist/runners/acp/commands.js +112 -0
  80. package/dist/runners/acp/environment.d.ts +71 -0
  81. package/dist/runners/acp/environment.js +280 -0
  82. package/dist/runners/acp/index.d.ts +21 -0
  83. package/dist/runners/acp/index.js +135 -0
  84. package/dist/runners/acp/session.d.ts +7 -0
  85. package/dist/runners/acp/session.js +48 -0
  86. package/dist/runners/acp/trace.d.ts +23 -0
  87. package/dist/runners/acp/trace.js +44 -0
  88. package/dist/runners/acp/usage.d.ts +12 -0
  89. package/dist/runners/acp/usage.js +56 -0
  90. package/dist/runners/noop/index.d.ts +12 -0
  91. package/dist/runners/noop/index.js +22 -0
  92. package/dist/runners/pi/index.d.ts +21 -0
  93. package/dist/runners/pi/index.js +116 -0
  94. package/dist/runners/pi/params.d.ts +10 -0
  95. package/dist/runners/pi/params.js +3 -0
  96. package/dist/runners/pi/rpc.d.ts +30 -0
  97. package/dist/runners/pi/rpc.js +341 -0
  98. package/dist/runners/pi/safe-process-group.d.ts +7 -0
  99. package/dist/runners/pi/safe-process-group.js +13 -0
  100. package/dist/runners/pi/session.d.ts +56 -0
  101. package/dist/runners/pi/session.js +298 -0
  102. package/dist/runners/pi/shell-wrapper.sh +46 -0
  103. package/dist/runners/pi/supervisor.d.ts +1 -0
  104. package/dist/runners/pi/supervisor.js +101 -0
  105. package/package.json +77 -4
@@ -0,0 +1,127 @@
1
+ import { z } from "zod";
2
+ import { ConfigError, errorMessage, expectMockArgs, expectMockTarget, mockTargetIdentity, } from "../../engine/config.js";
3
+ import { compileMockArgs } from "../../engine/mock-match.js";
4
+ import { truncate } from "../../engine/truncate.js";
5
+ const MAX_REASON = 800;
6
+ const MAX_LISTED_CALLS = 10;
7
+ const mockCheckParamsSchema = z
8
+ .strictObject({
9
+ /** A declared `mocks.shell` target, then the mock rule's argument grammar. */
10
+ shell: z.array(z.unknown()).min(1, "must name a target"),
11
+ times: z.number().int().min(0, "must be a non-negative integer").optional(),
12
+ })
13
+ .superRefine((params, context) => {
14
+ const [target, ...rest] = params.shell;
15
+ if (typeof target !== "string" || target.length === 0) {
16
+ context.addIssue({ code: "custom", path: ["shell", 0], message: "must be a non-empty target" });
17
+ }
18
+ else if (target.length >= 2 && target.startsWith("/") && target.endsWith("/")) {
19
+ context.addIssue({
20
+ code: "custom",
21
+ path: ["shell", 0],
22
+ message: "must be a literal declared target, not a /…/ pattern",
23
+ });
24
+ }
25
+ else {
26
+ try {
27
+ // The same shape a `mocks.shell` target must have, so identity cannot normalise it away.
28
+ expectMockTarget(target, "shell[0]");
29
+ }
30
+ catch (error) {
31
+ context.addIssue({ code: "custom", path: ["shell", 0], message: errorMessage(error) });
32
+ }
33
+ }
34
+ try {
35
+ expectMockArgs(rest, "shell");
36
+ }
37
+ catch (error) {
38
+ context.addIssue({ code: "custom", path: ["shell"], message: errorMessage(error) });
39
+ }
40
+ })
41
+ .transform((params) => {
42
+ const [target, ...rest] = params.shell;
43
+ return {
44
+ target,
45
+ args: expectMockArgs(rest, "shell"),
46
+ ...(params.times === undefined ? {} : { times: params.times }),
47
+ };
48
+ });
49
+ /** Assert on the calls the run recorded for one declared `mocks.shell` target. */
50
+ export const mockChecker = {
51
+ type: "mock",
52
+ params: mockCheckParamsSchema,
53
+ create(params, context) {
54
+ return new MockChecker(params, requireDeclaredTarget(context.mockTargets, params.target));
55
+ },
56
+ };
57
+ /** The declared spelling of the target a check names, or a load-time error. */
58
+ function requireDeclaredTarget(targets, requested) {
59
+ if (targets === undefined) {
60
+ throw new ConfigError(`mock checker "${requested}" needs a case that declares mocks`);
61
+ }
62
+ const identity = mockTargetIdentity(requested);
63
+ const declared = targets.find((target) => mockTargetIdentity(target) === identity);
64
+ if (declared === undefined) {
65
+ const available = targets.length === 0 ? "none" : targets.join(", ");
66
+ throw new ConfigError(`mock checker "${requested}" is not a declared mocks.shell target (declared: ${available})`);
67
+ }
68
+ return declared;
69
+ }
70
+ class MockChecker {
71
+ #params;
72
+ #target;
73
+ #matches;
74
+ constructor(params, target) {
75
+ this.#params = params;
76
+ this.#target = target;
77
+ this.#matches = compileMockArgs(params.args);
78
+ }
79
+ check = async (context) => {
80
+ const subject = `${this.#target} ${renderArgs(this.#params.args)}`.trim();
81
+ const calls = (context.mockRecords ?? [])
82
+ .filter((record) => record.target === this.#target)
83
+ .filter((record) => this.#matches(record.arguments));
84
+ const expected = this.#params.times;
85
+ const matched = expected === undefined ? calls.length >= 1 : calls.length === expected;
86
+ return [
87
+ {
88
+ checker: "mock",
89
+ subject,
90
+ status: matched ? "pass" : "fail",
91
+ reason: matched
92
+ ? `found ${count(calls.length)}`
93
+ : describeFailure(calls.map((call) => call.arguments), expected),
94
+ },
95
+ ];
96
+ };
97
+ }
98
+ function describeFailure(found, expected) {
99
+ const wanted = expected === undefined ? "at least 1 matching call" : `exactly ${count(expected)}`;
100
+ const listed = found
101
+ .slice(0, MAX_LISTED_CALLS)
102
+ .map((arguments_) => JSON.stringify(arguments_))
103
+ .join(", ");
104
+ return truncate(`expected ${wanted}, found ${count(found.length)}${listed === "" ? "" : `: ${listed}`}`, MAX_REASON);
105
+ }
106
+ function count(value) {
107
+ return `${value} call${value === 1 ? "" : "s"}`;
108
+ }
109
+ /** Render the check's own argument grammar for the result's subject. */
110
+ function renderArgs(args) {
111
+ const positional = args.positional.map(renderPattern);
112
+ return [...positional, ...(args.options.length === 0 ? [] : [renderOptions(args.options)])].join(" ");
113
+ }
114
+ function renderOptions(options) {
115
+ const entries = options.map((option) => {
116
+ const key = renderPattern(option.key);
117
+ if (option.kind === "required")
118
+ return `${key}:true`;
119
+ if (option.kind === "forbidden")
120
+ return `${key}:false`;
121
+ return `${key}:${renderPattern(option.value)}`;
122
+ });
123
+ return `{${entries.join(",")}}`;
124
+ }
125
+ function renderPattern(pattern) {
126
+ return pattern.regex ? `/${pattern.source}/` : pattern.source;
127
+ }
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ import type { CheckerDefinition } from "../../engine/registry.js";
3
+ declare const shellCheckParamsSchema: z.ZodObject<{
4
+ run: z.ZodArray<z.ZodString>;
5
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6
+ }, z.core.$strict>;
7
+ type ShellCheckParams = z.output<typeof shellCheckParamsSchema>;
8
+ /** Run an author's program after the run and judge its exit status in the check sandbox. */
9
+ export declare const shellChecker: CheckerDefinition<ShellCheckParams>;
10
+ export {};
@@ -0,0 +1,61 @@
1
+ import { z } from "zod";
2
+ import { truncate } from "../../engine/truncate.js";
3
+ const MAX_REASON = 800;
4
+ const MAX_SUBJECT = 200;
5
+ const shellCheckParamsSchema = z.strictObject({
6
+ /** A program and its arguments, started in the workspace root; never a shell interpreter. */
7
+ run: z.array(z.string().min(1, "must be a non-empty string")).min(1, "must name a program"),
8
+ /** Authoring files the engine stages into the workspace only after the agent stopped. */
9
+ files: z.record(z.string(), z.string()).optional(),
10
+ });
11
+ /** Run an author's program after the run and judge its exit status in the check sandbox. */
12
+ export const shellChecker = {
13
+ type: "shell",
14
+ params: shellCheckParamsSchema,
15
+ async create(params, context) {
16
+ await context.validateCheckPlatform();
17
+ if (params.files !== undefined)
18
+ await context.validateFiles(params.files);
19
+ return new ShellChecker(params);
20
+ },
21
+ };
22
+ class ShellChecker {
23
+ #params;
24
+ constructor(params) {
25
+ this.#params = params;
26
+ }
27
+ check = async (context) => {
28
+ const subject = truncate(`run ${this.#params.run.join(" ")}`, MAX_SUBJECT);
29
+ context.signal.throwIfAborted();
30
+ const outcome = await context.checkSandbox.run(this.#params.run, this.#params.files === undefined ? undefined : { files: this.#params.files });
31
+ switch (outcome.kind) {
32
+ case "exited": {
33
+ if (outcome.exitCode === 0) {
34
+ return [{ checker: "shell", subject, status: "pass", reason: "exit status 0" }];
35
+ }
36
+ return [
37
+ {
38
+ checker: "shell",
39
+ subject,
40
+ status: "fail",
41
+ reason: failureReason(outcome.exitCode, outcome.output),
42
+ },
43
+ ];
44
+ }
45
+ case "signalled":
46
+ return [{ checker: "shell", subject, status: "error", reason: `program died from ${outcome.signal}` }];
47
+ case "failed":
48
+ return [{ checker: "shell", subject, status: "error", reason: truncate(outcome.reason, MAX_REASON) }];
49
+ }
50
+ };
51
+ }
52
+ /** Keep the end of the output, where a test runner's assertion failure is. */
53
+ function failureReason(exitCode, output) {
54
+ const header = `exit status ${exitCode}`;
55
+ const text = output.trim();
56
+ if (text === "")
57
+ return header;
58
+ const available = MAX_REASON - header.length - 2;
59
+ const body = text.length <= available ? text : `…${text.slice(-(available - 1))}`;
60
+ return `${header}: ${body}`;
61
+ }
@@ -0,0 +1,22 @@
1
+ import { z } from "zod";
2
+ import type { PatternSyntax } from "../../engine/config.js";
3
+ import type { CheckerDefinition } from "../../engine/registry.js";
4
+ /** `event: skill` asserts on the skills the run consulted, derived from completed tool calls. */
5
+ declare const skillEventSchema: z.ZodObject<{
6
+ event: z.ZodLiteral<"skill">;
7
+ name: z.ZodPipe<z.ZodUnknown, z.ZodTransform<PatternSyntax, unknown>>;
8
+ times: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strict>;
10
+ /** One declared pattern of a message assertion and whether it must be found or must be absent. */
11
+ interface DeclaredPattern {
12
+ readonly kind: "matches" | "notMatches";
13
+ readonly pattern: PatternSyntax;
14
+ }
15
+ type SkillParams = z.output<typeof skillEventSchema>;
16
+ type TraceCheckParams = SkillParams | {
17
+ readonly event: "message";
18
+ readonly patterns: readonly DeclaredPattern[];
19
+ };
20
+ /** Assert on derived trace events: the skills a run consulted, or the text it produced. */
21
+ export declare const traceChecker: CheckerDefinition<TraceCheckParams>;
22
+ export {};
@@ -0,0 +1,183 @@
1
+ import { z } from "zod";
2
+ import { messageText } from "../../engine/messages.js";
3
+ import { patternListSchema, patternSyntaxSchema } from "../../engine/params.js";
4
+ import { searches } from "../../engine/regex.js";
5
+ import { skillConsultations, shellSkillAccess } from "../../engine/skills.js";
6
+ import { truncate } from "../../engine/truncate.js";
7
+ const MAX_REASON = 800;
8
+ const MAX_LISTED_SKILLS = 10;
9
+ /** Report an unexpected parameter by name: each event accepts only the fields it asserts on. */
10
+ function acceptsOnly(accepted) {
11
+ return (issue) => issue.code === "unrecognized_keys" ? `accepts only ${accepted}; unexpected: ${issue.keys?.join(", ")}` : undefined;
12
+ }
13
+ /** `event: skill` asserts on the skills the run consulted, derived from completed tool calls. */
14
+ const skillEventSchema = z
15
+ .strictObject({
16
+ event: z.literal("skill"),
17
+ /** The skill's name: a literal for one exact name, or a /…/ RE2 pattern searched within it. */
18
+ name: patternSyntaxSchema,
19
+ /** The exact number of matching consultations; omitted means at least one. */
20
+ times: z.number().int().min(0, "must be a non-negative integer").optional(),
21
+ }, { error: acceptsOnly("event, name and times for a skill event") })
22
+ .superRefine((params, context) => {
23
+ if (!params.name.regex && params.times !== undefined && params.times > 1) {
24
+ context.addIssue({
25
+ code: "custom",
26
+ path: ["times"],
27
+ message: "must be 0 or 1 with a literal name, which matches at most one skill",
28
+ });
29
+ }
30
+ });
31
+ /** `event: message` asserts on the text the agent produced, joined from every `message` entry. */
32
+ const messageEventSchema = z
33
+ .strictObject({
34
+ event: z.literal("message"),
35
+ /** Text the artifact must hold: a literal substring, or a /…/ RE2 pattern searched within it. */
36
+ matches: patternListSchema.optional(),
37
+ /** Text the artifact must not hold, in the same grammar. */
38
+ notMatches: patternListSchema.optional(),
39
+ }, { error: acceptsOnly("event, matches and notMatches for a message event") })
40
+ .superRefine((params, context) => {
41
+ if (params.matches === undefined && params.notMatches === undefined) {
42
+ context.addIssue({ code: "custom", message: "needs at least one of matches or notMatches" });
43
+ }
44
+ });
45
+ const traceCheckParamsSchema = z
46
+ .discriminatedUnion("event", [skillEventSchema, messageEventSchema], {
47
+ error: (issue) => issue.code === "invalid_union" ? 'must be "skill" or "message" (accepted events: skill, message)' : undefined,
48
+ })
49
+ .transform((params) => params.event === "message"
50
+ ? {
51
+ event: "message",
52
+ patterns: [
53
+ ...(params.matches ?? []).map((pattern) => ({ kind: "matches", pattern })),
54
+ ...(params.notMatches ?? []).map((pattern) => ({ kind: "notMatches", pattern })),
55
+ ],
56
+ }
57
+ : params);
58
+ /** Assert on derived trace events: the skills a run consulted, or the text it produced. */
59
+ export const traceChecker = {
60
+ type: "trace",
61
+ params: traceCheckParamsSchema,
62
+ create(params) {
63
+ return new TraceChecker(params);
64
+ },
65
+ };
66
+ class TraceChecker {
67
+ #params;
68
+ constructor(params) {
69
+ this.#params = params;
70
+ }
71
+ check = async (context) => {
72
+ const params = this.#params;
73
+ return params.event === "message" ? messages(context, params.patterns) : skills(context, params);
74
+ };
75
+ }
76
+ async function skills(context, params) {
77
+ const { name, times } = params;
78
+ const subject = `skill ${display(name)}`;
79
+ if (context.trace === undefined) {
80
+ return [
81
+ {
82
+ checker: "trace",
83
+ subject,
84
+ status: "error",
85
+ reason: "this runner records no trace, so no skill consultation can be derived",
86
+ },
87
+ ];
88
+ }
89
+ const sources = {
90
+ workspace: context.workspace,
91
+ home: context.home,
92
+ workspaceBaseline: context.baseline,
93
+ homeBaseline: context.homeBaseline,
94
+ };
95
+ const consultations = await skillConsultations(context.trace, sources);
96
+ const shell = await shellSkillAccess(context.trace, sources);
97
+ const matching = consultations.filter((consultation) => matches(name, consultation.name));
98
+ const satisfied = times === undefined ? matching.length >= 1 : matching.length === times;
99
+ return [
100
+ {
101
+ checker: "trace",
102
+ subject,
103
+ status: satisfied ? "pass" : "fail",
104
+ reason: truncate((satisfied ? found(matching, consultations) : expected(name, times, consultations, matching)) +
105
+ shellNote(shell), MAX_REASON),
106
+ },
107
+ ];
108
+ }
109
+ /** Assert on the joined agent text; a run that produced none is an error, never a vacuous pass. */
110
+ function messages(context, patterns) {
111
+ const text = context.trace === undefined ? undefined : messageText(context.trace);
112
+ if (text === undefined) {
113
+ return [
114
+ {
115
+ checker: "trace",
116
+ subject: "message",
117
+ status: "error",
118
+ reason: "this runner records no trace, so no message text can be derived",
119
+ },
120
+ ];
121
+ }
122
+ if (text === "") {
123
+ return [
124
+ {
125
+ checker: "trace",
126
+ subject: "message",
127
+ status: "error",
128
+ reason: "the trace holds no message text, so there is nothing to assert on",
129
+ },
130
+ ];
131
+ }
132
+ return patterns.map(({ kind, pattern }) => {
133
+ const found = pattern.regex ? searches(pattern.source, text) : text.includes(pattern.source);
134
+ return {
135
+ checker: "trace",
136
+ subject: `message ${kind === "matches" ? "matches" : "does not match"} ${quoted(pattern)}`,
137
+ status: found === (kind === "matches") ? "pass" : "fail",
138
+ reason: found ? "pattern found" : "pattern not found",
139
+ };
140
+ });
141
+ }
142
+ /** A literal names one exact skill; a /…/ pattern is searched within the name. */
143
+ function matches(pattern, name) {
144
+ return pattern.regex ? searches(pattern.source, name) : name === pattern.source;
145
+ }
146
+ function expected(name, times, consultations, matching) {
147
+ const wanted = times === undefined ? `expected ${display(name)}` : `expected exactly ${count(times)} of ${display(name)}`;
148
+ return `${wanted}, consulted: ${listed(consultations)}${fallbackNote(matching)}`;
149
+ }
150
+ /** A pass still names what the run consulted, so a reader sees why the check held. */
151
+ function found(matching, consultations) {
152
+ return `found ${count(matching.length)}, consulted: ${listed(consultations)}${fallbackNote(matching)}`;
153
+ }
154
+ function listed(consultations) {
155
+ return consultations.length === 0
156
+ ? "none"
157
+ : consultations
158
+ .slice(0, MAX_LISTED_SKILLS)
159
+ .map((consultation) => consultation.name)
160
+ .join(", ") + (consultations.length > MAX_LISTED_SKILLS ? ", …" : "");
161
+ }
162
+ /** Shell access is reported, never counted: it does not change the status or the count. */
163
+ function shellNote(shell) {
164
+ return shell.length === 0 ? "" : `; touched via shell: ${listed(shell)}`;
165
+ }
166
+ /** Say when a matched name is only the skill's parent directory. */
167
+ function fallbackNote(matching) {
168
+ const unnamed = matching
169
+ .filter((consultation) => consultation.fromDirectory)
170
+ .map((consultation) => consultation.name);
171
+ return unnamed.length === 0 ? "" : ` (named from the parent directory, not frontmatter: ${unnamed.join(", ")})`;
172
+ }
173
+ /** A skill name as written; its pattern slashes already show that it is a pattern. */
174
+ function display(pattern) {
175
+ return pattern.regex ? `/${truncate(pattern.source, 120)}/` : truncate(pattern.source, 120);
176
+ }
177
+ /** A literal in quotes, or a regex between slashes, so the subject says which pattern was used. */
178
+ function quoted(pattern) {
179
+ return pattern.regex ? `/${truncate(pattern.source, 120)}/` : `"${truncate(pattern.source, 120)}"`;
180
+ }
181
+ function count(value) {
182
+ return `${value} consultation${value === 1 ? "" : "s"}`;
183
+ }
package/dist/cli.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};