Interface: GenieCodeRuntimeDependencies
Injectable owners used to prepare and supervise managed Genie Code.
Properties
Section titled “Properties”createAuthClient
Section titled “createAuthClient”createAuthClient: (
options,dependencies) =>Promise<AuthClient>
Create a Databricks authentication client.
Parameters
Section titled “Parameters”options?
Section titled “options?”DatabricksAuthOptions = {}
dependencies?
Section titled “dependencies?”DatabricksAuthDependencies = {}
Returns
Section titled “Returns”Promise<AuthClient>
install
Section titled “install”install: (
options) =>Promise<BinContext>
Install and return the shared Genie Code package entrypoint.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<BinContext>
supervise
Section titled “supervise”supervise: (
commands,options?) =>ConcurrentlyResult
Parameters
Section titled “Parameters”commands
Section titled “commands”ConcurrentlyCommandInput[]
options?
Section titled “options?”Partial<ConcurrentlyOptions>
Returns
Section titled “Returns”ConcurrentlyResult
writeConfig
Section titled “writeConfig”writeConfig: (
options) =>Promise<GenieCodeHome>
Update the persistent base config and write one private invocation overlay.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<GenieCodeHome>
Methods
Section titled “Methods”port()
Section titled “port()”port(
options):Promise<number>
Parameters
Section titled “Parameters”options
Section titled “options”string
number
Returns
Section titled “Returns”Promise<number>
resolveBin()
Section titled “resolveBin()”resolveBin(
packageReference,binName):string
Parameters
Section titled “Parameters”packageReference
Section titled “packageReference”string
binName
Section titled “binName”string
Returns
Section titled “Returns”string
resolveCodexModel()
Section titled “resolveCodexModel()”resolveCodexModel(
model,profile,modelClass?):Promise<string>
Parameters
Section titled “Parameters”string | undefined
profile
Section titled “profile”string
modelClass?
Section titled “modelClass?”"chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"
Returns
Section titled “Returns”Promise<string>
token()
Section titled “token()”token():
string
Returns
Section titled “Returns”string