385 Commits
Author SHA1 Message Date
Waleed 645a8d21f9 feat(comparisons): add Sim vs Dify and Sim vs Relevance AI comparison pages (#10224)
* feat(comparisons): add Sim vs Dify and Sim vs Relevance AI comparison pages

* chore(docs): sync docs icons with the new comparison brand icons

* fix(comparisons): read comparison leads as text in the seo e2e and tighten relevance ai sourcing
2026-11-19 20:22:20 -08:00
Waleed db39bbb7f0 feat(monaco): add Monaco CRM integration (#10009)
* feat(monaco): add Monaco CRM integration

Adds 46 Monaco tools (contacts, accounts, opportunities, pipelines, tasks,
meetings, messages, conversations, tags, users, field schemas, sequences,
audiences, campaigns), a Monaco block, and a saved Monaco API key
credential verified against GET /v1/me.

* fix(monaco): use toRecordOrNull and type the block mapper test helpers

* fix(monaco): allow clearing tags on update and reject empty audience filter groups at any depth
2026-11-13 13:41:47 -08:00
Waleed 755dee56fe fix(docs): copy section permalinks and polish outline navigation (#9972)
* fix(docs): copy section permalinks and polish outline navigation

* test(docs): verify focus returns from outline links
2026-11-12 18:57:05 -08:00
Waleed ef7bc52246 feat(credentials): saved PostgreSQL, MySQL, and SQL Server connections (#9929)
* refactor(credentials): share the owner-scoped service-account secret read

Oracle Database's saved-connection lookup now reads its row through one
owner-scoped helper, so the saved database connections that follow bind
to their owner and provider the same way instead of copying the query.

* feat(credentials): saved PostgreSQL, MySQL, and SQL Server connections

Adds three service-account providers (postgresql-, mysql-, and
mssql-service-account) that store a database connection: host, port,
database, login, password, and the SSL mode or SQL Server encrypt and
trust-certificate settings. Saving proves the connection with SELECT 1
through each family's own query operation, so host validation and IP
pinning match a real run, and only then encrypts it; driver errors are
never surfaced. The connection is read back inside the tool operation,
bound to the run's workspace or organization, by
withSavedDatabaseConnection, which replaces every connection field in the
call so a caller or model cannot steer a shared credential.

One client-safe descriptor table drives the provider ids, required
fields, provider catalog, token resolvers, secret builders, and a shared
connect modal.

* feat(database-tools): run PostgreSQL, MySQL, and SQL Server tools on a saved connection

Every PostgreSQL, MySQL, and SQL Server tool now declares an optional
service-account credential policy (required: false), so its inline
connection fields keep working unchanged and a saved connection can stand
in for them. The executor authorizes the selected credential and passes
it through trusted context; the family's operation handler, wrapped by
withSavedDatabaseConnection, reads the stored connection bound to the
run's owner and replaces every connection field before parsing. The
providers resolve inside the operation, like AWS, so they join
OPERATION_RESOLVED_CREDENTIAL_PROVIDERS.

A real-Postgres integration test saves a connection (SELECT 1 through
the guarded path), refuses one the server rejects, runs a query on the
saved connection whatever fields the call carries, and refuses it to
another workspace and once revoked.

* feat(blocks): credential-only PostgreSQL, MySQL, and SQL Server blocks

postgresql_v2, mysql_v2, and mssql_v2 spread their legacy blocks and swap
the connection fields (host, port, database, username, password, and SSL
mode or SQL Server encrypt and trust-certificate settings) for a saved
connection picker through withSavedCredential. Their canvas sentences
drop the database clause the block no longer holds.

The legacy blocks change only by hideFromToolbar and a legacy sunset
pointing at the successor, so existing workflows keep their inline
connection fields and run exactly as before. Generated block successors,
docs, icon maps, and deployment metadata are regenerated.

* docs(integrations): set up saved PostgreSQL, MySQL, and SQL Server connections

Each page's intro now explains adding a saved connection, how Sim proves
it before saving, what every SSL mode or SQL Server TLS setting does in
the runtime's drivers, and that existing workflows keep their inline
connection fields.

* refactor(database-tools): wrap SQL families at registration and derive saved-connection schemas from the operations

- Register the PostgreSQL, MySQL, and SQL Server families through
  registerSavedDatabaseFamily, which applies withSavedDatabaseConnection and
  records each tool id's service. A registry test now fails when a tool that
  names a saved database connection runs outside a wrapped family, the case
  the saved-credential contract skips for operation-resolved providers.
- Build the stored connection schemas from each operation's own connection
  schema (bounds tightened, strict), so the TLS values and defaults have one
  source. Stored blobs decode exactly as before.
- Reuse the SQL Server default connection timeout instead of repeating it,
  and parse a submitted connection once.
- Unit tests prove save-then-run round trips and drive refusals through the
  run wrapper; the workspace and revocation cases stay in the integration
  test, which now runs through the registered operation.

* fix(credentials): describe saved-connection TLS modes as the drivers apply them

- MySQL Required verifies the certificate chain but not the host name (like
  VERIFY_CA), and both Preferred and Required refuse a server without TLS.
- SQL Server Encrypt connection requests TLS; a server that does not support
  encryption gets an unencrypted session rather than an error.
- PostgreSQL Preferred can be downgraded by an on-path attacker, so the hint
  and docs steer to Required when the server supports TLS.
- Picker options are keyed by each operation schema's value type, so a mode
  the operations add or drop fails to compile instead of drifting.

* refactor(credentials): derive stored database connection fields and credential-supplied params from one list

The stored v1 schema now picks exactly the descriptor's login and TLS fields
out of each operation schema instead of extending the whole schema, and the
tools' credentialSuppliedParams come from the same list. An operation field
added later can no longer change the stored blob, get pinned on every run,
or stay visible on the credential-only block.

* fix(credentials): validate the saved-connection port in the form and carry TLS tradeoffs into the provider catalog

The connection modal now refuses a port that is not a whole number from 1 to
65535 and says so beside the field, instead of a generic verify failure. The
v2 provider catalog hint for saved PostgreSQL, MySQL, and SQL Server
connections now includes each transport-security field's tradeoff, so API
callers see what Preferred, Encrypt, and Trust server certificate give up.
The integration fixture decodes the database name from TEST_DATABASE_URL.

* docs(credentials): document the database connection provider id helpers

* fix(credentials): keep an encryption failure on a verified database connection a server error

* docs(credentials): document the database connection descriptor and id types

* docs(databases): describe the PostgreSQL, MySQL and SQL Server connection setting types
2026-11-12 08:25:34 -08:00
Waleed ff166c1a56 feat(credentials): saved credentials for Amplitude, Kalshi, Splunk, CB Insights, Railway, and Qdrant; fix Kalshi Ed25519 signing (#9927)
* fix(kalshi): sign requests with Ed25519 keys, the type Kalshi generates by default

Kalshi picks the verification algorithm from the registered public key: Ed25519 over the
pre-sign text, or RSA-PSS SHA-256 for an RSA key. The signer always passed the sha256 digest
and PSS padding, which Node and Bun refuse for an Ed25519 key, so every authenticated call
with a default key failed before it was sent. The key type is now read from the parsed key
(a PKCS#8 RSA key shares the Ed25519 PEM header), and any other key type is refused.

* feat(amplitude): saved project credential and a credential-only Amplitude block

An Amplitude credential holds a project's API key, secret key, and data residency region,
verified by listing the project's events on the region's Dashboard REST host with the Basic
key pair the tools send (Amplitude answers 403 for either key being invalid). The region and
key shapes are checked before any request. Each tool group maps only the params it declares:
analytics tools take both keys and the region, ingestion tools the API key and region, and
User Profile the secret key. The legacy block keeps its inline keys and is hidden from the
toolbar in favor of amplitude_v2.

* feat(kalshi): saved API key credential and a credential-only Kalshi block

A Kalshi credential holds an API key ID and its private key, verified by a free balance read
signed the way the tools sign every authenticated call; a key that cannot sign or a key ID that
would break the header is refused before any request. The tools that sign requests map the
key ID and private key from the credential, while market data stays public, so kalshi_v3
shows the credential picker only on account and trading operations. Token credential fields
gain an optional multiline flag so the connect form keeps a pasted PEM key's line breaks.
kalshi and kalshi_v2 keep their inline keys and now point at kalshi_v3.

* feat(splunk): saved authentication token credential and a credential-only Splunk block

A Splunk credential holds an authentication token and the management URL, verified by reading
authentication/current-context (documented, no capability needed) through the guarded egress
with the URL normalized as the tools build it; an answer without a user context is not taken as
proof, and certificate verification is never relaxed. The tools send the token whenever one is
set, so the credential policy marks the inline username and password as replaced by the token:
tokenCredentialOAuth gains an optional list of such params, and the saved-credential contract
accepts any token-filled param (not only accessToken) beside them. splunk keeps its inline
connection fields and points at splunk_v2.

* feat(cbinsights): saved API client credential and a credential-only CB Insights block

A CB Insights credential holds the client ID and secret, verified by exchanging them at
POST /v2/authorize, the call the tools make before their first request; a success without a
token is not taken as proof, and the error body is never logged. The tools keep minting and
caching their own token per run, so the credential fills the same client ID and secret they
take inline. The lookup's profileUrl is request data sent to api.cbinsights.com, recorded as
such in the saved-credential contract. cbinsights keeps its inline client fields and points at
cbinsights_v2.

* chore(audits): shrink the unused-exports baseline for exports now in use

The Kalshi signer is exercised by its tests and the CB Insights API base by the saved
credential check, so neither is unused any more.

* test(credentials): cover a token-replaced sign-in whose token fills a param other than accessToken

The saved-credential contract now accepts any credentialParams entry filled with the token beside
tokenReplacesParams (Splunk's authToken), and names that in its error.

* feat(railway): saved token credential, type-aware, and a credential-only Railway block

A Railway credential holds a token, its type (account, workspace, or project), and for a
workspace token the workspace ID. Each type is verified with the read Railway documents for its
scope, since `me` answers only an account token: an account token reads `me`, a workspace token
reads its workspace by ID (passed as a GraphQL variable), and a project token reads
`projectToken` with the Project-Access-Token header the tools send for it. A GraphQL error or a
body without the queried object is not taken as proof. The tools receive the token and its type,
so a project token keeps its own header.

Token credential fields gain an optional flag: an optional field is left out of the required
create fields, the connect form does not require it and omits it when blank, and the secret
builder stores it only when set. Existing descriptors declare no optional field, so their
required fields and stored secrets are unchanged. railway keeps its inline token and points at
railway_v2.

* feat(qdrant): saved API key credential bound to its instance URL, and a credential-only Qdrant block

A Qdrant credential holds a database API key and the instance URL, verified by listing
collections (a read every key may run; a collection-scoped key sees a filtered list) with the
api-key header the tools send, through the guarded egress with the URL normalized as the tools
build it. An answer without a collection list is not taken as proof. The tools receive the key
and the verified URL, so a run reaches only that instance. qdrant keeps its inline URL and
optional key, which a self-hosted instance without an API key still needs, and points at
qdrant_v2.

The successor test matrix counts a field repeated per operation (Qdrant's URL) once.

* fix(credentials): honor an optional domain field in the token secret builder

The optional flag was honored by the create contract and connect form for any
field, but the secret builder only applied it to the workspace ID and still
required any domain field. Derive both the same way, and store a domain only
when it is required or supplied. No descriptor marks a domain optional today,
so stored secrets are unchanged.

* fix(amplitude): send both saved keys to User Profile over Basic auth

Amplitude's User Profile API documents only Basic authentication with the
project API key and secret key. A saved Amplitude credential now fills the API
key too, and the tool sends Basic auth whenever an API key is present. Inline
calls that pass only the secret key keep the Api-Key header they sent before.

* test(kalshi): keep only the signer cases that guard the key-type fix

Drop the PKCS#1, query-string, literal newline and auth-header cases, which
restate unchanged behavior or repeat the validator's Ed25519 check.

* docs(amplitude): note that User Profile sends both saved keys in the v2 block TSDoc

* fix(railway): require the workspace ID in the connect form once the token type is workspace

* chore(audits): re-record the tool-registry boundary baseline for the new credential validators

* fix(amplitude): default the saved credential's data residency to us
2026-11-12 07:25:04 -08:00
Waleed bcadf2343e feat(credentials): Microsoft app credentials for Power BI and Azure Data Explorer, with national clouds (#9931)
* feat(credentials): resource-aware Microsoft app tokens and an optional national cloud

Microsoft app credentials resolve each service's token audience from one
table and cache minted tokens per credential, stored-secret version, and
audience, so services that need a different resource no longer share a
Graph-or-Dataverse key. A credential can name a national cloud (US
Government GCC High or DoD, or China); its Entra endpoint, certificate
assertion audience, and save-time Graph check follow that cloud. Global
credentials store no cloud field, so existing secrets and older workers
read them exactly as before, and Graph and Dataverse services refuse a
national-cloud credential because their tools call the global cloud.

* feat(powerbi): run Power BI as a Microsoft app credential

The Power BI service offers the Microsoft app credential beside its
delegated OAuth connection. A run or selector with an app credential gets
an app-only token for the Power BI REST API audience
(https://analysis.windows.net/powerbi/api/.default), cached apart from the
credential's Graph token; national-cloud credentials are refused because
the tools call api.powerbi.com. Delegated connections and every tool's
params are unchanged. The Power BI integration suite proves a run and a
selector end to end with a persisted app credential.

* feat(azure-data-explorer): run as a saved Microsoft app credential

Adds azure_data_explorer_v2, a credential-only successor whose picker
selects a Microsoft app credential (client secret, certificate, or keyless
federated credential) in place of the inline tenant ID, client ID, and
client secret. The executor authorizes the credential and the operation
mints a token for the cluster each call names: the audience is the
allowlisted cluster (or resource override) host as https://<host>, and the
credential's cloud must be one that host belongs to, so a US Government or
China cluster takes a matching national-cloud credential. Inline secrets
are never read on that path.

The legacy block keeps its inline fields and behavior and is marked legacy
with azure_data_explorer_v2 as its replacement. The connect dialog gains a
Cloud choice; a global credential's payload and stored secret are
unchanged.

* fix(credentials): decrypt Microsoft app secrets only on a token miss and scope the ADX operation

- Token cache key is named before decrypting, so a cached token skips the
  decrypt and parse; Azure Data Explorer authorization no longer decrypts,
  and its cluster key includes the resource's clouds.
- The ADX operation re-checks the credential against the run's workspace or
  organization, as the AWS operation path does.
- A credential in the wrong Microsoft cloud is refused as cloud_mismatch with
  its own message instead of "reconnect the credential"; ADX tool errors come
  from the refusal code, not log detail.
- The operation-minted service comes from the shared ADX credential config.
- Reconnect reopens a national-cloud credential on its stored cloud.
- China signs in at login.partner.microsoftonline.cn (Entra national-cloud
  reference) for both ADX auth paths; Kusto authorities derive from
  MICROSOFT_CLOUDS.
- Drop the one-line ADX operations passthrough; refresh TSDoc and the Power BI
  description.

* fix(credentials): refuse a national-cloud Microsoft app credential for Dataverse as a cloud mismatch

* refactor(credentials): read a reconnect's stored mode and cloud through one per-provider map

* fix(credentials): resolve a reconnect's cloud before saving and refuse a cross-cloud ADX resource

A Microsoft app reconnect now waits for the stored cloud, or asks for one when it cannot be
read (an organization credential or a failed lookup), instead of saving as global. The ADX
schema refuses a resource override whose cloud differs from the cluster's before any
credential is decrypted, and the Power BI description says app credentials run in the
global cloud only.
2026-11-12 06:41:06 -08:00
Waleed f947d95a8f feat(credentials): audit fixes and non-OAuth auth for CrowdStrike, Datadog, Gong, PlanetScale, SailPoint, ServiceNow, Zendesk, ZoomInfo, Shopify, Atlassian, Linear and Twilio (#9911)
* fix(credentials): accept permission-scoped AgentMail keys at connect

A valid AgentMail key that lacks inbox_read or is scoped to a pod or inbox
gets a 403 coded missing_permission or forbidden on the inbox listing, and
was refused as invalid. Accept a coded 403 as proof of the key, and keep
rejecting the gateway's bare Forbidden and the key-naming 401 codes.

* fix(credentials): offer Atlassian API tokens for the Bitbucket saved credential

Bitbucket takes an Atlassian API token created for Bitbucket as a Bearer
token, so the existing repository read already verifies one. Say so in the
connect copy and setup guide, and note that app passwords no longer work.

* fix(credentials): ask for a reconnect when a Microsoft app certificate can no longer sign

An expired or unreadable stored certificate failed before any request reached
Entra, carried no status, and was reported at run time as the provider being
temporarily unavailable (502). Local configuration failures now classify as
invalid_credentials, and only an unreachable Entra keeps provider_unavailable.
Saving also refuses a certificate that is not valid yet.

* fix(credentials): warn that saved Infisical access tokens expire

Sim stores the machine identity access token as pasted and never renews
it, so it stops at its Access Token TTL (30 days by default). Tell users
to set a long TTL and Max TTL, and not an Access Token Period, which needs
renewal each period.

* fix(credentials): retry keyless Microsoft token requests while a federated credential propagates

Entra can refuse a new federated identity credential with AADSTS70021 for
several minutes after it is added, even after a token was issued, and
Microsoft asks callers to retry. A run now retries that refusal (and
AADSTS700213) twice with jittered backoff before reporting it; the save-time
subject-pin probe, which expects the refusal, is unchanged.

* fix(infisical): keep the instance URL out of the model's reach and normalize it like a saved credential

The legacy Infisical tools let the model set baseUrl, so a prompt-injected
agent call could send the inline Infisical token to any public host. baseUrl
is now user-only (matching Grafana and Upstash), and inline instance URLs go
through the same normalizer the saved-credential validator stores, which moves
from the validator module into input-validation so tools can share it.

* feat(credentials): accept HubSpot service keys for the saved HubSpot credential

HubSpot stopped new legacy private apps on October 26, 2026 and points
direct integrations at service keys, which are Bearer tokens for the same
REST APIs. The connect copy now asks for a service key or an existing
private app token. The token-info route covers only private apps, so a
non-transient refusal there defers to the Account Information API, and that
fallback accepts a 403 only with a JSON body, so a firewall page never
passes as a live token. Both checks refuse redirects.

* feat(credentials): accept Microsoft app credentials for Intune

Every Intune operation the block offers (managed devices, detected apps,
compliance policies and their device statuses, device configurations, and the
sync, restart, remote lock, and retire actions) documents application
permissions in Microsoft Graph v1.0, so the Intune picker now lists Microsoft
app credentials and the resolver mints a Graph token for them. OAuth Intune
connections are unchanged. The setup docs name the application permissions
each operation needs.

* fix(credentials): refuse rotating Slack tokens for custom bot credentials

A Slack app with token rotation on issues xoxe.-prefixed tokens that expire
in 12 hours and can only be refreshed with the app's client ID and secret,
which Sim never holds. Such a token passed auth.test at connect and failed
every run after. Refuse xoxe tokens up front with a message that asks for
the xoxb- token of an app with rotation off.

* docs(credentials): correct the Devin key check comment to match Devin's docs

Devin documents 401 for an invalid key and one 403 for both a key outside
the organization and a key without ViewOrgSessions. Behavior is unchanged:
nothing documented separates the two 403s, so a 403 still rejects.

* fix(credentials): refuse redirects in every per-vendor saved-key check

The shared token-check engine already refuses redirects, but the per-vendor
validators followed them. Fetch keeps custom headers such as x-api-key and
X-Shopify-Access-Token on a cross-origin redirect, so a redirected check
would hand the key to another host. Every per-vendor check now refuses a
redirect, which surfaces as the provider being unavailable.

* fix(credentials): treat a Webflow token that reaches no site as the user's error

GET /v2/sites lists every site the token can access, so an empty list is a
token the user must replace, not a retryable outage. A token that reaches
several sites is no longer pinned to whichever site the list returns first.

* feat(credentials): pick and connect Google service accounts for Vertex AI

The Vertex AI runtime already resolves Google service account credentials,
keyless or JSON key, but the Google Cloud Account picker on model blocks only
listed OAuth accounts, so a saved service account could be used only by
pasting its ID in advanced mode. Vertex AI now names google-service-account
as its service-account provider, and its picker lists both kinds with a
connect action for each, so the keyless option is offered for Vertex.
Existing OAuth selections and the advanced credential ID field are unchanged.

* fix(copilot): let Copilot pass a saved credential to hybrid tools

Copilot's integration schema only offered credentialId for tools that require
OAuth, so a tool that takes an inline key or an optional saved credential always
demanded the inline secret and the gateway never forwarded a saved credential.
On the copilot surface those tools now declare an optional credentialId and stop
requiring the params a saved credential supplies; the workflow surface and
OAuth-required tools are unchanged. The executor now rejects a Copilot call to
such a tool that sends neither, instead of calling the provider without a key.

* fix(credentials): report a NerdGraph error answer as New Relic being unavailable

New Relic refuses an unknown or wrong-region User key with a 401, so a 200
whose errors array left the fixed actor query unanswered is NerdGraph
failing, not a verdict on the key. Report it as provider_unavailable
instead of telling the user their key is wrong. A 200 with no user and no
errors still rejects.

* fix(aws): refuse S3 presigned URLs that outlive the saved role session signing them

A presigned URL signed with STS credentials stops working when the role session
ends, whatever expiry it asks for, but the S3 tool reported the requested expiry.
Resolved sessions now carry the STS expiration, and presigning with a saved
assume_role or oidc_role credential refuses an expiry past the session's end
with a 400 that names the remaining time and the session duration. Long-lived
access keys and inline keys are unchanged.

* fix(guardrails): resolve the hallucination check's Vertex credential like every other model call

The hallucination check looked the Vertex credential up as a raw account ID,
so a saved credential (whose ID is a credential row, OAuth or Google service
account) resolved no token and the scoring call ran without one. It now uses
the shared Vertex resolver, which handles credential rows, Google service
accounts, and the legacy account IDs the old lookup accepted, and fails the
check instead of calling the model when the credential cannot be resolved.

* fix(aws): report transient STS failures on a saved credential as 503, not a denial

Every failure to resolve a saved AWS credential came back as a 403, so an STS
outage, throttling, or STS failing to reach Sim's OIDC issuer (IDPCommunicationError)
read as a permission problem and was never retried. Failures STS models as
retryable, throttling, STS 5xx, and network errors now return 503; real denials
(AccessDenied, invalid or expired identity tokens, rejected claims) stay 403.
No extra retry loop is added: the pinned STS client already retries
IDPCommunicationError and throttling up to three times with backoff.

* fix(databricks): report an unreachable workspace at token mint as provider_unavailable

A connection failure, timeout, or refused redirect while minting a run's
Databricks token escaped as a raw fetch error, which the executor reported as a
generic 401 and whose cause can carry connection details. It is now a 502
DatabricksCredentialError, which resolves to provider_unavailable; a cancelled
run still rethrows its abort, and personal access tokens are unaffected.

* feat(credentials): connect Shopify Dev Dashboard apps with client credentials

Shopify Dev Dashboard apps never reveal an Admin API token, so the Shopify
saved credential gains a client-credentials mode beside the pasted shpat_
token. A credential saved with authMethod client_credentials stores the
client ID, secret, and store domain; execution mints the 24-hour token at
the store's /admin/oauth/access_token endpoint.

Shopify does not document whether a new token retires earlier ones, so
every saved credential for one app and store shares a single token kept
under an advisory lock in client_credential_token, instead of minting per
worker. shop_not_permitted surfaces as grant_not_permitted with copy that
names the same-organization requirement.

Pasted-token credentials, their blob, and their resolution are unchanged;
the minted-token cache in the credential service is factored out so the
client-credential providers and this mode share it.

* fix(credentials): keep keyless off when a pinned workload identity issuer has an unserved path

Sim serves workload identity discovery and keys only under /oidc/workload, and
clouds fetch <issuer>/.well-known/openid-configuration, so a WORKLOAD_IDENTITY_ISSUER
with any other path advertised keyless credentials that no cloud could verify. A
pinned issuer must now have the /oidc/workload path (its host may differ), or
keyless stays off with a log line naming the requirement. The default issuer
derived from the app URL is unchanged, and the self-hosting and AWS credential
docs state the requirement.

* feat(credentials): saved CrowdStrike API client credential and credential-only block

A CrowdStrike credential holds a Falcon API client id and secret, the cloud
(from the existing Falcon cloud allowlist), and an optional MSSP member CID.
The minter posts them to the cloud's /oauth2/token with redirects refused and
returns the token with its expires_in lifetime (30 minutes when unusable)
and the cloud, which the credential cache keys by credential id and secret
fingerprint, so changing the cloud or secret re-mints.

- clientCredentialOAuth: a policy for tools that mint their own token from
  inline client credentials. The credential fills the hidden accessToken and
  the region param; tokenReplacesParams names the inline secrets the token
  replaces, and the saved-credential contract check accepts exactly those.
- crowdstrike_v2 is the credential-only successor; the legacy block keeps
  its inline client id, secret, and cloud and is hidden from the toolbar.
- The operation uses a credential's token as is. Inline credentials now
  reuse a cached token (keyed by cloud, client id, and secret hash) until a
  minute before it expires, and a 401 drops it so the next run re-mints.
- Client-credential mints can bind a domain (the cloud), carried through
  the token cache to tools.

* fix(credentials): accept only documented scoped-key answers from AgentMail and New Relic

AgentMail now proves a key only on the two 403 codes its docs give for a
valid key with the wrong scope (missing_permission, forbidden); a suspended
account, a gateway deny, and any other refusal reject the key.

New Relic reports an outage only for NerdGraph errors in the server classes
its own client retries; BAD_API_KEY and unclassified errors reject the key.

* fix(credentials): settle HubSpot service keys on the account-info route

A token-info 200 without a portal now falls back to account-info instead of
failing as an outage, and a token-info 401 falls back only for pat- keys, so
other tokens keep being rejected there as before. The vendor-JSON 403 check
moves to one shared helper.

* docs(credentials): align HubSpot, Infisical, and Bitbucket saved-key copy with vendor docs

* feat(credentials): saved Zendesk credentials with client credentials or an API token

Zendesk gets a zendesk-service-account credential with two sign-ins: a
confidential OAuth client exchanged through the client-credentials grant
(POST /oauth/tokens, JSON, an explicit read or read write scope, a one-hour
expires_in), or an agent email and API token sent as the documented
email/token Basic credential. The subdomain is normalized and must match
^[a-z0-9][a-z0-9-]*$ before any request, and connecting requires
users/me to answer with a real (non-anonymous) agent or admin.

The credential resolves to its token, its subdomain as domain, and
authStyle basic for the API-token sign-in. zendesk_v2 is the
credential-only successor; every Zendesk tool reads the token through one
header helper and takes its subdomain from the credential. The legacy
zendesk block and its inline email, API token, and subdomain keep signing
in exactly as before.

* feat(credentials): PlanetScale saved service token credential

A PlanetScale credential holds a service token and its ID, verified by
listing the organizations the token reaches with the same ID:token
Authorization the tools send; a JSON 403 is a valid token without that
read. Every PlanetScale tool accepts it, the selectors gain saved-credential
twins that read the pair from the credential, and planetscale_v2 is the
credential-only successor. The legacy block keeps its inline inputs.

* feat(credentials): Gong saved access key credential

A Gong credential holds an access key and its secret, verified by listing
workspaces on api.gong.io with the Basic key:secret the tools send. Gong
documents its 403 for this read without telling a bad key from a missing
permission, so any refusal rejects. Every Gong tool accepts the credential
and gong_v2 is the credential-only successor; the legacy block keeps its
inline inputs.

* feat(credentials): ServiceNow saved username and password credential

A ServiceNow credential holds an instance, a username, and its password,
verified by reading one user id from the Table API with the Basic auth the
tools send. The instance is reduced to the https origin of a
ServiceNow-owned host before anything is sent, and the check goes through
the guarded egress; 401 rejects, a JSON 403 is a login its ACLs limit, and
only a Table API result list proves the login. Every ServiceNow tool
accepts the credential, servicenow_v3 is the credential-only successor, and
servicenow and servicenow_v2 keep their inline inputs as legacy blocks.

* feat(credentials): Twilio API key mode for the saved Twilio credential

The Twilio credential and every Twilio tool now also take an API key, as
the key SID and secret joined by a colon (SKxxx:secret), the exact Basic
username and password Twilio documents for a key, while the URL keeps the
Account SID. A key is verified by listing one of the account's phone
numbers, a read a Standard key may make, since only Main keys and auth
tokens may read the Accounts resource. Stored auth-token credentials and
inline auth tokens keep their shape and their account-resource check; a
value with a colon that is not a key pair is refused before any request.

* fix(credentials): retry only the documented Entra propagation refusal, within the shared mint deadline

AADSTS700213 is Microsoft's documented case-sensitive federated credential
mismatch, not a propagation refusal, so a mismatched keyless credential no
longer makes three token requests per run. The AADSTS70021 retries now stop
when a slow answer would push the run past the 30 s deadline that concurrent
runs sharing the mint wait for. The Microsoft app service list is declared
once for both its type and the resolver's check, and the Intune and Vertex
copy names the app credential and the Google service account.

* feat(credentials): Atlassian service-account OAuth 2.0 credentials

An Atlassian service account can now connect with its OAuth 2.0
credential (client ID and secret) as well as a scoped API token. Saved
with authMethod client_credentials, the credential stores the client
credentials, the site, its cloudId from tenant_info, and the product;
execution mints a 60-minute token at auth.atlassian.com with the client
credentials grant and calls api.atlassian.com/ex/{product}/{cloudId}
exactly as a scoped token does. Connecting proves the minted token
against the product's current-user endpoint.

Atlassian documents these credentials for Jira and Confluence only, so
other products are refused. It does not say whether a new token retires
earlier ones, so every saved credential for one OAuth client shares one
coordinated token. Scoped-token credentials, their blob, and their
resolution are unchanged; the identity request now refuses redirects.

* feat(credentials): saved Datadog API and application key credential and credential-only block

A Datadog credential holds the site (from the DATADOG_SITES allowlist), the
API key, and the application key. Datadog authenticates every request with
the two static headers, so the "mint" resolves the API key as the token, the
application key beside it, and the site as the credential's domain.

- Save verifies the API key with GET https://api.{site}/api/v1/validate,
  sending DD-API-KEY alone, redirects refused: 403 is invalid_credentials,
  and a 200 must report valid: true. The application key is not probed:
  Datadog publishes no reference for an application-key check, and any other
  read would reject a correctly scoped key with a permission 403. Keys with
  control characters or whitespace are refused before any request.
- Credential resolution carries a new applicationKey field (credential
  cache, token payload contract, executor credentialParams source), and the
  Assistant registers it as a resolved secret beside the token.
- Every Datadog tool takes the saved credential: the credential fills apiKey,
  applicationKey (where the tool sends it), and site, overriding caller values.
- datadog_v2 is the credential-only successor; the legacy block keeps its
  inline keys and site and is hidden from the toolbar. withSavedCredential
  accepts condition: null for a picker shown in every operation when the
  replaced fields show differently.

* fix(aws): bound S3 presigned URLs by the role session's duration, not its time left

The presign guard compared the requested expiry with the seconds left before the
STS session ended, floored. A session is minted for each call, so by the time the
guard runs the STS round trip has used part of it and a default 3600s session
reports 3599s left, which refused the default 3600s expiry for every saved
assume_role or oidc_role credential on default settings.

Resolved sessions now carry the duration Sim requested from STS, and the guard
refuses only an expiry longer than that duration. The reported expiresAt is
clamped to the session's end, so it is never later than the time the URL stops
working. The session lookup that the signer and the guard share is one helper.

* fix(aws): classify wrapped STS socket failures as transient with the shared network-error helper

isTransientAwsFailure kept its own list of socket codes and checked only the top-level code, so a socket failure the SDK request handler wrapped in a cause, or an undici code, was reported as a 403 denial instead of a 503. It now uses isRetryableNetworkError, which walks the cause chain and errno.

* feat(credentials): connect Linear OAuth apps with client credentials

The Linear saved credential gains a client-credentials mode beside the
personal API key. Saved with authMethod client_credentials, it stores the
app's client ID and secret and mints an app-actor token at
api.linear.app/oauth/token with the fixed scope read,write, so two
credentials for one app never request different scopes (which Linear
treats as replacing the app's tokens). Linear documents that tokens with
the same scopes coexist, so each worker caches its own, and a token is
reused for at most an hour so one revoked early is replaced quickly.

A client-credentials token acts as the app, so connecting falls back to
the workspace (organization.id) as the principal when Linear returns no
viewer. The connect copy warns that requesting a token replaces an
existing authorization-code installation of the app and that rotating
the secret invalidates its tokens. Personal API keys and Linear OAuth
credentials are unchanged.

* fix(credentials): warn instead of turning keyless off for a pinned issuer on another path

Refusing a pinned WORKLOAD_IDENTITY_ISSUER whose path was not exactly
/oidc/workload turned keyless off on upgrade for a deployment that routes a
different issuer path to Sim through a proxy, and it also refused pinning the
default issuer of a path-prefixed app URL, which the default itself accepts.
Trust policies name the issuer, so those operators could only recover by
recreating the identity provider and every trust policy.

A pinned issuer whose path ends in /oidc/workload is now accepted the same way
the default is. Any other path logs a warning that clouds can verify its tokens
only if a proxy routes it to /oidc/workload; saving a keyless credential still
proves the route end to end. The https, port, query, and fragment refusals are
unchanged, and the docs describe the rule.

* fix(copilot): exempt a hybrid tool's key only when the hosted key applies to the call

The Copilot credential check waived a hybrid tool's hosted key param whenever the deployment was hosted, but injectHostedKeyIfNeeded skips the hosted key when the tool's hosting.enabled predicate rejects the params, so such a call could reach the provider with neither a key nor a saved credential. Both now use one hostedKeyMayFill predicate. No hybrid tool declares hosting today, so this is latent.

* fix(databricks): stop repeating 'Try again' when the save-time probe cannot reach the workspace

The unreachable-workspace error ended in 'Try again.', and the federation-policy check that wraps it adds its own, so a save showed 'Try again. Try again.'. The low-level message now only names the failure.

* fix(credentials): refuse redirects by default in fetchProvider

Every fetchProvider caller sends a secret, and fetch replays custom headers
and 307/308 bodies to whatever host a redirect names. Default the helper to
redirect: 'error' so validators and client-credential mints inherit it, and
drop the per-call copies this branch had added.

* fix(credentials): settle a HubSpot key account-info refuses with a contacts read

HubSpot documents service keys only against its CRM REST routes, not the
token-info or account-info routes. When account-info answers 401, confirm
on a one-contact read, where a 200 or JSON 403 proves the key is live and a
401 rejects it.

* test(security): move the typed base URL normalizer test next to input-validation

normalizeHttpBaseUrl and refuseUnsafeTypedUrl moved from the token validator module into input-validation; their test now lives with them.

* feat(credentials): saved SailPoint API client credential and credential-only block

A SailPoint credential holds a tenant plus an API client or personal access
token client id and secret. The minter shares the legacy block's token
exchange (now requestSailPointToken in lib/internal/sailpoint/client: the
client_credentials grant at the tenant's /oauth/token, redirects refused,
bounded 429 retries, and a SailPointAuthError carrying the status), so 4xx
maps to invalid_credentials and 5xx, throttling, or network failures to
provider_unavailable. The token lifetime comes from expires_in.

- The tenant is normalized to {tenant}.api.identitynow.com, the host
  SailPoint documents for API and token calls, from a tenant name, the API
  host, or the tenant's UI URL. Anything else (other domains, credentials,
  ports, more than one tenant label) is refused before the secret is sent.
  The legacy block's inline tenants, including identitynowgov.com hosts,
  are unchanged.
- The credential fills the hidden accessToken and the tenant (its API host);
  the operation sends that token as is and never re-mints it on a 401.
  Inline credentials keep their cached token and single 401 refresh.
- sailpoint_v2 is the credential-only successor; the legacy block keeps its
  inline tenant, client id, and secret and is hidden from the toolbar.

* feat(credentials): saved ZoomInfo client credentials and credential-only block

A ZoomInfo credential holds a client credentials app's client id and secret.
The tools already authenticate with that grant (Basic auth at
api.zoominfo.com/gtm/oauth/v1/token), so the minter shares the legacy
block's exchange, now requestZoomInfoToken: a refusal throws
ZoomInfoTokenError, which the operation answers exactly as before (HTTP 500
naming the provider status) and the minter maps to invalid_credentials for a
4xx or provider_unavailable for throttling, 5xx, or network failures.

- Save verifies by minting a token only; the token endpoint uses no credits
  and no data endpoint is called. Granted scopes are recorded as metadata.
- A client id with a colon or control characters is refused before any
  request, since it would corrupt the Basic credential.
- The token exchange and API calls refuse redirects (maxRedirects: 0); both
  go only to the fixed api.zoominfo.com host.
- The credential fills the tools' hidden accessToken, which replaces the
  inline client id and secret; zoominfo_v2 is the credential-only successor,
  and the legacy block keeps its inline credentials and is hidden from the
  toolbar. Search filters named like hosts are recorded as request data in
  the saved-credential contract check.

* refactor(gong): share one Basic auth header builder between the tools and the credential check

* fix(credentials): stop accepting an undocumented PlanetScale 403 as proof of a service token

PlanetScale documents 401 for a bad token and 404 for missing access, but gives no meaning to a 403 from listing organizations, so a JSON 403 now rejects like any other refusal. The token ID is checked in the account-id normalizer with the same printable, colon-free rule the tools' header builder applies.

* test(credentials): prove refused saved-credential hosts never reach the guarded egress fetch

The steer cases asserted only on the global fetch stub, but ServiceNow sends through the guarded egress transport, so its 'before sending the key' half never ran. Both transports now answer, so only the refusal can keep the key unsent.

* fix(credentials): tell ServiceNow and Gong users which hosts the saved credential supports

ServiceNow custom URLs are aliases of the instance's original service-now.com address, so the help text points custom-URL tenants there; on-premises instances are named as unsupported. Gong's help text names the fixed api.gong.io host the tools call.

* docs(credentials): document the in-band Twilio API key form and hint a half-entered key pair

The saved Twilio credential keeps an API key in the auth-token field as SKxxx:secret, Twilio's documented Basic username and password for a key. The provider id now records that choice and warns that a consumer needing the account auth token itself, such as webhook signature validation, must refuse a key pair. The connect form shows a hint while an SK value is not a complete SID:secret pair.

* fix(credentials): share the CrowdStrike token exchange and report a wrong Falcon cloud

- Legacy inline tokens are also dropped on a 403, so a scope granted after a
  failed run applies on the next one, as it did before tokens were cached.
- The saved-credential minter and the legacy path call one exchange,
  requestCrowdStrikeToken; the legacy path keeps following redirects.
- The minter never follows a redirect and reports one as invalid_credentials
  naming the API client's cloud from X-Cs-Region, instead of a provider outage.
- Drop the unused instanceUrl param and cap a saved-credential accessToken.

* fix(credentials): expire shared client-credentials tokens the provider rejects

A token served from the shared client_credential_token row was never expired
early, so a Shopify or Atlassian token revoked before its stated expiry kept
being served, and reconnecting with the same secret got the same dead token.

- invalidateCoordinatedClientToken expires exactly the rejected token
- saving or reconnecting re-mints once when the provider rejects the served token
- a 401 from a tool call on a service-account credential expires the token
- expired failure memos are swept by the shared coordinator, which Vanta now reuses
- drop the Atlassian product check that could never refuse anything

* fix(credentials): report a mistyped SailPoint tenant as not found and share site lists

- A SailPoint tenant host that does not resolve (ENOTFOUND) is site_not_found,
  not a provider outage; a transient resolver failure stays provider_unavailable.
- The tenant normalizer refuses `api`, SailPoint's own API domain, in every
  input form instead of minting at api.api.identitynow.com.
- Datadog site labels and the isDatadogSite guard live once in tools/datadog and
  serve the block, the connect modal, and the minter; CrowdStrike cloud labels
  derive from the cloud ids.

* fix(credentials): drop the unverified ZoomInfo token-credits claim and cap saved tokens

ZoomInfo's client-credentials docs do not say whether a token request uses
credits, so the docs and comments describe only what Sim does: connecting
requests a token and calls no data endpoint. A saved-credential accessToken is
capped at 16 KiB like SailPoint's.

* fix(credentials): share one Linear client-credentials token per app

Linear asks clients to reuse a token until shortly before it expires and to
request a new one after a 401, and caps an app at 1,000 tokens per workspace
through cleanup. Each worker minted a new 30-day token every hour instead.
Linear now goes through the coordinated token for its full lifetime, and the
401 path replaces it early; every token grant now coordinates, so the grant
registry maps providers straight to minters.

* fix(credentials): keep a credential's client-credentials mode on reconnect

A reconnect that sent only a new client secret for a Shopify, Linear, or
Atlassian client-credentials credential was routed to the pasted-token
builder and failed. The stored mode now carries forward unless the reconnect
sends a token. The connect modals no longer preselect a mode on reconnect, so
the admin restates it instead of silently switching modes.

* docs(credentials): align Zendesk, Linear, and Shopify copy with vendor docs

- mark Zendesk API tokens as deprecated by Zendesk in the picker, hint, and docs
- warn that a Linear client-credentials request with other scopes revokes tokens
- say where Shopify's 24-hour token is kept instead of claiming it is never stored
- reword comments that stated undocumented Linear and Zendesk behavior as fact

* fix(credentials): drop exports that only their own module uses

* fix(credentials): keep shared tokens on scope 401s and rate-limit tool-call expiry

A 401 whose body reports a scope mismatch (Atlassian's 'Unauthorized; scope
does not match', RFC 6750 insufficient_scope) comes with a valid token, so it
no longer expires the application's shared token. A tool-call rejection also
leaves a token minted within the last minute in service, so a call that keeps
failing re-mints at most once a minute. Connect-time identity proofs still
expire a rejected token unconditionally.

* fix(credentials): replace the shared Linear client-credentials token daily

Linear tokens live 30 days, but a revocation that does not surface as a 401
would otherwise keep a dead token in service until then. Same-scope tokens
coexist, so a daily replacement leaves in-flight calls valid.

* chore(credentials): regenerate block successors, tool metadata, deployment config, integration docs, OpenAPI and CLI API for credential auth wave 2

* test(credentials): drive the slow Entra answer from the propagation suite's fake clock

* fix(credentials): declare the Zendesk email and API token as replaced by the saved credential's token

* test(credentials): wait for the slow Entra answer with the shared sleep helper

* fix(crowdstrike): mint a new token for each legacy inline request again

The inline token cache held a Falcon token for up to 29 minutes, so a token
Falcon had since revoked or rescoped failed the next run. Legacy blocks mint
per request as they did before the saved credential.

* fix(credentials): drop a saved client-credential token a provider refuses

Internal operations such as CrowdStrike and SailPoint answer 401 or 403
when the provider refuses a saved credential's token. The executor now
drops that token from the per-instance cache so the next call mints a
replacement instead of reusing it until it nears expiry.

* test(credentials): serve the stored coordinated token until it is invalidated

The coordinated-token mock minted on every call, so the revoked Atlassian
token test passed with the invalidation removed. The mock now keeps one
token per application until invalidated.

* refactor(credentials): share one client-credentials token exchange

Atlassian, Linear, and Shopify each carried the same form POST, refusal
mapping, payload check, and lifetime cap. They now call one
exchangeClientCredentialsGrant, tested once, and keep only their URL,
extra fields, lifetime cap, and Shopify's refusal classifier.

* fix(credentials): read and decrypt a client-credentials secret once per resolution

Token providers and Atlassian read and decrypted the stored secret to pick
its mode, then read and decrypted it again to mint. The mode read now
carries into the mint, and both blob parsers share one mode check.

* refactor(credentials): share the credential-text check across minters

Fivetran, ZoomInfo, and Datadog each carried the same empty, control
character, and size check. They now call one assertCredentialText, with
Datadog also refusing spaces.

* refactor(zendesk): encode the API-token Basic credential in one place

The saved-credential minter and the tools each built the
{email}/token:{apiToken} Basic value. Both now call
zendeskApiTokenCredential, so the saved and inline sign-ins cannot differ.

* refactor(tools): declare the saved-credential token param once

CrowdStrike, ZoomInfo, and SailPoint tools each repeated the hidden
accessToken param a saved credential fills. They now use
savedCredentialTokenParam, with the same descriptions.

* fix(tools): name a missing credential field without naming Datadog

The generic credential-field labels named Datadog for applicationKey, so
any other tool mapping it would blame a Datadog key. Labels now carry
their article and stay provider-neutral.

* fix(security): redact Datadog application keys in logged inputs

No key-name pattern matched applicationKey, so a key typed into the
legacy Datadog block showed in plaintext in execution input logs.

* fix(credentials): match the Atlassian OAuth 2.0 hints to what Atlassian supports

In client-credentials mode the Jira client ID hint said one credential
covers Jira Service Management, which Atlassian does not list for OAuth
2.0 credentials. It now points Service Management at a scoped API token.
Also corrects the reconnect note on clientCredentials.preferred.

* refactor(credentials): share the client ID and secret fields across connect forms

The Atlassian and token-provider forms each built the client-credentials
fields, and only one labelled its secret input for assistive tech. Both
now render ClientCredentialsFields.

* docs(credentials): describe the saved credentials on their setup-guide pages

The PlanetScale, ServiceNow, Gong, and Twilio pages are the connect
modal's setup guides but still described only the legacy inline inputs.
Each now says how to add the credential, the hosts it accepts, and that
earlier blocks keep their inline values. SailPoint v2 names both the PAT
and the client-credentials API client.

* test(credentials): mock credential-service through the central @sim/testing mock

* fix(sailpoint): accept government tenant hosts on the saved credential, as the earlier block does

* fix(servicenow): accept custom and self-hosted https instance URLs on the saved credential, as the earlier block does

* fix(credentials): type the new test fixtures, unexport file-local types, and regenerate CLI docs

* fix(credentials): drop refused local tokens, keep exact ServiceNow passwords, and refuse non-http URL forms

- Forget a client-credential token cached on this instance when an external
  request answers 401, alongside expiring the coordinated token.
- Add preserveWhitespace to token descriptor fields; ServiceNow passwords keep
  their surrounding spaces through the connect form, contracts, and builder.
  Contracts no longer trim apiToken; Atlassian and GitLab builders trim it.
- Refuse any scheme other than http(s), and protocol-relative or backslash
  authorities, in the shared typed-URL helpers while bare host:port still works.
- Refuse client-credentials extra fields that would replace grant_type,
  client_id, or client_secret.
- Report a Datadog validate answer without a boolean valid field as a provider
  fault rather than invalid credentials.

* fix(credentials): report an aborted grant refusal as the abort, and keep the CrowdStrike cloud required

* fix(credentials): name a dropped connection separately from a malformed token response
2026-11-11 16:21:17 -08:00
Waleed 9ab4e6f470 feat(credentials): keyless Snowflake, Microsoft app-only and Google keyless, GitHub and Bitbucket tokens, DocuSign JWT (#9869)
* feat(credentials): keyless Snowflake connections through workload identity federation

A Snowflake connection can now trust Sim's OIDC issuer instead of holding a
programmatic access token. Sim signs a short-lived token (audience
snowflakecomputing.com) for the credential's own random subject; the customer
creates a SERVICE user with WORKLOAD_IDENTITY = (TYPE = OIDC ISSUER SUBJECT).

- Save verifies by minting a token and running the identity statement at the
  pinned account host through the guarded egress path; Snowflake's refusals
  keep the shared codes (invalid_credentials, site_not_found,
  provider_unavailable). Subjects bind to their creator like AWS/Databricks.
- Runtime: the resolver returns authStyle 'snowflake-workload-identity' for a
  keyless credential, and the tools and selectors send Bearer WIF.OIDC.<token>
  with the WORKLOAD_IDENTITY_FEDERATION token type. authStyle and domain are
  authoritative on every Snowflake tool, so a caller can no longer choose the
  token type or steer the account host of a saved credential.
- PAT credentials resolve and verify exactly as before.
- Connect dialog offers the keyless service user with the CREATE USER
  statement; it falls back to the token dialog where keyless is unavailable.
- Docs: Snowflake connections page with keyless setup, troubleshooting, and
  the 60-minute Snowflake key cache on signing-key rotation.

* fix(snowflake): run Cortex Analyst SQL with the resolved credential and reopen keyless reconnects as keyless

Cortex Analyst's "run the SQL" went through a nested snowflake_execute_sql
call carrying the already-resolved token and host. With authStyle and domain
now authoritative, the executor cleared both before the nested call, so it
failed for every credential (and a keyless token would have been sent as a
PAT). The generated SQL now runs as one guarded statement request built from
the parent call's credential-derived host, token, and token type, through the
same requestTarget egress the tool transport uses, with redirects refused.

The Snowflake connect dialog opened every reconnect on the programmatic
access token. The workload-identity prepare call now takes the reconnected
credential and reports whether it is keyless (only to an admin of that
credential in the same workspace), and the dialog opens on that mode.

Docs: the 60-minute wait applies before signing with a new key; removing the
old key needs 10 minutes with keyless Snowflake connections.

* fix(snowflake): cancel Cortex Analyst's generated SQL with the run

The generated SQL used to run as a nested tool call, which inherited the run's
abort signal; running it directly dropped that. postProcess now receives the
executor's effective abort signal as an optional fourth argument (the same
signal the tool's own request used), and Cortex Analyst forwards it to the DNS
check, the guarded fetch, and the response read. Other tools' postProcess
hooks are unchanged.

* feat(credentials): saved GitHub personal access tokens and Bitbucket access tokens

GitHub: a saved personal access token credential (fine-grained or classic),
verified against api.github.com/user with the tools' own headers. GitHub's
workflow block authenticates with an inline token rather than OAuth, so it
follows the token-block pattern: github_v3 is the credential-only successor
of github_v2, which stays exactly as it was, marked legacy and hidden from the
toolbar. Every GitHub tool declares the optional saved-token policy; inline
tokens keep working. The GitHub App installation credential (Search) is a
separate service and is untouched: the Assistant still projects GitHub tools
onto the person's connected GitHub account, and Search policy now follows the
visible GitHub block (github_v3).

Bitbucket: a workspace, project, or repository access token as a second
option next to OAuth (the Linear pattern), verified by listing one repository
of the typed workspace on api.bitbucket.org; the slug is validated so it
cannot steer the path. List Workspaces needs a signed-in user, so it now
refuses a saved access token before any request.

Also: isHostNotFound no longer lets an outer error code mask ENOTFOUND on its
cause.

* fix(credentials): close wave 2a review findings on GitHub and Bitbucket tokens

- The GitHub token service is `github-token`, so it no longer shares an id
  with the GitHub sign-in provider: parseProvider and getProviderIdFromServiceId
  answer for sign-in exactly as before, and a token-only service is never
  marked connected from a sign-in account whose id prefixes it.
- Suggested connect rows offer each integration once and count it connected
  when any of its services' OAuth or service-account credentials is saved
  (GitHub's Search App and saved tokens share one integration).
- Assistant GitHub calls bind through the connected-account policy the
  Assistant projects (the person's github-repositories OAuth account) in the
  token resolver too, on both the ordinary and managed paths; workflow runs
  and saved workspace tokens are unaffected.
- Bitbucket verification reads one repository (`workspace/repository`), the
  request Atlassian documents for workspace, project, and repository access
  tokens alike; listing a workspace is not documented for repository tokens.
- prepare-workload-identity test uses the central credentials-access mock.

* feat(credentials): DocuSign JWT Grant credentials next to OAuth

A saved DocuSign credential that authenticates with JWT Grant (an
integration key, an impersonated user ID, the app's RSA private key, and an
environment), offered as a second option beside the existing OAuth
connection, which is unchanged.

The minter signs an RS256 assertion (iss = integration key, sub = user,
aud = the environment's authentication host without a scheme, scope
"signature impersonation"), exchanges it at that host's /oauth/token, then
reads /oauth/userinfo on the same host to bind the pinned account (or the
user's default) and returns its eSignature REST base. Both hosts come only
from the stored environment; a base_uri outside that environment's
docusign.net shape is never trusted with the token. GUIDs and the key are
checked before any request, and tokens are re-minted about 15 minutes
before they expire, as DocuSign advises.

DocuSign tools take the account base as an authoritative credential param,
so a caller can never supply it, and DocuSignClient skips its
deployment-host userinfo lookup when one is bound. OAuth tokens resolve
exactly as before.

Save-time failures map to consent_required (the connect modal shows the
exact consent URL for the key and environment) and account_not_found (a
pinned account the user does not belong to), alongside the shared
invalid_credentials and provider_unavailable codes.

* fix(credentials): close wave 2b review findings on DocuSign JWT Grant

- The DocuSign knowledge connector now honours a JWT Grant credential's
  bound account. The resolved token's instanceUrl reaches the connector as
  credentialInstanceUrl in the sync context (seeded on every path through
  syncContextForToken). The connector re-validates it with the same parser
  as DocuSignClient, lists and fetches from that account in the
  credential's environment, links envelopes to that environment's web app,
  and validates without asking the deployment host. A seeded value of the
  wrong shape fails closed. OAuth syncs are unchanged.
- RSA keys under 2048 bits are refused as invalid_credentials with copy
  that names the size, instead of jose's raw TypeError.
- A short expires_in no longer makes every call re-mint: the cached
  lifetime floors at six minutes while staying a minute under the real
  expiry.
- The connect modal shows the consent URL as a link with a copy button,
  and account_not_found says "pinned account" only when one was entered.

* feat(credentials): Microsoft Entra app-only credentials for Entra ID, SharePoint, Dataverse, and Dynamics 365

A saved Microsoft app credential (OAuth 2.0 client credentials) as an
additional option next to Microsoft OAuth, which is unchanged. One app
registration serves the four services whose tools run without a signed-in
user; Outlook, OneDrive, Excel, Word, Planner, and Teams never offer it and
token resolution refuses it for them (provider mismatch).

- Modes: client secret; certificate (PS256 client assertion with the
  certificate's x5t#S256 thumbprint, aud = the tenant token endpoint, 5-minute
  lifetime; key/certificate pairing, RSA size, and expiry checked before any
  request); keyless federated credential (a Sim workload-identity token for the
  credential's own subject, audience api://AzureADTokenExchange, subject bound
  to the saving user, refused if the app also accepts an unheld subject).
- The token resource comes from the tool's service, passed from the
  server-validated tool policy: Graph for Entra ID and SharePoint, the stored
  environment for Dataverse and Dynamics 365. Any other service is refused.
- The environment URL is stored on the credential (public-cloud Dynamics
  hosts, https root only). Dataverse tools take credentialType and instanceUrl
  as authoritative params; an app credential's request goes only to its own
  environment and a block environment that names another is refused. OAuth
  requests keep the block environment exactly as before. Dynamics 365 already
  matched instanceUrl against the block environment.
- Save check: a Graph token reading the app's own service principal (no
  permission needed), plus Dataverse WhoAmI when an environment is set. Entra
  AADSTS codes map to actionable copy; runtime failures keep the shared
  invalid_credentials / provider_unavailable split. Tokens cache per
  credential, resource, and stored-secret version in an LRU.
- Azure AD Reset password refuses app-only credentials: Graph does not
  support application permissions for resetPassword.
- Connect dialog with tenant ID, client ID, environment URL, and the
  issuer/audience/subject to paste; docs page with per-mode setup.

* fix(credentials): close wave 3 review findings on Microsoft app credentials

- SharePoint selectors (workspace and organization paths) and knowledge
  connectors now pass the service they resolve for (the selector's own
  serviceId, the connector's declared auth provider), so a Microsoft app
  credential browses SharePoint with a Graph token instead of being refused.
  The resolution option is renamed from toolService to service; it is only
  ever set from server-side policy.
- AADSTS700211 and 700212 are no longer mapped: Microsoft documents only
  70021 and 700213 for federated credential mismatches. Other keyless
  refusals still name the mismatch.
- DocuSign minter test mocks carry account_name, and the connector
  access-token test narrows its tokens with a guard instead of non-null
  assertions.

* feat(credentials): keyless Google Cloud credentials via Workload Identity Federation

A keyless mode of the existing Google service account credential
(google-service-account) for Google Cloud APIs. JSON-key credentials, their
connect flow, and their token minting are unchanged.

- Flow: Sim signs a short-lived token for the credential's own subject with
  aud = the customer's provider resource name
  (https://iam.googleapis.com/projects/<number>/locations/global/
  workloadIdentityPools/<pool>/providers/<provider>), exchanges it at
  sts.googleapis.com/v1/token (token-exchange, jwt subject token,
  cloud-platform scope, audience //iam.googleapis.com/...), then calls
  iamcredentials generateAccessToken for the service account with the tool's
  scopes and a 1h lifetime. Impersonation rather than direct federated access:
  some Cloud APIs reject federated tokens, and the service account keeps the
  same identity and roles a JSON key uses.
- Inputs validated against Google's documented formats before any request:
  numeric project number, pool/provider IDs (4-32 [a-z0-9-], no gcp-), and a
  user-managed *.iam.gserviceaccount.com email, so nothing can steer the STS
  audience or IAM URL. Requests never follow redirects.
- Scope: refuses domain-wide delegation (an impersonated user) and any service
  but BigQuery and Vertex AI before reading further or contacting Google, with
  a new shared unsupported_use code and copy pointing to a JSON key. Workspace
  blocks never offer the mode.
- Save check: STS exchange, impersonation, and tokeninfo (no IAM role or
  enabled API needed), plus a probe that a subject no credential holds cannot
  impersonate the service account. Subject bound to the saving user with the
  signed proof; kept across reconnects.
- STS/IAM failures map to actionable copy (provider settings, issuer
  reachability, the exact workloadIdentityUser binding) without Google's
  descriptions or any token; runtime keeps the invalid_credentials /
  provider_unavailable split. Tokens cache per credential, secret version, and
  scopes in an LRU.
- Per-credential audiences: audiences.ts gains google without a fixed
  audience; the setup response omits audience for it and reports a keyless
  reconnect. Connect dialog shows the issuer, audience, subject, and filled-in
  gcloud commands (pool, OIDC provider with attribute condition on the
  subject, IAM binding); docs section added.

* fix(credentials): close wave 4 review findings on keyless Google Cloud credentials

- Drop the tokeninfo check: a token from generateAccessToken already proves
  the provider accepted Sim's token and the impersonation binding, and
  tokeninfo puts a live token in a query string.
- Test that saving fails closed when the stray-subject pin probe hits an STS
  outage or an unreachable IAM endpoint.
- Pass --project=<project number> on all three gcloud setup commands, drop
  the unused Resource Manager API from the docs, and raise the shared
  validation error for an empty scope list.

* fix(credentials): keep Snowflake, Microsoft app, and Google keyless subjects unique

The subject-uniqueness scan from #9866 covered only AWS and Databricks. It now
also scans Snowflake, Microsoft app, and Google service account credentials,
so no two live credentials of an owner hold one keyless subject. Their keyed
secrets that carry no config (a Google JSON key, a Snowflake programmatic
access token) hold no subject and no longer read as unreadable. The three
keyless save paths report a newly bound subject so create checks it.

* fix(credentials): close round-1 CI and review findings on alt auth

- Knowledge connector tests expect the service now passed with Google
  service-account token requests; a new test proves a JSON-key mint signs the
  same request with or without it.
- Re-record the tool-registry-boundary baseline: the keyless Snowflake,
  Microsoft app, and Google modules add 5 modules behind credential-service,
  which tipped credit-usage past its allowance on top of staging's drift.
- Docs compatibility baseline: record the new code examples in the Google and
  Snowflake service account pages.
- Generate the Microsoft certificate test fixture at run time instead of
  committing a PEM key and certificate.
- A Microsoft app credential reconnect opens on keyless only when the stored
  credential is federated (the prepare step now reports it), like Snowflake;
  new connections still default to keyless.
- TSDoc on the Google project number, pool/provider ID, and service account
  email validators.

* fix(credentials): offer keyless Google setup only in a Google Cloud context

Reconnecting a keyless Google service account from a Workspace integration
(Gmail, Drive, ...) offered the keyless form, saving a credential that
integration can never use. The dialog now offers keyless only for a Google
Cloud service (new or reconnect) or on the credential's own page; from a
Workspace integration it explains the credential works only with BigQuery and
Vertex AI and does not save. The chat connect control passes its service so
it gets the same gate.

* test(credentials): match the stable part of the subject-in-use refusal
2026-11-10 18:50:27 -08:00
Waleed e1a3f29d97 feat(credentials): saved credentials for 21 token-and-host blocks on one host-aware check factory (#9849)
* refactor(credentials): host-aware token checks in the shared validator factory

tokenCheckValidator now takes a domain normalizer (stored as the credential's
domain), an account-id normalizer, an SSRF-guarded egress profile for hosts
the user chose, and a flag that keeps token-echoing error bodies out of logs.
GitLab becomes a declaration on it, so every token check reads the same way.

* feat(credentials): saved credentials for 20 token-and-host blocks

Algolia, Azure DevOps, Convex, Devin, Dynatrace, Email Bison, Grafana,
Infisical, Jotform, Jupyter (v3), Logfire, Mailgun, New Relic, Okta, Plane,
Supabase, Tinybird, Twilio SMS and Voice (one shared Twilio credential), and
Upstash get a credential that carries the token plus its host, region, or
account id, and a credential-only successor. Every host-deciding param comes
from the credential; a typed host is normalized as the tools do it and
verified through the guarded egress, a region or account id is checked
before any request, and Databricks subject tokens last up to an hour so
long Genie polls keep their token.

* feat(credentials): Thrive saved credential, and close the batch-3 audit findings

Thrive gets a credential holding its key, tenant id, and region host (one of
its four API hosts). Audit fixes: the connect form sends URL-shaped domains
as typed so the provider check keeps their scheme and path; credentials
default to a name with their domain or account id (GitLab keeps its token
name) and record it in the audit log; Upstash accepts http and a read-only
token refused PING; Infisical keeps http and a proxy path; Devin, Dynatrace,
and Logfire refuse dot segments, non-http schemes, and mistyped regions.

* improvement(credentials): simplify and clean up the token-and-host checks

One normalizeHttpBaseUrl and one allowedDomain replace five URL normalizers
and four region checks (fixing Grafana and Tinybird treating a non-http
scheme as a host); region tables come from the tools; acceptsBody can name
the credential (GitLab); Email Bison and Jupyter refuse credentials in the
URL instead of dropping them; the Supabase public-URL policy is inlined; the
Databricks token lifetime uses the issuer's cap.

* fix(credentials): address review round 1

Azure DevOps tools build every project-scoped URL through one traversal-safe
helper, so a project or build id can't climb into another organization with a
saved token; Tinybird and Upstash restricted-token replies are covered by
tests.

* fix(credentials): address the final audit

An Azure DevOps project or organization pasted already encoded is decoded
once before the traversal-safe segment, so it isn't encoded twice; a base
URL with a single-slash scheme is refused; Upstash accepts a proxy path like
the legacy block; a Thrive tenant id must be printable ASCII.

* docs(skills): teach the saved token credential pattern in the integration skills

add-integration, add-block, add-tools, and validate-integration now describe
the token credential (descriptor, tokenCheckValidator declaration with its
host and account normalizers, shared policy mapping every host-deciding
param) and credential-only successors for blocks that take a secret inline.

* docs(skills): address review round 2

The token-credential skill steps name the real tokenCredentialOAuth factory,
scope the checklist to token-credential and successor blocks, and keep the
AuthMode.ApiKey path for token-only blocks; normalizeEmailBisonBaseUrl gains
its TSDoc.

* fix(credentials): refuse an Email Bison instance typed with a non-https scheme

normalizeEmailBisonBaseUrl now keeps any typed scheme, so ftp://host is
refused instead of becoming a host named ftp.

* fix(credentials): close release-audit findings in the saved-credential executor

- A policy that maps credential fields owns them: the generic domain,
  instanceUrl, apiDomain and cloudId fills no longer write a stored host
  into a same-named user param (Thrive create/update user sent its region
  host as the user's domain).
- An agent tool with a saved credential selected is neither asked for nor
  allowed to send the params the credential supplies (Azure DevOps
  organization, Infisical base URL).
- ENOTFOUND is read from the error or its cause, so a mistyped host or
  account id is site_not_found under Bun as well as Node.
- A service-account secret is released only to a tool bound to its
  provider; a bare credential ID is refused.

* fix(credentials): refuse non-http schemes on typed hosts; correct docs and copy

- One refuseUnsafeTypedUrl guard refuses a typed instance URL with
  credentials or a non-http(s) scheme, for Email Bison, Jupyter and
  Logfire, before their normalizers can read the scheme as a host. The
  Email Bison tool normalizer is back to its staging behavior; the check
  lives in the credential validator, so legacy blocks are unchanged.
- Docs for successor users: Jotform region, Dynatrace scopes, Logfire
  host, Plane instance, Infisical, Fathom and Supabase now point at the
  saved credential; self-hosting no longer says API keys live in blocks;
  the AWS keyless step names the dialog's Issuer.
- ElevenLabs and Instantly copy no longer asks for a permission their
  checks don't need; Okta lists trexcloud.com.
2026-11-10 13:33:52 -08:00
Waleed 106310eead feat(credentials): saved credentials for 17 more blocks, GitLab tokens, and keyless hardening (#9840)
* fix(credentials): accept scoped keys on save, isolate the retiring signing key, surface Databricks token errors

* improvement(credentials): report Databricks token failures in the shared service-account codes

* feat(credentials): saved credentials and credential-only versions for 17 more token blocks

Ashby, Calendly, Checkr, Fathom, Grain (v3), Granola, Lemlist, PagerDuty,
Resend, Rootly, Semrush, Sentry, Stripe, Telegram, Typeform, Vercel and
WhatsApp get a token credential with a vendor check on save and a
credential-only successor. Legacy blocks only gain hideFromToolbar and a
sunset; Telegram's params builder is extracted so the legacy block keeps
its bot-token check.

* fix(credentials): close batch-2 audit findings

Restricted keys that name their missing permission (Ashby, Resend,
ElevenLabs) are accepted through a provesKey check; Typeform rejects every
403; WhatsApp keeps the phone number ID in its own path segment; Semrush is
held back because its free balance check accepts unknown keys.

* improvement(credentials): put the credential picker under the operation picker and share the provider-failure split

Credential-only blocks now show their saved-credential picker right under
the operation picker. Validators reuse the tools' header builders, one
providerFailureCode decides caller vs provider errors (a Databricks token
reply without a token is the provider misbehaving), and new providers sit in
alphabetical order.

* fix(credentials): harden keyless sign-in for AWS and Databricks

Saving a keyless Databricks connection now refuses a federation policy that
trusts every Sim subject, as AWS roles already were. Keyless stays off when
the issuer isn't https on the default port, and an unpinned issuer is logged.
Docs cover a zero-downtime key rotation, the issuer requirements, finding the
service principal ID, and troubleshooting.

* feat(credentials): saved GitLab token credential and credential-only gitlab_v2

A GitLab credential holds a personal, project, or group access token and the
instance host (gitlab.com or self-managed). Saving verifies the token's
self-lookup at that exact host over the SSRF-guarded fetch with no redirects
and requires an active token with an API scope; runs only reach the verified
host. Successors may now state the picker's required rule when the replaced
fields differ (GitLab's host was optional).

* fix(credentials): close final-audit findings on keyless wording, issuer logs, and WhatsApp IDs

The Databricks refusal names the real cause (a subject_claim other than sub),
the issuer failure log points at the key or issuer, the AWS troubleshooting
leads with the message users see, rotation steps cover background workers,
and a WhatsApp phone number ID can no longer leave its path segment.

* fix(credentials): keep GitLab personal tokens available after GitLab moves to gitlab_v2

Personal-token visibility resolved the GitLab integration by the legacy block
type, so hiding that block and renaming its catalog entry hid every existing
personal token and refused new ones. It now resolves the current GitLab
version, and the integration page lists personal tokens beside saved GitLab
credentials.

* chore(credentials): cleanup pass on the batch-2 changes

* chore(credentials): shrink the unused-exports baseline

* fix(credentials): type the GitLab check's secure-fetch response

* fix(credentials): address review round 1

GitLab's integration page offers personal tokens and saved access tokens
side by side, a malformed GitLab token lookup reports the provider as
unavailable, and the keyless issuer refuses a query string or fragment.

* fix(credentials): close the PR-wide audit findings

Docs describe credential-only Telegram and Typeform actions and the issuer's
query/fragment refusal, PagerDuty and Grain copy name every token type that
works, Granola accepts a key whose note scope an admin turned off, a GitLab
reply that isn't a token lookup reports the provider, and Semrush's catalog
entry matches staging exactly.

* improvement(credentials): simplify and clean up the review-round changes

* fix(credentials): address review round 2

Ashby's restricted-key check reads the missing permission from object-shaped
error entries too, and a GitLab host that doesn't resolve is reported as not
found instead of the provider being unavailable.
2026-11-10 11:24:17 -08:00
Waleed bf575fe3fa feat(credentials): saved credentials and credential-only block versions, with keyless AWS/Databricks OIDC (#9763)
* feat(credentials): saved AWS and Databricks credentials with keyless OIDC

Adds an optional saved credential to every AWS block and the Databricks
block, alongside the existing inline key fields, plus Sim's own
workload-identity (OIDC) issuer so a credential can assume a customer's
AWS role or federate into a Databricks service principal without any
stored secret.

Existing workflows are unchanged: the inline fields stay, show, and
validate exactly as before until someone selects a saved credential.

- Issuer at /oidc/workload (discovery + JWKS), signing key from
  WORKLOAD_IDENTITY_SIGNING_KEY; 404 and keyless option off when unset
- Credential-scoped subjects, HMAC-bound to the preparing user and
  workspace, so a member cannot reuse another credential's subject
- aws-service-account: access keys, keys + AssumeRole (external ID), or
  keyless AssumeRoleWithWebIdentity; resolved server-side per call
- databricks-service-account: PAT, service principal M2M secret, or
  keyless RFC 8693 token federation
- AWS families accept the executor-authorized credential through trusted
  operation context; clients add the session token only for that pair
- S3 get_object signs x-amz-security-token for temporary credentials;
  inline signatures are byte-identical to before
- Tool credential binding honors optional (required: false) policies

* fix(credentials): close review findings on saved AWS/Databricks credentials

- Models can no longer inject a credential selector (or the token, session
  token, or host derived from one) into a hybrid tool call, which would
  have swapped an agent tool's inline keys for another workspace credential
- Databricks connections own the workspace host (authoritative `domain`)
- Drop the advanced credential-ID input: with a single picker, "is a
  credential selected" can no longer disagree with the active canonical mode
- OIDC subject proofs are bound to their provider
- Databricks token and identity fetches refuse redirects
- Correct the AWS module doc on presigned URLs carrying a session token

* chore(credentials): satisfy test-pattern, unused-export, and test-type audits

* fix(credentials): keyless reconnect, availability, and shared credential plumbing

- Reconnecting a keyless AWS role or Databricks principal keeps its trusted
  subject by default instead of issuing a new one that breaks the
  customer's trust policy
- The connect dialogs offer the keyless mode only where the deployment can
  sign tokens; the prepare endpoint reports availability instead of failing
- Register AWS (all 19 block types) and Databricks as stored-credential
  integrations, so org settings, the v2 credentials API, and Copilot can
  create and see them
- Optional STS region for GovCloud and China access keys
- One subject binder and config parser shared by both providers (neutral
  copy), one modal core for submit/errors/trust display
- Generic `authorizedServiceAccountCredential` operation context instead of
  an AWS-specific field; Databricks resolver checks credential type and
  honors cancellation
- Model-blocked params derive from each tool's authoritative params

* test(credentials): type the handler mock in the AWS credential seam test

* feat(credentials): credential-only block versions instead of hybrid inline keys

Existing AWS and Databricks blocks are left exactly as on staging, only
marked legacy and hidden from the toolbar; placed instances keep running
and show an upgrade badge. Each gets a credential-only successor
(s3_v2 ... databricks_v2, textract_v3) built by spreading the legacy block
and swapping its secret fields for a required saved-credential picker.

- withSavedCredential derives the successor's fields, inputs, and params
  builder; S3 and Textract split their builders so legacy key checks stay
- tools declare credentialSuppliedParams so serializer validation and the
  canonical-id check stop asking credential-only blocks for inline keys
- CloudWatch gets saved-credential log group/stream selectors that sign
  inside the credential's STS session
- docs generator resolves multi-level spreads and same-file param builders
- the AWS/Databricks providers are derived from the catalog again, so the
  hand-maintained token-credential mapping is reverted

* docs(credentials): document credential-only blocks by their credential, not inline keys

The generator omits a tool's credential-supplied params on pages for
blocks that sign in with a saved credential, as it already omits
accessToken. Intros now point at the AWS/Databricks credential guides.
Regenerates OpenAPI, CLI API, and CLI docs for the new selector keys.

* fix(blocks): never replace trigger fields that share a secret's id

A webhook trigger can register with a field named like the block's
secret (PagerDuty, Fathom, EmailBison, GitLab). withSavedCredential now
leaves trigger-mode fields, and their dependencies, exactly as they are.

* feat(credentials): generic saved-token plumbing for credential-only blocks

Wave 0 of moving inline-secret blocks onto saved credentials.

- tokenCredentialOAuth(provider, credentialParams) declares which tool
  params a saved token fills; credentialSuppliedParams is derived from it
- the executor fills those params after authorization, overriding any
  caller value, and fails closed when the credential lacks a field
- hosted keys are never injected when a saved credential supplies the key
- v2 tool execute no longer demands credential-supplied params when a
  credentialId is passed (fixes AWS/Databricks direct calls)
- withSavedCredential accepts an optional/conditional requirement
- check-block-registry verifies every credential-only successor's tools
  authorize the picker's provider and actually fill what they declare
- redact secretAccessKey/awsSecretAccessKey keys in logs
- serializer contract test covers every operation of each successor

* feat(credentials): Tavily saved credential and credential-only tavily_v2

Reference migration for wave 1. A generic tokenCheckValidator verifies a
token with one documented authenticated request (no redirects); Tavily
uses GET /usage. Legacy tavily is unchanged apart from its legacy marker.

* fix(credentials): close wave-0 audit findings

- agent tool-input no longer synthesizes inline secret fields a block's
  saved-credential picker supplies; one shared rule
  (credentialSuppliedParamsFor) now drives tool-input, serializer
  validation, and the canonical-id check
- the picker inherits the replaced secret's condition and requirement, so
  sts_v2's unsigned calls (web identity, SAML) need no credential
- withSavedCredential replaces both halves of a canonical secret pair and
  refuses options that would silently do nothing
- Databricks fills its inline apiKey/host through credentialParams, so its
  tools are byte-identical to staging apart from the policy line
- AWS operation families record their tool ids; a test and an executor
  guard ensure every AWS-credential tool resolves the credential
- the registry contract check fails on unpinned host params, optional
  credentials over required params, malformed pickers, and kind mismatch
- hosted-key admission (v2) and pre-resolution validation honor a selected
  saved credential; credential errors name fields in plain words

* feat(credentials): wave 1 — saved token credentials for 48 single-token blocks

Each block keeps its legacy definition (only hideFromToolbar + sunset) and
gains a credential-only <type>_v2. Every service gets a token-paste
provider with a one-request validator against a documented, read-only,
credit-free endpoint, and its tools fill the inline key from the saved
credential via tokenCredentialOAuth.

Blocks: affinity, agentmail, agentphone, ahrefs, apify, apollo, brex,
brightdata, browser_use, buffer, circleback, clerk, cloudflare,
crunchbase, daytona, elevenlabs, enrich, gamma, hex, huggingface,
incidentio, instantly, langsmith, launchdarkly, linq, loops, luma,
mailchimp, otter, persona, pinecone, profound, quartr, rb2b, rippling,
rocketlane, semrush, sendgrid, similarweb, sixtyfour, smartlead,
sportmonks, square, tailscale, trigger_dev, uptimerobot, youcom, youtube.

The registry contract check now probes each request tool's real URL
builder to find params that steer the host, and requires the saved
credential to fill them.

* fix(credentials): close wave-1 audit findings

- Pinecone and Semrush leave wave 1: Pinecone's per-call indexHost would
  let a shared key reach any host, and Semrush has no credit-free check
  that rejects a wrong key. Both are back to staging exactly.
- tokenCheckValidator: forbiddenMeansScoped accepts a valid key that lacks
  the check endpoint's scope (Apollo, Brex, Bright Data, Apify, Rippling,
  Persona); acceptsBody proves keys whose rejection arrives in a 200 body
  (Buffer GraphQL)
- the host-steering probe lives in scripts/saved-credential-contract.ts:
  typed placeholders for required params only, id/host shapes, bare and
  scheme probes, and a broad destination-name fallback where the URL
  cannot be built; covered by a fixture test
- S3 refuses a bucket or region that would move the signed request's host
- spread-inheriting docs keep their base block's outputs (restores the
  Smartlead, Trigger.dev, and Instantly output tables)
- incident.io's credential is optional for alert events, which use their
  own alert source token
- withSavedCredential refuses replaced secrets that show or require
  differently; copy, intro, and hint fixes from the audit

* fix(credentials): close wave-1 re-audit findings

- host probe also defeats unparsed suffix checks and finds hosts behind
  optional switches, probing every placeholder shape; broader destination
  names where a URL cannot be built; the contract check fails when a
  successor's tool is missing from the executable registry
- the optional-credential rule evaluates a conditional picker per
  operation; incident.io hides its picker on alert events instead
- withSavedCredential takes an explicit picker condition and refuses one
  that depends on a replaced secret at any nesting depth
- a scoped 403 counts only when it is the vendor's JSON response, never a
  firewall or CDN page
- S3 names a bad bucket or region in its error
- pinecone/semrush catalog dates restored to staging

* feat(credentials): wave 1b — Mem0, Zep, and Discord saved credentials

Their legacy params builders throw without an inline secret, so each is
extracted into a module function with a requireKey flag: the legacy block
keeps identical validation and messages, the credential-only v2 skips only
the key check. discord_v2 hides its picker for webhook posts, which never
use the bot token. BlockToolParams is now a shared type for extracted
builders (S3, Textract, Discord).

* feat(credentials): wave 1b — v3 credential-only versions and Flint

Blocks that already had a v2 get a credential-only v3 that spreads it:
cursor, dub, extend, fireflies, intercom, pulse, quiver, reducto. The v2
becomes legacy and every older version's replacedBy points at v3. Extend,
Pulse, and Reducto's v2 builders trimmed the key inline, so each is
extracted into a builder that takes the key as an argument; the legacy v2
passes the trimmed key exactly as before.

Flint gets flint_v2 with a dedicated validator: its API has no read
endpoint, so an unknown task id answering 404 proves the key.

tokenCheckValidator gains rejectsKey for vendors that answer a bad key
with a server error (Fireflies returns 500 auth_failed), so the user is
told the key is wrong rather than the vendor down.

* fix(credentials): close wave-1b audit findings and CI boundary failures

- token checks for the 59 new providers live in one module
  (validators/token-checks.ts) and their tool policies in
  tools/shared/saved-credentials.ts, so the tool-registry boundary stays
  within its baselines instead of adding ~60 modules to every graph
- the host-steering probe builds URLs through the shared transport
  (new prepareToolRequestUrl) and also flags a host validated against a
  vendor allowlist when two accepted values reach different tenants
- the AWS routing test reads typed metadata through getToolMetadata
- Flint accepts only its documented JSON 'Task not found' 404; Intercom no
  longer treats a 403 (suspended workspace, plan without API) as valid;
  Fireflies keeps its error text in logs when a 5xx isn't auth_failed
- Cursor help text, placeholder wording, Pulse intro, sorted secret fields

* fix(credentials): address pre-ship verification findings

- Refuse a keyless AWS role whose trust policy doesn't pin the credential's
  subject, so no other workspace can assume it
- Treat a malformed workload-identity signing key as not configured
- Brex: reject an unknown token's scope-style 403; the token-check factory
  now runs rejectsKey before accepting a scoped 403
- Flint: probe with a docs-shaped task id and a size-capped body read
- Drop the versioned BlockMeta entries that doubled templates; alias bare
  block types in the app icon map so template icon clusters resolve
- Widen the host-probe fallback names and rotate digits in alternates
- Copy: picker placeholder casing, Databricks v2 description, Pulse and
  Tailscale skills, AWS/Persona/Rippling intros, AWS credential docs
- Tests: AWS executor signing, AWS/Databricks credential setup, legacy
  params builders, serializer coverage for blocks without operations

* refactor(credentials): one saved-credential table and shared helpers

- withSavedCredential reads the replaced fields from SAVED_CREDENTIAL_OAUTH,
  so blocks and tools share one table instead of two hand-kept copies
- Reuse isTriggerModeSubBlock, getDependsOnFields, and a shared
  isSavedCredentialPicker; build the replacedBy map once in the registry check
- newWorkloadIdentitySubject owns the subject format; the AWS trust-pin probe
  runs alongside verification
- The issuer parses a bad signing key once instead of per request
- Token checks share the accepted result and the capped JSON reader

* chore(credentials): cleanup pass

- Keyless setup query gets its own key root, so broad credential
  invalidations can't refetch an open setup and mint a new subject
- Named staleTime constant for the setup query
- Correct stale comments (relying parties, Databricks param names)
- Tighten tests: assert the refusal reason, make the BYOK guard reachable,
  drop a duplicate and a test that could not fail

* fix(credentials): address review round 1

- A scoped 403 whose body can't be read is provider_unavailable, never accepted
- Provider error snippets read through the bounded reader
- Props interfaces for KeylessTrustFields and useWorkloadIdentitySetup; TSDoc on issuer responses

* fix(credentials): never cache the issuer's not-configured 404
2026-11-10 08:25:14 -08:00
Waleed de6e53c752 fix(docs): polish code rendering and keyboard navigation (#9827)
* fix(docs): polish code rendering and keyboard navigation

* fix(docs): give API samples one keyboard entry
2026-11-09 21:18:18 -08:00
Waleed ced5556efd fix(docs): keep search responsive and contain sidebar scrolling (#9786)
* fix(docs): keep search responsive and contain sidebar scrolling

* fix(docs): strengthen search cancellation and IPv6 checks
2026-11-07 13:58:05 -08:00
99c5a92a09 feat(higgsfield): add Higgsfield integration (#9749)
* feat(higgsfield): add Higgsfield integration

Add a Higgsfield block for image and video generation:
- Generate with any model endpoint, or a typed SOUL image operation
- Get status, cancel, and delete generation requests
- Create, get, list, and delete Soul ID characters

Generation waits for completion by polling request status, with an option
to return the request ID immediately. Credentials are a saved token service
account (KEY_ID:KEY_SECRET), verified by listing the account's characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): address review findings

- Split training image URLs on line breaks only so URLs containing commas stay intact
- Limit the Soul ID skill to v1 characters, the version Generate SOUL Image accepts
- Let the canvas noun name the object in Get and Delete Character sentences
- Mark outputs that can be null as nullable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): parse numeric block inputs with the shared parser

Use parseOptionalNumberInput so whitespace-only values are treated as empty
instead of 0, and enforce the documented integer and range limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): parse numeric inputs only for the selected operation

A hidden numeric field from another operation no longer blocks the
selected one when its value is invalid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): type character list output and limit SOUL batch size

Declare the List Characters output as an array, and reject a SOUL batch
size other than 1 or 4 before submitting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(higgsfield): regenerate integration metadata after rebase

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): verify keys against the documented request status route

The Soul ID list route used for key checks is undocumented. The status
route is documented and answers 404 for an accepted key and 401 for a
rejected one, so it is a stable probe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(higgsfield): reject an unexpected 2xx from the key check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Waleed Latif <walif6@gmail.com>
2026-11-06 17:48:21 -08:00
Waleed 349b076825 fix(integrations): use Flow and Jama brand icons (#9755) 2026-11-06 12:57:25 -08:00
Waleed 09742f1f5c feat(gauge): add Gauge Chat integration (#9733)
Add all 27 Gauge Chat operations with saved organization API-key credentials, six resource pickers, the Gauge icon, setup documentation, and generated catalog metadata.

Keep operation-specific inputs scoped across workflows, agent tools, and notification tools using optional mapper context. Preserve model arguments, clear incompatible topic selections on operation changes, and reject blank identifier entries.

Validate provider contracts and live requests, including mutation readbacks, report datasets, permission denials, selectors, and real executor/agent calls. All local gates passed with 43,187 tests passing and eight existing skips.
2026-11-06 00:14:40 -08:00
Waleed 192e65a8b5 fix(docs): align navigation and collapse integration fields (#9732)
* fix(docs): align navigation and collapse integration fields

* fix(docs): cover ToC hover color and underline invariants
2026-11-05 22:28:22 -08:00
Waleed 7ee2814366 feat(integrations): add Jama and Flow workflows and live Search (#9723)
Add Jama Connect and Flow Engineering actions, selectors, and live Search using existing credential and permission boundaries. Preserve account limits, identity checks, and bounded provider reads.
2026-11-05 19:06:33 -08:00
Waleed 1e0a8874b4 improvement(landing): re-encode embedded brand logos to cut comparison page weight (#9631) 2026-11-03 12:39:03 -08:00
Waleed 04b66d470d improvement(docs): collect reader feedback inline (#9538)
* improvement(docs): collect reader feedback inline

* fix(docs): validate feedback request authority and exercise retries

* fix(docs): normalize feedback paths and scope error assertions
2026-10-31 12:08:23 -07:00
Waleed b3f9298680 fix(docs): restore container expansion and verify canvas interactions (#9502)
* test(docs): exercise canvas interactions and container expansion

* fix(docs): restore inline container expansion

* test(search): verify navigation after streamed denial hydration
2026-10-30 23:36:35 -07:00
Waleed 26ba3a9570 improvement(docs): simplify workflow lightbox and retire migration artifacts (#9496)
* improvement(docs): inspect workflows on canvas and retire migration artifacts

* improvement(docs): simplify expanded workflows to an interactive canvas

* fix(docs): remove unused preview block export

* chore(docs): drop retired export from unused baseline
2026-10-30 22:00:03 -07:00
Waleed 873489c67c fix(docs): simplify selection and verify media interactions (#9493)
* fix(docs): simplify selection and verify media interactions

* fix(docs): wait for actionable lightbox backdrop in e2e
2026-10-30 19:23:15 -07:00
Emir KarabegandWaleed Latif 7860fbe8cc feat(docs): rebuild documentation with the shared Sim design system (#9459)
* feat(docs): rebuild documentation with the Paper design system

* fix(docs): verify nested tabs and fresh-checkout CI setup

* chore(docs): refresh preservation evidence against latest staging

* fix(docs): align shared navigation and controls with Paper

* fix(docs): share active heading across responsive outlines

* fix(docs): track the final section at the end of the page

* fix(docs): preserve sidebar scroll in a persistent layout

* fix(docs): restore live screenshot backgrounds and framing

* fix(docs): finish layout polish and clean implementation references

* fix(docs): align shared dark theme and overlay states

* fix(docs): remove dark borders from platform screenshots

* test(docs): benchmark production navigation and image delivery in CI

* fix(docs): preserve machine content and production reading contracts

* fix(docs): retain readable tabs without JavaScript and verify current staging

* fix(docs): expose root response schemas and generate clean-checkout types

* fix(docs): resolve no-script tabs in the preflight cascade layer

* perf(docs): import only the search schema constructors

* fix(docs): preserve retrieval excerpts and reduce reading overhead

* fix(docs): reuse in-flight intent prefetches during navigation

* docs: record production readiness evidence and release requirements

* docs: clarify optimizer measurement provenance

* docs: preserve latest staging Search assets and compatibility evidence

* fix(docs): polish responsive controls and keep search indexing current

* test(docs): select the visible API example in browser checks

* test(docs): execute native examples against streaming and binary responses

* fix(docs): stream native API responses without buffering

* test(docs): cover review regressions through public interfaces

* fix(docs): preserve accessible examples and gate index publication

* fix(docs): finish accessible controls and cached content validation

* fix(docs): validate integration parents and report partial search failures

* fix(docs): refine navigation and compact sample controls

* fix(docs): isolate synchronous corpus validation from HTTP readers

* fix(docs): restore Paper interaction styling and verify responsive controls

* fix(docs): score each search page once per retrieval source

* fix(docs): attribute benchmark metrics to their source document

---------

Co-authored-by: Waleed Latif <walif6@gmail.com>
2026-10-30 17:06:09 -07:00
Waleed a0f47b1e87 fix(search): inline action review and unify account menus (#9451)
* fix(search): inline action review and unify account menus

* fix(search): back off durable permission recovery

* fix(search): wait for URL updates in browser checks

* fix(search): polish inline action review interactions
2026-10-29 16:25:50 -07:00
Waleed 929021d7ef feat(search): unify organization search and reviewed assistant actions (#9428)
* feat(search): move assistant into organization search

* feat(search): add personal assistant actions and per-tool permissions

* chore(search): finalize migration and validation artifacts

* chore(search): align regression fixtures with account permissions

* chore(tests): make asynchronous validation deterministic

* fix(db): rebase assistant migration and preserve atomic expansion

* docs(search): show dedicated organization search navigation

* fix(search): preserve drafts and harden reviewed action delivery

* fix(search): finalize refusal stream contract and validation

* test(search): assert credential rejection independently of wording

* fix(search): align review limits and isolate OAuth token refresh

* fix(docs): preserve spacing above nested sidebar sections

* docs(search): remove stale mode instructions and clarify actions

* fix(search): distinguish unavailable account connections

* chore(search): validate rebased migration and module graph

* fix(tests): wait for durable text before recovery faults

* fix(tests): wait for Search URL persistence before reload
2026-10-29 03:56:02 -07:00
Waleed 53f4e910f3 feat(ec2): add Amazon EC2 integration (#9304)
* feat(ec2): add Amazon EC2 integration

* feat(ec2): add network ACL, endpoint, peering, AMI, key pair, ingress rule, and EBS delete operations

- Add describe_network_acls, describe_vpc_endpoints, describe_vpc_peering_connections,
  describe_images, describe_key_pairs, authorize/revoke_security_group_ingress,
  delete_volume, and delete_snapshot
- Regenerate block successor names (fixes the lint job's repo audit)
- Merge the two tag tables into one tags field so fixed tags work in the Agent editor
- Keep a __proto__ tag key by building records with Object.fromEntries
- Pass [{Key, Value}] tag arrays through the block instead of dropping them
- Use a filter example each describe operation actually accepts
- Report revoked: false when a revoke matched no rule; mark the ingress target clauses core

* fix(ec2): generate filters with the json-array wand
2026-10-22 12:10:24 -07:00
Waleed b8be2f0d2e fix(docs): preserve clipboard activation and validate copied content (#9295)
* fix(docs): cover clipboard activation and exported content

* fix(docs): preserve clipboard activation and reject blank exports

* fix(docs): isolate clipboard permissions in browser checks
2026-10-21 15:43:19 -07:00
Waleed 5e4339fdc5 improvement(docs): reduce navigation payload and build work (#9285)
* improvement(docs): reduce build work and instrument performance

* improvement(docs): defer collapsed navigation and refine performance checks

* improvement(docs): streamline navigation without visitor telemetry

* fix(docs): preserve dates when loading page content

* fix(docs): preserve sitemap dates with lazy content
2026-10-21 11:41:58 -07:00
Waleed 658ccc8c1f improvement(docs): simplify integration page headers (#9275) 2026-10-20 23:43:02 -07:00
Waleed fd4323a7ae improvement(docs): refine screenshots, copy, and API interactions (#9269)
* improvement(docs): refine screenshots, copy, and API interactions

* fix(docs): preserve icon gradients and refresh generation inputs

* fix(docs): keep OAuth setup prerequisites visible
2026-10-20 20:52:28 -07:00
Waleed 4b3adfe4db feat(helpscout): add Help Scout integration with OAuth and app credentials, selectors, and webhook triggers (#9252)
* feat(helpscout): add Help Scout integration with OAuth and app credentials, selectors, and webhook triggers

* fix(helpscout): publish triggers in the catalog, reject unsafe IDs, and address review findings

* fix(helpscout): mark nullable trigger output fields
2026-10-20 13:55:40 -07:00
Waleed cc6e91fbec feat(greenhouse): add versioned Harvest v3 integration (#9206)
Add 50 Harvest v3 operations with partner OAuth, preserve legacy workflows, and align integration schemas, pagination, and generated documentation.
2026-10-18 16:20:30 -07:00
Waleed 0a140b4a94 feat(oracle-fusion): add core financial business operations (#9165)
* feat(oracle-fusion): add core financial business operations

* fix(oracle-fusion): preserve resource keys and tighten validation fixtures

* fix(oracle-fusion): distinguish empty forms and expose array inputs
2026-10-16 20:32:09 -07:00
Waleed a754780296 improvement(docs): standardize integration copy and generated references (#9039)
* improvement(docs): standardize integration copy and generated references

* fix(docs): clarify supported integration operations and trigger events

* fix(docs): preserve integration search details and event limits

* fix(docs): distinguish table query and page budgets

* fix(docs): preserve explicit search heading links
2026-10-14 15:46:00 -07:00
Waleed 2e200d5c9f fix(docs): correct delivery headers and preview details (#9042) 2026-10-14 14:27:45 -07:00
Waleed 2676575f21 improvement(docs): standardize copy and responsive navigation (#9020)
* docs: standardize copy and page organization

* docs: preserve tab spacing and qualify output limits

* docs: align responsive navigation and preserve readable content

* docs: link the scoped tab component in agent guidance

* docs: preserve procedural details and correct reference examples

* docs: record final review and preserve accessible provider bookmarks

* chore(docs): finish ship review and update audit evidence

* fix(docs): correct review findings and tablet header alignment

* fix(docs): polish API controls and inline code

* fix(docs): announce API picker selections

* fix(docs): expose checked API picker choices

* test(ui): align single-choice picker locators
2026-10-14 12:29:33 -07:00
Waleed 03f2029e66 improvement(seo): fix soft 404s, per-integration freshness, and docs markdown for AI crawlers (#9006)
* improvement(seo): fix soft 404s, per-integration freshness, and docs markdown for AI crawlers

* test(seo): crawl the production build for landing SEO regressions

* chore(landing): remove the post and author loading skeletons the slug pages no longer use

* fix(seo): resolve docs slugs through the catalog, keep API pages negotiable, and harden the crawler suite

* fix(docs): carry the landing-page backlink into integration markdown

* test(seo): match the visible date attribute case-insensitively
2026-10-13 23:04:08 -07:00
Waleed 75663c8c4b fix(docs): return 404 for unknown docs paths and derive integration counts from the catalog (#9003)
* fix(docs): return 404 for unknown docs paths and derive integration counts from the catalog

- Pass the bundled OpenAPI specs to fumadocs in memory instead of by file path; serverless functions don't ship the spec files, so every non-prerendered docs route failed with a 500
- Set dynamicParams = false on the docs page and llms.mdx route so unknown paths are a static 404
- Generate catalog totals and derive every public integration claim from them in one unit (integrations, actions, triggers) instead of the hardcoded "1,000+" and stale comparison counts
- Add a "Calling the Sim API" section to the docs llms.txt and clarify X-API-Key vs Bearer in the API docs
- Redirect /triggers/api to the API deployment page

* fix(seo): keep JSON-LD integration claims to the count the pages show
2026-10-13 18:12:58 -07:00
Waleed 4d2fa26f5d chore(docs): remove the academy (#8995) 2026-10-13 15:22:16 -07:00
Waleed a643776bb8 feat(fivetran): add Fivetran integration with saved credential, selectors, and webhook triggers (#8983)
* feat(fivetran): add Fivetran integration with saved credential, selectors, and webhook triggers

* fix(fivetran): list catch-all trigger in catalog, mask API key, regenerate selector contracts

* fix(fivetran): run signed events during activation, hash full event for retry keys, isolate pause/resume
2026-10-13 13:27:26 -07:00
Waleed e526a910cb fix(docs): render the FAQ JSON-LD as a native script tag, and forbid data-typed next/script (#8875)
* fix(docs): render the FAQ JSON-LD as a native script tag, and forbid data-typed next/script

The FAQ component rendered its FAQPage JSON-LD through next/script with the
default afterInteractive strategy, which returns null on the server and injects
the tag from a client effect, so the served HTML never carried it. Render a
native <script> the way #6763 fixed the other docs JSON-LD blocks;
serializeJsonLd already escapes '<'.

check:source-text now also fails on a next/script element in apps/** whose type
is not JavaScript, naming the native-script fix.

* fix(audits): match only the real type prop, fail closed on expression types, and scan MDX pages

* fix(audits): recognize default-as next/script imports and skip MDX code examples

* fix(audits): keep JSX template literals intact when skipping MDX inline code
2026-10-09 20:44:48 -07:00
Waleed 090ff82b01 feat(checkr): add Checkr integration with tools, block, and webhook triggers (#8824)
* feat(checkr): add Checkr integration with tools, block, and webhook triggers

Adds 56 Checkr tools (candidates, invitations, reports, tags, adverse
actions, screenings, packages, geos, nodes, programs, counties,
subscriptions, continuous checks, documents, account, users), the Checkr
block, and 31 webhook triggers with automatic webhook registration and
X-Checkr-Signature verification.

* fix(checkr): reuse the live webhook on redeploy and tighten tool inputs

- Reuse an existing Checkr webhook for the trigger's callback URL instead of
  creating another, and keep it while an active deployment still uses it,
  so redeploys work at Checkr's two-webhook account limit
- Type list inputs as arrays with item schemas; Set Report Tags rejects
  invalid input instead of clearing every tag
- Reject report adjudications other than engaged
- Declare always-emitted null outputs as nullable

* fix(checkr): require work location state only for US locations

Checkr requires state for US work locations and country for non-US ones,
so the item schema no longer marks state required for every location.

* improvement(checkr): define typed triggers in one module

Each one-line trigger file was a separate module in every graph that reaches
the block registry; one events module keeps the integration within the
tool-registry-boundary module baseline.
2026-10-08 20:41:07 -07:00
Waleed 950b84e22c chore(integrations): refresh catalog and Microsoft branding (#8816) 2026-10-08 17:47:08 -07:00
Bill LeoutsakosandWaleed Latif e3bf8be36e feat(oracledb): add Oracle Database integration (#7378)
* feat(oracledb): add Oracle Database integration

* test(oracledb): remove retired block secret fields from masking inventory

---------

Co-authored-by: Waleed Latif <walif6@gmail.com>
2026-10-08 13:05:42 -07:00
Bill LeoutsakosandBill Leoutsakos ba614dcf55 feat(oci): add validated native integration foundation (#7444)
Co-authored-by: Bill Leoutsakos <billleoutsakos@Bills-MacBook-Pro.local>
2026-10-08 08:24:45 -07:00
Waleed d2bbd34d98 feat(integrations): add saved Ramp and Vanta credentials (#8802)
* feat(integrations): add saved Ramp and Vanta credentials

* fix(integrations): harden credential renewal and connection setup

* fix(integrations): make credential renewal waits abortable

* docs(integrations): document token credential availability registration

* improvement(integrations): refresh Ramp branding and simplify credential forms
2026-10-08 07:51:14 -07:00
Waleed c93fe67a6d feat(buffer): complete stable API tool coverage (#8779)
* feat(buffer): complete stable API tool coverage

* fix(buffer): preserve optional inputs and sort overrides

* fix(buffer): accept media when edit assets are null

* fix(buffer): normalize cleared inputs and complete test scope

* chore(buffer): simplify live validation and clarify docs

* fix(buffer): format nested input documentation

* fix(buffer): preserve unset fields and enforce response contracts

* fix(buffer): validate OneOf filters and deleted post IDs

* fix(buffer): validate projected scalar values
2026-10-07 22:52:23 -07:00
Waleed 37f5cdf310 feat(integrations): add Ramp and Microsoft Intune (#8780)
* feat(integrations): add Ramp and Microsoft Intune

* fix(integrations): preserve agent filters and output contracts
2026-10-07 20:14:50 -07:00
Waleed c9c2c4e331 feat(plane): add core integration with self-hosted support (#8660)
* feat(plane): add current API integration and self-hosted compatibility

* fix(plane): narrow actions and recover webhook activation failures

* fix(plane): harden webhook cutover and API contracts

* fix(plane): preserve webhook delivery during replacement

* fix(plane): align webhook cutover and pagination limits

* fix(plane): preserve expanded compatibility relations
2026-10-06 09:40:36 -07:00