mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-27 15:56:43 +00:00
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
35 lines
778 B
OCaml
35 lines
778 B
OCaml
type parsed_command =
|
|
| Version
|
|
| Graph of Graph.parsed
|
|
| List of List_command.parsed
|
|
| Upsert of Upsert.parsed
|
|
| Remove of Remove.parsed
|
|
| Search of Search.parsed
|
|
| Query of Query.parsed
|
|
| Show of Show.parsed
|
|
| Server of Server_command.parsed
|
|
| Sync of Sync.parsed
|
|
| Auth of Auth_command.parsed
|
|
| Agent of Agent.parsed
|
|
| Doctor of Doctor.parsed
|
|
| Debug of Debug.parsed
|
|
| Skill of Skill.parsed
|
|
| Completion of Completion.parsed
|
|
| Example of Example.parsed
|
|
|
|
type t = {
|
|
globals : Global_opts.t;
|
|
path : string Rrbvec.t;
|
|
command : parsed_command;
|
|
raw_args : string Rrbvec.t;
|
|
}
|
|
|
|
val make :
|
|
globals:Global_opts.t ->
|
|
path:string Rrbvec.t ->
|
|
command:parsed_command ->
|
|
raw_args:string Rrbvec.t ->
|
|
t
|
|
|
|
val command_id : t -> Command_id.t
|