@kosdev-code/kos-ddk-cli 0.1.0-dev.72 → 0.1.0-dev.73
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 +6 -4
- 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/reference/reference.json +1 -1
- package/guides/getting-started.md +9 -9
- package/package.json +2 -2
- package/reference/reference.json +1 -1
package/README.md
CHANGED
|
@@ -130,20 +130,22 @@ Its reference is extracted from DDK source at build time:
|
|
|
130
130
|
and every token it reads with its value per theme.
|
|
131
131
|
- `find_ddk_capability` maps a plain-language need to extension points, standard
|
|
132
132
|
contributions and components.
|
|
133
|
-
- `ddk://guide
|
|
133
|
+
- `ddk://guide/*`, from [`guides/`](guides).
|
|
134
134
|
|
|
135
135
|
`describe_ddk_plugin` and `validate_ddk_plugin` read a plugin project's `.kos.json`: its
|
|
136
136
|
contributions, the standard ones they share a slot with, and checks of fields, ranks,
|
|
137
137
|
experiences and tokens set in plugin code. The skills `build-ddk-plugin`,
|
|
138
|
-
`ddk-content-component` and `ddk-storybook` give the workflow, and the
|
|
138
|
+
`ddk-config-page`, `ddk-content-component` and `ddk-storybook` give the workflow, and the
|
|
139
139
|
`kos-ddk-plugin-planner` and `kos-ddk-plugin-reviewer` subagents plan and review
|
|
140
140
|
read-only.
|
|
141
141
|
|
|
142
142
|
```sh
|
|
143
|
-
kosui
|
|
143
|
+
kosui plugin install --client claude --scope user
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
`kosui plugin install` installs it beside the SDK's `kos-tools` plugin, from the
|
|
147
|
+
package's `agent-plugin/` folder. `kosui ddk:agent-install` installs it alone.
|
|
148
|
+
`--scope repo` installs for the current checkout only.
|
|
147
149
|
|
|
148
150
|
## Tests
|
|
149
151
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kos-ddk-tools",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.73",
|
|
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.73",
|
|
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
|
}
|
|
@@ -19240,7 +19240,7 @@
|
|
|
19240
19240
|
"name": "ddk-guide-getting-started",
|
|
19241
19241
|
"title": "Getting started with the DDK CLI",
|
|
19242
19242
|
"description": "Installing kos-ddk-cli in a workspace or globally, checking kosui loads it, working from a repo root, and installing the kos-ddk agent plugin and MCP server.",
|
|
19243
|
-
"body": "# Getting started with the DDK CLI\n\n`@kosdev-code/kos-ddk-cli` is a `kosui` extension: it adds the `ddk:*` commands to the\n`kosui` CLI and ships the `kos-ddk-tools` agent plugin. It has no CLI of its own.\n\n## 1. kosui\n\n`kosui` (`@kosdev-code/kos-ui-cli`) is installed globally, at 3.0.31 or later.\n\n```sh\nnpm install -g @kosdev-code/kos-ui-cli\nkosui cli:update\n```\n\n## 2. Install the extension\n\nEither in the workspace, which pins the version with the project:\n\n```sh\ncd <repo>/ui\nnpm install -D @kosdev-code/kos-ddk-cli\n```\n\nor globally, beside `kosui`, which adds the commands in every workspace:\n\n```sh\nnpm install -g @kosdev-code/kos-ddk-cli\n```\n\n`kosui` looks in the workspace's `package.json` dependencies first, then beside its own\nglobal install. When both have it, the workspace copy is used.\n\n`latest` is the released version. `@dev` is the build of the DDK's `main` branch, published\non every push:\n\n```sh\nnpm install -D @kosdev-code/kos-ddk-cli@dev\n```\n\nThe DDK libraries' dev builds depend on each other at one exact version, so install them\ntogether; `--no-save` keeps `package.json` and the lockfile on the release ranges:\n\n```sh\nnpm install --no-save @kosdev-code/kos-ddk@dev @kosdev-code/kos-ddk-components@dev \\\n @kosdev-code/kos-ddk-model-components@dev @kosdev-code/kos-ddk-models@dev \\\n @kosdev-code/kos-ddk-story-containers@dev @kosdev-code/kos-ddk-styles@dev\n```\n\n## 3. Check kosui loads it\n\n```sh\nkosui extensions\nkosui help\n```\n\n`kosui extensions` names the package, its version, where it came from (`[workspace]` or\n`[global]`), its status and the commands it adds. `kosui help` lists them under `ddk:`.\n\nA workspace can turn it off in its `.kos.json`:\n\n```json\n{ \"cli\": { \"disabledExtensions\": [\"@kosdev-code/kos-ddk-cli\"] } }\n```\n\n## 4. Repo root or ui workspace\n\nEvery command and the MCP server work from the ui workspace (the directory with\n`nx.json`) and from a polyglot repo root: when the repo root's `.kos.json` (written by\n`kosui repo`) names a ui workspace in `workspaces.ui`, `kosui` and the server use that\nworkspace. An agent started at the repo root, to work across the backend and the UI,\ngets the same commands and tools.\n\n## 5. Agent plugin and MCP server\n\n```sh\nkosui
|
|
19243
|
+
"body": "# Getting started with the DDK CLI\n\n`@kosdev-code/kos-ddk-cli` is a `kosui` extension: it adds the `ddk:*` commands to the\n`kosui` CLI and ships the `kos-ddk-tools` agent plugin. It has no CLI of its own.\n\n## 1. kosui\n\n`kosui` (`@kosdev-code/kos-ui-cli`) is installed globally, at 3.0.31 or later.\n\n```sh\nnpm install -g @kosdev-code/kos-ui-cli\nkosui cli:update\n```\n\n## 2. Install the extension\n\nEither in the workspace, which pins the version with the project:\n\n```sh\ncd <repo>/ui\nnpm install -D @kosdev-code/kos-ddk-cli\n```\n\nor globally, beside `kosui`, which adds the commands in every workspace:\n\n```sh\nnpm install -g @kosdev-code/kos-ddk-cli\n```\n\n`kosui` looks in the workspace's `package.json` dependencies first, then beside its own\nglobal install. When both have it, the workspace copy is used.\n\n`latest` is the released version. `@dev` is the build of the DDK's `main` branch, published\non every push:\n\n```sh\nnpm install -D @kosdev-code/kos-ddk-cli@dev\n```\n\nThe DDK libraries' dev builds depend on each other at one exact version, so install them\ntogether; `--no-save` keeps `package.json` and the lockfile on the release ranges:\n\n```sh\nnpm install --no-save @kosdev-code/kos-ddk@dev @kosdev-code/kos-ddk-components@dev \\\n @kosdev-code/kos-ddk-model-components@dev @kosdev-code/kos-ddk-models@dev \\\n @kosdev-code/kos-ddk-story-containers@dev @kosdev-code/kos-ddk-styles@dev\n```\n\n## 3. Check kosui loads it\n\n```sh\nkosui extensions\nkosui help\n```\n\n`kosui extensions` names the package, its version, where it came from (`[workspace]` or\n`[global]`), its status and the commands it adds. `kosui help` lists them under `ddk:`.\n\nA workspace can turn it off in its `.kos.json`:\n\n```json\n{ \"cli\": { \"disabledExtensions\": [\"@kosdev-code/kos-ddk-cli\"] } }\n```\n\n## 4. Repo root or ui workspace\n\nEvery command and the MCP server work from the ui workspace (the directory with\n`nx.json`) and from a polyglot repo root: when the repo root's `.kos.json` (written by\n`kosui repo`) names a ui workspace in `workspaces.ui`, `kosui` and the server use that\nworkspace. An agent started at the repo root, to work across the backend and the UI,\ngets the same commands and tools.\n\n## 5. Agent plugin and MCP server\n\n```sh\nkosui plugin install --client claude --scope user\n```\n\nThis installs the SDK's `kos-tools` plugin and, beside it, the package's `kos-ddk-tools`\nplugin, which runs the `kos-ddk` MCP server. `--scope user` installs them for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\n`kosui ddk:agent-install` installs `kos-ddk-tools` alone, with the same flags.\n\nThe server is one self-contained file inside the package, so it does not depend on the\nworkspace's `node_modules`. It is registered from wherever the package is installed, in\nthe workspace or globally.\n\nRun `kosui plugin install` again after upgrading the CLIs (`kosui cli:update`): the\nclient keeps its copy of each plugin until the registration is refreshed.\n\n## 6. Next\n\n- `kosui ddk:plugin-project --name my-plugin` creates a DDK plugin project under\n `plugins/` (`--directory` changes the folder). It tests against the `kosdev.ddk`\n plugin context and registers with the workspace host serving that context, or with\n `--host`; a workspace without a DDK host registers it with none. The contribution\n commands in the README add to it.\n- `kosui ddk:descriptor-project --name my-ncui --layout standard --ice true` (or `compact`) creates the\n NCUI descriptor project a new utility, setup step or navigation view is listed in;\n pass `--descriptorProject my-ncui` to `ddk:utility`, `ddk:setup` and `ddk:nav`. `ddk://guide/descriptor-project` lists what each layout and option writes.\n- `ddk://guide/storybook` for developing contributions in Storybook.\n- `ddk://guide/ddk-dev` for loading plugins into a running DDK.\n\n## Upgrading\n\n```sh\nkosui cli:update # kosui, and a global kos-ddk-cli\nnpm install -D @kosdev-code/kos-ddk-cli@latest # a workspace install\nkosui plugin install --client claude --scope user # both agent plugins\n```\n\n## When the ddk commands are missing\n\n- `kosui extensions` does not list the package: it is in neither the workspace's\n `package.json` nor the global install beside the `kosui` on your `PATH`\n (`npm ls -g @kosdev-code/kos-ddk-cli`).\n- It is listed as `incompatible`: `kosui` is older than the extension needs; update it.\n- It is listed as `disabled`: the workspace `.kos.json` names it in\n `cli.disabledExtensions`."
|
|
19244
19244
|
},
|
|
19245
19245
|
{
|
|
19246
19246
|
"uri": "ddk://guide/storybook",
|
|
@@ -80,19 +80,20 @@ gets the same commands and tools.
|
|
|
80
80
|
## 5. Agent plugin and MCP server
|
|
81
81
|
|
|
82
82
|
```sh
|
|
83
|
-
kosui
|
|
83
|
+
kosui plugin install --client claude --scope user
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
This
|
|
87
|
-
|
|
86
|
+
This installs the SDK's `kos-tools` plugin and, beside it, the package's `kos-ddk-tools`
|
|
87
|
+
plugin, which runs the `kos-ddk` MCP server. `--scope user` installs them for every repo,
|
|
88
88
|
`--scope repo` for the current checkout only. Without `--client` it detects the client.
|
|
89
|
+
`kosui ddk:agent-install` installs `kos-ddk-tools` alone, with the same flags.
|
|
89
90
|
|
|
90
91
|
The server is one self-contained file inside the package, so it does not depend on the
|
|
91
92
|
workspace's `node_modules`. It is registered from wherever the package is installed, in
|
|
92
93
|
the workspace or globally.
|
|
93
94
|
|
|
94
|
-
Run `
|
|
95
|
-
keeps its copy of
|
|
95
|
+
Run `kosui plugin install` again after upgrading the CLIs (`kosui cli:update`): the
|
|
96
|
+
client keeps its copy of each plugin until the registration is refreshed.
|
|
96
97
|
|
|
97
98
|
## 6. Next
|
|
98
99
|
|
|
@@ -110,10 +111,9 @@ keeps its copy of the plugin until the registration is refreshed.
|
|
|
110
111
|
## Upgrading
|
|
111
112
|
|
|
112
113
|
```sh
|
|
113
|
-
kosui cli:update
|
|
114
|
-
npm install -D @kosdev-code/kos-ddk-cli@latest
|
|
115
|
-
|
|
116
|
-
kosui ddk:agent-install --client claude --scope user
|
|
114
|
+
kosui cli:update # kosui, and a global kos-ddk-cli
|
|
115
|
+
npm install -D @kosdev-code/kos-ddk-cli@latest # a workspace install
|
|
116
|
+
kosui plugin install --client claude --scope user # both agent plugins
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
## When the ddk commands are missing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosdev-code/kos-ddk-cli",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.73",
|
|
4
4
|
"description": "DDK commands for kosui: plugin projects and DDK extension-point contributions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"kosui": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"kos": {
|
|
29
29
|
"build": {
|
|
30
|
-
"gitHash": "
|
|
30
|
+
"gitHash": "0facd07837af2eef325abefa65b082d9d94fb8cc"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
package/reference/reference.json
CHANGED
|
@@ -19240,7 +19240,7 @@
|
|
|
19240
19240
|
"name": "ddk-guide-getting-started",
|
|
19241
19241
|
"title": "Getting started with the DDK CLI",
|
|
19242
19242
|
"description": "Installing kos-ddk-cli in a workspace or globally, checking kosui loads it, working from a repo root, and installing the kos-ddk agent plugin and MCP server.",
|
|
19243
|
-
"body": "# Getting started with the DDK CLI\n\n`@kosdev-code/kos-ddk-cli` is a `kosui` extension: it adds the `ddk:*` commands to the\n`kosui` CLI and ships the `kos-ddk-tools` agent plugin. It has no CLI of its own.\n\n## 1. kosui\n\n`kosui` (`@kosdev-code/kos-ui-cli`) is installed globally, at 3.0.31 or later.\n\n```sh\nnpm install -g @kosdev-code/kos-ui-cli\nkosui cli:update\n```\n\n## 2. Install the extension\n\nEither in the workspace, which pins the version with the project:\n\n```sh\ncd <repo>/ui\nnpm install -D @kosdev-code/kos-ddk-cli\n```\n\nor globally, beside `kosui`, which adds the commands in every workspace:\n\n```sh\nnpm install -g @kosdev-code/kos-ddk-cli\n```\n\n`kosui` looks in the workspace's `package.json` dependencies first, then beside its own\nglobal install. When both have it, the workspace copy is used.\n\n`latest` is the released version. `@dev` is the build of the DDK's `main` branch, published\non every push:\n\n```sh\nnpm install -D @kosdev-code/kos-ddk-cli@dev\n```\n\nThe DDK libraries' dev builds depend on each other at one exact version, so install them\ntogether; `--no-save` keeps `package.json` and the lockfile on the release ranges:\n\n```sh\nnpm install --no-save @kosdev-code/kos-ddk@dev @kosdev-code/kos-ddk-components@dev \\\n @kosdev-code/kos-ddk-model-components@dev @kosdev-code/kos-ddk-models@dev \\\n @kosdev-code/kos-ddk-story-containers@dev @kosdev-code/kos-ddk-styles@dev\n```\n\n## 3. Check kosui loads it\n\n```sh\nkosui extensions\nkosui help\n```\n\n`kosui extensions` names the package, its version, where it came from (`[workspace]` or\n`[global]`), its status and the commands it adds. `kosui help` lists them under `ddk:`.\n\nA workspace can turn it off in its `.kos.json`:\n\n```json\n{ \"cli\": { \"disabledExtensions\": [\"@kosdev-code/kos-ddk-cli\"] } }\n```\n\n## 4. Repo root or ui workspace\n\nEvery command and the MCP server work from the ui workspace (the directory with\n`nx.json`) and from a polyglot repo root: when the repo root's `.kos.json` (written by\n`kosui repo`) names a ui workspace in `workspaces.ui`, `kosui` and the server use that\nworkspace. An agent started at the repo root, to work across the backend and the UI,\ngets the same commands and tools.\n\n## 5. Agent plugin and MCP server\n\n```sh\nkosui
|
|
19243
|
+
"body": "# Getting started with the DDK CLI\n\n`@kosdev-code/kos-ddk-cli` is a `kosui` extension: it adds the `ddk:*` commands to the\n`kosui` CLI and ships the `kos-ddk-tools` agent plugin. It has no CLI of its own.\n\n## 1. kosui\n\n`kosui` (`@kosdev-code/kos-ui-cli`) is installed globally, at 3.0.31 or later.\n\n```sh\nnpm install -g @kosdev-code/kos-ui-cli\nkosui cli:update\n```\n\n## 2. Install the extension\n\nEither in the workspace, which pins the version with the project:\n\n```sh\ncd <repo>/ui\nnpm install -D @kosdev-code/kos-ddk-cli\n```\n\nor globally, beside `kosui`, which adds the commands in every workspace:\n\n```sh\nnpm install -g @kosdev-code/kos-ddk-cli\n```\n\n`kosui` looks in the workspace's `package.json` dependencies first, then beside its own\nglobal install. When both have it, the workspace copy is used.\n\n`latest` is the released version. `@dev` is the build of the DDK's `main` branch, published\non every push:\n\n```sh\nnpm install -D @kosdev-code/kos-ddk-cli@dev\n```\n\nThe DDK libraries' dev builds depend on each other at one exact version, so install them\ntogether; `--no-save` keeps `package.json` and the lockfile on the release ranges:\n\n```sh\nnpm install --no-save @kosdev-code/kos-ddk@dev @kosdev-code/kos-ddk-components@dev \\\n @kosdev-code/kos-ddk-model-components@dev @kosdev-code/kos-ddk-models@dev \\\n @kosdev-code/kos-ddk-story-containers@dev @kosdev-code/kos-ddk-styles@dev\n```\n\n## 3. Check kosui loads it\n\n```sh\nkosui extensions\nkosui help\n```\n\n`kosui extensions` names the package, its version, where it came from (`[workspace]` or\n`[global]`), its status and the commands it adds. `kosui help` lists them under `ddk:`.\n\nA workspace can turn it off in its `.kos.json`:\n\n```json\n{ \"cli\": { \"disabledExtensions\": [\"@kosdev-code/kos-ddk-cli\"] } }\n```\n\n## 4. Repo root or ui workspace\n\nEvery command and the MCP server work from the ui workspace (the directory with\n`nx.json`) and from a polyglot repo root: when the repo root's `.kos.json` (written by\n`kosui repo`) names a ui workspace in `workspaces.ui`, `kosui` and the server use that\nworkspace. An agent started at the repo root, to work across the backend and the UI,\ngets the same commands and tools.\n\n## 5. Agent plugin and MCP server\n\n```sh\nkosui plugin install --client claude --scope user\n```\n\nThis installs the SDK's `kos-tools` plugin and, beside it, the package's `kos-ddk-tools`\nplugin, which runs the `kos-ddk` MCP server. `--scope user` installs them for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\n`kosui ddk:agent-install` installs `kos-ddk-tools` alone, with the same flags.\n\nThe server is one self-contained file inside the package, so it does not depend on the\nworkspace's `node_modules`. It is registered from wherever the package is installed, in\nthe workspace or globally.\n\nRun `kosui plugin install` again after upgrading the CLIs (`kosui cli:update`): the\nclient keeps its copy of each plugin until the registration is refreshed.\n\n## 6. Next\n\n- `kosui ddk:plugin-project --name my-plugin` creates a DDK plugin project under\n `plugins/` (`--directory` changes the folder). It tests against the `kosdev.ddk`\n plugin context and registers with the workspace host serving that context, or with\n `--host`; a workspace without a DDK host registers it with none. The contribution\n commands in the README add to it.\n- `kosui ddk:descriptor-project --name my-ncui --layout standard --ice true` (or `compact`) creates the\n NCUI descriptor project a new utility, setup step or navigation view is listed in;\n pass `--descriptorProject my-ncui` to `ddk:utility`, `ddk:setup` and `ddk:nav`. `ddk://guide/descriptor-project` lists what each layout and option writes.\n- `ddk://guide/storybook` for developing contributions in Storybook.\n- `ddk://guide/ddk-dev` for loading plugins into a running DDK.\n\n## Upgrading\n\n```sh\nkosui cli:update # kosui, and a global kos-ddk-cli\nnpm install -D @kosdev-code/kos-ddk-cli@latest # a workspace install\nkosui plugin install --client claude --scope user # both agent plugins\n```\n\n## When the ddk commands are missing\n\n- `kosui extensions` does not list the package: it is in neither the workspace's\n `package.json` nor the global install beside the `kosui` on your `PATH`\n (`npm ls -g @kosdev-code/kos-ddk-cli`).\n- It is listed as `incompatible`: `kosui` is older than the extension needs; update it.\n- It is listed as `disabled`: the workspace `.kos.json` names it in\n `cli.disabledExtensions`."
|
|
19244
19244
|
},
|
|
19245
19245
|
{
|
|
19246
19246
|
"uri": "ddk://guide/storybook",
|