Skip to content

fix(tarko): report package version in standalone CLI - #1948

Open
dajiaohuang wants to merge 1 commit into
bytedance:mainfrom
dajiaohuang:fix/tarko-cli-version-output
Open

fix(tarko): report package version in standalone CLI#1948
dajiaohuang wants to merge 1 commit into
bytedance:mainfrom
dajiaohuang:fix/tarko-cli-version-output

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

Close: #1946

  • pass the standalone package version through the existing versionInfo.version option consumed by AgentCLI
  • add a subprocess regression test for the published bin-to-CLI boundary
  • keep the version sourced from package.json, so future releases do not require another hard-coded update

Validation

  • pnpm --filter @tarko/agent-cli exec vitest run tests/cli-version.test.ts (1 passed)
  • pnpm --filter @tarko/agent-cli exec tsc --noEmit -p tsconfig.json
  • pnpm --filter @tarko/agent-cli... --filter '!@tarko/agio' build
  • node multimodal/tarko/agent-cli/bin/cli.js --version -> tarko/0.3.0 win32-x64 node-v24.14.1

The full dependency build reaches an unrelated existing Windows quoting failure in @tarko/agio's build:json-schema script; its rslib declarations build successfully, and excluding that schema-only step allows the target package build to complete.

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit ec9f7d9
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/6a89a336b29bc800086320dd
😎 Deploy Preview https://deploy-preview-1948--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

Deploy Preview for tarko ready!

Name Link
🔨 Latest commit ec9f7d9
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/6a89a336078bba00081bd655
😎 Deploy Preview https://deploy-preview-1948--tarko.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

[Bug Report]: Standalone Tarko CLI --version reports 1.0.0 instead of package version

1 participant