@google/gemini-cli-core 0.36.0-preview.4 → 0.36.0-preview.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/core/remote-agents.md +96 -6
- package/dist/{google-gemini-cli-core-0.36.0-preview.3.tgz → google-gemini-cli-core-0.36.0-preview.4.tgz} +0 -0
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -51,12 +51,13 @@ You can place them in:
|
|
|
51
51
|
|
|
52
52
|
### Configuration schema
|
|
53
53
|
|
|
54
|
-
| Field
|
|
55
|
-
|
|
|
56
|
-
| `kind`
|
|
57
|
-
| `name`
|
|
58
|
-
| `agent_card_url`
|
|
59
|
-
| `
|
|
54
|
+
| Field | Type | Required | Description |
|
|
55
|
+
| :---------------- | :----- | :------- | :------------------------------------------------------------------------------------------------------------- |
|
|
56
|
+
| `kind` | string | Yes | Must be `remote`. |
|
|
57
|
+
| `name` | string | Yes | A unique name for the agent. Must be a valid slug (lowercase letters, numbers, hyphens, and underscores only). |
|
|
58
|
+
| `agent_card_url` | string | Yes\* | The URL to the agent's A2A card endpoint. Required if `agent_card_json` is not provided. |
|
|
59
|
+
| `agent_card_json` | string | Yes\* | The inline JSON string of the agent's A2A card. Required if `agent_card_url` is not provided. |
|
|
60
|
+
| `auth` | object | No | Authentication configuration. See [Authentication](#authentication). |
|
|
60
61
|
|
|
61
62
|
### Single-subagent example
|
|
62
63
|
|
|
@@ -88,6 +89,95 @@ Markdown file.
|
|
|
88
89
|
> [!NOTE] Mixed local and remote agents, or multiple local agents, are not
|
|
89
90
|
> supported in a single file; the list format is currently remote-only.
|
|
90
91
|
|
|
92
|
+
### Inline Agent Card JSON
|
|
93
|
+
|
|
94
|
+
<details>
|
|
95
|
+
<summary>View formatting options for JSON strings</summary>
|
|
96
|
+
|
|
97
|
+
If you don't have an endpoint serving the agent card, you can provide the A2A
|
|
98
|
+
card directly as a JSON string using `agent_card_json`.
|
|
99
|
+
|
|
100
|
+
When providing a JSON string in YAML, you must properly format it as a string
|
|
101
|
+
scalar. You can use single quotes, a block scalar, or double quotes (which
|
|
102
|
+
require escaping internal double quotes).
|
|
103
|
+
|
|
104
|
+
#### Using single quotes
|
|
105
|
+
|
|
106
|
+
Single quotes allow you to embed unescaped double quotes inside the JSON string.
|
|
107
|
+
This format is useful for shorter, single-line JSON strings.
|
|
108
|
+
|
|
109
|
+
```markdown
|
|
110
|
+
---
|
|
111
|
+
kind: remote
|
|
112
|
+
name: single-quotes-agent
|
|
113
|
+
agent_card_json:
|
|
114
|
+
'{ "protocolVersion": "0.3.0", "name": "Example Agent", "version": "1.0.0",
|
|
115
|
+
"url": "dummy-url" }'
|
|
116
|
+
---
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
#### Using a block scalar
|
|
120
|
+
|
|
121
|
+
The literal block scalar (`|`) preserves line breaks and is highly recommended
|
|
122
|
+
for multiline JSON strings as it avoids quote escaping entirely. The following
|
|
123
|
+
is a complete, valid Agent Card configuration using dummy values.
|
|
124
|
+
|
|
125
|
+
```markdown
|
|
126
|
+
---
|
|
127
|
+
kind: remote
|
|
128
|
+
name: block-scalar-agent
|
|
129
|
+
agent_card_json: |
|
|
130
|
+
{
|
|
131
|
+
"protocolVersion": "0.3.0",
|
|
132
|
+
"name": "Example Agent Name",
|
|
133
|
+
"description": "An example agent description for documentation purposes.",
|
|
134
|
+
"version": "1.0.0",
|
|
135
|
+
"url": "dummy-url",
|
|
136
|
+
"preferredTransport": "HTTP+JSON",
|
|
137
|
+
"capabilities": {
|
|
138
|
+
"streaming": true,
|
|
139
|
+
"extendedAgentCard": false
|
|
140
|
+
},
|
|
141
|
+
"defaultInputModes": [
|
|
142
|
+
"text/plain"
|
|
143
|
+
],
|
|
144
|
+
"defaultOutputModes": [
|
|
145
|
+
"application/json"
|
|
146
|
+
],
|
|
147
|
+
"skills": [
|
|
148
|
+
{
|
|
149
|
+
"id": "ExampleSkill",
|
|
150
|
+
"name": "Example Skill Assistant",
|
|
151
|
+
"description": "A description of what this example skill does.",
|
|
152
|
+
"tags": [
|
|
153
|
+
"example-tag"
|
|
154
|
+
],
|
|
155
|
+
"examples": [
|
|
156
|
+
"Show me an example."
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
---
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
#### Using double quotes
|
|
165
|
+
|
|
166
|
+
Double quotes are also supported, but any internal double quotes in your JSON
|
|
167
|
+
must be escaped with a backslash.
|
|
168
|
+
|
|
169
|
+
```markdown
|
|
170
|
+
---
|
|
171
|
+
kind: remote
|
|
172
|
+
name: double-quotes-agent
|
|
173
|
+
agent_card_json:
|
|
174
|
+
'{ "protocolVersion": "0.3.0", "name": "Example Agent", "version": "1.0.0",
|
|
175
|
+
"url": "dummy-url" }'
|
|
176
|
+
---
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
</details>
|
|
180
|
+
|
|
91
181
|
## Authentication
|
|
92
182
|
|
|
93
183
|
Many remote agents require authentication. Gemini CLI supports several
|
|
Binary file
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2026 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
export declare const GIT_COMMIT_INFO = "
|
|
7
|
-
export declare const CLI_VERSION = "0.36.0-preview.
|
|
6
|
+
export declare const GIT_COMMIT_INFO = "310db3b82";
|
|
7
|
+
export declare const CLI_VERSION = "0.36.0-preview.5";
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
// This file is auto-generated by the build script (scripts/generate-git-commit-info.js)
|
|
7
7
|
// Do not edit this file manually.
|
|
8
|
-
export const GIT_COMMIT_INFO = '
|
|
9
|
-
export const CLI_VERSION = '0.36.0-preview.
|
|
8
|
+
export const GIT_COMMIT_INFO = '310db3b82';
|
|
9
|
+
export const CLI_VERSION = '0.36.0-preview.5';
|
|
10
10
|
//# sourceMappingURL=git-commit.js.map
|