@orchagent/cli 0.3.97 → 0.3.98
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/commands/publish.js +6 -6
- package/package.json +1 -1
package/dist/commands/publish.js
CHANGED
|
@@ -506,8 +506,8 @@ async function batchPublish(rootDir, options) {
|
|
|
506
506
|
forwardArgs.push('--skills-locked');
|
|
507
507
|
if (options.docker)
|
|
508
508
|
forwardArgs.push('--docker');
|
|
509
|
-
if (options.localDownload)
|
|
510
|
-
forwardArgs.push('--local-download');
|
|
509
|
+
if (options.localDownload === false)
|
|
510
|
+
forwardArgs.push('--no-local-download');
|
|
511
511
|
if (options.requiredSecrets === false)
|
|
512
512
|
forwardArgs.push('--no-required-secrets');
|
|
513
513
|
const results = [];
|
|
@@ -583,7 +583,7 @@ function registerPublishCommand(program) {
|
|
|
583
583
|
.option('--skills <skills>', 'Default skills (comma-separated, e.g., org/skill@v1,org/other@v1)')
|
|
584
584
|
.option('--skills-locked', 'Lock default skills (callers cannot override via headers)')
|
|
585
585
|
.option('--docker', 'Include Dockerfile for custom environment (builds E2B template)')
|
|
586
|
-
.option('--local-download', '
|
|
586
|
+
.option('--no-local-download', 'Prevent users from downloading and running locally (default: allowed)')
|
|
587
587
|
.option('--no-required-secrets', '(deprecated) No longer needed — required_secrets defaults to []')
|
|
588
588
|
.option('--all', 'Publish all agents in subdirectories (dependency order)')
|
|
589
589
|
.action(async (options) => {
|
|
@@ -688,7 +688,7 @@ function registerPublishCommand(program) {
|
|
|
688
688
|
skills_locked: options.skillsLocked || undefined,
|
|
689
689
|
// SC-05: Include all skill files for UI preview
|
|
690
690
|
skill_files: hasMultipleFiles ? skillFiles : undefined,
|
|
691
|
-
allow_local_download: options.localDownload
|
|
691
|
+
allow_local_download: options.localDownload !== false,
|
|
692
692
|
}, workspaceId);
|
|
693
693
|
const skillVersion = skillResult.agent?.version || 'v1';
|
|
694
694
|
const skillAgentId = skillResult.agent?.id;
|
|
@@ -1124,7 +1124,7 @@ function registerPublishCommand(program) {
|
|
|
1124
1124
|
required_secrets: manifest.required_secrets,
|
|
1125
1125
|
default_skills: skillsFromFlag || manifest.default_skills,
|
|
1126
1126
|
skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
|
|
1127
|
-
allow_local_download: options.localDownload
|
|
1127
|
+
allow_local_download: options.localDownload !== false,
|
|
1128
1128
|
environment: manifest.environment,
|
|
1129
1129
|
}, workspaceId);
|
|
1130
1130
|
if (validation.warnings?.length) {
|
|
@@ -1225,7 +1225,7 @@ function registerPublishCommand(program) {
|
|
|
1225
1225
|
required_secrets: manifest.required_secrets,
|
|
1226
1226
|
default_skills: skillsFromFlag || manifest.default_skills,
|
|
1227
1227
|
skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
|
|
1228
|
-
allow_local_download: options.localDownload
|
|
1228
|
+
allow_local_download: options.localDownload !== false,
|
|
1229
1229
|
// Environment pinning
|
|
1230
1230
|
environment: manifest.environment,
|
|
1231
1231
|
}, workspaceId);
|
package/package.json
CHANGED