add documentation for ai agents (#3115)

* add documentation for ai agents

* docs: consolidate CLAUDE.md and CONTRIBUTING.md, add style guidelines

- Refactor CLAUDE.md to reference CONTRIBUTING.md for build/test/format info
- Expand CONTRIBUTING.md with comprehensive build targets, env vars, and testing
- Add code style guidelines section with conventional commits
- Standardize SDK prettier config to use single quotes (matching web)
- Add project-level Claude Code settings to disable co-author attribution

* style(sdk): apply prettier with single quotes

Run prettier across sdk/base and sdk/package to apply the
standardized quote style (single quotes matching web).

* docs: add USER.md for per-developer TODO filtering

- Add agents/USER.md to .gitignore (contains user identifier)
- Document session startup flow in CLAUDE.md:
  - Create USER.md if missing, prompting for identifier
  - Filter TODOs by @username tags
  - Offer relevant TODOs on session start

* docs: add i18n documentation task to agent TODOs

* docs: document i18n ID patterns in core/

Add agents/i18n-patterns.md covering rust-i18n setup, translation file
format, t!() macro usage, key naming conventions, and locale selection.
Remove completed TODO item and add reference in CLAUDE.md.

* chore: clarify that all builds work on any OS with Docker
This commit is contained in:
Aiden McClelland
2026-02-06 00:10:16 +01:00
committed by GitHub
parent 86ca23c093
commit f2142f0bb3
280 changed files with 6793 additions and 5515 deletions

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnyVerifyingKey } from "./AnyVerifyingKey"
import type { AnyVerifyingKey } from './AnyVerifyingKey'
export type AcceptSigners =
| { signer: AnyVerifyingKey }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Guid } from "./Guid"
import type { Guid } from './Guid'
export type ActionInput = {
eventId: Guid

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionVisibility } from "./ActionVisibility"
import type { AllowedStatuses } from "./AllowedStatuses"
import type { ActionVisibility } from './ActionVisibility'
import type { AllowedStatuses } from './AllowedStatuses'
export type ActionMetadata = {
/**

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionResultV0 } from "./ActionResultV0"
import type { ActionResultV1 } from "./ActionResultV1"
import type { ActionResultV0 } from './ActionResultV0'
import type { ActionResultV1 } from './ActionResultV1'
export type ActionResult =
| ({ version: "0" } & ActionResultV0)
| ({ version: "1" } & ActionResultV1)
| ({ version: '0' } & ActionResultV0)
| ({ version: '1' } & ActionResultV1)

View File

@@ -11,7 +11,7 @@ export type ActionResultMember = {
description: string | null
} & (
| {
type: "single"
type: 'single'
/**
* The actual string value to display
*/
@@ -30,7 +30,7 @@ export type ActionResultMember = {
masked: boolean
}
| {
type: "group"
type: 'group'
/**
* An new group of nested values, experienced by the user as an accordion dropdown
*/

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionResultValue } from "./ActionResultValue"
import type { ActionResultValue } from './ActionResultValue'
export type ActionResultV1 = {
/**

View File

@@ -1,9 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionResultMember } from "./ActionResultMember"
import type { ActionResultMember } from './ActionResultMember'
export type ActionResultValue =
| {
type: "single"
type: 'single'
/**
* The actual string value to display
*/
@@ -22,7 +22,7 @@ export type ActionResultValue =
masked: boolean
}
| {
type: "group"
type: 'group'
/**
* An new group of nested values, experienced by the user as an accordion dropdown
*/

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ActionVisibility = "hidden" | { disabled: string } | "enabled"
export type ActionVisibility = 'hidden' | { disabled: string } | 'enabled'

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Guid } from "./Guid"
import type { Guid } from './Guid'
export type AddAdminParams = { signer: Guid }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnySignature } from "./AnySignature"
import type { Blake3Commitment } from "./Blake3Commitment"
import type { AnySignature } from './AnySignature'
import type { Blake3Commitment } from './Blake3Commitment'
export type AddAssetParams = {
version: string

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocaleString } from "./LocaleString"
import type { LocaleString } from './LocaleString'
export type AddCategoryParams = { id: string; name: LocaleString }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnySignature } from "./AnySignature"
import type { MerkleArchiveCommitment } from "./MerkleArchiveCommitment"
import type { AnySignature } from './AnySignature'
import type { MerkleArchiveCommitment } from './MerkleArchiveCommitment'
export type AddMirrorParams = {
url: string

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnySignature } from "./AnySignature"
import type { MerkleArchiveCommitment } from "./MerkleArchiveCommitment"
import type { AnySignature } from './AnySignature'
import type { MerkleArchiveCommitment } from './MerkleArchiveCommitment'
export type AddPackageParams = {
urls: string[]

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Guid } from "./Guid"
import type { PackageId } from "./PackageId"
import type { Guid } from './Guid'
import type { PackageId } from './PackageId'
export type AddPackageSignerParams = {
id: PackageId

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId"
import type { PackageId } from './PackageId'
export type AddPackageToCategoryParams = { id: string; package: PackageId }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AlpnInfo } from "./AlpnInfo"
import type { AlpnInfo } from './AlpnInfo'
export type AddSslOptions = {
preferredExternalPort: number

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HostId } from "./HostId"
import type { HostId } from './HostId'
export type AddressInfo = {
username: string | null

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocaleString } from "./LocaleString"
import type { LocaleString } from './LocaleString'
export type Alerts = {
install: LocaleString | null

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type Algorithm = "ecdsa" | "ed25519"
export type Algorithm = 'ecdsa' | 'ed25519'

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageDataEntry } from "./PackageDataEntry"
import type { PackageId } from "./PackageId"
import type { PackageDataEntry } from './PackageDataEntry'
import type { PackageId } from './PackageId'
export type AllPackageData = { [key: PackageId]: PackageDataEntry }

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type AllowedStatuses = "only-running" | "only-stopped" | "any"
export type AllowedStatuses = 'only-running' | 'only-stopped' | 'any'

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MaybeUtf8String } from "./MaybeUtf8String"
import type { MaybeUtf8String } from './MaybeUtf8String'
export type AlpnInfo = "reflect" | { specified: Array<MaybeUtf8String> }
export type AlpnInfo = 'reflect' | { specified: Array<MaybeUtf8String> }

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ApiState = "error" | "initializing" | "running"
export type ApiState = 'error' | 'initializing' | 'running'

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EncryptedWire } from "./EncryptedWire"
import type { EncryptedWire } from './EncryptedWire'
export type AttachParams = {
password: EncryptedWire | null

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BlockDev } from "./BlockDev"
import type { Cifs } from "./Cifs"
import type { BlockDev } from './BlockDev'
import type { Cifs } from './Cifs'
export type BackupTargetFS =
| ({ type: "disk" } & BlockDev)
| ({ type: "cifs" } & Cifs)
| ({ type: 'disk' } & BlockDev)
| ({ type: 'cifs' } & Cifs)

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HostId } from "./HostId"
import type { HostId } from './HostId'
export type BindId = { id: HostId; internalPort: number }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BindOptions } from "./BindOptions"
import type { NetInfo } from "./NetInfo"
import type { BindOptions } from './BindOptions'
import type { NetInfo } from './NetInfo'
export type BindInfo = { enabled: boolean; options: BindOptions; net: NetInfo }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AddSslOptions } from "./AddSslOptions"
import type { Security } from "./Security"
import type { AddSslOptions } from './AddSslOptions'
import type { Security } from './Security'
export type BindOptions = {
preferredExternalPort: number

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AddSslOptions } from "./AddSslOptions"
import type { HostId } from "./HostId"
import type { Security } from "./Security"
import type { AddSslOptions } from './AddSslOptions'
import type { HostId } from './HostId'
import type { Security } from './Security'
export type BindParams = {
id: HostId

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GatewayId } from "./GatewayId"
import type { GatewayId } from './GatewayId'
export type BindingGatewaySetEnabledParams = {
internalPort: number

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Base64 } from "./Base64"
import type { Base64 } from './Base64'
export type Blake3Commitment = { hash: Base64; size: number }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocaleString } from "./LocaleString"
import type { LocaleString } from './LocaleString'
export type Category = { name: LocaleString }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId"
import type { PackageId } from './PackageId'
export type CheckDependenciesParam = { packageIds?: Array<PackageId> }

View File

@@ -1,10 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HealthCheckId } from "./HealthCheckId"
import type { NamedHealthCheckResult } from "./NamedHealthCheckResult"
import type { PackageId } from "./PackageId"
import type { ReplayId } from "./ReplayId"
import type { TaskEntry } from "./TaskEntry"
import type { Version } from "./Version"
import type { HealthCheckId } from './HealthCheckId'
import type { NamedHealthCheckResult } from './NamedHealthCheckResult'
import type { PackageId } from './PackageId'
import type { ReplayId } from './ReplayId'
import type { TaskEntry } from './TaskEntry'
import type { Version } from './Version'
export type CheckDependenciesResult = {
packageId: PackageId

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionId } from "./ActionId"
import type { ActionId } from './ActionId'
export type ClearActionsParams = { except: Array<ActionId> }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BindId } from "./BindId"
import type { BindId } from './BindId'
export type ClearBindingsParams = { except: Array<BindId> }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ServiceInterfaceId } from "./ServiceInterfaceId"
import type { ServiceInterfaceId } from './ServiceInterfaceId'
export type ClearServiceInterfacesParams = { except: Array<ServiceInterfaceId> }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ImageId } from "./ImageId"
import type { ImageId } from './ImageId'
export type CreateSubcontainerFsParams = {
imageId: ImageId

View File

@@ -1,10 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionId } from "./ActionId"
import type { PackageId } from "./PackageId"
import type { ReplayId } from "./ReplayId"
import type { TaskInput } from "./TaskInput"
import type { TaskSeverity } from "./TaskSeverity"
import type { TaskTrigger } from "./TaskTrigger"
import type { ActionId } from './ActionId'
import type { PackageId } from './PackageId'
import type { ReplayId } from './ReplayId'
import type { TaskInput } from './TaskInput'
import type { TaskSeverity } from './TaskSeverity'
import type { TaskTrigger } from './TaskTrigger'
export type CreateTaskParams = {
replayId: ReplayId

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CurrentDependencyInfo } from "./CurrentDependencyInfo"
import type { PackageId } from "./PackageId"
import type { CurrentDependencyInfo } from './CurrentDependencyInfo'
import type { PackageId } from './PackageId'
export type CurrentDependencies = { [key: PackageId]: CurrentDependencyInfo }

View File

@@ -1,9 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DataUrl } from "./DataUrl"
import type { LocaleString } from "./LocaleString"
import type { DataUrl } from './DataUrl'
import type { LocaleString } from './LocaleString'
export type CurrentDependencyInfo = {
title: LocaleString | null
icon: DataUrl | null
versionRange: string
} & ({ kind: "exists" } | { kind: "running"; healthChecks: string[] })
} & ({ kind: 'exists' } | { kind: 'running'; healthChecks: string[] })

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MetadataSrc } from "./MetadataSrc"
import type { MetadataSrc } from './MetadataSrc'
export type DepInfo = {
description: string | null

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DepInfo } from "./DepInfo"
import type { PackageId } from "./PackageId"
import type { DepInfo } from './DepInfo'
import type { PackageId } from './PackageId'
export type Dependencies = { [key: PackageId]: DepInfo }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DataUrl } from "./DataUrl"
import type { LocaleString } from "./LocaleString"
import type { DataUrl } from './DataUrl'
import type { LocaleString } from './LocaleString'
export type DependencyMetadata = {
title: LocaleString | null

View File

@@ -1,12 +1,12 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HealthCheckId } from "./HealthCheckId"
import type { PackageId } from "./PackageId"
import type { HealthCheckId } from './HealthCheckId'
import type { PackageId } from './PackageId'
export type DependencyRequirement =
| {
kind: "running"
kind: 'running'
id: PackageId
healthChecks: Array<HealthCheckId>
versionRange: string
}
| { kind: "exists"; id: PackageId; versionRange: string }
| { kind: 'exists'; id: PackageId; versionRange: string }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocaleString } from "./LocaleString"
import type { LocaleString } from './LocaleString'
export type Description = { short: LocaleString; long: LocaleString }

View File

@@ -1,8 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StartStop } from "./StartStop"
import type { StartStop } from './StartStop'
export type DesiredStatus =
| { main: "stopped" }
| { main: "restarting" }
| { main: "running" }
| { main: "backing-up"; onComplete: StartStop }
| { main: 'stopped' }
| { main: 'restarting' }
| { main: 'running' }
| { main: 'backing-up'; onComplete: StartStop }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Guid } from "./Guid"
import type { Guid } from './Guid'
export type DestroySubcontainerFsParams = { guid: Guid }

View File

@@ -2,7 +2,7 @@
export type DeviceFilter = {
description: string
class: "processor" | "display"
class: 'processor' | 'display'
product: string | null
vendor: string | null
capabilities?: Array<string>

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GatewayId } from "./GatewayId"
import type { GatewayId } from './GatewayId'
export type DomainSettings = { gateway: GatewayId }

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnyVerifyingKey } from "./AnyVerifyingKey"
import type { ContactInfo } from "./ContactInfo"
import type { Guid } from "./Guid"
import type { AnyVerifyingKey } from './AnyVerifyingKey'
import type { ContactInfo } from './ContactInfo'
import type { Guid } from './Guid'
export type EditSignerParams = {
id: Guid

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Guid } from "./Guid"
import type { Guid } from './Guid'
export type EventId = { eventId: Guid }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionId } from "./ActionId"
import type { ActionMetadata } from "./ActionMetadata"
import type { ActionId } from './ActionId'
import type { ActionMetadata } from './ActionMetadata'
export type ExportActionParams = { id: ActionId; metadata: ActionMetadata }

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AddressInfo } from "./AddressInfo"
import type { ServiceInterfaceId } from "./ServiceInterfaceId"
import type { ServiceInterfaceType } from "./ServiceInterfaceType"
import type { AddressInfo } from './AddressInfo'
import type { ServiceInterfaceId } from './ServiceInterfaceId'
import type { ServiceInterfaceType } from './ServiceInterfaceType'
export type ExportServiceInterfaceParams = {
id: ServiceInterfaceId

View File

@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type FileType = "file" | "directory" | "infer"
export type FileType = 'file' | 'directory' | 'infer'

View File

@@ -1,9 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DataUrl } from "./DataUrl"
import type { Guid } from "./Guid"
import type { OsIndex } from "./OsIndex"
import type { PackageIndex } from "./PackageIndex"
import type { SignerInfo } from "./SignerInfo"
import type { DataUrl } from './DataUrl'
import type { Guid } from './Guid'
import type { OsIndex } from './OsIndex'
import type { PackageIndex } from './PackageIndex'
import type { SignerInfo } from './SignerInfo'
export type FullIndex = {
name: string | null

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NamedProgress } from "./NamedProgress"
import type { Progress } from "./Progress"
import type { NamedProgress } from './NamedProgress'
import type { Progress } from './Progress'
export type FullProgress = { overall: Progress; phases: Array<NamedProgress> }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GatewayId } from "./GatewayId"
import type { GatewayId } from './GatewayId'
export type GatewayInfo = { id: GatewayId; name: string; public: boolean }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionId } from "./ActionId"
import type { PackageId } from "./PackageId"
import type { ActionId } from './ActionId'
import type { PackageId } from './PackageId'
export type GetActionInputParams = { packageId?: PackageId; actionId: ActionId }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { PackageId } from "./PackageId"
import type { CallbackId } from './CallbackId'
import type { PackageId } from './PackageId'
export type GetContainerIpParams = {
packageId?: PackageId

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { HostId } from "./HostId"
import type { PackageId } from "./PackageId"
import type { CallbackId } from './CallbackId'
import type { HostId } from './HostId'
import type { PackageId } from './PackageId'
export type GetHostInfoParams = {
hostId: HostId

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageDetailLevel } from "./PackageDetailLevel"
import type { PackageId } from "./PackageId"
import type { Version } from "./Version"
import type { PackageDetailLevel } from './PackageDetailLevel'
import type { PackageId } from './PackageId'
import type { Version } from './Version'
export type GetPackageParams = {
id: PackageId | null

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageInfoShort } from "./PackageInfoShort"
import type { PackageVersionInfo } from "./PackageVersionInfo"
import type { Version } from "./Version"
import type { PackageInfoShort } from './PackageInfoShort'
import type { PackageVersionInfo } from './PackageVersionInfo'
import type { Version } from './Version'
export type GetPackageResponse = {
categories: string[]

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageVersionInfo } from "./PackageVersionInfo"
import type { Version } from "./Version"
import type { PackageVersionInfo } from './PackageVersionInfo'
import type { Version } from './Version'
export type GetPackageResponseFull = {
categories: string[]

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { PackageId } from "./PackageId"
import type { ServiceInterfaceId } from "./ServiceInterfaceId"
import type { CallbackId } from './CallbackId'
import type { PackageId } from './PackageId'
import type { ServiceInterfaceId } from './ServiceInterfaceId'
export type GetServiceInterfaceParams = {
packageId?: PackageId

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { PackageId } from "./PackageId"
import type { CallbackId } from './CallbackId'
import type { PackageId } from './PackageId'
export type GetServiceManifestParams = {
packageId: PackageId

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { HostId } from "./HostId"
import type { PackageId } from "./PackageId"
import type { HostId } from './HostId'
import type { PackageId } from './PackageId'
export type GetServicePortForwardParams = {
packageId?: PackageId

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Algorithm } from "./Algorithm"
import type { CallbackId } from "./CallbackId"
import type { Algorithm } from './Algorithm'
import type { CallbackId } from './CallbackId'
export type GetSslCertificateParams = {
hostnames: string[]

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Algorithm } from "./Algorithm"
import type { Algorithm } from './Algorithm'
export type GetSslKeyParams = { hostnames: string[]; algorithm?: Algorithm }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { PackageId } from "./PackageId"
import type { CallbackId } from './CallbackId'
import type { PackageId } from './PackageId'
export type GetStatusParams = { packageId?: PackageId; callback?: CallbackId }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { CallbackId } from './CallbackId'
export type GetSystemSmtpParams = { callback: CallbackId | null }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DeviceFilter } from "./DeviceFilter"
import type { DeviceFilter } from './DeviceFilter'
export type HardwareRequirements = {
device: Array<DeviceFilter>

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BindInfo } from "./BindInfo"
import type { HostnameInfo } from "./HostnameInfo"
import type { PublicDomainConfig } from "./PublicDomainConfig"
import type { BindInfo } from './BindInfo'
import type { HostnameInfo } from './HostnameInfo'
import type { PublicDomainConfig } from './PublicDomainConfig'
export type Host = {
bindings: { [key: number]: BindInfo }

View File

@@ -1,8 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GatewayInfo } from "./GatewayInfo"
import type { IpHostname } from "./IpHostname"
import type { OnionHostname } from "./OnionHostname"
import type { GatewayInfo } from './GatewayInfo'
import type { IpHostname } from './IpHostname'
import type { OnionHostname } from './OnionHostname'
export type HostnameInfo =
| { kind: "ip"; gateway: GatewayInfo; public: boolean; hostname: IpHostname }
| { kind: "onion"; hostname: OnionHostname }
| { kind: 'ip'; gateway: GatewayInfo; public: boolean; hostname: IpHostname }
| { kind: 'onion'; hostname: OnionHostname }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Host } from "./Host"
import type { HostId } from "./HostId"
import type { Host } from './Host'
import type { HostId } from './HostId'
export type Hosts = { [key: HostId]: Host }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ImageSource } from "./ImageSource"
import type { ImageSource } from './ImageSource'
export type ImageConfig = {
source: ImageSource

View File

@@ -1,8 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BuildArg } from "./BuildArg"
import type { BuildArg } from './BuildArg'
export type ImageSource =
| "packed"
| 'packed'
| {
dockerBuild: {
workdir?: string

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { FullProgress } from "./FullProgress"
import type { Guid } from "./Guid"
import type { FullProgress } from './FullProgress'
import type { Guid } from './Guid'
export type InitProgressRes = { progress: FullProgress; guid: Guid }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId"
import type { Version } from "./Version"
import type { PackageId } from './PackageId'
import type { Version } from './Version'
export type InstallParams = {
registry: string

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Manifest } from "./Manifest"
import type { Manifest } from './Manifest'
export type InstalledState = { manifest: Manifest }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId"
import type { PackageId } from './PackageId'
export type InstalledVersionParams = { id: PackageId }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { FullProgress } from "./FullProgress"
import type { Manifest } from "./Manifest"
import type { FullProgress } from './FullProgress'
import type { Manifest } from './Manifest'
export type InstallingInfo = { newManifest: Manifest; progress: FullProgress }

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { InstallingInfo } from "./InstallingInfo"
import type { InstallingInfo } from './InstallingInfo'
export type InstallingState = { installingInfo: InstallingInfo }

View File

@@ -1,22 +1,22 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type IpHostname =
| { kind: "ipv4"; value: string; port: number | null; sslPort: number | null }
| { kind: 'ipv4'; value: string; port: number | null; sslPort: number | null }
| {
kind: "ipv6"
kind: 'ipv6'
value: string
scopeId: number
port: number | null
sslPort: number | null
}
| {
kind: "local"
kind: 'local'
value: string
port: number | null
sslPort: number | null
}
| {
kind: "domain"
kind: 'domain'
value: string
port: number | null
sslPort: number | null

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NetworkInterfaceType } from "./NetworkInterfaceType"
import type { NetworkInterfaceType } from './NetworkInterfaceType'
export type IpInfo = {
name: string

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PackageId } from "./PackageId"
import type { PackageId } from './PackageId'
export type ListPackageSignersParams = { id: PackageId }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CallbackId } from "./CallbackId"
import type { PackageId } from "./PackageId"
import type { CallbackId } from './CallbackId'
import type { PackageId } from './PackageId'
export type ListServiceInterfacesParams = {
packageId?: PackageId

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LshwDisplay } from "./LshwDisplay"
import type { LshwProcessor } from "./LshwProcessor"
import type { LshwDisplay } from './LshwDisplay'
import type { LshwProcessor } from './LshwProcessor'
export type LshwDevice =
| ({ class: "processor" } & LshwProcessor)
| ({ class: "display" } & LshwDisplay)
| ({ class: 'processor' } & LshwProcessor)
| ({ class: 'display' } & LshwDisplay)

View File

@@ -1,15 +1,15 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Alerts } from "./Alerts"
import type { Dependencies } from "./Dependencies"
import type { Description } from "./Description"
import type { GitHash } from "./GitHash"
import type { HardwareRequirements } from "./HardwareRequirements"
import type { ImageConfig } from "./ImageConfig"
import type { ImageId } from "./ImageId"
import type { LocaleString } from "./LocaleString"
import type { PackageId } from "./PackageId"
import type { Version } from "./Version"
import type { VolumeId } from "./VolumeId"
import type { Alerts } from './Alerts'
import type { Dependencies } from './Dependencies'
import type { Description } from './Description'
import type { GitHash } from './GitHash'
import type { HardwareRequirements } from './HardwareRequirements'
import type { ImageConfig } from './ImageConfig'
import type { ImageId } from './ImageId'
import type { LocaleString } from './LocaleString'
import type { PackageId } from './PackageId'
import type { Version } from './Version'
import type { VolumeId } from './VolumeId'
export type Manifest = {
id: PackageId

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Base64 } from "./Base64"
import type { Base64 } from './Base64'
export type MerkleArchiveCommitment = {
rootSighash: Base64

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocaleString } from "./LocaleString"
import type { PathOrUrl } from "./PathOrUrl"
import type { LocaleString } from './LocaleString'
import type { PathOrUrl } from './PathOrUrl'
export type Metadata = { title: LocaleString; icon: PathOrUrl }

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Metadata } from "./Metadata"
import type { PathOrUrl } from "./PathOrUrl"
import type { Metadata } from './Metadata'
import type { PathOrUrl } from './PathOrUrl'
export type MetadataSrc = { metadata: Metadata } | { s9pk: PathOrUrl | null }

View File

@@ -1,8 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MetricsCpu } from "./MetricsCpu"
import type { MetricsDisk } from "./MetricsDisk"
import type { MetricsGeneral } from "./MetricsGeneral"
import type { MetricsMemory } from "./MetricsMemory"
import type { MetricsCpu } from './MetricsCpu'
import type { MetricsDisk } from './MetricsDisk'
import type { MetricsGeneral } from './MetricsGeneral'
import type { MetricsMemory } from './MetricsMemory'
export type Metrics = {
general: MetricsGeneral

View File

@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Percentage } from "./Percentage"
import type { Percentage } from './Percentage'
export type MetricsCpu = {
percentageUsed: Percentage

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { GigaBytes } from "./GigaBytes"
import type { Percentage } from "./Percentage"
import type { GigaBytes } from './GigaBytes'
import type { Percentage } from './Percentage'
export type MetricsDisk = {
percentageUsed: Percentage

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Celsius } from "./Celsius"
import type { Celsius } from './Celsius'
export type MetricsGeneral = { temperature: Celsius | null }

View File

@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MebiBytes } from "./MebiBytes"
import type { Percentage } from "./Percentage"
import type { MebiBytes } from './MebiBytes'
import type { Percentage } from './Percentage'
export type MetricsMemory = {
percentageUsed: Percentage

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MountTarget } from "./MountTarget"
import type { MountTarget } from './MountTarget'
export type MountParams = { location: string; target: MountTarget }

View File

@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { IdMap } from "./IdMap"
import type { PackageId } from "./PackageId"
import type { VolumeId } from "./VolumeId"
import type { IdMap } from './IdMap'
import type { PackageId } from './PackageId'
import type { VolumeId } from './VolumeId'
export type MountTarget = {
packageId: PackageId

View File

@@ -1,10 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type NamedHealthCheckResult = { name: string } & (
| { result: "success"; message: string | null }
| { result: "disabled"; message: string | null }
| { result: "starting"; message: string | null }
| { result: "waiting"; message: string | null }
| { result: "loading"; message: string }
| { result: "failure"; message: string }
| { result: 'success'; message: string | null }
| { result: 'disabled'; message: string | null }
| { result: 'starting'; message: string | null }
| { result: 'waiting'; message: string | null }
| { result: 'loading'; message: string }
| { result: 'failure'; message: string }
)

Some files were not shown because too many files have changed in this diff Show More