diff --git a/.agentc/settings.json b/.agentc/settings.json new file mode 100644 index 0000000..4057960 --- /dev/null +++ b/.agentc/settings.json @@ -0,0 +1,8 @@ +{ + "agent": { + "configurations": ["claude"], + "cpus": 4, + "image": "swift:6.3", + "memoryMiB": 2560 + } +} diff --git a/Sources/agentc/Commands/InitCommand.swift b/Sources/agentc/Commands/InitCommand.swift index cf92109..64d6704 100644 --- a/Sources/agentc/Commands/InitCommand.swift +++ b/Sources/agentc/Commands/InitCommand.swift @@ -94,7 +94,7 @@ struct InitCommand: AsyncParsableCommand { let settings = buildSettings() let encoder = JSONEncoder() - encoder.outputFormatting = [.prettyPrinted, .sortedKeys] + encoder.outputFormatting = [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes] let data = try encoder.encode(settings) try data.write(to: agentcDir.appendingPathComponent("settings.json"))