Skip to content
ContractSpec
Start here

Package manual · integrations

·Integrations and provider selection

integration.provider-gemini

Gemini provider compatibility wrapper for Builder.

integrationsintegrationv2.0.5experimentalservernode
@lssm-tech/integration.provider-gemini
bun add @lssm-tech/integration.provider-gemini
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Gemini compatibility and injected creator-content adapters. The host supplies a credential-owning client. ./content-analysis validates structured outputs against content-analysis schemas; ./content-generation returns assistive drafts with authorityGranted: false. Neither adapter publishes or makes consequential creator/campaign decisions.

./content-analysis (CONTENT-01f): the injected client returns { output, usage?, billedCostMicros? }. Integer token usage becomes a usage:input-tokens:<n>:output-tokens:<m> evidence ref. With an explicit pricing option (priceVersion, per-million-token prices as digit strings; no price is built in), complete usage also yields a BigInt, rounded-up cost-estimate:<priceVersion>:<micros> cost evidence ref. Pricing is an estimate, never a bill: costMicros is set only from a client-reported billedCostMicros, so an unbilled call settles with unknownCharge.

Relationships

THIS PACKAGEintegration.provider-gemini4 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

4 declarations

Declared capabilities

Integration Provider Gemini

Gemini provider compatibility wrapper for Builder.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit