@kosdev-code/kos-ddk-cli 0.1.0-dev.61 → 0.1.0-dev.64
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/README.md +13 -0
- package/agent-plugin/kos-ddk-tools/.claude-plugin/plugin.json +1 -1
- package/agent-plugin/kos-ddk-tools/plugin.json +1 -1
- package/agent-plugin/kos-ddk-tools/servers/kos-ddk.mjs +406 -393
- package/package.json +2 -2
- package/src/codegen/descriptor.mjs +28 -0
- package/src/codegen/project.mjs +8 -2
package/README.md
CHANGED
|
@@ -62,6 +62,19 @@ the parent's roles. For contributions written before the descriptor project,
|
|
|
62
62
|
entry. Build and install the descriptor project's KAB (`nx run my-ncui:kab`) beside the DDK
|
|
63
63
|
app.
|
|
64
64
|
|
|
65
|
+
To try a descriptor project without installing it, serve it with KosMock. Each
|
|
66
|
+
descriptor project has a generated setup module, `fixtures/setups/<name>.mjs`, rewritten
|
|
67
|
+
whenever a command lists an entry there; it calls `kosMock.ddk.useDescriptor`, which
|
|
68
|
+
answers the DDK's descriptor reads from the project and lists its setup steps:
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
kosui fixtures serve
|
|
72
|
+
# open the DDK app (or ddk:dev) with ?kosMock=on&kosFixtureServer&kosSetup=my-ncui
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
For mocking beyond the descriptor, a setup of your own can call `kosMock.ddk.addUtility`,
|
|
76
|
+
`addNavigation` and `addSetupStep`.
|
|
77
|
+
|
|
65
78
|
## Overriding a standard contribution
|
|
66
79
|
|
|
67
80
|
Utilities, setup steps, navigation views, dashboard cards, pump details, macro
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kos-ddk-tools",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.64",
|
|
4
4
|
"description": "KOS DDK plugin authoring (kos-ddk) MCP server: plugin projects, extension-point contributions and overrides of the standard ones.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kosdev-code"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "kos-ddk-tools",
|
|
4
|
-
"version": "0.1.0-dev.
|
|
4
|
+
"version": "0.1.0-dev.64",
|
|
5
5
|
"description": "KOS DDK plugin authoring (kos-ddk) MCP server: plugin projects, extension-point contributions and overrides of the standard ones.",
|
|
6
6
|
"license": "MIT"
|
|
7
7
|
}
|