Skip to content

Commit 5ee9492

Browse files
committed
chore: drop github adapter set per WAWQAQ directive
WAWQAQ (#opencli-pr-review): "我们不需要GitHub的adapter,因为已经有GH了" Removes the 5 github commands + utils + docs added in 664ed1a (github/user, github/repo, github/search-repos, github/releases, github/user-repos). The remaining 8 read commands across 5 sites (arxiv author, stackoverflow user/tag, coingecko coin/trending, wikipedia page, hf models/datasets) are unaffected. Audit gates re-checked: - check:typed-error-lint: 196/196 (baseline unchanged) - check:silent-column-drop: 103/103 (baseline unchanged) - doc-coverage: 112/112 (one less site documented) - advise:listing-id-pairing: 12 advisory (unchanged)
1 parent 664ed1a commit 5ee9492

8 files changed

Lines changed: 0 additions & 668 deletions

File tree

cli-manifest.json

Lines changed: 0 additions & 217 deletions
Original file line numberDiff line numberDiff line change
@@ -8607,223 +8607,6 @@
86078607
"modulePath": "gitee/user.js",
86088608
"sourceFile": "gitee/user.js"
86098609
},
8610-
{
8611-
"site": "github",
8612-
"name": "releases",
8613-
"description": "List a public repository's releases (newest first).",
8614-
"access": "read",
8615-
"domain": "github.com",
8616-
"strategy": "public",
8617-
"browser": false,
8618-
"args": [
8619-
{
8620-
"name": "repo",
8621-
"type": "string",
8622-
"required": true,
8623-
"positional": true,
8624-
"help": "owner/repo (e.g. nodejs/node)"
8625-
},
8626-
{
8627-
"name": "limit",
8628-
"type": "int",
8629-
"default": 20,
8630-
"required": false,
8631-
"help": "Max releases to return (max 100; one API page)."
8632-
}
8633-
],
8634-
"columns": [
8635-
"tagName",
8636-
"name",
8637-
"publishedAt",
8638-
"prerelease",
8639-
"draft",
8640-
"author",
8641-
"url"
8642-
],
8643-
"type": "js",
8644-
"modulePath": "github/releases.js",
8645-
"sourceFile": "github/releases.js"
8646-
},
8647-
{
8648-
"site": "github",
8649-
"name": "repo",
8650-
"description": "Public GitHub repository metadata (stars, forks, language, license, dates).",
8651-
"access": "read",
8652-
"domain": "github.com",
8653-
"strategy": "public",
8654-
"browser": false,
8655-
"args": [
8656-
{
8657-
"name": "repo",
8658-
"type": "string",
8659-
"required": true,
8660-
"positional": true,
8661-
"help": "owner/repo (e.g. facebook/react)"
8662-
}
8663-
],
8664-
"columns": [
8665-
"fullName",
8666-
"description",
8667-
"language",
8668-
"stars",
8669-
"forks",
8670-
"openIssues",
8671-
"watchers",
8672-
"license",
8673-
"defaultBranch",
8674-
"archived",
8675-
"fork",
8676-
"createdAt",
8677-
"updatedAt",
8678-
"pushedAt",
8679-
"url"
8680-
],
8681-
"type": "js",
8682-
"modulePath": "github/repo.js",
8683-
"sourceFile": "github/repo.js"
8684-
},
8685-
{
8686-
"site": "github",
8687-
"name": "search-repos",
8688-
"description": "Search public repositories on GitHub.",
8689-
"access": "read",
8690-
"domain": "github.com",
8691-
"strategy": "public",
8692-
"browser": false,
8693-
"args": [
8694-
{
8695-
"name": "query",
8696-
"type": "string",
8697-
"required": true,
8698-
"positional": true,
8699-
"help": "Search query (supports GitHub search syntax e.g. \"react language:typescript\")"
8700-
},
8701-
{
8702-
"name": "sort",
8703-
"type": "string",
8704-
"default": "stars",
8705-
"required": false,
8706-
"help": "Sort key: stars, forks, updated, help-wanted-issues"
8707-
},
8708-
{
8709-
"name": "order",
8710-
"type": "string",
8711-
"default": "desc",
8712-
"required": false,
8713-
"help": "Order: desc, asc"
8714-
},
8715-
{
8716-
"name": "limit",
8717-
"type": "int",
8718-
"default": 20,
8719-
"required": false,
8720-
"help": "Max repos to return (max 100; one API page)."
8721-
}
8722-
],
8723-
"columns": [
8724-
"fullName",
8725-
"description",
8726-
"language",
8727-
"stars",
8728-
"forks",
8729-
"updatedAt",
8730-
"url"
8731-
],
8732-
"type": "js",
8733-
"modulePath": "github/search-repos.js",
8734-
"sourceFile": "github/search-repos.js"
8735-
},
8736-
{
8737-
"site": "github",
8738-
"name": "user",
8739-
"description": "Public GitHub user profile (login, bio, followers, repos count, etc.)",
8740-
"access": "read",
8741-
"domain": "github.com",
8742-
"strategy": "public",
8743-
"browser": false,
8744-
"args": [
8745-
{
8746-
"name": "username",
8747-
"type": "string",
8748-
"required": true,
8749-
"positional": true,
8750-
"help": "GitHub login (with or without leading @)"
8751-
}
8752-
],
8753-
"columns": [
8754-
"login",
8755-
"name",
8756-
"bio",
8757-
"company",
8758-
"location",
8759-
"blog",
8760-
"followers",
8761-
"following",
8762-
"publicRepos",
8763-
"publicGists",
8764-
"createdAt",
8765-
"updatedAt",
8766-
"url"
8767-
],
8768-
"type": "js",
8769-
"modulePath": "github/user.js",
8770-
"sourceFile": "github/user.js"
8771-
},
8772-
{
8773-
"site": "github",
8774-
"name": "user-repos",
8775-
"description": "List public repositories owned by a GitHub user.",
8776-
"access": "read",
8777-
"domain": "github.com",
8778-
"strategy": "public",
8779-
"browser": false,
8780-
"args": [
8781-
{
8782-
"name": "username",
8783-
"type": "string",
8784-
"required": true,
8785-
"positional": true,
8786-
"help": "GitHub login"
8787-
},
8788-
{
8789-
"name": "sort",
8790-
"type": "string",
8791-
"default": "updated",
8792-
"required": false,
8793-
"help": "Sort key: updated, created, pushed, full_name"
8794-
},
8795-
{
8796-
"name": "type",
8797-
"type": "string",
8798-
"default": "owner",
8799-
"required": false,
8800-
"help": "Filter: all, owner, member"
8801-
},
8802-
{
8803-
"name": "limit",
8804-
"type": "int",
8805-
"default": 30,
8806-
"required": false,
8807-
"help": "Max repos to return (max 100; one API page)."
8808-
}
8809-
],
8810-
"columns": [
8811-
"name",
8812-
"fullName",
8813-
"description",
8814-
"language",
8815-
"stars",
8816-
"forks",
8817-
"archived",
8818-
"fork",
8819-
"updatedAt",
8820-
"pushedAt",
8821-
"url"
8822-
],
8823-
"type": "js",
8824-
"modulePath": "github/user-repos.js",
8825-
"sourceFile": "github/user-repos.js"
8826-
},
88278610
{
88288611
"site": "google",
88298612
"name": "news",

clis/github/releases.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

clis/github/repo.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

clis/github/search-repos.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)