@alteriom/painlessmesh 1.8.2 → 1.8.3
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/CHANGELOG.md +32 -0
- package/README.md +62 -11
- package/RELEASE_GUIDE.md +57 -16
- package/docs/ARDUINO_LIBRARY_MANAGER_SUBMISSION.md +331 -0
- package/docs/features/DIAGNOSTICS_API.md +534 -0
- package/docs/getting-started/arduino-manual-install.md +313 -0
- package/docs/implementation/BRIDGE_ARCHITECTURE_IMPLEMENTATION.md +340 -0
- package/docs/implementation/BRIDGE_HEALTH_MONITORING_IMPLEMENTATION.md +213 -0
- package/docs/implementation/BRIDGE_STATUS_FEATURE.md +635 -0
- package/docs/implementation/DIAGNOSTICS_API_IMPLEMENTATION.md +232 -0
- package/docs/implementation/IMPLEMENTATION_COMPLETE.md +228 -0
- package/docs/implementation/IMPLEMENTATION_NTP_TIME_SYNC.md +325 -0
- package/docs/implementation/IMPLEMENTATION_SUMMARY.md +316 -0
- package/docs/implementation/MESSAGE_QUEUE_IMPLEMENTATION.md +405 -0
- package/docs/implementation/MULTI_BRIDGE_IMPLEMENTATION.md +520 -0
- package/docs/implementation/NTP_TIME_SYNC_FEATURE.md +392 -0
- package/docs/internal/CUSTOM_AGENT_ANALYSIS.md +391 -0
- package/docs/internal/ISSUE_65_VERIFICATION.md +947 -0
- package/docs/internal/ISSUE_66_CLOSURE.md +249 -0
- package/docs/internal/ISSUE_66_STATUS.md +316 -0
- package/docs/internal/PR_SUMMARY.md +315 -0
- package/docs/internal/REVIEW_SUMMARY.md +332 -0
- package/docs/releases/PUBLISH_v1.8.0_INSTRUCTIONS.md +163 -0
- package/docs/releases/QUICK_START_RELEASES.md +113 -0
- package/docs/releases/RELEASE_CHECKLIST_v1.8.0.md +331 -0
- package/docs/releases/RELEASE_CHECKLIST_v1.8.2.md +309 -0
- package/docs/releases/RELEASE_NOTES_v1.8.0.md +685 -0
- package/docs/releases/RELEASE_NOTES_v1.8.1.md +221 -0
- package/docs/releases/RELEASE_NOTES_v1.8.2.md +421 -0
- package/docs/releases/RELEASE_NOTES_v1.8.3.md +292 -0
- package/docs/troubleshooting/ARDUINO_IDE_VERSION_FIX_SUMMARY.md +229 -0
- package/docs/troubleshooting/ARDUINO_LIBRARY_NAME_FIX.md +197 -0
- package/docs/troubleshooting/NPM_PUBLISHING_ISSUE_SUMMARY.md +110 -0
- package/docs/troubleshooting/station-reconnection-issues.md +172 -0
- package/examples/priority/README.md +274 -0
- package/examples/priority/priority_basic_example.ino +115 -0
- package/examples/priority/priority_with_queue.ino +249 -0
- package/examples/routing_demo/README.md +172 -0
- package/examples/routing_demo/routing_demo.ino +102 -0
- package/library.json +1 -1
- package/library.properties +3 -3
- package/package.json +1 -1
- package/src/arduino/wifi.hpp +49 -16
- package/src/painlessMesh.h +15 -0
- package/src/painlessMeshSTA.cpp +7 -1
- package/src/painlessmesh/buffer.hpp +218 -37
- package/src/painlessmesh/connection.hpp +21 -1
- package/src/painlessmesh/mesh.hpp +253 -19
- package/src/painlessmesh/router.hpp +31 -0
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
# Custom Agent Visibility Analysis
|
|
2
|
+
|
|
3
|
+
## Question
|
|
4
|
+
|
|
5
|
+
"why I don't see the custom agent in the list in GitHub?"
|
|
6
|
+
|
|
7
|
+
## Investigation Summary
|
|
8
|
+
|
|
9
|
+
The `.github/agents/` directory contains documentation files, not GitHub Copilot custom agent configurations.
|
|
10
|
+
|
|
11
|
+
## Current State
|
|
12
|
+
|
|
13
|
+
### What Exists in the Repository
|
|
14
|
+
|
|
15
|
+
#### 1. Agent Documentation Directory
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
.github/agents/
|
|
19
|
+
├── README.md - Documentation index for release processes
|
|
20
|
+
└── release-agent.md - Release agent specification (328 lines)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
#### 2. Release Agent Script
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
scripts/release-agent.sh - Executable shell script (290 lines)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
#### 3. Supporting Documentation
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
.github/copilot-instructions.md
|
|
33
|
+
.github/copilot-quick-reference.md
|
|
34
|
+
.github/copilot-troubleshooting.md
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### What These Files Are
|
|
38
|
+
|
|
39
|
+
**Purpose:** Documentation and automation tools
|
|
40
|
+
|
|
41
|
+
1. **release-agent.md** - Human-readable specification
|
|
42
|
+
- Pre-release validation checklist
|
|
43
|
+
- Release process workflow
|
|
44
|
+
- Error recovery procedures
|
|
45
|
+
- Configuration requirements
|
|
46
|
+
|
|
47
|
+
2. **release-agent.sh** - Automated validation script
|
|
48
|
+
- Checks version consistency
|
|
49
|
+
- Validates CHANGELOG entries
|
|
50
|
+
- Verifies git state
|
|
51
|
+
- Tests build system
|
|
52
|
+
|
|
53
|
+
3. **Documentation files** - Context for developers
|
|
54
|
+
- Coding guidelines
|
|
55
|
+
- Project conventions
|
|
56
|
+
- Troubleshooting guides
|
|
57
|
+
|
|
58
|
+
### What These Files Are NOT
|
|
59
|
+
|
|
60
|
+
❌ **GitHub Copilot Custom Agents**
|
|
61
|
+
- Not AI assistants
|
|
62
|
+
- Not available in GitHub UI
|
|
63
|
+
- Not executable by Copilot directly
|
|
64
|
+
|
|
65
|
+
❌ **GitHub Actions Workflows**
|
|
66
|
+
- Not automated CI/CD (though used by workflows)
|
|
67
|
+
- Not triggered by GitHub events directly
|
|
68
|
+
|
|
69
|
+
❌ **Copilot Extensions/Plugins**
|
|
70
|
+
- Not MCP servers
|
|
71
|
+
- Not tool extensions
|
|
72
|
+
|
|
73
|
+
## Understanding GitHub Copilot Agents
|
|
74
|
+
|
|
75
|
+
### Types of "Agents" in Context
|
|
76
|
+
|
|
77
|
+
#### 1. GitHub Copilot Custom Agents (Enterprise Feature)
|
|
78
|
+
|
|
79
|
+
**What they are:**
|
|
80
|
+
- AI assistants with specialized knowledge
|
|
81
|
+
- Available in GitHub Copilot Chat
|
|
82
|
+
- Require GitHub Enterprise Cloud + Copilot for Business
|
|
83
|
+
- Configured at organization level
|
|
84
|
+
|
|
85
|
+
**How they're created:**
|
|
86
|
+
- Organization admins create agents
|
|
87
|
+
- Define agent purpose and instructions
|
|
88
|
+
- Specify knowledge sources
|
|
89
|
+
- Available to all org members
|
|
90
|
+
|
|
91
|
+
**Example:**
|
|
92
|
+
```
|
|
93
|
+
@my-org/release-agent - "Help with release processes"
|
|
94
|
+
@my-org/security-agent - "Security review assistant"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Visibility:**
|
|
98
|
+
- Appear in Copilot Chat agent list
|
|
99
|
+
- Prefixed with `@organization-name/agent-name`
|
|
100
|
+
- Available in GitHub UI, VS Code, etc.
|
|
101
|
+
|
|
102
|
+
**Requirements:**
|
|
103
|
+
- GitHub Enterprise Cloud subscription
|
|
104
|
+
- Copilot for Business license
|
|
105
|
+
- Organization admin access to create
|
|
106
|
+
- Specific configuration format
|
|
107
|
+
|
|
108
|
+
#### 2. GitHub Copilot Instructions (Repository Context)
|
|
109
|
+
|
|
110
|
+
**What they are:**
|
|
111
|
+
- Markdown files in `.github/` directory
|
|
112
|
+
- Provide context to Copilot
|
|
113
|
+
- Guide Copilot's responses
|
|
114
|
+
- Available in current repository
|
|
115
|
+
|
|
116
|
+
**How they work:**
|
|
117
|
+
- Copilot reads these files automatically
|
|
118
|
+
- Uses content as context for suggestions
|
|
119
|
+
- No explicit "agent" invocation needed
|
|
120
|
+
- Scoped to repository
|
|
121
|
+
|
|
122
|
+
**Example files:**
|
|
123
|
+
```
|
|
124
|
+
.github/copilot-instructions.md
|
|
125
|
+
.github/instructions/testing.instructions.md
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**Visibility:**
|
|
129
|
+
- Not visible in agent list
|
|
130
|
+
- Automatically used by Copilot
|
|
131
|
+
- Influence all Copilot suggestions in repo
|
|
132
|
+
|
|
133
|
+
#### 3. Documentation "Agents" (This Repository)
|
|
134
|
+
|
|
135
|
+
**What they are:**
|
|
136
|
+
- Documentation about processes
|
|
137
|
+
- Specifications for manual procedures
|
|
138
|
+
- Reference guides for humans
|
|
139
|
+
|
|
140
|
+
**Purpose:**
|
|
141
|
+
- Document release procedures
|
|
142
|
+
- Provide checklists
|
|
143
|
+
- Guide manual processes
|
|
144
|
+
|
|
145
|
+
**The `.github/agents/` directory in this repository:**
|
|
146
|
+
- Documentation ABOUT agent-like processes
|
|
147
|
+
- Not actual AI agents
|
|
148
|
+
- For human reference primarily
|
|
149
|
+
|
|
150
|
+
## Why the Custom Agent Isn't Visible
|
|
151
|
+
|
|
152
|
+
### Possible Interpretations
|
|
153
|
+
|
|
154
|
+
#### Interpretation 1: Expecting GitHub Copilot Enterprise Agent
|
|
155
|
+
|
|
156
|
+
**If you expected to see:**
|
|
157
|
+
```
|
|
158
|
+
@Alteriom/release-agent
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**Why it's not visible:**
|
|
162
|
+
1. **Not configured as Copilot Agent** - The release-agent.md is documentation, not an agent configuration
|
|
163
|
+
2. **Requires Enterprise** - Copilot custom agents need GitHub Enterprise Cloud
|
|
164
|
+
3. **Organization-level setup** - Must be created by org admins in GitHub settings
|
|
165
|
+
4. **Wrong location** - Agents aren't created by committing markdown to `.github/agents/`
|
|
166
|
+
|
|
167
|
+
**How to check if available:**
|
|
168
|
+
1. Open GitHub Copilot Chat
|
|
169
|
+
2. Type `@` to see available agents
|
|
170
|
+
3. Look for `@Alteriom/...` agents
|
|
171
|
+
|
|
172
|
+
#### Interpretation 2: Expecting Documentation Visibility
|
|
173
|
+
|
|
174
|
+
**If you expected to see:**
|
|
175
|
+
- Agent documentation in some GitHub UI
|
|
176
|
+
- List of available "agents" (processes)
|
|
177
|
+
|
|
178
|
+
**Why it might not be visible:**
|
|
179
|
+
1. **It's just documentation** - Files in `.github/agents/` are markdown docs
|
|
180
|
+
2. **No special GitHub UI** - GitHub doesn't render `.github/agents/` specially
|
|
181
|
+
3. **Manual navigation needed** - Browse to `.github/agents/` to see files
|
|
182
|
+
|
|
183
|
+
**How to access:**
|
|
184
|
+
1. Navigate to `.github/agents/` in repository
|
|
185
|
+
2. Read README.md for index
|
|
186
|
+
3. Open release-agent.md for specifications
|
|
187
|
+
|
|
188
|
+
#### Interpretation 3: Expecting Tool/Script Availability
|
|
189
|
+
|
|
190
|
+
**If you expected:**
|
|
191
|
+
- Automated tool in CI/CD
|
|
192
|
+
- Executable agent in workflows
|
|
193
|
+
|
|
194
|
+
**Where they actually are:**
|
|
195
|
+
1. **Script:** `scripts/release-agent.sh` (executable)
|
|
196
|
+
2. **Workflows:** `.github/workflows/validate-release.yml`
|
|
197
|
+
3. **Run manually:** `./scripts/release-agent.sh`
|
|
198
|
+
|
|
199
|
+
## How to Make a "Custom Agent" Visible
|
|
200
|
+
|
|
201
|
+
### Option 1: Create GitHub Copilot Enterprise Agent (Recommended if Enterprise)
|
|
202
|
+
|
|
203
|
+
**Requirements:**
|
|
204
|
+
- GitHub Enterprise Cloud account
|
|
205
|
+
- Copilot for Business subscription
|
|
206
|
+
- Organization admin privileges
|
|
207
|
+
|
|
208
|
+
**Steps:**
|
|
209
|
+
1. Go to organization settings
|
|
210
|
+
2. Navigate to Copilot settings
|
|
211
|
+
3. Create new custom agent
|
|
212
|
+
4. Name it `release-agent`
|
|
213
|
+
5. Provide instructions from `.github/agents/release-agent.md`
|
|
214
|
+
6. Specify knowledge sources (this repository)
|
|
215
|
+
7. Make available to organization
|
|
216
|
+
|
|
217
|
+
**Result:**
|
|
218
|
+
- `@Alteriom/release-agent` appears in Copilot Chat
|
|
219
|
+
- All org members can use `@Alteriom/release-agent` for help
|
|
220
|
+
- Agent has knowledge of release processes
|
|
221
|
+
|
|
222
|
+
### Option 2: Move to Copilot Instructions (Easier, Works Now)
|
|
223
|
+
|
|
224
|
+
**Benefit:**
|
|
225
|
+
- Available immediately
|
|
226
|
+
- No Enterprise required
|
|
227
|
+
- Works in any repository with Copilot
|
|
228
|
+
|
|
229
|
+
**Steps:**
|
|
230
|
+
1. Move key content from `.github/agents/release-agent.md`
|
|
231
|
+
2. Add to `.github/copilot-instructions.md`
|
|
232
|
+
3. Format as instructions for Copilot
|
|
233
|
+
|
|
234
|
+
**Example addition to copilot-instructions.md:**
|
|
235
|
+
```markdown
|
|
236
|
+
## Release Agent Instructions
|
|
237
|
+
|
|
238
|
+
When asked about releases or deployment:
|
|
239
|
+
- Check version consistency across library.properties, library.json, package.json
|
|
240
|
+
- Verify CHANGELOG.md has entry for version
|
|
241
|
+
- Ensure all tests pass
|
|
242
|
+
- Validate git status (no uncommitted changes)
|
|
243
|
+
- Run ./scripts/release-agent.sh for validation
|
|
244
|
+
- Follow checklist in .github/agents/release-agent.md
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
**Result:**
|
|
248
|
+
- Copilot automatically uses this context
|
|
249
|
+
- No special syntax needed
|
|
250
|
+
- Works for all repository contributors
|
|
251
|
+
|
|
252
|
+
### Option 3: Keep as Documentation (Current State)
|
|
253
|
+
|
|
254
|
+
**Benefit:**
|
|
255
|
+
- Already working
|
|
256
|
+
- Clear documentation
|
|
257
|
+
- Human-readable
|
|
258
|
+
- Works with scripts
|
|
259
|
+
|
|
260
|
+
**Usage:**
|
|
261
|
+
1. Developers read `.github/agents/release-agent.md`
|
|
262
|
+
2. Run `./scripts/release-agent.sh` for validation
|
|
263
|
+
3. Follow documented procedures
|
|
264
|
+
|
|
265
|
+
**Visibility:**
|
|
266
|
+
- In repository file structure
|
|
267
|
+
- Linked from README if desired
|
|
268
|
+
- Available in git
|
|
269
|
+
|
|
270
|
+
## Recommendations
|
|
271
|
+
|
|
272
|
+
### Immediate Action: Clarify Use Case
|
|
273
|
+
|
|
274
|
+
**Please specify what you need:**
|
|
275
|
+
|
|
276
|
+
1. **GitHub Copilot Enterprise Agent?**
|
|
277
|
+
- Question: Do you have GitHub Enterprise Cloud?
|
|
278
|
+
- Question: Do you want `@Alteriom/release-agent` in Copilot Chat?
|
|
279
|
+
- Action: If yes, create through GitHub organization settings
|
|
280
|
+
|
|
281
|
+
2. **Improve Copilot Context?**
|
|
282
|
+
- Question: Do you want Copilot to know about release processes?
|
|
283
|
+
- Action: Move content to `.github/copilot-instructions.md`
|
|
284
|
+
|
|
285
|
+
3. **Better Documentation Visibility?**
|
|
286
|
+
- Question: Should agents be easier to find?
|
|
287
|
+
- Action: Add links to README, update documentation
|
|
288
|
+
|
|
289
|
+
4. **Automated Tool Integration?**
|
|
290
|
+
- Question: Should agents run in CI/CD automatically?
|
|
291
|
+
- Action: Already done - `.github/workflows/validate-release.yml`
|
|
292
|
+
|
|
293
|
+
### Suggested Improvements (Any Scenario)
|
|
294
|
+
|
|
295
|
+
#### 1. Add Link to README
|
|
296
|
+
|
|
297
|
+
**In main README.md:**
|
|
298
|
+
```markdown
|
|
299
|
+
## Development
|
|
300
|
+
|
|
301
|
+
- [Release Agent Documentation](.github/agents/release-agent.md)
|
|
302
|
+
- Run release validation: `./scripts/release-agent.sh`
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
#### 2. Enhance Copilot Instructions
|
|
306
|
+
|
|
307
|
+
**Add to .github/copilot-instructions.md:**
|
|
308
|
+
```markdown
|
|
309
|
+
## Release Process
|
|
310
|
+
|
|
311
|
+
For release-related questions:
|
|
312
|
+
1. Consult .github/agents/release-agent.md
|
|
313
|
+
2. Run validation: ./scripts/release-agent.sh
|
|
314
|
+
3. Follow documented checklist
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
#### 3. Create Agent Index
|
|
318
|
+
|
|
319
|
+
**New file: `.github/AGENTS.md`:**
|
|
320
|
+
```markdown
|
|
321
|
+
# Available Agents and Tools
|
|
322
|
+
|
|
323
|
+
## Release Agent
|
|
324
|
+
- **Documentation:** [release-agent.md](agents/release-agent.md)
|
|
325
|
+
- **Script:** `scripts/release-agent.sh`
|
|
326
|
+
- **Workflow:** `.github/workflows/validate-release.yml`
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
## Current Status
|
|
330
|
+
|
|
331
|
+
### What Works Now ✅
|
|
332
|
+
|
|
333
|
+
1. **Documentation accessible:**
|
|
334
|
+
- Files in `.github/agents/` directory
|
|
335
|
+
- Readable markdown
|
|
336
|
+
- Clear specifications
|
|
337
|
+
|
|
338
|
+
2. **Scripts executable:**
|
|
339
|
+
- `scripts/release-agent.sh` works
|
|
340
|
+
- Validates releases
|
|
341
|
+
- Integrated with CI/CD
|
|
342
|
+
|
|
343
|
+
3. **Workflows active:**
|
|
344
|
+
- validate-release.yml runs automatically
|
|
345
|
+
- Uses release agent logic
|
|
346
|
+
|
|
347
|
+
4. **Copilot context available:**
|
|
348
|
+
- Repository instructions present
|
|
349
|
+
- Copilot reads `.github/` files
|
|
350
|
+
- Provides contextual help
|
|
351
|
+
|
|
352
|
+
### What Doesn't Work ❌
|
|
353
|
+
|
|
354
|
+
1. **No explicit agent list in GitHub UI**
|
|
355
|
+
- `.github/agents/` not special to GitHub
|
|
356
|
+
- No automatic agent registry
|
|
357
|
+
|
|
358
|
+
2. **Not GitHub Copilot Enterprise agents**
|
|
359
|
+
- Can't invoke with `@Alteriom/release-agent`
|
|
360
|
+
- Not in Copilot Chat agent list
|
|
361
|
+
|
|
362
|
+
3. **Manual discovery needed**
|
|
363
|
+
- Must browse to `.github/agents/`
|
|
364
|
+
- Not advertised in UI
|
|
365
|
+
|
|
366
|
+
## Conclusion
|
|
367
|
+
|
|
368
|
+
The "custom agent" documentation exists and works, but isn't visible as a GitHub Copilot enterprise agent because:
|
|
369
|
+
|
|
370
|
+
1. **It's documentation, not a configured agent**
|
|
371
|
+
2. **GitHub Copilot agents require Enterprise + organization setup**
|
|
372
|
+
3. **No automatic agent registry in GitHub for markdown files**
|
|
373
|
+
|
|
374
|
+
### Next Steps Needed
|
|
375
|
+
|
|
376
|
+
Please clarify what type of visibility you need:
|
|
377
|
+
1. GitHub Copilot Enterprise agent (`@Alteriom/release-agent`)?
|
|
378
|
+
2. Better documentation navigation?
|
|
379
|
+
3. Enhanced Copilot context?
|
|
380
|
+
4. Something else?
|
|
381
|
+
|
|
382
|
+
Based on your answer, I can:
|
|
383
|
+
- Set up Enterprise agent (if you have access)
|
|
384
|
+
- Improve documentation visibility
|
|
385
|
+
- Enhance Copilot instructions
|
|
386
|
+
- Add README links
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
**Analysis Date:** November 10, 2024
|
|
391
|
+
**Status:** Awaiting clarification on visibility requirements
|