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 +5 -5
- package/README.ko.md +5 -5
- package/README.md +5 -5
- package/README.zh-CN.md +5 -5
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{server-NzQUoch0.js → server-Bb4wKoL2.js} +12 -4
- package/dist/server-Bb4wKoL2.js.map +1 -0
- package/package.json +2 -1
- package/dist/server-NzQUoch0.js.map +0 -1
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
|
|
39
|
+
AAI Gateway:**Agent に「AAI で xxx を検索して」と言うだけ — 自動検索・インストール・即利用可能**。
|
|
40
40
|
|
|
41
|
-
>
|
|
41
|
+
> 「AAI でブラウザ操作ツールを検索して」
|
|
42
42
|
>
|
|
43
|
-
> →
|
|
43
|
+
> → 検索 → Playwright MCP を発見 → Agent が一行の Agent App サマリーを作成 → インストール → 即利用可能、再起動不要
|
|
44
44
|
|
|
45
|
-
>
|
|
45
|
+
> 「AAI で PPT 作成スキルを検索して」
|
|
46
46
|
>
|
|
47
|
-
> →
|
|
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:
|
|
39
|
+
AAI Gateway: **Agent에게 "AAI로 xxx 검색해줘"라고 말하면 — 자동 검색, 설치, 즉시 사용 가능**.
|
|
40
40
|
|
|
41
|
-
> "
|
|
41
|
+
> "AAI로 브라우저 조작 도구 검색해줘"
|
|
42
42
|
>
|
|
43
|
-
> →
|
|
43
|
+
> → 검색 → Playwright MCP 발견 → Agent가 한 줄 Agent App 요약 작성 → 설치 → 즉시 사용 가능, 재시작 불필요
|
|
44
44
|
|
|
45
|
-
> "
|
|
45
|
+
> "AAI로 PPT 제작 스킬 검색해줘"
|
|
46
46
|
>
|
|
47
|
-
> →
|
|
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: **
|
|
39
|
+
AAI Gateway: **tell your Agent "use AAI to search for xxx" — auto-searches, installs, ready to use**.
|
|
40
40
|
|
|
41
|
-
> "
|
|
41
|
+
> "Use AAI to search for a browser automation tool"
|
|
42
42
|
>
|
|
43
|
-
> →
|
|
43
|
+
> → Search → finds Playwright MCP → Agent summarizes a one-line Agent App summary → install → ready to use, no restart needed
|
|
44
44
|
|
|
45
|
-
> "
|
|
45
|
+
> "Use AAI to search for a PPT creation skill"
|
|
46
46
|
>
|
|
47
|
-
> →
|
|
47
|
+
> → Search → finds PPT Skill → uses skill description as Agent App summary → install → 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
|
|
39
|
+
AAI Gateway:**对 Agent 说"用 AAI 搜索 xxx",自动搜索、安装、立即可用**。
|
|
40
40
|
|
|
41
|
-
> "
|
|
41
|
+
> "用 AAI 搜索一个浏览器操控工具"
|
|
42
42
|
>
|
|
43
|
-
> →
|
|
43
|
+
> → 搜索 → 找到 Playwright MCP → Agent 总结一句话作为 Agent App 摘要 → 安装 → 立即可用,无需重启
|
|
44
44
|
|
|
45
|
-
> "
|
|
45
|
+
> "用 AAI 搜索一个 PPT 制作技能"
|
|
46
46
|
>
|
|
47
|
-
> →
|
|
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-
|
|
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-
|
|
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
|
|
471
|
-
|
|
472
|
-
|
|
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-
|
|
3224
|
+
//# sourceMappingURL=server-Bb4wKoL2.js.map
|