@orchagent/cli 0.3.104 → 0.3.106

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.
@@ -91,6 +91,8 @@ async function getAgentInfo(config, org, agent, version, workspaceId) {
91
91
  default_skills: meta.default_skills || [],
92
92
  custom_tools: extractCustomTools(manifest),
93
93
  environment: manifest?.environment,
94
+ required_secrets: meta.required_secrets || [],
95
+ optional_secrets: meta.optional_secrets || [],
94
96
  };
95
97
  }
96
98
  catch (err) {
@@ -139,6 +141,8 @@ async function getAgentInfo(config, org, agent, version, workspaceId) {
139
141
  default_skills: targetAgent.default_skills || [],
140
142
  custom_tools: extractCustomTools(agentManifest),
141
143
  environment: agentManifest?.environment,
144
+ required_secrets: targetAgent.required_secrets || [],
145
+ optional_secrets: targetAgent.optional_secrets || [],
142
146
  };
143
147
  }
144
148
  function registerInfoCommand(program) {
@@ -180,6 +184,15 @@ function registerInfoCommand(program) {
180
184
  process.stdout.write(`Callable: ${chalk_1.default.green('yes')} — other agents can invoke this via the orchagent SDK\n`);
181
185
  }
182
186
  process.stdout.write(`Providers: ${agentData.supported_providers.join(', ')}\n`);
187
+ // Display secrets
188
+ const hasRequired = agentData.required_secrets && agentData.required_secrets.length > 0;
189
+ const hasOptional = agentData.optional_secrets && agentData.optional_secrets.length > 0;
190
+ if (hasRequired) {
191
+ process.stdout.write(`Secrets (required): ${agentData.required_secrets.join(', ')}\n`);
192
+ }
193
+ if (hasOptional) {
194
+ process.stdout.write(`Secrets (optional): ${agentData.optional_secrets.join(', ')}\n`);
195
+ }
183
196
  if (agentData.type === 'tool') {
184
197
  // Don't show internal routing URLs - they confuse users
185
198
  if (agentData.url && !agentData.url.includes('.internal')) {
@@ -1231,6 +1231,7 @@ function registerPublishCommand(program) {
1231
1231
  sdk_compatible: sdkCompatible || undefined,
1232
1232
  manifest: manifest.manifest,
1233
1233
  required_secrets: manifest.required_secrets,
1234
+ optional_secrets: manifest.optional_secrets,
1234
1235
  default_skills: skillsFromFlag || manifest.default_skills,
1235
1236
  skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
1236
1237
  allow_local_download: options.localDownload !== false,
@@ -1332,6 +1333,7 @@ function registerPublishCommand(program) {
1332
1333
  // Orchestration manifest (includes dependencies)
1333
1334
  manifest: manifest.manifest,
1334
1335
  required_secrets: manifest.required_secrets,
1336
+ optional_secrets: manifest.optional_secrets,
1335
1337
  default_skills: skillsFromFlag || manifest.default_skills,
1336
1338
  skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
1337
1339
  allow_local_download: options.localDownload !== false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.104",
3
+ "version": "0.3.106",
4
4
  "description": "Command-line interface for orchagent — deploy and run AI agents for your team",
5
5
  "license": "MIT",
6
6
  "author": "orchagent <hello@orchagent.io>",