@funny-booth/tourdeskos 0.1.4 → 0.1.5
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/tourdeskos.js +6 -3
- package/package.json +2 -2
package/bin/tourdeskos.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 を TourDeskOS に固定)
|
|
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");
|
|
@@ -37,6 +37,9 @@ if (args[0] === "secret") {
|
|
|
37
37
|
" VS Code拡張のタイルから起動します(内部で tourdeskos<番号> を実行)。\n\n" +
|
|
38
38
|
" 初回セットアップ(必要な場合のみ・鍵の登録):\n" +
|
|
39
39
|
" tourdeskos secret set <NAME>\n" +
|
|
40
|
-
" tourdeskos secret list\n"
|
|
40
|
+
" tourdeskos secret list\n\n" +
|
|
41
|
+
" 作業フォルダの登録(VS Code の「読み込む」と同じ):\n" +
|
|
42
|
+
" tourdeskos project add <フォルダのパス> [--name 表示名]\n" +
|
|
43
|
+
" tourdeskos project list\n"
|
|
41
44
|
);
|
|
42
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funny-booth/tourdeskos",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "TourDesk-OS 起動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"
|