@llmist/cli 10.3.1 → 11.0.0

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/dist/cli.js CHANGED
@@ -76,7 +76,7 @@ import { Command, InvalidArgumentError as InvalidArgumentError2 } from "commande
76
76
  // package.json
77
77
  var package_default = {
78
78
  name: "@llmist/cli",
79
- version: "10.3.1",
79
+ version: "11.0.0",
80
80
  description: "CLI for llmist - run LLM agents from the command line",
81
81
  type: "module",
82
82
  main: "dist/cli.js",
@@ -3943,11 +3943,11 @@ var BlockRenderer = class _BlockRenderer {
3943
3943
  contentFilterMode = "full";
3944
3944
  /** Threshold in pixels for detecting "at bottom" position */
3945
3945
  static AT_BOTTOM_THRESHOLD = 5;
3946
- /** Track main agent LLM calls by iteration to prevent duplicates */
3946
+ /** Track main agent LLM calls by iteration for idempotency */
3947
3947
  llmCallByIteration = /* @__PURE__ */ new Map();
3948
- /** Track gadgets by invocationId to prevent duplicates */
3948
+ /** Track gadgets by invocationId for idempotency */
3949
3949
  gadgetByInvocationId = /* @__PURE__ */ new Map();
3950
- /** Track nested LLM calls by parentId_iteration to prevent duplicates */
3950
+ /** Track nested LLM calls by parentId_iteration for idempotency */
3951
3951
  nestedLLMCallByKey = /* @__PURE__ */ new Map();
3952
3952
  constructor(container, renderCallback, renderNowCallback) {
3953
3953
  this.container = container;
@@ -3959,7 +3959,7 @@ var BlockRenderer = class _BlockRenderer {
3959
3959
  // ───────────────────────────────────────────────────────────────────────────
3960
3960
  /**
3961
3961
  * Add an LLM call node (top-level or nested in gadget).
3962
- * For main agent calls (no parent), deduplicates by iteration number.
3962
+ * Idempotent - returns existing block if already created for this iteration.
3963
3963
  *
3964
3964
  * @param iteration - 1-indexed iteration number
3965
3965
  * @param model - Model name (e.g., "anthropic:claude-sonnet-4-5")