@itphx/synth-sdk 0.11.3 → 0.12.4
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/types.d.ts +7 -4
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* контракт LLM-прокси (источник — `public-openapi.ts`).
|
|
9
9
|
*/
|
|
10
10
|
import type { EventBinding, EventBindingApiKey, EventBindingApiKeyCreated, EventRouteRule, RouteDecision, Schedule, ScheduleJob, SynthEvent } from '@itphx/synth-shared/types';
|
|
11
|
-
import type { EventBindingApiKeyCreateRequest, EventBindingApiKeyUpdateRequest, EventBindingInputRequest, EventIngestRequest, EventRouteRuleUpsertRequest, PromptRequest, ScheduleInputRequest, SessionCreateRequest, SessionUpdateRequest } from '@itphx/synth-shared/schemas';
|
|
12
|
-
export type { EventBinding, EventBindingApiKey, EventBindingApiKeyCreateRequest, EventBindingApiKeyCreated, EventBindingApiKeyUpdateRequest, EventBindingInputRequest, EventIngestRequest, EventRouteRule, EventRouteRuleUpsertRequest, PromptRequest, RouteDecision, Schedule, ScheduleInputRequest, ScheduleJob, SessionCreateRequest, SessionUpdateRequest, SynthEvent, };
|
|
11
|
+
import type { EventBindingApiKeyCreateRequest, EventBindingApiKeyUpdateRequest, EventBindingInputRequest, EventIngestRequest, EventRouteRuleUpsertRequest, PromptRequest, PromptRequestInput, ScheduleInputRequest, SessionCreateRequest, SessionUpdateRequest } from '@itphx/synth-shared/schemas';
|
|
12
|
+
export type { EventBinding, EventBindingApiKey, EventBindingApiKeyCreateRequest, EventBindingApiKeyCreated, EventBindingApiKeyUpdateRequest, EventBindingInputRequest, EventIngestRequest, EventRouteRule, EventRouteRuleUpsertRequest, PromptRequest, PromptRequestInput, RouteDecision, Schedule, ScheduleInputRequest, ScheduleJob, SessionCreateRequest, SessionUpdateRequest, SynthEvent, };
|
|
13
13
|
/** Тело `POST /sessions` — публичный контракт `SessionCreateRequest` из shared. */
|
|
14
14
|
export type SessionCreateInput = SessionCreateRequest;
|
|
15
15
|
/**
|
|
@@ -21,8 +21,11 @@ export type SessionPatch = SessionUpdateRequest & {
|
|
|
21
21
|
mode?: 'plan' | 'act' | 'yolo';
|
|
22
22
|
project_id?: string | null;
|
|
23
23
|
};
|
|
24
|
-
/**
|
|
25
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Тело `POST /sessions/:id/prompt` — `stream` и `mode` имеют серверные
|
|
26
|
+
* default'ы (`true` и `queue` соответственно, ADR-104).
|
|
27
|
+
*/
|
|
28
|
+
export type SessionPromptInput = Omit<PromptRequestInput, 'stream'> & {
|
|
26
29
|
stream?: boolean;
|
|
27
30
|
};
|
|
28
31
|
/** Тело `POST/PUT /schedules` — `enabled` имеет серверный default `true`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itphx/synth-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Типизированный клиент публичного API Synth (ADR-052)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@itphx/synth-shared": "0.
|
|
19
|
+
"@itphx/synth-shared": "0.12.4"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0",
|