@murphai/hosted-execution 0.1.15 → 0.1.17
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/LICENSE +201 -674
- package/README.md +15 -14
- package/dist/auth.d.ts +11 -25
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +32 -76
- package/dist/auth.js.map +1 -1
- package/dist/builders.d.ts +3 -4
- package/dist/builders.d.ts.map +1 -1
- package/dist/builders.js +24 -24
- package/dist/builders.js.map +1 -1
- package/dist/bundles.d.ts +3 -13
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +1 -16
- package/dist/bundles.js.map +1 -1
- package/dist/client.d.ts +2 -26
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +38 -212
- package/dist/client.js.map +1 -1
- package/dist/contracts.d.ts +49 -118
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +15 -58
- package/dist/contracts.js.map +1 -1
- package/dist/dispatch-ref.d.ts +1 -2
- package/dist/dispatch-ref.d.ts.map +1 -1
- package/dist/dispatch-ref.js +16 -30
- package/dist/dispatch-ref.js.map +1 -1
- package/dist/env.d.ts +0 -38
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +1 -87
- package/dist/env.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/observability.d.ts +3 -1
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +76 -53
- package/dist/observability.js.map +1 -1
- package/dist/outbox-payload.d.ts +7 -5
- package/dist/outbox-payload.d.ts.map +1 -1
- package/dist/outbox-payload.js +75 -38
- package/dist/outbox-payload.js.map +1 -1
- package/dist/parsers.d.ts +10 -10
- package/dist/parsers.d.ts.map +1 -1
- package/dist/parsers.js +192 -139
- package/dist/parsers.js.map +1 -1
- package/dist/routes.d.ts +4 -9
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +7 -18
- package/dist/routes.js.map +1 -1
- package/node_modules/@murphai/core/README.md +3 -0
- package/node_modules/@murphai/core/dist/assessment/index.d.ts +5 -0
- package/node_modules/@murphai/core/dist/assessment/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/index.js +4 -0
- package/node_modules/@murphai/core/dist/assessment/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/project.d.ts +9 -0
- package/node_modules/@murphai/core/dist/assessment/project.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/project.js +353 -0
- package/node_modules/@murphai/core/dist/assessment/project.js.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/storage.d.ts +13 -0
- package/node_modules/@murphai/core/dist/assessment/storage.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/storage.js +202 -0
- package/node_modules/@murphai/core/dist/assessment/storage.js.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/types.d.ts +112 -0
- package/node_modules/@murphai/core/dist/assessment/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/assessment/types.js +5 -0
- package/node_modules/@murphai/core/dist/assessment/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/atomic-write.d.ts +5 -0
- package/node_modules/@murphai/core/dist/atomic-write.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/atomic-write.js +120 -0
- package/node_modules/@murphai/core/dist/atomic-write.js.map +1 -0
- package/node_modules/@murphai/core/dist/audit.d.ts +27 -0
- package/node_modules/@murphai/core/dist/audit.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/audit.js +94 -0
- package/node_modules/@murphai/core/dist/audit.js.map +1 -0
- package/node_modules/@murphai/core/dist/automation.d.ts +55 -0
- package/node_modules/@murphai/core/dist/automation.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/automation.js +411 -0
- package/node_modules/@murphai/core/dist/automation.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/allergies.d.ts +5 -0
- package/node_modules/@murphai/core/dist/bank/allergies.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/allergies.js +209 -0
- package/node_modules/@murphai/core/dist/bank/allergies.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/conditions.d.ts +5 -0
- package/node_modules/@murphai/core/dist/bank/conditions.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/conditions.js +249 -0
- package/node_modules/@murphai/core/dist/bank/conditions.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/foods.d.ts +8 -0
- package/node_modules/@murphai/core/dist/bank/foods.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/foods.js +255 -0
- package/node_modules/@murphai/core/dist/bank/foods.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/goals.d.ts +5 -0
- package/node_modules/@murphai/core/dist/bank/goals.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/goals.js +289 -0
- package/node_modules/@murphai/core/dist/bank/goals.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/index.d.ts +10 -0
- package/node_modules/@murphai/core/dist/bank/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/index.js +10 -0
- package/node_modules/@murphai/core/dist/bank/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/protocols.d.ts +8 -0
- package/node_modules/@murphai/core/dist/bank/protocols.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/protocols.js +466 -0
- package/node_modules/@murphai/core/dist/bank/protocols.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/providers.d.ts +46 -0
- package/node_modules/@murphai/core/dist/bank/providers.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/providers.js +160 -0
- package/node_modules/@murphai/core/dist/bank/providers.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/recipes.d.ts +8 -0
- package/node_modules/@murphai/core/dist/bank/recipes.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/recipes.js +287 -0
- package/node_modules/@murphai/core/dist/bank/recipes.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/shared.d.ts +39 -0
- package/node_modules/@murphai/core/dist/bank/shared.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/shared.js +150 -0
- package/node_modules/@murphai/core/dist/bank/shared.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/types.d.ts +469 -0
- package/node_modules/@murphai/core/dist/bank/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/types.js +35 -0
- package/node_modules/@murphai/core/dist/bank/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/bank/workout-formats.d.ts +5 -0
- package/node_modules/@murphai/core/dist/bank/workout-formats.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/bank/workout-formats.js +204 -0
- package/node_modules/@murphai/core/dist/bank/workout-formats.js.map +1 -0
- package/node_modules/@murphai/core/dist/canonical-mutations.d.ts +54 -0
- package/node_modules/@murphai/core/dist/canonical-mutations.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/canonical-mutations.js +196 -0
- package/node_modules/@murphai/core/dist/canonical-mutations.js.map +1 -0
- package/node_modules/@murphai/core/dist/constants.d.ts +125 -0
- package/node_modules/@murphai/core/dist/constants.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/constants.js +132 -0
- package/node_modules/@murphai/core/dist/constants.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/events.d.ts +100 -0
- package/node_modules/@murphai/core/dist/domains/events.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/events.js +593 -0
- package/node_modules/@murphai/core/dist/domains/events.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/experiments.d.ts +71 -0
- package/node_modules/@murphai/core/dist/domains/experiments.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/experiments.js +275 -0
- package/node_modules/@murphai/core/dist/domains/experiments.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/journal.d.ts +52 -0
- package/node_modules/@murphai/core/dist/domains/journal.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/journal.js +173 -0
- package/node_modules/@murphai/core/dist/domains/journal.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/shared.d.ts +37 -0
- package/node_modules/@murphai/core/dist/domains/shared.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/shared.js +101 -0
- package/node_modules/@murphai/core/dist/domains/shared.js.map +1 -0
- package/node_modules/@murphai/core/dist/domains/vault-summary.d.ts +15 -0
- package/node_modules/@murphai/core/dist/domains/vault-summary.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/domains/vault-summary.js +58 -0
- package/node_modules/@murphai/core/dist/domains/vault-summary.js.map +1 -0
- package/node_modules/@murphai/core/dist/errors.d.ts +8 -0
- package/node_modules/@murphai/core/dist/errors.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/errors.js +14 -0
- package/node_modules/@murphai/core/dist/errors.js.map +1 -0
- package/node_modules/@murphai/core/dist/event-attachments.d.ts +69 -0
- package/node_modules/@murphai/core/dist/event-attachments.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/event-attachments.js +202 -0
- package/node_modules/@murphai/core/dist/event-attachments.js.map +1 -0
- package/node_modules/@murphai/core/dist/event-links.d.ts +15 -0
- package/node_modules/@murphai/core/dist/event-links.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/event-links.js +54 -0
- package/node_modules/@murphai/core/dist/event-links.js.map +1 -0
- package/node_modules/@murphai/core/dist/family/api.d.ts +5 -0
- package/node_modules/@murphai/core/dist/family/api.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/family/api.js +221 -0
- package/node_modules/@murphai/core/dist/family/api.js.map +1 -0
- package/node_modules/@murphai/core/dist/family/index.d.ts +3 -0
- package/node_modules/@murphai/core/dist/family/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/family/index.js +3 -0
- package/node_modules/@murphai/core/dist/family/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/family/types.d.ts +34 -0
- package/node_modules/@murphai/core/dist/family/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/family/types.js +2 -0
- package/node_modules/@murphai/core/dist/family/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/frontmatter.d.ts +4 -0
- package/node_modules/@murphai/core/dist/frontmatter.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/frontmatter.js +99 -0
- package/node_modules/@murphai/core/dist/frontmatter.js.map +1 -0
- package/node_modules/@murphai/core/dist/fs.d.ts +22 -0
- package/node_modules/@murphai/core/dist/fs.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/fs.js +172 -0
- package/node_modules/@murphai/core/dist/fs.js.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/api.d.ts +5 -0
- package/node_modules/@murphai/core/dist/genetics/api.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/api.js +226 -0
- package/node_modules/@murphai/core/dist/genetics/api.js.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/index.d.ts +3 -0
- package/node_modules/@murphai/core/dist/genetics/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/index.js +3 -0
- package/node_modules/@murphai/core/dist/genetics/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/types.d.ts +40 -0
- package/node_modules/@murphai/core/dist/genetics/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/genetics/types.js +4 -0
- package/node_modules/@murphai/core/dist/genetics/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/history/api.d.ts +7 -0
- package/node_modules/@murphai/core/dist/history/api.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/history/api.js +473 -0
- package/node_modules/@murphai/core/dist/history/api.js.map +1 -0
- package/node_modules/@murphai/core/dist/history/event-spine.d.ts +41 -0
- package/node_modules/@murphai/core/dist/history/event-spine.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/history/event-spine.js +111 -0
- package/node_modules/@murphai/core/dist/history/event-spine.js.map +1 -0
- package/node_modules/@murphai/core/dist/history/index.d.ts +3 -0
- package/node_modules/@murphai/core/dist/history/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/history/index.js +3 -0
- package/node_modules/@murphai/core/dist/history/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/history/shared.d.ts +25 -0
- package/node_modules/@murphai/core/dist/history/shared.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/history/shared.js +144 -0
- package/node_modules/@murphai/core/dist/history/shared.js.map +1 -0
- package/node_modules/@murphai/core/dist/history/types.d.ts +127 -0
- package/node_modules/@murphai/core/dist/history/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/history/types.js +8 -0
- package/node_modules/@murphai/core/dist/history/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/ids.d.ts +3 -0
- package/node_modules/@murphai/core/dist/ids.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/ids.js +20 -0
- package/node_modules/@murphai/core/dist/ids.js.map +1 -0
- package/node_modules/@murphai/core/dist/index.d.ts +30 -0
- package/node_modules/@murphai/core/dist/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/index.js +23 -0
- package/node_modules/@murphai/core/dist/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/jsonl.d.ts +12 -0
- package/node_modules/@murphai/core/dist/jsonl.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/jsonl.js +40 -0
- package/node_modules/@murphai/core/dist/jsonl.js.map +1 -0
- package/node_modules/@murphai/core/dist/memory.d.ts +17 -0
- package/node_modules/@murphai/core/dist/memory.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/memory.js +72 -0
- package/node_modules/@murphai/core/dist/memory.js.map +1 -0
- package/node_modules/@murphai/core/dist/mutations.d.ts +150 -0
- package/node_modules/@murphai/core/dist/mutations.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/mutations.js +1109 -0
- package/node_modules/@murphai/core/dist/mutations.js.map +1 -0
- package/node_modules/@murphai/core/dist/operations/canonical-write-lock.d.ts +29 -0
- package/node_modules/@murphai/core/dist/operations/canonical-write-lock.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/operations/canonical-write-lock.js +164 -0
- package/node_modules/@murphai/core/dist/operations/canonical-write-lock.js.map +1 -0
- package/node_modules/@murphai/core/dist/operations/index.d.ts +5 -0
- package/node_modules/@murphai/core/dist/operations/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/operations/index.js +3 -0
- package/node_modules/@murphai/core/dist/operations/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/operations/raw-manifests.d.ts +33 -0
- package/node_modules/@murphai/core/dist/operations/raw-manifests.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/operations/raw-manifests.js +105 -0
- package/node_modules/@murphai/core/dist/operations/raw-manifests.js.map +1 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts +166 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.js +886 -0
- package/node_modules/@murphai/core/dist/operations/write-batch.js.map +1 -0
- package/node_modules/@murphai/core/dist/path-safety.d.ts +19 -0
- package/node_modules/@murphai/core/dist/path-safety.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/path-safety.js +193 -0
- package/node_modules/@murphai/core/dist/path-safety.js.map +1 -0
- package/node_modules/@murphai/core/dist/profile/index.d.ts +4 -0
- package/node_modules/@murphai/core/dist/profile/index.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/profile/index.js +3 -0
- package/node_modules/@murphai/core/dist/profile/index.js.map +1 -0
- package/node_modules/@murphai/core/dist/profile/storage.d.ts +41 -0
- package/node_modules/@murphai/core/dist/profile/storage.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/profile/storage.js +225 -0
- package/node_modules/@murphai/core/dist/profile/storage.js.map +1 -0
- package/node_modules/@murphai/core/dist/profile/types.d.ts +29 -0
- package/node_modules/@murphai/core/dist/profile/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/profile/types.js +8 -0
- package/node_modules/@murphai/core/dist/profile/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/public-mutations.d.ts +120 -0
- package/node_modules/@murphai/core/dist/public-mutations.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/public-mutations.js +275 -0
- package/node_modules/@murphai/core/dist/public-mutations.js.map +1 -0
- package/node_modules/@murphai/core/dist/raw.d.ts +28 -0
- package/node_modules/@murphai/core/dist/raw.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/raw.js +107 -0
- package/node_modules/@murphai/core/dist/raw.js.map +1 -0
- package/node_modules/@murphai/core/dist/registry/api.d.ts +80 -0
- package/node_modules/@murphai/core/dist/registry/api.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/registry/api.js +113 -0
- package/node_modules/@murphai/core/dist/registry/api.js.map +1 -0
- package/node_modules/@murphai/core/dist/registry/id-or-slug.d.ts +15 -0
- package/node_modules/@murphai/core/dist/registry/id-or-slug.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/registry/id-or-slug.js +9 -0
- package/node_modules/@murphai/core/dist/registry/id-or-slug.js.map +1 -0
- package/node_modules/@murphai/core/dist/registry/markdown.d.ts +101 -0
- package/node_modules/@murphai/core/dist/registry/markdown.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/registry/markdown.js +136 -0
- package/node_modules/@murphai/core/dist/registry/markdown.js.map +1 -0
- package/node_modules/@murphai/core/dist/shares.d.ts +36 -0
- package/node_modules/@murphai/core/dist/shares.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/shares.js +333 -0
- package/node_modules/@murphai/core/dist/shares.js.map +1 -0
- package/node_modules/@murphai/core/dist/storage-spine.d.ts +3 -0
- package/node_modules/@murphai/core/dist/storage-spine.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/storage-spine.js +3 -0
- package/node_modules/@murphai/core/dist/storage-spine.js.map +1 -0
- package/node_modules/@murphai/core/dist/time.d.ts +11 -0
- package/node_modules/@murphai/core/dist/time.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/time.js +72 -0
- package/node_modules/@murphai/core/dist/time.js.map +1 -0
- package/node_modules/@murphai/core/dist/types.d.ts +18 -0
- package/node_modules/@murphai/core/dist/types.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/types.js +7 -0
- package/node_modules/@murphai/core/dist/types.js.map +1 -0
- package/node_modules/@murphai/core/dist/vault-core-document.d.ts +8 -0
- package/node_modules/@murphai/core/dist/vault-core-document.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/vault-core-document.js +16 -0
- package/node_modules/@murphai/core/dist/vault-core-document.js.map +1 -0
- package/node_modules/@murphai/core/dist/vault-metadata.d.ts +17 -0
- package/node_modules/@murphai/core/dist/vault-metadata.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/vault-metadata.js +44 -0
- package/node_modules/@murphai/core/dist/vault-metadata.js.map +1 -0
- package/node_modules/@murphai/core/dist/vault-upgrade.d.ts +24 -0
- package/node_modules/@murphai/core/dist/vault-upgrade.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/vault-upgrade.js +44 -0
- package/node_modules/@murphai/core/dist/vault-upgrade.js.map +1 -0
- package/node_modules/@murphai/core/dist/vault.d.ts +40 -0
- package/node_modules/@murphai/core/dist/vault.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/vault.js +649 -0
- package/node_modules/@murphai/core/dist/vault.js.map +1 -0
- package/node_modules/@murphai/core/dist/write-policy.d.ts +63 -0
- package/node_modules/@murphai/core/dist/write-policy.d.ts.map +1 -0
- package/node_modules/@murphai/core/dist/write-policy.js +146 -0
- package/node_modules/@murphai/core/dist/write-policy.js.map +1 -0
- package/node_modules/@murphai/core/package.json +27 -0
- package/node_modules/@murphai/device-syncd/README.md +123 -0
- package/node_modules/@murphai/device-syncd/dist/bin.d.ts +2 -0
- package/node_modules/@murphai/device-syncd/dist/bin.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/bin.js +29 -0
- package/node_modules/@murphai/device-syncd/dist/bin.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/client.d.ts +124 -0
- package/node_modules/@murphai/device-syncd/dist/client.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/client.js +199 -0
- package/node_modules/@murphai/device-syncd/dist/client.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config.d.ts +18 -0
- package/node_modules/@murphai/device-syncd/dist/config.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/config.js +279 -0
- package/node_modules/@murphai/device-syncd/dist/config.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/crypto.d.ts +6 -0
- package/node_modules/@murphai/device-syncd/dist/crypto.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/crypto.js +27 -0
- package/node_modules/@murphai/device-syncd/dist/crypto.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/errors.d.ts +21 -0
- package/node_modules/@murphai/device-syncd/dist/errors.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/errors.js +32 -0
- package/node_modules/@murphai/device-syncd/dist/errors.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.js +110 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-hints.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts +139 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js +336 -0
- package/node_modules/@murphai/device-syncd/dist/hosted-runtime.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/http.d.ts +34 -0
- package/node_modules/@murphai/device-syncd/dist/http.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/http.js +644 -0
- package/node_modules/@murphai/device-syncd/dist/http.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/index.d.ts +23 -0
- package/node_modules/@murphai/device-syncd/dist/index.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/index.js +15 -0
- package/node_modules/@murphai/device-syncd/dist/index.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/garmin.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/providers/garmin.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/garmin.js +485 -0
- package/node_modules/@murphai/device-syncd/dist/providers/garmin.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura-webhooks.d.ts +49 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura-webhooks.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura-webhooks.js +401 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura-webhooks.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura.d.ts +20 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js +804 -0
- package/node_modules/@murphai/device-syncd/dist/providers/oura.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.d.ts +104 -0
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.js +214 -0
- package/node_modules/@murphai/device-syncd/dist/providers/shared-oauth.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.d.ts +15 -0
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js +551 -0
- package/node_modules/@murphai/device-syncd/dist/providers/whoop.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts +4 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.js +13 -0
- package/node_modules/@murphai/device-syncd/dist/public-account.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-ingress.d.ts +43 -0
- package/node_modules/@murphai/device-syncd/dist/public-ingress.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js +353 -0
- package/node_modules/@murphai/device-syncd/dist/public-ingress.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/registry.d.ts +3 -0
- package/node_modules/@murphai/device-syncd/dist/registry.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/registry.js +5 -0
- package/node_modules/@murphai/device-syncd/dist/registry.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/service.d.ts +61 -0
- package/node_modules/@murphai/device-syncd/dist/service.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/service.js +496 -0
- package/node_modules/@murphai/device-syncd/dist/service.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/shared.d.ts +26 -0
- package/node_modules/@murphai/device-syncd/dist/shared.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/shared.js +182 -0
- package/node_modules/@murphai/device-syncd/dist/shared.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/store.d.ts +105 -0
- package/node_modules/@murphai/device-syncd/dist/store.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/store.js +965 -0
- package/node_modules/@murphai/device-syncd/dist/store.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/types.d.ts +287 -0
- package/node_modules/@murphai/device-syncd/dist/types.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/types.js +2 -0
- package/node_modules/@murphai/device-syncd/dist/types.js.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/webhook-verification.d.ts +14 -0
- package/node_modules/@murphai/device-syncd/dist/webhook-verification.d.ts.map +1 -0
- package/node_modules/@murphai/device-syncd/dist/webhook-verification.js +16 -0
- package/node_modules/@murphai/device-syncd/dist/webhook-verification.js.map +1 -0
- package/node_modules/@murphai/device-syncd/package.json +85 -0
- package/node_modules/@murphai/importers/README.md +34 -0
- package/node_modules/@murphai/importers/dist/assessment/core-port.d.ts +13 -0
- package/node_modules/@murphai/importers/dist/assessment/core-port.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/assessment/core-port.js +13 -0
- package/node_modules/@murphai/importers/dist/assessment/core-port.js.map +1 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.d.ts +15 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.js +32 -0
- package/node_modules/@murphai/importers/dist/assessment/import-assessment-response.js.map +1 -0
- package/node_modules/@murphai/importers/dist/assessment/index.d.ts +4 -0
- package/node_modules/@murphai/importers/dist/assessment/index.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/assessment/index.js +2 -0
- package/node_modules/@murphai/importers/dist/assessment/index.js.map +1 -0
- package/node_modules/@murphai/importers/dist/core-port.d.ts +119 -0
- package/node_modules/@murphai/importers/dist/core-port.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/core-port.js +22 -0
- package/node_modules/@murphai/importers/dist/core-port.js.map +1 -0
- package/node_modules/@murphai/importers/dist/create-importers.d.ts +17 -0
- package/node_modules/@murphai/importers/dist/create-importers.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/create-importers.js +68 -0
- package/node_modules/@murphai/importers/dist/create-importers.js.map +1 -0
- package/node_modules/@murphai/importers/dist/csv-sample-importer.d.ts +22 -0
- package/node_modules/@murphai/importers/dist/csv-sample-importer.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/csv-sample-importer.js +153 -0
- package/node_modules/@murphai/importers/dist/csv-sample-importer.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/defaults.d.ts +5 -0
- package/node_modules/@murphai/importers/dist/device-providers/defaults.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/defaults.js +11 -0
- package/node_modules/@murphai/importers/dist/device-providers/defaults.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-activity-normalizers.d.ts +9 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-activity-normalizers.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-activity-normalizers.js +172 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-activity-normalizers.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-health-normalizers.d.ts +12 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-health-normalizers.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-health-normalizers.js +619 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-health-normalizers.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-helpers.d.ts +40 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-helpers.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-helpers.js +295 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin-helpers.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin.d.ts +19 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin.js +150 -0
- package/node_modules/@murphai/importers/dist/device-providers/garmin.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts +14 -0
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js +37 -0
- package/node_modules/@murphai/importers/dist/device-providers/import-device-provider-snapshot.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts +10 -0
- package/node_modules/@murphai/importers/dist/device-providers/index.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/index.js +8 -0
- package/node_modules/@murphai/importers/dist/device-providers/index.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/oura.d.ts +20 -0
- package/node_modules/@murphai/importers/dist/device-providers/oura.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/oura.js +602 -0
- package/node_modules/@murphai/importers/dist/device-providers/oura.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.d.ts +491 -0
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.js +326 -0
- package/node_modules/@murphai/importers/dist/device-providers/provider-descriptors.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/registry.d.ts +9 -0
- package/node_modules/@murphai/importers/dist/device-providers/registry.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/registry.js +5 -0
- package/node_modules/@murphai/importers/dist/device-providers/registry.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.d.ts +81 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js +215 -0
- package/node_modules/@murphai/importers/dist/device-providers/shared-normalization.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts +12 -0
- package/node_modules/@murphai/importers/dist/device-providers/types.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/types.js +2 -0
- package/node_modules/@murphai/importers/dist/device-providers/types.js.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/whoop.d.ts +16 -0
- package/node_modules/@murphai/importers/dist/device-providers/whoop.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/device-providers/whoop.js +410 -0
- package/node_modules/@murphai/importers/dist/device-providers/whoop.js.map +1 -0
- package/node_modules/@murphai/importers/dist/document-importer.d.ts +15 -0
- package/node_modules/@murphai/importers/dist/document-importer.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/document-importer.js +31 -0
- package/node_modules/@murphai/importers/dist/document-importer.js.map +1 -0
- package/node_modules/@murphai/importers/dist/index.d.ts +10 -0
- package/node_modules/@murphai/importers/dist/index.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/index.js +9 -0
- package/node_modules/@murphai/importers/dist/index.js.map +1 -0
- package/node_modules/@murphai/importers/dist/meal-importer.d.ts +15 -0
- package/node_modules/@murphai/importers/dist/meal-importer.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/meal-importer.js +39 -0
- package/node_modules/@murphai/importers/dist/meal-importer.js.map +1 -0
- package/node_modules/@murphai/importers/dist/preset-registry.d.ts +31 -0
- package/node_modules/@murphai/importers/dist/preset-registry.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/preset-registry.js +96 -0
- package/node_modules/@murphai/importers/dist/preset-registry.js.map +1 -0
- package/node_modules/@murphai/importers/dist/shared.d.ts +31 -0
- package/node_modules/@murphai/importers/dist/shared.d.ts.map +1 -0
- package/node_modules/@murphai/importers/dist/shared.js +154 -0
- package/node_modules/@murphai/importers/dist/shared.js.map +1 -0
- package/node_modules/@murphai/importers/package.json +36 -0
- package/node_modules/@murphai/runtime-state/README.md +37 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.js +80 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.d.ts +29 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.js +159 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state-security.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state.d.ts +33 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state.js +47 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-state.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-usage.d.ts +56 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-usage.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-usage.js +189 -0
- package/node_modules/@murphai/runtime-state/dist/assistant-usage.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/atomic-write.d.ts +7 -0
- package/node_modules/@murphai/runtime-state/dist/atomic-write.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/atomic-write.js +27 -0
- package/node_modules/@murphai/runtime-state/dist/atomic-write.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/device-sync-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/device-sync-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/device-sync-local-state-descriptors.js +12 -0
- package/node_modules/@murphai/runtime-state/dist/device-sync-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/gateway-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/gateway-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/gateway-local-state-descriptors.js +13 -0
- package/node_modules/@murphai/runtime-state/dist/gateway-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-node.d.ts +43 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-node.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-node.js +203 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-node.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-ref.d.ts +13 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-ref.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-ref.js +46 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle-ref.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle.d.ts +67 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle.js +261 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundle.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.d.ts +31 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js +211 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-bundles.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts +50 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js +191 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-email.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-env.d.ts +14 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-env.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-env.js +59 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-env.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-keys.d.ts +83 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-keys.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-keys.js +308 -0
- package/node_modules/@murphai/runtime-state/dist/hosted-user-keys.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/inbox-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/inbox-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/inbox-local-state-descriptors.js +18 -0
- package/node_modules/@murphai/runtime-state/dist/inbox-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/index.d.ts +7 -0
- package/node_modules/@murphai/runtime-state/dist/index.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/index.js +7 -0
- package/node_modules/@murphai/runtime-state/dist/index.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-helpers.d.ts +31 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-helpers.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-helpers.js +120 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-helpers.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.js +17 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-descriptor-manifests.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-files.d.ts +10 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-files.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-files.js +27 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-files.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-taxonomy.d.ts +29 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-taxonomy.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-taxonomy.js +82 -0
- package/node_modules/@murphai/runtime-state/dist/local-state-taxonomy.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/locks.d.ts +46 -0
- package/node_modules/@murphai/runtime-state/dist/locks.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/locks.js +187 -0
- package/node_modules/@murphai/runtime-state/dist/locks.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/loopback-control-plane.d.ts +4 -0
- package/node_modules/@murphai/runtime-state/dist/loopback-control-plane.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/loopback-control-plane.js +35 -0
- package/node_modules/@murphai/runtime-state/dist/loopback-control-plane.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/node/index.d.ts +22 -0
- package/node_modules/@murphai/runtime-state/dist/node/index.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/node/index.js +22 -0
- package/node_modules/@murphai/runtime-state/dist/node/index.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/parser-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/parser-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/parser-local-state-descriptors.js +12 -0
- package/node_modules/@murphai/runtime-state/dist/parser-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/process-env.d.ts +4 -0
- package/node_modules/@murphai/runtime-state/dist/process-env.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/process-env.js +124 -0
- package/node_modules/@murphai/runtime-state/dist/process-env.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/query-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/query-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/query-local-state-descriptors.js +13 -0
- package/node_modules/@murphai/runtime-state/dist/query-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.d.ts +48 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.js +93 -0
- package/node_modules/@murphai/runtime-state/dist/runtime-paths.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/shared.d.ts +14 -0
- package/node_modules/@murphai/runtime-state/dist/shared.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/shared.js +46 -0
- package/node_modules/@murphai/runtime-state/dist/shared.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/sqlite.d.ts +26 -0
- package/node_modules/@murphai/runtime-state/dist/sqlite.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/sqlite.js +110 -0
- package/node_modules/@murphai/runtime-state/dist/sqlite.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/ulid.d.ts +5 -0
- package/node_modules/@murphai/runtime-state/dist/ulid.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/ulid.js +31 -0
- package/node_modules/@murphai/runtime-state/dist/ulid.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-files.d.ts +24 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-files.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-files.js +30 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-files.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-state.d.ts +18 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-state.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-state.js +25 -0
- package/node_modules/@murphai/runtime-state/dist/versioned-json-state.js.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/write-operation-local-state-descriptors.d.ts +3 -0
- package/node_modules/@murphai/runtime-state/dist/write-operation-local-state-descriptors.d.ts.map +1 -0
- package/node_modules/@murphai/runtime-state/dist/write-operation-local-state-descriptors.js +12 -0
- package/node_modules/@murphai/runtime-state/dist/write-operation-local-state-descriptors.js.map +1 -0
- package/node_modules/@murphai/runtime-state/package.json +30 -0
- package/package.json +45 -11
- package/dist/.tsbuildinfo +0 -1
- package/dist/callback-hosts.d.ts +0 -19
- package/dist/callback-hosts.d.ts.map +0 -1
- package/dist/callback-hosts.js +0 -19
- package/dist/callback-hosts.js.map +0 -1
- package/dist/web-control-plane.d.ts +0 -105
- package/dist/web-control-plane.d.ts.map +0 -1
- package/dist/web-control-plane.js +0 -358
- package/dist/web-control-plane.js.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { VaultError } from "../errors.js";
|
|
2
|
+
import { sanitizePathSegment } from "../path-safety.js";
|
|
3
|
+
import { toDateOnly } from "../time.js";
|
|
4
|
+
import { bulletList, heading, normalizeId, normalizeSlug, optionalEnum, optionalInteger, optionalString, requireString, validateSortedStringList, } from "../history/shared.js";
|
|
5
|
+
export function stripUndefined(record) {
|
|
6
|
+
return Object.fromEntries(Object.entries(record).filter(([, value]) => value !== undefined));
|
|
7
|
+
}
|
|
8
|
+
export function frontmatterLinkObjects(links) {
|
|
9
|
+
if (!links || links.length === 0) {
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
return links.map((link) => ({
|
|
13
|
+
type: link.type,
|
|
14
|
+
targetId: link.targetId,
|
|
15
|
+
}));
|
|
16
|
+
}
|
|
17
|
+
export function requireObject(value, fieldName) {
|
|
18
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
19
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} must be an object.`);
|
|
20
|
+
}
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
export function normalizeDateOnly(value, fieldName) {
|
|
24
|
+
return toDateOnly(value, fieldName);
|
|
25
|
+
}
|
|
26
|
+
export function optionalDateOnly(value, fieldName) {
|
|
27
|
+
if (value === undefined || value === null || value === "") {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
return normalizeDateOnly(value, fieldName);
|
|
31
|
+
}
|
|
32
|
+
export function normalizeRecordIdList(value, fieldName, prefix, maxItems = 24) {
|
|
33
|
+
const values = validateSortedStringList(value, fieldName, "id", maxItems, 80);
|
|
34
|
+
if (!values) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
return values.map((entry, index) => normalizeId(entry, `${fieldName}[${index}]`, prefix));
|
|
38
|
+
}
|
|
39
|
+
export function normalizeDomainList(value, fieldName) {
|
|
40
|
+
const values = validateSortedStringList(value, fieldName, "domain", 24, 80);
|
|
41
|
+
if (!values) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
const normalized = values.map((entry, index) => {
|
|
45
|
+
const domain = sanitizePathSegment(entry, "");
|
|
46
|
+
if (!domain) {
|
|
47
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName}[${index}] could not be normalized.`);
|
|
48
|
+
}
|
|
49
|
+
return domain;
|
|
50
|
+
});
|
|
51
|
+
return [...new Set(normalized)].sort((left, right) => left.localeCompare(right));
|
|
52
|
+
}
|
|
53
|
+
export function normalizeUniqueTextList(value, fieldName, maxItems = 100, maxLength = 4000) {
|
|
54
|
+
if (value === undefined || value === null) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (!Array.isArray(value)) {
|
|
58
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} must be an array.`);
|
|
59
|
+
}
|
|
60
|
+
if (value.length > maxItems) {
|
|
61
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} exceeds the maximum item count.`);
|
|
62
|
+
}
|
|
63
|
+
const seen = new Set();
|
|
64
|
+
const normalized = [];
|
|
65
|
+
value.forEach((entry, index) => {
|
|
66
|
+
const item = requireString(entry, `${fieldName}[${index}]`, maxLength);
|
|
67
|
+
if (!seen.has(item)) {
|
|
68
|
+
seen.add(item);
|
|
69
|
+
normalized.push(item);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
return normalized.length > 0 ? normalized : undefined;
|
|
73
|
+
}
|
|
74
|
+
export function optionalFiniteNumber(value, fieldName, minimum, maximum) {
|
|
75
|
+
if (value === undefined || value === null) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (typeof value !== "number" || !Number.isFinite(value)) {
|
|
79
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} must be a finite number.`);
|
|
80
|
+
}
|
|
81
|
+
if (minimum !== undefined && value < minimum) {
|
|
82
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} must be >= ${minimum}.`);
|
|
83
|
+
}
|
|
84
|
+
if (maximum !== undefined && value > maximum) {
|
|
85
|
+
throw new VaultError("VAULT_INVALID_INPUT", `${fieldName} must be <= ${maximum}.`);
|
|
86
|
+
}
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
export function requireMatchingDocType(attributes, schemaVersion, docType, missingCode, missingMessage) {
|
|
90
|
+
if (requireString(attributes.schemaVersion, "schemaVersion", 64) !== schemaVersion ||
|
|
91
|
+
requireString(attributes.docType, "docType", 64) !== docType) {
|
|
92
|
+
throw new VaultError(missingCode, missingMessage);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export function normalizePriority(value) {
|
|
96
|
+
return optionalInteger(value ?? 5, "priority", 1, 10) ?? 5;
|
|
97
|
+
}
|
|
98
|
+
export function normalizeSelectorSlug(value) {
|
|
99
|
+
return value ? normalizeSlug(value, "slug") : undefined;
|
|
100
|
+
}
|
|
101
|
+
export function normalizeUpsertSelectorSlug(rawSlug, rawTitle) {
|
|
102
|
+
return normalizeSelectorSlug(rawSlug) ?? (rawTitle ? normalizeSlug(undefined, "slug", rawTitle) : undefined);
|
|
103
|
+
}
|
|
104
|
+
export function normalizeGroupPath(value, fallback) {
|
|
105
|
+
const rawValue = optionalString(value, "group", 160) ?? fallback;
|
|
106
|
+
const segments = rawValue
|
|
107
|
+
.replace(/\\/g, "/")
|
|
108
|
+
.split("/")
|
|
109
|
+
.map((segment) => sanitizePathSegment(segment, ""))
|
|
110
|
+
.filter(Boolean);
|
|
111
|
+
if (segments.length === 0) {
|
|
112
|
+
throw new VaultError("VAULT_INVALID_INPUT", "group could not be normalized.");
|
|
113
|
+
}
|
|
114
|
+
return segments.join("/");
|
|
115
|
+
}
|
|
116
|
+
export function section(title, body) {
|
|
117
|
+
return `${heading(title)}\n\n${body}`;
|
|
118
|
+
}
|
|
119
|
+
export function listSection(title, values) {
|
|
120
|
+
return section(title, bulletList(values));
|
|
121
|
+
}
|
|
122
|
+
export function buildMarkdownBody(title, summary, sections) {
|
|
123
|
+
return [`# ${title}`, summary, ...sections, ""].join("\n\n");
|
|
124
|
+
}
|
|
125
|
+
export function buildDocumentFromAttributes({ attributes, relativePath, markdown, buildBody, }) {
|
|
126
|
+
return {
|
|
127
|
+
attributes,
|
|
128
|
+
body: buildBody({
|
|
129
|
+
...attributes,
|
|
130
|
+
relativePath,
|
|
131
|
+
markdown: markdown ?? "",
|
|
132
|
+
}),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
export function detailList(entries) {
|
|
136
|
+
return bulletList(entries.map(([label, value]) => {
|
|
137
|
+
if (value === undefined || value === null || value === "") {
|
|
138
|
+
return `${label}: none`;
|
|
139
|
+
}
|
|
140
|
+
return `${label}: ${value}`;
|
|
141
|
+
}));
|
|
142
|
+
}
|
|
143
|
+
export function resolveOptionalUpsertValue(rawInputValue, persistedValue, normalize) {
|
|
144
|
+
return rawInputValue === undefined ? persistedValue : normalize(rawInputValue);
|
|
145
|
+
}
|
|
146
|
+
export function resolveRequiredUpsertValue(rawInputValue, persistedValue, defaultValue, normalize) {
|
|
147
|
+
return rawInputValue === undefined ? persistedValue ?? defaultValue : normalize(rawInputValue);
|
|
148
|
+
}
|
|
149
|
+
export { normalizeId, normalizeSlug, optionalEnum, optionalInteger, optionalString, requireString, validateSortedStringList, };
|
|
150
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/bank/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EACL,UAAU,EACV,OAAO,EACP,WAAW,EACX,aAAa,EACb,YAAY,EACZ,eAAe,EACf,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,UAAU,cAAc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,EACR,SAAS,GAMV;IACC,OAAO;QACL,UAAU;QACV,IAAI,EAAE,SAAS,CAAC;YACd,GAAI,UAAsC;YAC1C,YAAY;YACZ,QAAQ,EAAE,QAAQ,IAAI,EAAE;SACd,CAAC;KACd,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,OAA4D;IACrF,OAAO,UAAU,CACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE;QAC7B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;YAC1D,OAAO,GAAG,KAAK,QAAQ,CAAC;QAC1B,CAAC;QAED,OAAO,GAAG,KAAK,KAAK,KAAK,EAAE,CAAC;IAC9B,CAAC,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,aAAoC,EACpC,cAA2C,EAC3C,SAA4D;IAE5D,OAAO,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACjF,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,aAAoC,EACpC,cAA2C,EAC3C,YAA6B,EAC7B,SAAgD;IAEhD,OAAO,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,cAAc,IAAI,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACjG,CAAC;AAED,OAAO,EACL,WAAW,EACX,aAAa,EACb,YAAY,EACZ,eAAe,EACf,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,CAAC"}
|
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
import { type WorkoutTemplate, type MarkdownDocumentEnvelope as ContractMarkdownDocumentEnvelope, type StoredMarkdownDocument as ContractStoredMarkdownDocument } from "@murphai/contracts";
|
|
2
|
+
import type { DateInput } from "../types.ts";
|
|
3
|
+
export declare const GOAL_SCHEMA_VERSION: "murph.frontmatter.goal.v1";
|
|
4
|
+
export declare const GOAL_DOC_TYPE: "goal";
|
|
5
|
+
export declare const GOAL_STATUSES: readonly ["active", "paused", "completed", "abandoned"];
|
|
6
|
+
export declare const GOAL_HORIZONS: readonly ["short_term", "medium_term", "long_term", "ongoing"];
|
|
7
|
+
export declare const CONDITION_SCHEMA_VERSION: "murph.frontmatter.condition.v1";
|
|
8
|
+
export declare const CONDITION_DOC_TYPE: "condition";
|
|
9
|
+
export declare const CONDITION_CLINICAL_STATUSES: readonly ["active", "inactive", "resolved"];
|
|
10
|
+
export declare const CONDITION_VERIFICATION_STATUSES: readonly ["unconfirmed", "provisional", "confirmed", "refuted"];
|
|
11
|
+
export declare const CONDITION_SEVERITIES: readonly ["mild", "moderate", "severe"];
|
|
12
|
+
export declare const ALLERGY_SCHEMA_VERSION: "murph.frontmatter.allergy.v1";
|
|
13
|
+
export declare const ALLERGY_DOC_TYPE: "allergy";
|
|
14
|
+
export declare const ALLERGY_STATUSES: readonly ["active", "inactive", "resolved"];
|
|
15
|
+
export declare const ALLERGY_CRITICALITIES: readonly ["low", "high", "unable_to_assess"];
|
|
16
|
+
export declare const PROTOCOL_SCHEMA_VERSION: "murph.frontmatter.protocol.v1";
|
|
17
|
+
export declare const PROTOCOL_DOC_TYPE: "protocol";
|
|
18
|
+
export declare const PROTOCOL_KINDS: readonly ["medication", "supplement", "therapy", "habit"];
|
|
19
|
+
export declare const PROTOCOL_STATUSES: readonly ["active", "paused", "completed", "stopped"];
|
|
20
|
+
export declare const RECIPE_SCHEMA_VERSION: "murph.frontmatter.recipe.v1";
|
|
21
|
+
export declare const RECIPE_DOC_TYPE: "recipe";
|
|
22
|
+
export declare const RECIPE_STATUSES: readonly ["draft", "saved", "archived"];
|
|
23
|
+
export declare const FOOD_SCHEMA_VERSION: "murph.frontmatter.food.v1";
|
|
24
|
+
export declare const FOOD_DOC_TYPE: "food";
|
|
25
|
+
export declare const FOOD_STATUSES: readonly ["active", "archived"];
|
|
26
|
+
export declare const WORKOUT_FORMAT_SCHEMA_VERSION: "murph.frontmatter.workout-format.v1";
|
|
27
|
+
export declare const WORKOUT_FORMAT_DOC_TYPE: "workout_format";
|
|
28
|
+
export declare const WORKOUT_FORMAT_STATUSES: readonly ["active", "archived"];
|
|
29
|
+
export declare const GOALS_DIRECTORY = "bank/goals";
|
|
30
|
+
export declare const CONDITIONS_DIRECTORY = "bank/conditions";
|
|
31
|
+
export declare const ALLERGIES_DIRECTORY = "bank/allergies";
|
|
32
|
+
export declare const FOODS_DIRECTORY = "bank/foods";
|
|
33
|
+
export declare const RECIPES_DIRECTORY = "bank/recipes";
|
|
34
|
+
export declare const PROTOCOLS_DIRECTORY = "bank/protocols";
|
|
35
|
+
export declare const WORKOUT_FORMATS_DIRECTORY = "bank/workout-formats";
|
|
36
|
+
export type GoalStatus = (typeof GOAL_STATUSES)[number];
|
|
37
|
+
export type GoalHorizon = (typeof GOAL_HORIZONS)[number];
|
|
38
|
+
export type ConditionClinicalStatus = (typeof CONDITION_CLINICAL_STATUSES)[number];
|
|
39
|
+
export type ConditionVerificationStatus = (typeof CONDITION_VERIFICATION_STATUSES)[number];
|
|
40
|
+
export type ConditionSeverity = (typeof CONDITION_SEVERITIES)[number];
|
|
41
|
+
export type AllergyStatus = (typeof ALLERGY_STATUSES)[number];
|
|
42
|
+
export type AllergyCriticality = (typeof ALLERGY_CRITICALITIES)[number];
|
|
43
|
+
export type FoodStatus = (typeof FOOD_STATUSES)[number];
|
|
44
|
+
export type RecipeStatus = (typeof RECIPE_STATUSES)[number];
|
|
45
|
+
export type WorkoutFormatStatus = (typeof WORKOUT_FORMAT_STATUSES)[number];
|
|
46
|
+
export type ProtocolKind = (typeof PROTOCOL_KINDS)[number];
|
|
47
|
+
export type ProtocolStatus = (typeof PROTOCOL_STATUSES)[number];
|
|
48
|
+
export type MarkdownRegistryDocumentEnvelope = ContractMarkdownDocumentEnvelope;
|
|
49
|
+
export type StoredMarkdownRegistryEntity<TEntity> = ContractStoredMarkdownDocument<TEntity, MarkdownRegistryDocumentEnvelope>;
|
|
50
|
+
export interface FoodAutoLogDailyRule {
|
|
51
|
+
time: string;
|
|
52
|
+
}
|
|
53
|
+
export interface WorkoutFormatRecord {
|
|
54
|
+
schemaVersion: typeof WORKOUT_FORMAT_SCHEMA_VERSION;
|
|
55
|
+
docType: typeof WORKOUT_FORMAT_DOC_TYPE;
|
|
56
|
+
workoutFormatId: string;
|
|
57
|
+
slug: string;
|
|
58
|
+
title: string;
|
|
59
|
+
status: WorkoutFormatStatus;
|
|
60
|
+
summary?: string;
|
|
61
|
+
activityType: string;
|
|
62
|
+
durationMinutes?: number;
|
|
63
|
+
distanceKm?: number;
|
|
64
|
+
template: WorkoutTemplate;
|
|
65
|
+
tags?: string[];
|
|
66
|
+
note?: string;
|
|
67
|
+
templateText?: string;
|
|
68
|
+
relativePath: string;
|
|
69
|
+
markdown: string;
|
|
70
|
+
}
|
|
71
|
+
export interface UpsertWorkoutFormatInput {
|
|
72
|
+
vaultRoot: string;
|
|
73
|
+
workoutFormatId?: string;
|
|
74
|
+
slug?: string;
|
|
75
|
+
allowSlugRename?: boolean;
|
|
76
|
+
title?: string;
|
|
77
|
+
status?: WorkoutFormatStatus;
|
|
78
|
+
summary?: string;
|
|
79
|
+
activityType?: string;
|
|
80
|
+
durationMinutes?: number;
|
|
81
|
+
distanceKm?: number;
|
|
82
|
+
template?: WorkoutTemplate;
|
|
83
|
+
tags?: string[];
|
|
84
|
+
note?: string;
|
|
85
|
+
templateText?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface UpsertWorkoutFormatResult {
|
|
88
|
+
created: boolean;
|
|
89
|
+
auditPath: string;
|
|
90
|
+
record: WorkoutFormatRecord;
|
|
91
|
+
}
|
|
92
|
+
export interface ReadWorkoutFormatInput {
|
|
93
|
+
vaultRoot: string;
|
|
94
|
+
workoutFormatId?: string;
|
|
95
|
+
slug?: string;
|
|
96
|
+
}
|
|
97
|
+
export type FoodLinkType = "related_protocol";
|
|
98
|
+
export interface FoodLink {
|
|
99
|
+
type: FoodLinkType;
|
|
100
|
+
targetId: string;
|
|
101
|
+
}
|
|
102
|
+
export interface FoodRecord {
|
|
103
|
+
schemaVersion: typeof FOOD_SCHEMA_VERSION;
|
|
104
|
+
docType: typeof FOOD_DOC_TYPE;
|
|
105
|
+
foodId: string;
|
|
106
|
+
slug: string;
|
|
107
|
+
title: string;
|
|
108
|
+
status: FoodStatus;
|
|
109
|
+
summary?: string;
|
|
110
|
+
kind?: string;
|
|
111
|
+
brand?: string;
|
|
112
|
+
vendor?: string;
|
|
113
|
+
location?: string;
|
|
114
|
+
serving?: string;
|
|
115
|
+
aliases?: string[];
|
|
116
|
+
ingredients?: string[];
|
|
117
|
+
tags?: string[];
|
|
118
|
+
note?: string;
|
|
119
|
+
attachedProtocolIds?: string[];
|
|
120
|
+
links: FoodLink[];
|
|
121
|
+
autoLogDaily?: FoodAutoLogDailyRule;
|
|
122
|
+
relativePath: string;
|
|
123
|
+
markdown: string;
|
|
124
|
+
}
|
|
125
|
+
export interface UpsertFoodInput {
|
|
126
|
+
vaultRoot: string;
|
|
127
|
+
foodId?: string;
|
|
128
|
+
slug?: string;
|
|
129
|
+
allowSlugRename?: boolean;
|
|
130
|
+
title?: string;
|
|
131
|
+
status?: FoodStatus;
|
|
132
|
+
summary?: string;
|
|
133
|
+
kind?: string;
|
|
134
|
+
brand?: string;
|
|
135
|
+
vendor?: string;
|
|
136
|
+
location?: string;
|
|
137
|
+
serving?: string;
|
|
138
|
+
aliases?: string[];
|
|
139
|
+
ingredients?: string[];
|
|
140
|
+
tags?: string[];
|
|
141
|
+
note?: string;
|
|
142
|
+
attachedProtocolIds?: string[];
|
|
143
|
+
links?: FoodLink[];
|
|
144
|
+
autoLogDaily?: FoodAutoLogDailyRule | null;
|
|
145
|
+
}
|
|
146
|
+
export interface UpsertFoodResult {
|
|
147
|
+
created: boolean;
|
|
148
|
+
auditPath: string;
|
|
149
|
+
record: FoodRecord;
|
|
150
|
+
}
|
|
151
|
+
export interface DeleteFoodInput {
|
|
152
|
+
vaultRoot: string;
|
|
153
|
+
foodId?: string;
|
|
154
|
+
slug?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface DeleteFoodResult {
|
|
157
|
+
foodId: string;
|
|
158
|
+
relativePath: string;
|
|
159
|
+
deleted: true;
|
|
160
|
+
}
|
|
161
|
+
export interface ReadFoodInput {
|
|
162
|
+
vaultRoot: string;
|
|
163
|
+
foodId?: string;
|
|
164
|
+
slug?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface SupplementIngredientRecord {
|
|
167
|
+
compound: string;
|
|
168
|
+
label?: string;
|
|
169
|
+
amount?: number;
|
|
170
|
+
unit?: string;
|
|
171
|
+
active?: boolean;
|
|
172
|
+
note?: string;
|
|
173
|
+
}
|
|
174
|
+
export type RecipeLinkType = "supports_goal" | "addresses_condition";
|
|
175
|
+
export interface RecipeLink {
|
|
176
|
+
type: RecipeLinkType;
|
|
177
|
+
targetId: string;
|
|
178
|
+
}
|
|
179
|
+
export interface RecipeRecord {
|
|
180
|
+
schemaVersion: typeof RECIPE_SCHEMA_VERSION;
|
|
181
|
+
docType: typeof RECIPE_DOC_TYPE;
|
|
182
|
+
recipeId: string;
|
|
183
|
+
slug: string;
|
|
184
|
+
title: string;
|
|
185
|
+
status: RecipeStatus;
|
|
186
|
+
summary?: string;
|
|
187
|
+
cuisine?: string;
|
|
188
|
+
dishType?: string;
|
|
189
|
+
source?: string;
|
|
190
|
+
servings?: number;
|
|
191
|
+
prepTimeMinutes?: number;
|
|
192
|
+
cookTimeMinutes?: number;
|
|
193
|
+
totalTimeMinutes?: number;
|
|
194
|
+
tags?: string[];
|
|
195
|
+
ingredients?: string[];
|
|
196
|
+
steps?: string[];
|
|
197
|
+
relatedGoalIds?: string[];
|
|
198
|
+
relatedConditionIds?: string[];
|
|
199
|
+
links: RecipeLink[];
|
|
200
|
+
relativePath: string;
|
|
201
|
+
markdown: string;
|
|
202
|
+
}
|
|
203
|
+
export interface UpsertRecipeInput {
|
|
204
|
+
vaultRoot: string;
|
|
205
|
+
recipeId?: string;
|
|
206
|
+
allowSlugRename?: boolean;
|
|
207
|
+
slug?: string;
|
|
208
|
+
title?: string;
|
|
209
|
+
status?: RecipeStatus;
|
|
210
|
+
summary?: string;
|
|
211
|
+
cuisine?: string;
|
|
212
|
+
dishType?: string;
|
|
213
|
+
source?: string;
|
|
214
|
+
servings?: number | null;
|
|
215
|
+
prepTimeMinutes?: number | null;
|
|
216
|
+
cookTimeMinutes?: number | null;
|
|
217
|
+
totalTimeMinutes?: number | null;
|
|
218
|
+
tags?: string[];
|
|
219
|
+
ingredients?: string[];
|
|
220
|
+
steps?: string[];
|
|
221
|
+
relatedGoalIds?: string[];
|
|
222
|
+
relatedConditionIds?: string[];
|
|
223
|
+
links?: RecipeLink[];
|
|
224
|
+
}
|
|
225
|
+
export interface UpsertRecipeResult {
|
|
226
|
+
created: boolean;
|
|
227
|
+
auditPath: string;
|
|
228
|
+
record: RecipeRecord;
|
|
229
|
+
}
|
|
230
|
+
export interface DeleteRecipeInput {
|
|
231
|
+
vaultRoot: string;
|
|
232
|
+
recipeId?: string;
|
|
233
|
+
slug?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface DeleteRecipeResult {
|
|
236
|
+
recipeId: string;
|
|
237
|
+
relativePath: string;
|
|
238
|
+
deleted: true;
|
|
239
|
+
}
|
|
240
|
+
export interface ReadRecipeInput {
|
|
241
|
+
vaultRoot: string;
|
|
242
|
+
recipeId?: string;
|
|
243
|
+
slug?: string;
|
|
244
|
+
}
|
|
245
|
+
export interface GoalWindow {
|
|
246
|
+
startAt: string;
|
|
247
|
+
targetAt?: string;
|
|
248
|
+
}
|
|
249
|
+
export type GoalLinkType = "parent_goal" | "related_goal" | "related_experiment";
|
|
250
|
+
export interface GoalLink {
|
|
251
|
+
type: GoalLinkType;
|
|
252
|
+
targetId: string;
|
|
253
|
+
}
|
|
254
|
+
export interface GoalEntity {
|
|
255
|
+
schemaVersion: typeof GOAL_SCHEMA_VERSION;
|
|
256
|
+
docType: typeof GOAL_DOC_TYPE;
|
|
257
|
+
goalId: string;
|
|
258
|
+
slug: string;
|
|
259
|
+
title: string;
|
|
260
|
+
status: GoalStatus;
|
|
261
|
+
horizon: GoalHorizon;
|
|
262
|
+
priority: number;
|
|
263
|
+
window: GoalWindow;
|
|
264
|
+
parentGoalId?: string | null;
|
|
265
|
+
relatedGoalIds?: string[];
|
|
266
|
+
relatedExperimentIds?: string[];
|
|
267
|
+
domains?: string[];
|
|
268
|
+
links: GoalLink[];
|
|
269
|
+
}
|
|
270
|
+
export type GoalStoredDocument = StoredMarkdownRegistryEntity<GoalEntity>;
|
|
271
|
+
export interface UpsertGoalInput {
|
|
272
|
+
vaultRoot: string;
|
|
273
|
+
goalId?: string;
|
|
274
|
+
slug?: string;
|
|
275
|
+
title?: string;
|
|
276
|
+
status?: GoalStatus;
|
|
277
|
+
horizon?: GoalHorizon;
|
|
278
|
+
priority?: number;
|
|
279
|
+
window?: {
|
|
280
|
+
startAt?: DateInput;
|
|
281
|
+
targetAt?: DateInput;
|
|
282
|
+
};
|
|
283
|
+
parentGoalId?: string | null;
|
|
284
|
+
relatedGoalIds?: string[];
|
|
285
|
+
relatedExperimentIds?: string[];
|
|
286
|
+
links?: GoalLink[];
|
|
287
|
+
domains?: string[];
|
|
288
|
+
}
|
|
289
|
+
export interface UpsertGoalResult {
|
|
290
|
+
created: boolean;
|
|
291
|
+
auditPath: string;
|
|
292
|
+
record: GoalStoredDocument;
|
|
293
|
+
}
|
|
294
|
+
export interface ReadGoalInput {
|
|
295
|
+
vaultRoot: string;
|
|
296
|
+
goalId?: string;
|
|
297
|
+
slug?: string;
|
|
298
|
+
}
|
|
299
|
+
export type ConditionLinkType = "related_goal" | "related_protocol";
|
|
300
|
+
export interface ConditionLink {
|
|
301
|
+
type: ConditionLinkType;
|
|
302
|
+
targetId: string;
|
|
303
|
+
}
|
|
304
|
+
export interface ConditionEntity {
|
|
305
|
+
schemaVersion: typeof CONDITION_SCHEMA_VERSION;
|
|
306
|
+
docType: typeof CONDITION_DOC_TYPE;
|
|
307
|
+
conditionId: string;
|
|
308
|
+
slug: string;
|
|
309
|
+
title: string;
|
|
310
|
+
clinicalStatus: ConditionClinicalStatus;
|
|
311
|
+
verificationStatus?: ConditionVerificationStatus;
|
|
312
|
+
assertedOn?: string;
|
|
313
|
+
resolvedOn?: string;
|
|
314
|
+
severity?: ConditionSeverity;
|
|
315
|
+
bodySites?: string[];
|
|
316
|
+
relatedGoalIds?: string[];
|
|
317
|
+
relatedProtocolIds?: string[];
|
|
318
|
+
note?: string;
|
|
319
|
+
links: ConditionLink[];
|
|
320
|
+
}
|
|
321
|
+
export type ConditionStoredDocument = StoredMarkdownRegistryEntity<ConditionEntity>;
|
|
322
|
+
export interface UpsertConditionInput {
|
|
323
|
+
vaultRoot: string;
|
|
324
|
+
conditionId?: string;
|
|
325
|
+
slug?: string;
|
|
326
|
+
title?: string;
|
|
327
|
+
clinicalStatus?: ConditionClinicalStatus;
|
|
328
|
+
verificationStatus?: ConditionVerificationStatus;
|
|
329
|
+
assertedOn?: DateInput;
|
|
330
|
+
resolvedOn?: DateInput;
|
|
331
|
+
severity?: ConditionSeverity;
|
|
332
|
+
bodySites?: string[];
|
|
333
|
+
relatedGoalIds?: string[];
|
|
334
|
+
relatedProtocolIds?: string[];
|
|
335
|
+
links?: ConditionLink[];
|
|
336
|
+
note?: string;
|
|
337
|
+
}
|
|
338
|
+
export interface UpsertConditionResult {
|
|
339
|
+
created: boolean;
|
|
340
|
+
auditPath: string;
|
|
341
|
+
record: ConditionStoredDocument;
|
|
342
|
+
}
|
|
343
|
+
export interface ReadConditionInput {
|
|
344
|
+
vaultRoot: string;
|
|
345
|
+
conditionId?: string;
|
|
346
|
+
slug?: string;
|
|
347
|
+
}
|
|
348
|
+
export type AllergyLinkType = "related_condition";
|
|
349
|
+
export interface AllergyLink {
|
|
350
|
+
type: AllergyLinkType;
|
|
351
|
+
targetId: string;
|
|
352
|
+
}
|
|
353
|
+
export interface AllergyEntity {
|
|
354
|
+
schemaVersion: typeof ALLERGY_SCHEMA_VERSION;
|
|
355
|
+
docType: typeof ALLERGY_DOC_TYPE;
|
|
356
|
+
allergyId: string;
|
|
357
|
+
slug: string;
|
|
358
|
+
title: string;
|
|
359
|
+
substance: string;
|
|
360
|
+
status: AllergyStatus;
|
|
361
|
+
criticality?: AllergyCriticality;
|
|
362
|
+
reaction?: string;
|
|
363
|
+
recordedOn?: string;
|
|
364
|
+
relatedConditionIds?: string[];
|
|
365
|
+
note?: string;
|
|
366
|
+
links: AllergyLink[];
|
|
367
|
+
}
|
|
368
|
+
export type AllergyStoredDocument = StoredMarkdownRegistryEntity<AllergyEntity>;
|
|
369
|
+
export interface UpsertAllergyInput {
|
|
370
|
+
vaultRoot: string;
|
|
371
|
+
allergyId?: string;
|
|
372
|
+
slug?: string;
|
|
373
|
+
title?: string;
|
|
374
|
+
substance?: string;
|
|
375
|
+
status?: AllergyStatus;
|
|
376
|
+
criticality?: AllergyCriticality;
|
|
377
|
+
reaction?: string;
|
|
378
|
+
recordedOn?: DateInput;
|
|
379
|
+
relatedConditionIds?: string[];
|
|
380
|
+
links?: AllergyLink[];
|
|
381
|
+
note?: string;
|
|
382
|
+
}
|
|
383
|
+
export type ProtocolLinkType = "supports_goal" | "addresses_condition" | "related_protocol";
|
|
384
|
+
export interface ProtocolLink {
|
|
385
|
+
type: ProtocolLinkType;
|
|
386
|
+
targetId: string;
|
|
387
|
+
}
|
|
388
|
+
export interface UpsertAllergyResult {
|
|
389
|
+
created: boolean;
|
|
390
|
+
auditPath: string;
|
|
391
|
+
record: AllergyStoredDocument;
|
|
392
|
+
}
|
|
393
|
+
export interface ReadAllergyInput {
|
|
394
|
+
vaultRoot: string;
|
|
395
|
+
allergyId?: string;
|
|
396
|
+
slug?: string;
|
|
397
|
+
}
|
|
398
|
+
export interface ProtocolItemEntity {
|
|
399
|
+
schemaVersion: typeof PROTOCOL_SCHEMA_VERSION;
|
|
400
|
+
docType: typeof PROTOCOL_DOC_TYPE;
|
|
401
|
+
protocolId: string;
|
|
402
|
+
slug: string;
|
|
403
|
+
title: string;
|
|
404
|
+
kind: ProtocolKind;
|
|
405
|
+
status: ProtocolStatus;
|
|
406
|
+
startedOn: string;
|
|
407
|
+
stoppedOn?: string;
|
|
408
|
+
substance?: string;
|
|
409
|
+
dose?: number;
|
|
410
|
+
unit?: string;
|
|
411
|
+
schedule?: string;
|
|
412
|
+
brand?: string;
|
|
413
|
+
manufacturer?: string;
|
|
414
|
+
servingSize?: string;
|
|
415
|
+
ingredients?: SupplementIngredientRecord[];
|
|
416
|
+
relatedGoalIds?: string[];
|
|
417
|
+
relatedConditionIds?: string[];
|
|
418
|
+
relatedProtocolIds?: string[];
|
|
419
|
+
links: ProtocolLink[];
|
|
420
|
+
group: string;
|
|
421
|
+
}
|
|
422
|
+
export type ProtocolItemStoredDocument = StoredMarkdownRegistryEntity<ProtocolItemEntity>;
|
|
423
|
+
export interface UpsertProtocolItemInput {
|
|
424
|
+
vaultRoot: string;
|
|
425
|
+
protocolId?: string;
|
|
426
|
+
slug?: string;
|
|
427
|
+
allowSlugRename?: boolean;
|
|
428
|
+
title?: string;
|
|
429
|
+
kind?: ProtocolKind;
|
|
430
|
+
status?: ProtocolStatus;
|
|
431
|
+
startedOn?: DateInput;
|
|
432
|
+
stoppedOn?: DateInput;
|
|
433
|
+
substance?: string;
|
|
434
|
+
dose?: number;
|
|
435
|
+
unit?: string;
|
|
436
|
+
schedule?: string;
|
|
437
|
+
brand?: string;
|
|
438
|
+
manufacturer?: string;
|
|
439
|
+
servingSize?: string;
|
|
440
|
+
ingredients?: SupplementIngredientRecord[];
|
|
441
|
+
relatedGoalIds?: string[];
|
|
442
|
+
relatedConditionIds?: string[];
|
|
443
|
+
relatedProtocolIds?: string[];
|
|
444
|
+
links?: ProtocolLink[];
|
|
445
|
+
group?: string;
|
|
446
|
+
}
|
|
447
|
+
export interface UpsertProtocolItemResult {
|
|
448
|
+
created: boolean;
|
|
449
|
+
auditPath: string;
|
|
450
|
+
record: ProtocolItemStoredDocument;
|
|
451
|
+
}
|
|
452
|
+
export interface ReadProtocolItemInput {
|
|
453
|
+
vaultRoot: string;
|
|
454
|
+
protocolId?: string;
|
|
455
|
+
slug?: string;
|
|
456
|
+
group?: string;
|
|
457
|
+
}
|
|
458
|
+
export interface StopProtocolItemInput {
|
|
459
|
+
vaultRoot: string;
|
|
460
|
+
protocolId?: string;
|
|
461
|
+
slug?: string;
|
|
462
|
+
group?: string;
|
|
463
|
+
stoppedOn?: DateInput;
|
|
464
|
+
}
|
|
465
|
+
export interface StopProtocolItemResult {
|
|
466
|
+
auditPath: string;
|
|
467
|
+
record: ProtocolItemStoredDocument;
|
|
468
|
+
}
|
|
469
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/bank/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAeL,KAAK,eAAe,EACpB,KAAK,wBAAwB,IAAI,gCAAgC,EACjE,KAAK,sBAAsB,IAAI,8BAA8B,EAC9D,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,mBAAmB,6BAA0C,CAAC;AAC3E,eAAO,MAAM,aAAa,QAA6B,CAAC;AACxD,eAAO,MAAM,aAAa,yDAAyB,CAAC;AACpD,eAAO,MAAM,aAAa,gEAAyB,CAAC;AAEpD,eAAO,MAAM,wBAAwB,kCAA+C,CAAC;AACrF,eAAO,MAAM,kBAAkB,aAAkC,CAAC;AAClE,eAAO,MAAM,2BAA2B,6CAAuC,CAAC;AAChF,eAAO,MAAM,+BAA+B,iEAA2C,CAAC;AACxF,eAAO,MAAM,oBAAoB,yCAAgC,CAAC;AAElE,eAAO,MAAM,sBAAsB,gCAA6C,CAAC;AACjF,eAAO,MA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