@lambdacurry/arbor 0.4.19 → 0.4.20

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 +14 -6
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -1,12 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  var __defProp = Object.defineProperty;
3
+ var __returnValue = (v) => v;
4
+ function __exportSetter(name, newValue) {
5
+ this[name] = __returnValue.bind(null, newValue);
6
+ }
3
7
  var __export = (target, all) => {
4
8
  for (var name in all)
5
9
  __defProp(target, name, {
6
10
  get: all[name],
7
11
  enumerable: true,
8
12
  configurable: true,
9
- set: (newValue) => all[name] = () => newValue
13
+ set: __exportSetter.bind(all, name)
10
14
  });
11
15
  };
12
16
 
@@ -13174,7 +13178,7 @@ function finalize(ctx, schema) {
13174
13178
  result.$schema = "http://json-schema.org/draft-07/schema#";
13175
13179
  } else if (ctx.target === "draft-04") {
13176
13180
  result.$schema = "http://json-schema.org/draft-04/schema#";
13177
- } else if (ctx.target === "openapi-3.0") {} else {}
13181
+ } else if (ctx.target === "openapi-3.0") {}
13178
13182
  if (ctx.external?.uri) {
13179
13183
  const id = ctx.external.registry.get(schema)?.id;
13180
13184
  if (!id)
@@ -13418,7 +13422,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
13418
13422
  if (val === undefined) {
13419
13423
  if (ctx.unrepresentable === "throw") {
13420
13424
  throw new Error("Literal `undefined` cannot be represented in JSON Schema");
13421
- } else {}
13425
+ }
13422
13426
  } else if (typeof val === "bigint") {
13423
13427
  if (ctx.unrepresentable === "throw") {
13424
13428
  throw new Error("BigInt literals cannot be represented in JSON Schema");
@@ -17124,8 +17128,11 @@ async function renderMe(ctx, action) {
17124
17128
  ` : "");
17125
17129
  emitDual(me, human, action, ctx);
17126
17130
  }
17131
+ var CLI_NOTE = `On this CLI, before your first write: flag names are kebab-derived from the inputs (\`--thread-id\`, \`--request-id\`, \`--contribution-id\` — not \`--thread\`/\`--request\`), so check \`arbor help\` or \`arbor <command> --help\` for a command's exact flags instead of guessing. Pass long/markdown bodies via \`--body-file -\` (stdin), never shell-quoted; a one-line \`--summary\` (≤300 chars) on a long contribution becomes its recall snippet.`;
17127
17132
  function renderOrient(ctx) {
17128
- emitDual({ orientation: ORIENTATION }, `${ORIENTATION}
17133
+ emitDual({ orientation: ORIENTATION, cliNote: CLI_NOTE }, `${ORIENTATION}
17134
+
17135
+ ${CLI_NOTE}
17129
17136
  `, "orient", ctx);
17130
17137
  }
17131
17138
  function renderVersion(ctx) {
@@ -17138,8 +17145,7 @@ never asserts it. Run \`arbor whoami\` to confirm, \`arbor tree\` to map the wor
17138
17145
 
17139
17146
  ${ORIENTATION}
17140
17147
 
17141
- CLI tips: pass long/multiline bodies with \`--body-file -\` (stdin), never shell-quote them; add a one-line
17142
- \`--summary\` (≤300 chars) to a long contribution — it's the recall snippet AND sharpens recall.
17148
+ ${CLI_NOTE}
17143
17149
 
17144
17150
  Usage: arbor <command> [--flags]
17145
17151
 
@@ -17248,6 +17254,8 @@ async function main() {
17248
17254
  advise(`
17249
17255
  ${ORIENTATION}
17250
17256
 
17257
+ ${CLI_NOTE}
17258
+
17251
17259
  Run \`arbor help\` for the full command surface.
17252
17260
  `, ctx);
17253
17261
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
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
  "type": "module",
6
6
  "bin": {