aai-gateway 1.1.8 → 1.1.10

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/README.ja.md CHANGED
@@ -36,15 +36,15 @@ AAI Gateway:各 Agent App は**50 トークン未満のサマリー**だけで
36
36
 
37
37
  従来の方法:GitHub を探す → README を読む → JSON 設定をコピー → 接続をデバッグ → Agent を再起動。
38
38
 
39
- AAI Gateway:**一言で Agent が自動検索・インストール・即利用可能**。
39
+ AAI Gateway:**Agent に「AAI で xxx を検索して」と言うだけ — 自動検索・インストール・即利用可能**。
40
40
 
41
- > 「会社紹介の PPT を作りたい」
41
+ > 「AAI でブラウザ操作ツールを検索して」
42
42
  >
43
- > → Agent PPT スキル不足を検出自動検索して PPT Skill をインストール作成をガイド、再起動不要
43
+ > → 検索 Playwright MCP を発見 Agent が一行の Agent App サマリーを作成 インストール → 即利用可能、再起動不要
44
44
 
45
- > 「このウェブページの内容を取得して」
45
+ > 「AAI で PPT 作成スキルを検索して」
46
46
  >
47
- > → Agent がウェブスクレイピングツール不足を検出対応する MCP を自動検索・インストール直接取得、再起動不要
47
+ > → 検索 PPT Skill を発見 スキル説明を Agent App サマリーとして使用 インストール → 即利用可能、再起動不要
48
48
 
49
49
  ### 重複設定
50
50
 
package/README.ko.md CHANGED
@@ -36,15 +36,15 @@ AAI Gateway: 각 Agent App은 **50 토큰 미만의 요약**만 필요하고,
36
36
 
37
37
  기존 방식: GitHub 검색 → README 읽기 → JSON 설정 복사 → 연결 디버깅 → Agent 재시작.
38
38
 
39
- AAI Gateway: **한마디로 Agent 자동 검색, 설치, 즉시 사용 가능**.
39
+ AAI Gateway: **Agent에게 "AAI로 xxx 검색해줘"라고 말하면 — 자동 검색, 설치, 즉시 사용 가능**.
40
40
 
41
- > "회사 소개 PPT를 만들고 싶어"
41
+ > "AAI로 브라우저 조작 도구 검색해줘"
42
42
  >
43
- > → Agent가 PPT 스킬 부족 감지PPT Skill 자동 검색 설치 → 제작 가이드, 재시작 불필요
43
+ > → 검색 Playwright MCP 발견Agent가 Agent App 요약 작성 → 설치 → 즉시 사용 가능, 재시작 불필요
44
44
 
45
- > " 웹페이지 내용 가져와줘"
45
+ > "AAI로 PPT 제작 스킬 검색해줘"
46
46
  >
47
- > → Agent가 스크래핑 도구 부족 감지 해당 MCP 자동 검색 설치 → 바로 가져오기, 재시작 불필요
47
+ > → 검색 PPT Skill 발견스킬 설명을 Agent App 요약으로 사용 → 설치 → 즉시 사용 가능, 재시작 불필요
48
48
 
49
49
  ### 중복 설정
50
50
 
package/README.md CHANGED
@@ -36,15 +36,15 @@ AAI Gateway: each Agent App needs only **fewer than 50 tokens for a summary**, w
36
36
 
37
37
  Traditional: search GitHub → read READMEs → copy JSON configs → debug connections → restart Agent.
38
38
 
39
- AAI Gateway: **say one sentence, Agent auto-searches, installs, and it's ready**.
39
+ AAI Gateway: **tell your Agent "use AAI to search for xxx" — auto-searches, installs, ready to use**.
40
40
 
41
- > "I want to make a company introduction PPT"
41
+ > "Use AAI to search for a browser automation tool"
42
42
  >
43
- > → Agent finds PPT skill missing auto-searches and installs PPT Skillguides you through creation, no restart needed
43
+ > → Search finds Playwright MCPAgent summarizes a one-line Agent App summary install ready to use, no restart needed
44
44
 
45
- > "Help me scrape this webpage"
45
+ > "Use AAI to search for a PPT creation skill"
46
46
  >
47
- > → Agent finds web scraping tool missing auto-searches and installs the MCPscrapes directly, no restart needed
47
+ > → Search finds PPT Skill uses skill description as Agent App summaryinstall → ready to use, no restart needed
48
48
 
49
49
  ### Duplicate Config
50
50
 
package/README.zh-CN.md CHANGED
@@ -36,15 +36,15 @@ AAI Gateway:每个 Agent App 只需**不到 50 tokens 的摘要**,Agent 需
36
36
 
37
37
  传统方式:翻 GitHub → 看 README → 复制 JSON 配置 → 调试连接 → 重启 Agent。
38
38
 
39
- AAI Gateway:**说一句话,Agent 自动搜索、安装、立即可用**。
39
+ AAI Gateway:**对 Agent 说"用 AAI 搜索 xxx",自动搜索、安装、立即可用**。
40
40
 
41
- > "我想做一个介绍公司的 PPT"
41
+ > " AAI 搜索一个浏览器操控工具"
42
42
  >
43
- > → Agent 发现缺少 PPT 技能自动搜索并安装 PPT Skill引导你完成制作,无需重启
43
+ > → 搜索 找到 Playwright MCP Agent 总结一句话作为 Agent App 摘要 安装 → 立即可用,无需重启
44
44
 
45
- > "帮我抓取这个网页的内容"
45
+ > "用 AAI 搜索一个 PPT 制作技能"
46
46
  >
47
- > → Agent 发现缺少网页抓取工具自动搜索并安装对应 MCP直接抓取,无需重启
47
+ > → 搜索 找到 PPT Skill 使用技能描述作为 Agent App 摘要 安装 → 立即可用,无需重启
48
48
 
49
49
  ### 重复配置
50
50
 
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as createGatewayServer } from "./server-NzQUoch0.js";
2
+ import { n as createGatewayServer } from "./server-Bb4wKoL2.js";
3
3
  import { o as AAI_GATEWAY_VERSION, s as logger } from "./acp-DWqg7EhR.js";
4
4
  //#region src/cli.ts
5
5
  async function main() {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as GuideService, c as getSkillExecutor, d as getMcpExecutor, i as ImportService, l as AppRegistry, n as createGatewayServer, o as ExecutionCoordinator, r as Gateway, s as SkillExecutor, t as AaiGatewayServer, u as McpExecutor } from "./server-NzQUoch0.js";
1
+ import { a as GuideService, c as getSkillExecutor, d as getMcpExecutor, i as ImportService, l as AppRegistry, n as createGatewayServer, o as ExecutionCoordinator, r as Gateway, s as SkillExecutor, t as AaiGatewayServer, u as McpExecutor } from "./server-Bb4wKoL2.js";
2
2
  import { t as AaiError } from "./errors-C3N_hrpx.js";
3
3
  import { n as getAcpExecutor, s as logger, t as AcpExecutor } from "./acp-DWqg7EhR.js";
4
4
  import { a as FileRegistry, c as parseAaiJson } from "./mcp-registry-CuVFEyIP.js";
@@ -467,9 +467,17 @@ function isLikelyPackageReference(value) {
467
467
  return value.includes("/") || value.includes("@") || /^[a-z0-9][a-z0-9._-]*$/i.test(value);
468
468
  }
469
469
  function simplifyImportedName(value) {
470
- const trimmed = value.trim();
471
- const withoutScope = trimmed.startsWith("@") ? trimmed.split("/").slice(1).join("/") : trimmed;
472
- return slugify((withoutScope.split("/").filter(Boolean).pop() ?? withoutScope).replace(/^modelcontextprotocol-/, "").replace(/^mcp-server-/, "server-").replace(/^mcp-/, "")) || "mcp";
470
+ const withoutVersion = value.trim().replace(/@[^/]*$/, "");
471
+ let scopeName;
472
+ let withoutScope;
473
+ if (withoutVersion.startsWith("@")) {
474
+ const parts = withoutVersion.split("/");
475
+ scopeName = parts[0].slice(1);
476
+ withoutScope = parts.slice(1).join("/");
477
+ } else withoutScope = withoutVersion;
478
+ const slug = slugify((withoutScope.split("/").filter(Boolean).pop() ?? withoutScope).replace(/^modelcontextprotocol-/, "").replace(/^mcp-server-/, "server-").replace(/^mcp-/, ""));
479
+ if ((!slug || slug === "mcp" || slug === "app") && scopeName) return slugify(scopeName) || "mcp";
480
+ return slug || "mcp";
473
481
  }
474
482
  function normalizeImportedAppName(name) {
475
483
  validateOptionalStringLength(name, "name", IMPORT_LIMITS.nameLength);
@@ -3213,4 +3221,4 @@ async function createGatewayServer() {
3213
3221
  //#endregion
3214
3222
  export { GuideService as a, getSkillExecutor as c, getMcpExecutor as d, ImportService as i, AppRegistry as l, createGatewayServer as n, ExecutionCoordinator as o, Gateway as r, SkillExecutor as s, AaiGatewayServer as t, McpExecutor as u };
3215
3223
 
3216
- //# sourceMappingURL=server-NzQUoch0.js.map
3224
+ //# sourceMappingURL=server-Bb4wKoL2.js.map