@diffexai/diffex 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 (64) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +5 -725
  3. package/THIRD-PARTY-NOTICES.txt +6 -2
  4. package/dist/config.d.ts +2 -0
  5. package/dist/config.js +2 -0
  6. package/dist/core/prompt-templates.js +6 -1
  7. package/dist/core/system-prompt.js +9 -8
  8. package/dist/node_modules/@diffexai/diffex-agent-core/THIRD-PARTY-NOTICES.txt +6 -2
  9. package/dist/node_modules/@diffexai/diffex-agent-core/distribution-components.json +4 -4
  10. package/dist/node_modules/@diffexai/diffex-agent-core/distribution-files.json +1 -1
  11. package/dist/node_modules/@diffexai/diffex-agent-core/package.json +1 -6
  12. package/dist/node_modules/@diffexai/diffex-ai/THIRD-PARTY-NOTICES.txt +6 -2
  13. package/dist/node_modules/@diffexai/diffex-ai/dist/cli.js +0 -0
  14. package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/.manifest.json +1 -1
  15. package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/openrouter.json +1 -1
  16. package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  17. package/dist/node_modules/@diffexai/diffex-ai/distribution-components.json +3 -3
  18. package/dist/node_modules/@diffexai/diffex-ai/distribution-files.json +4 -4
  19. package/dist/node_modules/@diffexai/diffex-ai/package.json +1 -6
  20. package/dist/node_modules/@diffexai/diffex-client/THIRD-PARTY-NOTICES.txt +6 -2
  21. package/dist/node_modules/@diffexai/diffex-client/distribution-components.json +3 -3
  22. package/dist/node_modules/@diffexai/diffex-client/distribution-files.json +1 -1
  23. package/dist/node_modules/@diffexai/diffex-client/package.json +1 -6
  24. package/dist/node_modules/@diffexai/diffex-harness-state/THIRD-PARTY-NOTICES.txt +6 -2
  25. package/dist/node_modules/@diffexai/diffex-harness-state/distribution-components.json +2 -2
  26. package/dist/node_modules/@diffexai/diffex-harness-state/distribution-files.json +1 -1
  27. package/dist/node_modules/@diffexai/diffex-harness-state/package.json +1 -6
  28. package/dist/node_modules/@diffexai/diffex-protocol/THIRD-PARTY-NOTICES.txt +6 -2
  29. package/dist/node_modules/@diffexai/diffex-protocol/distribution-components.json +2 -2
  30. package/dist/node_modules/@diffexai/diffex-protocol/distribution-files.json +1 -1
  31. package/dist/node_modules/@diffexai/diffex-protocol/package.json +1 -6
  32. package/dist/node_modules/@diffexai/diffex-telemetry/THIRD-PARTY-NOTICES.txt +6 -2
  33. package/dist/node_modules/@diffexai/diffex-telemetry/distribution-components.json +2 -2
  34. package/dist/node_modules/@diffexai/diffex-telemetry/distribution-files.json +1 -1
  35. package/dist/node_modules/@diffexai/diffex-telemetry/package.json +1 -6
  36. package/dist/node_modules/@diffexai/diffex-tui/THIRD-PARTY-NOTICES.txt +6 -2
  37. package/dist/node_modules/@diffexai/diffex-tui/distribution-components.json +2 -2
  38. package/dist/node_modules/@diffexai/diffex-tui/distribution-files.json +1 -1
  39. package/dist/node_modules/@diffexai/diffex-tui/package.json +1 -6
  40. package/distribution-components.json +13 -13
  41. package/distribution-files.json +36 -64
  42. package/docs/installation.md +118 -0
  43. package/docs/quickstart.md +7 -24
  44. package/npm-shrinkwrap.json +2 -2
  45. package/package.json +36 -10
  46. package/release/distribution-manifest.json +7 -6
  47. package/release/install-package-lock.json +5 -5
  48. package/release/install-package.json +2 -2
  49. package/NOTICE +0 -6
  50. package/dist/node_modules/@diffexai/diffex-agent-core/NOTICE +0 -6
  51. package/dist/node_modules/@diffexai/diffex-ai/NOTICE +0 -6
  52. package/dist/node_modules/@diffexai/diffex-client/NOTICE +0 -6
  53. package/dist/node_modules/@diffexai/diffex-harness-state/NOTICE +0 -6
  54. package/dist/node_modules/@diffexai/diffex-protocol/NOTICE +0 -6
  55. package/dist/node_modules/@diffexai/diffex-telemetry/NOTICE +0 -6
  56. package/dist/node_modules/@diffexai/diffex-tui/NOTICE +0 -6
  57. package/docs/development.md +0 -71
  58. package/docs/docs.json +0 -160
  59. package/docs/images/doom-extension.png +0 -0
  60. package/docs/images/exy.png +0 -0
  61. package/docs/index.md +0 -78
  62. package/docs/invocation-traces.md +0 -82
  63. package/docs/termux.md +0 -127
  64. package/docs/windows.md +0 -17
@@ -1,5 +1,5 @@
1
1
  {
2
- "sourceCommit": "f2a661684af35fe6e9a3209c6f9720144e1fd423",
2
+ "sourceCommit": "dbe80a9dfe730c776a99be1ea9c439fe6b3cc023",
3
3
  "algorithm": "sha256",
4
4
  "files": [
5
5
  {
@@ -212,11 +212,11 @@
212
212
  },
213
213
  {
214
214
  "path": "dist/config.d.ts",
215
- "sha256": "d6524457bfa03ad6d309db76878a78b15b08e79413277c15175b3297c8e52977"
215
+ "sha256": "80ac9e0240538f6687de4f57f15f6eb8a9b91a775cc5f5bc3e622b2cbdb0fdea"
216
216
  },
217
217
  {
218
218
  "path": "dist/config.js",
219
- "sha256": "716aedbf5cc2829da6ce73c29ef592165802454652cb9d3c820a832a2cbea9e3"
219
+ "sha256": "40a190d6ff17ea594b7821fdd01514cbbc40b11afb065f3fd8618eed5f08b3c6"
220
220
  },
221
221
  {
222
222
  "path": "dist/core/account-auth-storage.d.ts",
@@ -644,7 +644,7 @@
644
644
  },
645
645
  {
646
646
  "path": "dist/core/prompt-templates.js",
647
- "sha256": "f8588ceb9db41c5b7e09916a1f140878546c2a615d42987558f2818fa40b296b"
647
+ "sha256": "b85c46f913a73ee6f91ee10ad24565487f20b64f4fd327821c01ad20abb4d8de"
648
648
  },
649
649
  {
650
650
  "path": "dist/core/provider-attribution.d.ts",
@@ -828,7 +828,7 @@
828
828
  },
829
829
  {
830
830
  "path": "dist/core/system-prompt.js",
831
- "sha256": "3672bec049bb1f3df749c0893c6f41000028fa34227cce469bfd9036ab17b6bd"
831
+ "sha256": "1c848d3dcf8bba0f631962b364eb78b25054aae26eb7185fedbfc8412c6293af"
832
832
  },
833
833
  {
834
834
  "path": "dist/core/telemetry.d.ts",
@@ -1988,27 +1988,23 @@
1988
1988
  },
1989
1989
  {
1990
1990
  "path": "dist/node_modules/@diffexai/diffex-agent-core/distribution-components.json",
1991
- "sha256": "71b0901531f95dafee515729146016eb7e387ebd067ec764e6ebee5d4e121a36"
1991
+ "sha256": "2b7c398597eac8939d8f3f5d4f852993ff55d6b1d3ab13ad17adab43d6501337"
1992
1992
  },
1993
1993
  {
1994
1994
  "path": "dist/node_modules/@diffexai/diffex-agent-core/distribution-files.json",
1995
- "sha256": "a8ab47f1851ae411d0d28e7849c843d0df6e4bae8ed6503c4bdbd01ba9b94958"
1995
+ "sha256": "697ae4435e3c8e51498ded1eaa533e3b3a90f3d681ce370d95ab659942d84599"
1996
1996
  },
1997
1997
  {
1998
1998
  "path": "dist/node_modules/@diffexai/diffex-agent-core/LICENSE",
1999
1999
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
2000
2000
  },
2001
- {
2002
- "path": "dist/node_modules/@diffexai/diffex-agent-core/NOTICE",
2003
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
2004
- },
2005
2001
  {
2006
2002
  "path": "dist/node_modules/@diffexai/diffex-agent-core/package.json",
2007
- "sha256": "cdced68a704adc1888b1fc44dbe0515715b96f976cec044cec853141da1d2764"
2003
+ "sha256": "c0e99f6f683f3502f0e0f2428ae908647ce5e715b18dc006c7cd1cf28c172ff4"
2008
2004
  },
2009
2005
  {
2010
2006
  "path": "dist/node_modules/@diffexai/diffex-agent-core/THIRD-PARTY-NOTICES.txt",
2011
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
2007
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
2012
2008
  },
2013
2009
  {
2014
2010
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/api/anthropic-messages.d.ts",
@@ -2684,7 +2680,7 @@
2684
2680
  },
2685
2681
  {
2686
2682
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/.manifest.json",
2687
- "sha256": "2b5e284976eac0be4991a7e55382bb7cb3323940f8519be330b6b29927e465e0"
2683
+ "sha256": "a4a35601c160a11bfa75d83eebbeba2cbe0e995edb945a0ae4174546c2d40dfb"
2688
2684
  },
2689
2685
  {
2690
2686
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/amazon-bedrock.json",
@@ -2792,7 +2788,7 @@
2792
2788
  },
2793
2789
  {
2794
2790
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/openrouter.json",
2795
- "sha256": "14f7cd6992411e94e60e61b200b3aaad6d4371b60d11da6f1546db96cd2c1fbe"
2791
+ "sha256": "54df34bb4328e36b52560e2979bc9da3dcf0501093bd3c82cbbb3d7227eb48bd"
2796
2792
  },
2797
2793
  {
2798
2794
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/qwen-token-plan-cn.json",
@@ -2812,7 +2808,7 @@
2812
2808
  },
2813
2809
  {
2814
2810
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/vercel-ai-gateway.json",
2815
- "sha256": "e6e9eb2c2da25c85d428dab15765c5c539d73003a7acd432b238c86c5a398121"
2811
+ "sha256": "f9ff06709a675af6723ee6983bf55143d21e1d24b52cd35b16e95834574c6667"
2816
2812
  },
2817
2813
  {
2818
2814
  "path": "dist/node_modules/@diffexai/diffex-ai/dist/providers/data/xai.json",
@@ -3556,27 +3552,23 @@
3556
3552
  },
3557
3553
  {
3558
3554
  "path": "dist/node_modules/@diffexai/diffex-ai/distribution-components.json",
3559
- "sha256": "c97478a3621ba61008b85740af492bf59544725ddb089f75aaff7df6a69c1508"
3555
+ "sha256": "d341df8514aa0a75f1da23d5c4fff76f8f022466babad294c53ee23427090a97"
3560
3556
  },
3561
3557
  {
3562
3558
  "path": "dist/node_modules/@diffexai/diffex-ai/distribution-files.json",
3563
- "sha256": "a3530567f07c8c6a441a7e5c6176f846304613680a9f9b7dd786a95e173e07cf"
3559
+ "sha256": "039f86fe62b7a1549d94297690f9ccc1b471e1022d7cdade5bd69a65b8f449a5"
3564
3560
  },
3565
3561
  {
3566
3562
  "path": "dist/node_modules/@diffexai/diffex-ai/LICENSE",
3567
3563
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
3568
3564
  },
3569
- {
3570
- "path": "dist/node_modules/@diffexai/diffex-ai/NOTICE",
3571
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3572
- },
3573
3565
  {
3574
3566
  "path": "dist/node_modules/@diffexai/diffex-ai/package.json",
3575
- "sha256": "d9621bac4eebd476af495422c85b6525a801310e3468b3c6d60d39108ab79c13"
3567
+ "sha256": "995f91deb3dff8777dfc629d530718b4508ec6a0bb102dd7ac6f71037e94a19f"
3576
3568
  },
3577
3569
  {
3578
3570
  "path": "dist/node_modules/@diffexai/diffex-ai/THIRD-PARTY-NOTICES.txt",
3579
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
3571
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3580
3572
  },
3581
3573
  {
3582
3574
  "path": "dist/node_modules/@diffexai/diffex-client/dist/client.d.ts",
@@ -3676,27 +3668,23 @@
3676
3668
  },
3677
3669
  {
3678
3670
  "path": "dist/node_modules/@diffexai/diffex-client/distribution-components.json",
3679
- "sha256": "bf1f74465b67e7bd111a5f38e419586aeb754853ded3b4a0782774d6359874b1"
3671
+ "sha256": "d53d6a3cd94e01f02e63275b582ab07edbd0c47b77badc8721257814bbcf8750"
3680
3672
  },
3681
3673
  {
3682
3674
  "path": "dist/node_modules/@diffexai/diffex-client/distribution-files.json",
3683
- "sha256": "6d342e688f45cb2f240812ca8f59d16420e00a76bd90f3fafea47a22b3988804"
3675
+ "sha256": "e283a8adb7d4d15bdcacdbd4472c7e02119f496990bcaefc477e75f0b7d42b3a"
3684
3676
  },
3685
3677
  {
3686
3678
  "path": "dist/node_modules/@diffexai/diffex-client/LICENSE",
3687
3679
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
3688
3680
  },
3689
- {
3690
- "path": "dist/node_modules/@diffexai/diffex-client/NOTICE",
3691
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3692
- },
3693
3681
  {
3694
3682
  "path": "dist/node_modules/@diffexai/diffex-client/package.json",
3695
- "sha256": "0f2932f24ff7041e00abf09ba169b1620a7b2c738ab4f4a71512ceda4c2c1519"
3683
+ "sha256": "1aa82b42caabccbd4acce3354c64bb5164c253234611ddbf3c0488955e07215b"
3696
3684
  },
3697
3685
  {
3698
3686
  "path": "dist/node_modules/@diffexai/diffex-client/THIRD-PARTY-NOTICES.txt",
3699
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
3687
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3700
3688
  },
3701
3689
  {
3702
3690
  "path": "dist/node_modules/@diffexai/diffex-harness-state/dist/index.d.ts",
@@ -3708,27 +3696,23 @@
3708
3696
  },
3709
3697
  {
3710
3698
  "path": "dist/node_modules/@diffexai/diffex-harness-state/distribution-components.json",
3711
- "sha256": "3b8188af3fab862bc686f6908c544399bf9c37360e78bcd30e70b4e0254a1068"
3699
+ "sha256": "ad9310f1110d6dcfdf0bdfcae7e1771a5dfc541f39027285f5f7921863acc3d9"
3712
3700
  },
3713
3701
  {
3714
3702
  "path": "dist/node_modules/@diffexai/diffex-harness-state/distribution-files.json",
3715
- "sha256": "55edd0a2954c45cbf12aff791e4ba5c8f037072bf40087f605cd8ce562cf2c9d"
3703
+ "sha256": "ce4c775db70f7a373ec49d1787fb755bb482bdb859f3f2da4eb45755dca8dff6"
3716
3704
  },
3717
3705
  {
3718
3706
  "path": "dist/node_modules/@diffexai/diffex-harness-state/LICENSE",
3719
3707
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
3720
3708
  },
3721
- {
3722
- "path": "dist/node_modules/@diffexai/diffex-harness-state/NOTICE",
3723
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3724
- },
3725
3709
  {
3726
3710
  "path": "dist/node_modules/@diffexai/diffex-harness-state/package.json",
3727
- "sha256": "a2fd31f702b1277d7f75ce64dd59f15ca507b18e302dcdee8f5cf760a383e0b4"
3711
+ "sha256": "7e223bbb91c107ef1181246c560bbc48f53adca5728a3b51befa0191b5e1af6d"
3728
3712
  },
3729
3713
  {
3730
3714
  "path": "dist/node_modules/@diffexai/diffex-harness-state/THIRD-PARTY-NOTICES.txt",
3731
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
3715
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3732
3716
  },
3733
3717
  {
3734
3718
  "path": "dist/node_modules/@diffexai/diffex-protocol/dist/cbor/decoder.d.ts",
@@ -3796,27 +3780,23 @@
3796
3780
  },
3797
3781
  {
3798
3782
  "path": "dist/node_modules/@diffexai/diffex-protocol/distribution-components.json",
3799
- "sha256": "46686075070e30a0de4325197220eeb25d8e33a813410bc43eac55d962ad2935"
3783
+ "sha256": "c93a990ed75c2a31059b49d51c92e71784dfc9de92071a8cdf109aa1ef4b25ab"
3800
3784
  },
3801
3785
  {
3802
3786
  "path": "dist/node_modules/@diffexai/diffex-protocol/distribution-files.json",
3803
- "sha256": "5ccc4cbd5d95c3814b219aad9aa1bce059ae2cff63ffb2504ff924df91d837b2"
3787
+ "sha256": "dd47fd5c20d8f54d398823bd0c9909c959528940ee161f191b5b1cec58eede89"
3804
3788
  },
3805
3789
  {
3806
3790
  "path": "dist/node_modules/@diffexai/diffex-protocol/LICENSE",
3807
3791
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
3808
3792
  },
3809
- {
3810
- "path": "dist/node_modules/@diffexai/diffex-protocol/NOTICE",
3811
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3812
- },
3813
3793
  {
3814
3794
  "path": "dist/node_modules/@diffexai/diffex-protocol/package.json",
3815
- "sha256": "32dbe80fe4124c154774da0ef035a5284f0d3a35c3661115cef883cc84ad96e1"
3795
+ "sha256": "6d14f124f22cf5031538e66ec215304e716ecce01d4e5e1aef9899b057c09b77"
3816
3796
  },
3817
3797
  {
3818
3798
  "path": "dist/node_modules/@diffexai/diffex-protocol/THIRD-PARTY-NOTICES.txt",
3819
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
3799
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3820
3800
  },
3821
3801
  {
3822
3802
  "path": "dist/node_modules/@diffexai/diffex-telemetry/dist/index.d.ts",
@@ -3868,27 +3848,23 @@
3868
3848
  },
3869
3849
  {
3870
3850
  "path": "dist/node_modules/@diffexai/diffex-telemetry/distribution-components.json",
3871
- "sha256": "2fbe9af183c9712f7c373c4bc7fe87381ace17499c9d4490668197c9a9d7b982"
3851
+ "sha256": "18de9d95f312884223e4981a08cba0e7042259309f3fe2371e77fe81c63e94d8"
3872
3852
  },
3873
3853
  {
3874
3854
  "path": "dist/node_modules/@diffexai/diffex-telemetry/distribution-files.json",
3875
- "sha256": "b50253eaf34ccb7af5fc691f3a1f82d68866e833953b0754c38a29948cfe1691"
3855
+ "sha256": "143fb292dbcd1451c630c38785a1f0c51cb2d83ccf912b803acb4060480a8407"
3876
3856
  },
3877
3857
  {
3878
3858
  "path": "dist/node_modules/@diffexai/diffex-telemetry/LICENSE",
3879
3859
  "sha256": "35a4476d361a333186451f77937c9a070027ab3a83e3661fad4ccca8ac2b0a99"
3880
3860
  },
3881
- {
3882
- "path": "dist/node_modules/@diffexai/diffex-telemetry/NOTICE",
3883
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3884
- },
3885
3861
  {
3886
3862
  "path": "dist/node_modules/@diffexai/diffex-telemetry/package.json",
3887
- "sha256": "cfe29808e29fe3a588bb668a5902427c613ae034fa72ec5df836881e9241d9e8"
3863
+ "sha256": "358c9c496e8697e4a01e6a591faa73b10559beed6ef2910ee35175eacbde162e"
3888
3864
  },
3889
3865
  {
3890
3866
  "path": "dist/node_modules/@diffexai/diffex-telemetry/THIRD-PARTY-NOTICES.txt",
3891
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
3867
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
3892
3868
  },
3893
3869
  {
3894
3870
  "path": "dist/node_modules/@diffexai/diffex-tui/dist/autocomplete.d.ts",
@@ -4204,11 +4180,11 @@
4204
4180
  },
4205
4181
  {
4206
4182
  "path": "dist/node_modules/@diffexai/diffex-tui/distribution-components.json",
4207
- "sha256": "e8c8eb8afab61df551d5edff8bd55ae92e72c44a27a190961981a08e075d67d5"
4183
+ "sha256": "7a2a182a78c4eb0c24bf47aab558601482e2f7adecfcac380cf715446ee0c30d"
4208
4184
  },
4209
4185
  {
4210
4186
  "path": "dist/node_modules/@diffexai/diffex-tui/distribution-files.json",
4211
- "sha256": "d72f92d7640452729e9279d87f04a0bd64da6584d06ac35178a50be3c0887e0b"
4187
+ "sha256": "39098e6768aba929ab003cd40350819d10f4e2499695645496d00987fa23df96"
4212
4188
  },
4213
4189
  {
4214
4190
  "path": "dist/node_modules/@diffexai/diffex-tui/LICENSE",
@@ -4230,17 +4206,13 @@
4230
4206
  "path": "dist/node_modules/@diffexai/diffex-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node",
4231
4207
  "sha256": "e40df72050ed02d451dee887b2e2a7408d7de27c5f483af8c489801bb3ae098d"
4232
4208
  },
4233
- {
4234
- "path": "dist/node_modules/@diffexai/diffex-tui/NOTICE",
4235
- "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
4236
- },
4237
4209
  {
4238
4210
  "path": "dist/node_modules/@diffexai/diffex-tui/package.json",
4239
- "sha256": "cd23216d3cb3a5a09a1a43d0fbc010d6b7bdcbd11c8e0e6c8eda0d7de59bf2e4"
4211
+ "sha256": "1292583d437cc28f7136c0b70ac67fc99c91fe02dbc78da705e5e1c2ac811c8f"
4240
4212
  },
4241
4213
  {
4242
4214
  "path": "dist/node_modules/@diffexai/diffex-tui/THIRD-PARTY-NOTICES.txt",
4243
- "sha256": "26a9889ffbcd21dbef5db453156ec85dc469580be6be9ee82800e0244e0f8b76"
4215
+ "sha256": "8871426fbd5907b1bf5c4e462c5c5c4f0d89fc3f3d527d0ab3a18f67d5da2f4d"
4244
4216
  },
4245
4217
  {
4246
4218
  "path": "dist/package-manager-cli.d.ts",
@@ -0,0 +1,118 @@
1
+ # Install, update, and remove Diffex
2
+
3
+ Diffex is distributed through npmjs.org as `@diffexai/diffex`.
4
+ Use Node.js 22.19.0 or newer and npm on macOS or Linux, on arm64 or x64.
5
+ Windows, Android/Termux, standalone binaries, and additional installation channels are not accepted release targets.
6
+ The hosted runtime image is for the cloud service.
7
+
8
+ ## Install and verify
9
+
10
+ ```sh
11
+ node --version
12
+ npm --version
13
+ npm install -g --ignore-scripts --registry=https://registry.npmjs.org @diffexai/diffex
14
+ diffex --version
15
+ diffex --help
16
+ diffex --list-models
17
+ ```
18
+
19
+ Only the CLI package is needed; its internal Diffex modules are included.
20
+ `--ignore-scripts` disables dependency installation scripts.
21
+ Npm verifies downloaded package bytes against registry integrity metadata.
22
+ For a reproducible installation, replace the package argument with `@diffexai/diffex@<verified-version>`, using an exact version you have checked on npmjs.org.
23
+
24
+ The executable directory is `$(npm prefix -g)/bin` on supported platforms.
25
+ If `diffex` is not found, add that directory to your shell's PATH:
26
+
27
+ ```sh
28
+ export PATH="$(npm prefix -g)/bin:$PATH"
29
+ command -v diffex
30
+ diffex --version
31
+ ```
32
+
33
+ Persist the PATH setting in your shell configuration if necessary.
34
+ Use a Node version manager or a user-writable npm prefix when the global directory is not writable.
35
+ Changing Node installations can change the npm prefix; check `command -v diffex` after switching.
36
+
37
+ Start `diffex` in your project directory, use `/login` to configure your provider, and send a short prompt.
38
+ See [Quickstart](quickstart.md) and [Providers](providers.md) for authentication and execution.
39
+
40
+ ## Upgrade
41
+
42
+ ```sh
43
+ diffex update --self
44
+ diffex --version
45
+ ```
46
+
47
+ Self-update validates the response from `https://api.diffex.ai/api/latest-version` and installs exactly `@diffexai/diffex@<verified-version>` using the detected package manager.
48
+ It rejects malformed metadata, foreign package names, redirects, and unavailable discovery before starting installation.
49
+ `--force` permits reinstalling a verified release; it does not bypass identity checks.
50
+ The discovery service can report no generally announced release even when a bootstrap package exists on npm.
51
+
52
+ To install a reviewed npm version directly, including when discovery has no release:
53
+
54
+ ```sh
55
+ npm install -g --ignore-scripts --registry=https://registry.npmjs.org '@diffexai/diffex@<verified-version>'
56
+ diffex --version
57
+ ```
58
+
59
+ Replace `<verified-version>` before running the command.
60
+ Use your original npm prefix if it differs from the active default.
61
+ Legacy clients that still trust Pi cannot migrate just by contacting the Diffex endpoint.
62
+ Install the canonical package directly with the command above, then verify `command -v diffex` and `diffex --version`.
63
+
64
+ ## Recover an interrupted installation
65
+
66
+ Npm owns replacement of an npm installation.
67
+ If an update was interrupted or `diffex` no longer starts, repeat the pinned npm install command with the same verified version and prefix, then check `diffex --version` and `diffex --help`.
68
+ Do not remove your user-data directory to repair an executable installation.
69
+ Npm can begin filesystem replacement before a download finishes.
70
+ If retrying reports `ENOTEMPTY` while renaming to a `.diffex-...` backup, move that reported backup directory aside.
71
+ If npm instead reports `ENOTEMPTY` while removing a dependency inside `$(npm root -g)/@diffexai/diffex`, move that complete CLI installation directory aside.
72
+ This preserves the partially installed package and lets npm install into an empty destination.
73
+ Use a separate backup directory and retry:
74
+
75
+ ```sh
76
+ DIFFEX_RECOVERY_FROM='/exact/affected/CLI/installation/or/backup'
77
+ DIFFEX_RECOVERY_DIR="$(mktemp -d)"
78
+ mv "$DIFFEX_RECOVERY_FROM" "$DIFFEX_RECOVERY_DIR/"
79
+ npm install -g --ignore-scripts --registry=https://registry.npmjs.org '@diffexai/diffex@<verified-version>'
80
+ diffex --version
81
+ diffex --help
82
+ ```
83
+
84
+ Replace both placeholders with the affected Diffex installation or backup path and the verified version.
85
+ Move only the `@diffexai/diffex` package directory or its reported `.diffex-...` backup, preserving it until the repaired installation works.
86
+ Do not move the global prefix, its shared `node_modules`, or another package.
87
+ This procedure does not move or delete your settings or sessions.
88
+
89
+ ## Remove
90
+
91
+ ```sh
92
+ npm uninstall -g --ignore-scripts @diffexai/diffex
93
+ command -v diffex
94
+ ```
95
+
96
+ Use the npm prefix that installed the executable.
97
+ The final command should find no executable unless another installation remains on PATH.
98
+ If your shell caches command locations, open a new terminal or refresh its command cache.
99
+
100
+ Removal retains settings, credentials, sessions, installed extensions, and harness data under `~/.diffex/agent/`, or the directory selected by `DIFFEX_CODING_AGENT_DIR`.
101
+ Project `.diffex` directories and any separately configured session directory are also retained.
102
+ Keep this data for reinstallation; delete it separately only if you intend to erase it.
103
+
104
+ ## Bun package installations
105
+
106
+ The same npm package can also be installed by Bun while running on Node:
107
+
108
+ ```sh
109
+ bun install -g --ignore-scripts @diffexai/diffex
110
+ diffex --version
111
+ diffex update --self
112
+ bun uninstall -g @diffexai/diffex
113
+ ```
114
+
115
+ Use `bun pm bin -g` to locate Bun's global executable directory and add it to PATH.
116
+ Pin direct upgrades to the reviewed `@diffexai/diffex@<verified-version>` in the install command.
117
+ Use the manager that owns the installation for repair and removal.
118
+ User data follows the same retention policy.
@@ -4,33 +4,15 @@ This page gets you from install to a useful first Diffex session.
4
4
 
5
5
  ## Install
6
6
 
7
- Diffex is distributed as an npm package:
7
+ Use Node.js 22.19.0 or newer on macOS or Linux, on arm64 or x64.
8
+ Install the canonical package from npmjs.org:
8
9
 
9
10
  ```bash
10
- npm install -g --ignore-scripts @diffexai/diffex
11
+ npm install -g --ignore-scripts --registry=https://registry.npmjs.org @diffexai/diffex
12
+ diffex --version
11
13
  ```
12
14
 
13
- `--ignore-scripts` disables dependency lifecycle scripts during install. Diffex does not require install scripts for normal npm installs.
14
-
15
- ### Uninstall
16
-
17
- Use the package manager that installed Diffex:
18
-
19
- ```bash
20
- # npm
21
- npm uninstall -g @diffexai/diffex
22
-
23
- # pnpm
24
- pnpm remove -g @diffexai/diffex
25
-
26
- # Yarn
27
- yarn global remove @diffexai/diffex
28
-
29
- # Bun
30
- bun uninstall -g @diffexai/diffex
31
- ```
32
-
33
- Uninstalling Diffex leaves settings, credentials, sessions, and installed Diffex packages in `~/.diffex/agent/`.
15
+ See [Installation](installation.md) for PATH setup, pinned versions, updates, recovery, removal, and retained user data.
34
16
 
35
17
  Then start Diffex in the project directory you want it to work on:
36
18
 
@@ -175,4 +157,5 @@ Use `--mode json` for JSON event output or `--mode rpc` for process integration.
175
157
  - [Keybindings](keybindings.md) - shortcuts and customization.
176
158
  - [Diffex Packages](packages.md) - install shared extensions, skills, prompts, and themes.
177
159
 
178
- Platform notes: [Windows](windows.md), [Termux](termux.md), [tmux](tmux.md), [Terminal setup](terminal-setup.md), [Shell aliases](shell-aliases.md).
160
+ Terminal notes: [tmux](tmux.md), [Terminal setup](terminal-setup.md), [Shell aliases](shell-aliases.md).
161
+ Windows and Android/Termux are not accepted release targets.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@diffexai/diffex",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@diffexai/diffex",
9
- "version": "0.2.1",
9
+ "version": "0.2.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/sdk": "0.91.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diffexai/diffex",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Coding agent CLI with read, bash, edit, write, update_plan tools and session management",
5
5
  "type": "module",
6
6
  "imports": {
@@ -8,7 +8,8 @@
8
8
  "#harness-trace": "./dist/vendor/harness-trace/index.js"
9
9
  },
10
10
  "diffexConfig": {
11
- "configDir": ".diffex"
11
+ "configDir": ".diffex",
12
+ "production": true
12
13
  },
13
14
  "bin": {
14
15
  "diffex": "dist/cli.js"
@@ -30,11 +31,40 @@
30
31
  },
31
32
  "files": [
32
33
  "dist",
33
- "docs",
34
+ "docs/compaction.md",
35
+ "docs/containerization.md",
36
+ "docs/custom-provider.md",
37
+ "docs/environment-variables.md",
38
+ "docs/evolution.md",
39
+ "docs/extensions.md",
40
+ "docs/installation.md",
41
+ "docs/json.md",
42
+ "docs/keybindings.md",
43
+ "docs/llama-cpp.md",
44
+ "docs/models.md",
45
+ "docs/packages.md",
46
+ "docs/prompt-templates.md",
47
+ "docs/providers.md",
48
+ "docs/quickstart.md",
49
+ "docs/rpc.md",
50
+ "docs/sdk.md",
51
+ "docs/security.md",
52
+ "docs/session-format.md",
53
+ "docs/sessions.md",
54
+ "docs/settings.md",
55
+ "docs/shell-aliases.md",
56
+ "docs/skills.md",
57
+ "docs/terminal-setup.md",
58
+ "docs/themes.md",
59
+ "docs/tmux.md",
60
+ "docs/tui.md",
61
+ "docs/usage.md",
62
+ "docs/images/interactive-mode.png",
63
+ "docs/images/tree-view.png",
64
+ "README.md",
34
65
  "CHANGELOG.md",
35
66
  "npm-shrinkwrap.json",
36
67
  "LICENSE",
37
- "NOTICE",
38
68
  "THIRD-PARTY-NOTICES.txt",
39
69
  "distribution-components.json",
40
70
  "distribution-files.json",
@@ -91,12 +121,8 @@
91
121
  ],
92
122
  "author": "Mario Zechner",
93
123
  "license": "Apache-2.0",
94
- "repository": {
95
- "type": "git",
96
- "url": "git+https://github.com/diffexai/diffex.git",
97
- "directory": "packages/coding-agent"
98
- },
99
124
  "engines": {
100
125
  "node": ">=22.19.0"
101
- }
126
+ },
127
+ "homepage": "https://diffex.ai/"
102
128
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "source": {
5
5
  "repository": "diffexai/diffex",
6
- "commit": "f2a661684af35fe6e9a3209c6f9720144e1fd423",
6
+ "commit": "dbe80a9dfe730c776a99be1ea9c439fe6b3cc023",
7
7
  "visibility": "private"
8
8
  },
9
9
  "disclosurePolicy": {
@@ -43,7 +43,7 @@
43
43
  "HTML export templates and their reviewed marked/highlight.js bundles",
44
44
  "runtime theme and model JSON",
45
45
  "SQLite migration SQL",
46
- "documentation including inline examples",
46
+ "user-facing documentation explicitly listed in scripts/distribution-docs.json",
47
47
  "Diffex-owned TUI native prebuilds using system APIs"
48
48
  ],
49
49
  "publicHosting": "npmjs",
@@ -63,13 +63,14 @@
63
63
  "protocol",
64
64
  "telemetry",
65
65
  "tui"
66
- ]
66
+ ],
67
+ "developmentDocumentation": "exclude from all distribution artifacts, including bootstrap and hosted runtime; keep private development records in the source repository"
67
68
  },
68
69
  "packages": [
69
70
  {
70
71
  "name": "@diffexai/diffex",
71
- "version": "0.2.1",
72
- "tarball": "https://registry.npmjs.org/@diffexai/diffex/-/diffex-0.2.1.tgz"
72
+ "version": "0.2.2",
73
+ "tarball": "https://registry.npmjs.org/@diffexai/diffex/-/diffex-0.2.2.tgz"
73
74
  }
74
75
  ],
75
76
  "binaryPlatforms": [],
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@diffexai/diffex-coding-agent-install",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@diffexai/diffex-coding-agent-install",
9
- "version": "0.2.1",
9
+ "version": "0.2.2",
10
10
  "dependencies": {
11
- "@diffexai/diffex": "0.2.1"
11
+ "@diffexai/diffex": "0.2.2"
12
12
  },
13
13
  "engines": {
14
14
  "node": ">=22.19.0"
@@ -450,8 +450,8 @@
450
450
  }
451
451
  },
452
452
  "node_modules/@diffexai/diffex": {
453
- "version": "0.2.1",
454
- "resolved": "https://registry.npmjs.org/@diffexai/diffex/-/diffex-0.2.1.tgz",
453
+ "version": "0.2.2",
454
+ "resolved": "https://registry.npmjs.org/@diffexai/diffex/-/diffex-0.2.2.tgz",
455
455
  "license": "Apache-2.0",
456
456
  "dependencies": {
457
457
  "@anthropic-ai/sdk": "0.91.1",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@diffexai/diffex-coding-agent-install",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "private": true,
5
5
  "description": "Lockfile root used by the Diffex installer and updater.",
6
6
  "dependencies": {
7
- "@diffexai/diffex": "0.2.1"
7
+ "@diffexai/diffex": "0.2.2"
8
8
  },
9
9
  "overrides": {
10
10
  "protobufjs": "7.6.5",
package/NOTICE DELETED
@@ -1,6 +0,0 @@
1
- Diffex
2
- Copyright 2026 Luntraa, Inc.
3
-
4
- Where this distribution contains Pi Agent Harness-derived portions,
5
- those portions retain their MIT terms and copyright notice in LICENSE.
6
- The Apache-2.0 package declaration does not replace third-party terms.
@@ -1,6 +0,0 @@
1
- Diffex
2
- Copyright 2026 Luntraa, Inc.
3
-
4
- Where this distribution contains Pi Agent Harness-derived portions,
5
- those portions retain their MIT terms and copyright notice in LICENSE.
6
- The Apache-2.0 package declaration does not replace third-party terms.
@@ -1,6 +0,0 @@
1
- Diffex
2
- Copyright 2026 Luntraa, Inc.
3
-
4
- Where this distribution contains Pi Agent Harness-derived portions,
5
- those portions retain their MIT terms and copyright notice in LICENSE.
6
- The Apache-2.0 package declaration does not replace third-party terms.
@@ -1,6 +0,0 @@
1
- Diffex
2
- Copyright 2026 Luntraa, Inc.
3
-
4
- Where this distribution contains Pi Agent Harness-derived portions,
5
- those portions retain their MIT terms and copyright notice in LICENSE.
6
- The Apache-2.0 package declaration does not replace third-party terms.