@noirhare/dsh-nr-agent-presets 0.0.4 → 0.0.5

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.
@@ -0,0 +1,3 @@
1
+ import { Context } from "@deepseek-ai/cordis";
2
+ export declare const inject: string[];
3
+ export declare function apply(ctx: Context): void;
@@ -0,0 +1,7 @@
1
+ import Path from "node:path";
2
+ const id = "dsh-nr-agent-presets";
3
+ const root = Path.resolve(import.meta.dirname, "..", "..", "agent-presets");
4
+ export const inject = ["agentPresets"];
5
+ export function apply(ctx) {
6
+ ctx.effect(() => ctx.agentPresets.registerRoot(id, root), `${id}:root`);
7
+ }
@@ -0,0 +1 @@
1
+ export * from "@deepseek-ai/dsh-agent-presets/invariant";
@@ -0,0 +1 @@
1
+ export * from "@deepseek-ai/dsh-agent-presets/invariant";
package/package.json CHANGED
@@ -1,31 +1,34 @@
1
1
  {
2
2
  "name": "@noirhare/dsh-nr-agent-presets",
3
- "version": "0.0.4",
4
- "author": "NoirHare",
3
+ "version": "0.0.5",
5
4
  "license": "MIT",
5
+ "author": {
6
+ "name": "NoirHare",
7
+ "url": "https://github.com/NoirHare"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "git+https://github.com/NoirHare/dsh-bundle.git",
9
- "directory": "packages/nr-agent-presets"
10
- },
11
- "type": "module",
12
- "exports": {
13
- ".": "./lib/index.js",
14
- "./package.json": "./package.json"
12
+ "directory": "packages/agent-presets"
15
13
  },
16
14
  "files": [
17
- "lib"
15
+ "lib",
16
+ "agent-presets"
18
17
  ],
19
18
  "publishConfig": {
20
19
  "access": "public"
21
20
  },
21
+ "type": "module",
22
+ "exports": {
23
+ ".": "./lib/host/index.js",
24
+ "./package.json": "./package.json"
25
+ },
22
26
  "peerDependencies": {
23
- "@noirhare/dsh-agent-presets": "^0.0.2",
24
- "@deepseek-ai/cordis": "^4.0.1"
27
+ "@deepseek-ai/cordis": "^4.0.1",
28
+ "@noirhare/dsh-agent-presets": "^0.0.3"
25
29
  },
26
30
  "scripts": {
27
- "build": "tsdown",
28
- "typecheck": "tsc --noEmit",
29
- "prepublish": "pnpm typecheck && pnpm build"
31
+ "build": "tsc -b && node build.ts",
32
+ "prepublish": "pnpm build"
30
33
  }
31
34
  }
package/lib/index.js DELETED
@@ -1,10 +0,0 @@
1
- import Path from "node:path";
2
- //#region src/index.ts
3
- const id = "dsh-nr-agent-presets";
4
- const root = Path.resolve(import.meta.dirname, "agent-presets");
5
- const inject = ["agentPresets"];
6
- function apply(ctx) {
7
- ctx.effect(() => ctx.agentPresets.registerRoot(id, root), `${id}:root`);
8
- }
9
- //#endregion
10
- export { apply, inject };