@somewhere-cloud/cli 0.38.141 → 0.38.142

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.142
4
+
5
+ - Use `somewhere tasks list --label <label>` to match an exact task label.
6
+ - Label the llms docs topic as the platform overview. The full manual opens with `somewhere docs --full`.
7
+
3
8
  ## 0.38.141
4
9
 
5
10
  - Typecheck keeps the compiler result and exit code when its advisory source scan fails, and reports the source failure in text and JSON.
@@ -87888,7 +87888,7 @@ var init_docs = __esm({
87888
87888
  },
87889
87889
  llms: {
87890
87890
  path: "/llms.txt",
87891
- blurb: "Everything in one document (very large)"
87891
+ blurb: "Platform overview and links to the full reference"
87892
87892
  }
87893
87893
  };
87894
87894
  ALIASES = {
@@ -132176,12 +132176,13 @@ function resolveTaskProject(project) {
132176
132176
  function registerTasks(program2) {
132177
132177
  const tasks = program2.command("tasks").description("List, read, create, update, delete, and restore platform tasks").addHelpText("after", `
132178
132178
  Shared organization board (requires access): ${cliInvocation()} tasks list -p default`);
132179
- tasks.command("list").description("List tasks").option("-p, --project <project>", "Project slug or ID; defaults to the linked project").option("--status <status>", "Filter by status").option("--type <type>", "Filter by type, or a comma-separated list (e.g. decision, directive)").option("--assignee <assignee>", "Filter by assignee").option("--area <area>", "Filter by area").option("--parent <task-id>", 'Filter by parent task; use "null" for top-level tasks').option("-q, --query <text>", "Search task titles and descriptions").option("--active", "Only open and in-progress tasks").option("--stale", "Only stale in-progress tasks").option("--stale-days <days>", "Staleness threshold").option("--sort <sort>", "Sort by priority, updated, or created").option("--full", "Return complete descriptions").option("--limit <n>", "Maximum rows").option("--offset <n>", "Fresh row offset; prefer cursor for continuation").option("--cursor <cursor>", "next_cursor from the previous page; repeat filters").option("--json", "Print the complete response as JSON").action(async (opts) => {
132179
+ tasks.command("list").description("List tasks").option("-p, --project <project>", "Project slug or ID; defaults to the linked project").option("--status <status>", "Filter by status").option("--type <type>", "Filter by type, or a comma-separated list (e.g. decision, directive)").option("--assignee <assignee>", "Filter by assignee").option("--label <label>", "Match an exact label").option("--area <area>", "Filter by area").option("--parent <task-id>", 'Filter by parent task; use "null" for top-level tasks').option("-q, --query <text>", "Search task titles and descriptions").option("--active", "Only open and in-progress tasks").option("--stale", "Only stale in-progress tasks").option("--stale-days <days>", "Staleness threshold").option("--sort <sort>", "Sort by priority, updated, or created").option("--full", "Return complete descriptions").option("--limit <n>", "Maximum rows").option("--offset <n>", "Fresh row offset; prefer cursor for continuation").option("--cursor <cursor>", "next_cursor from the previous page; repeat filters").option("--json", "Print the complete response as JSON").action(async (opts) => {
132180
132180
  const args = compactRecord([
132181
132181
  ["project_id", resolveTaskProject(opts.project)],
132182
132182
  ["status", opts.status],
132183
132183
  ["type", opts.type],
132184
132184
  ["assignee", opts.assignee],
132185
+ ["label", opts.label],
132185
132186
  ["area", opts.area],
132186
132187
  ["parent_id", opts.parent],
132187
132188
  ["q", opts.query],
@@ -132203,6 +132204,8 @@ Shared organization board (requires access): ${cliInvocation()} tasks list -p de
132203
132204
  if (isRecord(value) && isRecord(value.page)) {
132204
132205
  const page = value.page;
132205
132206
  console.log(dim(`Showing ${page.count} of ${page.total}. Order: ${page.order ?? "unspecified"}`));
132207
+ if (page.candidate_note)
132208
+ console.log(dim(String(page.candidate_note)));
132206
132209
  if (page.consistency)
132207
132210
  console.log(dim(String(page.consistency)));
132208
132211
  if (page.next_cursor)