The licence manager's verb is public-key: a seat's verb is lower-case letters, digits and hyphens

public_key failed the builder's manifest check and stopped the manager's
rebuild; claude-code asks the new name.
This commit is contained in:
jochen
2026-10-04 15:33:28 +02:00
parent 948e794e8b
commit 0dc13965e5
4 changed files with 6 additions and 6 deletions
@@ -374,7 +374,7 @@ func TestAnAPIKeyIsHandedOverSealedAndItsFileRemoved(t *testing.T) {
raw, _ := json.Marshal(args)
sent = append(sent, address+" "+string(raw))
switch address {
case "seat:anthropic-licence-manager.public_key":
case "seat:anthropic-licence-manager.public-key":
return json.Marshal(map[string]any{"public_key": manager.PublicKey})
case "seat:anthropic-licence-manager.adopt":
box := args.(map[string]any)["sealed"].(SealedBox)
+1 -1
View File
@@ -356,7 +356,7 @@ func AddAPIKey(p Paths, name, file string, useHere bool, ask Ask) (map[string]an
if key == "" {
return nil, fmt.Errorf("%s is empty", file)
}
answer, err := ask(SeatVerb("public_key"), map[string]any{})
answer, err := ask(SeatVerb("public-key"), map[string]any{})
if err != nil {
return nil, err
}