@withbuddi/buddi 0.1.0-pre.22 → 0.1.0-pre.24
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 +10 -7
- package/node_modules/@buddi/cli/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/cli/dist/commands.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/commands.js +30 -1
- package/node_modules/@buddi/cli/dist/commands.js.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor-probes.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor-probes.js +1 -0
- package/node_modules/@buddi/cli/dist/doctor-probes.js.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor.d.ts +2 -0
- package/node_modules/@buddi/cli/dist/doctor.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor.js +7 -0
- package/node_modules/@buddi/cli/dist/doctor.js.map +1 -1
- package/node_modules/@buddi/cli/dist/main.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/main.js +2 -1
- package/node_modules/@buddi/cli/dist/main.js.map +1 -1
- package/node_modules/@buddi/cli/dist/plugins-toggle.d.ts +9 -0
- package/node_modules/@buddi/cli/dist/plugins-toggle.d.ts.map +1 -0
- package/node_modules/@buddi/cli/dist/plugins-toggle.js +20 -0
- package/node_modules/@buddi/cli/dist/plugins-toggle.js.map +1 -0
- package/node_modules/@buddi/core/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/core/dist/agents/catalog.d.ts +37 -2
- package/node_modules/@buddi/core/dist/agents/catalog.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/agents/catalog.js +49 -11
- package/node_modules/@buddi/core/dist/agents/catalog.js.map +1 -1
- package/node_modules/@buddi/core/dist/home.d.ts +30 -1
- package/node_modules/@buddi/core/dist/home.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/home.js +1 -1
- package/node_modules/@buddi/core/dist/home.js.map +1 -1
- package/node_modules/@buddi/core/dist/host/build.d.ts +7 -0
- package/node_modules/@buddi/core/dist/host/build.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/host/build.js +51 -4
- package/node_modules/@buddi/core/dist/host/build.js.map +1 -1
- package/node_modules/@buddi/core/dist/host/http.d.ts +32 -0
- package/node_modules/@buddi/core/dist/host/http.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/host/http.js +102 -2
- package/node_modules/@buddi/core/dist/host/http.js.map +1 -1
- package/node_modules/@buddi/core/dist/host/types.d.ts +8 -0
- package/node_modules/@buddi/core/dist/host/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/index.d.ts +1 -0
- package/node_modules/@buddi/core/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/index.js +1 -0
- package/node_modules/@buddi/core/dist/index.js.map +1 -1
- package/node_modules/@buddi/core/dist/learning/announce.d.ts +1 -1
- package/node_modules/@buddi/core/dist/notifications/focus.d.ts +42 -0
- package/node_modules/@buddi/core/dist/notifications/focus.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/notifications/focus.js +150 -0
- package/node_modules/@buddi/core/dist/notifications/focus.js.map +1 -0
- package/node_modules/@buddi/core/dist/notifications/index.d.ts +1 -0
- package/node_modules/@buddi/core/dist/notifications/index.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/index.js +1 -0
- package/node_modules/@buddi/core/dist/notifications/index.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/notify.d.ts +66 -7
- package/node_modules/@buddi/core/dist/notifications/notify.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/notify.js +123 -38
- package/node_modules/@buddi/core/dist/notifications/notify.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/store.d.ts +6 -4
- package/node_modules/@buddi/core/dist/notifications/store.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/store.js +24 -23
- package/node_modules/@buddi/core/dist/notifications/store.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/types.d.ts +46 -3
- package/node_modules/@buddi/core/dist/notifications/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/types.js +12 -0
- package/node_modules/@buddi/core/dist/notifications/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/pages.d.ts +186 -6
- package/node_modules/@buddi/core/dist/pages.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/pages.js +232 -13
- package/node_modules/@buddi/core/dist/pages.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/author.d.ts +42 -0
- package/node_modules/@buddi/core/dist/plugin/author.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/author.js +77 -0
- package/node_modules/@buddi/core/dist/plugin/author.js.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/index.d.ts +7 -3
- package/node_modules/@buddi/core/dist/plugin/index.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/index.js +3 -0
- package/node_modules/@buddi/core/dist/plugin/index.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.d.ts +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.js +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugins/record.d.ts +8 -0
- package/node_modules/@buddi/core/dist/plugins/record.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugins/record.js +17 -0
- package/node_modules/@buddi/core/dist/plugins/record.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugins/types.d.ts +7 -0
- package/node_modules/@buddi/core/dist/plugins/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugins/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/registry.d.ts +11 -0
- package/node_modules/@buddi/core/dist/registry.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/registry.js +47 -6
- package/node_modules/@buddi/core/dist/registry.js.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/materialize.js +1 -1
- package/node_modules/@buddi/core/dist/scheduler/missions.d.ts +10 -0
- package/node_modules/@buddi/core/dist/scheduler/missions.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/missions.js +29 -1
- package/node_modules/@buddi/core/dist/scheduler/missions.js.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/types.d.ts +7 -0
- package/node_modules/@buddi/core/dist/scheduler/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/types.js +1 -0
- package/node_modules/@buddi/core/dist/scheduler/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/secrets/destinations.d.ts +2 -0
- package/node_modules/@buddi/core/dist/secrets/destinations.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/secrets/destinations.js +6 -0
- package/node_modules/@buddi/core/dist/secrets/destinations.js.map +1 -1
- package/node_modules/@buddi/core/dist/tools.d.ts +8 -0
- package/node_modules/@buddi/core/dist/tools.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/tools.js.map +1 -1
- package/node_modules/@buddi/core/dist/views.d.ts +178 -3
- package/node_modules/@buddi/core/dist/views.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/views.js +56 -1
- package/node_modules/@buddi/core/dist/views.js.map +1 -1
- package/node_modules/@buddi/core/migrations/051_notification_focus.sql +20 -0
- package/node_modules/@buddi/core/migrations/052_mission_paused_reason.sql +6 -0
- package/node_modules/@buddi/gateway/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalog.d.ts +7 -0
- package/node_modules/@buddi/gateway/dist/agents/catalog.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalog.js +18 -1
- package/node_modules/@buddi/gateway/dist/agents/catalog.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/starter-team.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/agents/starter-team.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/starter-team.js +8 -3
- package/node_modules/@buddi/gateway/dist/agents/starter-team.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/index.d.ts +1 -1
- package/node_modules/@buddi/gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/index.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions-cli.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions-cli.js +6 -3
- package/node_modules/@buddi/gateway/dist/missions-cli.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/approve.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/approve.js +9 -2
- package/node_modules/@buddi/gateway/dist/plugins/approve.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/index.d.ts +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/index.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/index.js +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/index.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/live.d.ts +42 -0
- package/node_modules/@buddi/gateway/dist/plugins/live.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/live.js +81 -0
- package/node_modules/@buddi/gateway/dist/plugins/live.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/load.d.ts +5 -0
- package/node_modules/@buddi/gateway/dist/plugins/load.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/load.js +10 -1
- package/node_modules/@buddi/gateway/dist/plugins/load.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/provenance.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/provenance.js +10 -3
- package/node_modules/@buddi/gateway/dist/plugins/provenance.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/scaffold.d.ts +8 -0
- package/node_modules/@buddi/gateway/dist/plugins/scaffold.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/scaffold.js +46 -7
- package/node_modules/@buddi/gateway/dist/plugins/scaffold.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.d.ts +6 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.js +3 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/toggle.d.ts +37 -0
- package/node_modules/@buddi/gateway/dist/plugins/toggle.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/toggle.js +110 -0
- package/node_modules/@buddi/gateway/dist/plugins/toggle.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins-cli.d.ts +61 -6
- package/node_modules/@buddi/gateway/dist/plugins-cli.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins-cli.js +247 -20
- package/node_modules/@buddi/gateway/dist/plugins-cli.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/serve.js +3 -3
- package/node_modules/@buddi/gateway/dist/serve.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/speech-cli.d.ts +13 -0
- package/node_modules/@buddi/gateway/dist/speech-cli.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/speech-cli.js +40 -1
- package/node_modules/@buddi/gateway/dist/speech-cli.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/focus.d.ts +27 -0
- package/node_modules/@buddi/gateway/dist/telegram/focus.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/telegram/focus.js +72 -0
- package/node_modules/@buddi/gateway/dist/telegram/focus.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/telegram/main.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/main.js +1 -0
- package/node_modules/@buddi/gateway/dist/telegram/main.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/surface.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/telegram/surface.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/surface.js +24 -1
- package/node_modules/@buddi/gateway/dist/telegram/surface.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/tips/rules.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/tips/rules.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/tips/rules.js +10 -0
- package/node_modules/@buddi/gateway/dist/tips/rules.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/agent-offers.js +1 -1
- package/node_modules/@buddi/gateway/dist/web/agent-offers.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/folders.d.ts +23 -0
- package/node_modules/@buddi/gateway/dist/web/folders.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/folders.js +100 -0
- package/node_modules/@buddi/gateway/dist/web/folders.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/market.d.ts +111 -0
- package/node_modules/@buddi/gateway/dist/web/market.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/market.js +347 -0
- package/node_modules/@buddi/gateway/dist/web/market.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/notifications.d.ts +8 -1
- package/node_modules/@buddi/gateway/dist/web/notifications.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/notifications.js +23 -1
- package/node_modules/@buddi/gateway/dist/web/notifications.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/plugins.d.ts +38 -3
- package/node_modules/@buddi/gateway/dist/web/plugins.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/plugins.js +73 -5
- package/node_modules/@buddi/gateway/dist/web/plugins.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/profile.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/web/profile.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/profile.js +2 -1
- package/node_modules/@buddi/gateway/dist/web/profile.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/rail.d.ts +33 -0
- package/node_modules/@buddi/gateway/dist/web/rail.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/rail.js +45 -0
- package/node_modules/@buddi/gateway/dist/web/rail.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/read.d.ts +46 -0
- package/node_modules/@buddi/gateway/dist/web/read.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/read.js +78 -2
- package/node_modules/@buddi/gateway/dist/web/read.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/server.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/server.js +68 -6
- package/node_modules/@buddi/gateway/dist/web/server.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/svg.d.ts +23 -0
- package/node_modules/@buddi/gateway/dist/web/svg.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/svg.js +125 -0
- package/node_modules/@buddi/gateway/dist/web/svg.js.map +1 -0
- package/node_modules/@buddi/gateway/src/agents/starter/planner/agent.md +2 -2
- package/node_modules/@buddi/gateway/src/agents/starter/planner/skills/writing-the-morning-brief.md +18 -11
- package/node_modules/@buddi/install/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/runtime/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-artifacts/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-browser/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-email/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-host/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-mcp/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-memory/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-web/dist/.tsbuildinfo +1 -1
- package/node_modules/@hono/node-server/README.md +21 -10
- package/node_modules/@hono/node-server/dist/early-hints.cjs +1 -1
- package/node_modules/@hono/node-server/dist/early-hints.mjs +1 -1
- package/node_modules/@hono/node-server/dist/index.cjs +41 -19
- package/node_modules/@hono/node-server/dist/index.mjs +42 -20
- package/node_modules/@hono/node-server/dist/serve-static.cjs +1 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.cts +2 -1
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +2 -1
- package/node_modules/@hono/node-server/dist/serve-static.mjs +1 -0
- package/node_modules/@hono/node-server/package.json +3 -2
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -0
- package/node_modules/hono/dist/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/middleware/serve-static/index.js +1 -0
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +2 -0
- package/node_modules/hono/package.json +1 -1
- package/package.json +2 -2
- package/packages/cli/dist/.tsbuildinfo +1 -1
- package/packages/cli/dist/commands.d.ts.map +1 -1
- package/packages/cli/dist/commands.js +30 -1
- package/packages/cli/dist/commands.js.map +1 -1
- package/packages/cli/dist/doctor-probes.d.ts.map +1 -1
- package/packages/cli/dist/doctor-probes.js +1 -0
- package/packages/cli/dist/doctor-probes.js.map +1 -1
- package/packages/cli/dist/doctor.d.ts +2 -0
- package/packages/cli/dist/doctor.d.ts.map +1 -1
- package/packages/cli/dist/doctor.js +7 -0
- package/packages/cli/dist/doctor.js.map +1 -1
- package/packages/cli/dist/main.d.ts.map +1 -1
- package/packages/cli/dist/main.js +2 -1
- package/packages/cli/dist/main.js.map +1 -1
- package/packages/cli/dist/plugins-toggle.d.ts +9 -0
- package/packages/cli/dist/plugins-toggle.d.ts.map +1 -0
- package/packages/cli/dist/plugins-toggle.js +20 -0
- package/packages/cli/dist/plugins-toggle.js.map +1 -0
- package/packages/core/dist/.tsbuildinfo +1 -1
- package/packages/core/dist/agents/catalog.d.ts +37 -2
- package/packages/core/dist/agents/catalog.d.ts.map +1 -1
- package/packages/core/dist/agents/catalog.js +49 -11
- package/packages/core/dist/agents/catalog.js.map +1 -1
- package/packages/core/dist/home.d.ts +30 -1
- package/packages/core/dist/home.d.ts.map +1 -1
- package/packages/core/dist/home.js +1 -1
- package/packages/core/dist/home.js.map +1 -1
- package/packages/core/dist/host/build.d.ts +7 -0
- package/packages/core/dist/host/build.d.ts.map +1 -1
- package/packages/core/dist/host/build.js +51 -4
- package/packages/core/dist/host/build.js.map +1 -1
- package/packages/core/dist/host/http.d.ts +32 -0
- package/packages/core/dist/host/http.d.ts.map +1 -1
- package/packages/core/dist/host/http.js +102 -2
- package/packages/core/dist/host/http.js.map +1 -1
- package/packages/core/dist/host/types.d.ts +8 -0
- package/packages/core/dist/host/types.d.ts.map +1 -1
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +1 -0
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/learning/announce.d.ts +1 -1
- package/packages/core/dist/notifications/focus.d.ts +42 -0
- package/packages/core/dist/notifications/focus.d.ts.map +1 -0
- package/packages/core/dist/notifications/focus.js +150 -0
- package/packages/core/dist/notifications/focus.js.map +1 -0
- package/packages/core/dist/notifications/index.d.ts +1 -0
- package/packages/core/dist/notifications/index.d.ts.map +1 -1
- package/packages/core/dist/notifications/index.js +1 -0
- package/packages/core/dist/notifications/index.js.map +1 -1
- package/packages/core/dist/notifications/notify.d.ts +66 -7
- package/packages/core/dist/notifications/notify.d.ts.map +1 -1
- package/packages/core/dist/notifications/notify.js +123 -38
- package/packages/core/dist/notifications/notify.js.map +1 -1
- package/packages/core/dist/notifications/store.d.ts +6 -4
- package/packages/core/dist/notifications/store.d.ts.map +1 -1
- package/packages/core/dist/notifications/store.js +24 -23
- package/packages/core/dist/notifications/store.js.map +1 -1
- package/packages/core/dist/notifications/types.d.ts +46 -3
- package/packages/core/dist/notifications/types.d.ts.map +1 -1
- package/packages/core/dist/notifications/types.js +12 -0
- package/packages/core/dist/notifications/types.js.map +1 -1
- package/packages/core/dist/pages.d.ts +186 -6
- package/packages/core/dist/pages.d.ts.map +1 -1
- package/packages/core/dist/pages.js +232 -13
- package/packages/core/dist/pages.js.map +1 -1
- package/packages/core/dist/plugin/author.d.ts +42 -0
- package/packages/core/dist/plugin/author.d.ts.map +1 -0
- package/packages/core/dist/plugin/author.js +77 -0
- package/packages/core/dist/plugin/author.js.map +1 -0
- package/packages/core/dist/plugin/index.d.ts +7 -3
- package/packages/core/dist/plugin/index.d.ts.map +1 -1
- package/packages/core/dist/plugin/index.js +3 -0
- package/packages/core/dist/plugin/index.js.map +1 -1
- package/packages/core/dist/plugin/version.d.ts +1 -1
- package/packages/core/dist/plugin/version.d.ts.map +1 -1
- package/packages/core/dist/plugin/version.js +1 -1
- package/packages/core/dist/plugin/version.js.map +1 -1
- package/packages/core/dist/plugins/record.d.ts +8 -0
- package/packages/core/dist/plugins/record.d.ts.map +1 -1
- package/packages/core/dist/plugins/record.js +17 -0
- package/packages/core/dist/plugins/record.js.map +1 -1
- package/packages/core/dist/plugins/types.d.ts +7 -0
- package/packages/core/dist/plugins/types.d.ts.map +1 -1
- package/packages/core/dist/plugins/types.js.map +1 -1
- package/packages/core/dist/registry.d.ts +11 -0
- package/packages/core/dist/registry.d.ts.map +1 -1
- package/packages/core/dist/registry.js +47 -6
- package/packages/core/dist/registry.js.map +1 -1
- package/packages/core/dist/scheduler/materialize.js +1 -1
- package/packages/core/dist/scheduler/missions.d.ts +10 -0
- package/packages/core/dist/scheduler/missions.d.ts.map +1 -1
- package/packages/core/dist/scheduler/missions.js +29 -1
- package/packages/core/dist/scheduler/missions.js.map +1 -1
- package/packages/core/dist/scheduler/types.d.ts +7 -0
- package/packages/core/dist/scheduler/types.d.ts.map +1 -1
- package/packages/core/dist/scheduler/types.js +1 -0
- package/packages/core/dist/scheduler/types.js.map +1 -1
- package/packages/core/dist/secrets/destinations.d.ts +2 -0
- package/packages/core/dist/secrets/destinations.d.ts.map +1 -1
- package/packages/core/dist/secrets/destinations.js +6 -0
- package/packages/core/dist/secrets/destinations.js.map +1 -1
- package/packages/core/dist/tools.d.ts +8 -0
- package/packages/core/dist/tools.d.ts.map +1 -1
- package/packages/core/dist/tools.js.map +1 -1
- package/packages/core/dist/views.d.ts +178 -3
- package/packages/core/dist/views.d.ts.map +1 -1
- package/packages/core/dist/views.js +56 -1
- package/packages/core/dist/views.js.map +1 -1
- package/packages/core/migrations/051_notification_focus.sql +20 -0
- package/packages/core/migrations/052_mission_paused_reason.sql +6 -0
- package/packages/gateway/dist/.tsbuildinfo +1 -1
- package/packages/gateway/dist/agents/catalog.d.ts +7 -0
- package/packages/gateway/dist/agents/catalog.d.ts.map +1 -1
- package/packages/gateway/dist/agents/catalog.js +18 -1
- package/packages/gateway/dist/agents/catalog.js.map +1 -1
- package/packages/gateway/dist/agents/starter-team.d.ts +2 -0
- package/packages/gateway/dist/agents/starter-team.d.ts.map +1 -1
- package/packages/gateway/dist/agents/starter-team.js +8 -3
- package/packages/gateway/dist/agents/starter-team.js.map +1 -1
- package/packages/gateway/dist/index.d.ts +1 -1
- package/packages/gateway/dist/index.d.ts.map +1 -1
- package/packages/gateway/dist/index.js.map +1 -1
- package/packages/gateway/dist/missions-cli.d.ts.map +1 -1
- package/packages/gateway/dist/missions-cli.js +6 -3
- package/packages/gateway/dist/missions-cli.js.map +1 -1
- package/packages/gateway/dist/plugins/approve.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/approve.js +9 -2
- package/packages/gateway/dist/plugins/approve.js.map +1 -1
- package/packages/gateway/dist/plugins/index.d.ts +1 -0
- package/packages/gateway/dist/plugins/index.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/index.js +1 -0
- package/packages/gateway/dist/plugins/index.js.map +1 -1
- package/packages/gateway/dist/plugins/live.d.ts +42 -0
- package/packages/gateway/dist/plugins/live.d.ts.map +1 -0
- package/packages/gateway/dist/plugins/live.js +81 -0
- package/packages/gateway/dist/plugins/live.js.map +1 -0
- package/packages/gateway/dist/plugins/load.d.ts +5 -0
- package/packages/gateway/dist/plugins/load.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/load.js +10 -1
- package/packages/gateway/dist/plugins/load.js.map +1 -1
- package/packages/gateway/dist/plugins/provenance.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/provenance.js +10 -3
- package/packages/gateway/dist/plugins/provenance.js.map +1 -1
- package/packages/gateway/dist/plugins/scaffold.d.ts +8 -0
- package/packages/gateway/dist/plugins/scaffold.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/scaffold.js +46 -7
- package/packages/gateway/dist/plugins/scaffold.js.map +1 -1
- package/packages/gateway/dist/plugins/stage.d.ts +6 -1
- package/packages/gateway/dist/plugins/stage.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/stage.js +3 -1
- package/packages/gateway/dist/plugins/stage.js.map +1 -1
- package/packages/gateway/dist/plugins/toggle.d.ts +37 -0
- package/packages/gateway/dist/plugins/toggle.d.ts.map +1 -0
- package/packages/gateway/dist/plugins/toggle.js +110 -0
- package/packages/gateway/dist/plugins/toggle.js.map +1 -0
- package/packages/gateway/dist/plugins-cli.d.ts +61 -6
- package/packages/gateway/dist/plugins-cli.d.ts.map +1 -1
- package/packages/gateway/dist/plugins-cli.js +247 -20
- package/packages/gateway/dist/plugins-cli.js.map +1 -1
- package/packages/gateway/dist/serve.js +3 -3
- package/packages/gateway/dist/serve.js.map +1 -1
- package/packages/gateway/dist/speech-cli.d.ts +13 -0
- package/packages/gateway/dist/speech-cli.d.ts.map +1 -1
- package/packages/gateway/dist/speech-cli.js +40 -1
- package/packages/gateway/dist/speech-cli.js.map +1 -1
- package/packages/gateway/dist/telegram/focus.d.ts +27 -0
- package/packages/gateway/dist/telegram/focus.d.ts.map +1 -0
- package/packages/gateway/dist/telegram/focus.js +72 -0
- package/packages/gateway/dist/telegram/focus.js.map +1 -0
- package/packages/gateway/dist/telegram/main.d.ts.map +1 -1
- package/packages/gateway/dist/telegram/main.js +1 -0
- package/packages/gateway/dist/telegram/main.js.map +1 -1
- package/packages/gateway/dist/telegram/surface.d.ts +2 -0
- package/packages/gateway/dist/telegram/surface.d.ts.map +1 -1
- package/packages/gateway/dist/telegram/surface.js +24 -1
- package/packages/gateway/dist/telegram/surface.js.map +1 -1
- package/packages/gateway/dist/tips/rules.d.ts +2 -0
- package/packages/gateway/dist/tips/rules.d.ts.map +1 -1
- package/packages/gateway/dist/tips/rules.js +10 -0
- package/packages/gateway/dist/tips/rules.js.map +1 -1
- package/packages/gateway/dist/web/agent-offers.js +1 -1
- package/packages/gateway/dist/web/agent-offers.js.map +1 -1
- package/packages/gateway/dist/web/folders.d.ts +23 -0
- package/packages/gateway/dist/web/folders.d.ts.map +1 -0
- package/packages/gateway/dist/web/folders.js +100 -0
- package/packages/gateway/dist/web/folders.js.map +1 -0
- package/packages/gateway/dist/web/market.d.ts +111 -0
- package/packages/gateway/dist/web/market.d.ts.map +1 -0
- package/packages/gateway/dist/web/market.js +347 -0
- package/packages/gateway/dist/web/market.js.map +1 -0
- package/packages/gateway/dist/web/notifications.d.ts +8 -1
- package/packages/gateway/dist/web/notifications.d.ts.map +1 -1
- package/packages/gateway/dist/web/notifications.js +23 -1
- package/packages/gateway/dist/web/notifications.js.map +1 -1
- package/packages/gateway/dist/web/plugins.d.ts +38 -3
- package/packages/gateway/dist/web/plugins.d.ts.map +1 -1
- package/packages/gateway/dist/web/plugins.js +73 -5
- package/packages/gateway/dist/web/plugins.js.map +1 -1
- package/packages/gateway/dist/web/profile.d.ts +2 -0
- package/packages/gateway/dist/web/profile.d.ts.map +1 -1
- package/packages/gateway/dist/web/profile.js +2 -1
- package/packages/gateway/dist/web/profile.js.map +1 -1
- package/packages/gateway/dist/web/rail.d.ts +33 -0
- package/packages/gateway/dist/web/rail.d.ts.map +1 -0
- package/packages/gateway/dist/web/rail.js +45 -0
- package/packages/gateway/dist/web/rail.js.map +1 -0
- package/packages/gateway/dist/web/read.d.ts +46 -0
- package/packages/gateway/dist/web/read.d.ts.map +1 -1
- package/packages/gateway/dist/web/read.js +78 -2
- package/packages/gateway/dist/web/read.js.map +1 -1
- package/packages/gateway/dist/web/server.d.ts.map +1 -1
- package/packages/gateway/dist/web/server.js +68 -6
- package/packages/gateway/dist/web/server.js.map +1 -1
- package/packages/gateway/dist/web/svg.d.ts +23 -0
- package/packages/gateway/dist/web/svg.d.ts.map +1 -0
- package/packages/gateway/dist/web/svg.js +125 -0
- package/packages/gateway/dist/web/svg.js.map +1 -0
- package/packages/gateway/src/agents/starter/planner/agent.md +2 -2
- package/packages/gateway/src/agents/starter/planner/skills/writing-the-morning-brief.md +18 -11
- package/packages/install/dist/.tsbuildinfo +1 -1
- package/packages/runtime/dist/.tsbuildinfo +1 -1
- package/packages/tools/artifacts/dist/.tsbuildinfo +1 -1
- package/packages/tools/browser/dist/.tsbuildinfo +1 -1
- package/packages/tools/email/dist/.tsbuildinfo +1 -1
- package/packages/tools/host/dist/.tsbuildinfo +1 -1
- package/packages/tools/mcp/dist/.tsbuildinfo +1 -1
- package/packages/tools/memory/dist/.tsbuildinfo +1 -1
- package/packages/tools/web/dist/.tsbuildinfo +1 -1
- package/packages/web/dist/assets/index-C-NAQ_MT.css +1 -0
- package/packages/web/dist/assets/index-DzFS39N3.js +125 -0
- package/packages/web/dist/assets/{lottie_light-BCNsQpt8.js → lottie_light-D7STH9tF.js} +1 -1
- package/packages/web/dist/build.json +1 -1
- package/packages/web/dist/index.html +2 -2
- package/packages/web/dist/precache.json +4 -4
- package/packages/web/dist/sw.js +8 -1
- package/packages/web/dist/assets/index-CBEdA2dN.js +0 -125
- package/packages/web/dist/assets/index-Ddp9egOQ.css +0 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A market icon, made safe to put in the page as markup.
|
|
3
|
+
*
|
|
4
|
+
* The icon is drawn inline so it takes the colour of the tile it sits in
|
|
5
|
+
* (`currentColor`), which an `<img>` cannot do. Inline markup from the
|
|
6
|
+
* internet is a script waiting to happen, so this is an allowlist, not a
|
|
7
|
+
* filter: the input is tokenised, and what comes out is re-written from the
|
|
8
|
+
* tokens using only simple shape elements and the presentation attributes a
|
|
9
|
+
* line icon needs. Anything else in the element tree — a `<script>`, a
|
|
10
|
+
* `<style>`, a `<use>`, an `<image>`, text, an entity, a doctype — and the
|
|
11
|
+
* whole icon is refused (`undefined`), because an icon that needed one of
|
|
12
|
+
* them would not draw right without it anyway. An attribute that is not on
|
|
13
|
+
* the list, or whose value is more than numbers, colours and path letters,
|
|
14
|
+
* is dropped on its own.
|
|
15
|
+
*/
|
|
16
|
+
/** The elements a line icon is made of. */
|
|
17
|
+
const ELEMENTS = new Set(['svg', 'g', 'path', 'rect', 'circle', 'line', 'polyline', 'polygon']);
|
|
18
|
+
/**
|
|
19
|
+
* The attributes kept. `x1`…`y2` and `ry` go with `line` and `rect`, which
|
|
20
|
+
* are on the element list and draw nothing without them.
|
|
21
|
+
*/
|
|
22
|
+
const ATTRIBUTES = new Set([
|
|
23
|
+
'viewBox',
|
|
24
|
+
'd',
|
|
25
|
+
'x',
|
|
26
|
+
'y',
|
|
27
|
+
'x1',
|
|
28
|
+
'y1',
|
|
29
|
+
'x2',
|
|
30
|
+
'y2',
|
|
31
|
+
'width',
|
|
32
|
+
'height',
|
|
33
|
+
'rx',
|
|
34
|
+
'ry',
|
|
35
|
+
'r',
|
|
36
|
+
'cx',
|
|
37
|
+
'cy',
|
|
38
|
+
'points',
|
|
39
|
+
'stroke',
|
|
40
|
+
'fill',
|
|
41
|
+
]);
|
|
42
|
+
/** Numbers, path letters, `#hex`, `currentColor`, `none`, percentages: never a `url(`, a colon, a quote or an entity. */
|
|
43
|
+
const VALUE = /^[A-Za-z0-9#.,\s%+-]*$/;
|
|
44
|
+
/** Past this, it is not an icon. */
|
|
45
|
+
export const MAX_ICON_BYTES = 16 * 1024;
|
|
46
|
+
const TAG = /<(\/?)([A-Za-z][\w:-]*)((?:\s+[^\s=/>]+(?:\s*=\s*(?:"[^"]*"|'[^']*'))?)*)\s*(\/?)>/y;
|
|
47
|
+
const ATTR = /([^\s=/>]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'))?/g;
|
|
48
|
+
function keepAttribute(name) {
|
|
49
|
+
return ATTRIBUTES.has(name) || /^stroke-[a-z-]+$/.test(name);
|
|
50
|
+
}
|
|
51
|
+
function attributesOf(raw) {
|
|
52
|
+
const kept = [];
|
|
53
|
+
const seen = new Set();
|
|
54
|
+
for (const match of raw.matchAll(ATTR)) {
|
|
55
|
+
const name = match[1];
|
|
56
|
+
const value = match[2] ?? match[3];
|
|
57
|
+
if (value === undefined || seen.has(name) || !keepAttribute(name) || !VALUE.test(value))
|
|
58
|
+
continue;
|
|
59
|
+
seen.add(name);
|
|
60
|
+
kept.push(`${name}="${value.trim()}"`);
|
|
61
|
+
}
|
|
62
|
+
return kept.length === 0 ? '' : ` ${kept.join(' ')}`;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The icon re-written from its allowed parts, or `undefined` when it is not
|
|
66
|
+
* an icon this page will draw.
|
|
67
|
+
*/
|
|
68
|
+
export function sanitizeIconSvg(input) {
|
|
69
|
+
if (input.length > MAX_ICON_BYTES)
|
|
70
|
+
return undefined;
|
|
71
|
+
// An XML prolog and comments carry nothing an icon needs; anything else that
|
|
72
|
+
// is not a tag (a doctype, CDATA, a processing instruction) refuses it below.
|
|
73
|
+
const text = input.replace(/^/, '').replace(/^\s*<\?xml[^>]*\?>/, '').replace(/<!--[\s\S]*?-->/g, '');
|
|
74
|
+
const out = [];
|
|
75
|
+
const open = [];
|
|
76
|
+
let at = 0;
|
|
77
|
+
let closedRoot = false;
|
|
78
|
+
while (at < text.length) {
|
|
79
|
+
const next = text.indexOf('<', at);
|
|
80
|
+
const between = next === -1 ? text.slice(at) : text.slice(at, next);
|
|
81
|
+
// Text between tags is whitespace or it is not an icon.
|
|
82
|
+
if (between.trim() !== '')
|
|
83
|
+
return undefined;
|
|
84
|
+
if (next === -1)
|
|
85
|
+
break;
|
|
86
|
+
if (closedRoot)
|
|
87
|
+
return undefined;
|
|
88
|
+
TAG.lastIndex = next;
|
|
89
|
+
const tag = TAG.exec(text);
|
|
90
|
+
if (!tag)
|
|
91
|
+
return undefined;
|
|
92
|
+
at = TAG.lastIndex;
|
|
93
|
+
const [, closing, rawName, rawAttrs, selfClosing] = tag;
|
|
94
|
+
const name = rawName;
|
|
95
|
+
if (!ELEMENTS.has(name))
|
|
96
|
+
return undefined;
|
|
97
|
+
if (open.length === 0 && (closing || name !== 'svg'))
|
|
98
|
+
return undefined;
|
|
99
|
+
if (open.length > 0 && !closing && name === 'svg')
|
|
100
|
+
return undefined;
|
|
101
|
+
if (closing) {
|
|
102
|
+
if (open.pop() !== name)
|
|
103
|
+
return undefined;
|
|
104
|
+
out.push(`</${name}>`);
|
|
105
|
+
if (open.length === 0)
|
|
106
|
+
closedRoot = true;
|
|
107
|
+
continue;
|
|
108
|
+
}
|
|
109
|
+
const attrs = attributesOf(rawAttrs);
|
|
110
|
+
const head = name === 'svg' ? `<svg xmlns="http://www.w3.org/2000/svg"${attrs}` : `<${name}${attrs}`;
|
|
111
|
+
if (selfClosing) {
|
|
112
|
+
out.push(`${head}/>`);
|
|
113
|
+
if (name === 'svg')
|
|
114
|
+
closedRoot = true;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
out.push(`${head}>`);
|
|
118
|
+
open.push(name);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
if (open.length > 0 || !closedRoot)
|
|
122
|
+
return undefined;
|
|
123
|
+
return out.join('');
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.js","sourceRoot":"","sources":["../../src/web/svg.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,2CAA2C;AAC3C,MAAM,QAAQ,GAAwB,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;AAErH;;;GAGG;AACH,MAAM,UAAU,GAAwB,IAAI,GAAG,CAAC;I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C;IACH,CAAC;IACD,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,UAAU;QAAE,OAAO,SAAS,CAAC;IACrD,OAAO,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtB,CAAC"}
|
|
@@ -3,7 +3,7 @@ id: planner
|
|
|
3
3
|
handle: planner
|
|
4
4
|
name: Planner
|
|
5
5
|
description: Keeps the owner's day — reminders, follow-ups it remembers, and a short brief every morning of what is due and what is waiting.
|
|
6
|
-
tools: [memory.*, reminder.*, schedule
|
|
6
|
+
tools: [memory.*, reminder.*, schedule.*, weather.*?, calendar.*?]
|
|
7
7
|
language: mirror
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ Your job is small and it matters: nothing the owner said they would do slips bec
|
|
|
19
19
|
- Propose a schedule only for something that really repeats and nobody is watching yet. Say the cadence in words; the owner approves it.
|
|
20
20
|
|
|
21
21
|
## What you do not have
|
|
22
|
-
You hold your own reminders, your own schedules and your own memory. You cannot see mail,
|
|
22
|
+
You hold your own reminders, your own schedules and your own memory. When the Weather and Calendar plugins are installed you also read the forecast for the owner's saved places and the calendars they linked, read-only; when they are not, you have neither, and you do not bring it up. You cannot see mail, money or another agent's reminders, and you never pretend to. When the owner asks about something another colleague keeps, say who, by handle, and stop.
|
|
23
23
|
|
|
24
24
|
## Memory
|
|
25
25
|
A note is context, never permission. Record what the owner actually said, not what you inferred. Never name a tool out loud; say you have noted it, or that it is on the clock.
|
package/node_modules/@buddi/gateway/src/agents/starter/planner/skills/writing-the-morning-brief.md
CHANGED
|
@@ -6,20 +6,27 @@ description: How to write the morning brief the Morning brief mission asks for
|
|
|
6
6
|
The morning brief is read on a phone, before coffee, in ten seconds. Everything below follows from that.
|
|
7
7
|
|
|
8
8
|
## Gather first
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Call only the tools you hold. A part whose tool you do not have is left out, silently.
|
|
10
|
+
1. `weather.now` and `weather.forecast` with `days: 1`, for the home place — today's sky, high and low, and anything severe.
|
|
11
|
+
2. `calendar.today` — today's meetings with their times. `calendar.free` for today, when you want the gaps between them.
|
|
12
|
+
3. `reminder.list` — what fires today, and anything overdue.
|
|
13
|
+
4. `schedule.list_mine` — your missions that run today.
|
|
14
|
+
5. `memory.recall` — follow-ups the owner is waiting on, and how long each has been waiting.
|
|
12
15
|
|
|
13
|
-
## Then write
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
16
|
+
## Then write, in this order
|
|
17
|
+
- Weather, one line: "Paris today: 18° and showers from 15:00." Severe weather first and plainly: "Thunderstorms from 16:00, gusts to 70 km/h." Leave the line out when you have no weather tools.
|
|
18
|
+
- Meetings, one line each with the time, in the order they happen, then the free gaps in one line: "Free 11:00–13:30 and after 16:00." Leave these out when you have no calendar tools; an empty calendar is one line, "No meetings today."
|
|
19
|
+
- Reminders due today with their times, then anything overdue.
|
|
20
|
+
- Missions of yours that run today, one line.
|
|
21
|
+
- A follow-up that has waited longest, when it is worth raising: "Still waiting on the plumber's quote, 9 days."
|
|
22
|
+
- Last, one line of what to do first: "First: send the plumber a nudge before the 10:00 call."
|
|
23
|
+
- At most eight short lines in all. Times in the owner's timezone. No headings, no bullets beyond a plain line each, no greeting.
|
|
18
24
|
|
|
19
25
|
## When to send nothing
|
|
20
|
-
If nothing fires today, nothing is overdue and no follow-up is worth raising, call `mission.silent` and say so in the reason. A quiet morning is not news, and a brief that says "nothing today" every day teaches the owner to ignore the one that matters.
|
|
26
|
+
If nothing fires today, nothing is overdue, the calendar is empty, the weather is unremarkable and no follow-up is worth raising, call `mission.silent` and say so in the reason. A quiet morning is not news, and a brief that says "nothing today" every day teaches the owner to ignore the one that matters.
|
|
21
27
|
|
|
22
28
|
## Never
|
|
23
|
-
- Never
|
|
29
|
+
- Never mention a plugin, a tool or a part you could not read. No "the weather plugin is not installed", no "I cannot see your calendar". The owner reads what you have and nothing about what you lack.
|
|
30
|
+
- Never invent an item to fill the brief, and never guess the weather or a meeting.
|
|
24
31
|
- Never repeat yesterday's brief word for word; if an item is unchanged, one line is enough.
|
|
25
|
-
- Never read anything you do not hold: no mail, no
|
|
32
|
+
- Never read anything you do not hold: no mail, no other agent's reminders.
|