dsh-eval 0.2.0 → 0.3.1
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 +33 -3
- package/README.zh.md +69 -26
- package/lib/benchmark.js +123 -0
- package/lib/command.js +97 -0
- package/lib/compare.js +177 -0
- package/lib/import.js +318 -0
- package/lib/index.js +8 -1
- package/lib/judge.js +165 -0
- package/lib/metrics.js +196 -0
- package/lib/report.js +126 -0
- package/lib/runner.js +326 -0
- package/lib/trace.js +136 -0
- package/lib/types/command.d.ts +7 -0
- package/lib/types/import.d.ts +36 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/types/types.d.ts +11 -0
- package/lib/types.js +8 -0
- package/package.json +25 -22
- package/src/benchmark.ts +9 -0
- package/src/command.ts +27 -0
- package/src/import.ts +327 -0
- package/src/index.ts +8 -1
- package/src/runner.ts +56 -16
- package/src/types.ts +12 -0
- package/LICENSE +0 -21
package/lib/trace.js
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session-log harvesting and parsing for dsh-eval. A trial's headless dsh
|
|
3
|
+
* writes a plain-JSONL session log under its DSH_HOME; the importer reads the
|
|
4
|
+
* header line, decodes every event row (packed chunk rows included) through
|
|
5
|
+
* the session package's storage decoder, and enforces seq continuity.
|
|
6
|
+
*
|
|
7
|
+
* @module dsh-eval/trace
|
|
8
|
+
*/
|
|
9
|
+
import { readFile, readdir, stat } from 'node:fs/promises';
|
|
10
|
+
import { join } from 'node:path';
|
|
11
|
+
import { decodeStorageRecord, SessionId } from '@deepseek-ai/dsh-session';
|
|
12
|
+
import { z } from 'zod';
|
|
13
|
+
const headerSchema = z.object({
|
|
14
|
+
type: z.literal('session'),
|
|
15
|
+
id: z.string().min(1),
|
|
16
|
+
createdAt: z.number().nonnegative(),
|
|
17
|
+
}).loose();
|
|
18
|
+
/**
|
|
19
|
+
* Parse a plain-JSONL session log into a trace.
|
|
20
|
+
* @param text - the log file's UTF-8 text, header line first.
|
|
21
|
+
* @returns the parsed trace.
|
|
22
|
+
* @throws when the header is missing or malformed, a row is not valid JSON,
|
|
23
|
+
* or event seqs are not contiguous.
|
|
24
|
+
*/
|
|
25
|
+
export function parseSessionLog(text) {
|
|
26
|
+
const lines = text.split(/\r?\n/u).filter(line => line.trim() !== '');
|
|
27
|
+
if (lines.length === 0)
|
|
28
|
+
throw new Error('empty session log');
|
|
29
|
+
const header = headerSchema.parse(JSON.parse(lines[0]));
|
|
30
|
+
const events = [];
|
|
31
|
+
for (let index = 1; index < lines.length; index++) {
|
|
32
|
+
const line = lines[index];
|
|
33
|
+
let record;
|
|
34
|
+
try {
|
|
35
|
+
record = JSON.parse(line);
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
throw new Error(`corrupt session log: invalid JSON at line ${index + 1}`);
|
|
39
|
+
}
|
|
40
|
+
for (const event of decodeStorageRecord(record)) {
|
|
41
|
+
if (event.seq !== events.length) {
|
|
42
|
+
throw new Error(`corrupt session log: seq gap at line ${index + 1} (expected ${events.length}, got ${event.seq})`);
|
|
43
|
+
}
|
|
44
|
+
events.push(event);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
sessionId: SessionId(header.id),
|
|
49
|
+
createdAt: header.createdAt,
|
|
50
|
+
events,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Load and parse the primary session log at a path.
|
|
55
|
+
* @param path - absolute path to a `session.jsonl` file.
|
|
56
|
+
* @returns the parsed trace.
|
|
57
|
+
*/
|
|
58
|
+
export async function loadTrace(path) {
|
|
59
|
+
return parseSessionLog(await readFile(path, 'utf8'));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Find the newest primary `session.jsonl` under a DSH_HOME tree, descending
|
|
63
|
+
* into directories without following symlinks.
|
|
64
|
+
* @param root - the DSH_HOME directory to scan.
|
|
65
|
+
* @returns the newest primary log's absolute path, or null when none exists.
|
|
66
|
+
*/
|
|
67
|
+
export async function findPrimarySessionLog(root) {
|
|
68
|
+
let entries;
|
|
69
|
+
try {
|
|
70
|
+
entries = await readdir(root, { withFileTypes: true });
|
|
71
|
+
}
|
|
72
|
+
catch {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
let best = null;
|
|
76
|
+
for (const entry of entries) {
|
|
77
|
+
if (entry.isDirectory()) {
|
|
78
|
+
const found = await findPrimarySessionLog(join(root, entry.name));
|
|
79
|
+
if (found !== null) {
|
|
80
|
+
const mtime = (await stat(found)).mtimeMs;
|
|
81
|
+
if (best === null || mtime > best.mtime)
|
|
82
|
+
best = { path: found, mtime };
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
else if (entry.isFile() && entry.name === 'session.jsonl') {
|
|
86
|
+
const mtime = (await stat(join(root, entry.name))).mtimeMs;
|
|
87
|
+
if (best === null || mtime > best.mtime)
|
|
88
|
+
best = { path: join(root, entry.name), mtime };
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return best?.path ?? null;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Find every `session.jsonl` under a DSH_HOME tree, sorted by modification
|
|
95
|
+
* time ascending so the parent session (started first) comes first.
|
|
96
|
+
* @param root - the DSH_HOME directory to scan.
|
|
97
|
+
* @returns absolute log paths in ascending mtime order.
|
|
98
|
+
*/
|
|
99
|
+
export async function findSessionLogs(root) {
|
|
100
|
+
let entries;
|
|
101
|
+
try {
|
|
102
|
+
entries = await readdir(root, { withFileTypes: true });
|
|
103
|
+
}
|
|
104
|
+
catch {
|
|
105
|
+
return [];
|
|
106
|
+
}
|
|
107
|
+
const found = [];
|
|
108
|
+
for (const entry of entries) {
|
|
109
|
+
if (entry.isDirectory()) {
|
|
110
|
+
for (const nested of await findSessionLogs(join(root, entry.name))) {
|
|
111
|
+
found.push({ path: nested, mtime: (await stat(nested)).mtimeMs });
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
else if (entry.isFile() && entry.name === 'session.jsonl') {
|
|
115
|
+
found.push({ path: join(root, entry.name), mtime: (await stat(join(root, entry.name))).mtimeMs });
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return found.sort((a, b) => a.mtime - b.mtime).map(entry => entry.path);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Merge traces into one timeline: events from every trace sorted by event
|
|
122
|
+
* time, ties broken by source order. The primary trace's header (session id
|
|
123
|
+
* and creation time) labels the merged trace.
|
|
124
|
+
* @param traces - harvested traces, primary first.
|
|
125
|
+
* @returns the merged trace.
|
|
126
|
+
*/
|
|
127
|
+
export function mergeTraces(traces) {
|
|
128
|
+
const primary = traces[0];
|
|
129
|
+
if (primary === undefined)
|
|
130
|
+
throw new Error('mergeTraces requires at least one trace');
|
|
131
|
+
const events = traces
|
|
132
|
+
.flatMap((trace, source) => trace.events.map(event => ({ event, source })))
|
|
133
|
+
.sort((a, b) => a.event.time - b.event.time || a.source - b.source)
|
|
134
|
+
.map(entry => entry.event);
|
|
135
|
+
return { sessionId: primary.sessionId, createdAt: primary.createdAt, events };
|
|
136
|
+
}
|
package/lib/types/command.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Command } from 'commander';
|
|
10
10
|
import type { Context } from '@deepseek-ai/cordis';
|
|
11
|
+
import type { ImportFormat } from './import.ts';
|
|
11
12
|
/** What the eval app resolved from its command line. */
|
|
12
13
|
export type EvalStartupValues = {
|
|
13
14
|
kind: 'run';
|
|
@@ -23,6 +24,12 @@ export type EvalStartupValues = {
|
|
|
23
24
|
kind: 'compare';
|
|
24
25
|
runPathA: string;
|
|
25
26
|
runPathB: string;
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'import';
|
|
29
|
+
format: ImportFormat;
|
|
30
|
+
path: string;
|
|
31
|
+
outPath: string;
|
|
32
|
+
caseId: string;
|
|
26
33
|
};
|
|
27
34
|
/**
|
|
28
35
|
* Build a fresh eval commander program. The root action rejects a bare
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cross-harness trace import: Codex and Claude Code session JSONL become the
|
|
3
|
+
* eval trace vocabulary so report and compare can fold metrics over runs
|
|
4
|
+
* recorded by other agents. Each importer synthesizes one turn (and one step)
|
|
5
|
+
* per user message, preserving assistant text and tool calls/results; model
|
|
6
|
+
* token usage is not part of either external format, so token metrics stay
|
|
7
|
+
* zero.
|
|
8
|
+
*
|
|
9
|
+
* @module dsh-eval/import
|
|
10
|
+
*/
|
|
11
|
+
import type { EvalRun, EvalTrace } from './types.ts';
|
|
12
|
+
/**
|
|
13
|
+
* Import a Codex session JSONL (lines of `response_item` records) as a trace.
|
|
14
|
+
* @param text - the Codex log's UTF-8 text.
|
|
15
|
+
* @param source - the source file path, used for the synthetic session id.
|
|
16
|
+
* @returns the imported trace; non-`response_item` lines are skipped.
|
|
17
|
+
*/
|
|
18
|
+
export declare function importCodexLog(text: string, source: string): EvalTrace;
|
|
19
|
+
/**
|
|
20
|
+
* Import a Claude Code session JSONL (lines of `user`/`assistant` records) as
|
|
21
|
+
* a trace.
|
|
22
|
+
* @param text - the Claude Code log's UTF-8 text.
|
|
23
|
+
* @param source - the source file path, used for the synthetic session id.
|
|
24
|
+
* @returns the imported trace; non-user/assistant lines are skipped.
|
|
25
|
+
*/
|
|
26
|
+
export declare function importClaudeLog(text: string, source: string): EvalTrace;
|
|
27
|
+
/** Import formats the CLI accepts. */
|
|
28
|
+
export type ImportFormat = 'codex' | 'claude-code';
|
|
29
|
+
/**
|
|
30
|
+
* Load an external session log and build a one-trial run record from it.
|
|
31
|
+
* @param format - the external harness format.
|
|
32
|
+
* @param path - the session JSONL path.
|
|
33
|
+
* @param caseId - the imported trial's case id.
|
|
34
|
+
* @returns the run record with one completed trial.
|
|
35
|
+
*/
|
|
36
|
+
export declare function importTraceFile(format: ImportFormat, path: string, caseId: string): Promise<EvalRun>;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* dsh-eval
|
|
2
|
+
* dsh-eval — agent evaluation over headless dsh profiles.
|
|
3
3
|
*
|
|
4
4
|
* The eval bundle mounts this command-line plugin over dsh-base. It parses
|
|
5
5
|
* `dsh --profile eval run <benchmark.yaml>` / `report <run.json>`, spawns one
|
package/lib/types/types.d.ts
CHANGED
|
@@ -46,6 +46,15 @@ export interface BenchmarkJudge {
|
|
|
46
46
|
/** Maximum final-answer score; defaults to 10. */
|
|
47
47
|
maxScore: number;
|
|
48
48
|
}
|
|
49
|
+
/** Keyless replay configuration: recorded session logs replayed instead of live model calls. */
|
|
50
|
+
export interface BenchmarkReplay {
|
|
51
|
+
/**
|
|
52
|
+
* Directory holding one recorded-log tree per trial, named
|
|
53
|
+
* `<caseId>-<trial>/session.jsonl` (child logs ride alongside). A run with
|
|
54
|
+
* a key records these under its `tempRoot`.
|
|
55
|
+
*/
|
|
56
|
+
dir: string;
|
|
57
|
+
}
|
|
49
58
|
/** A validated benchmark document. */
|
|
50
59
|
export interface Benchmark {
|
|
51
60
|
/** Benchmark name; also the run record's `benchmark` field. */
|
|
@@ -68,6 +77,8 @@ export interface Benchmark {
|
|
|
68
77
|
pricing?: Readonly<Record<string, BenchmarkPricing>>;
|
|
69
78
|
/** LLM-judge configuration, when final-answer scoring is enabled. */
|
|
70
79
|
judge?: BenchmarkJudge;
|
|
80
|
+
/** Keyless replay configuration, when model calls replay from recorded logs. */
|
|
81
|
+
replay?: BenchmarkReplay;
|
|
71
82
|
/** Directory the benchmark document was loaded from; relative paths resolve against it. */
|
|
72
83
|
baseDir: string;
|
|
73
84
|
}
|
package/lib/types.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-eval",
|
|
3
3
|
"description": "Agent evaluation platform: benchmark YAML, headless run orchestration, trace-based metrics, and run reports",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -23,21 +23,22 @@
|
|
|
23
23
|
},
|
|
24
24
|
"./types": {
|
|
25
25
|
"types": "./lib/types/types.d.ts",
|
|
26
|
-
"default": "./lib/types
|
|
26
|
+
"default": "./lib/types.js"
|
|
27
27
|
},
|
|
28
28
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
29
29
|
"./src/*": "./src/*",
|
|
30
30
|
"./package.json": "./package.json"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
|
-
"lib
|
|
34
|
-
"lib
|
|
33
|
+
"lib/**/*.js",
|
|
34
|
+
"lib/**/*.d.ts",
|
|
35
35
|
"cordis.patch.yml",
|
|
36
|
-
"lib/types/**/*.js",
|
|
37
|
-
"lib/types/**/*.d.ts",
|
|
38
36
|
"src/**/*.ts"
|
|
39
37
|
],
|
|
40
38
|
"license": "MIT",
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=22.19.0"
|
|
41
|
+
},
|
|
41
42
|
"keywords": [
|
|
42
43
|
"deepseek-harness",
|
|
43
44
|
"dsh",
|
|
@@ -51,6 +52,14 @@
|
|
|
51
52
|
"patch": "./cordis.patch.yml"
|
|
52
53
|
}
|
|
53
54
|
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsc -p tsconfig.build.json",
|
|
57
|
+
"prepack": "npm run build",
|
|
58
|
+
"test": "vitest run",
|
|
59
|
+
"test:coverage": "vitest run --coverage",
|
|
60
|
+
"test:pack": "node scripts/pack-smoke.mjs",
|
|
61
|
+
"typecheck": "tsc --noEmit"
|
|
62
|
+
},
|
|
54
63
|
"dependencies": {
|
|
55
64
|
"commander": "^15.0.0",
|
|
56
65
|
"js-yaml": "^4.2.0",
|
|
@@ -65,24 +74,18 @@
|
|
|
65
74
|
"@deepseek-ai/dsh-session": "^0.1.0-rc.6"
|
|
66
75
|
},
|
|
67
76
|
"devDependencies": {
|
|
77
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
78
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
79
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
80
|
+
"@deepseek-ai/dsh-cmdline": "^0.1.0-rc.6",
|
|
81
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
82
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
83
|
+
"@deepseek-ai/dsh-llm-retry": "^0.1.0-rc.6",
|
|
84
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.6",
|
|
68
85
|
"@types/js-yaml": "^4.0.9",
|
|
69
86
|
"@types/node": "^22.20.0",
|
|
70
87
|
"@vitest/coverage-v8": "4.1.10",
|
|
71
88
|
"typescript": "^6.0.3",
|
|
72
|
-
"vitest": "^4.1.8"
|
|
73
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
74
|
-
"@deepseek-ai/dsh-cmdline": "^0.1.0-rc.5",
|
|
75
|
-
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
76
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.5",
|
|
77
|
-
"@deepseek-ai/dsh-llm-retry": "^0.1.0-rc.5",
|
|
78
|
-
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.5",
|
|
79
|
-
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
80
|
-
"@deepseek-ai/dsh-session": "^0.1.0-rc.5"
|
|
81
|
-
},
|
|
82
|
-
"scripts": {
|
|
83
|
-
"build": "tsc -p tsconfig.build.json",
|
|
84
|
-
"test": "vitest run",
|
|
85
|
-
"test:coverage": "vitest run --coverage",
|
|
86
|
-
"typecheck": "tsc --noEmit"
|
|
89
|
+
"vitest": "^4.1.8"
|
|
87
90
|
}
|
|
88
|
-
}
|
|
91
|
+
}
|
package/src/benchmark.ts
CHANGED
|
@@ -19,6 +19,10 @@ const judgeSchema = z.object({
|
|
|
19
19
|
maxScore: z.number().int().positive().default(10),
|
|
20
20
|
}).strict()
|
|
21
21
|
|
|
22
|
+
const replaySchema = z.object({
|
|
23
|
+
dir: z.string().min(1),
|
|
24
|
+
}).strict()
|
|
25
|
+
|
|
22
26
|
const pricingSchema = z.object({
|
|
23
27
|
inputUsdPerMTokens: z.number().nonnegative(),
|
|
24
28
|
cacheReadUsdPerMTokens: z.number().nonnegative(),
|
|
@@ -54,6 +58,7 @@ const benchmarkSchema = z.object({
|
|
|
54
58
|
cases: z.array(benchmarkCaseSchema).min(1),
|
|
55
59
|
pricing: z.record(z.string().min(1), pricingSchema).optional(),
|
|
56
60
|
judge: judgeSchema.optional(),
|
|
61
|
+
replay: replaySchema.optional(),
|
|
57
62
|
}).strict()
|
|
58
63
|
|
|
59
64
|
/**
|
|
@@ -105,6 +110,7 @@ export async function parseBenchmark(text: string, baseDir: string): Promise<Ben
|
|
|
105
110
|
}
|
|
106
111
|
const pricing = parsed.pricing
|
|
107
112
|
const judge = parsed.judge
|
|
113
|
+
const replay = parsed.replay
|
|
108
114
|
return {
|
|
109
115
|
name: parsed.name,
|
|
110
116
|
model: parsed.model,
|
|
@@ -118,6 +124,9 @@ export async function parseBenchmark(text: string, baseDir: string): Promise<Ben
|
|
|
118
124
|
...(judge !== undefined
|
|
119
125
|
? { judge: { provider: judge.provider, model: judge.model ?? parsed.model, ...(judge.rubric !== undefined ? { rubric: judge.rubric } : {}), maxScore: judge.maxScore } }
|
|
120
126
|
: {}),
|
|
127
|
+
...(replay !== undefined
|
|
128
|
+
? { replay: { dir: isAbsolute(replay.dir) ? replay.dir : resolve(baseDir, replay.dir) } }
|
|
129
|
+
: {}),
|
|
121
130
|
baseDir,
|
|
122
131
|
}
|
|
123
132
|
}
|
package/src/command.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import { Command } from 'commander'
|
|
11
11
|
import type { Context } from '@deepseek-ai/cordis'
|
|
12
12
|
import { parseCmdline } from '@deepseek-ai/dsh-cmdline'
|
|
13
|
+
import type { ImportFormat } from './import.ts'
|
|
13
14
|
|
|
14
15
|
/** What the eval app resolved from its command line. */
|
|
15
16
|
export type EvalStartupValues =
|
|
@@ -30,6 +31,13 @@ export type EvalStartupValues =
|
|
|
30
31
|
runPathA: string
|
|
31
32
|
runPathB: string
|
|
32
33
|
}
|
|
34
|
+
| {
|
|
35
|
+
kind: 'import'
|
|
36
|
+
format: ImportFormat
|
|
37
|
+
path: string
|
|
38
|
+
outPath: string
|
|
39
|
+
caseId: string
|
|
40
|
+
}
|
|
33
41
|
|
|
34
42
|
/** Options accepted by `eval run`. */
|
|
35
43
|
interface RunCommandOptions {
|
|
@@ -39,6 +47,12 @@ interface RunCommandOptions {
|
|
|
39
47
|
profile?: string
|
|
40
48
|
}
|
|
41
49
|
|
|
50
|
+
/** Options accepted by `eval import`. */
|
|
51
|
+
interface ImportCommandOptions {
|
|
52
|
+
out: string
|
|
53
|
+
caseId: string
|
|
54
|
+
}
|
|
55
|
+
|
|
42
56
|
/** Split a single `--dsh` value into argv on whitespace. */
|
|
43
57
|
function splitCommand(value: string | undefined): readonly string[] | undefined {
|
|
44
58
|
if (value === undefined) return undefined
|
|
@@ -98,6 +112,19 @@ export function evalCommand(publish: (values: EvalStartupValues) => void): Comma
|
|
|
98
112
|
.action((runPathA: string, runPathB: string) => {
|
|
99
113
|
publish({ kind: 'compare', runPathA, runPathB })
|
|
100
114
|
})
|
|
115
|
+
const importer = program.command('import').description('import an external harness session log as a run report')
|
|
116
|
+
importer
|
|
117
|
+
.argument('<format>', 'external harness format: codex or claude-code')
|
|
118
|
+
.argument('<session.jsonl>', 'path to the external session log')
|
|
119
|
+
.option('--out <path>', 'output run JSON path', 'imported-run.json')
|
|
120
|
+
.option('--case-id <id>', 'case id for the imported trial', 'imported')
|
|
121
|
+
.action((format: string, path: string, options: ImportCommandOptions) => {
|
|
122
|
+
if (format !== 'codex' && format !== 'claude-code') {
|
|
123
|
+
program.error('error: import format must be codex or claude-code')
|
|
124
|
+
return
|
|
125
|
+
}
|
|
126
|
+
publish({ kind: 'import', format, path, outPath: options.out, caseId: options.caseId })
|
|
127
|
+
})
|
|
101
128
|
return program
|
|
102
129
|
}
|
|
103
130
|
|