uloop-cli 0.70.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/README_ja.md +4 -4
- package/dist/cli.bundle.cjs +31 -14
- package/dist/cli.bundle.cjs.map +2 -2
- package/package.json +4 -4
- package/src/default-tools.json +1 -1
- package/src/skills/skills-command.ts +13 -5
- package/src/skills/target-config.ts +18 -5
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/uloop-cli)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
|
-
**CLI companion for [
|
|
9
|
+
**CLI companion for [Unity CLI Loop](https://github.com/hatayama/uLoopMCP)** - Let AI agents compile, test, and operate your Unity project.
|
|
10
10
|
|
|
11
|
-
> **Prerequisites**: This CLI requires [
|
|
11
|
+
> **Prerequisites**: This CLI requires [Unity CLI Loop](https://github.com/hatayama/uLoopMCP) to be installed in your Unity project and the server running. See the [main repository](https://github.com/hatayama/uLoopMCP) for setup instructions.
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
@@ -421,7 +421,7 @@ uloop completion --shell powershell --install # PowerShell
|
|
|
421
421
|
|
|
422
422
|
## Requirements
|
|
423
423
|
|
|
424
|
-
- **Node.js
|
|
424
|
+
- **Node.js 22.0 or later**
|
|
425
425
|
- **Unity 2022.3 or later** with [uLoopMCP](https://github.com/hatayama/uLoopMCP) installed
|
|
426
426
|
- uLoopMCP server running (Window > uLoopMCP > Start Server)
|
|
427
427
|
|
package/README_ja.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/uloop-cli)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
|
-
**[
|
|
9
|
+
**[Unity CLI Loop](https://github.com/hatayama/uLoopMCP) の CLI コンパニオン** - AIエージェントにUnityプロジェクトのコンパイル、テスト、操作を任せましょう。
|
|
10
10
|
|
|
11
|
-
> **前提条件**: このCLIを使用するには、Unityプロジェクトに [
|
|
11
|
+
> **前提条件**: このCLIを使用するには、Unityプロジェクトに [Unity CLI Loop](https://github.com/hatayama/uLoopMCP) がインストールされ、サーバーが起動している必要があります。セットアップ手順は [メインリポジトリ](https://github.com/hatayama/uLoopMCP) を参照してください。
|
|
12
12
|
|
|
13
13
|
## インストール
|
|
14
14
|
|
|
@@ -421,7 +421,7 @@ uloop completion --shell powershell --install # PowerShell
|
|
|
421
421
|
|
|
422
422
|
## 動作要件
|
|
423
423
|
|
|
424
|
-
- **Node.js
|
|
424
|
+
- **Node.js 22.0 以降**
|
|
425
425
|
- **Unity 2022.3 以降**([uLoopMCP](https://github.com/hatayama/uLoopMCP) がインストール済みであること)
|
|
426
426
|
- uLoopMCP サーバーが起動していること(Window > uLoopMCP > Start Server)
|
|
427
427
|
|
package/dist/cli.bundle.cjs
CHANGED
|
@@ -5886,7 +5886,7 @@ var import_path4 = require("path");
|
|
|
5886
5886
|
|
|
5887
5887
|
// src/default-tools.json
|
|
5888
5888
|
var default_tools_default = {
|
|
5889
|
-
version: "0.
|
|
5889
|
+
version: "1.0.2",
|
|
5890
5890
|
tools: [
|
|
5891
5891
|
{
|
|
5892
5892
|
name: "compile",
|
|
@@ -6486,7 +6486,7 @@ function getCachedServerVersion() {
|
|
|
6486
6486
|
}
|
|
6487
6487
|
|
|
6488
6488
|
// src/version.ts
|
|
6489
|
-
var VERSION = "0.
|
|
6489
|
+
var VERSION = "1.0.2";
|
|
6490
6490
|
|
|
6491
6491
|
// src/spinner.ts
|
|
6492
6492
|
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
@@ -7762,7 +7762,7 @@ var TARGET_CONFIGS = {
|
|
|
7762
7762
|
codex: {
|
|
7763
7763
|
id: "codex",
|
|
7764
7764
|
displayName: "Codex CLI",
|
|
7765
|
-
projectDir: ".
|
|
7765
|
+
projectDir: ".agents",
|
|
7766
7766
|
skillFileName: "SKILL.md"
|
|
7767
7767
|
},
|
|
7768
7768
|
cursor: {
|
|
@@ -7774,17 +7774,30 @@ var TARGET_CONFIGS = {
|
|
|
7774
7774
|
gemini: {
|
|
7775
7775
|
id: "gemini",
|
|
7776
7776
|
displayName: "Gemini CLI",
|
|
7777
|
-
projectDir: ".
|
|
7777
|
+
projectDir: ".agents",
|
|
7778
7778
|
skillFileName: "SKILL.md"
|
|
7779
7779
|
},
|
|
7780
7780
|
windsurf: {
|
|
7781
7781
|
id: "windsurf",
|
|
7782
7782
|
displayName: "Windsurf",
|
|
7783
|
-
projectDir: ".
|
|
7783
|
+
projectDir: ".agents",
|
|
7784
|
+
skillFileName: "SKILL.md"
|
|
7785
|
+
},
|
|
7786
|
+
antigravity: {
|
|
7787
|
+
id: "antigravity",
|
|
7788
|
+
displayName: "Antigravity",
|
|
7789
|
+
projectDir: ".agent",
|
|
7784
7790
|
skillFileName: "SKILL.md"
|
|
7785
7791
|
}
|
|
7786
7792
|
};
|
|
7787
|
-
var ALL_TARGET_IDS = [
|
|
7793
|
+
var ALL_TARGET_IDS = [
|
|
7794
|
+
"claude",
|
|
7795
|
+
"codex",
|
|
7796
|
+
"cursor",
|
|
7797
|
+
"gemini",
|
|
7798
|
+
"windsurf",
|
|
7799
|
+
"antigravity"
|
|
7800
|
+
];
|
|
7788
7801
|
function getTargetConfig(id) {
|
|
7789
7802
|
return TARGET_CONFIGS[id];
|
|
7790
7803
|
}
|
|
@@ -7792,12 +7805,12 @@ function getTargetConfig(id) {
|
|
|
7792
7805
|
// src/skills/skills-command.ts
|
|
7793
7806
|
function registerSkillsCommand(program3) {
|
|
7794
7807
|
const skillsCmd = program3.command("skills").description("Manage uloop skills for AI coding tools");
|
|
7795
|
-
skillsCmd.command("list").description("List all uloop skills and their installation status").option("-g, --global", "Check global installation").option("--claude", "Check Claude Code installation").option("--codex", "Check Codex CLI installation").option("--cursor", "Check Cursor installation").option("--gemini", "Check Gemini CLI installation").option("--windsurf", "Check Windsurf installation").action((options) => {
|
|
7808
|
+
skillsCmd.command("list").description("List all uloop skills and their installation status").option("-g, --global", "Check global installation").option("--claude", "Check Claude Code installation").option("--codex", "Check Codex CLI installation").option("--cursor", "Check Cursor installation").option("--gemini", "Check Gemini CLI installation").option("--windsurf", "Check Windsurf installation").option("--antigravity", "Check Antigravity installation").action((options) => {
|
|
7796
7809
|
const targets = resolveTargets(options);
|
|
7797
7810
|
const global = options.global ?? false;
|
|
7798
7811
|
listSkills(targets, global);
|
|
7799
7812
|
});
|
|
7800
|
-
skillsCmd.command("install").description("Install all uloop skills").option("-g, --global", "Install to global location").option("--claude", "Install to Claude Code").option("--codex", "Install to Codex CLI").option("--cursor", "Install to Cursor").option("--gemini", "Install to Gemini CLI").option("--windsurf", "Install to Windsurf").action((options) => {
|
|
7813
|
+
skillsCmd.command("install").description("Install all uloop skills").option("-g, --global", "Install to global location").option("--claude", "Install to Claude Code").option("--codex", "Install to Codex CLI").option("--cursor", "Install to Cursor").option("--gemini", "Install to Gemini CLI").option("--windsurf", "Install to Windsurf").option("--antigravity", "Install to Antigravity").action((options) => {
|
|
7801
7814
|
const targets = resolveTargets(options);
|
|
7802
7815
|
if (targets.length === 0) {
|
|
7803
7816
|
showTargetGuidance("install");
|
|
@@ -7805,7 +7818,7 @@ function registerSkillsCommand(program3) {
|
|
|
7805
7818
|
}
|
|
7806
7819
|
installSkills(targets, options.global ?? false);
|
|
7807
7820
|
});
|
|
7808
|
-
skillsCmd.command("uninstall").description("Uninstall all uloop skills").option("-g, --global", "Uninstall from global location").option("--claude", "Uninstall from Claude Code").option("--codex", "Uninstall from Codex CLI").option("--cursor", "Uninstall from Cursor").option("--gemini", "Uninstall from Gemini CLI").option("--windsurf", "Uninstall from Windsurf").action((options) => {
|
|
7821
|
+
skillsCmd.command("uninstall").description("Uninstall all uloop skills").option("-g, --global", "Uninstall from global location").option("--claude", "Uninstall from Claude Code").option("--codex", "Uninstall from Codex CLI").option("--cursor", "Uninstall from Cursor").option("--gemini", "Uninstall from Gemini CLI").option("--windsurf", "Uninstall from Windsurf").option("--antigravity", "Uninstall from Antigravity").action((options) => {
|
|
7809
7822
|
const targets = resolveTargets(options);
|
|
7810
7823
|
if (targets.length === 0) {
|
|
7811
7824
|
showTargetGuidance("uninstall");
|
|
@@ -7831,6 +7844,9 @@ function resolveTargets(options) {
|
|
|
7831
7844
|
if (options.windsurf) {
|
|
7832
7845
|
targets.push(getTargetConfig("windsurf"));
|
|
7833
7846
|
}
|
|
7847
|
+
if (options.antigravity) {
|
|
7848
|
+
targets.push(getTargetConfig("antigravity"));
|
|
7849
|
+
}
|
|
7834
7850
|
return targets;
|
|
7835
7851
|
}
|
|
7836
7852
|
function showTargetGuidance(command) {
|
|
@@ -7838,11 +7854,12 @@ function showTargetGuidance(command) {
|
|
|
7838
7854
|
Please specify at least one target for '${command}':`);
|
|
7839
7855
|
console.log("");
|
|
7840
7856
|
console.log("Available targets:");
|
|
7841
|
-
console.log(" --claude
|
|
7842
|
-
console.log(" --codex
|
|
7843
|
-
console.log(" --cursor
|
|
7844
|
-
console.log(" --gemini
|
|
7845
|
-
console.log(" --windsurf
|
|
7857
|
+
console.log(" --claude Claude Code (.claude/skills/)");
|
|
7858
|
+
console.log(" --codex Codex CLI (.agents/skills/)");
|
|
7859
|
+
console.log(" --cursor Cursor (.cursor/skills/)");
|
|
7860
|
+
console.log(" --gemini Gemini CLI (.agents/skills/)");
|
|
7861
|
+
console.log(" --windsurf Windsurf (.agents/skills/)");
|
|
7862
|
+
console.log(" --antigravity Antigravity (.agent/skills/)");
|
|
7846
7863
|
console.log("");
|
|
7847
7864
|
console.log("Options:");
|
|
7848
7865
|
console.log(" -g, --global Use global location");
|