@usine/executor/exe-dev
Classes
Section titled “Classes”GitHubIntegration
Section titled “GitHubIntegration”One standing exe.dev GitHub integration; only its VM attachment is per Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new GitHubIntegration(…
args):GitHubIntegration
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyname:string&Brand<"ExeDevIntegrationName">
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
Interfaces
Section titled “Interfaces”ExeDevExecutorOptions
Section titled “ExeDevExecutorOptions”Repository access and SSH settings for the configured exe.dev Workers.
Properties
Section titled “Properties”credentialGrantMinutes?
Section titled “credentialGrantMinutes?”
readonlyoptionalcredentialGrantMinutes?:number&Brand<"ExeDevCredentialGrantMinutes">
Length of each edge credential attachment, renewed at half this length for as long as the Attempt runs; independent of any Attempt ceiling. Defaults to 65 minutes.
githubIntegrations
Section titled “githubIntegrations”
readonlygithubIntegrations: readonlyGitHubIntegration[]
Existing native GitHub integrations, one per repository this Worker may receive.
interruptGrace?
Section titled “interruptGrace?”
readonlyoptionalinterruptGrace?:Input
Grace for the parent task’s cancellation, then for the Attempt to settle; each wait is bounded separately. Defaults to 10 seconds.
readonlyoptionalssh?:object
Local SSH executable and its arguments, used for the lobby, VM commands, and every child.
readonlyargs: readonlystring[]
command
Section titled “command”
readonlycommand:string
Type Aliases
Section titled “Type Aliases”CredentialGrantMinutes
Section titled “CredentialGrantMinutes”CredentialGrantMinutes = typeof
CredentialGrantMinutes.Type
How long an exe.dev Worker’s repository credential attachment may remain active, in minutes.
IntegrationName
Section titled “IntegrationName”IntegrationName = typeof
IntegrationName.Type
The name of one exe.dev edge-injected integration.
Variables
Section titled “Variables”CredentialGrantMinutes
Section titled “CredentialGrantMinutes”
constCredentialGrantMinutes:Schema.brand<Schema.Int,"ExeDevCredentialGrantMinutes">
How long an exe.dev Worker’s repository credential attachment may remain active, in minutes.
IntegrationName
Section titled “IntegrationName”
constIntegrationName:Schema.brand<Schema.String,"ExeDevIntegrationName">
The name of one exe.dev edge-injected integration.
constlayer: (options) =>Layer.Layer<Executor,never,AttemptRuntime|ChildProcessSpawner.ChildProcessSpawner>
Runs Attempts on exe.dev Workers: each Attempt’s Pi parent is a durable task
in this process (AttemptRuntime), and its children run on the Worker’s VM
over SSH. An orchestrator restart reattaches a live Attempt to its VM
checkout. Requires Node; worker contracts are platform-free.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ExeDevExecutorOptions |
Returns
Section titled “Returns”Layer.Layer<Executor, never, AttemptRuntime | ChildProcessSpawner.ChildProcessSpawner>