openrune 0.3.6 → 0.3.7
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/bin/rune.js +4 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/bin/rune.js
CHANGED
|
@@ -748,6 +748,7 @@ function runRune(file, restArgs) {
|
|
|
748
748
|
console.log(`🔮 [auto] ${rune.name} is working on: ${prompt}\n`)
|
|
749
749
|
|
|
750
750
|
const claudeArgs = ['-p', '--print',
|
|
751
|
+
'--bare',
|
|
751
752
|
'--dangerously-skip-permissions',
|
|
752
753
|
'--verbose',
|
|
753
754
|
'--output-format', 'stream-json',
|
|
@@ -834,7 +835,7 @@ function runRune(file, restArgs) {
|
|
|
834
835
|
}
|
|
835
836
|
|
|
836
837
|
// Normal mode: print-only, no tool execution
|
|
837
|
-
const claudeArgs = ['-p', '--print']
|
|
838
|
+
const claudeArgs = ['-p', '--print', '--bare']
|
|
838
839
|
if (systemPrompt) {
|
|
839
840
|
claudeArgs.push('--system-prompt', systemPrompt)
|
|
840
841
|
}
|
|
@@ -945,7 +946,7 @@ async function pipeRunes(args) {
|
|
|
945
946
|
rune.memory.forEach((m, j) => systemParts.push(`${j + 1}. ${m}`))
|
|
946
947
|
}
|
|
947
948
|
|
|
948
|
-
const claudeArgs = ['-p', '--print']
|
|
949
|
+
const claudeArgs = ['-p', '--print', '--bare']
|
|
949
950
|
if (systemParts.length > 0) {
|
|
950
951
|
claudeArgs.push('--system-prompt', systemParts.join('\n'))
|
|
951
952
|
}
|
|
@@ -1057,7 +1058,7 @@ function watchRune(file, restArgs) {
|
|
|
1057
1058
|
const systemParts = []
|
|
1058
1059
|
if (rune.role) systemParts.push(`Your role: ${rune.role}`)
|
|
1059
1060
|
|
|
1060
|
-
const claudeArgs = ['-p', '--print']
|
|
1061
|
+
const claudeArgs = ['-p', '--print', '--bare']
|
|
1061
1062
|
if (systemParts.length > 0) {
|
|
1062
1063
|
claudeArgs.push('--system-prompt', systemParts.join('\n'))
|
|
1063
1064
|
}
|
package/lib/index.js
CHANGED
package/package.json
CHANGED