@inferencesh/sdk 0.6.3 → 0.6.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.
@@ -245,7 +245,6 @@ export function createActions(ctx) {
245
245
  },
246
246
  stopGeneration: () => {
247
247
  const chatId = getChatId();
248
- stopStream();
249
248
  if (chatId) {
250
249
  api.stopChat(client, chatId);
251
250
  }
@@ -4,7 +4,7 @@
4
4
  * Public types for the Agent chat module.
5
5
  */
6
6
  import type { Dispatch } from 'react';
7
- import type { ChatDTO, ChatMessageDTO, AgentTool, AgentConfig as GeneratedAgentConfig, CoreAppConfig, FileRef } from '../types';
7
+ import type { ChatDTO, ChatMessageDTO, AgentTool, AgentConfigInput as GeneratedAgentConfig, CoreAppConfigInput as CoreAppConfig, FileRef } from '../types';
8
8
  import type { HttpClient } from '../http/client';
9
9
  import type { StreamableManager } from '../http/streamable';
10
10
  import type { PollManager } from '../http/poll';
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '../http/client';
2
2
  import { FilesAPI } from './files';
3
- import { ChatDTO, ChatMessageDTO, AgentConfig, AgentDTO, AgentVersionDTO, CreateAgentRequest, FileDTO as File, CursorListRequest, CursorListResponse } from '../types';
3
+ import { ChatDTO, ChatMessageDTO, AgentConfigInput as AgentConfig, AgentDTO, AgentVersionDTO, CreateAgentRequest, FileDTO as File, CursorListRequest, CursorListResponse } from '../types';
4
4
  /** Internal tool definition returned by getInternalTools */
5
5
  export interface InternalToolDefinition {
6
6
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '../http/client';
2
- import { EngineStateDTO as Engine, CursorListRequest, CursorListResponse } from '../types';
2
+ import { EngineDTO as Engine, CursorListRequest, CursorListResponse } from '../types';
3
3
  /**
4
4
  * Engines API
5
5
  */
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ import { ChatsAPI } from './api/chats';
27
27
  import { FlowsAPI } from './api/flows';
28
28
  import { FlowRunsAPI } from './api/flow-runs';
29
29
  import { EnginesAPI } from './api/engines';
30
- import { ApiAppRunRequest, TaskDTO as Task, AgentConfig, FileDTO as File } from './types';
30
+ import { ApiAppRunRequest, TaskDTO as Task, AgentConfigInput as AgentConfig, FileDTO as File } from './types';
31
31
  export interface InferenceConfig {
32
32
  /** Your inference.sh API key (required unless using proxyUrl) */
33
33
  apiKey?: string;