uloop-cli 0.70.1 → 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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "uloop-cli",
3
- "version": "0.70.1",
3
+ "version": "1.0.2",
4
4
  "//version": "x-release-please-version",
5
- "description": "CLI tool for Unity Editor communication via uLoopMCP",
5
+ "description": "CLI tool for Unity Editor communication via Unity CLI Loop",
6
6
  "main": "dist/cli.bundle.cjs",
7
7
  "bin": {
8
8
  "uloop": "./dist/cli.bundle.cjs"
@@ -27,7 +27,7 @@
27
27
  "license": "MIT",
28
28
  "repository": {
29
29
  "type": "git",
30
- "url": "git+https://github.com/hatayama/uLoopMCP.git",
30
+ "url": "git+https://github.com/hatayama/unity-cli-loop.git",
31
31
  "directory": "Packages/src/Cli~"
32
32
  },
33
33
  "bugs": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/hatayama/uLoopMCP#readme",
37
37
  "engines": {
38
- "node": ">=20.19.0"
38
+ "node": ">=22.0.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.70.1",
2
+ "version": "1.0.2",
3
3
  "tools": [
4
4
  {
5
5
  "name": "compile",
@@ -22,6 +22,7 @@ interface SkillsOptions {
22
22
  cursor?: boolean;
23
23
  gemini?: boolean;
24
24
  windsurf?: boolean;
25
+ antigravity?: boolean;
25
26
  }
26
27
 
27
28
  export function registerSkillsCommand(program: Command): void {
@@ -38,6 +39,7 @@ export function registerSkillsCommand(program: Command): void {
38
39
  .option('--cursor', 'Check Cursor installation')
39
40
  .option('--gemini', 'Check Gemini CLI installation')
40
41
  .option('--windsurf', 'Check Windsurf installation')
42
+ .option('--antigravity', 'Check Antigravity installation')
41
43
  .action((options: SkillsOptions) => {
42
44
  const targets = resolveTargets(options);
43
45
  const global = options.global ?? false;
@@ -53,6 +55,7 @@ export function registerSkillsCommand(program: Command): void {
53
55
  .option('--cursor', 'Install to Cursor')
54
56
  .option('--gemini', 'Install to Gemini CLI')
55
57
  .option('--windsurf', 'Install to Windsurf')
58
+ .option('--antigravity', 'Install to Antigravity')
56
59
  .action((options: SkillsOptions) => {
57
60
  const targets = resolveTargets(options);
58
61
  if (targets.length === 0) {
@@ -71,6 +74,7 @@ export function registerSkillsCommand(program: Command): void {
71
74
  .option('--cursor', 'Uninstall from Cursor')
72
75
  .option('--gemini', 'Uninstall from Gemini CLI')
73
76
  .option('--windsurf', 'Uninstall from Windsurf')
77
+ .option('--antigravity', 'Uninstall from Antigravity')
74
78
  .action((options: SkillsOptions) => {
75
79
  const targets = resolveTargets(options);
76
80
  if (targets.length === 0) {
@@ -98,6 +102,9 @@ function resolveTargets(options: SkillsOptions): TargetConfig[] {
98
102
  if (options.windsurf) {
99
103
  targets.push(getTargetConfig('windsurf'));
100
104
  }
105
+ if (options.antigravity) {
106
+ targets.push(getTargetConfig('antigravity'));
107
+ }
101
108
  return targets;
102
109
  }
103
110
 
@@ -105,11 +112,12 @@ function showTargetGuidance(command: string): void {
105
112
  console.log(`\nPlease specify at least one target for '${command}':`);
106
113
  console.log('');
107
114
  console.log('Available targets:');
108
- console.log(' --claude Claude Code (.claude/skills/)');
109
- console.log(' --codex Codex CLI (.codex/skills/)');
110
- console.log(' --cursor Cursor (.cursor/skills/)');
111
- console.log(' --gemini Gemini CLI (.gemini/skills/)');
112
- console.log(' --windsurf Windsurf (.windsurf/skills/)');
115
+ console.log(' --claude Claude Code (.claude/skills/)');
116
+ console.log(' --codex Codex CLI (.agents/skills/)');
117
+ console.log(' --cursor Cursor (.cursor/skills/)');
118
+ console.log(' --gemini Gemini CLI (.agents/skills/)');
119
+ console.log(' --windsurf Windsurf (.agents/skills/)');
120
+ console.log(' --antigravity Antigravity (.agent/skills/)');
113
121
  console.log('');
114
122
  console.log('Options:');
115
123
  console.log(' -g, --global Use global location');
@@ -3,7 +3,7 @@
3
3
  * Supports Claude Code and Codex CLI, with extensibility for future targets.
4
4
  */
5
5
 
6
- export type TargetId = 'claude' | 'codex' | 'cursor' | 'gemini' | 'windsurf';
6
+ export type TargetId = 'claude' | 'codex' | 'cursor' | 'gemini' | 'windsurf' | 'antigravity';
7
7
 
8
8
  export interface TargetConfig {
9
9
  id: TargetId;
@@ -22,7 +22,7 @@ const TARGET_CONFIGS: Record<TargetId, TargetConfig> = {
22
22
  codex: {
23
23
  id: 'codex',
24
24
  displayName: 'Codex CLI',
25
- projectDir: '.codex',
25
+ projectDir: '.agents',
26
26
  skillFileName: 'SKILL.md',
27
27
  },
28
28
  cursor: {
@@ -34,18 +34,31 @@ const TARGET_CONFIGS: Record<TargetId, TargetConfig> = {
34
34
  gemini: {
35
35
  id: 'gemini',
36
36
  displayName: 'Gemini CLI',
37
- projectDir: '.gemini',
37
+ projectDir: '.agents',
38
38
  skillFileName: 'SKILL.md',
39
39
  },
40
40
  windsurf: {
41
41
  id: 'windsurf',
42
42
  displayName: 'Windsurf',
43
- projectDir: '.windsurf',
43
+ projectDir: '.agents',
44
+ skillFileName: 'SKILL.md',
45
+ },
46
+ antigravity: {
47
+ id: 'antigravity',
48
+ displayName: 'Antigravity',
49
+ projectDir: '.agent',
44
50
  skillFileName: 'SKILL.md',
45
51
  },
46
52
  };
47
53
 
48
- export const ALL_TARGET_IDS: TargetId[] = ['claude', 'codex', 'cursor', 'gemini', 'windsurf'];
54
+ export const ALL_TARGET_IDS: TargetId[] = [
55
+ 'claude',
56
+ 'codex',
57
+ 'cursor',
58
+ 'gemini',
59
+ 'windsurf',
60
+ 'antigravity',
61
+ ];
49
62
 
50
63
  export function getTargetConfig(id: TargetId): TargetConfig {
51
64
  // eslint-disable-next-line security/detect-object-injection -- id is type-constrained to TargetId union type
package/src/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  * This file exists to avoid bundling the entire package.json into the CLI bundle.
5
5
  * This version is automatically updated by release-please.
6
6
  */
7
- export const VERSION = '0.70.1'; // x-release-please-version
7
+ export const VERSION = '1.0.2'; // x-release-please-version