agent-shim 7.7.0 → 7.9.0

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.
Files changed (42) hide show
  1. package/README.md +4 -2
  2. package/dist/cli.cjs +3983 -3955
  3. package/dist/index.cjs +3214 -173
  4. package/dist/index.mjs +3136 -158
  5. package/dist/types/checkReport.d.ts +154 -0
  6. package/dist/types/claudeShim.d.ts +114 -0
  7. package/dist/types/cli/bool.d.ts +8 -0
  8. package/dist/types/cli/commandDeps.d.ts +28 -0
  9. package/dist/types/cli/envBool.d.ts +11 -0
  10. package/dist/types/codex/http.d.ts +15 -0
  11. package/dist/types/configProfilesStore.d.ts +61 -0
  12. package/dist/types/configure.d.ts +170 -0
  13. package/dist/types/credential.d.ts +136 -0
  14. package/dist/types/credentialCache.d.ts +46 -0
  15. package/dist/types/directoryRulesStore.d.ts +43 -0
  16. package/dist/types/doctorReport.d.ts +117 -0
  17. package/dist/types/frontdoor/custody.d.ts +32 -0
  18. package/dist/types/frontdoor/headroomHop.d.ts +22 -0
  19. package/dist/types/frontdoor/pipeline.d.ts +109 -0
  20. package/dist/types/frontdoor/server.d.ts +44 -0
  21. package/dist/types/headroom/headers.d.ts +11 -0
  22. package/dist/types/identityStore.d.ts +85 -0
  23. package/dist/types/index.d.ts +12 -1
  24. package/dist/types/launcher/cascade.d.ts +42 -0
  25. package/dist/types/launcher/flags.d.ts +96 -0
  26. package/dist/types/launcher/identity.d.ts +95 -0
  27. package/dist/types/launcher/pool.d.ts +44 -0
  28. package/dist/types/pathNorm.d.ts +14 -0
  29. package/dist/types/poolPickReport.d.ts +44 -0
  30. package/dist/types/poolStore.d.ts +18 -0
  31. package/dist/types/providersStore.d.ts +137 -0
  32. package/dist/types/realPorts.d.ts +102 -0
  33. package/dist/types/usage/middleware.d.ts +17 -0
  34. package/dist/types/usage/pick.d.ts +62 -0
  35. package/dist/types/usage/plan.d.ts +18 -0
  36. package/dist/types/usage/poolPick.d.ts +31 -0
  37. package/dist/types/usage/preflight.d.ts +20 -0
  38. package/dist/types/usage/rateLimit.d.ts +25 -0
  39. package/dist/types/usage/scan.d.ts +24 -0
  40. package/dist/types/usage/store.d.ts +43 -0
  41. package/dist/types/versionDiscovery.d.ts +47 -0
  42. package/package.json +1 -1
package/README.md CHANGED
@@ -159,9 +159,11 @@ src/
159
159
  cli.ts # entrypoint: dispatches on invoked name to launcher vs identity/profile-manager subcommands
160
160
  launcher.ts # runLauncher: thin orchestration over launcher/*
161
161
  launcher/ # argv parsing, the ambient-credential guard, identity/profile resolution, farm resync
162
- identityManager.ts, configProfiles.ts, providers.ts, directoryRules.ts # the `identity`/`profile`/`provider`/`rule` nouns
162
+ identityManager.ts, configProfiles.ts, providers.ts, directoryRules.ts # the `identity`/`profile`/`provider`/`rule` nouns' commands
163
+ identityStore.ts, configProfilesStore.ts, providersStore.ts, directoryRulesStore.ts, poolStore.ts # their data layers, free of command-line dependencies and exported by the library
163
164
  program.ts, completion.ts # buildProgram (the whole command tree, side-effect free) and generated shell completion
164
- configure.ts, check.ts, doctor.ts, claudeShim.ts # interactive picker, dry-run inspector, whole-tree audit, `claude` shim
165
+ configure.ts, check.ts, doctor.ts, claudeShim.ts # interactive picker, the check and doctor commands, `claude` shim
166
+ checkReport.ts, doctorReport.ts, poolPickReport.ts # the dry-run inspector, the whole-tree audit and the pool ranking as data, free of command-line dependencies and exported by the library
165
167
  resolve/ # the pure cascade resolver: flatten, decide, extends, walk, plan, reconcile
166
168
  config/ # Zod schemas, cosmiconfig loading, category classification, atomic JSON store
167
169
  index.ts # the library surface (see below): resolver, farm sync, headroom routing, the ambient-credential guard