@agi-cli/sdk 0.1.51 → 0.1.53
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/package.json +18 -11
- package/src/global.d.ts +4 -0
- package/src/index.ts +11 -0
- package/src/tools/builtin/fs.ts +1 -0
- package/src/tools/builtin/git.ts +1 -0
- package/src/web-ui.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agi-cli/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.53",
|
|
4
4
|
"description": "AI agent SDK for building intelligent assistants - tree-shakable and comprehensive",
|
|
5
5
|
"author": "ntishxyz",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,35 +16,42 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "./src/index.ts",
|
|
18
18
|
"types": "./src/index.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"src",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
19
24
|
"exports": {
|
|
20
25
|
".": {
|
|
21
26
|
"import": "./src/index.ts",
|
|
22
27
|
"types": "./src/index.ts"
|
|
23
28
|
},
|
|
24
29
|
"./tools/builtin/fs": {
|
|
25
|
-
"import": "
|
|
26
|
-
"types": "
|
|
30
|
+
"import": "./src/tools/builtin/fs.ts",
|
|
31
|
+
"types": "./src/tools/builtin/fs.ts"
|
|
27
32
|
},
|
|
28
33
|
"./tools/builtin/git": {
|
|
29
|
-
"import": "
|
|
30
|
-
"types": "
|
|
34
|
+
"import": "./src/tools/builtin/git.ts",
|
|
35
|
+
"types": "./src/tools/builtin/git.ts"
|
|
36
|
+
},
|
|
37
|
+
"./web-ui": {
|
|
38
|
+
"import": "./src/web-ui.ts",
|
|
39
|
+
"types": "./src/web-ui.ts"
|
|
31
40
|
}
|
|
32
41
|
},
|
|
33
|
-
"files": [
|
|
34
|
-
"src",
|
|
35
|
-
"README.md",
|
|
36
|
-
"LICENSE"
|
|
37
|
-
],
|
|
38
42
|
"scripts": {
|
|
39
43
|
"dev": "bun run src/index.ts",
|
|
44
|
+
"build": "bun run build.ts",
|
|
40
45
|
"test": "bun test",
|
|
41
|
-
"typecheck": "tsc --noEmit"
|
|
46
|
+
"typecheck": "tsc --noEmit",
|
|
47
|
+
"prepublishOnly": "bun run build"
|
|
42
48
|
},
|
|
43
49
|
"dependencies": {
|
|
44
50
|
"@agi-cli/auth": "0.1.0",
|
|
45
51
|
"@agi-cli/config": "0.1.0",
|
|
46
52
|
"@agi-cli/core": "0.1.0",
|
|
47
53
|
"@agi-cli/database": "0.1.0",
|
|
54
|
+
"@agi-cli/web-ui": "0.1.53",
|
|
48
55
|
"@agi-cli/providers": "0.1.0",
|
|
49
56
|
"@agi-cli/prompts": "0.1.0",
|
|
50
57
|
"@agi-cli/server": "0.1.0",
|
package/src/global.d.ts
ADDED
package/src/index.ts
CHANGED
|
@@ -138,6 +138,17 @@ export { z } from '@agi-cli/core';
|
|
|
138
138
|
// =======================
|
|
139
139
|
export { createApp as createServer } from '@agi-cli/server';
|
|
140
140
|
|
|
141
|
+
// =======================
|
|
142
|
+
// Web UI (from @agi-cli/web-ui)
|
|
143
|
+
// =======================
|
|
144
|
+
export {
|
|
145
|
+
serveWebUI,
|
|
146
|
+
getWebUIPath,
|
|
147
|
+
getIndexPath,
|
|
148
|
+
isWebUIAvailable,
|
|
149
|
+
} from '@agi-cli/web-ui';
|
|
150
|
+
export type { ServeWebUIOptions } from '@agi-cli/web-ui';
|
|
151
|
+
|
|
141
152
|
// =======================
|
|
142
153
|
// SDK-specific Agent Types
|
|
143
154
|
// =======================
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@agi-cli/core/tools/builtin/fs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@agi-cli/core/tools/builtin/git';
|