@murphai/murph 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3885 -0
- package/config.schema.json +731 -60
- package/dist/bin.js +6 -4
- package/dist/bin.js.map +1 -1
- package/dist/cli-entry.d.ts +8 -1
- package/dist/cli-entry.d.ts.map +1 -1
- package/dist/cli-entry.js +80 -4
- package/dist/cli-entry.js.map +1 -1
- package/dist/commands/audit-command-helpers.d.ts.map +1 -1
- package/dist/commands/audit-command-helpers.js +7 -5
- package/dist/commands/audit-command-helpers.js.map +1 -1
- package/dist/commands/automation.d.ts +143 -104
- package/dist/commands/automation.d.ts.map +1 -1
- package/dist/commands/automation.js +71 -13
- package/dist/commands/automation.js.map +1 -1
- package/dist/commands/batch.d.ts +7 -4
- package/dist/commands/batch.d.ts.map +1 -1
- package/dist/commands/batch.js +16 -62
- package/dist/commands/batch.js.map +1 -1
- package/dist/commands/clinical-imports.d.ts +103 -103
- package/dist/commands/command-factory-primitives.d.ts +1 -1
- package/dist/commands/command-factory-primitives.d.ts.map +1 -1
- package/dist/commands/command-factory-primitives.js +1 -1
- package/dist/commands/command-factory-primitives.js.map +1 -1
- package/dist/commands/commons.d.ts +59 -0
- package/dist/commands/commons.d.ts.map +1 -1
- package/dist/commands/commons.js +83 -5
- package/dist/commands/commons.js.map +1 -1
- package/dist/commands/document.d.ts.map +1 -1
- package/dist/commands/document.js +31 -1
- package/dist/commands/document.js.map +1 -1
- package/dist/commands/encounter.d.ts +128 -128
- package/dist/commands/event.d.ts.map +1 -1
- package/dist/commands/event.js +7 -1
- package/dist/commands/event.js.map +1 -1
- package/dist/commands/exercise.d.ts.map +1 -1
- package/dist/commands/exercise.js +16 -3
- package/dist/commands/exercise.js.map +1 -1
- package/dist/commands/experiment-progress-card-image.d.ts.map +1 -1
- package/dist/commands/experiment-progress-card-image.js +76 -16
- package/dist/commands/experiment-progress-card-image.js.map +1 -1
- package/dist/commands/experiment.d.ts.map +1 -1
- package/dist/commands/experiment.js +51 -5
- package/dist/commands/experiment.js.map +1 -1
- package/dist/commands/export-intake-read-helpers.d.ts.map +1 -1
- package/dist/commands/export-intake-read-helpers.js +9 -6
- package/dist/commands/export-intake-read-helpers.js.map +1 -1
- package/dist/commands/food.d.ts.map +1 -1
- package/dist/commands/food.js +13 -11
- package/dist/commands/food.js.map +1 -1
- package/dist/commands/habitat.d.ts.map +1 -1
- package/dist/commands/habitat.js +120 -9
- package/dist/commands/habitat.js.map +1 -1
- package/dist/commands/health-blood-test-save.d.ts.map +1 -1
- package/dist/commands/health-blood-test-save.js +42 -8
- package/dist/commands/health-blood-test-save.js.map +1 -1
- package/dist/commands/meal.d.ts.map +1 -1
- package/dist/commands/meal.js +58 -4
- package/dist/commands/meal.js.map +1 -1
- package/dist/commands/measurement.d.ts +1 -0
- package/dist/commands/measurement.d.ts.map +1 -1
- package/dist/commands/measurement.js +51 -2
- package/dist/commands/measurement.js.map +1 -1
- package/dist/commands/medication.d.ts +6 -6
- package/dist/commands/model.js +7 -11
- package/dist/commands/model.js.map +1 -1
- package/dist/commands/murph-age.d.ts +9 -1
- package/dist/commands/murph-age.d.ts.map +1 -1
- package/dist/commands/murph-age.js +132 -7
- package/dist/commands/murph-age.js.map +1 -1
- package/dist/commands/occurred-at-option.d.ts.map +1 -1
- package/dist/commands/occurred-at-option.js +7 -41
- package/dist/commands/occurred-at-option.js.map +1 -1
- package/dist/commands/payload-schema-command.d.ts +2 -2
- package/dist/commands/payload-schema-command.d.ts.map +1 -1
- package/dist/commands/payload-schema-command.js +1 -1
- package/dist/commands/payload-schema-command.js.map +1 -1
- package/dist/commands/public-validation-issue.d.ts +7 -0
- package/dist/commands/public-validation-issue.d.ts.map +1 -0
- package/dist/commands/public-validation-issue.js +7 -0
- package/dist/commands/public-validation-issue.js.map +1 -0
- package/dist/commands/research.d.ts.map +1 -1
- package/dist/commands/research.js +26 -28
- package/dist/commands/research.js.map +1 -1
- package/dist/commands/route.d.ts.map +1 -1
- package/dist/commands/route.js +45 -1
- package/dist/commands/route.js.map +1 -1
- package/dist/commands/scheduled-log.d.ts +142 -124
- package/dist/commands/scheduled-log.d.ts.map +1 -1
- package/dist/commands/scheduled-log.js +456 -106
- package/dist/commands/scheduled-log.js.map +1 -1
- package/dist/commands/wearables.d.ts +1520 -145
- package/dist/commands/wearables.d.ts.map +1 -1
- package/dist/commands/wearables.js +135 -3
- package/dist/commands/wearables.js.map +1 -1
- package/dist/commands/workout-live.d.ts +3 -0
- package/dist/commands/workout-live.d.ts.map +1 -0
- package/dist/commands/workout-live.js +372 -0
- package/dist/commands/workout-live.js.map +1 -0
- package/dist/commands/workout-typed-options.d.ts +38 -0
- package/dist/commands/workout-typed-options.d.ts.map +1 -0
- package/dist/commands/workout-typed-options.js +90 -0
- package/dist/commands/workout-typed-options.js.map +1 -0
- package/dist/commands/workout.d.ts.map +1 -1
- package/dist/commands/workout.js +115 -84
- package/dist/commands/workout.js.map +1 -1
- package/dist/food-labels.d.ts +549 -277
- package/dist/food-labels.d.ts.map +1 -1
- package/dist/food-labels.js +19 -3
- package/dist/food-labels.js.map +1 -1
- package/dist/foreground-terminal-logging.js +0 -2
- package/dist/foreground-terminal-logging.js.map +1 -1
- package/dist/hosted-data-api-labels.d.ts +1683 -871
- package/dist/hosted-data-api-labels.d.ts.map +1 -1
- package/dist/hosted-data-api-labels.js +224 -31
- package/dist/hosted-data-api-labels.js.map +1 -1
- package/dist/incur-error-bridge.d.ts.map +1 -1
- package/dist/incur-error-bridge.js +7 -15
- package/dist/incur-error-bridge.js.map +1 -1
- package/dist/incur.generated.d.ts +158 -3
- package/dist/incur.generated.d.ts.map +1 -1
- package/dist/mapbox-address.d.ts +41 -0
- package/dist/mapbox-address.d.ts.map +1 -0
- package/dist/mapbox-address.js +469 -0
- package/dist/mapbox-address.js.map +1 -0
- package/dist/mapbox-route-client.d.ts +2 -2
- package/dist/mapbox-route-client.d.ts.map +1 -1
- package/dist/mapbox-route-client.js +49 -12
- package/dist/mapbox-route-client.js.map +1 -1
- package/dist/mapbox-route-contracts.d.ts +60 -60
- package/dist/mapbox-route-contracts.d.ts.map +1 -1
- package/dist/mapbox-route-contracts.js +1 -1
- package/dist/mapbox-route-contracts.js.map +1 -1
- package/dist/mapbox-route-directions.d.ts.map +1 -1
- package/dist/mapbox-route-directions.js +1 -2
- package/dist/mapbox-route-directions.js.map +1 -1
- package/dist/mapbox-route-elevation.js +0 -1
- package/dist/mapbox-route-elevation.js.map +1 -1
- package/dist/mapbox-route-points.js +0 -2
- package/dist/mapbox-route-points.js.map +1 -1
- package/dist/mapbox-route.d.ts.map +1 -1
- package/dist/mapbox-route.js +1 -1
- package/dist/mapbox-route.js.map +1 -1
- package/dist/research-scout-client.d.ts +3 -2
- package/dist/research-scout-client.d.ts.map +1 -1
- package/dist/research-scout-client.js +166 -37
- package/dist/research-scout-client.js.map +1 -1
- package/dist/research-scout.d.ts +1 -1
- package/dist/research-scout.d.ts.map +1 -1
- package/dist/research-scout.js +1 -1
- package/dist/research-scout.js.map +1 -1
- package/dist/supplement-labels.d.ts +545 -275
- package/dist/supplement-labels.d.ts.map +1 -1
- package/dist/supplement-labels.js +0 -1
- package/dist/supplement-labels.js.map +1 -1
- package/dist/vault-cli-command-manifest.d.ts +2472 -700
- package/dist/vault-cli-command-manifest.d.ts.map +1 -1
- package/dist/vault-cli-command-manifest.js +35 -10
- package/dist/vault-cli-command-manifest.js.map +1 -1
- package/dist/vault-cli-skill-hash.generated.d.ts +1 -1
- package/dist/vault-cli-skill-hash.generated.js +1 -1
- package/dist/vault-cli-vault-context.js +0 -1
- package/dist/vault-cli-vault-context.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/service.d.ts +9 -0
- package/node_modules/@murphai/assistant-cli/dist/assistant/service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/chat-controller-models.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/chat-controller-models.js +0 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/chat-controller-models.js.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.js +10 -8
- package/node_modules/@murphai/assistant-cli/dist/assistant/ui/ink.js.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 +19 -9
- 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 +20 -56
- package/node_modules/@murphai/assistant-cli/dist/commands/assistant.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/README.md +73 -16
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-controller.d.ts +21 -4
- 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 +173 -43
- 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 +75 -70
- 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/active-turn-input-journal.js +44 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/active-turn-input-journal.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.d.ts +3 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js +28 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/ask-continuation.js.map +1 -1
- 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 +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/attachment-evidence-model.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/cross-session-route-state.d.ts +77 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/cross-session-route-state.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/cross-session-route-state.js +777 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/cross-session-route-state.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/grouping.d.ts +1 -0
- 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 +36 -4
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/input-summary.js +3 -1
- 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 +3 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/operation-scope.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/prompt-builder.d.ts +10 -2
- 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 +33 -13
- 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 +12 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/reply.js +851 -171
- 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 +2 -0
- 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 +51 -18
- 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 +2 -0
- 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 +59 -30
- 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 +3 -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 +3 -0
- 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 +10 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.js +62 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation/target-override.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channel-adapters.d.ts +1 -1
- 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/channels/descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/channels/descriptors.js +107 -44
- 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 +3 -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 +34 -3
- 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 +22 -14
- 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 +352 -78
- 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 +43 -8
- 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 +1 -0
- 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 +6 -5
- 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 +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.js +14 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-base-instructions.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-runtime.d.ts +17 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-runtime.js +25 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-runtime.js.map +1 -1
- 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 +9 -9
- 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/planning.d.ts +4 -8
- 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 +284 -59
- 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 +5 -3
- 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 +152 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/codex-turn-runner.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/content-types.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/content-types.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.d.ts +4 -1
- 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 +76 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/context-snapshot.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-persistence.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-persistence.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-persistence.js +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-persistence.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/conversation-ref.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/authoring.d.ts +5 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/authoring.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/authoring.js +178 -31
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/authoring.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/canonical-jobs.d.ts +32 -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 +147 -31
- 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 +8 -0
- 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 +73 -15
- 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 +8 -1
- 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 +438 -116
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/execution.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/mutations.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/mutations.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/mutations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/output-history.d.ts +11 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/output-history.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/output-history.js +153 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/output-history.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/runtime-state.d.ts +47 -47
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/runtime-state.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/runtime-state.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/runtime-state.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.d.ts +10 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js +28 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/schedule.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/store.d.ts +49 -39
- 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 +19 -1
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.js +1 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/targets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/timing-verification.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/timing-verification.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/timing-verification.js +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron/timing-verification.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.d.ts +9 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/cron.js +31 -2
- 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 +8 -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 +38 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant/delivery-service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.d.ts +2 -1
- 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 +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/device-activity-cron-tags.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.d.ts +123 -13
- 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 +57 -11
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-plan.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-plan.js +2 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant/execution-plan.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.js +10 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/experiment-support-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card-schema.d.ts +115 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card-schema.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card-schema.js +162 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card-schema.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card.js +118 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-response-card.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard-schema.d.ts +83 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard-schema.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard-schema.js +27 -22
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard-schema.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard.js +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-challenge-scorecard.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-email-outbox.d.ts +20 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-email-outbox.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/{newsletter-outbox.js → group-email-outbox.js} +65 -36
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-email-outbox.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-newsletter-automation.d.ts +2 -48
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-newsletter-automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-newsletter-automation.js +14 -98
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-newsletter-automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-room-model.d.ts +22 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-room-model.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-room-model.js +87 -28
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-room-model.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-freshness.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-freshness.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-freshness.js +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-freshness.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-read-limits.d.ts +3 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-read-limits.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-read-limits.js +21 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-shared-read-limits.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-image-completion.d.ts +31 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-image-completion.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-image-completion.js +164 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-image-completion.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.d.ts +80 -24
- 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 +191 -62
- package/node_modules/@murphai/assistant-engine/dist/assistant/hosted-tool-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-source.d.ts +1 -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 +2 -1
- 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 +273 -269
- 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 +6 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/input-store.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.js +26 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/issue-reporting.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/linq-delivery-posture.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/linq-delivery-posture.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/linq-delivery-posture.js +20 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/linq-delivery-posture.js.map +1 -0
- 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 +886 -436
- 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 +3 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.js +245 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant/maintenance-evidence.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.d.ts +22 -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 +338 -47
- package/node_modules/@murphai/assistant-engine/dist/assistant/managed-automations.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/message-target-selection.d.ts +13 -22
- package/node_modules/@murphai/assistant-engine/dist/assistant/message-target-selection.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/message-target-selection.js +8 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/message-target-selection.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.d.ts +2 -0
- 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 +43 -9
- package/node_modules/@murphai/assistant-engine/dist/assistant/model-behavior.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.d.ts +16 -14
- 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 +339 -62
- package/node_modules/@murphai/assistant-engine/dist/assistant/notification-turn.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-first-personal-read-automation.d.ts +14 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-first-personal-read-automation.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-first-personal-read-automation.js +94 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-first-personal-read-automation.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-automation.d.ts +22 -3
- 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 +81 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.d.ts +25 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.js +72 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-followup-seed.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-goal-checkin-automation.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-goal-checkin-automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-goal-checkin-automation.js +184 -83
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-goal-checkin-automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.js +15 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/onboarding-state.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/automation-authority.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/automation-authority.js +24 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/automation-authority.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.d.ts +15 -3
- 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 +314 -53
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/dispatch-state.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/intents.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/intents.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/intents.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/intents.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/receipt-repair.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/receipt-repair.js +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/receipt-repair.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/retry-policy.d.ts +4 -1
- 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 +33 -8
- 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 +38 -4
- 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 +1034 -41
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/store.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/summary.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/summary.js +7 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox/summary.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.d.ts +65 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.js +569 -67
- package/node_modules/@murphai/assistant-engine/dist/assistant/outbox.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.d.ts +23 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.js +294 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/private-completion-continuity.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/prompt-time.d.ts +12 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/prompt-time.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/prompt-time.js +38 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/prompt-time.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-catalog.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-catalog.js +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-catalog.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-start-critical-path.d.ts +48 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-start-critical-path.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-start-critical-path.js +101 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/provider-start-critical-path.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/providers/codex-cli.d.ts +6 -0
- 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 +86 -97
- 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 +16 -5
- 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 +379 -644
- 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 +40 -1
- 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/redaction.d.ts +2 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/redaction.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/redaction.js +6 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/redaction.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/reminder-availability-maintenance.d.ts +17 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reminder-availability-maintenance.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reminder-availability-maintenance.js +287 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reminder-availability-maintenance.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 +10 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/reply-delivery-context.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/response-media.d.ts +33 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/response-media.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/response-media.js +173 -3
- package/node_modules/@murphai/assistant-engine/dist/assistant/response-media.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.d.ts +25 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.js +137 -69
- package/node_modules/@murphai/assistant-engine/dist/assistant/runtime-residue.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-contracts.d.ts +20 -4
- 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 +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 +18 -8
- 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 +5 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/service-usage.js +31 -11
- 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 +12 -2
- 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 -3
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.js +71 -16
- package/node_modules/@murphai/assistant-engine/dist/assistant/session-resolution.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/shared.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-secrets.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-secrets.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-secrets.js +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/state-secrets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/persistence.d.ts +11 -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 +410 -139
- 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 +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/store/types.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/store.js +54 -13
- 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 +7 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.js +312 -138
- package/node_modules/@murphai/assistant-engine/dist/assistant/system-prompt.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.d.ts +10 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.js +150 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-digest.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.d.ts +8 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.js +74 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/tool-validation-feedback.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turn-finalizer.js +115 -16
- 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 +3 -2
- 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-progress.d.ts +9 -2
- 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 +49 -6
- 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 +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/turns.js +62 -22
- 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 +7 -0
- 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 +47 -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 +4 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js +57 -23
- package/node_modules/@murphai/assistant-engine/dist/assistant-ask.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-channel-adapters.d.ts +1 -1
- 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 +13 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-cli-access.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-diagnostics.d.ts +8 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-diagnostics.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-diagnostics.js +136 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-diagnostics.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-outcome.d.ts +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-outcome.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-outcome.js +36 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/action-outcome.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.d.ts +49 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.js +387 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/analyze-video-tool.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.d.ts +59 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.js +180 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-protocol.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/app-server-requests.d.ts +6 -3
- 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 +35 -10
- 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 +3 -4
- 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 +9 -15
- 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/ask-grok-tool.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/ask-grok-tool.js +77 -11
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/ask-grok-tool.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.d.ts +21 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.js +213 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/command-family.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.d.ts +3320 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.js +1403 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tool-catalog.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.d.ts +50 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.js +79 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/analyze-video.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/ask-grok.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/ask-grok.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/ask-grok.js +2 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/ask-grok.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.d.ts +15 -32
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.js +11 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/assistant-style.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.d.ts +4 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.js +153 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation-model-input-schema.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.d.ts +29 -150
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.js +537 -109
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/automation.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/clinical-records.js +4 -4
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/clinical-records.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/connected-apps.d.ts +10 -54
- 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 +134 -109
- 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/device.d.ts +6 -13
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.js +44 -10
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/device.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.d.ts +8 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.js +2 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/dynamic-tool-wrapper.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-song.d.ts +9 -2
- 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 +31 -3
- 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 +7 -6
- 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/generate-voice-memo.js +12 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/generate-voice-memo.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/group-room-model.d.ts +10 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/group-room-model.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/group-room-model.js +19 -7
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/group-room-model.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/labs.d.ts +2 -16
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/labs.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/labs.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/labs.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.d.ts +60 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.js +91 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/member-memory.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/pending-vault-files.d.ts +65 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/pending-vault-files.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/pending-vault-files.js +214 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/pending-vault-files.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/phone-calls.d.ts +24 -16
- 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 +78 -7
- 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/physical-notes.d.ts +131 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.js +275 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools/physical-notes.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/dynamic-tools.d.ts +131 -2427
- 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 +2505 -1575
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/failures.js +39 -95
- 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 +5 -2
- 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 +88 -101
- 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 +58 -13
- 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 +85 -122
- 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.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/image-reference-resolver.js +5 -3
- 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/images.d.ts +15 -2
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/images.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/images.js +99 -8
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/images.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/managed-voice-memo-runtime.d.ts +17 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/managed-voice-memo-runtime.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/managed-voice-memo-runtime.js +12 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/managed-voice-memo-runtime.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.d.ts +7 -11
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/openai-image-generation.js +237 -52
- 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/response-card-validation-feedback.d.ts +3 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.js +5 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/response-card-validation-feedback.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.d.ts +19 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.d.ts.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.js +203 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex/workout-delivery-context.js.map +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex-events.js +189 -486
- 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 +42 -6
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js +1196 -339
- package/node_modules/@murphai/assistant-engine/dist/assistant-codex.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime-residue.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime.d.ts +2 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime.js +1 -0
- package/node_modules/@murphai/assistant-engine/dist/assistant-runtime.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.d.ts +24 -24
- 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 +27 -27
- package/node_modules/@murphai/assistant-engine/dist/assistant-skill-assets.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.d.ts +27 -27
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.js +1 -1
- package/node_modules/@murphai/assistant-engine/dist/attachment-prompt-contracts.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/index.d.ts +9 -3
- package/node_modules/@murphai/assistant-engine/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/index.js +7 -1
- package/node_modules/@murphai/assistant-engine/dist/index.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/documents.d.ts +1 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/documents.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/documents.js +5 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/documents.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/service.d.ts +1 -0
- package/node_modules/@murphai/assistant-engine/dist/knowledge/service.d.ts.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/knowledge/service.js +16 -2
- package/node_modules/@murphai/assistant-engine/dist/knowledge/service.js.map +1 -1
- package/node_modules/@murphai/assistant-engine/dist/outbound-channel.d.ts +5 -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/skills/README.md +29 -0
- package/node_modules/@murphai/assistant-engine/skills/appointment-scheduling/SKILL.md +23 -0
- package/node_modules/@murphai/assistant-engine/skills/automatic-meal-capture/SKILL.md +180 -12
- package/node_modules/@murphai/assistant-engine/skills/behavior-followthrough/SKILL.md +155 -116
- package/node_modules/@murphai/assistant-engine/skills/body-composition/SKILL.md +137 -27
- package/node_modules/@murphai/assistant-engine/skills/body-composition/references/evidence.md +150 -0
- package/node_modules/@murphai/assistant-engine/skills/body-composition/references/fat-loss.md +132 -0
- package/node_modules/@murphai/assistant-engine/skills/body-composition/references/muscle-gain.md +135 -0
- package/node_modules/@murphai/assistant-engine/skills/body-composition/references/safety.md +171 -0
- package/node_modules/@murphai/assistant-engine/skills/body-composition/references/tracking-and-adjustment.md +193 -0
- package/node_modules/@murphai/assistant-engine/skills/cardiometabolic-health/SKILL.md +10 -1
- package/node_modules/@murphai/assistant-engine/skills/computer-use/SKILL.md +0 -4
- package/node_modules/@murphai/assistant-engine/skills/connected-apps/SKILL.md +86 -12
- package/node_modules/@murphai/assistant-engine/skills/connected-apps/references/provider-data-exports.md +209 -0
- package/node_modules/@murphai/assistant-engine/skills/daily-activity/SKILL.md +27 -4
- package/node_modules/@murphai/assistant-engine/skills/experiment-onboarding/SKILL.md +22 -9
- package/node_modules/@murphai/assistant-engine/skills/food-journal/SKILL.md +200 -14
- package/node_modules/@murphai/assistant-engine/skills/group-challenge/SKILL.md +17 -737
- package/node_modules/@murphai/assistant-engine/skills/group-challenge-scorecards/SKILL.md +17 -328
- package/node_modules/@murphai/assistant-engine/skills/group-chat/SKILL.md +18 -912
- package/node_modules/@murphai/assistant-engine/skills/group-newsletter/SKILL.md +16 -237
- package/node_modules/@murphai/assistant-engine/skills/groupchat-comedy/SKILL.md +19 -351
- package/node_modules/@murphai/assistant-engine/skills/hosted-low-usage/SKILL.md +310 -118
- package/node_modules/@murphai/assistant-engine/skills/micronutrients-supplements/SKILL.md +30 -8
- package/node_modules/@murphai/assistant-engine/skills/mobility-posture/SKILL.md +1 -1
- package/node_modules/@murphai/assistant-engine/skills/murph-family/SKILL.md +91 -26
- package/node_modules/@murphai/assistant-engine/skills/murph-onboarding/SKILL.md +75 -751
- package/node_modules/@murphai/assistant-engine/skills/murph-onboarding/references/aspiration-foundation-delegation.md +443 -0
- package/node_modules/@murphai/assistant-engine/skills/murph-onboarding/references/persistence-recovery-follow-up.md +155 -0
- package/node_modules/@murphai/assistant-engine/skills/murph-onboarding/references/return-launch-completion.md +246 -0
- package/node_modules/@murphai/assistant-engine/skills/music-generation/SKILL.md +31 -163
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/SKILL.md +84 -7
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/daily-nutrition-card-goals.md +313 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/carnivore-animal-based.md +145 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/dash.md +183 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/intermittent-fasting.md +153 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/ketogenic.md +149 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/low-carbohydrate.md +167 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/mediterranean.md +141 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/vegan-plant-based.md +175 -0
- package/node_modules/@murphai/assistant-engine/skills/nutrition-strategy/references/named-diets/vegetarian-spectrum.md +131 -0
- package/node_modules/@murphai/assistant-engine/skills/phone-calls/SKILL.md +47 -67
- package/node_modules/@murphai/assistant-engine/skills/physical-notes/SKILL.md +167 -0
- package/node_modules/@murphai/assistant-engine/skills/physical-therapy/SKILL.md +4 -2
- package/node_modules/@murphai/assistant-engine/skills/self-management-experiments/SKILL.md +19 -3
- package/node_modules/@murphai/assistant-engine/skills/shared/exercise-catalog-runtime.md +36 -19
- package/node_modules/@murphai/assistant-engine/skills/signup-link/SKILL.md +30 -0
- package/node_modules/@murphai/assistant-engine/skills/strength-training/SKILL.md +17 -1
- package/node_modules/@murphai/assistant-engine/skills/tracked-table/SKILL.md +292 -0
- package/node_modules/@murphai/assistant-engine/skills/workout-csv-import/SKILL.md +129 -0
- package/node_modules/@murphai/assistantd/dist/client.d.ts +2 -0
- package/node_modules/@murphai/assistantd/dist/client.d.ts.map +1 -1
- package/node_modules/@murphai/assistantd/dist/client.js +33 -0
- package/node_modules/@murphai/assistantd/dist/client.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 +25 -1
- package/node_modules/@murphai/assistantd/dist/http-protocol.js.map +1 -1
- package/node_modules/@murphai/clinical-records/dist/index.d.ts +660 -660
- package/node_modules/@murphai/clinical-records/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/clinical-records/dist/index.js +1 -1
- package/node_modules/@murphai/clinical-records/dist/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/automation-availability.d.ts +51 -0
- package/node_modules/@murphai/core/dist/automation-availability.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/automation-availability.js +226 -0
- package/node_modules/@murphai/core/dist/automation-availability.js.map +1 -0
- package/node_modules/@murphai/core/dist/automation.d.ts +9 -2
- package/node_modules/@murphai/core/dist/automation.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/automation.js +121 -19
- package/node_modules/@murphai/core/dist/automation.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts +2 -0
- package/node_modules/@murphai/core/dist/bank/habitat.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/bank/habitat.js +35 -1
- package/node_modules/@murphai/core/dist/bank/habitat.js.map +1 -1
- package/node_modules/@murphai/core/dist/bank/regimens.js +1 -1
- package/node_modules/@murphai/core/dist/bank/regimens.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/attachment-backed.js +9 -123
- 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 +33 -0
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.js +119 -0
- package/node_modules/@murphai/core/dist/domains/events/capture-lookup.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events/generated-image-capture-retention.d.ts +24 -0
- package/node_modules/@murphai/core/dist/domains/events/generated-image-capture-retention.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/events/generated-image-capture-retention.js +409 -0
- package/node_modules/@murphai/core/dist/domains/events/generated-image-capture-retention.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/events/ledger.d.ts +34 -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 +188 -15
- package/node_modules/@murphai/core/dist/domains/events/ledger.js.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events.d.ts +6 -2
- package/node_modules/@murphai/core/dist/domains/events.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/domains/events.js +3 -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 +5 -1
- package/node_modules/@murphai/core/dist/domains/experiments.js.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.d.ts +8 -5
- package/node_modules/@murphai/core/dist/history/api.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/history/api.js +268 -20
- package/node_modules/@murphai/core/dist/history/api.js.map +1 -1
- package/node_modules/@murphai/core/dist/index.d.ts +11 -6
- package/node_modules/@murphai/core/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/index.js +8 -4
- package/node_modules/@murphai/core/dist/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/memory.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/memory.js +1 -0
- package/node_modules/@murphai/core/dist/memory.js.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.d.ts +45 -4
- package/node_modules/@murphai/core/dist/mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/mutations.js +2204 -97
- package/node_modules/@murphai/core/dist/mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/index.d.ts +1 -1
- package/node_modules/@murphai/core/dist/operations/index.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/operations/index.js +1 -1
- package/node_modules/@murphai/core/dist/operations/index.js.map +1 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts +5 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/operations/write-batch.js +40 -2
- package/node_modules/@murphai/core/dist/operations/write-batch.js.map +1 -1
- package/node_modules/@murphai/core/dist/protocols.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/protocols.js +52 -9
- package/node_modules/@murphai/core/dist/protocols.js.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.d.ts +3 -2
- package/node_modules/@murphai/core/dist/public-mutations.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/public-mutations.js +9 -4
- package/node_modules/@murphai/core/dist/public-mutations.js.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts +3 -0
- package/node_modules/@murphai/core/dist/scheduled-logs.d.ts.map +1 -1
- package/node_modules/@murphai/core/dist/scheduled-logs.js +65 -29
- package/node_modules/@murphai/core/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/README.md +237 -0
- package/node_modules/@murphai/device-syncd/dist/client.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/client.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.d.ts +29 -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 +78 -2
- package/node_modules/@murphai/device-syncd/dist/config/connect-routes.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-targets.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/connect-targets.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.d.ts +2 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.js +2 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-client-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.d.ts +1 -0
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.js +9 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.js +2 -2
- package/node_modules/@murphai/device-syncd/dist/config/junction-connect-sources.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-configs.d.ts +2 -2
- 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 +2 -2
- 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 +4 -2
- 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 +6 -0
- package/node_modules/@murphai/device-syncd/dist/config/provider-env.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.d.ts +614 -0
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/provider-manifests.js +216 -148
- 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 +11 -0
- 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 +2 -2
- 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.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config/serializable-provider-configs.js +2 -0
- 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 +1 -1
- package/node_modules/@murphai/device-syncd/dist/config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/config.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/configured-provider-runtime-descriptors.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/connect-config.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.d.ts +57 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.js +166 -0
- package/node_modules/@murphai/device-syncd/dist/fitbit-migration.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts +87 -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 +296 -6
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/index.d.ts +1 -1
- 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 +27 -0
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js +464 -9
- package/node_modules/@murphai/device-syncd/dist/junction-historical-backfill-progress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.d.ts +17 -2
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.js +99 -40
- package/node_modules/@murphai/device-syncd/dist/junction-inline-authority.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-resources.d.ts +16 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-resources.js +32 -0
- package/node_modules/@murphai/device-syncd/dist/junction-resources.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.d.ts +17 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.js +45 -0
- package/node_modules/@murphai/device-syncd/dist/junction-source-reconnect.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.js +24 -0
- package/node_modules/@murphai/device-syncd/dist/junction-timeseries-progress.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/prepared-webhook.d.ts +29 -0
- package/node_modules/@murphai/device-syncd/dist/prepared-webhook.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/prepared-webhook.js +263 -0
- package/node_modules/@murphai/device-syncd/dist/prepared-webhook.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/provider-configs.d.ts +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-configs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-configs.js +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-configs.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/provider-label.d.ts +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 +4 -2
- 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 +30 -1
- 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 +1005 -193
- package/node_modules/@murphai/device-syncd/dist/providers/junction-client.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts +11 -2
- package/node_modules/@murphai/device-syncd/dist/providers/junction.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js +5033 -310
- package/node_modules/@murphai/device-syncd/dist/providers/junction.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js +2 -1
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.d.ts +12 -3
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.js +50 -12
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava.d.ts +3 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/strava.js +51 -38
- package/node_modules/@murphai/device-syncd/dist/providers/strava.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js +11 -1
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts +54 -2
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-account.js +243 -1
- 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 -2
- package/node_modules/@murphai/device-syncd/dist/public-ingress.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js +634 -199
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.d.ts +21 -4
- package/node_modules/@murphai/device-syncd/dist/service.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/service.js +728 -68
- package/node_modules/@murphai/device-syncd/dist/service.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/source-staleness.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.js +25 -1
- package/node_modules/@murphai/device-syncd/dist/source-staleness.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/accounts.d.ts +3 -1
- package/node_modules/@murphai/device-syncd/dist/store/accounts.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/accounts.js +25 -2
- 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.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/hosted-account-hydration.js +7 -1
- 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 +22 -3
- package/node_modules/@murphai/device-syncd/dist/store/jobs.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/jobs.js +266 -21
- 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 +3 -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 +62 -4
- 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 +25 -3
- package/node_modules/@murphai/device-syncd/dist/store/schema.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sources.d.ts +25 -2
- package/node_modules/@murphai/device-syncd/dist/store/sources.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sources.js +268 -58
- package/node_modules/@murphai/device-syncd/dist/store/sources.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.d.ts +7 -2
- 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 +82 -28
- package/node_modules/@murphai/device-syncd/dist/store/sync-state.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store/webhook-traces.js +2 -2
- package/node_modules/@murphai/device-syncd/dist/store/webhook-traces.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.d.ts +30 -5
- package/node_modules/@murphai/device-syncd/dist/store.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/store.js +146 -13
- package/node_modules/@murphai/device-syncd/dist/store.js.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.d.ts +260 -8
- package/node_modules/@murphai/device-syncd/dist/types.d.ts.map +1 -1
- package/node_modules/@murphai/device-syncd/dist/types.js +7 -0
- package/node_modules/@murphai/device-syncd/dist/types.js.map +1 -1
- package/node_modules/@murphai/device-syncd/package.json +16 -0
- package/node_modules/@murphai/health-commons/content/biomarkers/bilirubin.md +18 -0
- package/node_modules/@murphai/health-commons/content/biomarkers/carbon-dioxide.md +18 -0
- package/node_modules/@murphai/health-commons/content/biomarkers/potassium.md +18 -0
- package/node_modules/@murphai/health-commons/content/biomarkers/sodium.md +18 -0
- package/node_modules/@murphai/health-commons/content/families/general-eye-health.md +190 -0
- package/node_modules/@murphai/health-commons/content/families/photobiomodulation.md +97 -0
- package/node_modules/@murphai/health-commons/content/families/recovery-modalities.md +73 -0
- package/node_modules/@murphai/health-commons/content/protocols/whole-body-photobiomodulation/whole-body-red-and-near-infrared-light-exposure.md +1 -1
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/cdc-contact-lens-infection-symptoms.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/cdc-contact-lens-prevention.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/cdc-stroke-signs.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/cochrane-blue-light-filtering-lenses.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/fda-buying-contact-lenses.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/fda-eye-drops.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/imi-myopia-interventions.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/medlineplus-eye-emergencies.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/medlineplus-eye-pain.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-angle-closure-glaucoma.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-areds2-faq.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-contact-lenses.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-dry-eye.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-healthy-vision.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-myopia.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nei-retinal-detachment.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/nih-dream-omega3-dry-eye.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/osha-computer-monitors.md +20 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/pmc-9840372.md +22 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/pmid-35597519.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/pmid-36473088.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/general-eye-health/pmid-37062428.md +21 -0
- package/node_modules/@murphai/health-commons/content/sources/whole-body-photobiomodulation/clinicaltrials-gov-nct07047248-2026-04-23.md +0 -1
- package/node_modules/@murphai/health-commons/dist/biomarker-fallback-ranges.d.ts +3 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-fallback-ranges.d.ts.map +1 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-fallback-ranges.js +2 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-fallback-ranges.js.map +1 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-runtime-artifacts.d.ts +17 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-runtime-artifacts.d.ts.map +1 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-runtime-artifacts.js +16 -0
- package/node_modules/@murphai/health-commons/dist/biomarker-runtime-artifacts.js.map +1 -0
- package/node_modules/@murphai/health-commons/dist/build.d.ts.map +1 -1
- package/node_modules/@murphai/health-commons/dist/build.js +41 -7
- package/node_modules/@murphai/health-commons/dist/build.js.map +1 -1
- package/node_modules/@murphai/health-commons/dist/index.d.ts +1 -0
- package/node_modules/@murphai/health-commons/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/health-commons/dist/index.js +1 -0
- package/node_modules/@murphai/health-commons/dist/index.js.map +1 -1
- package/node_modules/@murphai/health-commons/dist/knowledge-index.d.ts +44 -0
- package/node_modules/@murphai/health-commons/dist/knowledge-index.d.ts.map +1 -0
- package/node_modules/@murphai/health-commons/dist/knowledge-index.js +540 -0
- package/node_modules/@murphai/health-commons/dist/knowledge-index.js.map +1 -0
- package/node_modules/@murphai/health-commons/dist/runtime.d.ts +17 -1
- package/node_modules/@murphai/health-commons/dist/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/health-commons/dist/runtime.js +58 -4
- package/node_modules/@murphai/health-commons/dist/runtime.js.map +1 -1
- package/node_modules/@murphai/health-commons/generated/biomarker-desired-directions.json +410 -0
- package/node_modules/@murphai/health-commons/generated/catalog.hash +1 -1
- package/node_modules/@murphai/health-commons/generated/knowledge.sqlite +0 -0
- package/node_modules/@murphai/health-commons/generated/protocol-family-graph.json +187 -46
- package/node_modules/@murphai/health-commons/generated/protocol-index.json +47 -47
- package/node_modules/@murphai/health-commons/generated/protocol-run-specs.json +967 -967
- package/node_modules/@murphai/health-commons/generated/source-artifact-index.json +1 -1
- package/node_modules/@murphai/health-commons/generated/source-identities.ndjson +28 -0
- package/node_modules/@murphai/health-commons/generated/source-index.json +694 -2
- package/node_modules/@murphai/health-commons/generated/web/browse/biomarkers.json +77 -9
- package/node_modules/@murphai/health-commons/generated/web/browse/experiments.json +37 -37
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-basophils.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-eosinophils.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-immature-granulocytes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-lymphocytes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-monocytes.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/absolute-neutrophils.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/adjusted-calcium.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/albumin-globulin-ratio.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/albumin.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/alkaline-phosphatase.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ana-screen.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/anion-gap.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/arachidonic-acid-epa-ratio.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/arachidonic-acid.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/basophil-percentage.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/bedtime-delay.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/bilirubin.json +3 -3
- 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/bun-creatinine-ratio.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/c-peptide.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/calcium.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/carbon-dioxide.json +3 -3
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/chloride.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/cholesterol-hdl-ratio.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/cortisol.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 +4 -4
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/dha.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/dhea-sulfate.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/dpa.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/egfr-ckd-epi.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/eosinophil-percentage.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/epa.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/estradiol.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/ferritin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/fib4.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/follicle-stimulating-hormone.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/free-t3.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/free-t4.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/free-testosterone.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/gfr-mdrd-af-amer.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/gfr-mdrd-non-af-amer.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ggt.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/hba1c.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/hematocrit.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hemoglobin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/homocysteine.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hrv-rmssd.json +4 -4
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/hs-crp.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/immature-granulocyte-percentage.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/insulin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/iron-saturation.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/iron.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/ldh.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-calculated.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-chol-calc-nih.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/ldl-large-particles.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-medium-particles.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-particle-number.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-pattern.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-peak-size.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/ldl-small-particles.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lead.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/linoleic-acid.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lipoprotein-a.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/luteinizing-hormone.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/lymphocyte-percentage.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/magnesium-rbc.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mean-corpuscular-hemoglobin-concentration.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mean-corpuscular-hemoglobin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mean-corpuscular-volume.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mean-platelet-volume.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/mercury.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/methylmalonic-acid.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/monocyte-percentage.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/neutrophil-percentage.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/omega-3-total-omegacheck.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/omega-6-3-ratio.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/omega-6-total.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/omegacheck-total.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/phosphate.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/platelet-count.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/poc-troponin-i.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/potassium.json +3 -3
- 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/prolactin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/psa-free.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/psa-percent-free.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/psa-total.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/red-blood-cell-count.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/red-cell-distribution-width.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 +4 -4
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/rheumatoid-factor.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/sex-hormone-binding-globulin.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 +4 -4
- 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/sodium.json +3 -3
- 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/thyroglobulin-antibodies.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/thyroid-peroxidase-antibodies.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/thyroid-stimulating-hormone.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-globulin.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/total-iron-binding-capacity.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/total-protein.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/total-testosterone.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/urine-albumin-random-without-creatinine.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/urine-protein.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/vldl-cholesterol-calculated.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-after-sleep-onset.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/biomarker/white-blood-cell-count.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/biomarker/zinc.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/bryan-johnson-blueprint.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/daily-step-floor.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/five-minute-tomorrow-list.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/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/pneumatic-compression-pants.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/bundles/protocol_variant/protein-floor-high-protein-intake.json +3 -3
- 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 +7 -8
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/bryan-johnson-blueprint.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/finnish-sauna.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/shell/experiments/five-minute-tomorrow-list.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/protein-floor-high-protein-intake.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 +3 -3
- 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/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/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/five-minute-tomorrow-list/protocol.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/five-minute-tomorrow-list/research.json +1 -1
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/five-minute-tomorrow-list/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/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/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 +3 -3
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/whole-body-red-and-near-infrared-light-exposure/research.json +3 -3
- package/node_modules/@murphai/health-commons/generated/web/tabs/experiments/whole-body-red-and-near-infrared-light-exposure/results-public.json +5 -5
- package/node_modules/@murphai/health-commons/package.json +5 -0
- package/node_modules/@murphai/health-metrics/dist/catalog.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/catalog.js +22 -2
- package/node_modules/@murphai/health-metrics/dist/catalog.js.map +1 -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 +165 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/activity.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/body.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/body.js +69 -2
- package/node_modules/@murphai/health-metrics/dist/definitions/body.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/definitions/physiology.d.ts +55 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/physiology.d.ts.map +1 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/physiology.js +92 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/physiology.js.map +1 -0
- package/node_modules/@murphai/health-metrics/dist/definitions/vitals.d.ts +1 -1
- package/node_modules/@murphai/health-metrics/dist/index.d.ts +1 -0
- package/node_modules/@murphai/health-metrics/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/index.js +1 -0
- package/node_modules/@murphai/health-metrics/dist/index.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/lab-reference-ranges.d.ts +45 -0
- package/node_modules/@murphai/health-metrics/dist/lab-reference-ranges.d.ts.map +1 -0
- package/node_modules/@murphai/health-metrics/dist/lab-reference-ranges.js +502 -0
- package/node_modules/@murphai/health-metrics/dist/lab-reference-ranges.js.map +1 -0
- package/node_modules/@murphai/health-metrics/dist/normalize.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/normalize.js +5 -0
- package/node_modules/@murphai/health-metrics/dist/normalize.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/selectors.d.ts +3 -0
- package/node_modules/@murphai/health-metrics/dist/selectors.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/selectors.js +52 -6
- package/node_modules/@murphai/health-metrics/dist/selectors.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/types.d.ts +1 -0
- package/node_modules/@murphai/health-metrics/dist/types.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.d.ts +12 -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 +34 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-metric-catalog.js.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.d.ts +79 -0
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.d.ts.map +1 -1
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.js +19 -0
- package/node_modules/@murphai/health-metrics/dist/wearable-provider-catalog.js.map +1 -1
- package/node_modules/@murphai/importers/README.md +2 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.js +1 -1
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.js.map +1 -1
- package/node_modules/@murphai/importers/dist/core-port.d.ts +16 -1
- package/node_modules/@murphai/importers/dist/core-port.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/core-port.js.map +1 -1
- package/node_modules/@murphai/importers/dist/create-importers.d.ts +9 -1
- package/node_modules/@murphai/importers/dist/create-importers.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/create-importers.js +12 -2
- package/node_modules/@murphai/importers/dist/create-importers.js.map +1 -1
- package/node_modules/@murphai/importers/dist/csv-sample-import-planner.d.ts +1 -0
- package/node_modules/@murphai/importers/dist/csv-sample-import-planner.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/csv-sample-import-planner.js +1 -1
- package/node_modules/@murphai/importers/dist/csv-sample-import-planner.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts +17 -3
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js +103 -9
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts +5 -4
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/index.js +4 -3
- package/node_modules/@murphai/importers/dist/device-providers/index.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.d.ts +37 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.js +796 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-bounded-features.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.d.ts +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.js +7 -2
- package/node_modules/@murphai/importers/dist/device-providers/junction-origin.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.d.ts +7 -12
- 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 +55 -103
- package/node_modules/@murphai/importers/dist/device-providers/junction-resources.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.d.ts +79 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.js +356 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-features.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-fidelity.d.ts +285 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-fidelity.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-fidelity.js +870 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction-timeseries-fidelity.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/junction.d.ts +111 -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 +4058 -306
- package/node_modules/@murphai/importers/dist/device-providers/junction.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/oura.js +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/oura.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts +9 -1
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/whoop.js +1 -1
- package/node_modules/@murphai/importers/dist/device-providers/whoop.js.map +1 -1
- package/node_modules/@murphai/importers/dist/document-importer.d.ts +1 -0
- package/node_modules/@murphai/importers/dist/document-importer.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/document-importer.js +3 -1
- package/node_modules/@murphai/importers/dist/document-importer.js.map +1 -1
- package/node_modules/@murphai/importers/dist/index.d.ts +3 -2
- package/node_modules/@murphai/importers/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/index.js +2 -1
- package/node_modules/@murphai/importers/dist/index.js.map +1 -1
- package/node_modules/@murphai/importers/dist/meal-importer.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/meal-importer.js +2 -1
- package/node_modules/@murphai/importers/dist/meal-importer.js.map +1 -1
- package/node_modules/@murphai/importers/dist/preset-registry.js +1 -1
- package/node_modules/@murphai/importers/dist/preset-registry.js.map +1 -1
- package/node_modules/@murphai/importers/dist/shared.d.ts +1 -1
- package/node_modules/@murphai/importers/dist/shared.d.ts.map +1 -1
- package/node_modules/@murphai/importers/dist/shared.js +1 -1
- package/node_modules/@murphai/importers/dist/shared.js.map +1 -1
- package/node_modules/@murphai/importers/dist/workout-csv-planner.d.ts +49 -0
- package/node_modules/@murphai/importers/dist/workout-csv-planner.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/workout-csv-planner.js +860 -0
- package/node_modules/@murphai/importers/dist/workout-csv-planner.js.map +1 -0
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor-strategies.d.ts +2 -5
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor-strategies.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor-strategies.js +3 -50
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor-strategies.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/bootstrap-doctor.js +9 -11
- 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.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/environment.js +0 -160
- package/node_modules/@murphai/inbox-services/dist/inbox-app/environment.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/runtime.js +2 -4
- package/node_modules/@murphai/inbox-services/dist/inbox-app/runtime.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/sources.d.ts +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/sources.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/sources.js +2 -32
- package/node_modules/@murphai/inbox-services/dist/inbox-app/sources.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.d.ts +2 -79
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.js +0 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-app/types.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/connectors.d.ts +1 -2
- package/node_modules/@murphai/inbox-services/dist/inbox-services/connectors.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/connectors.js +15 -37
- package/node_modules/@murphai/inbox-services/dist/inbox-services/connectors.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/promotions.d.ts +21 -21
- 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 +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/shared.d.ts +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/shared.d.ts.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/shared.js +0 -1
- package/node_modules/@murphai/inbox-services/dist/inbox-services/shared.js.map +1 -1
- package/node_modules/@murphai/inbox-services/dist/index.d.ts +1 -1
- package/node_modules/@murphai/inbox-services/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/README.md +4 -4
- 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 +56 -5
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize-parsed.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/linq/normalize.js +8 -0
- package/node_modules/@murphai/inboxd/dist/connectors/linq/normalize.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/telegram/normalize.d.ts +1 -0
- package/node_modules/@murphai/inboxd/dist/connectors/telegram/normalize.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/connectors/telegram/normalize.js +1 -0
- package/node_modules/@murphai/inboxd/dist/connectors/telegram/normalize.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/index.d.ts +0 -5
- package/node_modules/@murphai/inboxd/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/index.js +0 -2
- package/node_modules/@murphai/inboxd/dist/index.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/attachment-storage-normalizer.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/attachment-storage-normalizer.js +141 -4
- package/node_modules/@murphai/inboxd/dist/indexing/attachment-storage-normalizer.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/retention.d.ts +6 -0
- package/node_modules/@murphai/inboxd/dist/indexing/retention.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/indexing/retention.js +64 -18
- package/node_modules/@murphai/inboxd/dist/indexing/retention.js.map +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.d.ts +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.d.ts.map +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.js +1 -1
- package/node_modules/@murphai/inboxd/dist/retention.js.map +1 -1
- package/node_modules/@murphai/messaging-ingress/README.md +5 -1
- package/node_modules/@murphai/messaging-ingress/dist/linq-webhook.d.ts +27 -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 +164 -17
- package/node_modules/@murphai/messaging-ingress/dist/linq-webhook.js.map +1 -1
- package/node_modules/@murphai/messaging-ingress/dist/telegram-webhook-payload.d.ts +1 -0
- package/node_modules/@murphai/messaging-ingress/dist/telegram-webhook-payload.d.ts.map +1 -1
- package/node_modules/@murphai/messaging-ingress/dist/telegram-webhook-payload.js +2 -0
- package/node_modules/@murphai/messaging-ingress/dist/telegram-webhook-payload.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/codex-resume-state.d.ts +3 -3
- 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 +1 -1
- 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 +1 -1
- 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 +7 -19
- package/node_modules/@murphai/operator-config/dist/assistant/current-delivery-route.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.d.ts +31 -33
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.js +5 -8
- package/node_modules/@murphai/operator-config/dist/assistant/hosted-config.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/provider-config.d.ts +1 -15
- package/node_modules/@murphai/operator-config/dist/assistant/provider-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/provider-config.js +52 -84
- package/node_modules/@murphai/operator-config/dist/assistant/provider-config.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant/target-runtime.d.ts +31 -48
- 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 +33 -56
- 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 +11 -11
- package/node_modules/@murphai/operator-config/dist/assistant-backend.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-backend.js +33 -45
- package/node_modules/@murphai/operator-config/dist/assistant-backend.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.d.ts +1714 -1566
- 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 +198 -23
- package/node_modules/@murphai/operator-config/dist/assistant-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.d.ts +468 -0
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.d.ts.map +1 -0
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.js +1051 -0
- package/node_modules/@murphai/operator-config/dist/assistant-response-cards.js.map +1 -0
- package/node_modules/@murphai/operator-config/dist/command-helpers.d.ts +4 -2
- package/node_modules/@murphai/operator-config/dist/command-helpers.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/command-helpers.js +36 -1
- package/node_modules/@murphai/operator-config/dist/command-helpers.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.d.ts +181 -181
- 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 +1 -1
- package/node_modules/@murphai/operator-config/dist/device-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-client.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/device-sync-client.js +2 -6
- package/node_modules/@murphai/operator-config/dist/device-sync-client.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/elevenlabs-runtime.d.ts +3 -0
- package/node_modules/@murphai/operator-config/dist/elevenlabs-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/elevenlabs-runtime.js +301 -63
- package/node_modules/@murphai/operator-config/dist/elevenlabs-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config-constants.d.ts +3 -2
- 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-constants.js +3 -0
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config-constants.js.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/hosted-assistant-config.js +2 -6
- package/node_modules/@murphai/operator-config/dist/hosted-assistant-config.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/http-json-retry.d.ts +7 -2
- package/node_modules/@murphai/operator-config/dist/http-json-retry.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/http-json-retry.js +33 -14
- package/node_modules/@murphai/operator-config/dist/http-json-retry.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/inbox-cli-contracts.d.ts +427 -462
- 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 +2 -14
- 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 +35 -1
- package/node_modules/@murphai/operator-config/dist/linq-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/linq-runtime.js +1115 -180
- package/node_modules/@murphai/operator-config/dist/linq-runtime.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/message-formatting.d.ts +1 -0
- package/node_modules/@murphai/operator-config/dist/message-formatting.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/message-formatting.js +3 -1
- package/node_modules/@murphai/operator-config/dist/message-formatting.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/message-table-fallback.d.ts +7 -0
- package/node_modules/@murphai/operator-config/dist/message-table-fallback.d.ts.map +1 -0
- package/node_modules/@murphai/operator-config/dist/message-table-fallback.js +109 -0
- package/node_modules/@murphai/operator-config/dist/message-table-fallback.js.map +1 -0
- package/node_modules/@murphai/operator-config/dist/operator-config/self-delivery-targets.d.ts +12 -12
- 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/self-delivery-targets.js +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config/self-delivery-targets.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config.d.ts +50 -53
- package/node_modules/@murphai/operator-config/dist/operator-config.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/operator-config.js +4 -5
- 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 +225 -226
- package/node_modules/@murphai/operator-config/dist/setup-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/setup-cli-contracts.js +2 -2
- package/node_modules/@murphai/operator-config/dist/setup-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/setup-runtime-env.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/setup-runtime-env.js +0 -19
- package/node_modules/@murphai/operator-config/dist/setup-runtime-env.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.d.ts +402 -294
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.js +94 -8
- package/node_modules/@murphai/operator-config/dist/vault-cli-contracts.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.d.ts +24 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.d.ts.map +1 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.js +219 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-error-projection.js.map +1 -0
- package/node_modules/@murphai/operator-config/dist/vault-cli-errors.d.ts.map +1 -1
- package/node_modules/@murphai/operator-config/dist/vault-cli-errors.js.map +1 -1
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.d.ts +14 -0
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.d.ts.map +1 -0
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.js +127 -0
- package/node_modules/@murphai/operator-config/dist/workout-action-binding.js.map +1 -0
- package/node_modules/@murphai/operator-config/package.json +15 -5
- package/node_modules/@murphai/parsers/dist/adapters/ffmpeg.d.ts +2 -0
- package/node_modules/@murphai/parsers/dist/adapters/ffmpeg.d.ts.map +1 -1
- package/node_modules/@murphai/parsers/dist/adapters/ffmpeg.js +18 -0
- package/node_modules/@murphai/parsers/dist/adapters/ffmpeg.js.map +1 -1
- package/node_modules/@murphai/query/README.md +29 -5
- package/node_modules/@murphai/query/dist/automation.d.ts +5 -2
- package/node_modules/@murphai/query/dist/automation.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/automation.js +33 -8
- package/node_modules/@murphai/query/dist/automation.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-biomarkers.d.ts +2 -2
- package/node_modules/@murphai/query/dist/browser-biomarkers.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-biomarkers.js +1 -1
- package/node_modules/@murphai/query/dist/browser-biomarkers.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-experiments.d.ts +2 -2
- package/node_modules/@murphai/query/dist/browser-experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-experiments.js +1 -1
- package/node_modules/@murphai/query/dist/browser-experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-murph-age.d.ts +1 -1
- package/node_modules/@murphai/query/dist/browser-murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-overview.d.ts +2 -1
- package/node_modules/@murphai/query/dist/browser-overview.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/biomarker-panel.d.ts +2 -2
- package/node_modules/@murphai/query/dist/browser-replica/biomarker-panel.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/build.d.ts +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/build.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/build.js +68 -41
- package/node_modules/@murphai/query/dist/browser-replica/build.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/client-overview.d.ts +3 -3
- package/node_modules/@murphai/query/dist/browser-replica/client-overview.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/client-overview.js +3 -0
- package/node_modules/@murphai/query/dist/browser-replica/client-overview.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/device-metrics.d.ts +2 -2
- package/node_modules/@murphai/query/dist/browser-replica/device-metrics.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/device-metrics.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/experiment-run-cards.d.ts +8 -0
- package/node_modules/@murphai/query/dist/browser-replica/experiment-run-cards.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/experiment-run-cards.js +548 -0
- package/node_modules/@murphai/query/dist/browser-replica/experiment-run-cards.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/experiments.d.ts +22 -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 +209 -63
- package/node_modules/@murphai/query/dist/browser-replica/experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/json.d.ts +6 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.js +103 -0
- package/node_modules/@murphai/query/dist/browser-replica/json.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/lab-result-status.d.ts +11 -0
- package/node_modules/@murphai/query/dist/browser-replica/lab-result-status.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/lab-result-status.js +233 -0
- package/node_modules/@murphai/query/dist/browser-replica/lab-result-status.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/lab-results.d.ts +4 -3
- package/node_modules/@murphai/query/dist/browser-replica/lab-results.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/lab-results.js +24 -5
- package/node_modules/@murphai/query/dist/browser-replica/lab-results.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/metric-buckets.d.ts +14 -0
- package/node_modules/@murphai/query/dist/browser-replica/metric-buckets.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/metric-buckets.js +25 -0
- package/node_modules/@murphai/query/dist/browser-replica/metric-buckets.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/murph-age.d.ts +2 -2
- 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.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/parse.d.ts +8 -0
- package/node_modules/@murphai/query/dist/browser-replica/parse.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/parse.js +327 -7
- package/node_modules/@murphai/query/dist/browser-replica/parse.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/query.d.ts +24 -1
- package/node_modules/@murphai/query/dist/browser-replica/query.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/query.js +246 -41
- package/node_modules/@murphai/query/dist/browser-replica/query.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/search-row.d.ts +3 -0
- package/node_modules/@murphai/query/dist/browser-replica/search-row.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/search-row.js +16 -0
- package/node_modules/@murphai/query/dist/browser-replica/search-row.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shards.d.ts +76 -0
- package/node_modules/@murphai/query/dist/browser-replica/shards.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shards.js +232 -0
- package/node_modules/@murphai/query/dist/browser-replica/shards.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/shared.d.ts +144 -9
- 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/source.d.ts +13 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.js +45 -0
- package/node_modules/@murphai/query/dist/browser-replica/source.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/tracked-experiments.d.ts +3 -3
- package/node_modules/@murphai/query/dist/browser-replica/tracked-experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/tracked-experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/training.d.ts +7 -0
- package/node_modules/@murphai/query/dist/browser-replica/training.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/training.js +241 -0
- package/node_modules/@murphai/query/dist/browser-replica/training.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica/views.d.ts +5 -5
- package/node_modules/@murphai/query/dist/browser-replica/views.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica/views.js +3 -0
- package/node_modules/@murphai/query/dist/browser-replica/views.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica-client.d.ts +11 -4
- package/node_modules/@murphai/query/dist/browser-replica-client.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica-client.js +7 -3
- package/node_modules/@murphai/query/dist/browser-replica-client.js.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica-server.d.ts +7 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.js +7 -0
- package/node_modules/@murphai/query/dist/browser-replica-server.js.map +1 -0
- package/node_modules/@murphai/query/dist/browser-replica.d.ts +13 -5
- package/node_modules/@murphai/query/dist/browser-replica.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/browser-replica.js +9 -4
- 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-observation-metrics.d.ts +16 -0
- package/node_modules/@murphai/query/dist/canonical-observation-metrics.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/canonical-observation-metrics.js +70 -0
- package/node_modules/@murphai/query/dist/canonical-observation-metrics.js.map +1 -0
- package/node_modules/@murphai/query/dist/experiment-adherence.d.ts +20 -0
- package/node_modules/@murphai/query/dist/experiment-adherence.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-adherence.js +175 -29
- package/node_modules/@murphai/query/dist/experiment-adherence.js.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-progress-card.d.ts +1 -0
- package/node_modules/@murphai/query/dist/experiment-progress-card.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiment-progress-card.js +1 -0
- package/node_modules/@murphai/query/dist/experiment-progress-card.js.map +1 -1
- package/node_modules/@murphai/query/dist/experiments.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/experiments.js +46 -22
- package/node_modules/@murphai/query/dist/experiments.js.map +1 -1
- package/node_modules/@murphai/query/dist/group-weekly.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/group-weekly.js +52 -1
- package/node_modules/@murphai/query/dist/group-weekly.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/blood-tests.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/blood-tests.js +3 -2
- package/node_modules/@murphai/query/dist/health/blood-tests.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts +11 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/canonical-collector.js +39 -16
- package/node_modules/@murphai/query/dist/health/canonical-collector.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/entity-slices.d.ts +9 -3
- package/node_modules/@murphai/query/dist/health/entity-slices.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/entity-slices.js +6 -6
- package/node_modules/@murphai/query/dist/health/entity-slices.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/immunizations.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/immunizations.js +14 -11
- package/node_modules/@murphai/query/dist/health/immunizations.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/loaders.d.ts +21 -7
- package/node_modules/@murphai/query/dist/health/loaders.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/loaders.js +53 -15
- package/node_modules/@murphai/query/dist/health/loaders.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.d.ts +1 -0
- package/node_modules/@murphai/query/dist/health/registries.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/health/registries.js.map +1 -1
- package/node_modules/@murphai/query/dist/health/shared.js +1 -1
- package/node_modules/@murphai/query/dist/health/shared.js.map +1 -1
- package/node_modules/@murphai/query/dist/index.d.ts +25 -7
- package/node_modules/@murphai/query/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/index.js +18 -6
- package/node_modules/@murphai/query/dist/index.js.map +1 -1
- package/node_modules/@murphai/query/dist/knowledge-contracts.d.ts +78 -75
- package/node_modules/@murphai/query/dist/knowledge-contracts.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/knowledge-contracts.js +2 -1
- package/node_modules/@murphai/query/dist/knowledge-contracts.js.map +1 -1
- package/node_modules/@murphai/query/dist/knowledge-graph.d.ts +1 -0
- package/node_modules/@murphai/query/dist/knowledge-graph.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/knowledge-graph.js +17 -1
- package/node_modules/@murphai/query/dist/knowledge-graph.js.map +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.d.ts +27 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/meal-nutrition.js +120 -7
- package/node_modules/@murphai/query/dist/meal-nutrition.js.map +1 -1
- package/node_modules/@murphai/query/dist/metrics/index.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/metrics/index.js +14 -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 +123 -3
- package/node_modules/@murphai/query/dist/metrics/projection.js.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts +5 -1
- package/node_modules/@murphai/query/dist/murph-age.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/murph-age.js +22 -8
- package/node_modules/@murphai/query/dist/murph-age.js.map +1 -1
- package/node_modules/@murphai/query/dist/personal-patterns.d.ts +55 -0
- package/node_modules/@murphai/query/dist/personal-patterns.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/personal-patterns.js +401 -0
- package/node_modules/@murphai/query/dist/personal-patterns.js.map +1 -0
- package/node_modules/@murphai/query/dist/projection/entity-store.js +4 -4
- package/node_modules/@murphai/query/dist/projection/entity-store.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.d.ts +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/projection/schema.js +5 -1
- package/node_modules/@murphai/query/dist/projection/schema.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-compose.js +8 -0
- package/node_modules/@murphai/query/dist/projection/wearable-summary-compose.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.js +6 -2
- package/node_modules/@murphai/query/dist/projection/wearable-summary-projector.js.map +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-stored-codec.js +1 -1
- package/node_modules/@murphai/query/dist/projection/wearable-summary-stored-codec.js.map +1 -1
- package/node_modules/@murphai/query/dist/query-projection.d.ts +14 -0
- package/node_modules/@murphai/query/dist/query-projection.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/query-projection.js +31 -0
- package/node_modules/@murphai/query/dist/query-projection.js.map +1 -1
- package/node_modules/@murphai/query/dist/query-visibility.d.ts +5 -0
- package/node_modules/@murphai/query/dist/query-visibility.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/query-visibility.js +11 -5
- package/node_modules/@murphai/query/dist/query-visibility.js.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.d.ts +8 -0
- package/node_modules/@murphai/query/dist/read-model.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/read-model.js +11 -1
- package/node_modules/@murphai/query/dist/read-model.js.map +1 -1
- package/node_modules/@murphai/query/dist/scheduled-logs.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/scheduled-logs.js +55 -79
- package/node_modules/@murphai/query/dist/scheduled-logs.js.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.d.ts +22 -4
- package/node_modules/@murphai/query/dist/vault-source.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/vault-source.js +188 -59
- package/node_modules/@murphai/query/dist/vault-source.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/candidates.js +32 -15
- package/node_modules/@murphai/query/dist/wearables/candidates.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/public-output.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/public-output.js +43 -2
- package/node_modules/@murphai/query/dist/wearables/public-output.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/sleep-pattern.d.ts +5 -1
- package/node_modules/@murphai/query/dist/wearables/sleep-pattern.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/sleep-pattern.js +16 -3
- package/node_modules/@murphai/query/dist/wearables/sleep-pattern.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/source-health.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/source-health.js +31 -4
- package/node_modules/@murphai/query/dist/wearables/source-health.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/types.d.ts +54 -4
- package/node_modules/@murphai/query/dist/wearables/types.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/types.js +36 -0
- package/node_modules/@murphai/query/dist/wearables/types.js.map +1 -1
- package/node_modules/@murphai/query/dist/wearables/workout-features.d.ts +5 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.d.ts.map +1 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.js +179 -0
- package/node_modules/@murphai/query/dist/wearables/workout-features.js.map +1 -0
- package/node_modules/@murphai/query/dist/wearables.d.ts.map +1 -1
- package/node_modules/@murphai/query/dist/wearables.js +74 -6
- package/node_modules/@murphai/query/dist/wearables.js.map +1 -1
- package/node_modules/@murphai/query/package.json +15 -0
- package/node_modules/@murphai/runtime-state/README.md +3 -3
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.js +15 -2
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.d.ts +4 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.js +16 -3
- package/node_modules/@murphai/runtime-state/dist/assistant-runtime-issues.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.d.ts +2 -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 +76 -20
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-crypto-keyrings.d.ts +32 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-crypto-keyrings.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-crypto-keyrings.js +327 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-crypto-keyrings.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-domain-crypto.d.ts +3 -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 +23 -3
- 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 +5 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js +10 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js.map +1 -1
- package/node_modules/@murphai/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 +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-storage.js.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/sqlite.d.ts.map +1 -1
- package/node_modules/@murphai/runtime-state/dist/sqlite.js +22 -6
- package/node_modules/@murphai/runtime-state/dist/sqlite.js.map +1 -1
- package/node_modules/@murphai/setup-cli/README.md +1 -1
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.js +6 -15
- package/node_modules/@murphai/setup-cli/dist/incur-error-bridge.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/index.d.ts +0 -1
- package/node_modules/@murphai/setup-cli/dist/index.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/index.js +0 -1
- package/node_modules/@murphai/setup-cli/dist/index.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-account.js +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.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-defaults.js +14 -24
- package/node_modules/@murphai/setup-cli/dist/setup-assistant-defaults.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-assistant.js +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 +1 -2
- package/node_modules/@murphai/setup-cli/dist/setup-cli.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-cli.js +2 -4
- package/node_modules/@murphai/setup-cli/dist/setup-cli.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services/channels.d.ts +0 -4
- package/node_modules/@murphai/setup-cli/dist/setup-services/channels.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services/channels.js +126 -420
- package/node_modules/@murphai/setup-cli/dist/setup-services/channels.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services.d.ts +0 -3
- package/node_modules/@murphai/setup-cli/dist/setup-services.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-services.js +0 -7
- package/node_modules/@murphai/setup-cli/dist/setup-services.js.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-wizard-options.d.ts.map +1 -1
- package/node_modules/@murphai/setup-cli/dist/setup-wizard-options.js +0 -7
- package/node_modules/@murphai/setup-cli/dist/setup-wizard-options.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/README.md +9 -0
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/clinical-records.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.d.ts +6 -0
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.js +49 -1
- package/node_modules/@murphai/vault-usecases/dist/commands/query-record-command-helpers.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/experiment-onboarding-options.d.ts +3 -3
- package/node_modules/@murphai/vault-usecases/dist/experiment-onboarding-options.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/experiment-onboarding-options.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/experiment-onboarding-options.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/export-packs.d.ts +7 -0
- package/node_modules/@murphai/vault-usecases/dist/export-packs.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/export-packs.js +45 -0
- package/node_modules/@murphai/vault-usecases/dist/export-packs.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.d.ts +28 -28
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/health-cli-descriptors.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/json-input.d.ts +1 -1
- package/node_modules/@murphai/vault-usecases/dist/json-input.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/json-input.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/json-input.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/query-runtime.d.ts +5 -1
- package/node_modules/@murphai/vault-usecases/dist/query-runtime.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/query-runtime.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.d.ts +1 -1
- package/node_modules/@murphai/vault-usecases/dist/testing/junction-wearable-fixture.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.d.ts +21 -21
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.js +23 -13
- package/node_modules/@murphai/vault-usecases/dist/usecases/capture.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/clinical-imports.d.ts +193 -193
- 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 +2 -4
- 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 +12 -12
- 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 +25 -19
- 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 +130 -130
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.js +2 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/encounter.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.d.ts +9 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.js +78 -5
- package/node_modules/@murphai/vault-usecases/dist/usecases/event-record-mutations.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.d.ts +20 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.js +72 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/exact-event-record.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.d.ts +29 -6
- 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 +267 -46
- package/node_modules/@murphai/vault-usecases/dist/usecases/experiment-journal-vault.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.js +158 -24
- package/node_modules/@murphai/vault-usecases/dist/usecases/explicit-health-family-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food-autolog.d.ts +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food-autolog.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food-autolog.js +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food-autolog.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.js +98 -6
- package/node_modules/@murphai/vault-usecases/dist/usecases/food.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.js +97 -13
- package/node_modules/@murphai/vault-usecases/dist/usecases/integrated-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.js +49 -24
- package/node_modules/@murphai/vault-usecases/dist/usecases/intervention-experiment-link.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.d.ts +95 -13
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.js +149 -14
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement-read.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement.js +3 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/measurement.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.d.ts +4 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.js +19 -12
- package/node_modules/@murphai/vault-usecases/dist/usecases/provider-event.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.d.ts +3 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.js +44 -2
- package/node_modules/@murphai/vault-usecases/dist/usecases/recipe.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/runtime.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/runtime.js +2 -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.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js +1 -3
- package/node_modules/@murphai/vault-usecases/dist/usecases/shared.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/types.d.ts +44 -1
- 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.d.ts +2 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.js +24 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/vault-usecase-helpers.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-core.d.ts +7 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-core.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-core.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-format.d.ts +4 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-format.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-import.d.ts +60 -7
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-import.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-import.js +1282 -494
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-import.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.d.ts +116 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.js +231 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-model.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.d.ts +36 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.js +287 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live-state.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.d.ts +134 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.d.ts.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.js +744 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-live.js.map +1 -0
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-model.d.ts +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-model.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout-model.js +2 -0
- 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 +13 -13
- 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 +22 -19
- 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 +39 -2
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.js +144 -4
- package/node_modules/@murphai/vault-usecases/dist/usecases/workout.js.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 +3 -0
- package/node_modules/@murphai/vault-usecases/dist/vault-services.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/workouts.d.ts +1 -0
- package/node_modules/@murphai/vault-usecases/dist/workouts.d.ts.map +1 -1
- package/node_modules/@murphai/vault-usecases/dist/workouts.js +1 -0
- package/node_modules/@murphai/vault-usecases/dist/workouts.js.map +1 -1
- package/node_modules/@murphai/vault-usecases/package.json +4 -0
- package/node_modules/incur/dist/Cli.js +7 -32
- package/node_modules/incur/dist/Errors.d.ts +17 -0
- package/node_modules/incur/dist/Errors.js +23 -0
- package/node_modules/incur/dist/internal/command.d.ts +2 -0
- package/node_modules/incur/dist/internal/command.js +2 -6
- package/node_modules/incur/src/Cli.ts +11 -32
- package/node_modules/incur/src/Errors.ts +36 -0
- package/node_modules/incur/src/internal/command.ts +4 -6
- package/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
- package/node_modules/ink/build/ansi-tokenizer.js +316 -0
- package/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
- package/node_modules/ink/build/apply-styles.js +175 -0
- package/node_modules/ink/build/build-layout.js +77 -0
- package/node_modules/ink/build/calculate-wrapped-text.js +53 -0
- package/node_modules/ink/build/colorize.d.ts +3 -0
- package/node_modules/ink/build/colorize.js +48 -0
- package/node_modules/ink/build/colorize.js.map +1 -0
- package/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
- package/node_modules/ink/build/components/AccessibilityContext.js +5 -0
- package/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
- package/node_modules/ink/build/components/App.d.ts +18 -0
- package/node_modules/ink/build/components/App.js +351 -0
- package/node_modules/ink/build/components/App.js.map +1 -0
- package/node_modules/ink/build/components/AppContext.d.ts +15 -0
- package/node_modules/ink/build/components/AppContext.js +11 -0
- package/node_modules/ink/build/components/AppContext.js.map +1 -0
- package/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
- package/node_modules/ink/build/components/BackgroundContext.js +3 -0
- package/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
- package/node_modules/ink/build/components/Box.d.ts +117 -0
- package/node_modules/ink/build/components/Box.js +34 -0
- package/node_modules/ink/build/components/Box.js.map +1 -0
- package/node_modules/ink/build/components/Color.js +62 -0
- package/node_modules/ink/build/components/Cursor.d.ts +83 -0
- package/node_modules/ink/build/components/Cursor.js +53 -0
- package/node_modules/ink/build/components/Cursor.js.map +1 -0
- package/node_modules/ink/build/components/CursorContext.d.ts +11 -0
- package/node_modules/ink/build/components/CursorContext.js +8 -0
- package/node_modules/ink/build/components/CursorContext.js.map +1 -0
- package/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
- package/node_modules/ink/build/components/ErrorBoundary.js +23 -0
- package/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
- package/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
- package/node_modules/ink/build/components/ErrorOverview.js +84 -0
- package/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
- package/node_modules/ink/build/components/FocusContext.d.ts +16 -0
- package/node_modules/ink/build/components/FocusContext.js +17 -0
- package/node_modules/ink/build/components/FocusContext.js.map +1 -0
- package/node_modules/ink/build/components/Newline.d.ts +13 -0
- package/node_modules/ink/build/components/Newline.js +8 -0
- package/node_modules/ink/build/components/Newline.js.map +1 -0
- package/node_modules/ink/build/components/Spacer.d.ts +7 -0
- package/node_modules/ink/build/components/Spacer.js +11 -0
- package/node_modules/ink/build/components/Spacer.js.map +1 -0
- package/node_modules/ink/build/components/Static.d.ts +24 -0
- package/node_modules/ink/build/components/Static.js +28 -0
- package/node_modules/ink/build/components/Static.js.map +1 -0
- package/node_modules/ink/build/components/StderrContext.d.ts +15 -0
- package/node_modules/ink/build/components/StderrContext.js +13 -0
- package/node_modules/ink/build/components/StderrContext.js.map +1 -0
- package/node_modules/ink/build/components/StdinContext.d.ts +22 -0
- package/node_modules/ink/build/components/StdinContext.js +19 -0
- package/node_modules/ink/build/components/StdinContext.js.map +1 -0
- package/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
- package/node_modules/ink/build/components/StdoutContext.js +13 -0
- package/node_modules/ink/build/components/StdoutContext.js.map +1 -0
- package/node_modules/ink/build/components/Text.d.ts +55 -0
- package/node_modules/ink/build/components/Text.js +50 -0
- package/node_modules/ink/build/components/Text.js.map +1 -0
- package/node_modules/ink/build/components/Transform.d.ts +16 -0
- package/node_modules/ink/build/components/Transform.js +15 -0
- package/node_modules/ink/build/components/Transform.js.map +1 -0
- package/node_modules/ink/build/cursor-helpers.d.ts +38 -0
- package/node_modules/ink/build/cursor-helpers.js +56 -0
- package/node_modules/ink/build/cursor-helpers.js.map +1 -0
- package/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
- package/node_modules/ink/build/devtools-window-polyfill.js +65 -0
- package/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
- package/node_modules/ink/build/devtools.d.ts +1 -0
- package/node_modules/ink/build/devtools.js +11 -0
- package/node_modules/ink/build/devtools.js.map +1 -0
- package/node_modules/ink/build/dom.d.ts +56 -0
- package/node_modules/ink/build/dom.js +124 -0
- package/node_modules/ink/build/dom.js.map +1 -0
- package/node_modules/ink/build/experimental/apply-style.js +140 -0
- package/node_modules/ink/build/experimental/dom.js +123 -0
- package/node_modules/ink/build/experimental/output.js +91 -0
- package/node_modules/ink/build/experimental/reconciler.js +141 -0
- package/node_modules/ink/build/experimental/renderer.js +81 -0
- package/node_modules/ink/build/get-max-width.d.ts +3 -0
- package/node_modules/ink/build/get-max-width.js +10 -0
- package/node_modules/ink/build/get-max-width.js.map +1 -0
- package/node_modules/ink/build/hooks/use-app.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-app.js +8 -0
- package/node_modules/ink/build/hooks/use-app.js.map +1 -0
- package/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
- package/node_modules/ink/build/hooks/use-cursor.js +29 -0
- package/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
- package/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
- package/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
- package/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
- package/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
- package/node_modules/ink/build/hooks/use-focus.js +42 -0
- package/node_modules/ink/build/hooks/use-focus.js.map +1 -0
- package/node_modules/ink/build/hooks/use-input.d.ts +131 -0
- package/node_modules/ink/build/hooks/use-input.js +124 -0
- package/node_modules/ink/build/hooks/use-input.js.map +1 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
- package/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-stderr.js +8 -0
- package/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-stdin.js +8 -0
- package/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
- package/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
- package/node_modules/ink/build/hooks/use-stdout.js +8 -0
- package/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
- package/node_modules/ink/build/hooks/useInput.js +38 -0
- package/node_modules/ink/build/index.d.ts +34 -0
- package/node_modules/ink/build/index.js +20 -0
- package/node_modules/ink/build/index.js.map +1 -0
- package/node_modules/ink/build/ink.d.ts +90 -0
- package/node_modules/ink/build/ink.js +637 -0
- package/node_modules/ink/build/ink.js.map +1 -0
- package/node_modules/ink/build/input-parser.d.ts +7 -0
- package/node_modules/ink/build/input-parser.js +154 -0
- package/node_modules/ink/build/input-parser.js.map +1 -0
- package/node_modules/ink/build/instance.js +205 -0
- package/node_modules/ink/build/instances.d.ts +3 -0
- package/node_modules/ink/build/instances.js +8 -0
- package/node_modules/ink/build/instances.js.map +1 -0
- package/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
- package/node_modules/ink/build/kitty-keyboard.js +32 -0
- package/node_modules/ink/build/kitty-keyboard.js.map +1 -0
- package/node_modules/ink/build/layout.d.ts +7 -0
- package/node_modules/ink/build/layout.js +33 -0
- package/node_modules/ink/build/layout.js.map +1 -0
- package/node_modules/ink/build/log-update.d.ts +19 -0
- package/node_modules/ink/build/log-update.js +242 -0
- package/node_modules/ink/build/log-update.js.map +1 -0
- package/node_modules/ink/build/measure-element.d.ts +16 -0
- package/node_modules/ink/build/measure-element.js +9 -0
- package/node_modules/ink/build/measure-element.js.map +1 -0
- package/node_modules/ink/build/measure-text.d.ts +6 -0
- package/node_modules/ink/build/measure-text.js +21 -0
- package/node_modules/ink/build/measure-text.js.map +1 -0
- package/node_modules/ink/build/options.d.ts +52 -0
- package/node_modules/ink/build/options.js +2 -0
- package/node_modules/ink/build/options.js.map +1 -0
- package/node_modules/ink/build/output.d.ts +35 -0
- package/node_modules/ink/build/output.js +183 -0
- package/node_modules/ink/build/output.js.map +1 -0
- package/node_modules/ink/build/parse-keypress.d.ts +22 -0
- package/node_modules/ink/build/parse-keypress.js +493 -0
- package/node_modules/ink/build/parse-keypress.js.map +1 -0
- package/node_modules/ink/build/reconciler.d.ts +4 -0
- package/node_modules/ink/build/reconciler.js +274 -0
- package/node_modules/ink/build/reconciler.js.map +1 -0
- package/node_modules/ink/build/render-background.d.ts +4 -0
- package/node_modules/ink/build/render-background.js +25 -0
- package/node_modules/ink/build/render-background.js.map +1 -0
- package/node_modules/ink/build/render-border.d.ts +4 -0
- package/node_modules/ink/build/render-border.js +73 -0
- package/node_modules/ink/build/render-border.js.map +1 -0
- package/node_modules/ink/build/render-node-to-output.d.ts +14 -0
- package/node_modules/ink/build/render-node-to-output.js +147 -0
- package/node_modules/ink/build/render-node-to-output.js.map +1 -0
- package/node_modules/ink/build/render-to-string.d.ts +38 -0
- package/node_modules/ink/build/render-to-string.js +115 -0
- package/node_modules/ink/build/render-to-string.js.map +1 -0
- package/node_modules/ink/build/render.d.ts +121 -0
- package/node_modules/ink/build/render.js +55 -0
- package/node_modules/ink/build/render.js.map +1 -0
- package/node_modules/ink/build/renderer.d.ts +8 -0
- package/node_modules/ink/build/renderer.js +55 -0
- package/node_modules/ink/build/renderer.js.map +1 -0
- package/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
- package/node_modules/ink/build/sanitize-ansi.js +27 -0
- package/node_modules/ink/build/sanitize-ansi.js.map +1 -0
- package/node_modules/ink/build/screen-reader-update.d.ts +13 -0
- package/node_modules/ink/build/screen-reader-update.js +38 -0
- package/node_modules/ink/build/screen-reader-update.js.map +1 -0
- package/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
- package/node_modules/ink/build/squash-text-nodes.js +36 -0
- package/node_modules/ink/build/squash-text-nodes.js.map +1 -0
- package/node_modules/ink/build/styles.d.ts +240 -0
- package/node_modules/ink/build/styles.js +232 -0
- package/node_modules/ink/build/styles.js.map +1 -0
- package/node_modules/ink/build/utils.d.ts +2 -0
- package/node_modules/ink/build/utils.js +4 -0
- package/node_modules/ink/build/utils.js.map +1 -0
- package/node_modules/ink/build/wrap-text.d.ts +3 -0
- package/node_modules/ink/build/wrap-text.js +31 -0
- package/node_modules/ink/build/wrap-text.js.map +1 -0
- package/node_modules/ink/build/write-synchronized.d.ts +4 -0
- package/node_modules/ink/build/write-synchronized.js +7 -0
- package/node_modules/ink/build/write-synchronized.js.map +1 -0
- package/node_modules/ink/package.json +126 -0
- package/package.json +35 -5
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-phone-call-preview-authority.d.ts +0 -24
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-phone-call-preview-authority.d.ts.map +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-phone-call-preview-authority.js +0 -125
- package/node_modules/@murphai/assistant-engine/dist/assistant/group-phone-call-preview-authority.js.map +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.d.ts +0 -19
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.d.ts.map +0 -1
- package/node_modules/@murphai/assistant-engine/dist/assistant/newsletter-outbox.js.map +0 -1
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/SKILL.md +0 -77
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/references/evidence-register.md +0 -34
- package/node_modules/@murphai/assistant-engine/skills/general-eye-health/references/triage-and-contact-lenses.md +0 -103
- package/node_modules/@murphai/assistant-engine/skills/recovery-modalities/SKILL.md +0 -57
- package/node_modules/@murphai/assistant-engine/skills/red-light-therapy/SKILL.md +0 -145
- package/node_modules/@murphai/assistant-engine/skills/red-light-therapy/device-seeds.json +0 -259
- package/node_modules/@murphai/inboxd/dist/connectors/email/connector.d.ts +0 -57
- package/node_modules/@murphai/inboxd/dist/connectors/email/connector.d.ts.map +0 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/connector.js +0 -259
- package/node_modules/@murphai/inboxd/dist/connectors/email/connector.js.map +0 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.d.ts +0 -44
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.d.ts.map +0 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.js +0 -212
- package/node_modules/@murphai/inboxd/dist/connectors/email/normalize.js.map +0 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/types.d.ts +0 -69
- package/node_modules/@murphai/inboxd/dist/connectors/email/types.d.ts.map +0 -1
- package/node_modules/@murphai/inboxd/dist/connectors/email/types.js +0 -2
- package/node_modules/@murphai/inboxd/dist/connectors/email/types.js.map +0 -1
- package/node_modules/@murphai/operator-config/dist/agentmail-runtime.d.ts +0 -194
- package/node_modules/@murphai/operator-config/dist/agentmail-runtime.d.ts.map +0 -1
- package/node_modules/@murphai/operator-config/dist/agentmail-runtime.js +0 -385
- package/node_modules/@murphai/operator-config/dist/agentmail-runtime.js.map +0 -1
- package/node_modules/@murphai/setup-cli/dist/setup-agentmail.d.ts +0 -30
- package/node_modules/@murphai/setup-cli/dist/setup-agentmail.d.ts.map +0 -1
- package/node_modules/@murphai/setup-cli/dist/setup-agentmail.js +0 -135
- package/node_modules/@murphai/setup-cli/dist/setup-agentmail.js.map +0 -1
- package/node_modules/incur/src/Cli.test.ts +0 -4808
- package/node_modules/incur/src/Completions.test.ts +0 -543
- package/node_modules/incur/src/Errors.test.ts +0 -100
- package/node_modules/incur/src/Fetch.test.ts +0 -285
- package/node_modules/incur/src/Filter.test.ts +0 -237
- package/node_modules/incur/src/Formatter.test.ts +0 -326
- package/node_modules/incur/src/Help.test.ts +0 -414
- package/node_modules/incur/src/Mcp.test.ts +0 -413
- package/node_modules/incur/src/Openapi.test.ts +0 -389
- package/node_modules/incur/src/Parser.test.ts +0 -378
- package/node_modules/incur/src/Schema.test.ts +0 -167
- package/node_modules/incur/src/Skill.test.ts +0 -441
- package/node_modules/incur/src/Skillgen.test.ts +0 -77
- package/node_modules/incur/src/SyncMcp.test.ts +0 -136
- package/node_modules/incur/src/SyncSkills.test.ts +0 -301
- package/node_modules/incur/src/Typegen.test.ts +0 -205
- package/node_modules/incur/src/bun-compile.test.ts +0 -84
- package/node_modules/incur/src/e2e.test.ts +0 -3441
- package/node_modules/incur/src/internal/configSchema.test.ts +0 -193
- package/node_modules/incur/src/internal/dereference.test.ts +0 -695
- package/node_modules/incur/src/internal/helpers.test.ts +0 -75
- package/node_modules/incur/src/internal/pm.test.ts +0 -38
- package/node_modules/incur/src/internal/utils.test.ts +0 -50
- package/node_modules/incur/src/middleware.test.ts +0 -6
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { assistantAskResultSchema, } from '@murphai/operator-config/assistant-cli-contracts';
|
|
2
|
+
import { renderAssistantResponseCardTranscriptText, renderAssistantResponseCardText, } from '@murphai/operator-config/assistant-response-cards';
|
|
2
3
|
import { assistantBackendTargetToProviderConfigInput, createAssistantModelTarget, createDefaultLocalAssistantModelTarget, } from '@murphai/operator-config/assistant-backend';
|
|
4
|
+
import { CAPTURE_LOOKUP_INDEX_PATH, readStoredCaptureLookupIndex, } from '@murphai/core';
|
|
3
5
|
import { appendAssistantTranscriptEntries, appendAssistantTranscriptEntriesWithRefs, redactAssistantDisplayPath, resolveAssistantSession, saveAssistantSession, } from './store.js';
|
|
4
6
|
import { resolveAssistantConversationLookupKey } from './store/paths.js';
|
|
5
7
|
import { resolveAssistantOperatorDefaults } from '@murphai/operator-config/operator-config';
|
|
6
8
|
import { normalizeAssistantDeliveryError, } from './outbox.js';
|
|
7
|
-
import { ASSISTANT_IMAGE_RESPONSE_TRANSCRIPT_MARKER, } from './response-media.js';
|
|
9
|
+
import { ASSISTANT_IMAGE_RESPONSE_TRANSCRIPT_MARKER, resolveAssistantGeneratedImageDelivery, } from './response-media.js';
|
|
8
10
|
import { recordAssistantDiagnosticEvent } from './diagnostics.js';
|
|
9
11
|
import { refreshAssistantStatusSnapshotLocal } from './status.js';
|
|
10
12
|
import { resolveAssistantTurnSharedPlan as buildAssistantTurnSharedPlan, } from './turn-plan.js';
|
|
@@ -13,16 +15,15 @@ import { emitHostedAssistantContextTimingTrace, emitHostedAssistantContextSessio
|
|
|
13
15
|
import { emitHostedAssistantTurnTimingTrace } from './hosted-turn-timing.js';
|
|
14
16
|
import { deliverAssistantPrecedingReplies, deliverAssistantReaction, deliverAssistantReply as dispatchAssistantReply, deliverAssistantProgressUpdate, finalizeAssistantTurnFromDeliveryOutcome as finalizeDeliveredAssistantTurn, resolveAssistantCurrentAudienceDeliveryFields, resolveAssistantHostedDeliveryIdempotency, } from './delivery-service.js';
|
|
15
17
|
import { applyAssistantReplyDeliveryContext, applyAssistantReplyDeliveryContextOverrides, pickAssistantReplyDeliveryContext, } from './reply-delivery-context.js';
|
|
16
|
-
import { applyAssistantSessionCodexResumeStateAction, clearAssistantSessionCodexResumeState, persistAssistantNoReplyTranscriptMarkers, persistAssistantTurnAndSession as finalizeAssistantTurnArtifacts, resolveAssistantProviderResumeStateAction, } from './turn-finalizer.js';
|
|
18
|
+
import { applyAssistantSessionCodexResumeStateAction, clearAssistantSessionCodexResumeState, persistAssistantNoReplyTranscriptMarkers, persistAssistantTurnAndSession as finalizeAssistantTurnArtifacts, resolveAssistantProviderResumeStateAction, resolveAssistantResumeStateFromProviderTurn, } from './turn-finalizer.js';
|
|
17
19
|
import { bindAssistantResumeStateToThreadCompatibility, } from './codex-resume-binding.js';
|
|
18
20
|
import { readAssistantCodexResume, } from './conversation-persistence.js';
|
|
19
21
|
import { appendAssistantTurnReceiptEvent, createAssistantTurnReceipt, finalizeAssistantTurnReceipt, } from './turns.js';
|
|
20
|
-
import {
|
|
22
|
+
import { mergeAssistantProviderConfigs, serializeAssistantProviderSessionOptions, } from '@murphai/operator-config/assistant/provider-config';
|
|
21
23
|
import { VaultCliError } from '@murphai/operator-config/vault-cli-errors';
|
|
22
|
-
import { normalizeAssistantExecutionContext, } from './execution-context.js';
|
|
23
|
-
import { resolveAssistantExecutionDefaultTarget } from './execution-context.js';
|
|
24
|
-
import { resolveAssistantExecutionOperatorDefaults } from './execution-context.js';
|
|
24
|
+
import { normalizeAssistantExecutionContext, resolveAssistantExecutionDefaultTarget, resolveAssistantExecutionOperatorDefaults, } from './execution-context.js';
|
|
25
25
|
import { executeCodexTurnWithRecovery, resolveAssistantCodexThreadScope, } from './codex-turn-runner.js';
|
|
26
|
+
import { stampAssistantProviderStartCriticalPath, } from './provider-start-critical-path.js';
|
|
26
27
|
import { readCodexThreadCompatibilityFingerprint, readCodexThreadRouteFingerprint, } from './codex-thread-route.js';
|
|
27
28
|
import { resolveAssistantExecutionPlan } from './execution-plan.js';
|
|
28
29
|
import { normalizeAssistantAskResultForReturn, serializeAssistantSessionForResult, } from './service-result.js';
|
|
@@ -35,6 +36,7 @@ import { assistantDeliveryOutcomeSupersedesTypingIndicator, startAssistantChanne
|
|
|
35
36
|
import { createAssistantProgressDelivery, resolveAssistantProductFeedbackAcceptedInputIds, shouldCreateAssistantProgressDelivery, } from './turn-progress.js';
|
|
36
37
|
import { createAssistantHostedToolContext, } from './hosted-tool-context.js';
|
|
37
38
|
import { resolveAssistantUserActionAcceptedInputIds, } from '../assistant-codex/dynamic-tools/phone-calls.js';
|
|
39
|
+
import { snapshotAnalyzeVideoAttachmentAuthorities, } from '../assistant-codex/analyze-video-tool.js';
|
|
38
40
|
import { createAssistantRuntimeStateService } from './runtime-state-service.js';
|
|
39
41
|
import { requestAssistantVaultFileSend, resolveAssistantVaultFileSendTargetFingerprint, } from './vault-file-send.js';
|
|
40
42
|
import { assertAssistantAcceptedTurnInputAssistantInputEventsExist, assertAssistantAcceptedTurnInputItemInputsAssistantInputEventsExist, } from './active-turn-input-journal.js';
|
|
@@ -48,6 +50,87 @@ import { withAssistantTurnLock } from './turn-lock.js';
|
|
|
48
50
|
export { buildResolveAssistantSessionInput } from './session-resolution.js';
|
|
49
51
|
const DEFAULT_INITIAL_ACCEPTED_TURN_INPUT_ID = 'initial';
|
|
50
52
|
const PHONE_CALL_MANUAL_ACCEPTED_TURN_INPUT_ID_PREFIX = 'manual-phone-call:';
|
|
53
|
+
const ASSISTANT_GROUP_REPLY_RECONSIDERATION_INSTRUCTION = [
|
|
54
|
+
'Additional group messages joined this turn.',
|
|
55
|
+
'Replace the draft with one final result under the group turn rules.',
|
|
56
|
+
'The unsent draft neither answers a request nor keeps Murph\'s floor; the latest accepted message decides who owns the updated beat.',
|
|
57
|
+
'If the latest accepted message gives another human the floor, finish without a reply.',
|
|
58
|
+
'Treat every request answered only in the unsent draft as unanswered; if Murph still owns the beat, include every still-relevant answer in the final result. Response text is not a completed effect.',
|
|
59
|
+
'Do not repeat completed effects or mention the draft or this instruction.',
|
|
60
|
+
].join(' ');
|
|
61
|
+
function shouldHoldAssistantGroupReplyDraft(input) {
|
|
62
|
+
const channel = normalizeNullableString(input.plan.conversationPolicy.audience.channel)?.toLowerCase() ?? normalizeNullableString(input.message.channel)?.toLowerCase();
|
|
63
|
+
return (input.message.deliverResponse === true &&
|
|
64
|
+
input.message.turnTrigger === 'automation-auto-reply' &&
|
|
65
|
+
input.message.scheduledOccurrenceAt == null &&
|
|
66
|
+
input.message.scheduledInvocationAuthority == null &&
|
|
67
|
+
resolveAssistantConversationScope(input.plan.conversationPolicy.audience) === 'group' &&
|
|
68
|
+
(channel === 'linq' || channel === 'telegram'));
|
|
69
|
+
}
|
|
70
|
+
function appendAssistantTurnContext(current, addition) {
|
|
71
|
+
return [normalizeNullableString(current), addition]
|
|
72
|
+
.filter((part) => part !== null)
|
|
73
|
+
.join('\n\n');
|
|
74
|
+
}
|
|
75
|
+
function applyAssistantProviderTurnResumeInMemory(input) {
|
|
76
|
+
const resumeState = resolveAssistantResumeStateFromProviderTurn({
|
|
77
|
+
assistantContractFingerprint: input.providerResult.assistantContractFingerprint,
|
|
78
|
+
codexRolloutRelativePath: input.providerResult.codexRolloutRelativePath,
|
|
79
|
+
codexThreadId: input.providerResult.codexThreadId,
|
|
80
|
+
routeFingerprint: readCodexThreadRouteFingerprint(input.providerResult.route),
|
|
81
|
+
threadCompatibilityFingerprint: readCodexThreadCompatibilityFingerprint(input.providerResult.route),
|
|
82
|
+
});
|
|
83
|
+
if (!resumeState) {
|
|
84
|
+
throw new VaultCliError('ASSISTANT_GROUP_DRAFT_CONTINUATION_UNAVAILABLE', 'The unsent group reply could not be reconsidered in the same provider thread.');
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
...input.session,
|
|
88
|
+
codexResume: resumeState,
|
|
89
|
+
resumeState,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function rebaseAssistantProviderResultDeliveryContexts(input) {
|
|
93
|
+
if (input.baseOrdinal === 0) {
|
|
94
|
+
return input.providerResult;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
...input.providerResult,
|
|
98
|
+
acceptedNoReplyDeliveryContextOrdinals: input.providerResult.acceptedNoReplyDeliveryContextOrdinals?.map((ordinal) => ordinal + input.baseOrdinal),
|
|
99
|
+
precedingResponseSegments: input.providerResult.precedingResponseSegments?.map((segment) => ({
|
|
100
|
+
...segment,
|
|
101
|
+
deliveryContextOrdinal: segment.deliveryContextOrdinal + input.baseOrdinal,
|
|
102
|
+
})),
|
|
103
|
+
reactions: input.providerResult.reactions?.map((reaction) => ({
|
|
104
|
+
...reaction,
|
|
105
|
+
deliveryContextOrdinal: reaction.deliveryContextOrdinal + input.baseOrdinal,
|
|
106
|
+
})),
|
|
107
|
+
responseDeliveryContextOrdinal: input.providerResult.responseDeliveryContextOrdinal + input.baseOrdinal,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function selectAssistantGroupProviderResult(providerResult) {
|
|
111
|
+
const noReplySelected = providerResult.finalAction?.kind === 'none';
|
|
112
|
+
return {
|
|
113
|
+
...providerResult,
|
|
114
|
+
acceptedNoReplyDeliveryContextOrdinals: noReplySelected
|
|
115
|
+
? [
|
|
116
|
+
providerResult.acceptedNoReplyDeliveryContextOrdinals?.at(-1)
|
|
117
|
+
?? providerResult.responseDeliveryContextOrdinal,
|
|
118
|
+
]
|
|
119
|
+
: [],
|
|
120
|
+
precedingResponseSegments: [],
|
|
121
|
+
reactions: noReplySelected
|
|
122
|
+
? providerResult.reactions?.slice(-1)
|
|
123
|
+
: [],
|
|
124
|
+
...(noReplySelected
|
|
125
|
+
? {
|
|
126
|
+
response: '',
|
|
127
|
+
responseCard: null,
|
|
128
|
+
responseMedia: [],
|
|
129
|
+
transcriptResponse: null,
|
|
130
|
+
}
|
|
131
|
+
: {}),
|
|
132
|
+
};
|
|
133
|
+
}
|
|
51
134
|
function resolveAssistantProgressDeliveryChannel(input) {
|
|
52
135
|
return normalizeNullableString(input.sharedPlan.conversationPolicy.audience.channel)
|
|
53
136
|
?? normalizeNullableString(input.session.binding.channel);
|
|
@@ -165,6 +248,16 @@ async function persistUserTurn(input, resolved, plan, turnId) {
|
|
|
165
248
|
};
|
|
166
249
|
}
|
|
167
250
|
const UNVERIFIED_EXTERNAL_AUDIENCE_RESPONSE = "I couldn't verify whether this is a private or group conversation, so I can't safely use account context here yet. Please try again in your private chat with Murph.";
|
|
251
|
+
const UNVERIFIED_EXTERNAL_SUPPORT_CONTACT_RESPONSE = `${UNVERIFIED_EXTERNAL_AUDIENCE_RESPONSE} You can email support@withmurph.ai.`;
|
|
252
|
+
function resolveUnverifiedExternalAudienceResponse(prompt) {
|
|
253
|
+
const asksForSupportContact = /\bsupport\b/iu.test(prompt)
|
|
254
|
+
&& /\b(?:address|contact|e-?mail|reach)\b/iu.test(prompt)
|
|
255
|
+
&& (/[?]/u.test(prompt)
|
|
256
|
+
|| /\b(?:give|how|need|please|send|share|tell|want|what|where)\b/iu.test(prompt));
|
|
257
|
+
return asksForSupportContact
|
|
258
|
+
? UNVERIFIED_EXTERNAL_SUPPORT_CONTACT_RESPONSE
|
|
259
|
+
: UNVERIFIED_EXTERNAL_AUDIENCE_RESPONSE;
|
|
260
|
+
}
|
|
168
261
|
async function completeUnverifiedExternalAudienceTurn(input) {
|
|
169
262
|
let turnCreatedAt = input.userTurn.turnCreatedAt;
|
|
170
263
|
if (!input.userTurn.userPersisted) {
|
|
@@ -181,7 +274,7 @@ async function completeUnverifiedExternalAudienceTurn(input) {
|
|
|
181
274
|
await appendAssistantTranscriptEntries(input.message.vault, input.session.sessionId, [{
|
|
182
275
|
createdAt: turnCreatedAt,
|
|
183
276
|
kind: 'assistant',
|
|
184
|
-
text:
|
|
277
|
+
text: input.response,
|
|
185
278
|
}]);
|
|
186
279
|
const updatedAt = new Date().toISOString();
|
|
187
280
|
const savedSession = await saveAssistantSession(input.message.vault, {
|
|
@@ -192,14 +285,14 @@ async function completeUnverifiedExternalAudienceTurn(input) {
|
|
|
192
285
|
});
|
|
193
286
|
const outcome = await dispatchAssistantReply({
|
|
194
287
|
input: input.message,
|
|
195
|
-
response:
|
|
288
|
+
response: input.response,
|
|
196
289
|
session: savedSession,
|
|
197
290
|
sharedPlan: input.plan,
|
|
198
291
|
turnId: input.turnId,
|
|
199
292
|
});
|
|
200
293
|
await finalizeDeliveredAssistantTurn({
|
|
201
294
|
outcome,
|
|
202
|
-
response:
|
|
295
|
+
response: input.response,
|
|
203
296
|
turnId: input.turnId,
|
|
204
297
|
vault: input.message.vault,
|
|
205
298
|
});
|
|
@@ -216,7 +309,7 @@ async function completeUnverifiedExternalAudienceTurn(input) {
|
|
|
216
309
|
: null,
|
|
217
310
|
media: outcome.media,
|
|
218
311
|
prompt: input.message.prompt,
|
|
219
|
-
response:
|
|
312
|
+
response: input.response,
|
|
220
313
|
session: outcome.session,
|
|
221
314
|
status: 'completed',
|
|
222
315
|
vault: redactAssistantDisplayPath(input.message.vault),
|
|
@@ -228,6 +321,7 @@ export async function openAssistantConversationLocal(input) {
|
|
|
228
321
|
return resolveAssistantSession(buildResolveAssistantSessionInput(input, defaults, createDefaultLocalAssistantModelTarget()));
|
|
229
322
|
}
|
|
230
323
|
export async function sendAssistantMessageLocal(input) {
|
|
324
|
+
const providerStartAtAssistantService = stampAssistantProviderStartCriticalPath(input.providerStartCriticalPath, 'assistantServiceStartedAtMonotonicMs');
|
|
231
325
|
await assertAssistantAcceptedTurnInputItemInputsAssistantInputEventsExist({
|
|
232
326
|
inputs: input.acceptedTurnInput?.initialInputs ?? [],
|
|
233
327
|
vault: input.vault,
|
|
@@ -254,11 +348,13 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
254
348
|
defaults: await resolveAssistantOperatorDefaults(),
|
|
255
349
|
executionContext,
|
|
256
350
|
});
|
|
351
|
+
const providerStartAtTurnLockWait = stampAssistantProviderStartCriticalPath(providerStartAtAssistantService, 'assistantTurnLockWaitStartedAtMonotonicMs');
|
|
257
352
|
const turnLockWaitStartedAt = Date.now();
|
|
258
353
|
const runLockedTurn = () => withAssistantTurnLock({
|
|
259
354
|
abortSignal: input.abortSignal,
|
|
260
355
|
vault: input.vault,
|
|
261
356
|
run: async () => {
|
|
357
|
+
const providerStartAtTurnLockAcquired = stampAssistantProviderStartCriticalPath(providerStartAtTurnLockWait, 'assistantTurnLockAcquiredAtMonotonicMs');
|
|
262
358
|
const lockAcquiredAt = Date.now();
|
|
263
359
|
const turnLockWaitMs = elapsedSince(turnLockWaitStartedAt);
|
|
264
360
|
emitHostedAssistantContextTimingTrace({
|
|
@@ -280,6 +376,10 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
280
376
|
});
|
|
281
377
|
const promptBuildStartedAt = Date.now();
|
|
282
378
|
const sharedPlan = await buildAssistantTurnSharedPlan(input, resolved);
|
|
379
|
+
const holdGroupReplyDraft = shouldHoldAssistantGroupReplyDraft({
|
|
380
|
+
message: input,
|
|
381
|
+
plan: sharedPlan,
|
|
382
|
+
});
|
|
283
383
|
const promptBuildMs = elapsedSince(promptBuildStartedAt);
|
|
284
384
|
const route = resolveAssistantTurnRoute(input, defaults, resolved);
|
|
285
385
|
const receipt = await createAssistantTurnReceipt({
|
|
@@ -312,13 +412,15 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
312
412
|
};
|
|
313
413
|
let currentSession = resolved.session;
|
|
314
414
|
let deliverySupersededTypingIndicator = false;
|
|
415
|
+
let providerRequestOrdinal = 0;
|
|
315
416
|
try {
|
|
316
417
|
if (resolveAssistantConversationScope(sharedPlan.conversationPolicy.audience) === 'unverified-external') {
|
|
317
418
|
userTurn = await persistUserTurn(input, resolved, sharedPlan, receipt.turnId);
|
|
318
|
-
responseText =
|
|
419
|
+
responseText = resolveUnverifiedExternalAudienceResponse(input.prompt);
|
|
319
420
|
const completed = await completeUnverifiedExternalAudienceTurn({
|
|
320
421
|
message: input,
|
|
321
422
|
plan: sharedPlan,
|
|
423
|
+
response: responseText,
|
|
322
424
|
session: resolved.session,
|
|
323
425
|
turnId: receipt.turnId,
|
|
324
426
|
userTurn,
|
|
@@ -327,17 +429,61 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
327
429
|
assistantDeliveryOutcomeSupersedesTypingIndicator(completed.outcome.kind);
|
|
328
430
|
return completed.result;
|
|
329
431
|
}
|
|
432
|
+
const runtimeState = createAssistantRuntimeStateService(input.vault);
|
|
433
|
+
const analyzeVideoAttachmentAuthorities = new Map();
|
|
434
|
+
const snapshottedAnalyzeVideoInputIds = new Set();
|
|
435
|
+
const snapshotAnalyzeVideoAuthorities = async (acceptedInputIds) => {
|
|
436
|
+
const newInputIds = acceptedInputIds.filter((acceptedInputId) => {
|
|
437
|
+
if (snapshottedAnalyzeVideoInputIds.has(acceptedInputId)) {
|
|
438
|
+
return false;
|
|
439
|
+
}
|
|
440
|
+
snapshottedAnalyzeVideoInputIds.add(acceptedInputId);
|
|
441
|
+
return true;
|
|
442
|
+
});
|
|
443
|
+
if (newInputIds.length === 0)
|
|
444
|
+
return;
|
|
445
|
+
const authorities = await snapshotAnalyzeVideoAttachmentAuthorities({
|
|
446
|
+
acceptedInputIds: newInputIds,
|
|
447
|
+
vaultRoot: input.vault,
|
|
448
|
+
});
|
|
449
|
+
for (const authority of authorities) {
|
|
450
|
+
const key = JSON.stringify([
|
|
451
|
+
authority.messageRef,
|
|
452
|
+
authority.ordinal,
|
|
453
|
+
]);
|
|
454
|
+
if (!analyzeVideoAttachmentAuthorities.has(key)) {
|
|
455
|
+
analyzeVideoAttachmentAuthorities.set(key, authority);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
const preProviderSteerAcceptedInputJournals = new Map();
|
|
330
460
|
const turnInputController = createAssistantActiveTurnInputController({
|
|
331
461
|
acceptedInputValidator: async ({ acceptedInputs }) => {
|
|
332
462
|
await assertAssistantAcceptedTurnInputItemInputsAssistantInputEventsExist({
|
|
333
463
|
inputs: acceptedInputs,
|
|
334
464
|
vault: input.vault,
|
|
335
465
|
});
|
|
466
|
+
await snapshotAnalyzeVideoAuthorities(acceptedInputs.map((acceptedInput) => acceptedInput.id));
|
|
336
467
|
},
|
|
337
468
|
admissionHook: input.activeTurnInput,
|
|
338
469
|
beforeProviderSteer: input.beforeProviderAcceptedInputs
|
|
339
470
|
? async (event) => {
|
|
340
|
-
await
|
|
471
|
+
const acceptedInputJournal = await runtimeState.turns.acceptedInputs.append({
|
|
472
|
+
inputs: event.acceptedInputs,
|
|
473
|
+
sessionId: resolved.session.sessionId,
|
|
474
|
+
turnId: receipt.turnId,
|
|
475
|
+
});
|
|
476
|
+
await assertAssistantAcceptedTurnInputAssistantInputEventsExist({
|
|
477
|
+
journal: acceptedInputJournal,
|
|
478
|
+
vault: input.vault,
|
|
479
|
+
});
|
|
480
|
+
await snapshotAnalyzeVideoAuthorities(acceptedInputJournal.inputIds);
|
|
481
|
+
const releaseProviderAcceptedInputs = await input.beforeProviderAcceptedInputs?.({
|
|
482
|
+
...event,
|
|
483
|
+
turnId: receipt.turnId,
|
|
484
|
+
});
|
|
485
|
+
preProviderSteerAcceptedInputJournals.set(JSON.stringify(event.acceptedInputs.map((item) => item.id)), acceptedInputJournal);
|
|
486
|
+
return releaseProviderAcceptedInputs;
|
|
341
487
|
}
|
|
342
488
|
: undefined,
|
|
343
489
|
conversationKeys: [
|
|
@@ -345,13 +491,13 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
345
491
|
resolveAssistantConversationLookupKey(input),
|
|
346
492
|
].filter((key) => key !== null),
|
|
347
493
|
sessionId: resolved.session.sessionId,
|
|
494
|
+
signal: input.abortSignal,
|
|
348
495
|
turnId: receipt.turnId,
|
|
349
496
|
vault: input.vault,
|
|
350
497
|
});
|
|
351
498
|
activeTurnInputController = turnInputController;
|
|
352
499
|
userTurn = await persistUserTurn(input, resolved, sharedPlan, receipt.turnId);
|
|
353
500
|
let currentUserTurn = userTurn;
|
|
354
|
-
const runtimeState = createAssistantRuntimeStateService(input.vault);
|
|
355
501
|
const initialAcceptedTurnInputItems = resolveInitialAcceptedTurnInputItems({
|
|
356
502
|
input,
|
|
357
503
|
resolved,
|
|
@@ -370,6 +516,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
370
516
|
journal: initialAcceptedInputJournal,
|
|
371
517
|
vault: input.vault,
|
|
372
518
|
});
|
|
519
|
+
await snapshotAnalyzeVideoAuthorities(initialAcceptedInputJournal.inputIds);
|
|
373
520
|
const threadScope = resolveAssistantCodexThreadScope({});
|
|
374
521
|
const turnTimingStartedAt = lockAcquiredAt;
|
|
375
522
|
let currentInput = input;
|
|
@@ -391,7 +538,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
391
538
|
let acceptedInputIdsForProviderRequest = initialAcceptedInputJournal.inputIds;
|
|
392
539
|
let acceptedInputItemsForProviderRequest = initialAcceptedInputJournal.inputs;
|
|
393
540
|
let providerRequestAcceptedInputIds = initialAcceptedInputJournal.inputIds;
|
|
394
|
-
let beforeHostedToolExecution = async () => { };
|
|
541
|
+
let beforeHostedToolExecution = async (_throughDeliveryContextOrdinal) => { };
|
|
395
542
|
const refreshTypingIndicatorAfterProgress = () => {
|
|
396
543
|
void runAssistantTurnBestEffort(async () => {
|
|
397
544
|
await typingIndicator?.refreshAfterMessage?.();
|
|
@@ -401,10 +548,30 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
401
548
|
hostedOptionalProgressDeliveryAvailable
|
|
402
549
|
? createAssistantProgressDelivery({
|
|
403
550
|
deliver: async (progressInput) => {
|
|
551
|
+
const deliveryContextOrdinal = progressInput.deliveryContextOrdinal ?? 0;
|
|
552
|
+
const absoluteDeliveryContextOrdinal = providerRequestDeliveryContextBaseOrdinal +
|
|
553
|
+
deliveryContextOrdinal;
|
|
554
|
+
const { targetInputId, ...untargetedProgressInput } = progressInput;
|
|
555
|
+
if (targetInputId) {
|
|
556
|
+
await beforeHostedToolExecution(deliveryContextOrdinal);
|
|
557
|
+
}
|
|
558
|
+
const resolvedProgressInput = targetInputId
|
|
559
|
+
? {
|
|
560
|
+
...untargetedProgressInput,
|
|
561
|
+
input: await applyAssistantAcceptedMessageTargetToDeliveryInput({
|
|
562
|
+
acceptedInputIds: resolveAcceptedInputIdsThroughDeliveryContextOrdinal(absoluteDeliveryContextOrdinal),
|
|
563
|
+
action: 'native-reply',
|
|
564
|
+
input: progressInput.input,
|
|
565
|
+
session: progressInput.session,
|
|
566
|
+
sharedPlan,
|
|
567
|
+
targetInputId,
|
|
568
|
+
}),
|
|
569
|
+
}
|
|
570
|
+
: untargetedProgressInput;
|
|
404
571
|
const hosted = hostedExecutionContext;
|
|
405
572
|
if (hosted) {
|
|
406
573
|
const dependencies = hosted.progressDeliveryDependencies;
|
|
407
|
-
const progressChannel = resolveAssistantProgressDeliveryChannel(
|
|
574
|
+
const progressChannel = resolveAssistantProgressDeliveryChannel(resolvedProgressInput);
|
|
408
575
|
if (!dependencies ||
|
|
409
576
|
!hasHostedTextDeliveryForChannel({
|
|
410
577
|
channel: progressChannel,
|
|
@@ -416,7 +583,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
416
583
|
? dependencies.sendLinq
|
|
417
584
|
: undefined;
|
|
418
585
|
if (sendLinq) {
|
|
419
|
-
await beforeHostedToolExecution();
|
|
586
|
+
await beforeHostedToolExecution(deliveryContextOrdinal);
|
|
420
587
|
}
|
|
421
588
|
const progressDependencies = sendLinq
|
|
422
589
|
? {
|
|
@@ -430,14 +597,14 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
430
597
|
}
|
|
431
598
|
: dependencies;
|
|
432
599
|
const result = await deliverAssistantProgressUpdate({
|
|
433
|
-
...
|
|
600
|
+
...resolvedProgressInput,
|
|
434
601
|
dependencies: progressDependencies,
|
|
435
602
|
});
|
|
436
603
|
refreshTypingIndicatorAfterProgress();
|
|
437
604
|
return result;
|
|
438
605
|
}
|
|
439
606
|
const result = await deliverAssistantProgressUpdate({
|
|
440
|
-
...
|
|
607
|
+
...resolvedProgressInput,
|
|
441
608
|
});
|
|
442
609
|
refreshTypingIndicatorAfterProgress();
|
|
443
610
|
return result;
|
|
@@ -474,15 +641,21 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
474
641
|
&& actionApprovalPort != null
|
|
475
642
|
&& currentDeliveryFields.channel?.trim().toLowerCase() === 'linq'
|
|
476
643
|
&& vaultFileSendTargetFingerprint !== null;
|
|
644
|
+
const pendingVaultFilesAvailable = input.deliverResponse === true
|
|
645
|
+
&& currentAudienceReplyDeliveryAvailable
|
|
646
|
+
&& currentDeliveryFields.channel?.trim().toLowerCase() === 'linq';
|
|
477
647
|
const hostedToolContext = hostedExecutionContext
|
|
478
648
|
? createAssistantHostedToolContext({
|
|
479
649
|
computerToolsAvailable: hostedComputerToolsAvailable,
|
|
480
|
-
beforeToolExecution: () => beforeHostedToolExecution(),
|
|
650
|
+
beforeToolExecution: (deliveryContextOrdinal) => beforeHostedToolExecution(deliveryContextOrdinal),
|
|
481
651
|
executionContext: hostedExecutionContext,
|
|
482
652
|
getDeliveryContext: () => ({
|
|
483
653
|
messageInput: currentInput,
|
|
484
654
|
session: currentSession,
|
|
485
655
|
}),
|
|
656
|
+
getAnalyzeVideoAttachmentAuthorities: () => [
|
|
657
|
+
...analyzeVideoAttachmentAuthorities.values(),
|
|
658
|
+
],
|
|
486
659
|
getConversationScope: () => resolveAssistantConversationScope(sharedPlan.conversationPolicy.audience),
|
|
487
660
|
getUserActionAcceptedInputIds: () => resolveAssistantUserActionAcceptedInputIds({
|
|
488
661
|
acceptedInputItems: acceptedInputItemsForProviderRequest,
|
|
@@ -490,10 +663,47 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
490
663
|
}),
|
|
491
664
|
getProductFeedbackAcceptedInputIds: () => resolveAssistantProductFeedbackAcceptedInputIds(acceptedInputItemsForProviderRequest),
|
|
492
665
|
messageInput: input,
|
|
666
|
+
pendingVaultFilesAvailable,
|
|
667
|
+
verifyGeneratedImageDelivery: async (candidate) => {
|
|
668
|
+
try {
|
|
669
|
+
const imageRef = candidate.imageRef;
|
|
670
|
+
const knownFromCurrentCompletion = currentInput.hostedImageCompletionEffectRestriction
|
|
671
|
+
?.exactMedia?.some((media) => media.ref === imageRef) === true;
|
|
672
|
+
const [intents, transcriptEntries, captureLookupIndex] = await Promise.all([
|
|
673
|
+
runtimeState.outbox.listIntents(),
|
|
674
|
+
runtimeState.transcripts.list(currentSession.sessionId),
|
|
675
|
+
(async () => {
|
|
676
|
+
await hostedExecutionContext
|
|
677
|
+
?.materializeWorkspaceArtifacts?.([
|
|
678
|
+
CAPTURE_LOOKUP_INDEX_PATH,
|
|
679
|
+
]);
|
|
680
|
+
return await readStoredCaptureLookupIndex({
|
|
681
|
+
vaultRoot: input.vault,
|
|
682
|
+
});
|
|
683
|
+
})(),
|
|
684
|
+
]);
|
|
685
|
+
return resolveAssistantGeneratedImageDelivery({
|
|
686
|
+
currentMedia: {
|
|
687
|
+
contentType: candidate.contentType,
|
|
688
|
+
sha256: candidate.sha256,
|
|
689
|
+
sizeBytes: candidate.sizeBytes,
|
|
690
|
+
},
|
|
691
|
+
generatedImageOriginKnown: knownFromCurrentCompletion ||
|
|
692
|
+
Object.values(captureLookupIndex.entries).some((entry) => entry.attachmentRef === imageRef),
|
|
693
|
+
imageRef,
|
|
694
|
+
intents,
|
|
695
|
+
sessionId: currentSession.sessionId,
|
|
696
|
+
transcriptEntries,
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
catch {
|
|
700
|
+
return false;
|
|
701
|
+
}
|
|
702
|
+
},
|
|
493
703
|
route,
|
|
494
704
|
...(vaultFileSendAvailable && actionApprovalPort
|
|
495
705
|
? {
|
|
496
|
-
sendVaultFile: async (ref, toolCallId) => {
|
|
706
|
+
sendVaultFile: async (ref, toolCallId, retireExportPackIds) => {
|
|
497
707
|
const deliveryFields = resolveAssistantCurrentAudienceDeliveryFields({
|
|
498
708
|
input: currentInput,
|
|
499
709
|
session: currentSession,
|
|
@@ -523,6 +733,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
523
733
|
explicitTarget: deliveryFields.explicitTarget,
|
|
524
734
|
identityId: deliveryFields.identityId,
|
|
525
735
|
ref,
|
|
736
|
+
retireExportPackIds,
|
|
526
737
|
replyToMessageId: deliveryFields.replyToMessageId,
|
|
527
738
|
sessionId: currentSession.sessionId,
|
|
528
739
|
threadId: deliveryFields.threadId,
|
|
@@ -562,7 +773,9 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
562
773
|
: null;
|
|
563
774
|
let providerResult = null;
|
|
564
775
|
let userPromptPersistedToTranscript = currentUserTurn.userPersisted;
|
|
565
|
-
|
|
776
|
+
let providerRequestDeliveryContextBaseOrdinal = 0;
|
|
777
|
+
let nextUsageRecordOrdinal = 0;
|
|
778
|
+
const heldGroupAcceptedTranscriptInputs = [];
|
|
566
779
|
const persistInitialUserPromptToTranscriptIfNeeded = async (persistInput) => {
|
|
567
780
|
if (userPromptPersistedToTranscript) {
|
|
568
781
|
return;
|
|
@@ -596,47 +809,68 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
596
809
|
});
|
|
597
810
|
}
|
|
598
811
|
};
|
|
812
|
+
const persistAcceptedActiveTurnInputTranscripts = async (persistInput) => {
|
|
813
|
+
const transcriptRefsByInputId = await appendAcceptedActiveTurnInputTranscriptEntries({
|
|
814
|
+
acceptedInput: persistInput.acceptedInput,
|
|
815
|
+
acceptedInputItems: persistInput.acceptedInputItems,
|
|
816
|
+
sessionId: resolved.session.sessionId,
|
|
817
|
+
turnId: currentUserTurn.turnId,
|
|
818
|
+
vault: currentInput.vault,
|
|
819
|
+
});
|
|
820
|
+
const transcriptRefUpdates = resolveAcceptedTurnInputTranscriptRefUpdates({
|
|
821
|
+
inputs: persistInput.acceptedInputItems,
|
|
822
|
+
transcriptRefsByInputId,
|
|
823
|
+
});
|
|
824
|
+
if (transcriptRefUpdates.length > 0) {
|
|
825
|
+
await runtimeState.turns.acceptedInputs.updateTranscriptRefs({
|
|
826
|
+
refs: transcriptRefUpdates,
|
|
827
|
+
turnId: currentUserTurn.turnId,
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
};
|
|
599
831
|
const acceptActiveTurnInput = async (acceptanceInput) => {
|
|
600
832
|
const previousInput = currentInput;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
833
|
+
if (!holdGroupReplyDraft) {
|
|
834
|
+
await persistInitialUserPromptToTranscriptIfNeeded({
|
|
835
|
+
detail: 'user prompt persisted before active-turn input',
|
|
836
|
+
prompt: previousInput.prompt,
|
|
837
|
+
vault: previousInput.vault,
|
|
838
|
+
});
|
|
839
|
+
}
|
|
606
840
|
const acceptedInputItems = resolveAcceptedActiveTurnInputItems({
|
|
607
841
|
acceptedInput: acceptanceInput.activeTurnInput,
|
|
608
842
|
input: currentInput,
|
|
609
843
|
});
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
844
|
+
const preProviderSteerJournalKey = JSON.stringify(acceptedInputItems.map((item) => item.id));
|
|
845
|
+
const preProviderSteerJournal = preProviderSteerAcceptedInputJournals.get(preProviderSteerJournalKey);
|
|
846
|
+
if (!preProviderSteerJournal) {
|
|
847
|
+
assertAcceptedActiveTurnInputItemsAreNew({
|
|
848
|
+
acceptedInputIds: acceptanceInput.providerRequestAcceptedInputIds,
|
|
849
|
+
inputs: acceptedInputItems,
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
const acceptedInputJournal = preProviderSteerJournal ??
|
|
853
|
+
await runtimeState.turns.acceptedInputs.append({
|
|
854
|
+
inputs: acceptedInputItems,
|
|
855
|
+
sessionId: resolved.session.sessionId,
|
|
856
|
+
turnId: currentUserTurn.turnId,
|
|
857
|
+
});
|
|
858
|
+
preProviderSteerAcceptedInputJournals.delete(preProviderSteerJournalKey);
|
|
619
859
|
await assertAssistantAcceptedTurnInputAssistantInputEventsExist({
|
|
620
860
|
journal: acceptedInputJournal,
|
|
621
861
|
vault: currentInput.vault,
|
|
622
862
|
});
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
if (transcriptRefUpdates.length > 0) {
|
|
635
|
-
acceptedInputJournal =
|
|
636
|
-
await runtimeState.turns.acceptedInputs.updateTranscriptRefs({
|
|
637
|
-
refs: transcriptRefUpdates,
|
|
638
|
-
turnId: currentUserTurn.turnId,
|
|
639
|
-
}) ?? acceptedInputJournal;
|
|
863
|
+
if (holdGroupReplyDraft) {
|
|
864
|
+
heldGroupAcceptedTranscriptInputs.push({
|
|
865
|
+
acceptedInput: acceptanceInput.activeTurnInput,
|
|
866
|
+
acceptedInputItems,
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
else {
|
|
870
|
+
await persistAcceptedActiveTurnInputTranscripts({
|
|
871
|
+
acceptedInput: acceptanceInput.activeTurnInput,
|
|
872
|
+
acceptedInputItems,
|
|
873
|
+
});
|
|
640
874
|
}
|
|
641
875
|
await appendAssistantTurnReceiptEvent({
|
|
642
876
|
vault: currentInput.vault,
|
|
@@ -659,7 +893,17 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
659
893
|
acceptedInput: acceptanceInput.activeTurnInput,
|
|
660
894
|
input: previousInput,
|
|
661
895
|
});
|
|
662
|
-
currentInput =
|
|
896
|
+
currentInput =
|
|
897
|
+
holdGroupReplyDraft
|
|
898
|
+
? {
|
|
899
|
+
...nextInput,
|
|
900
|
+
prompt: `${previousInput.prompt}\n\n${nextInput.prompt}`,
|
|
901
|
+
userMessageContent: [
|
|
902
|
+
...(previousInput.userMessageContent ?? []),
|
|
903
|
+
...(acceptanceInput.activeTurnInput.userMessageContent ?? []),
|
|
904
|
+
],
|
|
905
|
+
}
|
|
906
|
+
: nextInput;
|
|
663
907
|
acceptedInputIdsForProviderRequest = acceptedInputJournal.inputIds;
|
|
664
908
|
acceptedInputItemsForProviderRequest = acceptedInputJournal.inputs;
|
|
665
909
|
return {
|
|
@@ -700,10 +944,12 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
700
944
|
];
|
|
701
945
|
}
|
|
702
946
|
const authorizeAcceptedMessageTarget = async (authorizationInput) => {
|
|
947
|
+
const deliveryContextOrdinal = providerRequestDeliveryContextBaseOrdinal +
|
|
948
|
+
authorizationInput.deliveryContextOrdinal;
|
|
703
949
|
const acceptedInputIds = authorizationInput.action === 'participant-effect'
|
|
704
|
-
? resolveAcceptedInputIdsThroughDeliveryContextOrdinal(
|
|
705
|
-
: acceptedInputIdsByDeliveryContextOrdinal[
|
|
706
|
-
const deliveryContext = replyDeliveryContexts[
|
|
950
|
+
? resolveAcceptedInputIdsThroughDeliveryContextOrdinal(deliveryContextOrdinal)
|
|
951
|
+
: acceptedInputIdsByDeliveryContextOrdinal[deliveryContextOrdinal];
|
|
952
|
+
const deliveryContext = replyDeliveryContexts[deliveryContextOrdinal];
|
|
707
953
|
if (!acceptedInputIds || !deliveryContext) {
|
|
708
954
|
return null;
|
|
709
955
|
}
|
|
@@ -751,6 +997,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
751
997
|
// effects may reference any input already admitted into the provider
|
|
752
998
|
// turn. Native replies and reactions remain exact to one ordinal.
|
|
753
999
|
const admissionMs = elapsedSince(admissionStartedAt);
|
|
1000
|
+
const providerStartAtPreProviderSetupDone = stampAssistantProviderStartCriticalPath(providerStartAtTurnLockAcquired, 'preProviderSetupDoneAtMonotonicMs');
|
|
754
1001
|
const preProviderSetupMs = elapsedSince(lockAcquiredAt);
|
|
755
1002
|
emitHostedAssistantContextTimingTrace({
|
|
756
1003
|
message: input,
|
|
@@ -773,154 +1020,459 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
773
1020
|
...timingInput,
|
|
774
1021
|
});
|
|
775
1022
|
};
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
1023
|
+
let liveSteeredActiveTurnInputDrainTail = Promise.resolve();
|
|
1024
|
+
const drainLiveSteeredActiveTurnInputs = (drainInput) => {
|
|
1025
|
+
const drain = liveSteeredActiveTurnInputDrainTail.then(async () => {
|
|
1026
|
+
while (true) {
|
|
1027
|
+
if (typeof drainInput.throughDeliveryContextOrdinal === 'number' &&
|
|
1028
|
+
replyDeliveryContexts.length >
|
|
1029
|
+
drainInput.throughDeliveryContextOrdinal) {
|
|
1030
|
+
break;
|
|
1031
|
+
}
|
|
1032
|
+
const activeTurnInput = await turnInputController.admitLiveSteered();
|
|
1033
|
+
if (activeTurnInput?.kind !== 'accepted') {
|
|
1034
|
+
break;
|
|
1035
|
+
}
|
|
1036
|
+
const accepted = await acceptActiveTurnInput({
|
|
1037
|
+
activeTurnInput,
|
|
1038
|
+
providerRequestAcceptedInputIds,
|
|
1039
|
+
providerRequestOrdinal,
|
|
1040
|
+
sessionId: drainInput.sessionId,
|
|
1041
|
+
});
|
|
1042
|
+
replyDeliveryContexts.push(pickAssistantReplyDeliveryContext(currentInput));
|
|
1043
|
+
acceptedInputIdsByDeliveryContextOrdinal[replyDeliveryContexts.length - 1] = accepted.acceptedInputItems.map((item) => item.id);
|
|
1044
|
+
if (drainInput.continuation) {
|
|
1045
|
+
providerRequestJournal =
|
|
1046
|
+
await runtimeState.turns.acceptedInputs.updateProviderRequest({
|
|
1047
|
+
acceptedInputIds: accepted.acceptedInputJournal.inputIds,
|
|
1048
|
+
continuation: drainInput.continuation,
|
|
1049
|
+
ordinal: providerRequestOrdinal,
|
|
1050
|
+
providerAttemptId: null,
|
|
1051
|
+
turnId: currentUserTurn.turnId,
|
|
1052
|
+
}) ?? providerRequestJournal;
|
|
1053
|
+
providerRequestAcceptedInputIds =
|
|
1054
|
+
providerRequestJournal?.inputIds ??
|
|
1055
|
+
accepted.acceptedInputJournal.inputIds;
|
|
1056
|
+
providerRequestAcceptedInputItems =
|
|
1057
|
+
providerRequestJournal?.inputs ??
|
|
1058
|
+
accepted.acceptedInputJournal.inputs;
|
|
1059
|
+
}
|
|
1060
|
+
else {
|
|
1061
|
+
providerRequestAcceptedInputIds =
|
|
1062
|
+
accepted.acceptedInputJournal.inputIds;
|
|
1063
|
+
providerRequestAcceptedInputItems =
|
|
1064
|
+
accepted.acceptedInputJournal.inputs;
|
|
1065
|
+
}
|
|
1066
|
+
acceptedInputIdsForProviderRequest =
|
|
1067
|
+
providerRequestAcceptedInputIds;
|
|
1068
|
+
acceptedInputItemsForProviderRequest =
|
|
1069
|
+
providerRequestAcceptedInputItems;
|
|
1070
|
+
turnInputController.commitLiveSteeredLocalAdmission(activeTurnInput);
|
|
781
1071
|
}
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
1072
|
+
});
|
|
1073
|
+
liveSteeredActiveTurnInputDrainTail = drain.catch(() => undefined);
|
|
1074
|
+
return drain;
|
|
1075
|
+
};
|
|
1076
|
+
beforeHostedToolExecution = async (throughDeliveryContextOrdinal) => {
|
|
1077
|
+
await drainLiveSteeredActiveTurnInputs({
|
|
1078
|
+
continuation: providerRequestContinuation,
|
|
1079
|
+
sessionId: currentSession.sessionId,
|
|
1080
|
+
throughDeliveryContextOrdinal: providerRequestDeliveryContextBaseOrdinal +
|
|
1081
|
+
throughDeliveryContextOrdinal,
|
|
1082
|
+
});
|
|
1083
|
+
};
|
|
1084
|
+
const commitSelectedNoReply = async (selectedProviderResult) => {
|
|
1085
|
+
if (selectedProviderResult.finalAction?.kind !== 'none') {
|
|
1086
|
+
return;
|
|
1087
|
+
}
|
|
1088
|
+
await persistInitialUserPromptToTranscriptIfNeeded({
|
|
1089
|
+
detail: 'user prompt persisted before no-reply completion',
|
|
1090
|
+
prompt: currentInput.prompt,
|
|
1091
|
+
vault: currentInput.vault,
|
|
1092
|
+
});
|
|
1093
|
+
const deliveryContextOrdinal = selectedProviderResult.acceptedNoReplyDeliveryContextOrdinals?.at(-1)
|
|
1094
|
+
?? selectedProviderResult.responseDeliveryContextOrdinal;
|
|
1095
|
+
await currentInput.onFinishWithoutReplyAccepted?.({
|
|
1096
|
+
acceptedInputIds: resolveAcceptedInputIdsThroughDeliveryContextOrdinal(deliveryContextOrdinal),
|
|
1097
|
+
deliveryContextOrdinal,
|
|
1098
|
+
messageReactionPending: (selectedProviderResult.reactions ?? []).some((reaction) => reaction.deliveryContextOrdinal <= deliveryContextOrdinal),
|
|
1099
|
+
});
|
|
1100
|
+
};
|
|
1101
|
+
const runCurrentProviderRequest = async (requestInput) => {
|
|
1102
|
+
providerRequestJournal = null;
|
|
1103
|
+
providerRequestContinuation = null;
|
|
1104
|
+
providerRequestAcceptedInputIds = acceptedInputIdsForProviderRequest;
|
|
1105
|
+
providerRequestAcceptedInputItems = acceptedInputItemsForProviderRequest;
|
|
1106
|
+
providerRequestStartedAtMs = null;
|
|
1107
|
+
providerResultReturnedAt = null;
|
|
1108
|
+
const onFirstAssistantResponseCompleted = () => {
|
|
1109
|
+
if (holdGroupReplyDraft && providerRequestOrdinal === 0) {
|
|
1110
|
+
turnInputController.pauseProviderSteering();
|
|
785
1111
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
1112
|
+
else {
|
|
1113
|
+
turnInputController.closeTurnAdmission();
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
const activeTurnSteering = {
|
|
1117
|
+
onFirstAssistantResponseCompleted,
|
|
1118
|
+
registerLiveProviderTurn: (liveTurn) => turnInputController.registerLiveProviderTurn(liveTurn),
|
|
1119
|
+
};
|
|
1120
|
+
const providerOutcome = await executeCodexTurnWithRecovery({
|
|
1121
|
+
acceptedInputItems: providerRequestAcceptedInputItems,
|
|
1122
|
+
activeTurnSteering,
|
|
1123
|
+
authorizeAcceptedMessageTarget,
|
|
1124
|
+
input: currentInput,
|
|
1125
|
+
onFinishWithoutReplyAccepted: async (event) => {
|
|
1126
|
+
onFirstAssistantResponseCompleted();
|
|
1127
|
+
const deliveryContextOrdinal = providerRequestDeliveryContextBaseOrdinal +
|
|
1128
|
+
event.deliveryContextOrdinal;
|
|
1129
|
+
await drainLiveSteeredActiveTurnInputs({
|
|
1130
|
+
continuation: providerRequestContinuation,
|
|
1131
|
+
sessionId: currentSession.sessionId,
|
|
1132
|
+
throughDeliveryContextOrdinal: deliveryContextOrdinal,
|
|
1133
|
+
});
|
|
1134
|
+
if (!holdGroupReplyDraft) {
|
|
1135
|
+
await persistInitialUserPromptToTranscriptIfNeeded({
|
|
1136
|
+
detail: 'user prompt persisted before no-reply completion',
|
|
1137
|
+
prompt: currentInput.prompt,
|
|
1138
|
+
vault: currentInput.vault,
|
|
1139
|
+
});
|
|
1140
|
+
const acceptedInputIds = resolveAcceptedInputIdsThroughDeliveryContextOrdinal(deliveryContextOrdinal);
|
|
1141
|
+
await currentInput.onFinishWithoutReplyAccepted?.({
|
|
1142
|
+
acceptedInputIds,
|
|
1143
|
+
deliveryContextOrdinal,
|
|
1144
|
+
messageReactionPending: event.messageReactionPending,
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
onFinishWithoutReplyRecorded: async (event) => {
|
|
1149
|
+
if (!holdGroupReplyDraft) {
|
|
1150
|
+
await persistAssistantNoReplyTranscriptMarkers({
|
|
1151
|
+
deliveryContextOrdinals: [
|
|
1152
|
+
providerRequestDeliveryContextBaseOrdinal +
|
|
1153
|
+
event.deliveryContextOrdinal,
|
|
1154
|
+
],
|
|
1155
|
+
sessionId: currentSession.sessionId,
|
|
1156
|
+
turnCreatedAt: currentUserTurn.turnCreatedAt,
|
|
1157
|
+
turnId: currentUserTurn.turnId,
|
|
1158
|
+
vault: input.vault,
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
onProviderRequestPlanned: async (event) => {
|
|
1163
|
+
providerRequestContinuation = event.codexContinuation;
|
|
795
1164
|
providerRequestJournal =
|
|
796
|
-
await runtimeState.turns.acceptedInputs.
|
|
797
|
-
|
|
798
|
-
|
|
1165
|
+
await runtimeState.turns.acceptedInputs.recordProviderRequest({
|
|
1166
|
+
continuation: event.codexContinuation,
|
|
1167
|
+
ordinal: providerRequestOrdinal,
|
|
1168
|
+
providerAttemptId: event.providerAttemptId,
|
|
1169
|
+
turnId: currentUserTurn.turnId,
|
|
1170
|
+
});
|
|
1171
|
+
providerRequestAcceptedInputIds =
|
|
1172
|
+
providerRequestJournal?.inputIds ?? acceptedInputIdsForProviderRequest;
|
|
1173
|
+
providerRequestAcceptedInputItems =
|
|
1174
|
+
providerRequestJournal?.inputs ?? acceptedInputItemsForProviderRequest;
|
|
1175
|
+
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
1176
|
+
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
1177
|
+
return await input.beforeProviderAcceptedInputs?.({
|
|
1178
|
+
acceptedInputs: providerRequestAcceptedInputItems,
|
|
1179
|
+
turnId: currentUserTurn.turnId,
|
|
1180
|
+
});
|
|
1181
|
+
},
|
|
1182
|
+
onProviderRequestStarted: (event) => {
|
|
1183
|
+
const startedAtMs = Date.parse(event.startedAt);
|
|
1184
|
+
if (Number.isFinite(startedAtMs)) {
|
|
1185
|
+
providerRequestStartedAtMs = startedAtMs;
|
|
1186
|
+
}
|
|
1187
|
+
if (!currentInput.onProviderRequestStarted) {
|
|
1188
|
+
return;
|
|
1189
|
+
}
|
|
1190
|
+
return currentInput.onProviderRequestStarted({
|
|
1191
|
+
...event,
|
|
1192
|
+
acceptedInputIds: providerRequestAcceptedInputIds,
|
|
1193
|
+
admissionMs,
|
|
1194
|
+
preProviderSetupMs,
|
|
1195
|
+
promptBuildMs,
|
|
1196
|
+
providerRequestOrdinal: event.providerRequestOrdinal ?? providerRequestOrdinal,
|
|
1197
|
+
sessionResolveMs,
|
|
1198
|
+
turnLockWaitMs,
|
|
1199
|
+
});
|
|
1200
|
+
},
|
|
1201
|
+
route,
|
|
1202
|
+
plan: sharedPlan,
|
|
1203
|
+
profile: {
|
|
1204
|
+
threadScope,
|
|
1205
|
+
},
|
|
1206
|
+
providerRequestOrdinal,
|
|
1207
|
+
...(providerStartAtPreProviderSetupDone
|
|
1208
|
+
? {
|
|
1209
|
+
providerStartCriticalPath: providerStartAtPreProviderSetupDone,
|
|
1210
|
+
}
|
|
1211
|
+
: {}),
|
|
1212
|
+
resolvedSession: currentSession,
|
|
1213
|
+
turnCreatedAt: currentUserTurn.turnCreatedAt,
|
|
1214
|
+
progressDelivery,
|
|
1215
|
+
hostedToolContext,
|
|
1216
|
+
turnId: currentUserTurn.turnId,
|
|
1217
|
+
});
|
|
1218
|
+
providerResultReturnedAt = Date.now();
|
|
1219
|
+
emitTurnTiming({
|
|
1220
|
+
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1221
|
+
providerOutcomeKind: providerOutcome.kind,
|
|
1222
|
+
providerRequestElapsedMs: providerRequestStartedAtMs === null
|
|
1223
|
+
? null
|
|
1224
|
+
: Math.max(0, providerResultReturnedAt - providerRequestStartedAtMs),
|
|
1225
|
+
providerRequestOrdinal,
|
|
1226
|
+
sinceProviderResultMs: 0,
|
|
1227
|
+
stage: 'provider-result-returned',
|
|
1228
|
+
});
|
|
1229
|
+
if (providerOutcome.kind === 'failed_terminal') {
|
|
1230
|
+
if (!providerRequestJournal) {
|
|
1231
|
+
providerRequestJournal =
|
|
1232
|
+
await runtimeState.turns.acceptedInputs.recordProviderRequest({
|
|
1233
|
+
continuation: providerOutcome.codexContinuation,
|
|
799
1234
|
ordinal: providerRequestOrdinal,
|
|
800
1235
|
providerAttemptId: null,
|
|
801
1236
|
turnId: currentUserTurn.turnId,
|
|
802
|
-
})
|
|
1237
|
+
});
|
|
803
1238
|
providerRequestAcceptedInputIds =
|
|
804
|
-
providerRequestJournal?.inputIds ??
|
|
805
|
-
accepted.acceptedInputJournal.inputIds;
|
|
1239
|
+
providerRequestJournal?.inputIds ?? acceptedInputIdsForProviderRequest;
|
|
806
1240
|
providerRequestAcceptedInputItems =
|
|
807
|
-
providerRequestJournal?.inputs ??
|
|
808
|
-
|
|
1241
|
+
providerRequestJournal?.inputs ?? acceptedInputItemsForProviderRequest;
|
|
1242
|
+
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
1243
|
+
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
809
1244
|
}
|
|
810
1245
|
else {
|
|
1246
|
+
providerRequestJournal =
|
|
1247
|
+
await runtimeState.turns.acceptedInputs.updateProviderRequest({
|
|
1248
|
+
continuation: providerOutcome.codexContinuation,
|
|
1249
|
+
ordinal: providerRequestOrdinal,
|
|
1250
|
+
providerAttemptId: null,
|
|
1251
|
+
turnId: currentUserTurn.turnId,
|
|
1252
|
+
}) ?? providerRequestJournal;
|
|
811
1253
|
providerRequestAcceptedInputIds =
|
|
812
|
-
|
|
1254
|
+
providerRequestJournal?.inputIds ?? providerRequestAcceptedInputIds;
|
|
813
1255
|
providerRequestAcceptedInputItems =
|
|
814
|
-
|
|
1256
|
+
providerRequestJournal?.inputs ?? providerRequestAcceptedInputItems;
|
|
1257
|
+
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
1258
|
+
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
815
1259
|
}
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
1260
|
+
const failedProviderResult = {
|
|
1261
|
+
attemptCount: providerOutcome.attemptCount,
|
|
1262
|
+
provider: providerOutcome.route.provider,
|
|
1263
|
+
providerOptions: providerOutcome.route.providerOptions,
|
|
1264
|
+
route: providerOutcome.route,
|
|
1265
|
+
session: providerOutcome.session,
|
|
1266
|
+
usage: providerOutcome.usage,
|
|
1267
|
+
usageAttribution: providerOutcome.usageAttribution,
|
|
1268
|
+
};
|
|
1269
|
+
const acceptedNoReplyOrdinals = providerOutcome.acceptedNoReplyDeliveryContextOrdinals ?? [];
|
|
1270
|
+
const latestAcceptedDeliveryContextOrdinal = replyDeliveryContexts.length - 1;
|
|
1271
|
+
const recoverableNoReplyDeliveryContextOrdinal = latestAcceptedDeliveryContextOrdinal >= 0 &&
|
|
1272
|
+
acceptedNoReplyOrdinals.includes(latestAcceptedDeliveryContextOrdinal)
|
|
1273
|
+
? latestAcceptedDeliveryContextOrdinal
|
|
1274
|
+
: null;
|
|
1275
|
+
if (recoverableNoReplyDeliveryContextOrdinal === null ||
|
|
1276
|
+
!requestInput.allowFailedNoReplyRecovery) {
|
|
1277
|
+
await drainLiveSteeredActiveTurnInputs({
|
|
1278
|
+
continuation: providerOutcome.codexContinuation,
|
|
1279
|
+
sessionId: providerOutcome.session.sessionId,
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
const usageRecordStartedAt = Date.now();
|
|
1283
|
+
const primaryUsageRecordOrdinal = nextUsageRecordOrdinal;
|
|
1284
|
+
nextUsageRecordOrdinal += 1;
|
|
1285
|
+
await recordAssistantUsageEvent({
|
|
1286
|
+
executionContext,
|
|
1287
|
+
...(providerRequestStartedAtMs === null
|
|
1288
|
+
? {}
|
|
1289
|
+
: { occurredAt: new Date(providerRequestStartedAtMs).toISOString() }),
|
|
1290
|
+
providerRequestAcceptedInputIds,
|
|
1291
|
+
providerRequestOrdinal: primaryUsageRecordOrdinal,
|
|
1292
|
+
providerRequestOutcome: providerOutcome.providerRequestOutcome,
|
|
1293
|
+
providerResult: failedProviderResult,
|
|
1294
|
+
turnId: currentUserTurn.turnId,
|
|
841
1295
|
});
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
1296
|
+
emitTurnTiming({
|
|
1297
|
+
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1298
|
+
providerRequestOrdinal,
|
|
1299
|
+
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1300
|
+
? null
|
|
1301
|
+
: elapsedSince(providerResultReturnedAt),
|
|
1302
|
+
stage: 'usage-recorded',
|
|
1303
|
+
stepElapsedMs: elapsedSince(usageRecordStartedAt),
|
|
847
1304
|
});
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
1305
|
+
const additionalUsages = providerOutcome.additionalUsages?.map((usageDraft) => ({
|
|
1306
|
+
...usageDraft,
|
|
1307
|
+
providerRequestOrdinal: nextUsageRecordOrdinal++,
|
|
1308
|
+
}));
|
|
1309
|
+
await recordAdditionalAssistantUsageEvents({
|
|
1310
|
+
additionalUsages,
|
|
1311
|
+
effectiveEnv: currentInput.turnEnvironment?.env ?? process.env,
|
|
1312
|
+
executionContext,
|
|
1313
|
+
providerRequestAcceptedInputIds,
|
|
1314
|
+
providerResult: failedProviderResult,
|
|
854
1315
|
turnId: currentUserTurn.turnId,
|
|
1316
|
+
});
|
|
1317
|
+
const failedProviderResumeStateAction = providerRequestOrdinal === 1
|
|
1318
|
+
? 'preserve-existing'
|
|
1319
|
+
: resolveAssistantProviderResumeStateAction({
|
|
1320
|
+
codexThreadId: providerOutcome.codexThreadId ?? null,
|
|
1321
|
+
threadScope,
|
|
1322
|
+
});
|
|
1323
|
+
if (progressDeliveredSessionRef.value) {
|
|
1324
|
+
currentSession = applyAssistantProgressDeliveredSession({
|
|
1325
|
+
progressDeliveredSession: progressDeliveredSessionRef.value,
|
|
1326
|
+
session: providerOutcome.session,
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
currentSession = await applyAssistantSessionCodexResumeStateAction({
|
|
1330
|
+
action: failedProviderResumeStateAction,
|
|
1331
|
+
assistantContractFingerprint: providerOutcome.assistantContractFingerprint,
|
|
1332
|
+
codexRolloutRelativePath: providerOutcome.codexRolloutRelativePath,
|
|
1333
|
+
codexThreadId: providerOutcome.codexThreadId,
|
|
1334
|
+
routeFingerprint: readCodexThreadRouteFingerprint(providerOutcome.route),
|
|
1335
|
+
threadCompatibilityFingerprint: readCodexThreadCompatibilityFingerprint(providerOutcome.route),
|
|
1336
|
+
session: currentSession,
|
|
855
1337
|
vault: input.vault,
|
|
856
1338
|
});
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
continuation: event.codexContinuation,
|
|
863
|
-
ordinal: providerRequestOrdinal,
|
|
864
|
-
providerAttemptId: event.providerAttemptId,
|
|
1339
|
+
if (requestInput.allowFailedNoReplyRecovery &&
|
|
1340
|
+
recoverableNoReplyDeliveryContextOrdinal !== null) {
|
|
1341
|
+
turnInputController.close();
|
|
1342
|
+
await runtimeState.turns.acceptedInputs.updateAdmissionState({
|
|
1343
|
+
admissionState: 'commit-started',
|
|
865
1344
|
turnId: currentUserTurn.turnId,
|
|
866
1345
|
});
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
1346
|
+
const recoveredReactions = (providerOutcome.reactions ?? []).filter((reaction) => reaction.deliveryContextOrdinal <= recoverableNoReplyDeliveryContextOrdinal);
|
|
1347
|
+
const failedNoReplySession = currentSession;
|
|
1348
|
+
const failedNoReplyProviderResult = {
|
|
1349
|
+
acceptedNoReplyDeliveryContextOrdinals: acceptedNoReplyOrdinals,
|
|
1350
|
+
assistantContractFingerprint: providerOutcome.assistantContractFingerprint,
|
|
1351
|
+
attemptCount: providerOutcome.attemptCount,
|
|
1352
|
+
codexContinuation: providerOutcome.codexContinuation,
|
|
1353
|
+
codexRolloutRelativePath: providerOutcome.codexRolloutRelativePath,
|
|
1354
|
+
codexThreadId: providerOutcome.codexThreadId,
|
|
1355
|
+
finalAction: {
|
|
1356
|
+
kind: 'none',
|
|
1357
|
+
},
|
|
1358
|
+
provider: providerOutcome.route.provider,
|
|
1359
|
+
providerOptions: providerOutcome.route.providerOptions,
|
|
1360
|
+
rawEvents: providerOutcome.rawEvents,
|
|
1361
|
+
reactions: recoveredReactions,
|
|
1362
|
+
response: '',
|
|
1363
|
+
responseDeliveryContextOrdinal: recoverableNoReplyDeliveryContextOrdinal,
|
|
1364
|
+
responseMedia: [],
|
|
1365
|
+
responseCard: null,
|
|
1366
|
+
route: providerOutcome.route,
|
|
1367
|
+
session: failedNoReplySession,
|
|
1368
|
+
stderr: '',
|
|
1369
|
+
stdout: '',
|
|
1370
|
+
transcriptResponse: null,
|
|
1371
|
+
usage: providerOutcome.usage,
|
|
1372
|
+
usageAttribution: providerOutcome.usageAttribution,
|
|
1373
|
+
workingDirectory: sharedPlan.requestedWorkingDirectory,
|
|
1374
|
+
};
|
|
1375
|
+
const turnArtifactsStartedAt = Date.now();
|
|
1376
|
+
const session = await finalizeAssistantTurnArtifacts({
|
|
1377
|
+
assistantTranscriptText: null,
|
|
1378
|
+
input: currentInput,
|
|
1379
|
+
plan: sharedPlan,
|
|
1380
|
+
precedingAssistantTranscriptTexts: [],
|
|
1381
|
+
providerResult: failedNoReplyProviderResult,
|
|
1382
|
+
providerResumeStateAction: failedProviderResumeStateAction,
|
|
1383
|
+
persistUserPromptToTranscript: !userPromptPersistedToTranscript,
|
|
1384
|
+
session: failedNoReplySession,
|
|
1385
|
+
turnCreatedAt: currentUserTurn.turnCreatedAt,
|
|
1386
|
+
turnId: currentUserTurn.turnId,
|
|
1387
|
+
userContentReceivedAt: currentUserTurn.userContentReceivedAt,
|
|
1388
|
+
});
|
|
1389
|
+
currentSession = session;
|
|
1390
|
+
emitTurnTiming({
|
|
1391
|
+
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1392
|
+
finalReplySelected: false,
|
|
1393
|
+
providerRequestOrdinal,
|
|
1394
|
+
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1395
|
+
? null
|
|
1396
|
+
: elapsedSince(providerResultReturnedAt),
|
|
1397
|
+
stage: 'turn-artifacts-finalized',
|
|
1398
|
+
stepElapsedMs: elapsedSince(turnArtifactsStartedAt),
|
|
1399
|
+
});
|
|
1400
|
+
const replyDispatchStartedAt = Date.now();
|
|
1401
|
+
const { deliverySession, reactionDeliveryOutcomes, } = await deliverAssistantProviderReactions({
|
|
1402
|
+
acceptedInputIdsByDeliveryContextOrdinal,
|
|
1403
|
+
currentInput,
|
|
1404
|
+
providerResult: failedNoReplyProviderResult,
|
|
1405
|
+
replyDeliveryContexts,
|
|
1406
|
+
session,
|
|
1407
|
+
sharedPlan,
|
|
1408
|
+
turnId: currentUserTurn.turnId,
|
|
1409
|
+
});
|
|
1410
|
+
const deliveryOutcome = resolveAssistantNoReplyDeliveryOutcome({
|
|
1411
|
+
precedingDeliveryOutcomes: [],
|
|
1412
|
+
session: deliverySession,
|
|
1413
|
+
});
|
|
1414
|
+
const finalDeliveryOutcome = deliveryOutcome.kind === 'not-requested' &&
|
|
1415
|
+
reactionDeliveryOutcomes.length > 0
|
|
1416
|
+
? reactionDeliveryOutcomes[reactionDeliveryOutcomes.length - 1]
|
|
1417
|
+
: deliveryOutcome;
|
|
1418
|
+
emitTurnTiming({
|
|
1419
|
+
deliveryAttempted: reactionDeliveryOutcomes.length > 0,
|
|
1420
|
+
deliveryIntentPresent: 'intentId' in finalDeliveryOutcome
|
|
1421
|
+
? finalDeliveryOutcome.intentId !== null
|
|
1422
|
+
: false,
|
|
1423
|
+
deliveryOutcomeKind: finalDeliveryOutcome.kind,
|
|
1424
|
+
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1425
|
+
finalReplySelected: false,
|
|
1426
|
+
providerRequestOrdinal,
|
|
1427
|
+
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1428
|
+
? null
|
|
1429
|
+
: elapsedSince(providerResultReturnedAt),
|
|
1430
|
+
stage: 'reply-dispatched',
|
|
1431
|
+
stepElapsedMs: elapsedSince(replyDispatchStartedAt),
|
|
1432
|
+
});
|
|
1433
|
+
await finalizeDeliveredAssistantTurn({
|
|
1434
|
+
firstContactStateDocIds: sharedPlan.firstContactStateDocIds,
|
|
1435
|
+
outcome: finalDeliveryOutcome,
|
|
1436
|
+
response: '',
|
|
1437
|
+
turnId: currentUserTurn.turnId,
|
|
1438
|
+
vault: input.vault,
|
|
1439
|
+
});
|
|
1440
|
+
const result = normalizeAssistantAskResultForReturn({
|
|
1441
|
+
vault: redactAssistantDisplayPath(input.vault),
|
|
1442
|
+
status: 'completed',
|
|
1443
|
+
prompt: currentInput.prompt,
|
|
1444
|
+
response: '',
|
|
1445
|
+
responseDisposition: 'none',
|
|
1446
|
+
media: finalDeliveryOutcome.media,
|
|
1447
|
+
session: finalDeliveryOutcome.session,
|
|
1448
|
+
delivery: finalDeliveryOutcome.kind === 'sent'
|
|
1449
|
+
? finalDeliveryOutcome.delivery
|
|
1450
|
+
: null,
|
|
1451
|
+
deliveryDeferred: finalDeliveryOutcome.kind === 'queued',
|
|
1452
|
+
deliveryIntentId: finalDeliveryOutcome.kind === 'sent' ||
|
|
1453
|
+
finalDeliveryOutcome.kind === 'queued' ||
|
|
1454
|
+
finalDeliveryOutcome.kind === 'failed'
|
|
1455
|
+
? finalDeliveryOutcome.intentId
|
|
1456
|
+
: null,
|
|
1457
|
+
deliveryError: finalDeliveryOutcome.kind === 'queued' ||
|
|
1458
|
+
finalDeliveryOutcome.kind === 'failed'
|
|
1459
|
+
? finalDeliveryOutcome.error
|
|
1460
|
+
: null,
|
|
1461
|
+
});
|
|
1462
|
+
turnInputController.complete(result);
|
|
1463
|
+
return {
|
|
1464
|
+
kind: 'completed',
|
|
1465
|
+
result,
|
|
1466
|
+
};
|
|
884
1467
|
}
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
preProviderSetupMs,
|
|
890
|
-
promptBuildMs,
|
|
891
|
-
providerRequestOrdinal: event.providerRequestOrdinal ?? providerRequestOrdinal,
|
|
892
|
-
sessionResolveMs,
|
|
893
|
-
turnLockWaitMs,
|
|
894
|
-
});
|
|
895
|
-
},
|
|
896
|
-
route,
|
|
897
|
-
plan: sharedPlan,
|
|
898
|
-
profile: {
|
|
899
|
-
threadScope,
|
|
900
|
-
},
|
|
901
|
-
providerRequestOrdinal,
|
|
902
|
-
resolvedSession: currentSession,
|
|
903
|
-
turnCreatedAt: currentUserTurn.turnCreatedAt,
|
|
904
|
-
progressDelivery,
|
|
905
|
-
hostedToolContext,
|
|
906
|
-
turnId: currentUserTurn.turnId,
|
|
907
|
-
});
|
|
908
|
-
providerResultReturnedAt = Date.now();
|
|
909
|
-
emitTurnTiming({
|
|
910
|
-
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
911
|
-
providerOutcomeKind: providerOutcome.kind,
|
|
912
|
-
providerRequestElapsedMs: providerRequestStartedAtMs === null
|
|
913
|
-
? null
|
|
914
|
-
: Math.max(0, providerResultReturnedAt - providerRequestStartedAtMs),
|
|
915
|
-
providerRequestOrdinal,
|
|
916
|
-
sinceProviderResultMs: 0,
|
|
917
|
-
stage: 'provider-result-returned',
|
|
918
|
-
});
|
|
919
|
-
if (providerOutcome.kind === 'failed_terminal') {
|
|
1468
|
+
throw providerOutcome.error;
|
|
1469
|
+
}
|
|
1470
|
+
onFirstAssistantResponseCompleted();
|
|
1471
|
+
const currentProviderResult = providerOutcome.providerTurn;
|
|
920
1472
|
if (!providerRequestJournal) {
|
|
921
1473
|
providerRequestJournal =
|
|
922
1474
|
await runtimeState.turns.acceptedInputs.recordProviderRequest({
|
|
923
|
-
continuation:
|
|
1475
|
+
continuation: currentProviderResult.codexContinuation,
|
|
924
1476
|
ordinal: providerRequestOrdinal,
|
|
925
1477
|
providerAttemptId: null,
|
|
926
1478
|
turnId: currentUserTurn.turnId,
|
|
@@ -935,7 +1487,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
935
1487
|
else {
|
|
936
1488
|
providerRequestJournal =
|
|
937
1489
|
await runtimeState.turns.acceptedInputs.updateProviderRequest({
|
|
938
|
-
continuation:
|
|
1490
|
+
continuation: currentProviderResult.codexContinuation,
|
|
939
1491
|
ordinal: providerRequestOrdinal,
|
|
940
1492
|
providerAttemptId: null,
|
|
941
1493
|
turnId: currentUserTurn.turnId,
|
|
@@ -947,34 +1499,35 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
947
1499
|
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
948
1500
|
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
949
1501
|
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
await drainLiveSteeredActiveTurnInputs({
|
|
967
|
-
continuation: providerOutcome.codexContinuation,
|
|
968
|
-
sessionId: providerOutcome.session.sessionId,
|
|
1502
|
+
await drainLiveSteeredActiveTurnInputs({
|
|
1503
|
+
continuation: currentProviderResult.codexContinuation,
|
|
1504
|
+
sessionId: currentProviderResult.session.sessionId,
|
|
1505
|
+
throughDeliveryContextOrdinal: providerRequestDeliveryContextBaseOrdinal +
|
|
1506
|
+
currentProviderResult.responseDeliveryContextOrdinal,
|
|
1507
|
+
});
|
|
1508
|
+
currentSession = applyAssistantProgressDeliveredSession({
|
|
1509
|
+
progressDeliveredSession: progressDeliveredSessionRef.value,
|
|
1510
|
+
session: currentProviderResult.session,
|
|
1511
|
+
});
|
|
1512
|
+
if (!holdGroupReplyDraft) {
|
|
1513
|
+
responseText = resolveAssistantPersistedReplyText({
|
|
1514
|
+
messageInput: currentInput,
|
|
1515
|
+
rawResponse: currentProviderResult.response,
|
|
1516
|
+
session: currentSession,
|
|
1517
|
+
sharedPlan,
|
|
969
1518
|
});
|
|
970
1519
|
}
|
|
971
1520
|
const usageRecordStartedAt = Date.now();
|
|
1521
|
+
const primaryUsageRecordOrdinal = nextUsageRecordOrdinal;
|
|
1522
|
+
nextUsageRecordOrdinal += 1;
|
|
972
1523
|
await recordAssistantUsageEvent({
|
|
973
1524
|
executionContext,
|
|
1525
|
+
...(providerRequestStartedAtMs === null
|
|
1526
|
+
? {}
|
|
1527
|
+
: { occurredAt: new Date(providerRequestStartedAtMs).toISOString() }),
|
|
974
1528
|
providerRequestAcceptedInputIds,
|
|
975
|
-
providerRequestOrdinal,
|
|
976
|
-
|
|
977
|
-
providerResult: failedProviderResult,
|
|
1529
|
+
providerRequestOrdinal: primaryUsageRecordOrdinal,
|
|
1530
|
+
providerResult: currentProviderResult,
|
|
978
1531
|
turnId: currentUserTurn.turnId,
|
|
979
1532
|
});
|
|
980
1533
|
emitTurnTiming({
|
|
@@ -986,230 +1539,90 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
986
1539
|
stage: 'usage-recorded',
|
|
987
1540
|
stepElapsedMs: elapsedSince(usageRecordStartedAt),
|
|
988
1541
|
});
|
|
1542
|
+
const additionalUsages = currentProviderResult.additionalUsages?.map((usageDraft) => ({
|
|
1543
|
+
...usageDraft,
|
|
1544
|
+
providerRequestOrdinal: nextUsageRecordOrdinal++,
|
|
1545
|
+
}));
|
|
989
1546
|
await recordAdditionalAssistantUsageEvents({
|
|
990
|
-
additionalUsages
|
|
1547
|
+
additionalUsages,
|
|
991
1548
|
effectiveEnv: currentInput.turnEnvironment?.env ?? process.env,
|
|
992
1549
|
executionContext,
|
|
993
1550
|
providerRequestAcceptedInputIds,
|
|
994
|
-
providerResult:
|
|
1551
|
+
providerResult: currentProviderResult,
|
|
995
1552
|
turnId: currentUserTurn.turnId,
|
|
996
1553
|
});
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
vault: input.vault,
|
|
1554
|
+
return {
|
|
1555
|
+
kind: 'provider-result',
|
|
1556
|
+
providerResult: rebaseAssistantProviderResultDeliveryContexts({
|
|
1557
|
+
baseOrdinal: providerRequestDeliveryContextBaseOrdinal,
|
|
1558
|
+
providerResult: currentProviderResult,
|
|
1559
|
+
}),
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
const firstRequest = await runCurrentProviderRequest({
|
|
1563
|
+
allowFailedNoReplyRecovery: !holdGroupReplyDraft,
|
|
1564
|
+
});
|
|
1565
|
+
if (firstRequest.kind === 'completed') {
|
|
1566
|
+
return firstRequest.result;
|
|
1567
|
+
}
|
|
1568
|
+
providerResult = firstRequest.providerResult;
|
|
1569
|
+
if (holdGroupReplyDraft) {
|
|
1570
|
+
const draftWindowOutcome = await turnInputController.finishDraftWindow({
|
|
1571
|
+
signal: currentInput.abortSignal,
|
|
1016
1572
|
});
|
|
1017
|
-
if (
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
turnCreatedAt: currentUserTurn.turnCreatedAt,
|
|
1062
|
-
turnId: currentUserTurn.turnId,
|
|
1063
|
-
userContentReceivedAt: currentUserTurn.userContentReceivedAt,
|
|
1064
|
-
});
|
|
1065
|
-
currentSession = session;
|
|
1066
|
-
emitTurnTiming({
|
|
1067
|
-
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1068
|
-
finalReplySelected: false,
|
|
1069
|
-
providerRequestOrdinal,
|
|
1070
|
-
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1071
|
-
? null
|
|
1072
|
-
: elapsedSince(providerResultReturnedAt),
|
|
1073
|
-
stage: 'turn-artifacts-finalized',
|
|
1074
|
-
stepElapsedMs: elapsedSince(turnArtifactsStartedAt),
|
|
1075
|
-
});
|
|
1076
|
-
const replyDispatchStartedAt = Date.now();
|
|
1077
|
-
const { deliverySession, reactionDeliveryOutcomes, } = await deliverAssistantProviderReactions({
|
|
1078
|
-
acceptedInputIdsByDeliveryContextOrdinal,
|
|
1079
|
-
currentInput,
|
|
1080
|
-
providerResult: failedNoReplyProviderResult,
|
|
1081
|
-
replyDeliveryContexts,
|
|
1082
|
-
session,
|
|
1083
|
-
sharedPlan,
|
|
1084
|
-
turnId: currentUserTurn.turnId,
|
|
1085
|
-
});
|
|
1086
|
-
const deliveryOutcome = resolveAssistantNoReplyDeliveryOutcome({
|
|
1087
|
-
precedingDeliveryOutcomes: [],
|
|
1088
|
-
session: deliverySession,
|
|
1089
|
-
});
|
|
1090
|
-
const finalDeliveryOutcome = deliveryOutcome.kind === 'not-requested' &&
|
|
1091
|
-
reactionDeliveryOutcomes.length > 0
|
|
1092
|
-
? reactionDeliveryOutcomes[reactionDeliveryOutcomes.length - 1]
|
|
1093
|
-
: deliveryOutcome;
|
|
1094
|
-
emitTurnTiming({
|
|
1095
|
-
deliveryAttempted: reactionDeliveryOutcomes.length > 0,
|
|
1096
|
-
deliveryIntentPresent: 'intentId' in finalDeliveryOutcome
|
|
1097
|
-
? finalDeliveryOutcome.intentId !== null
|
|
1098
|
-
: false,
|
|
1099
|
-
deliveryOutcomeKind: finalDeliveryOutcome.kind,
|
|
1100
|
-
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1101
|
-
finalReplySelected: false,
|
|
1102
|
-
providerRequestOrdinal,
|
|
1103
|
-
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1104
|
-
? null
|
|
1105
|
-
: elapsedSince(providerResultReturnedAt),
|
|
1106
|
-
stage: 'reply-dispatched',
|
|
1107
|
-
stepElapsedMs: elapsedSince(replyDispatchStartedAt),
|
|
1108
|
-
});
|
|
1109
|
-
await finalizeDeliveredAssistantTurn({
|
|
1110
|
-
firstContactStateDocIds: sharedPlan.firstContactStateDocIds,
|
|
1111
|
-
outcome: finalDeliveryOutcome,
|
|
1112
|
-
response: '',
|
|
1113
|
-
turnId: currentUserTurn.turnId,
|
|
1114
|
-
vault: input.vault,
|
|
1115
|
-
});
|
|
1116
|
-
const result = normalizeAssistantAskResultForReturn({
|
|
1117
|
-
vault: redactAssistantDisplayPath(input.vault),
|
|
1118
|
-
status: 'completed',
|
|
1119
|
-
prompt: currentInput.prompt,
|
|
1120
|
-
response: '',
|
|
1121
|
-
responseDisposition: 'none',
|
|
1122
|
-
media: finalDeliveryOutcome.media,
|
|
1123
|
-
session: finalDeliveryOutcome.session,
|
|
1124
|
-
delivery: finalDeliveryOutcome.kind === 'sent'
|
|
1125
|
-
? finalDeliveryOutcome.delivery
|
|
1126
|
-
: null,
|
|
1127
|
-
deliveryDeferred: finalDeliveryOutcome.kind === 'queued',
|
|
1128
|
-
deliveryIntentId: finalDeliveryOutcome.kind === 'sent' ||
|
|
1129
|
-
finalDeliveryOutcome.kind === 'queued' ||
|
|
1130
|
-
finalDeliveryOutcome.kind === 'failed'
|
|
1131
|
-
? finalDeliveryOutcome.intentId
|
|
1132
|
-
: null,
|
|
1133
|
-
deliveryError: finalDeliveryOutcome.kind === 'queued' ||
|
|
1134
|
-
finalDeliveryOutcome.kind === 'failed'
|
|
1135
|
-
? finalDeliveryOutcome.error
|
|
1136
|
-
: null,
|
|
1137
|
-
});
|
|
1138
|
-
turnInputController.complete(result);
|
|
1139
|
-
return result;
|
|
1573
|
+
if (draftWindowOutcome.kind === 'review') {
|
|
1574
|
+
providerRequestOrdinal = 1;
|
|
1575
|
+
try {
|
|
1576
|
+
if (draftWindowOutcome.acceptedInput) {
|
|
1577
|
+
const accepted = await acceptActiveTurnInput({
|
|
1578
|
+
activeTurnInput: draftWindowOutcome.acceptedInput,
|
|
1579
|
+
providerRequestAcceptedInputIds,
|
|
1580
|
+
providerRequestOrdinal,
|
|
1581
|
+
sessionId: currentSession.sessionId,
|
|
1582
|
+
});
|
|
1583
|
+
replyDeliveryContexts.push(pickAssistantReplyDeliveryContext(currentInput));
|
|
1584
|
+
acceptedInputIdsByDeliveryContextOrdinal[replyDeliveryContexts.length - 1] = accepted.acceptedInputItems.map((item) => item.id);
|
|
1585
|
+
}
|
|
1586
|
+
providerRequestDeliveryContextBaseOrdinal =
|
|
1587
|
+
replyDeliveryContexts.length - 1;
|
|
1588
|
+
currentSession = applyAssistantProviderTurnResumeInMemory({
|
|
1589
|
+
providerResult,
|
|
1590
|
+
session: currentSession,
|
|
1591
|
+
});
|
|
1592
|
+
currentInput = {
|
|
1593
|
+
...currentInput,
|
|
1594
|
+
turnContext: appendAssistantTurnContext(currentInput.turnContext, ASSISTANT_GROUP_REPLY_RECONSIDERATION_INSTRUCTION),
|
|
1595
|
+
};
|
|
1596
|
+
const reconsiderationRequest = await runCurrentProviderRequest({
|
|
1597
|
+
allowFailedNoReplyRecovery: false,
|
|
1598
|
+
});
|
|
1599
|
+
if (reconsiderationRequest.kind === 'completed') {
|
|
1600
|
+
throw new VaultCliError('ASSISTANT_GROUP_DRAFT_RECONSIDERATION_INVALID_RECOVERY', 'The group reply reconsideration unexpectedly completed through provider failure recovery.');
|
|
1601
|
+
}
|
|
1602
|
+
providerResult = reconsiderationRequest.providerResult;
|
|
1603
|
+
}
|
|
1604
|
+
finally {
|
|
1605
|
+
currentSession = {
|
|
1606
|
+
...currentSession,
|
|
1607
|
+
codexResume: null,
|
|
1608
|
+
resumeState: null,
|
|
1609
|
+
};
|
|
1610
|
+
await runAssistantTurnBestEffort(async () => {
|
|
1611
|
+
currentSession = await clearAssistantSessionCodexResumeState({
|
|
1612
|
+
session: currentSession,
|
|
1613
|
+
vault: input.vault,
|
|
1614
|
+
});
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1140
1617
|
}
|
|
1141
|
-
|
|
1142
|
-
}
|
|
1143
|
-
providerResult = providerOutcome.providerTurn;
|
|
1144
|
-
if (!providerRequestJournal) {
|
|
1145
|
-
providerRequestJournal =
|
|
1146
|
-
await runtimeState.turns.acceptedInputs.recordProviderRequest({
|
|
1147
|
-
continuation: providerResult.codexContinuation,
|
|
1148
|
-
ordinal: providerRequestOrdinal,
|
|
1149
|
-
providerAttemptId: null,
|
|
1150
|
-
turnId: currentUserTurn.turnId,
|
|
1151
|
-
});
|
|
1152
|
-
providerRequestAcceptedInputIds =
|
|
1153
|
-
providerRequestJournal?.inputIds ?? acceptedInputIdsForProviderRequest;
|
|
1154
|
-
providerRequestAcceptedInputItems =
|
|
1155
|
-
providerRequestJournal?.inputs ?? acceptedInputItemsForProviderRequest;
|
|
1156
|
-
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
1157
|
-
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
1158
|
-
}
|
|
1159
|
-
else {
|
|
1160
|
-
providerRequestJournal =
|
|
1161
|
-
await runtimeState.turns.acceptedInputs.updateProviderRequest({
|
|
1162
|
-
continuation: providerResult.codexContinuation,
|
|
1163
|
-
ordinal: providerRequestOrdinal,
|
|
1164
|
-
providerAttemptId: null,
|
|
1165
|
-
turnId: currentUserTurn.turnId,
|
|
1166
|
-
}) ?? providerRequestJournal;
|
|
1167
|
-
providerRequestAcceptedInputIds =
|
|
1168
|
-
providerRequestJournal?.inputIds ?? providerRequestAcceptedInputIds;
|
|
1169
|
-
providerRequestAcceptedInputItems =
|
|
1170
|
-
providerRequestJournal?.inputs ?? providerRequestAcceptedInputItems;
|
|
1171
|
-
acceptedInputIdsForProviderRequest = providerRequestAcceptedInputIds;
|
|
1172
|
-
acceptedInputItemsForProviderRequest = providerRequestAcceptedInputItems;
|
|
1618
|
+
providerResult = selectAssistantGroupProviderResult(providerResult);
|
|
1173
1619
|
}
|
|
1174
|
-
await drainLiveSteeredActiveTurnInputs({
|
|
1175
|
-
continuation: providerResult.codexContinuation,
|
|
1176
|
-
sessionId: providerResult.session.sessionId,
|
|
1177
|
-
});
|
|
1178
|
-
currentSession = applyAssistantProgressDeliveredSession({
|
|
1179
|
-
progressDeliveredSession: progressDeliveredSessionRef.value,
|
|
1180
|
-
session: providerResult.session,
|
|
1181
|
-
});
|
|
1182
1620
|
responseText = resolveAssistantPersistedReplyText({
|
|
1183
1621
|
messageInput: currentInput,
|
|
1184
1622
|
rawResponse: providerResult.response,
|
|
1185
1623
|
session: currentSession,
|
|
1186
1624
|
sharedPlan,
|
|
1187
1625
|
});
|
|
1188
|
-
const usageRecordStartedAt = Date.now();
|
|
1189
|
-
await recordAssistantUsageEvent({
|
|
1190
|
-
executionContext,
|
|
1191
|
-
providerRequestAcceptedInputIds,
|
|
1192
|
-
providerRequestOrdinal,
|
|
1193
|
-
providerResult,
|
|
1194
|
-
turnId: currentUserTurn.turnId,
|
|
1195
|
-
});
|
|
1196
|
-
emitTurnTiming({
|
|
1197
|
-
elapsedMs: elapsedSince(turnTimingStartedAt),
|
|
1198
|
-
providerRequestOrdinal,
|
|
1199
|
-
sinceProviderResultMs: providerResultReturnedAt === null
|
|
1200
|
-
? null
|
|
1201
|
-
: elapsedSince(providerResultReturnedAt),
|
|
1202
|
-
stage: 'usage-recorded',
|
|
1203
|
-
stepElapsedMs: elapsedSince(usageRecordStartedAt),
|
|
1204
|
-
});
|
|
1205
|
-
await recordAdditionalAssistantUsageEvents({
|
|
1206
|
-
additionalUsages: providerResult.additionalUsages,
|
|
1207
|
-
effectiveEnv: currentInput.turnEnvironment?.env ?? process.env,
|
|
1208
|
-
executionContext,
|
|
1209
|
-
providerRequestAcceptedInputIds,
|
|
1210
|
-
providerResult,
|
|
1211
|
-
turnId: currentUserTurn.turnId,
|
|
1212
|
-
});
|
|
1213
1626
|
const resolvedFinalReplyDeliveryContext = resolveAssistantReplyDeliveryContextForSegment({
|
|
1214
1627
|
contexts: replyDeliveryContexts,
|
|
1215
1628
|
deliveryContextOrdinal: providerResult.responseDeliveryContextOrdinal,
|
|
@@ -1229,9 +1642,17 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1229
1642
|
admissionState: 'commit-started',
|
|
1230
1643
|
turnId: currentUserTurn.turnId,
|
|
1231
1644
|
});
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1645
|
+
if (holdGroupReplyDraft) {
|
|
1646
|
+
await persistInitialUserPromptToTranscriptIfNeeded({
|
|
1647
|
+
detail: 'user prompt persisted after held group reply selection',
|
|
1648
|
+
prompt: input.prompt,
|
|
1649
|
+
vault: input.vault,
|
|
1650
|
+
});
|
|
1651
|
+
for (const heldInput of heldGroupAcceptedTranscriptInputs) {
|
|
1652
|
+
await persistAcceptedActiveTurnInputTranscripts(heldInput);
|
|
1653
|
+
}
|
|
1654
|
+
await commitSelectedNoReply(providerResult);
|
|
1655
|
+
}
|
|
1235
1656
|
const precedingResponseSegments = [];
|
|
1236
1657
|
for (const [segmentOrdinal, segment] of (providerResult.precedingResponseSegments ?? []).entries()) {
|
|
1237
1658
|
const resolvedDeliveryContext = resolveAssistantReplyDeliveryContextForSegment({
|
|
@@ -1257,8 +1678,16 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1257
1678
|
continue;
|
|
1258
1679
|
}
|
|
1259
1680
|
precedingResponseSegments.push({
|
|
1681
|
+
...(segment.contextReferences === undefined
|
|
1682
|
+
? {}
|
|
1683
|
+
: {
|
|
1684
|
+
contextReferences: segment.contextReferences?.map((reference) => ({ ...reference })) ?? null,
|
|
1685
|
+
}),
|
|
1260
1686
|
deliveryContext: resolvedDeliveryContext.context,
|
|
1261
1687
|
response: segment.response,
|
|
1688
|
+
...(segment.transcriptResponse === undefined
|
|
1689
|
+
? {}
|
|
1690
|
+
: { transcriptResponse: segment.transcriptResponse }),
|
|
1262
1691
|
media: segment.media ?? [],
|
|
1263
1692
|
...(segment.targetInputId
|
|
1264
1693
|
? {
|
|
@@ -1274,7 +1703,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1274
1703
|
context: segment.deliveryContext ?? null,
|
|
1275
1704
|
input: currentInput,
|
|
1276
1705
|
}),
|
|
1277
|
-
rawResponse: segment.response,
|
|
1706
|
+
rawResponse: segment.transcriptResponse ?? segment.response,
|
|
1278
1707
|
session: currentSession,
|
|
1279
1708
|
sharedPlan,
|
|
1280
1709
|
});
|
|
@@ -1283,11 +1712,14 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1283
1712
|
response,
|
|
1284
1713
|
}) ?? response;
|
|
1285
1714
|
});
|
|
1286
|
-
const providerResumeStateAction =
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1715
|
+
const providerResumeStateAction = providerRequestOrdinal === 1
|
|
1716
|
+
? 'clear'
|
|
1717
|
+
: resolveAssistantProviderResumeStateAction({
|
|
1718
|
+
codexThreadId: providerResult.codexThreadId ?? null,
|
|
1719
|
+
threadScope,
|
|
1720
|
+
});
|
|
1721
|
+
if (providerRequestOrdinal === 0 &&
|
|
1722
|
+
providerResumeStateAction === 'clear') {
|
|
1291
1723
|
currentSession = await clearAssistantSessionCodexResumeState({
|
|
1292
1724
|
session: currentSession,
|
|
1293
1725
|
vault: input.vault,
|
|
@@ -1307,7 +1739,10 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1307
1739
|
});
|
|
1308
1740
|
const rawTranscriptResponseText = noReplySelected
|
|
1309
1741
|
? null
|
|
1310
|
-
: providerResult.transcriptResponse
|
|
1742
|
+
: providerResult.transcriptResponse ??
|
|
1743
|
+
(providerResult.responseCard
|
|
1744
|
+
? renderAssistantResponseCardTranscriptText(providerResult.responseCard)
|
|
1745
|
+
: null);
|
|
1311
1746
|
const transcriptResponseText = rawTranscriptResponseText === null
|
|
1312
1747
|
? null
|
|
1313
1748
|
: resolveAssistantPersistedReplyText({
|
|
@@ -1359,9 +1794,8 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1359
1794
|
return segmentInput.input;
|
|
1360
1795
|
}
|
|
1361
1796
|
return await applyAssistantAcceptedMessageTargetToDeliveryInput({
|
|
1362
|
-
acceptedInputIdsByDeliveryContextOrdinal,
|
|
1797
|
+
acceptedInputIds: acceptedInputIdsByDeliveryContextOrdinal[deliveryContextOrdinal] ?? [],
|
|
1363
1798
|
action: 'native-reply',
|
|
1364
|
-
deliveryContextOrdinal,
|
|
1365
1799
|
input: segmentInput.input,
|
|
1366
1800
|
session: segmentInput.session,
|
|
1367
1801
|
sharedPlan,
|
|
@@ -1441,9 +1875,8 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1441
1875
|
try {
|
|
1442
1876
|
finalDeliveryInput =
|
|
1443
1877
|
await applyAssistantAcceptedMessageTargetToDeliveryInput({
|
|
1444
|
-
acceptedInputIdsByDeliveryContextOrdinal,
|
|
1878
|
+
acceptedInputIds: acceptedInputIdsByDeliveryContextOrdinal[providerResult.responseDeliveryContextOrdinal] ?? [],
|
|
1445
1879
|
action: 'native-reply',
|
|
1446
|
-
deliveryContextOrdinal: providerResult.responseDeliveryContextOrdinal,
|
|
1447
1880
|
input: finalReplyInput,
|
|
1448
1881
|
session: deliverySession,
|
|
1449
1882
|
sharedPlan,
|
|
@@ -1454,6 +1887,12 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1454
1887
|
finalTargetResolutionError = normalizeAssistantDeliveryError(error);
|
|
1455
1888
|
}
|
|
1456
1889
|
}
|
|
1890
|
+
if (providerResult.responseContextReferences !== undefined) {
|
|
1891
|
+
finalDeliveryInput = {
|
|
1892
|
+
...finalDeliveryInput,
|
|
1893
|
+
outboxAutomationContextReferences: providerResult.responseContextReferences?.map((reference) => ({ ...reference })) ?? null,
|
|
1894
|
+
};
|
|
1895
|
+
}
|
|
1457
1896
|
const deliveryOutcome = finalResponseText !== null
|
|
1458
1897
|
? finalTargetResolutionError
|
|
1459
1898
|
? {
|
|
@@ -1465,6 +1904,7 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1465
1904
|
}
|
|
1466
1905
|
: await dispatchAssistantReply({
|
|
1467
1906
|
input: finalDeliveryInput,
|
|
1907
|
+
card: providerResult.responseCard ?? null,
|
|
1468
1908
|
media: providerResult.responseMedia ?? [],
|
|
1469
1909
|
response: rawFinalResponseText ?? '',
|
|
1470
1910
|
session: deliverySession,
|
|
@@ -1578,7 +2018,8 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1578
2018
|
turnInputController.complete(result);
|
|
1579
2019
|
const productFeedbackCandidate = providerResult.productFeedbackCandidate ?? null;
|
|
1580
2020
|
const productFeedbackCandidateSink = executionContext?.hosted?.productFeedbackCandidateSink ?? null;
|
|
1581
|
-
if (productFeedbackCandidate &&
|
|
2021
|
+
if (productFeedbackCandidate &&
|
|
2022
|
+
productFeedbackCandidateSink) {
|
|
1582
2023
|
try {
|
|
1583
2024
|
productFeedbackCandidateSink.acceptProductFeedbackCandidate(productFeedbackCandidate);
|
|
1584
2025
|
}
|
|
@@ -1596,7 +2037,8 @@ export async function sendAssistantMessageLocal(input) {
|
|
|
1596
2037
|
progressDeliveredSession: progressDeliveredSessionRef.value,
|
|
1597
2038
|
session: currentSession,
|
|
1598
2039
|
});
|
|
1599
|
-
if (
|
|
2040
|
+
if (providerRequestOrdinal === 1 ||
|
|
2041
|
+
failedSession !== currentSession) {
|
|
1600
2042
|
await runAssistantTurnBestEffort(() => saveAssistantSession(input.vault, failedSession));
|
|
1601
2043
|
}
|
|
1602
2044
|
await runAssistantTurnBestEffort(() => persistFailedAssistantPromptAttempt({
|
|
@@ -1693,15 +2135,12 @@ export async function updateAssistantSessionOptionsLocal(input) {
|
|
|
1693
2135
|
},
|
|
1694
2136
|
createIfMissing: false,
|
|
1695
2137
|
});
|
|
1696
|
-
const providerConfig =
|
|
2138
|
+
const providerConfig = mergeAssistantProviderConfigs(
|
|
1697
2139
|
// Persisted targets carry the full durable provider config. Session
|
|
1698
2140
|
// providerOptions are a derived runtime projection and omit target-only
|
|
1699
2141
|
// fields such as the Codex executable path.
|
|
1700
2142
|
assistantBackendTargetToProviderConfigInput(session.session.target), input.providerOptions);
|
|
1701
2143
|
const nextTarget = createAssistantModelTarget(providerConfig) ?? session.session.target;
|
|
1702
|
-
if (nextTarget.adapter !== 'codex-cli') {
|
|
1703
|
-
throw new VaultCliError('ASSISTANT_PROVIDER_UNSUPPORTED', 'Assistant sessions only support Codex app-server targets.');
|
|
1704
|
-
}
|
|
1705
2144
|
const nextProviderOptions = serializeAssistantProviderSessionOptions(providerConfig);
|
|
1706
2145
|
const continuityChanged = session.session.providerOptions.continuityFingerprint !==
|
|
1707
2146
|
nextProviderOptions.continuityFingerprint;
|
|
@@ -1749,6 +2188,7 @@ function resolveInitialAcceptedTurnInputItems(input) {
|
|
|
1749
2188
|
}
|
|
1750
2189
|
return [
|
|
1751
2190
|
{
|
|
2191
|
+
acceptedAt: input.userTurn.turnCreatedAt,
|
|
1752
2192
|
id: resolveDefaultInitialAcceptedTurnInputId({
|
|
1753
2193
|
input: input.input,
|
|
1754
2194
|
userTurn: input.userTurn,
|
|
@@ -1916,6 +2356,10 @@ function elapsedSince(startedAt) {
|
|
|
1916
2356
|
return Math.max(0, Date.now() - startedAt);
|
|
1917
2357
|
}
|
|
1918
2358
|
function resolveAssistantProviderFinalResponseText(providerResult) {
|
|
2359
|
+
const card = normalizeAssistantProviderResponseCard(providerResult);
|
|
2360
|
+
if (card) {
|
|
2361
|
+
return renderAssistantResponseCardText(card);
|
|
2362
|
+
}
|
|
1919
2363
|
const response = normalizeNullableString(providerResult.response);
|
|
1920
2364
|
if (response) {
|
|
1921
2365
|
return response;
|
|
@@ -1925,6 +2369,13 @@ function resolveAssistantProviderFinalResponseText(providerResult) {
|
|
|
1925
2369
|
}
|
|
1926
2370
|
throw new VaultCliError('ASSISTANT_PROVIDER_EMPTY_RESPONSE', 'Assistant provider completed without a final response. Use finish_without_reply for an intentional no-reply turn.');
|
|
1927
2371
|
}
|
|
2372
|
+
function normalizeAssistantProviderResponseCard(providerResult) {
|
|
2373
|
+
const card = providerResult.responseCard ?? null;
|
|
2374
|
+
if (card !== null && (providerResult.responseMedia ?? []).length > 0) {
|
|
2375
|
+
throw new VaultCliError('ASSISTANT_RESPONSE_CARD_MEDIA_CONFLICT', 'A response card cannot be combined with response media.');
|
|
2376
|
+
}
|
|
2377
|
+
return card;
|
|
2378
|
+
}
|
|
1928
2379
|
function resolveAssistantProviderTranscriptText(input) {
|
|
1929
2380
|
if (input.response === null) {
|
|
1930
2381
|
return null;
|
|
@@ -1972,9 +2423,8 @@ async function deliverAssistantProviderReactions(input) {
|
|
|
1972
2423
|
let reactionInput;
|
|
1973
2424
|
try {
|
|
1974
2425
|
reactionInput = await applyAssistantAcceptedMessageTargetToDeliveryInput({
|
|
1975
|
-
|
|
2426
|
+
acceptedInputIds: input.acceptedInputIdsByDeliveryContextOrdinal[reaction.deliveryContextOrdinal] ?? [],
|
|
1976
2427
|
action: 'reaction',
|
|
1977
|
-
deliveryContextOrdinal: reaction.deliveryContextOrdinal,
|
|
1978
2428
|
input: baseReactionInput,
|
|
1979
2429
|
session: deliverySession,
|
|
1980
2430
|
sharedPlan: input.sharedPlan,
|
|
@@ -2008,9 +2458,8 @@ async function deliverAssistantProviderReactions(input) {
|
|
|
2008
2458
|
};
|
|
2009
2459
|
}
|
|
2010
2460
|
async function applyAssistantAcceptedMessageTargetToDeliveryInput(input) {
|
|
2011
|
-
const acceptedInputIds = input.acceptedInputIdsByDeliveryContextOrdinal[input.deliveryContextOrdinal];
|
|
2012
2461
|
const target = await resolveAssistantAcceptedMessageTarget({
|
|
2013
|
-
acceptedInputIds: acceptedInputIds
|
|
2462
|
+
acceptedInputIds: input.acceptedInputIds,
|
|
2014
2463
|
action: input.action,
|
|
2015
2464
|
messageRef: input.targetInputId,
|
|
2016
2465
|
route: resolveAssistantCurrentAudienceDeliveryFields({
|
|
@@ -2056,6 +2505,7 @@ function buildActiveTurnInput(input) {
|
|
|
2056
2505
|
input: input.input,
|
|
2057
2506
|
overrides: input.acceptedInput,
|
|
2058
2507
|
}),
|
|
2508
|
+
outboxAutomationContextReferences: null,
|
|
2059
2509
|
prompt: input.acceptedInput.prompt,
|
|
2060
2510
|
receiptMetadata: input.acceptedInput.receiptMetadata === undefined
|
|
2061
2511
|
? input.input.receiptMetadata
|