@zackbart/connecta 0.34.1 → 0.36.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/CHANGELOG.md +418 -0
- package/README.md +65 -105
- package/SECURITY.md +3 -2
- package/bin/connecta.mjs +41 -16
- package/bin/version.mjs +1 -1
- package/dist/access-tokens.d.ts +2 -1
- package/dist/access-tokens.js +66 -30
- package/dist/activity.d.ts +1 -1
- package/dist/activity.js +2 -0
- package/dist/agent-config.d.ts +23 -0
- package/dist/agent-config.js +59 -0
- package/dist/agent-description.js +16 -0
- package/dist/agent-identity.js +4 -4
- package/dist/agent-observation.js +39 -0
- package/dist/auth/clerk-sdk/client.d.ts +2 -0
- package/dist/auth/clerk-sdk/generated.js +554 -563
- package/dist/auth/clerk-transport.js +70 -3
- package/dist/auth/clerk.d.ts +13 -0
- package/dist/auth/clerk.js +653 -246
- package/dist/auth/cloudflare-access.js +46 -42
- package/dist/auth/downstream-client-metadata.js +2 -2
- package/dist/auth/downstream-oauth.js +2044 -1161
- package/dist/auth/downstream-revocation.js +88 -88
- package/dist/auth/native-call.js +20 -0
- package/dist/auth/native.js +184 -0
- package/dist/auth/oauth-start-reset.js +11 -5
- package/dist/auth/oauth-token-response.js +121 -102
- package/dist/auth/oauth-v2-migration.js +97 -78
- package/dist/auth/renewable-grant.js +10 -0
- package/dist/auth/static-oauth.js +751 -281
- package/dist/auth/vercel-agent.js +266 -0
- package/dist/auth-admission.js +204 -0
- package/dist/auth-elicitation.js +350 -241
- package/dist/authorization-handoff.js +164 -90
- package/dist/call-admission-context.js +3 -10
- package/dist/call-admission.js +2 -0
- package/dist/call-classification.js +9 -0
- package/dist/call-recovery.js +32 -13
- package/dist/canonical-json.js +8 -0
- package/dist/catalog-cache.js +369 -213
- package/dist/catalog-service.js +659 -530
- package/dist/catalog.js +5 -1
- package/dist/concurrency.js +0 -25
- package/dist/config-defaults.d.ts +1 -0
- package/dist/config-defaults.js +1 -0
- package/dist/config-schema.d.ts +3 -1
- package/dist/config-schema.js +13 -3
- package/dist/config.d.ts +40 -6
- package/dist/config.js +40 -26
- package/dist/connector-caller.d.ts +4 -0
- package/dist/connector-caller.js +17 -4
- package/dist/connectors/api-connector.d.ts +29 -7
- package/dist/connectors/api-connector.js +145 -57
- package/dist/connectors/guarded-fetch.d.ts +51 -17
- package/dist/connectors/guarded-fetch.js +215 -121
- package/dist/connectors/negotiation-cache.js +20 -10
- package/dist/connectors/remote-mcp.d.ts +10 -30
- package/dist/connectors/remote-mcp.js +955 -563
- package/dist/d1.js +10 -243
- package/dist/derived-context.js +5 -0
- package/dist/describe-config.d.ts +3 -1
- package/dist/describe-config.js +2 -0
- package/dist/downstream-input.js +347 -260
- package/dist/errors.d.ts +87 -6
- package/dist/errors.js +114 -4
- package/dist/execute.js +87 -50
- package/dist/executor-admission.js +3 -0
- package/dist/executors/quickjs.js +163 -112
- package/dist/guarded-transport.js +50 -0
- package/dist/guest-runtime.js +1 -1
- package/dist/http/client.js +439 -0
- package/dist/http/errors.js +558 -0
- package/dist/http/fields.js +49 -0
- package/dist/http/hatch-paging.js +318 -0
- package/dist/http/hatch.js +1279 -0
- package/dist/http/json-schema.js +267 -0
- package/dist/http/node-transport.js +241 -0
- package/dist/http/oauth.js +162 -0
- package/dist/http/paging.js +227 -0
- package/dist/http/provider.js +221 -0
- package/dist/http/safety.js +82 -0
- package/dist/http/services.js +79 -0
- package/dist/http/tools.js +379 -0
- package/dist/http/vendor-index.js +138 -0
- package/dist/http/vendor.js +448 -0
- package/dist/http/write-request.js +66 -0
- package/dist/http-policy.d.ts +11 -0
- package/dist/http-policy.js +45 -0
- package/dist/inbound-credential.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/invocation-auth.js +30 -19
- package/dist/invocation.js +218 -85
- package/dist/mcp-result.js +0 -4
- package/dist/membership.d.ts +4 -0
- package/dist/meta-output.js +1 -1
- package/dist/meta-tools.js +531 -406
- package/dist/native-recovery.js +52 -0
- package/dist/native-tools.js +382 -0
- package/dist/node.d.ts +4 -3
- package/dist/node.js +45 -8
- package/dist/oauth-handoff.js +177 -104
- package/dist/oauth-partition.js +6 -20
- package/dist/oauth-sealing.js +6 -7
- package/dist/operation-vocabulary.js +101 -0
- package/dist/operator-record.d.ts +2 -2
- package/dist/operator-record.js +17 -4
- package/dist/operator-ui/contract.d.ts +8 -3
- package/dist/operator-ui/generated.js +4 -4
- package/dist/operator-ui/model.d.ts +2 -3
- package/dist/program-writes.js +47 -26
- package/dist/provider-call-facts.d.ts +115 -0
- package/dist/provider-call-facts.js +182 -0
- package/dist/provider-call.d.ts +112 -0
- package/dist/provider-call.js +271 -0
- package/dist/provider.d.ts +65 -31
- package/dist/provider.js +116 -39
- package/dist/providers/_shared/google/hatch.js +91 -0
- package/dist/providers/_shared/google/kit.js +427 -0
- package/dist/providers/_shared/google/result-size.js +15 -2
- package/dist/providers/_shared/google/service-account.d.ts +2 -1
- package/dist/providers/_shared/google/service-account.js +8 -4
- package/dist/providers/_shared/google/workspace.d.ts +6 -210
- package/dist/providers/_shared/google/workspace.js +6 -425
- package/dist/providers/_shared/rest/compact-index.js +86 -0
- package/dist/providers/_shared/rest/kit.js +146 -0
- package/dist/providers/_shared/rest/operation-index.js +230 -14
- package/dist/providers/_shared/rest/response-media.js +11 -0
- package/dist/providers/_shared/rest/value-safety.js +353 -195
- package/dist/providers/_shared/sensitive-fields.js +27 -0
- package/dist/providers/breeze/api.js +584 -0
- package/dist/providers/breeze/index.d.ts +1 -3
- package/dist/providers/breeze/index.js +67 -1420
- package/dist/providers/breeze/openapi.generated.js +60 -0
- package/dist/providers/breeze/skill.generated.js +2 -6
- package/dist/providers/breeze/tools.js +696 -0
- package/dist/providers/ccb/api.js +496 -0
- package/dist/providers/ccb/index.d.ts +15 -37
- package/dist/providers/ccb/index.js +77 -1702
- package/dist/providers/ccb/lib/constants.d.ts +34 -0
- package/dist/providers/ccb/lib/constants.js +74 -0
- package/dist/providers/ccb/lib/guide.js +9 -0
- package/dist/providers/ccb/lib/verdicts.js +387 -0
- package/dist/providers/ccb/openapi.generated.js +397 -0
- package/dist/providers/ccb/safety.js +295 -0
- package/dist/providers/ccb/skill.generated.js +2 -6
- package/dist/providers/ccb/tools.js +853 -0
- package/dist/providers/cloudflare/api.js +1066 -0
- package/dist/providers/cloudflare/index.d.ts +5 -22
- package/dist/providers/cloudflare/index.js +79 -197
- package/dist/providers/cloudflare/lib/config.d.ts +16 -0
- package/dist/providers/cloudflare/lib/config.js +2 -0
- package/dist/providers/cloudflare/lib/discovery.js +29 -0
- package/dist/providers/cloudflare/{graphql.js → lib/graphql.js} +1 -1
- package/dist/providers/cloudflare/lib/hatch.js +103 -0
- package/dist/providers/cloudflare/lib/path-bounds.js +28 -0
- package/dist/providers/cloudflare/lib/response-media.js +75 -0
- package/dist/providers/cloudflare/openapi.generated.js +4 -3
- package/dist/providers/cloudflare/{value-safety.js → safety.js} +487 -0
- package/dist/providers/cloudflare/skill.generated.js +2 -10
- package/dist/providers/cloudflare/tools.js +360 -0
- package/dist/providers/docs/api.js +51 -0
- package/dist/providers/docs/index.d.ts +1 -12
- package/dist/providers/docs/index.js +53 -1165
- package/dist/providers/docs/lib/constants.d.ts +18 -0
- package/dist/providers/docs/lib/constants.js +18 -0
- package/dist/providers/docs/lib/discovery.js +26 -0
- package/dist/providers/docs/lib/requests.js +48 -0
- package/dist/providers/docs/lib/schemas.js +168 -0
- package/dist/providers/docs/openapi.generated.js +16 -0
- package/dist/providers/docs/safety.js +54 -0
- package/dist/providers/docs/skill.generated.js +2 -6
- package/dist/providers/docs/tools.js +801 -0
- package/dist/providers/drive/api.js +177 -0
- package/dist/providers/drive/index.d.ts +1 -12
- package/dist/providers/drive/index.js +38 -1448
- package/dist/providers/drive/lib/constants.d.ts +6 -0
- package/dist/providers/drive/lib/constants.js +6 -0
- package/dist/providers/drive/lib/contracts.js +532 -0
- package/dist/providers/drive/lib/hatch.js +197 -0
- package/dist/providers/drive/openapi.generated.js +77 -0
- package/dist/providers/drive/safety.js +90 -0
- package/dist/providers/drive/skill.generated.js +2 -6
- package/dist/providers/drive/tools.js +1290 -0
- package/dist/providers/forms/api.js +71 -0
- package/dist/providers/forms/index.d.ts +1 -12
- package/dist/providers/forms/index.js +49 -1145
- package/dist/providers/forms/lib/constants.d.ts +14 -0
- package/dist/providers/forms/lib/constants.js +19 -0
- package/dist/providers/forms/lib/hatch.js +72 -0
- package/dist/providers/forms/openapi.generated.js +23 -0
- package/dist/providers/forms/safety.js +34 -0
- package/dist/providers/forms/skill.generated.js +2 -8
- package/dist/providers/forms/tools.js +1023 -0
- package/dist/providers/github/api.js +150 -0
- package/dist/providers/github/index.d.ts +4 -5
- package/dist/providers/github/index.js +30 -87
- package/dist/providers/github/{auth.d.ts → lib/auth.d.ts} +5 -3
- package/dist/providers/github/{auth.js → lib/auth.js} +40 -43
- package/dist/providers/github/lib/discovery.js +132 -0
- package/dist/providers/github/lib/operations.js +58 -0
- package/dist/providers/github/{scope.d.ts → lib/scope.d.ts} +2 -0
- package/dist/providers/github/{scope.js → lib/scope.js} +25 -1
- package/dist/providers/github/openapi.generated.js +1216 -0
- package/dist/providers/github/safety.js +216 -0
- package/dist/providers/github/skill.generated.js +2 -5
- package/dist/providers/github/tools.js +506 -0
- package/dist/providers/gmail/api.js +114 -0
- package/dist/providers/gmail/index.d.ts +1 -12
- package/dist/providers/gmail/index.js +73 -1621
- package/dist/providers/gmail/lib/constants.d.ts +13 -0
- package/dist/providers/gmail/lib/constants.js +16 -0
- package/dist/providers/gmail/lib/index.js +173 -0
- package/dist/providers/gmail/lib/schemas.js +176 -0
- package/dist/providers/gmail/lib/threading.js +120 -0
- package/dist/providers/gmail/openapi.generated.js +92 -0
- package/dist/providers/gmail/safety.js +21 -0
- package/dist/providers/gmail/skill.generated.js +2 -6
- package/dist/providers/gmail/tools.js +1435 -0
- package/dist/providers/overflow/api.js +1008 -0
- package/dist/providers/overflow/index.d.ts +1 -17
- package/dist/providers/overflow/index.js +60 -1488
- package/dist/providers/overflow/skill.generated.js +2 -5
- package/dist/providers/overflow/tools.js +873 -0
- package/dist/providers/planning-center/api.js +467 -0
- package/dist/providers/planning-center/index.d.ts +4 -35
- package/dist/providers/planning-center/index.js +69 -2445
- package/dist/providers/planning-center/lib/constants.d.ts +58 -0
- package/dist/providers/planning-center/lib/constants.js +83 -0
- package/dist/providers/planning-center/lib/discovery.js +40 -0
- package/dist/providers/planning-center/lib/guide.js +39 -0
- package/dist/providers/planning-center/lib/json-api.js +83 -0
- package/dist/providers/planning-center/lib/verdicts.js +1758 -0
- package/dist/providers/planning-center/openapi.generated.js +1764 -0
- package/dist/providers/planning-center/safety.js +188 -0
- package/dist/providers/planning-center/skill.generated.js +2 -27
- package/dist/providers/planning-center/tools.js +1010 -0
- package/dist/providers/quickbooks/api.js +299 -0
- package/dist/providers/quickbooks/index.d.ts +13 -0
- package/dist/providers/quickbooks/index.js +93 -0
- package/dist/providers/quickbooks/lib/query.js +118 -0
- package/dist/providers/quickbooks/lib/writes.js +168 -0
- package/dist/providers/quickbooks/safety.js +222 -0
- package/dist/providers/quickbooks/skill.generated.js +5 -0
- package/dist/providers/quickbooks/tools.js +117 -0
- package/dist/providers/sheets/api.js +133 -0
- package/dist/providers/sheets/index.d.ts +4 -16
- package/dist/providers/sheets/index.js +61 -1172
- package/dist/providers/sheets/lib/constants.d.ts +14 -0
- package/dist/providers/sheets/lib/constants.js +14 -0
- package/dist/providers/sheets/lib/hatch.js +163 -0
- package/dist/providers/sheets/lib/requests.js +105 -0
- package/dist/providers/sheets/lib/schemas.js +138 -0
- package/dist/providers/sheets/openapi.generated.js +30 -0
- package/dist/providers/sheets/safety.js +27 -0
- package/dist/providers/sheets/skill.generated.js +2 -7
- package/dist/providers/sheets/tools.js +733 -0
- package/dist/providers/slides/api.js +147 -0
- package/dist/providers/slides/index.d.ts +2 -10
- package/dist/providers/slides/index.js +48 -2555
- package/dist/providers/slides/lib/constants.d.ts +11 -0
- package/dist/providers/slides/lib/constants.js +11 -0
- package/dist/providers/slides/lib/requests.js +60 -0
- package/dist/providers/slides/lib/schemas.js +565 -0
- package/dist/providers/slides/openapi.generated.js +18 -0
- package/dist/providers/slides/skill.generated.js +2 -6
- package/dist/providers/slides/tools.js +1968 -0
- package/dist/providers/stripe/api.js +401 -0
- package/dist/providers/stripe/index.d.ts +5 -27
- package/dist/providers/stripe/index.js +74 -210
- package/dist/providers/stripe/lib/config.d.ts +4 -0
- package/dist/providers/stripe/lib/config.js +2 -0
- package/dist/providers/stripe/openapi.generated.js +4 -3
- package/dist/providers/stripe/{value-safety.js → safety.js} +5 -5
- package/dist/providers/stripe/skill.generated.js +2 -11
- package/dist/providers/stripe/tools.js +77 -0
- package/dist/providers/tithely/api.js +531 -0
- package/dist/providers/tithely/index.d.ts +17 -0
- package/dist/providers/tithely/index.js +86 -965
- package/dist/providers/tithely/skill.generated.js +2 -5
- package/dist/providers/tithely/tools.js +426 -0
- package/dist/providers/vercel/api.js +551 -0
- package/dist/providers/vercel/index.d.ts +9 -25
- package/dist/providers/vercel/index.js +65 -260
- package/dist/providers/vercel/lib/config.d.ts +2 -0
- package/dist/providers/vercel/lib/config.js +2 -0
- package/dist/providers/vercel/lib/index.js +117 -0
- package/dist/providers/vercel/lib/logs.js +100 -0
- package/dist/providers/vercel/lib/pin.js +270 -0
- package/dist/providers/vercel/openapi.generated.js +10 -5
- package/dist/providers/vercel/{value-safety.js → safety.js} +247 -38
- package/dist/providers/vercel/skill.generated.js +2 -7
- package/dist/providers/vercel/tools.js +642 -0
- package/dist/redaction-identity.js +47 -0
- package/dist/redaction-marker.js +125 -0
- package/dist/registry.d.ts +21 -15
- package/dist/registry.js +409 -376
- package/dist/routes/access-tokens.js +1 -1
- package/dist/routes/actor-labels.js +1 -1
- package/dist/routes/connect.js +1 -1
- package/dist/routes/dispatch.js +103 -0
- package/dist/routes/mcp.js +170 -79
- package/dist/routes/oauth.js +6 -1
- package/dist/routes/operator.js +2 -2
- package/dist/routes/shared.d.ts +5 -4
- package/dist/routes/shared.js +244 -177
- package/dist/routes/skills.js +10 -8
- package/dist/routes/ui-config.js +27 -3
- package/dist/routes/ui-data.js +21 -20
- package/dist/routes/ui.js +1 -1
- package/dist/runtime/call-admission.js +0 -26
- package/dist/runtime/call-entry.js +30 -0
- package/dist/runtime/call.js +552 -0
- package/dist/runtime/connector-scope.js +7 -0
- package/dist/runtime/credential-probe.js +34 -0
- package/dist/runtime/executor.js +40 -0
- package/dist/runtime/native-storage.js +63 -0
- package/dist/runtime/registry.js +27 -0
- package/dist/runtime/request-scope.js +72 -0
- package/dist/runtime/run.js +15 -7
- package/dist/runtime/shared-read.js +34 -5
- package/dist/runtime/storage.js +34 -21
- package/dist/sent-secrets.d.ts +194 -37
- package/dist/sent-secrets.js +1743 -340
- package/dist/server.js +5 -56
- package/dist/skills.js +322 -223
- package/dist/sqlite.js +15 -14
- package/dist/storage/d1-copy.js +255 -0
- package/dist/storage/d1-driver.js +15 -0
- package/dist/storage/keys.js +28 -0
- package/dist/storage/sql-driver.js +88 -0
- package/dist/storage/sql-native.js +544 -0
- package/dist/storage/sql-schema.d.ts +6 -0
- package/dist/storage/sql-schema.js +15 -0
- package/dist/storage/sql.d.ts +14 -20
- package/dist/storage/sql.js +29 -535
- package/dist/timeout.js +0 -26
- package/dist/tool-safety.js +20 -10
- package/dist/types.d.ts +9 -109
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +0 -1
- package/dist/upward.js +3 -0
- package/dist/usage-guide.js +3 -1
- package/dist/validate.d.ts +4 -2
- package/dist/validate.js +86 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker.js +312 -292
- package/dist/workspace-subject.js +5 -1
- package/dist/write-outcome.js +454 -34
- package/documentation/README.md +28 -7
- package/documentation/architecture.md +2409 -255
- package/documentation/auth.md +867 -114
- package/documentation/code-mode.md +49 -16
- package/documentation/deploying.md +164 -20
- package/documentation/hosted-mcp-migration.md +460 -0
- package/documentation/integrating.md +129 -144
- package/documentation/meta-tools.md +409 -32
- package/documentation/operating.md +27 -3
- package/documentation/operator-tests.md +3 -0
- package/documentation/operator-ui.md +84 -48
- package/documentation/provider-auth-migration.md +16 -63
- package/documentation/provider-migration-0.29.md +10 -5
- package/documentation/provider-migration-0.35.md +975 -0
- package/documentation/providers.md +1347 -0
- package/examples/worker/AGENTS.md +23 -9
- package/examples/worker/README.md +254 -135
- package/examples/worker/alchemy.run.ts +116 -0
- package/examples/worker/gitignore +10 -0
- package/examples/worker/src/connecta.config.ts +23 -21
- package/examples/worker/wrangler.jsonc +14 -5
- package/guides/connecting-agents.md +157 -0
- package/guides/how-it-works.md +156 -0
- package/guides/safety-and-trust.md +153 -0
- package/package.json +30 -50
- package/templates/node/.env.example +3 -0
- package/templates/node/README.md +22 -2
- package/templates/node/docker-compose.yml +1 -0
- package/templates/node/package.json +3 -2
- package/templates/node/src/connecta.config.ts +8 -0
- package/dist/catalog-drift.d.ts +0 -138
- package/dist/catalog-drift.js +0 -578
- package/dist/operator-ui/agents.d.ts +0 -74
- package/dist/operator-ui/agents.js +0 -104
- package/dist/operator-ui/config-summary.js +0 -565
- package/dist/operator-ui/connection-map.js +0 -376
- package/dist/operator-ui/endpoints.js +0 -221
- package/dist/operator-ui/fix-prompts.d.ts +0 -18
- package/dist/operator-ui/fix-prompts.js +0 -87
- package/dist/operator-ui/health.js +0 -52
- package/dist/operator-ui/member-page.js +0 -97
- package/dist/operator-ui/overview.js +0 -123
- package/dist/operator-ui/setup-commands.js +0 -51
- package/dist/operator-ui/view.d.ts +0 -401
- package/dist/operator-ui/view.js +0 -705
- package/dist/providers/_shared/request-token.js +0 -83
- package/dist/providers/_shared/rest/dispatch.js +0 -41
- package/dist/providers/_shared/rest/operation-index.d.ts +0 -133
- package/dist/providers/_shared/rest/tools.d.ts +0 -141
- package/dist/providers/_shared/rest/tools.js +0 -569
- package/dist/providers/_shared/rest/value-safety.d.ts +0 -201
- package/dist/providers/basecamp/index.d.ts +0 -45
- package/dist/providers/basecamp/index.js +0 -997
- package/dist/providers/basecamp/skill.generated.js +0 -9
- package/dist/providers/cloudflare/rest.d.ts +0 -37
- package/dist/providers/cloudflare/rest.js +0 -1097
- package/dist/providers/github/hosted.js +0 -218
- package/dist/providers/github/rest.js +0 -321
- package/dist/providers/infisical/index.d.ts +0 -7
- package/dist/providers/infisical/index.js +0 -713
- package/dist/providers/infisical/skill.generated.js +0 -8
- package/dist/providers/intercom/index.d.ts +0 -24
- package/dist/providers/intercom/index.js +0 -121
- package/dist/providers/intercom/skill.generated.js +0 -8
- package/dist/providers/linear/index.d.ts +0 -55
- package/dist/providers/linear/index.js +0 -537
- package/dist/providers/linear/skill.generated.js +0 -8
- package/dist/providers/mixpanel/index.d.ts +0 -59
- package/dist/providers/mixpanel/index.js +0 -472
- package/dist/providers/mixpanel/operations.js +0 -20
- package/dist/providers/mixpanel/rest.js +0 -603
- package/dist/providers/mixpanel/skill.generated.js +0 -10
- package/dist/providers/mixpanel/value-safety.js +0 -16
- package/dist/providers/notion/index.d.ts +0 -67
- package/dist/providers/notion/index.js +0 -368
- package/dist/providers/notion/openapi.generated.js +0 -75
- package/dist/providers/notion/rest.d.ts +0 -24
- package/dist/providers/notion/rest.js +0 -1226
- package/dist/providers/notion/skill.generated.js +0 -11
- package/dist/providers/notion/value-safety.js +0 -56
- package/dist/providers/revenuecat/index.d.ts +0 -51
- package/dist/providers/revenuecat/index.js +0 -697
- package/dist/providers/revenuecat/skill.generated.js +0 -11
- package/dist/providers/stripe/rest.d.ts +0 -14
- package/dist/providers/stripe/rest.js +0 -402
- package/dist/providers/vercel/rest.d.ts +0 -20
- package/dist/providers/vercel/rest.js +0 -1020
- package/dist/providers/wispr-flow/index.d.ts +0 -14
- package/dist/providers/wispr-flow/index.js +0 -117
- package/dist/providers/wispr-flow/skill.generated.js +0 -8
- /package/dist/providers/github/{key.js → lib/key.js} +0 -0
|
@@ -1200,6 +1200,493 @@ const OPERATIONS = {
|
|
|
1200
1200
|
* are reviewed metadata wherever they appear.
|
|
1201
1201
|
*/
|
|
1202
1202
|
export const CLOUDFLARE_VALUE_SAFETY = {
|
|
1203
|
+
absent: {
|
|
1204
|
+
"reason": "Paths a shared verdict carries (Access rules, Pages projects, Workers Builds, containers, RealtimeKit, Zaraz, certificates) that this operation's pinned response schema does not declare, or fields the schema leaves undeclared (binding payloads under a Worker's env map). They stay applied at runtime, so an undeclared field the vendor returns is still removed; listing them here keeps every other path checked against the schema.",
|
|
1205
|
+
"operations": {
|
|
1206
|
+
"DELETE /accounts/{account_id}/pages/projects/{project_name}/source": ["env_vars.*.value"],
|
|
1207
|
+
"GET /accounts/{account_id}/access/apps/{app_id}/policies": [
|
|
1208
|
+
"is_default.any_valid_service_token",
|
|
1209
|
+
"is_default.linked_app_token",
|
|
1210
|
+
"is_default.service_token",
|
|
1211
|
+
],
|
|
1212
|
+
"GET /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1213
|
+
"is_default.any_valid_service_token",
|
|
1214
|
+
"is_default.linked_app_token",
|
|
1215
|
+
"is_default.service_token",
|
|
1216
|
+
],
|
|
1217
|
+
"GET /accounts/{account_id}/access/policies": [
|
|
1218
|
+
"is_default.any_valid_service_token",
|
|
1219
|
+
"is_default.linked_app_token",
|
|
1220
|
+
"is_default.service_token",
|
|
1221
|
+
],
|
|
1222
|
+
"GET /accounts/{account_id}/access/policies/{policy_id}": [
|
|
1223
|
+
"is_default.any_valid_service_token",
|
|
1224
|
+
"is_default.linked_app_token",
|
|
1225
|
+
"is_default.service_token",
|
|
1226
|
+
],
|
|
1227
|
+
"GET /accounts/{account_id}/builds/builds": [
|
|
1228
|
+
"*.value",
|
|
1229
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1230
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1231
|
+
"previews_base_config.environment_variables.*.value",
|
|
1232
|
+
"production_settings.environment_variables.*.value",
|
|
1233
|
+
"settings.environment_variables.*.value",
|
|
1234
|
+
],
|
|
1235
|
+
"GET /accounts/{account_id}/builds/builds/latest": [
|
|
1236
|
+
"*.value",
|
|
1237
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1238
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1239
|
+
"previews_base_config.environment_variables.*.value",
|
|
1240
|
+
"production_settings.environment_variables.*.value",
|
|
1241
|
+
"settings.environment_variables.*.value",
|
|
1242
|
+
],
|
|
1243
|
+
"GET /accounts/{account_id}/builds/builds/{build_uuid}": [
|
|
1244
|
+
"*.value",
|
|
1245
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1246
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1247
|
+
"previews_base_config.environment_variables.*.value",
|
|
1248
|
+
"production_settings.environment_variables.*.value",
|
|
1249
|
+
"settings.environment_variables.*.value",
|
|
1250
|
+
],
|
|
1251
|
+
"GET /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables": [
|
|
1252
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1253
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1254
|
+
"previews_base_config.environment_variables.*.value",
|
|
1255
|
+
"production_settings.environment_variables.*.value",
|
|
1256
|
+
"settings.environment_variables.*.value",
|
|
1257
|
+
],
|
|
1258
|
+
"GET /accounts/{account_id}/builds/workers/{external_script_id}/builds": [
|
|
1259
|
+
"*.value",
|
|
1260
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1261
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1262
|
+
"previews_base_config.environment_variables.*.value",
|
|
1263
|
+
"production_settings.environment_variables.*.value",
|
|
1264
|
+
"settings.environment_variables.*.value",
|
|
1265
|
+
],
|
|
1266
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}": [
|
|
1267
|
+
"*.value",
|
|
1268
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1269
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1270
|
+
"settings.environment_variables.*.value",
|
|
1271
|
+
],
|
|
1272
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}": [
|
|
1273
|
+
"*.value",
|
|
1274
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1275
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1276
|
+
"previews_base_config.environment_variables.*.value",
|
|
1277
|
+
"production_settings.environment_variables.*.value",
|
|
1278
|
+
],
|
|
1279
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds": [
|
|
1280
|
+
"*.value",
|
|
1281
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1282
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1283
|
+
"previews_base_config.environment_variables.*.value",
|
|
1284
|
+
"production_settings.environment_variables.*.value",
|
|
1285
|
+
"settings.environment_variables.*.value",
|
|
1286
|
+
],
|
|
1287
|
+
"GET /accounts/{account_id}/cni/cnis": ["bgp.md5_key"],
|
|
1288
|
+
"GET /accounts/{account_id}/cni/cnis/{cni}": ["items.bgp.md5_key"],
|
|
1289
|
+
"GET /accounts/{account_id}/containers/applications": [
|
|
1290
|
+
"current_configuration.authorized_keys",
|
|
1291
|
+
"current_configuration.environment_variables.value",
|
|
1292
|
+
"next_page_token",
|
|
1293
|
+
"page_token",
|
|
1294
|
+
"target_configuration.authorized_keys",
|
|
1295
|
+
"target_configuration.environment_variables.value",
|
|
1296
|
+
],
|
|
1297
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}": [
|
|
1298
|
+
"current_configuration.authorized_keys",
|
|
1299
|
+
"current_configuration.environment_variables.value",
|
|
1300
|
+
"next_page_token",
|
|
1301
|
+
"page_token",
|
|
1302
|
+
"target_configuration.authorized_keys",
|
|
1303
|
+
"target_configuration.environment_variables.value",
|
|
1304
|
+
],
|
|
1305
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}/instances-v2": [
|
|
1306
|
+
"next_page_token",
|
|
1307
|
+
"page_token",
|
|
1308
|
+
],
|
|
1309
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}/versions": [
|
|
1310
|
+
"current_configuration.authorized_keys",
|
|
1311
|
+
"current_configuration.environment_variables.value",
|
|
1312
|
+
"next_page_token",
|
|
1313
|
+
"page_token",
|
|
1314
|
+
"target_configuration.authorized_keys",
|
|
1315
|
+
"target_configuration.environment_variables.value",
|
|
1316
|
+
],
|
|
1317
|
+
"GET /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1318
|
+
"GET /accounts/{account_id}/pages/projects": ["env_vars.*.value"],
|
|
1319
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}": ["env_vars.*.value"],
|
|
1320
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}/deployments": [
|
|
1321
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1322
|
+
"canonical_deployment.env_vars.*.value",
|
|
1323
|
+
"deployment_configs.preview.ai_bindings",
|
|
1324
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1325
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1326
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1327
|
+
"deployment_configs.production.ai_bindings",
|
|
1328
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1329
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1330
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1331
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1332
|
+
"latest_deployment.env_vars.*.value",
|
|
1333
|
+
],
|
|
1334
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}": [
|
|
1335
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1336
|
+
"canonical_deployment.env_vars.*.value",
|
|
1337
|
+
"deployment_configs.preview.ai_bindings",
|
|
1338
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1339
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1340
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1341
|
+
"deployment_configs.production.ai_bindings",
|
|
1342
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1343
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1344
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1345
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1346
|
+
"latest_deployment.env_vars.*.value",
|
|
1347
|
+
],
|
|
1348
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams": [
|
|
1349
|
+
"data.livestream.stream_key",
|
|
1350
|
+
"data.livestreams.stream_key",
|
|
1351
|
+
],
|
|
1352
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}": [
|
|
1353
|
+
"data.livestreams.stream_key",
|
|
1354
|
+
"data.stream_key",
|
|
1355
|
+
],
|
|
1356
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}/active-livestream-session": [
|
|
1357
|
+
"data.livestreams.stream_key",
|
|
1358
|
+
"data.stream_key",
|
|
1359
|
+
],
|
|
1360
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-livestream": [
|
|
1361
|
+
"data.livestream.stream_key",
|
|
1362
|
+
"data.livestreams.stream_key",
|
|
1363
|
+
],
|
|
1364
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestream": [
|
|
1365
|
+
"data.livestream.stream_key",
|
|
1366
|
+
"data.stream_key",
|
|
1367
|
+
],
|
|
1368
|
+
"GET /accounts/{account_id}/stream/live_inputs": [
|
|
1369
|
+
"rtmps.streamKey",
|
|
1370
|
+
"rtmps.url",
|
|
1371
|
+
"rtmpsPlayback.streamKey",
|
|
1372
|
+
"rtmpsPlayback.url",
|
|
1373
|
+
"srt.passphrase",
|
|
1374
|
+
"srt.url",
|
|
1375
|
+
"srtPlayback.passphrase",
|
|
1376
|
+
"srtPlayback.url",
|
|
1377
|
+
"webRTC.url#url",
|
|
1378
|
+
"webRTCPlayback.url",
|
|
1379
|
+
],
|
|
1380
|
+
"GET /accounts/{account_id}/workers/workers": [
|
|
1381
|
+
"previews_base_config.env.*.json",
|
|
1382
|
+
"previews_base_config.env.*.text",
|
|
1383
|
+
],
|
|
1384
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1385
|
+
"previews_base_config.env.*.json",
|
|
1386
|
+
"previews_base_config.env.*.text",
|
|
1387
|
+
],
|
|
1388
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments": [
|
|
1389
|
+
"env.*.json",
|
|
1390
|
+
"env.*.text",
|
|
1391
|
+
],
|
|
1392
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/{deployment_id}": [
|
|
1393
|
+
"env.*.json",
|
|
1394
|
+
"env.*.text",
|
|
1395
|
+
],
|
|
1396
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions": ["env.*.json", "env.*.text"],
|
|
1397
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions/latest": ["env.*.json", "env.*.text"],
|
|
1398
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}": ["env.*.json", "env.*.text"],
|
|
1399
|
+
"GET /organizations": ["next_page_token"],
|
|
1400
|
+
"GET /organizations/{organization_id}/accounts": ["next_page_token"],
|
|
1401
|
+
"GET /organizations/{organization_id}/members": ["next_page_token"],
|
|
1402
|
+
"GET /zones/{zone_id}/access/apps": [
|
|
1403
|
+
"policies.exclude.any_valid_service_token",
|
|
1404
|
+
"policies.exclude.linked_app_token",
|
|
1405
|
+
"policies.exclude.service_token",
|
|
1406
|
+
"policies.include.any_valid_service_token",
|
|
1407
|
+
"policies.include.linked_app_token",
|
|
1408
|
+
"policies.include.service_token",
|
|
1409
|
+
"policies.require.any_valid_service_token",
|
|
1410
|
+
"policies.require.linked_app_token",
|
|
1411
|
+
"policies.require.service_token",
|
|
1412
|
+
"read_service_tokens_from_header",
|
|
1413
|
+
],
|
|
1414
|
+
"GET /zones/{zone_id}/access/apps/{app_id}": [
|
|
1415
|
+
"policies.exclude.any_valid_service_token",
|
|
1416
|
+
"policies.exclude.linked_app_token",
|
|
1417
|
+
"policies.exclude.service_token",
|
|
1418
|
+
"policies.include.any_valid_service_token",
|
|
1419
|
+
"policies.include.linked_app_token",
|
|
1420
|
+
"policies.include.service_token",
|
|
1421
|
+
"policies.require.any_valid_service_token",
|
|
1422
|
+
"policies.require.linked_app_token",
|
|
1423
|
+
"policies.require.service_token",
|
|
1424
|
+
"read_service_tokens_from_header",
|
|
1425
|
+
],
|
|
1426
|
+
"GET /zones/{zone_id}/access/apps/{app_id}/policies": [
|
|
1427
|
+
"is_default.any_valid_service_token",
|
|
1428
|
+
"is_default.linked_app_token",
|
|
1429
|
+
"is_default.service_token",
|
|
1430
|
+
],
|
|
1431
|
+
"GET /zones/{zone_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1432
|
+
"is_default.any_valid_service_token",
|
|
1433
|
+
"is_default.linked_app_token",
|
|
1434
|
+
"is_default.service_token",
|
|
1435
|
+
],
|
|
1436
|
+
"GET /zones/{zone_id}/access/groups": [
|
|
1437
|
+
"is_default.any_valid_service_token",
|
|
1438
|
+
"is_default.linked_app_token",
|
|
1439
|
+
"is_default.service_token",
|
|
1440
|
+
],
|
|
1441
|
+
"GET /zones/{zone_id}/access/groups/{group_id}": [
|
|
1442
|
+
"is_default.any_valid_service_token",
|
|
1443
|
+
"is_default.linked_app_token",
|
|
1444
|
+
"is_default.service_token",
|
|
1445
|
+
],
|
|
1446
|
+
"GET /zones/{zone_id}/custom_certificates": ["certificates.geo_restrictions"],
|
|
1447
|
+
"GET /zones/{zone_id}/custom_certificates/{custom_certificate_id}": ["certificates.geo_restrictions"],
|
|
1448
|
+
"GET /zones/{zone_id}/settings/zaraz/config": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1449
|
+
"GET /zones/{zone_id}/settings/zaraz/default": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1450
|
+
"GET /zones/{zone_id}/settings/zaraz/export": [
|
|
1451
|
+
"*.config.debugKey",
|
|
1452
|
+
"*.config.variables.*.value",
|
|
1453
|
+
"*.debugKey",
|
|
1454
|
+
"*.variables.*.value",
|
|
1455
|
+
],
|
|
1456
|
+
"GET /zones/{zone_id}/settings/zaraz/history/configs": [
|
|
1457
|
+
"*.debugKey",
|
|
1458
|
+
"*.variables.*.value",
|
|
1459
|
+
"debugKey",
|
|
1460
|
+
"variables.*.value",
|
|
1461
|
+
],
|
|
1462
|
+
"GET /zones/{zone_id}/ssl/certificate_packs": ["geo_restrictions", "policy_restrictions"],
|
|
1463
|
+
"GET /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}": ["geo_restrictions", "policy_restrictions"],
|
|
1464
|
+
"PATCH /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables": [
|
|
1465
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1466
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1467
|
+
"previews_base_config.environment_variables.*.value",
|
|
1468
|
+
"production_settings.environment_variables.*.value",
|
|
1469
|
+
"settings.environment_variables.*.value",
|
|
1470
|
+
],
|
|
1471
|
+
"PATCH /accounts/{account_id}/builds/workers/{script_tag}": [
|
|
1472
|
+
"*.value",
|
|
1473
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1474
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1475
|
+
"settings.environment_variables.*.value",
|
|
1476
|
+
],
|
|
1477
|
+
"PATCH /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}": [
|
|
1478
|
+
"*.value",
|
|
1479
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1480
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1481
|
+
"previews_base_config.environment_variables.*.value",
|
|
1482
|
+
"production_settings.environment_variables.*.value",
|
|
1483
|
+
],
|
|
1484
|
+
"PATCH /accounts/{account_id}/containers/applications/{application_id}": [
|
|
1485
|
+
"current_configuration.authorized_keys",
|
|
1486
|
+
"current_configuration.environment_variables.value",
|
|
1487
|
+
"next_page_token",
|
|
1488
|
+
"page_token",
|
|
1489
|
+
"target_configuration.authorized_keys",
|
|
1490
|
+
"target_configuration.environment_variables.value",
|
|
1491
|
+
],
|
|
1492
|
+
"PATCH /accounts/{account_id}/pages/projects/{project_name}": ["env_vars.*.value"],
|
|
1493
|
+
"PATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets-bulk": ["key_base64", "key_jwk", "text"],
|
|
1494
|
+
"PATCH /accounts/{account_id}/workers/scripts/{script_name}/secrets-bulk": ["key_base64", "key_jwk", "text"],
|
|
1495
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1496
|
+
"previews_base_config.env.*.json",
|
|
1497
|
+
"previews_base_config.env.*.text",
|
|
1498
|
+
],
|
|
1499
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/latest": [
|
|
1500
|
+
"env.*.json",
|
|
1501
|
+
"env.*.text",
|
|
1502
|
+
],
|
|
1503
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}/versions/latest": ["env.*.json", "env.*.text"],
|
|
1504
|
+
"PATCH /zones/{zone_id}/custom_certificates/{custom_certificate_id}": ["certificates.geo_restrictions"],
|
|
1505
|
+
"PATCH /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}": ["geo_restrictions", "policy_restrictions"],
|
|
1506
|
+
"POST /accounts/{account_id}/access/apps/{app_id}/policies": [
|
|
1507
|
+
"is_default.any_valid_service_token",
|
|
1508
|
+
"is_default.linked_app_token",
|
|
1509
|
+
"is_default.service_token",
|
|
1510
|
+
],
|
|
1511
|
+
"POST /accounts/{account_id}/access/policies": [
|
|
1512
|
+
"is_default.any_valid_service_token",
|
|
1513
|
+
"is_default.linked_app_token",
|
|
1514
|
+
"is_default.service_token",
|
|
1515
|
+
],
|
|
1516
|
+
"POST /accounts/{account_id}/builds/triggers/{trigger_uuid}/builds": [
|
|
1517
|
+
"*.value",
|
|
1518
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1519
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1520
|
+
"previews_base_config.environment_variables.*.value",
|
|
1521
|
+
"production_settings.environment_variables.*.value",
|
|
1522
|
+
"settings.environment_variables.*.value",
|
|
1523
|
+
],
|
|
1524
|
+
"POST /accounts/{account_id}/builds/workers": [
|
|
1525
|
+
"*.value",
|
|
1526
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1527
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1528
|
+
"settings.environment_variables.*.value",
|
|
1529
|
+
],
|
|
1530
|
+
"POST /accounts/{account_id}/builds/workers/{script_tag}/migrate_to_previews": [
|
|
1531
|
+
"*.value",
|
|
1532
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1533
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1534
|
+
"settings.environment_variables.*.value",
|
|
1535
|
+
],
|
|
1536
|
+
"POST /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds": [
|
|
1537
|
+
"*.value",
|
|
1538
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1539
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1540
|
+
"previews_base_config.environment_variables.*.value",
|
|
1541
|
+
"production_settings.environment_variables.*.value",
|
|
1542
|
+
"settings.environment_variables.*.value",
|
|
1543
|
+
],
|
|
1544
|
+
"POST /accounts/{account_id}/cni/cnis": ["items.bgp.md5_key"],
|
|
1545
|
+
"POST /accounts/{account_id}/containers/applications": [
|
|
1546
|
+
"current_configuration.authorized_keys",
|
|
1547
|
+
"current_configuration.environment_variables.value",
|
|
1548
|
+
"next_page_token",
|
|
1549
|
+
"page_token",
|
|
1550
|
+
"target_configuration.authorized_keys",
|
|
1551
|
+
"target_configuration.environment_variables.value",
|
|
1552
|
+
],
|
|
1553
|
+
"POST /accounts/{account_id}/containers/applications/{application_id}/rollouts": [
|
|
1554
|
+
"configuration.authorized_keys",
|
|
1555
|
+
"configuration.environment_variables.value",
|
|
1556
|
+
"next_page_token",
|
|
1557
|
+
"page_token",
|
|
1558
|
+
],
|
|
1559
|
+
"POST /accounts/{account_id}/d1/database/{database_id}/export": ["signed_url#url"],
|
|
1560
|
+
"POST /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1561
|
+
"POST /accounts/{account_id}/pages/projects": ["env_vars.*.value"],
|
|
1562
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments": [
|
|
1563
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1564
|
+
"canonical_deployment.env_vars.*.value",
|
|
1565
|
+
"deployment_configs.preview.ai_bindings",
|
|
1566
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1567
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1568
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1569
|
+
"deployment_configs.production.ai_bindings",
|
|
1570
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1571
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1572
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1573
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1574
|
+
"latest_deployment.env_vars.*.value",
|
|
1575
|
+
],
|
|
1576
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/retry": [
|
|
1577
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1578
|
+
"canonical_deployment.env_vars.*.value",
|
|
1579
|
+
"deployment_configs.preview.ai_bindings",
|
|
1580
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1581
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1582
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1583
|
+
"deployment_configs.production.ai_bindings",
|
|
1584
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1585
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1586
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1587
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1588
|
+
"latest_deployment.env_vars.*.value",
|
|
1589
|
+
],
|
|
1590
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/rollback": [
|
|
1591
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1592
|
+
"canonical_deployment.env_vars.*.value",
|
|
1593
|
+
"deployment_configs.preview.ai_bindings",
|
|
1594
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1595
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1596
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1597
|
+
"deployment_configs.production.ai_bindings",
|
|
1598
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1599
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1600
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1601
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1602
|
+
"latest_deployment.env_vars.*.value",
|
|
1603
|
+
],
|
|
1604
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/source": ["env_vars.*.value"],
|
|
1605
|
+
"POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams": [
|
|
1606
|
+
"data.livestream.stream_key",
|
|
1607
|
+
"data.livestreams.stream_key",
|
|
1608
|
+
],
|
|
1609
|
+
"POST /accounts/{account_id}/workers/workers": [
|
|
1610
|
+
"previews_base_config.env.*.json",
|
|
1611
|
+
"previews_base_config.env.*.text",
|
|
1612
|
+
],
|
|
1613
|
+
"POST /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments": [
|
|
1614
|
+
"env.*.json",
|
|
1615
|
+
"env.*.text",
|
|
1616
|
+
],
|
|
1617
|
+
"POST /accounts/{account_id}/workers/workers/{worker_id}/versions": ["env.*.json", "env.*.text"],
|
|
1618
|
+
"POST /zones/{zone_id}/access/apps": [
|
|
1619
|
+
"policies.exclude.any_valid_service_token",
|
|
1620
|
+
"policies.exclude.linked_app_token",
|
|
1621
|
+
"policies.exclude.service_token",
|
|
1622
|
+
"policies.include.any_valid_service_token",
|
|
1623
|
+
"policies.include.linked_app_token",
|
|
1624
|
+
"policies.include.service_token",
|
|
1625
|
+
"policies.require.any_valid_service_token",
|
|
1626
|
+
"policies.require.linked_app_token",
|
|
1627
|
+
"policies.require.service_token",
|
|
1628
|
+
"read_service_tokens_from_header",
|
|
1629
|
+
],
|
|
1630
|
+
"POST /zones/{zone_id}/access/apps/{app_id}/policies": [
|
|
1631
|
+
"is_default.any_valid_service_token",
|
|
1632
|
+
"is_default.linked_app_token",
|
|
1633
|
+
"is_default.service_token",
|
|
1634
|
+
],
|
|
1635
|
+
"POST /zones/{zone_id}/access/groups": [
|
|
1636
|
+
"is_default.any_valid_service_token",
|
|
1637
|
+
"is_default.linked_app_token",
|
|
1638
|
+
"is_default.service_token",
|
|
1639
|
+
],
|
|
1640
|
+
"POST /zones/{zone_id}/custom_certificates": ["certificates.geo_restrictions"],
|
|
1641
|
+
"POST /zones/{zone_id}/ssl/certificate_packs/order": ["geo_restrictions", "policy_restrictions"],
|
|
1642
|
+
"PUT /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1643
|
+
"is_default.any_valid_service_token",
|
|
1644
|
+
"is_default.linked_app_token",
|
|
1645
|
+
"is_default.service_token",
|
|
1646
|
+
],
|
|
1647
|
+
"PUT /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}/make_reusable": [
|
|
1648
|
+
"is_default.any_valid_service_token",
|
|
1649
|
+
"is_default.linked_app_token",
|
|
1650
|
+
"is_default.service_token",
|
|
1651
|
+
],
|
|
1652
|
+
"PUT /accounts/{account_id}/access/policies/{policy_id}": [
|
|
1653
|
+
"is_default.any_valid_service_token",
|
|
1654
|
+
"is_default.linked_app_token",
|
|
1655
|
+
"is_default.service_token",
|
|
1656
|
+
],
|
|
1657
|
+
"PUT /accounts/{account_id}/cni/cnis/{cni}": ["items.bgp.md5_key"],
|
|
1658
|
+
"PUT /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1659
|
+
"PUT /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1660
|
+
"previews_base_config.env.*.json",
|
|
1661
|
+
"previews_base_config.env.*.text",
|
|
1662
|
+
],
|
|
1663
|
+
"PUT /zones/{zone_id}/access/apps/{app_id}": [
|
|
1664
|
+
"policies.exclude.any_valid_service_token",
|
|
1665
|
+
"policies.exclude.linked_app_token",
|
|
1666
|
+
"policies.exclude.service_token",
|
|
1667
|
+
"policies.include.any_valid_service_token",
|
|
1668
|
+
"policies.include.linked_app_token",
|
|
1669
|
+
"policies.include.service_token",
|
|
1670
|
+
"policies.require.any_valid_service_token",
|
|
1671
|
+
"policies.require.linked_app_token",
|
|
1672
|
+
"policies.require.service_token",
|
|
1673
|
+
"read_service_tokens_from_header",
|
|
1674
|
+
],
|
|
1675
|
+
"PUT /zones/{zone_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1676
|
+
"is_default.any_valid_service_token",
|
|
1677
|
+
"is_default.linked_app_token",
|
|
1678
|
+
"is_default.service_token",
|
|
1679
|
+
],
|
|
1680
|
+
"PUT /zones/{zone_id}/access/groups/{group_id}": [
|
|
1681
|
+
"is_default.any_valid_service_token",
|
|
1682
|
+
"is_default.linked_app_token",
|
|
1683
|
+
"is_default.service_token",
|
|
1684
|
+
],
|
|
1685
|
+
"PUT /zones/{zone_id}/custom_certificates/prioritize": ["certificates.geo_restrictions"],
|
|
1686
|
+
"PUT /zones/{zone_id}/settings/zaraz/config": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1687
|
+
"PUT /zones/{zone_id}/settings/zaraz/history": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1688
|
+
},
|
|
1689
|
+
},
|
|
1203
1690
|
embeddedUrls: {
|
|
1204
1691
|
operations: {
|
|
1205
1692
|
"GET /accounts/{account_id}/builds/builds/{build_uuid}/logs": ["lines"],
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/generate-providers.mjs; do not edit.
|
|
2
2
|
export const skill = {
|
|
3
|
-
"content": "
|
|
4
|
-
"instructionsHeading": "Account instructions"
|
|
5
|
-
"fragments": {
|
|
6
|
-
"oauth": "\n\n- The catalog is Cloudflare's own `docs`, `search`, and `execute`. `docs` searches Cloudflare developer documentation. `search` runs code against Cloudflare's OpenAPI document; `execute` runs code that may call any Cloudflare API endpoint the OAuth grant allows.\n- Connecta classifies `execute` as a write, even for a program that only reads, because one program can mix GET, POST, PUT, PATCH, and DELETE and no schema proves otherwise. A read-only endpoint therefore gets `docs` and `search` here. Deployments that need API reads from a read-only endpoint configure an API-token connector, whose `cloudflare_api_read` and named reads are reads.\n- Use `search` to find the exact method, path, and fields before writing an execute program. Do not guess an endpoint from product naming.\n- Keep returned values small. Filter and project inside the Cloudflare program, then reduce again inside Connecta's `execute_code` when several calls must be joined.\n- This connection has none of the REST connector's tools: no `cloudflare_api_*` validation against a pinned index, no `graphql_query`, no `cloudflare_api_upload`, and no account or zone pin. OAuth permissions are the boundary.\n",
|
|
7
|
-
"oauth_tail": "- An `auth_required` failure means this connector's Cloudflare authorization is missing or expired: run `authorize_connector` for this connector id, then retry the same call unchanged.\n",
|
|
8
|
-
"global_warning": "\n\nThis connector holds a Global API Key. It acts as its Cloudflare user with every permission that user has, in every account and zone the user belongs to, and nothing on Cloudflare's side narrows it. A mistaken write can reach production domains, billing, and members across all of them. Prefer reads, state the account and zone of every write, and stop when a request is ambiguous. Writes under `/user` and `/memberships` are refused. R2 accepts API tokens only, so R2 operations fail with this key.\n",
|
|
9
|
-
"key": "\n\n- This is Connecta's REST connector to the Cloudflare v4 API, holding one operator-managed credential. `cloudflare_api_search` finds API operations in a pinned index (not records) and names the tool that calls each; `cloudflare_api_details` returns one operation's parameters and body with types, enums, and required names. Neither sends a request.\n- `cloudflare_api_read` calls GET operations plus reviewed read-only POSTs: analytics queries, Analytics Engine and SQL API queries, Log Explorer SQL, Vectorize queries, KV bulk get, telemetry queries, application-name lookup, and validation checks (including custom posture finding types). `cloudflare_api_write` calls every other POST, PUT, PATCH, and DELETE with `method` and `path` stated. D1 `…/query` and `…/raw`, Durable Object queries, Workers AI `…/ai/run`, AI Search and AutoRAG search (query rewriting runs billed models), monetization checks, and flag evaluation are writes: they can change data, cost money, or activate something.\n- Paths are concrete: substitute ids into the template search returned (`/zones/<zone id>/dns_records/<record id>`). Pass `query` and `body` as JSON named as details lists them; text operations (Analytics Engine SQL, Log Explorer SQL, Worker scripts) take a string body, and Vectorize inserts a list of objects sent as NDJSON. R2 calls accept `headers` with `cf-r2-jurisdiction` or `cf-r2-storage-class`. Encode a `/` inside an R2 object key or KV key name as `%2F`.\n- Every call is checked against the pinned index before it is sent. An unknown path returns the nearest operations; an unknown or missing parameter returns `validation.issues` with the accepted names. Nothing reached Cloudflare, so fix the call from that answer.\n- Under an account pin, each uncached zone-ownership check also spends the connector's call budget. Checks stay capped at three per call and 60 per five minutes per connector; an exhausted budget stops the check and the requested operation.\n- Results arrive as `{ status, data, page? }` with Cloudflare's envelope unwrapped: `data` is the `result`. On a list, pass `page.next` as the `page.param` query argument (`page` for numbered lists, `cursor` for KV, R2, and other cursor lists). Lists belong inside `execute_code`; pass `select` (dot paths such as `id` and `name`) to keep only the fields the question needs.\n- `list_zones` and `list_accounts` resolve names to ids; `verify_credential` separates a bad credential from a missing permission. `graphql_query` runs read-only GraphQL Analytics queries (mutations are refused before sending); filter every `zones` or `accounts` field by `zoneTag` or `accountTag`. A pinned connector sends one query per document, with every fragment it defines used.\n- Multipart, binary, and file bodies go through `cloudflare_api_upload`: Worker scripts and versions, KV values, R2 objects, Pages deployments, Images, Stream, DNS zone-file import, and Snippets. It takes `textBody`, `base64Body`, or multipart `parts`, never a local file.\n- Refused by design: every operation that mints, rotates, or hands back a credential (API tokens, Access service tokens, R2 temporary credentials, tunnel and Mesh node tokens, signing keys, registry credentials, direct-upload URLs, deploy hooks, preview and participant tokens), payment client secrets (including AI Gateway top-up configuration), Cloudforce One priority-intelligence match reads and updates (their response schemas are unreviewed), URL Scanner captures (results, HAR, DOM, raw responses: they hold the scanned session's cookies and headers; use the scan search for verdicts), and GETs that act (an email unsubscribe, a PagerDuty connect). Stored and embedded secrets (Turnstile, TSIG, webhook and identity-provider secrets, Stream keys, Logpush destination credentials, probe, custom-provider, and AI Search crawler headers (every `include_headers` map value; names stay), BGP keys, Zaraz variables, Hyperdrive database passwords, RealtimeKit storage credentials, transform-rule header values) and application setup form defaults and every environment or plain-text binding value (Pages, Containers, Workers, Builds; names and types stay) come back as `\"[redacted]\"` on every method. Notification, RealtimeKit, and data security webhook destinations keep only their scheme and host. Workers KV values are application data and come back as stored. Reviewed operations, and operations that take credentials, report Cloudflare's error codes without its error text. Worker script content is readable: it is code, and secret bindings are not part of it.\n- An `auth_required` failure means the credential is missing, revoked, or malformed: an operator must replace it in this connection in the operator UI, and `authorize_connector` returns that handoff. `provider_permission_denied` means the credential works but lacks this permission or resource, or the call is outside the pin; ask rather than retry.\n- Embedded URL safety uses reviewed paths plus global signing parameters. Generic credential-named query parameters (`code`, `key`, `token`, `sig`, etc.) and credential-looking fragments withhold the destination's entire query/fragment only in Workers build `lines`, Pages log `data.line`, and telemetry `$metadata.message`/`error` and raw string/object `source` payloads in both `events.events` and `invocations.*` on the reviewed log operations and vendor error text. Ordinary `code`/`key` links can therefore be false positives in these diagnostics. DNS TXT content, KV values, Access/Waiting Room custom HTML and other operator content keep those ordinary URL parameters byte for byte. Literal AWS SigV4/Google V4 `X-Amz-*`/`X-Goog-*` Signature, Credential and Security-Token values are withheld in every decoded string before projection. A withheld value is not the original: do not write it back. KV bulk writes also inspect decoded `value` fields with `base64: true` (up to Cloudflare's 25 MiB decoded value limit; malformed or oversized base64 is refused, and the host's inbound body cap still applies). All writes, including named writes and supported raw/base64/multipart uploads, reject URL destinations whose own query/fragment contains the exact `[redacted]` placeholder, plain or encoded, with `invalid_args` before dispatch. Admission iteratively checks every JSON key and value within the host's accepted request size, without separate depth or node-count ceilings; cyclic direct arguments are refused. A marker outside the destination remains ordinary text. Split strings, encoded host/signing names, bare hosts without `//`, and opaque bearer paths remain outside this scan. Binary responses represented as base64, including Worker JavaScript served as `application/javascript`, are returned unchanged and are not decoded/scanned. An envelope cursor that would change under URL sanitizing is omitted rather than echoed or reused.\n",
|
|
10
|
-
"shared": "- Resolve account and zone ids before acting; never guess one. Ids are 32-character hex strings, and a zone is found by its domain name. Defaults and pins route a connector; Cloudflare's permissions still decide what the credential may do.\n- Read state before replacing, rolling back, or purging. For DNS, PATCH changes the fields you send and PUT replaces the whole record, so read the record first and send its type, name, and content with the change. Prefer a targeted cache purge (files, tags, hosts, or prefixes) over purging everything.\n- Cloudflare reports failures in `errors` with numeric codes and returns `success: false`; read the message instead of retrying the same call.\n- Honor rate-limit waits. Cloudflare documents 1,200 requests per five minutes per user, counted across the dashboard and every token; Connecta's per-runtime window approximates it, and a limited user is blocked for the rest of the window.\n- Treat every create, update, delete, purge, deploy, and upload as a write. For guest calls, classification, and routing, fetch `skills({ name: \"usage\" })`.\n",
|
|
11
|
-
"key_tail": "- Cloudflare answers a rate limit with HTTP 429; the failure carries `retryAfterMs`. Failed authentication is limited separately (code 10502), so diagnose a credential once with `verify_credential` rather than retrying calls.\n"
|
|
12
|
-
}
|
|
3
|
+
"content": "## Accounts, domains and records\n\nResolve account and zone ids before acting. A zone is a domain, found by its name;\nits account id joins it to the account inventory. Cloudflare ids are normally\n32-character hex strings. A default id routes a request; a pin limits its scope.\n\nDNS TTL is in seconds; TTL 1 means automatic. Read the record before changing it.\nPATCH changes supplied fields; PUT replaces the record, so preserve its type,\nname and content. Read state before replacing, rolling back or purging. Prefer\na targeted cache purge by files, tags, hosts or prefixes over purging everything.\n\nHatch data keeps Cloudflare's vendor envelope. For example, select DNS record\nidentities with `fields: [\"result.id\", \"result.name\"]`; a list stays under\n`data.result`. Named account and zone lists keep projected rows with camelCase\naccount and name-server fields.\n\n## Workers, storage and analytics\n\nWorker script source is code; secret binding values are separate and unavailable.\nKV values are application data. Encode a slash inside a KV key or R2 object key\nas `%2F`. R2 requires API-token authentication, rather than a Global API Key.\n\nGraphQL Analytics uses accountTag and zoneTag for account/zone identities.\nFilter every accounts/zones field by equality or an explicit set of those ids.\nA pinned query uses one operation per document and every declared fragment.\nAnalytics Engine SQL is read-only; D1 SQL and Durable Object queries can write.\nAI inference, previews and outbound checks can cost money or activate work.\n\n## Disqualifiers and recovery\n\nCredential minting, rotation, stored secrets, private session captures and signed\nupload or deployment links are unavailable. Use the Cloudflare dashboard for\ncredential administration. A Global API Key cannot change user settings or\nmemberships through this connection.\n\nAfter an authentication failure, use `verify_credential` once to distinguish a\nrejected credential from a permission gap. An operator replaces the credential;\nrepeating the failed request does not add permissions. Cloudflare's global limit\ncounts dashboard traffic and all tokens together, so reduce requests as well as\nhonoring the returned wait.\n\n## Conventions\n\n- **Paging:** while `page.hasMore` is true, continue with `page.nextCursor` unchanged. For `cloudflare_api_details`, `cloudflare_api_search`, `list_accounts`, `list_zones`, pass it as the top-level `cursor`; omit raw paging anchors on continuations. For `cloudflare_api_read`, put it in `query[page.param]` or `body[page.param]`, as `page.in` specifies. Keep the original method, path, filters, page size, fields and headers. Paged `list_*` and `search_*` reads take `limit` (default 20, at most 50). The last page has no `nextCursor`. If `page.hasMore` is true without a cursor, the data is incomplete and continuation was withheld. When approaching execute_code's per-program call limit, return page.nextCursor before the call that would exceed it and continue in the next program; don't restart.\n- **Results:** `fields` narrows a read's result to the dot paths you name. `truncated` lists the dot paths a result cut for size; the ids that fetch what was cut stay in the result.\n- **Envelope fields:** hatch data keeps the vendor envelope. Select declared fields with `fields: [\"result.id\", \"result.name\"]`; array traversal also accepts `result[].id`. Named reads keep their projected fields.\n- **Hatch:** `cloudflare_api_search` finds this API's operations and reads no account data, `cloudflare_api_details` shows one operation's contract, and `cloudflare_api_read` calls a reviewed read. `cloudflare_api_write` calls a reviewed write; the host may ask the user to confirm it. An operation without a reviewed verdict is refused. 70 operations are refused by design; use `cloudflare_api_details` with the method and path to inspect the original operation summary and its separate refusal. Use details for refused methods outside the read/write call schemas; those methods remain unavailable.\n- **Writes:** a write is sent once and never retried. When its outcome is unknown, read the target before repeating it. Writes take no idempotency key.\n- **Errors:** codes come from the vendor's statuses and error facts, never its prose. `not_found` means the record does not exist; this API tells absence from a permission gap. It documents no conflict.\n- **Withheld values:** a value withheld for safety reads `\"[redacted]\"`. Writes refuse whole marker values and withheld links; longer prose may mention the marker. Paths and queries refuse any containment.",
|
|
4
|
+
"instructionsHeading": "Account instructions"
|
|
13
5
|
};
|