- Split 500-line monolith into roles/{planner,coder,tester,committer}/
- Each role: index.ts (build function) + prompt.ts (pure function)
- Use createCursorRole/createLlmRole/createHermesRole factories
- DIP: env vars read in index.ts, injected via build.ts
- esbuild bundle to dist/index.js (24kb)
- Moderator logic preserved: planner→coder→tester→committer with retries
Fixes xiaoju/nerve-workspace#3
331 lines
9.9 KiB
YAML
331 lines
9.9 KiB
YAML
lockfileVersion: '9.0'
|
|
|
|
settings:
|
|
autoInstallPeers: true
|
|
excludeLinksFromLockfile: false
|
|
|
|
overrides:
|
|
'@uncaged/nerve-daemon': link:../../../repos/nerve/packages/daemon
|
|
'@uncaged/nerve-core': link:../../../repos/nerve/packages/core
|
|
'@uncaged/nerve-workflow-utils': link:../../../repos/nerve/packages/workflow-utils
|
|
|
|
importers:
|
|
|
|
.:
|
|
dependencies:
|
|
'@uncaged/nerve-core':
|
|
specifier: link:../../../repos/nerve/packages/core
|
|
version: link:../../../repos/nerve/packages/core
|
|
'@uncaged/nerve-workflow-utils':
|
|
specifier: link:../../../repos/nerve/packages/workflow-utils
|
|
version: link:../../../repos/nerve/packages/workflow-utils
|
|
zod:
|
|
specifier: ^4.3.6
|
|
version: 4.3.6
|
|
devDependencies:
|
|
'@types/node':
|
|
specifier: ^22.0.0
|
|
version: 22.19.17
|
|
esbuild:
|
|
specifier: ^0.27.0
|
|
version: 0.27.7
|
|
typescript:
|
|
specifier: ^5.7.0
|
|
version: 5.9.3
|
|
|
|
packages:
|
|
|
|
'@esbuild/aix-ppc64@0.27.7':
|
|
resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ppc64]
|
|
os: [aix]
|
|
|
|
'@esbuild/android-arm64@0.27.7':
|
|
resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [android]
|
|
|
|
'@esbuild/android-arm@0.27.7':
|
|
resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm]
|
|
os: [android]
|
|
|
|
'@esbuild/android-x64@0.27.7':
|
|
resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [android]
|
|
|
|
'@esbuild/darwin-arm64@0.27.7':
|
|
resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [darwin]
|
|
|
|
'@esbuild/darwin-x64@0.27.7':
|
|
resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [darwin]
|
|
|
|
'@esbuild/freebsd-arm64@0.27.7':
|
|
resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [freebsd]
|
|
|
|
'@esbuild/freebsd-x64@0.27.7':
|
|
resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [freebsd]
|
|
|
|
'@esbuild/linux-arm64@0.27.7':
|
|
resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-arm@0.27.7':
|
|
resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-ia32@0.27.7':
|
|
resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ia32]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-loong64@0.27.7':
|
|
resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}
|
|
engines: {node: '>=18'}
|
|
cpu: [loong64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-mips64el@0.27.7':
|
|
resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [mips64el]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-ppc64@0.27.7':
|
|
resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ppc64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-riscv64@0.27.7':
|
|
resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}
|
|
engines: {node: '>=18'}
|
|
cpu: [riscv64]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-s390x@0.27.7':
|
|
resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [s390x]
|
|
os: [linux]
|
|
|
|
'@esbuild/linux-x64@0.27.7':
|
|
resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [linux]
|
|
|
|
'@esbuild/netbsd-arm64@0.27.7':
|
|
resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [netbsd]
|
|
|
|
'@esbuild/netbsd-x64@0.27.7':
|
|
resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [netbsd]
|
|
|
|
'@esbuild/openbsd-arm64@0.27.7':
|
|
resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [openbsd]
|
|
|
|
'@esbuild/openbsd-x64@0.27.7':
|
|
resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [openbsd]
|
|
|
|
'@esbuild/openharmony-arm64@0.27.7':
|
|
resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [openharmony]
|
|
|
|
'@esbuild/sunos-x64@0.27.7':
|
|
resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [sunos]
|
|
|
|
'@esbuild/win32-arm64@0.27.7':
|
|
resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}
|
|
engines: {node: '>=18'}
|
|
cpu: [arm64]
|
|
os: [win32]
|
|
|
|
'@esbuild/win32-ia32@0.27.7':
|
|
resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}
|
|
engines: {node: '>=18'}
|
|
cpu: [ia32]
|
|
os: [win32]
|
|
|
|
'@esbuild/win32-x64@0.27.7':
|
|
resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}
|
|
engines: {node: '>=18'}
|
|
cpu: [x64]
|
|
os: [win32]
|
|
|
|
'@types/node@22.19.17':
|
|
resolution: {integrity: sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==}
|
|
|
|
esbuild@0.27.7:
|
|
resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==}
|
|
engines: {node: '>=18'}
|
|
hasBin: true
|
|
|
|
typescript@5.9.3:
|
|
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
|
|
engines: {node: '>=14.17'}
|
|
hasBin: true
|
|
|
|
undici-types@6.21.0:
|
|
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
|
|
|
|
zod@4.3.6:
|
|
resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==}
|
|
|
|
snapshots:
|
|
|
|
'@esbuild/aix-ppc64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/android-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/android-arm@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/android-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/darwin-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/darwin-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/freebsd-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/freebsd-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-arm@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-ia32@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-loong64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-mips64el@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-ppc64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-riscv64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-s390x@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/linux-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/netbsd-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/netbsd-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/openbsd-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/openbsd-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/openharmony-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/sunos-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/win32-arm64@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/win32-ia32@0.27.7':
|
|
optional: true
|
|
|
|
'@esbuild/win32-x64@0.27.7':
|
|
optional: true
|
|
|
|
'@types/node@22.19.17':
|
|
dependencies:
|
|
undici-types: 6.21.0
|
|
|
|
esbuild@0.27.7:
|
|
optionalDependencies:
|
|
'@esbuild/aix-ppc64': 0.27.7
|
|
'@esbuild/android-arm': 0.27.7
|
|
'@esbuild/android-arm64': 0.27.7
|
|
'@esbuild/android-x64': 0.27.7
|
|
'@esbuild/darwin-arm64': 0.27.7
|
|
'@esbuild/darwin-x64': 0.27.7
|
|
'@esbuild/freebsd-arm64': 0.27.7
|
|
'@esbuild/freebsd-x64': 0.27.7
|
|
'@esbuild/linux-arm': 0.27.7
|
|
'@esbuild/linux-arm64': 0.27.7
|
|
'@esbuild/linux-ia32': 0.27.7
|
|
'@esbuild/linux-loong64': 0.27.7
|
|
'@esbuild/linux-mips64el': 0.27.7
|
|
'@esbuild/linux-ppc64': 0.27.7
|
|
'@esbuild/linux-riscv64': 0.27.7
|
|
'@esbuild/linux-s390x': 0.27.7
|
|
'@esbuild/linux-x64': 0.27.7
|
|
'@esbuild/netbsd-arm64': 0.27.7
|
|
'@esbuild/netbsd-x64': 0.27.7
|
|
'@esbuild/openbsd-arm64': 0.27.7
|
|
'@esbuild/openbsd-x64': 0.27.7
|
|
'@esbuild/openharmony-arm64': 0.27.7
|
|
'@esbuild/sunos-x64': 0.27.7
|
|
'@esbuild/win32-arm64': 0.27.7
|
|
'@esbuild/win32-ia32': 0.27.7
|
|
'@esbuild/win32-x64': 0.27.7
|
|
|
|
typescript@5.9.3: {}
|
|
|
|
undici-types@6.21.0: {}
|
|
|
|
zod@4.3.6: {}
|