oceum 0.2.2 → 0.3.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # oceum
2
2
 
3
- Official SDK for [Oceum](https://oceum.ai) — the command layer for AI agents. Monitor, log, track costs, and orchestrate your agents from one dashboard.
3
+ Official SDK for [Oceum](https://oceum.ai) — governed agent infrastructure. Progressive autonomy, zero-knowledge vault, governed execution, and enterprise-grade observability.
4
4
 
5
5
  Zero dependencies. Works with Node.js 18+, Deno, and Bun.
6
6
 
@@ -102,6 +102,17 @@ requests.post("https://oceum.ai/api/webhook",
102
102
  | `vaultRevoke(token)` | Permanently revoke a vault token |
103
103
  | `vaultList(opts?)` | List vault tokens (metadata only) |
104
104
 
105
+ ## Platform Capabilities
106
+
107
+ The Oceum platform (which this SDK connects to) includes:
108
+
109
+ - **Governed Execution Engine** -- Job queue with credential injection, approval workflows, and full audit trail
110
+ - **Protocol Adapters** -- REST, SOAP (WS-Security), SFTP, and JDBC adapters for legacy system integration
111
+ - **Data Mapping** -- Canonical business object translation between legacy formats
112
+ - **28 OAuth Integrations** -- Pre-built connectors for Slack, Google, Salesforce, Stripe, and more
113
+
114
+ Agents interact with these capabilities through the webhook API. See [oceum.ai/docs-public](https://oceum.ai/docs-public) for full platform documentation.
115
+
105
116
  ## Cost Tracking
106
117
 
107
118
  Report LLM token usage per call. Oceum calculates cost using configurable model pricing and enforces budget caps automatically.
package/index.d.ts CHANGED
@@ -145,7 +145,7 @@ export interface VaultStoreOptions {
145
145
  allowedAgents?: string;
146
146
  ttl?: '1h' | '6h' | '24h' | '7d' | '30d' | 'permanent';
147
147
  label?: string;
148
- targetDomains?: string[];
148
+ targetDomains?: string;
149
149
  injectionTemplate?: string;
150
150
  }
151
151
 
package/index.js CHANGED
@@ -405,26 +405,7 @@ class Oceum {
405
405
  * @param {string} token - Vault token (vtk_xxx)
406
406
  */
407
407
  async vaultRevoke(token) {
408
- const res = await fetch(`${this.#baseUrl}/api/vault`, {
409
- method: 'POST',
410
- headers: {
411
- 'Content-Type': 'application/json',
412
- 'Authorization': `Bearer ${this.#apiKey}`,
413
- },
414
- body: JSON.stringify({ action: 'revoke', token, agentId: this.#agentId }),
415
- });
416
-
417
- const body = await res.json().catch(() => ({}));
418
-
419
- if (!res.ok) {
420
- throw new OceumError(
421
- body.error || `HTTP ${res.status}`,
422
- res.status,
423
- body
424
- );
425
- }
426
-
427
- return body;
408
+ return this.#send('vault_revoke', { token });
428
409
  }
429
410
 
430
411
  /**
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "oceum",
3
- "version": "0.2.2",
4
- "description": "Official SDK for Oceum — the management platform for AI agents. Monitor, log, and orchestrate your agents from one dashboard.",
3
+ "version": "0.3.0",
4
+ "description": "Official SDK for Oceum — governed agent infrastructure. Progressive autonomy, zero-knowledge vault, governed execution, and enterprise-grade observability.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "require": "./index.js",
10
+ "types": "./index.d.ts"
11
+ }
12
+ },
7
13
  "files": [
8
14
  "index.js",
9
15
  "index.d.ts",
@@ -15,11 +21,13 @@
15
21
  "keywords": [
16
22
  "ai",
17
23
  "agents",
18
- "monitoring",
24
+ "governance",
19
25
  "oceum",
20
26
  "observability",
21
- "llm",
22
- "orchestration"
27
+ "autonomy",
28
+ "vault",
29
+ "enterprise",
30
+ "llm"
23
31
  ],
24
32
  "author": "Oceum <hello@oceum.ai>",
25
33
  "license": "MIT",