tickmarkr 1.33.4 → 1.33.5

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.
@@ -54,12 +54,14 @@ export async function probeModels(cfg, repoRoot, adapters, health) {
54
54
  if (process.env.VITEST && [claudeCode, codex, cursorAgent, opencode, pi, grok].includes(a))
55
55
  return;
56
56
  const verdicts = {};
57
- for (const model of Object.keys(cfg.tiers[a.id]?.models ?? {})) {
57
+ // models probe concurrently too (v1.33.5) sequential chains made init wall time Σ(models×60s)
58
+ // on the slowest adapter (measured 96s); each probe is one tiny prompt, safe to overlap
59
+ await Promise.all(Object.keys(cfg.tiers[a.id]?.models ?? {}).map(async (model) => {
58
60
  const probedAt = new Date().toISOString();
59
61
  try {
60
62
  if (typeof a.headlessCommand !== "function") {
61
63
  verdicts[model] = { authed: false, reason: "headless probe unavailable", probedAt };
62
- continue;
64
+ return;
63
65
  }
64
66
  const promptFile = join(mkdtempSync(join(tmpdir(), "drovr-auth-")), "probe.md");
65
67
  writeFileSync(promptFile, MODEL_PROBE_PROMPT);
@@ -68,7 +70,7 @@ export async function probeModels(cfg, repoRoot, adapters, health) {
68
70
  r = await sh(a.headlessCommand(promptFile, model), repoRoot, MODEL_PROBE_TIMEOUT_MS);
69
71
  if (r.timedOut) {
70
72
  verdicts[model] = { authed: false, reason: `probe timed out twice (${MODEL_PROBE_TIMEOUT_MS}ms)`, probedAt };
71
- continue;
73
+ return;
72
74
  }
73
75
  }
74
76
  const reason = probeFailure(r.code, r.stdout, r.stderr, r.timedOut, MODEL_PROBE_TIMEOUT_MS);
@@ -77,7 +79,7 @@ export async function probeModels(cfg, repoRoot, adapters, health) {
77
79
  catch (e) {
78
80
  verdicts[model] = { authed: false, reason: String(e), probedAt };
79
81
  }
80
- }
82
+ }));
81
83
  h.modelAuth = verdicts;
82
84
  }));
83
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickmarkr",
3
- "version": "1.33.4",
3
+ "version": "1.33.5",
4
4
  "description": "Spec in, verified work out.",
5
5
  "type": "module",
6
6
  "license": "MIT",