myceliumail 1.0.3 → 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.
- package/.github/workflows/publish.yml +108 -0
- package/CHANGELOG.md +85 -0
- package/README.md +295 -162
- package/mcp-server/package-lock.json +3 -4
- package/mcp-server/package.json +6 -5
- package/package.json +11 -2
- package/COMPLETE.md +0 -51
- package/MYCELIUMAIL_STARTER_KIT.md +0 -603
- package/NEXT_STEPS.md +0 -96
- package/docs/20251215_Treebird-Ecosystem_Knowledge-Base_v2.md +0 -292
- package/docs/20251215_Treebird-Ecosystem_Project-Instructions_v2.md +0 -176
- package/docs/AGENT_DELEGATION_WORKFLOW.md +0 -453
- package/docs/ANNOUNCEMENT_DRAFTS.md +0 -55
- package/docs/DASHBOARD_AGENT_HANDOFF.md +0 -429
- package/docs/DASHBOARD_AGENT_PROMPT.md +0 -32
- package/docs/DASHBOARD_BUILD_ROADMAP.md +0 -61
- package/docs/MCP_PUBLISHING_ROADMAP.md +0 -113
- package/docs/SSAN_MESSAGES_SUMMARY.md +0 -92
- package/docs/STORAGE_ARCHITECTURE.md +0 -114
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
# Trigger on GitHub release
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
# Manual trigger from Actions tab (works on mobile)
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
inputs:
|
|
11
|
+
package:
|
|
12
|
+
description: 'Package to publish'
|
|
13
|
+
required: true
|
|
14
|
+
default: 'mcp-server'
|
|
15
|
+
type: choice
|
|
16
|
+
options:
|
|
17
|
+
- mcp-server
|
|
18
|
+
- main
|
|
19
|
+
- both
|
|
20
|
+
version_bump:
|
|
21
|
+
description: 'Version bump type'
|
|
22
|
+
required: true
|
|
23
|
+
default: 'patch'
|
|
24
|
+
type: choice
|
|
25
|
+
options:
|
|
26
|
+
- patch
|
|
27
|
+
- minor
|
|
28
|
+
- major
|
|
29
|
+
- none
|
|
30
|
+
|
|
31
|
+
jobs:
|
|
32
|
+
publish-mcp-server:
|
|
33
|
+
if: >
|
|
34
|
+
github.event_name == 'release' ||
|
|
35
|
+
(github.event_name == 'workflow_dispatch' &&
|
|
36
|
+
(github.event.inputs.package == 'mcp-server' || github.event.inputs.package == 'both'))
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
defaults:
|
|
39
|
+
run:
|
|
40
|
+
working-directory: ./mcp-server
|
|
41
|
+
|
|
42
|
+
steps:
|
|
43
|
+
- name: Checkout
|
|
44
|
+
uses: actions/checkout@v4
|
|
45
|
+
|
|
46
|
+
- name: Setup Node.js
|
|
47
|
+
uses: actions/setup-node@v4
|
|
48
|
+
with:
|
|
49
|
+
node-version: '20'
|
|
50
|
+
registry-url: 'https://registry.npmjs.org'
|
|
51
|
+
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: npm ci
|
|
54
|
+
|
|
55
|
+
- name: Build
|
|
56
|
+
run: npm run build
|
|
57
|
+
|
|
58
|
+
- name: Bump version
|
|
59
|
+
if: github.event.inputs.version_bump != 'none' && github.event_name == 'workflow_dispatch'
|
|
60
|
+
run: |
|
|
61
|
+
git config user.name "github-actions[bot]"
|
|
62
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
63
|
+
npm version ${{ github.event.inputs.version_bump }} -m "chore(mcp-server): bump version to %s"
|
|
64
|
+
git push
|
|
65
|
+
env:
|
|
66
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
67
|
+
|
|
68
|
+
- name: Publish to npm
|
|
69
|
+
run: npm publish --access public
|
|
70
|
+
env:
|
|
71
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
72
|
+
|
|
73
|
+
publish-main:
|
|
74
|
+
if: >
|
|
75
|
+
(github.event_name == 'workflow_dispatch' &&
|
|
76
|
+
(github.event.inputs.package == 'main' || github.event.inputs.package == 'both'))
|
|
77
|
+
runs-on: ubuntu-latest
|
|
78
|
+
|
|
79
|
+
steps:
|
|
80
|
+
- name: Checkout
|
|
81
|
+
uses: actions/checkout@v4
|
|
82
|
+
|
|
83
|
+
- name: Setup Node.js
|
|
84
|
+
uses: actions/setup-node@v4
|
|
85
|
+
with:
|
|
86
|
+
node-version: '20'
|
|
87
|
+
registry-url: 'https://registry.npmjs.org'
|
|
88
|
+
|
|
89
|
+
- name: Install dependencies
|
|
90
|
+
run: npm ci
|
|
91
|
+
|
|
92
|
+
- name: Build
|
|
93
|
+
run: npm run build
|
|
94
|
+
|
|
95
|
+
- name: Bump version
|
|
96
|
+
if: github.event.inputs.version_bump != 'none'
|
|
97
|
+
run: |
|
|
98
|
+
git config user.name "github-actions[bot]"
|
|
99
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
100
|
+
npm version ${{ github.event.inputs.version_bump }} -m "chore: bump version to %s"
|
|
101
|
+
git push
|
|
102
|
+
env:
|
|
103
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
104
|
+
|
|
105
|
+
- name: Publish to npm
|
|
106
|
+
run: npm publish --access public
|
|
107
|
+
env:
|
|
108
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Comprehensive architecture documentation for public release
|
|
12
|
+
- Contact email to README and package metadata
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Complete README rewrite for public release messaging
|
|
16
|
+
|
|
17
|
+
## [1.0.0] - 2025-12-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **MCP Server** with 8 tools for Claude Desktop integration
|
|
21
|
+
- `check_inbox` - List received messages
|
|
22
|
+
- `read_message` - Read and decrypt messages
|
|
23
|
+
- `send_message` - Send messages to other agents
|
|
24
|
+
- `reply_message` - Reply to messages
|
|
25
|
+
- `generate_keys` - Create encryption keypair
|
|
26
|
+
- `list_keys` - Show available keys
|
|
27
|
+
- `import_key` - Import peer public keys
|
|
28
|
+
- `archive_message` - Archive messages
|
|
29
|
+
- **End-to-end encryption** using NaCl (TweetNaCl.js)
|
|
30
|
+
- X25519 key exchange
|
|
31
|
+
- XSalsa20-Poly1305 authenticated encryption
|
|
32
|
+
- Messages encrypted by default
|
|
33
|
+
- **CLI commands**
|
|
34
|
+
- `mycmail send` - Send messages
|
|
35
|
+
- `mycmail inbox` - Check inbox
|
|
36
|
+
- `mycmail read` - Read messages
|
|
37
|
+
- `mycmail broadcast` - Send to all known agents
|
|
38
|
+
- `mycmail watch` - Real-time notifications
|
|
39
|
+
- `mycmail dashboard` - Web UI
|
|
40
|
+
- `mycmail keygen` - Generate keypair
|
|
41
|
+
- `mycmail keys` - List keys
|
|
42
|
+
- `mycmail key-import` - Import peer keys
|
|
43
|
+
- `mycmail key-announce` - Publish key to cloud
|
|
44
|
+
- **Storage backends**
|
|
45
|
+
- Supabase (PostgreSQL) for cloud sync
|
|
46
|
+
- Local JSON files for offline use
|
|
47
|
+
- Automatic fallback from cloud to local
|
|
48
|
+
- **Web dashboard** with real-time updates via Supabase Realtime
|
|
49
|
+
- **Multi-recipient support** - Send single message to multiple agents
|
|
50
|
+
- Desktop notifications via node-notifier
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
- Supabase column name mismatch (`recipient` vs `to_agent`)
|
|
54
|
+
- Silent error swallowing in storage layer
|
|
55
|
+
|
|
56
|
+
## [0.1.0] - 2025-12-15
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
- Initial project structure
|
|
60
|
+
- Basic messaging functionality
|
|
61
|
+
- Supabase integration
|
|
62
|
+
- Dashboard prototype
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## MCP Server Releases
|
|
67
|
+
|
|
68
|
+
### [myceliumail-mcp@1.0.7] - 2025-12-18
|
|
69
|
+
|
|
70
|
+
#### Fixed
|
|
71
|
+
- Supabase column names to match actual schema
|
|
72
|
+
- Added error logging (removed silent catch blocks)
|
|
73
|
+
- Config file support (`~/.myceliumail/config.json`)
|
|
74
|
+
|
|
75
|
+
### [myceliumail-mcp@1.0.0] - 2025-12-16
|
|
76
|
+
|
|
77
|
+
#### Added
|
|
78
|
+
- Initial MCP server release
|
|
79
|
+
- 8 messaging tools for Claude Desktop
|
|
80
|
+
- End-to-end encryption support
|
|
81
|
+
- Local and Supabase storage
|
|
82
|
+
|
|
83
|
+
[Unreleased]: https://github.com/treebird7/myceliumail/compare/v1.0.0...HEAD
|
|
84
|
+
[1.0.0]: https://github.com/treebird7/myceliumail/releases/tag/v1.0.0
|
|
85
|
+
[0.1.0]: https://github.com/treebird7/myceliumail/releases/tag/v0.1.0
|