Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions pkg/github/__toolsnaps__/delete_org_package.snap

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkg/github/toolsnaps/delete_org_package.snap

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"annotations": {
"title": "Delete organization package",
"readOnlyHint": false
},
"description": "Delete an entire package from a GitHub organization. This will delete all versions of the package. Requires delete:packages scope.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
}
},
"required": [
"org",
"package_type",
"package_name"
],
"type": "object"
},
"name": "delete_org_package"
}
43 changes: 43 additions & 0 deletions pkg/github/__toolsnaps__/delete_org_package_version.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"annotations": {
"title": "Delete organization package version",
"readOnlyHint": false
},
"description": "Delete a specific version of a package from a GitHub organization. Requires delete:packages scope.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
},
"package_version_id": {
"description": "Package version ID",
"type": "number"
}
},
"required": [
"org",
"package_type",
"package_name",
"package_version_id"
],
"type": "object"
},
"name": "delete_org_package_version"
}
33 changes: 33 additions & 0 deletions pkg/github/__toolsnaps__/delete_user_package.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"annotations": {
"title": "Delete user package",
"readOnlyHint": false
},
"description": "Delete an entire package from the authenticated user's account. This will delete all versions of the package. Requires delete:packages scope.",
"inputSchema": {
"properties": {
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
}
},
"required": [
"package_type",
"package_name"
],
"type": "object"
},
"name": "delete_user_package"
}
38 changes: 38 additions & 0 deletions pkg/github/__toolsnaps__/delete_user_package_version.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"annotations": {
"title": "Delete user package version",
"readOnlyHint": false
},
"description": "Delete a specific version of a package from the authenticated user's account. Requires delete:packages scope.",
"inputSchema": {
"properties": {
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
},
"package_version_id": {
"description": "Package version ID",
"type": "number"
}
},
"required": [
"package_type",
"package_name",
"package_version_id"
],
"type": "object"
},
"name": "delete_user_package_version"
}
38 changes: 38 additions & 0 deletions pkg/github/__toolsnaps__/get_org_package.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"annotations": {
"title": "Get organization package details",
"readOnlyHint": true
},
"description": "Get details of a specific package for an organization.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
}
},
"required": [
"org",
"package_type",
"package_name"
],
"type": "object"
},
"name": "get_org_package"
}
43 changes: 43 additions & 0 deletions pkg/github/__toolsnaps__/get_package_version.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"annotations": {
"title": "Get package version details",
"readOnlyHint": true
},
"description": "Get details of a specific package version, including metadata.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
},
"package_version_id": {
"description": "Package version ID",
"type": "number"
}
},
"required": [
"org",
"package_type",
"package_name",
"package_version_id"
],
"type": "object"
},
"name": "get_package_version"
}
52 changes: 52 additions & 0 deletions pkg/github/__toolsnaps__/list_org_packages.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"annotations": {
"title": "List organization packages",
"readOnlyHint": true
},
"description": "List packages for a GitHub organization. Returns package metadata including name, type, visibility, and version count.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_type": {
"description": "Filter by package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"visibility": {
"description": "Filter by package visibility",
"enum": [
"public",
"private",
"internal"
],
"type": "string"
}
},
"required": [
"org"
],
"type": "object"
},
"name": "list_org_packages"
}
57 changes: 57 additions & 0 deletions pkg/github/__toolsnaps__/list_package_versions.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"annotations": {
"title": "List package versions",
"readOnlyHint": true
},
"description": "List versions of a package for an organization. Each version includes metadata.",
"inputSchema": {
"properties": {
"org": {
"description": "Organization name",
"type": "string"
},
"package_name": {
"description": "Package name",
"type": "string"
},
"package_type": {
"description": "Package type",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"container"
],
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"state": {
"description": "Filter by version state",
"enum": [
"active",
"deleted"
],
"type": "string"
}
},
"required": [
"org",
"package_type",
"package_name"
],
"type": "object"
},
"name": "list_package_versions"
}
Loading