@logictan/dsh-plugins-all 0.2.1 → 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 (2) hide show
  1. package/cordis.patch.yml +66 -0
  2. package/package.json +3 -1
package/cordis.patch.yml CHANGED
@@ -71,3 +71,69 @@
71
71
  - insert:
72
72
  - id: imagegen
73
73
  name: '@logictan/dsh-imagegen'
74
+
75
+ # from ../dsh-fakeip-fetch
76
+ # dsh-fakeip-fetch bundle patch layer.
77
+ #
78
+ # Two entries, both required:
79
+ #
80
+ # 1. The upstream `web-fetch-http` row is disabled. That plugin registers the
81
+ # fetch provider id `http`, and so does this one (deliberately: it keeps the
82
+ # `web` row's `fetchProvider: http` config untouched, so this package never
83
+ # has to restate — and never drifts from — `dsh-base`'s web row). Registering
84
+ # the same id twice throws `WEB_DUPLICATE_PROVIDER`, so the original row must
85
+ # stand down. Disabling (rather than editing) it also means re-enabling is a
86
+ # one-line revert in the profile patch, and that `dsh-base` stays unmodified.
87
+ #
88
+ # 2. This plugin's own row is inserted.
89
+ #
90
+ # Row id `fakeip-fetch` equals the host half's `export const name` in
91
+ # src/index.js. It is distinct from the provider id `http` on purpose: the row
92
+ # id names the loader entry, the provider id names the web seam registration.
93
+ - id: web-fetch-http
94
+ disabled: true
95
+
96
+ - insert:
97
+ - id: fakeip-fetch
98
+ name: '@logictan/dsh-fakeip-fetch'
99
+
100
+ # from ../ctx-mem
101
+ # ctx-mem bundle patch layer.
102
+ #
103
+ # Two rows, because this package ships two halves.
104
+ #
105
+ # `ctx-mem-bridge` runs on the PROFILE plane and is ENABLED. The host's cordis
106
+ # loader resolves every loader entry's config through the synchronous
107
+ # `internal/config` waterfall, so this row hangs off it and injects a `patches`
108
+ # array into each preset composition as it is mounted: the preset's own
109
+ # `compaction-basic` row is disabled and `ctx-mem` is inserted into the same
110
+ # `compaction` group. That is what makes the backend work in ANY mode without a
111
+ # dedicated preset copy.
112
+ #
113
+ # `ctx-mem` is the ENGINE and is DISABLED. A compaction backend is a
114
+ # `ctx.compaction` SERVICE replacement, and every shipped preset composes its
115
+ # own backend inside an `isolate: { compaction: true }` group
116
+ # (`dsh-agent-presets/presets/*/agent.cordis.yml`), so an agent context resolves
117
+ # `ctx.compaction` inside that realm and never sees a profile-plane provider.
118
+ # Enabling this row would not replace the preset's backend — it would add a
119
+ # SECOND engine beside it: a listener registered here carries no scope tag, and
120
+ # an untagged listener is admitted for every agent in the process
121
+ # (`dsh-scope`'s scope filter returns true when the dispatch context has no
122
+ # tag), so its pressure listener would fire for every agent and both engines
123
+ # would compact the same session. The row is declared so the package carries the
124
+ # row the repo convention requires, with an id equal to the host half's
125
+ # `export const name`; the bridge's injected row is what actually mounts it.
126
+ #
127
+ # The bridge only covers `standard`, `ptc` and `cordis` (see COVERED_PRESETS in
128
+ # src/bridge.js). `minimal` and user-authored presets have no compaction group
129
+ # by design, and a profile without `agent-presets` never mounts a preset subtree
130
+ # at all, so the bridge is inert there.
131
+ - insert:
132
+ - id: ctx-mem-bridge
133
+ name: '@logictan/dsh-ctx-mem/bridge'
134
+ config:
135
+ engine: {}
136
+
137
+ - id: ctx-mem
138
+ name: '@logictan/dsh-ctx-mem'
139
+ disabled: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logictan/dsh-plugins-all",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "DSH plugin aggregate bundle: one install for every plugin in this repo.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,7 +20,9 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "@logictan/dsh-config-manager": "^0.1.60",
23
+ "@logictan/dsh-ctx-mem": "^0.1.0",
23
24
  "@logictan/dsh-easyrewrite": "^2.5.4",
25
+ "@logictan/dsh-fakeip-fetch": "^0.1.0",
24
26
  "@logictan/dsh-imagegen": "^1.5.13",
25
27
  "@logictan/dsh-workbuddy-connect": "^0.5.4",
26
28
  "@logictan/dshmarket": "^1.48.0"