@elizaos/plugin-bootstrap 0.1.7 → 0.1.8-alpha.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/README.md +67 -49
- package/package.json +3 -3
- package/dist/index.d.ts +0 -65
- package/dist/index.js +0 -2827
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
A plugin providing core functionality and basic actions for ElizaOS agents.
|
|
4
4
|
|
|
5
5
|
## Description
|
|
6
|
+
|
|
6
7
|
The Bootstrap plugin enables fundamental agent behaviors including conversation management, room interactions, and fact tracking. It provides essential actions and evaluators that form the foundation of agent interactions.
|
|
7
8
|
|
|
8
9
|
## Installation
|
|
@@ -14,28 +15,32 @@ pnpm install @elizaos/plugin-bootstrap
|
|
|
14
15
|
## Features
|
|
15
16
|
|
|
16
17
|
### 1. Conversation Management
|
|
18
|
+
|
|
17
19
|
- NONE action for basic responses
|
|
18
20
|
- CONTINUE action for follow-ups
|
|
19
21
|
- IGNORE action for appropriate disengagement
|
|
20
22
|
- Built-in conversation flow control
|
|
21
23
|
|
|
22
24
|
### 2. Room Control
|
|
25
|
+
|
|
23
26
|
- Follow/Unfollow room functionality
|
|
24
27
|
- Mute/Unmute capabilities
|
|
25
28
|
- Automatic engagement level tracking
|
|
26
29
|
- Smart participation management
|
|
27
30
|
|
|
28
31
|
### 3. Fact Management
|
|
32
|
+
|
|
29
33
|
- Automatic fact extraction
|
|
30
34
|
- Categorization of claims
|
|
31
35
|
- Deduplication of known information
|
|
32
36
|
- Support for multiple fact types:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
- Permanent facts
|
|
38
|
+
- Status updates
|
|
39
|
+
- Opinions
|
|
40
|
+
- Biographical information
|
|
37
41
|
|
|
38
42
|
### 4. Goal Tracking
|
|
43
|
+
|
|
39
44
|
- Track objective progress
|
|
40
45
|
- Update goal statuses
|
|
41
46
|
- Monitor completion states
|
|
@@ -44,18 +49,21 @@ pnpm install @elizaos/plugin-bootstrap
|
|
|
44
49
|
## Providers
|
|
45
50
|
|
|
46
51
|
### 1. Boredom Provider
|
|
52
|
+
|
|
47
53
|
- Tracks engagement levels
|
|
48
54
|
- Provides status messages
|
|
49
55
|
- Monitors conversation quality
|
|
50
56
|
- Adjusts participation accordingly
|
|
51
57
|
|
|
52
58
|
### 2. Facts Provider
|
|
59
|
+
|
|
53
60
|
- Manages fact database
|
|
54
61
|
- Retrieves relevant information
|
|
55
62
|
- Formats fact summaries
|
|
56
63
|
- Maintains fact context
|
|
57
64
|
|
|
58
65
|
### 3. Time Provider
|
|
66
|
+
|
|
59
67
|
- Provides UTC timestamps
|
|
60
68
|
- Human-readable formatting
|
|
61
69
|
- Time-based operation support
|
|
@@ -64,82 +72,93 @@ pnpm install @elizaos/plugin-bootstrap
|
|
|
64
72
|
|
|
65
73
|
1. Clone the repository
|
|
66
74
|
2. Install dependencies:
|
|
75
|
+
|
|
67
76
|
```bash
|
|
68
77
|
pnpm install
|
|
69
78
|
```
|
|
70
79
|
|
|
71
80
|
3. Build the plugin:
|
|
81
|
+
|
|
72
82
|
```bash
|
|
73
83
|
pnpm run build
|
|
74
84
|
```
|
|
75
85
|
|
|
76
86
|
4. Run linting:
|
|
87
|
+
|
|
77
88
|
```bash
|
|
78
89
|
pnpm run lint
|
|
79
90
|
```
|
|
80
91
|
|
|
81
92
|
## Dependencies
|
|
82
|
-
|
|
93
|
+
|
|
94
|
+
- @elizaos/core: workspace:\*
|
|
83
95
|
|
|
84
96
|
## Future Enhancements
|
|
85
97
|
|
|
86
98
|
1. **Enhanced Conversation Management**
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
99
|
+
|
|
100
|
+
- Advanced context tracking
|
|
101
|
+
- Multi-thread conversation support
|
|
102
|
+
- Conversation state persistence
|
|
103
|
+
- Improved conversation flow control
|
|
104
|
+
- Natural language understanding improvements
|
|
92
105
|
|
|
93
106
|
2. **Advanced Room Control**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
107
|
+
|
|
108
|
+
- Dynamic room creation and management
|
|
109
|
+
- Room permission system
|
|
110
|
+
- Advanced moderation tools
|
|
111
|
+
- Room analytics and insights
|
|
112
|
+
- Cross-room communication features
|
|
99
113
|
|
|
100
114
|
3. **Expanded Fact Management**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
115
|
+
|
|
116
|
+
- Enhanced fact verification system
|
|
117
|
+
- Fact relationship mapping
|
|
118
|
+
- Automated fact updating
|
|
119
|
+
- Fact confidence scoring
|
|
120
|
+
- Cross-reference system
|
|
121
|
+
- Fact expiration management
|
|
107
122
|
|
|
108
123
|
4. **Goal System Improvements**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
124
|
+
|
|
125
|
+
- Multi-step goal planning
|
|
126
|
+
- Goal dependency tracking
|
|
127
|
+
- Progress visualization
|
|
128
|
+
- Goal priority management
|
|
129
|
+
- Automated milestone tracking
|
|
130
|
+
- Goal optimization suggestions
|
|
115
131
|
|
|
116
132
|
5. **Provider Enhancements**
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
133
|
+
|
|
134
|
+
- Improved boredom detection
|
|
135
|
+
- Advanced engagement metrics
|
|
136
|
+
- Enhanced fact retrieval algorithms
|
|
137
|
+
- Real-time status updates
|
|
138
|
+
- Provider performance analytics
|
|
122
139
|
|
|
123
140
|
6. **Memory Management**
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
141
|
+
|
|
142
|
+
- Enhanced memory prioritization
|
|
143
|
+
- Memory compression techniques
|
|
144
|
+
- Long-term memory storage
|
|
145
|
+
- Memory relationship mapping
|
|
146
|
+
- Context-aware recall
|
|
129
147
|
|
|
130
148
|
7. **Developer Tools**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
149
|
+
|
|
150
|
+
- Enhanced debugging capabilities
|
|
151
|
+
- Testing framework improvements
|
|
152
|
+
- Plugin development templates
|
|
153
|
+
- Documentation generator
|
|
154
|
+
- Performance profiling tools
|
|
136
155
|
|
|
137
156
|
8. **Integration Features**
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
157
|
+
- Enhanced plugin interoperability
|
|
158
|
+
- External service connectors
|
|
159
|
+
- API gateway integration
|
|
160
|
+
- Webhook system improvements
|
|
161
|
+
- Third-party platform support
|
|
143
162
|
|
|
144
163
|
We welcome community feedback and contributions to help prioritize these enhancements.
|
|
145
164
|
|
|
@@ -150,11 +169,10 @@ Contributions are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) fil
|
|
|
150
169
|
## Credits
|
|
151
170
|
|
|
152
171
|
Special thanks to:
|
|
172
|
+
|
|
153
173
|
- The Eliza Core development team
|
|
154
174
|
- The Eliza community for their contributions and feedback
|
|
155
175
|
|
|
156
|
-
|
|
157
176
|
## License
|
|
158
177
|
|
|
159
178
|
This plugin is part of the Eliza project. See the main project repository for license information.
|
|
160
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-bootstrap",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@elizaos/core": "0.1.
|
|
22
|
+
"@elizaos/core": "0.1.8-alpha.1",
|
|
23
23
|
"tsup": "8.3.5"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"whatwg-url": "7.1.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "d5f2924d866c21b54543637b694695bd1f410621"
|
|
34
34
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Action, Memory, Evaluator, Provider, Plugin } from '@elizaos/core';
|
|
2
|
-
|
|
3
|
-
declare const messageHandlerTemplate: string;
|
|
4
|
-
declare const shouldContinueTemplate: string;
|
|
5
|
-
declare const continueAction: Action;
|
|
6
|
-
|
|
7
|
-
declare const shouldFollowTemplate: string;
|
|
8
|
-
declare const followRoomAction: Action;
|
|
9
|
-
|
|
10
|
-
declare const ignoreAction: Action;
|
|
11
|
-
|
|
12
|
-
declare const shouldMuteTemplate: string;
|
|
13
|
-
declare const muteRoomAction: Action;
|
|
14
|
-
|
|
15
|
-
declare const noneAction: Action;
|
|
16
|
-
|
|
17
|
-
declare const unfollowRoomAction: Action;
|
|
18
|
-
|
|
19
|
-
declare const shouldUnmuteTemplate: string;
|
|
20
|
-
declare const unmuteRoomAction: Action;
|
|
21
|
-
|
|
22
|
-
declare const index$2_continueAction: typeof continueAction;
|
|
23
|
-
declare const index$2_followRoomAction: typeof followRoomAction;
|
|
24
|
-
declare const index$2_ignoreAction: typeof ignoreAction;
|
|
25
|
-
declare const index$2_messageHandlerTemplate: typeof messageHandlerTemplate;
|
|
26
|
-
declare const index$2_muteRoomAction: typeof muteRoomAction;
|
|
27
|
-
declare const index$2_noneAction: typeof noneAction;
|
|
28
|
-
declare const index$2_shouldContinueTemplate: typeof shouldContinueTemplate;
|
|
29
|
-
declare const index$2_shouldFollowTemplate: typeof shouldFollowTemplate;
|
|
30
|
-
declare const index$2_shouldMuteTemplate: typeof shouldMuteTemplate;
|
|
31
|
-
declare const index$2_shouldUnmuteTemplate: typeof shouldUnmuteTemplate;
|
|
32
|
-
declare const index$2_unfollowRoomAction: typeof unfollowRoomAction;
|
|
33
|
-
declare const index$2_unmuteRoomAction: typeof unmuteRoomAction;
|
|
34
|
-
declare namespace index$2 {
|
|
35
|
-
export { index$2_continueAction as continueAction, index$2_followRoomAction as followRoomAction, index$2_ignoreAction as ignoreAction, index$2_messageHandlerTemplate as messageHandlerTemplate, index$2_muteRoomAction as muteRoomAction, index$2_noneAction as noneAction, index$2_shouldContinueTemplate as shouldContinueTemplate, index$2_shouldFollowTemplate as shouldFollowTemplate, index$2_shouldMuteTemplate as shouldMuteTemplate, index$2_shouldUnmuteTemplate as shouldUnmuteTemplate, index$2_unfollowRoomAction as unfollowRoomAction, index$2_unmuteRoomAction as unmuteRoomAction };
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare const formatFacts: (facts: Memory[]) => string;
|
|
39
|
-
declare const factEvaluator: Evaluator;
|
|
40
|
-
|
|
41
|
-
declare const goalEvaluator: Evaluator;
|
|
42
|
-
|
|
43
|
-
declare const index$1_factEvaluator: typeof factEvaluator;
|
|
44
|
-
declare const index$1_formatFacts: typeof formatFacts;
|
|
45
|
-
declare const index$1_goalEvaluator: typeof goalEvaluator;
|
|
46
|
-
declare namespace index$1 {
|
|
47
|
-
export { index$1_factEvaluator as factEvaluator, index$1_formatFacts as formatFacts, index$1_goalEvaluator as goalEvaluator };
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
declare const boredomProvider: Provider;
|
|
51
|
-
|
|
52
|
-
declare const timeProvider: Provider;
|
|
53
|
-
|
|
54
|
-
declare const factsProvider: Provider;
|
|
55
|
-
|
|
56
|
-
declare const index_boredomProvider: typeof boredomProvider;
|
|
57
|
-
declare const index_factsProvider: typeof factsProvider;
|
|
58
|
-
declare const index_timeProvider: typeof timeProvider;
|
|
59
|
-
declare namespace index {
|
|
60
|
-
export { index_boredomProvider as boredomProvider, index_factsProvider as factsProvider, index_timeProvider as timeProvider };
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
declare const bootstrapPlugin: Plugin;
|
|
64
|
-
|
|
65
|
-
export { index$2 as actions, bootstrapPlugin, index$1 as evaluators, index as providers };
|