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

gik-agent-lifecycle-exp

v0.3.0

Published

Transport-neutral agent and host lifecycle contracts, tools, and cumulative experience projections for GIK.

Readme

gik-agent-lifecycle-exp

Transport-neutral lifecycle contracts and JSON tools for agents and trusted hosts.

The package defines a standard operation vocabulary:

manifest -> discover -> describe -> inspect -> validate -> simulate -> preflight
		 -> read_in_progress_proposal -> set_in_progress_proposal

manifest is mandatory. Every profile explicitly selects a preset or operation list. standard exposes the complete vocabulary; static-authoring exposes:

manifest -> describe -> validate -> simulate
		 -> read_in_progress_proposal -> set_in_progress_proposal

describeBlueprint self-describes a Blueprint-backed target: alongside identity and lifecycle, it returns structure.mode/structure.policy (including allowedBlueprintOperations when declared), serviceTiers/projectionTiers, and separate serviceRecipes/projectionRecipes summaries ({ id, from, to } per authored recipe, [] when none) — enough for an agent to judge structural-change readiness without exposing recipe internals (representations, implementation programs, patch bodies).

Each Cell summary also includes senseCount and senses: the usage ID, service, operation, whether activation is conditional, and the on Signal-to-event map. This is authored intent, not live status or a schedule preview; provider configuration and input/output expressions are not exposed. inspect and preflight obtain current Sense facts from the trusted runtime host.

Profiles may also declare an explicit custom subset. Operation meaning does not change with the selection: simulate uses supplied or candidate-owned state, while preflight checks current host state and policy. set_in_progress_proposal atomically replaces one complete, request-scoped draft; read_in_progress_proposal returns the latest draft without mutation. There is no append operation.

A draft contains an ordered batch of typed domain actions and optional rationale. It contains no proposal ID, receipt, target, actor, revision, or timestamp. On completion, the host creates that authoritative metadata from its own request and target context, then authorizes, admits, and applies the proposal. Provider or model output never supplies receipt authority.

The trusted host owns receipt, authorization, admission, application, rejection, and status. A proposal never grants authoritative mutation merely because a host chooses to auto-admit it.

Blueprint integrations use cumulative experience projections:

UBX (use) subset CBX (customize) subset ABX (author) subset HBX (host) subset-or-equal Control

Lifecycle profiles translate mechanically into schema-bearing JSON tools. For example, defineAgentLifecycleProfile("use_blueprint", ops) generates the operations declared by that profile's manifest. The package does not depend on Blueprint, Kernel, MCP, HTTP, Foundry, or another agent provider.

Generated tools preserve the operation receiver, including class prototype methods. Blueprint lifecycle delegation likewise preserves the original host receiver and forwards request execution context to draft operations.

Authored lifecycle material, operation schemas, manifests, and provider function definitions are declarative. blueprintUseFunctionTools generates metadata directly without placeholder handlers. AgentLifecycleOps and tool handlers are trusted execution ports used only when operations run; they are not policy or product configuration.

toAgentFunctionTools projects a neutral catalog into strict OpenAI-compatible function metadata, and blueprintUseFunctionTools derives provisionable UBX definitions from authored Blueprint material. Provider transports carry calls and outputs; the host executes handlers from its local request-scoped catalog.

createCapabilityDescribeTool exposes two operations through one transport-free describe tool: catalog-capabilities for compact selection guidance and multiple-capabilities for one batched detail lookup. The latter requires a non-empty, unique capabilities array and is the only detail operation; no singular compatibility kind exists.

AgentProvisioningTemplate is the provider-neutral source for provisioned agent instructions, reasoning, function metadata, response schemas, and host execution authority. toFoundryPromptDefinition lowers it to a Foundry prompt definition, while toCopilotAgentMarkdown renders the same contract as a GitHub Copilot custom agent.

BLUEPRINT_AUTHORING_GUIDANCE_RESOURCE_URL identifies the package-owned Markdown guidance for agents that author Blueprint artifacts. Provisioning code may read this resource and append it to the relevant provider-neutral templates without maintaining provider- or product-specific copies. The guidance requires every Blueprint to declare the independent serviceTiers/serviceRecipes and projectionTiers/projectionRecipes axes and records the service-before-projection materialization order.

See docs/sot/gik-public/agent-lifecycle-exp.yaml and docs/decisions/ADR-0048-agent-lifecycle-experiences-and-host-admission.md in the repository.