Skip to content
Open
Changes from all commits
Commits
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
22 changes: 22 additions & 0 deletions src/cli/bg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Minimal shim for background session handlers when full implementation is omitted.
export async function psHandler(args = []) {
throw new Error('Background session `ps` is not available in this build.');
}

export async function logsHandler(id) {
throw new Error('Background session `logs` is not available in this build.');
}

export async function attachHandler(id) {
throw new Error('Background session `attach` is not available in this build.');
}

export async function killHandler(id) {
throw new Error('Background session `kill` is not available in this build.');
}

export async function handleBgFlag(args = []) {
throw new Error('Background flag handling is not available in this build.');
}

export default { psHandler, logsHandler, attachHandler, killHandler, handleBgFlag };