@omp-provider-capabilities/core 0.1.0 → 0.1.2

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 (2) hide show
  1. package/README.md +44 -0
  2. package/package.json +2 -1
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # @omp-provider-capabilities/core
2
+
3
+ Shared infrastructure for OMP provider capabilities.
4
+
5
+ ## Features
6
+
7
+ - **Batch Execution**: State machine, persistence, eligibility evaluation, OpenAI-compatible batch client
8
+ - **Credential Resolution**: Pluggable credential adapters (env vars, OMP stored credentials, macOS Keychain)
9
+ - **Capability Registry**: Provider capability metadata and discovery
10
+ - **A2A Protocol**: Cross-provider agent delegation (Linux Foundation Agent-to-Agent v1.0)
11
+ - **ACP**: Agent Client Protocol for IDE-agent communication (JSON-RPC 2.0)
12
+ - **MCP**: Model Context Protocol client for tool sharing between agents
13
+ - **Agent SDK**: Unified wrapper for provider-native agent frameworks
14
+ - **Beta Features**: Provider beta configuration management
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install @omp-provider-capabilities/core
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ```typescript
25
+ import { BatchStateMachine, CredentialResolver, CapabilityRegistry } from "@omp-provider-capabilities/core";
26
+
27
+ // Batch execution
28
+ const batch = new BatchStateMachine({ provider: "anthropic" });
29
+
30
+ // Credential resolution
31
+ const resolver = new CredentialResolver();
32
+ const creds = await resolver.resolve("anthropic");
33
+
34
+ // Capability registry
35
+ const registry = new CapabilityRegistry();
36
+ const caps = registry.getCapabilities("anthropic");
37
+ ```
38
+
39
+ ## Related Packages
40
+
41
+ - `@omp-provider-capabilities/harness` — Multi-harness orchestration with 21 adapters
42
+ - `@omp-provider-capabilities/keychain` — macOS Keychain credential adapter
43
+ - `@omp-provider-capabilities/anthropic` — Anthropic provider features
44
+ - `@omp-provider-capabilities/openai` — OpenAI provider features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omp-provider-capabilities/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Shared infrastructure for OMP provider capabilities: batch execution, credential resolution, capability registry, A2A/ACP/MCP protocols.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "files": [
17
17
  "src/",
18
+ "README.md",
18
19
  "!src/**/*.test.ts",
19
20
  "package.json"
20
21
  ],