rehamo 0.0.1 → 0.1.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Key and Notes Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,45 @@
1
1
  # rehamo
2
2
 
3
- Coming soon. See https://github.com/kenyamaneko/rehamo
3
+ > AIがあなたの指示通りのコードを書いたかを確かめるツール
4
+
5
+ [Rehamo](https://github.com/keyandnotes/rehamo) の CLI を一発で導入できるメタパッケージです。
6
+ 中身は [`@rehamo/cli`](https://www.npmjs.com/package/@rehamo/cli) への薄いラッパに過ぎません。
7
+
8
+ ## インストール
9
+
10
+ ```sh
11
+ npm install -g rehamo
12
+ ```
13
+
14
+ これだけで `rehamo` コマンドが使えるようになります。
15
+
16
+ ## 使い方
17
+
18
+ ```sh
19
+ rehamo analyze [path] # 正常系 + 異常系を解析
20
+ rehamo analyze:normal [path] # 正常系のみ
21
+ rehamo analyze:abnormal [path] # 異常系のみ
22
+ rehamo view [path] # diagram.html のテンプレを書き出す
23
+ rehamo --help
24
+ ```
25
+
26
+ 詳細は [rehamo リポジトリ README](https://github.com/keyandnotes/rehamo) を参照してください。
27
+
28
+ ## Claude Desktop / Claude Code から MCP として使うには
29
+
30
+ 別パッケージ [`@rehamo/mcp`](https://www.npmjs.com/package/@rehamo/mcp) を使います:
31
+
32
+ ```json
33
+ {
34
+ "mcpServers": {
35
+ "rehamo": {
36
+ "command": "npx",
37
+ "args": ["-y", "@rehamo/mcp"]
38
+ }
39
+ }
40
+ }
41
+ ```
42
+
43
+ ## ライセンス
44
+
45
+ MIT
package/bin/rehamo.mjs ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ // `rehamo` CLI のエントリ。本体は @rehamo/cli にある。
3
+ // import するだけで @rehamo/cli の main(process.argv) が走り、終了する。
4
+ await import('@rehamo/cli');
package/package.json CHANGED
@@ -1,6 +1,34 @@
1
1
  {
2
2
  "name": "rehamo",
3
- "version": "0.0.1",
4
- "description": "Aligning AI-generated code with your intent. Coming soon.",
5
- "license": "MIT"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Rehamo: AIが書いたコードが意図通りか確かめるツール (MIT)。本パッケージは @rehamo/cli のメタです。",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "rehamo": "./bin/rehamo.mjs"
9
+ },
10
+ "files": [
11
+ "bin",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "keywords": [
16
+ "rehamo",
17
+ "cli",
18
+ "ai",
19
+ "code-analysis",
20
+ "mcp"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/keyandnotes/rehamo.git",
25
+ "directory": "packages/meta"
26
+ },
27
+ "homepage": "https://github.com/keyandnotes/rehamo",
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "dependencies": {
32
+ "@rehamo/cli": "^0.1.0"
33
+ }
34
+ }
@@ -1,24 +0,0 @@
1
- {
2
- "workbench.colorCustomizations": {
3
- // --- ベースの背景色 ---
4
- "editor.background": "#1e1e2e",
5
- "sideBar.background": "#181825",
6
-
7
- // --- タイトルバー(アクティブ):静かなブルースモーク ---
8
- "titleBar.activeBackground": "#6b8299",
9
- "titleBar.activeForeground": "#ffffff",
10
-
11
- // --- タイトルバー(非アクティブ) ---
12
- "titleBar.inactiveBackground": "#6b829988",
13
- "titleBar.inactiveForeground": "#ffffff88",
14
-
15
- // --- ステータスバー(下のバー) ---
16
- "statusBar.background": "#6b8299",
17
- "statusBar.foreground": "#ffffff",
18
-
19
- // --- その他のアクセント ---
20
- "activityBar.foreground": "#6b8299",
21
- "editorCursor.foreground": "#a3d6ff", // カーソルは透明感のあるアクアブルーに
22
- "tab.activeBorder": "#6b8299"
23
- }
24
- }