@logictan/dsh-plugins-all 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.
- package/cordis.patch.yml +112 -0
- package/package.json +13 -2
package/cordis.patch.yml
CHANGED
|
@@ -25,3 +25,115 @@
|
|
|
25
25
|
- insert:
|
|
26
26
|
- id: config-manager
|
|
27
27
|
name: '@logictan/dsh-config-manager'
|
|
28
|
+
|
|
29
|
+
# from ../dsh-workbuddy-connect
|
|
30
|
+
# Register the WorkBuddy provider without changing the profile's current
|
|
31
|
+
# default model. The plugin reuses the WorkBuddy desktop app's sign-in; no
|
|
32
|
+
# separate OAuth flow is started.
|
|
33
|
+
#
|
|
34
|
+
# Row id stays `llm-workbuddy`: it equals the host half's `export const name`
|
|
35
|
+
# in src/index.ts, and the browser half keys its configuration entry on
|
|
36
|
+
# `<bundle package name>#llm-workbuddy` for this same id.
|
|
37
|
+
- insert:
|
|
38
|
+
- id: llm-workbuddy
|
|
39
|
+
name: '@logictan/dsh-workbuddy-connect'
|
|
40
|
+
|
|
41
|
+
# from ../dsh-easyrewrite
|
|
42
|
+
# dsh-easyrewrite bundle patch layer —— 把本插件挂载进 profile 树。
|
|
43
|
+
#
|
|
44
|
+
# 行 id 保持 `dsh-easyrewrite`:它等于宿主半边 src/index.js 的 `export const name`,
|
|
45
|
+
# 浏览器半边则以 `<bundle 包名>#dsh-easyrewrite` 作为自己的配置项 key。
|
|
46
|
+
# name 为发布包名(@logictan 作用域)。
|
|
47
|
+
- insert:
|
|
48
|
+
- id: dsh-easyrewrite
|
|
49
|
+
name: '@logictan/dsh-easyrewrite'
|
|
50
|
+
|
|
51
|
+
# from ../dsh-market
|
|
52
|
+
# dsh bundle patch: inserts this plugin into a profile's layer stack.
|
|
53
|
+
#
|
|
54
|
+
# Row id stays `dsh-market`: it equals the host half's `export const name`
|
|
55
|
+
# in src/index.ts, and the browser half keys its configuration entry on
|
|
56
|
+
# `<bundle package name>#dsh-market` for this same id.
|
|
57
|
+
- insert:
|
|
58
|
+
- id: dsh-market
|
|
59
|
+
name: '@logictan/dshmarket'
|
|
60
|
+
|
|
61
|
+
# from ../dsh-imagegen
|
|
62
|
+
# dsh-imagegen bundle patch: inserts the plugin row into the web profile
|
|
63
|
+
# roster. The row is a bare plugin by package name: the node half (exports ".")
|
|
64
|
+
# runs in the host process (settings bridge + image-generation proxy routes),
|
|
65
|
+
# and the `dsh.client` declaration in package.json makes the browser half
|
|
66
|
+
# (exports "./client", served at /plugins/<id>/client.js) load in the web GUI.
|
|
67
|
+
#
|
|
68
|
+
# Row id stays `imagegen`: it equals the host half's `export const name` in
|
|
69
|
+
# src/index.ts, and the browser half keys its configuration entry on
|
|
70
|
+
# `<bundle package name>#imagegen` for this same id.
|
|
71
|
+
- insert:
|
|
72
|
+
- id: imagegen
|
|
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,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logictan/dsh-plugins-all",
|
|
3
|
-
"version": "0.
|
|
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",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/dale0525/dsh-plugins.git",
|
|
10
|
+
"directory": "packages/all"
|
|
11
|
+
},
|
|
7
12
|
"dsh": {
|
|
8
13
|
"bundle": {
|
|
9
14
|
"patch": "./cordis.patch.yml"
|
|
@@ -14,6 +19,12 @@
|
|
|
14
19
|
"cordis.patch.yml"
|
|
15
20
|
],
|
|
16
21
|
"dependencies": {
|
|
17
|
-
"@logictan/dsh-config-manager": "^0.1.60"
|
|
22
|
+
"@logictan/dsh-config-manager": "^0.1.60",
|
|
23
|
+
"@logictan/dsh-ctx-mem": "^0.1.0",
|
|
24
|
+
"@logictan/dsh-easyrewrite": "^2.5.4",
|
|
25
|
+
"@logictan/dsh-fakeip-fetch": "^0.1.0",
|
|
26
|
+
"@logictan/dsh-imagegen": "^1.5.13",
|
|
27
|
+
"@logictan/dsh-workbuddy-connect": "^0.5.4",
|
|
28
|
+
"@logictan/dshmarket": "^1.48.0"
|
|
18
29
|
}
|
|
19
30
|
}
|