@meistrari/tela-sdk-js 2.14.0 → 2.15.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.
- package/dist/index.cjs +7 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.mjs +7 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ const changeCase__namespace = /*#__PURE__*/_interopNamespaceCompat(changeCase);
|
|
|
24
24
|
const z__default = /*#__PURE__*/_interopDefaultCompat(z);
|
|
25
25
|
const Emittery__default = /*#__PURE__*/_interopDefaultCompat(Emittery);
|
|
26
26
|
|
|
27
|
-
const version = "2.
|
|
27
|
+
const version = "2.15.0";
|
|
28
28
|
|
|
29
29
|
var __defProp$b = Object.defineProperty;
|
|
30
30
|
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -4747,6 +4747,11 @@ class Agents {
|
|
|
4747
4747
|
* (`GET /v4/sessions/:id/timeline`).
|
|
4748
4748
|
*/
|
|
4749
4749
|
__publicField$1(this, "fetchTimeline");
|
|
4750
|
+
/**
|
|
4751
|
+
* Fetches the session's cross-turn message history. Pass-through to the
|
|
4752
|
+
* agent-sdk client (`GET /v4/sessions/:id/thread`).
|
|
4753
|
+
*/
|
|
4754
|
+
__publicField$1(this, "fetchThread");
|
|
4750
4755
|
/**
|
|
4751
4756
|
* Cancels a running session. Pass-through to the agent-sdk client
|
|
4752
4757
|
* (`POST /v4/sessions/:id/cancel`).
|
|
@@ -4765,6 +4770,7 @@ class Agents {
|
|
|
4765
4770
|
});
|
|
4766
4771
|
this.streamSession = this.client.streamSession;
|
|
4767
4772
|
this.fetchTimeline = this.client.fetchTimeline;
|
|
4773
|
+
this.fetchThread = this.client.fetchThread;
|
|
4768
4774
|
this.cancelSession = this.client.cancelSession;
|
|
4769
4775
|
this.resolveReference = this.client.resolveReference;
|
|
4770
4776
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import z, { z as z$1 } from 'zod';
|
|
|
2
2
|
import Emittery from 'emittery';
|
|
3
3
|
import { JSONSchema } from 'zod/v4/core';
|
|
4
4
|
import { SessionStreamEvent, ExecuteAgentRequest, ExecuteAgentResponse, UpdateAgentModelRequest, AgentClient, AuthStrategy, UpdateAgentModelResponse } from '@meistrari/agent-sdk';
|
|
5
|
-
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
5
|
+
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionThreadResponse, SessionThreadTurn, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Base HTTP client with retry logic, request/response transformation, and streaming support.
|
|
@@ -4414,6 +4414,11 @@ declare class Agents {
|
|
|
4414
4414
|
* (`GET /v4/sessions/:id/timeline`).
|
|
4415
4415
|
*/
|
|
4416
4416
|
readonly fetchTimeline: AgentClient['fetchTimeline'];
|
|
4417
|
+
/**
|
|
4418
|
+
* Fetches the session's cross-turn message history. Pass-through to the
|
|
4419
|
+
* agent-sdk client (`GET /v4/sessions/:id/thread`).
|
|
4420
|
+
*/
|
|
4421
|
+
readonly fetchThread: AgentClient['fetchThread'];
|
|
4417
4422
|
/**
|
|
4418
4423
|
* Cancels a running session. Pass-through to the agent-sdk client
|
|
4419
4424
|
* (`POST /v4/sessions/:id/cancel`).
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import z, { z as z$1 } from 'zod';
|
|
|
2
2
|
import Emittery from 'emittery';
|
|
3
3
|
import { JSONSchema } from 'zod/v4/core';
|
|
4
4
|
import { SessionStreamEvent, ExecuteAgentRequest, ExecuteAgentResponse, UpdateAgentModelRequest, AgentClient, AuthStrategy, UpdateAgentModelResponse } from '@meistrari/agent-sdk';
|
|
5
|
-
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
5
|
+
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionThreadResponse, SessionThreadTurn, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Base HTTP client with retry logic, request/response transformation, and streaming support.
|
|
@@ -4414,6 +4414,11 @@ declare class Agents {
|
|
|
4414
4414
|
* (`GET /v4/sessions/:id/timeline`).
|
|
4415
4415
|
*/
|
|
4416
4416
|
readonly fetchTimeline: AgentClient['fetchTimeline'];
|
|
4417
|
+
/**
|
|
4418
|
+
* Fetches the session's cross-turn message history. Pass-through to the
|
|
4419
|
+
* agent-sdk client (`GET /v4/sessions/:id/thread`).
|
|
4420
|
+
*/
|
|
4421
|
+
readonly fetchThread: AgentClient['fetchThread'];
|
|
4417
4422
|
/**
|
|
4418
4423
|
* Cancels a running session. Pass-through to the agent-sdk client
|
|
4419
4424
|
* (`POST /v4/sessions/:id/cancel`).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import z, { z as z$1 } from 'zod';
|
|
|
2
2
|
import Emittery from 'emittery';
|
|
3
3
|
import { JSONSchema } from 'zod/v4/core';
|
|
4
4
|
import { SessionStreamEvent, ExecuteAgentRequest, ExecuteAgentResponse, UpdateAgentModelRequest, AgentClient, AuthStrategy, UpdateAgentModelResponse } from '@meistrari/agent-sdk';
|
|
5
|
-
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
5
|
+
export { CancelSessionResponse, FetchTimelineOptions, ResolveReferenceOptions, SessionStatus, SessionStreamEvent, SessionThreadResponse, SessionThreadTurn, SessionTimelineResponse, SessionWebhookConfig, SessionWebhookEventPayload, SessionWebhookEventType, SessionWebhookSubagent, SessionWebhookUsage, StreamSessionOptions, UpdateAgentModelResponse, parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Base HTTP client with retry logic, request/response transformation, and streaming support.
|
|
@@ -4414,6 +4414,11 @@ declare class Agents {
|
|
|
4414
4414
|
* (`GET /v4/sessions/:id/timeline`).
|
|
4415
4415
|
*/
|
|
4416
4416
|
readonly fetchTimeline: AgentClient['fetchTimeline'];
|
|
4417
|
+
/**
|
|
4418
|
+
* Fetches the session's cross-turn message history. Pass-through to the
|
|
4419
|
+
* agent-sdk client (`GET /v4/sessions/:id/thread`).
|
|
4420
|
+
*/
|
|
4421
|
+
readonly fetchThread: AgentClient['fetchThread'];
|
|
4417
4422
|
/**
|
|
4418
4423
|
* Cancels a running session. Pass-through to the agent-sdk client
|
|
4419
4424
|
* (`POST /v4/sessions/:id/cancel`).
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import Emittery from 'emittery';
|
|
|
5
5
|
import { agentClient, DataTokenAuthStrategy, APIKeyAuthStrategy } from '@meistrari/agent-sdk';
|
|
6
6
|
export { parseSessionStream, verifyWebhookSignature } from '@meistrari/agent-sdk';
|
|
7
7
|
|
|
8
|
-
const version = "2.
|
|
8
|
+
const version = "2.15.0";
|
|
9
9
|
|
|
10
10
|
var __defProp$b = Object.defineProperty;
|
|
11
11
|
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -4728,6 +4728,11 @@ class Agents {
|
|
|
4728
4728
|
* (`GET /v4/sessions/:id/timeline`).
|
|
4729
4729
|
*/
|
|
4730
4730
|
__publicField$1(this, "fetchTimeline");
|
|
4731
|
+
/**
|
|
4732
|
+
* Fetches the session's cross-turn message history. Pass-through to the
|
|
4733
|
+
* agent-sdk client (`GET /v4/sessions/:id/thread`).
|
|
4734
|
+
*/
|
|
4735
|
+
__publicField$1(this, "fetchThread");
|
|
4731
4736
|
/**
|
|
4732
4737
|
* Cancels a running session. Pass-through to the agent-sdk client
|
|
4733
4738
|
* (`POST /v4/sessions/:id/cancel`).
|
|
@@ -4746,6 +4751,7 @@ class Agents {
|
|
|
4746
4751
|
});
|
|
4747
4752
|
this.streamSession = this.client.streamSession;
|
|
4748
4753
|
this.fetchTimeline = this.client.fetchTimeline;
|
|
4754
|
+
this.fetchThread = this.client.fetchThread;
|
|
4749
4755
|
this.cancelSession = this.client.cancelSession;
|
|
4750
4756
|
this.resolveReference = this.client.resolveReference;
|
|
4751
4757
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/tela-sdk-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/meistrari/tela-sdk-js.git"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "dist/index.mjs",
|
|
9
9
|
"module": "dist/index.mjs",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@meistrari/agent-sdk": "^0.
|
|
11
|
+
"@meistrari/agent-sdk": "^0.7.0",
|
|
12
12
|
"change-case": "5.4.4",
|
|
13
13
|
"emittery": "^1.2.0",
|
|
14
14
|
"minimatch": "10.0.1",
|