@csdwd/ai-teams-agent 0.1.2 → 0.1.3

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/dist/index.js +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1058,6 +1058,10 @@ process.on("SIGINT", () => gracefulShutdown("SIGINT"));
1058
1058
  var isCli = process.argv[1] && fs5.realpathSync(process.argv[1]) === fileURLToPath(import.meta.url);
1059
1059
  if (isCli) {
1060
1060
  const args = process.argv.slice(2);
1061
+ if (args.includes("--version") || args.includes("-v")) {
1062
+ console.log("0.1.4");
1063
+ process.exit(0);
1064
+ }
1061
1065
  if (args.includes("--help") || args.includes("-h")) {
1062
1066
  console.log(`ai-teams-agent \u2014 AI Teams \u5458\u5DE5\u4EE3\u7406
1063
1067
 
@@ -1071,6 +1075,7 @@ if (isCli) {
1071
1075
  --workspace <dir> \u5DE5\u4F5C\u76EE\u5F55
1072
1076
  --runner <mode> Runner \u6A21\u5F0F (claude/fake)
1073
1077
  --config \u91CD\u65B0\u8FD0\u884C\u914D\u7F6E\u5411\u5BFC
1078
+ -v, --version \u663E\u793A\u7248\u672C\u53F7
1074
1079
  -h, --help \u663E\u793A\u5E2E\u52A9
1075
1080
  `);
1076
1081
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csdwd/ai-teams-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "AI Teams agent — connects to server via WebSocket, spawns Claude CLI to execute tasks",
5
5
  "type": "module",
6
6
  "bin": {