@north-light/crouter 0.3.186 → 0.3.187
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/dist/builtin-memory/internal/agent-shaping.md +1 -1
- package/dist/builtin-memory/internal/plugins.md +9 -0
- package/dist/clients/attach/viewer.js +326 -326
- package/dist/commands/pkg/plugin-manage.js +39 -5
- package/dist/core/__tests__/plugin-kinds.test.d.ts +1 -0
- package/dist/core/__tests__/plugin-kinds.test.js +167 -0
- package/dist/core/command-plugins/bundle.d.ts +6 -0
- package/dist/core/command-plugins/bundle.js +29 -7
- package/dist/core/config.d.ts +12 -1
- package/dist/core/config.js +84 -12
- package/dist/core/installed-plugins.d.ts +2 -0
- package/dist/core/installed-plugins.js +42 -0
- package/dist/core/resolver.d.ts +1 -1
- package/dist/core/resolver.js +7 -32
- package/dist/types.d.ts +12 -1
- package/package.json +1 -1
- package/runtime.lock.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -33,7 +33,18 @@ export interface PluginManifest {
|
|
|
33
33
|
description?: string;
|
|
34
34
|
source?: string;
|
|
35
35
|
owner?: OwnerRef;
|
|
36
|
-
|
|
36
|
+
/** Kind-registry contributions, keyed by full kind string (top-level e.g.
|
|
37
|
+
* `applet-builder`, or sub-kind e.g. `plan/reviewers/security`). Each entry
|
|
38
|
+
* is either a FULL `KindConfig` (has `whenToUse`: defines or wholly shadows
|
|
39
|
+
* the kind) or a sparse PATCH over a kind a lower layer already defines —
|
|
40
|
+
* the same two shapes a scope `config.json` `kinds` block accepts.
|
|
41
|
+
* `readMergedLaunchConfig` layers an enabled plugin's entries directly
|
|
42
|
+
* above the builtin registry and below its host scope's own `config.json`,
|
|
43
|
+
* so a plugin can ship a persona kind (registry entry here + gated persona
|
|
44
|
+
* memory docs in its `memory/` tree) and the user still overrides it.
|
|
45
|
+
* Archive plugins declare this in `bundle.json`; the installer copies the
|
|
46
|
+
* validated block into this synthesized manifest. */
|
|
47
|
+
kinds?: Record<string, Partial<KindConfig>>;
|
|
37
48
|
/** Plugin-root-relative path to one declarative command manifest
|
|
38
49
|
* (`commands.json`). When present on an installed, enabled plugin, that
|
|
39
50
|
* manifest contributes top-level command branches to the `crtr` tree —
|
package/package.json
CHANGED
package/runtime.lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/crouter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.187",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@north-light/crouter",
|
|
9
|
-
"version": "0.3.
|
|
9
|
+
"version": "0.3.187",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|