@cleocode/adapters 2026.8.8 → 2026.9.1

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/dist/index.js CHANGED
@@ -1969,7 +1969,7 @@ var init_output_contracts_data = __esm({
1969
1969
  init_service();
1970
1970
  tasksShowOutputContract = {
1971
1971
  operation: "tasks.show",
1972
- shapeNote: "The task record is nested under `task` \u2014 use /data/task/<field>, not /data/<field>. `view` may be null. `acRows` and `relations` are conditional. The listed pointers are the default (MVI) projection \u2014 `verification`, `acceptance`, `description`, and `evidence` live only in the full record (`cleo show <id> --full`); `--field` resolves them transparently when they exist (T12108).",
1972
+ shapeNote: "The task record is nested under `task` \u2014 use /data/task/<field>, not /data/<field>. Mutation envelopes are FLAT by contrast (/data/created/0, /data/updated/0), which is the asymmetry that produced GH #1225/#1239/#1231. `view` may be null. `acRows` and `relations` are conditional. `description`, `acceptance` and `verification` are withheld by the default (MVI) projection but `--field` resolves them transparently (T12108) \u2014 no `--full` needed. Evidence is NOT a task field: it lives at /data/task/verification/evidence (keyed by gate), alongside /data/task/verification/gates. T12127 (GH #1231) \u2014 the previous wording advertised `/data/task/evidence`, which does not exist, in the very text shown to an agent whose pointer had just failed.",
1973
1973
  dataSchema: {
1974
1974
  type: "object",
1975
1975
  required: ["task", "view", "attachments"],
@@ -2013,6 +2013,16 @@ var init_output_contracts_data = __esm({
2013
2013
  "/data/task/priority",
2014
2014
  "/data/task/type",
2015
2015
  "/data/task/parentId",
2016
+ // T12127 (GH #1231) — withheld by the MVI projection but resolvable
2017
+ // through `--field` since T12108. They were absent from this list, so the
2018
+ // remediation an agent is shown on a failed pointer never mentioned the
2019
+ // fields it most often wanted, and `cleo show --field /data/task` came
2020
+ // back looking like a write that had silently done nothing.
2021
+ "/data/task/description",
2022
+ "/data/task/acceptance",
2023
+ "/data/task/verification",
2024
+ "/data/task/verification/gates",
2025
+ "/data/task/verification/evidence",
2016
2026
  "/data/view/id",
2017
2027
  "/data/view/title"
2018
2028
  ]
@@ -2683,19 +2693,31 @@ var init_operations_registry = __esm({
2683
2693
  { name: "status", type: "string", required: false, description: "Filter by task status" },
2684
2694
  { name: "priority", type: "string", required: false, description: "Filter by task priority" },
2685
2695
  { name: "type", type: "string", required: false, description: "Filter by task type" },
2696
+ {
2697
+ name: "severity",
2698
+ type: "string",
2699
+ required: false,
2700
+ description: "Filter by severity axis (P0|P1|P2|P3); invalid values are rejected"
2701
+ },
2702
+ {
2703
+ name: "kind",
2704
+ type: "string",
2705
+ required: false,
2706
+ description: "Filter by kind axis (work|research|experiment|bug|spike|release); invalid values are rejected"
2707
+ },
2686
2708
  { name: "phase", type: "string", required: false, description: "Filter by task phase" },
2687
2709
  { name: "label", type: "string", required: false, description: "Filter by task label" },
2688
2710
  {
2689
2711
  name: "children",
2690
2712
  type: "boolean",
2691
2713
  required: false,
2692
- description: "Limit parent queries to direct children"
2714
+ description: "DEPRECATED (no effect; slated for removal in a future major): --parent already returns DIRECT children only, for every parent type including sagas. Do not use."
2693
2715
  },
2694
2716
  {
2695
2717
  name: "limit",
2696
2718
  type: "number",
2697
2719
  required: false,
2698
- description: "Maximum number of tasks to return"
2720
+ description: "Maximum number of tasks to return (default 10). Use --all to return every match. (--limit 0 also returns every match, but only on this command \u2014 prefer --all.)"
2699
2721
  },
2700
2722
  {
2701
2723
  name: "offset",
@@ -16032,6 +16054,13 @@ var init_collection_keys = __esm({
16032
16054
  }
16033
16055
  });
16034
16056
 
16057
+ // packages/contracts/src/task-id.ts
16058
+ var init_task_id = __esm({
16059
+ "packages/contracts/src/task-id.ts"() {
16060
+ "use strict";
16061
+ }
16062
+ });
16063
+
16035
16064
  // packages/contracts/src/index.ts
16036
16065
  var init_src = __esm({
16037
16066
  "packages/contracts/src/index.ts"() {
@@ -16101,6 +16130,7 @@ var init_src = __esm({
16101
16130
  init_workgraph();
16102
16131
  init_caamp_markers();
16103
16132
  init_collection_keys();
16133
+ init_task_id();
16104
16134
  }
16105
16135
  });
16106
16136