@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/adapters",
3
- "version": "2026.11.9",
3
+ "version": "2026.11.10",
4
4
  "description": "Unified provider adapters for CLEO (Claude Code, OpenCode, Cursor)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,9 +35,9 @@
35
35
  "@ai-sdk/anthropic": "^3.0.69",
36
36
  "@ai-sdk/openai": "^2.0.53",
37
37
  "ai": "^6.0.168",
38
- "@cleocode/caamp": "2026.11.9",
39
- "@cleocode/paths": "2026.11.9",
40
- "@cleocode/contracts": "2026.11.9"
38
+ "@cleocode/caamp": "2026.11.10",
39
+ "@cleocode/contracts": "2026.11.10",
40
+ "@cleocode/paths": "2026.11.10"
41
41
  },
42
42
  "license": "MIT",
43
43
  "engines": {
@@ -50,8 +50,8 @@
50
50
  "devDependencies": {
51
51
  "@types/node": "^24.3.0",
52
52
  "vitest": "^4.1.4",
53
- "@cleocode/core": "2026.11.9",
54
- "@cleocode/playbooks": "2026.11.9"
53
+ "@cleocode/core": "2026.11.10",
54
+ "@cleocode/playbooks": "2026.11.10"
55
55
  },
56
56
  "repository": {
57
57
  "type": "git",
@@ -1,8 +1,11 @@
1
1
  # CLEO Provider Adapters
2
2
 
3
3
  This directory contains the per-provider adapters that integrate CLEO with
4
- individual AI coding harnesses (Claude Code, Cursor, OpenCode, Gemini CLI,
5
- Pi, etc.). Each adapter implements the contracts defined in
4
+ individual AI coding harnesses: Claude Code, Codex, Cursor, Gemini CLI, Kimi
5
+ and OpenCode, plus the two SDK spawn adapters (`claude-sdk`, `openai-sdk`) behind
6
+ `cleo orchestrate spawn-execute`. The `pi/` adapter is deprecated: ADR-098
7
+ retires the Pi/CleoOS harness, and the directory is removed after a release
8
+ ships the freeze. Each adapter implements the contracts defined in
6
9
  `@cleocode/contracts` and delegates universal behaviour to CLEO core through
7
10
  the `cleo` CLI — adapters never reach into `@cleocode/core` internals at
8
11
  runtime.
@@ -27,9 +30,10 @@ providers/
27
30
  ├── gemini-cli/
28
31
  │ ├── ...
29
32
  │ └── templates/hooks/
30
- ├── pi/
31
- │ ├── ...
32
- │ └── templates/hooks/ # README only — Pi uses TS extensions, not shell
33
+ ├── codex/, kimi/ # instruction files (+ Codex PreToolUse hook), no PreCompact shim
34
+ ├── claude-sdk/, openai-sdk/ # SDK spawn adapters (no harness install)
35
+ ├── pi/ # deprecated, retiring under ADR-098
36
+ │ └── templates/hooks/ # README only
33
37
  └── shared/
34
38
  ├── hook-template-installer.ts # DRY installer for all providers
35
39
  ├── paths.ts
@@ -64,7 +68,7 @@ CLI — never bash.
64
68
  | cursor | `precompact.sh` | `PreCompact` | `preCompact` |
65
69
  | opencode | `precompact.sh` + `cleo-precompact.js` | `PreCompact` | `experimental.session.compacting` |
66
70
  | gemini-cli | `precompact.sh` | `PreCompact` | `PreCompress` |
67
- | pi | *README-only* (uses TS extension) | `PreCompact` | `context` |
71
+ | pi | *README-only* (deprecated, ADR-098) | `PreCompact` | `context` |
68
72
 
69
73
  The event mappings are sourced from `packages/caamp/providers/hook-mappings.json`
70
74
  (the CAAMP SSoT). Provider adapters import the translation via
@@ -85,9 +89,13 @@ CLI — never bash.
85
89
  - Cursor: append a `preCompact` entry to `.cursor/hooks.json`.
86
90
  - OpenCode: generate a JS plugin at
87
91
  `.opencode/plugins/cleo-precompact.js` that `spawn()`s the shim.
88
- - Gemini CLI: (planned) append a `PreCompress` entry to
89
- `~/.gemini/settings.json`.
90
- - Pi: (planned) write a TS extension that calls the core handler.
92
+ - Gemini CLI: a `precompact.sh` shim ships, but the Gemini install path
93
+ does not call the installer yet, so nothing is wired.
94
+ - Pi: nothing; the provider is deprecated and retiring (ADR-098).
95
+
96
+ Codex and Kimi install no PreCompact shim: their install providers write
97
+ the CLEO instruction references into `AGENTS.md`, and Codex also adds the
98
+ heavy-command `PreToolUse` hook to `.codex/hooks.json`.
91
99
 
92
100
  ### Why this split?
93
101