@kosdev-code/kos-ddk-cli 0.1.0-dev.55 → 0.1.0-dev.56
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kos-ddk-tools",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.56",
|
|
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.56",
|
|
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
|
}
|
|
@@ -19228,7 +19228,7 @@
|
|
|
19228
19228
|
"name": "ddk-guide-getting-started",
|
|
19229
19229
|
"title": "Getting started with the DDK CLI",
|
|
19230
19230
|
"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.",
|
|
19231
|
-
"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\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 ddk:agent-install --client claude --scope user\n```\n\nThis registers the package's `kos-ddk-tools` plugin with the agent client and installs\nit; the plugin runs the `kos-ddk` MCP server. `--scope user` installs it for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\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 `ddk:agent-install` again after upgrading or reinstalling the package: the client\nkeeps its copy of the 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\nnpm install -D @kosdev-code/kos-ddk-cli@latest # workspace install\nnpm install -g @kosdev-code/kos-ddk-cli@latest # global install\nkosui ddk:agent-install --client claude --scope user\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`."
|
|
19231
|
+
"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 ddk:agent-install --client claude --scope user\n```\n\nThis registers the package's `kos-ddk-tools` plugin with the agent client and installs\nit; the plugin runs the `kos-ddk` MCP server. `--scope user` installs it for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\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 `ddk:agent-install` again after upgrading or reinstalling the package: the client\nkeeps its copy of the 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\nnpm install -D @kosdev-code/kos-ddk-cli@latest # workspace install\nnpm install -g @kosdev-code/kos-ddk-cli@latest # global install\nkosui ddk:agent-install --client claude --scope user\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`."
|
|
19232
19232
|
},
|
|
19233
19233
|
{
|
|
19234
19234
|
"uri": "ddk://guide/storybook",
|
|
@@ -44,6 +44,15 @@ on every push:
|
|
|
44
44
|
npm install -D @kosdev-code/kos-ddk-cli@dev
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
The DDK libraries' dev builds depend on each other at one exact version, so install them
|
|
48
|
+
together; `--no-save` keeps `package.json` and the lockfile on the release ranges:
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npm install --no-save @kosdev-code/kos-ddk@dev @kosdev-code/kos-ddk-components@dev \
|
|
52
|
+
@kosdev-code/kos-ddk-model-components@dev @kosdev-code/kos-ddk-models@dev \
|
|
53
|
+
@kosdev-code/kos-ddk-story-containers@dev @kosdev-code/kos-ddk-styles@dev
|
|
54
|
+
```
|
|
55
|
+
|
|
47
56
|
## 3. Check kosui loads it
|
|
48
57
|
|
|
49
58
|
```sh
|
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.56",
|
|
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": "84b6d86b5668fe3e97dc6e16e065c8f33b497c8c"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
package/reference/reference.json
CHANGED
|
@@ -19228,7 +19228,7 @@
|
|
|
19228
19228
|
"name": "ddk-guide-getting-started",
|
|
19229
19229
|
"title": "Getting started with the DDK CLI",
|
|
19230
19230
|
"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.",
|
|
19231
|
-
"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\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 ddk:agent-install --client claude --scope user\n```\n\nThis registers the package's `kos-ddk-tools` plugin with the agent client and installs\nit; the plugin runs the `kos-ddk` MCP server. `--scope user` installs it for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\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 `ddk:agent-install` again after upgrading or reinstalling the package: the client\nkeeps its copy of the 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\nnpm install -D @kosdev-code/kos-ddk-cli@latest # workspace install\nnpm install -g @kosdev-code/kos-ddk-cli@latest # global install\nkosui ddk:agent-install --client claude --scope user\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`."
|
|
19231
|
+
"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 ddk:agent-install --client claude --scope user\n```\n\nThis registers the package's `kos-ddk-tools` plugin with the agent client and installs\nit; the plugin runs the `kos-ddk` MCP server. `--scope user` installs it for every repo,\n`--scope repo` for the current checkout only. Without `--client` it detects the client.\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 `ddk:agent-install` again after upgrading or reinstalling the package: the client\nkeeps its copy of the 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\nnpm install -D @kosdev-code/kos-ddk-cli@latest # workspace install\nnpm install -g @kosdev-code/kos-ddk-cli@latest # global install\nkosui ddk:agent-install --client claude --scope user\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`."
|
|
19232
19232
|
},
|
|
19233
19233
|
{
|
|
19234
19234
|
"uri": "ddk://guide/storybook",
|