@inkeep/agents-core 0.0.0-dev-20260227232900 → 0.0.0-dev-20260228010733

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.
@@ -1,6 +1,6 @@
1
- import * as hono3 from "hono";
1
+ import * as hono0 from "hono";
2
2
 
3
3
  //#region src/middleware/no-auth.d.ts
4
- declare const noAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
4
+ declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
5
5
  //#endregion
6
6
  export { noAuth };
@@ -157,6 +157,7 @@ type ToolServerCapabilities = {
157
157
  prompts?: boolean;
158
158
  logging?: boolean;
159
159
  streaming?: boolean;
160
+ serverInstructions?: string;
160
161
  };
161
162
  type TaskMetadataConfig = {
162
163
  conversation_id: string;
@@ -42,6 +42,7 @@ declare class McpClient {
42
42
  private connected;
43
43
  constructor(opts: McpClientOptions);
44
44
  isConnected(): boolean;
45
+ getInstructions(): string | undefined;
45
46
  connect(): Promise<void>;
46
47
  private connectSSE;
47
48
  private connectHttp;
@@ -44,6 +44,9 @@ var McpClient = class {
44
44
  isConnected() {
45
45
  return this.connected;
46
46
  }
47
+ getInstructions() {
48
+ return this.client.getInstructions();
49
+ }
47
50
  async connect() {
48
51
  if (this.connected) return;
49
52
  await match(this.serverConfig).with({ type: MCPTransportType.streamableHttp }, (config) => this.connectHttp(config)).with({ type: MCPTransportType.sse }, (config) => this.connectSSE(config)).exhaustive();