@funny-booth/langleyagentos 0.1.35 → 0.1.36
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/langleyagentos.js +6 -3
- package/package.json +2 -2
package/bin/langleyagentos.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 を LangleyAgentOS に固定)
|
|
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拡張のタイルから起動します(内部で langleyagentos<番号> を実行)。\n\n" +
|
|
47
47
|
" 初回セットアップ(必要な場合のみ・鍵の登録):\n" +
|
|
48
48
|
" langleyagentos secret set <NAME>\n" +
|
|
49
|
-
" langleyagentos secret list\n"
|
|
49
|
+
" langleyagentos secret list\n\n" +
|
|
50
|
+
" 作業フォルダの登録(VS Code の「読み込む」と同じ):\n" +
|
|
51
|
+
" langleyagentos project add <フォルダのパス> [--name 表示名]\n" +
|
|
52
|
+
" langleyagentos project list\n"
|
|
50
53
|
);
|
|
51
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funny-booth/langleyagentos",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "Langley-AgentOS 起動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"
|