@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.
- package/lib/host/index.d.ts +3 -0
- package/lib/host/index.js +7 -0
- package/lib/host/invariant.d.ts +1 -0
- package/lib/host/invariant.js +1 -0
- package/package.json +17 -14
- package/lib/index.js +0 -10
- /package/{lib/agent-presets → agent-presets}/fs/agent.cordis.yml +0 -0
- /package/{lib/agent-presets → agent-presets}/web/agent.cordis.yml +0 -0
|
@@ -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
|
-
"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/
|
|
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
|
-
"@
|
|
24
|
-
"@
|
|
27
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
28
|
+
"@noirhare/dsh-agent-presets": "^0.0.3"
|
|
25
29
|
},
|
|
26
30
|
"scripts": {
|
|
27
|
-
"build": "
|
|
28
|
-
"
|
|
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 };
|
|
File without changes
|
|
File without changes
|