@1claw/openapi-spec 0.12.0 → 0.13.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/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "1Claw API",
5
- "version": "2.4.1",
5
+ "version": "2.5.0",
6
6
  "description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
7
7
  "contact": {
8
8
  "email": "ops@1claw.xyz"
@@ -256,6 +256,43 @@
256
256
  }
257
257
  }
258
258
  },
259
+ "/v1/auth/jwt-public-key": {
260
+ "get": {
261
+ "tags": [
262
+ "Authentication"
263
+ ],
264
+ "summary": "Get JWT verification public key",
265
+ "description": "Returns the Ed25519 public key used to sign JWTs.\nUse this to verify tokens independently (e.g. in a TEE proxy or\ngateway). No authentication required.\n",
266
+ "operationId": "getJwtPublicKey",
267
+ "security": [],
268
+ "responses": {
269
+ "200": {
270
+ "description": "JWT public key",
271
+ "content": {
272
+ "application/json": {
273
+ "schema": {
274
+ "type": "object",
275
+ "required": [
276
+ "alg",
277
+ "public_key_base64"
278
+ ],
279
+ "properties": {
280
+ "alg": {
281
+ "type": "string",
282
+ "example": "EdDSA"
283
+ },
284
+ "public_key_base64": {
285
+ "type": "string",
286
+ "description": "Base64-encoded Ed25519 public key"
287
+ }
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ },
259
296
  "/v1/auth/signup": {
260
297
  "post": {
261
298
  "tags": [
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
 
3
3
  info:
4
4
  title: 1Claw API
5
- version: 2.4.1
5
+ version: 2.5.0
6
6
  description: |
7
7
  Secure secret management for AI agents. Provides vaults, secrets,
8
8
  policy-based access control, agent identity, Intents API,
@@ -169,6 +169,32 @@ paths:
169
169
  "401":
170
170
  $ref: "#/components/responses/Unauthorized"
171
171
 
172
+ /v1/auth/jwt-public-key:
173
+ get:
174
+ tags: [Authentication]
175
+ summary: Get JWT verification public key
176
+ description: |
177
+ Returns the Ed25519 public key used to sign JWTs.
178
+ Use this to verify tokens independently (e.g. in a TEE proxy or
179
+ gateway). No authentication required.
180
+ operationId: getJwtPublicKey
181
+ security: []
182
+ responses:
183
+ "200":
184
+ description: JWT public key
185
+ content:
186
+ application/json:
187
+ schema:
188
+ type: object
189
+ required: [alg, public_key_base64]
190
+ properties:
191
+ alg:
192
+ type: string
193
+ example: EdDSA
194
+ public_key_base64:
195
+ type: string
196
+ description: Base64-encoded Ed25519 public key
197
+
172
198
  /v1/auth/signup:
173
199
  post:
174
200
  tags: [Authentication]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "repository": {