@relayfx/test 0.3.0 → 0.3.2
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/README.md +2 -2
- package/dist/index.js +29 -20481
- package/dist/types/test/index.d.ts +0 -2
- package/dist/types/test/test-runtime.d.ts +6 -7
- package/dist/types/test/test-tools.d.ts +2 -2
- package/dist/types/test/wait-test-kit.d.ts +1 -1
- package/package.json +7 -6
- package/dist/types/runtime/address/address-book-service.d.ts +0 -74
- package/dist/types/runtime/address/address-resolution-service.d.ts +0 -172
- package/dist/types/runtime/agent/agent-loop-service.d.ts +0 -92
- package/dist/types/runtime/agent/agent-registry-service.d.ts +0 -31
- package/dist/types/runtime/agent/prompt-assembler-service.d.ts +0 -64
- package/dist/types/runtime/agent/relay-approvals.d.ts +0 -2
- package/dist/types/runtime/agent/relay-compaction.d.ts +0 -24
- package/dist/types/runtime/agent/relay-instructions.d.ts +0 -7
- package/dist/types/runtime/agent/relay-permissions.d.ts +0 -25
- package/dist/types/runtime/agent/relay-steering.d.ts +0 -17
- package/dist/types/runtime/agent/relay-tool-executor.d.ts +0 -22
- package/dist/types/runtime/agent/relay-tool-output.d.ts +0 -10
- package/dist/types/runtime/agent/sequence-allocator.d.ts +0 -8
- package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +0 -30
- package/dist/types/runtime/child/child-fan-out-runtime.d.ts +0 -40
- package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +0 -25
- package/dist/types/runtime/child/child-run-service.d.ts +0 -96
- package/dist/types/runtime/child/parent-notifier-service.d.ts +0 -42
- package/dist/types/runtime/child/spawn-child-run-tool.d.ts +0 -225
- package/dist/types/runtime/cluster/execution-entity.d.ts +0 -39
- package/dist/types/runtime/content/artifact-store-service.d.ts +0 -26
- package/dist/types/runtime/content/blob-store-service.d.ts +0 -54
- package/dist/types/runtime/entity/entity-instance-service.d.ts +0 -76
- package/dist/types/runtime/entity/entity-registry-service.d.ts +0 -35
- package/dist/types/runtime/envelope/envelope-service.d.ts +0 -56
- package/dist/types/runtime/execution/active-execution-registry.d.ts +0 -12
- package/dist/types/runtime/execution/event-log-service.d.ts +0 -93
- package/dist/types/runtime/execution/execution-service.d.ts +0 -66
- package/dist/types/runtime/execution/execution-watch-service.d.ts +0 -32
- package/dist/types/runtime/execution/session-stream-service.d.ts +0 -33
- package/dist/types/runtime/inbox/inbox-service.d.ts +0 -76
- package/dist/types/runtime/inbox/send-message-tool.d.ts +0 -27
- package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +0 -34
- package/dist/types/runtime/index.d.ts +0 -56
- package/dist/types/runtime/memory/memory-service.d.ts +0 -22
- package/dist/types/runtime/model/embedding-model-service.d.ts +0 -81
- package/dist/types/runtime/model/language-model-service.d.ts +0 -48
- package/dist/types/runtime/model/model-call-policy.d.ts +0 -14
- package/dist/types/runtime/observability/runtime-metrics.d.ts +0 -28
- package/dist/types/runtime/presence/presence-service.d.ts +0 -30
- package/dist/types/runtime/presence/presence-tool.d.ts +0 -20
- package/dist/types/runtime/runner/runner-runtime-service.d.ts +0 -149
- package/dist/types/runtime/schedule/scheduler-service.d.ts +0 -34
- package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +0 -27
- package/dist/types/runtime/session/session-store-service.d.ts +0 -23
- package/dist/types/runtime/skill/skill-registry-service.d.ts +0 -44
- package/dist/types/runtime/state/execution-state-service.d.ts +0 -60
- package/dist/types/runtime/state/state-tools.d.ts +0 -5
- package/dist/types/runtime/tool/tool-input-schema-digest.d.ts +0 -6
- package/dist/types/runtime/tool/tool-runtime-service.d.ts +0 -162
- package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +0 -13
- package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +0 -24
- package/dist/types/runtime/topic/topic-service.d.ts +0 -50
- package/dist/types/runtime/wait/wait-service.d.ts +0 -81
- package/dist/types/runtime/wait/wait-signal.d.ts +0 -25
- package/dist/types/runtime/workflow/activity-version-registry.d.ts +0 -93
- package/dist/types/runtime/workflow/definition-runtime.d.ts +0 -95
- package/dist/types/runtime/workflow/execution-workflow.d.ts +0 -534
- package/dist/types/runtime/workspace/workspace-planner-service.d.ts +0 -64
- package/dist/types/runtime/workspace/workspace-provider-service.d.ts +0 -112
- package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +0 -21
- package/dist/types/schema/address-schema.d.ts +0 -77
- package/dist/types/schema/agent-schema.d.ts +0 -901
- package/dist/types/schema/child-orchestration-schema.d.ts +0 -429
- package/dist/types/schema/content-schema.d.ts +0 -118
- package/dist/types/schema/entity-schema.d.ts +0 -40
- package/dist/types/schema/envelope-schema.d.ts +0 -180
- package/dist/types/schema/execution-schema.d.ts +0 -453
- package/dist/types/schema/ids-schema.d.ts +0 -106
- package/dist/types/schema/inbox-schema.d.ts +0 -81
- package/dist/types/schema/index.d.ts +0 -19
- package/dist/types/schema/presence-schema.d.ts +0 -28
- package/dist/types/schema/schedule-schema.d.ts +0 -79
- package/dist/types/schema/shared-schema.d.ts +0 -13
- package/dist/types/schema/skill-schema.d.ts +0 -260
- package/dist/types/schema/state-schema.d.ts +0 -35
- package/dist/types/schema/tool-schema.d.ts +0 -84
- package/dist/types/schema/wait-schema.d.ts +0 -98
- package/dist/types/schema/workflow-schema.d.ts +0 -2062
- package/dist/types/schema/workspace-schema.d.ts +0 -78
- package/dist/types/test/captured-model.d.ts +0 -19
- package/dist/types/test/scripted-model.d.ts +0 -49
|
@@ -1,901 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import { AgentId, SkillDefinitionId } from "./ids-schema";
|
|
3
|
-
import { Metadata, NonEmptyString } from "./shared-schema";
|
|
4
|
-
import { Permission } from "./tool-schema";
|
|
5
|
-
export declare const DefinitionRevision: Schema.Int;
|
|
6
|
-
export type DefinitionRevision = typeof DefinitionRevision.Type;
|
|
7
|
-
export declare const ModelSelection: Schema.Struct<{
|
|
8
|
-
readonly provider: Schema.String;
|
|
9
|
-
readonly model: Schema.String;
|
|
10
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
11
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
12
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
13
|
-
}>;
|
|
14
|
-
export interface ModelSelection extends Schema.Schema.Type<typeof ModelSelection> {
|
|
15
|
-
}
|
|
16
|
-
export declare const CompactionPolicy: Schema.Struct<{
|
|
17
|
-
readonly context_window: Schema.Finite;
|
|
18
|
-
readonly reserve_tokens: Schema.Finite;
|
|
19
|
-
readonly keep_recent_tokens: Schema.Finite;
|
|
20
|
-
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
21
|
-
readonly provider: Schema.String;
|
|
22
|
-
readonly model: Schema.String;
|
|
23
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
24
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
25
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
26
|
-
}>>;
|
|
27
|
-
}>;
|
|
28
|
-
export interface CompactionPolicy extends Schema.Schema.Type<typeof CompactionPolicy> {
|
|
29
|
-
}
|
|
30
|
-
export declare const ChildRunWorkspacePolicy: Schema.Struct<{
|
|
31
|
-
readonly mode: Schema.Literals<readonly ["share", "fork"]>;
|
|
32
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
|
|
33
|
-
}>;
|
|
34
|
-
export interface ChildRunWorkspacePolicy extends Schema.Schema.Type<typeof ChildRunWorkspacePolicy> {
|
|
35
|
-
}
|
|
36
|
-
export declare const ChildRunPreset: Schema.Struct<{
|
|
37
|
-
readonly instructions: Schema.optionalKey<Schema.String>;
|
|
38
|
-
readonly model: Schema.optionalKey<Schema.Struct<{
|
|
39
|
-
readonly provider: Schema.String;
|
|
40
|
-
readonly model: Schema.String;
|
|
41
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
42
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
43
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
44
|
-
}>>;
|
|
45
|
-
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
46
|
-
readonly context_window: Schema.Finite;
|
|
47
|
-
readonly reserve_tokens: Schema.Finite;
|
|
48
|
-
readonly keep_recent_tokens: Schema.Finite;
|
|
49
|
-
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
50
|
-
readonly provider: Schema.String;
|
|
51
|
-
readonly model: Schema.String;
|
|
52
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
53
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
54
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
55
|
-
}>>;
|
|
56
|
-
}>>;
|
|
57
|
-
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
58
|
-
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
59
|
-
readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
|
|
60
|
-
readonly mode: Schema.Literals<readonly ["share", "fork"]>;
|
|
61
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
|
|
62
|
-
}>>;
|
|
63
|
-
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
64
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
65
|
-
}>;
|
|
66
|
-
export interface ChildRunPreset extends Schema.Schema.Type<typeof ChildRunPreset> {
|
|
67
|
-
}
|
|
68
|
-
export declare const HandoffTarget: Schema.Struct<{
|
|
69
|
-
readonly name: Schema.String;
|
|
70
|
-
readonly preset_name: Schema.String;
|
|
71
|
-
}>;
|
|
72
|
-
export interface HandoffTarget extends Schema.Schema.Type<typeof HandoffTarget> {
|
|
73
|
-
}
|
|
74
|
-
export declare const PermissionLevel: Schema.Literals<readonly ["allow", "deny", "ask"]>;
|
|
75
|
-
export type PermissionLevel = typeof PermissionLevel.Type;
|
|
76
|
-
export declare const PermissionRule: Schema.Struct<{
|
|
77
|
-
readonly pattern: Schema.String;
|
|
78
|
-
readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
|
|
79
|
-
readonly reason: Schema.optionalKey<Schema.String>;
|
|
80
|
-
}>;
|
|
81
|
-
export interface PermissionRule extends Schema.Schema.Type<typeof PermissionRule> {
|
|
82
|
-
}
|
|
83
|
-
export declare const PermissionRuleset: Schema.Struct<{
|
|
84
|
-
readonly rules: Schema.$Array<Schema.Struct<{
|
|
85
|
-
readonly pattern: Schema.String;
|
|
86
|
-
readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
|
|
87
|
-
readonly reason: Schema.optionalKey<Schema.String>;
|
|
88
|
-
}>>;
|
|
89
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["allow", "deny", "ask"]>>;
|
|
90
|
-
}>;
|
|
91
|
-
export interface PermissionRuleset extends Schema.Schema.Type<typeof PermissionRuleset> {
|
|
92
|
-
}
|
|
93
|
-
export declare const ToolInputSchemaDigests: Schema.$Record<Schema.String, Schema.String>;
|
|
94
|
-
export interface ToolInputSchemaDigests extends Schema.Schema.Type<typeof ToolInputSchemaDigests> {
|
|
95
|
-
}
|
|
96
|
-
export interface RecursTurnPolicySnapshot {
|
|
97
|
-
readonly kind: "recurs";
|
|
98
|
-
readonly count: number;
|
|
99
|
-
}
|
|
100
|
-
export interface UntilToolCallTurnPolicySnapshot {
|
|
101
|
-
readonly kind: "until-tool-call";
|
|
102
|
-
readonly name: string;
|
|
103
|
-
}
|
|
104
|
-
export interface BothTurnPolicySnapshot {
|
|
105
|
-
readonly kind: "both";
|
|
106
|
-
readonly first: TurnPolicySnapshot;
|
|
107
|
-
readonly second: TurnPolicySnapshot;
|
|
108
|
-
}
|
|
109
|
-
export type TurnPolicySnapshot = RecursTurnPolicySnapshot | UntilToolCallTurnPolicySnapshot | BothTurnPolicySnapshot;
|
|
110
|
-
export declare const maxTurnPolicySnapshotDepth = 16;
|
|
111
|
-
export declare const maxTurnPolicySnapshotNodes = 64;
|
|
112
|
-
export declare const TurnPolicySnapshot: Schema.Codec<TurnPolicySnapshot>;
|
|
113
|
-
export declare const defaultMaxToolTurns: number;
|
|
114
|
-
export declare const defaultMaxWaitTurns: number;
|
|
115
|
-
declare const DefinitionSchema: Schema.Struct<{
|
|
116
|
-
readonly name: Schema.String;
|
|
117
|
-
readonly instructions: Schema.optionalKey<Schema.String>;
|
|
118
|
-
readonly model: Schema.Struct<{
|
|
119
|
-
readonly provider: Schema.String;
|
|
120
|
-
readonly model: Schema.String;
|
|
121
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
122
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
123
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
124
|
-
}>;
|
|
125
|
-
readonly tool_names: Schema.$Array<Schema.String>;
|
|
126
|
-
readonly permissions: Schema.$Array<Schema.Struct<{
|
|
127
|
-
readonly name: Schema.String;
|
|
128
|
-
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
129
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
130
|
-
}>>;
|
|
131
|
-
readonly skill_definition_ids: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Relay.SkillDefinitionId"> & {
|
|
132
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">;
|
|
133
|
-
}>>;
|
|
134
|
-
readonly permission_rules: Schema.optionalKey<Schema.Struct<{
|
|
135
|
-
readonly rules: Schema.$Array<Schema.Struct<{
|
|
136
|
-
readonly pattern: Schema.String;
|
|
137
|
-
readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
|
|
138
|
-
readonly reason: Schema.optionalKey<Schema.String>;
|
|
139
|
-
}>>;
|
|
140
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["allow", "deny", "ask"]>>;
|
|
141
|
-
}>>;
|
|
142
|
-
readonly turn_policy: Schema.optionalKey<Schema.Codec<TurnPolicySnapshot, TurnPolicySnapshot, never, never>>;
|
|
143
|
-
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
144
|
-
readonly context_window: Schema.Finite;
|
|
145
|
-
readonly reserve_tokens: Schema.Finite;
|
|
146
|
-
readonly keep_recent_tokens: Schema.Finite;
|
|
147
|
-
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
148
|
-
readonly provider: Schema.String;
|
|
149
|
-
readonly model: Schema.String;
|
|
150
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
151
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
152
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
153
|
-
}>>;
|
|
154
|
-
}>>;
|
|
155
|
-
readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
|
|
156
|
-
readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
|
|
157
|
-
readonly token_budget: Schema.optionalKey<Schema.Int>;
|
|
158
|
-
readonly child_run_presets: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
159
|
-
readonly instructions: Schema.optionalKey<Schema.String>;
|
|
160
|
-
readonly model: Schema.optionalKey<Schema.Struct<{
|
|
161
|
-
readonly provider: Schema.String;
|
|
162
|
-
readonly model: Schema.String;
|
|
163
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
164
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
165
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
166
|
-
}>>;
|
|
167
|
-
readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
|
|
168
|
-
readonly context_window: Schema.Finite;
|
|
169
|
-
readonly reserve_tokens: Schema.Finite;
|
|
170
|
-
readonly keep_recent_tokens: Schema.Finite;
|
|
171
|
-
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
172
|
-
readonly provider: Schema.String;
|
|
173
|
-
readonly model: Schema.String;
|
|
174
|
-
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
175
|
-
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
176
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
177
|
-
}>>;
|
|
178
|
-
}>>;
|
|
179
|
-
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
180
|
-
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
181
|
-
readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
|
|
182
|
-
readonly mode: Schema.Literals<readonly ["share", "fork"]>;
|
|
183
|
-
readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
|
|
184
|
-
}>>;
|
|
185
|
-
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
186
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
187
|
-
}>>>;
|
|
188
|
-
readonly handoff_targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
189
|
-
readonly name: Schema.String;
|
|
190
|
-
readonly preset_name: Schema.String;
|
|
191
|
-
}>>>;
|
|
192
|
-
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
193
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
194
|
-
}>;
|
|
195
|
-
export interface Definition extends Schema.Schema.Type<typeof DefinitionSchema> {
|
|
196
|
-
}
|
|
197
|
-
export declare const Definition: Schema.Codec<Definition, Schema.Codec.Encoded<typeof DefinitionSchema>>;
|
|
198
|
-
export type ToolRef = {
|
|
199
|
-
readonly name: string;
|
|
200
|
-
} | ({
|
|
201
|
-
readonly name: string;
|
|
202
|
-
} & Readonly<Record<string, unknown>>);
|
|
203
|
-
export interface DefineInput {
|
|
204
|
-
readonly id: AgentId;
|
|
205
|
-
readonly name: NonEmptyString;
|
|
206
|
-
readonly instructions?: string;
|
|
207
|
-
readonly model: ModelSelection;
|
|
208
|
-
readonly tools?: ReadonlyArray<ToolRef>;
|
|
209
|
-
readonly permissions: ReadonlyArray<Permission>;
|
|
210
|
-
readonly skill_definition_ids?: ReadonlyArray<SkillDefinitionId>;
|
|
211
|
-
readonly permission_rules?: PermissionRuleset;
|
|
212
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
213
|
-
readonly compaction_policy?: CompactionPolicy;
|
|
214
|
-
readonly max_tool_turns?: number;
|
|
215
|
-
readonly max_wait_turns?: number;
|
|
216
|
-
readonly token_budget?: number;
|
|
217
|
-
readonly child_run_presets?: Readonly<Record<string, ChildRunPreset>>;
|
|
218
|
-
readonly handoff_targets?: ReadonlyArray<HandoffTarget>;
|
|
219
|
-
readonly output_schema_ref?: string;
|
|
220
|
-
readonly metadata?: Metadata;
|
|
221
|
-
}
|
|
222
|
-
export declare const define: (input: DefineInput) => RegisterDefinitionPayload;
|
|
223
|
-
export declare const DefinitionRecord: Schema.Struct<{
|
|
224
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
225
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
226
|
-
};
|
|
227
|
-
readonly current_revision: Schema.Int;
|
|
228
|
-
readonly definition: Schema.Codec<Definition, {
|
|
229
|
-
readonly name: string;
|
|
230
|
-
readonly instructions?: string;
|
|
231
|
-
readonly model: {
|
|
232
|
-
readonly provider: string;
|
|
233
|
-
readonly model: string;
|
|
234
|
-
readonly registration_key?: string;
|
|
235
|
-
readonly request_options?: {
|
|
236
|
-
readonly [x: string]: Schema.Json;
|
|
237
|
-
};
|
|
238
|
-
readonly metadata?: {
|
|
239
|
-
readonly [x: string]: Schema.Json;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
readonly tool_names: readonly string[];
|
|
243
|
-
readonly permissions: readonly {
|
|
244
|
-
readonly name: string;
|
|
245
|
-
readonly value: Schema.Json;
|
|
246
|
-
readonly metadata?: {
|
|
247
|
-
readonly [x: string]: Schema.Json;
|
|
248
|
-
};
|
|
249
|
-
}[];
|
|
250
|
-
readonly skill_definition_ids?: readonly string[];
|
|
251
|
-
readonly permission_rules?: {
|
|
252
|
-
readonly rules: readonly {
|
|
253
|
-
readonly pattern: string;
|
|
254
|
-
readonly level: "allow" | "ask" | "deny";
|
|
255
|
-
readonly reason?: string;
|
|
256
|
-
}[];
|
|
257
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
258
|
-
};
|
|
259
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
260
|
-
readonly compaction_policy?: {
|
|
261
|
-
readonly context_window: number;
|
|
262
|
-
readonly reserve_tokens: number;
|
|
263
|
-
readonly keep_recent_tokens: number;
|
|
264
|
-
readonly summary_model?: {
|
|
265
|
-
readonly provider: string;
|
|
266
|
-
readonly model: string;
|
|
267
|
-
readonly registration_key?: string;
|
|
268
|
-
readonly request_options?: {
|
|
269
|
-
readonly [x: string]: Schema.Json;
|
|
270
|
-
};
|
|
271
|
-
readonly metadata?: {
|
|
272
|
-
readonly [x: string]: Schema.Json;
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
readonly max_tool_turns?: number;
|
|
277
|
-
readonly max_wait_turns?: number;
|
|
278
|
-
readonly token_budget?: number;
|
|
279
|
-
readonly child_run_presets?: {
|
|
280
|
-
readonly [x: string]: {
|
|
281
|
-
readonly instructions?: string;
|
|
282
|
-
readonly model?: {
|
|
283
|
-
readonly provider: string;
|
|
284
|
-
readonly model: string;
|
|
285
|
-
readonly registration_key?: string;
|
|
286
|
-
readonly request_options?: {
|
|
287
|
-
readonly [x: string]: Schema.Json;
|
|
288
|
-
};
|
|
289
|
-
readonly metadata?: {
|
|
290
|
-
readonly [x: string]: Schema.Json;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
readonly compaction_policy?: {
|
|
294
|
-
readonly context_window: number;
|
|
295
|
-
readonly reserve_tokens: number;
|
|
296
|
-
readonly keep_recent_tokens: number;
|
|
297
|
-
readonly summary_model?: {
|
|
298
|
-
readonly provider: string;
|
|
299
|
-
readonly model: string;
|
|
300
|
-
readonly registration_key?: string;
|
|
301
|
-
readonly request_options?: {
|
|
302
|
-
readonly [x: string]: Schema.Json;
|
|
303
|
-
};
|
|
304
|
-
readonly metadata?: {
|
|
305
|
-
readonly [x: string]: Schema.Json;
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
readonly tool_names?: readonly string[];
|
|
310
|
-
readonly permissions?: readonly string[];
|
|
311
|
-
readonly workspace_policy?: {
|
|
312
|
-
readonly mode: "fork" | "share";
|
|
313
|
-
readonly fallback?: "fail" | "fresh";
|
|
314
|
-
};
|
|
315
|
-
readonly output_schema_ref?: string;
|
|
316
|
-
readonly metadata?: {
|
|
317
|
-
readonly [x: string]: Schema.Json;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
322
|
-
readonly name: Schema.String;
|
|
323
|
-
readonly preset_name: Schema.String;
|
|
324
|
-
}, "Encoded">[];
|
|
325
|
-
readonly output_schema_ref?: string;
|
|
326
|
-
readonly metadata?: {
|
|
327
|
-
readonly [x: string]: Schema.Json;
|
|
328
|
-
};
|
|
329
|
-
}, never, never>;
|
|
330
|
-
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
331
|
-
readonly created_at: Schema.Int;
|
|
332
|
-
readonly updated_at: Schema.Int;
|
|
333
|
-
}>;
|
|
334
|
-
export interface DefinitionRecord extends Schema.Schema.Type<typeof DefinitionRecord> {
|
|
335
|
-
}
|
|
336
|
-
export declare const DefinitionRevisionRecord: Schema.Struct<{
|
|
337
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
338
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
339
|
-
};
|
|
340
|
-
readonly revision: Schema.Int;
|
|
341
|
-
readonly definition: Schema.Codec<Definition, {
|
|
342
|
-
readonly name: string;
|
|
343
|
-
readonly instructions?: string;
|
|
344
|
-
readonly model: {
|
|
345
|
-
readonly provider: string;
|
|
346
|
-
readonly model: string;
|
|
347
|
-
readonly registration_key?: string;
|
|
348
|
-
readonly request_options?: {
|
|
349
|
-
readonly [x: string]: Schema.Json;
|
|
350
|
-
};
|
|
351
|
-
readonly metadata?: {
|
|
352
|
-
readonly [x: string]: Schema.Json;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
readonly tool_names: readonly string[];
|
|
356
|
-
readonly permissions: readonly {
|
|
357
|
-
readonly name: string;
|
|
358
|
-
readonly value: Schema.Json;
|
|
359
|
-
readonly metadata?: {
|
|
360
|
-
readonly [x: string]: Schema.Json;
|
|
361
|
-
};
|
|
362
|
-
}[];
|
|
363
|
-
readonly skill_definition_ids?: readonly string[];
|
|
364
|
-
readonly permission_rules?: {
|
|
365
|
-
readonly rules: readonly {
|
|
366
|
-
readonly pattern: string;
|
|
367
|
-
readonly level: "allow" | "ask" | "deny";
|
|
368
|
-
readonly reason?: string;
|
|
369
|
-
}[];
|
|
370
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
371
|
-
};
|
|
372
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
373
|
-
readonly compaction_policy?: {
|
|
374
|
-
readonly context_window: number;
|
|
375
|
-
readonly reserve_tokens: number;
|
|
376
|
-
readonly keep_recent_tokens: number;
|
|
377
|
-
readonly summary_model?: {
|
|
378
|
-
readonly provider: string;
|
|
379
|
-
readonly model: string;
|
|
380
|
-
readonly registration_key?: string;
|
|
381
|
-
readonly request_options?: {
|
|
382
|
-
readonly [x: string]: Schema.Json;
|
|
383
|
-
};
|
|
384
|
-
readonly metadata?: {
|
|
385
|
-
readonly [x: string]: Schema.Json;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
readonly max_tool_turns?: number;
|
|
390
|
-
readonly max_wait_turns?: number;
|
|
391
|
-
readonly token_budget?: number;
|
|
392
|
-
readonly child_run_presets?: {
|
|
393
|
-
readonly [x: string]: {
|
|
394
|
-
readonly instructions?: string;
|
|
395
|
-
readonly model?: {
|
|
396
|
-
readonly provider: string;
|
|
397
|
-
readonly model: string;
|
|
398
|
-
readonly registration_key?: string;
|
|
399
|
-
readonly request_options?: {
|
|
400
|
-
readonly [x: string]: Schema.Json;
|
|
401
|
-
};
|
|
402
|
-
readonly metadata?: {
|
|
403
|
-
readonly [x: string]: Schema.Json;
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
readonly compaction_policy?: {
|
|
407
|
-
readonly context_window: number;
|
|
408
|
-
readonly reserve_tokens: number;
|
|
409
|
-
readonly keep_recent_tokens: number;
|
|
410
|
-
readonly summary_model?: {
|
|
411
|
-
readonly provider: string;
|
|
412
|
-
readonly model: string;
|
|
413
|
-
readonly registration_key?: string;
|
|
414
|
-
readonly request_options?: {
|
|
415
|
-
readonly [x: string]: Schema.Json;
|
|
416
|
-
};
|
|
417
|
-
readonly metadata?: {
|
|
418
|
-
readonly [x: string]: Schema.Json;
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
readonly tool_names?: readonly string[];
|
|
423
|
-
readonly permissions?: readonly string[];
|
|
424
|
-
readonly workspace_policy?: {
|
|
425
|
-
readonly mode: "fork" | "share";
|
|
426
|
-
readonly fallback?: "fail" | "fresh";
|
|
427
|
-
};
|
|
428
|
-
readonly output_schema_ref?: string;
|
|
429
|
-
readonly metadata?: {
|
|
430
|
-
readonly [x: string]: Schema.Json;
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
435
|
-
readonly name: Schema.String;
|
|
436
|
-
readonly preset_name: Schema.String;
|
|
437
|
-
}, "Encoded">[];
|
|
438
|
-
readonly output_schema_ref?: string;
|
|
439
|
-
readonly metadata?: {
|
|
440
|
-
readonly [x: string]: Schema.Json;
|
|
441
|
-
};
|
|
442
|
-
}, never, never>;
|
|
443
|
-
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
444
|
-
readonly created_at: Schema.Int;
|
|
445
|
-
}>;
|
|
446
|
-
export interface DefinitionRevisionRecord extends Schema.Schema.Type<typeof DefinitionRevisionRecord> {
|
|
447
|
-
}
|
|
448
|
-
export declare const RegisterDefinitionPayload: Schema.Struct<{
|
|
449
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
450
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
451
|
-
};
|
|
452
|
-
readonly definition: Schema.Codec<Definition, {
|
|
453
|
-
readonly name: string;
|
|
454
|
-
readonly instructions?: string;
|
|
455
|
-
readonly model: {
|
|
456
|
-
readonly provider: string;
|
|
457
|
-
readonly model: string;
|
|
458
|
-
readonly registration_key?: string;
|
|
459
|
-
readonly request_options?: {
|
|
460
|
-
readonly [x: string]: Schema.Json;
|
|
461
|
-
};
|
|
462
|
-
readonly metadata?: {
|
|
463
|
-
readonly [x: string]: Schema.Json;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly tool_names: readonly string[];
|
|
467
|
-
readonly permissions: readonly {
|
|
468
|
-
readonly name: string;
|
|
469
|
-
readonly value: Schema.Json;
|
|
470
|
-
readonly metadata?: {
|
|
471
|
-
readonly [x: string]: Schema.Json;
|
|
472
|
-
};
|
|
473
|
-
}[];
|
|
474
|
-
readonly skill_definition_ids?: readonly string[];
|
|
475
|
-
readonly permission_rules?: {
|
|
476
|
-
readonly rules: readonly {
|
|
477
|
-
readonly pattern: string;
|
|
478
|
-
readonly level: "allow" | "ask" | "deny";
|
|
479
|
-
readonly reason?: string;
|
|
480
|
-
}[];
|
|
481
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
482
|
-
};
|
|
483
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
484
|
-
readonly compaction_policy?: {
|
|
485
|
-
readonly context_window: number;
|
|
486
|
-
readonly reserve_tokens: number;
|
|
487
|
-
readonly keep_recent_tokens: number;
|
|
488
|
-
readonly summary_model?: {
|
|
489
|
-
readonly provider: string;
|
|
490
|
-
readonly model: string;
|
|
491
|
-
readonly registration_key?: string;
|
|
492
|
-
readonly request_options?: {
|
|
493
|
-
readonly [x: string]: Schema.Json;
|
|
494
|
-
};
|
|
495
|
-
readonly metadata?: {
|
|
496
|
-
readonly [x: string]: Schema.Json;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
readonly max_tool_turns?: number;
|
|
501
|
-
readonly max_wait_turns?: number;
|
|
502
|
-
readonly token_budget?: number;
|
|
503
|
-
readonly child_run_presets?: {
|
|
504
|
-
readonly [x: string]: {
|
|
505
|
-
readonly instructions?: string;
|
|
506
|
-
readonly model?: {
|
|
507
|
-
readonly provider: string;
|
|
508
|
-
readonly model: string;
|
|
509
|
-
readonly registration_key?: string;
|
|
510
|
-
readonly request_options?: {
|
|
511
|
-
readonly [x: string]: Schema.Json;
|
|
512
|
-
};
|
|
513
|
-
readonly metadata?: {
|
|
514
|
-
readonly [x: string]: Schema.Json;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
readonly compaction_policy?: {
|
|
518
|
-
readonly context_window: number;
|
|
519
|
-
readonly reserve_tokens: number;
|
|
520
|
-
readonly keep_recent_tokens: number;
|
|
521
|
-
readonly summary_model?: {
|
|
522
|
-
readonly provider: string;
|
|
523
|
-
readonly model: string;
|
|
524
|
-
readonly registration_key?: string;
|
|
525
|
-
readonly request_options?: {
|
|
526
|
-
readonly [x: string]: Schema.Json;
|
|
527
|
-
};
|
|
528
|
-
readonly metadata?: {
|
|
529
|
-
readonly [x: string]: Schema.Json;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
readonly tool_names?: readonly string[];
|
|
534
|
-
readonly permissions?: readonly string[];
|
|
535
|
-
readonly workspace_policy?: {
|
|
536
|
-
readonly mode: "fork" | "share";
|
|
537
|
-
readonly fallback?: "fail" | "fresh";
|
|
538
|
-
};
|
|
539
|
-
readonly output_schema_ref?: string;
|
|
540
|
-
readonly metadata?: {
|
|
541
|
-
readonly [x: string]: Schema.Json;
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
};
|
|
545
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
546
|
-
readonly name: Schema.String;
|
|
547
|
-
readonly preset_name: Schema.String;
|
|
548
|
-
}, "Encoded">[];
|
|
549
|
-
readonly output_schema_ref?: string;
|
|
550
|
-
readonly metadata?: {
|
|
551
|
-
readonly [x: string]: Schema.Json;
|
|
552
|
-
};
|
|
553
|
-
}, never, never>;
|
|
554
|
-
}>;
|
|
555
|
-
export interface RegisterDefinitionPayload extends Schema.Schema.Type<typeof RegisterDefinitionPayload> {
|
|
556
|
-
}
|
|
557
|
-
export declare const DefinitionRegistered: Schema.Struct<{
|
|
558
|
-
readonly record: Schema.Struct<{
|
|
559
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
560
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
561
|
-
};
|
|
562
|
-
readonly current_revision: Schema.Int;
|
|
563
|
-
readonly definition: Schema.Codec<Definition, {
|
|
564
|
-
readonly name: string;
|
|
565
|
-
readonly instructions?: string;
|
|
566
|
-
readonly model: {
|
|
567
|
-
readonly provider: string;
|
|
568
|
-
readonly model: string;
|
|
569
|
-
readonly registration_key?: string;
|
|
570
|
-
readonly request_options?: {
|
|
571
|
-
readonly [x: string]: Schema.Json;
|
|
572
|
-
};
|
|
573
|
-
readonly metadata?: {
|
|
574
|
-
readonly [x: string]: Schema.Json;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
readonly tool_names: readonly string[];
|
|
578
|
-
readonly permissions: readonly {
|
|
579
|
-
readonly name: string;
|
|
580
|
-
readonly value: Schema.Json;
|
|
581
|
-
readonly metadata?: {
|
|
582
|
-
readonly [x: string]: Schema.Json;
|
|
583
|
-
};
|
|
584
|
-
}[];
|
|
585
|
-
readonly skill_definition_ids?: readonly string[];
|
|
586
|
-
readonly permission_rules?: {
|
|
587
|
-
readonly rules: readonly {
|
|
588
|
-
readonly pattern: string;
|
|
589
|
-
readonly level: "allow" | "ask" | "deny";
|
|
590
|
-
readonly reason?: string;
|
|
591
|
-
}[];
|
|
592
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
593
|
-
};
|
|
594
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
595
|
-
readonly compaction_policy?: {
|
|
596
|
-
readonly context_window: number;
|
|
597
|
-
readonly reserve_tokens: number;
|
|
598
|
-
readonly keep_recent_tokens: number;
|
|
599
|
-
readonly summary_model?: {
|
|
600
|
-
readonly provider: string;
|
|
601
|
-
readonly model: string;
|
|
602
|
-
readonly registration_key?: string;
|
|
603
|
-
readonly request_options?: {
|
|
604
|
-
readonly [x: string]: Schema.Json;
|
|
605
|
-
};
|
|
606
|
-
readonly metadata?: {
|
|
607
|
-
readonly [x: string]: Schema.Json;
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
readonly max_tool_turns?: number;
|
|
612
|
-
readonly max_wait_turns?: number;
|
|
613
|
-
readonly token_budget?: number;
|
|
614
|
-
readonly child_run_presets?: {
|
|
615
|
-
readonly [x: string]: {
|
|
616
|
-
readonly instructions?: string;
|
|
617
|
-
readonly model?: {
|
|
618
|
-
readonly provider: string;
|
|
619
|
-
readonly model: string;
|
|
620
|
-
readonly registration_key?: string;
|
|
621
|
-
readonly request_options?: {
|
|
622
|
-
readonly [x: string]: Schema.Json;
|
|
623
|
-
};
|
|
624
|
-
readonly metadata?: {
|
|
625
|
-
readonly [x: string]: Schema.Json;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
readonly compaction_policy?: {
|
|
629
|
-
readonly context_window: number;
|
|
630
|
-
readonly reserve_tokens: number;
|
|
631
|
-
readonly keep_recent_tokens: number;
|
|
632
|
-
readonly summary_model?: {
|
|
633
|
-
readonly provider: string;
|
|
634
|
-
readonly model: string;
|
|
635
|
-
readonly registration_key?: string;
|
|
636
|
-
readonly request_options?: {
|
|
637
|
-
readonly [x: string]: Schema.Json;
|
|
638
|
-
};
|
|
639
|
-
readonly metadata?: {
|
|
640
|
-
readonly [x: string]: Schema.Json;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
};
|
|
644
|
-
readonly tool_names?: readonly string[];
|
|
645
|
-
readonly permissions?: readonly string[];
|
|
646
|
-
readonly workspace_policy?: {
|
|
647
|
-
readonly mode: "fork" | "share";
|
|
648
|
-
readonly fallback?: "fail" | "fresh";
|
|
649
|
-
};
|
|
650
|
-
readonly output_schema_ref?: string;
|
|
651
|
-
readonly metadata?: {
|
|
652
|
-
readonly [x: string]: Schema.Json;
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
657
|
-
readonly name: Schema.String;
|
|
658
|
-
readonly preset_name: Schema.String;
|
|
659
|
-
}, "Encoded">[];
|
|
660
|
-
readonly output_schema_ref?: string;
|
|
661
|
-
readonly metadata?: {
|
|
662
|
-
readonly [x: string]: Schema.Json;
|
|
663
|
-
};
|
|
664
|
-
}, never, never>;
|
|
665
|
-
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
666
|
-
readonly created_at: Schema.Int;
|
|
667
|
-
readonly updated_at: Schema.Int;
|
|
668
|
-
}>;
|
|
669
|
-
}>;
|
|
670
|
-
export interface DefinitionRegistered extends Schema.Schema.Type<typeof DefinitionRegistered> {
|
|
671
|
-
}
|
|
672
|
-
export declare const DefinitionList: Schema.Struct<{
|
|
673
|
-
readonly records: Schema.$Array<Schema.Struct<{
|
|
674
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
675
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
676
|
-
};
|
|
677
|
-
readonly current_revision: Schema.Int;
|
|
678
|
-
readonly definition: Schema.Codec<Definition, {
|
|
679
|
-
readonly name: string;
|
|
680
|
-
readonly instructions?: string;
|
|
681
|
-
readonly model: {
|
|
682
|
-
readonly provider: string;
|
|
683
|
-
readonly model: string;
|
|
684
|
-
readonly registration_key?: string;
|
|
685
|
-
readonly request_options?: {
|
|
686
|
-
readonly [x: string]: Schema.Json;
|
|
687
|
-
};
|
|
688
|
-
readonly metadata?: {
|
|
689
|
-
readonly [x: string]: Schema.Json;
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
readonly tool_names: readonly string[];
|
|
693
|
-
readonly permissions: readonly {
|
|
694
|
-
readonly name: string;
|
|
695
|
-
readonly value: Schema.Json;
|
|
696
|
-
readonly metadata?: {
|
|
697
|
-
readonly [x: string]: Schema.Json;
|
|
698
|
-
};
|
|
699
|
-
}[];
|
|
700
|
-
readonly skill_definition_ids?: readonly string[];
|
|
701
|
-
readonly permission_rules?: {
|
|
702
|
-
readonly rules: readonly {
|
|
703
|
-
readonly pattern: string;
|
|
704
|
-
readonly level: "allow" | "ask" | "deny";
|
|
705
|
-
readonly reason?: string;
|
|
706
|
-
}[];
|
|
707
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
708
|
-
};
|
|
709
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
710
|
-
readonly compaction_policy?: {
|
|
711
|
-
readonly context_window: number;
|
|
712
|
-
readonly reserve_tokens: number;
|
|
713
|
-
readonly keep_recent_tokens: number;
|
|
714
|
-
readonly summary_model?: {
|
|
715
|
-
readonly provider: string;
|
|
716
|
-
readonly model: string;
|
|
717
|
-
readonly registration_key?: string;
|
|
718
|
-
readonly request_options?: {
|
|
719
|
-
readonly [x: string]: Schema.Json;
|
|
720
|
-
};
|
|
721
|
-
readonly metadata?: {
|
|
722
|
-
readonly [x: string]: Schema.Json;
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
};
|
|
726
|
-
readonly max_tool_turns?: number;
|
|
727
|
-
readonly max_wait_turns?: number;
|
|
728
|
-
readonly token_budget?: number;
|
|
729
|
-
readonly child_run_presets?: {
|
|
730
|
-
readonly [x: string]: {
|
|
731
|
-
readonly instructions?: string;
|
|
732
|
-
readonly model?: {
|
|
733
|
-
readonly provider: string;
|
|
734
|
-
readonly model: string;
|
|
735
|
-
readonly registration_key?: string;
|
|
736
|
-
readonly request_options?: {
|
|
737
|
-
readonly [x: string]: Schema.Json;
|
|
738
|
-
};
|
|
739
|
-
readonly metadata?: {
|
|
740
|
-
readonly [x: string]: Schema.Json;
|
|
741
|
-
};
|
|
742
|
-
};
|
|
743
|
-
readonly compaction_policy?: {
|
|
744
|
-
readonly context_window: number;
|
|
745
|
-
readonly reserve_tokens: number;
|
|
746
|
-
readonly keep_recent_tokens: number;
|
|
747
|
-
readonly summary_model?: {
|
|
748
|
-
readonly provider: string;
|
|
749
|
-
readonly model: string;
|
|
750
|
-
readonly registration_key?: string;
|
|
751
|
-
readonly request_options?: {
|
|
752
|
-
readonly [x: string]: Schema.Json;
|
|
753
|
-
};
|
|
754
|
-
readonly metadata?: {
|
|
755
|
-
readonly [x: string]: Schema.Json;
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
};
|
|
759
|
-
readonly tool_names?: readonly string[];
|
|
760
|
-
readonly permissions?: readonly string[];
|
|
761
|
-
readonly workspace_policy?: {
|
|
762
|
-
readonly mode: "fork" | "share";
|
|
763
|
-
readonly fallback?: "fail" | "fresh";
|
|
764
|
-
};
|
|
765
|
-
readonly output_schema_ref?: string;
|
|
766
|
-
readonly metadata?: {
|
|
767
|
-
readonly [x: string]: Schema.Json;
|
|
768
|
-
};
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
772
|
-
readonly name: Schema.String;
|
|
773
|
-
readonly preset_name: Schema.String;
|
|
774
|
-
}, "Encoded">[];
|
|
775
|
-
readonly output_schema_ref?: string;
|
|
776
|
-
readonly metadata?: {
|
|
777
|
-
readonly [x: string]: Schema.Json;
|
|
778
|
-
};
|
|
779
|
-
}, never, never>;
|
|
780
|
-
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
781
|
-
readonly created_at: Schema.Int;
|
|
782
|
-
readonly updated_at: Schema.Int;
|
|
783
|
-
}>>;
|
|
784
|
-
}>;
|
|
785
|
-
export interface DefinitionList extends Schema.Schema.Type<typeof DefinitionList> {
|
|
786
|
-
}
|
|
787
|
-
export declare const DefinitionRevisionList: Schema.Struct<{
|
|
788
|
-
readonly records: Schema.$Array<Schema.Struct<{
|
|
789
|
-
readonly id: Schema.brand<Schema.String, "Relay.AgentId"> & {
|
|
790
|
-
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
|
|
791
|
-
};
|
|
792
|
-
readonly revision: Schema.Int;
|
|
793
|
-
readonly definition: Schema.Codec<Definition, {
|
|
794
|
-
readonly name: string;
|
|
795
|
-
readonly instructions?: string;
|
|
796
|
-
readonly model: {
|
|
797
|
-
readonly provider: string;
|
|
798
|
-
readonly model: string;
|
|
799
|
-
readonly registration_key?: string;
|
|
800
|
-
readonly request_options?: {
|
|
801
|
-
readonly [x: string]: Schema.Json;
|
|
802
|
-
};
|
|
803
|
-
readonly metadata?: {
|
|
804
|
-
readonly [x: string]: Schema.Json;
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly tool_names: readonly string[];
|
|
808
|
-
readonly permissions: readonly {
|
|
809
|
-
readonly name: string;
|
|
810
|
-
readonly value: Schema.Json;
|
|
811
|
-
readonly metadata?: {
|
|
812
|
-
readonly [x: string]: Schema.Json;
|
|
813
|
-
};
|
|
814
|
-
}[];
|
|
815
|
-
readonly skill_definition_ids?: readonly string[];
|
|
816
|
-
readonly permission_rules?: {
|
|
817
|
-
readonly rules: readonly {
|
|
818
|
-
readonly pattern: string;
|
|
819
|
-
readonly level: "allow" | "ask" | "deny";
|
|
820
|
-
readonly reason?: string;
|
|
821
|
-
}[];
|
|
822
|
-
readonly fallback?: "allow" | "ask" | "deny";
|
|
823
|
-
};
|
|
824
|
-
readonly turn_policy?: TurnPolicySnapshot;
|
|
825
|
-
readonly compaction_policy?: {
|
|
826
|
-
readonly context_window: number;
|
|
827
|
-
readonly reserve_tokens: number;
|
|
828
|
-
readonly keep_recent_tokens: number;
|
|
829
|
-
readonly summary_model?: {
|
|
830
|
-
readonly provider: string;
|
|
831
|
-
readonly model: string;
|
|
832
|
-
readonly registration_key?: string;
|
|
833
|
-
readonly request_options?: {
|
|
834
|
-
readonly [x: string]: Schema.Json;
|
|
835
|
-
};
|
|
836
|
-
readonly metadata?: {
|
|
837
|
-
readonly [x: string]: Schema.Json;
|
|
838
|
-
};
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
readonly max_tool_turns?: number;
|
|
842
|
-
readonly max_wait_turns?: number;
|
|
843
|
-
readonly token_budget?: number;
|
|
844
|
-
readonly child_run_presets?: {
|
|
845
|
-
readonly [x: string]: {
|
|
846
|
-
readonly instructions?: string;
|
|
847
|
-
readonly model?: {
|
|
848
|
-
readonly provider: string;
|
|
849
|
-
readonly model: string;
|
|
850
|
-
readonly registration_key?: string;
|
|
851
|
-
readonly request_options?: {
|
|
852
|
-
readonly [x: string]: Schema.Json;
|
|
853
|
-
};
|
|
854
|
-
readonly metadata?: {
|
|
855
|
-
readonly [x: string]: Schema.Json;
|
|
856
|
-
};
|
|
857
|
-
};
|
|
858
|
-
readonly compaction_policy?: {
|
|
859
|
-
readonly context_window: number;
|
|
860
|
-
readonly reserve_tokens: number;
|
|
861
|
-
readonly keep_recent_tokens: number;
|
|
862
|
-
readonly summary_model?: {
|
|
863
|
-
readonly provider: string;
|
|
864
|
-
readonly model: string;
|
|
865
|
-
readonly registration_key?: string;
|
|
866
|
-
readonly request_options?: {
|
|
867
|
-
readonly [x: string]: Schema.Json;
|
|
868
|
-
};
|
|
869
|
-
readonly metadata?: {
|
|
870
|
-
readonly [x: string]: Schema.Json;
|
|
871
|
-
};
|
|
872
|
-
};
|
|
873
|
-
};
|
|
874
|
-
readonly tool_names?: readonly string[];
|
|
875
|
-
readonly permissions?: readonly string[];
|
|
876
|
-
readonly workspace_policy?: {
|
|
877
|
-
readonly mode: "fork" | "share";
|
|
878
|
-
readonly fallback?: "fail" | "fresh";
|
|
879
|
-
};
|
|
880
|
-
readonly output_schema_ref?: string;
|
|
881
|
-
readonly metadata?: {
|
|
882
|
-
readonly [x: string]: Schema.Json;
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
|
|
887
|
-
readonly name: Schema.String;
|
|
888
|
-
readonly preset_name: Schema.String;
|
|
889
|
-
}, "Encoded">[];
|
|
890
|
-
readonly output_schema_ref?: string;
|
|
891
|
-
readonly metadata?: {
|
|
892
|
-
readonly [x: string]: Schema.Json;
|
|
893
|
-
};
|
|
894
|
-
}, never, never>;
|
|
895
|
-
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
896
|
-
readonly created_at: Schema.Int;
|
|
897
|
-
}>>;
|
|
898
|
-
}>;
|
|
899
|
-
export interface DefinitionRevisionList extends Schema.Schema.Type<typeof DefinitionRevisionList> {
|
|
900
|
-
}
|
|
901
|
-
export {};
|