Variable appIdentityFlagsConst
appIdentityFlags: readonly [
{
description: "provision: the agent name to open, exactly";
name: "name";
type: "string";
value: "<name>";
},
{
description: "the mesh to use; defaults as `cotal spawn` does";
name: "space";
type: "string";
value: "<space>";
},
{
description: "retire: the credential directory provision returned";
name: "dir";
type: "string";
value: "<dir>";
},
{
description: "provision: the native conversation identity, required";
name: "session";
type: "string";
value: "<id>";
},
{
description: "provision: a real native transcript source is bound";
name: "events";
type: "boolean";
},
{
description: "provision: channels, role and capabilities to request within your own grant";
name: "selection";
type: "string";
value: "<json>";
},
{
description: "provision: on a signed-in mesh, the caller accepts only an identity a person approved";
name: "require-approval";
type: "boolean";
},
] = ...
cotal app-identity: machine-facing plumbing for a personal app conversation. The local server of the Claude or Codex plugin runs it to open one conversation's own identity on the selected mesh, and again to retire it. It prints one JSON line on stdout and nothing else there. The credential is never in that line: it goes to a 0600 file whose path the env names. Every identity belongs to the native conversation the host names. On a signed-in mesh a new one opens only after a person approves it at the mesh's authority. On an open or static mesh this computer runs, it opens with the grant a barecotal spawngets there, and a static mesh's own signing authority issues it.