@sleds/cli 0.1.56 → 0.1.57

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/sleds.mjs +44 -12
  2. package/package.json +1 -1
package/dist/sleds.mjs CHANGED
@@ -6013,6 +6013,36 @@ var init_fieldMap = __esm(() => {
6013
6013
  ]);
6014
6014
  });
6015
6015
 
6016
+ // ../../packages/shared/src/markdown/markdown.ts
6017
+ var init_markdown3 = () => {};
6018
+
6019
+ // ../../packages/shared/src/tracker/adf.ts
6020
+ var BLOCK_TYPES;
6021
+ var init_adf = __esm(() => {
6022
+ init_markdown3();
6023
+ BLOCK_TYPES = new Set([
6024
+ "paragraph",
6025
+ "heading",
6026
+ "bulletList",
6027
+ "orderedList",
6028
+ "taskList",
6029
+ "codeBlock",
6030
+ "blockquote",
6031
+ "panel",
6032
+ "rule",
6033
+ "table",
6034
+ "mediaSingle",
6035
+ "mediaGroup",
6036
+ "blockCard",
6037
+ "embedCard",
6038
+ "expand",
6039
+ "nestedExpand",
6040
+ "layoutSection",
6041
+ "layoutColumn",
6042
+ "decisionList"
6043
+ ]);
6044
+ });
6045
+
6016
6046
  // ../../packages/shared/src/help/whatsNew.ts
6017
6047
  var SEPT_30 = "/whats-new/2026-09-30", WHATS_NEW;
6018
6048
  var init_whatsNew = __esm(() => {
@@ -8177,6 +8207,7 @@ var init_src = __esm(() => {
8177
8207
  init_statusMap();
8178
8208
  init_confluence();
8179
8209
  init_fieldMap();
8210
+ init_adf();
8180
8211
  init_whatsNew();
8181
8212
  init_cheatSheet();
8182
8213
  init_pack2();
@@ -8922,6 +8953,7 @@ init_template();
8922
8953
  init_statusMap();
8923
8954
  init_confluence();
8924
8955
  init_fieldMap();
8956
+ init_adf();
8925
8957
  init_whatsNew();
8926
8958
  init_cheatSheet();
8927
8959
  init_pack2();
@@ -11546,7 +11578,7 @@ function beatBody(state, flags, host = {}, cap = {}) {
11546
11578
  name: flags.name,
11547
11579
  os: host.os ?? process.platform,
11548
11580
  runner: flags.runner,
11549
- version: host.version ?? "0.1.56" ?? "dev",
11581
+ version: host.version ?? "0.1.57" ?? "dev",
11550
11582
  running: live.length,
11551
11583
  items: live.slice(0, BEAT_ITEMS).map((r) => `${r.item}/${r.node}`),
11552
11584
  ...cap.atOnce !== undefined ? { atOnce: cap.atOnce } : {},
@@ -12149,7 +12181,7 @@ function epicItem(epic, nodes) {
12149
12181
  landed: nodes.length > 0 && nodes.every((n) => n.category === "done")
12150
12182
  };
12151
12183
  }
12152
- var BLOCK_TYPES = new Set([
12184
+ var BLOCK_TYPES2 = new Set([
12153
12185
  "paragraph",
12154
12186
  "heading",
12155
12187
  "listItem",
@@ -12174,7 +12206,7 @@ function adfText(doc) {
12174
12206
  if (Array.isArray(n.content))
12175
12207
  for (const c of n.content)
12176
12208
  walk(c);
12177
- if (typeof n.type === "string" && BLOCK_TYPES.has(n.type)) {
12209
+ if (typeof n.type === "string" && BLOCK_TYPES2.has(n.type)) {
12178
12210
  const last = out[out.length - 1];
12179
12211
  if (last !== undefined && !last.endsWith(`
12180
12212
  `))
@@ -17554,7 +17586,7 @@ async function fetchVersion(o) {
17554
17586
  const platform = o.platform ?? process.platform;
17555
17587
  const arch = o.arch ?? process.arch;
17556
17588
  const publicKey = o.publicKey ?? RELEASE_PUBLIC_KEY;
17557
- const running = o.running ?? "0.1.56";
17589
+ const running = o.running ?? "0.1.57";
17558
17590
  if (!publicKey)
17559
17591
  return { ok: false, why: "no release key yet" };
17560
17592
  if (!VERSION_RE2.test(o.version))
@@ -19139,7 +19171,7 @@ function engineClient(o, org, breaker) {
19139
19171
  ...src,
19140
19172
  ...breaker ? { fetchFn: breaker.fetch } : {},
19141
19173
  timeoutMs: ENGINE_TIMEOUT_MS,
19142
- version: "0.1.56"
19174
+ version: "0.1.57"
19143
19175
  });
19144
19176
  const asked = org?.trim() || env.SLEDS_ORG?.trim();
19145
19177
  if (asked && !selectOrg(readConfig(o.home), org, env).seat)
@@ -19430,7 +19462,7 @@ async function driveEngine(o, flags, deps, until = {}) {
19430
19462
  runner: deps.runner.name,
19431
19463
  atOnce: flags.atOnce,
19432
19464
  interval: flags.interval,
19433
- cliVersion: "0.1.56"
19465
+ cliVersion: "0.1.57"
19434
19466
  };
19435
19467
  const beat = (checkedAt) => {
19436
19468
  const m = deps.machine;
@@ -21297,7 +21329,7 @@ function engineClient2(o, org, breaker) {
21297
21329
  ...src,
21298
21330
  ...breaker ? { fetchFn: breaker.fetch } : {},
21299
21331
  timeoutMs: ENGINE_TIMEOUT_MS2,
21300
- version: "0.1.56"
21332
+ version: "0.1.57"
21301
21333
  });
21302
21334
  const asked = org?.trim() || env.SLEDS_ORG?.trim();
21303
21335
  if (asked && !selectOrg(readConfig(o.home), org, env).seat)
@@ -21623,7 +21655,7 @@ async function driveEngine2(o, flags, deps, until = {}) {
21623
21655
  runner: deps.runner.name,
21624
21656
  atOnce: flags.atOnce,
21625
21657
  interval: flags.interval,
21626
- cliVersion: "0.1.56"
21658
+ cliVersion: "0.1.57"
21627
21659
  };
21628
21660
  const beat = (checkedAt) => {
21629
21661
  const m = deps.machine;
@@ -23726,7 +23758,7 @@ function contextFor(deps) {
23726
23758
  ...src,
23727
23759
  fetchFn: deps.fetchFn,
23728
23760
  timeoutMs: deps.timeoutMs,
23729
- version: "0.1.56"
23761
+ version: "0.1.57"
23730
23762
  }), deps.home, now) : null;
23731
23763
  return {
23732
23764
  channel: "code",
@@ -27844,7 +27876,7 @@ var realPidAlive4 = (pid) => {
27844
27876
  };
27845
27877
  function machineClient(home, env) {
27846
27878
  const src = meterSource(home, undefined, { env });
27847
- return src ? fetchClient({ ...src, version: "0.1.56" }) : null;
27879
+ return src ? fetchClient({ ...src, version: "0.1.57" }) : null;
27848
27880
  }
27849
27881
  async function noteAnswer2(home, a, now) {
27850
27882
  try {
@@ -28704,7 +28736,7 @@ var main = async (argv) => {
28704
28736
  now: Date.now(),
28705
28737
  stderr: (line) => console.error(line),
28706
28738
  isTTY: !!process.stderr.isTTY,
28707
- version: "0.1.56"
28739
+ version: "0.1.57"
28708
28740
  });
28709
28741
  switch (cmd) {
28710
28742
  case "update":
@@ -28937,7 +28969,7 @@ ${renderHelpText(argv[1])}`);
28937
28969
  case "version":
28938
28970
  case "--version":
28939
28971
  case "-v":
28940
- console.log("sleds 0.1.56");
28972
+ console.log("sleds 0.1.57");
28941
28973
  return 0;
28942
28974
  default:
28943
28975
  console.error(`unknown command: ${cmd}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleds/cli",
3
- "version": "0.1.56",
3
+ "version": "0.1.57",
4
4
  "description": "SLEDS CLI — the cost and limits of AI agent work, decided at the wall. Point Claude Code at a SLEDS proxy; estimate before you run; hold, switch model, or run overnight when you hit a limit.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",