ricasso
Ricasso example
Installation
dagger install github.com/sharibj/ricasso@v0.1.6Entrypoint
Return Type
Ricasso Example
dagger -m github.com/sharibj/ricasso@e4ffb45f1ef29d4019eb62799190adb7b20b3daf call \
func (m *MyModule) Example() *dagger.Ricasso {
return dag.
Ricasso()
}@function
def example() -> dagger.Ricasso:
return (
dag.ricasso()
)@func()
example(): Ricasso {
return dag
.ricasso()
}Types
Ricasso 🔗
Ricasso main object
init() 🔗
Initialise the container with source directory.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sourcePath | Directory | - | No description provided |
Example
dagger -m github.com/sharibj/ricasso@e4ffb45f1ef29d4019eb62799190adb7b20b3daf call \
initfunc (m *MyModule) Example() *dagger.Container {
return dag.
Ricasso().
Init()
}@function
def example() -> dagger.Container:
return (
dag.ricasso()
.init()
)@func()
example(): Container {
return dag
.ricasso()
.init()
}task() 🔗
Assign a new or followup task to the agentic harness.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| base | Container ! | - | No description provided |
| prompt | String ! | - | No description provided |
Example
dagger -m github.com/sharibj/ricasso@e4ffb45f1ef29d4019eb62799190adb7b20b3daf call \
task --base IMAGE:TAG --prompt stringfunc (m *MyModule) Example(base *dagger.Container, prompt string) *dagger.Container {
return dag.
Ricasso().
Task(base, prompt)
}@function
def example(base: dagger.Container, prompt: str) -> dagger.Container:
return (
dag.ricasso()
.task(base, prompt)
)@func()
example(base: Container, prompt: string): Container {
return dag
.ricasso()
.task(base, prompt)
}source() 🔗
Return the modified source directory.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| base | Container ! | - | No description provided |
Example
dagger -m github.com/sharibj/ricasso@e4ffb45f1ef29d4019eb62799190adb7b20b3daf call \
source --base IMAGE:TAGfunc (m *MyModule) Example(base *dagger.Container) *dagger.Directory {
return dag.
Ricasso().
Source(base)
}@function
def example(base: dagger.Container) -> dagger.Directory:
return (
dag.ricasso()
.source(base)
)@func()
example(base: Container): Directory {
return dag
.ricasso()
.source(base)
}