@cleocode/adapters 2026.11.1-canary.2 → 2026.11.1-canary.4
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/README.md +2 -0
- package/dist/index.js +88 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
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",
|
|
@@ -11247,6 +11288,12 @@ var init_operations_registry = __esm({
|
|
|
11247
11288
|
type: "number",
|
|
11248
11289
|
required: false,
|
|
11249
11290
|
description: "Age threshold in days for the stale-drafts check (default 30)"
|
|
11291
|
+
},
|
|
11292
|
+
{
|
|
11293
|
+
name: "only",
|
|
11294
|
+
type: "string",
|
|
11295
|
+
required: false,
|
|
11296
|
+
description: "Comma-separated repair classes to scope the plan (and apply) to, e.g. publication-ledger-drift (T14174)"
|
|
11250
11297
|
}
|
|
11251
11298
|
]
|
|
11252
11299
|
},
|
|
@@ -11339,6 +11386,12 @@ var init_operations_registry = __esm({
|
|
|
11339
11386
|
type: "number",
|
|
11340
11387
|
required: false,
|
|
11341
11388
|
description: "Age threshold in days for the stale-drafts check (default 30)"
|
|
11389
|
+
},
|
|
11390
|
+
{
|
|
11391
|
+
name: "only",
|
|
11392
|
+
type: "string",
|
|
11393
|
+
required: false,
|
|
11394
|
+
description: "Comma-separated repair classes to scope the plan (and apply) to, e.g. publication-ledger-drift (T14174)"
|
|
11342
11395
|
}
|
|
11343
11396
|
]
|
|
11344
11397
|
},
|
|
@@ -11425,6 +11478,12 @@ var init_operations_registry = __esm({
|
|
|
11425
11478
|
required: false,
|
|
11426
11479
|
description: "Apply even when the root is not a clean git checkout"
|
|
11427
11480
|
},
|
|
11481
|
+
{
|
|
11482
|
+
name: "wikilinks",
|
|
11483
|
+
type: "boolean",
|
|
11484
|
+
required: false,
|
|
11485
|
+
description: "Rewrite relative links to planned docs as [[slug]] wikilinks (default: keep markdown links, re-pointed at the new paths)"
|
|
11486
|
+
},
|
|
11428
11487
|
{
|
|
11429
11488
|
name: "store",
|
|
11430
11489
|
type: "boolean",
|
|
@@ -12346,6 +12405,12 @@ var init_operations_registry = __esm({
|
|
|
12346
12405
|
type: "boolean",
|
|
12347
12406
|
required: false,
|
|
12348
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)"
|
|
12349
12414
|
}
|
|
12350
12415
|
]
|
|
12351
12416
|
},
|
|
@@ -13843,7 +13908,18 @@ var init_modernize = __esm({
|
|
|
13843
13908
|
covers: z7.array(z7.string()),
|
|
13844
13909
|
baselineRemove: z7.boolean()
|
|
13845
13910
|
})
|
|
13846
|
-
)
|
|
13911
|
+
),
|
|
13912
|
+
linkFixes: z7.array(
|
|
13913
|
+
z7.object({
|
|
13914
|
+
kind: z7.literal("link-fix"),
|
|
13915
|
+
path: relPath,
|
|
13916
|
+
href: 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()
|
|
13920
|
+
})
|
|
13921
|
+
).optional(),
|
|
13922
|
+
repoRoot: z7.string().min(1).optional()
|
|
13847
13923
|
});
|
|
13848
13924
|
docsModernizeOverridesSchema = z7.record(
|
|
13849
13925
|
relPath,
|
|
@@ -13874,7 +13950,8 @@ var init_modernize = __esm({
|
|
|
13874
13950
|
newAttachmentId: z7.string().nullable().optional(),
|
|
13875
13951
|
linkTargets: z7.array(z7.string()).optional(),
|
|
13876
13952
|
kind: z7.string().nullable().optional()
|
|
13877
|
-
}).optional()
|
|
13953
|
+
}).optional(),
|
|
13954
|
+
base: z7.literal("repo").optional()
|
|
13878
13955
|
});
|
|
13879
13956
|
docsModernizeJournalLineSchema = receiptOpSchema.extend({
|
|
13880
13957
|
i: z7.number().int().min(0)
|
|
@@ -13890,7 +13967,8 @@ var init_modernize = __esm({
|
|
|
13890
13967
|
moves: z7.array(z7.object({ from: relPath, to: relPath })),
|
|
13891
13968
|
deleted: z7.array(relPath),
|
|
13892
13969
|
ops: z7.array(receiptOpSchema),
|
|
13893
|
-
durationMs: z7.number().optional()
|
|
13970
|
+
durationMs: z7.number().optional(),
|
|
13971
|
+
repoRoot: z7.string().min(1).optional()
|
|
13894
13972
|
});
|
|
13895
13973
|
}
|
|
13896
13974
|
});
|
|
@@ -14223,7 +14301,7 @@ var init_errors = __esm({
|
|
|
14223
14301
|
|
|
14224
14302
|
// packages/contracts/src/evidence-atom-schema.ts
|
|
14225
14303
|
import { z as z10 } from "zod";
|
|
14226
|
-
var EVIDENCE_ATOM_KINDS, PARSER_PREFIXES, KIND_BOUNDARY_REGEX, DEPLOY_PROVIDER_REGEX, DEPLOY_ID_REGEX, commitAtomSchema, filesAtomSchema, testRunAtomSchema, qaRunAtomSchema, toolAtomSchema, urlAtomSchema, noteAtomSchema, decisionAtomSchema, prAtomSchema, ciAtomSchema, ciRunAtomSchema, deployAtomSchema, locDropAtomSchema, callsiteCoverageAtomSchema, AC_UUID_REGEX, AC_ALIAS_REGEX, SATISFIES_TASK_ID_REGEX, SATISFIES_VERSION_PIN_REGEX, satisfiesAtomSchema, EvidenceAtomSchema, GATE_EVIDENCE_REQUIREMENTS, ATOM_EXAMPLES;
|
|
14304
|
+
var EVIDENCE_ATOM_KINDS, PARSER_PREFIXES, KIND_BOUNDARY_REGEX, DEPLOY_PROVIDER_REGEX, DEPLOY_ID_REGEX, commitAtomSchema, filesAtomSchema, testRunAtomSchema, qaRunAtomSchema, toolAtomSchema, urlAtomSchema, noteAtomSchema, decisionAtomSchema, prAtomSchema, ciAtomSchema, ciRunAtomSchema, deployAtomSchema, locDropAtomSchema, callsiteCoverageAtomSchema, AC_UUID_REGEX, AC_ALIAS_REGEX, SATISFIES_TASK_ID_REGEX, SATISFIES_VERSION_PIN_REGEX, satisfiesAtomSchema, EvidenceAtomSchema, GATE_EVIDENCE_REQUIREMENTS, PROFILE_GATE_EVIDENCE, ATOM_EXAMPLES;
|
|
14227
14305
|
var init_evidence_atom_schema = __esm({
|
|
14228
14306
|
"packages/contracts/src/evidence-atom-schema.ts"() {
|
|
14229
14307
|
"use strict";
|
|
@@ -14374,6 +14452,12 @@ var init_evidence_atom_schema = __esm({
|
|
|
14374
14452
|
cleanupDone: { oneOf: [["note"]] },
|
|
14375
14453
|
nexusImpact: { oneOf: [["tool"], ["note"]] }
|
|
14376
14454
|
});
|
|
14455
|
+
PROFILE_GATE_EVIDENCE = Object.freeze({
|
|
14456
|
+
ops: { implemented: [["files", "note"]] },
|
|
14457
|
+
decision: {},
|
|
14458
|
+
census: { implemented: [["files", "note"]] },
|
|
14459
|
+
audit: { implemented: [["files", "note"]] }
|
|
14460
|
+
});
|
|
14377
14461
|
ATOM_EXAMPLES = Object.freeze({
|
|
14378
14462
|
commit: "commit:<sha>",
|
|
14379
14463
|
files: "files:path/a.ts,path/b.ts",
|