create-mono-agent 0.6.2 → 0.8.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.
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* means this survives any install layout — npm/npx global, pnpm-linked — and any
|
|
7
7
|
* future change to agent-app's bin location. We resolve it through CJS
|
|
8
8
|
* `require.resolve` of `@mono-agent/agent-app/package.json` (which agent-app
|
|
9
|
-
* exports), so this works
|
|
10
|
-
* synchronous `import.meta.resolve` (Node
|
|
9
|
+
* exports), so this works throughout the supported Node range without depending on
|
|
10
|
+
* synchronous `import.meta.resolve` (available throughout the supported Node 22.19.0+ range).
|
|
11
11
|
*/
|
|
12
12
|
export declare function resolveAgentAppCliEntry(from?: string | URL): string;
|
|
13
13
|
//# sourceMappingURL=resolve-agent-app-cli.d.ts.map
|
|
@@ -8,8 +8,8 @@ import { dirname, resolve } from "node:path";
|
|
|
8
8
|
* means this survives any install layout — npm/npx global, pnpm-linked — and any
|
|
9
9
|
* future change to agent-app's bin location. We resolve it through CJS
|
|
10
10
|
* `require.resolve` of `@mono-agent/agent-app/package.json` (which agent-app
|
|
11
|
-
* exports), so this works
|
|
12
|
-
* synchronous `import.meta.resolve` (Node
|
|
11
|
+
* exports), so this works throughout the supported Node range without depending on
|
|
12
|
+
* synchronous `import.meta.resolve` (available throughout the supported Node 22.19.0+ range).
|
|
13
13
|
*/
|
|
14
14
|
export function resolveAgentAppCliEntry(from = import.meta.url) {
|
|
15
15
|
const require = createRequire(from);
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mono-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "npm-init style installer for the mono-agent CLI: `npm create mono-agent`. Ships both a `create-mono-agent` and a `mono-agent` bin, each delegating to the @mono-agent/agent-app CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"private": false,
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=22.19.0"
|
|
10
|
+
},
|
|
8
11
|
"bin": {
|
|
9
12
|
"create-mono-agent": "./dist/bin/mono-agent.js",
|
|
10
13
|
"mono-agent": "./dist/bin/mono-agent.js"
|
|
@@ -14,7 +17,7 @@
|
|
|
14
17
|
"README.md"
|
|
15
18
|
],
|
|
16
19
|
"dependencies": {
|
|
17
|
-
"@mono-agent/agent-app": "0.
|
|
20
|
+
"@mono-agent/agent-app": "0.8.0"
|
|
18
21
|
},
|
|
19
22
|
"publishConfig": {
|
|
20
23
|
"access": "public"
|