@murphai/murph 1.3.1 → 1.3.2
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/CHANGELOG.md +808 -0
- package/config.schema.json +91 -40
- package/dist/bin.js +6 -4
- package/dist/bin.js.map +1 -1
- package/dist/cli-entry.d.ts +8 -1
- package/dist/cli-entry.d.ts.map +1 -1
- package/dist/cli-entry.js +79 -3
- package/dist/cli-entry.js.map +1 -1
- package/dist/commands/audit-command-helpers.d.ts.map +1 -1
- package/dist/commands/audit-command-helpers.js +7 -5
- package/dist/commands/audit-command-helpers.js.map +1 -1
- package/dist/commands/batch.d.ts +5 -5
- package/dist/commands/batch.d.ts.map +1 -1
- package/dist/commands/batch.js +2 -21
- package/dist/commands/batch.js.map +1 -1
- package/dist/commands/commons.d.ts.map +1 -1
- package/dist/commands/commons.js +2 -4
- package/dist/commands/commons.js.map +1 -1
- package/dist/commands/exercise.d.ts.map +1 -1
- package/dist/commands/exercise.js +16 -3
- package/dist/commands/exercise.js.map +1 -1
- package/dist/commands/experiment-progress-card-image.d.ts.map +1 -1
- package/dist/commands/experiment-progress-card-image.js +63 -12
- package/dist/commands/experiment-progress-card-image.js.map +1 -1
- package/dist/commands/experiment.d.ts.map +1 -1
- package/dist/commands/experiment.js +45 -5
- package/dist/commands/experiment.js.map +1 -1
- package/dist/commands/export-intake-read-helpers.d.ts.map +1 -1
- package/dist/commands/export-intake-read-helpers.js +2 -3
- package/dist/commands/export-intake-read-helpers.js.map +1 -1
- package/dist/commands/food.d.ts.map +1 -1
- package/dist/commands/food.js +1 -7
- package/dist/commands/food.js.map +1 -1
- package/dist/commands/habitat.d.ts.map +1 -1
- package/dist/commands/habitat.js +120 -9
- package/dist/commands/habitat.js.map +1 -1
- package/dist/commands/health-blood-test-save.d.ts.map +1 -1
- package/dist/commands/health-blood-test-save.js +42 -8
- package/dist/commands/health-blood-test-save.js.map +1 -1
- package/dist/commands/meal.d.ts.map +1 -1
- package/dist/commands/meal.js +4 -1
- package/dist/commands/meal.js.map +1 -1
- package/dist/commands/measurement.d.ts.map +1 -1
- package/dist/commands/measurement.js +3 -0
- package/dist/commands/measurement.js.map +1 -1
- package/dist/commands/murph-age.d.ts +9 -1
- package/dist/commands/murph-age.d.ts.map +1 -1
- package/dist/commands/murph-age.js +132 -7
- package/dist/commands/murph-age.js.map +1 -1
- package/dist/commands/public-validation-issue.d.ts +7 -0
- package/dist/commands/public-validation-issue.d.ts.map +1 -0
- package/dist/commands/public-validation-issue.js +7 -0
- package/dist/commands/public-validation-issue.js.map +1 -0
- package/dist/commands/scheduled-log.d.ts +12 -0
- package/dist/commands/scheduled-log.d.ts.map +1 -1
- package/dist/commands/scheduled-log.js +456 -106
- package/dist/commands/scheduled-log.js.map +1 -1
- package/dist/commands/wearables.d.ts +286 -0
- package/dist/commands/wearables.d.ts.map +1 -1
- package/dist/commands/wearables.js +33 -1
- package/dist/commands/wearables.js.map +1 -1
- package/dist/commands/workout-live.d.ts.map +1 -1
- package/dist/commands/workout-live.js +123 -42
- package/dist/commands/workout-live.js.map +1 -1
- package/dist/commands/workout-typed-options.d.ts +38 -0
- package/dist/commands/workout-typed-options.d.ts.map +1 -0
- package/dist/commands/workout-typed-options.js +90 -0
- package/dist/commands/workout-typed-options.js.map +1 -0
- package/dist/commands/workout.d.ts.map +1 -1
- package/dist/commands/workout.js +80 -73
- package/dist/commands/workout.js.map +1 -1
- package/dist/hosted-data-api-labels.d.ts.map +1 -1
- package/dist/hosted-data-api-labels.js +161 -30
- package/dist/hosted-data-api-labels.js.map +1 -1
- package/dist/incur-error-bridge.d.ts.map +1 -1
- package/dist/incur-error-bridge.js +7 -15
- package/dist/incur-error-bridge.js.map +1 -1
- package/dist/incur.generated.d.ts +22 -13
- package/dist/incur.generated.d.ts.map +1 -1
- package/dist/mapbox-address.d.ts.map +1 -1
- package/dist/mapbox-address.js +3 -4
- package/dist/mapbox-address.js.map +1 -1
- package/dist/mapbox-route-client.d.ts +2 -2
- package/dist/mapbox-route-client.d.ts.map +1 -1
- package/dist/mapbox-route-client.js +49 -12
- package/dist/mapbox-route-client.js.map +1 -1
- package/dist/mapbox-route-directions.d.ts.map +1 -1
- package/dist/mapbox-route-directions.js +0 -1
- package/dist/mapbox-route-directions.js.map +1 -1
- package/dist/mapbox-route-elevation.js +0 -1
- package/dist/mapbox-route-elevation.js.map +1 -1
- package/dist/mapbox-route-points.js +0 -2
- package/dist/mapbox-route-points.js.map +1 -1
- package/dist/mapbox-route.d.ts.map +1 -1
- package/dist/mapbox-route.js +1 -1
- package/dist/mapbox-route.js.map +1 -1
- package/dist/vault-cli-command-manifest.d.ts +304 -6
- package/dist/vault-cli-command-manifest.d.ts.map +1 -1
- package/dist/vault-cli-skill-hash.generated.d.ts +1 -1
- package/dist/vault-cli-skill-hash.generated.js +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.js +6 -2
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/README.md +4 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.d.ts +15 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.js +121 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-journal.js +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-journal.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.js +55 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/run-loop.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/run-loop.js +9 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/run-loop.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/shared.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/shared.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/shared.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-contract.generated.json +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.js +7 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/planning.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/planning.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/planning.js +123 -22
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/planning.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn-runner.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn-runner.js +48 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn-runner.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.js +3 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.d.ts +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.js +24 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js +12 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.d.ts +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.js +9 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.d.ts +41 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.js +9 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.js +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.js +26 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/local-service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/local-service.js +687 -370
- package/node_modules/@murphai/assistant-engine/dist/assistant/local-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.js +54 -18
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.d.ts +2 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.js +10 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.js +146 -18
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.d.ts +25 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.js +72 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.js +14 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/store.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/store.js +8 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/store.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.js +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/codex-cli.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/codex-cli.js +25 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/codex-cli.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/helpers.d.ts +11 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/helpers.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/helpers.js +67 -176
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/helpers.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/types.d.ts +17 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/types.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/types.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-delivery-context.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-delivery-context.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-delivery-context.js +10 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-delivery-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.d.ts +19 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.js +76 -40
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-contracts.d.ts +3 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.d.ts +4 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.js +8 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/types.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/types.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store.js +6 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/store.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.js +57 -29
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.js +17 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.d.ts +4 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.js +21 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.js +6 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-input.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-input.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/usage-attribution.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/usage-attribution.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/usage-attribution.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-cli-access.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-cli-access.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-cli-access.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.d.ts +49 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.js +387 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.js +12 -13
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-requests.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-requests.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-requests.js +16 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-requests.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-rpc.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-rpc.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-rpc.js +2 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-rpc.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.js +26 -13
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.d.ts +1024 -1091
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.js +354 -330
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.d.ts +50 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.js +79 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.js +153 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.d.ts +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.js +29 -35
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.d.ts +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.js +43 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.d.ts +6 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.d.ts +60 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.js +91 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.d.ts +41 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.js +85 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.d.ts +25 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.js +280 -89
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/failures.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.js +1 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.d.ts +19 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.js +203 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.d.ts +9 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js +220 -130
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/index.d.ts +2 -1
- package/node_modules/@murphai/assistant-engine/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/index.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/index.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/skills/automatic-meal-capture/SKILL.md +111 -68
- package/node_modules/@murphai/assistant-engine/skills/behavior-followthrough/SKILL.md +0 -2
- package/node_modules/@murphai/assistant-engine/skills/daily-activity/SKILL.md +11 -4
- package/node_modules/@murphai/assistant-engine/skills/food-journal/SKILL.md +83 -22
- package/node_modules/@murphai/assistant-engine/skills/hosted-low-usage/SKILL.md +3 -3
- package/node_modules/@murphai/assistant-engine/skills/murph-family/SKILL.md +1 -1
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/SKILL.md +17 -11
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/daily-nutrition-card-goals.md +62 -34
- package/node_modules/@murphai/assistant-engine/skills/physical-notes/SKILL.md +47 -0
- package/node_modules/@murphai/assistant-engine/skills/shared/exercise-catalog-runtime.md +6 -0
- package/node_modules/@murphai/assistant-engine/skills/signup-link/SKILL.md +1 -1
- package/node_modules/@murphai/assistant-engine/skills/strength-training/SKILL.md +12 -5
- package/node_modules/@murphai/assistant-engine/skills/tracked-table/SKILL.md +156 -66
- package/node_modules/@murphai/core/dist/automation.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/automation.js +17 -9
- package/node_modules/@murphai/core/dist/automation.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts +2 -0
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/bank/habitat.js +27 -0
- package/node_modules/@murphai/core/dist/bank/habitat.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/regimens.js +1 -1
- package/node_modules/@murphai/core/dist/bank/regimens.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/ledger.d.ts +21 -0
- package/node_modules/@murphai/core/dist/domains/events/ledger.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/ledger.js +102 -8
- package/node_modules/@murphai/core/dist/domains/events/ledger.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events.d.ts +2 -2
- package/node_modules/@murphai/core/dist/domains/events.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events.js +1 -1
- package/node_modules/@murphai/core/dist/domains/events.js.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.js +18 -3
- package/node_modules/@murphai/core/dist/history/api.js.map +1 -1
- package/node_modules/@murphai/core/dist/index.d.ts +4 -2
- package/node_modules/@murphai/core/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/index.js +3 -1
- package/node_modules/@murphai/core/dist/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.d.ts +25 -2
- package/node_modules/@murphai/core/dist/mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.js +1588 -78
- package/node_modules/@murphai/core/dist/mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/index.d.ts +1 -1
- package/node_modules/@murphai/core/dist/operations/index.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/operations/index.js +1 -1
- package/node_modules/@murphai/core/dist/operations/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts +2 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.js +7 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.js.map +1 -1
- package/node_modules/@murphai/core/dist/protocols.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/protocols.js +52 -9
- package/node_modules/@murphai/core/dist/protocols.js.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.d.ts +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.js +2 -2
- package/node_modules/@murphai/core/dist/public-mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts +3 -0
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.js +65 -29
- package/node_modules/@murphai/core/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/README.md +140 -46
- package/node_modules/@murphai/device-syncd/dist/client.d.ts +14 -0
- package/node_modules/@murphai/device-syncd/dist/client.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.d.ts +4 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.js +24 -2
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.js +2 -2
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.d.ts +53 -0
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.js +13 -0
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.d.ts +57 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.js +166 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts +43 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js +129 -5
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js +36 -16
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.d.ts +17 -2
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.js +99 -40
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.d.ts +17 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.js +45 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.d.ts +8 -1
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.js +12 -1
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.d.ts +7 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.js +285 -46
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts +9 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js +2045 -367
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts +2 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-account.js +96 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-ingress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js +6 -4
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.d.ts +6 -2
- package/node_modules/@murphai/device-syncd/dist/service.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.js +385 -44
- package/node_modules/@murphai/device-syncd/dist/service.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/source-staleness.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.js +25 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.d.ts +10 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.js +95 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/schema.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/schema.js +25 -3
- package/node_modules/@murphai/device-syncd/dist/store/schema.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sources.d.ts +24 -2
- package/node_modules/@murphai/device-syncd/dist/store/sources.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sources.js +223 -14
- package/node_modules/@murphai/device-syncd/dist/store/sources.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.d.ts +13 -3
- package/node_modules/@murphai/device-syncd/dist/store.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.js +104 -22
- package/node_modules/@murphai/device-syncd/dist/store.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.d.ts +96 -9
- package/node_modules/@murphai/device-syncd/dist/types.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.js +4 -0
- package/node_modules/@murphai/device-syncd/dist/types.js.map +1 -1
- package/node_modules/@murphai/device-syncd/package.json +8 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.js +66 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/body.js +2 -2
- package/node_modules/@murphai/health-metrics/dist/definitions/body.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/normalize.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/normalize.js +3 -0
- package/node_modules/@murphai/health-metrics/dist/normalize.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.d.ts +3 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.js +5 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.d.ts +79 -0
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.js +19 -0
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.js.map +1 -1
- package/node_modules/@murphai/importers/dist/core-port.d.ts +15 -1
- package/node_modules/@murphai/importers/dist/core-port.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/core-port.js.map +1 -1
- package/node_modules/@murphai/importers/dist/create-importers.d.ts +9 -1
- package/node_modules/@murphai/importers/dist/create-importers.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/create-importers.js +12 -2
- package/node_modules/@murphai/importers/dist/create-importers.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts +17 -3
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js +102 -8
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts +5 -4
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.js +4 -3
- package/node_modules/@murphai/importers/dist/device-providers/index.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.d.ts +11 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.js +420 -27
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.d.ts +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.js +7 -2
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.d.ts +4 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.js +42 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.d.ts +79 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.js +356 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction.d.ts +76 -3
- package/node_modules/@murphai/importers/dist/device-providers/junction.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction.js +1676 -347
- package/node_modules/@murphai/importers/dist/device-providers/junction.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts +9 -1
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/index.d.ts +2 -2
- package/node_modules/@murphai/importers/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/index.js +1 -1
- package/node_modules/@murphai/importers/dist/index.js.map +1 -1
- package/node_modules/@murphai/inboxd/README.md +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/retention.d.ts +6 -0
- package/node_modules/@murphai/inboxd/dist/indexing/retention.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/retention.js +64 -18
- package/node_modules/@murphai/inboxd/dist/indexing/retention.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.d.ts +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.js +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.d.ts +1 -0
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.js +5 -0
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.d.ts +175 -152
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.js +62 -41
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-client.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-client.js +1 -5
- package/node_modules/@murphai/operator-config/dist/device-sync-client.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.d.ts +66 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.js +58 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.d.ts +24 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.d.ts.map +1 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.js +219 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.js.map +1 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-errors.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-errors.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.d.ts +9 -0
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.js +48 -5
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.js.map +1 -1
- package/node_modules/@murphai/operator-config/package.json +5 -0
- package/node_modules/@murphai/query/README.md +20 -5
- package/node_modules/@murphai/query/dist/browser-replica/build.d.ts +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/build.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/build.js +25 -16
- package/node_modules/@murphai/query/dist/browser-replica/build.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/json.d.ts +6 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.js +103 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shared.d.ts +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shared.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/source.d.ts +13 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.js +45 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.d.ts +2 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica-server.js +2 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/blood-tests.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/blood-tests.js +3 -2
- package/node_modules/@murphai/query/dist/health/blood-tests.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts +11 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.js +39 -16
- package/node_modules/@murphai/query/dist/health/canonical-collector.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/entity-slices.d.ts +9 -3
- package/node_modules/@murphai/query/dist/health/entity-slices.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/entity-slices.js +6 -6
- package/node_modules/@murphai/query/dist/health/entity-slices.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/immunizations.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/immunizations.js +14 -11
- package/node_modules/@murphai/query/dist/health/immunizations.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/loaders.d.ts +21 -7
- package/node_modules/@murphai/query/dist/health/loaders.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/loaders.js +53 -15
- package/node_modules/@murphai/query/dist/health/loaders.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.d.ts +1 -0
- package/node_modules/@murphai/query/dist/health/registries.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.js.map +1 -1
- package/node_modules/@murphai/query/dist/index.d.ts +4 -3
- package/node_modules/@murphai/query/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/index.js +4 -3
- package/node_modules/@murphai/query/dist/index.js.map +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.d.ts +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.js +10 -3
- package/node_modules/@murphai/query/dist/meal-nutrition.js.map +1 -1
- package/node_modules/@murphai/query/dist/metrics/projection.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/metrics/projection.js +19 -6
- package/node_modules/@murphai/query/dist/metrics/projection.js.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts +5 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.js +22 -8
- package/node_modules/@murphai/query/dist/murph-age.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/entity-store.js +4 -4
- package/node_modules/@murphai/query/dist/projection/entity-store.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.d.ts +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.js +3 -1
- package/node_modules/@murphai/query/dist/projection/schema.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-compose.js +4 -0
- package/node_modules/@murphai/query/dist/projection/wearable-summary-compose.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.js +4 -0
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.js.map +1 -1
- package/node_modules/@murphai/query/dist/query-visibility.d.ts +5 -0
- package/node_modules/@murphai/query/dist/query-visibility.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/query-visibility.js +11 -5
- package/node_modules/@murphai/query/dist/query-visibility.js.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.d.ts +8 -0
- package/node_modules/@murphai/query/dist/read-model.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.js +11 -1
- package/node_modules/@murphai/query/dist/read-model.js.map +1 -1
- package/node_modules/@murphai/query/dist/scheduled-logs.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/scheduled-logs.js +55 -79
- package/node_modules/@murphai/query/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.d.ts +22 -4
- package/node_modules/@murphai/query/dist/vault-source.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.js +188 -59
- package/node_modules/@murphai/query/dist/vault-source.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.js +26 -15
- package/node_modules/@murphai/query/dist/wearables/candidates.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/public-output.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/public-output.js +6 -0
- package/node_modules/@murphai/query/dist/wearables/public-output.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/source-health.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/source-health.js +4 -0
- package/node_modules/@murphai/query/dist/wearables/source-health.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/types.d.ts +41 -4
- package/node_modules/@murphai/query/dist/wearables/types.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/types.js +2 -0
- package/node_modules/@murphai/query/dist/wearables/types.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/workout-features.d.ts +5 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.js +179 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.js.map +1 -0
- package/node_modules/@murphai/query/dist/wearables.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables.js +23 -6
- package/node_modules/@murphai/query/dist/wearables.js.map +1 -1
- package/node_modules/@murphai/query/package.json +5 -0
- package/node_modules/@murphai/runtime-state/README.md +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.d.ts +4 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.js +16 -3
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.d.ts +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js +31 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts +5 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js +10 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.js +6 -15
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/README.md +9 -0
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.d.ts +6 -0
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.js +49 -1
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.js +22 -12
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/clinical-imports.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/clinical-imports.js +1 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/clinical-imports.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/document-meal-read.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/document-meal-read.js +24 -18
- package/node_modules/@murphai/vault-usecases/dist/usecases/document-meal-read.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.js +1 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.d.ts +8 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.js +56 -5
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.d.ts +20 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.js +72 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.d.ts +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.js +42 -9
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.js +158 -24
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.js +98 -5
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.js +20 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.js +49 -24
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.js +13 -11
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.js +18 -11
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.js +43 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js +1 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.d.ts +2 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.js +24 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-format.d.ts +2 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-format.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.d.ts +36 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.js +48 -12
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.d.ts +14 -14
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.js +84 -82
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.d.ts +16 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.js +316 -79
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-read.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-read.js +19 -17
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-read.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.d.ts +20 -7
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.js +56 -31
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.js.map +1 -1
- package/node_modules/incur/dist/Cli.js +7 -32
- package/node_modules/incur/dist/Errors.d.ts +17 -0
- package/node_modules/incur/dist/Errors.js +23 -0
- package/node_modules/incur/dist/internal/command.d.ts +2 -0
- package/node_modules/incur/dist/internal/command.js +2 -6
- package/node_modules/incur/src/Cli.ts +11 -32
- package/node_modules/incur/src/Errors.ts +36 -0
- package/node_modules/incur/src/internal/command.ts +4 -6
- package/package.json +4 -4
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/daily-nutrition-card-safety.md +0 -211
|
@@ -4,7 +4,7 @@ import * as path from 'node:path';
|
|
|
4
4
|
import { estimateTokenCount, sliceByTokens } from 'tokenx';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as Completions from './Completions.js';
|
|
7
|
-
import { IncurError, ParseError, ValidationError } from './Errors.js';
|
|
7
|
+
import { IncurError, ParseError, toErrorEnvelope, ValidationError } from './Errors.js';
|
|
8
8
|
import * as Fetch from './Fetch.js';
|
|
9
9
|
import * as Filter from './Filter.js';
|
|
10
10
|
import * as Formatter from './Formatter.js';
|
|
@@ -970,10 +970,7 @@ async function serveImpl(name, commands, argv, options = {}) {
|
|
|
970
970
|
catch (error) {
|
|
971
971
|
write({
|
|
972
972
|
ok: false,
|
|
973
|
-
error:
|
|
974
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
975
|
-
message: error instanceof Error ? error.message : String(error),
|
|
976
|
-
},
|
|
973
|
+
error: toErrorEnvelope(error),
|
|
977
974
|
meta: { command: path, duration: `${Math.round(performance.now() - start)}ms` },
|
|
978
975
|
});
|
|
979
976
|
exit(error instanceof IncurError ? (error.exitCode ?? 1) : 1);
|
|
@@ -1004,10 +1001,7 @@ async function serveImpl(name, commands, argv, options = {}) {
|
|
|
1004
1001
|
catch (error) {
|
|
1005
1002
|
write({
|
|
1006
1003
|
ok: false,
|
|
1007
|
-
error:
|
|
1008
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
1009
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1010
|
-
},
|
|
1004
|
+
error: toErrorEnvelope(error),
|
|
1011
1005
|
meta: { command: path, duration: `${Math.round(performance.now() - start)}ms` },
|
|
1012
1006
|
});
|
|
1013
1007
|
exit(error instanceof IncurError ? (error.exitCode ?? 1) : 1);
|
|
@@ -1073,14 +1067,7 @@ async function serveImpl(name, commands, argv, options = {}) {
|
|
|
1073
1067
|
}
|
|
1074
1068
|
write({
|
|
1075
1069
|
ok: false,
|
|
1076
|
-
error:
|
|
1077
|
-
code: result.error.code,
|
|
1078
|
-
message: result.error.message,
|
|
1079
|
-
...(result.error.retryable !== undefined
|
|
1080
|
-
? { retryable: result.error.retryable }
|
|
1081
|
-
: undefined),
|
|
1082
|
-
...(result.error.fieldErrors ? { fieldErrors: result.error.fieldErrors } : undefined),
|
|
1083
|
-
},
|
|
1070
|
+
error: result.error,
|
|
1084
1071
|
meta: {
|
|
1085
1072
|
command: path,
|
|
1086
1073
|
duration,
|
|
@@ -1303,13 +1290,7 @@ async function executeCommand(path, command, rest, inputOptions, start, options)
|
|
|
1303
1290
|
const cta = formatCtaBlock(options.name ?? path, result.cta);
|
|
1304
1291
|
return jsonResponse({
|
|
1305
1292
|
ok: false,
|
|
1306
|
-
|
|
1307
|
-
code: result.error.code,
|
|
1308
|
-
message: result.error.message,
|
|
1309
|
-
...(result.error.retryable !== undefined
|
|
1310
|
-
? { retryable: result.error.retryable }
|
|
1311
|
-
: undefined),
|
|
1312
|
-
},
|
|
1293
|
+
error: result.error,
|
|
1313
1294
|
meta: {
|
|
1314
1295
|
command: path,
|
|
1315
1296
|
duration,
|
|
@@ -1874,10 +1855,7 @@ async function handleStreaming(generator, ctx) {
|
|
|
1874
1855
|
ctx.writeln(JSON.stringify({
|
|
1875
1856
|
type: 'error',
|
|
1876
1857
|
ok: false,
|
|
1877
|
-
error:
|
|
1878
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
1879
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1880
|
-
},
|
|
1858
|
+
error: toErrorEnvelope(error),
|
|
1881
1859
|
}));
|
|
1882
1860
|
else
|
|
1883
1861
|
ctx.writeln(formatHumanError({
|
|
@@ -1952,10 +1930,7 @@ async function handleStreaming(generator, ctx) {
|
|
|
1952
1930
|
catch (error) {
|
|
1953
1931
|
ctx.write({
|
|
1954
1932
|
ok: false,
|
|
1955
|
-
error:
|
|
1956
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
1957
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1958
|
-
},
|
|
1933
|
+
error: toErrorEnvelope(error),
|
|
1959
1934
|
meta: {
|
|
1960
1935
|
command: ctx.path,
|
|
1961
1936
|
duration: `${Math.round(performance.now() - ctx.start)}ms`,
|
|
@@ -27,6 +27,10 @@ export declare class IncurError extends BaseError {
|
|
|
27
27
|
code: string;
|
|
28
28
|
/** Actionable hint for the user. */
|
|
29
29
|
hint: string | undefined;
|
|
30
|
+
/** Stable operation stage where the error occurred. */
|
|
31
|
+
stage: string | undefined;
|
|
32
|
+
/** Per-field repair details while preserving the domain error code. */
|
|
33
|
+
fieldErrors: FieldError[];
|
|
30
34
|
/** Whether the operation can be retried. */
|
|
31
35
|
retryable: boolean;
|
|
32
36
|
/** Process exit code. When set, `serve()` uses this instead of `1`. */
|
|
@@ -42,6 +46,10 @@ export declare namespace IncurError {
|
|
|
42
46
|
message: string;
|
|
43
47
|
/** Actionable hint for the user. */
|
|
44
48
|
hint?: string | undefined;
|
|
49
|
+
/** Stable operation stage where the error occurred. */
|
|
50
|
+
stage?: string | undefined;
|
|
51
|
+
/** Per-field repair details while preserving the domain error code. */
|
|
52
|
+
fieldErrors?: FieldError[] | undefined;
|
|
45
53
|
/** Whether the operation can be retried. Defaults to `false`. */
|
|
46
54
|
retryable?: boolean | undefined;
|
|
47
55
|
/** Process exit code. When set, `serve()` uses this instead of `1`. */
|
|
@@ -50,6 +58,15 @@ export declare namespace IncurError {
|
|
|
50
58
|
cause?: Error | undefined;
|
|
51
59
|
};
|
|
52
60
|
}
|
|
61
|
+
/** Converts a thrown value to the shared machine error-envelope shape. */
|
|
62
|
+
export declare function toErrorEnvelope(error: unknown): {
|
|
63
|
+
code: string;
|
|
64
|
+
message: string;
|
|
65
|
+
retryable?: boolean | undefined;
|
|
66
|
+
hint?: string | undefined;
|
|
67
|
+
stage?: string | undefined;
|
|
68
|
+
fieldErrors?: FieldError[] | undefined;
|
|
69
|
+
};
|
|
53
70
|
/** A field-level validation error detail. */
|
|
54
71
|
export type FieldError = {
|
|
55
72
|
/** The Zod issue code. */
|
|
@@ -28,6 +28,10 @@ export class IncurError extends BaseError {
|
|
|
28
28
|
code;
|
|
29
29
|
/** Actionable hint for the user. */
|
|
30
30
|
hint;
|
|
31
|
+
/** Stable operation stage where the error occurred. */
|
|
32
|
+
stage;
|
|
33
|
+
/** Per-field repair details while preserving the domain error code. */
|
|
34
|
+
fieldErrors;
|
|
31
35
|
/** Whether the operation can be retried. */
|
|
32
36
|
retryable;
|
|
33
37
|
/** Process exit code. When set, `serve()` uses this instead of `1`. */
|
|
@@ -36,10 +40,29 @@ export class IncurError extends BaseError {
|
|
|
36
40
|
super(options.message, options.cause ? { cause: options.cause } : undefined);
|
|
37
41
|
this.code = options.code;
|
|
38
42
|
this.hint = options.hint;
|
|
43
|
+
this.stage = options.stage;
|
|
44
|
+
this.fieldErrors = options.fieldErrors ?? [];
|
|
39
45
|
this.retryable = options.retryable ?? false;
|
|
40
46
|
this.exitCode = options.exitCode;
|
|
41
47
|
}
|
|
42
48
|
}
|
|
49
|
+
/** Converts a thrown value to the shared machine error-envelope shape. */
|
|
50
|
+
export function toErrorEnvelope(error) {
|
|
51
|
+
if (!(error instanceof IncurError)) {
|
|
52
|
+
return {
|
|
53
|
+
code: 'UNKNOWN',
|
|
54
|
+
message: error instanceof Error ? error.message : String(error),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
code: error.code,
|
|
59
|
+
message: error.message,
|
|
60
|
+
retryable: error.retryable,
|
|
61
|
+
...(error.hint ? { hint: error.hint } : undefined),
|
|
62
|
+
...(error.stage ? { stage: error.stage } : undefined),
|
|
63
|
+
...(error.fieldErrors.length > 0 ? { fieldErrors: error.fieldErrors } : undefined),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
43
66
|
/** Validation error with per-field error details. */
|
|
44
67
|
export class ValidationError extends BaseError {
|
|
45
68
|
name = 'Incur.ValidationError';
|
|
@@ -56,8 +56,10 @@ export declare namespace execute {
|
|
|
56
56
|
ok: false;
|
|
57
57
|
error: {
|
|
58
58
|
code: string;
|
|
59
|
+
hint?: string | undefined;
|
|
59
60
|
message: string;
|
|
60
61
|
retryable?: boolean | undefined;
|
|
62
|
+
stage?: string | undefined;
|
|
61
63
|
fieldErrors?: FieldError[] | undefined;
|
|
62
64
|
};
|
|
63
65
|
cta?: CtaBlock | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { IncurError, ValidationError } from '../Errors.js';
|
|
2
|
+
import { IncurError, toErrorEnvelope, ValidationError } from '../Errors.js';
|
|
3
3
|
import * as Parser from '../Parser.js';
|
|
4
4
|
/** @internal Sentinel symbol for `ok()` and `error()` return values. */
|
|
5
5
|
const sentinel = Symbol.for('incur.sentinel');
|
|
@@ -175,11 +175,7 @@ export async function execute(command, options) {
|
|
|
175
175
|
};
|
|
176
176
|
return {
|
|
177
177
|
ok: false,
|
|
178
|
-
error:
|
|
179
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
180
|
-
message: error instanceof Error ? error.message : String(error),
|
|
181
|
-
...(error instanceof IncurError ? { retryable: error.retryable } : undefined),
|
|
182
|
-
},
|
|
178
|
+
error: toErrorEnvelope(error),
|
|
183
179
|
...(error instanceof IncurError && error.exitCode !== undefined
|
|
184
180
|
? { exitCode: error.exitCode }
|
|
185
181
|
: undefined),
|
|
@@ -6,7 +6,7 @@ import { z } from 'zod'
|
|
|
6
6
|
|
|
7
7
|
import * as Completions from './Completions.js'
|
|
8
8
|
import type { FieldError } from './Errors.js'
|
|
9
|
-
import { IncurError, ParseError, ValidationError } from './Errors.js'
|
|
9
|
+
import { IncurError, ParseError, toErrorEnvelope, ValidationError } from './Errors.js'
|
|
10
10
|
import * as Fetch from './Fetch.js'
|
|
11
11
|
import * as Filter from './Filter.js'
|
|
12
12
|
import * as Formatter from './Formatter.js'
|
|
@@ -1373,10 +1373,7 @@ async function serveImpl(
|
|
|
1373
1373
|
} catch (error) {
|
|
1374
1374
|
write({
|
|
1375
1375
|
ok: false,
|
|
1376
|
-
error:
|
|
1377
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
1378
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1379
|
-
},
|
|
1376
|
+
error: toErrorEnvelope(error),
|
|
1380
1377
|
meta: { command: path, duration: `${Math.round(performance.now() - start)}ms` },
|
|
1381
1378
|
})
|
|
1382
1379
|
exit(error instanceof IncurError ? (error.exitCode ?? 1) : 1)
|
|
@@ -1414,10 +1411,7 @@ async function serveImpl(
|
|
|
1414
1411
|
} catch (error) {
|
|
1415
1412
|
write({
|
|
1416
1413
|
ok: false,
|
|
1417
|
-
error:
|
|
1418
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
1419
|
-
message: error instanceof Error ? error.message : String(error),
|
|
1420
|
-
},
|
|
1414
|
+
error: toErrorEnvelope(error),
|
|
1421
1415
|
meta: { command: path, duration: `${Math.round(performance.now() - start)}ms` },
|
|
1422
1416
|
})
|
|
1423
1417
|
exit(error instanceof IncurError ? (error.exitCode ?? 1) : 1)
|
|
@@ -1497,14 +1491,7 @@ async function serveImpl(
|
|
|
1497
1491
|
|
|
1498
1492
|
write({
|
|
1499
1493
|
ok: false,
|
|
1500
|
-
error:
|
|
1501
|
-
code: result.error.code,
|
|
1502
|
-
message: result.error.message,
|
|
1503
|
-
...(result.error.retryable !== undefined
|
|
1504
|
-
? { retryable: result.error.retryable }
|
|
1505
|
-
: undefined),
|
|
1506
|
-
...(result.error.fieldErrors ? { fieldErrors: result.error.fieldErrors } : undefined),
|
|
1507
|
-
},
|
|
1494
|
+
error: result.error,
|
|
1508
1495
|
meta: {
|
|
1509
1496
|
command: path,
|
|
1510
1497
|
duration,
|
|
@@ -1824,13 +1811,7 @@ async function executeCommand(
|
|
|
1824
1811
|
return jsonResponse(
|
|
1825
1812
|
{
|
|
1826
1813
|
ok: false,
|
|
1827
|
-
error:
|
|
1828
|
-
code: result.error.code,
|
|
1829
|
-
message: result.error.message,
|
|
1830
|
-
...(result.error.retryable !== undefined
|
|
1831
|
-
? { retryable: result.error.retryable }
|
|
1832
|
-
: undefined),
|
|
1833
|
-
},
|
|
1814
|
+
error: result.error,
|
|
1834
1815
|
meta: {
|
|
1835
1816
|
command: path,
|
|
1836
1817
|
duration,
|
|
@@ -2629,10 +2610,7 @@ async function handleStreaming(
|
|
|
2629
2610
|
JSON.stringify({
|
|
2630
2611
|
type: 'error',
|
|
2631
2612
|
ok: false,
|
|
2632
|
-
error:
|
|
2633
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
2634
|
-
message: error instanceof Error ? error.message : String(error),
|
|
2635
|
-
},
|
|
2613
|
+
error: toErrorEnvelope(error),
|
|
2636
2614
|
}),
|
|
2637
2615
|
)
|
|
2638
2616
|
else
|
|
@@ -2712,10 +2690,7 @@ async function handleStreaming(
|
|
|
2712
2690
|
} catch (error) {
|
|
2713
2691
|
ctx.write({
|
|
2714
2692
|
ok: false,
|
|
2715
|
-
error:
|
|
2716
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
2717
|
-
message: error instanceof Error ? error.message : String(error),
|
|
2718
|
-
},
|
|
2693
|
+
error: toErrorEnvelope(error),
|
|
2719
2694
|
meta: {
|
|
2720
2695
|
command: ctx.path,
|
|
2721
2696
|
duration: `${Math.round(performance.now() - ctx.start)}ms`,
|
|
@@ -2992,10 +2967,14 @@ type Output = OneOf<
|
|
|
2992
2967
|
code: string
|
|
2993
2968
|
/** Per-field validation errors. */
|
|
2994
2969
|
fieldErrors?: FieldError[] | undefined
|
|
2970
|
+
/** Actionable hint for repairing the error. */
|
|
2971
|
+
hint?: string | undefined
|
|
2995
2972
|
/** Human-readable error message. */
|
|
2996
2973
|
message: string
|
|
2997
2974
|
/** Whether the operation can be retried. */
|
|
2998
2975
|
retryable?: boolean | undefined
|
|
2976
|
+
/** Stable operation stage where the error occurred. */
|
|
2977
|
+
stage?: string | undefined
|
|
2999
2978
|
}
|
|
3000
2979
|
/** Request metadata. */
|
|
3001
2980
|
meta: Output.Meta
|
|
@@ -39,6 +39,10 @@ export class IncurError extends BaseError {
|
|
|
39
39
|
code: string
|
|
40
40
|
/** Actionable hint for the user. */
|
|
41
41
|
hint: string | undefined
|
|
42
|
+
/** Stable operation stage where the error occurred. */
|
|
43
|
+
stage: string | undefined
|
|
44
|
+
/** Per-field repair details while preserving the domain error code. */
|
|
45
|
+
fieldErrors: FieldError[]
|
|
42
46
|
/** Whether the operation can be retried. */
|
|
43
47
|
retryable: boolean
|
|
44
48
|
/** Process exit code. When set, `serve()` uses this instead of `1`. */
|
|
@@ -48,6 +52,8 @@ export class IncurError extends BaseError {
|
|
|
48
52
|
super(options.message, options.cause ? { cause: options.cause } : undefined)
|
|
49
53
|
this.code = options.code
|
|
50
54
|
this.hint = options.hint
|
|
55
|
+
this.stage = options.stage
|
|
56
|
+
this.fieldErrors = options.fieldErrors ?? []
|
|
51
57
|
this.retryable = options.retryable ?? false
|
|
52
58
|
this.exitCode = options.exitCode
|
|
53
59
|
}
|
|
@@ -62,6 +68,10 @@ export declare namespace IncurError {
|
|
|
62
68
|
message: string
|
|
63
69
|
/** Actionable hint for the user. */
|
|
64
70
|
hint?: string | undefined
|
|
71
|
+
/** Stable operation stage where the error occurred. */
|
|
72
|
+
stage?: string | undefined
|
|
73
|
+
/** Per-field repair details while preserving the domain error code. */
|
|
74
|
+
fieldErrors?: FieldError[] | undefined
|
|
65
75
|
/** Whether the operation can be retried. Defaults to `false`. */
|
|
66
76
|
retryable?: boolean | undefined
|
|
67
77
|
/** Process exit code. When set, `serve()` uses this instead of `1`. */
|
|
@@ -71,6 +81,32 @@ export declare namespace IncurError {
|
|
|
71
81
|
}
|
|
72
82
|
}
|
|
73
83
|
|
|
84
|
+
/** Converts a thrown value to the shared machine error-envelope shape. */
|
|
85
|
+
export function toErrorEnvelope(error: unknown): {
|
|
86
|
+
code: string
|
|
87
|
+
message: string
|
|
88
|
+
retryable?: boolean | undefined
|
|
89
|
+
hint?: string | undefined
|
|
90
|
+
stage?: string | undefined
|
|
91
|
+
fieldErrors?: FieldError[] | undefined
|
|
92
|
+
} {
|
|
93
|
+
if (!(error instanceof IncurError)) {
|
|
94
|
+
return {
|
|
95
|
+
code: 'UNKNOWN',
|
|
96
|
+
message: error instanceof Error ? error.message : String(error),
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
code: error.code,
|
|
102
|
+
message: error.message,
|
|
103
|
+
retryable: error.retryable,
|
|
104
|
+
...(error.hint ? { hint: error.hint } : undefined),
|
|
105
|
+
...(error.stage ? { stage: error.stage } : undefined),
|
|
106
|
+
...(error.fieldErrors.length > 0 ? { fieldErrors: error.fieldErrors } : undefined),
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
74
110
|
/** A field-level validation error detail. */
|
|
75
111
|
export type FieldError = {
|
|
76
112
|
/** The Zod issue code. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
import type { FieldError } from '../Errors.js'
|
|
4
|
-
import { IncurError, ValidationError } from '../Errors.js'
|
|
4
|
+
import { IncurError, toErrorEnvelope, ValidationError } from '../Errors.js'
|
|
5
5
|
import type { Context as MiddlewareContext, Handler as MiddlewareHandler } from '../middleware.js'
|
|
6
6
|
import * as Parser from '../Parser.js'
|
|
7
7
|
|
|
@@ -238,11 +238,7 @@ export async function execute(command: any, options: execute.Options): Promise<e
|
|
|
238
238
|
}
|
|
239
239
|
return {
|
|
240
240
|
ok: false,
|
|
241
|
-
error:
|
|
242
|
-
code: error instanceof IncurError ? error.code : 'UNKNOWN',
|
|
243
|
-
message: error instanceof Error ? error.message : String(error),
|
|
244
|
-
...(error instanceof IncurError ? { retryable: error.retryable } : undefined),
|
|
245
|
-
},
|
|
241
|
+
error: toErrorEnvelope(error),
|
|
246
242
|
...(error instanceof IncurError && error.exitCode !== undefined
|
|
247
243
|
? { exitCode: error.exitCode }
|
|
248
244
|
: undefined),
|
|
@@ -313,8 +309,10 @@ export declare namespace execute {
|
|
|
313
309
|
ok: false
|
|
314
310
|
error: {
|
|
315
311
|
code: string
|
|
312
|
+
hint?: string | undefined
|
|
316
313
|
message: string
|
|
317
314
|
retryable?: boolean | undefined
|
|
315
|
+
stage?: string | undefined
|
|
318
316
|
fieldErrors?: FieldError[] | undefined
|
|
319
317
|
}
|
|
320
318
|
cta?: CtaBlock | undefined
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@murphai/murph",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Murph is a personal health assistant you run locally. Install this package to get the murph CLI.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"@murphai/assistant-engine": "1.0.0",
|
|
54
54
|
"@murphai/assistantd": "1.0.0",
|
|
55
55
|
"@murphai/clinical-records": "1.0.0",
|
|
56
|
-
"@murphai/contracts": "1.3.
|
|
56
|
+
"@murphai/contracts": "1.3.2",
|
|
57
57
|
"@murphai/core": "1.0.0",
|
|
58
58
|
"@murphai/device-syncd": "1.0.0",
|
|
59
59
|
"@murphai/exercise-library": "1.0.0",
|
|
60
|
-
"@murphai/gateway-core": "1.3.
|
|
60
|
+
"@murphai/gateway-core": "1.3.2",
|
|
61
61
|
"@murphai/health-commons": "1.0.0",
|
|
62
62
|
"@murphai/health-metrics": "1.0.0",
|
|
63
|
-
"@murphai/hosted-execution": "1.3.
|
|
63
|
+
"@murphai/hosted-execution": "1.3.2",
|
|
64
64
|
"@murphai/importers": "1.0.0",
|
|
65
65
|
"@murphai/inbox-services": "1.0.0",
|
|
66
66
|
"@murphai/inboxd": "1.0.0",
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
# Daily nutrition-card safety
|
|
2
|
-
|
|
3
|
-
Read and apply this complete gate before deriving, saving, or surfacing numeric
|
|
4
|
-
nutrition goals, before activating a paused nutrition proposal, and before every
|
|
5
|
-
`daily_nutrition` attachment, including when five accepted active goals already
|
|
6
|
-
exist and during a scheduled closeout. An active goal records prior acceptance;
|
|
7
|
-
it does not prove that numeric guidance is still safe in the member's current
|
|
8
|
-
context.
|
|
9
|
-
|
|
10
|
-
- Reuse already-known conversation and vault context. Do not turn a routine card
|
|
11
|
-
into a universal medical screening checklist, but do not ignore a safety fact
|
|
12
|
-
that is already known or becomes known later. The context snapshot's visible
|
|
13
|
-
condition and medication-regimen rows are navigation only, not proof that the
|
|
14
|
-
canonical active sets are complete, and it does not inject the complete
|
|
15
|
-
canonical memory document.
|
|
16
|
-
- As part of the same gate, run `vault-cli memory show --format json` and inspect
|
|
17
|
-
the complete Identity, Preferences, Instructions, and Context memory document
|
|
18
|
-
for explicit, unambiguous facts relevant to the exclusions below. Reuse an
|
|
19
|
-
identical current-turn result. A clearly current saved age under 18, or a
|
|
20
|
-
clearly current saved intuitive-eating or number-sensitive preference,
|
|
21
|
-
suppresses numeric setup, proposal presentation, every Goal write or
|
|
22
|
-
activation, and every card. Missing, stale, ambiguous, or conflicting age is
|
|
23
|
-
unavailable evidence, not a universal block. On an interactive request, ask
|
|
24
|
-
one narrow age question only when it is necessary to resolve a decision that
|
|
25
|
-
would otherwise change; a scheduled occurrence asks no question. If the
|
|
26
|
-
memory read fails or is unreadable, fail closed with ordinary non-numeric
|
|
27
|
-
text, no Goal or measurement mutation, and no card. Leave an existing paused
|
|
28
|
-
proposal unchanged.
|
|
29
|
-
- Before deriving, saving, or surfacing numeric nutrition goals and before every
|
|
30
|
-
goal-aware card, run both `vault-cli condition list --status active --limit 200
|
|
31
|
-
--format json` and `vault-cli regimen list --status active --limit 200 --format
|
|
32
|
-
json`. Reuse identical current-turn results. If either list fails or returns
|
|
33
|
-
exactly 200 records, canonical safety discovery may be incomplete: fail closed
|
|
34
|
-
with ordinary non-numeric text, no Goal or measurement mutation, and no card.
|
|
35
|
-
Run no condition or regimen detail reads for a saturated pair. Otherwise, run
|
|
36
|
-
`vault-cli condition show <condition-id> --format json` for every returned
|
|
37
|
-
active condition and `vault-cli regimen show <regimen-id> --format json` for
|
|
38
|
-
every returned active regimen. Inspect the complete detail sets before applying
|
|
39
|
-
the exclusions below; never select records by title, substance, severity,
|
|
40
|
-
context-snapshot visibility, or the default list prefix. If any required detail
|
|
41
|
-
read fails or is unreadable, use the same fail-closed behavior. A scheduled
|
|
42
|
-
occurrence asks no question when this read is unavailable or suppresses numeric
|
|
43
|
-
output.
|
|
44
|
-
- Also run `vault-cli event list --kind procedure --limit 200 --format json`
|
|
45
|
-
and inspect every returned canonical procedure item before numeric setup,
|
|
46
|
-
proposal presentation, Goal mutation or activation, and every card. Reuse an
|
|
47
|
-
identical current-turn result. If the list fails, is unreadable, or returns
|
|
48
|
-
exactly 200 records, discovery may be incomplete: fail closed with ordinary
|
|
49
|
-
non-numeric text, no Goal or measurement mutation, and no card. Run no
|
|
50
|
-
procedure detail reads for a saturated list. Otherwise, the list preserves
|
|
51
|
-
scalar `data.procedure` and `data.status`; when either field is missing or
|
|
52
|
-
visibly truncated, run `vault-cli event show <event-id> --format json` for
|
|
53
|
-
that item before deciding. If a required detail read fails or is unreadable,
|
|
54
|
-
use the same fail-closed behavior. An explicit `completed` status together
|
|
55
|
-
with an explicit bariatric procedure—such as gastric bypass or Roux-en-Y,
|
|
56
|
-
sleeve gastrectomy or gastric sleeve, biliopancreatic diversion or duodenal
|
|
57
|
-
switch, adjustable gastric band or lap band, or bariatric surgery—proves
|
|
58
|
-
post-bariatric context and suppresses numeric setup, proposal presentation,
|
|
59
|
-
every Goal write or activation, and every card. `ordered`, `planned`, or
|
|
60
|
-
`cancelled` status, an unknown or ambiguous status, and an unrelated procedure
|
|
61
|
-
are not proof of post-bariatric care and do not suppress by themselves.
|
|
62
|
-
Missing procedure records are unavailable evidence, not proof that no
|
|
63
|
-
procedure occurred and not a universal block. A scheduled occurrence asks no
|
|
64
|
-
question and performs no mutation when this read is unavailable or suppresses
|
|
65
|
-
numeric output.
|
|
66
|
-
- Also run `vault-cli event list --kind encounter --limit 200 --format json`
|
|
67
|
-
and inspect every returned canonical encounter item before numeric setup,
|
|
68
|
-
proposal presentation, Goal mutation or activation, and every card. Reuse an
|
|
69
|
-
identical current-turn result. If the list fails, is unreadable, or returns
|
|
70
|
-
exactly 200 records, discovery may be incomplete: fail closed with ordinary
|
|
71
|
-
non-numeric text, no Goal or measurement mutation, and no card. Run no
|
|
72
|
-
encounter detail reads for a saturated list. Otherwise, for every item whose
|
|
73
|
-
list data reports a nonzero `diagnosesCount`, run `vault-cli event show
|
|
74
|
-
<event-id> --format json` and inspect every complete diagnosis entry; never
|
|
75
|
-
select encounters by title, visit type, context-snapshot visibility, or the
|
|
76
|
-
default list prefix. If any required detail read fails or is unreadable, use
|
|
77
|
-
the same fail-closed behavior. A safety-relevant diagnosis with explicit
|
|
78
|
-
`active` status and `documented` or `suspected` certainty is current
|
|
79
|
-
suppressing evidence. This includes the exclusions below, such as kidney,
|
|
80
|
-
advanced liver, significant heart, relevant endocrine, pregnancy,
|
|
81
|
-
eating-disorder or RED-S, underweight, frailty, or malnutrition context. If a
|
|
82
|
-
safety-relevant diagnosis has missing or `unknown` status or certainty and
|
|
83
|
-
its current meaning cannot be resolved safely, fail closed. `inactive`,
|
|
84
|
-
`resolved`, `history`, or `rule_out` status, `ruled_out` certainty, and an
|
|
85
|
-
unrelated diagnosis do not prove a current exclusion by themselves. Missing
|
|
86
|
-
encounter diagnoses are unavailable evidence, not proof that no exclusion
|
|
87
|
-
exists and not a universal block. A scheduled occurrence asks no question
|
|
88
|
-
and performs no mutation when this read is unavailable, unresolved, or
|
|
89
|
-
suppresses numeric output.
|
|
90
|
-
- As part of the same pre-numeric and pre-activation gate, run one bounded
|
|
91
|
-
lossless canonical-entry read for the current local date: `vault-cli
|
|
92
|
-
measurement entry list --metric bmi --metric height
|
|
93
|
-
--metric weight --metric body-weight --from <45-days-before-today> --to
|
|
94
|
-
<today> --limit 200 --format json`. Reuse an identical current-turn result
|
|
95
|
-
instead of repeating it. Resolve only the newest unambiguous evidence inside
|
|
96
|
-
that window: either a direct `bmi` row whose unit is canonically equivalent to
|
|
97
|
-
`kg/m^2` (including `kg/m2` and `kg_m2`), or height and weight rows that share
|
|
98
|
-
the same `eventId` and have units that can be converted unambiguously. Do not
|
|
99
|
-
combine height and weight from different events or dates, and do not use
|
|
100
|
-
stale, malformed, conflicting, or unit-ambiguous values.
|
|
101
|
-
A usable adult BMI below 18.5 suppresses numeric goals, every Goal write or
|
|
102
|
-
activation, and the card. If the read fails, or a 200-record result is
|
|
103
|
-
saturated without resolving whether usable BMI evidence is present, fail
|
|
104
|
-
closed for numeric setup, proposal presentation, Goal mutation, activation,
|
|
105
|
-
and card presentation. Leave an existing paused proposal unchanged and use
|
|
106
|
-
ordinary non-numeric text. Otherwise missing measurements are unavailable
|
|
107
|
-
evidence, not a universal block. Never ask a scheduled occurrence for these
|
|
108
|
-
measurements and never mutate measurement records during this check.
|
|
109
|
-
- Separately run `vault-cli measurement entry list --metric pregnancy-test
|
|
110
|
-
--from <300-days-before-today> --to <today> --limit 200 --format json`.
|
|
111
|
-
Reuse an identical current-turn result. The 300-day product window is a
|
|
112
|
-
conservative buffer over [ACOG's average 280-day pregnancy
|
|
113
|
-
length](https://www.acog.org/womens-health/faqs/when-pregnancy-goes-past-your-due-date);
|
|
114
|
-
older rows are stale for this gate. Treat a row as an explicit positive only
|
|
115
|
-
when its metric is exactly `pregnancy-test`, its unit is exactly `result`, its
|
|
116
|
-
numeric value is exactly `1`, and its `qualifiers.result` string is `positive`
|
|
117
|
-
after case and surrounding-whitespace normalization. Any explicit positive in the
|
|
118
|
-
window suppresses numeric setup, proposal presentation, every Goal write or
|
|
119
|
-
activation, and every card. It takes precedence over negative evidence in the
|
|
120
|
-
same window, including a later negative from either pregnancy-evidence owner;
|
|
121
|
-
a negative test is not strong enough to erase the positive safety signal.
|
|
122
|
-
Missing, negative, stale,
|
|
123
|
-
indeterminate, malformed, or qualifier/value-conflicting rows are unavailable
|
|
124
|
-
evidence, not proof that the member is not pregnant and not a universal
|
|
125
|
-
block. If this read fails, is unreadable, or returns exactly 200 records, fail
|
|
126
|
-
closed with ordinary non-numeric text, no Goal or measurement mutation, and
|
|
127
|
-
no card; leave an existing paused proposal unchanged. Never ask a scheduled
|
|
128
|
-
occurrence about the result, and never diagnose pregnancy from this gate.
|
|
129
|
-
- Also run `vault-cli event list --kind test --from
|
|
130
|
-
<300-days-before-today> --to <today> --limit 200 --format json` before numeric
|
|
131
|
-
setup, proposal presentation, Goal mutation or activation, and every card.
|
|
132
|
-
Reuse an identical current-turn result. If the list fails, is unreadable, or
|
|
133
|
-
returns exactly 200 records, fail closed with ordinary non-numeric text, no
|
|
134
|
-
Goal or measurement mutation, and no card; run no detail reads for a
|
|
135
|
-
saturated list. Otherwise run `vault-cli event show <event-id> --format json`
|
|
136
|
-
for every returned test, because generic list output compacts structured
|
|
137
|
-
`results` to `resultsCount` and can truncate summaries. If any required detail
|
|
138
|
-
read fails or is unreadable, use the same fail-closed behavior. Never select
|
|
139
|
-
tests by title, context-snapshot visibility, `resultsCount`, or the default
|
|
140
|
-
list prefix.
|
|
141
|
-
Inspect the complete `testName`, `resultStatus`, optional `summary`, and every
|
|
142
|
-
structured result's `analyte` and optional `textValue`. Treat a test event as
|
|
143
|
-
explicit positive pregnancy evidence only when all of these are true: its
|
|
144
|
-
result status is not `pending`; either the test name identifies a urine/serum
|
|
145
|
-
pregnancy or hCG test, or a structured result analyte identifies pregnancy,
|
|
146
|
-
hCG, beta-hCG, or human chorionic gonadotropin; and the matching result
|
|
147
|
-
`textValue` or an unambiguously test-level summary explicitly says
|
|
148
|
-
`positive`, `detected`, or `pregnant` after case, punctuation, and
|
|
149
|
-
surrounding-whitespace normalization.
|
|
150
|
-
Canonical `resultStatus` classifies the result rather than the source report's
|
|
151
|
-
lifecycle, so `unknown` does not prove that a test is unfinished and may
|
|
152
|
-
qualify only when the same strict test identity and explicit textual result
|
|
153
|
-
rules pass. `pending` is unfinished and never qualifies, even if preliminary
|
|
154
|
-
text says positive.
|
|
155
|
-
A simple labeled phrase such as `Pregnancy test: positive` is explicit; a
|
|
156
|
-
negated, qualified, or otherwise ambiguous phrase is not. Do not infer
|
|
157
|
-
pregnancy from a numeric hCG value, reference range, `abnormal` or `unknown`
|
|
158
|
-
status/flag alone, test title, or non-result note alone. Any explicit positive
|
|
159
|
-
within the window suppresses numeric setup, proposal presentation, every Goal
|
|
160
|
-
write or activation, and every card, and wins over negative evidence from
|
|
161
|
-
either pregnancy-evidence owner in the same window. Missing, negative, pending,
|
|
162
|
-
indeterminate, numeric-only, stale, unrelated, or ambiguous test evidence is
|
|
163
|
-
unavailable rather than proof of non-pregnancy and is not a universal block.
|
|
164
|
-
Leave an existing paused proposal unchanged. A scheduled occurrence asks no
|
|
165
|
-
question, performs no mutation, attaches no card, and never diagnoses
|
|
166
|
-
pregnancy from this gate.
|
|
167
|
-
- Do not derive, save, or surface numeric goals, and do not attach a goal-aware
|
|
168
|
-
card, for clearly current intuitive-eating or number-sensitive contexts;
|
|
169
|
-
known or suspected
|
|
170
|
-
eating disorder, severe restriction, purging, compulsive exercise, rapid or
|
|
171
|
-
unexplained weight change, under-fueling or RED-S concern; known underweight
|
|
172
|
-
(including adult BMI below 18.5 when current height and weight are available),
|
|
173
|
-
frailty, or malnutrition risk; anyone under 18; pregnancy or breastfeeding;
|
|
174
|
-
glucose-lowering medication; kidney disease, advanced liver disease,
|
|
175
|
-
significant heart disease, relevant endocrine disease, post-bariatric care,
|
|
176
|
-
a therapeutic diet, or another clinician-managed nutrition context.
|
|
177
|
-
- Treat a calorie target below 1,200 kcal/day as outside this product's
|
|
178
|
-
self-directed numeric-card boundary. This applies both to an active canonical
|
|
179
|
-
target at card time and to an adjusted or rounded derived result before any
|
|
180
|
-
Goal write. For an existing target, first require that the containing Goal
|
|
181
|
-
window and target-level dates include the exact card `localDate`; an
|
|
182
|
-
out-of-window target must neither trigger nor satisfy this gate. Evaluate the
|
|
183
|
-
boundary only for an exact point `dietary-calories` target in canonical
|
|
184
|
-
`kcal`: its selected-value comparator must be `between` with identical
|
|
185
|
-
numeric `value` and `highValue`. A one-sided threshold, non-identical range,
|
|
186
|
-
or calorie target in any other unit makes the point-target card bundle
|
|
187
|
-
incompatible. Never compare a threshold bound or incompatible raw number
|
|
188
|
-
with 1,200, copy it as calories, convert it ad hoc, or use it for macro
|
|
189
|
-
derivation. In particular, a calorie threshold whose satisfying range
|
|
190
|
-
includes intake below 1,200 cannot authorize numeric self-directed card
|
|
191
|
-
feedback. Suppress the card and make no managed Goal mutation. Do not raise a
|
|
192
|
-
compatible low point target to the boundary and continue; stop numeric setup,
|
|
193
|
-
keep ordinary supportive text, and use the body-composition or qualified-care
|
|
194
|
-
owner when the member wants help with the underlying direction. This is a
|
|
195
|
-
conservative product guard, not a claim that 1,200 kcal is appropriate for
|
|
196
|
-
every adult.
|
|
197
|
-
- When this gate suppresses a card, keep the owning skill's non-numeric or
|
|
198
|
-
clinical path. Do not expose stored targets or their assessments in card or
|
|
199
|
-
fallback text, and do not mutate a Goal merely because the current context
|
|
200
|
-
suppresses presentation.
|
|
201
|
-
- A scheduled occurrence never gains authority to ask safety-profile questions,
|
|
202
|
-
solicit target inputs, activate a proposal, or attach a card from provisional
|
|
203
|
-
targets. The owning automatic-meal-capture skill has one narrower exception:
|
|
204
|
-
after this complete gate passes, its first eligible managed closeout may use
|
|
205
|
-
already-known responsible inputs to create and explain one paused proposal
|
|
206
|
-
when complete all-status Goal discovery proves that the managed Goal has
|
|
207
|
-
never existed. Every later scheduled occurrence remains card-time-only and
|
|
208
|
-
may not create, change, or automatically repeat a numeric proposal.
|
|
209
|
-
- On an explicit interactive request, explain the non-numeric boundary briefly
|
|
210
|
-
when useful and answer through the owning safe path. Do not use the request
|
|
211
|
-
itself as evidence that the safety gate passed.
|