@open1s/ezbos 1.0.1 → 1.0.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.
- package/dist/agent.d.ts +78 -0
- package/dist/agent.js +316 -0
- package/dist/brainos.d.ts +99 -0
- package/dist/brainos.js +322 -0
- package/dist/hook.d.ts +31 -0
- package/dist/hook.js +62 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/mcp.d.ts +20 -0
- package/dist/mcp.js +20 -0
- package/dist/plugin.d.ts +21 -0
- package/dist/plugin.js +86 -0
- package/dist/session.d.ts +17 -0
- package/dist/session.js +15 -0
- package/dist/skills.d.ts +18 -0
- package/dist/skills.js +18 -0
- package/dist/tool.d.ts +34 -0
- package/dist/tool.js +81 -0
- package/dist/types.d.ts +18 -0
- package/dist/types.js +9 -0
- package/package.json +4 -2
- package/.github/workflows/ci.yml +0 -34
- package/.github/workflows/publish.yml +0 -33
- package/.pnp.cjs +0 -8400
- package/.pnp.loader.mjs +0 -2126
- package/.yarn/install-state.gz +0 -0
- package/bun.lock +0 -280
- package/examples/00-pr.ts +0 -1
- package/examples/01-tools.ts +0 -85
- package/examples/02-hooks.ts +0 -82
- package/examples/03-plugins.ts +0 -91
- package/examples/04-mcp.ts +0 -74
- package/examples/05-skills.ts +0 -45
- package/examples/06-session.ts +0 -72
- package/examples/07-agent-advanced.ts +0 -86
- package/examples/08-brainos-messaging.ts +0 -83
- package/tsconfig.json +0 -21
package/.yarn/install-state.gz
DELETED
|
Binary file
|
package/bun.lock
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lockfileVersion": 1,
|
|
3
|
-
"configVersion": 0,
|
|
4
|
-
"workspaces": {
|
|
5
|
-
"": {
|
|
6
|
-
"name": "@open1s/ezbos",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"@open1s/jsbos": "^2.2.0",
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
12
|
-
"@types/node": "^25.8.0",
|
|
13
|
-
"tsx": "^4.22.0",
|
|
14
|
-
"typescript": "^6.0.3",
|
|
15
|
-
"zod": "^4.4.3",
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
"packages": {
|
|
20
|
-
"@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.28.0", "", { "os": "aix", "cpu": "ppc64" }, "sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA=="],
|
|
21
|
-
|
|
22
|
-
"@esbuild/android-arm": ["@esbuild/android-arm@0.28.0", "", { "os": "android", "cpu": "arm" }, "sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ=="],
|
|
23
|
-
|
|
24
|
-
"@esbuild/android-arm64": ["@esbuild/android-arm64@0.28.0", "", { "os": "android", "cpu": "arm64" }, "sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw=="],
|
|
25
|
-
|
|
26
|
-
"@esbuild/android-x64": ["@esbuild/android-x64@0.28.0", "", { "os": "android", "cpu": "x64" }, "sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA=="],
|
|
27
|
-
|
|
28
|
-
"@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.28.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q=="],
|
|
29
|
-
|
|
30
|
-
"@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.28.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ=="],
|
|
31
|
-
|
|
32
|
-
"@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.28.0", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q=="],
|
|
33
|
-
|
|
34
|
-
"@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.28.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw=="],
|
|
35
|
-
|
|
36
|
-
"@esbuild/linux-arm": ["@esbuild/linux-arm@0.28.0", "", { "os": "linux", "cpu": "arm" }, "sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw=="],
|
|
37
|
-
|
|
38
|
-
"@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.28.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A=="],
|
|
39
|
-
|
|
40
|
-
"@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.28.0", "", { "os": "linux", "cpu": "ia32" }, "sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ=="],
|
|
41
|
-
|
|
42
|
-
"@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.28.0", "", { "os": "linux", "cpu": "none" }, "sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg=="],
|
|
43
|
-
|
|
44
|
-
"@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.28.0", "", { "os": "linux", "cpu": "none" }, "sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w=="],
|
|
45
|
-
|
|
46
|
-
"@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.28.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg=="],
|
|
47
|
-
|
|
48
|
-
"@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.28.0", "", { "os": "linux", "cpu": "none" }, "sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ=="],
|
|
49
|
-
|
|
50
|
-
"@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.28.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q=="],
|
|
51
|
-
|
|
52
|
-
"@esbuild/linux-x64": ["@esbuild/linux-x64@0.28.0", "", { "os": "linux", "cpu": "x64" }, "sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ=="],
|
|
53
|
-
|
|
54
|
-
"@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.28.0", "", { "os": "none", "cpu": "arm64" }, "sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw=="],
|
|
55
|
-
|
|
56
|
-
"@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.28.0", "", { "os": "none", "cpu": "x64" }, "sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw=="],
|
|
57
|
-
|
|
58
|
-
"@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.28.0", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g=="],
|
|
59
|
-
|
|
60
|
-
"@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.28.0", "", { "os": "openbsd", "cpu": "x64" }, "sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA=="],
|
|
61
|
-
|
|
62
|
-
"@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.28.0", "", { "os": "none", "cpu": "arm64" }, "sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w=="],
|
|
63
|
-
|
|
64
|
-
"@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.28.0", "", { "os": "sunos", "cpu": "x64" }, "sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw=="],
|
|
65
|
-
|
|
66
|
-
"@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.28.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA=="],
|
|
67
|
-
|
|
68
|
-
"@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.28.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA=="],
|
|
69
|
-
|
|
70
|
-
"@esbuild/win32-x64": ["@esbuild/win32-x64@0.28.0", "", { "os": "win32", "cpu": "x64" }, "sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw=="],
|
|
71
|
-
|
|
72
|
-
"@hono/node-server": ["@hono/node-server@1.19.14", "", { "peerDependencies": { "hono": "^4" } }, "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw=="],
|
|
73
|
-
|
|
74
|
-
"@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.29.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ=="],
|
|
75
|
-
|
|
76
|
-
"@open1s/jsbos": ["@open1s/jsbos@2.2.0", "", { "optionalDependencies": { "@open1s/jsbos-darwin-arm64": "2.2.0", "@open1s/jsbos-linux-arm64-gnu": "2.2.0", "@open1s/jsbos-linux-x64-gnu": "2.2.0", "@open1s/jsbos-win32-arm64-msvc": "2.2.0", "@open1s/jsbos-win32-x64-msvc": "2.2.0" } }, "sha512-Xmb2Xr/8229jdUbIcCBir5vUf+jkvTbG9s7DFCPx9oU5aHFLKofbCSl5+YHfke4NCitsd/QGHMXa2MCYi/Nlrg=="],
|
|
77
|
-
|
|
78
|
-
"@open1s/jsbos-darwin-arm64": ["@open1s/jsbos-darwin-arm64@2.2.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-rXyQw8kVKyFhNDgUjPAEU4Ck7ClCNRCvp3pQJwKYOZpDuK7aDL5JB+AFMuAYXXhG/uw6OecnyRpqpPvnwZTUNg=="],
|
|
79
|
-
|
|
80
|
-
"@open1s/jsbos-linux-arm64-gnu": ["@open1s/jsbos-linux-arm64-gnu@2.2.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-JaAHpWGpld1A7z1kEz/hdcO4GNDq/txmaBiwz8C+oh2302UpkXw2R3NSCyKUkh4CgcmDEIvTX+NWnHJ9uqz11Q=="],
|
|
81
|
-
|
|
82
|
-
"@open1s/jsbos-linux-x64-gnu": ["@open1s/jsbos-linux-x64-gnu@2.2.0", "", { "os": "linux", "cpu": "x64" }, "sha512-VvdDXYjSufheA7UlRPx3Ii7SCVL4ahCeXZ9f8jrtMAxG3G5Gic0o8u/Jcy8IXkxGwUGbqN+Bh7ZF9aPsGr6iUA=="],
|
|
83
|
-
|
|
84
|
-
"@open1s/jsbos-win32-arm64-msvc": ["@open1s/jsbos-win32-arm64-msvc@2.2.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-OiRuNBVBgc/B63zT2BdA2Wb9x/ey8sTGbx5/HUhi8w68825x/Gt8otQDsv5mfh/o/3vk/8e1HrsWiQmZ/b4V9w=="],
|
|
85
|
-
|
|
86
|
-
"@open1s/jsbos-win32-x64-msvc": ["@open1s/jsbos-win32-x64-msvc@2.2.0", "", { "os": "win32", "cpu": "x64" }, "sha512-EV3a7IB6pLP+MzZbnO7R5xVeJNDBZ4zlPYzfYGe+qeDvwkR877ndQTBOvuSsOqR8tsB/ud/czU/SoHfhVAWVJw=="],
|
|
87
|
-
|
|
88
|
-
"@types/node": ["@types/node@25.8.0", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-TCFSk8IZh+iLX1xtksoBVtdmgL+1IX0fC9BeU4QqFSuNdN/K+HUlhqOzEmSYYpZUVsLYcPqc9KX+60iDuninSQ=="],
|
|
89
|
-
|
|
90
|
-
"accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
|
|
91
|
-
|
|
92
|
-
"ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="],
|
|
93
|
-
|
|
94
|
-
"ajv-formats": ["ajv-formats@3.0.1", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="],
|
|
95
|
-
|
|
96
|
-
"body-parser": ["body-parser@2.2.2", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.3", "http-errors": "^2.0.0", "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", "qs": "^6.14.1", "raw-body": "^3.0.1", "type-is": "^2.0.1" } }, "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA=="],
|
|
97
|
-
|
|
98
|
-
"bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
|
|
99
|
-
|
|
100
|
-
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
|
101
|
-
|
|
102
|
-
"call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
|
|
103
|
-
|
|
104
|
-
"content-disposition": ["content-disposition@1.1.0", "", {}, "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g=="],
|
|
105
|
-
|
|
106
|
-
"content-type": ["content-type@1.0.5", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],
|
|
107
|
-
|
|
108
|
-
"cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],
|
|
109
|
-
|
|
110
|
-
"cookie-signature": ["cookie-signature@1.2.2", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="],
|
|
111
|
-
|
|
112
|
-
"cors": ["cors@2.8.6", "", { "dependencies": { "object-assign": "^4", "vary": "^1" } }, "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw=="],
|
|
113
|
-
|
|
114
|
-
"cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
|
|
115
|
-
|
|
116
|
-
"debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
|
117
|
-
|
|
118
|
-
"depd": ["depd@2.0.0", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="],
|
|
119
|
-
|
|
120
|
-
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
|
121
|
-
|
|
122
|
-
"ee-first": ["ee-first@1.1.1", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
|
|
123
|
-
|
|
124
|
-
"encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
|
|
125
|
-
|
|
126
|
-
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
|
127
|
-
|
|
128
|
-
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
|
129
|
-
|
|
130
|
-
"es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],
|
|
131
|
-
|
|
132
|
-
"esbuild": ["esbuild@0.28.0", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.0", "@esbuild/android-arm": "0.28.0", "@esbuild/android-arm64": "0.28.0", "@esbuild/android-x64": "0.28.0", "@esbuild/darwin-arm64": "0.28.0", "@esbuild/darwin-x64": "0.28.0", "@esbuild/freebsd-arm64": "0.28.0", "@esbuild/freebsd-x64": "0.28.0", "@esbuild/linux-arm": "0.28.0", "@esbuild/linux-arm64": "0.28.0", "@esbuild/linux-ia32": "0.28.0", "@esbuild/linux-loong64": "0.28.0", "@esbuild/linux-mips64el": "0.28.0", "@esbuild/linux-ppc64": "0.28.0", "@esbuild/linux-riscv64": "0.28.0", "@esbuild/linux-s390x": "0.28.0", "@esbuild/linux-x64": "0.28.0", "@esbuild/netbsd-arm64": "0.28.0", "@esbuild/netbsd-x64": "0.28.0", "@esbuild/openbsd-arm64": "0.28.0", "@esbuild/openbsd-x64": "0.28.0", "@esbuild/openharmony-arm64": "0.28.0", "@esbuild/sunos-x64": "0.28.0", "@esbuild/win32-arm64": "0.28.0", "@esbuild/win32-ia32": "0.28.0", "@esbuild/win32-x64": "0.28.0" }, "bin": "bin/esbuild" }, "sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw=="],
|
|
133
|
-
|
|
134
|
-
"escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],
|
|
135
|
-
|
|
136
|
-
"etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
|
|
137
|
-
|
|
138
|
-
"eventsource": ["eventsource@3.0.7", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="],
|
|
139
|
-
|
|
140
|
-
"eventsource-parser": ["eventsource-parser@3.0.8", "", {}, "sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ=="],
|
|
141
|
-
|
|
142
|
-
"express": ["express@5.2.1", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="],
|
|
143
|
-
|
|
144
|
-
"express-rate-limit": ["express-rate-limit@8.5.2", "", { "dependencies": { "ip-address": "^10.2.0" }, "peerDependencies": { "express": ">= 4.11" } }, "sha512-5Kb34ipNX694DH48vN9irak1Qx30nb0PLYHXfJgw4YEjiC3ZEmZJhwOp+VfiCYwFzvFTdB9QkArYS5kXa2cx2A=="],
|
|
145
|
-
|
|
146
|
-
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
|
147
|
-
|
|
148
|
-
"fast-uri": ["fast-uri@3.1.2", "", {}, "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ=="],
|
|
149
|
-
|
|
150
|
-
"finalhandler": ["finalhandler@2.1.1", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="],
|
|
151
|
-
|
|
152
|
-
"forwarded": ["forwarded@0.2.0", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],
|
|
153
|
-
|
|
154
|
-
"fresh": ["fresh@2.0.0", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="],
|
|
155
|
-
|
|
156
|
-
"fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
|
|
157
|
-
|
|
158
|
-
"function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
|
|
159
|
-
|
|
160
|
-
"get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
|
|
161
|
-
|
|
162
|
-
"get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
|
|
163
|
-
|
|
164
|
-
"gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
|
|
165
|
-
|
|
166
|
-
"has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
|
|
167
|
-
|
|
168
|
-
"hasown": ["hasown@2.0.3", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg=="],
|
|
169
|
-
|
|
170
|
-
"hono": ["hono@4.12.19", "", {}, "sha512-xa3eYXYXx68XTT4hZ7dRzsXBhaq85ToSrlUJNoR0gwz/1Ap/CNwX47wfvV7pc/xWhjKVVkLT7zBJy8chhNguqQ=="],
|
|
171
|
-
|
|
172
|
-
"http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
|
|
173
|
-
|
|
174
|
-
"iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="],
|
|
175
|
-
|
|
176
|
-
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
|
177
|
-
|
|
178
|
-
"ip-address": ["ip-address@10.2.0", "", {}, "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA=="],
|
|
179
|
-
|
|
180
|
-
"ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
|
|
181
|
-
|
|
182
|
-
"is-promise": ["is-promise@4.0.0", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],
|
|
183
|
-
|
|
184
|
-
"isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
|
|
185
|
-
|
|
186
|
-
"jose": ["jose@6.2.3", "", {}, "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw=="],
|
|
187
|
-
|
|
188
|
-
"json-schema-traverse": ["json-schema-traverse@1.0.0", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="],
|
|
189
|
-
|
|
190
|
-
"json-schema-typed": ["json-schema-typed@8.0.2", "", {}, "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA=="],
|
|
191
|
-
|
|
192
|
-
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
|
193
|
-
|
|
194
|
-
"media-typer": ["media-typer@1.1.0", "", {}, "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw=="],
|
|
195
|
-
|
|
196
|
-
"merge-descriptors": ["merge-descriptors@2.0.0", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="],
|
|
197
|
-
|
|
198
|
-
"mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
|
|
199
|
-
|
|
200
|
-
"mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
|
|
201
|
-
|
|
202
|
-
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
|
203
|
-
|
|
204
|
-
"negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="],
|
|
205
|
-
|
|
206
|
-
"object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
|
|
207
|
-
|
|
208
|
-
"object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="],
|
|
209
|
-
|
|
210
|
-
"on-finished": ["on-finished@2.4.1", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="],
|
|
211
|
-
|
|
212
|
-
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
|
213
|
-
|
|
214
|
-
"parseurl": ["parseurl@1.3.3", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],
|
|
215
|
-
|
|
216
|
-
"path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
|
|
217
|
-
|
|
218
|
-
"path-to-regexp": ["path-to-regexp@8.4.2", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="],
|
|
219
|
-
|
|
220
|
-
"pkce-challenge": ["pkce-challenge@5.0.1", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="],
|
|
221
|
-
|
|
222
|
-
"proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
|
|
223
|
-
|
|
224
|
-
"qs": ["qs@6.15.2", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw=="],
|
|
225
|
-
|
|
226
|
-
"range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="],
|
|
227
|
-
|
|
228
|
-
"raw-body": ["raw-body@3.0.2", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="],
|
|
229
|
-
|
|
230
|
-
"require-from-string": ["require-from-string@2.0.2", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="],
|
|
231
|
-
|
|
232
|
-
"router": ["router@2.2.0", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ=="],
|
|
233
|
-
|
|
234
|
-
"safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
|
|
235
|
-
|
|
236
|
-
"send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],
|
|
237
|
-
|
|
238
|
-
"serve-static": ["serve-static@2.2.1", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="],
|
|
239
|
-
|
|
240
|
-
"setprototypeof": ["setprototypeof@1.2.0", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],
|
|
241
|
-
|
|
242
|
-
"shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="],
|
|
243
|
-
|
|
244
|
-
"shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="],
|
|
245
|
-
|
|
246
|
-
"side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
|
|
247
|
-
|
|
248
|
-
"side-channel-list": ["side-channel-list@1.0.1", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="],
|
|
249
|
-
|
|
250
|
-
"side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
|
|
251
|
-
|
|
252
|
-
"side-channel-weakmap": ["side-channel-weakmap@1.0.2", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],
|
|
253
|
-
|
|
254
|
-
"statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
|
|
255
|
-
|
|
256
|
-
"toidentifier": ["toidentifier@1.0.1", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
|
|
257
|
-
|
|
258
|
-
"tsx": ["tsx@4.22.0", "", { "dependencies": { "esbuild": "~0.28.0" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "bin": "dist/cli.mjs" }, "sha512-8ccZMPD69s1AbKXx0C5ddTNZfNjwV04iIKgjZmKfKxMynEtSYcK0Lh7iQFh53fI5Yu4pb9usgAiqyPmEONaALg=="],
|
|
259
|
-
|
|
260
|
-
"type-is": ["type-is@2.1.0", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="],
|
|
261
|
-
|
|
262
|
-
"typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
|
|
263
|
-
|
|
264
|
-
"undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
|
|
265
|
-
|
|
266
|
-
"unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
|
|
267
|
-
|
|
268
|
-
"vary": ["vary@1.1.2", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="],
|
|
269
|
-
|
|
270
|
-
"which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
|
|
271
|
-
|
|
272
|
-
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
|
273
|
-
|
|
274
|
-
"zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
|
|
275
|
-
|
|
276
|
-
"zod-to-json-schema": ["zod-to-json-schema@3.25.2", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="],
|
|
277
|
-
|
|
278
|
-
"type-is/content-type": ["content-type@2.0.0", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="],
|
|
279
|
-
}
|
|
280
|
-
}
|
package/examples/00-pr.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log('This is a placeholder file for the 00-pr.ts example. Please refer to the other example files for actual code demonstrations of BrainOS features.');
|
package/examples/01-tools.ts
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { BrainOS, defineTool, tool, ok, err, isErrorResult, version } from '../src/index.js';
|
|
2
|
-
|
|
3
|
-
import {initTracing} from "@open1s/jsbos";
|
|
4
|
-
|
|
5
|
-
// initTracing();
|
|
6
|
-
|
|
7
|
-
const addTool = defineTool('Add', 'Add two numbers')
|
|
8
|
-
.required('a', 'number', 'First number')
|
|
9
|
-
.required('b', 'number', 'Second number')
|
|
10
|
-
.handle((args: any) => { console.error('Adding numbers:', args.a, args.b); return args.a + args.b; });
|
|
11
|
-
|
|
12
|
-
const multiplyTool = defineTool('Multiply', 'Multiply two numbers')
|
|
13
|
-
.required('x', 'number', 'First number')
|
|
14
|
-
.required('y', 'number', 'Second number')
|
|
15
|
-
.handle((args: any) => { console.error('Multiplying numbers:', args.x, args.y); return args.x * args.y; });
|
|
16
|
-
|
|
17
|
-
const stringConcatTool = defineTool('Concat', 'Concatenate two strings')
|
|
18
|
-
.param('str1', 'string', 'First string')
|
|
19
|
-
.param('str2', 'string', 'Second string')
|
|
20
|
-
.param('separator', 'string', 'Separator', ', ')
|
|
21
|
-
.handle((args: any) => { console.error('Concatenating strings:', args.str1, args.str2, args.separator); return args.str1 + args.separator + args.str2; });
|
|
22
|
-
|
|
23
|
-
const divideTool = defineTool('Divide', 'Divide two numbers')
|
|
24
|
-
.required('n', 'number', 'Numerator')
|
|
25
|
-
.required('d', 'number', 'Denominator')
|
|
26
|
-
.handle((args: any) => {
|
|
27
|
-
console.error('Dividing numbers:', args.n, args.d);
|
|
28
|
-
if (args.d === 0) return err('Division by zero');
|
|
29
|
-
return ok(args.n / args.d);
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
const asyncWeatherTool = defineTool('Weather', 'Get weather for a city')
|
|
33
|
-
.required('city', 'string', 'City name')
|
|
34
|
-
.handle((args: any) => {
|
|
35
|
-
console.error('Fetching weather for city:', args.city);
|
|
36
|
-
return ok({ city: args.city, temp: 22, condition: 'sunny', unit: 'celsius' });
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
const errorTool = tool('Fail', 'Always returns an error', () => {
|
|
40
|
-
throw new Error('Intentional failure from errorTool');
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
async function main() {
|
|
44
|
-
console.log(`\n=== 01-tools.ts - Tool API Demo (v${version()}) ===\n`);
|
|
45
|
-
|
|
46
|
-
const brain = new BrainOS();
|
|
47
|
-
await brain.start();
|
|
48
|
-
|
|
49
|
-
const agent = brain.agent('tools-demo')
|
|
50
|
-
.with_tools(addTool, multiplyTool, stringConcatTool, divideTool, asyncWeatherTool, errorTool);
|
|
51
|
-
|
|
52
|
-
const started = await agent.start();
|
|
53
|
-
|
|
54
|
-
const tests = [
|
|
55
|
-
{ q: 'What is 15 + 27?', expect: 42 },
|
|
56
|
-
{ q: 'What is 8 times 6?', expect: 48 },
|
|
57
|
-
{ q: 'Concatenate "Brain" and "OS" with separator "-"', expect: 'Brain-OS' },
|
|
58
|
-
{ q: 'Divide 100 by 4', expect: 25 },
|
|
59
|
-
{ q: 'Divide 10 by 0', expect: 'error' },
|
|
60
|
-
{ q: 'What is the weather in Tokyo?', expect: 'ok' },
|
|
61
|
-
];
|
|
62
|
-
|
|
63
|
-
for (const t of tests) {
|
|
64
|
-
console.log(`\nQ: ${t.q}`);
|
|
65
|
-
console.log(` Expected: ${t.expect}`);
|
|
66
|
-
const result = await started.ask(t.q);
|
|
67
|
-
console.log(` A: ${result}`);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
console.log('\n--- Tool definitions ---');
|
|
71
|
-
console.log('addTool schema:', JSON.stringify((addTool as any).schema, null, 2));
|
|
72
|
-
|
|
73
|
-
console.log('\n--- isErrorResult demo ---');
|
|
74
|
-
const okResult = ok(42);
|
|
75
|
-
const errResult = err('bad');
|
|
76
|
-
console.log('ok(42):', okResult, 'isErrorResult:', isErrorResult(okResult));
|
|
77
|
-
console.log('err("bad"):', errResult, 'isErrorResult:', isErrorResult(errResult));
|
|
78
|
-
|
|
79
|
-
await started.close();
|
|
80
|
-
await brain.stop();
|
|
81
|
-
console.log('\nDone.');
|
|
82
|
-
process.exit(0);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
main().catch((e) => { console.error(e); process.exit(1); });
|
package/examples/02-hooks.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { BrainOS, defineHook, hook, mergeHooks, createHookRegistry, HookEvent, version } from '../src/index.js';
|
|
2
|
-
|
|
3
|
-
const beforeHook = defineHook(HookEvent.BeforeToolCall, (ctx: any) => {
|
|
4
|
-
console.log(` [BeforeToolCall] ${ctx.data?.tool_name}`);
|
|
5
|
-
return 'continue';
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
const afterHook = defineHook(HookEvent.AfterToolCall, (ctx: any) => {
|
|
9
|
-
console.log(` [AfterToolCall] completed`);
|
|
10
|
-
return 'continue';
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
const beforeLlmHook = defineHook(HookEvent.BeforeLlmCall, (ctx: any) => {
|
|
14
|
-
console.log(` [BeforeLlmCall]`);
|
|
15
|
-
return 'continue';
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
const afterLlmHook = defineHook(HookEvent.AfterLlmCall, (ctx: any) => {
|
|
19
|
-
console.log(` [AfterLlmCall]`);
|
|
20
|
-
return 'continue';
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
const onMessageHook = defineHook(HookEvent.OnMessage, (ctx: any) => {
|
|
24
|
-
console.log(` [OnMessage] ${ctx.data?.message?.substring(0, 50)}`);
|
|
25
|
-
return 'continue';
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
const onCompleteHook = defineHook(HookEvent.OnComplete, (ctx: any) => {
|
|
29
|
-
console.log(` [OnComplete]`);
|
|
30
|
-
return 'continue';
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const onErrorHook = defineHook(HookEvent.OnError, (ctx: any) => {
|
|
34
|
-
console.log(` [OnError] ${ctx.data?.error}`);
|
|
35
|
-
return 'continue';
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
async function main() {
|
|
39
|
-
console.log(`\n=== 02-hooks.ts - Hook API Demo (v${version()}) ===\n`);
|
|
40
|
-
|
|
41
|
-
const brain = new BrainOS();
|
|
42
|
-
await brain.start();
|
|
43
|
-
|
|
44
|
-
const addTool = { name: 'Add', description: 'Add', schema: { properties: { a: {}, b: {} } }, callback: () => '42' };
|
|
45
|
-
|
|
46
|
-
console.log('--- All HookEvent values ---');
|
|
47
|
-
console.log('HookEvent.BeforeToolCall:', HookEvent.BeforeToolCall);
|
|
48
|
-
console.log('HookEvent.AfterToolCall:', HookEvent.AfterToolCall);
|
|
49
|
-
console.log('HookEvent.BeforeLlmCall:', HookEvent.BeforeLlmCall);
|
|
50
|
-
console.log('HookEvent.AfterLlmCall:', HookEvent.AfterLlmCall);
|
|
51
|
-
console.log('HookEvent.OnMessage:', HookEvent.OnMessage);
|
|
52
|
-
console.log('HookEvent.OnComplete:', HookEvent.OnComplete);
|
|
53
|
-
console.log('HookEvent.OnError:', HookEvent.OnError);
|
|
54
|
-
|
|
55
|
-
console.log('\n--- mergeHooks ---');
|
|
56
|
-
const allHooks = mergeHooks(
|
|
57
|
-
beforeHook, afterHook, beforeLlmHook, afterLlmHook,
|
|
58
|
-
onMessageHook, onCompleteHook, onErrorHook
|
|
59
|
-
);
|
|
60
|
-
console.log(`Merged ${allHooks.length} hooks`);
|
|
61
|
-
|
|
62
|
-
console.log('\n--- defineHook returns ---');
|
|
63
|
-
console.log('beforeHook:', beforeHook);
|
|
64
|
-
console.log('afterHook:', afterHook);
|
|
65
|
-
|
|
66
|
-
const agent = brain.agent('hooks-demo')
|
|
67
|
-
.with_tools(addTool)
|
|
68
|
-
.with_hooks(beforeHook, afterHook, beforeLlmHook, afterLlmHook);
|
|
69
|
-
|
|
70
|
-
const started = await agent.start();
|
|
71
|
-
|
|
72
|
-
console.log('\n--- Running agent with hooks ---');
|
|
73
|
-
const result = await started.ask('What is 10 + 20? Use the Add tool.');
|
|
74
|
-
console.log(`Result: ${result}`);
|
|
75
|
-
|
|
76
|
-
await started.close();
|
|
77
|
-
await brain.stop();
|
|
78
|
-
console.log('\nDone.');
|
|
79
|
-
process.exit(0);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
main().catch((e) => { console.error(e); process.exit(1); });
|
package/examples/03-plugins.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { BrainOS, definePlugin, plugin, on_llm_request, on_llm_response, on_tool_call, on_tool_result, mergePlugins, getPluginHandlers, version } from '../src/index.js';
|
|
2
|
-
|
|
3
|
-
const plainPlugin = definePlugin({
|
|
4
|
-
name: 'plain-plugin',
|
|
5
|
-
on_llm_request(req: any) { console.log(' [Plain Plugin] LLM request:', req.model); return req; },
|
|
6
|
-
on_llm_response(resp: any) { console.log(' [Plain Plugin] LLM response'); return resp; },
|
|
7
|
-
on_tool_call(call: any) { console.log(' [Plain Plugin] Tool call:', call.name); return call; },
|
|
8
|
-
on_tool_result(result: any) { console.log(' [Plain Plugin] Tool result:', String(result).slice(0, 30)); return result; },
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
const pluginA = definePlugin({
|
|
12
|
-
name: 'plugin-a',
|
|
13
|
-
on_llm_request(req: any) { console.log(' [Plugin A] LLM request'); return req; },
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const pluginB = definePlugin({
|
|
17
|
-
name: 'plugin-b',
|
|
18
|
-
on_tool_result(result: any) { console.log(' [Plugin B] Tool result:', String(result).slice(0, 30)); return result; },
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
class DecoratedPlugin {
|
|
22
|
-
__pluginName = 'decorated-plugin';
|
|
23
|
-
|
|
24
|
-
on_llm_request(req: any) {
|
|
25
|
-
console.log(' [Decorated] LLM request');
|
|
26
|
-
return req;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
on_llm_response(resp: any) {
|
|
30
|
-
console.log(' [Decorated] LLM response');
|
|
31
|
-
return resp;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
on_tool_call(call: any) {
|
|
35
|
-
console.log(' [Decorated] Tool call:', call.name);
|
|
36
|
-
return call;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
on_tool_result(result: any) {
|
|
40
|
-
console.log(' [Decorated] Tool result');
|
|
41
|
-
return result;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
async function main() {
|
|
46
|
-
console.log(`\n=== 03-plugins.ts - Plugin API Demo (v${version()}) ===\n`);
|
|
47
|
-
|
|
48
|
-
const brain = new BrainOS();
|
|
49
|
-
await brain.start();
|
|
50
|
-
|
|
51
|
-
const addTool = { name: 'Add', description: 'Add', schema: { properties: { a: {}, b: {} } }, callback: () => '42' };
|
|
52
|
-
|
|
53
|
-
console.log('--- definePlugin ---');
|
|
54
|
-
console.log('plainPlugin name:', plainPlugin.name);
|
|
55
|
-
console.log('pluginA name:', pluginA.name);
|
|
56
|
-
console.log('pluginB name:', pluginB.name);
|
|
57
|
-
|
|
58
|
-
console.log('\n--- mergePlugins ---');
|
|
59
|
-
const merged = mergePlugins(pluginA, pluginB, plainPlugin);
|
|
60
|
-
console.log(`Merged ${merged.length} plugins:`, merged.map(p => p.name));
|
|
61
|
-
|
|
62
|
-
console.log('\n--- getPluginHandlers from class instance ---');
|
|
63
|
-
const decorated = new DecoratedPlugin();
|
|
64
|
-
const handlers = getPluginHandlers(decorated);
|
|
65
|
-
console.log('DecoratedPlugin handlers extracted:', handlers);
|
|
66
|
-
|
|
67
|
-
console.log('\n--- Agent with merged plugins ---');
|
|
68
|
-
const agent = brain.agent('plugins-demo')
|
|
69
|
-
.with_tools(addTool)
|
|
70
|
-
.with_plugins(plainPlugin);
|
|
71
|
-
|
|
72
|
-
const started = await agent.start();
|
|
73
|
-
console.log('Running agent with plainPlugin...');
|
|
74
|
-
await started.ask('Use the Add tool to calculate 5 + 3.');
|
|
75
|
-
|
|
76
|
-
console.log('\n--- Agent with decorated class plugin ---');
|
|
77
|
-
const agent2 = brain.agent('plugins-demo-2')
|
|
78
|
-
.with_tools(addTool)
|
|
79
|
-
.with_plugins(decorated);
|
|
80
|
-
|
|
81
|
-
const started2 = await agent2.start();
|
|
82
|
-
await started2.ask('Use the Add tool to calculate 7 + 3.');
|
|
83
|
-
|
|
84
|
-
await started.close();
|
|
85
|
-
await started2.close();
|
|
86
|
-
await brain.stop();
|
|
87
|
-
console.log('\nDone.');
|
|
88
|
-
process.exit(0);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
main().catch((e) => { console.error(e); process.exit(1); });
|