@1agents/acp-service 0.10.0 → 0.10.1

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/README.md CHANGED
@@ -286,7 +286,7 @@ Tests use the official ACP SDK over real WebSockets, cover session lifecycle and
286
286
 
287
287
  `GET /agents` returns `{ "agents": [...] }`, a fresh local filesystem inventory shared by DSH and 1agents_app. Each entry includes the canonical ACP registry `id`, display `label`, native CLI `installed`, and `chat_ready`. Legacy app fields (`type`, capabilities, cc-connect transport, integration status and install guidance) remain available; `claude` uses the legacy app type `claudecode`.
288
288
 
289
- Discovery checks PATH, `~/.local/bin`, `~/.grok/bin`, and installed adapter package launch files. A registered native ACP command is ready when its executable exists. Adapter-backed harnesses are ready when the adapter is installed, or when their native CLI and `npx` are installed; the latter uses the runtime's existing adapter download behavior when a session launches. Having `npx` or `uvx` alone does not expose uninstalled harnesses. Scanning neither executes agents nor downloads packages, and readiness does not verify credentials or model access. Detection-only frameworks remain in the inventory with `chat_ready: false`.
289
+ Discovery checks PATH, `~/.local/bin`, `~/.grok/bin`, and installed adapter package launch files. A registered native ACP command is ready when its executable exists. Adapter-backed harnesses are ready when the adapter is installed, or when their native CLI and `npx` are installed; the latter uses the runtime's existing adapter download behavior when a session launches. Having `npx` or `uvx` alone does not expose uninstalled harnesses. Scanning neither executes agents nor downloads packages, and readiness does not verify credentials or model access. Detection-only frameworks remain in the inventory with `chat_ready: false`. Antigravity is ready only when its official ACP runtime is installed (`agy_acp_server.par`, or `agy_acp_server.exe` on Windows), not when the separate `agy` CLI is present. Keep `localharness_external` from the same release beside that runtime, or set `ANTIGRAVITY_HARNESS_PATH` to the helper. Antigravity's fixed-choice questions are still cancelled by the runtime and have to be answered in an interactive client.
290
290
 
291
291
  The service launcher uses the same local command resolution, including absolute paths to user-local binaries. The catalog originates from 1agents_app's former Go detector; consumers no longer probe their own host or maintain separate detection tables. `discoverAgents()` is also exported for embedded service consumers and includes local executable paths; the HTTP response omits these paths.
292
292
 
@@ -113,12 +113,12 @@ export const catalogDescriptors = [
113
113
  {
114
114
  "type": "antigravity",
115
115
  "label": "Antigravity",
116
- "binary": "agy",
117
- "acp_capable": false,
116
+ "binary": "agy_acp_server.par",
117
+ "acp_capable": true,
118
118
  "cli_capable": true,
119
- "cc_transport": "",
120
- "integrated": false,
121
- "install_command": "curl -fsSL https://antigravity.google/cli/install.sh | bash"
119
+ "cc_transport": "acp",
120
+ "integrated": true,
121
+ "install_command": "Install agy_acp_server and localharness_external from the same antigravity-acp release (https://github.com/agentclientprotocol/registry/blob/main/antigravity-acp/agent.json) onto PATH, and point ANTIGRAVITY_HARNESS_PATH at that helper"
122
122
  },
123
123
  {
124
124
  "type": "openhands",
@@ -108,14 +108,21 @@ function localLaunch(id, options) {
108
108
  const binary = findAgentBinary(argv[0], options);
109
109
  return binary ? [binary, ...argv.slice(1)] : undefined;
110
110
  }
111
+ /** Antigravity's ACP runtime is a separate download from the `agy` CLI. */
112
+ function discoveryBinary(id, descriptor, argv, platform) {
113
+ if (id === 'antigravity')
114
+ return platform === 'win32' ? 'agy_acp_server.exe' : 'agy_acp_server.par';
115
+ return descriptor?.binary ?? (Array.isArray(argv) && !['npx', 'uvx'].includes(argv[0]) ? argv[0] : id);
116
+ }
111
117
  /** Fresh filesystem snapshot. An installed CLI may use the runtime's adapter download fallback on launch; scanning never downloads or authenticates. */
112
118
  export function discoverAgents(options = {}) {
113
119
  const descriptors = new Map(catalogDescriptors.map(d => [d.type === 'claudecode' ? 'claude' : d.type, d]));
114
120
  const supportedAgents = new Set(registry.list());
121
+ const platform = options.platform ?? process.platform;
115
122
  return [...new Set([...supportedAgents, ...descriptors.keys()])].map(id => {
116
123
  const descriptor = descriptors.get(id);
117
124
  const argv = registry.resolve(id);
118
- const binary = descriptor?.binary ?? (Array.isArray(argv) && !['npx', 'uvx'].includes(argv[0]) ? argv[0] : id);
125
+ const binary = discoveryBinary(id, descriptor, argv, platform);
119
126
  const path = findAgentBinary(binary, options);
120
127
  const supported = supportedAgents.has(id);
121
128
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agents/acp-service",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "agent-workflow ACP runtime, CLI, HTTP/WebSocket service and DeepSeek Harness ACP/A2A plugins in one package. Part of 一芥天地 (DreamMate World).",
5
5
  "keywords": [
6
6
  "dreammate",