@withbuddi/buddi 0.1.0-pre.35 → 0.1.0-pre.37
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/examples/agents/concierge/agent.md +5 -0
- package/examples/skills/letterhead/SKILL.md +21 -0
- package/examples/skills/letterhead/assets/letterhead.md +16 -0
- package/examples/skills/letterhead/assets/logo.svg +6 -0
- package/extension/manifest.json +2 -2
- package/node_modules/@buddi/cli/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/cli/dist/doctor-probes.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor-probes.js +44 -3
- package/node_modules/@buddi/cli/dist/doctor-probes.js.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor.d.ts +37 -0
- package/node_modules/@buddi/cli/dist/doctor.d.ts.map +1 -1
- package/node_modules/@buddi/cli/dist/doctor.js +37 -0
- package/node_modules/@buddi/cli/dist/doctor.js.map +1 -1
- package/node_modules/@buddi/core/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/core/dist/actions/approvals.d.ts +7 -0
- package/node_modules/@buddi/core/dist/actions/approvals.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/actions/approvals.js +11 -1
- package/node_modules/@buddi/core/dist/actions/approvals.js.map +1 -1
- package/node_modules/@buddi/core/dist/agents/catalog.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/agents/catalog.js +2 -2
- package/node_modules/@buddi/core/dist/agents/catalog.js.map +1 -1
- package/node_modules/@buddi/core/dist/agents/skills.d.ts +60 -1
- package/node_modules/@buddi/core/dist/agents/skills.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/agents/skills.js +157 -17
- package/node_modules/@buddi/core/dist/agents/skills.js.map +1 -1
- package/node_modules/@buddi/core/dist/day-month.d.ts +52 -0
- package/node_modules/@buddi/core/dist/day-month.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/day-month.js +101 -0
- package/node_modules/@buddi/core/dist/day-month.js.map +1 -0
- package/node_modules/@buddi/core/dist/host/build.d.ts +25 -2
- package/node_modules/@buddi/core/dist/host/build.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/host/build.js +169 -8
- package/node_modules/@buddi/core/dist/host/build.js.map +1 -1
- package/node_modules/@buddi/core/dist/host/http.d.ts +97 -0
- package/node_modules/@buddi/core/dist/host/http.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/host/http.js +321 -26
- package/node_modules/@buddi/core/dist/host/http.js.map +1 -1
- package/node_modules/@buddi/core/dist/host/types.d.ts +114 -4
- package/node_modules/@buddi/core/dist/host/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/index.d.ts +3 -0
- package/node_modules/@buddi/core/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/index.js +3 -0
- package/node_modules/@buddi/core/dist/index.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/notify.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/notify.js +10 -6
- package/node_modules/@buddi/core/dist/notifications/notify.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/store.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/store.js +2 -1
- package/node_modules/@buddi/core/dist/notifications/store.js.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/types.d.ts +8 -0
- package/node_modules/@buddi/core/dist/notifications/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/notifications/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/onboarding/store.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/onboarding/store.js +28 -5
- package/node_modules/@buddi/core/dist/onboarding/store.js.map +1 -1
- package/node_modules/@buddi/core/dist/onboarding/types.d.ts +10 -0
- package/node_modules/@buddi/core/dist/onboarding/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/onboarding/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/pages.d.ts +449 -20
- package/node_modules/@buddi/core/dist/pages.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/pages.js +223 -8
- package/node_modules/@buddi/core/dist/pages.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/assets.d.ts +52 -0
- package/node_modules/@buddi/core/dist/plugin/assets.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/assets.js +59 -0
- package/node_modules/@buddi/core/dist/plugin/assets.js.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/index.d.ts +10 -4
- package/node_modules/@buddi/core/dist/plugin/index.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/index.js +4 -1
- package/node_modules/@buddi/core/dist/plugin/index.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/requires.d.ts +3 -1
- package/node_modules/@buddi/core/dist/plugin/requires.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/requires.js +5 -3
- package/node_modules/@buddi/core/dist/plugin/requires.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/sign-in.d.ts +78 -0
- package/node_modules/@buddi/core/dist/plugin/sign-in.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/sign-in.js +54 -0
- package/node_modules/@buddi/core/dist/plugin/sign-in.js.map +1 -0
- package/node_modules/@buddi/core/dist/plugin/uses.d.ts +1 -1
- package/node_modules/@buddi/core/dist/plugin/uses.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/uses.js +2 -0
- package/node_modules/@buddi/core/dist/plugin/uses.js.map +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.d.ts +1 -1
- package/node_modules/@buddi/core/dist/plugin/version.js +1 -1
- package/node_modules/@buddi/core/dist/plugin-assets.d.ts +21 -0
- package/node_modules/@buddi/core/dist/plugin-assets.d.ts.map +1 -0
- package/node_modules/@buddi/core/dist/plugin-assets.js +140 -0
- package/node_modules/@buddi/core/dist/plugin-assets.js.map +1 -0
- package/node_modules/@buddi/core/dist/provider-accounts.d.ts +7 -0
- package/node_modules/@buddi/core/dist/provider-accounts.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/provider-accounts.js +15 -0
- package/node_modules/@buddi/core/dist/provider-accounts.js.map +1 -1
- package/node_modules/@buddi/core/dist/questions/types.d.ts +1 -1
- package/node_modules/@buddi/core/dist/questions/types.js +1 -1
- package/node_modules/@buddi/core/dist/queue/jobs.d.ts +57 -2
- package/node_modules/@buddi/core/dist/queue/jobs.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/queue/jobs.js +114 -0
- package/node_modules/@buddi/core/dist/queue/jobs.js.map +1 -1
- package/node_modules/@buddi/core/dist/queue/worker.d.ts +24 -2
- package/node_modules/@buddi/core/dist/queue/worker.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/queue/worker.js +66 -11
- package/node_modules/@buddi/core/dist/queue/worker.js.map +1 -1
- package/node_modules/@buddi/core/dist/registry.d.ts +17 -0
- package/node_modules/@buddi/core/dist/registry.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/registry.js +48 -4
- package/node_modules/@buddi/core/dist/registry.js.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/missions.d.ts +14 -0
- package/node_modules/@buddi/core/dist/scheduler/missions.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/missions.js +17 -4
- package/node_modules/@buddi/core/dist/scheduler/missions.js.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/types.d.ts +13 -0
- package/node_modules/@buddi/core/dist/scheduler/types.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/scheduler/types.js +14 -0
- package/node_modules/@buddi/core/dist/scheduler/types.js.map +1 -1
- package/node_modules/@buddi/core/dist/secrets/scrub.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/secrets/scrub.js +15 -0
- package/node_modules/@buddi/core/dist/secrets/scrub.js.map +1 -1
- package/node_modules/@buddi/core/dist/surfaces.d.ts +10 -0
- package/node_modules/@buddi/core/dist/surfaces.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/surfaces.js +11 -0
- package/node_modules/@buddi/core/dist/surfaces.js.map +1 -1
- package/node_modules/@buddi/core/dist/tools.d.ts +72 -1
- package/node_modules/@buddi/core/dist/tools.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/tools.js +38 -0
- package/node_modules/@buddi/core/dist/tools.js.map +1 -1
- package/node_modules/@buddi/core/dist/views.d.ts +29 -12
- package/node_modules/@buddi/core/dist/views.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/views.js +1 -0
- package/node_modules/@buddi/core/dist/views.js.map +1 -1
- package/node_modules/@buddi/core/dist/widget-settings.d.ts +2 -1
- package/node_modules/@buddi/core/dist/widget-settings.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/widget-settings.js +8 -2
- package/node_modules/@buddi/core/dist/widget-settings.js.map +1 -1
- package/node_modules/@buddi/core/dist/widgets.d.ts +46 -3
- package/node_modules/@buddi/core/dist/widgets.d.ts.map +1 -1
- package/node_modules/@buddi/core/dist/widgets.js +68 -5
- package/node_modules/@buddi/core/dist/widgets.js.map +1 -1
- package/node_modules/@buddi/core/migrations/073_mission_report.sql +15 -0
- package/node_modules/@buddi/core/migrations/074_owner_identity.sql +14 -0
- package/node_modules/@buddi/gateway/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalog.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalog.js +3 -3
- package/node_modules/@buddi/gateway/dist/agents/catalog.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalogue-package.d.ts +76 -0
- package/node_modules/@buddi/gateway/dist/agents/catalogue-package.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/catalogue-package.js +29 -5
- package/node_modules/@buddi/gateway/dist/agents/catalogue-package.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/owner-text.d.ts +19 -0
- package/node_modules/@buddi/gateway/dist/agents/owner-text.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/agents/owner-text.js +44 -0
- package/node_modules/@buddi/gateway/dist/agents/owner-text.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/agents/owner-tools.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/owner-tools.js +36 -2
- package/node_modules/@buddi/gateway/dist/agents/owner-tools.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.d.ts +68 -3
- package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.js +264 -32
- package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/platform.d.ts +11 -4
- package/node_modules/@buddi/gateway/dist/agents/platform.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/agents/platform.js +15 -0
- package/node_modules/@buddi/gateway/dist/agents/platform.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/bootstrap.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/bootstrap.js +7 -1
- package/node_modules/@buddi/gateway/dist/bootstrap.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/evals/golden.d.ts +33 -1
- package/node_modules/@buddi/gateway/dist/evals/golden.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/evals/golden.js +168 -3
- package/node_modules/@buddi/gateway/dist/evals/golden.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/index.d.ts +2 -1
- package/node_modules/@buddi/gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/index.js +2 -1
- package/node_modules/@buddi/gateway/dist/index.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/agent-run.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/agent-run.js +2 -0
- package/node_modules/@buddi/gateway/dist/missions/agent-run.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/dates.d.ts +98 -0
- package/node_modules/@buddi/gateway/dist/missions/dates.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/missions/dates.js +252 -0
- package/node_modules/@buddi/gateway/dist/missions/dates.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/missions/defaults.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/defaults.js +2 -0
- package/node_modules/@buddi/gateway/dist/missions/defaults.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/execute.d.ts +25 -1
- package/node_modules/@buddi/gateway/dist/missions/execute.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/execute.js +80 -8
- package/node_modules/@buddi/gateway/dist/missions/execute.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/report.d.ts +25 -2
- package/node_modules/@buddi/gateway/dist/missions/report.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/missions/report.js +71 -11
- package/node_modules/@buddi/gateway/dist/missions/report.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/ollama-local.d.ts +90 -0
- package/node_modules/@buddi/gateway/dist/ollama-local.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/ollama-local.js +201 -0
- package/node_modules/@buddi/gateway/dist/ollama-local.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/owner-notify.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/owner-notify.js +7 -3
- package/node_modules/@buddi/gateway/dist/owner-notify.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/asset-image-worker.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image-worker.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image-worker.js +18 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image-worker.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image.d.ts +31 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image.js +332 -0
- package/node_modules/@buddi/gateway/dist/plugins/asset-image.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/plugins/load.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/load.js +14 -1
- package/node_modules/@buddi/gateway/dist/plugins/load.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.d.ts +6 -0
- package/node_modules/@buddi/gateway/dist/plugins/stage.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/stage.js +5 -0
- package/node_modules/@buddi/gateway/dist/plugins/stage.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/uninstall.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins/uninstall.js +8 -0
- package/node_modules/@buddi/gateway/dist/plugins/uninstall.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins-cli.d.ts +8 -0
- package/node_modules/@buddi/gateway/dist/plugins-cli.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/plugins-cli.js +22 -1
- package/node_modules/@buddi/gateway/dist/plugins-cli.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/serve.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/serve.js +50 -5
- package/node_modules/@buddi/gateway/dist/serve.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/surfaces/pending-question.js +2 -2
- package/node_modules/@buddi/gateway/dist/system-context.d.ts +21 -1
- package/node_modules/@buddi/gateway/dist/system-context.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/system-context.js +76 -2
- package/node_modules/@buddi/gateway/dist/system-context.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/approvals.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/approvals.js +4 -2
- package/node_modules/@buddi/gateway/dist/telegram/approvals.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/channel.d.ts +12 -0
- package/node_modules/@buddi/gateway/dist/telegram/channel.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/channel.js +49 -2
- package/node_modules/@buddi/gateway/dist/telegram/channel.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/html.d.ts +34 -0
- package/node_modules/@buddi/gateway/dist/telegram/html.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/telegram/html.js +263 -0
- package/node_modules/@buddi/gateway/dist/telegram/html.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/telegram/notify.d.ts +6 -0
- package/node_modules/@buddi/gateway/dist/telegram/notify.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/telegram/notify.js +25 -3
- package/node_modules/@buddi/gateway/dist/telegram/notify.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/tips/facts.d.ts +2 -0
- package/node_modules/@buddi/gateway/dist/tips/facts.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/tips/facts.js +4 -1
- package/node_modules/@buddi/gateway/dist/tips/facts.js.map +1 -1
- 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/api-routes.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/api-routes.js +80 -11
- package/node_modules/@buddi/gateway/dist/web/api-routes.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/api-scan.d.ts +1 -1
- package/node_modules/@buddi/gateway/dist/web/api-scan.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/api-scan.js +1 -0
- package/node_modules/@buddi/gateway/dist/web/api-scan.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/catalogue.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/catalogue.js +7 -4
- package/node_modules/@buddi/gateway/dist/web/catalogue.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/chat.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/chat.js +9 -0
- package/node_modules/@buddi/gateway/dist/web/chat.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/composer.d.ts +45 -0
- package/node_modules/@buddi/gateway/dist/web/composer.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/composer.js +85 -0
- package/node_modules/@buddi/gateway/dist/web/composer.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/extension.d.ts +12 -0
- package/node_modules/@buddi/gateway/dist/web/extension.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/extension.js +11 -1
- package/node_modules/@buddi/gateway/dist/web/extension.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/lock.d.ts +6 -0
- package/node_modules/@buddi/gateway/dist/web/lock.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/lock.js +33 -2
- package/node_modules/@buddi/gateway/dist/web/lock.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/market.d.ts +20 -1
- package/node_modules/@buddi/gateway/dist/web/market.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/market.js +41 -1
- package/node_modules/@buddi/gateway/dist/web/market.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/people.d.ts +44 -0
- package/node_modules/@buddi/gateway/dist/web/people.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/people.js +114 -0
- package/node_modules/@buddi/gateway/dist/web/people.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/server.d.ts +4 -0
- package/node_modules/@buddi/gateway/dist/web/server.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/server.js +171 -13
- package/node_modules/@buddi/gateway/dist/web/server.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/skill-bundles.d.ts +101 -0
- package/node_modules/@buddi/gateway/dist/web/skill-bundles.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/skill-bundles.js +439 -0
- package/node_modules/@buddi/gateway/dist/web/skill-bundles.js.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/skills.d.ts +57 -1
- package/node_modules/@buddi/gateway/dist/web/skills.d.ts.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/skills.js +171 -9
- package/node_modules/@buddi/gateway/dist/web/skills.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/widgets.js +2 -2
- package/node_modules/@buddi/gateway/dist/web/widgets.js.map +1 -1
- package/node_modules/@buddi/gateway/dist/web/zip-read.d.ts +31 -0
- package/node_modules/@buddi/gateway/dist/web/zip-read.d.ts.map +1 -0
- package/node_modules/@buddi/gateway/dist/web/zip-read.js +125 -0
- package/node_modules/@buddi/gateway/dist/web/zip-read.js.map +1 -0
- package/node_modules/@buddi/install/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/runtime/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/runtime/dist/index.d.ts +1 -0
- package/node_modules/@buddi/runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/runtime/dist/index.js +1 -0
- package/node_modules/@buddi/runtime/dist/index.js.map +1 -1
- package/node_modules/@buddi/runtime/dist/loop.js +11 -1
- package/node_modules/@buddi/runtime/dist/loop.js.map +1 -1
- package/node_modules/@buddi/runtime/dist/plugin-sign-in.d.ts +12 -0
- package/node_modules/@buddi/runtime/dist/plugin-sign-in.d.ts.map +1 -0
- package/node_modules/@buddi/runtime/dist/plugin-sign-in.js +397 -0
- package/node_modules/@buddi/runtime/dist/plugin-sign-in.js.map +1 -0
- package/node_modules/@buddi/runtime/dist/transport.d.ts +1 -1
- package/node_modules/@buddi/runtime/dist/transport.d.ts.map +1 -1
- package/node_modules/@buddi/runtime/dist/transport.js +6 -0
- package/node_modules/@buddi/runtime/dist/transport.js.map +1 -1
- package/node_modules/@buddi/tool-artifacts/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-artifacts/dist/tools/write.d.ts.map +1 -1
- package/node_modules/@buddi/tool-artifacts/dist/tools/write.js +1 -0
- package/node_modules/@buddi/tool-artifacts/dist/tools/write.js.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-browser/dist/computer.d.ts +13 -0
- package/node_modules/@buddi/tool-browser/dist/computer.d.ts.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/computer.js +22 -2
- package/node_modules/@buddi/tool-browser/dist/computer.js.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/controller.d.ts +4 -0
- package/node_modules/@buddi/tool-browser/dist/controller.d.ts.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/controller.js +8 -3
- package/node_modules/@buddi/tool-browser/dist/controller.js.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/index.d.ts +1 -1
- package/node_modules/@buddi/tool-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/index.js +1 -1
- package/node_modules/@buddi/tool-browser/dist/index.js.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/native/buddi-computer +0 -0
- package/node_modules/@buddi/tool-browser/dist/service.d.ts +5 -0
- package/node_modules/@buddi/tool-browser/dist/service.d.ts.map +1 -1
- package/node_modules/@buddi/tool-browser/dist/service.js.map +1 -1
- package/node_modules/@buddi/tool-email/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-email/dist/widgets.d.ts.map +1 -1
- package/node_modules/@buddi/tool-email/dist/widgets.js +2 -1
- package/node_modules/@buddi/tool-email/dist/widgets.js.map +1 -1
- package/node_modules/@buddi/tool-host/dist/.tsbuildinfo +1 -1
- package/node_modules/@buddi/tool-host/dist/index.d.ts +2 -1
- package/node_modules/@buddi/tool-host/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/tool-host/dist/index.js +3 -2
- package/node_modules/@buddi/tool-host/dist/index.js.map +1 -1
- package/node_modules/@buddi/tool-host/dist/process.d.ts +4 -0
- package/node_modules/@buddi/tool-host/dist/process.d.ts.map +1 -1
- package/node_modules/@buddi/tool-host/dist/process.js +4 -2
- package/node_modules/@buddi/tool-host/dist/process.js.map +1 -1
- package/node_modules/@buddi/tool-host/dist/service.d.ts +66 -17
- package/node_modules/@buddi/tool-host/dist/service.d.ts.map +1 -1
- package/node_modules/@buddi/tool-host/dist/service.js +172 -9
- package/node_modules/@buddi/tool-host/dist/service.js.map +1 -1
- package/node_modules/@buddi/tool-host/dist/skill-run.d.ts +55 -0
- package/node_modules/@buddi/tool-host/dist/skill-run.d.ts.map +1 -0
- package/node_modules/@buddi/tool-host/dist/skill-run.js +132 -0
- package/node_modules/@buddi/tool-host/dist/skill-run.js.map +1 -0
- 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-memory/dist/index.d.ts +1 -0
- package/node_modules/@buddi/tool-memory/dist/index.d.ts.map +1 -1
- package/node_modules/@buddi/tool-memory/dist/index.js +7 -2
- package/node_modules/@buddi/tool-memory/dist/index.js.map +1 -1
- package/node_modules/@buddi/tool-memory/dist/people.d.ts +218 -0
- package/node_modules/@buddi/tool-memory/dist/people.d.ts.map +1 -0
- package/node_modules/@buddi/tool-memory/dist/people.js +582 -0
- package/node_modules/@buddi/tool-memory/dist/people.js.map +1 -0
- package/node_modules/@buddi/tool-memory/dist/preamble.d.ts +4 -1
- package/node_modules/@buddi/tool-memory/dist/preamble.d.ts.map +1 -1
- package/node_modules/@buddi/tool-memory/dist/preamble.js +25 -7
- package/node_modules/@buddi/tool-memory/dist/preamble.js.map +1 -1
- package/node_modules/@buddi/tool-memory/migrations/002_people.sql +40 -0
- package/node_modules/@buddi/tool-web/dist/.tsbuildinfo +1 -1
- package/node_modules/imapflow/CHANGELOG.md +8 -0
- package/node_modules/imapflow/dist/cjs/commands/append.js +27 -3
- package/node_modules/imapflow/dist/cjs/commands/store.js +31 -6
- package/node_modules/imapflow/dist/cjs/imap-flow.d.ts +1 -1
- package/node_modules/imapflow/dist/cjs/imap-flow.js +1 -1
- package/node_modules/imapflow/dist/cjs/package-info.d.ts +1 -1
- package/node_modules/imapflow/dist/cjs/package-info.js +1 -1
- package/node_modules/imapflow/dist/esm/commands/append.js +27 -3
- package/node_modules/imapflow/dist/esm/commands/store.js +31 -6
- package/node_modules/imapflow/dist/esm/imap-flow.d.ts +1 -1
- package/node_modules/imapflow/dist/esm/imap-flow.js +1 -1
- package/node_modules/imapflow/dist/esm/package-info.d.ts +1 -1
- package/node_modules/imapflow/dist/esm/package-info.js +1 -1
- package/node_modules/imapflow/package.json +4 -4
- package/node_modules/pino/CONTRIBUTING.md +5 -1
- package/node_modules/pino/LICENSE +1 -1
- package/node_modules/pino/README.md +1 -1
- package/node_modules/pino/SECURITY.md +18 -2
- package/node_modules/pino/browser.js +68 -8
- package/node_modules/pino/docs/api.md +75 -4
- package/node_modules/pino/docs/asynchronous.md +18 -3
- package/node_modules/pino/docs/browser.md +63 -0
- package/node_modules/pino/docs/child-loggers.md +22 -1
- package/node_modules/pino/docs/ecosystem.md +1 -0
- package/node_modules/pino/docs/help.md +11 -3
- package/node_modules/pino/docs/lts.md +29 -0
- package/node_modules/pino/docs/pretty.md +3 -0
- package/node_modules/pino/docs/redaction.md +3 -8
- package/node_modules/pino/docs/transports.md +71 -0
- package/node_modules/pino/docs/web.md +11 -14
- package/node_modules/pino/eslint.config.js +15 -7
- package/node_modules/pino/lib/caller.js +10 -0
- package/node_modules/pino/lib/meta.js +1 -1
- package/node_modules/pino/lib/multistream.js +15 -7
- package/node_modules/pino/lib/redaction.js +8 -3
- package/node_modules/pino/lib/symbols.js +3 -1
- package/node_modules/pino/lib/tools.js +2 -2
- package/node_modules/pino/lib/transport.js +14 -1
- package/node_modules/pino/lib/worker.js +4 -1
- package/node_modules/pino/package.json +14 -22
- package/node_modules/pino/pino.d.ts +709 -736
- package/node_modules/pino/pino.js +27 -2
- package/node_modules/pino/test/basic.test.js +66 -0
- package/node_modules/pino/test/browser-bindings.test.js +114 -0
- package/node_modules/pino/test/browser-redaction.test.js +264 -0
- package/node_modules/pino/test/browser-set-bindings.test.js +99 -0
- package/node_modules/pino/test/caller.test.js +20 -0
- package/node_modules/pino/test/escaping.test.js +17 -0
- package/node_modules/pino/test/fixtures/caller-loop.js +6 -0
- package/node_modules/pino/test/fixtures/ts/transpile.cjs +3 -3
- package/node_modules/pino/test/helper.js +6 -2
- package/node_modules/pino/test/multistream.test.js +64 -0
- package/node_modules/pino/test/redact.test.js +30 -0
- package/node_modules/pino/test/smoke.js +59 -0
- package/node_modules/pino/test/transport/core.test.js +85 -0
- package/node_modules/pino/test/transport/sync-false.test.js +12 -0
- package/node_modules/pino/test/transport/uses-pino-config.test.js +4 -4
- package/node_modules/pino/test/types/pino-import.tst.cts +30 -0
- package/node_modules/pino/test/types/pino-import.tst.js +73 -0
- package/node_modules/pino/test/types/pino-multistream.tst.ts +49 -0
- package/node_modules/pino/test/types/pino-top-export.tst.ts +32 -0
- package/node_modules/pino/test/types/{pino-transport.test-d.ts → pino-transport.tst.ts} +85 -70
- package/node_modules/pino/test/types/pino-type-only.tst.ts +77 -0
- package/node_modules/pino/test/types/pino.ts +14 -7
- package/node_modules/pino/test/types/{pino.test-d.ts → pino.tst.ts} +135 -137
- package/node_modules/pino/test/types/tsconfig.json +10 -0
- package/node_modules/pino/tsconfig.json +6 -6
- package/node_modules/real-require/README.md +6 -6
- package/node_modules/real-require/package.json +10 -21
- package/node_modules/real-require/src/index.js +2 -2
- package/package.json +2 -2
- package/packages/cli/dist/.tsbuildinfo +1 -1
- package/packages/cli/dist/doctor-probes.d.ts.map +1 -1
- package/packages/cli/dist/doctor-probes.js +44 -3
- package/packages/cli/dist/doctor-probes.js.map +1 -1
- package/packages/cli/dist/doctor.d.ts +37 -0
- package/packages/cli/dist/doctor.d.ts.map +1 -1
- package/packages/cli/dist/doctor.js +37 -0
- package/packages/cli/dist/doctor.js.map +1 -1
- package/packages/core/dist/.tsbuildinfo +1 -1
- package/packages/core/dist/actions/approvals.d.ts +7 -0
- package/packages/core/dist/actions/approvals.d.ts.map +1 -1
- package/packages/core/dist/actions/approvals.js +11 -1
- package/packages/core/dist/actions/approvals.js.map +1 -1
- package/packages/core/dist/agents/catalog.d.ts.map +1 -1
- package/packages/core/dist/agents/catalog.js +2 -2
- package/packages/core/dist/agents/catalog.js.map +1 -1
- package/packages/core/dist/agents/skills.d.ts +60 -1
- package/packages/core/dist/agents/skills.d.ts.map +1 -1
- package/packages/core/dist/agents/skills.js +157 -17
- package/packages/core/dist/agents/skills.js.map +1 -1
- package/packages/core/dist/day-month.d.ts +52 -0
- package/packages/core/dist/day-month.d.ts.map +1 -0
- package/packages/core/dist/day-month.js +101 -0
- package/packages/core/dist/day-month.js.map +1 -0
- package/packages/core/dist/host/build.d.ts +25 -2
- package/packages/core/dist/host/build.d.ts.map +1 -1
- package/packages/core/dist/host/build.js +169 -8
- package/packages/core/dist/host/build.js.map +1 -1
- package/packages/core/dist/host/http.d.ts +97 -0
- package/packages/core/dist/host/http.d.ts.map +1 -1
- package/packages/core/dist/host/http.js +321 -26
- package/packages/core/dist/host/http.js.map +1 -1
- package/packages/core/dist/host/types.d.ts +114 -4
- package/packages/core/dist/host/types.d.ts.map +1 -1
- package/packages/core/dist/index.d.ts +3 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +3 -0
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/notifications/notify.d.ts.map +1 -1
- package/packages/core/dist/notifications/notify.js +10 -6
- package/packages/core/dist/notifications/notify.js.map +1 -1
- package/packages/core/dist/notifications/store.d.ts.map +1 -1
- package/packages/core/dist/notifications/store.js +2 -1
- package/packages/core/dist/notifications/store.js.map +1 -1
- package/packages/core/dist/notifications/types.d.ts +8 -0
- package/packages/core/dist/notifications/types.d.ts.map +1 -1
- package/packages/core/dist/notifications/types.js.map +1 -1
- package/packages/core/dist/onboarding/store.d.ts.map +1 -1
- package/packages/core/dist/onboarding/store.js +28 -5
- package/packages/core/dist/onboarding/store.js.map +1 -1
- package/packages/core/dist/onboarding/types.d.ts +10 -0
- package/packages/core/dist/onboarding/types.d.ts.map +1 -1
- package/packages/core/dist/onboarding/types.js.map +1 -1
- package/packages/core/dist/pages.d.ts +449 -20
- package/packages/core/dist/pages.d.ts.map +1 -1
- package/packages/core/dist/pages.js +223 -8
- package/packages/core/dist/pages.js.map +1 -1
- package/packages/core/dist/plugin/assets.d.ts +52 -0
- package/packages/core/dist/plugin/assets.d.ts.map +1 -0
- package/packages/core/dist/plugin/assets.js +59 -0
- package/packages/core/dist/plugin/assets.js.map +1 -0
- package/packages/core/dist/plugin/index.d.ts +10 -4
- package/packages/core/dist/plugin/index.d.ts.map +1 -1
- package/packages/core/dist/plugin/index.js +4 -1
- package/packages/core/dist/plugin/index.js.map +1 -1
- package/packages/core/dist/plugin/requires.d.ts +3 -1
- package/packages/core/dist/plugin/requires.d.ts.map +1 -1
- package/packages/core/dist/plugin/requires.js +5 -3
- package/packages/core/dist/plugin/requires.js.map +1 -1
- package/packages/core/dist/plugin/sign-in.d.ts +78 -0
- package/packages/core/dist/plugin/sign-in.d.ts.map +1 -0
- package/packages/core/dist/plugin/sign-in.js +54 -0
- package/packages/core/dist/plugin/sign-in.js.map +1 -0
- package/packages/core/dist/plugin/uses.d.ts +1 -1
- package/packages/core/dist/plugin/uses.d.ts.map +1 -1
- package/packages/core/dist/plugin/uses.js +2 -0
- package/packages/core/dist/plugin/uses.js.map +1 -1
- package/packages/core/dist/plugin/version.d.ts +1 -1
- package/packages/core/dist/plugin/version.js +1 -1
- package/packages/core/dist/plugin-assets.d.ts +21 -0
- package/packages/core/dist/plugin-assets.d.ts.map +1 -0
- package/packages/core/dist/plugin-assets.js +140 -0
- package/packages/core/dist/plugin-assets.js.map +1 -0
- package/packages/core/dist/provider-accounts.d.ts +7 -0
- package/packages/core/dist/provider-accounts.d.ts.map +1 -1
- package/packages/core/dist/provider-accounts.js +15 -0
- package/packages/core/dist/provider-accounts.js.map +1 -1
- package/packages/core/dist/questions/types.d.ts +1 -1
- package/packages/core/dist/questions/types.js +1 -1
- package/packages/core/dist/queue/jobs.d.ts +57 -2
- package/packages/core/dist/queue/jobs.d.ts.map +1 -1
- package/packages/core/dist/queue/jobs.js +114 -0
- package/packages/core/dist/queue/jobs.js.map +1 -1
- package/packages/core/dist/queue/worker.d.ts +24 -2
- package/packages/core/dist/queue/worker.d.ts.map +1 -1
- package/packages/core/dist/queue/worker.js +66 -11
- package/packages/core/dist/queue/worker.js.map +1 -1
- package/packages/core/dist/registry.d.ts +17 -0
- package/packages/core/dist/registry.d.ts.map +1 -1
- package/packages/core/dist/registry.js +48 -4
- package/packages/core/dist/registry.js.map +1 -1
- package/packages/core/dist/scheduler/missions.d.ts +14 -0
- package/packages/core/dist/scheduler/missions.d.ts.map +1 -1
- package/packages/core/dist/scheduler/missions.js +17 -4
- package/packages/core/dist/scheduler/missions.js.map +1 -1
- package/packages/core/dist/scheduler/types.d.ts +13 -0
- package/packages/core/dist/scheduler/types.d.ts.map +1 -1
- package/packages/core/dist/scheduler/types.js +14 -0
- package/packages/core/dist/scheduler/types.js.map +1 -1
- package/packages/core/dist/secrets/scrub.d.ts.map +1 -1
- package/packages/core/dist/secrets/scrub.js +15 -0
- package/packages/core/dist/secrets/scrub.js.map +1 -1
- package/packages/core/dist/surfaces.d.ts +10 -0
- package/packages/core/dist/surfaces.d.ts.map +1 -1
- package/packages/core/dist/surfaces.js +11 -0
- package/packages/core/dist/surfaces.js.map +1 -1
- package/packages/core/dist/tools.d.ts +72 -1
- package/packages/core/dist/tools.d.ts.map +1 -1
- package/packages/core/dist/tools.js +38 -0
- package/packages/core/dist/tools.js.map +1 -1
- package/packages/core/dist/views.d.ts +29 -12
- package/packages/core/dist/views.d.ts.map +1 -1
- package/packages/core/dist/views.js +1 -0
- package/packages/core/dist/views.js.map +1 -1
- package/packages/core/dist/widget-settings.d.ts +2 -1
- package/packages/core/dist/widget-settings.d.ts.map +1 -1
- package/packages/core/dist/widget-settings.js +8 -2
- package/packages/core/dist/widget-settings.js.map +1 -1
- package/packages/core/dist/widgets.d.ts +46 -3
- package/packages/core/dist/widgets.d.ts.map +1 -1
- package/packages/core/dist/widgets.js +68 -5
- package/packages/core/dist/widgets.js.map +1 -1
- package/packages/core/migrations/073_mission_report.sql +15 -0
- package/packages/core/migrations/074_owner_identity.sql +14 -0
- package/packages/gateway/dist/.tsbuildinfo +1 -1
- package/packages/gateway/dist/agents/catalog.d.ts.map +1 -1
- package/packages/gateway/dist/agents/catalog.js +3 -3
- package/packages/gateway/dist/agents/catalog.js.map +1 -1
- package/packages/gateway/dist/agents/catalogue-package.d.ts +76 -0
- package/packages/gateway/dist/agents/catalogue-package.d.ts.map +1 -1
- package/packages/gateway/dist/agents/catalogue-package.js +29 -5
- package/packages/gateway/dist/agents/catalogue-package.js.map +1 -1
- package/packages/gateway/dist/agents/owner-text.d.ts +19 -0
- package/packages/gateway/dist/agents/owner-text.d.ts.map +1 -0
- package/packages/gateway/dist/agents/owner-text.js +44 -0
- package/packages/gateway/dist/agents/owner-text.js.map +1 -0
- package/packages/gateway/dist/agents/owner-tools.d.ts.map +1 -1
- package/packages/gateway/dist/agents/owner-tools.js +36 -2
- package/packages/gateway/dist/agents/owner-tools.js.map +1 -1
- package/packages/gateway/dist/agents/platform-catalogue.d.ts +68 -3
- package/packages/gateway/dist/agents/platform-catalogue.d.ts.map +1 -1
- package/packages/gateway/dist/agents/platform-catalogue.js +264 -32
- package/packages/gateway/dist/agents/platform-catalogue.js.map +1 -1
- package/packages/gateway/dist/agents/platform.d.ts +11 -4
- package/packages/gateway/dist/agents/platform.d.ts.map +1 -1
- package/packages/gateway/dist/agents/platform.js +15 -0
- package/packages/gateway/dist/agents/platform.js.map +1 -1
- package/packages/gateway/dist/bootstrap.d.ts.map +1 -1
- package/packages/gateway/dist/bootstrap.js +7 -1
- package/packages/gateway/dist/bootstrap.js.map +1 -1
- package/packages/gateway/dist/evals/golden.d.ts +33 -1
- package/packages/gateway/dist/evals/golden.d.ts.map +1 -1
- package/packages/gateway/dist/evals/golden.js +168 -3
- package/packages/gateway/dist/evals/golden.js.map +1 -1
- package/packages/gateway/dist/index.d.ts +2 -1
- package/packages/gateway/dist/index.d.ts.map +1 -1
- package/packages/gateway/dist/index.js +2 -1
- package/packages/gateway/dist/index.js.map +1 -1
- package/packages/gateway/dist/missions/agent-run.d.ts.map +1 -1
- package/packages/gateway/dist/missions/agent-run.js +2 -0
- package/packages/gateway/dist/missions/agent-run.js.map +1 -1
- package/packages/gateway/dist/missions/dates.d.ts +98 -0
- package/packages/gateway/dist/missions/dates.d.ts.map +1 -0
- package/packages/gateway/dist/missions/dates.js +252 -0
- package/packages/gateway/dist/missions/dates.js.map +1 -0
- package/packages/gateway/dist/missions/defaults.d.ts.map +1 -1
- package/packages/gateway/dist/missions/defaults.js +2 -0
- package/packages/gateway/dist/missions/defaults.js.map +1 -1
- package/packages/gateway/dist/missions/execute.d.ts +25 -1
- package/packages/gateway/dist/missions/execute.d.ts.map +1 -1
- package/packages/gateway/dist/missions/execute.js +80 -8
- package/packages/gateway/dist/missions/execute.js.map +1 -1
- package/packages/gateway/dist/missions/report.d.ts +25 -2
- package/packages/gateway/dist/missions/report.d.ts.map +1 -1
- package/packages/gateway/dist/missions/report.js +71 -11
- package/packages/gateway/dist/missions/report.js.map +1 -1
- package/packages/gateway/dist/ollama-local.d.ts +90 -0
- package/packages/gateway/dist/ollama-local.d.ts.map +1 -0
- package/packages/gateway/dist/ollama-local.js +201 -0
- package/packages/gateway/dist/ollama-local.js.map +1 -0
- package/packages/gateway/dist/owner-notify.d.ts.map +1 -1
- package/packages/gateway/dist/owner-notify.js +7 -3
- package/packages/gateway/dist/owner-notify.js.map +1 -1
- package/packages/gateway/dist/plugins/asset-image-worker.d.ts +2 -0
- package/packages/gateway/dist/plugins/asset-image-worker.d.ts.map +1 -0
- package/packages/gateway/dist/plugins/asset-image-worker.js +18 -0
- package/packages/gateway/dist/plugins/asset-image-worker.js.map +1 -0
- package/packages/gateway/dist/plugins/asset-image.d.ts +31 -0
- package/packages/gateway/dist/plugins/asset-image.d.ts.map +1 -0
- package/packages/gateway/dist/plugins/asset-image.js +332 -0
- package/packages/gateway/dist/plugins/asset-image.js.map +1 -0
- package/packages/gateway/dist/plugins/load.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/load.js +14 -1
- package/packages/gateway/dist/plugins/load.js.map +1 -1
- package/packages/gateway/dist/plugins/stage.d.ts +6 -0
- package/packages/gateway/dist/plugins/stage.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/stage.js +5 -0
- package/packages/gateway/dist/plugins/stage.js.map +1 -1
- package/packages/gateway/dist/plugins/uninstall.d.ts.map +1 -1
- package/packages/gateway/dist/plugins/uninstall.js +8 -0
- package/packages/gateway/dist/plugins/uninstall.js.map +1 -1
- package/packages/gateway/dist/plugins-cli.d.ts +8 -0
- package/packages/gateway/dist/plugins-cli.d.ts.map +1 -1
- package/packages/gateway/dist/plugins-cli.js +22 -1
- package/packages/gateway/dist/plugins-cli.js.map +1 -1
- package/packages/gateway/dist/serve.d.ts.map +1 -1
- package/packages/gateway/dist/serve.js +50 -5
- package/packages/gateway/dist/serve.js.map +1 -1
- package/packages/gateway/dist/surfaces/pending-question.js +2 -2
- package/packages/gateway/dist/system-context.d.ts +21 -1
- package/packages/gateway/dist/system-context.d.ts.map +1 -1
- package/packages/gateway/dist/system-context.js +76 -2
- package/packages/gateway/dist/system-context.js.map +1 -1
- package/packages/gateway/dist/telegram/approvals.d.ts.map +1 -1
- package/packages/gateway/dist/telegram/approvals.js +4 -2
- package/packages/gateway/dist/telegram/approvals.js.map +1 -1
- package/packages/gateway/dist/telegram/channel.d.ts +12 -0
- package/packages/gateway/dist/telegram/channel.d.ts.map +1 -1
- package/packages/gateway/dist/telegram/channel.js +49 -2
- package/packages/gateway/dist/telegram/channel.js.map +1 -1
- package/packages/gateway/dist/telegram/html.d.ts +34 -0
- package/packages/gateway/dist/telegram/html.d.ts.map +1 -0
- package/packages/gateway/dist/telegram/html.js +263 -0
- package/packages/gateway/dist/telegram/html.js.map +1 -0
- package/packages/gateway/dist/telegram/notify.d.ts +6 -0
- package/packages/gateway/dist/telegram/notify.d.ts.map +1 -1
- package/packages/gateway/dist/telegram/notify.js +25 -3
- package/packages/gateway/dist/telegram/notify.js.map +1 -1
- package/packages/gateway/dist/tips/facts.d.ts +2 -0
- package/packages/gateway/dist/tips/facts.d.ts.map +1 -1
- package/packages/gateway/dist/tips/facts.js +4 -1
- package/packages/gateway/dist/tips/facts.js.map +1 -1
- 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/api-routes.d.ts.map +1 -1
- package/packages/gateway/dist/web/api-routes.js +80 -11
- package/packages/gateway/dist/web/api-routes.js.map +1 -1
- package/packages/gateway/dist/web/api-scan.d.ts +1 -1
- package/packages/gateway/dist/web/api-scan.d.ts.map +1 -1
- package/packages/gateway/dist/web/api-scan.js +1 -0
- package/packages/gateway/dist/web/api-scan.js.map +1 -1
- package/packages/gateway/dist/web/catalogue.d.ts.map +1 -1
- package/packages/gateway/dist/web/catalogue.js +7 -4
- package/packages/gateway/dist/web/catalogue.js.map +1 -1
- package/packages/gateway/dist/web/chat.d.ts.map +1 -1
- package/packages/gateway/dist/web/chat.js +9 -0
- package/packages/gateway/dist/web/chat.js.map +1 -1
- package/packages/gateway/dist/web/composer.d.ts +45 -0
- package/packages/gateway/dist/web/composer.d.ts.map +1 -0
- package/packages/gateway/dist/web/composer.js +85 -0
- package/packages/gateway/dist/web/composer.js.map +1 -0
- package/packages/gateway/dist/web/extension.d.ts +12 -0
- package/packages/gateway/dist/web/extension.d.ts.map +1 -1
- package/packages/gateway/dist/web/extension.js +11 -1
- package/packages/gateway/dist/web/extension.js.map +1 -1
- package/packages/gateway/dist/web/lock.d.ts +6 -0
- package/packages/gateway/dist/web/lock.d.ts.map +1 -1
- package/packages/gateway/dist/web/lock.js +33 -2
- package/packages/gateway/dist/web/lock.js.map +1 -1
- package/packages/gateway/dist/web/market.d.ts +20 -1
- package/packages/gateway/dist/web/market.d.ts.map +1 -1
- package/packages/gateway/dist/web/market.js +41 -1
- package/packages/gateway/dist/web/market.js.map +1 -1
- package/packages/gateway/dist/web/people.d.ts +44 -0
- package/packages/gateway/dist/web/people.d.ts.map +1 -0
- package/packages/gateway/dist/web/people.js +114 -0
- package/packages/gateway/dist/web/people.js.map +1 -0
- package/packages/gateway/dist/web/server.d.ts +4 -0
- package/packages/gateway/dist/web/server.d.ts.map +1 -1
- package/packages/gateway/dist/web/server.js +171 -13
- package/packages/gateway/dist/web/server.js.map +1 -1
- package/packages/gateway/dist/web/skill-bundles.d.ts +101 -0
- package/packages/gateway/dist/web/skill-bundles.d.ts.map +1 -0
- package/packages/gateway/dist/web/skill-bundles.js +439 -0
- package/packages/gateway/dist/web/skill-bundles.js.map +1 -0
- package/packages/gateway/dist/web/skills.d.ts +57 -1
- package/packages/gateway/dist/web/skills.d.ts.map +1 -1
- package/packages/gateway/dist/web/skills.js +171 -9
- package/packages/gateway/dist/web/skills.js.map +1 -1
- package/packages/gateway/dist/web/widgets.js +2 -2
- package/packages/gateway/dist/web/widgets.js.map +1 -1
- package/packages/gateway/dist/web/zip-read.d.ts +31 -0
- package/packages/gateway/dist/web/zip-read.d.ts.map +1 -0
- package/packages/gateway/dist/web/zip-read.js +125 -0
- package/packages/gateway/dist/web/zip-read.js.map +1 -0
- package/packages/install/dist/.tsbuildinfo +1 -1
- package/packages/runtime/dist/.tsbuildinfo +1 -1
- package/packages/runtime/dist/index.d.ts +1 -0
- package/packages/runtime/dist/index.d.ts.map +1 -1
- package/packages/runtime/dist/index.js +1 -0
- package/packages/runtime/dist/index.js.map +1 -1
- package/packages/runtime/dist/loop.js +11 -1
- package/packages/runtime/dist/loop.js.map +1 -1
- package/packages/runtime/dist/plugin-sign-in.d.ts +12 -0
- package/packages/runtime/dist/plugin-sign-in.d.ts.map +1 -0
- package/packages/runtime/dist/plugin-sign-in.js +397 -0
- package/packages/runtime/dist/plugin-sign-in.js.map +1 -0
- package/packages/runtime/dist/transport.d.ts +1 -1
- package/packages/runtime/dist/transport.d.ts.map +1 -1
- package/packages/runtime/dist/transport.js +6 -0
- package/packages/runtime/dist/transport.js.map +1 -1
- package/packages/tools/artifacts/dist/.tsbuildinfo +1 -1
- package/packages/tools/artifacts/dist/tools/write.d.ts.map +1 -1
- package/packages/tools/artifacts/dist/tools/write.js +1 -0
- package/packages/tools/artifacts/dist/tools/write.js.map +1 -1
- package/packages/tools/browser/dist/.tsbuildinfo +1 -1
- package/packages/tools/browser/dist/computer.d.ts +13 -0
- package/packages/tools/browser/dist/computer.d.ts.map +1 -1
- package/packages/tools/browser/dist/computer.js +22 -2
- package/packages/tools/browser/dist/computer.js.map +1 -1
- package/packages/tools/browser/dist/controller.d.ts +4 -0
- package/packages/tools/browser/dist/controller.d.ts.map +1 -1
- package/packages/tools/browser/dist/controller.js +8 -3
- package/packages/tools/browser/dist/controller.js.map +1 -1
- package/packages/tools/browser/dist/index.d.ts +1 -1
- package/packages/tools/browser/dist/index.d.ts.map +1 -1
- package/packages/tools/browser/dist/index.js +1 -1
- package/packages/tools/browser/dist/index.js.map +1 -1
- package/packages/tools/browser/dist/native/buddi-computer +0 -0
- package/packages/tools/browser/dist/service.d.ts +5 -0
- package/packages/tools/browser/dist/service.d.ts.map +1 -1
- package/packages/tools/browser/dist/service.js.map +1 -1
- package/packages/tools/email/dist/.tsbuildinfo +1 -1
- package/packages/tools/email/dist/widgets.d.ts.map +1 -1
- package/packages/tools/email/dist/widgets.js +2 -1
- package/packages/tools/email/dist/widgets.js.map +1 -1
- package/packages/tools/host/dist/.tsbuildinfo +1 -1
- package/packages/tools/host/dist/index.d.ts +2 -1
- package/packages/tools/host/dist/index.d.ts.map +1 -1
- package/packages/tools/host/dist/index.js +3 -2
- package/packages/tools/host/dist/index.js.map +1 -1
- package/packages/tools/host/dist/process.d.ts +4 -0
- package/packages/tools/host/dist/process.d.ts.map +1 -1
- package/packages/tools/host/dist/process.js +4 -2
- package/packages/tools/host/dist/process.js.map +1 -1
- package/packages/tools/host/dist/service.d.ts +66 -17
- package/packages/tools/host/dist/service.d.ts.map +1 -1
- package/packages/tools/host/dist/service.js +172 -9
- package/packages/tools/host/dist/service.js.map +1 -1
- package/packages/tools/host/dist/skill-run.d.ts +55 -0
- package/packages/tools/host/dist/skill-run.d.ts.map +1 -0
- package/packages/tools/host/dist/skill-run.js +132 -0
- package/packages/tools/host/dist/skill-run.js.map +1 -0
- package/packages/tools/mcp/dist/.tsbuildinfo +1 -1
- package/packages/tools/memory/dist/.tsbuildinfo +1 -1
- package/packages/tools/memory/dist/index.d.ts +1 -0
- package/packages/tools/memory/dist/index.d.ts.map +1 -1
- package/packages/tools/memory/dist/index.js +7 -2
- package/packages/tools/memory/dist/index.js.map +1 -1
- package/packages/tools/memory/dist/people.d.ts +218 -0
- package/packages/tools/memory/dist/people.d.ts.map +1 -0
- package/packages/tools/memory/dist/people.js +582 -0
- package/packages/tools/memory/dist/people.js.map +1 -0
- package/packages/tools/memory/dist/preamble.d.ts +4 -1
- package/packages/tools/memory/dist/preamble.d.ts.map +1 -1
- package/packages/tools/memory/dist/preamble.js +25 -7
- package/packages/tools/memory/dist/preamble.js.map +1 -1
- package/packages/tools/memory/migrations/002_people.sql +40 -0
- package/packages/tools/web/dist/.tsbuildinfo +1 -1
- package/packages/web/dist/assets/index-CN1AXMI1.css +1 -0
- package/packages/web/dist/assets/index-CQRE9LJX.js +145 -0
- package/packages/web/dist/assets/{lottie_light-DYHnHRWL.js → lottie_light-CKJ88Yuk.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/node_modules/pino/test/types/pino-import.test-d.cts +0 -30
- package/node_modules/pino/test/types/pino-multistream.test-d.ts +0 -28
- package/node_modules/pino/test/types/pino-top-export.test-d.ts +0 -34
- package/node_modules/pino/test/types/pino-type-only.test-d.ts +0 -75
- package/node_modules/thread-stream/node_modules/real-require/LICENSE.md +0 -21
- package/node_modules/thread-stream/node_modules/real-require/README.md +0 -51
- package/node_modules/thread-stream/node_modules/real-require/package.json +0 -38
- package/node_modules/thread-stream/node_modules/real-require/src/index.js +0 -14
- package/packages/web/dist/assets/index-ZauRFo4G.js +0 -134
- package/packages/web/dist/assets/index-viBWQfeT.css +0 -1
|
@@ -356,7 +356,7 @@ export declare class ImapFlow extends EventEmitter {
|
|
|
356
356
|
* Sets flags for a message or message range
|
|
357
357
|
*
|
|
358
358
|
* @param range Range to filter the messages
|
|
359
|
-
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored
|
|
359
|
+
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored. An empty array clears every flag, but a non-empty array with nothing usable in it is refused rather than clearing the message
|
|
360
360
|
* @param options Store options
|
|
361
361
|
* @returns Did the operation succeed or not
|
|
362
362
|
*
|
|
@@ -2631,7 +2631,7 @@ class ImapFlow extends node_events_1.EventEmitter {
|
|
|
2631
2631
|
* Sets flags for a message or message range
|
|
2632
2632
|
*
|
|
2633
2633
|
* @param range Range to filter the messages
|
|
2634
|
-
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored
|
|
2634
|
+
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored. An empty array clears every flag, but a non-empty array with nothing usable in it is refused rather than clearing the message
|
|
2635
2635
|
* @param options Store options
|
|
2636
2636
|
* @returns Did the operation succeed or not
|
|
2637
2637
|
*
|
|
@@ -34,10 +34,34 @@ export default async function append(connection, destination, content, flags, id
|
|
|
34
34
|
let selected = getSelectedMailbox(connection);
|
|
35
35
|
// The selected mailbox when appending to it, false otherwise
|
|
36
36
|
const targetMailbox = selected && comparePaths(connection, selected.path, destination) ? selected : false;
|
|
37
|
-
//
|
|
37
|
+
// Flags are only filtered when a read-write selection of the destination itself says what it
|
|
38
|
+
// accepts: the permanentFlags of an unrelated mailbox say nothing about the destination, and a
|
|
39
|
+
// read-only selection reports an empty PERMANENTFLAGS list (Dovecot does), which canUseFlag()
|
|
40
|
+
// reads as deny-all. Otherwise they go to the server unfiltered and it decides (RFC 9051).
|
|
41
|
+
const flagSource = targetMailbox && !targetMailbox.readOnly ? targetMailbox : false;
|
|
42
|
+
const dropped = [];
|
|
38
43
|
flags = (Array.isArray(flags) ? flags : [].concat(flags || []))
|
|
39
|
-
.map(flag =>
|
|
40
|
-
|
|
44
|
+
.map(flag => {
|
|
45
|
+
const formatted = flag && formatFlag(flag.toString());
|
|
46
|
+
if (!formatted || !canUseFlag(flagSource, formatted)) {
|
|
47
|
+
if (flag) {
|
|
48
|
+
dropped.push(flag.toString());
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return formatted;
|
|
53
|
+
})
|
|
54
|
+
.filter((flag) => !!flag);
|
|
55
|
+
// The stored message simply ends up without them, and the caller is told nothing, so leave
|
|
56
|
+
// a trail for the flags that never reached the server.
|
|
57
|
+
if (dropped.length) {
|
|
58
|
+
connection.log.warn({
|
|
59
|
+
msg: 'Dropped flags the mailbox does not accept',
|
|
60
|
+
cid: connection.id,
|
|
61
|
+
path: destination,
|
|
62
|
+
dropped
|
|
63
|
+
});
|
|
64
|
+
}
|
|
41
65
|
// APPEND command format: APPEND <mailbox> [<flags>] [<date-time>] <literal>
|
|
42
66
|
let attributes = [{ type: 'ATOM', value: encodePath(connection, destination) }];
|
|
43
67
|
// Internal date: the date the server should record for this message.
|
|
@@ -28,8 +28,11 @@ export default async function store(connection, range, flags, options) {
|
|
|
28
28
|
else if (options.silent) {
|
|
29
29
|
operation = `${operation}.SILENT`;
|
|
30
30
|
}
|
|
31
|
+
// Normalized once: the raw value is also compared below, and a mixed-case 'SET' must not
|
|
32
|
+
// take the set branch here and the add branch there.
|
|
33
|
+
const operationName = (options.operation || '').toLowerCase();
|
|
31
34
|
// Prefix determines the operation: none = set (replace), + = add, - = remove
|
|
32
|
-
switch (
|
|
35
|
+
switch (operationName) {
|
|
33
36
|
case 'set':
|
|
34
37
|
break;
|
|
35
38
|
case 'remove':
|
|
@@ -40,20 +43,42 @@ export default async function store(connection, range, flags, options) {
|
|
|
40
43
|
operation = `+${operation}`;
|
|
41
44
|
break;
|
|
42
45
|
}
|
|
43
|
-
//
|
|
44
|
-
//
|
|
46
|
+
// Only an explicitly empty array asks for every flag to be cleared. A missing value is not
|
|
47
|
+
// that request, and neither is a 'set' whose flags all get dropped below: either would
|
|
48
|
+
// compile to "FLAGS ()" and wipe the message instead of storing what was asked for. The
|
|
49
|
+
// line is drawn at destroying flags, not at fidelity, so a set that keeps some of the
|
|
50
|
+
// requested flags still runs, as the documented contract for those methods says.
|
|
51
|
+
const clearAll = operationName === 'set' && Array.isArray(flags) && !flags.length;
|
|
52
|
+
// permanentFlags lists the IMAP keywords the mailbox accepts and says nothing about Gmail
|
|
53
|
+
// labels, so it is not consulted for X-GM-LABELS - the same reason an unrelated mailbox's
|
|
54
|
+
// flags are not consulted for APPEND (issue #415).
|
|
55
|
+
const flagSource = options.useLabels ? false : mailbox;
|
|
56
|
+
// Validate each flag: format it (normalize backslash prefix for system flags, reject the
|
|
57
|
+
// server-owned \Recent), then check that the mailbox allows it. Removal is always allowed
|
|
45
58
|
// since it doesn't require the flag to be in permanentFlags.
|
|
59
|
+
const dropped = [];
|
|
46
60
|
flags = (Array.isArray(flags) ? flags : [].concat(flags || []))
|
|
47
61
|
.map(flag => {
|
|
48
62
|
let formatted = formatFlag(flag);
|
|
49
|
-
if (!canUseFlag(
|
|
63
|
+
if (!formatted || (!canUseFlag(flagSource, formatted) && operationName !== 'remove')) {
|
|
64
|
+
dropped.push(flag);
|
|
50
65
|
return false;
|
|
51
66
|
}
|
|
52
67
|
return formatted;
|
|
53
68
|
})
|
|
54
69
|
.filter((flag) => !!flag);
|
|
55
|
-
//
|
|
56
|
-
|
|
70
|
+
// The caller is told nothing by the boolean this returns, so leave a trail for the flags
|
|
71
|
+
// that never reached the server.
|
|
72
|
+
if (dropped.length) {
|
|
73
|
+
connection.log.warn({
|
|
74
|
+
msg: 'Dropped flags the mailbox does not accept',
|
|
75
|
+
cid: connection.id,
|
|
76
|
+
path: mailbox.path,
|
|
77
|
+
operation,
|
|
78
|
+
dropped
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
if (!flags.length && !clearAll) {
|
|
57
82
|
return false;
|
|
58
83
|
}
|
|
59
84
|
let attributes = [
|
|
@@ -356,7 +356,7 @@ export declare class ImapFlow extends EventEmitter {
|
|
|
356
356
|
* Sets flags for a message or message range
|
|
357
357
|
*
|
|
358
358
|
* @param range Range to filter the messages
|
|
359
|
-
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored
|
|
359
|
+
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored. An empty array clears every flag, but a non-empty array with nothing usable in it is refused rather than clearing the message
|
|
360
360
|
* @param options Store options
|
|
361
361
|
* @returns Did the operation succeed or not
|
|
362
362
|
*
|
|
@@ -2590,7 +2590,7 @@ export class ImapFlow extends EventEmitter {
|
|
|
2590
2590
|
* Sets flags for a message or message range
|
|
2591
2591
|
*
|
|
2592
2592
|
* @param range Range to filter the messages
|
|
2593
|
-
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored
|
|
2593
|
+
* @param flags Array of flags to set. Only flags that are permitted to set are used, other flags are ignored. An empty array clears every flag, but a non-empty array with nothing usable in it is refused rather than clearing the message
|
|
2594
2594
|
* @param options Store options
|
|
2595
2595
|
* @returns Did the operation succeed or not
|
|
2596
2596
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/imap-flow.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/node": "20.19.43",
|
|
72
72
|
"c8": "12.0.0",
|
|
73
|
-
"eslint": "10.
|
|
73
|
+
"eslint": "10.12.0",
|
|
74
74
|
"eslint-config-prettier": "10.1.8",
|
|
75
75
|
"globals": "17.13.0",
|
|
76
76
|
"prettier": "3.9.9",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"types-node-legacy": "npm:@types/node@20.0.0",
|
|
79
79
|
"typescript": "6.0.3",
|
|
80
80
|
"typescript-eslint": "8.71.0",
|
|
81
|
-
"wrangler": "4.
|
|
81
|
+
"wrangler": "4.147.0"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@zone-eu/mailsplit": "5.4.19",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"libbase64": "1.3.1",
|
|
88
88
|
"libmime": "5.4.6",
|
|
89
89
|
"libqp": "2.1.2",
|
|
90
|
-
"pino": "10.
|
|
90
|
+
"pino": "10.4.0",
|
|
91
91
|
"socks": "2.8.10"
|
|
92
92
|
},
|
|
93
93
|
"engines": {
|
|
@@ -18,6 +18,10 @@ There are a few basic ground-rules for contributors:
|
|
|
18
18
|
1. All pull-requests for new features **must** target the `main` branch. PRs to fix bugs in LTS releases are also allowed.
|
|
19
19
|
1. Contributors should attempt to adhere to the prevailing code-style.
|
|
20
20
|
1. 100% code coverage
|
|
21
|
+
1. Pure-AI contributions with no human in the loop are not welcome. Pull
|
|
22
|
+
requests ***MUST*** be opened by a human. Pull requests opened by bots not
|
|
23
|
+
managed by the Pino organization will result in the bot being banned
|
|
24
|
+
from the organization.
|
|
21
25
|
|
|
22
26
|
## Releases
|
|
23
27
|
|
|
@@ -27,4 +31,4 @@ Declaring formal releases remains the prerogative of the project maintainer.
|
|
|
27
31
|
|
|
28
32
|
This is an experiment and feedback is welcome! This document may also be subject to pull-requests or changes by contributors where you believe you have something valuable to add or change.
|
|
29
33
|
|
|
30
|
-
-----------------------------------------
|
|
34
|
+
-----------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2016-
|
|
3
|
+
Copyright (c) 2016-present Matteo Collina, David Mark Clements and the Pino contributors listed at <https://github.com/pinojs/pino#the-team> and in the README file.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -31,7 +31,7 @@ Pino is built to run on [Node.js](http://nodejs.org).
|
|
|
31
31
|
|
|
32
32
|
### Bare
|
|
33
33
|
|
|
34
|
-
Pino works on [Bare](https://github.com/holepunchto/bare) with the [`pino-bare`](https://github.com/pinojs/pino-bare)
|
|
34
|
+
Pino works on [Bare](https://github.com/holepunchto/bare) with the [`pino-bare`](https://github.com/pinojs/pino-bare) compatibility module.
|
|
35
35
|
|
|
36
36
|
### Pear
|
|
37
37
|
|
|
@@ -16,8 +16,24 @@ Pino trusts the applications using it and the environment that it is running in.
|
|
|
16
16
|
This includes all the application code, the transport, the filesystem and all
|
|
17
17
|
non-externally provided input.
|
|
18
18
|
|
|
19
|
-
Pino assumes all objects being logged, `logger.info(obj, message)`, are
|
|
20
|
-
|
|
19
|
+
Pino assumes all objects being logged, `logger.info(obj, message)`, are JSON-serializable.
|
|
20
|
+
Applications are responsible for the data structures their code constructs and logs,
|
|
21
|
+
including ensuring that their size, depth, breadth, and reference topology can be
|
|
22
|
+
serialized within acceptable CPU, memory, and output-size bounds. Resource exhaustion
|
|
23
|
+
caused by logging an application-constructed data structure is an application-level
|
|
24
|
+
concern. The `depthLimit` and `edgeLimit` options apply only to Pino's fallback
|
|
25
|
+
serializer after `JSON.stringify` throws; they are not general resource limits.
|
|
26
|
+
Use the `serializers` and `redact` features to sanitize logged objects.
|
|
27
|
+
|
|
28
|
+
Pino also assumes that applications control the top-level keys of logged objects
|
|
29
|
+
and child logger bindings. Do not pass externally supplied objects directly as
|
|
30
|
+
`logger.info(untrustedObject)` or `logger.child(untrustedObject)`. Top-level
|
|
31
|
+
keys are written at the root of the log line and can conflict with Pino fields
|
|
32
|
+
such as `level`, `time`, or `msg`, as well as application or security fields.
|
|
33
|
+
If untrusted data must be logged, place it under an application-controlled key,
|
|
34
|
+
for example `logger.info({ untrusted })` or `logger.child({ untrusted })`, and
|
|
35
|
+
apply appropriate serialization and redaction. As a matter of good security
|
|
36
|
+
hygiene, prefer not to log untrusted data at all unless it is necessary.
|
|
21
37
|
|
|
22
38
|
Pino is not hardened against external prototype pollution attacks, but we
|
|
23
39
|
will accept a vulnerability if Pino can be misused to cause a prototype pollution.
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
const format = require('quick-format-unescaped')
|
|
4
|
+
const Redact = require('@pinojs/redact')
|
|
4
5
|
|
|
5
6
|
module.exports = pino
|
|
6
7
|
|
|
8
|
+
const CENSOR = '[Redacted]'
|
|
9
|
+
|
|
10
|
+
function handleRedactOpts (opts) {
|
|
11
|
+
if (Array.isArray(opts)) {
|
|
12
|
+
return { paths: opts, censor: CENSOR }
|
|
13
|
+
}
|
|
14
|
+
const { paths, censor = CENSOR, remove } = opts
|
|
15
|
+
if (!Array.isArray(paths)) {
|
|
16
|
+
throw Error('pino – redact must contain an array of strings')
|
|
17
|
+
}
|
|
18
|
+
return { paths, censor: remove ? undefined : censor, remove }
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function buildRedactFn (redact) {
|
|
22
|
+
if (!redact) return null
|
|
23
|
+
const { paths, censor, remove } = handleRedactOpts(redact)
|
|
24
|
+
return Redact({
|
|
25
|
+
paths,
|
|
26
|
+
censor,
|
|
27
|
+
remove,
|
|
28
|
+
serialize: false
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
|
|
7
32
|
const _console = pfGlobalThisOrFallback().console || {}
|
|
8
33
|
const stdSerializers = {
|
|
9
34
|
mapHttpRequest: mock,
|
|
@@ -24,6 +49,9 @@ function levelToValue (level, logger) {
|
|
|
24
49
|
const baseLogFunctionSymbol = Symbol('pino.logFuncs')
|
|
25
50
|
const hierarchySymbol = Symbol('pino.hierarchy')
|
|
26
51
|
|
|
52
|
+
const ownBindingsSymbol = Symbol('pino.ownBindings')
|
|
53
|
+
const bindingsSymbol = Symbol('pino.bindings')
|
|
54
|
+
|
|
27
55
|
const logFallbackMap = {
|
|
28
56
|
error: 'log',
|
|
29
57
|
fatal: 'error',
|
|
@@ -97,6 +125,8 @@ function pino (opts) {
|
|
|
97
125
|
// setup root hierarchy entry
|
|
98
126
|
appendChildLogger({}, logger)
|
|
99
127
|
|
|
128
|
+
logger[bindingsSymbol] = {}
|
|
129
|
+
|
|
100
130
|
Object.defineProperty(logger, 'levelVal', {
|
|
101
131
|
get: getLevelVal
|
|
102
132
|
})
|
|
@@ -105,6 +135,8 @@ function pino (opts) {
|
|
|
105
135
|
set: setLevel
|
|
106
136
|
})
|
|
107
137
|
|
|
138
|
+
const redactFn = buildRedactFn(opts.redact)
|
|
139
|
+
|
|
108
140
|
const setOpts = {
|
|
109
141
|
transmit,
|
|
110
142
|
serialize,
|
|
@@ -115,7 +147,8 @@ function pino (opts) {
|
|
|
115
147
|
levels,
|
|
116
148
|
timestamp: getTimeFunction(opts),
|
|
117
149
|
messageKey: opts.messageKey || 'msg',
|
|
118
|
-
onChild: opts.onChild || noop
|
|
150
|
+
onChild: opts.onChild || noop,
|
|
151
|
+
redactFn
|
|
119
152
|
}
|
|
120
153
|
logger.levels = getLevels(opts)
|
|
121
154
|
logger.level = level
|
|
@@ -139,6 +172,21 @@ function pino (opts) {
|
|
|
139
172
|
logger._stdErrSerialize = stdErrSerialize
|
|
140
173
|
logger.child = function (...args) { return child.call(this, setOpts, ...args) }
|
|
141
174
|
|
|
175
|
+
logger.bindings = function () {
|
|
176
|
+
return Object.assign({}, this[bindingsSymbol])
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
logger.setBindings = function (newBindings) {
|
|
180
|
+
this[ownBindingsSymbol] = Object.assign({}, this[ownBindingsSymbol], newBindings)
|
|
181
|
+
this[bindingsSymbol] = Object.assign({}, this[bindingsSymbol], newBindings)
|
|
182
|
+
if (this._logEvent) {
|
|
183
|
+
this._logEvent.bindings.push(newBindings)
|
|
184
|
+
}
|
|
185
|
+
// reassigning the level rebuilds the log functions so the updated
|
|
186
|
+
// bindings are prepended to subsequent log calls
|
|
187
|
+
this.level = this._level
|
|
188
|
+
}
|
|
189
|
+
|
|
142
190
|
if (transmit) logger._logEvent = createLogEventShape()
|
|
143
191
|
|
|
144
192
|
function getLevelVal () {
|
|
@@ -187,7 +235,13 @@ function pino (opts) {
|
|
|
187
235
|
this._childLevel = (parent._childLevel | 0) + 1
|
|
188
236
|
|
|
189
237
|
// make sure bindings are available in the `set` function
|
|
190
|
-
this
|
|
238
|
+
this[ownBindingsSymbol] = bindings
|
|
239
|
+
|
|
240
|
+
this[bindingsSymbol] = Object.assign(
|
|
241
|
+
{},
|
|
242
|
+
parent[bindingsSymbol],
|
|
243
|
+
bindings
|
|
244
|
+
)
|
|
191
245
|
|
|
192
246
|
if (childSerializers) {
|
|
193
247
|
this.serializers = childSerializers
|
|
@@ -258,16 +312,16 @@ pino.stdTimeFunctions = Object.assign({}, { nullTime, epochTime, unixTime, isoTi
|
|
|
258
312
|
|
|
259
313
|
function getBindingChain (logger) {
|
|
260
314
|
const bindings = []
|
|
261
|
-
if (logger
|
|
262
|
-
bindings.push(logger
|
|
315
|
+
if (logger[ownBindingsSymbol]) {
|
|
316
|
+
bindings.push(logger[ownBindingsSymbol])
|
|
263
317
|
}
|
|
264
318
|
|
|
265
319
|
// traverse up the tree to get all bindings
|
|
266
320
|
let hierarchy = logger[hierarchySymbol]
|
|
267
321
|
while (hierarchy.parent) {
|
|
268
322
|
hierarchy = hierarchy.parent
|
|
269
|
-
if (hierarchy.logger
|
|
270
|
-
bindings.push(hierarchy.logger
|
|
323
|
+
if (hierarchy.logger[ownBindingsSymbol]) {
|
|
324
|
+
bindings.push(hierarchy.logger[ownBindingsSymbol])
|
|
271
325
|
}
|
|
272
326
|
}
|
|
273
327
|
|
|
@@ -393,7 +447,10 @@ function asObject (logger, level, args, ts, opts) {
|
|
|
393
447
|
}
|
|
394
448
|
}
|
|
395
449
|
|
|
396
|
-
|
|
450
|
+
let formattedLogObject = logObjectFormatter(logObject)
|
|
451
|
+
if (opts.redactFn) {
|
|
452
|
+
formattedLogObject = opts.redactFn(formattedLogObject)
|
|
453
|
+
}
|
|
397
454
|
return [formattedLogObject, ...argsCloned]
|
|
398
455
|
} else {
|
|
399
456
|
// deliberate, catching objects, arrays
|
|
@@ -405,7 +462,10 @@ function asObject (logger, level, args, ts, opts) {
|
|
|
405
462
|
} else if (typeof msg === 'string') msg = format(argsCloned.shift(), argsCloned)
|
|
406
463
|
if (msg !== undefined) logObject[opts.messageKey] = msg
|
|
407
464
|
|
|
408
|
-
|
|
465
|
+
let formattedLogObject = logObjectFormatter(logObject)
|
|
466
|
+
if (opts.redactFn) {
|
|
467
|
+
formattedLogObject = opts.redactFn(formattedLogObject)
|
|
468
|
+
}
|
|
409
469
|
return [formattedLogObject]
|
|
410
470
|
}
|
|
411
471
|
}
|
|
@@ -137,13 +137,19 @@ logger.info('hello') // Will throw an error saying info is not found in logger o
|
|
|
137
137
|
|
|
138
138
|
Default: `5`
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
Maximum nesting depth used by Pino's fallback serializer.
|
|
141
141
|
|
|
142
142
|
#### `edgeLimit` (Number)
|
|
143
143
|
|
|
144
144
|
Default: `100`
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
Maximum number of properties/elements per object or array used by Pino's fallback serializer.
|
|
147
|
+
|
|
148
|
+
Pino uses the fallback serializer, and therefore applies `depthLimit` and `edgeLimit`, only after
|
|
149
|
+
`JSON.stringify` throws. These options are not general limits on serialization work or output size.
|
|
150
|
+
For example, `JSON.stringify` successfully serializes a non-circular object graph that contains
|
|
151
|
+
repeated references to the same object. In that case, every reference is traversed and serialized
|
|
152
|
+
in full, without applying either limit.
|
|
147
153
|
|
|
148
154
|
<a id="opt-mixin"></a>
|
|
149
155
|
#### `mixin` (Function):
|
|
@@ -411,7 +417,7 @@ Changes the shape of the log level. The default shape is `{ level: number }`.
|
|
|
411
417
|
The function takes two arguments, the label of the level (e.g. `'info'`)
|
|
412
418
|
and the numeric value (e.g. `30`).
|
|
413
419
|
|
|
414
|
-
|
|
420
|
+
When using multiple transport targets, the log record must keep a numeric `level` field for per-target routing. Because of that, `formatters.level` cannot be used to replace `level` with a string or rename it in multi-target mode. `timestamp` customization is still supported.
|
|
415
421
|
|
|
416
422
|
```js
|
|
417
423
|
const formatters = {
|
|
@@ -465,6 +471,13 @@ in the serializers. The only exception is the `err` serializer as it is also app
|
|
|
465
471
|
the object is an instance of `Error`, e.g. `logger.info(new Error('kaboom'))`.
|
|
466
472
|
See `errorKey` option to change `err` namespace.
|
|
467
473
|
|
|
474
|
+
Serializers are also applied to the [bindings passed to `logger.child()`](#logger-child-bindings).
|
|
475
|
+
Child bindings are serialized once, when the child logger is created, so a matching
|
|
476
|
+
serializer runs at that point rather than on every subsequent log call. This is
|
|
477
|
+
deliberate: it allows a child logger to precompute its bindings and stay fast at log
|
|
478
|
+
time. If a serializer needs to run per log call, pass the value to the log method
|
|
479
|
+
instead of to `child()`.
|
|
480
|
+
|
|
468
481
|
* See [pino.stdSerializers](#pino-stdserializers)
|
|
469
482
|
|
|
470
483
|
#### `msgPrefix` (String)
|
|
@@ -724,6 +737,25 @@ logger.info({MIX: {IN: true}})
|
|
|
724
737
|
// {"level":30,"time":1531254555820,"pid":55956,"hostname":"x","MIX":{"IN":true}}
|
|
725
738
|
```
|
|
726
739
|
|
|
740
|
+
Do not pass an externally supplied object directly as the `mergingObject`.
|
|
741
|
+
Top-level keys are written at the root of the log line and can conflict with
|
|
742
|
+
Pino fields such as `level`, `time`, or `msg`, as well as application or
|
|
743
|
+
security fields. If untrusted data must be logged, place it under an
|
|
744
|
+
application-controlled key:
|
|
745
|
+
|
|
746
|
+
```js
|
|
747
|
+
// Avoid: user-controlled keys become top-level log fields
|
|
748
|
+
logger.info(untrustedObject)
|
|
749
|
+
|
|
750
|
+
// Prefer: user-controlled keys are contained under a trusted namespace
|
|
751
|
+
logger.info({ untrusted: untrustedObject })
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
As a matter of good security hygiene, prefer not to log untrusted data at all
|
|
755
|
+
unless it is necessary. When it is necessary, sanitize and redact it first.
|
|
756
|
+
The same top-level key guidance applies to [`logger.child()` bindings](#logger-child-bindings)
|
|
757
|
+
and [`logger.setBindings()`](#logger-set-bindings).
|
|
758
|
+
|
|
727
759
|
If the object is of type Error, it is wrapped in an object containing a property err (`{ err: mergingObject }`).
|
|
728
760
|
This allows for a unified error handling flow.
|
|
729
761
|
|
|
@@ -926,6 +958,24 @@ child.info('child!')
|
|
|
926
958
|
|
|
927
959
|
The `bindings` object may contain any key except for reserved configuration keys `level` and `serializers`.
|
|
928
960
|
|
|
961
|
+
Do not pass externally supplied objects directly as child bindings. Binding keys
|
|
962
|
+
are top-level log fields emitted on every log line from the child logger, so
|
|
963
|
+
user-controlled keys can conflict with Pino fields such as `level`, `time`, or
|
|
964
|
+
`msg`, as well as application or security fields. If untrusted data must be
|
|
965
|
+
included in child bindings, place it under an application-controlled key:
|
|
966
|
+
|
|
967
|
+
```js
|
|
968
|
+
// Avoid: user-controlled keys become top-level fields on every child log line
|
|
969
|
+
const child = logger.child(untrustedObject)
|
|
970
|
+
|
|
971
|
+
// Prefer: user-controlled keys are contained under a trusted namespace
|
|
972
|
+
const child = logger.child({ untrusted: untrustedObject })
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
As a matter of good security hygiene, prefer not to log untrusted data at all
|
|
976
|
+
unless it is necessary. When it is necessary, sanitize and redact it first.
|
|
977
|
+
See also [`mergingObject`](#mergingobject) and [`logger.setBindings()`](#logger-set-bindings).
|
|
978
|
+
|
|
929
979
|
##### `bindings.serializers` (Object) - DEPRECATED
|
|
930
980
|
|
|
931
981
|
Use `options.serializers` instead.
|
|
@@ -1023,6 +1073,11 @@ Adds to the bindings of this logger instance.
|
|
|
1023
1073
|
**Note:** Does not overwrite bindings. Can potentially result in duplicate keys in
|
|
1024
1074
|
log lines.
|
|
1025
1075
|
|
|
1076
|
+
Do not pass externally supplied objects directly as bindings. Binding keys are
|
|
1077
|
+
top-level log fields and can conflict with Pino fields or application fields.
|
|
1078
|
+
If untrusted data must be added, place it under an application-controlled key,
|
|
1079
|
+
for example `logger.setBindings({ untrusted })`, and sanitize or redact it first.
|
|
1080
|
+
|
|
1026
1081
|
* See [`bindings` parameter in `logger.child`](#logger-child-bindings)
|
|
1027
1082
|
|
|
1028
1083
|
<a id="flush"></a>
|
|
@@ -1042,8 +1097,14 @@ and safer logging at low demand periods.
|
|
|
1042
1097
|
|
|
1043
1098
|
If there is a need to wait for the logs to be flushed, a callback should be used.
|
|
1044
1099
|
|
|
1100
|
+
**Note:** `logger.flush()` does not flush the output of `pino-pretty`. See
|
|
1101
|
+
[Flush Limitations with `pino-pretty`](/docs/asynchronous.md) for more details.
|
|
1102
|
+
|
|
1103
|
+
**Note:** in the browser this method is a no-op and `cb` is never invoked. See
|
|
1104
|
+
[Node.js-only APIs](/docs/browser.md#nodejs-only-apis).
|
|
1105
|
+
|
|
1045
1106
|
* See [`destination` parameter](#destination)
|
|
1046
|
-
* See [Asynchronous Logging ⇗](
|
|
1107
|
+
* See [Asynchronous Logging ⇗](./asynchronous.md)
|
|
1047
1108
|
|
|
1048
1109
|
<a id="logger-level"></a>
|
|
1049
1110
|
### `logger.level` (String) [Getter/Setter]
|
|
@@ -1139,6 +1200,10 @@ register its own serializer upon instantiation the serializers of the parent wil
|
|
|
1139
1200
|
|
|
1140
1201
|
The logger instance is also an [`EventEmitter ⇗`](https://nodejs.org/dist/latest/docs/api/events.html#events_class_eventemitter)
|
|
1141
1202
|
|
|
1203
|
+
**Note:** the `EventEmitter` methods are no-ops in the browser, so this event
|
|
1204
|
+
never fires there. See
|
|
1205
|
+
[Node.js-only APIs](/docs/browser.md#nodejs-only-apis).
|
|
1206
|
+
|
|
1142
1207
|
A listener function can be attached to a logger via the `level-change` event
|
|
1143
1208
|
|
|
1144
1209
|
The listener is passed five arguments:
|
|
@@ -1194,6 +1259,8 @@ Exposes the cumulative `msgPrefix` of the logger.
|
|
|
1194
1259
|
Create a Pino Destination instance: a stream-like object with
|
|
1195
1260
|
significantly more throughput than a standard Node.js stream.
|
|
1196
1261
|
|
|
1262
|
+
**Note:** this is not available in the browser build. See [Node.js-only APIs](/docs/browser.md#nodejs-only-apis).
|
|
1263
|
+
|
|
1197
1264
|
```js
|
|
1198
1265
|
const pino = require('pino')
|
|
1199
1266
|
const logger = pino(pino.destination('./my-file'))
|
|
@@ -1228,6 +1295,8 @@ A `pino.destination` instance can also be used to reopen closed files
|
|
|
1228
1295
|
Create a stream that routes logs to a worker thread that
|
|
1229
1296
|
wraps around a [Pino Transport](/docs/transports.md).
|
|
1230
1297
|
|
|
1298
|
+
**Note:** this is not available in the browser build. See [Node.js-only APIs](/docs/browser.md#nodejs-only-apis).
|
|
1299
|
+
|
|
1231
1300
|
```js
|
|
1232
1301
|
const pino = require('pino')
|
|
1233
1302
|
const transport = pino.transport({
|
|
@@ -1348,6 +1417,8 @@ Notes:
|
|
|
1348
1417
|
Create a stream composed by multiple destination streams and returns an
|
|
1349
1418
|
object implementing the [MultiStreamRes](#multistreamres) interface.
|
|
1350
1419
|
|
|
1420
|
+
**Note:** this is not available in the browser build. See [Node.js-only APIs](/docs/browser.md#nodejs-only-apis).
|
|
1421
|
+
|
|
1351
1422
|
```js
|
|
1352
1423
|
var fs = require('node:fs')
|
|
1353
1424
|
var pino = require('pino')
|
|
@@ -21,9 +21,12 @@ output stream as the messages are generated with a _blocking_ operation.
|
|
|
21
21
|
|
|
22
22
|
### AWS Lambda
|
|
23
23
|
|
|
24
|
-
Asynchronous logging
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
Asynchronous logging in AWS Lambda functions will tend to cause delayed
|
|
25
|
+
or lost log messages, as logs may not be written to the destination
|
|
26
|
+
before the runtime is frozen.
|
|
27
|
+
|
|
28
|
+
For Lambda deployments, it's recommended to always use a destination
|
|
29
|
+
with `sync: true`.
|
|
27
30
|
|
|
28
31
|
## Caveats
|
|
29
32
|
|
|
@@ -34,6 +37,18 @@ Asynchronous logging has a couple of important caveats:
|
|
|
34
37
|
* There is a possibility of the most recently buffered log messages being lost
|
|
35
38
|
in case of a system failure, e.g. a power cut.
|
|
36
39
|
|
|
40
|
+
### Flush Limitations with `pino-pretty`
|
|
41
|
+
|
|
42
|
+
`logger.flush()` does not flush the output of `pino-pretty` because:
|
|
43
|
+
|
|
44
|
+
1. **Transport Architecture**: `pino-pretty` runs in a separate worker thread via the transport mechanism.
|
|
45
|
+
|
|
46
|
+
2. **Cross-Thread Flush**: `logger.flush(cb)` does reach the worker. Since [thread-stream#198](https://github.com/pinojs/thread-stream/pull/198) the worker waits for the shared buffer to be drained, then looks for a flush primitive on the destination the transport returned: `flush`, `flushSync`, or a pending `drain`.
|
|
47
|
+
|
|
48
|
+
3. **No Flush Primitive**: The stream `pino-pretty` returns exposes none of those. Its buffered `SonicBoom` is reachable only through the internal `pump`, so the worker has nothing to call and acknowledges the flush right away.
|
|
49
|
+
|
|
50
|
+
This means that even with `logger.flush()`, your formatted logs may not appear immediately. The flush only guarantees that the main thread buffer was written and that the worker drained the shared buffer, not that `pino-pretty` has written its formatted output.
|
|
51
|
+
|
|
37
52
|
See also:
|
|
38
53
|
|
|
39
54
|
* [`pino.destination` API](/docs/api.md#pino-destination)
|