skills-layer 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -170,7 +170,9 @@ test("public runtime fails closed for internal and login-required commands", asy
|
|
|
170
170
|
const whoami = await runPublic(["whoami", "--json"]);
|
|
171
171
|
assert.equal(whoami.exitCode, 1);
|
|
172
172
|
const whoamiPayload = parseJsonError(whoami);
|
|
173
|
-
assert.equal(whoamiPayload.status, "
|
|
174
|
-
assert.
|
|
173
|
+
assert.equal(whoamiPayload.status, "login_required");
|
|
174
|
+
assert.equal(whoamiPayload.reasonCode, "login_required");
|
|
175
|
+
assert.equal(whoamiPayload.nextAction, "login");
|
|
176
|
+
assert.match(whoamiPayload.nextStep, /skills-layer login/u);
|
|
175
177
|
assert.doesNotMatch(whoamiPayload.summary, /--api-key/u);
|
|
176
178
|
});
|