Shared Go packages used by truffle, spawn, and lagotto.
Application catalog — a registry of streamable research applications with hardware requirements and AMI IDs.
Internationalization support for CLI output. Supports English, Spanish, French, German, Japanese, and Portuguese.
EC2 on-demand pricing data and cost estimation utilities.
The spore-host:* resource tags (managed-by, scope, created, ...) that every tool puts on what it creates, so leave-no-trace cleanup can find it. Dependency-free; per-service converters in tags/ec2tags, tags/iamtags, tags/dynamodbtags, tags/snstags, tags/s3tags, tags/schedulertags.
An AWS SDK v2 middleware for unit tests that fails the test when a create call lacks the spore-host:managed-by tag.
The shared-account lease (spore-host-lifecycle DynamoDB table) that lets a tool tear down what it created without racing another user's setup. Creators call MarkActive; backstops call Observe, Claim, Lease.Step/Finish/Release, and CloseTableIfEmpty. lifecycle/lifecycletest is an in-memory DynamoDB for testing against it.
The JSON schema of <tool> footprint -o json, the delete guard (Deletable), and the dependency-ordered teardown executor (NewPlan, Execute in report or reap mode).
The lazy CLI last mile: called after a tool's main command, it reports stale teardowns to resume, residue left once no lifecycle item remains, empty lifecycle tables and, for a tool with no backstop and full visibility, an idle teardown. Report mode only (SPORE_LASTMILE=off|report); at most once per 6 h per tool, account and scope, within a 30 s budget, and never fails the command.
import (
"github.com/spore-host/libs/i18n"
"github.com/spore-host/libs/catalog"
"github.com/spore-host/libs/pricing"
)go get github.com/spore-host/libs@latestApache 2.0 — Copyright 2025-2026 Scott Friedman.