@cleocode/adapters 2026.11.9 → 2026.11.10
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 +12 -5
- package/dist/.source-stamp.json +1 -1
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/providers/claude-code/index.js +25 -1
- package/dist/providers/claude-code/index.js.map +1 -1
- package/dist/providers/claude-sdk/index.js +25 -1
- package/dist/providers/claude-sdk/index.js.map +1 -1
- package/dist/providers/codex/index.js +25 -1
- package/dist/providers/codex/index.js.map +1 -1
- package/dist/providers/gemini-cli/index.js +25 -1
- package/dist/providers/gemini-cli/index.js.map +1 -1
- package/dist/providers/kimi/index.js +25 -1
- package/dist/providers/kimi/index.js.map +1 -1
- package/dist/providers/openai-sdk/index.js +25 -1
- package/dist/providers/openai-sdk/index.js.map +1 -1
- package/dist/providers/opencode/index.js +25 -1
- package/dist/providers/opencode/index.js.map +1 -1
- package/dist/providers/pi/index.js +25 -1
- package/dist/providers/pi/index.js.map +1 -1
- package/package.json +6 -6
- package/src/providers/README.md +17 -9
|
@@ -14382,7 +14382,21 @@ var relPath = z9.string().min(1).max(1024);
|
|
|
14382
14382
|
var docsModernizePlanSchema = z9.object({
|
|
14383
14383
|
root: z9.string().min(1),
|
|
14384
14384
|
generatedAt: z9.string(),
|
|
14385
|
-
|
|
14385
|
+
// T14578: a reviewed `--store` plan (`storeRows`) is applied from a file too.
|
|
14386
|
+
mode: z9.enum(["tree", "store-only", "store"]),
|
|
14387
|
+
storeRows: z9.array(
|
|
14388
|
+
z9.object({
|
|
14389
|
+
attachmentId: z9.string().min(1),
|
|
14390
|
+
sha256: z9.string().regex(/^[0-9a-f]{64}$/),
|
|
14391
|
+
slug: z9.string().regex(/^[a-z0-9][a-z0-9-]*$/).nullable(),
|
|
14392
|
+
newSlug: z9.string().regex(/^[a-z0-9][a-z0-9-]*$/).nullable(),
|
|
14393
|
+
kind: z9.string().min(1).nullable(),
|
|
14394
|
+
newKind: z9.string().min(1),
|
|
14395
|
+
ownerTasks: z9.array(z9.string().regex(/^[TD]\d+$/)),
|
|
14396
|
+
reasons: z9.array(z9.string()),
|
|
14397
|
+
judgments: z9.array(judgmentSchema)
|
|
14398
|
+
})
|
|
14399
|
+
).optional(),
|
|
14386
14400
|
counts: z9.record(z9.enum(DOCS_MODERNIZE_DISPOSITIONS), z9.number()),
|
|
14387
14401
|
rows: z9.array(
|
|
14388
14402
|
z9.object({
|
|
@@ -15820,6 +15834,16 @@ var SYNC_WRITE_INVARIANTS = Object.freeze([
|
|
|
15820
15834
|
sites: [],
|
|
15821
15835
|
reason: "a rename moves the live slug on docs_attachments and conduit_attachments in one transaction and records the old slug as an alias of the immutable doc uid, so every replica resolves the old and the new slug to one doc"
|
|
15822
15836
|
},
|
|
15837
|
+
// T14565 — a supersession names the doc, not the registry row of one of its
|
|
15838
|
+
// versions: when a docs update (or its modernize undo) moves the slug onto
|
|
15839
|
+
// another row, the supersedes / superseded_by pointers move with it.
|
|
15840
|
+
{
|
|
15841
|
+
id: "docs.supersession.follows-slug",
|
|
15842
|
+
class: "identity-layer",
|
|
15843
|
+
tables: ["docs_attachments", "conduit_attachments"],
|
|
15844
|
+
sites: [],
|
|
15845
|
+
reason: "supersedes and superseded_by name registry rows, and a docs update moves the slug to another row: the row taking the slug takes the pointers and every row naming the old one is re-pointed in the same transaction, then the identity rows are mirrored, so every replica keeps resolving a superseded doc to its successor"
|
|
15846
|
+
},
|
|
15823
15847
|
// T13359 (D11165) — decisions-vs-ADRs link table; the natural composite key
|
|
15824
15848
|
// makes identical links merge to one row, and the revoke is a one-way latch.
|
|
15825
15849
|
// T13597: enforced at merge, not just by the local accessor — 'revoked' is an
|