mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
- Rewrite .github/workflows/desktop.yml: 2-job pipeline (validate + build-and-release) with rolling desktop-latest pre-release on push to main and stable desktop-v* releases - Add UpdateChecker component: checks for updates on startup + every 30 min, background download with progress bar, one-click relaunch - Configure Tauri updater: endpoints pointing to desktop-latest release, pubkey placeholder - Add tauri-plugin-process for relaunch support (Cargo.toml, lib.rs, package.json) - Add macOS Entitlements.plist for notarization (network + file access, no sandbox) - Add scripts/bump-desktop-version.sh for atomic version bumps across 3 config files - Add desktop/README.md with dev setup, auto-update architecture, signing docs - Update .gitignore for desktop/node_modules, dist, target - Configure macOS minimumSystemVersion, Windows timestampUrl - Include all Phase 14-21 work: agent hardening, RBAC, taint tracking, workflows, skills, knowledge graph, sessions, A2A, MCP templates, WASM sandbox, TUI dashboard, production tools, CLI expansion, API expansion, learning productionization, Tauri desktop app, and 10 new channels Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
951 B
Python
30 lines
951 B
Python
"""Tests for the ``jarvis skill`` CLI commands."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from click.testing import CliRunner
|
|
|
|
from openjarvis.cli import cli
|
|
|
|
|
|
class TestSkillCmd:
|
|
def test_skill_list_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["skill", "list", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_skill_install_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["skill", "install", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_skill_search_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["skill", "search", "--help"])
|
|
assert result.exit_code == 0
|
|
|
|
def test_skill_group_help(self) -> None:
|
|
result = CliRunner().invoke(cli, ["skill", "--help"])
|
|
assert result.exit_code == 0
|
|
assert "list" in result.output
|
|
assert "install" in result.output
|
|
assert "remove" in result.output
|
|
assert "search" in result.output
|