burnoff 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +93 -2
- package/bin/burnoff.mjs +406 -0
- package/hooks/hook-io.mjs +590 -0
- package/hooks/hooks.json +12 -0
- package/hooks/post-tool-use.mjs +118 -0
- package/hooks/pre-tool-use.mjs +149 -0
- package/package.json +42 -4
- package/src/ci/ci-gate.mjs +270 -0
- package/src/ci/pr-cost.mjs +582 -0
- package/src/ci/team-digest.mjs +123 -0
- package/src/cli/audit.mjs +196 -0
- package/src/cli/doctor.mjs +257 -0
- package/src/cli/init.mjs +306 -0
- package/src/config/catalog.json +874 -0
- package/src/config/loader.mjs +626 -0
- package/src/config/paths.mjs +196 -0
- package/src/config/policy.mjs +208 -0
- package/src/guards/loop-breaker.mjs +501 -0
- package/src/guards/post-tool-engine.mjs +573 -0
- package/src/guards/pre-tool-engine.mjs +563 -0
- package/src/guards/read-clamp.mjs +730 -0
- package/src/guards/shell-guard.mjs +1140 -0
- package/src/ipc/daemon.mjs +273 -0
- package/src/ipc/fast-client.mjs +198 -0
- package/src/ipc/protocol.mjs +142 -0
- package/src/storage/atomic-io.mjs +151 -0
- package/src/storage/file-lock.mjs +206 -0
- package/src/storage/fts5-archive.mjs +718 -0
- package/src/storage/jsonl-parser.mjs +760 -0
- package/src/storage/ledger.mjs +1150 -0
- package/src/storage/sqlite-client.mjs +566 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import os from 'node:os';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
|
|
5
|
+
export const MIN_NODE_VERSION = '20.19.0';
|
|
6
|
+
export const NATIVE_SQLITE_NODE_VERSION = '22.13.0';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Suppresses Node.js `ExperimentalWarning: SQLite is an experimental feature` on CLI and daemon entrypoints.
|
|
10
|
+
*/
|
|
11
|
+
export function suppressSqliteExperimentalWarning() {
|
|
12
|
+
if (typeof process === 'undefined' || process.__burnoffSqliteWarningSuppressed) return;
|
|
13
|
+
process.__burnoffSqliteWarningSuppressed = true;
|
|
14
|
+
if (typeof process.emitWarning === 'function') {
|
|
15
|
+
const origEmitWarning = process.emitWarning.bind(process);
|
|
16
|
+
process.emitWarning = function (warning, ...args) {
|
|
17
|
+
const msg = typeof warning === 'string' ? warning : (warning && warning.message) || '';
|
|
18
|
+
const type = typeof args[0] === 'string' ? args[0] : (args[0] && args[0].type) || (warning && warning.name) || '';
|
|
19
|
+
if ((type === 'ExperimentalWarning' && /SQLite/i.test(msg)) || /SQLite is an experimental feature/i.test(msg)) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
return origEmitWarning(warning, ...args);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
suppressSqliteExperimentalWarning();
|
|
28
|
+
|
|
29
|
+
export function parseNodeVersion(versionStr = (typeof process !== 'undefined' && process.versions?.node) || '0.0.0') {
|
|
30
|
+
const parts = String(versionStr || '0.0.0')
|
|
31
|
+
.replace(/^v/i, '')
|
|
32
|
+
.split('.')
|
|
33
|
+
.map((n) => parseInt(n, 10) || 0);
|
|
34
|
+
return { major: parts[0] || 0, minor: parts[1] || 0, patch: parts[2] || 0 };
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function isSupportedNodeVersion(versionStr = (typeof process !== 'undefined' && process.versions?.node) || '0.0.0') {
|
|
38
|
+
const { major, minor } = parseNodeVersion(versionStr);
|
|
39
|
+
return major > 20 || (major === 20 && minor >= 19);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function hasNativeNodeSqlite(versionStr = (typeof process !== 'undefined' && process.versions?.node) || '0.0.0') {
|
|
43
|
+
if (typeof process !== 'undefined' && process.env?.BURNOFF_FORCE_NO_SQLITE === '1') {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
const { major, minor } = parseNodeVersion(versionStr);
|
|
47
|
+
return major > 22 || (major === 22 && minor >= 13);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Normalizes Windows & POSIX paths and file:// URIs into a canonical forward-slash path.
|
|
52
|
+
*/
|
|
53
|
+
export function canonicalizePath(input) {
|
|
54
|
+
if (!input || typeof input !== 'string') return '';
|
|
55
|
+
let str = input.trim();
|
|
56
|
+
try {
|
|
57
|
+
str = decodeURIComponent(str);
|
|
58
|
+
} catch {
|
|
59
|
+
// ignore: leave malformed URI sequences unmodified
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
str = str.replace(/^file:\/\/\/?/i, '');
|
|
63
|
+
str = str.replace(/\\+/g, '/');
|
|
64
|
+
|
|
65
|
+
if (/^\/[a-zA-Z]:/.test(str)) {
|
|
66
|
+
str = str.slice(1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (str.length > 3 && str.endsWith('/')) {
|
|
70
|
+
str = str.replace(/\/+$/, '');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (process.platform === 'win32' || /^[a-zA-Z]:\//.test(str)) {
|
|
74
|
+
str = str.toLowerCase();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return str;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Resolves user home directory dynamically so isolated tests overriding HOME/USERPROFILE work without reload.
|
|
82
|
+
*/
|
|
83
|
+
export function getHomeDir() {
|
|
84
|
+
if (process.platform === 'win32') {
|
|
85
|
+
return process.env.USERPROFILE || process.env.HOME || os.homedir() || path.resolve('/');
|
|
86
|
+
}
|
|
87
|
+
return process.env.HOME || process.env.USERPROFILE || os.homedir() || path.resolve('/');
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Resolves `~/.burnoff/` (or `BURNOFF_HOME` override) dynamically on every call.
|
|
92
|
+
*/
|
|
93
|
+
export function getBurnoffHomeDir(homeDirOverride = null) {
|
|
94
|
+
const envOverride = typeof process !== 'undefined' && process.env?.BURNOFF_HOME
|
|
95
|
+
? String(process.env.BURNOFF_HOME).trim()
|
|
96
|
+
: '';
|
|
97
|
+
if (envOverride) return path.resolve(envOverride);
|
|
98
|
+
const home = homeDirOverride || getHomeDir();
|
|
99
|
+
return path.join(home, '.burnoff');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function getBurnoffCacheDir(homeDirOverride = null) {
|
|
103
|
+
return path.join(getBurnoffHomeDir(homeDirOverride), 'cache');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function getBurnoffRuntimeDir(homeDirOverride = null) {
|
|
107
|
+
return path.join(getBurnoffHomeDir(homeDirOverride), 'runtime');
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function getBurnoffLedgerDir(homeDirOverride = null) {
|
|
111
|
+
return path.join(getBurnoffHomeDir(homeDirOverride), 'ledger');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function getBurnoffRunDir(homeDirOverride = null) {
|
|
115
|
+
return path.join(getBurnoffHomeDir(homeDirOverride), 'run');
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function getClaudeProjectsDir(homeDirOverride = null) {
|
|
119
|
+
const home = homeDirOverride || getHomeDir();
|
|
120
|
+
return path.join(home, '.claude', 'projects');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function ensureDirSync(dirPath, mode = 0o700) {
|
|
124
|
+
if (!dirPath) return '';
|
|
125
|
+
const resolved = path.resolve(dirPath);
|
|
126
|
+
if (!fs.existsSync(resolved)) {
|
|
127
|
+
fs.mkdirSync(resolved, { recursive: true, mode });
|
|
128
|
+
}
|
|
129
|
+
return resolved;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function formatNodeUpgradeHint(versionStr = (typeof process !== 'undefined' && process.versions?.node) || '0.0.0') {
|
|
133
|
+
const cleanVer = String(versionStr || '0.0.0').replace(/^v/i, '');
|
|
134
|
+
if (!isSupportedNodeVersion(versionStr)) {
|
|
135
|
+
return [
|
|
136
|
+
`Burnoff requires Node.js >= ${MIN_NODE_VERSION} (detected v${cleanVer}; Node.js >= ${NATIVE_SQLITE_NODE_VERSION} recommended for built-in FTS5).`,
|
|
137
|
+
' Upgrade: nvm install 22 && nvm use 22'
|
|
138
|
+
].join('\n');
|
|
139
|
+
}
|
|
140
|
+
return [
|
|
141
|
+
`Burnoff running on Node.js v${cleanVer} in JSONL fallback mode (upgrade to Node.js >= ${NATIVE_SQLITE_NODE_VERSION} for native built-in FTS5 SQLite).`,
|
|
142
|
+
' Upgrade: nvm install 22 && nvm use 22'
|
|
143
|
+
].join('\n');
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function ensureSupportedNodeVersion({
|
|
147
|
+
exitOnUnsupported = false,
|
|
148
|
+
stream = process.stderr,
|
|
149
|
+
versionStr = process.versions?.node,
|
|
150
|
+
quietFallback = false
|
|
151
|
+
} = {}) {
|
|
152
|
+
if (!isSupportedNodeVersion(versionStr)) {
|
|
153
|
+
const message = formatNodeUpgradeHint(versionStr);
|
|
154
|
+
if (stream && typeof stream.write === 'function') {
|
|
155
|
+
stream.write(message + '\n');
|
|
156
|
+
}
|
|
157
|
+
if (exitOnUnsupported && typeof process !== 'undefined' && typeof process.exit === 'function') {
|
|
158
|
+
process.exit(1);
|
|
159
|
+
}
|
|
160
|
+
return { supported: false, nativeSqlite: false, fallbackMode: false, message };
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const nativeSqlite = hasNativeNodeSqlite(versionStr);
|
|
164
|
+
if (!nativeSqlite) {
|
|
165
|
+
const message = formatNodeUpgradeHint(versionStr);
|
|
166
|
+
const isJsonOutput = typeof process !== 'undefined' && Array.isArray(process.argv) && process.argv.includes('--json');
|
|
167
|
+
const alreadyWarned = typeof process !== 'undefined' && Boolean(process.__burnoffNodeFallbackWarned);
|
|
168
|
+
if (!quietFallback && !isJsonOutput && !alreadyWarned && stream && typeof stream.write === 'function') {
|
|
169
|
+
stream.write(message + '\n');
|
|
170
|
+
if (typeof process !== 'undefined') process.__burnoffNodeFallbackWarned = true;
|
|
171
|
+
}
|
|
172
|
+
return { supported: true, nativeSqlite: false, fallbackMode: true, message };
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return { supported: true, nativeSqlite: true, fallbackMode: false, message: '' };
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export default {
|
|
179
|
+
MIN_NODE_VERSION,
|
|
180
|
+
NATIVE_SQLITE_NODE_VERSION,
|
|
181
|
+
suppressSqliteExperimentalWarning,
|
|
182
|
+
parseNodeVersion,
|
|
183
|
+
isSupportedNodeVersion,
|
|
184
|
+
hasNativeNodeSqlite,
|
|
185
|
+
canonicalizePath,
|
|
186
|
+
getHomeDir,
|
|
187
|
+
getBurnoffHomeDir,
|
|
188
|
+
getBurnoffCacheDir,
|
|
189
|
+
getBurnoffRuntimeDir,
|
|
190
|
+
getBurnoffLedgerDir,
|
|
191
|
+
getBurnoffRunDir,
|
|
192
|
+
getClaudeProjectsDir,
|
|
193
|
+
ensureDirSync,
|
|
194
|
+
formatNodeUpgradeHint,
|
|
195
|
+
ensureSupportedNodeVersion
|
|
196
|
+
};
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
|
|
4
|
+
export const DEFAULT_POLICY = Object.freeze({
|
|
5
|
+
guards: Object.freeze({
|
|
6
|
+
mode: 'guard',
|
|
7
|
+
det01Enabled: true,
|
|
8
|
+
det02Enabled: true,
|
|
9
|
+
det03Enabled: true,
|
|
10
|
+
det04Enabled: true,
|
|
11
|
+
det04Threshold: 3,
|
|
12
|
+
strictTestIntegrity: false,
|
|
13
|
+
scopeLockEnabled: true
|
|
14
|
+
}),
|
|
15
|
+
readClamp: Object.freeze({
|
|
16
|
+
enabled: true,
|
|
17
|
+
maxLines: 250,
|
|
18
|
+
maxBytes: 16384,
|
|
19
|
+
neverClampCodeOffCliff: true,
|
|
20
|
+
headProbeMaxBytes: 8388608,
|
|
21
|
+
codeRealizationDiscount: 0.27
|
|
22
|
+
}),
|
|
23
|
+
postTool: Object.freeze({
|
|
24
|
+
fts5Enabled: true,
|
|
25
|
+
minBytesToCompress: 6144,
|
|
26
|
+
retentionDays: 30,
|
|
27
|
+
outputMode: 'auto'
|
|
28
|
+
}),
|
|
29
|
+
ciBudgetGate: Object.freeze({
|
|
30
|
+
maxPrCostUsd: 25,
|
|
31
|
+
maxSessionCostUsd: 15,
|
|
32
|
+
maxCostPerCommitUsd: 10,
|
|
33
|
+
maxCacheMissRatio: 0.65,
|
|
34
|
+
maxWasteRatio: 0.35,
|
|
35
|
+
failOnMissingTranscripts: false
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
function cloneDefaultPolicy() {
|
|
40
|
+
return {
|
|
41
|
+
guards: { ...DEFAULT_POLICY.guards },
|
|
42
|
+
readClamp: { ...DEFAULT_POLICY.readClamp },
|
|
43
|
+
postTool: { ...DEFAULT_POLICY.postTool },
|
|
44
|
+
ciBudgetGate: { ...DEFAULT_POLICY.ciBudgetGate }
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function stripInlineComment(line) {
|
|
49
|
+
let inSingle = false;
|
|
50
|
+
let inDouble = false;
|
|
51
|
+
for (let i = 0; i < line.length; i++) {
|
|
52
|
+
const ch = line[i];
|
|
53
|
+
if (ch === '\'' && !inDouble) inSingle = !inSingle;
|
|
54
|
+
else if (ch === '"' && !inSingle) inDouble = !inDouble;
|
|
55
|
+
else if (ch === '#' && !inSingle && !inDouble) {
|
|
56
|
+
if (i === 0 || /\s/.test(line[i - 1])) {
|
|
57
|
+
return line.slice(0, i);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return line;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function parseScalar(raw) {
|
|
65
|
+
const s = String(raw ?? '').trim();
|
|
66
|
+
if (!s) return '';
|
|
67
|
+
if (
|
|
68
|
+
(s.startsWith('"') && s.endsWith('"') && s.length >= 2) ||
|
|
69
|
+
(s.startsWith('\'') && s.endsWith('\'') && s.length >= 2)
|
|
70
|
+
) {
|
|
71
|
+
return s.slice(1, -1);
|
|
72
|
+
}
|
|
73
|
+
if (s === 'true') return true;
|
|
74
|
+
if (s === 'false') return false;
|
|
75
|
+
if (s === 'null' || s === '~') return null;
|
|
76
|
+
if (/^-?\d+(?:\.\d+)?$/.test(s)) return Number(s);
|
|
77
|
+
if (s.startsWith('[') && s.endsWith(']')) {
|
|
78
|
+
const inner = s.slice(1, -1).trim();
|
|
79
|
+
if (!inner) return [];
|
|
80
|
+
return inner.split(',').map((part) => parseScalar(part));
|
|
81
|
+
}
|
|
82
|
+
return s;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Zero-dependency YAML subset parser with automatic JSON fallback.
|
|
87
|
+
* Supports nested maps via indentation, scalars (bool/number/string/null), inline lists `[a, b]`,
|
|
88
|
+
* and block lists (`- item`).
|
|
89
|
+
*/
|
|
90
|
+
export function parseSimpleYaml(text = '') {
|
|
91
|
+
const trimmed = String(text || '').trim();
|
|
92
|
+
if (!trimmed) return {};
|
|
93
|
+
if (trimmed.startsWith('{') || trimmed.startsWith('[')) {
|
|
94
|
+
return JSON.parse(trimmed);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const lines = trimmed.split(/\r?\n/);
|
|
98
|
+
const root = {};
|
|
99
|
+
// Stack entries track { indent, container, pendingKey, parentObj }
|
|
100
|
+
const stack = [{ indent: -1, container: root }];
|
|
101
|
+
|
|
102
|
+
for (let idx = 0; idx < lines.length; idx++) {
|
|
103
|
+
const rawLine = stripInlineComment(lines[idx]);
|
|
104
|
+
if (!rawLine.trim()) continue;
|
|
105
|
+
const indent = rawLine.match(/^ */)[0].length;
|
|
106
|
+
const content = rawLine.trim();
|
|
107
|
+
|
|
108
|
+
while (stack.length > 1 && indent <= stack[stack.length - 1].indent) {
|
|
109
|
+
stack.pop();
|
|
110
|
+
}
|
|
111
|
+
const top = stack[stack.length - 1];
|
|
112
|
+
|
|
113
|
+
if (content.startsWith('- ')) {
|
|
114
|
+
const itemText = content.slice(2).trim();
|
|
115
|
+
if (!Array.isArray(top.container)) {
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
top.container.push(parseScalar(itemText));
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const colonIdx = content.indexOf(':');
|
|
123
|
+
if (colonIdx === -1) continue;
|
|
124
|
+
|
|
125
|
+
const key = content.slice(0, colonIdx).trim().replace(/^['"]|['"]$/g, '');
|
|
126
|
+
const rest = content.slice(colonIdx + 1).trim();
|
|
127
|
+
if (!key) continue;
|
|
128
|
+
|
|
129
|
+
if (rest === '') {
|
|
130
|
+
// Peek next non-empty line to determine object vs array
|
|
131
|
+
let nextIsArray = false;
|
|
132
|
+
for (let j = idx + 1; j < lines.length; j++) {
|
|
133
|
+
const peek = stripInlineComment(lines[j]);
|
|
134
|
+
if (!peek.trim()) continue;
|
|
135
|
+
const peekIndent = peek.match(/^ */)[0].length;
|
|
136
|
+
if (peekIndent > indent && peek.trim().startsWith('- ')) {
|
|
137
|
+
nextIsArray = true;
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
const child = nextIsArray ? [] : {};
|
|
142
|
+
if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
|
|
143
|
+
top.container[key] = child;
|
|
144
|
+
stack.push({ indent, container: child });
|
|
145
|
+
}
|
|
146
|
+
} else if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
|
|
147
|
+
top.container[key] = parseScalar(rest);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return root;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function mergePolicy(base, override) {
|
|
155
|
+
const result = cloneDefaultPolicy();
|
|
156
|
+
if (!override || typeof override !== 'object') return result;
|
|
157
|
+
|
|
158
|
+
for (const section of ['guards', 'readClamp', 'postTool', 'ciBudgetGate']) {
|
|
159
|
+
if (override[section] && typeof override[section] === 'object' && !Array.isArray(override[section])) {
|
|
160
|
+
result[section] = { ...result[section], ...override[section] };
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
for (const [k, v] of Object.entries(override)) {
|
|
164
|
+
if (!(k in result)) {
|
|
165
|
+
result[k] = v;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return result;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Loads `.burnoff.yaml` (or `.burnoff.yml`) from `cwd` and merges with `DEFAULT_POLICY`.
|
|
173
|
+
*/
|
|
174
|
+
export function loadBurnoffPolicy(cwd = process.cwd()) {
|
|
175
|
+
const baseDir = path.resolve(cwd || process.cwd());
|
|
176
|
+
for (const name of ['.burnoff.yaml', '.burnoff.yml']) {
|
|
177
|
+
const candidate = path.join(baseDir, name);
|
|
178
|
+
if (!fs.existsSync(candidate)) continue;
|
|
179
|
+
try {
|
|
180
|
+
const raw = fs.readFileSync(candidate, 'utf8');
|
|
181
|
+
const parsed = parseSimpleYaml(raw);
|
|
182
|
+
return {
|
|
183
|
+
...mergePolicy(DEFAULT_POLICY, parsed),
|
|
184
|
+
sourcePath: candidate,
|
|
185
|
+
exists: true
|
|
186
|
+
};
|
|
187
|
+
} catch {
|
|
188
|
+
return {
|
|
189
|
+
...cloneDefaultPolicy(),
|
|
190
|
+
sourcePath: candidate,
|
|
191
|
+
exists: true,
|
|
192
|
+
parseError: true
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
return {
|
|
198
|
+
...cloneDefaultPolicy(),
|
|
199
|
+
sourcePath: null,
|
|
200
|
+
exists: false
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export default {
|
|
205
|
+
DEFAULT_POLICY,
|
|
206
|
+
parseSimpleYaml,
|
|
207
|
+
loadBurnoffPolicy
|
|
208
|
+
};
|