integrationPackage manifestv2.1.4

integration.provider-x

Official X API read and scoped native publication adapters for ContractSpec.

@lssm-tech/integration.provider-x
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.1.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.provider-xintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 déclarationsSELECT TO INSPECT

@lssm-tech/integration.provider-x

Official X API v2 adapter and XSocialTrackingSource for explicitly connected users. It normalizes creator/post counters, timeline sync, and Account Activity webhook events. OAuth tokens are resolved through opaque references and never serialized; historical analytics remain explicitly unavailable.

Provider and tracking reads preserve the configured API prefix (including /2) for resource-relative paths. Origin substitution, path traversal and credential-bearing base URLs are rejected. Reads reject redirects and have a 30-second timeout. These repairs preserve the existing read surface. Native publication uses the separate adapter below.

./native-publication exposes XNativePublicationProvider for the scoped V2 social provider port. It supports one post or a self-reply thread with reviewed text, explicit AI/paid-partnership disclosure flags and pre-uploaded image/video/GIF assets. Media materialization includes both native IDs and media keys; confirmation checks attached keys/types rather than assuming that a successful create attached every asset.

A mandatory durable part store reserves the immutable plan and claims every part before POST. Creation IDs, submission times, scoped request digests, grant/authority references and read-confirmation facts remain persisted. Unknown requests are never resent. A read-only exact-request evidence loader may resolve an unknown ID; text similarity is not evidence. Explicitly authorized continuation sends only pending parts. The host rechecks the named publishing grant, rights, native access, reply eligibility, weighted text limits and per-part metering immediately before each post.

Utiliser SqlXPublicationStore and configure this provider under providersV2.x. The canonical parent intent requires claimContinuation for interrupted thread execution. Native HTTP callbacks receive a separate immutable trace context; use it to bind recovery artifacts without adding internal IDs to API payloads or logging credentials.

Account-tier qualification and live publication remain installation work. Existing X reads and OAuth defaults are unchanged; no cookie or scraping fallback is provided. Native protocol references: create posts and media expansions.

./native-upload exposes XNativeUploadProvider for image, video and GIF uploads. Supply an approved immutable asset/chunk manifest, a SqlXUploadStore, current rights and account authority, scoped asset reads and credentials. Bounded run(plan, maxSteps) calls initialize, append verified chunks, finalize and poll native processing. Continue from the same plan/key; uncertain steps need exact request-bound transport evidence. The store retains references and hashes, not file bytes, bearer tokens or signed URLs.

xUploadedAsset in the library-owned x-upload-state contract checks scope, readiness and native expiry before producing the ID/key consumed by publication materialization. Hosts recheck rights at publication time and schedule polling from nextPollAt. Failed or expired uploads are terminal; replacing an asset requires a newly reviewed job key. Up to 500 chunks of 5 MB are supported; account/format-specific limits must be qualified before initialization. Cancellation and automatic retry of uncertain writes are unavailable.

Protocol: initialize, append, finalize, status.

./native-withdrawal implements the content-withdrawal provider port for a single bound X post. The host must verify the revoked use, historical account ownership, current removal authority and immutable job-to-post mapping. The adapter rechecks that binding after credential resolution and sends one official DELETE with no redirects/retries. Read-only recovery accepts only exact resource-not-found evidence; 401/403 and ambiguous responses remain unknown. Use with ContentWithdrawalWorker for durable dispatch claims. Official protocol: delete posts. Live account qualification and other-platform withdrawal adapters remain separate requirements.

Standalone declaration exports keep their existing public subpath names. The shared builder preserves their original declaration suffix and copies checked source declarations into dist, without overwriting emitted implementation types.

Declared capabilities.

Integration Provider X

Official X API read adapters for ContractSpec.

Use it to

  • Adopt official x api read adapters for contractspec

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/integration.provider-x package constraints do not match the target runtime or platform.

@lssm-tech/integration.provider-x

@lssm-tech/integration.provider-x/contracts-shim.d

@lssm-tech/integration.provider-x/oauth

@lssm-tech/integration.provider-x/provider

@lssm-tech/integration.provider-x/provider-error

@lssm-tech/integration.provider-x/provider-normalizers

@lssm-tech/integration.provider-x/tracking

@lssm-tech/integration.provider-x/tracking-capabilities

@lssm-tech/integration.provider-x/tracking-client

@lssm-tech/integration.provider-x/tracking-helpers

@lssm-tech/integration.provider-x/tracking-webhook

@lssm-tech/integration.provider-x/webhooks

Imports and export paths.

24 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

24 imports

Dependencies and related packages.

Runtime dependencies 3
Development dependencies 4
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
cleanrimraf dist .turbo
devcontractspec-bun-build dev
lint:checknode ../../../scripts/biome.cjs check .
lint:fixnode ../../../scripts/biome.cjs check --write .
prebuildcontractspec-bun-build prebuild
testbun test
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.