diff --git a/.kokoro/presubmit/node18/common.cfg b/.kokoro/presubmit/node18/common.cfg index a7b01add..f25baad1 100644 --- a/.kokoro/presubmit/node18/common.cfg +++ b/.kokoro/presubmit/node18/common.cfg @@ -11,7 +11,7 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "nodejs-vertexai/.kokoro/trampoline_v2.sh" +build_file: "nodejs-agentplatform/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { @@ -20,5 +20,5 @@ env_vars: { } env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/test.sh" + value: "github/nodejs-agentplatform/.kokoro/test.sh" } \ No newline at end of file diff --git a/.kokoro/presubmit/node18/continuous-system-test.cfg b/.kokoro/presubmit/node18/continuous-system-test.cfg index 00bff1fd..9a6b9bcb 100644 --- a/.kokoro/presubmit/node18/continuous-system-test.cfg +++ b/.kokoro/presubmit/node18/continuous-system-test.cfg @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/system-test.sh" + value: "github/nodejs-agentplatform/.kokoro/system-test.sh" } diff --git a/.kokoro/presubmit/node18/docs.cfg b/.kokoro/presubmit/node18/docs.cfg index 6bead8ae..f0b0e585 100644 --- a/.kokoro/presubmit/node18/docs.cfg +++ b/.kokoro/presubmit/node18/docs.cfg @@ -8,9 +8,9 @@ env_vars: { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "nodejs-vertexai/.kokoro/trampoline_v2.sh" +build_file: "nodejs-agentplatform/.kokoro/trampoline_v2.sh" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/presubmit/node18/docs.sh" + value: "github/nodejs-agentplatform/.kokoro/presubmit/node18/docs.sh" } \ No newline at end of file diff --git a/.kokoro/presubmit/node18/system-test.cfg b/.kokoro/presubmit/node18/system-test.cfg index 00bff1fd..9a6b9bcb 100644 --- a/.kokoro/presubmit/node18/system-test.cfg +++ b/.kokoro/presubmit/node18/system-test.cfg @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/system-test.sh" + value: "github/nodejs-agentplatform/.kokoro/system-test.sh" } diff --git a/.kokoro/presubmit/node22/common.cfg b/.kokoro/presubmit/node22/common.cfg index d9312239..8b537e4b 100644 --- a/.kokoro/presubmit/node22/common.cfg +++ b/.kokoro/presubmit/node22/common.cfg @@ -11,7 +11,7 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "nodejs-vertexai/.kokoro/trampoline_v2.sh" +build_file: "nodejs-agentplatform/.kokoro/trampoline_v2.sh" # Configure the docker image for kokoro-trampoline. env_vars: { @@ -20,5 +20,5 @@ env_vars: { } env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/test.sh" + value: "github/nodejs-agentplatform/.kokoro/test.sh" } diff --git a/.kokoro/presubmit/node22/docs.cfg b/.kokoro/presubmit/node22/docs.cfg index a248437c..790a5a29 100644 --- a/.kokoro/presubmit/node22/docs.cfg +++ b/.kokoro/presubmit/node22/docs.cfg @@ -8,9 +8,9 @@ env_vars: { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "nodejs-vertexai/.kokoro/trampoline_v2.sh" +build_file: "nodejs-agentplatform/.kokoro/trampoline_v2.sh" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/presubmit/node22/docs.sh" + value: "github/nodejs-agentplatform/.kokoro/presubmit/node22/docs.sh" } \ No newline at end of file diff --git a/.kokoro/presubmit/node22/system-test.cfg b/.kokoro/presubmit/node22/system-test.cfg index 00bff1fd..9a6b9bcb 100644 --- a/.kokoro/presubmit/node22/system-test.cfg +++ b/.kokoro/presubmit/node22/system-test.cfg @@ -3,5 +3,5 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-vertexai/.kokoro/system-test.sh" + value: "github/nodejs-agentplatform/.kokoro/system-test.sh" } diff --git a/.repo-metadata.json b/.repo-metadata.json index a58da29a..8dfa2727 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -3,7 +3,7 @@ "name_pretty": "Google Cloud Vertex AI", "release_level": "preview", "language": "nodejs", - "repo": "googleapis/nodejs-vertexai", + "repo": "googleapis/nodejs-agentplatform", "distribution_name": "@google-cloud/vertexai", "api_id": "aiplatform.googleapis.com", "api_shortname": "aiplatform", diff --git a/package.json b/package.json index 3a9a7c00..af83f829 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "engines": { "node": ">=20.0.0" }, - "homepage": "https://github.com/googleapis/nodejs-vertexai", - "repository": "googleapis/nodejs-vertexai", + "homepage": "https://github.com/googleapis/nodejs-agentplatform", + "repository": "googleapis/nodejs-agentplatform", "main": "build/src/index.js", "type": "commonjs", "scripts": { diff --git a/src/types/common.ts b/src/types/common.ts index 80b42ce2..cedb808f 100644 --- a/src/types/common.ts +++ b/src/types/common.ts @@ -156,6 +156,22 @@ export enum SandboxState { STATE_DELETED = 'STATE_DELETED', } +/** Output only. The source of the Skill. */ +export enum SkillSource { + /** + * The skill source is unspecified. + */ + SKILL_SOURCE_UNSPECIFIED = 'SKILL_SOURCE_UNSPECIFIED', + /** + * The skill is created by a user. + */ + USER = 'USER', + /** + * The skill is a system skill. + */ + SYSTEM = 'SYSTEM', +} + /** State of the Skill. */ export enum SkillState { /** @@ -180,22 +196,6 @@ export enum SkillState { DELETING = 'DELETING', } -/** Output only. The source of the Skill. */ -export enum SkillSource { - /** - * The skill source is unspecified. - */ - SKILL_SOURCE_UNSPECIFIED = 'SKILL_SOURCE_UNSPECIFIED', - /** - * The skill is created by a user. - */ - USER = 'USER', - /** - * The skill is a system skill. - */ - SYSTEM = 'SYSTEM', -} - /** Output only. The state of the Skill Revision. */ export enum State { /** @@ -2062,7 +2062,7 @@ export declare interface SandboxEnvironment { owner?: string; /** Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}` */ sandboxEnvironmentSnapshot?: string; - /** Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set. */ + /** Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. */ sandboxEnvironmentTemplate?: string; } @@ -2829,7 +2829,7 @@ export declare interface SkillRevision { name?: string; /** Output only. Timestamp when this Skill Revision was created. */ createTime?: string; - /** Output only. The state of the Skill at this revision. TODO(b/503772996) Use a different proto for skill data included in skill revision */ + /** Output only. The state of the Skill at this revision. */ skill?: Skill; } diff --git a/vertexai/package.json b/vertexai/package.json index ff61339c..1c0ac0cf 100644 --- a/vertexai/package.json +++ b/vertexai/package.json @@ -7,8 +7,8 @@ "engines": { "node": ">=20.0.0" }, - "homepage": "https://github.com/googleapis/nodejs-vertexai", - "repository": "googleapis/nodejs-vertexai", + "homepage": "https://github.com/googleapis/nodejs-agentplatform", + "repository": "googleapis/nodejs-agentplatform", "main": "build/src/index.js", "type": "commonjs", "scripts": {