Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
CLI surface for @sys primitive compositions.
Functions
Ensure environment is initialized for the current runtime.
Type Aliases
Options for the env runtime initializer.
Functions
Variables
Programmatic clipboard helpers for the @sys/tools/cp surface.
Functions
Main entry:
Namespaces
Tools for deploying files to a publishing endpoint (CDN).
YAML-authored endpoint configuration (authoritative). (We keep these types here so callers can share the same vocabulary.)
Deployment provider configuration.
Filesystem conventions for endpoint YAML storage.
Type Aliases
Command line arguments (argv).
& { config?: string; action?: CliAction; non-interactive?: boolean; force?: boolean; }
Command names.
& { name: string; endpoints?: readonly EndpointRef[]; }
An endpoint reference tracked in config.json for recency + lookup. The endpoint's actual configuration is authored in YAML.
Maps an input directory into the generated endpoint staging dir. (Source may be absolute or relative; resolution rules are handled by runtime.)
Endpoint source root.
Mapping dir.source values are resolved relative to this directory.
- dir: t.StringPath
Root directory for sources (relative to deploy cwd).
Canonical per-mapping behavior.
Endpoint staging root.
All mapping dir.staging paths are resolved relative to this directory.
- clear: boolean
When true, clears staging targets before running mappings.
- dir: t.StringPath
Root directory for staging (relative to deploy cwd).
- html: { buildReset?: boolean; }
Optional HTML staging policies.
- serve: { port?: number; }
Optional local serve configuration for staged endpoint sanity checks.
Tagged union of all supported provider configs. Add new providers here (and in u.providers schemas) as they land.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
- error: unknownNo documentation available
- ok: booleanNo documentation available
- push: { readonly ok: boolean; readonly elapsed?: string; readonly shards?: number; readonly bytes?: number; readonly publish?: t.PushPublishStats; readonly prune?: t.PushPruneStats; }No documentation available
- stageOk: booleanNo documentation available
Public deploy helper API.
& t.Tools.ConfigRefArgs
| "no-provider"
| "no-push-targets"
| "no-staging-output"
| "probe-failed"
| "unsupported-provider"
| "not-implemented"
| "failed"
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- error: unknownNo documentation available
- hint: stringNo documentation available
- missing: readonly t.PushMissingTarget[]No documentation available
- ok: falseNo documentation available
- reason:"yaml-invalid"
| "no-provider"
| "no-push-targets"
| "no-staging-output"
| "probe-failed"
| "unsupported-provider"
| "not-implemented"
| "failed"No documentation available - target: t.PushTargetContextNo documentation available
- bytes: numberNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- elapsed: stringNo documentation available
- ok: trueNo documentation available
- prune: t.PushPruneStats
Provider-reported stale-file removals when available.
- publish: t.PushPublishStats
Provider-reported per-file publish details when available.
- shards: numberNo documentation available
- targets: numberNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- error: unknownNo documentation available
- ok: falseNo documentation available
- stagingRoot: t.StringDirNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- ok: trueNo documentation available
- stagingRoot: t.StringDirNo documentation available
Source → staging directory mapping.
| { readonly mode: "build+copy"; readonly dir: Dir; }
| { readonly mode: "index"; readonly dir: Dir; }
Staging operation.
- error: unknownNo documentation available
- index: numberNo documentation available
- kind: ProgressKindNo documentation available
- label: stringNo documentation available
- mode: t.DeployTool.Staging.Mapping["mode"]No documentation available
- source: t.StringPathNo documentation available
- staging: t.StringPathNo documentation available
- total: numberNo documentation available
| "mapping:step"
| "mapping:done"
| "mapping:fail"
Build progress.
CLI helpers for working with Deploy.
- cli(): Promise<void>cwd?: t.StringDir,argv?: string[]
Run the deploy CLI flow (interactive by default, strict with
--non-interactive).
Parsed contents of an endpoint YAML file.
No-op provider configuration.
- kind: "noop"No documentation available
No-op provider target used to validate deploy flows without publishing.
- domain: stringNo documentation available
- provider: t.DeployTool.Config.Provider.NoopNo documentation available
- shard: numberNo documentation available
- sourceDir: t.StringDirNo documentation available
- stagingDir: t.StringDirNo documentation available
Formal configuration (orbiter.json).
- buildCommand: stringNo documentation available
- buildDir: stringNo documentation available
- domain: stringNo documentation available
- siteId: stringNo documentation available
Orbiter provider configuration (YAML configuration).
- domain: string
Logical domain / bucket name (eg "fs").
- kind: "orbiter"No documentation available
- shards: { total: number; only?: number[]; siteIds?: Record<number, t.StringUrl>; }
Optional shard deployment config. When present, shard-aware mappings can be expanded and validated.
- siteId: string
Stable site identifier used by Orbiter.
Provider-specific push target.
- domain: stringNo documentation available
- provider: t.DeployTool.Config.Provider.OrbiterNo documentation available
- shard: numberNo documentation available
- sourceDir: t.StringDirNo documentation available
- stagingDir: t.StringDirNo documentation available
Orbiter-specific plan preserving shard-aware target statistics.
Orbiter target-resolution counts split by base, root, and shard output.
| { readonly ok: false; readonly reason: "not-found" | "failed"; readonly hint?: string; readonly error?: unknown; }
Orbiter availability probe.
Pre-formatted provider display row.
& { readonly reason: "missing-staging-output" | "missing-dist-metadata"; }
Push target that could not be resolved to publishable staging output.
Aggregate target-resolution counts for a provider push plan.
| { readonly ok: false; readonly reason:
| "not-found"
| "failed"
| "unsupported-provider"
Provider preflight result before a deploy push is attempted.
Provider-reported stale-file removal outcome for one remote file path.
Stable status for one provider prune file result.
Rich provider prune details. Summary counts are derived, not stored.
- files: readonly PushPruneFile[]No documentation available
Derived stale-file removal counts for CLI reporting.
Provider-reported publish outcome for one staged file path.
- bytes: number
Bytes written during this push. Omitted for unchanged/skipped files.
- digest: t.StringHash | t.StringUri
Content digest/hash reference when known from staging metadata.
- mediaType: t.StringMimeTypeNo documentation available
- path: t.Files.String.PathNo documentation available
- status: PushPublishFileStatusNo documentation available
Stable status for one provider publish file result.
Rich provider publish details. Summary counts are derived, not stored.
- files: readonly PushPublishFile[]No documentation available
Derived publish counts for CLI reporting.
| { readonly ok: false; readonly reason:
| "unsupported-provider"
| "not-implemented"
| "failed"
Push execution result.
Any provider-specific publish target the deploy push command can execute.
Common identity and filesystem context for a resolved push target.
- bucket: stringNo documentation available
- domain: stringNo documentation available
- index: numberNo documentation available
- prefix: stringNo documentation available
- provider: stringNo documentation available
- shard: numberNo documentation available
- siteId: stringNo documentation available
- sourceDir: t.StringDirNo documentation available
- stagingDir: t.StringDirNo documentation available
Provider-neutral plan of publishable and missing push targets.
R2 provider configuration (YAML configuration).
- accountId: string
Cloudflare account id that owns the R2 bucket.
- bucket: string
R2 bucket name.
- credentials: { readonly accessKeyId: string; readonly secretAccessKey: string; readonly sessionToken?: string; }
R2 HTTP access credentials.
- kind: "r2"No documentation available
- prefix: string
Required object namespace prefix for this deploy target.
- readOrigin: t.StringUrl
Optional public read origin used by remote dist.json checks/content refs.
Cloudflare R2 push target resolved from endpoint staging configuration.
- domain: stringNo documentation available
- provider: t.DeployTool.Config.Provider.R2No documentation available
- shard: numberNo documentation available
- sourceDir: t.StringDirNo documentation available
- stagingDir: t.StringDirNo documentation available
Variables
Public Deploy helper API.
Functions
Run Pull with interactive menus or explicit non-interactive arguments.
Namespaces
Contracts for configured remote materialization and mutable local projections.
Execution contracts for one configured remote bundle.
Result truth for one checksum-pinned Dist bundle.
Mutable-copy settlement without generation authority or verification evidence.
Strict durable configuration for Dist materialization and generic GitHub pulls.
Type Aliases
Failure in generation materialization or later mutable projection.
Server-owned materialization failed, so projection never acquired authority to run.
- generation: t.Dist.FailedNo documentation available
- kind: "materialization-failed"No documentation available
- ok: falseNo documentation available
- projection: Projection.NotRunNo documentation available
| "target-occupied"
| "filesystem-failure"
| "rewrite-failure"
| "cancelled"
Projection failed after the pinned generation outcome had settled.
- dir: t.StringAbsoluteDirNo documentation available
- error: stringNo documentation available
- kind: "failed"No documentation available
- mode: t.GithubPull.ModeNo documentation available
- reason:"invalid-target"
| "target-occupied"
| "filesystem-failure"
| "rewrite-failure"
| "cancelled"No documentation available
Projection was absent from configuration.
- kind: "not-requested"No documentation available
Projection could not run because materialization failed.
- kind: "not-run"No documentation available
Mutable local projection completed without inheriting a verification claim.
Pinned generation succeeded, but its separate mutable projection failed.
- generation: t.Dist.Existing | t.Dist.PromotedNo documentation available
- kind: "projection-failed"No documentation available
- ok: falseNo documentation available
- projection: Projection.FailureNo documentation available
Complete materialization and projection settlement.
Pinned generation success with either no projection or a completed projection.
- generation: t.Dist.Existing | t.Dist.PromotedNo documentation available
- kind: "dist"No documentation available
- ok: trueNo documentation available
- projection: Projection.NotRequested | Projection.SuccessNo documentation available
Lifecycle and terminal-output options for one bundle.
& { config?: string; manifest?: string; integrity?: string; store?: string; project?: string; mode?: t.GithubPull.Mode; dry-run?: boolean; non-interactive?: boolean; }
Raw Pull command-line arguments.
Supported Pull subcommand.
& { readonly command?: CliCommand; readonly interactive: boolean; }
Parsed Pull arguments with normalized interaction mode.
One supported configured remote bundle.
Canonical Pull configuration directory name.
Checksum-pinned Dist authority and optional mutable projection.
Optional mutable copy of a pinned Dist generation.
Strict YAML document owned by Pull.
Pull configuration filename extension.
Authority shared by bounded generic GitHub bundles.
Explicit mutable target for a generic GitHub pull.
& { kind: "github:release"; tag?: string; asset?: string | string[]; }
Bounded GitHub release-asset bundle.
& { kind: "github:repo"; ref?: string; path?: string; }
Bounded GitHub repository-tree bundle.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Pull configuration load result.
Validated bundles with their resolved execution root.
Resolved Pull configuration and its mutable output targets.
Resolved mutable output target for a pull bundle.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Strict YAML validation result.
Pull registry identifier literal.
Public API for resolving and executing durable Pull configuration.
Pull tool-name literal.
& t.Tools.ConfigRefArgs
Arguments for a programmatic Pull run.
| { readonly bundle: ConfigYaml.GithubReleaseBundle | ConfigYaml.GithubRepoBundle; readonly data: t.GithubPull.Success; }
Successful result retained for one configured bundle; run throws on any bundle failure.
Successful settlement of every bundle in one programmatic Pull run.
Pull CLI entry contract.
- cli(): Promise<void>cwd?: t.StringDir,argv?: string[]
Run Pull with interactive menus or explicit non-interactive arguments.
Variables
Bounded generic GitHub release and repository downloads.
Resolve and execute durable Pull configuration.
Functions
Main entry:
Namespaces
The @sys/tools/serve type namespace.
JSON view outcome for a requestable path.
YAML-authored serve location configuration (authoritative).
Type Aliases
& { port?: number; dir?: string; config?: string; profile?: string; host?: Host; open?: boolean; non-interactive?: boolean; }
Command line arguments (argv).
| "dir:remove"
| "serve:start/local"
| "serve:start/network"
| "open"
| "reload"
| "back"
| "exit"
Command names.
Programmatic server host policy.
Concrete bind hostname derived from the host policy.
Public serve helper API.
- start(args: StartArgs): Promise<StartResult>
Start a static serve target from a directory, config path, or named profile.
Filesystem conventions for serve location YAML storage.
YAML document structure for a serve location.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Runtime location with resolved paths.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Alternative view formats for rendering a route.
Owner config refs supplied by programmatic lifecycle callers.
- config: t.StringPathNo documentation available
Optional owner config refs for selector alias compatibility.
- config: t.StringPathNo documentation available
- baseUrl: t.StringUrlNo documentation available
- close: (reason?: unknown) => Promise<void>No documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- finished: Promise<void>No documentation available
- host: HostNo documentation available
- hostname: HostnameNo documentation available
- location: LocationYaml.LocationNo documentation available
- ok: trueNo documentation available
- port: numberNo documentation available
- selector: StartTargetSelectorNo documentation available
- status(): t.Service.Status
Renderer-neutral service status snapshot.
- url: t.StringUrlNo documentation available
| StartConfigArgs
| StartPathsConfigArgs
| StartProfileArgs
Low-level static server start options.
Running low-level static server context.
- baseUrl: t.StringUrlNo documentation available
- close: (reason?: unknown) => Promise<void>No documentation available
- host: HostNo documentation available
- hostname: HostnameNo documentation available
- location: LocationYaml.LocationNo documentation available
- port: numberNo documentation available
- server: Deno.HttpServer<Deno.NetAddr>No documentation available
- url: t.StringUrlNo documentation available
Permissive raw target input used before selector normalization.
- config: stringNo documentation available
| { readonly kind: "config"; readonly config: t.StringPath; }
| { readonly kind: "profile"; readonly profile: string; readonly config: t.StringPath; }
CLI helpers for working with Serve.
- cli(): Promise<void>cwd?: t.StringDir,argv?: string[]
Run the serve CLI flow (interactive by default, strict with
--non-interactive).
Variables
Public Serve helper API.
Functions
Variables
Functions
Variables
Upgrade tools.
Functions
| { readonly ok: false; }
Probe the published @sys/tools version and persist the advisory result.
Type Aliases
Functions
Variables
VideoTools Programmatic utilities for video conversion. Designed for direct use in code or automated pipelines (no CLI prompts).
Namespaces
The @sys/tools/copy (clipboard) namepsace.
The @sys/tools/crdt type namespace.
Document related types.
Document-graph types.
YAML-authored document configuration (authoritative).
Root-level hook types.
YAML-authored repo configuration (authoritative).
The Crypto type namespace.
Tools for deploying files to a publishing endpoint (CDN).
YAML-authored endpoint configuration (authoritative). (We keep these types here so callers can share the same vocabulary.)
Deployment provider configuration.
Filesystem conventions for endpoint YAML storage.
Bounded, confined GitHub download authority.
Package help resource types.
Tools DSL guidance resources.
Root help resources.
The @sys/tools/pi namespace.
Contracts for configured remote materialization and mutable local projections.
Execution contracts for one configured remote bundle.
Result truth for one checksum-pinned Dist bundle.
Mutable-copy settlement without generation authority or verification evidence.
Strict durable configuration for Dist materialization and generic GitHub pulls.
The @sys/tools/serve type namespace.
JSON view outcome for a requestable path.
YAML-authored serve location configuration (authoritative).
The @sys/tools/shell namespace.
Alias command state and plans.
Recommended baseline shell init flow.
Read-only shell doctor report.
PATH command state and plans.
The Tmpl tool namespace.
Root @sys/tools type namespace.
Common UI prompts:
The @sys/tools/upgrade namespace.
The @sys/tools/video type namespace.
Type Aliases
Command line arguments (argv).
| "types:all"
| "files:select"
| "files:all"
| "files:deno.json"
| "git:changed"
Command names.
Command line arguments (argv).
| "doc:add"
| "doc:remove"
| "doc:rename"
| "doc:graph:walk"
| "doc:graph:dag"
| "doc:viewer:yaml"
| "doc:tmpl:hookfile"
| "root:tmpl:hookfile"
| "repo:daemon:start"
| "repo:syncserver:start"
| "back"
| "exit"
| "tmp:🐷"
Command names.
Filesystem conventions for document YAML storage.
YAML document structure for a tracked CRDT document.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Filesystem conventions for repo YAML storage.
YAML document structure for repo configuration.
Sync endpoint entry.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Command line arguments (argv).
& { readonly command?: SubCmd; readonly save?: boolean; }
- name: stringNo documentation available
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
CLI sub-commands (first positional token).
Command line arguments (argv).
& { config?: string; action?: CliAction; non-interactive?: boolean; force?: boolean; }
Command names.
& { name: string; endpoints?: readonly EndpointRef[]; }
An endpoint reference tracked in config.json for recency + lookup. The endpoint's actual configuration is authored in YAML.
Maps an input directory into the generated endpoint staging dir. (Source may be absolute or relative; resolution rules are handled by runtime.)
Endpoint source root.
Mapping dir.source values are resolved relative to this directory.
- dir: t.StringPath
Root directory for sources (relative to deploy cwd).
Canonical per-mapping behavior.
Endpoint staging root.
All mapping dir.staging paths are resolved relative to this directory.
- clear: boolean
When true, clears staging targets before running mappings.
- dir: t.StringPath
Root directory for staging (relative to deploy cwd).
- html: { buildReset?: boolean; }
Optional HTML staging policies.
- serve: { port?: number; }
Optional local serve configuration for staged endpoint sanity checks.
Tagged union of all supported provider configs. Add new providers here (and in u.providers schemas) as they land.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
- error: unknownNo documentation available
- ok: booleanNo documentation available
- push: { readonly ok: boolean; readonly elapsed?: string; readonly shards?: number; readonly bytes?: number; readonly publish?: t.PushPublishStats; readonly prune?: t.PushPruneStats; }No documentation available
- stageOk: booleanNo documentation available
Public deploy helper API.
& t.Tools.ConfigRefArgs
| "no-provider"
| "no-push-targets"
| "no-staging-output"
| "probe-failed"
| "unsupported-provider"
| "not-implemented"
| "failed"
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- error: unknownNo documentation available
- hint: stringNo documentation available
- missing: readonly t.PushMissingTarget[]No documentation available
- ok: falseNo documentation available
- reason:"yaml-invalid"
| "no-provider"
| "no-push-targets"
| "no-staging-output"
| "probe-failed"
| "unsupported-provider"
| "not-implemented"
| "failed"No documentation available - target: t.PushTargetContextNo documentation available
- bytes: numberNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- elapsed: stringNo documentation available
- ok: trueNo documentation available
- prune: t.PushPruneStats
Provider-reported stale-file removals when available.
- publish: t.PushPublishStats
Provider-reported per-file publish details when available.
- shards: numberNo documentation available
- targets: numberNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- error: unknownNo documentation available
- ok: falseNo documentation available
- stagingRoot: t.StringDirNo documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- ok: trueNo documentation available
- stagingRoot: t.StringDirNo documentation available
Source → staging directory mapping.
| { readonly mode: "build+copy"; readonly dir: Dir; }
| { readonly mode: "index"; readonly dir: Dir; }
Staging operation.
- error: unknownNo documentation available
- index: numberNo documentation available
- kind: ProgressKindNo documentation available
- label: stringNo documentation available
- mode: t.DeployTool.Staging.Mapping["mode"]No documentation available
- source: t.StringPathNo documentation available
- staging: t.StringPathNo documentation available
- total: numberNo documentation available
| "mapping:step"
| "mapping:done"
| "mapping:fail"
Build progress.
Inputs shared by release and repository operations.
- into: t.StringDir
Exact output directory selected by the caller.
- limits: Limits
Required finite operation limits.
- mode: Mode
Whether the output must be absent or may be explicitly replaced.
- repo: string
GitHub repository in exact
owner/repoform. - token: string
Optional GitHub token sent only to the admitted GitHub API origin.
- until: t.UntilInput
Cancel when this lifecycle ends.
One successfully published generic file.
Failed operation with truthful partial-publication records.
| "source-failure"
| "limit-exceeded"
| "target-occupied"
| "unsafe-target"
| "publication-failure"
| "cancelled"
Stable public failure classification.
Public GitHub Pull operations.
Required finite limits for one complete operation.
- entries: t.NumberTotal
Maximum source entries admitted before download.
- fileBytes: t.NumberBytes
Maximum bytes accepted for any one downloaded file.
- metadataBytes: t.NumberBytes
Maximum aggregate bytes retained across source metadata responses.
- totalBytes: t.NumberBytes
Maximum aggregate downloaded file bytes.
- totalTime: t.Msecs
Maximum milliseconds for the complete operation.
Explicit target mutation authority.
Complete public operation result.
& { readonly tag?: string; readonly assets?: readonly string[]; }
Release download inputs.
Resolved release evidence.
Repository download inputs.
Resolved repository evidence.
Resolved source evidence.
Successful generic download.
Navigable DSL chapter used by CLI composition.
Authored DSL chapter resource registered for recursive lookup.
Loader for authored DSL guidance.
- load(path?: readonly string[]): Promise<Chapter>
Load an authored DSL chapter from the embedded bundle.
Runtime surface for bundled package help resources.
Authored root help used by package-owned formatters or CLIs.
Loader for authored root help.
- load(): Promise<Guidance>
Load authored root help from the embedded bundle.
Authored help section with display label and ordered items.
Command line arguments (argv).
Failure in generation materialization or later mutable projection.
Server-owned materialization failed, so projection never acquired authority to run.
- generation: t.Dist.FailedNo documentation available
- kind: "materialization-failed"No documentation available
- ok: falseNo documentation available
- projection: Projection.NotRunNo documentation available
| "target-occupied"
| "filesystem-failure"
| "rewrite-failure"
| "cancelled"
Projection failed after the pinned generation outcome had settled.
- dir: t.StringAbsoluteDirNo documentation available
- error: stringNo documentation available
- kind: "failed"No documentation available
- mode: t.GithubPull.ModeNo documentation available
- reason:"invalid-target"
| "target-occupied"
| "filesystem-failure"
| "rewrite-failure"
| "cancelled"No documentation available
Projection was absent from configuration.
- kind: "not-requested"No documentation available
Projection could not run because materialization failed.
- kind: "not-run"No documentation available
Mutable local projection completed without inheriting a verification claim.
Pinned generation succeeded, but its separate mutable projection failed.
- generation: t.Dist.Existing | t.Dist.PromotedNo documentation available
- kind: "projection-failed"No documentation available
- ok: falseNo documentation available
- projection: Projection.FailureNo documentation available
Complete materialization and projection settlement.
Pinned generation success with either no projection or a completed projection.
- generation: t.Dist.Existing | t.Dist.PromotedNo documentation available
- kind: "dist"No documentation available
- ok: trueNo documentation available
- projection: Projection.NotRequested | Projection.SuccessNo documentation available
Lifecycle and terminal-output options for one bundle.
& { config?: string; manifest?: string; integrity?: string; store?: string; project?: string; mode?: t.GithubPull.Mode; dry-run?: boolean; non-interactive?: boolean; }
Raw Pull command-line arguments.
Supported Pull subcommand.
& { readonly command?: CliCommand; readonly interactive: boolean; }
Parsed Pull arguments with normalized interaction mode.
One supported configured remote bundle.
Canonical Pull configuration directory name.
Checksum-pinned Dist authority and optional mutable projection.
Optional mutable copy of a pinned Dist generation.
Strict YAML document owned by Pull.
Pull configuration filename extension.
Authority shared by bounded generic GitHub bundles.
Explicit mutable target for a generic GitHub pull.
& { kind: "github:release"; tag?: string; asset?: string | string[]; }
Bounded GitHub release-asset bundle.
& { kind: "github:repo"; ref?: string; path?: string; }
Bounded GitHub repository-tree bundle.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Pull configuration load result.
Validated bundles with their resolved execution root.
Resolved Pull configuration and its mutable output targets.
Resolved mutable output target for a pull bundle.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Strict YAML validation result.
Pull registry identifier literal.
Public API for resolving and executing durable Pull configuration.
Pull tool-name literal.
& t.Tools.ConfigRefArgs
Arguments for a programmatic Pull run.
| { readonly bundle: ConfigYaml.GithubReleaseBundle | ConfigYaml.GithubRepoBundle; readonly data: t.GithubPull.Success; }
Successful result retained for one configured bundle; run throws on any bundle failure.
Successful settlement of every bundle in one programmatic Pull run.
& { port?: number; dir?: string; config?: string; profile?: string; host?: Host; open?: boolean; non-interactive?: boolean; }
Command line arguments (argv).
| "dir:remove"
| "serve:start/local"
| "serve:start/network"
| "open"
| "reload"
| "back"
| "exit"
Command names.
Programmatic server host policy.
Concrete bind hostname derived from the host policy.
Public serve helper API.
- start(args: StartArgs): Promise<StartResult>
Start a static serve target from a directory, config path, or named profile.
Filesystem conventions for serve location YAML storage.
YAML document structure for a serve location.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Runtime location with resolved paths.
| { readonly ok: false; readonly errors: readonly t.Schema.Error[]; }
Alternative view formats for rendering a route.
Owner config refs supplied by programmatic lifecycle callers.
- config: t.StringPathNo documentation available
Optional owner config refs for selector alias compatibility.
- config: t.StringPathNo documentation available
- baseUrl: t.StringUrlNo documentation available
- close: (reason?: unknown) => Promise<void>No documentation available
- config: t.StringPathNo documentation available
- cwd: t.StringDirNo documentation available
- finished: Promise<void>No documentation available
- host: HostNo documentation available
- hostname: HostnameNo documentation available
- location: LocationYaml.LocationNo documentation available
- ok: trueNo documentation available
- port: numberNo documentation available
- selector: StartTargetSelectorNo documentation available
- status(): t.Service.Status
Renderer-neutral service status snapshot.
- url: t.StringUrlNo documentation available
| StartConfigArgs
| StartPathsConfigArgs
| StartProfileArgs
Low-level static server start options.
Running low-level static server context.
- baseUrl: t.StringUrlNo documentation available
- close: (reason?: unknown) => Promise<void>No documentation available
- host: HostNo documentation available
- hostname: HostnameNo documentation available
- location: LocationYaml.LocationNo documentation available
- port: numberNo documentation available
- server: Deno.HttpServer<Deno.NetAddr>No documentation available
- url: t.StringUrlNo documentation available
Permissive raw target input used before selector normalization.
- config: stringNo documentation available
| { readonly kind: "config"; readonly config: t.StringPath; }
| { readonly kind: "profile"; readonly profile: string; readonly config: t.StringPath; }
Post-write instructions for activating shell profile changes.
- aftercare: AftercareNo documentation available
- backup: t.StringPathNo documentation available
- dryRun: booleanNo documentation available
- entries: readonly Entry[]No documentation available
- owner: OwnerNo documentation available
- plan: EnablePlanNo documentation available
- profile: Doctor.ProfileNo documentation available
- status: MutationStatusNo documentation available
- target: TargetNo documentation available
- warnings: readonly string[]No documentation available
- conflictProfiles: readonly t.StringPath[]No documentation available
- entry: EntryNo documentation available
- profiles: readonly t.StringPath[]No documentation available
- stale: booleanNo documentation available
- state: StateNo documentation available
| { readonly command: "enable"; readonly target?: Target; }
- aftercare: AftercareNo documentation available
- aliases: readonly Alias.Entry[]No documentation available
- backup: t.StringPathNo documentation available
- dryRun: booleanNo documentation available
- env: Doctor.EnvInfoNo documentation available
- owner: OwnerNo documentation available
- paths: readonly Path.Entry[]No documentation available
- plan: PlanNo documentation available
- profile: Doctor.ProfileNo documentation available
- shell: Doctor.ShellInfoNo documentation available
- status: StatusNo documentation available
- warnings: readonly string[]No documentation available
- force: booleanNo documentation available
Existing managed block state from @sys/cli/shell.
& { readonly dry-run?: boolean; readonly profile?: string; readonly shell?: string; }
Command line arguments (argv).
- origin: "argv" | "root-menu"No documentation available
& { readonly command?: Command; readonly alias?: Alias.ParsedCommand; readonly path?: Path.ParsedCommand; }
CLI sub-commands (first positional token).
- denoBin: t.StringDirNo documentation available
- denoInstall: t.StringDirNo documentation available
- home: t.StringDirNo documentation available
- pathContainsDenoBin: booleanNo documentation available
Public shell tool helper surface.
- Alias: Alias.Lib
Alias catalog and managed-block mutation helpers.
- Path: Path.Lib
PATH catalog and managed-block mutation helpers.
- apply(options?: Apply.Options): Promise<Apply.Report>No documentation available
- cli(): Promise<CliResult>cwd?: t.StringDir,argv?: string[],context?: CliContext
Run the shell CLI flow.
- doctor(): Promise<Doctor.Report>
Run the read-only shell doctor.
- init(options?: Apply.Options): Promise<Apply.Report>
Initialize the recommended managed shell baseline.
Mutation command options shared by planning/write flows.
Mutation lifecycle status.
Managed block owner metadata.
- aftercare: AftercareNo documentation available
- backup: t.StringPathNo documentation available
- dryRun: booleanNo documentation available
- entries: readonly Entry[]No documentation available
- env: Doctor.EnvInfoNo documentation available
- owner: OwnerNo documentation available
- plan: AddPlanNo documentation available
- profile: Doctor.ProfileNo documentation available
- status: MutationStatusNo documentation available
- target: TargetNo documentation available
- warnings: readonly string[]No documentation available
- entry: EntryNo documentation available
- profiles: readonly t.StringPath[]No documentation available
- stale: booleanNo documentation available
- state: StateNo documentation available
- unmanagedProfiles: readonly t.StringPath[]No documentation available
| { readonly command: "add"; readonly target?: Target; }
POSIX-family dialects the shell planner can write today.
Write support available for a shell dialect.
Command line arguments (argv).
Common flags.
& { readonly noUpgradeCheck?: boolean; readonly no-upgrade-check?: boolean; }
Root-entry-only flags.
Root parse result (adds typed command from first positional).
| t.ClipboardTool.Id
| t.PiTool.Id
| t.CryptoTool.Id
| t.CrdtTool.Id
| t.DeployTool.Id
| t.UpgradeTool.Id
| t.VideoTool.Id
| t.PullTool.Id
| t.ShellTool.Id
| t.TmplTool.Id
| "dsl"
Command names.
| { readonly config?: never; readonly paths: ConfigRefPaths; }
Programmatic config-ref selector accepted by finite tool endpoints.
Owner config refs supplied by programmatic Cell/task callers.
- config: t.StringPathNo documentation available
Optional owner config refs for config alias compatibility.
- config: t.StringPathNo documentation available
Usage timestamps for recency-aware behavior.
Example: used by the core Config.orderByRecency helper.
- createdAt: t.UnixTimestamp
Creation time.
- lastUsedAt: t.UnixTimestamp
Most recent usage time.
| { readonly schemaVersion: 2; readonly ok: false; readonly checkedAt: t.UnixTimestamp; readonly package: t.StringPkgName; readonly error: string; }
Cached advisory record persisted between root CLI startups.
| "upgrade-available"
| "pending"
| "resolver-unavailable"
Cached advisory status persisted between root CLI startups.
Command line arguments (argv).
- origin: "argv" | "root-menu"No documentation available
Derived timing fact for a latest-version minimum dependency age standdown.
- createdAt: t.StringTimestamp
JSR creation timestamp for the latest published version.
- minimumDependencyDate: t.StringTimestamp
Deno resolver cutoff date for the active minimum dependency age policy.
- remaining: t.Msecs
Duration until the latest published version clears the active cutoff.
- version: t.StringSemver
Latest published version still inside the minimum dependency age window.
Table of upgrade versions.
- actionable: t.StringSemver
Version Deno currently resolves under active config, lock, cache, and policy.
- is: { readonly latest: boolean; readonly upgradeAvailable?: boolean; readonly pending?: boolean; readonly resolverUnavailable?: boolean; }No documentation available
- latest: t.StringSemver
Back-compat upgrade target; prefer
actionablefor new code. - latestResolution: t.WorkspaceResolve.PackageResolutionFact
Raw Deno resolver fact for the published latest version when probing a standdown.
- local: t.StringSemver
Version of the currently executing @sys/tools package.
- remote: t.StringSemver
Latest version published by JSR registry metadata.
- remoteCreatedAt: t.StringTimestamp
JSR creation timestamp for the latest published version when reported by registry metadata.
- resolution: t.WorkspaceResolve.PackageResolutionFact
Raw Deno resolver fact for the unpinned package specifier when available.
Derived upgrade truth state used by display, execution, and advisory persistence.
- actionable: t.StringSemver
Version Deno can currently execute after cache refresh.
- hasNewerRelease: boolean
True when JSR has published a version newer than the current CLI.
- minimumDependencyAgeStanddown: MinimumDependencyAgeStanddown
Proven minimum dependency age standdown timing for the latest published version.
- pending: boolean
True when a newer published release exists but no newer version is currently actionable.
- reason: t.WorkspaceResolve.PackageResolutionReason
Resolver reason when Deno reported one for the actionable or latest-version probe.
- resolverUnavailable: boolean
True when Deno could not verify an actionable version.
- status: AdvisoryStatus
Advisory-compatible status derived from the same truth flags.
- upgradeAvailable: boolean
True when there is an immediate Deno-actionable upgrade.
Command line arguments (argv).
Command names.
Supported video conversion directions.
Convert: from .mp4 → .webm
Video probe meta-data information.
- audio: { readonly codec?: string; readonly codecLongName?: string; readonly channels?: number; readonly channelLayout?: string; readonly sampleRate?: number; readonly bitRate?: number; }No documentation available
- bitRate: numberNo documentation available
- durationSec: numberNo documentation available
- formatLongName: stringNo documentation available
- formatName: stringNo documentation available
- path: stringNo documentation available
- sizeBytes: numberNo documentation available
- video: { readonly codec?: string; readonly codecLongName?: string; readonly width?: number; readonly height?: number; readonly pixelFormat?: string; readonly profile?: string; readonly level?: number; readonly bitRate?: number; readonly avgFrameRate?: string; readonly rFrameRate?: string; readonly fps?: number; readonly colorSpace?: string; readonly colorTransfer?: string; readonly colorPrimaries?: string; readonly fieldOrder?: string; }No documentation available
Convert: from .webm → .mp4