@squidcloud/client 1.0.382 → 1.0.383

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.
@@ -606,14 +606,6 @@ export type UpsertAgentRequest = Omit<AiAgent, 'createdAt' | 'updatedAt' | 'opti
606
606
  options?: AiChatOptions;
607
607
  embeddingModelName?: AiEmbeddingsModelName;
608
608
  };
609
- /**
610
- * Options for observing the status of an AI agent operation.
611
- * @category AI
612
- */
613
- export interface AiObserveStatusOptions {
614
- /** A unique chat ID for the conversation. */
615
- chatId?: string;
616
- }
617
609
  /**
618
610
  * A status message from an AI agent operation.
619
611
  * @category AI
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { AgentContextRequest, AiAgent, AiAgentContext, AiChatModelName, AiConnectedAgentMetadata, AiObserveStatusOptions, AiSearchOptions, AiSearchResultChunk, AiStatusMessage, AiTranscribeAndAskResponse, GuardrailsOptions, UpsertAgentRequest } from '../../../internal-common/src/public-types/ai-agent.public-types';
2
+ import { AgentContextRequest, AiAgent, AiAgentContext, AiChatModelName, AiConnectedAgentMetadata, AiSearchOptions, AiSearchResultChunk, AiStatusMessage, AiTranscribeAndAskResponse, GuardrailsOptions, UpsertAgentRequest } from '../../../internal-common/src/public-types/ai-agent.public-types';
3
3
  import { JobId } from '../../../internal-common/src/public-types/job.public-types';
4
4
  import { AiAskOptions, AiAskOptionsWithVoice, AiChatOptionsWithoutVoice, AskWithVoiceResponse, TranscribeAndAskWithVoiceResponse, TranscribeAndChatResponse } from './ai-agent-client.types';
5
5
  /**
@@ -17,7 +17,6 @@ export type UpsertAgentRequestParams = Omit<UpsertAgentRequest, 'id'>;
17
17
  export declare class AiAgentReference {
18
18
  private readonly agentId;
19
19
  private readonly ongoingChatSequences;
20
- private readonly statusUpdates;
21
20
  private readonly rpcManager;
22
21
  private readonly socketManager;
23
22
  private readonly jobClient;
@@ -133,7 +132,7 @@ export declare class AiAgentReference {
133
132
  /**
134
133
  * Observes live status messages from the agent.
135
134
  */
136
- observeStatusUpdates(options?: AiObserveStatusOptions): Observable<AiStatusMessage>;
135
+ observeStatusUpdates(): Observable<AiStatusMessage>;
137
136
  /**
138
137
  * Transcribes audio and sends it to the agent for response.
139
138
  * @param fileToTranscribe The audio file to transcribe and send to the agent.
@@ -162,6 +161,5 @@ export declare class AiAgentReference {
162
161
  */
163
162
  askWithVoiceResponse<T extends AiChatModelName | undefined>(prompt: string, options?: AiAskOptionsWithVoice<T>, jobId?: JobId): Promise<AskWithVoiceResponse>;
164
163
  private askInternal;
165
- private createStatusSubject;
166
164
  private chatInternal;
167
165
  }
@@ -11,7 +11,6 @@ export declare class AiAgentClient {
11
11
  private readonly socketManager;
12
12
  private readonly jobClient;
13
13
  private readonly ongoingChatSequences;
14
- private readonly statusUpdates;
15
14
  /**
16
15
  * Retrieves an instance of AiAgentReference for a specific agent ID.
17
16
  * This reference provides methods for interacting with the agent.
@@ -23,6 +22,4 @@ export declare class AiAgentClient {
23
22
  */
24
23
  listAgents(): Promise<Array<AiAgent>>;
25
24
  private handleChatResponse;
26
- private handleStatusMessage;
27
- private getStatusSubject;
28
25
  }
@@ -2,4 +2,4 @@
2
2
  * The current version of the SquidCloud client package.
3
3
  * @category Platform
4
4
  */
5
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.382";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.383";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.382",
3
+ "version": "1.0.383",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",