Skip to content

Commit c2d3073

Browse files
committed
Update README.md
1 parent bc7b8f6 commit c2d3073

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ The plugin supports the following configuration options (set via plugin config):
8888
reminders: {
8989
enabled: true, // Enable/disable plugin
9090
max_reminders_per_project: 50, // Maximum reminders per project
91-
min_interval_seconds: 30 // Minimum interval between executions
91+
min_interval_seconds: 30, // Minimum interval between executions
92+
notifications: {
93+
enabled: true // Enable/disable toast notifications
94+
}
9295
}
9396
}
9497
```
@@ -113,17 +116,27 @@ tsc --noEmit
113116
# Run all tests
114117
bun test
115118

116-
# Run specific test suite
119+
# Run specific test suites
117120
bun test test/types.test.ts
118121
bun test test/storage.test.ts
122+
bun test test/logger.test.ts
123+
bun test test/config.test.ts
119124
bun test test/scheduler.test.ts
120125
bun test test/integration.test.ts
121126

122127
# Watch mode
123128
bun test --watch
129+
130+
# Using npm scripts
131+
npm run test
132+
npm run test:types
133+
npm run test:storage
134+
npm run test:logger
135+
npm run test:integration
136+
npm run test:watch
124137
```
125138

126-
**Test Coverage:** 46 tests covering types, storage, scheduling, and integration.
139+
**Test Coverage:** Comprehensive test suite covering types, storage, logging, configuration, scheduling, and integration.
127140

128141
## Architecture
129142

@@ -133,6 +146,7 @@ This plugin demonstrates a multi-file structure:
133146
- **`types.ts`** - TypeScript types and Zod schemas
134147
- **`storage.ts`** - Filesystem operations for persistence
135148
- **`scheduler.ts`** - Timer management and execution logic
149+
- **`logger.ts`** - Logging functionality with configurable levels
136150
- **`tools/`** - Tool implementations (reminderadd, reminderlist, reminderremove)
137151
- **`test/`** - Comprehensive test suite
138152
- **`package.json`** - Dependencies configuration

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-reminders",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Reminder plugin for OpenCode - schedule actions to run at intervals",
55
"keywords": ["opencode", "reactive", "plugin", "reminders", "scheduler"],
66
"author": "zelenkovsky",
@@ -32,6 +32,8 @@
3232
"test:types": "bun test test/types.test.ts",
3333
"test:storage": "bun test test/storage.test.ts",
3434
"test:logger": "bun test test/logger.test.ts",
35+
"test:config": "bun test test/config.test.ts",
36+
"test:scheduler": "bun test test/scheduler.test.ts",
3537
"test:integration": "bun test test/integration.test.ts",
3638
"test:watch": "bun test --watch"
3739
},

0 commit comments

Comments
 (0)