Files
stack/packages/cli-tools/package.json
Jason Woltje 32c81e96cf
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: Add @mosaic/cli-tools package for git operations
New package providing CLI tools that work with both Gitea and GitHub:

Commands:
- mosaic-issue-{create,list,view,assign,edit,close,reopen,comment}
- mosaic-pr-{create,list,view,merge,review,close}
- mosaic-milestone-{create,list,close}

Features:
- Auto-detects platform (Gitea vs GitHub) from git remote
- Unified interface regardless of platform
- Available via `pnpm exec mosaic-*` in monorepo context

Updated docs/claude/orchestrator.md:
- Added CLI Tools section with usage examples
- Updated issue creation to use package commands

This makes Mosaic Stack fully self-contained for orchestration tooling.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:42:35 -06:00

45 lines
1.3 KiB
JSON

{
"name": "@mosaic/cli-tools",
"version": "0.0.1",
"description": "CLI tools for Mosaic Stack orchestration - git operations for Gitea/GitHub",
"private": true,
"bin": {
"mosaic-detect-platform": "./bin/detect-platform.sh",
"mosaic-issue-assign": "./bin/issue-assign.sh",
"mosaic-issue-close": "./bin/issue-close.sh",
"mosaic-issue-comment": "./bin/issue-comment.sh",
"mosaic-issue-create": "./bin/issue-create.sh",
"mosaic-issue-edit": "./bin/issue-edit.sh",
"mosaic-issue-list": "./bin/issue-list.sh",
"mosaic-issue-reopen": "./bin/issue-reopen.sh",
"mosaic-issue-view": "./bin/issue-view.sh",
"mosaic-milestone-close": "./bin/milestone-close.sh",
"mosaic-milestone-create": "./bin/milestone-create.sh",
"mosaic-milestone-list": "./bin/milestone-list.sh",
"mosaic-pr-close": "./bin/pr-close.sh",
"mosaic-pr-create": "./bin/pr-create.sh",
"mosaic-pr-list": "./bin/pr-list.sh",
"mosaic-pr-merge": "./bin/pr-merge.sh",
"mosaic-pr-review": "./bin/pr-review.sh",
"mosaic-pr-view": "./bin/pr-view.sh"
},
"scripts": {
"lint": "shellcheck bin/*.sh || true",
"test": "echo 'No tests yet'"
},
"keywords": [
"cli",
"git",
"gitea",
"github",
"orchestration"
],
"engines": {
"node": ">=18"
},
"os": [
"linux",
"darwin"
]
}