clavarium-docket 0.1.0 → 0.1.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/bin/docket.mjs CHANGED
@@ -22,6 +22,7 @@ export const HELP = `docket: the events an application posted for you, and what
22
22
 
23
23
  ID: whole, or its first 8 characters. Times are in $DOCKET_TZ, else the machine's time zone.
24
24
  An event waits until you say done or failed: one never acknowledged is given to you again.
25
+ Keep reminder texts and done notes short (a few words): the person sees them.
25
26
  The folder used is --dir FOLDER, else $DOCKET_DIR, else the nearest ${FOLDER} folder from here up.
26
27
  docket ${VERSION}`;
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium-docket",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Clavarium Docket: events an AI agent or a script sees and acknowledges, and reminders it sets itself (a command and an MCP server, and a library for the application). No dependency.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/clavarium/clavarium-docket#readme",
package/server/docket.mjs CHANGED
@@ -25,7 +25,7 @@ import { randomUUID, createHash } from 'node:crypto';
25
25
  import { createInterface } from 'node:readline';
26
26
  import { zoneOf, isZone, parseWhen, parseIn, parseCron, nextCron, lastCron, wall } from './time.mjs';
27
27
 
28
- export const VERSION = '0.1.0';
28
+ export const VERSION = '0.1.1';
29
29
  export const FOLDER = '.docket';
30
30
  export const TEXT_MAX = 500;
31
31
  export const NOTE_MAX = 1000;
@@ -198,9 +198,9 @@ export function tick(dir, { now = Date.now() } = {}) {
198
198
  /* ---- MCP ---- */
199
199
  export const TOOLS = [
200
200
  { name: 'list', description: 'What waits for you, oldest first, each with its id; then the reminders you set. Say what you did of each event with done or failed.', inputSchema: { type: 'object', properties: {} } },
201
- { name: 'done', description: 'Say an event is handled.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'the id, or its first 8 characters' }, note: { type: 'string' } }, required: ['id'] } },
201
+ { name: 'done', description: 'Say an event is handled. The note is shown to the person: a few words, what you did.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'the id, or its first 8 characters' }, note: { type: 'string' } }, required: ['id'] } },
202
202
  { name: 'failed', description: 'Say an event could not be handled, and why: the person is told.', inputSchema: { type: 'object', properties: { id: { type: 'string' }, why: { type: 'string' } }, required: ['id', 'why'] } },
203
- { name: 'remind', description: 'Set yourself a reminder: at a time ("2026-10-23 09:00"), in a while ("2h", "3d"), or by a cron line ("0 9 * * 1"). It comes as an event when due.', inputSchema: { type: 'object', properties: { at: { type: 'string' }, in: { type: 'string' }, cron: { type: 'string' }, text: { type: 'string' } }, required: ['text'] } },
203
+ { name: 'remind', description: 'Set yourself a reminder: at a time ("2026-10-23 09:00"), in a while ("2h", "3d"), or by a cron line ("0 9 * * 1"). It comes as an event when due. Keep its text short (a title, a few words): it is shown to the person each time.', inputSchema: { type: 'object', properties: { at: { type: 'string' }, in: { type: 'string' }, cron: { type: 'string' }, text: { type: 'string' } }, required: ['text'] } },
204
204
  { name: 'cancel', description: 'Take back a reminder you set.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
205
205
  ];
206
206
  export function serve(dir, { input = process.stdin, output = process.stdout, env = process.env } = {}) {