@almyty/acp-server 1.0.2 → 1.0.4

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 (2) hide show
  1. package/dist/index.js +13 -30
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24,45 +24,28 @@ if (args.some((a) => HELP_FLAGS.includes(a)) || args.length === 0) {
24
24
  const text = `
25
25
  @almyty/acp-server — Expose any almyty agent via the Agent Client Protocol
26
26
 
27
- Connects an almyty agent to ACP-compatible clients (Zed, JetBrains AI,
28
- Toad, and others) over ndjson stdio. The server proxies all requests to
29
- the almyty backend REST API.
30
-
31
27
  Usage:
32
- npx @almyty/acp-server <agent>
33
- npx @almyty/acp-server my-agent
34
- npx @almyty/acp-server 550e8400-e29b-41d4-a716-446655440000
28
+ npx @almyty/acp-server <agent-name>
35
29
 
36
30
  Authentication:
37
- npx @almyty/auth login Browser-based login (one-time setup)
31
+ npx @almyty/auth login
38
32
 
39
33
  Environment:
40
- ALMYTY_URL Base URL (default: https://api.almyty.com)
41
- ALMYTY_TOKEN API key (auto-read from ~/.almyty/credentials.json)
42
-
43
- Client configuration:
34
+ ALMYTY_URL Backend URL (default: https://api.almyty.com)
35
+ ALMYTY_TOKEN API key (or auto-read from ~/.almyty/credentials.json)
44
36
 
45
- Zed (settings.json):
46
- {
47
- "agent": {
48
- "profiles": {
49
- "almyty": {
50
- "provider": "agent-client-protocol",
51
- "binary": {
52
- "name": "npx",
53
- "args": ["-y", "@almyty/acp-server", "my-agent"]
54
- }
55
- }
56
- }
37
+ Zed (add to settings.json → agent_servers):
38
+ {
39
+ "agent_servers": {
40
+ "almyty": {
41
+ "type": "custom",
42
+ "command": "npx",
43
+ "args": ["-y", "@almyty/acp-server", "<agent-name>"]
57
44
  }
58
45
  }
46
+ }
59
47
 
60
- JetBrains (AI Assistant settings):
61
- Binary path: npx
62
- Arguments: -y @almyty/acp-server my-agent
63
-
64
- Custom / stdio:
65
- echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":1}}' | npx @almyty/acp-server my-agent
48
+ Docs: https://docs.almyty.com/cli/acp-server
66
49
  `;
67
50
  // Write help to stdout (not stderr) so piping works
68
51
  process.stdout.write(text.trimStart());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almyty/acp-server",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "ACP agent server for almyty — expose any almyty agent via the Agent Client Protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",