macro-agent 0.0.14 → 0.0.15
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/.claude/settings.local.json +59 -0
- package/dist/agent/agent-manager.d.ts.map +1 -1
- package/dist/agent/agent-manager.js +10 -4
- package/dist/agent/agent-manager.js.map +1 -1
- package/dist/cli/acp.d.ts +6 -0
- package/dist/cli/acp.d.ts.map +1 -1
- package/dist/cli/acp.js +16 -2
- package/dist/cli/acp.js.map +1 -1
- package/dist/map/utils/address-translation.d.ts +99 -0
- package/dist/map/utils/address-translation.d.ts.map +1 -0
- package/dist/map/utils/address-translation.js +285 -0
- package/dist/map/utils/address-translation.js.map +1 -0
- package/dist/map/utils/index.d.ts +7 -0
- package/dist/map/utils/index.d.ts.map +1 -0
- package/dist/map/utils/index.js +7 -0
- package/dist/map/utils/index.js.map +1 -0
- package/dist/store/event-store.js +9 -2
- package/dist/store/event-store.js.map +1 -1
- package/dist/store/types/agents.d.ts +2 -0
- package/dist/store/types/agents.d.ts.map +1 -1
- package/package.json +4 -4
- package/references/acp-factory-ref/CHANGELOG.md +33 -0
- package/references/acp-factory-ref/LICENSE +21 -0
- package/references/acp-factory-ref/README.md +341 -0
- package/references/acp-factory-ref/package-lock.json +3102 -0
- package/references/acp-factory-ref/package.json +96 -0
- package/references/acp-factory-ref/python/CHANGELOG.md +33 -0
- package/references/acp-factory-ref/python/LICENSE +21 -0
- package/references/acp-factory-ref/python/Makefile +57 -0
- package/references/acp-factory-ref/python/README.md +253 -0
- package/references/acp-factory-ref/python/pyproject.toml +73 -0
- package/references/acp-factory-ref/python/tests/__init__.py +0 -0
- package/references/acp-factory-ref/python/tests/e2e/__init__.py +1 -0
- package/references/acp-factory-ref/python/tests/e2e/test_codex_e2e.py +349 -0
- package/references/acp-factory-ref/python/tests/e2e/test_gemini_e2e.py +165 -0
- package/references/acp-factory-ref/python/tests/e2e/test_opencode_e2e.py +296 -0
- package/references/acp-factory-ref/python/tests/test_client_handler.py +543 -0
- package/references/acp-factory-ref/python/tests/test_pushable.py +199 -0
- package/references/claude-code-acp/.github/workflows/ci.yml +45 -0
- package/references/claude-code-acp/.github/workflows/publish.yml +34 -0
- package/references/claude-code-acp/.prettierrc.json +4 -0
- package/references/claude-code-acp/CHANGELOG.md +249 -0
- package/references/claude-code-acp/LICENSE +222 -0
- package/references/claude-code-acp/README.md +53 -0
- package/references/claude-code-acp/docs/RELEASES.md +24 -0
- package/references/claude-code-acp/eslint.config.js +48 -0
- package/references/claude-code-acp/package-lock.json +4570 -0
- package/references/claude-code-acp/package.json +88 -0
- package/references/claude-code-acp/scripts/release.sh +119 -0
- package/references/claude-code-acp/src/acp-agent.ts +2079 -0
- package/references/claude-code-acp/src/index.ts +26 -0
- package/references/claude-code-acp/src/lib.ts +38 -0
- package/references/claude-code-acp/src/mcp-server.ts +911 -0
- package/references/claude-code-acp/src/settings.ts +522 -0
- package/references/claude-code-acp/src/tests/.claude/commands/quick-math.md +5 -0
- package/references/claude-code-acp/src/tests/.claude/commands/say-hello.md +6 -0
- package/references/claude-code-acp/src/tests/acp-agent-fork.test.ts +479 -0
- package/references/claude-code-acp/src/tests/acp-agent.test.ts +1502 -0
- package/references/claude-code-acp/src/tests/extract-lines.test.ts +103 -0
- package/references/claude-code-acp/src/tests/fork-session.test.ts +335 -0
- package/references/claude-code-acp/src/tests/replace-and-calculate-location.test.ts +334 -0
- package/references/claude-code-acp/src/tests/settings.test.ts +617 -0
- package/references/claude-code-acp/src/tests/skills-options.test.ts +187 -0
- package/references/claude-code-acp/src/tests/tools.test.ts +318 -0
- package/references/claude-code-acp/src/tests/typescript-declarations.test.ts +558 -0
- package/references/claude-code-acp/src/tools.ts +819 -0
- package/references/claude-code-acp/src/utils.ts +171 -0
- package/references/claude-code-acp/tsconfig.json +18 -0
- package/references/claude-code-acp/vitest.config.ts +19 -0
- package/references/multi-agent-protocol/.sudocode/issues.jsonl +111 -0
- package/references/multi-agent-protocol/.sudocode/specs.jsonl +13 -0
- package/references/multi-agent-protocol/LICENSE +21 -0
- package/references/multi-agent-protocol/README.md +113 -0
- package/references/multi-agent-protocol/docs/00-design-specification.md +496 -0
- package/references/multi-agent-protocol/docs/01-open-questions.md +1050 -0
- package/references/multi-agent-protocol/docs/02-wire-protocol.md +296 -0
- package/references/multi-agent-protocol/docs/03-streaming-semantics.md +252 -0
- package/references/multi-agent-protocol/docs/04-error-handling.md +231 -0
- package/references/multi-agent-protocol/docs/05-connection-model.md +244 -0
- package/references/multi-agent-protocol/docs/06-visibility-permissions.md +243 -0
- package/references/multi-agent-protocol/docs/07-federation.md +259 -0
- package/references/multi-agent-protocol/docs/08-macro-agent-migration.md +253 -0
- package/references/multi-agent-protocol/docs/09-authentication.md +680 -0
- package/references/multi-agent-protocol/docs/10-mail-protocol.md +553 -0
- package/references/multi-agent-protocol/docs/agent-iam-integration.md +877 -0
- package/references/multi-agent-protocol/docs/agentic-mesh-integration-draft.md +459 -0
- package/references/multi-agent-protocol/docs/git-transport-draft.md +251 -0
- package/references/multi-agent-protocol/docs-site/Gemfile +22 -0
- package/references/multi-agent-protocol/docs-site/README.md +82 -0
- package/references/multi-agent-protocol/docs-site/_config.yml +91 -0
- package/references/multi-agent-protocol/docs-site/_includes/head_custom.html +20 -0
- package/references/multi-agent-protocol/docs-site/_sass/color_schemes/map.scss +42 -0
- package/references/multi-agent-protocol/docs-site/_sass/custom/custom.scss +34 -0
- package/references/multi-agent-protocol/docs-site/examples/full-integration.md +510 -0
- package/references/multi-agent-protocol/docs-site/examples/index.md +138 -0
- package/references/multi-agent-protocol/docs-site/examples/simple-chat.md +282 -0
- package/references/multi-agent-protocol/docs-site/examples/task-queue.md +399 -0
- package/references/multi-agent-protocol/docs-site/getting-started/index.md +98 -0
- package/references/multi-agent-protocol/docs-site/getting-started/installation.md +219 -0
- package/references/multi-agent-protocol/docs-site/getting-started/overview.md +172 -0
- package/references/multi-agent-protocol/docs-site/getting-started/quickstart.md +237 -0
- package/references/multi-agent-protocol/docs-site/index.md +136 -0
- package/references/multi-agent-protocol/docs-site/protocol/authentication.md +391 -0
- package/references/multi-agent-protocol/docs-site/protocol/connection-model.md +376 -0
- package/references/multi-agent-protocol/docs-site/protocol/design.md +284 -0
- package/references/multi-agent-protocol/docs-site/protocol/error-handling.md +312 -0
- package/references/multi-agent-protocol/docs-site/protocol/federation.md +449 -0
- package/references/multi-agent-protocol/docs-site/protocol/index.md +129 -0
- package/references/multi-agent-protocol/docs-site/protocol/permissions.md +398 -0
- package/references/multi-agent-protocol/docs-site/protocol/streaming.md +353 -0
- package/references/multi-agent-protocol/docs-site/protocol/wire-protocol.md +369 -0
- package/references/multi-agent-protocol/docs-site/sdk/api/agent.md +357 -0
- package/references/multi-agent-protocol/docs-site/sdk/api/client.md +380 -0
- package/references/multi-agent-protocol/docs-site/sdk/api/index.md +62 -0
- package/references/multi-agent-protocol/docs-site/sdk/api/server.md +453 -0
- package/references/multi-agent-protocol/docs-site/sdk/api/types.md +468 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/agent.md +375 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/authentication.md +405 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/client.md +352 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/index.md +89 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/server.md +360 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/testing.md +446 -0
- package/references/multi-agent-protocol/docs-site/sdk/guides/transports.md +363 -0
- package/references/multi-agent-protocol/docs-site/sdk/index.md +206 -0
- package/references/multi-agent-protocol/package-lock.json +3886 -0
- package/references/multi-agent-protocol/package.json +56 -0
- package/references/multi-agent-protocol/schema/meta.json +467 -0
- package/references/multi-agent-protocol/schema/schema.json +2558 -0
- package/src/agent/__tests__/agent-manager.test.ts +67 -1
- package/src/agent/agent-manager.ts +10 -4
- package/src/cli/__tests__/stable-instance-id.test.ts +57 -0
- package/src/cli/acp.ts +17 -2
- package/src/store/event-store.ts +10 -3
- package/src/store/types/agents.ts +2 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
|
|
3
|
+
gem "jekyll", "~> 4.3"
|
|
4
|
+
gem "just-the-docs", "~> 0.8"
|
|
5
|
+
|
|
6
|
+
group :jekyll_plugins do
|
|
7
|
+
gem "jekyll-seo-tag"
|
|
8
|
+
gem "jekyll-include-cache"
|
|
9
|
+
gem "jekyll-sitemap"
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# Windows and JRuby does not include zoneinfo files
|
|
13
|
+
platforms :mingw, :x64_mingw, :mswin, :jruby do
|
|
14
|
+
gem "tzinfo", ">= 1", "< 3"
|
|
15
|
+
gem "tzinfo-data"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Performance-booster for watching directories on Windows
|
|
19
|
+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
|
20
|
+
|
|
21
|
+
# Lock http_parser.rb for JRuby
|
|
22
|
+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Multi-Agent Protocol Documentation Site
|
|
2
|
+
|
|
3
|
+
This directory contains the Jekyll-based documentation site for the Multi-Agent Protocol.
|
|
4
|
+
|
|
5
|
+
## Local Development
|
|
6
|
+
|
|
7
|
+
### Prerequisites
|
|
8
|
+
|
|
9
|
+
- Ruby 3.0+
|
|
10
|
+
- Bundler
|
|
11
|
+
|
|
12
|
+
### Setup
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
cd docs-site
|
|
16
|
+
bundle install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Running Locally
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
bundle exec jekyll serve
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The site will be available at http://localhost:4000/multi-agent-protocol/
|
|
26
|
+
|
|
27
|
+
### Live Reload
|
|
28
|
+
|
|
29
|
+
For automatic reloading during development:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
bundle exec jekyll serve --livereload
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Structure
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
docs-site/
|
|
39
|
+
├── _config.yml # Jekyll configuration
|
|
40
|
+
├── Gemfile # Ruby dependencies
|
|
41
|
+
├── index.md # Homepage
|
|
42
|
+
├── getting-started/ # Getting started guides
|
|
43
|
+
├── protocol/ # Protocol specification
|
|
44
|
+
├── sdk/ # SDK documentation
|
|
45
|
+
│ ├── guides/ # Integration guides
|
|
46
|
+
│ └── api/ # API reference
|
|
47
|
+
└── examples/ # Working examples
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Adding New Pages
|
|
51
|
+
|
|
52
|
+
1. Create a markdown file in the appropriate directory
|
|
53
|
+
2. Add front matter:
|
|
54
|
+
|
|
55
|
+
```yaml
|
|
56
|
+
---
|
|
57
|
+
title: Page Title
|
|
58
|
+
parent: Parent Section
|
|
59
|
+
nav_order: 1
|
|
60
|
+
description: "Brief description"
|
|
61
|
+
---
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
3. Write content using GitHub-flavored Markdown
|
|
65
|
+
|
|
66
|
+
## Search
|
|
67
|
+
|
|
68
|
+
Search is powered by [Lunr.js](https://lunrjs.com/) and is automatically enabled, indexing all pages.
|
|
69
|
+
|
|
70
|
+
## Deployment
|
|
71
|
+
|
|
72
|
+
The site automatically deploys to GitHub Pages when changes are pushed to the `main` branch. See `.github/workflows/docs.yml` for the deployment configuration.
|
|
73
|
+
|
|
74
|
+
## Customization
|
|
75
|
+
|
|
76
|
+
- Colors and branding: Edit `_config.yml`
|
|
77
|
+
- Custom CSS: Create `_sass/custom/custom.scss`
|
|
78
|
+
- Custom layouts: Create files in `_layouts/`
|
|
79
|
+
|
|
80
|
+
## Links
|
|
81
|
+
|
|
82
|
+
- [Jekyll documentation](https://jekyllrb.com/docs/)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
title: Multi-Agent Protocol
|
|
2
|
+
description: A JSON-RPC based protocol for observing, coordinating, and routing messages within multi-agent AI systems.
|
|
3
|
+
baseurl: "/multi-agent-protocol"
|
|
4
|
+
url: "https://multi-agent-protocol.github.io"
|
|
5
|
+
|
|
6
|
+
theme: just-the-docs
|
|
7
|
+
color_scheme: map
|
|
8
|
+
|
|
9
|
+
# Use default layout for all pages
|
|
10
|
+
defaults:
|
|
11
|
+
- scope:
|
|
12
|
+
path: ""
|
|
13
|
+
values:
|
|
14
|
+
layout: "default"
|
|
15
|
+
|
|
16
|
+
# Repository
|
|
17
|
+
gh_repo: multi-agent-protocol/multi-agent-protocol
|
|
18
|
+
|
|
19
|
+
# Aux links (top right)
|
|
20
|
+
aux_links:
|
|
21
|
+
GitHub: https://github.com/multi-agent-protocol/multi-agent-protocol
|
|
22
|
+
aux_links_new_tab: true
|
|
23
|
+
|
|
24
|
+
# Footer
|
|
25
|
+
gh_edit_link: true
|
|
26
|
+
gh_edit_link_text: "Edit this page on GitHub"
|
|
27
|
+
gh_edit_repository: "https://github.com/multi-agent-protocol/multi-agent-protocol"
|
|
28
|
+
gh_edit_branch: "main"
|
|
29
|
+
gh_edit_source: docs-site
|
|
30
|
+
gh_edit_view_mode: "edit"
|
|
31
|
+
|
|
32
|
+
# Footer content
|
|
33
|
+
footer_content: "Copyright © 2026 Multi-Agent Protocol Contributors. Distributed under the MIT License."
|
|
34
|
+
|
|
35
|
+
# Back to top link
|
|
36
|
+
back_to_top: true
|
|
37
|
+
back_to_top_text: "Back to top"
|
|
38
|
+
|
|
39
|
+
# Search (Lunr.js)
|
|
40
|
+
search_enabled: true
|
|
41
|
+
search:
|
|
42
|
+
heading_level: 2
|
|
43
|
+
previews: 3
|
|
44
|
+
preview_words_before: 5
|
|
45
|
+
preview_words_after: 10
|
|
46
|
+
tokenizer_separator: /[\s/]+/
|
|
47
|
+
rel_url: true
|
|
48
|
+
button: false
|
|
49
|
+
|
|
50
|
+
# Navigation
|
|
51
|
+
nav_sort: case_insensitive
|
|
52
|
+
|
|
53
|
+
# Heading anchor links
|
|
54
|
+
heading_anchors: true
|
|
55
|
+
|
|
56
|
+
# External links open in new tab
|
|
57
|
+
external_links:
|
|
58
|
+
enabled: true
|
|
59
|
+
new_tab: true
|
|
60
|
+
|
|
61
|
+
# Callouts
|
|
62
|
+
callouts_level: quiet
|
|
63
|
+
callouts:
|
|
64
|
+
highlight:
|
|
65
|
+
color: yellow
|
|
66
|
+
important:
|
|
67
|
+
title: Important
|
|
68
|
+
color: blue
|
|
69
|
+
new:
|
|
70
|
+
title: New
|
|
71
|
+
color: green
|
|
72
|
+
note:
|
|
73
|
+
title: Note
|
|
74
|
+
color: blue
|
|
75
|
+
warning:
|
|
76
|
+
title: Warning
|
|
77
|
+
color: red
|
|
78
|
+
|
|
79
|
+
# Code copy button
|
|
80
|
+
enable_copy_code_button: true
|
|
81
|
+
|
|
82
|
+
# Mermaid diagrams - enabled globally
|
|
83
|
+
mermaid:
|
|
84
|
+
# Version from https://cdn.jsdelivr.net/npm/mermaid/
|
|
85
|
+
version: "10.6.0"
|
|
86
|
+
|
|
87
|
+
# Exclude from build
|
|
88
|
+
exclude:
|
|
89
|
+
- Gemfile.lock
|
|
90
|
+
- node_modules/
|
|
91
|
+
- vendor/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Mermaid diagram support -->
|
|
2
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.0/dist/mermaid.min.js"></script>
|
|
3
|
+
<script>
|
|
4
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
5
|
+
mermaid.initialize({
|
|
6
|
+
startOnLoad: true,
|
|
7
|
+
theme: 'neutral',
|
|
8
|
+
securityLevel: 'loose',
|
|
9
|
+
flowchart: {
|
|
10
|
+
useMaxWidth: true,
|
|
11
|
+
htmlLabels: true
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
<style>
|
|
17
|
+
.mermaid {
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Custom dark blue color scheme for MAP docs
|
|
2
|
+
|
|
3
|
+
// Primary colors - dark blues
|
|
4
|
+
$link-color: #1e3a5f;
|
|
5
|
+
$btn-primary-color: #1e3a5f;
|
|
6
|
+
|
|
7
|
+
// Slightly lighter blue for hover states
|
|
8
|
+
$link-color-hover: #2c5282;
|
|
9
|
+
|
|
10
|
+
// Background and text - cool grays (no warm tones)
|
|
11
|
+
$body-background-color: #ffffff;
|
|
12
|
+
$body-text-color: #18181b;
|
|
13
|
+
$sidebar-color: #f4f4f5;
|
|
14
|
+
|
|
15
|
+
// Code blocks - cool gray
|
|
16
|
+
$code-background-color: #f4f4f5;
|
|
17
|
+
|
|
18
|
+
// Search highlight
|
|
19
|
+
$search-result-preview-color: #1e3a5f;
|
|
20
|
+
|
|
21
|
+
// Feedback/buttons
|
|
22
|
+
$feedback-color: #1e3a5f;
|
|
23
|
+
|
|
24
|
+
// Navigation - cool grays
|
|
25
|
+
$nav-child-link-color: #3f3f46;
|
|
26
|
+
$nav-child-link-color-active: #1e3a5f;
|
|
27
|
+
|
|
28
|
+
// Headers
|
|
29
|
+
$heading-color: #1a365d;
|
|
30
|
+
|
|
31
|
+
// Border colors - cool gray
|
|
32
|
+
$border-color: #e4e4e7;
|
|
33
|
+
|
|
34
|
+
// Table colors - cool gray
|
|
35
|
+
$table-background-color: #fafafa;
|
|
36
|
+
|
|
37
|
+
// Callout note color (was purple, now blue)
|
|
38
|
+
$note-color: #1e3a5f;
|
|
39
|
+
|
|
40
|
+
// Content width - wider layout
|
|
41
|
+
$content-width: 1100px;
|
|
42
|
+
$nav-width: 280px;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Custom styles for MAP docs
|
|
2
|
+
|
|
3
|
+
// Wider content area
|
|
4
|
+
.main {
|
|
5
|
+
max-width: 1200px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.main-content {
|
|
9
|
+
max-width: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Wider overall container
|
|
13
|
+
@media (min-width: 66.5rem) {
|
|
14
|
+
.side-bar {
|
|
15
|
+
width: 280px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.main {
|
|
19
|
+
margin-left: 280px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.main-content-wrap {
|
|
23
|
+
max-width: 1000px;
|
|
24
|
+
padding-left: 2rem;
|
|
25
|
+
padding-right: 2rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Even wider on large screens
|
|
30
|
+
@media (min-width: 100rem) {
|
|
31
|
+
.main-content-wrap {
|
|
32
|
+
max-width: 1200px;
|
|
33
|
+
}
|
|
34
|
+
}
|