@easbot/acp 0.0.0-stage → 0.3.32
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.en.md +522 -0
- package/README.md +667 -2
- package/dist/chunks/bootstrap-GGS3N5CF.cjs +1 -0
- package/dist/chunks/bootstrap-MZQICOGZ.mjs +1 -0
- package/dist/chunks/cache-3R3ORBTY.cjs +1 -0
- package/dist/chunks/cache-76CBF3LU.mjs +1 -0
- package/dist/chunks/chunk-2KOCPHVP.mjs +1 -0
- package/dist/chunks/chunk-33M2R2US.mjs +1 -0
- package/dist/chunks/chunk-3DHMW4DB.mjs +11 -0
- package/dist/chunks/chunk-5HWD3B3N.cjs +11 -0
- package/dist/chunks/chunk-7RWES66A.cjs +2 -0
- package/dist/chunks/chunk-B3ANZALB.mjs +2 -0
- package/dist/chunks/chunk-BNSJ6COS.cjs +1 -0
- package/dist/chunks/chunk-D4TSQ2TT.mjs +0 -0
- package/dist/chunks/chunk-D7S7ARXV.mjs +8 -0
- package/dist/chunks/chunk-DX35VSAT.cjs +1 -0
- package/dist/chunks/chunk-HQBRVVXS.mjs +1 -0
- package/dist/chunks/chunk-ITV7SWGU.cjs +8 -0
- package/dist/chunks/chunk-JLO7UYKQ.cjs +1 -0
- package/dist/chunks/chunk-M2YU5LAI.cjs +1 -0
- package/dist/chunks/chunk-NHXAYBZH.mjs +1 -0
- package/dist/chunks/chunk-PATHHDWE.mjs +1 -0
- package/dist/chunks/chunk-RHW6YR3D.mjs +2 -0
- package/dist/chunks/chunk-SNWAB3QJ.cjs +2 -0
- package/dist/chunks/chunk-VVGGER23.cjs +1 -0
- package/dist/chunks/chunk-Z3YEK7DD.cjs +1 -0
- package/dist/chunks/cli-handler-6XB6B5DV.mjs +1 -0
- package/dist/chunks/cli-handler-IU3YUTOU.cjs +1 -0
- package/dist/chunks/config-FTGKCGYZ.mjs +1 -0
- package/dist/chunks/config-ZVDYJ7TW.cjs +1 -0
- package/dist/chunks/interfaces-6ZCF5T55.cjs +1 -0
- package/dist/chunks/interfaces-TXNKX4HT.mjs +1 -0
- package/dist/chunks/loader-3KX33KJQ.cjs +1 -0
- package/dist/chunks/loader-6HBCWO6Y.mjs +1 -0
- package/dist/chunks/types-BZWPIPG6.mjs +1 -0
- package/dist/chunks/types-R3VOD4XE.cjs +1 -0
- package/dist/cli.cjs +2 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +2 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2030 -0
- package/dist/index.d.ts +2030 -0
- package/dist/index.mjs +1 -0
- package/package.json +87 -3
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{k as COMMANDS_HELP,c as I18n,b as LanguagesSupported,f as changeI18nLanguage,j as formatLog,g as getRegisteredResources,n as handleAcpCli,e as initI18n,a as languages,d as registerI18nResources,l as renderBanner,m as renderHelp,i as t,h as translate}from'./chunks/chunk-3DHMW4DB.mjs';import'./chunks/chunk-D4TSQ2TT.mjs';export{e as clearConfigCache,j as getClientById,i as getClientsConfig,c as getConfig,g as getConfigDirectory,k as getDefaultClient,l as getGatewayClientUrl,h as getServerConfig,d as isConfigLoaded,b as loadConfig,f as reloadConfig}from'./chunks/chunk-RHW6YR3D.mjs';export{a as AcpEventBridge,t as AdapterBootstrap,q as EasBotAgent,s as EasbotAdapter,f as RegistrySessionRouter,c as RoutingErrorCode,l as ServerAgentSideConnection,b as ServerConnectionRegistry,g as ServiceMode,e as SessionRouter,k as applyEnvironmentOverrides,p as createACPServerInstance,r as createAdapterEnvironmentInitializationError,d as createRoutingError,h as createServiceModeConflictError,i as loadACPServerConfig,j as loadConfigFromEnv,o as startACPServer,m as startHttpServer,n as startWebSocketServer}from'./chunks/chunk-D7S7ARXV.mjs';export{p as ACP_BUSINESS_CODES,q as ACP_BUSINESS_HINTS,s as ACP_STDIO_COMMAND,c as AcpError,d as ErrorType,b as NameErrors,a as ServiceError,k as createAdapterError,l as createChannelError,n as createConfigError,m as createNetworkError,o as createTimeoutError,t as getAcpEndpointUrl,h as isAdapterEnvironmentInitializationError,e as isAdapterError,j as isAdapterErrorFatal,i as isAdapterErrorRetryable,g as isRoutingError,f as isServiceModeConflictError,r as registerBusinessErrors}from'./chunks/chunk-B3ANZALB.mjs';export{a as AgentStatus,b as ChannelType}from'./chunks/chunk-33M2R2US.mjs';import'./chunks/chunk-PATHHDWE.mjs';export{l as ACPAgentRuntimeConfigSchema,b as ACPClientConfigSchema,c as ACPClientsConfigSchema,j as ACPConnectionConfigSchema,h as ACPHttpConnectionConfigSchema,n as ACPInfoACPClientsConfigSchema,d as ACPInfoACPConfigSchema,m as ACPInfoACPServerConfigSchema,k as ACPModelConfigSchema,f as ACPParsePartialConfig,a as ACPServerConfigSchema,g as ACPStdioConnectionConfigSchema,e as ACPValidateConfig,i as ACPWebSocketConnectionConfigSchema,p as ACP_DEFAULT_CLIENT_CONFIG,o as ACP_DEFAULT_SERVER_CONFIG,q as ACP_JSON_REL_PATH,r as AcpCache}from'./chunks/chunk-2KOCPHVP.mjs';export{c as getGlobal,j as getHomeDir,f as getInstance,m as getProjectDirectory,i as getSdk,l as getWorktree,k as getXdgData,h as resetEasbotClientAdapter,b as resetGlobalAdapter,e as resetInstanceAdapter,g as setEasbotClientAdapter,a as setGlobalAdapter,d as setInstanceAdapter}from'./chunks/chunk-NHXAYBZH.mjs';import'./chunks/chunk-HQBRVVXS.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easbot/acp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.3.32",
|
|
4
|
+
"description": "EASBot ACP (Agent Communication Protocol) adapter — multi-channel server / client / connection layer for the Agent Client Protocol (stdio / http / websocket), with config loader, L2 cache and standalone CLI.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
"bin": {
|
|
18
|
+
"easbot-acp": "./dist/cli.mjs"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"easbot",
|
|
22
|
+
"acp",
|
|
23
|
+
"agent-client-protocol",
|
|
24
|
+
"agent-communication-protocol",
|
|
25
|
+
"server",
|
|
26
|
+
"client",
|
|
27
|
+
"stdio",
|
|
28
|
+
"http",
|
|
29
|
+
"websocket",
|
|
30
|
+
"rpc",
|
|
31
|
+
"typescript"
|
|
32
|
+
],
|
|
33
|
+
"author": "houjallen",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/houjallen/easbot.git",
|
|
38
|
+
"directory": "packages/acp"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/houjallen/easbot/tree/main/packages/acp#readme",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/houjallen/easbot/issues"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"README.md",
|
|
47
|
+
"README.en.md",
|
|
48
|
+
"LICENSE"
|
|
49
|
+
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@agentclientprotocol/sdk": "^1.3.0",
|
|
52
|
+
"diff": "^9.0.0",
|
|
53
|
+
"ws": "^8.20.0",
|
|
54
|
+
"zod": "^4.4.3",
|
|
55
|
+
"@easbot/sdk": "0.3.32",
|
|
56
|
+
"@easbot/types": "0.3.32",
|
|
57
|
+
"@easbot/utils": "0.3.32",
|
|
58
|
+
"@easbot/terminal": "0.3.32"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^25.9.5",
|
|
62
|
+
"@types/ws": "^8.18.1",
|
|
63
|
+
"tsup": "^8.5.1",
|
|
64
|
+
"typescript": "^6.0.3",
|
|
65
|
+
"vitest": "^4.1.10"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=22.22.2"
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"dev": "tsup --watch --env.NODE_ENV development",
|
|
75
|
+
"build": "tsup --env.NODE_ENV production",
|
|
76
|
+
"test": "vitest",
|
|
77
|
+
"test:run": "vitest run",
|
|
78
|
+
"test:coverage": "vitest run --coverage",
|
|
79
|
+
"test:clean": "tsx scripts/clean-test-fixtures.ts",
|
|
80
|
+
"lint": "biome check .",
|
|
81
|
+
"lint:fix": "biome check --write .",
|
|
82
|
+
"lint:report": "biome check --reporter=summary .",
|
|
83
|
+
"format": "biome format .",
|
|
84
|
+
"format:fix": "biome format --write .",
|
|
85
|
+
"type-check": "tsc --noEmit",
|
|
86
|
+
"clean": "rimraf dist node_modules",
|
|
87
|
+
"publish:npm": "bash scripts/publish.sh",
|
|
88
|
+
"publish:npm:win": "powershell -ExecutionPolicy Bypass -File scripts/publish.ps1"
|
|
89
|
+
}
|
|
6
90
|
}
|