@lambdacurry/arbor 0.21.38 → 0.21.39

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.
Files changed (2) hide show
  1. package/dist/arbor.js +51 -14
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -13,10 +13,55 @@ var __export = (target, all) => {
13
13
  set: __exportSetter.bind(all, name)
14
14
  });
15
15
  };
16
-
17
- // src/index.ts
18
- import { readFileSync as readFileSync3 } from "node:fs";
19
- import { fileURLToPath } from "node:url";
16
+ // package.json
17
+ var package_default = {
18
+ name: "@lambdacurry/arbor",
19
+ version: "0.21.39",
20
+ description: "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
21
+ keywords: [
22
+ "agents",
23
+ "arbor",
24
+ "cli",
25
+ "collaboration",
26
+ "mcp"
27
+ ],
28
+ license: "MIT",
29
+ repository: {
30
+ type: "git",
31
+ url: "git+https://github.com/lambda-curry/arbor.git",
32
+ directory: "packages/cli"
33
+ },
34
+ bin: {
35
+ arbor: "./dist/arbor.js"
36
+ },
37
+ files: [
38
+ "dist",
39
+ "README.md"
40
+ ],
41
+ type: "module",
42
+ publishConfig: {
43
+ access: "public"
44
+ },
45
+ scripts: {
46
+ arbor: "tsx src/bin.ts",
47
+ build: "bun build ./src/bin.ts --target=node --outfile=dist/arbor.js",
48
+ test: "vitest run --passWithNoTests",
49
+ typecheck: "tsc -b",
50
+ prepublishOnly: "bun run build"
51
+ },
52
+ devDependencies: {
53
+ "@arbor/actions": "workspace:*",
54
+ "@arbor/core": "workspace:*",
55
+ "@types/node": "^26.2.0",
56
+ tsx: "^4.20.6",
57
+ typescript: "^5.8.0",
58
+ vitest: "^4.1.4",
59
+ zod: "^4.4.3"
60
+ },
61
+ engines: {
62
+ node: ">=18"
63
+ }
64
+ };
20
65
 
21
66
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
22
67
  var exports_external = {};
@@ -22894,15 +22939,7 @@ function clamp(text3, max = 140) {
22894
22939
  const t = text3.trim().replace(/\s+/g, " ");
22895
22940
  return t.length > max ? `${t.slice(0, max - 1)}…` : t;
22896
22941
  }
22897
- var PKG = (() => {
22898
- try {
22899
- const pkg = JSON.parse(readFileSync3(fileURLToPath(new URL("../package.json", import.meta.url)), "utf8"));
22900
- return { name: pkg.name ?? "@lambdacurry/arbor", version: pkg.version ?? "0.0.0" };
22901
- } catch {
22902
- return { name: "@lambdacurry/arbor", version: "0.0.0" };
22903
- }
22904
- })();
22905
- var CLI_VERSION = PKG.version;
22942
+ var CLI_VERSION = package_default.version;
22906
22943
  async function renderMe(ctx, action) {
22907
22944
  const me = await httpExecutor.call("me.get", {});
22908
22945
  const gaps = me.completeness?.unset ?? [];
@@ -22933,7 +22970,7 @@ ${CLI_NOTE}
22933
22970
  `, "orient", ctx);
22934
22971
  }
22935
22972
  function renderVersion(ctx) {
22936
- emitDual({ name: PKG.name, version: CLI_VERSION }, `arbor ${CLI_VERSION}
22973
+ emitDual({ name: package_default.name, version: CLI_VERSION }, `arbor ${CLI_VERSION}
22937
22974
  `, "version", ctx);
22938
22975
  }
22939
22976
  var HELP = `arbor — the Arbor CLI: people and agents deliberate on typed work, and Arbor remembers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.21.38",
3
+ "version": "0.21.39",
4
4
  "description": "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
5
5
  "keywords": [
6
6
  "agents",