Skip to content
Closed
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d9f7cc2
feat(claude): add opt-in rich terminal output
Oct 24, 2026
c2e9890
fix(claude): preserve installed rich output plugins
Oct 24, 2026
2a854d4
test(orcad): qualify rich output assets in preflight fixtures
Oct 24, 2026
7c436fd
fix(claude): preserve replies through media renderer failures
Oct 24, 2026
907072c
fix(claude): tolerate non-directory plugin entries
Oct 24, 2026
7e7780a
test: make full-suite fixtures reliable on developer hosts
Oct 24, 2026
51e7b9b
test: isolate Git reflog identity in workflow fixtures
Oct 24, 2026
cf290ec
test: scope Git author and committer variables to fixtures
Oct 24, 2026
7d9f9ea
fix: isolate rich media cache and preserve launch env ownership
Oct 24, 2026
baf7b56
fix: validate plugin VM types and rich-output edge cases
Oct 24, 2026
c49e948
test: isolate PTY failure injection and bound census type checking
Oct 24, 2026
a8d3c18
fix: keep optional media rendering off native response appends
Oct 24, 2026
677d3ae
fix(claude): recover malformed video frame caches
Oct 24, 2026
bd86cb6
fix(claude): protect literal fences and failed zoom previews
Oct 24, 2026
8c55b30
fix(claude): frame deployment hashes and handle redraw failures
Oct 24, 2026
39bb9b8
fix(claude): preserve video caches and inherited plugin settings
Oct 24, 2026
f407e5f
fix(claude): validate build inventories and inject inherited environment
Oct 24, 2026
f625489
fix: preserve nested emphasis and atomic picture previews
Oct 24, 2026
2c8000f
fix: isolate rich preview recovery and fence parsing
Oct 24, 2026
1054139
fix: reject incomplete pass-through PNG pictures
Oct 24, 2026
8916b05
fix: ship rich dependencies and recover swept video frames
Oct 24, 2026
4b9b7fb
test: isolate rich launch fixtures from inherited overlays
Oct 24, 2026
01e733f
test: separate repository fixtures from rich output
Oct 25, 2026
9b74134
Merge commit 'db8fc6d0cc9bf7e7f945d54d7387fc2539ee0e3a' into codex/cl…
Oct 25, 2026
620628b
Merge upstream main and preserve rich-output workspace builds
Oct 25, 2026
0caad26
Use fixed WebP inputs for decoder and cache tests
Oct 25, 2026
a2e5edf
Handle empty Claude plugin metadata without disabling rich output
Oct 25, 2026
5da7924
Rebuild incomplete Claude rich-output deployments
Oct 25, 2026
7119b21
Validate SVG previews before cache publication
Oct 25, 2026
05e0df3
Resolve rich deploy entry and preserve clean packaging merges
Oct 25, 2026
e4e1d7d
Refresh resumed previews and declare mobile rich output settings
Oct 25, 2026
4976b34
test: declare rich-output packaging dependency
Oct 25, 2026
81a16ea
Merge main and preserve Claude rich output in mobile resume
Oct 26, 2026
f7d8d5b
Merge main while keeping Claude rich output build commands
Oct 27, 2026
6d1c1ac
Merge upstream main typecheck repair for rich
Oct 27, 2026
c635724
Merge upstream main to retain updated terminal patch lock hashes
Oct 27, 2026
4d75273
Reuse rich output asset inventory selection during orcad materialization
Oct 27, 2026
061d5d7
Merge upstream main to retain updated terminal patch lock hashes
Oct 27, 2026
e15b98f
fix: retain upstream cancellation in Claude plugin discovery
Oct 27, 2026
197864d
fix: recognize compatible Claude plugin metadata by shape
Oct 27, 2026
27c444d
Merge current main and preserve composed rich-output settings
Oct 27, 2026
63b8ea2
fix: serialize shared rich-output bundle builds
Oct 27, 2026
a4aa01b
fix: stage rich-output bundles under shared build ownership
Oct 28, 2026
ff0e4a1
fix: keep deletion prose separate from media fences
Oct 28, 2026
3d1e608
fix: constrain local media converters to file protocols
Oct 28, 2026
ac10df1
test: cover the frame extractor protocol boundary
Oct 28, 2026
a697240
fix: keep media scanning after unmatched math delimiters
Oct 28, 2026
f0868f7
fix: keep rich output locale additions away from terminal append conf…
Oct 28, 2026
4bfc6f3
fix: preserve markdown styling after unmatched math delimiters
Oct 28, 2026
75e4ff4
fix: recover swept media previews after transient redraw failures
Oct 28, 2026
4abfe68
fix: isolate optional rich builds and recover repeated preview sweeps
Oct 28, 2026
969b568
fix: bound media resume and preserve launch and build outcomes
Oct 28, 2026
2085788
fix: keep display math searches inside code fence boundaries
Oct 28, 2026
f308bd4
fix: respect cancelled video requests and reclaim stale media caches
Oct 28, 2026
b3b6a5f
fix: preserve cached playback and recover interrupted media outputs
Oct 28, 2026
6a85e60
fix: preserve deletion styling beside unmatched formulas
Oct 28, 2026
aa40e7e
fix: keep inline backticks from opening block fences
Oct 29, 2026
582b172
feat: copy Markdown tables and callouts from rich replies
Oct 29, 2026
8336fc7
merge: preserve rich output with upstream WSL launch gates
Oct 30, 2026
358cb13
fix: isolate rich-output settings from upstream type retirements
Oct 30, 2026
550d858
fix: isolate rich launch settings and plugin discovery coverage
Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/electron-builder.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ const commonExtraResources = [
skillFreshnessResources,
...agentBrowserSkillResources,
nativeChatVisualsResource,
{ from: 'out/claude-rich-output', to: 'claude-rich-output' },
Comment thread
JhaceLam marked this conversation as resolved.
Resolved
// electron-builder excludes a source directory's root node_modules.
{ from: 'out/claude-rich-output/node_modules', to: 'claude-rich-output/node_modules' },
emojiShortcodeDatasetResource
]
// Native speech addons need real disk paths; copy only the artifact target’s variant.
Expand Down Expand Up @@ -303,6 +306,8 @@ module.exports = {
'!tsconfig.json',
// Feature media is read from process.resourcesPath via extraResources; exclude duplicate sources.
'!resources/onboarding/feature-wall/**',
'!resources/claude-rich-output/**',
'!out/claude-rich-output{,/**/*}',
'!resources/skills/**',
'!resources/native-chat-visuals/**',
// extraResources already ships plugin bytes; exclude source duplicates.
Expand Down
111 changes: 111 additions & 0 deletions config/scripts/build-claude-rich-output.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
import { build } from 'esbuild'
import {
existsSync,
readFileSync,
readdirSync,
writeFileSync,
rmSync,
realpathSync,
statSync
} from 'node:fs'
import { join, sep } from 'node:path'
import { fileURLToPath } from 'node:url'
import { runProcess } from '@orca/process-host'
import { withClaudeRichOutputBuildLock } from './claude-rich-output-build-lock.mjs'
import { computeClaudeRichOutputSourceHash } from './claude-rich-output-source-hash.mjs'
import { resolvePnpmCliInvocation } from './pnpm-cli-invocation.mjs'
import { claudeRichOutputAssetFilenames } from '../../src/shared/claude-rich-output-artifacts.ts'

const root = fileURLToPath(new URL('../..', import.meta.url))
const output = join(root, 'out', 'claude-rich-output')
const marker = join(output, '.source-hash')
function deploymentIsComplete() {
try {
const directory = `${realpathSync(output)}${sep}`
return claudeRichOutputAssetFilenames(
readFileSync(join(output, 'manifest.json'), 'utf8')
).every((asset) => {
const file = join(root, 'out', asset)
return statSync(file).isFile() && realpathSync(file).startsWith(directory)
})
} catch {
return false
}
}
await withClaudeRichOutputBuildLock(root, async (assertLockHeld) => {
const key = computeClaudeRichOutputSourceHash(root)
if (!existsSync(marker) || readFileSync(marker, 'utf8') !== key || !deploymentIsComplete()) {
const { command, prefixArgs } = resolvePnpmCliInvocation()
const result = await runProcess({
program: command,
args: [
...prefixArgs,
'--filter',
'@orca/claude-rich-output',
'deploy',
'--prod',
'--legacy',
'--force',
'--config.allowUnusedPatches=true',
'--config.nodeLinker=hoisted',
output
],
cwd: root,
stdio: 'inherit',
timeoutMs: 120_000

@coderabbitai coderabbitai Bot Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Stability & Availability · Quick win

Supported by static analysis

Script executed:

sed -n 30,80p config/scripts/build-claude-rich-output.mjs
rg -n 'timeoutMs' config/scripts/build-orcad-template.mjs config/scripts/build-workspace-packages.mjs config/scripts/build-claude-rich-output.mjs

Repository: stablyai/orca

Length of output: 2169


Script executed:

set -o pipefail
printf '%s\n' '--- build-claude-rich-output.mjs ---'
nl -ba config/scripts/build-claude-rich-output.mjs | sed -n '1,150p'
printf '%s\n' '--- sibling timeout references ---'
rg -n -C 8 --glob '*.mjs' -e 'test-claude-rich-output' -e 'timeoutMs' config/scripts package.json
printf '%s\n' '--- package build script references ---'
rg -n -C 5 -F -- 'build:electron-vite' package.json config
printf '%s\n' '--- runProcess definition/imports ---'
rg -n -C 5 -e 'runProcess' config/scripts src/main package.json | head -240

Repository: stablyai/orca

Length of output: 45666


Script executed:

set -o pipefail
printf '%s\n' '--- package scripts ---'
nl -ba package.json | sed -n '150,215p'
printf '%s\n' '--- build caller references ---'
rg -n -F --glob 'package.json' -e 'build:electron-vite' -e 'build:claude-rich-output' .
rg -n -F --glob '*.mjs' -e 'build-claude-rich-output.mjs' -e 'build:electron-vite' config scripts 2>/dev/null || true
printf '%s\n' '--- sibling test script ---'
nl -ba config/scripts/test-claude-rich-output.mjs | sed -n '1,180p'
printf '%s\n' '--- process-host locations and timeout code ---'
rg -n -F --glob '*.{ts,mjs,js,json}' -e 'export function runProcess' -e 'export async function runProcess' -e 'timeoutMs' packages src node_modules 2>/dev/null | rg -m 160 'process-host|runProcess|timeoutMs'

Repository: stablyai/orca

Length of output: 31273


Script executed:

set -o pipefail
printf '%s\n' '--- runProcess timeout block ---'
nl -ba src/packages/process-host/src/run-process.ts | sed -n '35, seventy' 2>/dev/null || true
nl -ba src/packages/process-host/src/run-process.ts | sed -n '210,275p'
printf '%s\n' '--- rich-output package and workspace declarations ---'
rg -n -C 12 -F --glob 'package.json' -e '"@orca/claude-rich-output"' -e '"claude-rich-output"' -e '"@mathjax' -e '"mermaid"' .
printf '%s\n' '--- lockfile dependency entries ---'
rg -n -C 3 -F --glob 'pnpm-lock.yaml' -e '@mathjax' -e 'mermaid' -e 'claude-rich-output'
printf '%s\n' '--- tracked rich-output footprint ---'
git ls-files -s resources/claude-rich-output packages/claude-rich-output 2>/dev/null | head -200
du -sh resources/claude-rich-output packages/claude-rich-output 2>/dev/null || true

Repository: stablyai/orca

Length of output: 19071


Script executed:

nl -ba src/packages/process-host/src/run-process.ts | sed -n '90,145p'
nl -ba src/packages/process-host/src/run-process.ts | sed -n '273,315p'
nl -ba config/scripts/build-orcad-template.mjs | sed -n '68,88p'

Repository: stablyai/orca

Length of output: 5200


Remove the fixed timeout from the rich-output deployment.

build:electron-vite and build:electron-vite:parallel run this deployment before the Electron build. An installed pnpm store avoids registry downloads, but pnpm deploy --force still copies MathJax, Mermaid, and their transitive package files. A slow local filesystem or endpoint scanner can make that valid copy exceed 120 seconds. The terminated process then fails the existing result.code !== 0 check, so the whole desktop build fails instead of only disabling rich output.

The sibling build script already uses timeoutMs: null for long-running build work, and the rich-output test runner allows 180 seconds. Use the same unbounded build-step behavior here.

Proposed fix
--- "a/config/scripts/build-claude-rich-output.mjs"
+++ "b/config/scripts/build-claude-rich-output.mjs"
@@ -52,7 +52,7 @@
       ],
       cwd: root,
       stdio: 'inherit',
-      timeoutMs: 120_000
+      timeoutMs: null
     })
     assertLockHeld()
     if (result.code !== 0) {
Committable suggestion

IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
timeoutMs: 120_000
timeoutMs: null

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the deployment path and the process-host timeout handling. The 120-second limit is an actual finite deployment budget, and exceeding it deliberately fails the required asset build rather than packaging incomplete assets. Removing it or extending it would weaken the existing deadline, which this contribution must preserve. I have not reproduced a valid deployment exceeding that budget, and local passing builds would not establish a bound for slower Windows/Linux disks. I am retaining timeoutMs: 120_000 and leaving this portability tradeoff open for maintainer judgment; the current main-compatibility repair does not claim to fix it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JhaceLam Understood. Retain timeoutMs: 120_000 to preserve the finite deployment budget.

My recommendation to remove the deadline was too strong without a reproduced valid deployment that exceeds it. The Windows/Linux portability concern remains unverified, not a confirmed defect. This tradeoff remains open for maintainer judgment; the main-compatibility repair does not address it.

You are interacting with an AI system.

})
assertLockHeld()
if (result.code !== 0) {
throw new Error(`Claude rich-output deployment failed (${result.signal ?? result.code})`)
}
const mathjax = join(output, 'node_modules', '@mathjax', 'src')
for (const directory of ['ts', 'cjs', 'mjs', 'components', 'tsconfig']) {
rmSync(join(mathjax, directory), { recursive: true, force: true })
}
const font = join(realpathSync(mathjax), '..', 'mathjax-newcm-font')
// The component loader uses the bundled SVG font, not its development sources or HTML fonts.
for (const directory of ['mjs', 'cjs', 'chtml', 'def', 'tsconfig', 'examples']) {
rmSync(join(font, directory), { recursive: true, force: true })
}
for (const metadata of ['.pnpm', '.modules.yaml', '.pnpm-workspace-state-v1.json', '.bin']) {
rmSync(join(output, 'node_modules', metadata), { recursive: true, force: true })
}
writeFileSync(marker, key)
}

await build({
entryPoints: [join(root, 'resources/claude-rich-output/reply-media/render/process.mjs')],
outfile: join(output, 'reply-media/render/process.mjs'),
bundle: true,
platform: 'node',
format: 'esm',
target: 'node24',
banner: {
js: "import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);"
},
logLevel: 'error'
})
assertLockHeld()

const assets = []
function collect(directory, relative = 'claude-rich-output') {
for (const name of readdirSync(directory).sort()) {
if (relative === 'claude-rich-output' && name === 'manifest.json') {
continue
}
const file = join(directory, name)
if (!realpathSync(file).startsWith(`${realpathSync(output)}${sep}`)) {
throw new Error(`Rich output asset escapes its bundle: ${file}`)
}
if (statSync(file).isDirectory()) {
collect(file, `${relative}/${name}`)
} else {
assets.push(`${relative}/${name}`)
}
}
}
collect(output)
const manifestText = JSON.stringify({ assets: assets.sort() })
claudeRichOutputAssetFilenames(manifestText)
writeFileSync(join(output, 'manifest.json'), manifestText)
})
8 changes: 5 additions & 3 deletions config/scripts/build-orcad-template.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
import { readOrcadRichOutputAssetFilenames } from './orcad-rich-output-bundle.mjs'

import { createHash } from 'node:crypto'
import {
Expand Down Expand Up @@ -194,9 +195,10 @@ async function main() {
mkdirSync(outputDir, { recursive: true })
const [firstTarget] = templateTargets
// Every package carries the same page: its manifest is a common file, checked byte for byte below.
const commonArtifacts = orcadTemplateCommonFilenames(
readOrcadMobileWebAssetFilenames(packages[firstTarget])
)
const commonArtifacts = orcadTemplateCommonFilenames([
...readOrcadMobileWebAssetFilenames(packages[firstTarget]),
...readOrcadRichOutputAssetFilenames(packages[firstTarget])
])
for (const filename of commonArtifacts) {
const source = join(packages[firstTarget], ...filename.split('/'))
// Why check every target: the template keeps one copy, so a per-target difference would ship wrong bytes.
Expand Down
3 changes: 3 additions & 0 deletions config/scripts/build-orcad.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ import {
orcadRipgrepArtifact
} from '../../src/shared/orcad-artifacts.ts'
import { computeOrcadFullVersion } from './orcad-artifact-version.mjs'
import { stageOrcadRichOutput } from './orcad-rich-output-bundle.mjs'
import { NODE_RUNTIME_ASSETS, NODE_RUNTIME_PIN } from '../../src/shared/node-runtime-pin.ts'
import { findSlotProblems, readManifest } from './orcad-prebuild-slot-contents.mjs'
import { orcadAgentBrowserNativeName } from '../../src/shared/orcad-agent-browser-name.ts'
Expand Down Expand Up @@ -207,6 +208,8 @@ if (existsSync(AGENT_BROWSER_SOURCE) && process.env.ORCAD_OMIT_AGENT_BROWSER !==
cpSync(join(ROOT, 'resources', 'licenses', 'ripgrep'), join(OUT_DIR, 'ripgrep', 'licenses'), {
recursive: true
})
await import('./build-claude-rich-output.mjs')
await stageOrcadRichOutput(ROOT, OUT_DIR)
cpSync(join(ROOT, 'resources', 'native-chat-visuals'), join(OUT_DIR, 'native-chat-visuals'), {
recursive: true
})
Expand Down
17 changes: 17 additions & 0 deletions config/scripts/check-test-file-runners.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@ const TEST_FILE_NAME = /\.(?:test|spec|e2e|bench)\.[cm]?[jt]sx?$/

// Mirror literals must appear in runner sources; list manual rows each run so their lack of CI remains visible.
const NON_UNIT_TEST_RUNNERS = [
{
name: 'Claude plugin hooks and media (pnpm test:claude-rich-output)',
manual: true,
include: [
'resources/claude-rich-output/reply-markdown/hooks/*.test.ts',
'resources/claude-rich-output/reply-markdown/hooks/*.test.mjs',
'resources/claude-rich-output/reply-media/hooks/*.test.ts',
'resources/claude-rich-output/reply-media/render/*.test.mjs'
],
sources: ['config/scripts/test-claude-rich-output.mjs'],
mirrors: [
'resources/claude-rich-output/reply-markdown/hooks/*.test.mjs',
'resources/claude-rich-output/reply-media/render/*.test.mjs',
"['reply-markdown', 'reply-media']",
"['plugin', 'test', path]"
]
},
{
name: 'Playwright e2e',
include: ['tests/e2e/**/*.spec.ts'],
Expand Down
34 changes: 34 additions & 0 deletions config/scripts/claude-rich-output-build-lock.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { mkdirSync } from 'node:fs'
import { join } from 'node:path'
import lockfile from 'proper-lockfile'

export async function withClaudeRichOutputBuildLock(root, action) {
mkdirSync(join(root, 'out'), { recursive: true })
let compromised
const release = await lockfile.lock(root, {
lockfilePath: join(root, 'out', '.claude-rich-output-build.lock'),
realpath: false,
stale: 30_000,
retries: { retries: 1_000, minTimeout: 50, maxTimeout: 250 },
onCompromised: (error) => {
compromised = error
}
})
const assertLockHeld = () => {
if (compromised) {
throw compromised
}
}
try {
assertLockHeld()
const result = await action(assertLockHeld)
assertLockHeld()
return result
} finally {
if (!compromised) {
await release().catch((error) => {
console.warn('[claude-rich-output] Could not release build lock:', error)
})
}
}
}
86 changes: 86 additions & 0 deletions config/scripts/claude-rich-output-build-test-fixture.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
import { runProcessSync } from '@orca/process-host'
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { dirname, join } from 'node:path'
import { expect } from 'vitest'

const scripts = import.meta.dirname
const directories = []
export function cleanupClaudeRichOutputBuildFixtures() {
for (const directory of directories.splice(0)) {
rmSync(directory, { recursive: true, force: true })
}
}

export function createClaudeRichOutputBuildFixture() {
const root = mkdtempSync(join(tmpdir(), 'rich-output-cache-'))
directories.push(root)
const put = (name, source) => {
const file = join(root, name)
mkdirSync(dirname(file), { recursive: true })
writeFileSync(file, source)
}
for (const name of [
'build-claude-rich-output.mjs',
'claude-rich-output-build-lock.mjs',
'claude-rich-output-source-hash.mjs',
'pnpm-cli-invocation.mjs'
]) {
put(`config/scripts/${name}`, readFileSync(join(scripts, name)))
}
put(
'src/shared/claude-rich-output-artifacts.ts',
readFileSync(join(scripts, '../../src/shared/claude-rich-output-artifacts.ts'))
)
put('pnpm-lock.yaml', 'fixture lock')
put('resources/claude-rich-output/foo', 'barvalue')
put(
'node_modules/esbuild/package.json',
JSON.stringify({ type: 'module', exports: './index.js' })
)
put('node_modules/esbuild/index.js', 'export async function build() {}')
put(
'node_modules/proper-lockfile/package.json',
JSON.stringify({ type: 'module', exports: './index.js' })
)
put(
'node_modules/proper-lockfile/index.js',
`export { default } from ${JSON.stringify(import.meta.resolve('proper-lockfile'))}`
)
put(
'node_modules/@orca/process-host/package.json',
JSON.stringify({ type: 'module', exports: './index.js' })
)
put(
'node_modules/@orca/process-host/index.js',
`import { appendFileSync, cpSync, mkdirSync, rmSync, writeFileSync } from 'node:fs';
import { join } from 'node:path';
export function runProcessSync({ args }) {
const root = process.cwd();
const output = args.at(-1);
rmSync(output, { recursive: true, force: true });
cpSync(join(root, 'resources/claude-rich-output'), output, { recursive: true });
mkdirSync(join(output, 'node_modules/@mathjax/src'), { recursive: true });
mkdirSync(join(output, 'node_modules/@mathjax/src/bundle'), { recursive: true });
writeFileSync(join(output, 'node_modules/@mathjax/src/bundle/node-main.js'), 'fixture dependency');
mkdirSync(join(output, 'node_modules/@mathjax/mathjax-newcm-font'), { recursive: true });
appendFileSync(join(root, 'deploy.log'), 'deploy\\n');
return { code: 0 };
}
export async function runProcess(options) { return runProcessSync(options) }`
)
const runBuild = (env = process.env) =>
runProcessSync({
program: process.execPath,
args: [join(root, 'config/scripts/build-claude-rich-output.mjs')],
cwd: root,
env,
timeoutMs: 30_000
})
const build = () => {
const result = runBuild()
expect(result.code, result.stderr).toBe(0)
}
const deployments = () => readFileSync(join(root, 'deploy.log'), 'utf8').trim().split('\n').length
return { root, put, build, runBuild, deployments }
}
Loading