ilyakooo0/airlock/1.1.0

NOTE: the latest version is 1.1.1

Renamed to iko-soy/airlock. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as ilyakooo0/airlock still install under that name. 4 versions of 4 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/iko-soy/airlock.

What we checked: The repo moved to github.com/iko-soy/airlock. Rebuilt with git archive from commit e70aeed17bb6 of https://github.com/iko-soy/airlock (zip prefix ilyakooo0-airlock-9094925/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 ab128da30657c8dc83a8d43cecd556e70f6d53e9.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/ilyakooo0/airlock/zipball/1.1.0/

Ur

Simple requests

logIn : String -> String -> Cmd (Result Error ())

Logs into your Urbit at the given root path and password.

logIn "http://localhost:8080" "lidlut-tabwed-pillex-ridrup"
getShipName : String -> Cmd (Result Error Ship)

Queries the name of the current ship. Return strings like ~zod or ~racfer-hattes.

getShipName "http://localhost:8080"
{ url : String
, agent : Agent
, path : Path
, error : msg
, success : Deconstructor msg
}
-> Cmd msg

Scry an agent at some path

scry
    { url = "http://localhost:8080"
    , agent = "journal"
    , path = [ "entries", "all" ]
    , error = Noop
    , success =
        D.cell D.ignore
            (D.cell (D.const D.cord "jrnl")
                (D.list (D.cell D.bigint D.cord |> D.map (\a b -> ( a, b ))))
                |> D.map GotListings
            )
    }
{ url : String
, agent : Agent
, path : Path
, error : msg
, success : Deconstructor msg
}
-> Task a msg

Same as scry but returns a Task instead of a Cmd.