Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Update CLI#61

Merged
h3xxit merged 8 commits intomainuniversal-tool-calling-protocol/python-utcp:mainfrom
devuniversal-tool-calling-protocol/python-utcp:devCopy head branch name to clipboard
Sep 7, 2025
Merged

Update CLI#61
h3xxit merged 8 commits intomainuniversal-tool-calling-protocol/python-utcp:mainfrom
devuniversal-tool-calling-protocol/python-utcp:devCopy head branch name to clipboard

Conversation

@h3xxit
Copy link
Member

@h3xxit h3xxit commented Sep 7, 2025

Summary by cubic

Adds multi-command execution to the CLI protocol with stateful, cross‑platform scripts and flexible output control. Replaces command_name with a commands array, updates docs, and expands tests.

  • New Features

    • Run multiple commands in one subprocess (PowerShell on Windows, Bash on Unix/macOS)
    • Preserve state across steps (cd, env); reference outputs with $CMD_0_OUTPUT, $CMD_1_OUTPUT
    • UTCP_ARG_argname_UTCP_END placeholders; per-step append_to_final_output (defaults to last only)
    • Improved error handling and a 120s default timeout; JSON output auto-parsed when applicable
    • Registration uses the first command for discovery; docs updated with cross‑platform examples and security notes
  • Migration

    • Replace command_name with commands: [{"command": "...", "append_to_final_output": true|false}]
    • For single commands: commands: [{"command": ""}]
    • Use UTCP_ARG__UTCP_END for argument substitution inside commands
    • Assume platform-specific syntax (PowerShell vs Bash); only last command’s output is returned by default

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

7 issues found across 6 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

plugins/communication_protocols/cli/README.md Outdated Show resolved Hide resolved
plugins/communication_protocols/cli/README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@h3xxit h3xxit merged commit 7ba8b3c into main Sep 7, 2025
18 checks passed
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.