@1claw/openapi-spec 0.52.0 → 0.53.1

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 (4) hide show
  1. package/README.md +14 -1
  2. package/openapi.json +1919 -529
  3. package/openapi.yaml +1121 -160
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -40,7 +40,20 @@ openapi-generator generate \
40
40
  import spec from "@1claw/openapi-spec/openapi.json";
41
41
  ```
42
42
 
43
- ## What's in the spec (v0.48.0)
43
+ ## What's in the spec (v0.52.0)
44
+
45
+ ### Environment Variables (v0.51)
46
+ - **Per-key env vars** — `GET/POST /v1/vaults/{id}/env-vars`, `GET/PATCH/DELETE .../{key}`, `GET .../resolve` with three-tier precedence (org shared < vault < branch override)
47
+ - **Vault environments** — `GET/POST /v1/vaults/{id}/environments`, `DELETE .../{slug}` (built-in + tier-gated custom)
48
+ - **Org shared vars** — `GET/POST /v1/org/env-vars`, link/unlink to vaults
49
+ - **Sensitive vars** — write-only after creation; org setting `env.require_sensitive_prod`
50
+ - **Runtime injection** — resolved vars merged into Cloud Runtime container env at start/rebuild
51
+
52
+ ### Agent Environment Tagging (v0.52)
53
+ - **Agent fields** — `environment`, `environment_locked`, `env_auto_resolve`, `per_environment_guardrails` on create/update/response schemas
54
+ - **JWT claim** — Agent tokens include `environment` when the agent has a tag
55
+ - **Policy conditions** — `environment_in` array in built-in policy `conditions` JSON
56
+ - **Env var resolution** — `GET /v1/vaults/{id}/env-vars/resolve` accepts optional `environment`; auto-fills from agent tag when `env_auto_resolve` is true
44
57
 
45
58
  ### Cedar/OPA Enforcement v2 (v0.48)
46
59
  - **Policy backend** — `GET/PATCH /v1/org/settings/policy-backend`, `GET /v1/org/policy-shadow-report`