@mcptoolshop/pathway 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +50 -0
  2. package/package.json +33 -33
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # @mcptoolshop/pathway
2
+
3
+ [![npm](https://img.shields.io/npm/v/@mcptoolshop/pathway)](https://www.npmjs.com/package/@mcptoolshop/pathway)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/mcp-tool-shop-org/pathway/blob/main/LICENSE)
5
+
6
+ **npm wrapper for [Pathway Core](https://github.com/mcp-tool-shop-org/pathway) — an append-only journey engine where undo never erases learning.**
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ npm install @mcptoolshop/pathway
12
+ ```
13
+
14
+ This package provides a CLI wrapper that installs and delegates to the Python `pathway-core` package.
15
+
16
+ ## Usage
17
+
18
+ ```bash
19
+ npx @mcptoolshop/pathway init
20
+ npx @mcptoolshop/pathway import sample_session.jsonl
21
+ npx @mcptoolshop/pathway state sess_001
22
+ npx @mcptoolshop/pathway serve
23
+ ```
24
+
25
+ ## What is Pathway?
26
+
27
+ Traditional undo rewrites history. Pathway doesn't.
28
+
29
+ When you backtrack in Pathway, you create a new event pointing backward — the original path remains. When you learn something on a failed path, that knowledge persists. Your mistakes teach you; they don't disappear.
30
+
31
+ ### Features
32
+
33
+ - **Append-only event log**: Events are never edited or deleted
34
+ - **Undo = pointer move**: Backtracking creates a new event and moves head
35
+ - **Learning persists**: Knowledge survives across backtracking and branches
36
+ - **Branching is first-class**: Git-like implicit divergence on new work after backtrack
37
+
38
+ ## Requirements
39
+
40
+ - Node.js >= 18
41
+ - Python 3.10+ (installed automatically via postinstall if needed)
42
+
43
+ ## Links
44
+
45
+ - [GitHub Repository](https://github.com/mcp-tool-shop-org/pathway)
46
+ - [PyPI Package](https://pypi.org/project/pathway-core/)
47
+
48
+ ## License
49
+
50
+ MIT
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
- {
2
- "name": "@mcptoolshop/pathway",
3
- "version": "0.2.1",
4
- "description": "npm wrapper for pathway - Workflow automation tool",
5
- "bin": {
6
- "pathway": "./bin/pathway.js"
7
- },
8
- "scripts": {
9
- "postinstall": "node postinstall.js"
10
- },
11
- "keywords": [
12
- "workflow",
13
- "automation",
14
- "cli",
15
- "python",
16
- "wrapper"
17
- ],
18
- "author": "mcp-tool-shop <64996768+mcp-tool-shop@users.noreply.github.com>",
19
- "license": "MIT",
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/mcp-tool-shop-org/pathway.git",
23
- "directory": "npm"
24
- },
25
- "homepage": "https://github.com/mcp-tool-shop-org/pathway#readme",
26
- "engines": {
27
- "node": ">=18.0.0"
28
- },
29
- "publishConfig": {
30
- "access": "public",
31
- "registry": "https://registry.npmjs.org"
32
- }
33
- }
1
+ {
2
+ "name": "@mcptoolshop/pathway",
3
+ "version": "0.2.2",
4
+ "description": "npm wrapper for pathway - Workflow automation tool",
5
+ "bin": {
6
+ "pathway": "./bin/pathway.js"
7
+ },
8
+ "scripts": {
9
+ "postinstall": "node postinstall.js"
10
+ },
11
+ "keywords": [
12
+ "workflow",
13
+ "automation",
14
+ "cli",
15
+ "python",
16
+ "wrapper"
17
+ ],
18
+ "author": "mcp-tool-shop <64996768+mcp-tool-shop@users.noreply.github.com>",
19
+ "license": "MIT",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/mcp-tool-shop-org/pathway.git",
23
+ "directory": "npm"
24
+ },
25
+ "homepage": "https://github.com/mcp-tool-shop-org/pathway#readme",
26
+ "engines": {
27
+ "node": ">=18.0.0"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public",
31
+ "registry": "https://registry.npmjs.org"
32
+ }
33
+ }