@funny-booth/devagent 0.1.50 → 0.1.52

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.
Files changed (2) hide show
  1. package/bin/devagent.js +9 -0
  2. package/package.json +2 -2
package/bin/devagent.js CHANGED
@@ -30,6 +30,15 @@ if (args[0] === "secret") {
30
30
  process.stderr.write(String((e && e.stack) || e) + "\n");
31
31
  process.exit(1);
32
32
  });
33
+ } else if (args[0] === "shared") {
34
+ // チームで共有されたエージェント(社内エージェント共有)を起動する。VS Code 拡張の「共有エージェント」から呼ばれる
35
+ const pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
36
+ cfg.packageName = pkg.name;
37
+ cfg.packageVersion = pkg.version;
38
+ require("@funny-booth/agent-core/dist/launcher.js").runSharedAgent(args[1], cfg).catch((e) => {
39
+ process.stderr.write(String((e && e.stack) || e) + "\n");
40
+ process.exit(1);
41
+ });
33
42
  } else {
34
43
  process.stdout.write(
35
44
  "DevAgent\n\n" +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funny-booth/devagent",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "description": "DevAgent 起動CLI",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "node scripts/generate-bins.mjs"
40
40
  },
41
41
  "dependencies": {
42
- "@funny-booth/agent-core": "^0.1.83"
42
+ "@funny-booth/agent-core": "^0.1.85"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=18"