Skip to content

Fixes - #277

Merged
nickscamara merged 2 commits into
mainfrom
nsc/cli-fixes
Sep 22, 2026
Merged

Fixes#277
nickscamara merged 2 commits into
mainfrom
nsc/cli-fixes

Conversation

@nickscamara

@nickscamara nickscamara commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Summary by cubic

The --alexandria flag now accepts the HTTP contract's JSON object form alongside the existing provider/capability address, and find-tools list selectors accept comma-separated strings. Validation is stricter: malformed addresses and conflicting options are rejected locally instead of reaching the API.

  • Added normalizeFindToolsOptions so providers, categories, groups, capabilities, and expand accept comma-separated strings; urls is never split since commas are legal inside URLs.
  • --alexandria parses bare addresses (trimming whitespace around the slash) and JSON objects; options inside the object and via --options are mutually exclusive, and empty address parts are rejected.
  • Extended tests cover the new forms, reject invalid input, and bump the CLI version to 1.24.4.

Written for commit cab9efd. Summary will update on new commits.

Review in cubic

@nickscamara

Copy link
Copy Markdown
Member Author

@cubic review

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

@cubic review

@nickscamara I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Shadow auto-approve: would not auto-approve because issues were found.

Fix all with cubic | Re-trigger cubic

Comment thread src/commands/alexandria.ts Outdated
Comment thread src/commands/alexandria.ts Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Shadow auto-approve: would not auto-approve because issues were found.

Fix all with cubic | Re-trigger cubic

Comment thread src/commands/alexandria.ts
@nickscamara
nickscamara merged commit 8f954f6 into main Sep 22, 2026
8 checks passed
@nickscamara
nickscamara deleted the nsc/cli-fixes branch September 22, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant