The host-binding layer for JCP + Mesh + jcp-efficiency: carry energy-metering, capability-gating, and attested receipts into third-party AI coding agents (Claude Code, Cursor, Windsurf, Antigravity, Zed, JetBrains, OpenCode) through their own extension seams, without forking them. Grounded in research: no host exposes its agent loop to extensions, but all expose three seams — a per-action gate (PreToolUse-hook family / ACP request_permission), a model-call meter (base_url proxy / OTel gen_ai.*), and a receipt surface. SPEC.md normalizes those seams + defines conformance profiles (claude-code reference, hooks-family, acp, opencode, cline, vscode, meter-only). §7 states the honest limit: a host adapter alone cannot meter the host agent's tokens — a complete figure needs the meter seam. Name is provisional (steward's call). Reference impl (joulehook-rs + the claude-code plugin) lands next. Co-Authored-By: Claude Opus 4.8 <[email protected]>
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
Creative Commons Attribution 4.0 International
|
|
|
|
Copyright (c) 2026 Transaction Science, Inc.
|
|
|
|
This specification text and accompanying documents are licensed under the
|
|
Creative Commons Attribution 4.0 International License (CC BY 4.0).
|
|
|
|
You are free to:
|
|
- Share — copy and redistribute the material in any medium or format
|
|
- Adapt — remix, transform, and build upon the material for any purpose,
|
|
even commercially
|
|
|
|
Under the following terms:
|
|
- Attribution — You must give appropriate credit, provide a link to the
|
|
license, and indicate if changes were made. You may do so in any
|
|
reasonable manner, but not in any way that suggests the licensor
|
|
endorses you or your use.
|
|
|
|
No additional restrictions — You may not apply legal terms or technological
|
|
measures that legally restrict others from doing anything the license
|
|
permits.
|
|
|
|
Full licence text: https://creativecommons.org/licenses/by/4.0/legalcode
|
|
|
|
────────────────────────────────────────────────────────────────────────
|
|
|
|
Reference implementations and software accompanying this specification, if
|
|
and when published in this directory, may be released under a separate
|
|
licence (typically Apache-2.0). Refer to the licence file alongside each
|
|
artefact.
|