@pidgeon-ai/cli 1.42.2 → 1.42.3

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.
@@ -2043,7 +2043,7 @@ function sleep(ms, signal) {
2043
2043
  });
2044
2044
  }
2045
2045
 
2046
- // ../id/dist/chunk-2NWPDKWJ.js
2046
+ // ../id/dist/chunk-JHNL23AX.js
2047
2047
  import { createHash } from "crypto";
2048
2048
  import { chmod, mkdir, readFile, readdir, writeFile } from "fs/promises";
2049
2049
  import { homedir } from "os";
@@ -2695,10 +2695,11 @@ function signInWithPidgeon(identity, input) {
2695
2695
  })
2696
2696
  );
2697
2697
  }
2698
- async function signIn(identity, input, authenticate) {
2698
+ async function signIn(identity, input, authenticate, admit) {
2699
2699
  const fetcher = input.fetch ?? fetch;
2700
2700
  const agent = input.agent.trim().toLowerCase();
2701
2701
  const site = await siteMetadata(input.site, fetcher);
2702
+ admit?.(site);
2702
2703
  const card = input.card ?? await fetchCard(agent, fetcher, input.postHost);
2703
2704
  const discovery = await json(
2704
2705
  await fetcher(`${site.issuer.replace(/\/$/, "")}/.well-known/openid-configuration`)
@@ -3320,4 +3321,4 @@ export {
3320
3321
  find,
3321
3322
  run
3322
3323
  };
3323
- //# sourceMappingURL=chunk-M7BO7YR6.js.map
3324
+ //# sourceMappingURL=chunk-IR4HMGBX.js.map