mirror of
https://github.com/stablyai/orca.git
synced 2026-10-07 00:02:29 +00:00
Add repository OpenCode permission defaults (#25326)
* test(config): reproduce rejected repository OpenCode config * Add repository OpenCode permissions and allow its reviewed root config * fix: preserve sensitive OpenCode confirmation prompts --------- Co-authored-by: Orca campaign recovery <campaign-recovery@example.invalid> Co-authored-by: Orca OpenCode Campaign <opencode-campaign@local.invalid>
This commit is contained in:
co-authored by
Orca campaign recovery
Orca OpenCode Campaign
parent
46c3c3b44d
commit
822fc5bed4
@@ -13,9 +13,8 @@ function readRootEntries(sha) {
|
||||
return stdout.split('\0').filter(Boolean)
|
||||
}
|
||||
|
||||
// Why: the Cloud workspace import is the one reviewed root addition; it stays
|
||||
// listed until it lands on main, after which the base tree carries it.
|
||||
const REVIEWED_ROOT_ENTRIES = new Set(['cloud'])
|
||||
// These reviewed additions stay listed until the base tree carries them.
|
||||
const REVIEWED_ROOT_ENTRIES = new Set(['cloud', 'opencode.json'])
|
||||
|
||||
function checkRootDirectoryEntries(argv) {
|
||||
if (argv.length !== 2) {
|
||||
|
||||
Reference in New Issue
Block a user