juno-code 1.0.23 → 1.0.24

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/dist/index.js CHANGED
@@ -75,7 +75,7 @@ var __export = (target, all) => {
75
75
  exports.version = void 0;
76
76
  var init_version = __esm({
77
77
  "src/version.ts"() {
78
- exports.version = "1.0.23";
78
+ exports.version = "1.0.24";
79
79
  }
80
80
  });
81
81
  function isHeadlessEnvironment() {
package/dist/index.mjs CHANGED
@@ -44,7 +44,7 @@ var __export = (target, all) => {
44
44
  var version;
45
45
  var init_version = __esm({
46
46
  "src/version.ts"() {
47
- version = "1.0.23";
47
+ version = "1.0.24";
48
48
  }
49
49
  });
50
50
  function isHeadlessEnvironment() {
@@ -260,7 +260,16 @@ Environment Variables:
260
260
  if tool_use_data:
261
261
  simplified["tool_use"] = tool_use_data
262
262
  else:
263
- simplified["content"] = text_content
263
+ # For multi-line content, render it in a readable format
264
+ # Check if content contains newline characters
265
+ if text_content and '\n' in text_content:
266
+ # Split into lines and create a readable multi-line representation
267
+ simplified["content"] = text_content
268
+ # Return a custom formatted output for multi-line content
269
+ # that preserves the structure but makes it readable
270
+ return json.dumps(simplified, indent=2, ensure_ascii=False)
271
+ else:
272
+ simplified["content"] = text_content
264
273
 
265
274
  return json.dumps(simplified)
266
275
  else:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juno-code",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "TypeScript CLI tool for AI subagent orchestration with code automation",
5
5
  "keywords": [
6
6
  "ai",