dsh-remote-vs 0.21.1 → 0.23.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 (52) hide show
  1. package/README.en.md +489 -473
  2. package/README.md +434 -424
  3. package/cordis.patch.yml +13 -5
  4. package/lib/client.js +946 -256
  5. package/lib/index.js +187 -15
  6. package/lib/p2-router-fs.js +6 -7
  7. package/lib/types/changes/recorder.d.ts +21 -0
  8. package/lib/types/changes/status.d.ts +41 -1
  9. package/lib/types/changes/text-diff.d.ts +18 -0
  10. package/lib/types/client/changes/ChangesDock.d.ts +9 -2
  11. package/lib/types/client/changes/model.d.ts +3 -1
  12. package/lib/types/client/changes/review-state.d.ts +67 -0
  13. package/lib/types/client/notices.d.ts +35 -0
  14. package/lib/types/client/store.d.ts +51 -0
  15. package/lib/types/client/vsc/change-marks.d.ts +17 -0
  16. package/lib/types/client/vsc/kit.d.ts +9 -0
  17. package/lib/types/deploy.d.ts +28 -2
  18. package/lib/types/notices.d.ts +22 -0
  19. package/lib/types/p2/router-fs.d.ts +4 -5
  20. package/lib/types/p2/worlds.d.ts +10 -0
  21. package/lib/types/protocol.d.ts +37 -1
  22. package/lib/{worlds-DSzyajOB.js → worlds-DXdP4SMn.js} +80 -4
  23. package/package.json +37 -37
  24. package/src/changes/recorder.ts +93 -28
  25. package/src/changes/status.ts +69 -2
  26. package/src/changes/text-diff.ts +42 -0
  27. package/src/client/DirectoryFlow.tsx +65 -5
  28. package/src/client/api.ts +5 -0
  29. package/src/client/changes/ChangesDock.tsx +241 -39
  30. package/src/client/changes/changes.css +122 -9
  31. package/src/client/changes/model.ts +106 -22
  32. package/src/client/changes/review-state.ts +133 -0
  33. package/src/client/i18n.ts +48 -8
  34. package/src/client/index.tsx +24 -5
  35. package/src/client/notices.ts +86 -0
  36. package/src/client/store.tsx +186 -2
  37. package/src/client/vsc/change-marks.ts +39 -6
  38. package/src/client/vsc/kit.tsx +16 -1
  39. package/src/client/vsc/vsc.css +23 -0
  40. package/src/deploy.ts +38 -2
  41. package/src/http.ts +12 -1
  42. package/src/notices.ts +37 -0
  43. package/src/p2/router-fs.ts +5 -6
  44. package/src/p2/worlds.ts +46 -2
  45. package/src/protocol.ts +37 -1
  46. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.2-rc.4-linux-x64.helper.json +19 -0
  47. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.2-rc.4-linux-x64.tar.gz +4 -0
  48. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.2-rc.4-linux-x64.tar.gz.sha256 +1 -0
  49. package/vendor/dsh-remote-helpers/ssh-helper-runtime-deps.patch +14 -0
  50. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.1-alpha.2-linux-x64.helper.json +0 -16
  51. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.1-alpha.2-linux-x64.tar.gz +0 -4
  52. package/vendor/dsh-remote-helpers/dsh-ssh-helper-0.2.1-alpha.2-linux-x64.tar.gz.sha256 +0 -1
package/cordis.patch.yml CHANGED
@@ -54,6 +54,9 @@
54
54
  inject: [localFileReferences, remoteWorlds]
55
55
 
56
56
  # Remote agent preset, bound to this bundle's lifecycle.
57
+ # Mirrored from preset-standard @ dsh 0.2.2-rc.4. rc.4 note: the stock
58
+ # `presets/standard.patch.yml` is byte-identical to rc.2 (verified by hash),
59
+ # so this round adds no mirror delta — only the intentional diffs below.
57
60
  # Mirrored from preset-standard @ dsh 0.2.2-rc.2. rc.2 deltas adopted:
58
61
  # skill-filesystem customSkillDirs, tool-subagent-control interrupt:false,
59
62
  # tool-office row.
@@ -61,7 +64,12 @@
61
64
  # 1. persona prefix reframed for remote SSH work (transparent routing);
62
65
  # 2. tool-bash moved into an isolated shell group with our routed bash
63
66
  # executor (stock root shell stays pwsh on Windows);
64
- # 3. tool-pwsh row dropped.
67
+ # 3. tool-pwsh row dropped;
68
+ # 4. tool-fs `applyPatch: true` — intentional divergence from stock's
69
+ # `false`: 0.23.0 speaks helper protocol 3, so the remote half really
70
+ # implements patch/delete/move (fs.patch/fs.delete/fs.move) and the
71
+ # apply_patch tool is no longer a local-only promise. Stock default stays
72
+ # false for compositions that do not mount our remote fs.
65
73
  # Everything else is byte-identical so future diffs against stock stay obvious.
66
74
  # alpha.3 note: stock dropped `toolFilter` (subagent children now inherit
67
75
  # the parent composition; fork must not select presets) — our mirror drops
@@ -115,10 +123,10 @@
115
123
  - id: tool-fs
116
124
  name: '@deepseek-ai/dsh-tool-fs'
117
125
  config:
118
- # alpha.3 stock pins this explicitly; false is the alpha.3 default.
119
- # Kept explicit so the remote mirror cannot silently grow apply_patch
120
- # (its remote half is protocol-2 and has no patch/delete/move yet).
121
- applyPatch: false
126
+ # Intentional divergence from the stock `false`: the remote world
127
+ # serves protocol 3 (fs.patch/fs.delete/fs.move), so apply_patch is
128
+ # real for remote files as well as local ones. Stock stays false.
129
+ applyPatch: true
122
130
  - id: tool-fs-search
123
131
  name: '@deepseek-ai/dsh-tool-fs-search'
124
132
  config: