overlord-cli 0.2608191134.0 → 0.2608191441.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.
@@ -1 +1 @@
1
- 0.3.28
1
+ 0.3.29
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "overlord",
4
- "version": "0.3.28",
4
+ "version": "0.3.29",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows through skills and MCP.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "description": "Overlord mission protocol workflow for Claude Code — attach/update/ask/deliver, slash commands, and hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "description": "Overlord mission protocol workflow for Cursor — attach/update/ask/deliver, slash commands, MCP bridge, and follow-up capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -125,13 +125,22 @@ const tools = [
125
125
  {
126
126
  name: 'overlord_search_missions',
127
127
  title: 'Search Overlord missions',
128
- description: 'Search missions in the OAuth-bound workspace.',
128
+ description:
129
+ "Search missions across the caller's authorized workspaces in one organization. Returns applied filters and truncation metadata; complete and cancelled missions remain eligible by default.",
129
130
  inputSchema: objectSchema({
130
131
  query: stringProperty('Search query text.'),
131
132
  status: stringProperty(
132
133
  'Comma-separated status TYPES, such as draft,next,execute,review. Types are workspace-invariant (draft, next, execute, review, complete, blocked, cancelled). Project-defined status names are not accepted here.'
133
134
  ),
134
- projectId: stringProperty('Optional project id, slug, or name.'),
135
+ projectId: stringProperty(
136
+ 'Optional stable Overlord project UUID. Resolve a human project reference first.'
137
+ ),
138
+ resourceKey: stringProperty(
139
+ 'Optional logical resource key, matched by name within selected projects.'
140
+ ),
141
+ dateField: stringProperty('Date column for an explicit range: createdAt or updatedAt.'),
142
+ from: stringProperty('Optional inclusive ISO-8601 date/time lower bound.'),
143
+ to: stringProperty('Optional exclusive ISO-8601 date/time upper bound.'),
135
144
  limit: {
136
145
  type: 'number',
137
146
  description: 'Maximum result count. Defaults to 25.'
@@ -413,6 +422,17 @@ function requiredString(args, name) {
413
422
  return value;
414
423
  }
415
424
 
425
+ function optionalProjectUuid(args) {
426
+ const projectId = optionalString(args, 'projectId');
427
+ if (!projectId) return null;
428
+ if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(projectId)) {
429
+ throw new Error(
430
+ 'projectId must be a stable Overlord project UUID; resolve human references first'
431
+ );
432
+ }
433
+ return projectId;
434
+ }
435
+
416
436
  /**
417
437
  * Forward mission/objective addressing to the CLI. The CLI owns the shared
418
438
  * `@overlord/contract` parser and derives a mission from a display id before it
@@ -461,11 +481,18 @@ function callOverlordTool(name, args) {
461
481
  }
462
482
  if (name === 'overlord_search_missions') {
463
483
  return runProtocol('search-missions', {
484
+ 'response-version': '2',
464
485
  ...(optionalString(args, 'query') ? { query: requiredString(args, 'query') } : {}),
465
486
  ...(optionalString(args, 'status') ? { status: requiredString(args, 'status') } : {}),
466
- ...(optionalString(args, 'projectId')
467
- ? { 'project-id': requiredString(args, 'projectId') }
487
+ ...(optionalProjectUuid(args) ? { 'project-id': optionalProjectUuid(args) } : {}),
488
+ ...(optionalString(args, 'resourceKey')
489
+ ? { 'resource-key': requiredString(args, 'resourceKey') }
490
+ : {}),
491
+ ...(optionalString(args, 'dateField')
492
+ ? { 'date-field': requiredString(args, 'dateField') }
468
493
  : {}),
494
+ ...(optionalString(args, 'from') ? { from: requiredString(args, 'from') } : {}),
495
+ ...(optionalString(args, 'to') ? { to: requiredString(args, 'to') } : {}),
469
496
  ...(typeof args.limit === 'number' && Number.isFinite(args.limit)
470
497
  ? { limit: String(Math.trunc(args.limit)) }
471
498
  : {})
@@ -663,7 +690,7 @@ process.stdin.on('data', async chunk => {
663
690
  result: {
664
691
  protocolVersion: PROTOCOL_VERSION,
665
692
  capabilities: { tools: { listChanged: false } },
666
- serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.28' }
693
+ serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.29' }
667
694
  }
668
695
  });
669
696
  continue;
package/dist/index.js CHANGED
@@ -20985,10 +20985,18 @@ search-missions:
20985
20985
  complete, blocked, cancelled. Project-defined status
20986
20986
  names (board column labels) are not accepted here \u2014
20987
20987
  use \`statuses\` to read one project's names.
20988
- --project-id <id> Restrict to one project
20988
+ --project-id <id|slug|name> Restrict to one project (CLI resolves human references)
20989
+ --resource-key <csv> Restrict to logical resource key names
20990
+ --date-field <createdAt|updatedAt>
20991
+ Date column for explicit range filtering
20992
+ --from <ISO-8601> Inclusive date/time lower bound
20993
+ --to <ISO-8601> Exclusive date/time upper bound
20989
20994
  --limit <n> Max results (default: 25)
20995
+ --response-version <1|2> 1 (default) returns the legacy array; 2 returns
20996
+ SearchMissionsResponseV2 with snippets, match
20997
+ evidence, appliedFilters, and truncation counts
20990
20998
  Returns:
20991
- JSON with matching missions.
20999
+ JSON with matching missions (v1) or the versioned search envelope (v2).
20992
21000
 
20993
21001
  statuses:
20994
21002
  Purpose: