amplifier-agent-ts 0.3.0
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/LICENSE +21 -0
- package/README.md +105 -0
- package/dist/approval.d.ts +40 -0
- package/dist/approval.js +49 -0
- package/dist/argv-builder.d.ts +46 -0
- package/dist/argv-builder.js +51 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +105 -0
- package/dist/mcp-spill.d.ts +40 -0
- package/dist/mcp-spill.js +88 -0
- package/dist/run-output-parser.d.ts +33 -0
- package/dist/run-output-parser.js +149 -0
- package/dist/session.d.ts +159 -0
- package/dist/session.js +317 -0
- package/dist/spawn.d.ts +61 -0
- package/dist/spawn.js +118 -0
- package/dist/transport.d.ts +69 -0
- package/dist/transport.js +113 -0
- package/dist/types.d.ts +318 -0
- package/dist/types.js +4 -0
- package/dist/version.d.ts +35 -0
- package/dist/version.js +28 -0
- package/package.json +57 -0
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "amplifier-agent-ts",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "TypeScript SDK for the Amplifier agent. Spawns and drives the amplifier-agent Python CLI over a stdio protocol.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"prebuild": "tsx scripts/gen-types.ts",
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"test": "vitest run",
|
|
20
|
+
"typecheck": "tsc --noEmit",
|
|
21
|
+
"lint": "tsc --noEmit",
|
|
22
|
+
"gen:types": "tsx scripts/gen-types.ts",
|
|
23
|
+
"prepublishOnly": "npm run build && npm run test"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=20"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/microsoft/amplifier-agent.git",
|
|
32
|
+
"directory": "wrappers/typescript"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/microsoft/amplifier-agent/tree/main/wrappers/typescript#readme",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/microsoft/amplifier-agent/issues"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"amplifier",
|
|
40
|
+
"agent",
|
|
41
|
+
"ai",
|
|
42
|
+
"llm",
|
|
43
|
+
"subprocess",
|
|
44
|
+
"client",
|
|
45
|
+
"sdk"
|
|
46
|
+
],
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"provenance": true
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/node": "^20.11.0",
|
|
52
|
+
"json-schema-to-typescript": "^15.0.0",
|
|
53
|
+
"tsx": "^4.7.0",
|
|
54
|
+
"typescript": "^5.4.0",
|
|
55
|
+
"vitest": "^1.4.0"
|
|
56
|
+
}
|
|
57
|
+
}
|