Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -48,7 +48,7 @@ func tools() []stdio.Tool {
|
||||
Description: fmt.Sprintf("Ask the operator for a value in a prompt that shows nothing of what is typed, "+
|
||||
"and answer it sealed to the key seal_to names — never in the clear (novox/hq ADR 0259 §10): how the "+
|
||||
"mesh takes a module's own secret at the desk. The prompt is written here from the names, and says the "+
|
||||
"mesh's controller asks: the bus lets nobody else ask it. Answers sealed, or cancelled when the prompt was "+
|
||||
"mesh's controller or vault asks: the bus lets nobody else ask it. Answers sealed, or cancelled when the prompt was "+
|
||||
"dismissed, answered empty or not answered within timeout_seconds (default and at most %d).", menuMost),
|
||||
Input: map[string]any{
|
||||
"type": "object",
|
||||
@@ -62,7 +62,7 @@ func tools() []stdio.Tool {
|
||||
"required": []string{"module", "secret", "node", "seal_to"},
|
||||
},
|
||||
Run: func(args map[string]any) (any, error) {
|
||||
q, err := secretQuestion(args)
|
||||
q, err := secretQuestion(stdio.CallerOf(args), args)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user