@noodleseed/assistant 1.16.0 → 1.16.1

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.
@@ -8768,6 +8768,10 @@ var DefaultAssistantClient = class {
8768
8768
  getChatState() {
8769
8769
  return this.#chat.getState();
8770
8770
  }
8771
+ /** Whether a session already exists, so a caller can avoid re-entering its loading state. */
8772
+ hasSession() {
8773
+ return this.#session !== void 0;
8774
+ }
8771
8775
  async connect() {
8772
8776
  if (this.#session) return;
8773
8777
  await this.#singleFlight(async (signal) => {
@@ -9256,4 +9260,4 @@ export {
9256
9260
  AssistantClientError,
9257
9261
  createAssistantClient
9258
9262
  };
9259
- //# sourceMappingURL=chunk-NPV64PUX.js.map
9263
+ //# sourceMappingURL=chunk-RIKRQFKS.js.map