Skip to content

Commit b17c653

Browse files
authored
feat(google/cloud/agentregistry/v1): onboard a new library (#8673)
1 parent 51f4a30 commit b17c653

48 files changed

Lines changed: 74512 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

librarian.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ libraries:
192192
nodejs_apis:
193193
- omit_common_resources: true
194194
path: google/cloud/advisorynotifications/v1
195+
- name: google-cloud-agentregistry
196+
apis:
197+
- path: google/cloud/agentregistry/v1
198+
copyright_year: "2026"
195199
- name: google-cloud-aiplatform
196200
version: 6.8.1
197201
apis:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**/*.log
2+
**/node_modules
3+
/.coverage
4+
/coverage
5+
/.nyc_output
6+
/docs/
7+
/out/
8+
/build/
9+
system-test/secrets.js
10+
system-test/*key.json
11+
*.lock
12+
.DS_Store
13+
package-lock.json
14+
__pycache__
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
19+
'use strict';
20+
21+
module.exports = {
22+
opts: {
23+
readme: './README.md',
24+
package: './package.json',
25+
template: './node_modules/jsdoc-fresh',
26+
recurse: true,
27+
verbose: true,
28+
destination: './docs/'
29+
},
30+
plugins: [
31+
'plugins/markdown',
32+
'jsdoc-region-tag'
33+
],
34+
source: {
35+
excludePattern: '(^|\\/|\\\\)[._]',
36+
include: [
37+
'build/src',
38+
'protos'
39+
],
40+
includePattern: '\\.js$'
41+
},
42+
templates: {
43+
copyright: 'Copyright 2026 Google LLC',
44+
includeDate: false,
45+
sourceFiles: false,
46+
systemName: '@google-cloud/agentregistry',
47+
theme: 'lumen',
48+
default: {
49+
outputSourceFiles: false
50+
}
51+
},
52+
markdown: {
53+
idInHeadings: true
54+
}
55+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"report-dir": "./.coverage",
3+
"reporter": ["text", "lcov"],
4+
"exclude": [
5+
"**/*-test",
6+
"**/.coverage",
7+
"**/apis",
8+
"**/benchmark",
9+
"**/conformance",
10+
"**/docs",
11+
"**/samples",
12+
"**/scripts",
13+
"**/protos",
14+
"**/test",
15+
"**/*.d.ts",
16+
".jsdoc.js",
17+
"**/.jsdoc.js",
18+
"karma.conf.js",
19+
"webpack-tests.config.js",
20+
"webpack.config.js"
21+
],
22+
"exclude-after-remap": false,
23+
"all": true
24+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"api_description": "Agent Registry is a centralized, unified catalog that lets you store,\ndiscover, and govern Model Context Protocol (MCP) servers, tools, and AI\nagents within Google Cloud.",
3+
"api_id": "agentregistry.googleapis.com",
4+
"api_shortname": "agentregistry",
5+
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/agentregistry/latest",
6+
"default_version": "v1",
7+
"distribution_name": "@google-cloud/agentregistry",
8+
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1992739",
9+
"language": "nodejs",
10+
"library_type": "GAPIC_AUTO",
11+
"name": "agentregistry",
12+
"name_pretty": "Agent Registry",
13+
"product_documentation": "https://docs.cloud.google.com/agent-registry/overview",
14+
"release_level": "stable",
15+
"repo": "googleapis/google-cloud-node"
16+
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
2+
[//]: # "The comments you see below are used to generate those parts of the template in later states."
3+
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
4+
5+
# [Agent Registry API: Nodejs Client][homepage]
6+
7+
[//]: # "releaseLevel"
8+
9+
[![npm version](https://img.shields.io/npm/v/@google-cloud/agentregistry.svg)](https://www.npmjs.org/package/@google-cloud/agentregistry)
10+
11+
Agent Registry API client for Node.js
12+
13+
[//]: # "partials.introduction"
14+
15+
A comprehensive list of changes in each version may be found in
16+
[the CHANGELOG][homepage_changelog].
17+
18+
* [Agent Registry API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/agentregistry/latest)
19+
* [Agent Registry API Documentation](https://docs.cloud.google.com/agent-registry/overview)
20+
21+
Read more about the client libraries for Cloud APIs, including the older
22+
Google APIs Client Libraries, in [Client Libraries Explained][explained].
23+
24+
[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
25+
26+
**Table of contents:**
27+
28+
* [Quickstart](#quickstart)
29+
* [Before you begin](#before-you-begin)
30+
* [Installing the client library](#installing-the-client-library)
31+
32+
* [Versioning](#versioning)
33+
* [Contributing](#contributing)
34+
* [License](#license)
35+
36+
## Quickstart
37+
### Before you begin
38+
39+
1. [Select or create a Cloud Platform project][projects].
40+
1. [Enable billing for your project][billing].
41+
1. [Enable the Agent Registry API API][enable_api].
42+
1. [Set up authentication][auth] so you can access the
43+
API from your local workstation.
44+
### Installing the client library
45+
46+
```bash
47+
npm install @google-cloud/agentregistry
48+
```
49+
50+
[//]: # "partials.body"
51+
52+
## Samples
53+
54+
Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample.
55+
56+
[//]: # "samples"
57+
58+
## Supported Node.js Versions
59+
60+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
61+
Libraries are compatible with all current _active_ and _maintenance_ versions of
62+
Node.js.
63+
If you are using an end-of-life version of Node.js, we recommend that you update
64+
as soon as possible to an actively supported LTS version.
65+
66+
Google's client libraries support legacy versions of Node.js runtimes on a
67+
best-efforts basis with the following warnings:
68+
69+
* Legacy versions are not tested in continuous integration.
70+
* Some security patches and features cannot be backported.
71+
* Dependencies cannot be kept up-to-date.
72+
73+
Client libraries targeting some end-of-life versions of Node.js are available, and
74+
can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
75+
The dist-tags follow the naming convention `legacy-(version)`.
76+
For example, `npm install @google-cloud/agentregistry@legacy-8` installs client libraries
77+
for versions compatible with Node.js 8.
78+
79+
## Versioning
80+
81+
This library follows [Semantic Versioning](http://semver.org/).
82+
83+
More Information: [Google Cloud Platform Launch Stages][launch_stages]
84+
85+
[launch_stages]: https://cloud.google.com/terms/launch-stages
86+
87+
## Contributing
88+
89+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
90+
91+
Please note that this `README.md`
92+
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
93+
are generated from a central template.
94+
95+
## License
96+
97+
Apache Version 2.0
98+
99+
See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
100+
101+
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
102+
[projects]: https://console.cloud.google.com/project
103+
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
104+
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=agentregistry.googleapis.com
105+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
106+
[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-agentregistry/samples
107+
[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-agentregistry/CHANGELOG.md
108+
[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-agentregistry
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "@google-cloud/agentregistry",
3+
"version": "0.1.0",
4+
"description": "Agentregistry client for Node.js",
5+
"repository": "googleapis/nodejs-agentregistry",
6+
"license": "Apache-2.0",
7+
"author": "Google LLC",
8+
"main": "build/src/index.js",
9+
"files": [
10+
"build/src",
11+
"build/protos"
12+
],
13+
"keywords": [
14+
"google apis client",
15+
"google api client",
16+
"google apis",
17+
"google api",
18+
"google",
19+
"google cloud platform",
20+
"google cloud",
21+
"cloud",
22+
"google agentregistry",
23+
"agentregistry",
24+
"agent registry"
25+
],
26+
"scripts": {
27+
"clean": "gts clean",
28+
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
29+
"compile-protos": "compileProtos src",
30+
"docs": "jsdoc -c .jsdoc.js",
31+
"fix": "gts fix",
32+
"lint": "gts check",
33+
"prepare": "npm run compile-protos && npm run compile",
34+
"system-test": "c8 mocha --config ../../.mocharc.cjs --no-parallel build/system-test",
35+
"test": "c8 mocha --config ../../.mocharc.cjs build/test"
36+
},
37+
"dependencies": {
38+
"google-gax": "^5.1.1-rc.1"
39+
},
40+
"devDependencies": {
41+
"@types/mocha": "^10.0.10",
42+
"@types/node": "^22.18.12",
43+
"@types/sinon": "^20.0.0",
44+
"c8": "^10.1.3",
45+
"gapic-tools": "^1.0.3",
46+
"gts": "^6.0.2",
47+
"jsdoc": "^4.0.5",
48+
"jsdoc-fresh": "^5.0.2",
49+
"jsdoc-region-tag": "^4.0.1",
50+
"long": "^5.3.1",
51+
"mocha": "^11.7.4",
52+
"pack-n-play": "^4.2.1",
53+
"typescript": "5.8.3",
54+
"sinon": "^20.0.0"
55+
},
56+
"engines": {
57+
"node": ">=v18"
58+
}
59+
}

0 commit comments

Comments
 (0)