Repository navigation
v0.0.14
Two bugs found during a real local install + login on Copilot CLI
1.0.36. Both shipped in this release.
Fixed:
-
/copilot:setupreportedloggedIn: falseeven after a successful
copilot login(PR #52). Root cause: Copilot CLI 1.0+ changed the
~/.copilot/config.jsonschema in two ways the plugin didn't
track:- The file now starts with JS-style
//line comments that strict
JSON.parserejects, soreadCopilotConfigsilently returned
null. - Field names flipped snake_case → camelCase:
logged_in_users→loggedInUsers,
last_logged_in_user→lastLoggedInUser. Even on a success-
ful parse, the old field reads missed the signed-in user.
readCopilotConfignow strips full-line//comments before
parsing (narrow regex; block comments aren't observed in the
config).getCopilotAuthStatusreads both the camelCase and
snake_case key variants so CLI 0.x and 1.x both resolve.
tests/copilot-auth-status.test.mjsadded (+5) covering both
schemas, missing file, empty users, and malformed JSON. - The file now starts with JS-style
-
Marketplace manifest identifiers claimed "GitHub" ownership (PR
#51). Corrected to match the actual repo + author:.claude-plugin/marketplace.json"name":
"github-copilot"→"copilot-plugin-cc"(matches repo slug)..claude-plugin/marketplace.json"owner"and
plugins[0].author:"GitHub"→"andyzengmath".plugins/copilot/.claude-plugin/plugin.json"author":
"GitHub"→"andyzengmath".- README install command updated from
/plugin install copilot@github-copilotto
/plugin install copilot@copilot-plugin-cc.
Cross-checked against Anthropic's own
anthropics/claude-code/.claude-plugin/marketplace.json, which
uses a self-describing marketplace name and the real author
rather than the name of any plugin inside.Breaking change for users who installed via
/plugin install copilot@github-copilot: re-run with
/plugin install copilot@copilot-plugin-ccafter updating. The
/plugin marketplace add andyzengmath/copilot-plugin-ccstep is
unaffected (uses the repo path, not the manifest name).
Test suite: 153 → 158 tests (+5 auth-status cases). 157 pass, 1
skipped, 0 fail. CI green on both Linux and Windows.