@madarco/agentbox 0.26.0 → 0.26.1
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/CHANGELOG.md +12 -0
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- /package/runtime/hub/apps/hub/.next/static/{mrhWWwzD3oh05le9SRnlA → mJYh9UHTsLaGGyRjBSvme}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{mrhWWwzD3oh05le9SRnlA → mJYh9UHTsLaGGyRjBSvme}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{mrhWWwzD3oh05le9SRnlA → mJYh9UHTsLaGGyRjBSvme}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,18 @@ Entries are generated from the commit history with `/release-notes` and then
|
|
|
9
9
|
hand-reviewed — they describe what changed for someone using the `agentbox`
|
|
10
10
|
CLI, not the raw commits.
|
|
11
11
|
|
|
12
|
+
## [0.26.1] - 2026-07-15
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- `agentbox plugin add <package>` now works for a published community provider.
|
|
17
|
+
It was resolving `<package>/package.json` through Node's CommonJS resolver,
|
|
18
|
+
which fails for a normal ESM-only provider — its `exports` map defines only an
|
|
19
|
+
`import` entry and doesn't expose `./package.json`, so Node threw
|
|
20
|
+
`ERR_PACKAGE_PATH_NOT_EXPORTED` and `add` reported "cannot resolve package"
|
|
21
|
+
even though it was installed. The package directory is now located on disk
|
|
22
|
+
across the global install root / cwd / `NODE_PATH`.
|
|
23
|
+
|
|
12
24
|
## [0.26.0] - 2026-07-15
|
|
13
25
|
|
|
14
26
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -383,8 +383,8 @@ import {
|
|
|
383
383
|
} from "./chunk-WJFZJZIM.js";
|
|
384
384
|
|
|
385
385
|
// src/version.ts
|
|
386
|
-
var AGENTBOX_VERSION = true ? "0.26.
|
|
387
|
-
var AGENTBOX_COMMIT = true ? "
|
|
386
|
+
var AGENTBOX_VERSION = true ? "0.26.1" : "0.0.0-dev";
|
|
387
|
+
var AGENTBOX_COMMIT = true ? "7b5111bf" : "dev";
|
|
388
388
|
|
|
389
389
|
// src/index.ts
|
|
390
390
|
import { existsSync as _existsSync } from "fs";
|
|
@@ -14977,7 +14977,6 @@ installCommand.addCommand(installAppCommand);
|
|
|
14977
14977
|
// src/commands/plugin.ts
|
|
14978
14978
|
import { execFileSync } from "child_process";
|
|
14979
14979
|
import { existsSync as existsSync19, readFileSync as readFileSync11, statSync as statSync3 } from "fs";
|
|
14980
|
-
import { createRequire } from "module";
|
|
14981
14980
|
import { dirname as dirname9, isAbsolute as isAbsolute3, resolve as resolve6 } from "path";
|
|
14982
14981
|
import { pathToFileURL } from "url";
|
|
14983
14982
|
import { Command as Command36 } from "commander";
|
|
@@ -14997,16 +14996,18 @@ function resolvePackage(arg) {
|
|
|
14997
14996
|
if ((arg.startsWith(".") || arg.startsWith("/") || isAbsolute3(arg)) && existsSync19(arg)) {
|
|
14998
14997
|
pkgDir = statSync3(arg).isDirectory() ? resolve6(arg) : dirname9(resolve6(arg));
|
|
14999
14998
|
} else {
|
|
15000
|
-
const req = createRequire(pathToFileURL(resolve6(process.cwd(), "noop.js")).href);
|
|
15001
14999
|
let pkgJsonPath;
|
|
15002
15000
|
for (const base of resolutionPaths()) {
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15001
|
+
for (const candidate of [
|
|
15002
|
+
resolve6(base, arg, "package.json"),
|
|
15003
|
+
resolve6(base, "node_modules", arg, "package.json")
|
|
15004
|
+
]) {
|
|
15005
|
+
if (existsSync19(candidate)) {
|
|
15006
|
+
pkgJsonPath = candidate;
|
|
15007
|
+
break;
|
|
15008
|
+
}
|
|
15009
15009
|
}
|
|
15010
|
+
if (pkgJsonPath) break;
|
|
15010
15011
|
}
|
|
15011
15012
|
if (!pkgJsonPath) {
|
|
15012
15013
|
throw new Error(
|