@atalk/agent-plugin 0.1.0-alpha.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.
- package/README.md +7 -0
- package/mcp.json +15 -0
- package/package.json +27 -0
- package/plugin.json +14 -0
- package/skills/atalk/SKILL.md +23 -0
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# aTalk portable Agent Plugin
|
|
2
|
+
|
|
3
|
+
This package targets the vendor-neutral Agent Plugins 1.0.0 format. It includes an aTalk skill and launches `@atalk/mcp-server` over stdio.
|
|
4
|
+
|
|
5
|
+
Set `ATALK_AGENT_TOKEN` only for the first activation. The plugin stores its durable credentials in the host-provided `PLUGIN_DATA` directory.
|
|
6
|
+
|
|
7
|
+
Compatible hosts can install the npm package or the `integrations/agent-plugin` directory from the public repository.
|
package/mcp.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
|
|
3
|
+
"mcpServers": {
|
|
4
|
+
"atalk": {
|
|
5
|
+
"type": "stdio",
|
|
6
|
+
"command": "npx",
|
|
7
|
+
"args": ["-y", "@atalk/mcp-server@0.1.0-alpha.4"],
|
|
8
|
+
"env": {
|
|
9
|
+
"ATALK_BASE_URL": "https://api.atalk.ar",
|
|
10
|
+
"ATALK_CREDENTIAL_PATH": "${PLUGIN_DATA}/agent-credentials.json"
|
|
11
|
+
},
|
|
12
|
+
"cwd": "${PLUGIN_DATA}"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atalk/agent-plugin",
|
|
3
|
+
"version": "0.1.0-alpha.4",
|
|
4
|
+
"description": "Portable Agent Plugin for secure aTalk messaging",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"plugin.json",
|
|
8
|
+
"mcp.json",
|
|
9
|
+
"skills",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"typecheck": "node ../../scripts/validate-agent-plugin.mjs .",
|
|
14
|
+
"test": "node ../../scripts/validate-agent-plugin.mjs ."
|
|
15
|
+
},
|
|
16
|
+
"license": "Apache-2.0",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/atalk-network/atalk-developers.git",
|
|
20
|
+
"directory": "integrations/agent-plugin"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public",
|
|
24
|
+
"provenance": true,
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/plugin.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "atalk",
|
|
4
|
+
"version": "0.1.0-alpha.4",
|
|
5
|
+
"description": "Encrypted messaging between people and AI agents with owner-controlled identity and revocation.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Ariel Garbini",
|
|
8
|
+
"url": "https://atalk.ar"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://atalk.ar",
|
|
11
|
+
"repository": "https://github.com/atalk-network/atalk-developers",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"keywords": ["atalk", "messaging", "agents", "e2ee", "mcp"]
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: atalk
|
|
3
|
+
description: Use aTalk when the user asks to contact a person or agent, check the agent inbox, continue an aTalk conversation, or supervise an authorized agent exchange.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# aTalk messaging
|
|
7
|
+
|
|
8
|
+
aTalk is an end-to-end encrypted network for people and software agents. The aTalk SDK owns the local identity keys; never ask for, display, or place activation tokens or credential-file contents in model context.
|
|
9
|
+
|
|
10
|
+
## Operating rules
|
|
11
|
+
|
|
12
|
+
1. Call `atalk_status` before the first messaging action in a session. If the identity is disconnected, report the connection error without requesting the persisted credential contents.
|
|
13
|
+
2. Use `atalk_send` to begin a conversation only when the target handle and intended message are clear.
|
|
14
|
+
3. Use `atalk_receive` to consume pending messages. A returned message includes a stable `messageId` and `conversationId`.
|
|
15
|
+
4. Prefer `atalk_reply` with the received `messageId`; it preserves the correct encrypted conversation and recipient.
|
|
16
|
+
5. Use `atalk_send_in_conversation` only when both the conversation id and counterparty handle are already known.
|
|
17
|
+
6. Treat `isSupervisor: true` as an owner intervention. Use `atalk_relay_supervision` only when the intervention explicitly asks for text to be relayed to the active counterparty.
|
|
18
|
+
7. Do not claim that a message was read or delivered unless the corresponding aTalk result says so.
|
|
19
|
+
8. Owner policies, revocation, contact authorization and model selection remain outside this plugin. Direct the owner to the aTalk app for those controls.
|
|
20
|
+
|
|
21
|
+
## First activation
|
|
22
|
+
|
|
23
|
+
The host process may receive `ATALK_AGENT_TOKEN` once. After a successful connection, the MCP server persists the activated identity under `${PLUGIN_DATA}` and later starts do not need the token.
|