Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# H Company Models API key. Get one at https://portal.hcompany.ai.
# `holo login` provisions this automatically and writes it to ~/.holo/.env.
# For dev overrides, set it here, in ~/.holo/.env, or as a process env var.
# HAI_API_KEY=
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default owners for everything in this repo.
* @abonneth @h-kaiy @cm2435-hcomp
84 changes: 84 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at contact@hcompany.ai. All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of actions.

**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug report
description: Something in holo-desktop-cli isn't working as expected.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for the report. Please don't file security issues here. See [SECURITY.md](../../SECURITY.md) instead.
- type: textarea
id: what-happened
attributes:
label: What happened
description: What did you do and what went wrong? Include the exact `holo ...` command.
placeholder: |
$ holo run "..."
...
validations:
required: true
- type: textarea
id: expected
attributes:
label: What you expected instead
validations:
required: true
- type: input
id: os
attributes:
label: OS and architecture
placeholder: macOS 15.5 (arm64) / Ubuntu 24.04 (x86_64) / Windows 11
validations:
required: true
- type: input
id: version
attributes:
label: holo-desktop-cli version
description: From `pip show holo-desktop-cli`, or the version in pyproject.toml for a checkout.
validations:
required: true
- type: textarea
id: doctor
attributes:
label: holo doctor output
description: Paste `holo doctor`. It reports the binary, login, and runtime version.
render: text
- type: textarea
id: logs
attributes:
label: Relevant logs
description: Runtime stderr from `~/.holo/logs/hai-agent-runtime-<port>.log`, if any.
render: text
- type: checkboxes
id: not-security
attributes:
label: Confirmation
options:
- label: This is not a security vulnerability (those go to SECURITY.md, not public issues).
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Security vulnerability
url: https://github.com/hcompai/holo-desktop-cli/security/advisories/new
about: Report security issues privately via a GitHub advisory, not a public issue.
- name: Questions and general help
url: mailto:contact@hcompany.ai
about: For usage questions and anything that isn't a bug or feature request.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Feature request
description: Suggest an idea or improvement.
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: Problem / motivation
description: What are you trying to do, and what gets in the way today?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed solution
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
- type: dropdown
id: surface
attributes:
label: Which surface does this affect?
multiple: true
options:
- CLI (holo run)
- MCP (holo mcp / install)
- ACP (holo acp)
- A2A (holo serve)
- Python API
- Other / not sure
validations:
required: true
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Summary

<!-- What does this change do, and why? -->

## How tested

<!-- e.g. `make check` (ruff + mypy + pytest), a manual `holo ...` run, new tests -->

## Checklist

- [ ] `make check` passes
- [ ] Updated `CHANGELOG.md` if this is a user-facing change
- [ ] PR title follows the commit convention (e.g. `fix:`, `feat:`, `docs:`)

Closes #
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
python:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
# Backstop for sub-calls that print before main() reconfigures stdout (cp1252 otherwise).
PYTHONIOENCODING: utf-8
PYTHONUTF8: "1"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv sync --all-groups
- name: ruff (lint)
run: uv run ruff check .
- name: ruff (format)
run: uv run ruff format --check .
- name: mypy
if: matrix.os == 'ubuntu-latest'
run: uv run mypy src/
- name: pytest
run: uv run pytest --cov --cov-report=xml
- name: upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
- name: examples
if: matrix.os == 'ubuntu-latest'
run: scripts/ci_examples.sh
- name: smoke imports + CLI
run: |
uv run python -c "import holo_desktop; import holo_desktop.cli.mcp; import holo_desktop.cli.serve; import holo_desktop.cli.acp; import holo_desktop.cli.hosts; import holo_desktop.cli; import holo_desktop.agent_client; from holo_desktop import __version__; print(__version__)"
uv run holo install list
uv run holo install cursor
Loading
Loading