openrune 0.3.6 → 0.3.8

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 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
  }
@@ -845,7 +846,7 @@ function runRune(file, restArgs) {
845
846
 
846
847
  const child = spawn('claude', claudeArgs, {
847
848
  cwd: folderPath,
848
- stdio: ['pipe', 'pipe', 'pipe'],
849
+ stdio: ['ignore', 'pipe', 'pipe'],
849
850
  env: { ...process.env },
850
851
  })
851
852
 
@@ -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
  }
@@ -954,7 +955,7 @@ async function pipeRunes(args) {
954
955
  const output = await new Promise((resolve, reject) => {
955
956
  const child = spawn('claude', claudeArgs, {
956
957
  cwd: folderPath,
957
- stdio: ['pipe', 'pipe', 'pipe'],
958
+ stdio: ['ignore', 'pipe', 'pipe'],
958
959
  env: { ...process.env },
959
960
  })
960
961
 
@@ -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
  }
@@ -1065,7 +1066,7 @@ function watchRune(file, restArgs) {
1065
1066
 
1066
1067
  const child = spawn('claude', claudeArgs, {
1067
1068
  cwd: folderPath,
1068
- stdio: ['pipe', 'pipe', 'pipe'],
1069
+ stdio: ['ignore', 'pipe', 'pipe'],
1069
1070
  env: { ...process.env },
1070
1071
  })
1071
1072
 
package/lib/index.js CHANGED
@@ -44,7 +44,7 @@ function load(filePath) {
44
44
  }
45
45
  }
46
46
 
47
- const claudeArgs = ['-p', '--print']
47
+ const claudeArgs = ['-p', '--print', '--bare']
48
48
  if (systemParts.length > 0) {
49
49
  claudeArgs.push('--system-prompt', systemParts.join('\n'))
50
50
  }
@@ -53,7 +53,7 @@ function load(filePath) {
53
53
  const result = await new Promise((resolve, reject) => {
54
54
  const child = spawn('claude', claudeArgs, {
55
55
  cwd: folderPath,
56
- stdio: ['pipe', 'pipe', 'pipe'],
56
+ stdio: ['ignore', 'pipe', 'pipe'],
57
57
  env: { ...process.env },
58
58
  })
59
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrune",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Rune — File-based AI Agent Harness for Claude Code",
5
5
  "keywords": ["ai", "agent", "claude", "desktop", "electron", "mcp", "claude-code", "harness", "automation"],
6
6
  "repository": {