@murphai/murph 1.2.0 → 1.2.4
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 +1303 -0
- package/config.schema.json +412 -50
- package/dist/cli-entry.d.ts.map +1 -1
- package/dist/cli-entry.js +13 -20
- package/dist/cli-entry.js.map +1 -1
- package/dist/commands/audit-command-helpers.js.map +1 -1
- package/dist/commands/audit.js +2 -2
- package/dist/commands/automation.d.ts +118 -7
- package/dist/commands/automation.d.ts.map +1 -1
- package/dist/commands/automation.js +140 -54
- package/dist/commands/automation.js.map +1 -1
- package/dist/commands/batch.d.ts.map +1 -1
- package/dist/commands/batch.js +12 -4
- package/dist/commands/batch.js.map +1 -1
- package/dist/commands/capture.d.ts +9 -9
- package/dist/commands/capture.d.ts.map +1 -1
- package/dist/commands/clinical-imports.d.ts +101 -101
- package/dist/commands/command-factory-primitives.d.ts +3 -3
- package/dist/commands/command-factory-primitives.d.ts.map +1 -1
- package/dist/commands/command-factory-primitives.js +1 -1
- package/dist/commands/commons.d.ts +9 -9
- package/dist/commands/document.d.ts.map +1 -1
- package/dist/commands/document.js +3 -0
- package/dist/commands/document.js.map +1 -1
- package/dist/commands/encounter.d.ts +42 -42
- package/dist/commands/encounter.d.ts.map +1 -1
- package/dist/commands/event.js +1 -1
- package/dist/commands/exercise.js.map +1 -1
- package/dist/commands/experiment.d.ts.map +1 -1
- package/dist/commands/experiment.js +1 -0
- package/dist/commands/experiment.js.map +1 -1
- package/dist/commands/export-intake-read-helpers.d.ts +4 -4
- package/dist/commands/export-intake-read-helpers.d.ts.map +1 -1
- package/dist/commands/export-intake-read-helpers.js +1 -1
- package/dist/commands/export-intake-read-helpers.js.map +1 -1
- package/dist/commands/export.js +1 -1
- package/dist/commands/food.d.ts +4 -4
- package/dist/commands/food.js +1 -1
- package/dist/commands/group.d.ts +81 -0
- package/dist/commands/group.d.ts.map +1 -0
- package/dist/commands/group.js +242 -0
- package/dist/commands/group.js.map +1 -0
- package/dist/commands/habitat.d.ts +3 -0
- package/dist/commands/habitat.d.ts.map +1 -0
- package/dist/commands/habitat.js +282 -0
- package/dist/commands/habitat.js.map +1 -0
- package/dist/commands/health-allergy-save.d.ts.map +1 -1
- package/dist/commands/health-allergy-save.js +1 -1
- package/dist/commands/health-allergy-save.js.map +1 -1
- package/dist/commands/health-condition-save.d.ts.map +1 -1
- package/dist/commands/health-condition-save.js +1 -1
- package/dist/commands/health-condition-save.js.map +1 -1
- package/dist/commands/health-goal-save.d.ts.map +1 -1
- package/dist/commands/health-goal-save.js +1 -1
- package/dist/commands/health-goal-save.js.map +1 -1
- package/dist/commands/intake.js +1 -1
- package/dist/commands/intervention.d.ts.map +1 -1
- package/dist/commands/intervention.js +10 -0
- package/dist/commands/intervention.js.map +1 -1
- package/dist/commands/knowledge.js +2 -2
- package/dist/commands/measurement.d.ts +7 -7
- package/dist/commands/measurement.d.ts.map +1 -1
- package/dist/commands/medication.d.ts +3 -3
- package/dist/commands/memory.d.ts.map +1 -1
- package/dist/commands/memory.js +26 -2
- package/dist/commands/memory.js.map +1 -1
- package/dist/commands/model.js.map +1 -1
- package/dist/commands/murph-age.d.ts +499 -498
- package/dist/commands/murph-age.d.ts.map +1 -1
- package/dist/commands/murph-age.js +3 -2
- package/dist/commands/murph-age.js.map +1 -1
- package/dist/commands/payload-schema-command.d.ts +1 -1
- package/dist/commands/protocol.js +2 -2
- package/dist/commands/provider.js +1 -1
- package/dist/commands/recipe.js +1 -1
- package/dist/commands/record-mutation-command-helpers.d.ts +3 -3
- package/dist/commands/record-mutation-command-helpers.d.ts.map +1 -1
- package/dist/commands/research.js.map +1 -1
- package/dist/commands/sample-batch-command-helpers.js.map +1 -1
- package/dist/commands/sample-import-command-helpers.d.ts.map +1 -1
- package/dist/commands/sample-query-command-helpers.d.ts +1 -1
- package/dist/commands/sample-query-command-helpers.d.ts.map +1 -1
- package/dist/commands/sample-query-command-helpers.js.map +1 -1
- package/dist/commands/samples.js +2 -2
- package/dist/commands/scheduled-log.d.ts +127 -275
- package/dist/commands/scheduled-log.d.ts.map +1 -1
- package/dist/commands/scheduled-log.js +28 -3
- package/dist/commands/scheduled-log.js.map +1 -1
- package/dist/commands/search.js +1 -1
- package/dist/commands/supplement.js +1 -1
- package/dist/commands/vault.d.ts +2 -1
- package/dist/commands/vault.d.ts.map +1 -1
- package/dist/commands/vault.js +111 -1
- package/dist/commands/vault.js.map +1 -1
- package/dist/commands/wearables.d.ts +695 -667
- package/dist/commands/wearables.d.ts.map +1 -1
- package/dist/commands/wearables.js +10 -3
- package/dist/commands/wearables.js.map +1 -1
- package/dist/commands/workout.d.ts.map +1 -1
- package/dist/commands/workout.js +9 -2
- package/dist/commands/workout.js.map +1 -1
- package/dist/device-services.d.ts.map +1 -1
- package/dist/device-services.js +33 -8
- package/dist/device-services.js.map +1 -1
- package/dist/food-labels.d.ts +39 -39
- package/dist/food-labels.js.map +1 -1
- package/dist/foreground-terminal-logging.js.map +1 -1
- package/dist/hosted-data-api-labels.d.ts +117 -117
- package/dist/hosted-data-api-labels.js.map +1 -1
- package/dist/incur.generated.d.ts +93 -0
- package/dist/incur.generated.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/mapbox-route-contracts.d.ts +13 -13
- package/dist/mapbox-route-contracts.d.ts.map +1 -1
- package/dist/mapbox-route.js.map +1 -1
- package/dist/research-scout-client.js.map +1 -1
- package/dist/supplement-labels.d.ts +39 -39
- package/dist/supplement-labels.js.map +1 -1
- package/dist/vault-cli-command-manifest.d.ts +1451 -1478
- package/dist/vault-cli-command-manifest.d.ts.map +1 -1
- package/dist/vault-cli-command-manifest.js +80 -2
- package/dist/vault-cli-command-manifest.js.map +1 -1
- package/dist/vault-cli-command-routing.d.ts.map +1 -1
- package/dist/vault-cli-command-routing.js +79 -2
- package/dist/vault-cli-command-routing.js.map +1 -1
- package/dist/vault-cli-package.d.ts +1 -1
- package/dist/vault-cli-package.d.ts.map +1 -1
- package/dist/vault-cli-package.js.map +1 -1
- package/dist/vault-cli-routing.d.ts +4 -1
- package/dist/vault-cli-routing.d.ts.map +1 -1
- package/dist/vault-cli-routing.js +45 -5
- package/dist/vault-cli-routing.js.map +1 -1
- package/dist/vault-cli-shell.d.ts +3 -1
- package/dist/vault-cli-shell.d.ts.map +1 -1
- package/dist/vault-cli-shell.js +4 -1
- package/dist/vault-cli-shell.js.map +1 -1
- package/dist/vault-cli-skill-hash.generated.d.ts +2 -0
- package/dist/vault-cli-skill-hash.generated.d.ts.map +1 -0
- package/dist/vault-cli-skill-hash.generated.js +3 -0
- package/dist/vault-cli-skill-hash.generated.js.map +1 -0
- package/dist/vault-cli-vault-context.js.map +1 -1
- package/dist/vault-cli.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/automation/run-loop.d.ts +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/doctor-security.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/doctor.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/service.d.ts +24 -22
- package/node_modules/@murphai/assistant-cli/dist/assistant/service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/stop.d.ts +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/store.d.ts +3 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/store.js +5 -2
- package/node_modules/@murphai/assistant-cli/dist/assistant/store.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-composer-panel.d.ts +4 -4
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-composer-panel.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-layout.d.ts +9 -9
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-layout.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-message-text.d.ts +4 -4
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-message-text.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-message-text.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-transcript.d.ts +4 -4
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink-transcript.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/theme.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/view-model.d.ts +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/view-model.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant-daemon-client.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant-daemon-client.js +2 -2
- package/node_modules/@murphai/assistant-cli/dist/assistant-daemon-client.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/commands/assistant.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/commands/assistant.js +52 -7
- package/node_modules/@murphai/assistant-cli/dist/commands/assistant.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/run-terminal-logging.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/README.md +55 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-experiment-context.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-experiment-context.js +36 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-experiment-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.d.ts +10 -0
- 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 +89 -7
- 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.d.ts +36 -36
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-journal.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.d.ts +32 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js +347 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-artifact-paths.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-artifact-paths.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-evidence-model.d.ts +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-evidence-model.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-evidence-model.js +163 -42
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-evidence-model.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/evidence.d.ts +3 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/evidence.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/evidence.js +8 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/evidence.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/grouping.d.ts +2 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/grouping.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/grouping.js +11 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/grouping.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/input-summary.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/input-summary.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/input-summary.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/input-summary.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/operation-scope.d.ts +11 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/operation-scope.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/operation-scope.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/operation-scope.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/prompt-builder.d.ts +18 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/prompt-builder.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/prompt-builder.js +66 -16
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/prompt-builder.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.d.ts +26 -8
- 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 +644 -158
- 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 +15 -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 +90 -29
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/run-loop.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/scanner.d.ts +6 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/scanner.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/scanner.js +18 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/scanner.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/shared.d.ts +9 -1
- 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/automation/target-override.d.ts +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.js +30 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/turn-envelope.d.ts +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/turn-envelope.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/turn-envelope.js +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/turn-envelope.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.d.ts +5 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.js +3 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/bindings.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/bindings.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/bindings.js +22 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/bindings.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-adapters.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-adapters.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-adapters.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-adapters.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-typing.d.ts +4 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-typing.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-typing.js +51 -18
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-typing.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/descriptors.js +87 -49
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/descriptors.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/helpers.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/helpers.js +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/helpers.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/runtime.d.ts +2 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/runtime.js +80 -61
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/runtime.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/types.d.ts +31 -20
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/types.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/types.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-bootstrap.d.ts +5 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-bootstrap.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-bootstrap.js +95 -228
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-bootstrap.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-contract.generated.json +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cli-surface-manifest.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-contract-fingerprint.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-resume-binding.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-resume-binding.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-resume-binding.js +24 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-resume-binding.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-thread-route.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-thread-route.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-thread-route.js +26 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-thread-route.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/attempt-observability.d.ts +0 -29
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/attempt-observability.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/attempt-observability.js +50 -129
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/attempt-observability.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn/planning.d.ts +22 -19
- 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 +186 -109
- 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 +9 -8
- 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 +42 -73
- 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.d.ts +3 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.js +83 -91
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-policy.d.ts +4 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-policy.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-policy.js +48 -11
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-policy.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/canonical-jobs.d.ts +3 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/canonical-jobs.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/canonical-jobs.js +33 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/canonical-jobs.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/delivery-reconciliation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/delivery-reconciliation.js +38 -31
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/delivery-reconciliation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.d.ts +47 -6
- 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 +881 -117
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js +84 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/scheduled-log.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/scheduled-log.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/scheduled-log.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/scheduled-log.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/store.d.ts +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/store.js +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/store.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.d.ts +7 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.js +27 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.d.ts +9 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.js +134 -65
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.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 +131 -22
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-automations.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-automations.js +58 -90
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.js +9 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/diagnostics.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/diagnostics.js +6 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/diagnostics.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.d.ts +43 -3
- 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 +79 -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 +5 -3
- 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 +73 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/fault-injection.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/first-contact-welcome.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/first-contact-welcome.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/generate-cli-surface-contract.js +1 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/generate-cli-surface-contract.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-context-diagnostics.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-context-diagnostics.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-context-diagnostics.js +0 -27
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-context-diagnostics.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-mailbox-input-items.d.ts +22 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-mailbox-input-items.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-mailbox-input-items.js +78 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-mailbox-input-items.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.d.ts +46 -3
- 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 +47 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-turn-timing.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-turn-timing.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-turn-timing.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-turn-timing.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/inbox-attachment-evidence.js +23 -12
- package/node_modules/@murphai/assistant-engine/dist/assistant/inbox-attachment-evidence.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-source.d.ts +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-source.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-source.js +37 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-source.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-store.d.ts +109 -44
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-store.js +46 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-store.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 +335 -120
- package/node_modules/@murphai/assistant-engine/dist/assistant/local-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.d.ts +7 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.js +101 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.d.ts +69 -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 +234 -49
- 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 +1 -1
- 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 +3 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.d.ts +12 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.js +294 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.d.ts +20 -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 +556 -113
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-automation.js +11 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/operator-authority.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/operator-authority.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.js +132 -21
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/ordering.d.ts +7 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/ordering.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/ordering.js +140 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/ordering.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/retry-policy.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/retry-policy.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/retry-policy.js +79 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/retry-policy.js.map +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 +28 -2
- 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 +20 -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 +154 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/progress-constants.d.ts +7 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/progress-constants.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/progress-constants.js +16 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/progress-constants.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-progress.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-progress.d.ts.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 +55 -173
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/helpers.js +5 -3
- 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 +24 -25
- 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/receipts.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/receipts.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-bubbles.d.ts +6 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-bubbles.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-bubbles.js +47 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-bubbles.js.map +1 -0
- 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 +8 -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-budget-policy.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-budgets.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-budgets.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-budgets.js +92 -40
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-budgets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.d.ts +3 -0
- 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 +107 -37
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-write-lock.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-write-lock.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-write-lock.js +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-write-lock.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-contracts.d.ts +15 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-turn-routes.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-turn-routes.js +11 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-turn-routes.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.d.ts +2 -0
- 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 +9 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service.d.ts +29 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service.js +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.js +81 -13
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-write-lock.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-write-lock.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-write-lock.js +35 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-write-lock.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/status.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/status.js +36 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant/status.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/paths.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/paths.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/paths.js +23 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/paths.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/persistence.d.ts +6 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/persistence.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/persistence.js +137 -16
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/persistence.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 +6 -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 +94 -22
- 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 +16 -6
- 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 +546 -230
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/transcript-audit.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.d.ts +16 -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 +58 -10
- 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 +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-input.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-input.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-plan.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-plan.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-plan.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-progress.d.ts +3 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-progress.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-progress.js +29 -22
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-progress.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.d.ts +7 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.js +33 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.js.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/vault-file-send.d.ts +12 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/vault-file-send.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/vault-file-send.js +53 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/vault-file-send.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.d.ts +70 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js +218 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-adapters.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-adapters.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-adapters.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-adapters.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-runtime.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-runtime.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-runtime.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 +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-cli-access.js.map +1 -1
- 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 +25 -1
- 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 +5 -0
- 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 +12 -5
- 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/dynamic-tools/assistant-style.d.ts +82 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.js +190 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/connected-apps.d.ts +18 -18
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/connected-apps.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/connected-apps.js +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/connected-apps.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-song.d.ts +8 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-song.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-song.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-song.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-voice-memo.d.ts +10 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-voice-memo.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/phone-calls.d.ts +4 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/phone-calls.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/phone-calls.js +17 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/phone-calls.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.d.ts +1273 -268
- 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 +1724 -34
- 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.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/failures.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/failures.js +4 -13
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/failures.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-image-tool.d.ts +3 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-image-tool.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-image-tool.js +352 -74
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-image-tool.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-voice-memo-tool.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-voice-memo-tool.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-voice-memo-tool.js +6 -12
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/generate-voice-memo-tool.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/image-reference-resolver.d.ts +2 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/image-reference-resolver.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/image-reference-resolver.js +89 -39
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/image-reference-resolver.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.js +4 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.js +1 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.d.ts +23 -15
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js +868 -533
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-service.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-service.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.d.ts +140 -48
- 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 +118 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-env.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.d.ts +17 -17
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/codex-lifecycle.d.ts +3 -1
- package/node_modules/@murphai/assistant-engine/dist/codex-lifecycle.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/codex-lifecycle.js +7 -1
- package/node_modules/@murphai/assistant-engine/dist/codex-lifecycle.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/inbox-routing-vision.d.ts +2 -2
- package/node_modules/@murphai/assistant-engine/dist/inbox-routing-vision.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/index.d.ts +2 -0
- 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/dist/knowledge/service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/outbound-channel.d.ts +3 -2
- package/node_modules/@murphai/assistant-engine/dist/outbound-channel.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/outbound-channel.js +4 -2
- package/node_modules/@murphai/assistant-engine/dist/outbound-channel.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/package.json +4 -0
- package/node_modules/@murphai/assistant-engine/skills/aerobic-fitness/SKILL.md +56 -0
- package/node_modules/@murphai/assistant-engine/skills/appointment-scheduling/SKILL.md +249 -0
- package/node_modules/@murphai/assistant-engine/skills/behavior-followthrough/SKILL.md +18 -9
- package/node_modules/@murphai/assistant-engine/skills/body-composition/SKILL.md +56 -0
- package/node_modules/@murphai/assistant-engine/skills/cardiometabolic-health/SKILL.md +56 -0
- package/node_modules/@murphai/assistant-engine/skills/circadian-rhythm/SKILL.md +57 -0
- package/node_modules/@murphai/assistant-engine/skills/cognitive-focus/SKILL.md +55 -0
- package/node_modules/@murphai/assistant-engine/skills/computer-use/SKILL.md +163 -121
- package/node_modules/@murphai/assistant-engine/skills/computer-use/references/health-browser-playbook.md +16 -9
- package/node_modules/@murphai/assistant-engine/skills/cycle-hormonal-health/SKILL.md +55 -0
- package/node_modules/@murphai/assistant-engine/skills/daily-activity/SKILL.md +55 -0
- package/node_modules/@murphai/assistant-engine/skills/energy-fatigue/SKILL.md +57 -0
- package/node_modules/@murphai/assistant-engine/skills/experiment-onboarding/SKILL.md +24 -10
- package/node_modules/@murphai/assistant-engine/skills/food-journal/SKILL.md +26 -0
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/SKILL.md +77 -0
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/references/evidence-register.md +34 -0
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/references/triage-and-contact-lenses.md +103 -0
- package/node_modules/@murphai/assistant-engine/skills/group-challenge/SKILL.md +346 -0
- package/node_modules/@murphai/assistant-engine/skills/group-chat/SKILL.md +296 -0
- package/node_modules/@murphai/assistant-engine/skills/group-newsletter/SKILL.md +210 -0
- package/node_modules/@murphai/assistant-engine/skills/groupchat-comedy/SKILL.md +182 -0
- package/node_modules/@murphai/assistant-engine/skills/gut-digestion/SKILL.md +57 -0
- package/node_modules/@murphai/assistant-engine/skills/hrv-resting-heart-rate/SKILL.md +55 -0
- package/node_modules/@murphai/assistant-engine/skills/micronutrients-supplements/SKILL.md +80 -0
- package/node_modules/@murphai/assistant-engine/skills/mobility-posture/SKILL.md +56 -0
- package/node_modules/@murphai/assistant-engine/skills/murph-onboarding/SKILL.md +358 -124
- package/node_modules/@murphai/assistant-engine/skills/music-generation/SKILL.md +162 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/SKILL.md +73 -109
- package/node_modules/@murphai/assistant-engine/skills/physical-therapy/SKILL.md +3 -1
- package/node_modules/@murphai/assistant-engine/skills/recovery-modalities/SKILL.md +57 -0
- package/node_modules/@murphai/assistant-engine/skills/red-light-therapy/SKILL.md +145 -0
- package/node_modules/@murphai/assistant-engine/skills/red-light-therapy/device-seeds.json +259 -0
- package/node_modules/@murphai/assistant-engine/skills/shared/exercise-catalog-runtime.md +29 -0
- package/node_modules/@murphai/assistant-engine/skills/shared/murph-character-sheet-v1.png +0 -0
- package/node_modules/@murphai/assistant-engine/skills/sleep-improvement/SKILL.md +60 -0
- package/node_modules/@murphai/assistant-engine/skills/sleep-recovery-readiness/SKILL.md +68 -178
- package/node_modules/@murphai/assistant-engine/skills/strength-training/SKILL.md +1 -1
- package/node_modules/@murphai/assistant-engine/skills/substance-load/SKILL.md +56 -0
- package/node_modules/@murphai/assistantd/dist/client.js.map +1 -1
- package/node_modules/@murphai/assistantd/dist/config.js.map +1 -1
- package/node_modules/@murphai/assistantd/dist/http-protocol.d.ts.map +1 -1
- package/node_modules/@murphai/assistantd/dist/http-protocol.js.map +1 -1
- package/node_modules/@murphai/clinical-records/README.md +82 -0
- package/node_modules/@murphai/clinical-records/dist/index.d.ts +1865 -0
- package/node_modules/@murphai/clinical-records/dist/index.d.ts.map +1 -0
- package/node_modules/@murphai/clinical-records/dist/index.js +488 -0
- package/node_modules/@murphai/clinical-records/dist/index.js.map +1 -0
- package/node_modules/@murphai/clinical-records/package.json +27 -0
- package/node_modules/@murphai/core/dist/atomic-write.d.ts +4 -0
- package/node_modules/@murphai/core/dist/atomic-write.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/atomic-write.js +26 -0
- package/node_modules/@murphai/core/dist/atomic-write.js.map +1 -1
- package/node_modules/@murphai/core/dist/automation.d.ts +8 -2
- package/node_modules/@murphai/core/dist/automation.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/automation.js +66 -2
- package/node_modules/@murphai/core/dist/automation.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/goals.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts +36 -0
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/habitat.js +179 -0
- package/node_modules/@murphai/core/dist/bank/habitat.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/regimens.js.map +1 -1
- package/node_modules/@murphai/core/dist/constants.d.ts +4 -0
- package/node_modules/@murphai/core/dist/constants.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.d.ts +41 -1
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.js +311 -5
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.d.ts +6 -0
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.js +7 -0
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.js.map +1 -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 +4 -0
- 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/domains/experiments.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/experiments.js +9 -3
- package/node_modules/@murphai/core/dist/domains/experiments.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/shared.js.map +1 -1
- package/node_modules/@murphai/core/dist/errors.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/errors.js.map +1 -1
- package/node_modules/@murphai/core/dist/event-attachments.d.ts +2 -1
- package/node_modules/@murphai/core/dist/event-attachments.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/event-attachments.js +1 -0
- package/node_modules/@murphai/core/dist/event-attachments.js.map +1 -1
- package/node_modules/@murphai/core/dist/experiment-media-repair.d.ts +33 -0
- package/node_modules/@murphai/core/dist/experiment-media-repair.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/experiment-media-repair.js +685 -0
- package/node_modules/@murphai/core/dist/experiment-media-repair.js.map +1 -0
- package/node_modules/@murphai/core/dist/experiment-storage.d.ts +12 -0
- package/node_modules/@murphai/core/dist/experiment-storage.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/experiment-storage.js +70 -0
- package/node_modules/@murphai/core/dist/experiment-storage.js.map +1 -0
- package/node_modules/@murphai/core/dist/frontmatter.js.map +1 -1
- package/node_modules/@murphai/core/dist/fs.d.ts +1 -0
- package/node_modules/@murphai/core/dist/fs.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/fs.js +3 -0
- package/node_modules/@murphai/core/dist/fs.js.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.d.ts +11 -0
- package/node_modules/@murphai/core/dist/history/api.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.js +60 -3
- package/node_modules/@murphai/core/dist/history/api.js.map +1 -1
- package/node_modules/@murphai/core/dist/history/types.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/ids.js.map +1 -1
- package/node_modules/@murphai/core/dist/index.d.ts +12 -6
- package/node_modules/@murphai/core/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/index.js +6 -4
- package/node_modules/@murphai/core/dist/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/integration-ingest-migration.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/integration-ingest-migration.js +1 -1
- package/node_modules/@murphai/core/dist/integration-ingest-migration.js.map +1 -1
- package/node_modules/@murphai/core/dist/integration-ingests.d.ts +73 -2
- package/node_modules/@murphai/core/dist/integration-ingests.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/integration-ingests.js +1196 -77
- package/node_modules/@murphai/core/dist/integration-ingests.js.map +1 -1
- package/node_modules/@murphai/core/dist/jsonl.d.ts +10 -0
- package/node_modules/@murphai/core/dist/jsonl.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/jsonl.js +63 -12
- package/node_modules/@murphai/core/dist/jsonl.js.map +1 -1
- package/node_modules/@murphai/core/dist/markdown-documents.js.map +1 -1
- package/node_modules/@murphai/core/dist/memory.d.ts +7 -2
- package/node_modules/@murphai/core/dist/memory.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/memory.js +36 -1
- package/node_modules/@murphai/core/dist/memory.js.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.d.ts +33 -5
- package/node_modules/@murphai/core/dist/mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.js +1684 -205
- package/node_modules/@murphai/core/dist/mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/canonical-resource-lock.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/canonical-write-lock.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 +34 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.js +684 -39
- package/node_modules/@murphai/core/dist/operations/write-batch.js.map +1 -1
- package/node_modules/@murphai/core/dist/path-safety.js.map +1 -1
- package/node_modules/@murphai/core/dist/preferences.d.ts +21 -2
- package/node_modules/@murphai/core/dist/preferences.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/preferences.js +249 -12
- package/node_modules/@murphai/core/dist/preferences.js.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.d.ts +13 -2
- package/node_modules/@murphai/core/dist/public-mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.js +20 -3
- package/node_modules/@murphai/core/dist/public-mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/raw-artifact-integrity.js.map +1 -1
- package/node_modules/@murphai/core/dist/registry/api.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts +1 -0
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.js +1 -0
- package/node_modules/@murphai/core/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/core/dist/vault.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/vault.js +174 -11
- package/node_modules/@murphai/core/dist/vault.js.map +1 -1
- package/node_modules/@murphai/core/dist/wearable-receipts.js.map +1 -1
- package/node_modules/@murphai/core/dist/wearable-storage-migration.js.map +1 -1
- package/node_modules/@murphai/core/dist/write-policy.d.ts +3 -0
- package/node_modules/@murphai/core/dist/write-policy.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/write-policy.js +54 -3
- package/node_modules/@murphai/core/dist/write-policy.js.map +1 -1
- package/node_modules/@murphai/device-syncd/README.md +45 -5
- package/node_modules/@murphai/device-syncd/dist/callback-redirect.d.ts +7 -0
- package/node_modules/@murphai/device-syncd/dist/callback-redirect.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/callback-redirect.js +9 -0
- package/node_modules/@murphai/device-syncd/dist/callback-redirect.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata-parser.d.ts +30 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata-parser.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata-parser.js +130 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata-parser.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata.d.ts +18 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata.js +18 -0
- package/node_modules/@murphai/device-syncd/dist/companion-health-metadata.js.map +1 -0
- 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 +39 -4
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/env-keys.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.d.ts +9 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.js +56 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.js +46 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/{providers → config}/junction-connect-sources.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/provider-configs.d.ts +3 -5
- package/node_modules/@murphai/device-syncd/dist/config/provider-configs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-configs.js +69 -14
- package/node_modules/@murphai/device-syncd/dist/config/provider-configs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-env.d.ts +2 -3
- package/node_modules/@murphai/device-syncd/dist/config/provider-env.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-env.js +0 -3
- package/node_modules/@murphai/device-syncd/dist/config/provider-env.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-factory.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-factory.js +9 -5
- package/node_modules/@murphai/device-syncd/dist/config/provider-factory.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.d.ts +26 -16
- 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 +236 -339
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-types.d.ts +62 -5
- package/node_modules/@murphai/device-syncd/dist/config/provider-types.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/runtime-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/runtime-config.js +7 -361
- package/node_modules/@murphai/device-syncd/dist/config/runtime-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/serializable-provider-configs.d.ts +17 -1
- package/node_modules/@murphai/device-syncd/dist/config/serializable-provider-configs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/serializable-provider-configs.js +104 -11
- package/node_modules/@murphai/device-syncd/dist/config/serializable-provider-configs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config.d.ts +5 -3
- package/node_modules/@murphai/device-syncd/dist/config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config.js +4 -2
- package/node_modules/@murphai/device-syncd/dist/config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/configured-provider-descriptors.d.ts +6 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-descriptors.js +7 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-descriptors.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.js +2 -0
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts +2 -2
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.js +4 -11
- package/node_modules/@murphai/device-syncd/dist/connect-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/errors.d.ts +8 -0
- package/node_modules/@murphai/device-syncd/dist/errors.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/errors.js +26 -0
- package/node_modules/@murphai/device-syncd/dist/errors.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts +24 -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 +187 -28
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/http.d.ts +2 -9
- package/node_modules/@murphai/device-syncd/dist/http.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/http.js +26 -29
- package/node_modules/@murphai/device-syncd/dist/http.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/index.d.ts +7 -7
- package/node_modules/@murphai/device-syncd/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/index.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/index.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.d.ts +60 -0
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js +382 -0
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.d.ts +17 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.js +28 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/metadata.d.ts +1 -0
- package/node_modules/@murphai/device-syncd/dist/metadata.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/metadata.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/metadata.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-configs.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/provider-configs.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-configs.js +2 -0
- package/node_modules/@murphai/device-syncd/dist/provider-configs.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-credential-policy.d.ts +6 -0
- package/node_modules/@murphai/device-syncd/dist/provider-credential-policy.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-credential-policy.js +22 -0
- package/node_modules/@murphai/device-syncd/dist/provider-credential-policy.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-job-definitions.d.ts +7 -0
- package/node_modules/@murphai/device-syncd/dist/provider-job-definitions.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-job-definitions.js +116 -0
- package/node_modules/@murphai/device-syncd/dist/provider-job-definitions.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-label.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-label.js +5 -5
- package/node_modules/@murphai/device-syncd/dist/provider-label.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.d.ts +22 -5
- 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 +93 -58
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-config.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction-config.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction-config.js +2 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction-config.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts +5 -28
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js +927 -719
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura-webhooks.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura.d.ts +2 -14
- package/node_modules/@murphai/device-syncd/dist/providers/oura.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js +3 -26
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/provider-diagnostics.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/provider-diagnostics.js +34 -30
- package/node_modules/@murphai/device-syncd/dist/providers/provider-diagnostics.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava-webhooks.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava.d.ts +2 -15
- package/node_modules/@murphai/device-syncd/dist/providers/strava.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava.js +8 -43
- package/node_modules/@murphai/device-syncd/dist/providers/strava.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.d.ts +2 -12
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js +3 -22
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts +25 -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 +32 -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 +9 -4
- package/node_modules/@murphai/device-syncd/dist/public-ingress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js +125 -40
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptor-shared.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptor-shared.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptor-shared.js +4 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptor-shared.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptors.d.ts +10 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptors.js +41 -0
- package/node_modules/@murphai/device-syncd/dist/public-provider-descriptors.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/registry.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.js +219 -61
- package/node_modules/@murphai/device-syncd/dist/service.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/shared.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/accounts.d.ts +6 -0
- package/node_modules/@murphai/device-syncd/dist/store/accounts.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/accounts.js +129 -40
- package/node_modules/@murphai/device-syncd/dist/store/accounts.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/hosted-account-hydration.d.ts +2 -0
- package/node_modules/@murphai/device-syncd/dist/store/hosted-account-hydration.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/hosted-account-hydration.js +80 -6
- package/node_modules/@murphai/device-syncd/dist/store/hosted-account-hydration.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/store/jobs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.js +119 -39
- package/node_modules/@murphai/device-syncd/dist/store/jobs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/oauth-states.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/oauth-states.js +14 -8
- package/node_modules/@murphai/device-syncd/dist/store/oauth-states.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 +22 -4
- package/node_modules/@murphai/device-syncd/dist/store/schema.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.d.ts +9 -1
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.js +57 -52
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.d.ts +46 -2
- package/node_modules/@murphai/device-syncd/dist/store.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.js +103 -6
- package/node_modules/@murphai/device-syncd/dist/store.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.d.ts +24 -1
- package/node_modules/@murphai/device-syncd/dist/types.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.js.map +1 -1
- package/node_modules/@murphai/device-syncd/package.json +28 -0
- package/node_modules/@murphai/exercise-library/content/seed/at-home-exercise-strength-addon-250.csv +251 -251
- package/node_modules/@murphai/exercise-library/content/seed/at-home-exercise-stretch-addon-500.csv +359 -359
- package/node_modules/@murphai/exercise-library/content/seed/at-home-exercise-stretch.csv +154 -154
- package/node_modules/@murphai/exercise-library/dist/build.js.map +1 -1
- package/node_modules/@murphai/exercise-library/dist/runtime.js.map +1 -1
- package/node_modules/@murphai/exercise-library/dist/schema.d.ts.map +1 -1
- package/node_modules/@murphai/exercise-library/generated/catalog.hash +1 -1
- package/node_modules/@murphai/exercise-library/generated/exercise-details.json +12082 -764
- package/node_modules/@murphai/exercise-library/generated/exercise-facets.json +1 -1
- package/node_modules/@murphai/exercise-library/generated/exercise-index.json +1 -1
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-11776448.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-18306161.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-19817517.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-19913903.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-19995444.md +62 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-20662037.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-24568233.md +62 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-26914684.md +60 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-27141153.md +62 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-28186867.md +62 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-36495670.md +62 -0
- package/node_modules/@murphai/health-commons/content/sources/photobiomodulation-intake/pmid-37760145.md +62 -0
- package/node_modules/@murphai/health-commons/dist/build.js.map +1 -1
- package/node_modules/@murphai/health-commons/dist/catalog.d.ts +4 -4
- package/node_modules/@murphai/health-commons/dist/hash-artifact.js.map +1 -1
- package/node_modules/@murphai/health-commons/dist/runtime.d.ts +3 -7
- package/node_modules/@murphai/health-commons/dist/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/health-commons/dist/runtime.js +59 -47
- package/node_modules/@murphai/health-commons/dist/runtime.js.map +1 -1
- package/node_modules/@murphai/health-commons/dist/sync-cloudflare-r2.js.map +1 -1
- package/node_modules/@murphai/health-commons/generated/catalog.hash +1 -1
- package/node_modules/@murphai/health-commons/generated/protocol-family-graph.json +1 -1
- package/node_modules/@murphai/health-commons/generated/protocol-index.json +1 -1
- package/node_modules/@murphai/health-commons/generated/protocol-run-specs.json +1 -1
- package/node_modules/@murphai/health-commons/generated/source-artifact-index.json +1 -1
- package/node_modules/@murphai/health-commons/generated/source-identities.ndjson +54 -0
- package/node_modules/@murphai/health-commons/generated/source-index.json +727 -1
- package/node_modules/@murphai/health-commons/generated/web/browse/biomarkers.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/browse/experiments.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/added-sugar-intake.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/adherence.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/adverse-symptoms.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/alanine-aminotransferase.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/alcohol-craving.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/alcohol-free-days.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/alcohol-intake.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/alcohol-withdrawal-symptoms.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ankle-knee-to-wall-distance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/apolipoprotein-b.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/aspartate-aminotransferase.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/bilirubin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/blood-glucose.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/blood-ketones-beta-hydroxybutyrate.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/blood-oxygen-spo2.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/blood-pressure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/blood-urea-nitrogen.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/body-fat-percent.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/body-weight.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/chosen-primary-outcome-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/continuous-glucose.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/creatine-kinase.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/daily-energy-intake-kcal.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/daily-protein-g-per-kg.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/daily-protein-grams.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/daily-step-count.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/daytime-sleepiness.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/deep-sleep-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/dietary-fiber-g-day.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/digestive-comfort.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/egfr.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/estimated-gfr.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/estimated-vo2max.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/fasting-triglycerides.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/gi-symptom-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/gi-tolerance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hbot-session-tolerability.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hdl-c.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hrv-rmssd.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lateral-knee-pain.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-c.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-cholesterol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lean-body-mass.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lean-mass.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/leg-heaviness-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/liver-enzyme-panel.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/macular-health-safety.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/moderate-to-vigorous-activity-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mood-affect.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/morning-blood-pressure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/muscle-soreness-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/musculoskeletal-pain.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/non-hdl-c.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/non-hdl-cholesterol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/omega-3-index.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/perceived-recovery-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/perceived-recovery.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/perceived-stiffness.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/perceived-stress.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/periocular-wrinkle-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/postprandial-glucose-excursion.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/pre-sleep-arousal.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/rem-sleep-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/resting-heart-rate.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/running-tolerance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/saturated-fat-g-day.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/sedentary-time.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/self-reported-mood.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/serum-25-hydroxyvitamin-d.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/serum-creatinine.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/serum-uric-acid.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/shoulder-reach-distance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/sit-and-reach-distance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/skin-texture-roughness-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/skin-tolerability-symptoms.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/sleep-efficiency.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/sleep-onset-latency.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/sleep-quality.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/standardized-skin-photo-score.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/step-floor-days.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/stretching-adherence-sessions.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/stretching-session-burden.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/stretching-symptoms.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/subjective-eye-strain.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/subjective-satiety.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/supplement-adherence.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/task-performance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/toe-touch-distance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/total-cholesterol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/total-sleep-time.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/training-performance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/training-volume.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/triglycerides.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/urine-albumin-creatinine-ratio.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/visual-fatigue.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/visual-performance.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/waist-circumference.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/wake-time-variability.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/walking-bout-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/walking-cadence.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/walking-safety-events.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/measurement_method/clinic-imaging-upgrade.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/measurement_method/home-standardized-photo-roi-analysis.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/measurement_method/standardized-photo-score-workflow.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/at-home-static-stretching-for-flexibility.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/bryan-johnson-blueprint.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/caffeine-curfew-dose-reset.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/cold-plunge.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/consistent-wake-time.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/creatine-monohydrate.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/daily-step-floor.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/daily-vitamin-d3-supplementation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/digital-sunset.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/finnish-sauna.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/hydrolyzed-collagen-peptides.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/hyperbaric-oxygen-therapy.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/it-band-syndrome-rehab-and-return-to-run.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/morning-outdoor-light-exposure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/no-added-sugar-diet.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/norwegian-4x4.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/oral-epa-dha-supplementation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/pneumatic-compression-pants.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/pre-sleep-resonance-breathing-and-meditation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/pre-sleep-silent-meditation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/prolonged-fasting-24-72-hours.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/protein-floor-high-protein-intake.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/psyllium-husk-for-cholesterol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/red-light-glasses-before-bed.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/red-near-infrared-skin-texture-photoaging.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/red-yeast-rice-for-cholesterol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/short-term-alcohol-abstinence.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/social-media-fast.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/tabata-20-10-interval-training.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/time-restricted-eating-18-6.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/walking-after-every-meal.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/whole-body-red-and-near-infrared-light-exposure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/zone-2-aerobic-base-block.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/blood-oxygen-spo2/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/blood-oxygen-spo2/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/deep-sleep-minutes/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/deep-sleep-minutes/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/estimated-vo2max/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/estimated-vo2max/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/hrv-rmssd/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/hrv-rmssd/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/rem-sleep-minutes/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/rem-sleep-minutes/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/resting-heart-rate/overview.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/pages/biomarkers/resting-heart-rate/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/routes/index.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/blood-oxygen-spo2.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/deep-sleep-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/estimated-vo2max.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/hrv-rmssd.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/rem-sleep-minutes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/biomarkers/resting-heart-rate.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/at-home-static-stretching-for-flexibility.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/bryan-johnson-blueprint.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/caffeine-curfew-dose-reset.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/cold-plunge.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/consistent-wake-time.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/daily-step-floor.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/digital-sunset.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/finnish-sauna.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/hyperbaric-oxygen-therapy.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/morning-outdoor-light-exposure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/no-added-sugar-diet.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/norwegian-4x4.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/pneumatic-compression-pants.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/pre-sleep-resonance-breathing-and-meditation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/pre-sleep-silent-meditation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/prolonged-fasting-24-72-hours.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/protein-floor-high-protein-intake.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/red-light-glasses-before-bed.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/red-near-infrared-skin-texture-photoaging.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/short-term-alcohol-abstinence.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/tabata-20-10-interval-training.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/time-restricted-eating-18-6.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/walking-after-every-meal.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/whole-body-red-and-near-infrared-light-exposure.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/zone-2-aerobic-base-block.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/at-home-static-stretching-for-flexibility/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/at-home-static-stretching-for-flexibility/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/at-home-static-stretching-for-flexibility/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/bryan-johnson-blueprint/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/bryan-johnson-blueprint/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/bryan-johnson-blueprint/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/caffeine-curfew-dose-reset/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/caffeine-curfew-dose-reset/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/caffeine-curfew-dose-reset/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/cold-plunge/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/cold-plunge/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/cold-plunge/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/consistent-wake-time/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/consistent-wake-time/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/consistent-wake-time/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/daily-step-floor/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/daily-step-floor/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/daily-step-floor/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/digital-sunset/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/digital-sunset/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/digital-sunset/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/finnish-sauna/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/finnish-sauna/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/finnish-sauna/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/hyperbaric-oxygen-therapy/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/hyperbaric-oxygen-therapy/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/hyperbaric-oxygen-therapy/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/morning-outdoor-light-exposure/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/morning-outdoor-light-exposure/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/morning-outdoor-light-exposure/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/no-added-sugar-diet/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/no-added-sugar-diet/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/no-added-sugar-diet/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/norwegian-4x4/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/norwegian-4x4/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/norwegian-4x4/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pneumatic-compression-pants/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pneumatic-compression-pants/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pneumatic-compression-pants/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-resonance-breathing-and-meditation/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-resonance-breathing-and-meditation/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-resonance-breathing-and-meditation/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-silent-meditation/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-silent-meditation/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/pre-sleep-silent-meditation/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/prolonged-fasting-24-72-hours/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/prolonged-fasting-24-72-hours/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/prolonged-fasting-24-72-hours/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/protein-floor-high-protein-intake/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/protein-floor-high-protein-intake/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/protein-floor-high-protein-intake/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-light-glasses-before-bed/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-light-glasses-before-bed/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-light-glasses-before-bed/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-near-infrared-skin-texture-photoaging/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-near-infrared-skin-texture-photoaging/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/red-near-infrared-skin-texture-photoaging/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/short-term-alcohol-abstinence/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/short-term-alcohol-abstinence/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/short-term-alcohol-abstinence/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/tabata-20-10-interval-training/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/tabata-20-10-interval-training/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/tabata-20-10-interval-training/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/time-restricted-eating-18-6/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/time-restricted-eating-18-6/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/time-restricted-eating-18-6/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/walking-after-every-meal/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/walking-after-every-meal/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/walking-after-every-meal/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/whole-body-red-and-near-infrared-light-exposure/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/whole-body-red-and-near-infrared-light-exposure/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/whole-body-red-and-near-infrared-light-exposure/results-public.json +2 -2
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/zone-2-aerobic-base-block/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/zone-2-aerobic-base-block/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/zone-2-aerobic-base-block/results-public.json +2 -2
- package/node_modules/@murphai/health-metrics/README.md +4 -0
- package/node_modules/@murphai/health-metrics/dist/catalog.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.d.ts +15 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.js +99 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/labs.d.ts +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/recovery.d.ts +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/recovery.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/recovery.js +12 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/recovery.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/sleep.d.ts +1 -1
- package/node_modules/@murphai/health-metrics/dist/format.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/goals.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/index.d.ts +0 -2
- package/node_modules/@murphai/health-metrics/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/index.js +0 -2
- package/node_modules/@murphai/health-metrics/dist/index.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/murph-age-source-routes.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/murph-age-source-routes.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/murph-age.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/normalize.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/selectors.js.map +1 -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.map +1 -1
- 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.map +1 -1
- package/node_modules/@murphai/health-metrics/package.json +10 -0
- package/node_modules/@murphai/importers/README.md +13 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.js.map +1 -1
- package/node_modules/@murphai/importers/dist/clinical-records/index.d.ts +19 -0
- package/node_modules/@murphai/importers/dist/clinical-records/index.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/clinical-records/index.js +1523 -0
- package/node_modules/@murphai/importers/dist/clinical-records/index.js.map +1 -0
- package/node_modules/@murphai/importers/dist/core-port.d.ts +1 -0
- 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.map +1 -1
- package/node_modules/@murphai/importers/dist/create-importers.js.map +1 -1
- package/node_modules/@murphai/importers/dist/csv-sample-import-planner.js.map +1 -1
- package/node_modules/@murphai/importers/dist/csv-sample-importer.js.map +1 -1
- 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 +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.js +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.js.map +1 -1
- 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 +3 -2
- 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 +12 -20
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction.d.ts +18 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction.js +1026 -123
- package/node_modules/@murphai/importers/dist/device-providers/junction.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.d.ts +132 -132
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/registry.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/whoop.js.map +1 -1
- package/node_modules/@murphai/importers/dist/document-importer.js.map +1 -1
- package/node_modules/@murphai/importers/dist/meal-importer.js.map +1 -1
- package/node_modules/@murphai/importers/dist/preset-registry.js.map +1 -1
- package/node_modules/@murphai/importers/package.json +5 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/environment.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/reads.js +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/reads.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/service.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/service.js +2 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/service.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/storage-repair.d.ts +3 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/storage-repair.d.ts.map +1 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/storage-repair.js +37 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/storage-repair.js.map +1 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.d.ts +22 -2
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/connectors.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/daemon.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/parser.d.ts +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/parser.js +2 -2
- package/node_modules/@murphai/inbox-services/dist/inbox-services/parser.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/promotions.d.ts +2 -2
- package/node_modules/@murphai/inbox-services/dist/inbox-services/promotions.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/promotions.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/query.d.ts +27 -27
- package/node_modules/@murphai/inbox-services/dist/inbox-services/query.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/query.js +2 -2
- package/node_modules/@murphai/inbox-services/dist/inbox-services/query.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/state.js.map +1 -1
- package/node_modules/@murphai/inboxd/README.md +3 -2
- package/node_modules/@murphai/inboxd/dist/checkpoint.d.ts +2 -0
- package/node_modules/@murphai/inboxd/dist/checkpoint.d.ts.map +1 -0
- package/node_modules/@murphai/inboxd/dist/checkpoint.js +2 -0
- package/node_modules/@murphai/inboxd/dist/checkpoint.js.map +1 -0
- package/node_modules/@murphai/inboxd/dist/connectors/email/directness.d.ts +11 -0
- package/node_modules/@murphai/inboxd/dist/connectors/email/directness.d.ts.map +1 -0
- package/node_modules/@murphai/inboxd/dist/connectors/email/directness.js +67 -0
- package/node_modules/@murphai/inboxd/dist/connectors/email/directness.js.map +1 -0
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize-parsed.d.ts +3 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize-parsed.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize-parsed.js +18 -9
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize-parsed.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.d.ts +1 -10
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.js +2 -65
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/hosted-conversation.d.ts +0 -15
- package/node_modules/@murphai/inboxd/dist/connectors/hosted-conversation.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/hosted-conversation.js +0 -33
- package/node_modules/@murphai/inboxd/dist/connectors/hosted-conversation.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/telegram/connector.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/contracts/capture.d.ts +1 -2
- package/node_modules/@murphai/inboxd/dist/contracts/capture.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/contracts/search.d.ts +2 -2
- package/node_modules/@murphai/inboxd/dist/contracts/search.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/index.d.ts +1 -0
- package/node_modules/@murphai/inboxd/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/index.js +1 -0
- package/node_modules/@murphai/inboxd/dist/index.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/envelope-migration.d.ts +21 -0
- package/node_modules/@murphai/inboxd/dist/indexing/envelope-migration.d.ts.map +1 -0
- package/node_modules/@murphai/inboxd/dist/indexing/envelope-migration.js +259 -0
- package/node_modules/@murphai/inboxd/dist/indexing/envelope-migration.js.map +1 -0
- package/node_modules/@murphai/inboxd/dist/indexing/parser-derivatives.d.ts +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/parser-derivatives.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/parser-derivatives.js +7 -4
- package/node_modules/@murphai/inboxd/dist/indexing/parser-derivatives.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/persist/canonical-records.d.ts +13 -1
- package/node_modules/@murphai/inboxd/dist/indexing/persist/canonical-records.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/persist/canonical-records.js +68 -13
- package/node_modules/@murphai/inboxd/dist/indexing/persist/canonical-records.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/persist.d.ts +12 -6
- package/node_modules/@murphai/inboxd/dist/indexing/persist.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/persist.js +226 -73
- package/node_modules/@murphai/inboxd/dist/indexing/persist.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/retention.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/pipeline.js +4 -4
- package/node_modules/@murphai/inboxd/dist/kernel/pipeline.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/registry.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite/rows.d.ts +2 -2
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite/rows.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite/rows.js +3 -3
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite/rows.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite.js +42 -12
- package/node_modules/@murphai/inboxd/dist/kernel/sqlite.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.d.ts +2 -0
- package/node_modules/@murphai/inboxd/dist/retention.d.ts.map +1 -0
- package/node_modules/@murphai/inboxd/dist/retention.js +2 -0
- package/node_modules/@murphai/inboxd/dist/retention.js.map +1 -0
- package/node_modules/@murphai/inboxd/dist/runtime.d.ts +2 -1
- package/node_modules/@murphai/inboxd/dist/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/runtime.js +1 -0
- package/node_modules/@murphai/inboxd/dist/runtime.js.map +1 -1
- package/node_modules/@murphai/inboxd/package.json +12 -0
- package/node_modules/@murphai/messaging-ingress/README.md +1 -5
- package/node_modules/@murphai/messaging-ingress/dist/internal.d.ts.map +1 -1
- package/node_modules/@murphai/messaging-ingress/dist/internal.js +4 -0
- package/node_modules/@murphai/messaging-ingress/dist/internal.js.map +1 -1
- package/node_modules/@murphai/messaging-ingress/dist/linq-webhook.d.ts.map +1 -1
- package/node_modules/@murphai/messaging-ingress/dist/linq-webhook.js.map +1 -1
- package/node_modules/@murphai/messaging-ingress/package.json +0 -4
- package/node_modules/@murphai/operator-config/dist/agentmail-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/codex-resume-state.d.ts +2 -0
- package/node_modules/@murphai/operator-config/dist/assistant/codex-resume-state.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/codex-resume-state.js +5 -0
- package/node_modules/@murphai/operator-config/dist/assistant/codex-resume-state.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/current-delivery-route.d.ts +5 -0
- package/node_modules/@murphai/operator-config/dist/assistant/current-delivery-route.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/current-delivery-route.js +58 -0
- package/node_modules/@murphai/operator-config/dist/assistant/current-delivery-route.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/delivery-failure.d.ts +2 -2
- package/node_modules/@murphai/operator-config/dist/assistant/delivery-failure.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/delivery-failure.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.d.ts +5 -5
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/target-runtime.d.ts +32 -31
- package/node_modules/@murphai/operator-config/dist/assistant/target-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/target-runtime.js +4 -2
- package/node_modules/@murphai/operator-config/dist/assistant/target-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-backend.d.ts +2 -2
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.d.ts +488 -317
- 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 +171 -22
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.d.ts +32 -27
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.js +11 -1
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-daemon/paths.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-daemon.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-browser-opener.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-client.d.ts +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 +6 -2
- package/node_modules/@murphai/operator-config/dist/device-sync-client.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config-constants.d.ts +1 -1
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config-constants.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/inbox-cli-contracts.d.ts +138 -93
- package/node_modules/@murphai/operator-config/dist/inbox-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/inbox-cli-contracts.js +40 -3
- package/node_modules/@murphai/operator-config/dist/inbox-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/linq-runtime.d.ts +7 -11
- package/node_modules/@murphai/operator-config/dist/linq-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/linq-runtime.js +25 -10
- package/node_modules/@murphai/operator-config/dist/linq-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/message-formatting.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/message-formatting.js +14 -3
- package/node_modules/@murphai/operator-config/dist/message-formatting.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config/self-delivery-targets.d.ts +4 -2
- package/node_modules/@murphai/operator-config/dist/operator-config/self-delivery-targets.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config/storage.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config.d.ts +7 -5
- package/node_modules/@murphai/operator-config/dist/operator-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/setup-cli-contracts.d.ts +54 -54
- package/node_modules/@murphai/operator-config/dist/setup-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/setup-runtime-env.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/telegram-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/telegram-runtime.js +11 -1
- package/node_modules/@murphai/operator-config/dist/telegram-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.d.ts +85 -85
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.js +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-errors.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/package.json +0 -5
- package/node_modules/@murphai/parsers/README.md +4 -2
- package/node_modules/@murphai/parsers/dist/adapters/ffmpeg.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/adapters/poppler-pdf.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/adapters/text-file.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/adapters/whisper-cpp.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/adapters/zxing-wasm.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/contracts/parser-output.d.ts +15 -0
- package/node_modules/@murphai/parsers/dist/contracts/parser-output.d.ts.map +1 -0
- package/node_modules/@murphai/parsers/dist/contracts/parser-output.js +368 -0
- package/node_modules/@murphai/parsers/dist/contracts/parser-output.js.map +1 -0
- package/node_modules/@murphai/parsers/dist/index.d.ts +5 -2
- package/node_modules/@murphai/parsers/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/parsers/dist/index.js +3 -1
- package/node_modules/@murphai/parsers/dist/index.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/parser-result.d.ts +2 -0
- package/node_modules/@murphai/parsers/dist/parser-result.d.ts.map +1 -0
- package/node_modules/@murphai/parsers/dist/parser-result.js +2 -0
- package/node_modules/@murphai/parsers/dist/parser-result.js.map +1 -0
- package/node_modules/@murphai/parsers/dist/pipelines/parse-attachment.d.ts.map +1 -1
- package/node_modules/@murphai/parsers/dist/pipelines/parse-attachment.js +2 -245
- package/node_modules/@murphai/parsers/dist/pipelines/parse-attachment.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/pipelines/worker.d.ts +1 -1
- package/node_modules/@murphai/parsers/dist/pipelines/worker.d.ts.map +1 -1
- package/node_modules/@murphai/parsers/dist/pipelines/worker.js +12 -4
- package/node_modules/@murphai/parsers/dist/pipelines/worker.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/publish/legacy-attempt-compactor.d.ts +18 -0
- package/node_modules/@murphai/parsers/dist/publish/legacy-attempt-compactor.d.ts.map +1 -0
- package/node_modules/@murphai/parsers/dist/publish/legacy-attempt-compactor.js +480 -0
- package/node_modules/@murphai/parsers/dist/publish/legacy-attempt-compactor.js.map +1 -0
- package/node_modules/@murphai/parsers/dist/publish/writer.d.ts +26 -8
- package/node_modules/@murphai/parsers/dist/publish/writer.d.ts.map +1 -1
- package/node_modules/@murphai/parsers/dist/publish/writer.js +168 -57
- package/node_modules/@murphai/parsers/dist/publish/writer.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/registry/policy.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/registry/registry.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/shared.js.map +1 -1
- package/node_modules/@murphai/parsers/dist/toolchain/discover.js.map +1 -1
- package/node_modules/@murphai/parsers/package.json +4 -0
- package/node_modules/@murphai/query/dist/automation.d.ts +3 -2
- package/node_modules/@murphai/query/dist/automation.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/automation.js +68 -5
- package/node_modules/@murphai/query/dist/automation.js.map +1 -1
- package/node_modules/@murphai/query/dist/biomarker-change-sentiment.d.ts +10 -0
- package/node_modules/@murphai/query/dist/biomarker-change-sentiment.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/biomarker-change-sentiment.js +24 -0
- package/node_modules/@murphai/query/dist/biomarker-change-sentiment.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-experiments.d.ts +4 -0
- package/node_modules/@murphai/query/dist/browser-experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-experiments.js +3 -0
- package/node_modules/@murphai/query/dist/browser-experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/biomarker-panel.js +3 -3
- package/node_modules/@murphai/query/dist/browser-replica/biomarker-panel.js.map +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 +20 -0
- package/node_modules/@murphai/query/dist/browser-replica/build.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/experiments.d.ts +8 -2
- package/node_modules/@murphai/query/dist/browser-replica/experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/experiments.js +128 -26
- package/node_modules/@murphai/query/dist/browser-replica/experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/murph-age.d.ts +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/murph-age.js +2 -1
- package/node_modules/@murphai/query/dist/browser-replica/murph-age.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/query.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/shared.d.ts +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/shared.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/shared.js +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shared.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/views.js +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/views.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica.d.ts +1 -3
- package/node_modules/@murphai/query/dist/browser-replica.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica.js +0 -1
- package/node_modules/@murphai/query/dist/browser-replica.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser.d.ts +2 -2
- package/node_modules/@murphai/query/dist/browser.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser.js +1 -1
- package/node_modules/@murphai/query/dist/browser.js.map +1 -1
- package/node_modules/@murphai/query/dist/canonical-entities.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/canonical-entities.js +1 -0
- package/node_modules/@murphai/query/dist/canonical-entities.js.map +1 -1
- package/node_modules/@murphai/query/dist/entity-families.d.ts +1 -1
- package/node_modules/@murphai/query/dist/entity-families.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/entity-families.js +1 -0
- package/node_modules/@murphai/query/dist/entity-families.js.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-adherence.d.ts +55 -2
- package/node_modules/@murphai/query/dist/experiment-adherence.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-adherence.js +367 -13
- package/node_modules/@murphai/query/dist/experiment-adherence.js.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-progress-card.d.ts +6 -1
- package/node_modules/@murphai/query/dist/experiment-progress-card.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-progress-card.js +48 -13
- package/node_modules/@murphai/query/dist/experiment-progress-card.js.map +1 -1
- package/node_modules/@murphai/query/dist/experiments.d.ts +11 -1
- package/node_modules/@murphai/query/dist/experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiments.js +265 -36
- package/node_modules/@murphai/query/dist/experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/export-pack.js.map +1 -1
- package/node_modules/@murphai/query/dist/group-weekly.d.ts +32 -0
- package/node_modules/@murphai/query/dist/group-weekly.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/group-weekly.js +166 -0
- package/node_modules/@murphai/query/dist/group-weekly.js.map +1 -0
- package/node_modules/@murphai/query/dist/health/assessments.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/blood-tests.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts +1 -0
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.js +4 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/foods.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/habitat.d.ts +6 -0
- package/node_modules/@murphai/query/dist/health/habitat.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/health/habitat.js +12 -0
- package/node_modules/@murphai/query/dist/health/habitat.js.map +1 -0
- package/node_modules/@murphai/query/dist/health/immunizations.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/index.d.ts +1 -0
- package/node_modules/@murphai/query/dist/health/index.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/index.js +1 -0
- package/node_modules/@murphai/query/dist/health/index.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/projections.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/projectors/history.d.ts +1 -1
- package/node_modules/@murphai/query/dist/health/providers.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/recipes.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.d.ts +11 -0
- package/node_modules/@murphai/query/dist/health/registries.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.js +18 -2
- package/node_modules/@murphai/query/dist/health/registries.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/supplements.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/workout-formats.js.map +1 -1
- package/node_modules/@murphai/query/dist/id-families.d.ts +1 -13
- package/node_modules/@murphai/query/dist/id-families.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/id-families.js +1 -119
- package/node_modules/@murphai/query/dist/id-families.js.map +1 -1
- package/node_modules/@murphai/query/dist/index.d.ts +10 -15
- package/node_modules/@murphai/query/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/index.js +7 -31
- package/node_modules/@murphai/query/dist/index.js.map +1 -1
- package/node_modules/@murphai/query/dist/knowledge-format.js +1 -1
- package/node_modules/@murphai/query/dist/knowledge-graph.js +4 -4
- package/node_modules/@murphai/query/dist/knowledge-model.d.ts +1 -1
- package/node_modules/@murphai/query/dist/knowledge-search.js +2 -2
- package/node_modules/@murphai/query/dist/knowledge-search.js.map +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.js.map +1 -1
- package/node_modules/@murphai/query/dist/memory.d.ts +3 -2
- package/node_modules/@murphai/query/dist/memory.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/memory.js +4 -1
- package/node_modules/@murphai/query/dist/memory.js.map +1 -1
- package/node_modules/@murphai/query/dist/metrics/index.js +23 -1
- package/node_modules/@murphai/query/dist/metrics/index.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 +101 -7
- package/node_modules/@murphai/query/dist/metrics/projection.js.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts +1 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.js +2 -1
- package/node_modules/@murphai/query/dist/murph-age.js.map +1 -1
- package/node_modules/@murphai/query/dist/overview-weekly-stats.js.map +1 -1
- package/node_modules/@murphai/query/dist/overview.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/entity-store.d.ts +2 -0
- package/node_modules/@murphai/query/dist/projection/entity-store.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/projection/entity-store.js +56 -0
- package/node_modules/@murphai/query/dist/projection/entity-store.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/rebuild.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.d.ts +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.js +2 -2
- package/node_modules/@murphai/query/dist/projection/schema.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-compose.js +25 -2
- 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 +1 -0
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-store.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/protocols.js.map +1 -1
- package/node_modules/@murphai/query/dist/query-projection-types.d.ts +7 -0
- package/node_modules/@murphai/query/dist/query-projection-types.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/query-projection.d.ts +3 -2
- package/node_modules/@murphai/query/dist/query-projection.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/query-projection.js +5 -1
- package/node_modules/@murphai/query/dist/query-projection.js.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.d.ts +4 -0
- package/node_modules/@murphai/query/dist/read-model.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.js +1 -0
- package/node_modules/@murphai/query/dist/read-model.js.map +1 -1
- package/node_modules/@murphai/query/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/query/dist/search-shared.js.map +1 -1
- package/node_modules/@murphai/query/dist/search.js.map +1 -1
- package/node_modules/@murphai/query/dist/summaries.js.map +1 -1
- package/node_modules/@murphai/query/dist/timeline.js.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.js +39 -3
- package/node_modules/@murphai/query/dist/vault-source.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.d.ts +5 -2
- package/node_modules/@murphai/query/dist/wearables/candidates.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.js +305 -7
- package/node_modules/@murphai/query/dist/wearables/candidates.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/dedupe.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/dedupe.js +3 -1
- package/node_modules/@murphai/query/dist/wearables/dedupe.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/observation.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/origin.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/provider-policy.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 -79
- package/node_modules/@murphai/query/dist/wearables/public-output.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/selection.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/selection.js +5 -1
- package/node_modules/@murphai/query/dist/wearables/selection.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/sleep-association.d.ts +9 -0
- package/node_modules/@murphai/query/dist/wearables/sleep-association.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/wearables/sleep-association.js +81 -0
- package/node_modules/@murphai/query/dist/wearables/sleep-association.js.map +1 -0
- package/node_modules/@murphai/query/dist/wearables/types.d.ts +29 -4
- package/node_modules/@murphai/query/dist/wearables/types.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/types.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables.js +50 -50
- 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-state-fs.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.js +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/atomic-write.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/clinical-records-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/clinical-records-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/clinical-records-local-state-descriptors.js +12 -0
- package/node_modules/@murphai/runtime-state/dist/clinical-records-local-state-descriptors.js.map +1 -0
- 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 +65 -31
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-domain-crypto.d.ts +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-domain-crypto.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-domain-crypto.js +10 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-domain-crypto.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts +11 -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 +56 -3
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-storage.d.ts +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-storage.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-storage.js +12 -2
- package/node_modules/@murphai/runtime-state/dist/hosted-storage.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-helpers.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.js +2 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/locks.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/loopback-control-plane.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/process-env.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/process-identity.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.d.ts +2 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.js +2 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/shared.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/sqlite-warning-filter.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/sqlite.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/ulid.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-agentmail.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-account.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-defaults.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-wizard.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-cli.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-cli.js +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-cli.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services/toolchain.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-wizard-options.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/README.md +11 -0
- package/node_modules/@murphai/vault-usecases/dist/assistant-vault-paths.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.d.ts +102 -0
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.js +374 -0
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.js.map +1 -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 +13 -4
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/experiment-onboarding-options.d.ts +2 -2
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.d.ts +3 -3
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/preferences.d.ts +34 -3
- package/node_modules/@murphai/vault-usecases/dist/preferences.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/preferences.js +84 -1
- package/node_modules/@murphai/vault-usecases/dist/preferences.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.d.ts +16 -2
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.js +20 -1
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing.d.ts +2 -2
- package/node_modules/@murphai/vault-usecases/dist/testing.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.d.ts +18 -18
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/clinical-imports.d.ts +154 -154
- 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 +3 -1
- 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 +10 -9
- 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 +2 -1
- 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 +35 -35
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.d.ts +38 -37
- 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 +37 -5
- 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.js +7 -7
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.d.ts +2 -2
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.d.ts.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 +57 -20
- 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 +20 -10
- 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 +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention.d.ts +6 -6
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.d.ts +9 -9
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement.d.ts +4 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.d.ts +13 -13
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.d.ts +3 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/runtime.js +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/runtime.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.d.ts +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js +101 -8
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/types.d.ts +34 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/types.d.ts.map +1 -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 +33 -33
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-format.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-measurement.d.ts +4 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-model.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-read.d.ts +8 -8
- 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 +1 -1
- 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 +48 -48
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/vault-services.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/vault-services.js +1 -0
- package/node_modules/@murphai/vault-usecases/dist/vault-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/package.json +8 -0
- package/node_modules/incur/dist/Cli.d.ts +4 -0
- package/node_modules/incur/dist/Cli.js +10 -3
- package/node_modules/incur/dist/SyncSkills.d.ts +2 -0
- package/node_modules/incur/dist/SyncSkills.js +5 -2
- package/node_modules/incur/src/Cli.ts +14 -3
- package/node_modules/incur/src/SyncSkills.ts +9 -2
- package/package.json +6 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/turn-attachment-image-refs.d.ts +0 -15
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/turn-attachment-image-refs.d.ts.map +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/turn-attachment-image-refs.js +0 -79
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/turn-attachment-image-refs.js.map +0 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-connect-sources.d.ts.map +0 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction-connect-sources.js.map +0 -1
- package/node_modules/@murphai/messaging-ingress/dist/whatsapp-webhook.d.ts +0 -73
- package/node_modules/@murphai/messaging-ingress/dist/whatsapp-webhook.d.ts.map +0 -1
- package/node_modules/@murphai/messaging-ingress/dist/whatsapp-webhook.js +0 -212
- package/node_modules/@murphai/messaging-ingress/dist/whatsapp-webhook.js.map +0 -1
- package/node_modules/@murphai/operator-config/dist/runtime-errors.d.ts +0 -4
- package/node_modules/@murphai/operator-config/dist/runtime-errors.d.ts.map +0 -1
- package/node_modules/@murphai/operator-config/dist/runtime-errors.js +0 -19
- package/node_modules/@murphai/operator-config/dist/runtime-errors.js.map +0 -1
- package/node_modules/@murphai/operator-config/dist/whatsapp-runtime.d.ts +0 -34
- package/node_modules/@murphai/operator-config/dist/whatsapp-runtime.d.ts.map +0 -1
- package/node_modules/@murphai/operator-config/dist/whatsapp-runtime.js +0 -208
- package/node_modules/@murphai/operator-config/dist/whatsapp-runtime.js.map +0 -1
- package/node_modules/@murphai/vault-usecases/dist/query-id-families.d.ts +0 -4
- package/node_modules/@murphai/vault-usecases/dist/query-id-families.d.ts.map +0 -1
- package/node_modules/@murphai/vault-usecases/dist/query-id-families.js +0 -104
- package/node_modules/@murphai/vault-usecases/dist/query-id-families.js.map +0 -1
- /package/node_modules/@murphai/device-syncd/dist/{providers → config}/junction-connect-sources.d.ts +0 -0
|
@@ -4,7 +4,7 @@ import { conversationRefFromAssistantInputConversation } from '../conversation-r
|
|
|
4
4
|
import { createHostedDeliveryId } from '../hosted-delivery-id.js';
|
|
5
5
|
import { listAssistantOutboxIntents, } from '../outbox.js';
|
|
6
6
|
import { isAssistantProviderConnectionLostError, isAssistantProviderStalledError, } from '../provider-failure-diagnostics.js';
|
|
7
|
-
import { listAssistantTurnReceipts } from '../receipts.js';
|
|
7
|
+
import { listAssistantTurnReceipts, } from '../receipts.js';
|
|
8
8
|
import { sanitizeAssistantPortableStateString } from '../redaction.js';
|
|
9
9
|
import { errorMessage, normalizeNullableString } from '../shared.js';
|
|
10
10
|
import { sendAssistantMessage } from '../service.js';
|
|
@@ -17,7 +17,7 @@ import { AUTO_REPLY_RECEIPT_CROSS_SESSION_CONTEXT_INTENT_ID_KEY, AUTO_REPLY_RECE
|
|
|
17
17
|
import { describeAssistantAutoReplyFailure, normalizeAssistantSafeFailureContext, } from './failure-observability.js';
|
|
18
18
|
import { collectAssistantAutoReplyGroup, loadAssistantAutoReplyGroupItems, } from './grouping.js';
|
|
19
19
|
import { AUTO_REPLY_PROVIDER_STALLED_DETAIL, createAssistantProviderWatchdog, } from './provider-watchdog.js';
|
|
20
|
-
import { prepareAssistantAutoReplyInput, readTelegramAutoReplyMetadataFromAssistantInput, renderAssistantInputAttachmentDescriptorPromptSection, } from './prompt-builder.js';
|
|
20
|
+
import { prepareAssistantAutoReplyInput, readTelegramAutoReplyMetadataFromAssistantInput, renderAssistantInputAttachmentDescriptorPromptSection, renderAssistantInputGroupContextPrompt, } from './prompt-builder.js';
|
|
21
21
|
import { assistantAutomationInputSummaryFromCandidate, compareAssistantInputSummaryOrder, } from './input-summary.js';
|
|
22
22
|
import { computeAssistantAutomationRetryAt, earliestAssistantAutomationWakeAt, } from './shared.js';
|
|
23
23
|
import { buildAssistantAutomationTurnEnvelope } from './turn-envelope.js';
|
|
@@ -30,10 +30,28 @@ const ASSISTANT_PROVIDER_EMPTY_RESPONSE_CODE = 'ASSISTANT_PROVIDER_EMPTY_RESPONS
|
|
|
30
30
|
const ASSISTANT_EMPTY_RESPONSE_SUPPRESSION_REASON = 'assistant provider completed without a reply';
|
|
31
31
|
const ASSISTANT_PROVIDER_USAGE_LIMIT_SUPPRESSION_REASON = 'assistant provider usage limit reached; auto-reply suppressed until usage is restored.';
|
|
32
32
|
const ASSISTANT_NO_REPLY_SUPPRESSION_REASON = 'assistant finished without a reply';
|
|
33
|
+
function mergeAssistantTerminalLinqCleanupMessageIds(lists) {
|
|
34
|
+
const messageIds = new Set();
|
|
35
|
+
for (const list of lists) {
|
|
36
|
+
for (const messageId of list ?? []) {
|
|
37
|
+
messageIds.add(messageId);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return messageIds.size > 0 ? [...messageIds] : null;
|
|
41
|
+
}
|
|
33
42
|
export function applyAssistantAutoReplyProcessResult(input) {
|
|
34
43
|
if (input.result.checkpointRequired) {
|
|
35
44
|
input.summary.checkpointRequired = true;
|
|
36
45
|
}
|
|
46
|
+
if (input.result.terminalLinqCleanup) {
|
|
47
|
+
const merged = mergeAssistantTerminalLinqCleanupMessageIds([
|
|
48
|
+
input.summary.terminalLinqCleanup,
|
|
49
|
+
input.result.terminalLinqCleanup,
|
|
50
|
+
]);
|
|
51
|
+
if (merged) {
|
|
52
|
+
input.summary.terminalLinqCleanup = merged;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
37
55
|
input.summary.failed += input.result.failed;
|
|
38
56
|
input.summary.nextWakeAt = earliestAssistantAutomationWakeAt(input.summary.nextWakeAt, input.result.nextWakeAt);
|
|
39
57
|
input.summary.replied += input.result.replied;
|
|
@@ -62,13 +80,27 @@ export function createAssistantAutoReplyGroupContext(items) {
|
|
|
62
80
|
};
|
|
63
81
|
}
|
|
64
82
|
export async function processAssistantAutoReplyGroup(input) {
|
|
83
|
+
const historyReader = input.historyReader ?? createAssistantAutoReplyHistoryReader({
|
|
84
|
+
vault: input.vault,
|
|
85
|
+
});
|
|
65
86
|
let latestContext = input.context;
|
|
87
|
+
let observedTerminalLinqCleanup = null;
|
|
88
|
+
const withObservedTerminalLinqCleanup = (outcome) => ({
|
|
89
|
+
...outcome,
|
|
90
|
+
...(observedTerminalLinqCleanup && !outcome.terminalLinqCleanup
|
|
91
|
+
? { terminalLinqCleanup: observedTerminalLinqCleanup }
|
|
92
|
+
: {}),
|
|
93
|
+
});
|
|
66
94
|
try {
|
|
67
95
|
const resolved = await resolveAssistantAutoReplyGroupOutcome({
|
|
68
96
|
...input,
|
|
97
|
+
historyReader,
|
|
69
98
|
onAcceptedContext(context) {
|
|
70
99
|
latestContext = context;
|
|
71
100
|
},
|
|
101
|
+
onTerminalLinqCleanup(messageIds) {
|
|
102
|
+
observedTerminalLinqCleanup = messageIds;
|
|
103
|
+
},
|
|
72
104
|
});
|
|
73
105
|
return commitAssistantAutoReplyGroupOutcome({
|
|
74
106
|
context: resolved.context,
|
|
@@ -94,22 +126,22 @@ export async function processAssistantAutoReplyGroup(input) {
|
|
|
94
126
|
return commitAssistantAutoReplyGroupOutcome({
|
|
95
127
|
context: latestContext,
|
|
96
128
|
onEvent: input.onEvent,
|
|
97
|
-
outcome: createDeferredGroupOutcome({
|
|
129
|
+
outcome: withObservedTerminalLinqCleanup(createDeferredGroupOutcome({
|
|
98
130
|
inputCount: latestContext.inputCount,
|
|
99
131
|
nextWakeAt: computeAssistantAutomationRetryAt(ASSISTANT_AUTO_REPLY_DEFERRED_RETRY_DELAY_MS),
|
|
100
132
|
reason,
|
|
101
133
|
stopScanning: true,
|
|
102
|
-
}),
|
|
134
|
+
})),
|
|
103
135
|
vault: input.vault,
|
|
104
136
|
});
|
|
105
137
|
}
|
|
106
138
|
return commitAssistantAutoReplyGroupOutcome({
|
|
107
139
|
context: latestContext,
|
|
108
140
|
onEvent: input.onEvent,
|
|
109
|
-
outcome: classifyAssistantAutoReplyFailure({
|
|
141
|
+
outcome: withObservedTerminalLinqCleanup(classifyAssistantAutoReplyFailure({
|
|
110
142
|
inputCount: latestContext.inputCount,
|
|
111
143
|
error,
|
|
112
|
-
}),
|
|
144
|
+
})),
|
|
113
145
|
vault: input.vault,
|
|
114
146
|
});
|
|
115
147
|
}
|
|
@@ -122,7 +154,7 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
122
154
|
executionContext: input.executionContext,
|
|
123
155
|
group: context,
|
|
124
156
|
onEvent: input.onEvent,
|
|
125
|
-
|
|
157
|
+
historyReader: input.historyReader,
|
|
126
158
|
receiptFallbackEnabled: shouldUseAssistantAutoReplyReceiptFallback({
|
|
127
159
|
deliveryDispatchMode: input.deliveryDispatchMode,
|
|
128
160
|
executionContext: input.executionContext,
|
|
@@ -141,17 +173,43 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
141
173
|
};
|
|
142
174
|
}
|
|
143
175
|
if (decision.kind === 'skip') {
|
|
176
|
+
const advanceInputIds = decision.advanceInputIds;
|
|
177
|
+
const skipContext = advanceInputIds
|
|
178
|
+
? selectAssistantAutoReplyContextByInputIds({
|
|
179
|
+
context,
|
|
180
|
+
inputIds: advanceInputIds,
|
|
181
|
+
})
|
|
182
|
+
: context;
|
|
183
|
+
if (!skipContext ||
|
|
184
|
+
(advanceInputIds &&
|
|
185
|
+
(skipContext.inputIds.length !== advanceInputIds.length ||
|
|
186
|
+
skipContext.inputIds.some((inputId, index) => inputId !== advanceInputIds[index]) ||
|
|
187
|
+
advanceInputIds.some((inputId, index) => inputId !== context.inputIds[index])))) {
|
|
188
|
+
return {
|
|
189
|
+
context,
|
|
190
|
+
deferredTerminalSuppressionEvidence: [],
|
|
191
|
+
outcome: createDeferredGroupOutcome({
|
|
192
|
+
inputCount: context.inputCount,
|
|
193
|
+
reason: 'assistant reply terminal evidence prefix no longer matches pending input; will retry safely.',
|
|
194
|
+
stopScanning: true,
|
|
195
|
+
}),
|
|
196
|
+
terminalSuppressedInputIds: [],
|
|
197
|
+
};
|
|
198
|
+
}
|
|
144
199
|
return {
|
|
145
|
-
context,
|
|
200
|
+
context: skipContext,
|
|
146
201
|
deferredTerminalSuppressionEvidence: [],
|
|
147
202
|
outcome: createSkippedDecisionOutcome({
|
|
148
|
-
inputCount:
|
|
149
|
-
decision
|
|
203
|
+
inputCount: skipContext.inputCount,
|
|
204
|
+
decision: advanceInputIds && advanceInputIds.length < context.inputIds.length
|
|
205
|
+
? { ...decision, stopScanning: true }
|
|
206
|
+
: decision,
|
|
150
207
|
}),
|
|
151
208
|
terminalSuppressedInputIds: [],
|
|
152
209
|
};
|
|
153
210
|
}
|
|
154
211
|
let acceptedContext = context;
|
|
212
|
+
let terminalLinqCleanup = null;
|
|
155
213
|
const deferredTerminalSuppressionEvidence = [];
|
|
156
214
|
const terminalSuppressedInputIds = new Set();
|
|
157
215
|
input.onEvent?.({
|
|
@@ -159,8 +217,20 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
159
217
|
inputId: primaryAutoReplyInputId(context),
|
|
160
218
|
details: 'assistant provider turn started',
|
|
161
219
|
});
|
|
220
|
+
const assistantStyleSettingsAuthorized = decision.primaryInput.source === 'email'
|
|
221
|
+
? context.items.every((item) => item.summary.source === 'email' &&
|
|
222
|
+
item.inputCandidate?.event.sourceMetadata?.kind === 'email' &&
|
|
223
|
+
item.inputCandidate.event.sourceMetadata
|
|
224
|
+
.assistantStyleSettingsAuthorized === true)
|
|
225
|
+
: context.items.some((item) => item.inputCandidate?.event.sourceRef.kind === 'hosted-mailbox' &&
|
|
226
|
+
item.inputCandidate.event.sourceRef.causalSeq == null)
|
|
227
|
+
? false
|
|
228
|
+
: undefined;
|
|
162
229
|
const activeTurnHooks = input.inputSource
|
|
163
230
|
? createAssistantAutoReplyActiveTurnInputHooks({
|
|
231
|
+
...(assistantStyleSettingsAuthorized === undefined
|
|
232
|
+
? {}
|
|
233
|
+
: { assistantStyleSettingsAuthorized }),
|
|
164
234
|
context,
|
|
165
235
|
deliveryTarget: decision.deliveryTarget,
|
|
166
236
|
executionContext: input.executionContext,
|
|
@@ -180,14 +250,21 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
180
250
|
executionContext: input.executionContext,
|
|
181
251
|
});
|
|
182
252
|
const result = await executeAssistantAutoReply({
|
|
253
|
+
...(assistantStyleSettingsAuthorized === undefined
|
|
254
|
+
? {}
|
|
255
|
+
: { assistantStyleSettingsAuthorized }),
|
|
183
256
|
acceptedTurnInputInitialInputs: buildAutoReplyAcceptedTurnInputItems({
|
|
184
257
|
inputSummaries: context.items.map((item) => item.summary),
|
|
185
258
|
inputCandidates: context.items.map((item) => item.inputCandidate ?? null),
|
|
186
259
|
}),
|
|
187
260
|
bindingDeliveryTarget: decision.deliveryTarget,
|
|
261
|
+
...(input.beforeProviderAcceptedInputs
|
|
262
|
+
? { beforeProviderAcceptedInputs: input.beforeProviderAcceptedInputs }
|
|
263
|
+
: {}),
|
|
188
264
|
captureIds: context.optionalInboxCaptureIds,
|
|
189
265
|
inputIds: context.inputIds,
|
|
190
266
|
deliveryDispatchMode: input.deliveryDispatchMode,
|
|
267
|
+
answeredMailboxItemIds: hostedDelivery.answeredMailboxItemIds,
|
|
191
268
|
deliveryIdempotencyKey: hostedDelivery.deliveryIdempotencyKey,
|
|
192
269
|
hostedDeliveryIdempotency: hostedDelivery.hostedDeliveryIdempotency,
|
|
193
270
|
deliveryTarget: decision.deliveryTarget,
|
|
@@ -204,7 +281,13 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
204
281
|
signal: input.signal,
|
|
205
282
|
maxSessionAgeMs: input.sessionMaxAgeMs,
|
|
206
283
|
onEvent: input.onEvent,
|
|
207
|
-
|
|
284
|
+
onProviderEvent: input.onProviderEvent ?? null,
|
|
285
|
+
onProviderRequestStarted: input.onProviderRequestStarted
|
|
286
|
+
? (event) => input.onProviderRequestStarted?.({
|
|
287
|
+
...event,
|
|
288
|
+
autoReplyHistory: input.historyReader.readMetrics(),
|
|
289
|
+
})
|
|
290
|
+
: null,
|
|
208
291
|
onTraceEvent: input.onTraceEvent,
|
|
209
292
|
onFinishWithoutReplyAccepted: async (event) => {
|
|
210
293
|
const acceptedInputIds = [...new Set(event.acceptedInputIds)];
|
|
@@ -227,10 +310,18 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
227
310
|
deferredTerminalSuppressionEvidence.push(evidenceDraft);
|
|
228
311
|
}
|
|
229
312
|
else {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
313
|
+
terminalLinqCleanup = mergeAssistantTerminalLinqCleanupMessageIds([
|
|
314
|
+
terminalLinqCleanup,
|
|
315
|
+
await writeAssistantAutoReplySuppressionEvidence({
|
|
316
|
+
...evidenceDraft,
|
|
317
|
+
vault: input.vault,
|
|
318
|
+
}),
|
|
319
|
+
]);
|
|
320
|
+
if (terminalLinqCleanup) {
|
|
321
|
+
// Keep the caller's observer current so a provider failure after
|
|
322
|
+
// this hook cannot drop already-written cleanup obligations.
|
|
323
|
+
input.onTerminalLinqCleanup?.(terminalLinqCleanup);
|
|
324
|
+
}
|
|
234
325
|
}
|
|
235
326
|
for (const inputId of acceptedInputIds) {
|
|
236
327
|
terminalSuppressedInputIds.add(inputId);
|
|
@@ -253,11 +344,14 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
253
344
|
return {
|
|
254
345
|
context: acceptedContext,
|
|
255
346
|
deferredTerminalSuppressionEvidence,
|
|
256
|
-
outcome:
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
347
|
+
outcome: {
|
|
348
|
+
...createSkippedGroupOutcome({
|
|
349
|
+
inputCount: acceptedContext.inputCount,
|
|
350
|
+
reason: ASSISTANT_NO_REPLY_SUPPRESSION_REASON,
|
|
351
|
+
terminalSuppression: true,
|
|
352
|
+
}),
|
|
353
|
+
...(terminalLinqCleanup ? { terminalLinqCleanup } : {}),
|
|
354
|
+
},
|
|
261
355
|
terminalSuppressedInputIds: [...terminalSuppressedInputIds],
|
|
262
356
|
};
|
|
263
357
|
}
|
|
@@ -266,33 +360,45 @@ async function resolveAssistantAutoReplyGroupOutcome(input) {
|
|
|
266
360
|
return {
|
|
267
361
|
context: acceptedContext,
|
|
268
362
|
deferredTerminalSuppressionEvidence,
|
|
269
|
-
outcome:
|
|
363
|
+
outcome: {
|
|
364
|
+
...createDeferredDeliveryGroupOutcome(result),
|
|
365
|
+
...(terminalLinqCleanup ? { terminalLinqCleanup } : {}),
|
|
366
|
+
},
|
|
270
367
|
terminalSuppressedInputIds: [...terminalSuppressedInputIds],
|
|
271
368
|
};
|
|
272
369
|
}
|
|
273
370
|
return {
|
|
274
371
|
context: acceptedContext,
|
|
275
372
|
deferredTerminalSuppressionEvidence,
|
|
276
|
-
outcome:
|
|
373
|
+
outcome: {
|
|
374
|
+
...createSuccessfulReplyGroupOutcome(result),
|
|
375
|
+
...(terminalLinqCleanup ? { terminalLinqCleanup } : {}),
|
|
376
|
+
},
|
|
277
377
|
terminalSuppressedInputIds: [...terminalSuppressedInputIds],
|
|
278
378
|
};
|
|
279
379
|
}
|
|
280
380
|
async function commitAssistantAutoReplyGroupOutcome(input) {
|
|
281
381
|
const artifactResult = await writeAssistantAutoReplyOutcomeArtifacts(input).catch((error) => {
|
|
282
382
|
if (input.outcome.artifact.kind === 'error') {
|
|
283
|
-
return { checkpointRequired: false };
|
|
383
|
+
return { checkpointRequired: false, terminalLinqCleanup: null };
|
|
284
384
|
}
|
|
285
385
|
throw error;
|
|
286
386
|
});
|
|
287
|
-
const
|
|
387
|
+
const deferredSuppression = await writeDeferredAssistantAutoReplySuppressionEvidence(input);
|
|
288
388
|
emitAssistantAutoReplyOutcomeEvent(input);
|
|
389
|
+
const terminalLinqCleanup = mergeAssistantTerminalLinqCleanupMessageIds([
|
|
390
|
+
input.outcome.terminalLinqCleanup,
|
|
391
|
+
artifactResult.terminalLinqCleanup,
|
|
392
|
+
deferredSuppression.terminalLinqCleanup,
|
|
393
|
+
]);
|
|
289
394
|
return {
|
|
290
395
|
advanceCursor: input.outcome.advanceCursor,
|
|
291
396
|
...(input.outcome.checkpointRequired ||
|
|
292
397
|
artifactResult.checkpointRequired ||
|
|
293
|
-
|
|
398
|
+
deferredSuppression.checkpointRequired
|
|
294
399
|
? { checkpointRequired: true }
|
|
295
400
|
: {}),
|
|
401
|
+
...(terminalLinqCleanup ? { terminalLinqCleanup } : {}),
|
|
296
402
|
currentTurnDeliveryIntentIds: collectAssistantAutoReplyOutcomeDeliveryIntentIds(input.outcome),
|
|
297
403
|
failed: input.outcome.summary.failed,
|
|
298
404
|
lastInputCursor: input.context.lastInputCursor,
|
|
@@ -307,15 +413,19 @@ async function writeDeferredAssistantAutoReplySuppressionEvidence(input) {
|
|
|
307
413
|
if (evidence.length === 0 ||
|
|
308
414
|
(input.outcome.artifact.kind !== 'result' &&
|
|
309
415
|
input.outcome.artifact.kind !== 'deferred')) {
|
|
310
|
-
return false;
|
|
416
|
+
return { checkpointRequired: false, terminalLinqCleanup: null };
|
|
311
417
|
}
|
|
418
|
+
let terminalLinqCleanup = null;
|
|
312
419
|
for (const draft of evidence) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
420
|
+
terminalLinqCleanup = mergeAssistantTerminalLinqCleanupMessageIds([
|
|
421
|
+
terminalLinqCleanup,
|
|
422
|
+
await writeAssistantAutoReplySuppressionEvidence({
|
|
423
|
+
...draft,
|
|
424
|
+
vault: input.vault,
|
|
425
|
+
}),
|
|
426
|
+
]);
|
|
317
427
|
}
|
|
318
|
-
return true;
|
|
428
|
+
return { checkpointRequired: true, terminalLinqCleanup };
|
|
319
429
|
}
|
|
320
430
|
function collectAssistantAutoReplyOutcomeDeliveryIntentIds(outcome) {
|
|
321
431
|
const result = outcome.artifact.kind === 'result' || outcome.artifact.kind === 'deferred'
|
|
@@ -330,14 +440,14 @@ async function writeAssistantAutoReplyOutcomeArtifacts(input) {
|
|
|
330
440
|
switch (input.outcome.artifact.kind) {
|
|
331
441
|
case 'none':
|
|
332
442
|
if (input.outcome.kind === 'skipped' && input.outcome.terminalSuppression) {
|
|
333
|
-
await writeAssistantAutoReplySuppressionEvidence({
|
|
443
|
+
const terminalLinqCleanup = await writeAssistantAutoReplySuppressionEvidence({
|
|
334
444
|
captureIds: input.context.optionalInboxCaptureIds,
|
|
335
445
|
inputIds: input.context.inputIds,
|
|
336
446
|
linqMessageIds: resolveAutoReplyLinqProviderMessageIdsFromContext(input.context),
|
|
337
447
|
reason: sanitizeAssistantAutoReplySuppressionReason(input.outcome.event?.details),
|
|
338
448
|
vault: input.vault,
|
|
339
449
|
});
|
|
340
|
-
return { checkpointRequired: true };
|
|
450
|
+
return { checkpointRequired: true, terminalLinqCleanup };
|
|
341
451
|
}
|
|
342
452
|
return { checkpointRequired: false };
|
|
343
453
|
case 'result': {
|
|
@@ -352,7 +462,7 @@ async function writeAssistantAutoReplyOutcomeArtifacts(input) {
|
|
|
352
462
|
if (!evidenceContext) {
|
|
353
463
|
return { checkpointRequired: false };
|
|
354
464
|
}
|
|
355
|
-
await writeAssistantAutoReplyReplyIntentEvidence({
|
|
465
|
+
const terminalLinqCleanup = await writeAssistantAutoReplyReplyIntentEvidence({
|
|
356
466
|
captureIds: evidenceContext.optionalInboxCaptureIds,
|
|
357
467
|
inputIds: evidenceContext.inputIds,
|
|
358
468
|
linqMessageIds: resolveAutoReplyLinqProviderMessageIdsFromContext(evidenceContext),
|
|
@@ -361,7 +471,7 @@ async function writeAssistantAutoReplyOutcomeArtifacts(input) {
|
|
|
361
471
|
result: input.outcome.artifact.result,
|
|
362
472
|
vault: input.vault,
|
|
363
473
|
});
|
|
364
|
-
return { checkpointRequired: true };
|
|
474
|
+
return { checkpointRequired: true, terminalLinqCleanup };
|
|
365
475
|
}
|
|
366
476
|
case 'deferred': {
|
|
367
477
|
const queuedAt = new Date().toISOString();
|
|
@@ -372,7 +482,7 @@ async function writeAssistantAutoReplyOutcomeArtifacts(input) {
|
|
|
372
482
|
if (!evidenceContext) {
|
|
373
483
|
return { checkpointRequired: false };
|
|
374
484
|
}
|
|
375
|
-
await writeAssistantAutoReplyReplyIntentEvidence({
|
|
485
|
+
const terminalLinqCleanup = await writeAssistantAutoReplyReplyIntentEvidence({
|
|
376
486
|
captureIds: evidenceContext.optionalInboxCaptureIds,
|
|
377
487
|
inputIds: evidenceContext.inputIds,
|
|
378
488
|
linqMessageIds: resolveAutoReplyLinqProviderMessageIdsFromContext(evidenceContext),
|
|
@@ -381,7 +491,7 @@ async function writeAssistantAutoReplyOutcomeArtifacts(input) {
|
|
|
381
491
|
result: input.outcome.artifact.result,
|
|
382
492
|
vault: input.vault,
|
|
383
493
|
});
|
|
384
|
-
return { checkpointRequired: true };
|
|
494
|
+
return { checkpointRequired: true, terminalLinqCleanup };
|
|
385
495
|
}
|
|
386
496
|
case 'error':
|
|
387
497
|
await writeAssistantChatErrorArtifacts({
|
|
@@ -439,6 +549,9 @@ function createSkippedDecisionOutcome(input) {
|
|
|
439
549
|
return {
|
|
440
550
|
...outcome,
|
|
441
551
|
...(input.decision.checkpointRequired ? { checkpointRequired: true } : {}),
|
|
552
|
+
...(input.decision.terminalLinqCleanup
|
|
553
|
+
? { terminalLinqCleanup: input.decision.terminalLinqCleanup }
|
|
554
|
+
: {}),
|
|
442
555
|
};
|
|
443
556
|
}
|
|
444
557
|
return createDeferredGroupOutcome({
|
|
@@ -571,36 +684,64 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
571
684
|
if (input.group.firstItem.summary.actorIsSelf && !input.allowSelfAuthored) {
|
|
572
685
|
return createAdvancingSkipDecision('input is self-authored');
|
|
573
686
|
}
|
|
574
|
-
const
|
|
687
|
+
const existingTerminalEvidenceEntries = (await Promise.all(input.group.items.map(async (item) => {
|
|
575
688
|
const inputId = item.inputCandidate.event.inputId;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
689
|
+
const inputEvidence = await readAssistantAutoReplyTerminalEvidenceByEvidenceId(input.vault, inputId);
|
|
690
|
+
const fallbackEvidenceId = item.summary.optionalInboxCaptureId;
|
|
691
|
+
const fallbackEvidence = fallbackEvidenceId && fallbackEvidenceId !== inputId
|
|
692
|
+
? await readAssistantAutoReplyTerminalEvidenceByEvidenceId(input.vault, fallbackEvidenceId)
|
|
693
|
+
: null;
|
|
694
|
+
return [
|
|
695
|
+
{
|
|
696
|
+
evidence: inputEvidence,
|
|
697
|
+
evidenceId: inputEvidence ? inputId : null,
|
|
698
|
+
lookup: inputEvidence ? 'input' : null,
|
|
699
|
+
ownerInputId: inputId,
|
|
700
|
+
},
|
|
701
|
+
...(fallbackEvidenceId && fallbackEvidenceId !== inputId
|
|
702
|
+
? [{
|
|
703
|
+
evidence: fallbackEvidence,
|
|
704
|
+
evidenceId: fallbackEvidence ? fallbackEvidenceId : null,
|
|
705
|
+
lookup: fallbackEvidence ? 'capture' : null,
|
|
706
|
+
ownerInputId: inputId,
|
|
707
|
+
}]
|
|
708
|
+
: []),
|
|
709
|
+
];
|
|
710
|
+
}))).flat();
|
|
711
|
+
const existingTerminalEvidence = existingTerminalEvidenceEntries.map((entry) => entry.evidence);
|
|
712
|
+
const terminalRepair = findRepairableTerminalEvidencePartitionsForGroup({
|
|
713
|
+
entries: existingTerminalEvidenceEntries,
|
|
714
|
+
group: input.group,
|
|
715
|
+
});
|
|
716
|
+
if (terminalRepair) {
|
|
717
|
+
let checkpointRequired = false;
|
|
718
|
+
let terminalLinqCleanup = null;
|
|
719
|
+
for (const repairPartition of terminalRepair.partitions) {
|
|
720
|
+
const repairEvidence = repairPartition.evidence;
|
|
721
|
+
const repairInputIds = [...repairPartition.inputIds];
|
|
722
|
+
const repairCaptureIds = resolveTerminalEvidenceRepairCaptureIds({
|
|
723
|
+
group: input.group,
|
|
724
|
+
inputIds: repairInputIds,
|
|
596
725
|
});
|
|
726
|
+
if (await terminalEvidenceExistsForEveryId(input.vault, repairInputIds)) {
|
|
727
|
+
continue;
|
|
728
|
+
}
|
|
729
|
+
terminalLinqCleanup = mergeAssistantTerminalLinqCleanupMessageIds([
|
|
730
|
+
terminalLinqCleanup,
|
|
731
|
+
await backfillAssistantAutoReplyTerminalEvidenceFromTerminalEvidence({
|
|
732
|
+
captureIds: repairCaptureIds,
|
|
733
|
+
evidence: repairEvidence,
|
|
734
|
+
inputIds: repairInputIds,
|
|
735
|
+
vault: input.vault,
|
|
736
|
+
}),
|
|
737
|
+
]);
|
|
738
|
+
checkpointRequired = true;
|
|
597
739
|
}
|
|
598
740
|
return createAdvancingSkipDecision('assistant reply already handled', {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
return createAdvancingSkipDecision('assistant reply already handled', {
|
|
741
|
+
advanceInputIds: terminalRepair.inputIds,
|
|
742
|
+
...(checkpointRequired ? { checkpointRequired: true } : {}),
|
|
743
|
+
stopScanning: terminalRepair.inputIds.length < input.group.inputIds.length,
|
|
744
|
+
terminalLinqCleanup,
|
|
604
745
|
terminalSuppression: false,
|
|
605
746
|
});
|
|
606
747
|
}
|
|
@@ -615,15 +756,15 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
615
756
|
return { kind: 'ignore' };
|
|
616
757
|
}
|
|
617
758
|
const primaryReplyInput = createAssistantAutoReplyPrimaryInput(primaryInput);
|
|
618
|
-
const receipts = await readAssistantAutoReplyReceiptRecords(input);
|
|
619
759
|
if (input.receiptFallbackEnabled) {
|
|
760
|
+
const receipts = await input.historyReader.readReceipts();
|
|
620
761
|
const handledReceipt = findHandledAutoReplyReceiptForGroup({
|
|
621
762
|
captureIds: input.group.optionalInboxCaptureIds,
|
|
622
763
|
inputIds: input.group.inputIds,
|
|
623
764
|
receipts,
|
|
624
765
|
});
|
|
625
766
|
if (handledReceipt) {
|
|
626
|
-
await backfillAssistantAutoReplyTerminalEvidenceFromTerminalSnapshot({
|
|
767
|
+
const terminalLinqCleanup = await backfillAssistantAutoReplyTerminalEvidenceFromTerminalSnapshot({
|
|
627
768
|
captureIds: input.group.optionalInboxCaptureIds,
|
|
628
769
|
context: input.group,
|
|
629
770
|
snapshot: handledReceipt,
|
|
@@ -631,6 +772,7 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
631
772
|
});
|
|
632
773
|
return createAdvancingSkipDecision('assistant reply already handled', {
|
|
633
774
|
checkpointRequired: true,
|
|
775
|
+
terminalLinqCleanup,
|
|
634
776
|
terminalSuppression: false,
|
|
635
777
|
});
|
|
636
778
|
}
|
|
@@ -639,6 +781,7 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
639
781
|
const autoReplySkipReason = channelAdapter?.canAutoReply({
|
|
640
782
|
externalThreadRouteAuthorityPresent: primaryReplyInput.sourceMetadata?.kind === 'linq' &&
|
|
641
783
|
primaryReplyInput.sourceMetadata.externalThreadRouteAuthorityPresent === true,
|
|
784
|
+
replyTargetThreadId: primaryReplyInput.replyTarget?.threadId ?? null,
|
|
642
785
|
source: primaryReplyInput.source,
|
|
643
786
|
threadIsDirect: primaryReplyInput.conversation.threadIsDirect,
|
|
644
787
|
}) ?? null;
|
|
@@ -667,15 +810,16 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
667
810
|
if (input.group.firstItem.summary.actorIsSelf &&
|
|
668
811
|
await isRecentSelfAuthoredAssistantEcho({
|
|
669
812
|
deliveryTarget: conversationDeliveryTarget,
|
|
813
|
+
historyReader: input.historyReader,
|
|
670
814
|
input: primaryReplyInput,
|
|
671
815
|
session: existingSession,
|
|
672
816
|
vault: input.vault,
|
|
673
817
|
})) {
|
|
674
818
|
return createAdvancingSkipDecision('capture matches a recent assistant delivery');
|
|
675
819
|
}
|
|
676
|
-
const
|
|
677
|
-
consumedIntentIds: readAssistantAutoReplyConsumedCrossSessionIntentIds(receipts),
|
|
820
|
+
const outboxContext = await resolveAssistantAutoReplyLatestCrossSessionDelivery({
|
|
678
821
|
deliveryTarget: conversationDeliveryTarget,
|
|
822
|
+
historyReader: input.historyReader,
|
|
679
823
|
input: primaryReplyInput,
|
|
680
824
|
// Newest grouped input with a native reply. The selector treats it as
|
|
681
825
|
// an authoritative provider-side identification, so it bypasses the
|
|
@@ -683,8 +827,14 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
683
827
|
// "latest" fallback.
|
|
684
828
|
replyToMessageId: readPromptInputsCrossSessionReplyToMessageId(promptInputs),
|
|
685
829
|
session: existingSession,
|
|
686
|
-
vault: input.vault,
|
|
687
830
|
});
|
|
831
|
+
const affirmativeReaction = primaryReplyInput.sourceMetadata?.kind === 'linq' &&
|
|
832
|
+
primaryReplyInput.sourceMetadata.affirmativeReaction === true;
|
|
833
|
+
if (affirmativeReaction &&
|
|
834
|
+
outboxContext.replyTargetDelivery === null) {
|
|
835
|
+
return createAdvancingSkipDecision('affirmative Linq reaction target is not an attested assistant delivery');
|
|
836
|
+
}
|
|
837
|
+
const latestCrossSessionDelivery = outboxContext.delivery;
|
|
688
838
|
if (input.executionContext?.hosted &&
|
|
689
839
|
primaryReplyInput.source === 'telegram' &&
|
|
690
840
|
deliveryTarget === null &&
|
|
@@ -709,7 +859,9 @@ async function evaluateAssistantAutoReplyGroup(input) {
|
|
|
709
859
|
operatorAuthority: 'direct-operator',
|
|
710
860
|
primaryInput: primaryReplyInput,
|
|
711
861
|
prompt: preparedInput.prompt,
|
|
712
|
-
turnContext:
|
|
862
|
+
turnContext: affirmativeReaction
|
|
863
|
+
? buildAssistantAutoReplyAffirmativeReactionTurnContext(outboxContext.replyTargetDelivery?.message ?? null)
|
|
864
|
+
: buildAssistantAutoReplyCrossSessionTurnContext(latestCrossSessionDelivery?.message ?? null),
|
|
713
865
|
userMessageContent: preparedInput.userMessageContent,
|
|
714
866
|
};
|
|
715
867
|
}
|
|
@@ -728,6 +880,12 @@ function createAssistantAutoReplyPromptInputFromEvent(item) {
|
|
|
728
880
|
attachmentDescriptors: event.attachmentDescriptors,
|
|
729
881
|
attachmentEvidence: event.attachmentEvidence,
|
|
730
882
|
conversation,
|
|
883
|
+
...(event.groupParticipantAdded === true
|
|
884
|
+
? { groupParticipantAdded: event.groupParticipantAdded }
|
|
885
|
+
: {}),
|
|
886
|
+
...(event.groupReactionContext
|
|
887
|
+
? { groupReactionContext: event.groupReactionContext }
|
|
888
|
+
: {}),
|
|
731
889
|
inputId: event.inputId,
|
|
732
890
|
occurredAt: event.occurredAt,
|
|
733
891
|
projection: {
|
|
@@ -783,6 +941,7 @@ function createHostedAutoReplyDeliveryIdempotency(input) {
|
|
|
783
941
|
const userId = normalizeNullableString(input.executionContext?.hosted?.memberId);
|
|
784
942
|
if (!userId) {
|
|
785
943
|
return {
|
|
944
|
+
answeredMailboxItemIds: [],
|
|
786
945
|
deliveryIdempotencyKey: null,
|
|
787
946
|
hostedDeliveryIdempotency: null,
|
|
788
947
|
};
|
|
@@ -790,28 +949,38 @@ function createHostedAutoReplyDeliveryIdempotency(input) {
|
|
|
790
949
|
const candidates = autoReplyInputCandidatesFromContext(input.context);
|
|
791
950
|
if (candidates.length === 0) {
|
|
792
951
|
return {
|
|
952
|
+
answeredMailboxItemIds: [],
|
|
793
953
|
deliveryIdempotencyKey: null,
|
|
794
954
|
hostedDeliveryIdempotency: null,
|
|
795
955
|
};
|
|
796
956
|
}
|
|
797
|
-
const deliveryKeyMailboxItemIds = [];
|
|
798
957
|
const hostedMailboxItemIds = [];
|
|
958
|
+
let effectAnchorMailboxItemId = null;
|
|
799
959
|
for (const candidate of candidates) {
|
|
800
960
|
if (candidate.event.sourceRef.kind !== 'hosted-mailbox') {
|
|
801
961
|
return {
|
|
962
|
+
answeredMailboxItemIds: [],
|
|
802
963
|
deliveryIdempotencyKey: null,
|
|
803
964
|
hostedDeliveryIdempotency: null,
|
|
804
965
|
};
|
|
805
966
|
}
|
|
806
|
-
|
|
967
|
+
effectAnchorMailboxItemId = candidate.event.sourceRef.itemId;
|
|
807
968
|
const hostedMailboxItemId = normalizeNullableString(candidate.event.hostedMailboxItemId ?? null);
|
|
808
969
|
if (hostedMailboxItemId) {
|
|
809
970
|
hostedMailboxItemIds.push(hostedMailboxItemId);
|
|
810
971
|
}
|
|
811
972
|
}
|
|
973
|
+
if (!effectAnchorMailboxItemId) {
|
|
974
|
+
return {
|
|
975
|
+
answeredMailboxItemIds: [],
|
|
976
|
+
deliveryIdempotencyKey: null,
|
|
977
|
+
hostedDeliveryIdempotency: null,
|
|
978
|
+
};
|
|
979
|
+
}
|
|
812
980
|
const channel = normalizeNullableString(input.context.firstItem.summary.source);
|
|
813
981
|
if (!channel) {
|
|
814
982
|
return {
|
|
983
|
+
answeredMailboxItemIds: [],
|
|
815
984
|
deliveryIdempotencyKey: null,
|
|
816
985
|
hostedDeliveryIdempotency: null,
|
|
817
986
|
};
|
|
@@ -840,11 +1009,14 @@ function createHostedAutoReplyDeliveryIdempotency(input) {
|
|
|
840
1009
|
}
|
|
841
1010
|
: null;
|
|
842
1011
|
return {
|
|
1012
|
+
answeredMailboxItemIds: hostedMailboxItemIds,
|
|
843
1013
|
deliveryIdempotencyKey: createHostedDeliveryId({
|
|
844
1014
|
assistantTurnOrdinal,
|
|
845
1015
|
channel,
|
|
846
1016
|
conversationId,
|
|
847
|
-
|
|
1017
|
+
// The full mailbox set records what this reply answered. The newest item
|
|
1018
|
+
// is the stable effect anchor when replay batches messages differently.
|
|
1019
|
+
inboundMailboxItemIds: [effectAnchorMailboxItemId],
|
|
848
1020
|
recipientKey,
|
|
849
1021
|
userId,
|
|
850
1022
|
}),
|
|
@@ -878,6 +1050,11 @@ async function executeAssistantAutoReply(input) {
|
|
|
878
1050
|
const result = await sendAssistantMessage({
|
|
879
1051
|
vault: input.vault,
|
|
880
1052
|
...automationTurn,
|
|
1053
|
+
...(input.assistantStyleSettingsAuthorized === undefined
|
|
1054
|
+
? {}
|
|
1055
|
+
: {
|
|
1056
|
+
assistantStyleSettingsAuthorized: input.assistantStyleSettingsAuthorized,
|
|
1057
|
+
}),
|
|
881
1058
|
acceptedTurnInput: {
|
|
882
1059
|
initialInputs: input.acceptedTurnInputInitialInputs ?? null,
|
|
883
1060
|
},
|
|
@@ -885,6 +1062,9 @@ async function executeAssistantAutoReply(input) {
|
|
|
885
1062
|
conversation,
|
|
886
1063
|
activeTurnCheckpoint: input.activeTurnCheckpoint,
|
|
887
1064
|
activeTurnInput: input.activeTurnInput,
|
|
1065
|
+
...(input.beforeProviderAcceptedInputs
|
|
1066
|
+
? { beforeProviderAcceptedInputs: input.beforeProviderAcceptedInputs }
|
|
1067
|
+
: {}),
|
|
888
1068
|
operatorAuthority: input.operatorAuthority,
|
|
889
1069
|
persistUserPromptOnFailure: false,
|
|
890
1070
|
prompt: input.prompt,
|
|
@@ -896,6 +1076,7 @@ async function executeAssistantAutoReply(input) {
|
|
|
896
1076
|
deliverResponse: true,
|
|
897
1077
|
onFinishWithoutReplyAccepted: input.onFinishWithoutReplyAccepted ?? null,
|
|
898
1078
|
bindingDeliveryTarget: input.bindingDeliveryTarget,
|
|
1079
|
+
answeredMailboxItemIds: input.answeredMailboxItemIds,
|
|
899
1080
|
deliveryIdempotencyKey: input.deliveryIdempotencyKey,
|
|
900
1081
|
hostedDeliveryIdempotency: input.hostedDeliveryIdempotency,
|
|
901
1082
|
...(input.deliveryMessageReactionsAvailable === undefined
|
|
@@ -916,11 +1097,32 @@ async function executeAssistantAutoReply(input) {
|
|
|
916
1097
|
}),
|
|
917
1098
|
},
|
|
918
1099
|
maxSessionAgeMs: input.maxSessionAgeMs,
|
|
919
|
-
onProviderEvent:
|
|
1100
|
+
onProviderEvent: (event) => {
|
|
1101
|
+
watchdog.onProviderEvent(event);
|
|
1102
|
+
input.onProviderEvent?.(event);
|
|
1103
|
+
},
|
|
920
1104
|
onProviderRequestStarted: input.onProviderRequestStarted
|
|
921
1105
|
? (event) => input.onProviderRequestStarted?.({
|
|
922
1106
|
...(event.admissionMs === undefined ? {} : { admissionMs: event.admissionMs }),
|
|
923
1107
|
assistantInputIds: event.acceptedInputIds,
|
|
1108
|
+
...(event.codexAppServerInitializeMs === undefined
|
|
1109
|
+
? {}
|
|
1110
|
+
: { codexAppServerInitializeMs: event.codexAppServerInitializeMs }),
|
|
1111
|
+
...(event.codexAppServerPreProviderMs === undefined
|
|
1112
|
+
? {}
|
|
1113
|
+
: { codexAppServerPreProviderMs: event.codexAppServerPreProviderMs }),
|
|
1114
|
+
...(event.codexAppServerSpawnReadyMs === undefined
|
|
1115
|
+
? {}
|
|
1116
|
+
: { codexAppServerSpawnReadyMs: event.codexAppServerSpawnReadyMs }),
|
|
1117
|
+
...(event.codexAppServerWarmReuseMs === undefined
|
|
1118
|
+
? {}
|
|
1119
|
+
: { codexAppServerWarmReuseMs: event.codexAppServerWarmReuseMs }),
|
|
1120
|
+
...(event.codexAppServerThreadResumeMs === undefined
|
|
1121
|
+
? {}
|
|
1122
|
+
: { codexAppServerThreadResumeMs: event.codexAppServerThreadResumeMs }),
|
|
1123
|
+
...(event.codexAppServerThreadStartMs === undefined
|
|
1124
|
+
? {}
|
|
1125
|
+
: { codexAppServerThreadStartMs: event.codexAppServerThreadStartMs }),
|
|
924
1126
|
...(event.preProviderSetupMs === undefined
|
|
925
1127
|
? {}
|
|
926
1128
|
: { preProviderSetupMs: event.preProviderSetupMs }),
|
|
@@ -960,11 +1162,15 @@ function createAssistantAutoReplyActiveTurnInputHooks(input) {
|
|
|
960
1162
|
let conversation = readAutoReplyConversationRef(context);
|
|
961
1163
|
const pendingAcceptances = [];
|
|
962
1164
|
const admit = async (admissionInput) => {
|
|
963
|
-
const
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1165
|
+
const availableInputIds = admissionInput.availableInputIds ?? [];
|
|
1166
|
+
if (availableInputIds.length === 0 ||
|
|
1167
|
+
!input.inputSource.listInputCandidatesByIds) {
|
|
1168
|
+
const refreshResult = await input.inputSource.refresh({
|
|
1169
|
+
signal: admissionInput.signal,
|
|
1170
|
+
});
|
|
1171
|
+
if (refreshResult.reason === 'source_unavailable') {
|
|
1172
|
+
throw new AssistantActiveTurnInputUnavailableError('same-conversation input source is temporarily unavailable during the active turn; will retry later.');
|
|
1173
|
+
}
|
|
968
1174
|
}
|
|
969
1175
|
const knownProjectionCaptureIds = [
|
|
970
1176
|
...context.optionalInboxCaptureIds,
|
|
@@ -977,9 +1183,10 @@ function createAssistantAutoReplyActiveTurnInputHooks(input) {
|
|
|
977
1183
|
...(admissionInput.knownInputIds ?? []),
|
|
978
1184
|
];
|
|
979
1185
|
const lateInputs = await listAutoReplyActiveTurnInputs({
|
|
980
|
-
afterCursor: context.lastInputCursor,
|
|
1186
|
+
afterCursor: pendingAcceptances.at(-1)?.lastInputCursor ?? context.lastInputCursor,
|
|
981
1187
|
conversation,
|
|
982
1188
|
context,
|
|
1189
|
+
inputIds: availableInputIds,
|
|
983
1190
|
inputSource: input.inputSource,
|
|
984
1191
|
knownProjectionCaptureIds,
|
|
985
1192
|
knownInputIds,
|
|
@@ -990,6 +1197,13 @@ function createAssistantAutoReplyActiveTurnInputHooks(input) {
|
|
|
990
1197
|
kind: 'no-new-input',
|
|
991
1198
|
};
|
|
992
1199
|
}
|
|
1200
|
+
if (input.assistantStyleSettingsAuthorized === true &&
|
|
1201
|
+
lateInputs.inputs.some((candidate) => candidate.event.sourceMetadata?.kind !== 'email' ||
|
|
1202
|
+
candidate.event.sourceMetadata.assistantStyleSettingsAuthorized !== true)) {
|
|
1203
|
+
return {
|
|
1204
|
+
kind: 'no-new-input',
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
993
1207
|
// Cross-session turn context is resolved once before the active-turn
|
|
994
1208
|
// hooks install. A late native reply (provider replyToMessageId) anchors
|
|
995
1209
|
// to a specific prior message that may differ from the current turn's
|
|
@@ -1135,6 +1349,7 @@ function createAssistantAutoReplyActiveTurnInputHooks(input) {
|
|
|
1135
1349
|
acceptedInputs,
|
|
1136
1350
|
deliveryIdempotencyKey: hostedDelivery.deliveryIdempotencyKey,
|
|
1137
1351
|
hostedDeliveryIdempotency: hostedDelivery.hostedDeliveryIdempotency,
|
|
1352
|
+
answeredMailboxItemIds: hostedDelivery.answeredMailboxItemIds,
|
|
1138
1353
|
...(acceptedInputDeliveryTarget !== null
|
|
1139
1354
|
? { deliveryTarget: acceptedInputDeliveryTarget }
|
|
1140
1355
|
: {}),
|
|
@@ -1172,6 +1387,29 @@ function createAssistantAutoReplyActiveTurnInputHooks(input) {
|
|
|
1172
1387
|
};
|
|
1173
1388
|
}
|
|
1174
1389
|
async function listAutoReplyActiveTurnInputs(input) {
|
|
1390
|
+
const expectedChannel = normalizeNullableString(input.context.firstItem.summary.source);
|
|
1391
|
+
const deliveryTarget = readAutoReplyDeliveryTarget(input.context);
|
|
1392
|
+
if (input.inputIds.length > 0 &&
|
|
1393
|
+
input.inputSource.listInputCandidatesByIds &&
|
|
1394
|
+
expectedChannel &&
|
|
1395
|
+
deliveryTarget) {
|
|
1396
|
+
const exact = await input.inputSource.listInputCandidatesByIds({
|
|
1397
|
+
afterCursor: input.afterCursor,
|
|
1398
|
+
inputIds: input.inputIds,
|
|
1399
|
+
knownInputIds: input.knownInputIds,
|
|
1400
|
+
limit: 100,
|
|
1401
|
+
signal: input.signal,
|
|
1402
|
+
sourceId: expectedChannel,
|
|
1403
|
+
});
|
|
1404
|
+
return selectAutoReplyRouteInput({
|
|
1405
|
+
afterCursor: input.afterCursor,
|
|
1406
|
+
candidates: exact.inputs,
|
|
1407
|
+
conversation: input.conversation,
|
|
1408
|
+
deliveryTarget,
|
|
1409
|
+
expectedChannel,
|
|
1410
|
+
knownProjectionCaptureIds: input.knownProjectionCaptureIds,
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1175
1413
|
const strict = await input.inputSource.listNewConversationInputs({
|
|
1176
1414
|
afterCursor: input.afterCursor,
|
|
1177
1415
|
conversation: input.conversation,
|
|
@@ -1179,12 +1417,10 @@ async function listAutoReplyActiveTurnInputs(input) {
|
|
|
1179
1417
|
knownInputIds: input.knownInputIds,
|
|
1180
1418
|
signal: input.signal,
|
|
1181
1419
|
});
|
|
1182
|
-
const expectedChannel = normalizeNullableString(input.context.firstItem.summary.source);
|
|
1183
|
-
const deliveryTarget = readAutoReplyDeliveryTarget(input.context);
|
|
1184
1420
|
if (!input.inputSource.listInputCandidates || !expectedChannel || !deliveryTarget) {
|
|
1185
1421
|
return strict;
|
|
1186
1422
|
}
|
|
1187
|
-
const
|
|
1423
|
+
const route = await input.inputSource.listInputCandidates({
|
|
1188
1424
|
afterCursor: input.afterCursor,
|
|
1189
1425
|
knownInputIds: [
|
|
1190
1426
|
...input.knownInputIds,
|
|
@@ -1194,54 +1430,65 @@ async function listAutoReplyActiveTurnInputs(input) {
|
|
|
1194
1430
|
signal: input.signal,
|
|
1195
1431
|
sourceId: expectedChannel,
|
|
1196
1432
|
});
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
? !knownProjectionCaptureIds.has(candidate.projection.captureId)
|
|
1203
|
-
: true)
|
|
1204
|
-
.filter((candidate) => isSameAutoReplyDeliveryRoute({
|
|
1205
|
-
candidate,
|
|
1433
|
+
return selectAutoReplyRouteInput({
|
|
1434
|
+
afterCursor: input.afterCursor,
|
|
1435
|
+
candidates: [...strict.inputs, ...route.inputs],
|
|
1436
|
+
conversation: input.conversation,
|
|
1437
|
+
deliveryTarget,
|
|
1206
1438
|
expectedChannel,
|
|
1207
|
-
|
|
1208
|
-
})
|
|
1209
|
-
return mergeAssistantInputCandidateBatches([
|
|
1210
|
-
strict,
|
|
1211
|
-
{
|
|
1212
|
-
inputs: routeInputs,
|
|
1213
|
-
nextCursor: routeInputs[0]
|
|
1214
|
-
? routeInputs[routeInputs.length - 1].event.cursor
|
|
1215
|
-
: strict.nextCursor,
|
|
1216
|
-
},
|
|
1217
|
-
]);
|
|
1439
|
+
knownProjectionCaptureIds: input.knownProjectionCaptureIds,
|
|
1440
|
+
});
|
|
1218
1441
|
}
|
|
1219
|
-
function
|
|
1220
|
-
const
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1442
|
+
function selectAutoReplyRouteInput(input) {
|
|
1443
|
+
const knownProjectionCaptureIds = new Set(input.knownProjectionCaptureIds);
|
|
1444
|
+
let nextCursor = input.afterCursor;
|
|
1445
|
+
for (const candidate of [...input.candidates].sort((left, right) => compareAssistantInputCursors(left.event.cursor, right.event.cursor))) {
|
|
1446
|
+
if (!isSameAutoReplyDeliveryRoute({
|
|
1447
|
+
accountId: input.conversation.accountId,
|
|
1448
|
+
candidate,
|
|
1449
|
+
expectedChannel: input.expectedChannel,
|
|
1450
|
+
threadIsDirect: input.conversation.threadIsDirect,
|
|
1451
|
+
threadId: input.deliveryTarget,
|
|
1452
|
+
})) {
|
|
1453
|
+
continue;
|
|
1454
|
+
}
|
|
1455
|
+
if (input.conversation.threadIsDirect === false &&
|
|
1456
|
+
!isSameAutoReplyGroupActor(candidate.event.conversation, input.conversation)) {
|
|
1457
|
+
break;
|
|
1224
1458
|
}
|
|
1459
|
+
nextCursor = candidate.event.cursor;
|
|
1460
|
+
if (candidate.projection.captureId &&
|
|
1461
|
+
knownProjectionCaptureIds.has(candidate.projection.captureId)) {
|
|
1462
|
+
continue;
|
|
1463
|
+
}
|
|
1464
|
+
return {
|
|
1465
|
+
inputs: [candidate],
|
|
1466
|
+
nextCursor,
|
|
1467
|
+
};
|
|
1225
1468
|
}
|
|
1226
|
-
const inputs = [...byInputId.values()].sort((left, right) => compareAssistantInputCursors(left.event.cursor, right.event.cursor));
|
|
1227
|
-
const cursorCandidates = [
|
|
1228
|
-
...batches.map((batch) => batch.nextCursor).filter((cursor) => cursor !== null),
|
|
1229
|
-
...inputs.map((candidate) => candidate.event.cursor),
|
|
1230
|
-
];
|
|
1231
|
-
const nextCursor = cursorCandidates.reduce((latest, cursor) => !latest || compareAssistantInputCursors(cursor, latest) > 0
|
|
1232
|
-
? cursor
|
|
1233
|
-
: latest, null);
|
|
1234
1469
|
return {
|
|
1235
|
-
inputs,
|
|
1470
|
+
inputs: [],
|
|
1236
1471
|
nextCursor,
|
|
1237
1472
|
};
|
|
1238
1473
|
}
|
|
1239
1474
|
function isSameAutoReplyDeliveryRoute(input) {
|
|
1240
1475
|
const replyTarget = input.candidate.event.replyTarget;
|
|
1241
|
-
return (
|
|
1476
|
+
return (typeof input.threadIsDirect === 'boolean' &&
|
|
1477
|
+
input.candidate.event.conversation?.accountId === input.accountId &&
|
|
1478
|
+
input.candidate.event.conversation?.threadIsDirect === input.threadIsDirect &&
|
|
1479
|
+
normalizeNullableString(replyTarget?.channel) === input.expectedChannel &&
|
|
1242
1480
|
normalizeNullableString(input.candidate.event.source) === input.expectedChannel &&
|
|
1243
1481
|
readProviderRouteScalar(replyTarget?.threadId) === input.threadId);
|
|
1244
1482
|
}
|
|
1483
|
+
function isSameAutoReplyGroupActor(candidate, expected) {
|
|
1484
|
+
return Boolean(expected.actorId &&
|
|
1485
|
+
candidate?.actorId &&
|
|
1486
|
+
candidate.accountId === expected.accountId &&
|
|
1487
|
+
candidate.actorId === expected.actorId &&
|
|
1488
|
+
candidate.actorIsSelf === expected.actorIsSelf &&
|
|
1489
|
+
candidate.source === expected.source &&
|
|
1490
|
+
candidate.threadIsDirect === false);
|
|
1491
|
+
}
|
|
1245
1492
|
function loadAssistantInputCandidateSummaries(input) {
|
|
1246
1493
|
return input.candidates.map((candidate) => assistantAutoReplyGroupItemFromInputCandidate(candidate).summary);
|
|
1247
1494
|
}
|
|
@@ -1381,6 +1628,7 @@ function admitCapturelessAssistantInputs(input) {
|
|
|
1381
1628
|
acceptedInputs,
|
|
1382
1629
|
deliveryIdempotencyKey: hostedDelivery.deliveryIdempotencyKey,
|
|
1383
1630
|
hostedDeliveryIdempotency: hostedDelivery.hostedDeliveryIdempotency,
|
|
1631
|
+
answeredMailboxItemIds: hostedDelivery.answeredMailboxItemIds,
|
|
1384
1632
|
...(deliveryReplyToMessageId !== undefined
|
|
1385
1633
|
? { deliveryReplyToMessageId }
|
|
1386
1634
|
: {}),
|
|
@@ -1426,9 +1674,11 @@ function buildCapturelessAssistantInputPrompt(candidates) {
|
|
|
1426
1674
|
projectionReasonCode: candidate.projection.reasonCode,
|
|
1427
1675
|
projectionStatus: candidate.projection.status,
|
|
1428
1676
|
});
|
|
1677
|
+
const groupContext = renderAssistantInputGroupContextPrompt(candidate.event);
|
|
1429
1678
|
const sections = [
|
|
1430
1679
|
`Source: ${candidate.event.source}
|
|
1431
1680
|
Occurred at: ${candidate.event.occurredAt}`,
|
|
1681
|
+
groupContext,
|
|
1432
1682
|
transcript
|
|
1433
1683
|
? `Message text:
|
|
1434
1684
|
${transcript}`
|
|
@@ -1689,8 +1939,7 @@ function replyTargetUsesThreadAsExplicitDeliveryTarget(replyTarget) {
|
|
|
1689
1939
|
const channel = normalizeNullableString(replyTarget?.channel);
|
|
1690
1940
|
return channel === 'linq'
|
|
1691
1941
|
|| channel === 'telegram'
|
|
1692
|
-
|| channel === 'email'
|
|
1693
|
-
|| channel === 'whatsapp';
|
|
1942
|
+
|| channel === 'email';
|
|
1694
1943
|
}
|
|
1695
1944
|
function autoReplyInputCandidatesFromContext(context) {
|
|
1696
1945
|
return context.items
|
|
@@ -1929,11 +2178,17 @@ function isAssistantProviderEmptyResponseFailure(error) {
|
|
|
1929
2178
|
function createAdvancingSkipDecision(reason, input) {
|
|
1930
2179
|
return {
|
|
1931
2180
|
advanceCursor: true,
|
|
2181
|
+
...(input?.advanceInputIds
|
|
2182
|
+
? { advanceInputIds: [...input.advanceInputIds] }
|
|
2183
|
+
: {}),
|
|
1932
2184
|
...(input?.checkpointRequired ? { checkpointRequired: true } : {}),
|
|
1933
2185
|
kind: 'skip',
|
|
1934
2186
|
nextWakeAt: null,
|
|
1935
2187
|
reason,
|
|
1936
|
-
stopScanning: false,
|
|
2188
|
+
stopScanning: input?.stopScanning ?? false,
|
|
2189
|
+
...(input?.terminalLinqCleanup?.length
|
|
2190
|
+
? { terminalLinqCleanup: [...input.terminalLinqCleanup] }
|
|
2191
|
+
: {}),
|
|
1937
2192
|
terminalSuppression: input?.terminalSuppression ?? true,
|
|
1938
2193
|
};
|
|
1939
2194
|
}
|
|
@@ -1946,6 +2201,10 @@ function resolveAutoReplyLinqProviderMessageIdsFromContext(context) {
|
|
|
1946
2201
|
if (item.summary.source !== 'linq') {
|
|
1947
2202
|
continue;
|
|
1948
2203
|
}
|
|
2204
|
+
if (item.inputCandidate?.event.sourceMetadata?.kind === 'linq' &&
|
|
2205
|
+
item.inputCandidate.event.sourceMetadata.affirmativeReaction === true) {
|
|
2206
|
+
continue;
|
|
2207
|
+
}
|
|
1949
2208
|
const replyTargetMessageId = readLinqProviderMessageId(item.inputCandidate?.event.replyTarget?.channel === 'linq'
|
|
1950
2209
|
? item.inputCandidate.event.replyTarget.messageId
|
|
1951
2210
|
: null);
|
|
@@ -1958,42 +2217,208 @@ function resolveAutoReplyLinqProviderMessageIdsFromContext(context) {
|
|
|
1958
2217
|
function readLinqProviderMessageId(value) {
|
|
1959
2218
|
return readProviderRouteScalar(value);
|
|
1960
2219
|
}
|
|
1961
|
-
function
|
|
1962
|
-
|
|
2220
|
+
function findRepairableTerminalEvidencePartitionsForGroup(input) {
|
|
2221
|
+
const currentItems = input.group.items.map((item) => ({
|
|
2222
|
+
captureId: item.summary.optionalInboxCaptureId,
|
|
2223
|
+
inputId: item.inputCandidate.event.inputId,
|
|
2224
|
+
}));
|
|
2225
|
+
const currentInputIds = currentItems.map((item) => item.inputId);
|
|
2226
|
+
if (new Set(currentInputIds).size !== currentInputIds.length ||
|
|
2227
|
+
currentInputIds.length !== input.group.inputIds.length ||
|
|
2228
|
+
currentInputIds.some((inputId, index) => inputId !== input.group.inputIds[index])) {
|
|
1963
2229
|
return null;
|
|
1964
2230
|
}
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
2231
|
+
const currentInputIdSet = new Set(currentInputIds);
|
|
2232
|
+
const currentInputIndexById = new Map(currentInputIds.map((inputId, index) => [inputId, index]));
|
|
2233
|
+
const currentCaptureIndexById = new Map();
|
|
2234
|
+
let hasDuplicateCurrentCaptureId = false;
|
|
2235
|
+
for (const [index, item] of currentItems.entries()) {
|
|
2236
|
+
if (!item.captureId) {
|
|
2237
|
+
continue;
|
|
1968
2238
|
}
|
|
1969
|
-
|
|
1970
|
-
|
|
2239
|
+
if (currentCaptureIndexById.has(item.captureId)) {
|
|
2240
|
+
hasDuplicateCurrentCaptureId = true;
|
|
2241
|
+
continue;
|
|
2242
|
+
}
|
|
2243
|
+
currentCaptureIndexById.set(item.captureId, index);
|
|
2244
|
+
}
|
|
2245
|
+
const partitions = [];
|
|
2246
|
+
const partitionByKey = new Map();
|
|
2247
|
+
for (const entry of input.entries) {
|
|
2248
|
+
if (!entry.evidence || !entry.evidenceId || !entry.lookup) {
|
|
2249
|
+
continue;
|
|
2250
|
+
}
|
|
2251
|
+
const evidence = entry.evidence;
|
|
2252
|
+
let fingerprint;
|
|
2253
|
+
let mode;
|
|
2254
|
+
let partitionInputIds;
|
|
2255
|
+
if (entry.lookup === 'input') {
|
|
2256
|
+
partitionInputIds = [...new Set(evidence.groupInputIds)];
|
|
2257
|
+
if (entry.evidenceId !== entry.ownerInputId ||
|
|
2258
|
+
evidence.captureId !== entry.ownerInputId ||
|
|
2259
|
+
evidence.inputId !== entry.ownerInputId ||
|
|
2260
|
+
partitionInputIds.length === 0 ||
|
|
2261
|
+
partitionInputIds.length !== evidence.groupInputIds.length ||
|
|
2262
|
+
!partitionInputIds.includes(entry.ownerInputId) ||
|
|
2263
|
+
partitionInputIds.some((inputId) => !currentInputIdSet.has(inputId)) ||
|
|
2264
|
+
!isExactContiguousAssistantInputPartition({
|
|
2265
|
+
currentInputIndexById,
|
|
2266
|
+
inputIds: partitionInputIds,
|
|
2267
|
+
})) {
|
|
2268
|
+
return null;
|
|
2269
|
+
}
|
|
2270
|
+
fingerprint = terminalEvidencePartitionFingerprint(evidence);
|
|
2271
|
+
mode = 'modern-input';
|
|
2272
|
+
}
|
|
2273
|
+
else {
|
|
2274
|
+
const ownerItemIndex = currentInputIndexById.get(entry.ownerInputId);
|
|
2275
|
+
const ownerCaptureId = ownerItemIndex === undefined
|
|
2276
|
+
? null
|
|
2277
|
+
: currentItems[ownerItemIndex]?.captureId ?? null;
|
|
2278
|
+
const partitionCaptureIds = [...new Set(evidence.groupCaptureIds)];
|
|
2279
|
+
if (hasDuplicateCurrentCaptureId ||
|
|
2280
|
+
!ownerCaptureId ||
|
|
2281
|
+
entry.evidenceId !== ownerCaptureId ||
|
|
2282
|
+
evidence.captureId !== ownerCaptureId ||
|
|
2283
|
+
evidence.inputId !== ownerCaptureId ||
|
|
2284
|
+
evidence.groupInputIds.length > 0 ||
|
|
2285
|
+
partitionCaptureIds.length === 0 ||
|
|
2286
|
+
partitionCaptureIds.length !== evidence.groupCaptureIds.length ||
|
|
2287
|
+
!partitionCaptureIds.includes(ownerCaptureId)) {
|
|
2288
|
+
return null;
|
|
2289
|
+
}
|
|
2290
|
+
const partitionIndexes = partitionCaptureIds.map((captureId) => currentCaptureIndexById.get(captureId) ?? -1);
|
|
2291
|
+
if (!isExactContiguousAssistantInputPartitionIndexes(partitionIndexes)) {
|
|
2292
|
+
return null;
|
|
2293
|
+
}
|
|
2294
|
+
partitionInputIds = partitionIndexes.map((index) => currentItems[index].inputId);
|
|
2295
|
+
fingerprint = terminalEvidenceLegacyPartitionFingerprint(evidence);
|
|
2296
|
+
mode = 'legacy-capture';
|
|
2297
|
+
}
|
|
2298
|
+
const partitionKey = JSON.stringify(partitionInputIds);
|
|
2299
|
+
const terminalFingerprint = terminalEvidenceOutcomeFingerprint(evidence);
|
|
2300
|
+
const existingPartition = partitionByKey.get(partitionKey);
|
|
2301
|
+
if (existingPartition) {
|
|
2302
|
+
if (existingPartition.terminalFingerprint !== terminalFingerprint ||
|
|
2303
|
+
(existingPartition.mode === mode &&
|
|
2304
|
+
existingPartition.fingerprint !== fingerprint)) {
|
|
2305
|
+
return null;
|
|
2306
|
+
}
|
|
2307
|
+
if (existingPartition.mode === 'legacy-capture' &&
|
|
2308
|
+
mode === 'modern-input') {
|
|
2309
|
+
existingPartition.evidence = evidence;
|
|
2310
|
+
existingPartition.fingerprint = fingerprint;
|
|
2311
|
+
existingPartition.mode = mode;
|
|
2312
|
+
}
|
|
2313
|
+
continue;
|
|
2314
|
+
}
|
|
2315
|
+
if (partitions.some((partition) => partition.inputIds.some((inputId) => partitionInputIds.includes(inputId)))) {
|
|
2316
|
+
return null;
|
|
2317
|
+
}
|
|
2318
|
+
const partition = {
|
|
2319
|
+
evidence,
|
|
2320
|
+
fingerprint,
|
|
2321
|
+
inputIds: partitionInputIds,
|
|
2322
|
+
mode,
|
|
2323
|
+
terminalFingerprint,
|
|
2324
|
+
};
|
|
2325
|
+
partitions.push(partition);
|
|
2326
|
+
partitionByKey.set(partitionKey, partition);
|
|
2327
|
+
}
|
|
2328
|
+
const coveredInputIds = new Set(partitions.flatMap((partition) => partition.inputIds));
|
|
2329
|
+
const repairInputIds = [];
|
|
2330
|
+
let foundUncoveredInput = false;
|
|
2331
|
+
// Cursor progress can retire only the oldest contiguous handled prefix.
|
|
2332
|
+
// Evidence after an uncovered input belongs to a later obligation and must
|
|
2333
|
+
// stay fail-closed instead of letting recovery jump over the gap.
|
|
2334
|
+
for (const currentInputId of currentInputIds) {
|
|
2335
|
+
if (coveredInputIds.has(currentInputId)) {
|
|
2336
|
+
if (foundUncoveredInput) {
|
|
2337
|
+
return null;
|
|
2338
|
+
}
|
|
2339
|
+
repairInputIds.push(currentInputId);
|
|
2340
|
+
}
|
|
2341
|
+
else {
|
|
2342
|
+
foundUncoveredInput = true;
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
return partitions.length > 0 && repairInputIds.length > 0
|
|
2346
|
+
? {
|
|
2347
|
+
inputIds: repairInputIds,
|
|
2348
|
+
partitions: partitions.map((partition) => ({
|
|
2349
|
+
evidence: partition.evidence,
|
|
2350
|
+
inputIds: partition.inputIds,
|
|
2351
|
+
})),
|
|
2352
|
+
}
|
|
2353
|
+
: null;
|
|
1971
2354
|
}
|
|
1972
|
-
function
|
|
1973
|
-
return
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
2355
|
+
function isExactContiguousAssistantInputPartition(input) {
|
|
2356
|
+
return isExactContiguousAssistantInputPartitionIndexes(input.inputIds.map((inputId) => input.currentInputIndexById.get(inputId) ?? -1));
|
|
2357
|
+
}
|
|
2358
|
+
function isExactContiguousAssistantInputPartitionIndexes(indexes) {
|
|
2359
|
+
return indexes.length > 0 && indexes.every((index, offset) => index >= 0 && (offset === 0 || index === indexes[offset - 1] + 1));
|
|
2360
|
+
}
|
|
2361
|
+
function terminalEvidencePartitionFingerprint(evidence) {
|
|
2362
|
+
return JSON.stringify({
|
|
2363
|
+
groupCaptureIds: evidence.groupCaptureIds,
|
|
2364
|
+
groupId: evidence.groupId,
|
|
2365
|
+
groupInputIds: evidence.groupInputIds,
|
|
2366
|
+
primaryCaptureId: evidence.primaryCaptureId,
|
|
2367
|
+
primaryInputId: evidence.primaryInputId,
|
|
2368
|
+
providerCleanupLinqMessageIds: evidence.providerCleanup.linqMessageIds,
|
|
2369
|
+
recordedAt: evidence.recordedAt,
|
|
2370
|
+
terminal: evidence.terminal,
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
function terminalEvidenceLegacyPartitionFingerprint(evidence) {
|
|
2374
|
+
return JSON.stringify({
|
|
2375
|
+
groupCaptureIds: evidence.groupCaptureIds,
|
|
2376
|
+
groupId: evidence.groupId,
|
|
2377
|
+
primaryCaptureId: evidence.primaryCaptureId,
|
|
2378
|
+
terminalOutcome: terminalEvidenceOutcomeFingerprint(evidence),
|
|
2379
|
+
});
|
|
1977
2380
|
}
|
|
1978
|
-
|
|
1979
|
-
const
|
|
2381
|
+
function terminalEvidenceOutcomeFingerprint(evidence) {
|
|
2382
|
+
const terminal = evidence.terminal.kind === 'retry_exhausted'
|
|
2383
|
+
? {
|
|
2384
|
+
kind: 'suppressed',
|
|
2385
|
+
reason: evidence.terminal.reason,
|
|
2386
|
+
}
|
|
2387
|
+
: evidence.terminal;
|
|
2388
|
+
return JSON.stringify({
|
|
2389
|
+
providerCleanupLinqMessageIds: evidence.providerCleanup.linqMessageIds,
|
|
2390
|
+
recordedAt: evidence.recordedAt,
|
|
2391
|
+
terminal,
|
|
2392
|
+
});
|
|
2393
|
+
}
|
|
2394
|
+
function resolveTerminalEvidenceRepairCaptureIds(input) {
|
|
2395
|
+
const inputIdSet = new Set(input.inputIds);
|
|
2396
|
+
return [...new Set(input.group.items.flatMap((item) => {
|
|
2397
|
+
const inputId = item.inputCandidate.event.inputId;
|
|
2398
|
+
const captureId = item.summary.optionalInboxCaptureId;
|
|
2399
|
+
return inputIdSet.has(inputId) && captureId ? [captureId] : [];
|
|
2400
|
+
}))];
|
|
2401
|
+
}
|
|
2402
|
+
async function terminalEvidenceExistsForEveryId(vault, evidenceIds) {
|
|
2403
|
+
const evidence = await Promise.all(evidenceIds.map((evidenceId) => readAssistantAutoReplyTerminalEvidenceByEvidenceId(vault, evidenceId)));
|
|
1980
2404
|
return evidence.every((item) => item !== null);
|
|
1981
2405
|
}
|
|
1982
2406
|
async function backfillAssistantAutoReplyTerminalEvidenceFromTerminalEvidence(input) {
|
|
1983
2407
|
if (input.evidence.terminal.kind === 'suppressed' ||
|
|
1984
2408
|
input.evidence.terminal.kind === 'retry_exhausted') {
|
|
1985
|
-
await writeAssistantAutoReplySuppressionEvidence({
|
|
2409
|
+
return await writeAssistantAutoReplySuppressionEvidence({
|
|
1986
2410
|
captureIds: input.captureIds,
|
|
2411
|
+
...(input.inputIds.length > 0 ? { inputIds: input.inputIds } : {}),
|
|
1987
2412
|
linqMessageIds: input.evidence.providerCleanup.linqMessageIds,
|
|
1988
2413
|
reason: input.evidence.terminal.reason,
|
|
1989
2414
|
recordedAt: input.evidence.recordedAt,
|
|
1990
2415
|
vault: input.vault,
|
|
1991
2416
|
});
|
|
1992
|
-
return;
|
|
1993
2417
|
}
|
|
1994
|
-
await writeAssistantAutoReplyReplyTerminalEvidence({
|
|
2418
|
+
return await writeAssistantAutoReplyReplyTerminalEvidence({
|
|
1995
2419
|
captureIds: input.captureIds,
|
|
1996
2420
|
deliveryIntentId: input.evidence.terminal.deliveryIntentId,
|
|
2421
|
+
...(input.inputIds.length > 0 ? { inputIds: input.inputIds } : {}),
|
|
1997
2422
|
linqMessageIds: input.evidence.providerCleanup.linqMessageIds,
|
|
1998
2423
|
outcome: input.evidence.terminal.kind === 'replied' ? 'result' : 'deferred',
|
|
1999
2424
|
recordedAt: input.evidence.recordedAt,
|
|
@@ -2003,7 +2428,7 @@ async function backfillAssistantAutoReplyTerminalEvidenceFromTerminalEvidence(in
|
|
|
2003
2428
|
});
|
|
2004
2429
|
}
|
|
2005
2430
|
async function backfillAssistantAutoReplyTerminalEvidenceFromTerminalSnapshot(input) {
|
|
2006
|
-
await writeAssistantAutoReplyReplyTerminalEvidence({
|
|
2431
|
+
return await writeAssistantAutoReplyReplyTerminalEvidence({
|
|
2007
2432
|
captureIds: input.captureIds,
|
|
2008
2433
|
deliveryIntentId: input.snapshot.deliveryIntentId,
|
|
2009
2434
|
inputIds: input.context.inputIds,
|
|
@@ -2014,21 +2439,47 @@ async function backfillAssistantAutoReplyTerminalEvidenceFromTerminalSnapshot(in
|
|
|
2014
2439
|
vault: input.vault,
|
|
2015
2440
|
});
|
|
2016
2441
|
}
|
|
2017
|
-
export function
|
|
2442
|
+
export function createAssistantAutoReplyHistoryReader(input) {
|
|
2443
|
+
let outboxIntents = null;
|
|
2444
|
+
let outboxScanElapsedMs = null;
|
|
2445
|
+
let receiptScanMetrics = null;
|
|
2018
2446
|
let receipts = null;
|
|
2019
2447
|
return {
|
|
2448
|
+
readMetrics() {
|
|
2449
|
+
return {
|
|
2450
|
+
...(outboxScanElapsedMs === null ? {} : { outboxScanElapsedMs }),
|
|
2451
|
+
outboxScanPerformed: outboxScanElapsedMs !== null,
|
|
2452
|
+
...(receiptScanMetrics === null
|
|
2453
|
+
? {}
|
|
2454
|
+
: {
|
|
2455
|
+
receiptScanBytesRead: receiptScanMetrics.bytesRead,
|
|
2456
|
+
receiptScanElapsedMs: receiptScanMetrics.scanElapsedMs,
|
|
2457
|
+
receiptScanFilesRead: receiptScanMetrics.filesRead,
|
|
2458
|
+
receiptScanLockWaitMs: receiptScanMetrics.lockWaitMs,
|
|
2459
|
+
}),
|
|
2460
|
+
receiptScanPerformed: receiptScanMetrics !== null,
|
|
2461
|
+
};
|
|
2462
|
+
},
|
|
2463
|
+
readOutboxIntents() {
|
|
2464
|
+
outboxIntents ??= (async () => {
|
|
2465
|
+
const startedAt = Date.now();
|
|
2466
|
+
try {
|
|
2467
|
+
return await listAssistantOutboxIntents(input.vault);
|
|
2468
|
+
}
|
|
2469
|
+
finally {
|
|
2470
|
+
outboxScanElapsedMs = Math.max(0, Date.now() - startedAt);
|
|
2471
|
+
}
|
|
2472
|
+
})();
|
|
2473
|
+
return outboxIntents;
|
|
2474
|
+
},
|
|
2020
2475
|
readReceipts() {
|
|
2021
|
-
receipts ??= listAssistantTurnReceipts(input.vault, ASSISTANT_AUTO_REPLY_RECEIPT_SCAN_LIMIT)
|
|
2476
|
+
receipts ??= listAssistantTurnReceipts(input.vault, ASSISTANT_AUTO_REPLY_RECEIPT_SCAN_LIMIT, (metrics) => {
|
|
2477
|
+
receiptScanMetrics = metrics;
|
|
2478
|
+
});
|
|
2022
2479
|
return receipts;
|
|
2023
2480
|
},
|
|
2024
2481
|
};
|
|
2025
2482
|
}
|
|
2026
|
-
async function readAssistantAutoReplyReceiptRecords(input) {
|
|
2027
|
-
if (input.receiptReader) {
|
|
2028
|
-
return input.receiptReader.readReceipts();
|
|
2029
|
-
}
|
|
2030
|
-
return listAssistantTurnReceipts(input.vault, ASSISTANT_AUTO_REPLY_RECEIPT_SCAN_LIMIT);
|
|
2031
|
-
}
|
|
2032
2483
|
function findHandledAutoReplyReceiptForGroup(input) {
|
|
2033
2484
|
const captureIds = input.captureIds ?? [];
|
|
2034
2485
|
let latestReceipt = null;
|
|
@@ -2112,8 +2563,8 @@ async function isRecentSelfAuthoredAssistantEcho(input) {
|
|
|
2112
2563
|
const inputProviderMessageId = readProviderRouteScalar(input.input.replyTarget?.messageId);
|
|
2113
2564
|
const matchingDeliveries = await listAssistantAutoReplyMatchingOutboxDeliveries({
|
|
2114
2565
|
deliveryTarget: input.deliveryTarget,
|
|
2566
|
+
historyReader: input.historyReader,
|
|
2115
2567
|
input: input.input,
|
|
2116
|
-
vault: input.vault,
|
|
2117
2568
|
});
|
|
2118
2569
|
if (inputProviderMessageId !== null &&
|
|
2119
2570
|
matchingDeliveries.some((delivery) => delivery.providerMessageIds.includes(inputProviderMessageId))) {
|
|
@@ -2179,13 +2630,21 @@ async function resolveAssistantAutoReplyLatestCrossSessionDelivery(input) {
|
|
|
2179
2630
|
const channel = normalizeNullableString(input.input.source);
|
|
2180
2631
|
const deliveryTarget = normalizeNullableString(input.deliveryTarget);
|
|
2181
2632
|
if (!channel || !deliveryTarget) {
|
|
2182
|
-
return
|
|
2633
|
+
return {
|
|
2634
|
+
delivery: null,
|
|
2635
|
+
replyTargetDelivery: null,
|
|
2636
|
+
};
|
|
2183
2637
|
}
|
|
2184
|
-
const
|
|
2638
|
+
const matchingDeliveries = await listAssistantAutoReplyMatchingOutboxDeliveries({
|
|
2185
2639
|
deliveryTarget,
|
|
2640
|
+
historyReader: input.historyReader,
|
|
2186
2641
|
input: input.input,
|
|
2187
|
-
|
|
2188
|
-
|
|
2642
|
+
});
|
|
2643
|
+
const replyToMessageId = input.replyToMessageId;
|
|
2644
|
+
const replyTargetDelivery = replyToMessageId === null
|
|
2645
|
+
? null
|
|
2646
|
+
: matchingDeliveries.find((delivery) => delivery.providerMessageIds.includes(replyToMessageId)) ?? null;
|
|
2647
|
+
const sessionEligible = matchingDeliveries
|
|
2189
2648
|
.filter((delivery) => input.session === null || delivery.sessionId !== input.session.sessionId)
|
|
2190
2649
|
.sort((left, right) => left.sentAtMs === right.sentAtMs
|
|
2191
2650
|
? left.intentId.localeCompare(right.intentId)
|
|
@@ -2197,26 +2656,39 @@ async function resolveAssistantAutoReplyLatestCrossSessionDelivery(input) {
|
|
|
2197
2656
|
// stale deliveries; an exact provider-id match across the same route can't
|
|
2198
2657
|
// be either. The send-ack/inbound-webhook race that records sentAt after
|
|
2199
2658
|
// the inbound input's receivedAt is the realistic case this protects.
|
|
2200
|
-
if (
|
|
2201
|
-
return
|
|
2659
|
+
if (replyToMessageId) {
|
|
2660
|
+
return {
|
|
2661
|
+
delivery: sessionEligible.find((delivery) => delivery.providerMessageIds.includes(replyToMessageId)) ?? null,
|
|
2662
|
+
replyTargetDelivery,
|
|
2663
|
+
};
|
|
2202
2664
|
}
|
|
2203
2665
|
const causalUpperBoundMs = resolveAssistantAutoReplyOutboxCausalUpperBoundMs(input.input);
|
|
2204
2666
|
if (causalUpperBoundMs === null) {
|
|
2205
|
-
return
|
|
2667
|
+
return {
|
|
2668
|
+
delivery: null,
|
|
2669
|
+
replyTargetDelivery,
|
|
2670
|
+
};
|
|
2206
2671
|
}
|
|
2207
2672
|
const fresh = sessionEligible.filter((delivery) => delivery.sentAtMs <= causalUpperBoundMs);
|
|
2208
2673
|
if (fresh.length === 0) {
|
|
2209
|
-
return
|
|
2674
|
+
return {
|
|
2675
|
+
delivery: null,
|
|
2676
|
+
replyTargetDelivery,
|
|
2677
|
+
};
|
|
2210
2678
|
}
|
|
2211
2679
|
// Unanchored fallback: once a delivery has been used as turn context, no
|
|
2212
2680
|
// earlier delivery from the same route should resurface as "latest".
|
|
2681
|
+
const consumedIntentIds = readAssistantAutoReplyConsumedCrossSessionIntentIds(await input.historyReader.readReceipts());
|
|
2213
2682
|
let firstFreshIndex = 0;
|
|
2214
2683
|
for (let index = 0; index < fresh.length; index++) {
|
|
2215
|
-
if (
|
|
2684
|
+
if (consumedIntentIds.has(fresh[index].intentId)) {
|
|
2216
2685
|
firstFreshIndex = index + 1;
|
|
2217
2686
|
}
|
|
2218
2687
|
}
|
|
2219
|
-
return
|
|
2688
|
+
return {
|
|
2689
|
+
delivery: fresh.slice(firstFreshIndex).at(-1) ?? null,
|
|
2690
|
+
replyTargetDelivery,
|
|
2691
|
+
};
|
|
2220
2692
|
}
|
|
2221
2693
|
function readAssistantAutoReplyConsumedCrossSessionIntentIds(receipts) {
|
|
2222
2694
|
const consumed = new Set();
|
|
@@ -2250,7 +2722,7 @@ async function listAssistantAutoReplyMatchingOutboxDeliveries(input) {
|
|
|
2250
2722
|
if (!channel || !deliveryTarget) {
|
|
2251
2723
|
return [];
|
|
2252
2724
|
}
|
|
2253
|
-
const intents = await
|
|
2725
|
+
const intents = await input.historyReader.readOutboxIntents();
|
|
2254
2726
|
return intents.flatMap((intent) => {
|
|
2255
2727
|
if (intent.status !== 'sent' || intent.operation !== null) {
|
|
2256
2728
|
return [];
|
|
@@ -2382,6 +2854,20 @@ function buildAssistantAutoReplyCrossSessionTurnContext(message) {
|
|
|
2382
2854
|
'Use it only to interpret the current user message.',
|
|
2383
2855
|
].join('\n');
|
|
2384
2856
|
}
|
|
2857
|
+
function buildAssistantAutoReplyAffirmativeReactionTurnContext(message) {
|
|
2858
|
+
const normalized = normalizeNullableString(message);
|
|
2859
|
+
if (!normalized) {
|
|
2860
|
+
return null;
|
|
2861
|
+
}
|
|
2862
|
+
return [
|
|
2863
|
+
'Affirmative reaction target:',
|
|
2864
|
+
'The user reacted affirmatively to this exact assistant message:',
|
|
2865
|
+
'',
|
|
2866
|
+
normalized.slice(0, ASSISTANT_AUTO_REPLY_PRIOR_MESSAGE_MAX_LENGTH),
|
|
2867
|
+
'',
|
|
2868
|
+
'Bind the affirmative response only to this message.',
|
|
2869
|
+
].join('\n');
|
|
2870
|
+
}
|
|
2385
2871
|
function normalizeComparableText(text) {
|
|
2386
2872
|
return text.replace(/\s+/gu, ' ').trim();
|
|
2387
2873
|
}
|