@murphai/murph 0.1.1 → 0.1.14
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 +174 -0
- package/README.md +103 -60
- package/dist/.tsbuildinfo +1 -1
- package/dist/assistant/ui/ink.d.ts.map +1 -1
- package/dist/assistant/ui/ink.js +2 -3
- package/dist/assistant/ui/ink.js.map +1 -1
- package/dist/assistant-runtime.d.ts +0 -2
- package/dist/assistant-runtime.d.ts.map +1 -1
- package/dist/assistant-runtime.js +0 -1
- package/dist/assistant-runtime.js.map +1 -1
- package/dist/commands/device.js +1 -1
- package/dist/commands/device.js.map +1 -1
- package/dist/commands/export-intake-read-helpers.d.ts +1 -1
- package/dist/commands/knowledge.d.ts +3 -0
- package/dist/commands/knowledge.d.ts.map +1 -0
- package/dist/commands/knowledge.js +163 -0
- package/dist/commands/knowledge.js.map +1 -0
- package/dist/commands/wearables.d.ts +4985 -0
- package/dist/commands/wearables.d.ts.map +1 -0
- package/dist/commands/wearables.js +355 -0
- package/dist/commands/wearables.js.map +1 -0
- package/dist/commands/workout.d.ts.map +1 -1
- package/dist/commands/workout.js +330 -28
- package/dist/commands/workout.js.map +1 -1
- package/dist/incur-error-bridge.d.ts +2 -0
- package/dist/incur-error-bridge.d.ts.map +1 -0
- package/dist/incur-error-bridge.js +25 -0
- package/dist/incur-error-bridge.js.map +1 -0
- package/dist/incur.generated.d.ts +118 -1
- package/dist/incur.generated.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/knowledge-cli-contracts.d.ts +167 -0
- package/dist/knowledge-cli-contracts.d.ts.map +1 -0
- package/dist/knowledge-cli-contracts.js +73 -0
- package/dist/knowledge-cli-contracts.js.map +1 -0
- package/dist/research-runtime.d.ts +3 -40
- package/dist/research-runtime.d.ts.map +1 -1
- package/dist/research-runtime.js +54 -253
- package/dist/research-runtime.js.map +1 -1
- package/dist/review-gpt-runtime.d.ts +85 -0
- package/dist/review-gpt-runtime.d.ts.map +1 -0
- package/dist/review-gpt-runtime.js +239 -0
- package/dist/review-gpt-runtime.js.map +1 -0
- package/dist/setup-assistant.d.ts +1 -0
- package/dist/setup-assistant.d.ts.map +1 -1
- package/dist/setup-assistant.js +2 -1
- package/dist/setup-assistant.js.map +1 -1
- package/dist/setup-cli.d.ts.map +1 -1
- package/dist/setup-cli.js +10 -1
- package/dist/setup-cli.js.map +1 -1
- package/dist/setup-wizard.d.ts.map +1 -1
- package/dist/setup-wizard.js +26 -7
- package/dist/setup-wizard.js.map +1 -1
- package/dist/usecases/workout-artifacts.d.ts +21 -0
- package/dist/usecases/workout-artifacts.d.ts.map +1 -0
- package/dist/usecases/workout-artifacts.js +149 -0
- package/dist/usecases/workout-artifacts.js.map +1 -0
- package/dist/usecases/workout-format.d.ts +92 -10
- package/dist/usecases/workout-format.d.ts.map +1 -1
- package/dist/usecases/workout-format.js +211 -391
- package/dist/usecases/workout-format.js.map +1 -1
- package/dist/usecases/workout-import.d.ts +36 -0
- package/dist/usecases/workout-import.d.ts.map +1 -0
- package/dist/usecases/workout-import.js +587 -0
- package/dist/usecases/workout-import.js.map +1 -0
- package/dist/usecases/workout-measurement.d.ts +66 -0
- package/dist/usecases/workout-measurement.d.ts.map +1 -0
- package/dist/usecases/workout-measurement.js +285 -0
- package/dist/usecases/workout-measurement.js.map +1 -0
- package/dist/usecases/workout-model.d.ts +15 -0
- package/dist/usecases/workout-model.d.ts.map +1 -0
- package/dist/usecases/workout-model.js +161 -0
- package/dist/usecases/workout-model.js.map +1 -0
- package/dist/usecases/workout.d.ts +57 -20
- package/dist/usecases/workout.d.ts.map +1 -1
- package/dist/usecases/workout.js +360 -214
- package/dist/usecases/workout.js.map +1 -1
- package/dist/vault-cli-command-manifest.d.ts +5171 -3
- package/dist/vault-cli-command-manifest.d.ts.map +1 -1
- package/dist/vault-cli-command-manifest.js +140 -3
- package/dist/vault-cli-command-manifest.js.map +1 -1
- package/dist/vault-cli.d.ts.map +1 -1
- package/dist/vault-cli.js +2 -0
- package/dist/vault-cli.js.map +1 -1
- package/package.json +22 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,180 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@murphai/murph` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.1.14] - 2026-04-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- add best-effort assistant typing indicators across supported messaging channels
|
|
9
|
+
- add hosted per-user root-key envelopes and browser-compatible user-key helpers for future unlock flows
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- harden hosted execution control with signed control routes, per-run runner tokens, and safer per-user key handling
|
|
13
|
+
- keep hosted user-envelope reads greenfield-safe while preserving the new hosted key model
|
|
14
|
+
- restore hosted verification stability by fixing Cloudflare control-path regressions and stale hosted-web smoke-process cleanup
|
|
15
|
+
- align hosted Linq integrations with the current v3 API, canonical snapshots, and v3 media payloads
|
|
16
|
+
- harden the hosted install script for stock macOS Bash
|
|
17
|
+
- tighten assistant onboarding so first-contact guidance runs once, uses clearer copy, and keeps knowledge tools available on provider turns
|
|
18
|
+
- support Venice defaults in hosted assistant configuration
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- move knowledge runtime ownership into `assistant-core` and tighten knowledge validation
|
|
22
|
+
- centralize first-contact finalization in the assistant runtime
|
|
23
|
+
- refactor the hosted homepage into composable sections and refresh the landing-page copy
|
|
24
|
+
|
|
25
|
+
## [0.1.13] - 2026-04-04
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- No user-facing changes recorded.
|
|
29
|
+
|
|
30
|
+
## [0.1.12] - 2026-04-04
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- No user-facing changes recorded.
|
|
34
|
+
|
|
35
|
+
## [0.1.11] - 2026-04-04
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
- harden hosted storage confidentiality
|
|
39
|
+
- restore knowledge metadata fallback
|
|
40
|
+
- align refresh semantics and guidance
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
- set npm scope for publish
|
|
44
|
+
- use latest node and npm
|
|
45
|
+
- make knowledge compile assistant-authored
|
|
46
|
+
- bootstrap package trust bindings
|
|
47
|
+
- finish knowledge helper extraction
|
|
48
|
+
|
|
49
|
+
## [0.1.10] - 2026-04-04
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
- restore trusted publishing flow
|
|
53
|
+
- speed up release checks
|
|
54
|
+
- share canonical knowledge model
|
|
55
|
+
|
|
56
|
+
## [0.1.9] - 2026-04-04
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
- clear empty npm auth fallback
|
|
60
|
+
|
|
61
|
+
## [0.1.8] - 2026-04-03
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
- drop npm self-update from publish workflow
|
|
65
|
+
|
|
66
|
+
## [0.1.7] - 2026-04-03
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
- restore npm token fallback
|
|
70
|
+
|
|
71
|
+
## [0.1.6] - 2026-04-03
|
|
72
|
+
|
|
73
|
+
### Added
|
|
74
|
+
- harden wiki runtime
|
|
75
|
+
- add wiki search surface
|
|
76
|
+
- add derived knowledge wiki
|
|
77
|
+
- add calm device sync sources
|
|
78
|
+
- add wearables query surfaces
|
|
79
|
+
- add workout measurements media and units
|
|
80
|
+
- add web pdf read tool
|
|
81
|
+
- add guarded web fetch tool
|
|
82
|
+
- land data model cutover
|
|
83
|
+
- add web search tool
|
|
84
|
+
- land Garmin provider and green checks
|
|
85
|
+
- move hosted auth to privy request tokens
|
|
86
|
+
|
|
87
|
+
### Fixed
|
|
88
|
+
- expose time helpers for package verification
|
|
89
|
+
- harden public sender ingress
|
|
90
|
+
- tighten hosted callback/runtime guards
|
|
91
|
+
- encrypt hosted gateway durable state
|
|
92
|
+
- land pro cleanup patch
|
|
93
|
+
- simplify hosted email routes
|
|
94
|
+
- land crypto hardening patch
|
|
95
|
+
- add hosted email public sender routing
|
|
96
|
+
- keep next config self-contained
|
|
97
|
+
- allow Privy custom auth domains in csp
|
|
98
|
+
- wire hosted brave web search
|
|
99
|
+
- default hosted web reads on
|
|
100
|
+
- pin vetted web fetch destinations
|
|
101
|
+
- defer node require helpers
|
|
102
|
+
- prebuild workspace before rollout
|
|
103
|
+
- inherit canonical script path aliases
|
|
104
|
+
- keep web fetch tools always on
|
|
105
|
+
- align inbox subpath ts paths
|
|
106
|
+
- narrow inbox runtime bundle surface
|
|
107
|
+
- harden web fetch and pdf tools
|
|
108
|
+
- stabilize repo green checks
|
|
109
|
+
- remove hosted agentmail env
|
|
110
|
+
- bake whisper into hosted runner
|
|
111
|
+
- wire hosted email deploy config
|
|
112
|
+
|
|
113
|
+
### Changed
|
|
114
|
+
- split query search helpers
|
|
115
|
+
- hard cut over ingress routes
|
|
116
|
+
- land queued web and runtime updates
|
|
117
|
+
- update review-gpt to 0.5.30
|
|
118
|
+
- record wearables semantic correctness completion
|
|
119
|
+
- unify descriptor and wearables policy seams
|
|
120
|
+
- remove transcript distillation
|
|
121
|
+
- remove docs drift from default test lane
|
|
122
|
+
- add contribution kit
|
|
123
|
+
- unify shared descriptors
|
|
124
|
+
- hard-cut hosted web control host allowlist
|
|
125
|
+
- remove stale paddleocr deploy residue
|
|
126
|
+
- align deploy workflow default
|
|
127
|
+
- raise hosted runner baseline
|
|
128
|
+
- remove hosted assistant automation opt-out
|
|
129
|
+
- clear stale coordination ledger
|
|
130
|
+
- clear completed ledger row
|
|
131
|
+
- remove doc inventory
|
|
132
|
+
- remove legacy fallback paths
|
|
133
|
+
- split web search module
|
|
134
|
+
- normalize runner bundle slot storage
|
|
135
|
+
- bump review-gpt to v0.5.24
|
|
136
|
+
- remove npm token fallback
|
|
137
|
+
- remove hosted session helpers
|
|
138
|
+
- narrow shared export surfaces
|
|
139
|
+
- clear completed review-gpt row
|
|
140
|
+
- land pro audit patch set
|
|
141
|
+
|
|
142
|
+
## [0.1.5] - 2026-04-02
|
|
143
|
+
|
|
144
|
+
### Fixed
|
|
145
|
+
- unblock hosted web and package publish
|
|
146
|
+
|
|
147
|
+
### Changed
|
|
148
|
+
- disable dependabot
|
|
149
|
+
|
|
150
|
+
## [0.1.4] - 2026-04-02
|
|
151
|
+
|
|
152
|
+
### Fixed
|
|
153
|
+
- tune first-turn onboarding prompt
|
|
154
|
+
- default codex reasoning to medium
|
|
155
|
+
- omit empty npm tag in publish workflow
|
|
156
|
+
- drop onboarding tone prompt
|
|
157
|
+
|
|
158
|
+
### Changed
|
|
159
|
+
- clear finished boundary-cleanup ledger row
|
|
160
|
+
- clean parser and gateway boundaries
|
|
161
|
+
|
|
162
|
+
## [0.1.3] - 2026-04-02
|
|
163
|
+
|
|
164
|
+
### Fixed
|
|
165
|
+
- soften first-turn and memory prompt guidance
|
|
166
|
+
- support hosted inbound attachments
|
|
167
|
+
|
|
168
|
+
### Changed
|
|
169
|
+
- move gateway and assistant schemas to zod
|
|
170
|
+
- centralize system prompt
|
|
171
|
+
- clarify npm package messaging
|
|
172
|
+
|
|
173
|
+
## [0.1.2] - 2026-04-02
|
|
174
|
+
|
|
175
|
+
### Changed
|
|
176
|
+
- stop tracking generated doc inventory
|
|
177
|
+
- add patch rc shortcut
|
|
178
|
+
|
|
5
179
|
## [0.1.1] - 2026-04-02
|
|
6
180
|
|
|
7
181
|
### Added
|
package/README.md
CHANGED
|
@@ -1,31 +1,89 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
# Murph - Personal Health Assistant
|
|
2
|
+
|
|
3
|
+
Murph is your personal health assistant.
|
|
4
|
+
|
|
5
|
+
Install this package to get the main `murph` command and the full local Murph experience: onboarding, vault setup, local assistant chat, inbox capture, parser tooling, and the always-on assistant loop.
|
|
6
|
+
|
|
7
|
+
The repo implementation happens to live in `packages/cli`, but that is a maintainer detail. For users, `@murphai/murph` is the installable Murph package.
|
|
8
|
+
|
|
9
|
+
[Repository](https://github.com/cobuildwithus/murph) · [Architecture](https://github.com/cobuildwithus/murph/blob/main/ARCHITECTURE.md) · [Hosted control plane](https://github.com/cobuildwithus/murph/blob/main/apps/web/README.md) · [Hosted execution](https://github.com/cobuildwithus/murph/blob/main/apps/cloudflare/README.md)
|
|
10
|
+
|
|
11
|
+
If you want a local, inspectable assistant that keeps durable truth in normal files you can read, this is the package you install.
|
|
12
|
+
|
|
13
|
+
Runtime: Node `>= 22.16.0`.
|
|
14
|
+
|
|
15
|
+
Supported host setup path: macOS and Linux. iMessage remains macOS-only.
|
|
16
|
+
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install -g @murphai/murph@latest
|
|
21
|
+
# or
|
|
22
|
+
pnpm add -g @murphai/murph@latest
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Quick start
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
murph onboard
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`murph onboard` installs or reuses the local parser dependencies, initializes a vault, saves that vault as the default Murph vault for later commands, and walks through assistant, channel, and optional wearable setup.
|
|
32
|
+
|
|
33
|
+
Once setup is complete, the main commands are:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
murph chat
|
|
37
|
+
murph run
|
|
38
|
+
murph status
|
|
39
|
+
vault-cli inbox doctor
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`vault-cli` is still available as a secondary alias for the operator surface, but `murph` is the primary command this package installs.
|
|
43
|
+
|
|
44
|
+
For durable local synthesis that should keep adding up inside the vault, use the derived knowledge wiki commands:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
vault-cli knowledge upsert --title "Sleep notes" --body "# Sleep notes\n\nMagnesium looked helpful for sleep continuity.\n" --source-path research/2026/04/sleep-note.md
|
|
48
|
+
vault-cli knowledge search "sleep magnesium"
|
|
49
|
+
vault-cli knowledge list
|
|
50
|
+
vault-cli knowledge lint
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## What you get
|
|
54
|
+
|
|
55
|
+
- a file-native health vault with canonical writes owned by `@murphai/core`
|
|
56
|
+
- local assistant chat, automation, status, cron, and outbox commands
|
|
57
|
+
- a non-canonical derived knowledge wiki you can upsert and inspect under `derived/knowledge/**`
|
|
58
|
+
- inbox capture, review, backfill, and parser-driven attachment extraction
|
|
59
|
+
- optional local device sync through `@murphai/device-syncd`
|
|
60
|
+
- optional local assistant daemon support through `@murphai/assistantd`
|
|
61
|
+
|
|
62
|
+
`@murphai/murph` is the installable local Murph product entrypoint. The wider monorepo also contains hosted control and execution apps, but those are repo internals rather than something npm users need to install directly.
|
|
63
|
+
|
|
64
|
+
## From source
|
|
65
|
+
|
|
66
|
+
If you are developing from a checkout instead of installing the published package:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pnpm install --frozen-lockfile
|
|
70
|
+
pnpm onboard --vault ./vault
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If `pnpm` is not available yet, use:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
./scripts/setup-host.sh --vault ./vault
|
|
77
|
+
```
|
|
23
78
|
|
|
24
79
|
## Config defaults
|
|
25
80
|
|
|
26
|
-
The
|
|
81
|
+
The CLI supports incur's built-in config loading for command option defaults. By default it searches `~/.config/murph/config.json` and then `~/.config/vault-cli/config.json`.
|
|
82
|
+
|
|
83
|
+
- `murph --config <path> ...` selects an explicit config file
|
|
84
|
+
- `murph --no-config ...` disables config loading for a single run
|
|
27
85
|
|
|
28
|
-
Config files only supply command `options`, following incur's nested `commands` shape. For example
|
|
86
|
+
Config files only supply command `options`, following incur's nested `commands` shape. For example:
|
|
29
87
|
|
|
30
88
|
```json
|
|
31
89
|
{
|
|
@@ -39,29 +97,26 @@ Config files only supply command `options`, following incur's nested `commands`
|
|
|
39
97
|
}
|
|
40
98
|
```
|
|
41
99
|
|
|
42
|
-
##
|
|
43
|
-
|
|
44
|
-
Once `@murphai/murph` is published, the installed-package onboarding path will be:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
murph onboard
|
|
48
|
-
```
|
|
100
|
+
## Maintainer notes
|
|
49
101
|
|
|
50
|
-
|
|
102
|
+
The package exports the CLI runtime plus assistant helper subpaths from `dist/**`, exposes both `murph` and `vault-cli` bins from the same built entrypoint, and keeps `src/index.ts` as the package entrypoint with `src/bin.ts` as the launcher.
|
|
51
103
|
|
|
52
|
-
|
|
104
|
+
Machine-facing callers should rely on incur's native envelope via `--verbose --format json` instead of a Murph-specific wrapper contract.
|
|
53
105
|
|
|
54
|
-
|
|
106
|
+
Current repo-local package responsibilities include:
|
|
55
107
|
|
|
56
|
-
|
|
108
|
+
- the command graph and onboarding flow
|
|
109
|
+
- local assistant command orchestration and Ink chat UI
|
|
110
|
+
- inbox and device command surfaces that delegate to headless owner packages
|
|
111
|
+
- CLI-only wrappers around shared packages such as `@murphai/assistant-core`, `@murphai/query`, `@murphai/inboxd`, and `@murphai/runtime-state`
|
|
57
112
|
|
|
58
|
-
## Release
|
|
113
|
+
## Release flow
|
|
59
114
|
|
|
60
|
-
Release
|
|
115
|
+
Release and publish actions remain user-operated. The monorepo release source of truth is `scripts/release-manifest.json`, and the normal entrypoints are:
|
|
61
116
|
|
|
62
117
|
```bash
|
|
63
118
|
pnpm release:check
|
|
64
|
-
pnpm release:patch
|
|
119
|
+
pnpm release:patch
|
|
65
120
|
```
|
|
66
121
|
|
|
67
122
|
Pre-release and exact-version flows use the same root script:
|
|
@@ -73,25 +128,13 @@ bash scripts/release.sh 0.1.0-rc.1 --dry-run
|
|
|
73
128
|
|
|
74
129
|
The release flow bumps every publishable package in the manifest to one shared version, updates `packages/cli/CHANGELOG.md`, writes `packages/cli/release-notes/v<version>.md`, and then creates a repository tag so `.github/workflows/release.yml` can pack and publish all tarballs in dependency order.
|
|
75
130
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- `@murphai/query`
|
|
87
|
-
- `@murphai/importers`
|
|
88
|
-
- `@murphai/device-syncd`
|
|
89
|
-
- `@murphai/inboxd`
|
|
90
|
-
- `@murphai/parsers`
|
|
91
|
-
- `@murphai/assistant-runtime`
|
|
92
|
-
- `@murphai/assistantd`
|
|
93
|
-
- `@murphai/murph`
|
|
94
|
-
|
|
95
|
-
`pnpm release:check` now installs with the frozen lockfile, builds the workspace, runs the repo checks, verifies that every workspace dependency in the publish set stays inside the publish set, and packs every publishable package with `pnpm pack`.
|
|
96
|
-
|
|
97
|
-
Trusted publishing still has to be configured on npm for each published package entry that this workflow will publish.
|
|
131
|
+
npm trusted publishing is configured per package on npm, not once per repository. Because this monorepo publishes multiple `@murphai/*` packages, maintainers should bootstrap those package-level trust bindings before relying on tag-driven release publication:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
pnpm release:trust:github -- --dry-run
|
|
135
|
+
pnpm release:trust:github -- --yes
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Those commands target the current publishable package set in `scripts/release-manifest.json` and bind each package to `cobuildwithus/murph` via `.github/workflows/release.yml`.
|
|
139
|
+
|
|
140
|
+
If a package is already bound to the wrong workflow or repository in npm, revoke that package's existing trust entry with `npm trust list` and `npm trust revoke`, then rerun `pnpm release:trust:github -- --yes`.
|