npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@voyant-travel/proposals

v0.137.5

Published

Proposals owns pipelines, stages, proposals, proposal versions, proposal participants, proposal products, proposal version lines, proposal lifecycle decisions, and the public proposal and booking proposal details extensions.

Downloads

1,160

Readme

@voyant-travel/proposals

Proposals owns pipelines, stages, proposals, proposal versions, proposal participants, proposal products, proposal version lines, proposal lifecycle decisions, and the public proposal and booking proposal details extensions.

People and organizations are referenced by plain ids. This package does not import Relationships schema tables or own relationship lifecycle state.

Install

pnpm add @voyant-travel/proposals

Usage

import { proposalsModule } from "@voyant-travel/proposals"
import { createApp } from "@voyant-travel/hono"

const app = createApp({
  modules: [proposalsModule],
})

Exports

| Entry | Description | | --- | --- | | . | Module export, services, public types, linkables | | ./schema | Proposals-owned Drizzle tables | | ./validation | Proposal lifecycle validation schemas | | ./routes | Hono routes for pipelines, stages, proposals, and proposal versions | | ./booking-extension | Booking proposal details extension | | ./runtime-port | Narrow Notifications delivery contract used by the proposal composer | | ./tools | Typed proposal reads and guarded proposal snapshot/delivery/decision Tools |

Agent Tools

@voyant-travel/proposals/tools exposes staff-only proposal reads plus the complete proposal lifecycle: snapshot the current proposal lines, mark a draft version sent, and record accept or decline. These Tools call the existing atomic proposal services and return structural, JSON-safe proposal/version records. Snapshot, send, accept, and decline require confirmation and action-ledger recording; acceptance additionally requires graph approval because it wins the proposal and closes competing versions.

The proposal extension additionally owns snapshot_and_send_proposal: one confirmation- and approval-gated command snapshots the current proposal, renders a public proposal link through a vetted Notifications template, atomically enqueues the delivery, and marks that exact version sent. Idempotency and approval come exclusively from the admitted _voyant invocation. The proposal snapshot, action claim, exact selected notification provider, durable delivery operation, and replay result commit together; provider code runs only in Notifications' worker.

The action is unavailable by default and becomes available only when the deployment selects a notifications.durable-provider implementation that passes replay, restart, accepted-count, and payload-drift conformance. Missing or non-conformant providers fail closed.

Public proposal acceptance records the customer's Proposals-owned lifecycle decision only. It does not reserve a Trip, cancel supplier holds, start checkout, or resolve deployment mutation adapters. Reservation and checkout remain separate approved domain actions.

send_proposal_version remains the state-only primitive; snapshot_and_send_proposal is the composed customer-delivery flow. Historical hosted invocation aliases are not published; callers use the canonical Tool names and stable capability IDs.

License

Apache-2.0