create-mono-agent 0.6.2 → 0.9.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.
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ Three equivalent entry points, one behaviour:
|
|
|
10
10
|
- `npx create-mono-agent` — the same, spelled explicitly.
|
|
11
11
|
- `npm i -g create-mono-agent` — a global install that puts the natural `mono-agent` command on your `PATH`.
|
|
12
12
|
|
|
13
|
+
On macOS, a one-off `npm create`/npx wizard may start the finished agent in the
|
|
14
|
+
background. Before it does, `@mono-agent/agent-app` copies the exact executing
|
|
15
|
+
package through npm into a private, verified runtime under
|
|
16
|
+
`~/.mono-agent/runtimes/agent-app/`; launchd never keeps a disposable npm-cache
|
|
17
|
+
path. This does not install a global command or mutate `PATH`.
|
|
18
|
+
|
|
13
19
|
The bare `mono-agent` npm name is unavailable — npm rejects it as too similar to
|
|
14
20
|
an unrelated `monoagent` package — so this installer follows the `create-*`
|
|
15
21
|
convention while still exposing the ergonomic `mono-agent` bin.
|
|
@@ -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.9.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.9.0"
|
|
18
21
|
},
|
|
19
22
|
"publishConfig": {
|
|
20
23
|
"access": "public"
|