@cleocode/adapters 2026.5.92 → 2026.5.94
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 +112 -1
- package/dist/index.js.map +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -816,6 +816,13 @@ var init_changesets = __esm({
|
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
+
// packages/contracts/src/cli-category.ts
|
|
820
|
+
var init_cli_category = __esm({
|
|
821
|
+
"packages/contracts/src/cli-category.ts"() {
|
|
822
|
+
"use strict";
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
|
|
819
826
|
// packages/contracts/src/credentials.ts
|
|
820
827
|
function parseClaudeCodeCredentials(buf) {
|
|
821
828
|
try {
|
|
@@ -847,6 +854,103 @@ var init_credentials = __esm({
|
|
|
847
854
|
}
|
|
848
855
|
});
|
|
849
856
|
|
|
857
|
+
// packages/contracts/src/docs-taxonomy.ts
|
|
858
|
+
var BUILTIN_DOC_KINDS, BUILTIN_DOC_KIND_VALUES;
|
|
859
|
+
var init_docs_taxonomy = __esm({
|
|
860
|
+
"packages/contracts/src/docs-taxonomy.ts"() {
|
|
861
|
+
"use strict";
|
|
862
|
+
BUILTIN_DOC_KINDS = [
|
|
863
|
+
{
|
|
864
|
+
kind: "adr",
|
|
865
|
+
label: "ADR",
|
|
866
|
+
description: "Architectural decision record",
|
|
867
|
+
defaultOwnerKind: "task",
|
|
868
|
+
publishDir: "docs/adr",
|
|
869
|
+
requiresEntityId: true,
|
|
870
|
+
entityIdPattern: /^adr-\d{3,4}-[a-z0-9-]+$/
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
kind: "spec",
|
|
874
|
+
label: "Spec",
|
|
875
|
+
description: "Technical specification",
|
|
876
|
+
defaultOwnerKind: "task",
|
|
877
|
+
publishDir: "docs/spec",
|
|
878
|
+
requiresEntityId: false
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
kind: "research",
|
|
882
|
+
label: "Research",
|
|
883
|
+
description: "Investigation / research note",
|
|
884
|
+
defaultOwnerKind: "task",
|
|
885
|
+
publishDir: "docs/research",
|
|
886
|
+
requiresEntityId: false
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
kind: "handoff",
|
|
890
|
+
label: "Handoff",
|
|
891
|
+
description: "Session / agent handoff",
|
|
892
|
+
defaultOwnerKind: "session",
|
|
893
|
+
publishDir: "docs/handoff",
|
|
894
|
+
requiresEntityId: false
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
kind: "note",
|
|
898
|
+
label: "Note",
|
|
899
|
+
description: "Agent observation / informal note",
|
|
900
|
+
defaultOwnerKind: "observation",
|
|
901
|
+
publishDir: "docs/note",
|
|
902
|
+
requiresEntityId: false
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
kind: "llm-readme",
|
|
906
|
+
label: "LLM README",
|
|
907
|
+
description: "Machine-readable README (llms.txt)",
|
|
908
|
+
defaultOwnerKind: "project",
|
|
909
|
+
publishDir: ".",
|
|
910
|
+
requiresEntityId: false
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
kind: "changeset",
|
|
914
|
+
label: "Changeset",
|
|
915
|
+
description: "Atomic change entry (release-note input)",
|
|
916
|
+
defaultOwnerKind: "task",
|
|
917
|
+
publishDir: ".changeset",
|
|
918
|
+
requiresEntityId: true,
|
|
919
|
+
entityIdPattern: /^t\d+-[a-z0-9-]+$/
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
kind: "release-note",
|
|
923
|
+
label: "Release Note",
|
|
924
|
+
description: "Composed release notes",
|
|
925
|
+
defaultOwnerKind: "project",
|
|
926
|
+
publishDir: "docs/release",
|
|
927
|
+
requiresEntityId: true,
|
|
928
|
+
entityIdPattern: /^v\d{4}\.\d+\.\d+(-[a-z0-9-]+)?$/
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
kind: "plan",
|
|
932
|
+
label: "Plan",
|
|
933
|
+
description: "Epic / saga decomposition plan",
|
|
934
|
+
defaultOwnerKind: "task",
|
|
935
|
+
publishDir: "docs/plan",
|
|
936
|
+
requiresEntityId: false
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
kind: "rcasd",
|
|
940
|
+
label: "RCASD",
|
|
941
|
+
description: "Root-cause analysis + scoped delivery",
|
|
942
|
+
defaultOwnerKind: "task",
|
|
943
|
+
publishDir: ".cleo/rcasd",
|
|
944
|
+
requiresEntityId: true,
|
|
945
|
+
entityIdPattern: /^t\d+(-.+)?$/
|
|
946
|
+
}
|
|
947
|
+
];
|
|
948
|
+
BUILTIN_DOC_KIND_VALUES = Object.freeze(
|
|
949
|
+
BUILTIN_DOC_KINDS.map((d) => d.kind)
|
|
950
|
+
);
|
|
951
|
+
}
|
|
952
|
+
});
|
|
953
|
+
|
|
850
954
|
// packages/contracts/src/engine-result.ts
|
|
851
955
|
var init_engine_result = __esm({
|
|
852
956
|
"packages/contracts/src/engine-result.ts"() {
|
|
@@ -1003,6 +1107,7 @@ var init_dialectic = __esm({
|
|
|
1003
1107
|
var init_docs = __esm({
|
|
1004
1108
|
"packages/contracts/src/operations/docs.ts"() {
|
|
1005
1109
|
"use strict";
|
|
1110
|
+
init_docs_taxonomy();
|
|
1006
1111
|
}
|
|
1007
1112
|
});
|
|
1008
1113
|
|
|
@@ -1210,7 +1315,7 @@ var init_peer = __esm({
|
|
|
1210
1315
|
|
|
1211
1316
|
// packages/contracts/src/release/evidence-atoms.ts
|
|
1212
1317
|
import { z as z5 } from "zod";
|
|
1213
|
-
var parsedPrEvidenceAtomSchema, ghPrViewSchema, PR_REQUIRED_WORKFLOWS;
|
|
1318
|
+
var parsedPrEvidenceAtomSchema, prEvidenceStateModifierSchema, ghPrViewSchema, PR_REQUIRED_WORKFLOWS;
|
|
1214
1319
|
var init_evidence_atoms = __esm({
|
|
1215
1320
|
"packages/contracts/src/release/evidence-atoms.ts"() {
|
|
1216
1321
|
"use strict";
|
|
@@ -1218,6 +1323,10 @@ var init_evidence_atoms = __esm({
|
|
|
1218
1323
|
kind: z5.literal("pr"),
|
|
1219
1324
|
prNumber: z5.number().int().positive()
|
|
1220
1325
|
});
|
|
1326
|
+
prEvidenceStateModifierSchema = z5.object({
|
|
1327
|
+
kind: z5.literal("state"),
|
|
1328
|
+
value: z5.literal("MERGED")
|
|
1329
|
+
});
|
|
1221
1330
|
ghPrViewSchema = z5.object({
|
|
1222
1331
|
state: z5.enum(["OPEN", "CLOSED", "MERGED"]),
|
|
1223
1332
|
mergedAt: z5.string().nullable(),
|
|
@@ -1589,7 +1698,9 @@ var init_src = __esm({
|
|
|
1589
1698
|
init_attachment_schema();
|
|
1590
1699
|
init_branch_lock();
|
|
1591
1700
|
init_changesets();
|
|
1701
|
+
init_cli_category();
|
|
1592
1702
|
init_credentials();
|
|
1703
|
+
init_docs_taxonomy();
|
|
1593
1704
|
init_engine_result();
|
|
1594
1705
|
init_errors();
|
|
1595
1706
|
init_evidence_record_schema();
|