@relayfx/sdk 0.2.14 → 0.2.16
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/ai.js +2 -2
- package/dist/{index-9q3yh32k.js → index-5x686v8w.js} +1815 -1543
- package/dist/{index-15f2ewt8.js → index-6dv1dqq1.js} +8 -8
- package/dist/{index-gb7d1wfm.js → index-a6vwwhcp.js} +116 -105
- package/dist/{index-qg0hy7s1.js → index-per7tyzq.js} +12 -8
- package/dist/index.js +5 -5
- package/dist/mysql.js +24 -9
- package/dist/postgres.js +18 -13
- package/dist/sqlite.js +26 -29
- package/dist/types/ai/embedding-model/embedding-model-registration.d.ts +2 -2
- package/dist/types/relay/adapter-outbox.d.ts +1 -1
- package/dist/types/relay/client.d.ts +28 -28
- package/dist/types/relay/command.d.ts +10 -4
- package/dist/types/relay/database.d.ts +4 -4
- package/dist/types/relay/migration-errors.d.ts +8 -2
- package/dist/types/relay/mysql.d.ts +2 -2
- package/dist/types/relay/operation.d.ts +173 -123
- package/dist/types/relay/postgres.d.ts +2 -2
- package/dist/types/relay/runtime-capability-policy.d.ts +11 -5
- package/dist/types/relay/runtime-database.d.ts +1 -1
- package/dist/types/relay/runtime.d.ts +4 -4
- package/dist/types/relay/sqlite-migrations.d.ts +1 -1
- package/dist/types/relay/sqlite-runtime.d.ts +10 -5
- package/dist/types/relay/tool-worker.d.ts +6 -5
- package/dist/types/runtime/address/address-book-service.d.ts +3 -3
- package/dist/types/runtime/address/address-resolution-service.d.ts +60 -38
- package/dist/types/runtime/agent/agent-loop-service.d.ts +14 -5
- package/dist/types/runtime/agent/agent-registry-service.d.ts +2 -2
- package/dist/types/runtime/agent/prompt-assembler-service.d.ts +1 -1
- package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
- package/dist/types/runtime/agent/relay-tool-output.d.ts +4 -1
- package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +1 -1
- package/dist/types/runtime/child/child-fan-out-runtime.d.ts +12 -8
- package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +1 -1
- package/dist/types/runtime/child/child-run-service.d.ts +7 -4
- package/dist/types/runtime/child/parent-notifier-service.d.ts +4 -2
- package/dist/types/runtime/child/spawn-child-run-tool.d.ts +12 -4
- package/dist/types/runtime/cluster/execution-entity.d.ts +2 -2
- package/dist/types/runtime/content/artifact-store-service.d.ts +2 -2
- package/dist/types/runtime/content/blob-store-service.d.ts +1 -1
- package/dist/types/runtime/entity/entity-instance-service.d.ts +14 -5
- package/dist/types/runtime/entity/entity-registry-service.d.ts +2 -2
- package/dist/types/runtime/envelope/envelope-service.d.ts +2 -2
- package/dist/types/runtime/execution/active-execution-registry.d.ts +1 -1
- package/dist/types/runtime/execution/event-log-service.d.ts +5 -2
- package/dist/types/runtime/execution/execution-service.d.ts +1 -1
- package/dist/types/runtime/execution/execution-watch-service.d.ts +1 -1
- package/dist/types/runtime/execution/session-stream-service.d.ts +1 -1
- package/dist/types/runtime/inbox/inbox-service.d.ts +1 -1
- package/dist/types/runtime/memory/memory-service.d.ts +1 -1
- package/dist/types/runtime/model/embedding-model-service.d.ts +23 -10
- package/dist/types/runtime/model/language-model-service.d.ts +20 -6
- package/dist/types/runtime/model/model-call-policy.d.ts +1 -1
- package/dist/types/runtime/observability/runtime-metrics.d.ts +12 -3
- package/dist/types/runtime/presence/presence-service.d.ts +1 -1
- package/dist/types/runtime/presence/presence-tool.d.ts +1 -1
- package/dist/types/runtime/runner/runner-runtime-service.d.ts +19 -19
- package/dist/types/runtime/schedule/scheduler-service.d.ts +3 -3
- package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +2 -2
- package/dist/types/runtime/session/session-store-service.d.ts +13 -4
- package/dist/types/runtime/skill/skill-registry-service.d.ts +2 -2
- package/dist/types/runtime/state/execution-state-service.d.ts +5 -2
- package/dist/types/runtime/tool/tool-runtime-service.d.ts +42 -19
- package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +2 -2
- package/dist/types/runtime/topic/topic-service.d.ts +1 -1
- package/dist/types/runtime/wait/wait-service.d.ts +1 -1
- package/dist/types/runtime/wait/wait-signal.d.ts +12 -3
- package/dist/types/runtime/workflow/activity-version-registry.d.ts +7 -3
- package/dist/types/runtime/workflow/definition-runtime.d.ts +37 -22
- package/dist/types/runtime/workflow/execution-workflow.d.ts +143 -104
- package/dist/types/runtime/workspace/workspace-planner-service.d.ts +6 -6
- package/dist/types/runtime/workspace/workspace-provider-service.d.ts +11 -7
- package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +1 -1
- package/dist/types/schema/agent-schema.d.ts +388 -228
- package/dist/types/schema/child-orchestration-schema.d.ts +78 -57
- package/dist/types/schema/execution-schema.d.ts +118 -54
- package/dist/types/schema/workflow-schema.d.ts +243 -243
- package/dist/types/schema/workspace-schema.d.ts +1 -1
- package/dist/types/store-sql/address/address-book-repository.d.ts +5 -5
- package/dist/types/store-sql/agent/agent-definition-repository.d.ts +7 -7
- package/dist/types/store-sql/chat/agent-chat-repository.d.ts +2 -2
- package/dist/types/store-sql/child/child-execution-repository.d.ts +4 -4
- package/dist/types/store-sql/child/child-fan-out-repository.d.ts +2 -2
- package/dist/types/store-sql/cluster/cluster-registry-repository.d.ts +5 -5
- package/dist/types/store-sql/compaction/compaction-repository.d.ts +3 -3
- package/dist/types/store-sql/database/database-service.d.ts +3 -3
- package/dist/types/store-sql/database/notification-bus.d.ts +1 -1
- package/dist/types/store-sql/database/sql-dialect.d.ts +4 -1
- package/dist/types/store-sql/entity/entity-repository.d.ts +2 -2
- package/dist/types/store-sql/envelope/envelope-repository.d.ts +13 -13
- package/dist/types/store-sql/execution/execution-event-repository.d.ts +4 -4
- package/dist/types/store-sql/execution/execution-repository.d.ts +8 -8
- package/dist/types/store-sql/idempotency/idempotency-repository.d.ts +5 -5
- package/dist/types/store-sql/inbox/inbox-repository.d.ts +1 -1
- package/dist/types/store-sql/memory/memory-repository.d.ts +3 -3
- package/dist/types/store-sql/permission/permission-rule-repository.d.ts +2 -2
- package/dist/types/store-sql/presence/presence-repository.d.ts +2 -2
- package/dist/types/store-sql/schedule/schedule-repository.d.ts +9 -9
- package/dist/types/store-sql/schema/relay-schema.d.ts +257 -257
- package/dist/types/store-sql/session/context-epoch-repository.d.ts +2 -2
- package/dist/types/store-sql/session/session-repository.d.ts +5 -5
- package/dist/types/store-sql/skill/skill-definition-repository.d.ts +9 -9
- package/dist/types/store-sql/state/execution-state-repository.d.ts +2 -2
- package/dist/types/store-sql/steering/steering-repository.d.ts +5 -5
- package/dist/types/store-sql/tenant/tenant-id.d.ts +2 -2
- package/dist/types/store-sql/tool/tool-call-repository.d.ts +19 -16
- package/dist/types/store-sql/topic/topic-repository.d.ts +1 -1
- package/dist/types/store-sql/workflow/workflow-definition-repository.d.ts +16 -14
- package/dist/types/store-sql/workspace/workspace-lease-repository.d.ts +11 -11
- package/package.json +3 -3
|
@@ -20,9 +20,16 @@ export declare const FanOutChild: Schema.Struct<{
|
|
|
20
20
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
21
21
|
}>>;
|
|
22
22
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
23
|
-
readonly context_window: Schema.
|
|
24
|
-
readonly reserve_tokens: Schema.
|
|
25
|
-
readonly keep_recent_tokens: Schema.
|
|
23
|
+
readonly context_window: Schema.Finite;
|
|
24
|
+
readonly reserve_tokens: Schema.Finite;
|
|
25
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
26
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
27
|
+
readonly provider: Schema.String;
|
|
28
|
+
readonly model: Schema.String;
|
|
29
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
30
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
31
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
32
|
+
}>>;
|
|
26
33
|
}>>;
|
|
27
34
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
28
35
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -110,9 +117,16 @@ export declare const FanOutDefinition: Schema.Struct<{
|
|
|
110
117
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
111
118
|
}>>;
|
|
112
119
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
113
|
-
readonly context_window: Schema.
|
|
114
|
-
readonly reserve_tokens: Schema.
|
|
115
|
-
readonly keep_recent_tokens: Schema.
|
|
120
|
+
readonly context_window: Schema.Finite;
|
|
121
|
+
readonly reserve_tokens: Schema.Finite;
|
|
122
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
123
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
124
|
+
readonly provider: Schema.String;
|
|
125
|
+
readonly model: Schema.String;
|
|
126
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
127
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
128
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
129
|
+
}>>;
|
|
116
130
|
}>>;
|
|
117
131
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
118
132
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -248,14 +262,50 @@ export declare const FanOutMember: Schema.Struct<{
|
|
|
248
262
|
export interface FanOutMember extends Schema.Schema.Type<typeof FanOutMember> {
|
|
249
263
|
}
|
|
250
264
|
export declare const FanOutState: Schema.Struct<{
|
|
251
|
-
readonly
|
|
252
|
-
|
|
265
|
+
readonly fan_out_id: Schema.brand<Schema.String, "Relay.ChildFanOutId"> & {
|
|
266
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildFanOutId">;
|
|
267
|
+
};
|
|
268
|
+
readonly parent_execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
|
|
269
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
|
|
270
|
+
};
|
|
271
|
+
readonly children: Schema.$Array<Schema.Struct<{
|
|
253
272
|
readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
|
|
254
273
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
|
|
255
274
|
};
|
|
256
|
-
readonly
|
|
257
|
-
|
|
258
|
-
|
|
275
|
+
readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
|
|
276
|
+
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
|
|
277
|
+
};
|
|
278
|
+
readonly override: Schema.optionalKey<Schema.Struct<{
|
|
279
|
+
readonly instructions: Schema.optionalKey<Schema.String>;
|
|
280
|
+
readonly model: Schema.optionalKey<Schema.Struct<{
|
|
281
|
+
readonly provider: Schema.String;
|
|
282
|
+
readonly model: Schema.String;
|
|
283
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
284
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
285
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
286
|
+
}>>;
|
|
287
|
+
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
288
|
+
readonly context_window: Schema.Finite;
|
|
289
|
+
readonly reserve_tokens: Schema.Finite;
|
|
290
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
291
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
292
|
+
readonly provider: Schema.String;
|
|
293
|
+
readonly model: Schema.String;
|
|
294
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
295
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
296
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
297
|
+
}>>;
|
|
298
|
+
}>>;
|
|
299
|
+
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
300
|
+
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
301
|
+
readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
|
|
302
|
+
readonly mode: Schema.Literals<readonly ["share", "fork"]>;
|
|
303
|
+
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
|
|
304
|
+
}>>;
|
|
305
|
+
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
306
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
307
|
+
}>>;
|
|
308
|
+
readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
259
309
|
readonly type: Schema.Literal<"text">;
|
|
260
310
|
readonly text: Schema.String;
|
|
261
311
|
readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
@@ -304,49 +354,22 @@ export declare const FanOutState: Schema.Struct<{
|
|
|
304
354
|
readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
305
355
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
306
356
|
}>]>>>;
|
|
307
|
-
readonly
|
|
308
|
-
readonly completed_at: Schema.optionalKey<Schema.Int>;
|
|
357
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
309
358
|
}>>;
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
readonly
|
|
317
|
-
|
|
318
|
-
};
|
|
319
|
-
readonly children: Schema.$Array<Schema.Struct<{
|
|
359
|
+
readonly max_concurrency: Schema.Int;
|
|
360
|
+
readonly join: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
|
|
361
|
+
readonly count: Schema.Int;
|
|
362
|
+
}>, Schema.TaggedStruct<"best-effort", {}>]>;
|
|
363
|
+
readonly created_at: Schema.Int;
|
|
364
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
365
|
+
readonly state: Schema.Literals<readonly ["joining", "satisfied", "failed", "cancelled"]>;
|
|
366
|
+
readonly members: Schema.$Array<Schema.Struct<{
|
|
320
367
|
readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
|
|
321
368
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
|
|
322
369
|
};
|
|
323
|
-
readonly
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
readonly override: Schema.optionalKey<Schema.Struct<{
|
|
327
|
-
readonly instructions: Schema.optionalKey<Schema.String>;
|
|
328
|
-
readonly model: Schema.optionalKey<Schema.Struct<{
|
|
329
|
-
readonly provider: Schema.String;
|
|
330
|
-
readonly model: Schema.String;
|
|
331
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
332
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
333
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
334
|
-
}>>;
|
|
335
|
-
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
336
|
-
readonly context_window: Schema.Number;
|
|
337
|
-
readonly reserve_tokens: Schema.Number;
|
|
338
|
-
readonly keep_recent_tokens: Schema.Number;
|
|
339
|
-
}>>;
|
|
340
|
-
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
341
|
-
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
342
|
-
readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
|
|
343
|
-
readonly mode: Schema.Literals<readonly ["share", "fork"]>;
|
|
344
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
|
|
345
|
-
}>>;
|
|
346
|
-
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
347
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
348
|
-
}>>;
|
|
349
|
-
readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
370
|
+
readonly ordinal: Schema.Int;
|
|
371
|
+
readonly state: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
372
|
+
readonly output: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
350
373
|
readonly type: Schema.Literal<"text">;
|
|
351
374
|
readonly text: Schema.String;
|
|
352
375
|
readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
@@ -395,14 +418,12 @@ export declare const FanOutState: Schema.Struct<{
|
|
|
395
418
|
readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
396
419
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
397
420
|
}>]>>>;
|
|
398
|
-
readonly
|
|
421
|
+
readonly error: Schema.optionalKey<Schema.String>;
|
|
422
|
+
readonly completed_at: Schema.optionalKey<Schema.Int>;
|
|
399
423
|
}>>;
|
|
400
|
-
readonly
|
|
401
|
-
readonly
|
|
402
|
-
|
|
403
|
-
}>, Schema.TaggedStruct<"best-effort", {}>]>;
|
|
404
|
-
readonly created_at: Schema.Int;
|
|
405
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
424
|
+
readonly satisfied_at: Schema.optionalKey<Schema.Int>;
|
|
425
|
+
readonly failed_at: Schema.optionalKey<Schema.Int>;
|
|
426
|
+
readonly cancelled_at: Schema.optionalKey<Schema.Int>;
|
|
406
427
|
}>;
|
|
407
428
|
export interface FanOutState extends Schema.Schema.Type<typeof FanOutState> {
|
|
408
429
|
}
|
|
@@ -20,83 +20,105 @@ export declare const Execution: Schema.Struct<{
|
|
|
20
20
|
readonly agent_revision: Schema.optionalKey<Schema.Int>;
|
|
21
21
|
readonly agent_snapshot: Schema.optionalKey<Schema.Codec<Definition, {
|
|
22
22
|
readonly name: string;
|
|
23
|
-
readonly
|
|
24
|
-
readonly name: string;
|
|
25
|
-
readonly value: Schema.Json;
|
|
26
|
-
readonly metadata?: {
|
|
27
|
-
readonly [x: string]: Schema.Json;
|
|
28
|
-
};
|
|
29
|
-
}[];
|
|
23
|
+
readonly instructions?: string;
|
|
30
24
|
readonly model: {
|
|
31
25
|
readonly provider: string;
|
|
32
26
|
readonly model: string;
|
|
33
|
-
readonly metadata?: {
|
|
34
|
-
readonly [x: string]: Schema.Json;
|
|
35
|
-
};
|
|
36
27
|
readonly registration_key?: string;
|
|
37
28
|
readonly request_options?: {
|
|
38
29
|
readonly [x: string]: Schema.Json;
|
|
39
30
|
};
|
|
31
|
+
readonly metadata?: {
|
|
32
|
+
readonly [x: string]: Schema.Json;
|
|
33
|
+
};
|
|
40
34
|
};
|
|
41
35
|
readonly tool_names: readonly string[];
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly keep_recent_tokens: Schema.Number;
|
|
50
|
-
}, "Encoded">;
|
|
51
|
-
readonly output_schema_ref?: string;
|
|
36
|
+
readonly permissions: readonly {
|
|
37
|
+
readonly name: string;
|
|
38
|
+
readonly value: Schema.Json;
|
|
39
|
+
readonly metadata?: {
|
|
40
|
+
readonly [x: string]: Schema.Json;
|
|
41
|
+
};
|
|
42
|
+
}[];
|
|
52
43
|
readonly skill_definition_ids?: readonly string[];
|
|
53
44
|
readonly permission_rules?: {
|
|
54
45
|
readonly rules: readonly {
|
|
55
46
|
readonly pattern: string;
|
|
56
|
-
readonly level: "allow" | "
|
|
47
|
+
readonly level: "allow" | "ask" | "deny";
|
|
57
48
|
readonly reason?: string;
|
|
58
49
|
}[];
|
|
59
|
-
readonly fallback?: "allow" | "
|
|
50
|
+
readonly fallback?: "allow" | "ask" | "deny";
|
|
60
51
|
};
|
|
61
52
|
readonly turn_policy?: import("./agent-schema").TurnPolicySnapshot;
|
|
53
|
+
readonly compaction_policy?: {
|
|
54
|
+
readonly context_window: number;
|
|
55
|
+
readonly reserve_tokens: number;
|
|
56
|
+
readonly keep_recent_tokens: number;
|
|
57
|
+
readonly summary_model?: {
|
|
58
|
+
readonly provider: string;
|
|
59
|
+
readonly model: string;
|
|
60
|
+
readonly registration_key?: string;
|
|
61
|
+
readonly request_options?: {
|
|
62
|
+
readonly [x: string]: Schema.Json;
|
|
63
|
+
};
|
|
64
|
+
readonly metadata?: {
|
|
65
|
+
readonly [x: string]: Schema.Json;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
62
69
|
readonly max_tool_turns?: number;
|
|
63
70
|
readonly max_wait_turns?: number;
|
|
64
71
|
readonly token_budget?: number;
|
|
65
72
|
readonly child_run_presets?: {
|
|
66
73
|
readonly [x: string]: {
|
|
67
|
-
readonly
|
|
68
|
-
readonly [x: string]: Schema.Json;
|
|
69
|
-
};
|
|
70
|
-
readonly permissions?: readonly string[];
|
|
74
|
+
readonly instructions?: string;
|
|
71
75
|
readonly model?: {
|
|
72
76
|
readonly provider: string;
|
|
73
77
|
readonly model: string;
|
|
74
|
-
readonly metadata?: {
|
|
75
|
-
readonly [x: string]: Schema.Json;
|
|
76
|
-
};
|
|
77
78
|
readonly registration_key?: string;
|
|
78
79
|
readonly request_options?: {
|
|
79
80
|
readonly [x: string]: Schema.Json;
|
|
80
81
|
};
|
|
82
|
+
readonly metadata?: {
|
|
83
|
+
readonly [x: string]: Schema.Json;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
readonly compaction_policy?: {
|
|
87
|
+
readonly context_window: number;
|
|
88
|
+
readonly reserve_tokens: number;
|
|
89
|
+
readonly keep_recent_tokens: number;
|
|
90
|
+
readonly summary_model?: {
|
|
91
|
+
readonly provider: string;
|
|
92
|
+
readonly model: string;
|
|
93
|
+
readonly registration_key?: string;
|
|
94
|
+
readonly request_options?: {
|
|
95
|
+
readonly [x: string]: Schema.Json;
|
|
96
|
+
};
|
|
97
|
+
readonly metadata?: {
|
|
98
|
+
readonly [x: string]: Schema.Json;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
81
101
|
};
|
|
82
|
-
readonly instructions?: string;
|
|
83
|
-
readonly compaction_policy?: Schema.Struct.ReadonlySide<{
|
|
84
|
-
readonly context_window: Schema.Number;
|
|
85
|
-
readonly reserve_tokens: Schema.Number;
|
|
86
|
-
readonly keep_recent_tokens: Schema.Number;
|
|
87
|
-
}, "Encoded">;
|
|
88
102
|
readonly tool_names?: readonly string[];
|
|
103
|
+
readonly permissions?: readonly string[];
|
|
89
104
|
readonly workspace_policy?: {
|
|
90
|
-
readonly mode: "
|
|
105
|
+
readonly mode: "fork" | "share";
|
|
91
106
|
readonly fallback?: "fail" | "fresh";
|
|
92
107
|
};
|
|
93
108
|
readonly output_schema_ref?: string;
|
|
109
|
+
readonly metadata?: {
|
|
110
|
+
readonly [x: string]: Schema.Json;
|
|
111
|
+
};
|
|
94
112
|
};
|
|
95
113
|
};
|
|
96
114
|
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
97
115
|
readonly name: Schema.String;
|
|
98
116
|
readonly preset_name: Schema.String;
|
|
99
117
|
}, "Encoded">[];
|
|
118
|
+
readonly output_schema_ref?: string;
|
|
119
|
+
readonly metadata?: {
|
|
120
|
+
readonly [x: string]: Schema.Json;
|
|
121
|
+
};
|
|
100
122
|
}, never, never>>;
|
|
101
123
|
readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
102
124
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
@@ -117,9 +139,16 @@ export declare const ChildRunContext: Schema.Struct<{
|
|
|
117
139
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
118
140
|
}>>;
|
|
119
141
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
120
|
-
readonly context_window: Schema.
|
|
121
|
-
readonly reserve_tokens: Schema.
|
|
122
|
-
readonly keep_recent_tokens: Schema.
|
|
142
|
+
readonly context_window: Schema.Finite;
|
|
143
|
+
readonly reserve_tokens: Schema.Finite;
|
|
144
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
145
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
146
|
+
readonly provider: Schema.String;
|
|
147
|
+
readonly model: Schema.String;
|
|
148
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
149
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
150
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
151
|
+
}>>;
|
|
123
152
|
}>>;
|
|
124
153
|
readonly tool_names: Schema.$Array<Schema.String>;
|
|
125
154
|
readonly permissions: Schema.$Array<Schema.String>;
|
|
@@ -138,9 +167,16 @@ export declare const ChildRunOverride: Schema.Struct<{
|
|
|
138
167
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
139
168
|
}>>;
|
|
140
169
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
141
|
-
readonly context_window: Schema.
|
|
142
|
-
readonly reserve_tokens: Schema.
|
|
143
|
-
readonly keep_recent_tokens: Schema.
|
|
170
|
+
readonly context_window: Schema.Finite;
|
|
171
|
+
readonly reserve_tokens: Schema.Finite;
|
|
172
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
173
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
174
|
+
readonly provider: Schema.String;
|
|
175
|
+
readonly model: Schema.String;
|
|
176
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
177
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
178
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
179
|
+
}>>;
|
|
144
180
|
}>>;
|
|
145
181
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
146
182
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -163,9 +199,16 @@ export declare const ChildRunPreset: Schema.Struct<{
|
|
|
163
199
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
164
200
|
}>>;
|
|
165
201
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
166
|
-
readonly context_window: Schema.
|
|
167
|
-
readonly reserve_tokens: Schema.
|
|
168
|
-
readonly keep_recent_tokens: Schema.
|
|
202
|
+
readonly context_window: Schema.Finite;
|
|
203
|
+
readonly reserve_tokens: Schema.Finite;
|
|
204
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
205
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
206
|
+
readonly provider: Schema.String;
|
|
207
|
+
readonly model: Schema.String;
|
|
208
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
209
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
210
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
211
|
+
}>>;
|
|
169
212
|
}>>;
|
|
170
213
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
171
214
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -198,9 +241,16 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
198
241
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
199
242
|
}>>;
|
|
200
243
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
201
|
-
readonly context_window: Schema.
|
|
202
|
-
readonly reserve_tokens: Schema.
|
|
203
|
-
readonly keep_recent_tokens: Schema.
|
|
244
|
+
readonly context_window: Schema.Finite;
|
|
245
|
+
readonly reserve_tokens: Schema.Finite;
|
|
246
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
247
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
248
|
+
readonly provider: Schema.String;
|
|
249
|
+
readonly model: Schema.String;
|
|
250
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
251
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
252
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
253
|
+
}>>;
|
|
204
254
|
}>>;
|
|
205
255
|
readonly tool_names: Schema.$Array<Schema.String>;
|
|
206
256
|
readonly permissions: Schema.$Array<Schema.String>;
|
|
@@ -217,9 +267,16 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
217
267
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
218
268
|
}>>;
|
|
219
269
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
220
|
-
readonly context_window: Schema.
|
|
221
|
-
readonly reserve_tokens: Schema.
|
|
222
|
-
readonly keep_recent_tokens: Schema.
|
|
270
|
+
readonly context_window: Schema.Finite;
|
|
271
|
+
readonly reserve_tokens: Schema.Finite;
|
|
272
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
273
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
274
|
+
readonly provider: Schema.String;
|
|
275
|
+
readonly model: Schema.String;
|
|
276
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
277
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
278
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
279
|
+
}>>;
|
|
223
280
|
}>>;
|
|
224
281
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
225
282
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -240,9 +297,16 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
240
297
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
241
298
|
}>>;
|
|
242
299
|
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
243
|
-
readonly context_window: Schema.
|
|
244
|
-
readonly reserve_tokens: Schema.
|
|
245
|
-
readonly keep_recent_tokens: Schema.
|
|
300
|
+
readonly context_window: Schema.Finite;
|
|
301
|
+
readonly reserve_tokens: Schema.Finite;
|
|
302
|
+
readonly keep_recent_tokens: Schema.Finite;
|
|
303
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
304
|
+
readonly provider: Schema.String;
|
|
305
|
+
readonly model: Schema.String;
|
|
306
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
307
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
308
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
309
|
+
}>>;
|
|
246
310
|
}>>;
|
|
247
311
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
248
312
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|