vectorforce 0.2.0 → 0.3.0

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/CHANGELOG.md +46 -0
  2. package/README.md +18 -1
  3. package/package.json +4 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,46 @@
1
+ # Changelog
2
+
3
+ All notable changes to the `vectorforce` package will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ---
9
+
10
+ ## [0.2.0] - 2026-10-31
11
+
12
+ ### Added
13
+ - **Unified Remote Sync Commands (`vf remote`, `vf push`, `vf pull`)**:
14
+ - `vf remote set <URL> [--key <KEY>] [--project <ID>]`: Configure remote cloud synchronization endpoint in `.vectorforce/config.json`.
15
+ - `vf push`: Read local `.vectorforce/vectorforce.db`, wrap tasks & checkpoints in End-to-End Encrypted (E2EE) envelopes (`AES-256-GCM` + `X25519` + `Ed25519`), and push to VectorForce Cloud / Modal.com.
16
+ - `vf pull`: Pull the latest encrypted envelope from the cloud, verify the `Ed25519` digital signature, decrypt via `X25519` + `AES-256-GCM`, reconcile into local SQLite, and synthesize the **Meta Muse (`muse-spark-open`)** reasoning briefing.
17
+ - **VectorForce Cloud & Modal.com Serverless Deployment**:
18
+ - Dedicated cloud sync server supporting multi-project registries, B2B2B sub-customer tenant isolation, and developer task assignment boards.
19
+ - One-command deployment to Modal.com (`modal_app.py`) with persistent `modal.Volume` storage for encrypted SQLite WAL databases.
20
+ - **Interactive Team Handoff & Studio UI Upgrades**:
21
+ - Added direct browser download of `.vfhandoff.json` bundle files.
22
+ - Added interactive in-browser **Import & Reconcile Teammate Handoff Package** modal (`POST /api/handoff/import`) with SHA-256 manifest validation.
23
+ - Automatic resolution of active tasks and divergent checkpoint heads in Studio export endpoints.
24
+ - **Automated npm Lifecycle Hooks**:
25
+ - Added `prepublishOnly` script in `package.json` to ensure `npm --prefix studio run build` and all 75 tests run automatically before every `npm publish`.
26
+
27
+ ### Changed
28
+ - **CLI Commands Simplified**: Unified remote cloud sync under the standard `vf` command (following the `git remote`, `git push`, `git pull` mental model).
29
+ - **Workspace Agent Protocols**: Upgraded workspace-level `AGENTS.md` and role definitions for `vectorforce-architect`, `vectorforce-auditor`, and `vectorforce-samples-builder`.
30
+
31
+ ### Fixed
32
+ - Fixed `TypeError` in `TeamHandoffView.jsx` when resolving checkpoints with differing `id` vs `checkpoint_id` shapes.
33
+ - Fixed divergent leaf head resolution in `/api/handoff/export` by auto-selecting the latest timestamped checkpoint.
34
+ - Fixed ephemeral key generation in serverless environments by persisting machine identities in durable SQLite storage.
35
+
36
+ ---
37
+
38
+ ## [0.1.0] - 2026-10-27
39
+
40
+ ### Added
41
+ - Initial public release of VectorForce — "Git for AI Context".
42
+ - Zero-dependency local SQLite WAL persistence engine (`node:sqlite`).
43
+ - Model Context Protocol (MCP) server over JSON-RPC 2.0 stdio with 9 core tools (`save_checkpoint`, `get_resume_briefing`, `check_workspace_drift`, `reason_about_task`, `list_tasks`, `set_document_policy`, `export_handoff`, `import_handoff`, `get_timeline`).
44
+ - Automatic multi-harness configuration generators for Google Antigravity, Claude Code, Command Code, Meta Muse, and OpenAI Codex.
45
+ - Multi-provider AI reasoning engine supporting Meta Muse (`muse-spark-1.3`, `muse-spark-open`), Fireworks AI, OpenRouter, Local Ollama, OpenAI, Anthropic, and custom BYOK endpoints.
46
+ - Local VectorForce Studio Web UI (`vf studio`) on port 3210 with interactive SVG architecture dependency and blast-radius graph.
package/README.md CHANGED
@@ -73,7 +73,24 @@ node bin/vf.js checkpoint --task auth-module \
73
73
  --doc "AGENTS.md"
74
74
  ```
75
75
 
76
- ### 5. Reason Over Context (AI Engineering Memory)
76
+ ### 5. Multi-Machine & Team Cloud Sync (`vf remote`, `vf push`, `vf pull`)
77
+
78
+ VectorForce follows the Git mental model for sharing context between two computers or across a team using Zero-Knowledge End-to-End Encryption (`X25519` + `AES-256-GCM` + `Ed25519`):
79
+
80
+ ```bash
81
+ # 1. Connect local workspace to your Cloud Remote once:
82
+ node bin/vf.js remote set https://omprakash-pce2011--vectorforce-cloud-vectorforce-cloud-web.modal.run \
83
+ --key vf_live_sub_98a7bc65f012e4d9 \
84
+ --project proj-bistro-pos
85
+
86
+ # 2. Push local checkpoints & tasks to Cloud (E2EE):
87
+ node bin/vf.js push
88
+
89
+ # 3. Pull & reconcile context on Computer 2 (reconciles into SQLite & runs Meta Muse reasoning):
90
+ node bin/vf.js pull
91
+ ```
92
+
93
+ ### 6. Reason Over Context (AI Engineering Memory)
77
94
 
78
95
  VectorForce prioritizes **Meta Muse (`muse-spark-1.3`)** and the open-weights **Meta Muse Spark Open (`muse-spark-open` • 1M token context window)** as its **#1 reasoning models**, while also supporting **Fireworks AI**, **OpenRouter**, **Local Ollama**, **OpenAI / Codex**, **Anthropic Claude**, and any **Custom BYOK** OpenAI-compatible endpoint:
79
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vectorforce",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Portable engineering context platform - Git for AI context",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -9,6 +9,8 @@
9
9
  "vectorforce": "bin/vf.js"
10
10
  },
11
11
  "scripts": {
12
+ "build": "npm --prefix studio run build",
13
+ "prepublishOnly": "npm --prefix studio run build && npm test",
12
14
  "test": "node --test \"test/**/*.test.js\"",
13
15
  "test:practical": "node scripts/practical-test-env.js"
14
16
  },
@@ -20,6 +22,7 @@
20
22
  "src",
21
23
  "studio/dist",
22
24
  "AGENTS.md",
25
+ "CHANGELOG.md",
23
26
  "commandcode.json",
24
27
  "musecode.json",
25
28
  "codex.json",