@mercuryo-ai/magicpay-home 0.1.6 → 0.1.8

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -11
  3. package/package.json +3 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Mercuryo AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,30 @@
1
1
  # @mercuryo-ai/magicpay-home
2
2
 
3
- Shared local home/config/state runtime contract for the MagicPay product CLIs.
3
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
4
 
5
- This package is a runtime helper dependency for:
5
+ Shared configuration and state management for the MagicPay CLI family.
6
6
 
7
- - `@mercuryo-ai/agentbrowse-cli`
8
- - `@mercuryo-ai/magicpay-cli`
9
- - `@mercuryo-ai/magicpay-agent-cli`
7
+ This package owns the `~/.magicpay` directory contract — configuration files,
8
+ browser session state, and workflow persistence — used by all three MagicPay
9
+ CLIs:
10
10
 
11
- It owns the shared `~/.magicpay` filesystem contract and exposes typed helpers
12
- for config paths, persisted browser session state, workflow state, and atomic
13
- filesystem writes.
11
+ - [`@mercuryo-ai/agentbrowse-cli`](https://www.npmjs.com/package/@mercuryo-ai/agentbrowse-cli) browser automation
12
+ - [`@mercuryo-ai/magicpay-cli`](https://www.npmjs.com/package/@mercuryo-ai/magicpay-cli) protected-form fills
13
+ - [`@mercuryo-ai/magicpay-agent-cli`](https://www.npmjs.com/package/@mercuryo-ai/magicpay-agent-cli) — combined browser + payment agent
14
14
 
15
- This package is not an end-user CLI and is not meant to be installed directly
16
- for standalone usage. It exists so the public CLI packages can consume one
17
- shared runtime contract without copying local-home logic into multiple packages.
15
+ ## Do I need to install this?
16
+
17
+ No. This package is pulled in automatically as a dependency of the CLIs above.
18
+ You don't need to install or configure it directly.
19
+
20
+ ## What it provides
21
+
22
+ - Typed helpers for `~/.magicpay/config.json` (API key, endpoints, feature
23
+ flags)
24
+ - Browser session persistence across process restarts
25
+ - Workflow state tracking for multi-step protected-form flows
26
+ - Atomic filesystem writes to prevent corruption from concurrent CLI runs
27
+
28
+ ## License
29
+
30
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercuryo-ai/magicpay-home",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Internal shared local home/config/state contract for MagicPay product CLIs",
@@ -14,8 +14,8 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@mercuryo-ai/magicpay-sdk": "0.1.0-test.5",
18
- "@mercuryo-ai/agentbrowse": "0.2.52"
17
+ "@mercuryo-ai/agentbrowse": "0.2.57",
18
+ "@mercuryo-ai/magicpay-sdk": "0.1.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^22.0.0",