Coline Docs
Reference

goals

Every coline goals command, with its flags and the action it runs.

Every coline goals command, 6 in all.

goals from-thread

Makes a goal with its own chat from a Code thread. The thread joins the goal as it is.

coline goals from-thread [flags]

Action goals.fromThread · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--session-id <id>Required.
--agent-user-id <id>Who runs it. Kairo when left out.
--message <text>What the person wrote with it, if anything.
--visibility <text>Just for me (private) or for the team. Default private. One of private, team.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals from-thread -w acme --session-id <session-id>
coline goals from-thread -w acme --json '{"sessionId":"<session-id>"}' --fields id

goals share

Sets a goal with its own chat to just its owner or the whole team. Only its owner can.

coline goals share [flags]

Action goals.share · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--goal-id <id>Required.
--visibility <text>Just for me (private) or for the team. Required. One of private, team.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals share -w acme --goal-id <goal-id> --visibility private
coline goals share -w acme --json '{"goalId":"<goal-id>","visibility":"private"}' --fields id

goals start

Starts a goal from Coline Code with one message. Kairo runs it unless someone else is named; its threads go to the given project when none is named.

coline goals start [flags]

Action goals.start · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--message <text>The person's first message: the whole brief. Required.
--agent-user-id <id>Who runs it. Kairo when left out.
--project-id <id>The Code project the person was in.
--visibility <text>Just for me (private) or for the team. Default private. One of private, team.
--thread-model <text>What a new thread of the goal runs on: any model Code offers a thread. Left out: the runner's usual.
--thread-reasoning <text>The threads' effort, one of the chosen model's own levels.
--model <text>The runner's model for this goal's own turns. Left out: the runner's usual.
--attachment-file-ids <list>Files in the person's Drive that the first message carries.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals start -w acme --message "…"
coline goals start -w acme --json '{"message":"…"}' --fields id

goals threads add

Moves a Code thread into a goal. Its runner hears how the thread's next runs end.

coline goals threads add [flags]

Action goals.threads.add · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--session-id <id>Required.
--goal-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals threads add -w acme --session-id <session-id> --goal-id <goal-id>
coline goals threads add -w acme --json '{"sessionId":"<session-id>","goalId":"<goal-id>"}' --fields id

goals threads message

One thread of a goal tells another thread of the same goal something it needs to know. A working thread reads it at its next step without stopping; an idle one starts its next run with it, and that run reports to the goal's runner.

coline goals threads message [flags]

Action goals.threads.message · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--from-thread-id <id>The thread sending the message. Required.
--to-thread-id <id>The thread of the same goal that should know. Required.
--text <text>What it needs to know, in plain words. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals threads message -w acme --from-thread-id <from-thread-id> --to-thread-id <to-thread-id> --text "…"
coline goals threads message -w acme --json '{"fromThreadId":"<from-thread-id>","toThreadId":"<to-thread-id>","text":"…"}' --fields id

goals threads remove

Takes a Code thread out of its goal. It is the person's own thread again.

coline goals threads remove [flags]

Action goals.threads.remove · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--session-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline goals threads remove -w acme --session-id <session-id>
coline goals threads remove -w acme --json '{"sessionId":"<session-id>"}' --fields id

On this page