@cleocode/adapters 2026.11.9 → 2026.11.10-rc.ci.727
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
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Part of [CLEO](https://github.com/kryptobaseddev/cleo#readme). Start with the root README; run `cleo <command> --help` for any command.
|
|
4
4
|
|
|
5
|
-
Unified provider adapters for CLEO -
|
|
5
|
+
Unified provider adapters for CLEO: install, hook and instruction-injection code for each AI coding harness, plus the SDK spawn adapters.
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
|
@@ -12,9 +12,16 @@ This package provides standardized adapters for integrating CLEO with various AI
|
|
|
12
12
|
|
|
13
13
|
| Provider | Status | Features |
|
|
14
14
|
|----------|--------|----------|
|
|
15
|
-
| **Claude Code** | ✅ Production | Full integration with statusline sync, context monitoring |
|
|
16
|
-
| **OpenCode** | ✅ Production | Spawn hooks, task synchronization |
|
|
17
|
-
| **Cursor** | ✅ Production | Basic adapter with install hooks |
|
|
15
|
+
| **Claude Code** | ✅ Production | Full integration with statusline sync, context monitoring, PreCompact hook |
|
|
16
|
+
| **OpenCode** | ✅ Production | Spawn hooks, task synchronization, PreCompact plugin |
|
|
17
|
+
| **Cursor** | ✅ Production | Basic adapter with install hooks, PreCompact hook |
|
|
18
|
+
| **Codex** | Adapter | `AGENTS.md` instruction references; heavy-command `PreToolUse` hook in `.codex/hooks.json` |
|
|
19
|
+
| **Gemini CLI** | Adapter | `GEMINI.md` instruction references; a PreCompact shim ships but is not wired yet |
|
|
20
|
+
| **Kimi** | Adapter | `AGENTS.md` instruction references |
|
|
21
|
+
| **claude-sdk**, **openai-sdk** | SDK spawn | Programmatic subagent execution behind `cleo orchestrate spawn-execute` (Vercel AI SDK); whether to keep them is an open owner call in ADR-098 |
|
|
22
|
+
| **Pi** | Deprecated | Retiring with the Pi/CleoOS harness (ADR-098); removed after a release ships the freeze |
|
|
23
|
+
|
|
24
|
+
Per-provider detail: [`src/providers/README.md`](src/providers/README.md).
|
|
18
25
|
|
|
19
26
|
## Installation
|
|
20
27
|
|
|
@@ -502,4 +509,4 @@ Example manifest:
|
|
|
502
509
|
|
|
503
510
|
## License
|
|
504
511
|
|
|
505
|
-
MIT License - see [LICENSE](
|
|
512
|
+
MIT License - see [LICENSE](../../LICENSE) for details.
|
package/dist/.source-stamp.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -13835,7 +13835,21 @@ var init_modernize = __esm({
|
|
|
13835
13835
|
docsModernizePlanSchema = z9.object({
|
|
13836
13836
|
root: z9.string().min(1),
|
|
13837
13837
|
generatedAt: z9.string(),
|
|
13838
|
-
|
|
13838
|
+
// T14578: a reviewed `--store` plan (`storeRows`) is applied from a file too.
|
|
13839
|
+
mode: z9.enum(["tree", "store-only", "store"]),
|
|
13840
|
+
storeRows: z9.array(
|
|
13841
|
+
z9.object({
|
|
13842
|
+
attachmentId: z9.string().min(1),
|
|
13843
|
+
sha256: z9.string().regex(/^[0-9a-f]{64}$/),
|
|
13844
|
+
slug: z9.string().regex(/^[a-z0-9][a-z0-9-]*$/).nullable(),
|
|
13845
|
+
newSlug: z9.string().regex(/^[a-z0-9][a-z0-9-]*$/).nullable(),
|
|
13846
|
+
kind: z9.string().min(1).nullable(),
|
|
13847
|
+
newKind: z9.string().min(1),
|
|
13848
|
+
ownerTasks: z9.array(z9.string().regex(/^[TD]\d+$/)),
|
|
13849
|
+
reasons: z9.array(z9.string()),
|
|
13850
|
+
judgments: z9.array(judgmentSchema)
|
|
13851
|
+
})
|
|
13852
|
+
).optional(),
|
|
13839
13853
|
counts: z9.record(z9.enum(DOCS_MODERNIZE_DISPOSITIONS), z9.number()),
|
|
13840
13854
|
rows: z9.array(
|
|
13841
13855
|
z9.object({
|
|
@@ -15386,6 +15400,16 @@ var init_sync_write_invariants = __esm({
|
|
|
15386
15400
|
sites: [],
|
|
15387
15401
|
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"
|
|
15388
15402
|
},
|
|
15403
|
+
// T14565 — a supersession names the doc, not the registry row of one of its
|
|
15404
|
+
// versions: when a docs update (or its modernize undo) moves the slug onto
|
|
15405
|
+
// another row, the supersedes / superseded_by pointers move with it.
|
|
15406
|
+
{
|
|
15407
|
+
id: "docs.supersession.follows-slug",
|
|
15408
|
+
class: "identity-layer",
|
|
15409
|
+
tables: ["docs_attachments", "conduit_attachments"],
|
|
15410
|
+
sites: [],
|
|
15411
|
+
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"
|
|
15412
|
+
},
|
|
15389
15413
|
// T13359 (D11165) — decisions-vs-ADRs link table; the natural composite key
|
|
15390
15414
|
// makes identical links merge to one row, and the revoke is a one-way latch.
|
|
15391
15415
|
// T13597: enforced at merge, not just by the local accessor — 'revoked' is an
|