@cleocode/adapters 2026.11.1-canary.3 → 2026.11.1-canary.5
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 +57 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2923,6 +2923,47 @@ var init_operations_registry = __esm({
|
|
|
2923
2923
|
]
|
|
2924
2924
|
}
|
|
2925
2925
|
},
|
|
2926
|
+
{
|
|
2927
|
+
gateway: "mutate",
|
|
2928
|
+
domain: "tasks",
|
|
2929
|
+
operation: "req.move",
|
|
2930
|
+
description: "Move one acceptance criterion to another open task as its next AC<n>, keeping its uid and history; audited on both tasks (T14200)",
|
|
2931
|
+
tier: 1,
|
|
2932
|
+
idempotent: false,
|
|
2933
|
+
sessionRequired: true,
|
|
2934
|
+
requiredParams: ["taskId", "criterion", "to"],
|
|
2935
|
+
params: [
|
|
2936
|
+
{ ...requirementTaskParam, description: "Task the criterion leaves" },
|
|
2937
|
+
{
|
|
2938
|
+
name: "criterion",
|
|
2939
|
+
type: "string",
|
|
2940
|
+
required: true,
|
|
2941
|
+
description: "The criterion to move, as AC<n>",
|
|
2942
|
+
cli: { positional: true }
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
name: "to",
|
|
2946
|
+
type: "string",
|
|
2947
|
+
required: true,
|
|
2948
|
+
description: "Task that gains the criterion",
|
|
2949
|
+
cli: { flag: "to" }
|
|
2950
|
+
}
|
|
2951
|
+
],
|
|
2952
|
+
inputSchema: {
|
|
2953
|
+
operation: "tasks.req.move",
|
|
2954
|
+
schema: {
|
|
2955
|
+
type: "object",
|
|
2956
|
+
required: ["taskId", "criterion", "to"],
|
|
2957
|
+
additionalProperties: false,
|
|
2958
|
+
properties: {
|
|
2959
|
+
taskId: { type: "string", minLength: 1 },
|
|
2960
|
+
criterion: { type: "string", minLength: 1 },
|
|
2961
|
+
to: { type: "string", minLength: 1 }
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
examples: [{ name: "move", value: { taskId: "T121", criterion: "AC2", to: "T122" } }]
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2926
2967
|
{
|
|
2927
2968
|
gateway: "query",
|
|
2928
2969
|
domain: "tasks",
|
|
@@ -12364,6 +12405,12 @@ var init_operations_registry = __esm({
|
|
|
12364
12405
|
type: "boolean",
|
|
12365
12406
|
required: false,
|
|
12366
12407
|
description: "Create the tag (D11212): the version typed on the controlling terminal (/dev/tty), or a standing release authorization (T14141), allows it. Without it the cut only reports and prints the confirm command"
|
|
12408
|
+
},
|
|
12409
|
+
{
|
|
12410
|
+
name: "allowInFlight",
|
|
12411
|
+
type: "boolean",
|
|
12412
|
+
required: false,
|
|
12413
|
+
description: "Cut even while a lower tag's release.yml run is still in progress; its entries repeat in these notes (T14184)"
|
|
12367
12414
|
}
|
|
12368
12415
|
]
|
|
12369
12416
|
},
|
|
@@ -13867,15 +13914,18 @@ var init_modernize = __esm({
|
|
|
13867
13914
|
kind: z7.literal("link-fix"),
|
|
13868
13915
|
path: relPath,
|
|
13869
13916
|
href: z7.string().min(1).max(2048),
|
|
13870
|
-
newHref: z7.string().min(1).max(2048)
|
|
13917
|
+
newHref: z7.string().min(1).max(2048),
|
|
13918
|
+
base: z7.literal("repo").optional(),
|
|
13919
|
+
sha256: z7.string().regex(/^[0-9a-f]{64}$/).optional()
|
|
13871
13920
|
})
|
|
13872
|
-
).optional()
|
|
13921
|
+
).optional(),
|
|
13922
|
+
repoRoot: z7.string().min(1).optional()
|
|
13873
13923
|
});
|
|
13874
13924
|
docsModernizeOverridesSchema = z7.record(
|
|
13875
13925
|
relPath,
|
|
13876
13926
|
z7.object({
|
|
13877
13927
|
disposition: z7.enum(DOCS_MODERNIZE_DISPOSITIONS),
|
|
13878
|
-
target: z7.string().min(1).max(1024).optional(),
|
|
13928
|
+
target: z7.string().min(1).max(1024).nullable().optional(),
|
|
13879
13929
|
reason: z7.string().min(1),
|
|
13880
13930
|
kind: z7.string().min(1).optional(),
|
|
13881
13931
|
slug: z7.string().regex(/^[a-z0-9][a-z0-9-]*$/).optional(),
|
|
@@ -13900,7 +13950,8 @@ var init_modernize = __esm({
|
|
|
13900
13950
|
newAttachmentId: z7.string().nullable().optional(),
|
|
13901
13951
|
linkTargets: z7.array(z7.string()).optional(),
|
|
13902
13952
|
kind: z7.string().nullable().optional()
|
|
13903
|
-
}).optional()
|
|
13953
|
+
}).optional(),
|
|
13954
|
+
base: z7.literal("repo").optional()
|
|
13904
13955
|
});
|
|
13905
13956
|
docsModernizeJournalLineSchema = receiptOpSchema.extend({
|
|
13906
13957
|
i: z7.number().int().min(0)
|
|
@@ -13916,7 +13967,8 @@ var init_modernize = __esm({
|
|
|
13916
13967
|
moves: z7.array(z7.object({ from: relPath, to: relPath })),
|
|
13917
13968
|
deleted: z7.array(relPath),
|
|
13918
13969
|
ops: z7.array(receiptOpSchema),
|
|
13919
|
-
durationMs: z7.number().optional()
|
|
13970
|
+
durationMs: z7.number().optional(),
|
|
13971
|
+
repoRoot: z7.string().min(1).optional()
|
|
13920
13972
|
});
|
|
13921
13973
|
}
|
|
13922
13974
|
});
|