@dsh-cc/command-init 0.5.0 → 0.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAKlD,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAClC,eAAO,MAAM,MAAM,UAAe,CAAA;AAYlC;;;GAGG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAMxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAMlD,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAClC,eAAO,MAAM,MAAM,UAAe,CAAA;AAYlC;;;GAGG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAMxC"}
package/lib/index.js CHANGED
@@ -4,6 +4,7 @@
4
4
  * @module @dsh-cc/command-init
5
5
  */
6
6
  import { createUserMessage } from '@deepseek-ai/dsh-llm';
7
+ import { helpable } from '@dsh-cc/command-usage';
7
8
  import { initContent } from "./init.js";
8
9
  export const name = 'command-init';
9
10
  export const inject = ['commands'];
@@ -21,10 +22,10 @@ function executeInit(invocation) {
21
22
  * @param ctx - context carrying the command registry.
22
23
  */
23
24
  export function apply(ctx) {
24
- ctx.commands.register({
25
+ ctx.commands.register(helpable({
25
26
  name: 'init',
26
27
  description: 'analyze this repository and write (or refresh) CLAUDE.md',
27
28
  handler: (invocation) => executeInit(invocation),
28
- });
29
+ }));
29
30
  }
30
31
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","source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UAA6B;IAChD,MAAM,OAAO,GAAG,iBAAiB,CAAC;QAChC,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC;QACxB,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;KACzB,CAAC,CAAA;IACF,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;IAClC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAA;AAC7D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,KAAK,CAAC,GAAY;IAChC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC7B,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,0DAA0D;QACvE,OAAO,EAAE,CAAC,UAA6B,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC;KACpE,CAAC,CAAC,CAAA;AACL,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dsh-cc/command-init",
3
3
  "description": "Human-facing slash command to queue CLAUDE.md initialization via a model turn",
4
- "version": "0.5.0",
4
+ "version": "0.6.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/dsh-cc/dsh-cc.git",
@@ -25,9 +25,9 @@
25
25
  ],
26
26
  "license": "Apache-2.0",
27
27
  "peerDependencies": {
28
- "@deepseek-ai/dsh-commands": ">=0.1.1-rc.2",
29
- "@deepseek-ai/dsh-invariants": ">=0.1.1-rc.2",
30
- "@deepseek-ai/cordis": ">=0.1.1-rc.2"
28
+ "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1",
29
+ "@deepseek-ai/dsh-invariants": ">=0.1.2-rc.1",
30
+ "@deepseek-ai/cordis": ">=0.1.2-rc.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@deepseek-ai/cordis-plugin-loader": "link:../../../../deepseek-harness/vendor/loader",
@@ -40,5 +40,8 @@
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
+ },
44
+ "dependencies": {
45
+ "@dsh-cc/command-usage": "^0.6.0"
43
46
  }
44
47
  }