@a4hgehad/weave-mcp 0.7.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/LICENSE +21 -0
- package/README.md +380 -0
- package/dist/index.js +6023 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Weave
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/weave_logo.png" alt="Weave" width="400">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Weave
|
|
6
|
+
|
|
7
|
+
Weave is a lean OpenCode plugin with multi-agent orchestration. It provides a cohesive framework for weaving agents, tools, and skills into structured workflows. By delegating complex tasks to specialized agents and monitoring execution state through hooks, Weave ensures reliable and efficient project development.
|
|
8
|
+
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
- [Overview](#overview)
|
|
12
|
+
- [Documentation](#documentation)
|
|
13
|
+
- [Agents](#agents)
|
|
14
|
+
- [Agent Modes](#agent-modes)
|
|
15
|
+
- [Agent Details](#agent-details)
|
|
16
|
+
- [Workflow](#workflow)
|
|
17
|
+
- [When the Full Workflow Is Used](#when-the-full-workflow-is-used)
|
|
18
|
+
- [1. Plan](#1-plan)
|
|
19
|
+
- [2. Review (Optional)](#2-review-optional)
|
|
20
|
+
- [3. Execute](#3-execute)
|
|
21
|
+
- [Resuming Interrupted Work](#resuming-interrupted-work)
|
|
22
|
+
- [Quick Tasks (No Plan Needed)](#quick-tasks-no-plan-needed)
|
|
23
|
+
- [Installation](#installation)
|
|
24
|
+
- [Prerequisites](#prerequisites)
|
|
25
|
+
- [Step 1: Add to opencode.json](#step-1-add-to-opencodejson)
|
|
26
|
+
- [Step 2: Restart OpenCode](#step-2-restart-opencode)
|
|
27
|
+
- [Troubleshooting](#troubleshooting)
|
|
28
|
+
- [Uninstalling](#uninstalling)
|
|
29
|
+
- [Configuration](#configuration)
|
|
30
|
+
- [Example Configuration](#example-configuration)
|
|
31
|
+
- [Configuration Fields](#configuration-fields)
|
|
32
|
+
- [Features](#features)
|
|
33
|
+
- [Hooks](#hooks)
|
|
34
|
+
- [Skills](#skills)
|
|
35
|
+
- [MCP (Model Context Protocol)](#mcp-model-context-protocol)
|
|
36
|
+
- [Background Agents](#background-agents)
|
|
37
|
+
- [Tool Permissions](#tool-permissions)
|
|
38
|
+
- [Provider Configurations](./docs/provider-configurations.md)
|
|
39
|
+
- [Development](#development)
|
|
40
|
+
- [Acknowledgments](#acknowledgments)
|
|
41
|
+
- [License](#license)
|
|
42
|
+
|
|
43
|
+
## Overview
|
|
44
|
+
|
|
45
|
+
- **8 specialized agents** with weaving-themed names designed for specific roles in the development lifecycle.
|
|
46
|
+
- **Category-based task dispatch** to route work to domain-optimized models and configurations.
|
|
47
|
+
- **Skill system** for injecting domain-specific expertise that modifies agent behavior via prompt orchestration.
|
|
48
|
+
- **MCP (Model Context Protocol)** — Built-in MCP servers (websearch, context7, grep_app) for extended capabilities.
|
|
49
|
+
- **Background agent management** for parallel asynchronous sub-agent execution with concurrency control.
|
|
50
|
+
- **Context window monitoring** to track token usage and suggest recovery strategies when limits are approached.
|
|
51
|
+
- **Tool permissions** enforced per-agent to ensure safety and prevent unauthorized file modifications.
|
|
52
|
+
- **JSONC configuration** supporting comments and trailing commas with hierarchical user and project-level merging.
|
|
53
|
+
|
|
54
|
+
## Documentation
|
|
55
|
+
|
|
56
|
+
Visit [tryweave.io](https://tryweave.io) for more information, or head straight to the [documentation](https://tryweave.io/docs/) for detailed guides on setup, configuration, and usage.
|
|
57
|
+
|
|
58
|
+
Detailed guides:
|
|
59
|
+
- [Configuration Reference](./docs/configuration.md) — Full config schema
|
|
60
|
+
- [Provider Configurations](./docs/provider-configurations.md) — Model setup per provider
|
|
61
|
+
- [Agent Interactions](./docs/agent-interactions.md) — How agents work together
|
|
62
|
+
- [Architecture](./docs/architecture.md) — Technical overview
|
|
63
|
+
|
|
64
|
+
## Agents
|
|
65
|
+
|
|
66
|
+
| Agent | Role | Mode | Description |
|
|
67
|
+
| :--- | :--- | :--- | :--- |
|
|
68
|
+
| **Loom** | main orchestrator | primary | The central team lead that plans tasks, coordinates work, and delegates to specialized agents. |
|
|
69
|
+
| **Tapestry** | execution orchestrator | primary | Manages todo-list driven execution of multi-step plans, focusing on sequential implementation without subagent spawning. |
|
|
70
|
+
| **Shuttle** | category worker | all | Domain-specific specialist worker with full tool access, dispatched dynamically via the category system. |
|
|
71
|
+
| **Pattern** | strategic planner | subagent | Analyzes requirements and produces detailed implementation plans with research and dependency mapping. |
|
|
72
|
+
| **Thread** | codebase explorer | subagent | Fast, read-only codebase navigation and analysis using grep, glob, and read tools. |
|
|
73
|
+
| **Spindle** | external researcher | subagent | Performs external documentation lookups and reference searches, providing synthesized answers with source citations. |
|
|
74
|
+
| **Weft** | reviewer/auditor | subagent | Reviews completed work and plans with a critical but fair eye, rejecting only for true blocking issues. |
|
|
75
|
+
| **Warp** | security auditor | subagent | Audits code changes for security vulnerabilities and specification compliance with a skeptical bias. |
|
|
76
|
+
|
|
77
|
+
### Agent Modes
|
|
78
|
+
|
|
79
|
+
- `primary`: Respects the user-selected model in the OpenCode UI.
|
|
80
|
+
- `subagent`: Uses its own model or fallback chain, ignoring UI selection for predictable specialization.
|
|
81
|
+
- `all`: Available in both primary and subagent contexts.
|
|
82
|
+
|
|
83
|
+
### Agent Details
|
|
84
|
+
|
|
85
|
+
**Loom** is the central orchestrator and the default entry point for every request. It breaks down complex problems into tasks, decides which agents to delegate to, and tracks progress obsessively via todo lists. Loom never implements code directly — it plans and delegates. For quick fixes it acts immediately; for complex work it kicks off the plan → review → execute workflow.
|
|
86
|
+
|
|
87
|
+
**Pattern** is the strategic planner. When a task requires 5+ steps or involves architectural decisions, Loom delegates to Pattern, which researches the codebase (via Thread) and external docs (via Spindle), then produces a structured implementation plan saved to `.weave/plans/{name}.md`. Plans use `- [ ]` checkboxes for every actionable task. Pattern never writes code — only plans.
|
|
88
|
+
|
|
89
|
+
**Weft** is the reviewer and auditor. It validates plans before execution and reviews completed work after implementation. Weft is approval-biased and only rejects for true blocking issues (max 3 per review). It checks that file references are correct, tasks have sufficient context, implementations match requirements, and no stubs or TODOs are left behind. Weft is read-only.
|
|
90
|
+
|
|
91
|
+
**Warp** is the security and specification compliance auditor. It reviews code changes for security vulnerabilities (injection, auth bypass, token handling, crypto weaknesses) and verifies compliance with standards like OAuth2, OIDC, WebAuthn, and JWT. Warp has a skeptical bias — unlike Weft, it rejects by default when security patterns are detected. It self-triages to fast-exit on non-security changes, and can webfetch RFCs for verification. Warp is read-only.
|
|
92
|
+
|
|
93
|
+
**Tapestry** is the execution engine. Activated by the `/start-work` command, it reads a plan from `.weave/plans/` and works through tasks sequentially — writing code, running commands, verifying output, and marking checkboxes as it goes. Tapestry cannot spawn subagents; it focuses on heads-down implementation. If interrupted, it resumes from the first unchecked task.
|
|
94
|
+
|
|
95
|
+
**Thread** is the fast codebase explorer. Loom delegates to Thread whenever it needs to understand code structure, find files, or answer questions about the repository. Thread uses grep, glob, and read tools with zero creativity (temperature 0.0) to return precise, factual answers with file paths and line numbers. Thread is read-only.
|
|
96
|
+
|
|
97
|
+
**Spindle** is the external researcher. When Loom needs documentation for a library, API reference, or any information outside the codebase, Spindle fetches URLs, reads docs, and synthesizes findings with source citations. Spindle is read-only.
|
|
98
|
+
|
|
99
|
+
**Shuttle** is the domain specialist. When work falls into a specific category (e.g., visual engineering, data processing), Loom dispatches Shuttle with full tool access to execute the task. Shuttle's model and configuration can be overridden per-category for domain-optimized performance.
|
|
100
|
+
|
|
101
|
+
## Workflow
|
|
102
|
+
|
|
103
|
+
Weave uses a structured **Plan → Review → Execute** workflow for complex tasks. Simple requests are handled directly by Loom without the full cycle.
|
|
104
|
+
|
|
105
|
+
### When the Full Workflow Is Used
|
|
106
|
+
|
|
107
|
+
- Tasks requiring 5+ steps or architectural decisions
|
|
108
|
+
- Multi-file refactors or new feature implementations
|
|
109
|
+
- Work that benefits from a reviewable plan before execution
|
|
110
|
+
|
|
111
|
+
### 1. Plan
|
|
112
|
+
|
|
113
|
+
Loom delegates to **Pattern**, which researches the codebase and produces a detailed implementation plan:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
User Request → Loom (assesses complexity) → Pattern (researches + plans)
|
|
117
|
+
↓
|
|
118
|
+
.weave/plans/{name}.md
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The plan includes clear objectives, deliverables, and atomic tasks marked with `- [ ]` checkboxes. Pattern never writes code.
|
|
122
|
+
|
|
123
|
+
### 2. Review (Optional)
|
|
124
|
+
|
|
125
|
+
For high-stakes or complex plans, Loom delegates to **Weft** to validate the plan before execution:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
.weave/plans/{name}.md → Weft (validates) → APPROVE or REJECT
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Weft checks that referenced files exist, tasks have sufficient context, and there are no contradictions. If rejected, issues are sent back to Pattern for revision.
|
|
132
|
+
|
|
133
|
+
### 3. Execute
|
|
134
|
+
|
|
135
|
+
The user runs `/start-work` to begin execution:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
/start-work [plan-name] → creates .weave/state.json → switches to Tapestry
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Tapestry** reads the plan and executes tasks sequentially:
|
|
142
|
+
|
|
143
|
+
1. Find the first unchecked `- [ ]` task
|
|
144
|
+
2. Implement the task (write code, run commands, create files)
|
|
145
|
+
3. Verify completion (read files, run tests, check acceptance criteria)
|
|
146
|
+
4. Mark the checkbox `- [x]`
|
|
147
|
+
5. Move to the next unchecked task
|
|
148
|
+
6. When all tasks are complete, report a final summary
|
|
149
|
+
|
|
150
|
+
### Resuming Interrupted Work
|
|
151
|
+
|
|
152
|
+
If a session is interrupted, running `/start-work` again resumes from the first unchecked task — no re-planning or restarting. The work state is persisted in `.weave/state.json`, so progress is never lost.
|
|
153
|
+
|
|
154
|
+
### Quick Tasks (No Plan Needed)
|
|
155
|
+
|
|
156
|
+
For simple requests — single-file fixes, quick questions, small edits — Loom handles the work directly or delegates to the appropriate agent without creating a formal plan.
|
|
157
|
+
|
|
158
|
+
## Installation
|
|
159
|
+
|
|
160
|
+
This package is published on [npm](https://www.npmjs.com/package/@a4hgehad/weave-mcp).
|
|
161
|
+
|
|
162
|
+
### Prerequisites
|
|
163
|
+
|
|
164
|
+
- [OpenCode](https://opencode.ai)
|
|
165
|
+
|
|
166
|
+
### Step 1: Add to opencode.json
|
|
167
|
+
|
|
168
|
+
Add the plugin to your `opencode.json` file:
|
|
169
|
+
|
|
170
|
+
```json
|
|
171
|
+
{
|
|
172
|
+
"plugin": ["@a4hgehad/weave-mcp"]
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Step 2: Restart OpenCode
|
|
177
|
+
|
|
178
|
+
OpenCode automatically installs npm plugins at startup — no manual `bun add` or `npm install` required. The plugin loads automatically upon restart and works with zero configuration out of the box.
|
|
179
|
+
|
|
180
|
+
### Troubleshooting
|
|
181
|
+
|
|
182
|
+
| Issue | Solution |
|
|
183
|
+
|-------|----------|
|
|
184
|
+
| `404 Not Found` | Ensure the package name is correct: `@a4hgehad/weave-mcp`. |
|
|
185
|
+
| Package not found after publish | npm can take a few minutes to propagate. Wait and retry. |
|
|
186
|
+
|
|
187
|
+
## Uninstalling
|
|
188
|
+
|
|
189
|
+
To fully remove the Weave plugin from your project:
|
|
190
|
+
|
|
191
|
+
### Step 1: Remove from opencode.json
|
|
192
|
+
|
|
193
|
+
Delete the `@a4hgehad/weave-mcp` entry from the `plugin` array in your `opencode.json`:
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"plugin": []
|
|
198
|
+
}
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Step 2: Clean up project artifacts (optional)
|
|
202
|
+
|
|
203
|
+
Weave may have created plan and state files during usage. Remove them if no longer needed:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
rm -rf .weave/
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
You can also remove any project-level configuration if present:
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
rm -f .opencode/weave-opencode.jsonc .opencode/weave-opencode.json
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Step 3: Clean up user-level configuration (optional)
|
|
216
|
+
|
|
217
|
+
If you no longer use Weave in any project, remove the global configuration:
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
rm -f ~/.config/opencode/weave-opencode.jsonc ~/.config/opencode/weave-opencode.json
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## Configuration
|
|
224
|
+
|
|
225
|
+
Weave searches for configuration files in the following locations, merging them in order (user config → project config → defaults):
|
|
226
|
+
|
|
227
|
+
- **Project**: `.opencode/weave-opencode.jsonc` or `.opencode/weave-opencode.json`
|
|
228
|
+
- **User**: `~/.config/opencode/weave-opencode.jsonc` or `~/.config/opencode/weave-opencode.json`
|
|
229
|
+
|
|
230
|
+
The configuration uses JSONC format, allowing for comments and trailing commas.
|
|
231
|
+
|
|
232
|
+
### Example Configuration
|
|
233
|
+
|
|
234
|
+
```jsonc
|
|
235
|
+
{
|
|
236
|
+
// Override agent models and parameters
|
|
237
|
+
"agents": {
|
|
238
|
+
"loom": {
|
|
239
|
+
"model": "anthropic/claude-3-5-sonnet",
|
|
240
|
+
"temperature": 0.1
|
|
241
|
+
},
|
|
242
|
+
"thread": {
|
|
243
|
+
"model": "openai/gpt-4o-mini",
|
|
244
|
+
"mcp": ["websearch", "grep_app"]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
// Category-based dispatch overrides
|
|
248
|
+
"categories": {
|
|
249
|
+
"visual-engineering": {
|
|
250
|
+
"model": "google/gemini-2-pro"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
// MCP configuration
|
|
254
|
+
"mcp": {
|
|
255
|
+
"enabled": {
|
|
256
|
+
"websearch": true,
|
|
257
|
+
"context7": true,
|
|
258
|
+
"grep_app": true
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
// Selective feature toggling
|
|
262
|
+
"disabled_hooks": [],
|
|
263
|
+
"disabled_agents": [],
|
|
264
|
+
"disabled_tools": [],
|
|
265
|
+
"disabled_skills": [],
|
|
266
|
+
"disabled_mcps": [],
|
|
267
|
+
// Background agent concurrency limits
|
|
268
|
+
"background": {
|
|
269
|
+
"defaultConcurrency": 5
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Configuration Fields
|
|
275
|
+
|
|
276
|
+
- `agents` — Override model, temperature, prompt_append, tools, skills, and mcp per agent.
|
|
277
|
+
- `categories` — Custom model and tool configurations for category-based dispatch.
|
|
278
|
+
- `mcp` — Configure built-in and custom MCP servers.
|
|
279
|
+
- `disabled_mcps` — Disable specific MCP servers globally.
|
|
280
|
+
- `disabled_hooks` / `disabled_agents` / `disabled_tools` / `disabled_skills` — Selective feature disabling.
|
|
281
|
+
- `background` — Concurrency limits and timeouts for parallel background agents.
|
|
282
|
+
- `tmux` — Terminal multiplexer layout settings for TUI integration.
|
|
283
|
+
- `skills` — Custom skill discovery paths and recursion settings.
|
|
284
|
+
- `experimental` — Plugin load timeouts and context window threshold adjustments.
|
|
285
|
+
|
|
286
|
+
## Features
|
|
287
|
+
|
|
288
|
+
### Hooks
|
|
289
|
+
|
|
290
|
+
Weave includes 5 built-in hooks that monitor and modify agent behavior:
|
|
291
|
+
|
|
292
|
+
- `context-window-monitor` — Warns when token usage approaches limits and suggests recovery strategies.
|
|
293
|
+
- `write-existing-file-guard` — Tracks file reads to prevent agents from overwriting files they haven't examined.
|
|
294
|
+
- `rules-injector` — Automatically injects contextual rules when agents enter directories containing AGENTS.md.
|
|
295
|
+
- `first-message-variant` — Applies specific prompt variants on session start for consistent behavior.
|
|
296
|
+
- `keyword-detector` — Detects keywords in messages to trigger behavioral changes or agent switches.
|
|
297
|
+
|
|
298
|
+
All hooks are enabled by default and can be disabled via the `disabled_hooks` configuration.
|
|
299
|
+
|
|
300
|
+
### MCP (Model Context Protocol)
|
|
301
|
+
|
|
302
|
+
Weave supports MCP servers for extended capabilities. Built-in MCPs are:
|
|
303
|
+
|
|
304
|
+
| MCP Server | Purpose | Default Agents |
|
|
305
|
+
|------------|---------|----------------|
|
|
306
|
+
| `websearch` | Web search via Exa AI | loom, tapestry, weft, warp |
|
|
307
|
+
| `context7` | Library documentation lookup | loom, tapestry, spindle |
|
|
308
|
+
| `grep_app` | Enhanced code search | loom, tapestry, thread, spindle, warp, shuttle |
|
|
309
|
+
|
|
310
|
+
> **Note**: Orchestrator agents (loom, tapestry) get all MCPs by default for maximum capability.
|
|
311
|
+
|
|
312
|
+
#### Configuration
|
|
313
|
+
|
|
314
|
+
```jsonc
|
|
315
|
+
{
|
|
316
|
+
// Enable/disable built-in MCPs
|
|
317
|
+
"mcp": {
|
|
318
|
+
"enabled": {
|
|
319
|
+
"websearch": true,
|
|
320
|
+
"context7": true,
|
|
321
|
+
"grep_app": true
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
|
|
325
|
+
// Custom MCP servers
|
|
326
|
+
"mcp": {
|
|
327
|
+
"servers": {
|
|
328
|
+
"my-server": {
|
|
329
|
+
"type": "stdio",
|
|
330
|
+
"command": "npx",
|
|
331
|
+
"args": ["-y", "my-mcp-server"]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
|
|
336
|
+
// Disable MCPs globally
|
|
337
|
+
"disabled_mcps": ["websearch"],
|
|
338
|
+
|
|
339
|
+
// Override MCPs per agent
|
|
340
|
+
"agents": {
|
|
341
|
+
"thread": {
|
|
342
|
+
"mcp": ["websearch", "grep_app"]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
See [Provider Configurations](./docs/provider-configurations.md) for model recommendations per agent.
|
|
349
|
+
|
|
350
|
+
### Skills
|
|
351
|
+
|
|
352
|
+
Skills are injectable prompt expertise loaded from markdown files (SKILL.md). They modify agent behavior by prepending domain-specific instructions to the agent's system prompt.
|
|
353
|
+
|
|
354
|
+
Skills are discovered across three scopes:
|
|
355
|
+
- `builtin` — Provided by the Weave plugin.
|
|
356
|
+
- `user` — Located in the user's global configuration directory.
|
|
357
|
+
- `project` — Located in the current project's `.opencode/skills/` directory.
|
|
358
|
+
|
|
359
|
+
### Background Agents
|
|
360
|
+
|
|
361
|
+
Weave supports parallel asynchronous sub-agent management via the BackgroundManager. This allows Loom to spawn multiple agents simultaneously to handle independent tasks, with configurable concurrency limits to manage API rate limits.
|
|
362
|
+
|
|
363
|
+
### Tool Permissions
|
|
364
|
+
|
|
365
|
+
Tool access is controlled per-agent to ensure safety and specialized focus. For example, **Thread** and **Spindle** are strictly read-only; they are denied access to write, edit, and task management tools. These permissions can be customized globally or per-agent in the configuration.
|
|
366
|
+
|
|
367
|
+
## Development
|
|
368
|
+
|
|
369
|
+
- **Build**: `bun run build`
|
|
370
|
+
- **Test**: `bun test`
|
|
371
|
+
- **Typecheck**: `bun run typecheck`
|
|
372
|
+
- **Clean**: `bun run clean`
|
|
373
|
+
|
|
374
|
+
## Acknowledgments
|
|
375
|
+
|
|
376
|
+
Weave was inspired by [Oh My OpenCode](https://github.com/code-yeongyu/oh-my-opencode) by [@code-yeongyu](https://github.com/code-yeongyu) — a pioneering OpenCode plugin that proved multi-agent orchestration, discipline agents, and structured plan-execute workflows could radically improve the developer experience. Many of Weave's core ideas — from category-based task dispatch to background agent parallelism — trace their roots to patterns Oh My OpenCode established. We're grateful for the trailblazing work and the vibrant community around it.
|
|
377
|
+
|
|
378
|
+
## License
|
|
379
|
+
|
|
380
|
+
MIT
|