@funny-booth/aibox4d 0.1.14 → 0.1.15
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/bin/aibox4d.js +6 -3
- package/package.json +2 -2
package/bin/aibox4d.js
CHANGED
|
@@ -16,8 +16,8 @@ const { join } = require("path");
|
|
|
16
16
|
const cfg = JSON.parse(readFileSync(join(__dirname, "..", "launcher.config.json"), "utf-8"));
|
|
17
17
|
const args = process.argv.slice(2);
|
|
18
18
|
|
|
19
|
-
if (args[0] === "secret") {
|
|
20
|
-
// agent-core の secret
|
|
19
|
+
if (args[0] === "secret" || args[0] === "project") {
|
|
20
|
+
// agent-core の secret・project(作業フォルダの登録)コマンドへ委譲(toolName を AIBox4D に固定)
|
|
21
21
|
process.env.TOOL_NAME = cfg.toolName;
|
|
22
22
|
process.env.PORTAL_URL = process.env.PORTAL_URL || cfg.portalUrl;
|
|
23
23
|
require("@funny-booth/agent-core/dist/index.js");
|
|
@@ -46,6 +46,9 @@ if (args[0] === "secret") {
|
|
|
46
46
|
" VS Code拡張のタイルから起動します(内部で aibox4d<番号> を実行)。\n\n" +
|
|
47
47
|
" 初回セットアップ(必要な場合のみ・鍵の登録):\n" +
|
|
48
48
|
" aibox4d secret set <NAME>\n" +
|
|
49
|
-
" aibox4d secret list\n"
|
|
49
|
+
" aibox4d secret list\n\n" +
|
|
50
|
+
" 作業フォルダの登録(VS Code の「読み込む」と同じ):\n" +
|
|
51
|
+
" aibox4d project add <フォルダのパス> [--name 表示名]\n" +
|
|
52
|
+
" aibox4d project list\n"
|
|
50
53
|
);
|
|
51
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funny-booth/aibox4d",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "4次元AI-BOX 起動CLI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prepublishOnly": "node scripts/generate-bins.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@funny-booth/agent-core": "^0.1.
|
|
51
|
+
"@funny-booth/agent-core": "^0.1.91"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18"
|