agentera 3.0.0-dev.15 → 3.0.0-dev.17

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.
Files changed (179) hide show
  1. package/README.md +47 -22
  2. package/bundle/.codex-plugin/plugin.json +92 -0
  3. package/bundle/.cursor/agents/agentera.md +7 -0
  4. package/bundle/.cursor/hooks.json +32 -0
  5. package/bundle/.cursor-plugin/plugin.json +34 -0
  6. package/bundle/.github/hooks/postToolUse.json +9 -0
  7. package/bundle/.github/hooks/preToolUse.json +8 -0
  8. package/bundle/.github/hooks/sessionEnd.json +8 -0
  9. package/bundle/.github/hooks/sessionStart.json +8 -0
  10. package/bundle/.github/plugin/plugin.json +7 -0
  11. package/bundle/.opencode/agents/agentera.md +12 -0
  12. package/bundle/.opencode/commands/agentera.md +5 -0
  13. package/bundle/.opencode/package.json +31 -0
  14. package/bundle/.opencode/plugins/agentera.js +820 -0
  15. package/bundle/CHANGELOG.md +1087 -0
  16. package/bundle/DESIGN.md +233 -0
  17. package/bundle/LICENSE +201 -0
  18. package/bundle/README.md +141 -0
  19. package/bundle/UPGRADE.md +202 -0
  20. package/bundle/agents/openai.yaml +87 -0
  21. package/bundle/extract-corpus-parity.json +2 -4
  22. package/bundle/hooks/codex-hooks.json +31 -0
  23. package/bundle/hooks/codex-plugin-hooks.json +31 -0
  24. package/bundle/plugin.json +13 -0
  25. package/bundle/references/adapters/cursor.md +50 -40
  26. package/bundle/references/adapters/opencode.md +22 -23
  27. package/bundle/references/adapters/package-manifest-interface-model.yaml +32 -43
  28. package/bundle/references/adapters/package-registry.yaml +19 -52
  29. package/bundle/references/adapters/package-surface-characterization.md +61 -47
  30. package/bundle/references/adapters/runtime-adapter-characterization.md +44 -79
  31. package/bundle/references/adapters/runtime-adapter-registry.yaml +7 -169
  32. package/bundle/references/adapters/runtime-feature-parity.md +114 -174
  33. package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +288 -0
  34. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +90 -0
  35. package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +84 -0
  36. package/bundle/references/adapters/runtime-retired-resources.yaml +33 -0
  37. package/bundle/references/analysis/benchmark.md +5 -5
  38. package/bundle/references/analysis/startup-measurement-contract.yaml +19 -8
  39. package/bundle/references/cli/bundle-skill-vocabulary.yaml +2 -2
  40. package/bundle/references/cli/vocabulary-index.yaml +1 -1
  41. package/bundle/references/cli/vocabulary.md +7 -7
  42. package/bundle/skills/agentera/references/contract.md +10 -3
  43. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +1 -1
  44. package/dist/analytics/extractCorpus/cli.js +19 -5
  45. package/dist/analytics/extractCorpus/cli.js.map +1 -1
  46. package/dist/analytics/extractCorpus/copilotSessions.js +6 -3
  47. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -1
  48. package/dist/analytics/extractCorpus/core.js +40 -11
  49. package/dist/analytics/extractCorpus/core.js.map +1 -1
  50. package/dist/analytics/extractCorpus/corpus.js +39 -16
  51. package/dist/analytics/extractCorpus/corpus.js.map +1 -1
  52. package/dist/analytics/extractCorpus/coverageAudit.js +44 -44
  53. package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -1
  54. package/dist/analytics/extractCorpus/cursorSessions.js +6 -3
  55. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -1
  56. package/dist/analytics/extractCorpus/extractCorpusParity.js +2 -2
  57. package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -1
  58. package/dist/analytics/extractCorpus/filesystemSources.js +1 -4
  59. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -1
  60. package/dist/analytics/extractCorpus/jsonlSessions.js +24 -4
  61. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -1
  62. package/dist/analytics/usageStats.js +51 -7
  63. package/dist/analytics/usageStats.js.map +1 -1
  64. package/dist/bin/agentera.js +3 -1
  65. package/dist/bin/agentera.js.map +1 -1
  66. package/dist/capabilities/discuss/instructions.js +1 -1
  67. package/dist/capabilities/discuss/instructions.js.map +1 -1
  68. package/dist/capabilities/orchestrate/instructions.js +1 -1
  69. package/dist/capabilities/orchestrate/instructions.js.map +1 -1
  70. package/dist/capabilities/profile/instructions.js +1 -1
  71. package/dist/capabilities/profile/instructions.js.map +1 -1
  72. package/dist/cli/capabilityContext/startup.js +1 -0
  73. package/dist/cli/capabilityContext/startup.js.map +1 -1
  74. package/dist/cli/commands/doctor.js +66 -4
  75. package/dist/cli/commands/doctor.js.map +1 -1
  76. package/dist/cli/commands/prime/collectOrientationState.js +43 -20
  77. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
  78. package/dist/cli/commands/prime/orientationOutput.js +12 -1
  79. package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
  80. package/dist/cli/commands/report.js +19 -4
  81. package/dist/cli/commands/report.js.map +1 -1
  82. package/dist/cli/commands/schema.js +85 -4
  83. package/dist/cli/commands/schema.js.map +1 -1
  84. package/dist/cli/commands/state/plan.js +82 -46
  85. package/dist/cli/commands/state/plan.js.map +1 -1
  86. package/dist/cli/commands/upgrade.js +18 -2
  87. package/dist/cli/commands/upgrade.js.map +1 -1
  88. package/dist/cli/commands/verify.js +6 -6
  89. package/dist/cli/commands/verify.js.map +1 -1
  90. package/dist/cli/dispatch/lifecycle.js +71 -3
  91. package/dist/cli/dispatch/lifecycle.js.map +1 -1
  92. package/dist/cli/help.js +18 -6
  93. package/dist/cli/help.js.map +1 -1
  94. package/dist/cli/orientation/attention.js +99 -1
  95. package/dist/cli/orientation/attention.js.map +1 -1
  96. package/dist/cli/orientation.js +44 -17
  97. package/dist/cli/orientation.js.map +1 -1
  98. package/dist/cli/planArtifacts.js +95 -0
  99. package/dist/cli/planArtifacts.js.map +1 -0
  100. package/dist/cli/planEvidence.js +158 -0
  101. package/dist/cli/planEvidence.js.map +1 -0
  102. package/dist/cli/prime-blob.js +1 -1
  103. package/dist/cli/prime-blob.js.map +1 -1
  104. package/dist/cli/startupCompletenessContract.js +1 -1
  105. package/dist/cli/startupCompletenessContract.js.map +1 -1
  106. package/dist/cli/stateQuery.js +1 -0
  107. package/dist/cli/stateQuery.js.map +1 -1
  108. package/dist/eval/evalSkills.js +13 -13
  109. package/dist/eval/evalSkills.js.map +1 -1
  110. package/dist/hooks/validateArtifact/runtime.js +4 -4
  111. package/dist/migrate/v2HandoffManifest.js +4 -0
  112. package/dist/migrate/v2HandoffManifest.js.map +1 -1
  113. package/dist/registries/packageRegistry.js +36 -3
  114. package/dist/registries/packageRegistry.js.map +1 -1
  115. package/dist/registries/runtimeAdapterRegistry.js +26 -17
  116. package/dist/registries/runtimeAdapterRegistry.js.map +1 -1
  117. package/dist/release/releaseMetadata.js +1 -1
  118. package/dist/release/releaseMetadata.js.map +1 -1
  119. package/dist/runtime/lifecycleAdapterContract.js +458 -0
  120. package/dist/runtime/lifecycleAdapterContract.js.map +1 -0
  121. package/dist/runtime/lifecycleAdapters.js +766 -0
  122. package/dist/runtime/lifecycleAdapters.js.map +1 -0
  123. package/dist/runtime/lifecycleAuthority.js +493 -0
  124. package/dist/runtime/lifecycleAuthority.js.map +1 -0
  125. package/dist/runtime/lifecycleOperationContract.js +113 -0
  126. package/dist/runtime/lifecycleOperationContract.js.map +1 -0
  127. package/dist/runtime/lifecycleOperations.js +635 -0
  128. package/dist/runtime/lifecycleOperations.js.map +1 -0
  129. package/dist/runtime/lifecycleOwnershipJournal.js +623 -0
  130. package/dist/runtime/lifecycleOwnershipJournal.js.map +1 -0
  131. package/dist/runtime/lifecyclePublication.js +395 -0
  132. package/dist/runtime/lifecyclePublication.js.map +1 -0
  133. package/dist/runtime/lifecycleSnapshot.js +439 -0
  134. package/dist/runtime/lifecycleSnapshot.js.map +1 -0
  135. package/dist/runtime/retiredRuntimeCleanup.js +238 -0
  136. package/dist/runtime/retiredRuntimeCleanup.js.map +1 -0
  137. package/dist/setup/codex/installRoot.js +1 -1
  138. package/dist/setup/codex/installRoot.js.map +1 -1
  139. package/dist/setup/copilot.js +1 -1
  140. package/dist/setup/copilot.js.map +1 -1
  141. package/dist/setup/cursor.js +1 -1
  142. package/dist/setup/cursor.js.map +1 -1
  143. package/dist/setup/doctor/core.js +3 -3
  144. package/dist/setup/doctor/core.js.map +1 -1
  145. package/dist/setup/doctor/diagnostics.js +0 -39
  146. package/dist/setup/doctor/diagnostics.js.map +1 -1
  147. package/dist/setup/smokeChecks.js +1 -3
  148. package/dist/setup/smokeChecks.js.map +1 -1
  149. package/dist/upgrade/appContentRefresh.js +8 -1
  150. package/dist/upgrade/appContentRefresh.js.map +1 -1
  151. package/dist/upgrade/channels.js +6 -8
  152. package/dist/upgrade/channels.js.map +1 -1
  153. package/dist/upgrade/compatibility.js +5 -0
  154. package/dist/upgrade/compatibility.js.map +1 -1
  155. package/dist/upgrade/doctor.js +18 -13
  156. package/dist/upgrade/doctor.js.map +1 -1
  157. package/dist/upgrade/lifecycleUpgrade.js +427 -0
  158. package/dist/upgrade/lifecycleUpgrade.js.map +1 -0
  159. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  160. package/dist/upgrade/projectIntegration.js +148 -69
  161. package/dist/upgrade/projectIntegration.js.map +1 -1
  162. package/dist/upgrade/projectIntegrationDecision.js +99 -0
  163. package/dist/upgrade/projectIntegrationDecision.js.map +1 -1
  164. package/dist/upgrade/runtimeMigration.js +3 -10
  165. package/dist/upgrade/runtimeMigration.js.map +1 -1
  166. package/dist/upgrade/upgradeCommands.js +8 -0
  167. package/dist/upgrade/upgradeCommands.js.map +1 -1
  168. package/dist/upgrade/upgradeOrchestrator.js +164 -7
  169. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  170. package/dist/validate/appHomeContract.js +1 -1
  171. package/dist/validate/appHomeContract.js.map +1 -1
  172. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +2 -9
  173. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +1 -1
  174. package/dist/validate/lifecycleAdapters/shared.js +1 -1
  175. package/dist/validate/lifecycleAdapters/shared.js.map +1 -1
  176. package/dist/validate/lifecycleAdapters.js +102 -3
  177. package/dist/validate/lifecycleAdapters.js.map +1 -1
  178. package/package.json +1 -1
  179. package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
@@ -1,79 +1,44 @@
1
- # Runtime Adapter Characterization
2
-
3
- Task 2 of `Deepen RuntimeAdapter Registry` records current behavior before any
4
- registry extraction. This is a characterization artifact, not the new registry.
5
-
6
- ## Doctor Output
7
-
8
- Current JSON envelope fields are `schemaVersion`, `ok`, `installRoot`,
9
- `runtimes`, `summary`, and `smoke`. Each runtime result exposes `runtime`,
10
- `status`, `available`, `binary`, and `checks`. Each check exposes `name`,
11
- `status`, `message`, `source`, `path`, `gap`, and `details`.
12
-
13
- Primary pass messages by runtime:
14
-
15
- | Runtime | Primary check | Status | Message | Diagnostic label |
16
- |---------|---------------|--------|---------|------------------|
17
- | Claude Code | `CLAUDE_PLUGIN_ROOT` | `pass` | `runtime can reach shared Agentera helper scripts` | none |
18
- | OpenCode | `plugin_file` | `pass` | `OpenCode plugin file is present` | none |
19
- | Copilot CLI | `AGENTERA_HOME` | `pass` | `runtime can reach shared Agentera helper scripts` | none |
20
- | Codex CLI | `config.AGENTERA_HOME` | `pass` | `runtime can reach shared Agentera helper scripts` | none |
21
-
22
- Current diagnostic labels that are intentionally public are `user_environment`,
23
- `runtime_config`, `bundle_packaging`, `command_drift`, `skill_path_drift`, and
24
- `validation_drift`.
25
-
26
- ## Upgrade Planning
27
-
28
- Runtime-phase items currently expose `runtime`, `action`, `target`, `status`,
29
- and `message`; copy operations also expose `source`, and configure operations
30
- carry private `newText` until public JSON rendering strips it.
31
-
32
- Characterized runtime actions:
33
-
34
- | Runtime | Action | Target | Dry-run status | Apply behavior |
35
- |---------|--------|--------|----------------|----------------|
36
- | Claude Code | `configure` | none | `noop` | no local config write |
37
- | Codex CLI | `configure` | `~/.codex/config.toml` | `pending` | writes config, then reports `runtime update applied` |
38
- | Codex CLI | `copy-hooks` | `~/.codex/hooks.json` | `pending` | copies hooks, then reports `runtime update applied` |
39
- | Codex CLI | `copy-agent` | `~/.codex/agents/*.toml` | `pending` | copies managed capability descriptors, then reports `runtime update applied` |
40
- | Copilot CLI | `configure` | none | `noop` | no local config write; use per-invocation `AGENTERA_HOME` |
41
- | OpenCode | `copy-plugin` | `~/.config/opencode/plugins/agentera.js` | `pending` | copies plugin, then reports `runtime update applied` |
42
- | OpenCode | `copy-agent` | `~/.config/opencode/agents/agentera.md` | `pending` | copies single managed agent descriptor (D73), then reports `runtime update applied` |
43
-
44
- Package-phase items currently expose `runtime`, `action`, `command`, `status`,
45
- and `message`. Without `--update-packages`, package items are `skipped`; with it,
46
- Claude Code and OpenCode package commands become `pending` and apply through the
47
- external command runner. Copilot CLI and Codex CLI have no package command item in
48
- the current upgrade phase.
49
-
50
- ## Lifecycle Validation
51
-
52
- Current pass output from `scripts/validate_lifecycle_adapters.py` is exactly:
53
-
54
- ```text
55
- lifecycle adapter metadata ok
56
- ```
57
-
58
- Current failure output begins with:
59
-
60
- ```text
61
- lifecycle adapter validation failed:
62
- ```
63
-
64
- Representative fail messages are characterized in `tests/test_runtime_adapters.py`:
65
- Copilot stale `lifecycleHooks`, unsupported hook event files, missing `preToolUse`
66
- artifact validation, Codex unsupported status values, malformed event containers,
67
- missing supported-event declarations, missing unsupported-event declarations, and
68
- missing `codex_hooks` limitation text.
69
-
70
- ## Drift Inventory
71
-
72
- | Drift point | Decision | Before-migration handling |
73
- |-------------|----------|---------------------------|
74
- | duplicated runtime order appears in doctor, upgrade, and tests | `standardize` | Later registry extraction should define one runtime order and have consumers read it. |
75
- | upgrade package phase only manages Claude Code and OpenCode | `preserve` | This is current behavior, not a registry gap; Copilot CLI and Codex CLI package command support is separate future work. |
76
- | Codex supports hook events but shipped config wires only apply_patch validation | `preserve` | Keep the distinction between host support and shipped Agentera wiring. |
77
- | Claude lifecycle behavior is validated through native hook files, not lifecycle metadata | `defer` | Do not invent Claude lifecycle metadata in Task 2; decide during registry interface design. |
78
- | OpenCode session preload observes `session.created` but has no verified context injection path | `preserve` | Keep degraded preload semantics in docs and diagnostics. |
79
- | hard-gate docs only claim blocking for reconstructable OpenCode and Copilot candidates | `preserve` | Keep scoped claims; do not standardize to full hard-gate parity. |
1
+ # Runtime adapter characterization
2
+
3
+ The executable lifecycle contract is split deliberately:
4
+
5
+ - `runtime-lifecycle-authority.yaml` owns active identities, surfaces, evidence,
6
+ support-floor rules, the Cursor alias, and retired inputs;
7
+ - `runtime-lifecycle-adapters.yaml` owns the common eight-category adapter
8
+ claims and declared Agentera-managed resources;
9
+ - `runtime-lifecycle-operation-contract.yaml` owns operation and ownership
10
+ semantics;
11
+ - `runtime-retired-resources.yaml` owns bounded legacy cleanup;
12
+ - `runtime-adapter-registry.yaml` retains host-event and behavioral parity facts
13
+ and must match the lifecycle authority's four identities.
14
+
15
+ ## Characterized identities
16
+
17
+ | Runtime ID | Required host surface | Additional surface | Lifecycle source highlights |
18
+ | --- | --- | --- | --- |
19
+ | `opencode` | OpenCode host | | plugin and single Agentera agent |
20
+ | `codex` | Codex CLI | | plugin hooks, copied hooks, capability TOML agents |
21
+ | `cursor` | Cursor Agent CLI | Cursor IDE when observed | IDE plugin, hooks, and Agentera descriptor |
22
+ | `copilot` | GitHub Copilot CLI | | plugin manifests and lifecycle hooks |
23
+
24
+ The inactive `cursor-agent` spelling identifies the Cursor CLI binary/source
25
+ product only. Claude is absent from adapter records and can appear only in the
26
+ retired cleanup or explicit historical-import contracts.
27
+
28
+ ## Diagnosis and remediation
29
+
30
+ Every adapter reports `skills`, `plugins`, `hooks`, `agents`, `configuration`,
31
+ `enablement`, `trust`, and `native_actions`. Evidence is read-only. Trust is
32
+ never inferred. Managed repair is planned through the shared operation engine;
33
+ native and user-owned work is returned as `action_required`.
34
+
35
+ Preview has no side effects. Apply requires declared destinations and matching
36
+ ownership-journal evidence, uses secure directory-relative publication on
37
+ Linux, continues independent operations after failure, and converges on retry.
38
+
39
+ ## Validation
40
+
41
+ `agentera check validate lifecycle-adapters` rejects identity drift, missing
42
+ runtime/category/surface claims, unsafe destinations, unverified mandatory
43
+ skills, missing package manifests, unbundled lifecycle sources, version drift,
44
+ retired Claude manifests, and stale runtime-specific hook claims.
@@ -1,88 +1,11 @@
1
1
  schema_version: agentera.runtimeAdapterRegistry.v1
2
- runtime_order:
3
- - claude
2
+ lifecycle_authority: references/adapters/runtime-lifecycle-authority.yaml
3
+ adapter_record_order:
4
4
  - opencode
5
5
  - copilot
6
6
  - codex
7
7
  - cursor
8
- - cursor-agent
9
8
  records:
10
- - identity:
11
- runtime_id: claude
12
- display_name: Claude Code
13
- adapter_family: native-plugin
14
- support_status: supported
15
- host_detection:
16
- binary_names:
17
- - claude
18
- host_config_locations:
19
- - CLAUDE_PLUGIN_ROOT
20
- availability_probe_label: runtime_binary
21
- lifecycle_events:
22
- supported_events:
23
- - PreToolUse
24
- - PostToolUse
25
- - UserPromptSubmit
26
- - SessionStart
27
- - Stop
28
- - SubagentStop
29
- unsupported_events: []
30
- event_status:
31
- PreToolUse: native
32
- PostToolUse: native
33
- UserPromptSubmit: native
34
- SessionStart: native
35
- Stop: native
36
- SubagentStop: native
37
- limitations:
38
- - Claude lifecycle behavior is validated through native hook files rather than lifecycle metadata.
39
- artifact_validation:
40
- validation_events:
41
- - PreToolUse
42
- hard_gate_claims:
43
- - Native hook files can run artifact validation before tool writes.
44
- payload_reconstruction_limitations: []
45
- subagent_dispatch:
46
- mechanism: Claude Code native subagent dispatch
47
- setup_targets: []
48
- descriptor_sources: []
49
- invocation_pattern: Use the host Task/subagent surface with the selected Agentera capability context.
50
- tool_configuration: none
51
- limitations:
52
- - Agentera does not install per-capability Claude descriptors in this package phase.
53
- config_targets:
54
- runtime_config_files: []
55
- hook_targets:
56
- - .claude-plugin/marketplace.json
57
- plugin_targets:
58
- - skills/*/.claude-plugin/plugin.json
59
- environment_exports:
60
- - CLAUDE_PLUGIN_ROOT
61
- write_safety_labels:
62
- - Claude Code plugin installs expose the app home without local config writes
63
- diagnostics:
64
- check_names:
65
- - CLAUDE_PLUGIN_ROOT
66
- status_labels:
67
- - pass
68
- - warn
69
- - fail
70
- - skip
71
- gap_labels:
72
- - runtime_config
73
- - user_environment
74
- primary_messages:
75
- - runtime can reach shared Agentera helper scripts
76
- - Claude Code plugin root is not present in this process environment
77
- documentation_claims:
78
- reference_paths:
79
- - references/adapters/runtime-feature-parity.md
80
- parity_claims:
81
- - Claude Code uses native plugin and hook surfaces.
82
- install_claims:
83
- - Claude Code plugin installs expose the app home without local config writes.
84
- known_drifts:
85
- - Claude lifecycle behavior is validated through native hook files, not lifecycle metadata.
86
9
  - identity:
87
10
  runtime_id: opencode
88
11
  display_name: OpenCode
@@ -189,7 +112,7 @@ records:
189
112
  - OpenCode session preload observes session.created but has no verified context injection path.
190
113
  - identity:
191
114
  runtime_id: copilot
192
- display_name: Copilot CLI
115
+ display_name: GitHub Copilot
193
116
  adapter_family: portable-plugin
194
117
  support_status: supported
195
118
  host_detection:
@@ -271,9 +194,9 @@ records:
271
194
  - Upgrade runtime configure is noop; shell rc paths in host_detection are doctor diagnostic probes only.
272
195
  - identity:
273
196
  runtime_id: codex
274
- display_name: Codex CLI
197
+ display_name: Codex
275
198
  adapter_family: portable-plugin
276
- support_status: degraded
199
+ support_status: supported
277
200
  host_detection:
278
201
  binary_names:
279
202
  - codex
@@ -358,11 +281,12 @@ records:
358
281
  - Codex supports hook events but shipped config wires only apply_patch validation.
359
282
  - identity:
360
283
  runtime_id: cursor
361
- display_name: Cursor IDE
284
+ display_name: Cursor
362
285
  adapter_family: native-plugin
363
286
  support_status: supported
364
287
  host_detection:
365
288
  binary_names:
289
+ - cursor-agent
366
290
  - cursor
367
291
  host_config_locations:
368
292
  - AGENTERA_HOME
@@ -461,89 +385,3 @@ records:
461
385
  known_drifts:
462
386
  - Release tagging and marketplace publication remain blocked pending broader release closeout despite passed live preToolUse Write smoke.
463
387
  - Cloud agents are unsupported in v1.
464
- - identity:
465
- runtime_id: cursor-agent
466
- display_name: Cursor Agent CLI
467
- adapter_family: portable-cli
468
- support_status: degraded
469
- host_detection:
470
- binary_names:
471
- - cursor-agent
472
- - agent
473
- host_config_locations:
474
- - AGENTERA_HOME
475
- - ~/.bashrc
476
- - ~/.zshrc
477
- - ~/.config/fish/config.fish
478
- availability_probe_label: runtime_binary
479
- lifecycle_events:
480
- supported_events:
481
- - sessionStart
482
- - sessionEnd
483
- - preToolUse
484
- - postToolUse
485
- unsupported_events:
486
- - subagentStart
487
- - subagentStop
488
- - beforeSubmitPrompt
489
- - preCompact
490
- - stop
491
- event_status:
492
- sessionStart: degraded
493
- sessionEnd: degraded
494
- preToolUse: degraded
495
- postToolUse: degraded
496
- limitations:
497
- - CLI sessions may not inherit IDE sessionStart env; persistent shell configuration is a fallback only when shell-tool smoke fails.
498
- - Non-interactive print mode may hang after completion in some host builds; eval and smoke harnesses use bounded timeouts.
499
- - Cloud agents are unsupported in v1.
500
- artifact_validation:
501
- validation_events:
502
- - preToolUse
503
- hard_gate_claims:
504
- - CLI hook parity is degraded relative to IDE; hard-gate claims follow IDE smoke evidence only.
505
- payload_reconstruction_limitations:
506
- - CLI may omit hook wiring entirely when launched outside a Cursor workspace with project hooks.
507
- subagent_dispatch:
508
- mechanism: Cursor Agent CLI host-managed dispatch
509
- setup_targets: []
510
- descriptor_sources: []
511
- invocation_pattern: Use cursor-agent with explicit capability context; managed .cursor/agents descriptors apply only when the workspace is loaded.
512
- tool_configuration: global_full_access
513
- limitations:
514
- - Agentera does not install per-capability cursor-agent descriptors separately from IDE managed agents.
515
- config_targets:
516
- runtime_config_files: []
517
- hook_targets: []
518
- plugin_targets: []
519
- environment_exports:
520
- - AGENTERA_HOME
521
- write_safety_labels:
522
- - configure
523
- diagnostics:
524
- check_names:
525
- - AGENTERA_HOME
526
- - cursor-agent
527
- status_labels:
528
- - pass
529
- - warn
530
- - fail
531
- - skip
532
- gap_labels:
533
- - runtime_config
534
- - user_environment
535
- primary_messages:
536
- - runtime can reach shared Agentera helper scripts
537
- - cursor-agent binary is not on PATH
538
- - cursor-agent helper access depends on AGENTERA_HOME or shell rc configuration
539
- documentation_claims:
540
- reference_paths:
541
- - references/adapters/runtime-feature-parity.md
542
- - references/adapters/cursor.md
543
- parity_claims:
544
- - cursor-agent supports eval_skills --runtime cursor-agent print-mode dispatch.
545
- install_claims:
546
- - cursor-agent inherits IDE hook wiring only when run inside a workspace with installed Cursor surfaces.
547
- known_drifts:
548
- - CLI hook and session env parity is degraded relative to Cursor IDE.
549
- - Bare text /agentera routing is metadata-only like Claude, Copilot, and Codex.