overlord-cli 0.2608101034.0 → 0.2608110806.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,15 +124,30 @@ const tools = [
|
|
|
124
124
|
name: 'overlord_create_mission',
|
|
125
125
|
title: 'Create Overlord mission',
|
|
126
126
|
description:
|
|
127
|
-
'Create a mission in an
|
|
127
|
+
'Create a draft mission in projectId, or an account-owned inbox item when projectId is omitted. This connector never chooses a project implicitly.',
|
|
128
128
|
inputSchema: objectSchema(
|
|
129
129
|
{
|
|
130
|
-
projectId: stringProperty('
|
|
130
|
+
projectId: stringProperty('Optional Overlord project id, slug, or name.'),
|
|
131
131
|
objective: stringProperty('Initial objective text.'),
|
|
132
132
|
title: stringProperty('Optional mission title.'),
|
|
133
|
-
resourceKey: stringProperty('Optional logical project resource key for the objective.')
|
|
133
|
+
resourceKey: stringProperty('Optional logical project resource key for the objective.'),
|
|
134
|
+
assignedTo: stringProperty(
|
|
135
|
+
'Optional workspace member to own the mission (workspace_users.id, profile UUID, orgid:username, bare username, or email). Rejected when the member is not in the workspace; meaningless on the inbox fallback.'
|
|
136
|
+
)
|
|
137
|
+
},
|
|
138
|
+
['objective']
|
|
139
|
+
)
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'overlord_create_inbox_item',
|
|
143
|
+
title: 'Create inbox item',
|
|
144
|
+
description: 'Create a private, account-owned unassigned task capture.',
|
|
145
|
+
inputSchema: objectSchema(
|
|
146
|
+
{
|
|
147
|
+
title: stringProperty('Inbox item title.'),
|
|
148
|
+
objective: stringProperty('The one objective captured in v1.')
|
|
134
149
|
},
|
|
135
|
-
['
|
|
150
|
+
['title', 'objective']
|
|
136
151
|
)
|
|
137
152
|
},
|
|
138
153
|
{
|
|
@@ -353,14 +368,26 @@ function callOverlordTool(name, args) {
|
|
|
353
368
|
}
|
|
354
369
|
if (name === 'overlord_create_mission') {
|
|
355
370
|
return runProtocol('create', {
|
|
356
|
-
|
|
371
|
+
...(optionalString(args, 'projectId')
|
|
372
|
+
? { 'project-id': requiredString(args, 'projectId') }
|
|
373
|
+
: { inbox: true }),
|
|
357
374
|
objective: requiredString(args, 'objective'),
|
|
358
375
|
...(optionalString(args, 'title') ? { title: requiredString(args, 'title') } : {}),
|
|
359
376
|
...(optionalString(args, 'resourceKey')
|
|
360
377
|
? { resource: requiredString(args, 'resourceKey') }
|
|
378
|
+
: {}),
|
|
379
|
+
...(optionalString(args, 'assignedTo')
|
|
380
|
+
? { 'assigned-to': requiredString(args, 'assignedTo') }
|
|
361
381
|
: {})
|
|
362
382
|
});
|
|
363
383
|
}
|
|
384
|
+
if (name === 'overlord_create_inbox_item') {
|
|
385
|
+
return runProtocol('create', {
|
|
386
|
+
inbox: true,
|
|
387
|
+
title: requiredString(args, 'title'),
|
|
388
|
+
objective: requiredString(args, 'objective')
|
|
389
|
+
});
|
|
390
|
+
}
|
|
364
391
|
if (name === 'overlord_load_mission_context') {
|
|
365
392
|
return runProtocol('load-context', {
|
|
366
393
|
'mission-id': requiredString(args, 'missionId'),
|
package/dist/index.js
CHANGED
|
@@ -19040,12 +19040,16 @@ add-objectives:
|
|
|
19040
19040
|
|
|
19041
19041
|
create:
|
|
19042
19042
|
Purpose:
|
|
19043
|
-
Create a draft mission without attaching.
|
|
19043
|
+
Create a draft mission without attaching. Without --project-id and
|
|
19044
|
+
without a resolvable working-directory project, falls back to an
|
|
19045
|
+
account-owned inbox item instead of failing.
|
|
19044
19046
|
Required:
|
|
19045
19047
|
--objective "<text>" or --objectives-json / --objectives-file <path|->
|
|
19046
19048
|
Optional:
|
|
19047
19049
|
--title <text>
|
|
19048
19050
|
--project-id <id> Skips working-directory project resolution
|
|
19051
|
+
--inbox Force an account-owned inbox item instead of a project mission
|
|
19052
|
+
--assigned-to <id> Workspace member to own the mission (meaningless on the inbox fallback)
|
|
19049
19053
|
|
|
19050
19054
|
prompt:
|
|
19051
19055
|
Purpose:
|
|
@@ -19058,6 +19062,7 @@ prompt:
|
|
|
19058
19062
|
--agent <identifier>
|
|
19059
19063
|
--model <identifier>
|
|
19060
19064
|
--external-session-id <id>
|
|
19065
|
+
--assigned-to <id> Workspace member to own the mission
|
|
19061
19066
|
Returns:
|
|
19062
19067
|
New mission/session JSON plus SESSION_KEY on stderr when available.
|
|
19063
19068
|
|
|
@@ -19074,6 +19079,7 @@ record-work:
|
|
|
19074
19079
|
Optional:
|
|
19075
19080
|
--title <text>
|
|
19076
19081
|
--project-id <id>
|
|
19082
|
+
--assigned-to <id> Workspace member to own the mission
|
|
19077
19083
|
--artifacts-json / --artifacts-file <path|->
|
|
19078
19084
|
--change-rationales-json / --change-rationales-file <path|->
|
|
19079
19085
|
--changed-files-json / --changed-files-file <path|->
|
|
@@ -19321,6 +19327,7 @@ var init_protocol_help = __esm({
|
|
|
19321
19327
|
"load-context",
|
|
19322
19328
|
"prompt",
|
|
19323
19329
|
"read-context",
|
|
19330
|
+
"record-touched",
|
|
19324
19331
|
"record-work",
|
|
19325
19332
|
"resume-follow-up",
|
|
19326
19333
|
"search-missions",
|