libraryPackage manifestv0.0.0

lib.customer-support-spec

Définitions de contrats SupportOS indépendants des fournisseurs pour l’assistance client : spécifications des dossiers, de l’autorité, des opérations, événements, schémas et fonctionnalités, extraites sans modification de la compatibilité ContractSpec.

@lssm-tech/lib.customer-support-spec
Source, release and verification context

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

Package source ↗ Manifest ↗
servernodebun
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 PACKAGElib.customer-support-specdomains

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

3 déclarationsSELECT TO INSPECT

@lssm-tech/lib.customer-support-spec

Canonical provider-neutral SupportOS customer-support contract definitions: case models and lifecycle rules, authority ports and errors, operation and event specs, input/output schemas, digests, DocBlocks and the CustomerSupportV1Feature.

The definitions were extracted unchanged from the ContractSpec compatibility distribution. Contract keys, versions, wire shapes and persisted meaning are unchanged. The legacy @lssm-tech/lib.contracts-spec/customer-support subpaths and the @lssm-tech/lib.customer-support-runtime contracts/*, authority-scope and CSAT leaves are forwards to these single implementations, so every export keeps one object identity.

Usage

ts
import { supportOperations } from '@lssm-tech/lib.customer-support-spec/operations';
import { supportEvents } from '@lssm-tech/lib.customer-support-spec/events';
import type { SupportAuthorityPort } from '@lssm-tech/lib.customer-support-spec/ports';

Every former @lssm-tech/lib.contracts-spec/customer-support/<leaf> subpath is available as @lssm-tech/lib.customer-support-spec/<leaf>; the root re-exports the same barrel.

Conversation actions and support resolution

./support-conversation-actions defines provider-neutral reply, note, assign, snooze, reopen and close actions with durable custody, approval and read-back reader ports. Outcomes are accepted (proven by a provider part), uncertain, not-executed, rejected or superseded; ./support-conversation-action-digest binds approvals to the exact provider-visible payload. Approval verdicts may name the signing principal, and SupportApprovalIdentityPort resolves that signer from approval evidence (it rejects when the evidence cannot be read). SupportResponderPrincipalPort maps a provider responder (an Intercom admin_id) to the principal ref signers carry, and isIndependentHumanApprover is the shared rule: a human signer equal to none of the excluded refs. Action ports refuse approval-authorized effects whose signer is not an independent human or whose responder is unmapped. In support-resolution-v1 a customer-visible action needs a human approver who matches the recorded approver and is neither the proposer nor the responder (compared as the responder's mapped principal when the host binds the mapping). ./support-resolution* defines the support-resolution-v1 workflow state, store/engineering ports and the support.resolution.* operations; replies never resolve an issue by themselves.

Boundaries

  • Dependencies: @lssm-tech/lib.contracts-spec-core, @lssm-tech/lib.schema and @lssm-tech/lib.crypto-utils only.
  • No I/O, persistence, provider execution, ambient configuration or live authorization. Authority execution lives in the customer-support runtime, integrations and module.
  • The platform-authority composition helpers (composeSupportPlatformAuthority, SupportPlatformAuthorityPort and the binding registry) live in @lssm-tech/lib.customer-support-runtime/platform-authority and its platform-authority-bindings / platform-authority-binding-registry entries. The legacy contracts-spec/customer-support surface forwards to that owner.
  • ./authos-claim-projection (projectSupportAuthOsGrant) deterministically projects already signature-verified AuthOS claims into a SupportAuthOsGrant and fails closed on wrong audience, non-opaque identifiers or unknown principal/assurance pairs. JWKS/OIDC verification, issuer trust and live session checks stay in the host verifier (supportos-api).
  • ./live-chat-binding-activity is the internal binding-activity wire contract shared by CommunicationOS realtime (client) and supportos-api (server): the route path and grant capability constants, the exact request builder (bound fields + supportCustomerLiveChatBindingActivityDigest), the strict request parser, the response builder (expiry = earlier of binding expiry and checkedAt + 60s) and the client freshness rule (exact keys, checkedAt within 60s and at most 5s ahead, expiry within 60s). Transport, grant issuance and body-size bounds stay in the hosts.
  • Split helper modules (*-models, *-validation, operation-schemas-*) are private; their public symbols are re-exported by the owning leaf.

DocBlocks stay beside their contracts. The seeded document manifest generated from the compatibility package does not yet scan this package.

Declared capabilities.

SupportOS customer-support contract definitions

Canonical SupportOS case, authority port, operation, event, schema, DocBlock and feature definitions; the legacy @lssm-tech/lib.contracts-spec/customer-support subpaths and runtime contracts/* leaves forward to these same identities.

Use it to

  • Import SupportOS operation, event and schema contracts without depending on the ContractSpec compatibility distribution
  • Type SupportOS authority ports and adapters against canonical provider-neutral definitions

Requires

  • TypeScript

Choose another boundary when

  • Authority execution, persistence, provider adapters or live authorization are required; use the customer-support runtime, integrations or module instead.
  • The platform-authority composition helpers are required; use @lssm-tech/lib.customer-support-runtime/platform-authority.

@lssm-tech/lib.customer-support-spec

@lssm-tech/lib.customer-support-spec/live-chat-binding-activity

@lssm-tech/lib.customer-support-spec/operationssupportOperations

@lssm-tech/lib.customer-support-spec/eventssupportEvents

@lssm-tech/lib.customer-support-spec/customer-support.featureCustomerSupportV1Feature

Imports and export paths.

231 entries

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

231 imports · 35 affichés

Dependencies and related packages.

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

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
prebuildcontractspec-bun-build prebuild
cleanrimraf dist .turbo
lint:checknode ../../../../scripts/biome.cjs check .
typechecktsgo --noEmit -p tsconfig.check.json
testbun test ./src
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.