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

@yansirplus/workspace-job

v0.5.16

Published

<!-- generated by scripts/generate-docs.mjs; edit docs/surface.json and docs/packages/workspace-job.md -->

Downloads

3,998

Readme

@agent-os/workspace-job

Purpose

Provider-neutral workspace job fact carrier for protected terminal artifact settlement.

Public API Status

Carrier package. It owns protected terminal artifact and verdict fact vocabulary, not workspace execution or verifier policy.

Invariant

Workspace-job owns workspace_job.* request, finalized terminal artifact, verifier verdict, terminal failure fact, and raw projection vocabulary. It does not execute agent submits, workspace effects, verifiers, or runtime diagnostic joins. Runtime and host packages must construct workspace-job facts through this carrier's exported constructors and settlement helpers.

Minimal Usage

Emit workspace_job.requested with an idempotency key and optional attempt metadata, then run the closed runtime pipeline: build terminal bytes from the submitted candidate, write them to the declared terminal path, read the artifact back, hash the readback bytes, and pass those same readback bytes to the verifier. Commit workspace_job.terminal_finalized only from that readback metadata, then commit exactly one terminal attempt verdict: workspace_job.verified, workspace_job.verifier_rejected, or workspace_job.failed.

verified and verifier_rejected reference the terminal_finalized event id; the projection only becomes deliverable when the verdict joins to the finalized artifact metadata. When runtime recovery is declared, a verifier rejection is an attempt terminal state until the repair budget is exhausted. AgentOS owns attempt indexes, per-attempt idempotency keys, workspace reuse, and final job projection aggregation; consumers only declare verifier checks and repair submit spec construction. The job projection is derived from the latest requested attempt for the product run id.

failed.failure is terminal vocabulary only: { phase, code, reason, retryable? }. workspace_job.failed may carry submitRunId as a raw substrate/debug join key, but diagnostics, category, owner, and public message are not workspace-job facts. Consumer-facing failure explanation is derived in runtime composition from workspace-job facts joined with runtime diagnostic projections.

Consumers may declare a terminal schema builder, but they do not choose the terminal path, artifact ref, digest, byte count, or verified projection. The runtime/data-plane boundary enforces written bytes == readback bytes == hashed bytes == verified bytes == delivered bytes.

Verification

cd packages/carriers/workspace-job
vp test run