@easbot/acp 0.0.0-stage → 0.3.29

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.
Files changed (38) hide show
  1. package/LICENSE +21 -0
  2. package/README.en.md +495 -0
  3. package/README.md +616 -2
  4. package/dist/chunks/bootstrap-5LQOAO3Q.cjs +1 -0
  5. package/dist/chunks/bootstrap-VXDGNMPK.mjs +1 -0
  6. package/dist/chunks/cache-EJ4Y2PSY.cjs +1 -0
  7. package/dist/chunks/cache-SOYLU2DS.mjs +1 -0
  8. package/dist/chunks/chunk-3OTURNTA.cjs +11 -0
  9. package/dist/chunks/chunk-CIOYWMQM.cjs +1 -0
  10. package/dist/chunks/chunk-DS4SO4NN.cjs +2 -0
  11. package/dist/chunks/chunk-ER7EK5Z3.mjs +8 -0
  12. package/dist/chunks/chunk-F44AHCPJ.cjs +8 -0
  13. package/dist/chunks/chunk-HA3RF4AE.cjs +1 -0
  14. package/dist/chunks/chunk-HQBRVVXS.mjs +1 -0
  15. package/dist/chunks/chunk-M2YU5LAI.cjs +1 -0
  16. package/dist/chunks/chunk-MFINI6BI.mjs +1 -0
  17. package/dist/chunks/chunk-PEMSMRYT.mjs +1 -0
  18. package/dist/chunks/chunk-RTXRNSMY.mjs +1 -0
  19. package/dist/chunks/chunk-SHXWJMFY.mjs +11 -0
  20. package/dist/chunks/chunk-UTBY7IJT.mjs +2 -0
  21. package/dist/chunks/chunk-Z4D2PWDQ.cjs +1 -0
  22. package/dist/chunks/cli-handler-2KK2I4DG.mjs +1 -0
  23. package/dist/chunks/cli-handler-EM2BY47U.cjs +1 -0
  24. package/dist/chunks/config-KX5CSYLV.mjs +1 -0
  25. package/dist/chunks/config-YIR7GKPG.cjs +1 -0
  26. package/dist/chunks/interfaces-6BMD3FTB.cjs +1 -0
  27. package/dist/chunks/interfaces-UB3BFHJN.mjs +1 -0
  28. package/dist/chunks/types-CHN33Z37.mjs +1 -0
  29. package/dist/chunks/types-XGBPFI7X.cjs +1 -0
  30. package/dist/cli.cjs +2 -0
  31. package/dist/cli.d.cts +1 -0
  32. package/dist/cli.d.ts +1 -0
  33. package/dist/cli.mjs +2 -0
  34. package/dist/index.cjs +1 -0
  35. package/dist/index.d.cts +1247 -0
  36. package/dist/index.d.ts +1247 -0
  37. package/dist/index.mjs +1 -0
  38. package/package.json +87 -3
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export{f as ACPAgentRuntimeConfigSchema,h as ACPClientConfigSchema,i as ACPClientsConfigSchema,d as ACPConnectionConfigSchema,b as ACPHttpConnectionConfigSchema,k as ACPInfoACPClientsConfigSchema,l as ACPInfoACPConfigSchema,j as ACPInfoACPServerConfigSchema,e as ACPModelConfigSchema,p as ACPParsePartialConfig,g as ACPServerConfigSchema,a as ACPStdioConnectionConfigSchema,o as ACPValidateConfig,c as ACPWebSocketConnectionConfigSchema,n as ACP_DEFAULT_CLIENT_CONFIG,m as ACP_DEFAULT_SERVER_CONFIG,t as clearConfigCache,y as getClientById,x as getClientsConfig,r as getConfig,u as getConfigDirectory,z as getDefaultClient,A as getGatewayClientUrl,w as getServerConfig,s as isConfigLoaded,q as loadConfig,v as reloadConfig}from'./chunks/chunk-UTBY7IJT.mjs';export{a as ACP_JSON_REL_PATH,b as AcpCache}from'./chunks/chunk-PEMSMRYT.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-RTXRNSMY.mjs';export{a as AcpEventBridge,t as AdapterBootstrap,r as AdapterEnvironmentInitializationError,q as EasBotAgent,s as EasbotAdapter,f as RegistrySessionRouter,d as RoutingError,c as RoutingErrorCode,l as ServerAgentSideConnection,b as ServerConnectionRegistry,g as ServiceMode,h as ServiceModeConflictError,e as SessionRouter,k as applyEnvironmentOverrides,p as createACPServerInstance,i as loadACPServerConfig,j as loadConfigFromEnv,o as startACPServer,m as startHttpServer,n as startWebSocketServer}from'./chunks/chunk-ER7EK5Z3.mjs';export{n as ACP_BUSINESS_CODES,o as ACP_BUSINESS_HINTS,m as AcpError,q as COMMANDS_HELP,c as I18n,b as LanguagesSupported,l as NameErrors,k as ServiceError,f as changeI18nLanguage,j as formatLog,g as getRegisteredResources,t as handleAcpCli,e as initI18n,a as languages,p as registerBusinessErrors,d as registerI18nResources,r as renderBanner,s as renderHelp,i as t,h as translate}from'./chunks/chunk-SHXWJMFY.mjs';export{a as AgentStatus,b as ChannelType}from'./chunks/chunk-MFINI6BI.mjs';import'./chunks/chunk-HQBRVVXS.mjs';
package/package.json CHANGED
@@ -1,6 +1,90 @@
1
1
  {
2
2
  "name": "@easbot/acp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.3.29",
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/types": "0.3.29",
56
+ "@easbot/sdk": "0.3.29",
57
+ "@easbot/terminal": "0.3.29",
58
+ "@easbot/utils": "0.3.29"
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
  }