OCaml client library for Claude Code
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fmt + xrpc-auth: ocamlformat pass and password doc warning

Apply dune fmt across the files reformatted by the Json.Codec
cleanup, and document that --password leaks via ps(1) / shell
history so users prefer the interactive prompt. Add unix to the
xrpc-auth library list (needed for read_line on the prompt path).

+4 -3
+2 -1
lib/options.ml
··· 177 177 |> Object.mem "addDirs" (list string) ~enc:add_dirs ~dec_absent:[] 178 178 |> Object.opt_mem "maxBudgetUsd" number ~enc:max_budget_usd 179 179 |> Object.opt_mem "fallbackModel" Model.json ~enc:fallback_model 180 - |> Object.opt_mem "settingSources" (list setting_source_jsont) 180 + |> Object.opt_mem "settingSources" 181 + (list setting_source_jsont) 181 182 ~enc:setting_sources 182 183 |> Object.opt_mem "maxBufferSize" int ~enc:max_buffer_size 183 184 |> Object.opt_mem "user" string ~enc:user
+2 -2
lib/outgoing.ml
··· 56 56 ] 57 57 in 58 58 Object.map ~kind:"Outgoing" Fun.id 59 - |> Object.case_mem "type" string ~enc:Fun.id ~enc_case 60 - cases ~tag_to_string:Fun.id ~tag_compare:String.compare 59 + |> Object.case_mem "type" string ~enc:Fun.id ~enc_case cases 60 + ~tag_to_string:Fun.id ~tag_compare:String.compare 61 61 |> Object.finish 62 62 63 63 let pp ppf t = Json.pp_value json () ppf t