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

videcoding/cli

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideCoding CLI

This repository is primarily set up for local development, building, and testing.

Development Environment

Requirements:

  • Bun 1.3+
  • Node.js 18+
  • macOS for GUI automation work and bun run smoke:gui

Install dependencies:

bun install

Run from source:

bun run dev

Useful variants:

bun run dev -- --help
bun run dev -- --version

bun run dev executes scripts/dev.ts, which builds src/entrypoints/cli.tsx into dist/src-build/cli.js and runs that bundle with the shared feature configuration used by the build pipeline.

Build

Build the CLI:

bun run build

Build output is written to dist:

Clean generated output:

bun run clean

Test Commands

Testing scope and stop-rule are documented in TESTING.md.

Unit and integration tests:

bun run test

Coverage report:

bun run test:coverage

Standard smoke test:

bun run smoke

GUI smoke test:

bun run smoke:gui

Test layering:

  • bun run test: source-level tests for modules, handlers, and entrypoints
  • bun run smoke: built-artifact smoke checks in the current machine environment
  • bun run smoke:gui: macOS desktop smoke checks

Recommended validation sequence:

bun install
bun run test
bun run build
bun run smoke
bun run smoke:gui

What bun run smoke Covers

The standard smoke test currently verifies:

  • build success
  • ./dist/claude --version
  • ./dist/claude --help
  • ./dist/claude auth status --text
  • ./dist/claude plugin list
  • ./dist/claude mcp list
  • ./dist/claude agents
  • workspace package loading
  • computer-use MCP server initialization

What bun run smoke:gui Covers

The GUI smoke test currently verifies:

  1. build
  2. GUI permission preflight
  3. frontmost app and mouse position checks
  4. package-backed screenshot capture
  5. executor screenshot
  6. mouse move and restore
  7. key press and release
  8. opening TextEdit, creating a document, inserting a fixed test string, and verifying the document content

Permissions involved:

  • Accessibility
  • Screen Recording

If Screen Recording is granted during the run, macOS may still require restarting the terminal before the GUI smoke test can fully pass.

Workspace Packages Used In Development

The main local workspace packages involved in development and smoke coverage are:

Repository Layout

  • src: main CLI source
  • packages: local workspace packages
  • scripts: build, development, and smoke-test scripts
  • vendor: vendored helper binaries such as fallback ripgrep

Current Notes

  • The repository is documented as VideCoding CLI, but the current runtime identifiers and binary paths still use claude naming internally.
  • Actual model use still requires a valid login state.
  • GUI validation depends on a real macOS desktop session with the required permissions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

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