@theokit/sdk 3.5.0 → 3.6.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.
@@ -1611,6 +1611,16 @@ interface AgentOptions {
1611
1611
  * See {@link CustomTool}.
1612
1612
  */
1613
1613
  tools?: CustomTool[];
1614
+ /**
1615
+ * SE37 — opt-in reasoning. When `true`, the agent gets a chain-of-thought
1616
+ * preamble prepended to its system prompt AND the `think` reasoning tool
1617
+ * auto-attached, turning a non-reasoning model into a reason -> act ->
1618
+ * observe loop (same model; reuses the existing tool loop). Default `false` —
1619
+ * byte-identical behaviour when unset. Inert (with a one-time warn) when a
1620
+ * native reasoning model is configured (`model.params: [{ id: "thinking" }]`),
1621
+ * so native and prompt-based reasoning never stack. See `ReasoningTools` in `@theokit/sdk-tools`.
1622
+ */
1623
+ reasoning?: boolean;
1614
1624
  /**
1615
1625
  * Telemetry (OpenTelemetry) configuration. Default disabled. See
1616
1626
  * {@link TelemetrySettings} and ADR D34.
@@ -1611,6 +1611,16 @@ interface AgentOptions {
1611
1611
  * See {@link CustomTool}.
1612
1612
  */
1613
1613
  tools?: CustomTool[];
1614
+ /**
1615
+ * SE37 — opt-in reasoning. When `true`, the agent gets a chain-of-thought
1616
+ * preamble prepended to its system prompt AND the `think` reasoning tool
1617
+ * auto-attached, turning a non-reasoning model into a reason -> act ->
1618
+ * observe loop (same model; reuses the existing tool loop). Default `false` —
1619
+ * byte-identical behaviour when unset. Inert (with a one-time warn) when a
1620
+ * native reasoning model is configured (`model.params: [{ id: "thinking" }]`),
1621
+ * so native and prompt-based reasoning never stack. See `ReasoningTools` in `@theokit/sdk-tools`.
1622
+ */
1623
+ reasoning?: boolean;
1614
1624
  /**
1615
1625
  * Telemetry (OpenTelemetry) configuration. Default disabled. See
1616
1626
  * {@link TelemetrySettings} and ADR D34.