@relayfx/sdk 0.2.14 → 0.2.15
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-qg0hy7s1.js → index-d8q4kfjy.js} +1 -1
- package/dist/{index-15f2ewt8.js → index-gxskhyra.js} +1 -1
- package/dist/{index-gb7d1wfm.js → index-xbbfagnb.js} +1 -1
- package/dist/{index-9q3yh32k.js → index-z9xk02sv.js} +44 -12
- package/dist/index.js +3 -3
- package/dist/mysql.js +3 -3
- package/dist/postgres.js +3 -3
- package/dist/sqlite.js +3 -3
- package/dist/types/relay/operation.d.ts +60 -10
- package/dist/types/runtime/address/address-resolution-service.d.ts +32 -10
- package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
- package/dist/types/runtime/child/spawn-child-run-tool.d.ts +7 -0
- package/dist/types/runtime/model/language-model-service.d.ts +1 -0
- package/dist/types/runtime/workflow/execution-workflow.d.ts +64 -20
- package/dist/types/schema/agent-schema.d.ts +220 -60
- package/dist/types/schema/child-orchestration-schema.d.ts +21 -0
- package/dist/types/schema/execution-schema.d.ts +74 -10
- package/package.json +1 -1
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./index-
|
|
2
|
+
import"./index-d8q4kfjy.js";
|
|
3
3
|
import {
|
|
4
4
|
AiError,
|
|
5
5
|
Chat,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
exports_tool_executor,
|
|
35
35
|
exports_tool_output,
|
|
36
36
|
exports_turn_policy
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-z9xk02sv.js";
|
|
38
38
|
|
|
39
39
|
// src/ai.ts
|
|
40
40
|
var relayAiPackage = "@relayfx/sdk/ai";
|
|
@@ -328,7 +328,8 @@ var PositiveSafeInteger = Schema5.Number.check(Schema5.makeFilter((value) => Num
|
|
|
328
328
|
var CompactionPolicy = Schema5.Struct({
|
|
329
329
|
context_window: PositiveSafeInteger,
|
|
330
330
|
reserve_tokens: PositiveSafeInteger,
|
|
331
|
-
keep_recent_tokens: PositiveSafeInteger
|
|
331
|
+
keep_recent_tokens: PositiveSafeInteger,
|
|
332
|
+
summary_model: Schema5.optionalKey(ModelSelection)
|
|
332
333
|
}).check(Schema5.makeFilter((policy) => policy.reserve_tokens + policy.keep_recent_tokens < policy.context_window ? undefined : "reserve_tokens + keep_recent_tokens must be less than context_window")).annotate({ identifier: "Relay.Agent.CompactionPolicy" });
|
|
333
334
|
var ChildRunWorkspacePolicy = Schema5.Struct({
|
|
334
335
|
mode: Schema5.Literals(["share", "fork"]),
|
|
@@ -14206,6 +14207,7 @@ var provideForAgent = (agent, effect) => Effect59.gen(function* () {
|
|
|
14206
14207
|
var exports_language_model_service = {};
|
|
14207
14208
|
__export(exports_language_model_service, {
|
|
14208
14209
|
testLayer: () => testLayer47,
|
|
14210
|
+
resolve: () => resolve4,
|
|
14209
14211
|
registrations: () => registrations3,
|
|
14210
14212
|
registrationFromLayer: () => registrationFromLayer3,
|
|
14211
14213
|
register: () => register6,
|
|
@@ -14224,6 +14226,13 @@ var toSelection = (selection) => ({
|
|
|
14224
14226
|
model: selection.model,
|
|
14225
14227
|
...selection.registration_key === undefined ? {} : { registrationKey: selection.registration_key }
|
|
14226
14228
|
});
|
|
14229
|
+
var registrationKey = (value) => value.registration_key ?? value.registrationKey;
|
|
14230
|
+
var matchesSelection3 = (selection, registration) => registration.provider === selection.provider && registration.model === selection.model && registrationKey(registration) === registrationKey(selection);
|
|
14231
|
+
var notRegistered = (selection) => new LanguageModelNotRegistered2({
|
|
14232
|
+
provider: selection.provider,
|
|
14233
|
+
model: selection.model,
|
|
14234
|
+
...selection.registration_key === undefined ? {} : { registration_key: selection.registration_key }
|
|
14235
|
+
});
|
|
14227
14236
|
|
|
14228
14237
|
class Service39 extends Context52.Service()("@relayfx/runtime/LanguageModelService") {
|
|
14229
14238
|
}
|
|
@@ -14248,6 +14257,11 @@ var registrations3 = Effect60.fn("LanguageModelService.registrations.call")(func
|
|
|
14248
14257
|
const service = yield* Service39;
|
|
14249
14258
|
return yield* service.registrations;
|
|
14250
14259
|
});
|
|
14260
|
+
var resolve4 = Effect60.fn("LanguageModelService.resolve.call")(function* (selection) {
|
|
14261
|
+
const service = yield* Service39;
|
|
14262
|
+
const registered = yield* service.registrations;
|
|
14263
|
+
return yield* Effect60.fromNullishOr(registered.find((registration) => matchesSelection3(selection, registration))).pipe(Effect60.mapError(() => notRegistered(selection)));
|
|
14264
|
+
});
|
|
14251
14265
|
var provide3 = (selection, effect) => Effect60.gen(function* () {
|
|
14252
14266
|
const service = yield* Service39;
|
|
14253
14267
|
return yield* service.provide(selection, effect);
|
|
@@ -14394,7 +14408,7 @@ var registeredTool = (presence) => tool(toolName, {
|
|
|
14394
14408
|
var exports_schema_registry_service = {};
|
|
14395
14409
|
__export(exports_schema_registry_service, {
|
|
14396
14410
|
testLayer: () => testLayer50,
|
|
14397
|
-
resolve: () =>
|
|
14411
|
+
resolve: () => resolve5,
|
|
14398
14412
|
registrations: () => registrations4,
|
|
14399
14413
|
register: () => register8,
|
|
14400
14414
|
memoryLayer: () => memoryLayer38,
|
|
@@ -14421,7 +14435,7 @@ var layer43 = (initialRegistrations = []) => Layer56.effect(Service42, Effect63.
|
|
|
14421
14435
|
yield* Ref17.update(registry, (items) => upsertRegistration2(items, registration));
|
|
14422
14436
|
});
|
|
14423
14437
|
const registrations4 = Ref17.get(registry);
|
|
14424
|
-
const
|
|
14438
|
+
const resolve5 = Effect63.fn("SchemaRegistry.resolve")(function* (ref) {
|
|
14425
14439
|
const items = yield* Ref17.get(registry);
|
|
14426
14440
|
const found = items.find((item) => item.ref === ref);
|
|
14427
14441
|
if (found === undefined) {
|
|
@@ -14429,7 +14443,7 @@ var layer43 = (initialRegistrations = []) => Layer56.effect(Service42, Effect63.
|
|
|
14429
14443
|
}
|
|
14430
14444
|
return found;
|
|
14431
14445
|
});
|
|
14432
|
-
return Service42.of({ register: register8, registrations: registrations4, resolve:
|
|
14446
|
+
return Service42.of({ register: register8, registrations: registrations4, resolve: resolve5 });
|
|
14433
14447
|
}));
|
|
14434
14448
|
var memoryLayer38 = layer43;
|
|
14435
14449
|
var testLayer50 = (implementation) => Layer56.succeed(Service42, Service42.of(implementation));
|
|
@@ -14441,7 +14455,7 @@ var registrations4 = Effect63.fn("SchemaRegistry.registrations.call")(function*
|
|
|
14441
14455
|
const service = yield* Service42;
|
|
14442
14456
|
return yield* service.registrations;
|
|
14443
14457
|
});
|
|
14444
|
-
var
|
|
14458
|
+
var resolve5 = Effect63.fn("SchemaRegistry.resolve.call")(function* (ref) {
|
|
14445
14459
|
const service = yield* Service42;
|
|
14446
14460
|
return yield* service.resolve(ref);
|
|
14447
14461
|
});
|
|
@@ -14450,7 +14464,7 @@ var resolve4 = Effect63.fn("SchemaRegistry.resolve.call")(function* (ref) {
|
|
|
14450
14464
|
var exports_blob_store_service = {};
|
|
14451
14465
|
__export(exports_blob_store_service, {
|
|
14452
14466
|
testLayer: () => testLayer51,
|
|
14453
|
-
resolve: () =>
|
|
14467
|
+
resolve: () => resolve6,
|
|
14454
14468
|
put: () => put3,
|
|
14455
14469
|
passthroughLayer: () => passthroughLayer,
|
|
14456
14470
|
memoryLayer: () => memoryLayer39,
|
|
@@ -14519,7 +14533,7 @@ var memoryLayer39 = Layer57.effect(Service43, Effect64.gen(function* () {
|
|
|
14519
14533
|
});
|
|
14520
14534
|
}));
|
|
14521
14535
|
var testLayer51 = (implementation) => Layer57.succeed(Service43, Service43.of(implementation));
|
|
14522
|
-
var
|
|
14536
|
+
var resolve6 = Effect64.fn("BlobStore.resolve.call")(function* (part) {
|
|
14523
14537
|
const service = yield* Service43;
|
|
14524
14538
|
return yield* service.resolve(part);
|
|
14525
14539
|
});
|
|
@@ -15138,7 +15152,16 @@ var ModelInput = Schema74.Struct({
|
|
|
15138
15152
|
model: Schema74.String,
|
|
15139
15153
|
registration_key: Schema74.optionalKey(Schema74.String)
|
|
15140
15154
|
}))),
|
|
15141
|
-
compaction_policy: Schema74.optionalKey(
|
|
15155
|
+
compaction_policy: Schema74.optionalKey(Schema74.Struct({
|
|
15156
|
+
context_window: Schema74.Number,
|
|
15157
|
+
reserve_tokens: Schema74.Number,
|
|
15158
|
+
keep_recent_tokens: Schema74.Number,
|
|
15159
|
+
summary_model: Schema74.optionalKey(Schema74.Struct({
|
|
15160
|
+
provider: Schema74.String,
|
|
15161
|
+
model: Schema74.String,
|
|
15162
|
+
registration_key: Schema74.optionalKey(Schema74.String)
|
|
15163
|
+
}))
|
|
15164
|
+
})),
|
|
15142
15165
|
tool_names: Schema74.optionalKey(Schema74.Array(Schema74.String)),
|
|
15143
15166
|
permissions: Schema74.optionalKey(Schema74.Array(Schema74.String)),
|
|
15144
15167
|
output_schema_ref: Schema74.optionalKey(Schema74.NullOr(Schema74.String)),
|
|
@@ -16452,7 +16475,7 @@ import { Prompt as Prompt14 } from "effect/unstable/ai";
|
|
|
16452
16475
|
var exports_artifact_store_service = {};
|
|
16453
16476
|
__export(exports_artifact_store_service, {
|
|
16454
16477
|
testLayer: () => testLayer57,
|
|
16455
|
-
resolve: () =>
|
|
16478
|
+
resolve: () => resolve7,
|
|
16456
16479
|
register: () => register10,
|
|
16457
16480
|
passthroughLayer: () => passthroughLayer2,
|
|
16458
16481
|
memoryLayer: () => memoryLayer45,
|
|
@@ -16496,7 +16519,7 @@ var memoryServiceLayer = Layer66.effect(Service52, Effect79.gen(function* () {
|
|
|
16496
16519
|
}));
|
|
16497
16520
|
var memoryLayer45 = memoryServiceLayer.pipe(Layer66.provideMerge(Layer66.effect(Memory2, makeMemory2)));
|
|
16498
16521
|
var testLayer57 = (implementation) => Layer66.succeed(Service52, Service52.of(implementation));
|
|
16499
|
-
var
|
|
16522
|
+
var resolve7 = Effect79.fn("ArtifactStore.resolve.call")(function* (part) {
|
|
16500
16523
|
const service = yield* Service52;
|
|
16501
16524
|
return yield* service.resolve(part);
|
|
16502
16525
|
});
|
|
@@ -16631,7 +16654,7 @@ var strategy2 = (config) => {
|
|
|
16631
16654
|
const existing = yield* config.repository.get({ executionId: config.executionId, checkpointId: id2 }).pipe(Effect81.mapError(mapRepositoryError10));
|
|
16632
16655
|
if (existing !== undefined)
|
|
16633
16656
|
return existing.summary;
|
|
16634
|
-
const summary = yield* base2.summarize(plan2, request);
|
|
16657
|
+
const summary = yield* config.options?.summaryModel === undefined ? base2.summarize(plan2, request) : config.options.summaryModel.pipe(Effect81.flatMap((model) => base2.summarize(plan2, request).pipe(Effect81.provide(model))));
|
|
16635
16658
|
const createdAt = yield* Clock12.currentTimeMillis;
|
|
16636
16659
|
const input = {
|
|
16637
16660
|
executionId: config.executionId,
|
|
@@ -17477,7 +17500,16 @@ var layer57 = Layer73.effect(Service54, Effect87.gen(function* () {
|
|
|
17477
17500
|
yield* appendEvent(eventLog, inputPreparedEvent(input, definitions2), input.eventSequence + 1);
|
|
17478
17501
|
const toolOutputMaxBytes = yield* effectiveToolOutputMaxBytes(input);
|
|
17479
17502
|
const compactionPolicy = input.agent.compaction_policy;
|
|
17480
|
-
const
|
|
17503
|
+
const configuredCompactionOptions = compactionOptions(input.agent);
|
|
17504
|
+
const activeCompactionOptions = configuredCompactionOptions === undefined ? undefined : {
|
|
17505
|
+
...configuredCompactionOptions,
|
|
17506
|
+
...compactionPolicy?.summary_model === undefined ? {} : {
|
|
17507
|
+
summaryModel: resolve4(compactionPolicy.summary_model).pipe(Effect87.provideService(Service39, languageModels), Effect87.map((registration) => registration.layer), Effect87.mapError((error5) => new exports_compaction.CompactionError({
|
|
17508
|
+
message: `LanguageModelNotRegistered: ${error5.provider}/${error5.model}`,
|
|
17509
|
+
cause: error5
|
|
17510
|
+
})))
|
|
17511
|
+
}
|
|
17512
|
+
};
|
|
17481
17513
|
const runTokenizer = yield* Effect87.serviceOption(Tokenizer4.Tokenizer);
|
|
17482
17514
|
const activeTokenizer = Option25.isSome(runTokenizer) ? runTokenizer : tokenizer;
|
|
17483
17515
|
const allocator = yield* make12(input.eventSequence + 1);
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
exports_language_model_registration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-d8q4kfjy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service,
|
|
7
7
|
exports_client,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
exports_operation,
|
|
10
10
|
exports_runtime,
|
|
11
11
|
makeDatabaseIdentity
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-xbbfagnb.js";
|
|
13
13
|
import {
|
|
14
14
|
Dialect,
|
|
15
15
|
__export,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
fromDbTimestamp,
|
|
63
63
|
fromNullableDbTimestamp,
|
|
64
64
|
timestampParam
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-z9xk02sv.js";
|
|
66
66
|
|
|
67
67
|
// src/adapter-outbox.ts
|
|
68
68
|
var exports_adapter_outbox = {};
|
package/dist/mysql.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
normalizeClientLayer,
|
|
4
4
|
normalizeMigrationCause,
|
|
5
5
|
runtimeDatabaseLayer
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
6
|
+
} from "./index-gxskhyra.js";
|
|
7
|
+
import"./index-xbbfagnb.js";
|
|
8
|
+
import"./index-z9xk02sv.js";
|
|
9
9
|
|
|
10
10
|
// src/mysql.ts
|
|
11
11
|
import { Effect } from "effect";
|
package/dist/postgres.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
normalizeClientLayer,
|
|
4
4
|
normalizeMigrationCause,
|
|
5
5
|
runtimeDatabaseLayer
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
6
|
+
} from "./index-gxskhyra.js";
|
|
7
|
+
import"./index-xbbfagnb.js";
|
|
8
|
+
import"./index-z9xk02sv.js";
|
|
9
9
|
|
|
10
10
|
// src/postgres.ts
|
|
11
11
|
import { PgClient } from "@effect/sql-pg/PgClient";
|
package/dist/sqlite.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
normalizeMigrationCause,
|
|
4
4
|
runtimeDatabaseLayer
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-gxskhyra.js";
|
|
6
6
|
import {
|
|
7
7
|
DatabaseAlreadyOwned,
|
|
8
8
|
DatabaseDialect,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
exports_operation,
|
|
15
15
|
exports_runtime,
|
|
16
16
|
makeDatabaseIdentity
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-xbbfagnb.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
exports_activity_version_registry,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
exports_wait_service,
|
|
60
60
|
exports_workflow_definition_repository,
|
|
61
61
|
exports_workflow_schema
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-z9xk02sv.js";
|
|
63
63
|
// src/sqlite-runtime.ts
|
|
64
64
|
var exports_sqlite_runtime = {};
|
|
65
65
|
__export(exports_sqlite_runtime, {
|
|
@@ -91,11 +91,22 @@ export declare const StartExecutionInput: Schema.Struct<{
|
|
|
91
91
|
readonly [x: string]: Schema.Json;
|
|
92
92
|
};
|
|
93
93
|
readonly instructions?: string;
|
|
94
|
-
readonly compaction_policy?:
|
|
95
|
-
readonly context_window:
|
|
96
|
-
readonly reserve_tokens:
|
|
97
|
-
readonly keep_recent_tokens:
|
|
98
|
-
|
|
94
|
+
readonly compaction_policy?: {
|
|
95
|
+
readonly context_window: number;
|
|
96
|
+
readonly reserve_tokens: number;
|
|
97
|
+
readonly keep_recent_tokens: number;
|
|
98
|
+
readonly summary_model?: {
|
|
99
|
+
readonly provider: string;
|
|
100
|
+
readonly model: string;
|
|
101
|
+
readonly metadata?: {
|
|
102
|
+
readonly [x: string]: Schema.Json;
|
|
103
|
+
};
|
|
104
|
+
readonly registration_key?: string;
|
|
105
|
+
readonly request_options?: {
|
|
106
|
+
readonly [x: string]: Schema.Json;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
99
110
|
readonly output_schema_ref?: string;
|
|
100
111
|
readonly skill_definition_ids?: readonly string[];
|
|
101
112
|
readonly permission_rules?: {
|
|
@@ -128,11 +139,22 @@ export declare const StartExecutionInput: Schema.Struct<{
|
|
|
128
139
|
};
|
|
129
140
|
};
|
|
130
141
|
readonly instructions?: string;
|
|
131
|
-
readonly compaction_policy?:
|
|
132
|
-
readonly context_window:
|
|
133
|
-
readonly reserve_tokens:
|
|
134
|
-
readonly keep_recent_tokens:
|
|
135
|
-
|
|
142
|
+
readonly compaction_policy?: {
|
|
143
|
+
readonly context_window: number;
|
|
144
|
+
readonly reserve_tokens: number;
|
|
145
|
+
readonly keep_recent_tokens: number;
|
|
146
|
+
readonly summary_model?: {
|
|
147
|
+
readonly provider: string;
|
|
148
|
+
readonly model: string;
|
|
149
|
+
readonly metadata?: {
|
|
150
|
+
readonly [x: string]: Schema.Json;
|
|
151
|
+
};
|
|
152
|
+
readonly registration_key?: string;
|
|
153
|
+
readonly request_options?: {
|
|
154
|
+
readonly [x: string]: Schema.Json;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
136
158
|
readonly tool_names?: readonly string[];
|
|
137
159
|
readonly workspace_policy?: {
|
|
138
160
|
readonly mode: "share" | "fork";
|
|
@@ -1088,6 +1110,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
1088
1110
|
readonly context_window: Schema.Number;
|
|
1089
1111
|
readonly reserve_tokens: Schema.Number;
|
|
1090
1112
|
readonly keep_recent_tokens: Schema.Number;
|
|
1113
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
1114
|
+
readonly provider: Schema.String;
|
|
1115
|
+
readonly model: Schema.String;
|
|
1116
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
1117
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1118
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1119
|
+
}>>;
|
|
1091
1120
|
}>>;
|
|
1092
1121
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1093
1122
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -1177,6 +1206,13 @@ export declare const CreateChildFanOutInput: Schema.Struct<{
|
|
|
1177
1206
|
readonly context_window: Schema.Number;
|
|
1178
1207
|
readonly reserve_tokens: Schema.Number;
|
|
1179
1208
|
readonly keep_recent_tokens: Schema.Number;
|
|
1209
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
1210
|
+
readonly provider: Schema.String;
|
|
1211
|
+
readonly model: Schema.String;
|
|
1212
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
1213
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1214
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1215
|
+
}>>;
|
|
1180
1216
|
}>>;
|
|
1181
1217
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1182
1218
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -1346,6 +1382,13 @@ export declare const CancelChildFanOutResult: Schema.Struct<{
|
|
|
1346
1382
|
readonly context_window: Schema.Number;
|
|
1347
1383
|
readonly reserve_tokens: Schema.Number;
|
|
1348
1384
|
readonly keep_recent_tokens: Schema.Number;
|
|
1385
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
1386
|
+
readonly provider: Schema.String;
|
|
1387
|
+
readonly model: Schema.String;
|
|
1388
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
1389
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1390
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1391
|
+
}>>;
|
|
1349
1392
|
}>>;
|
|
1350
1393
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1351
1394
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -1514,6 +1557,13 @@ export declare const InspectChildFanOutResult: Schema.Struct<{
|
|
|
1514
1557
|
readonly context_window: Schema.Number;
|
|
1515
1558
|
readonly reserve_tokens: Schema.Number;
|
|
1516
1559
|
readonly keep_recent_tokens: Schema.Number;
|
|
1560
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
1561
|
+
readonly provider: Schema.String;
|
|
1562
|
+
readonly model: Schema.String;
|
|
1563
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
1564
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1565
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1566
|
+
}>>;
|
|
1517
1567
|
}>>;
|
|
1518
1568
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1519
1569
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -79,11 +79,22 @@ export declare const LocalAgentTarget: Schema.Struct<{
|
|
|
79
79
|
readonly [x: string]: Schema.Json;
|
|
80
80
|
};
|
|
81
81
|
readonly instructions?: string;
|
|
82
|
-
readonly compaction_policy?:
|
|
83
|
-
readonly context_window:
|
|
84
|
-
readonly reserve_tokens:
|
|
85
|
-
readonly keep_recent_tokens:
|
|
86
|
-
|
|
82
|
+
readonly compaction_policy?: {
|
|
83
|
+
readonly context_window: number;
|
|
84
|
+
readonly reserve_tokens: number;
|
|
85
|
+
readonly keep_recent_tokens: number;
|
|
86
|
+
readonly summary_model?: {
|
|
87
|
+
readonly provider: string;
|
|
88
|
+
readonly model: string;
|
|
89
|
+
readonly metadata?: {
|
|
90
|
+
readonly [x: string]: Schema.Json;
|
|
91
|
+
};
|
|
92
|
+
readonly registration_key?: string;
|
|
93
|
+
readonly request_options?: {
|
|
94
|
+
readonly [x: string]: Schema.Json;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
87
98
|
readonly output_schema_ref?: string;
|
|
88
99
|
readonly skill_definition_ids?: readonly string[];
|
|
89
100
|
readonly permission_rules?: {
|
|
@@ -116,11 +127,22 @@ export declare const LocalAgentTarget: Schema.Struct<{
|
|
|
116
127
|
};
|
|
117
128
|
};
|
|
118
129
|
readonly instructions?: string;
|
|
119
|
-
readonly compaction_policy?:
|
|
120
|
-
readonly context_window:
|
|
121
|
-
readonly reserve_tokens:
|
|
122
|
-
readonly keep_recent_tokens:
|
|
123
|
-
|
|
130
|
+
readonly compaction_policy?: {
|
|
131
|
+
readonly context_window: number;
|
|
132
|
+
readonly reserve_tokens: number;
|
|
133
|
+
readonly keep_recent_tokens: number;
|
|
134
|
+
readonly summary_model?: {
|
|
135
|
+
readonly provider: string;
|
|
136
|
+
readonly model: string;
|
|
137
|
+
readonly metadata?: {
|
|
138
|
+
readonly [x: string]: Schema.Json;
|
|
139
|
+
};
|
|
140
|
+
readonly registration_key?: string;
|
|
141
|
+
readonly request_options?: {
|
|
142
|
+
readonly [x: string]: Schema.Json;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
124
146
|
readonly tool_names?: readonly string[];
|
|
125
147
|
readonly workspace_policy?: {
|
|
126
148
|
readonly mode: "share" | "fork";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { Compaction } from "@batonfx/core";
|
|
1
|
+
import { Compaction, ModelRegistry } from "@batonfx/core";
|
|
2
2
|
import { Ids } from "../../schema/index";
|
|
3
3
|
import { CompactionRepository } from "../../store-sql/portable";
|
|
4
|
-
import { Layer } from "effect";
|
|
4
|
+
import { Effect, Layer } from "effect";
|
|
5
5
|
export interface Options {
|
|
6
6
|
readonly contextWindow?: number;
|
|
7
7
|
readonly reserveTokens?: number;
|
|
8
8
|
readonly keepRecentTokens?: number;
|
|
9
|
+
readonly summaryModel?: Effect.Effect<Layer.Layer<ModelRegistry.ModelEnvironment>, Compaction.CompactionError>;
|
|
9
10
|
}
|
|
10
11
|
export interface Config {
|
|
11
12
|
readonly executionId: Ids.ExecutionId;
|
|
@@ -20,6 +20,13 @@ export declare const Input: Schema.Struct<{
|
|
|
20
20
|
readonly context_window: Schema.Number;
|
|
21
21
|
readonly reserve_tokens: Schema.Number;
|
|
22
22
|
readonly keep_recent_tokens: Schema.Number;
|
|
23
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
24
|
+
readonly provider: Schema.String;
|
|
25
|
+
readonly model: Schema.String;
|
|
26
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
28
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
29
|
+
}>>;
|
|
23
30
|
}>>;
|
|
24
31
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
25
32
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -29,6 +29,7 @@ export declare const memoryLayer: (initialRegistrations?: ReadonlyArray<Registra
|
|
|
29
29
|
export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
|
|
30
30
|
export declare const register: (input: ModelRegistry.RegisterInput) => Effect.Effect<void, never, Service>;
|
|
31
31
|
export declare const registrations: () => Effect.Effect<readonly ModelRegistry.Registration[], never, Service>;
|
|
32
|
+
export declare const resolve: (selection: Agent.ModelSelection) => Effect.Effect<ModelRegistry.Registration, ModelRegistry.LanguageModelNotRegistered, Service>;
|
|
32
33
|
export declare const provide: <A, E, R>(selection: Agent.ModelSelection, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, ModelRegistry.LanguageModelNotRegistered | E, Service | Exclude<R, ModelRegistry.ModelEnvironment>>;
|
|
33
34
|
export declare const provideForAgent: <A, E, R>(agent: Agent.Definition, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, ModelRegistry.LanguageModelNotRegistered | E, Service | Exclude<R, ModelRegistry.ModelEnvironment>>;
|
|
34
35
|
export {};
|
|
@@ -103,11 +103,22 @@ export declare const StartInput: Schema.Struct<{
|
|
|
103
103
|
readonly [x: string]: Schema.Json;
|
|
104
104
|
};
|
|
105
105
|
readonly instructions?: string;
|
|
106
|
-
readonly compaction_policy?:
|
|
107
|
-
readonly context_window:
|
|
108
|
-
readonly reserve_tokens:
|
|
109
|
-
readonly keep_recent_tokens:
|
|
110
|
-
|
|
106
|
+
readonly compaction_policy?: {
|
|
107
|
+
readonly context_window: number;
|
|
108
|
+
readonly reserve_tokens: number;
|
|
109
|
+
readonly keep_recent_tokens: number;
|
|
110
|
+
readonly summary_model?: {
|
|
111
|
+
readonly provider: string;
|
|
112
|
+
readonly model: string;
|
|
113
|
+
readonly metadata?: {
|
|
114
|
+
readonly [x: string]: Schema.Json;
|
|
115
|
+
};
|
|
116
|
+
readonly registration_key?: string;
|
|
117
|
+
readonly request_options?: {
|
|
118
|
+
readonly [x: string]: Schema.Json;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
111
122
|
readonly output_schema_ref?: string;
|
|
112
123
|
readonly skill_definition_ids?: readonly string[];
|
|
113
124
|
readonly permission_rules?: {
|
|
@@ -140,11 +151,22 @@ export declare const StartInput: Schema.Struct<{
|
|
|
140
151
|
};
|
|
141
152
|
};
|
|
142
153
|
readonly instructions?: string;
|
|
143
|
-
readonly compaction_policy?:
|
|
144
|
-
readonly context_window:
|
|
145
|
-
readonly reserve_tokens:
|
|
146
|
-
readonly keep_recent_tokens:
|
|
147
|
-
|
|
154
|
+
readonly compaction_policy?: {
|
|
155
|
+
readonly context_window: number;
|
|
156
|
+
readonly reserve_tokens: number;
|
|
157
|
+
readonly keep_recent_tokens: number;
|
|
158
|
+
readonly summary_model?: {
|
|
159
|
+
readonly provider: string;
|
|
160
|
+
readonly model: string;
|
|
161
|
+
readonly metadata?: {
|
|
162
|
+
readonly [x: string]: Schema.Json;
|
|
163
|
+
};
|
|
164
|
+
readonly registration_key?: string;
|
|
165
|
+
readonly request_options?: {
|
|
166
|
+
readonly [x: string]: Schema.Json;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
148
170
|
readonly tool_names?: readonly string[];
|
|
149
171
|
readonly workspace_policy?: {
|
|
150
172
|
readonly mode: "share" | "fork";
|
|
@@ -371,11 +393,22 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
|
|
|
371
393
|
readonly [x: string]: Schema.Json;
|
|
372
394
|
};
|
|
373
395
|
readonly instructions?: string;
|
|
374
|
-
readonly compaction_policy?:
|
|
375
|
-
readonly context_window:
|
|
376
|
-
readonly reserve_tokens:
|
|
377
|
-
readonly keep_recent_tokens:
|
|
378
|
-
|
|
396
|
+
readonly compaction_policy?: {
|
|
397
|
+
readonly context_window: number;
|
|
398
|
+
readonly reserve_tokens: number;
|
|
399
|
+
readonly keep_recent_tokens: number;
|
|
400
|
+
readonly summary_model?: {
|
|
401
|
+
readonly provider: string;
|
|
402
|
+
readonly model: string;
|
|
403
|
+
readonly metadata?: {
|
|
404
|
+
readonly [x: string]: Schema.Json;
|
|
405
|
+
};
|
|
406
|
+
readonly registration_key?: string;
|
|
407
|
+
readonly request_options?: {
|
|
408
|
+
readonly [x: string]: Schema.Json;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
};
|
|
379
412
|
readonly output_schema_ref?: string;
|
|
380
413
|
readonly skill_definition_ids?: readonly string[];
|
|
381
414
|
readonly permission_rules?: {
|
|
@@ -408,11 +441,22 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
|
|
|
408
441
|
};
|
|
409
442
|
};
|
|
410
443
|
readonly instructions?: string;
|
|
411
|
-
readonly compaction_policy?:
|
|
412
|
-
readonly context_window:
|
|
413
|
-
readonly reserve_tokens:
|
|
414
|
-
readonly keep_recent_tokens:
|
|
415
|
-
|
|
444
|
+
readonly compaction_policy?: {
|
|
445
|
+
readonly context_window: number;
|
|
446
|
+
readonly reserve_tokens: number;
|
|
447
|
+
readonly keep_recent_tokens: number;
|
|
448
|
+
readonly summary_model?: {
|
|
449
|
+
readonly provider: string;
|
|
450
|
+
readonly model: string;
|
|
451
|
+
readonly metadata?: {
|
|
452
|
+
readonly [x: string]: Schema.Json;
|
|
453
|
+
};
|
|
454
|
+
readonly registration_key?: string;
|
|
455
|
+
readonly request_options?: {
|
|
456
|
+
readonly [x: string]: Schema.Json;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
};
|
|
416
460
|
readonly tool_names?: readonly string[];
|
|
417
461
|
readonly workspace_policy?: {
|
|
418
462
|
readonly mode: "share" | "fork";
|
|
@@ -17,6 +17,13 @@ export declare const CompactionPolicy: Schema.Struct<{
|
|
|
17
17
|
readonly context_window: Schema.Number;
|
|
18
18
|
readonly reserve_tokens: Schema.Number;
|
|
19
19
|
readonly keep_recent_tokens: Schema.Number;
|
|
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
|
+
}>>;
|
|
20
27
|
}>;
|
|
21
28
|
export interface CompactionPolicy extends Schema.Schema.Type<typeof CompactionPolicy> {
|
|
22
29
|
}
|
|
@@ -39,6 +46,13 @@ export declare const ChildRunPreset: Schema.Struct<{
|
|
|
39
46
|
readonly context_window: Schema.Number;
|
|
40
47
|
readonly reserve_tokens: Schema.Number;
|
|
41
48
|
readonly keep_recent_tokens: Schema.Number;
|
|
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
|
+
}>>;
|
|
42
56
|
}>>;
|
|
43
57
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
44
58
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -130,6 +144,13 @@ declare const DefinitionSchema: Schema.Struct<{
|
|
|
130
144
|
readonly context_window: Schema.Number;
|
|
131
145
|
readonly reserve_tokens: Schema.Number;
|
|
132
146
|
readonly keep_recent_tokens: Schema.Number;
|
|
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
|
+
}>>;
|
|
133
154
|
}>>;
|
|
134
155
|
readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
|
|
135
156
|
readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
|
|
@@ -147,6 +168,13 @@ declare const DefinitionSchema: Schema.Struct<{
|
|
|
147
168
|
readonly context_window: Schema.Number;
|
|
148
169
|
readonly reserve_tokens: Schema.Number;
|
|
149
170
|
readonly keep_recent_tokens: Schema.Number;
|
|
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
|
+
}>>;
|
|
150
178
|
}>>;
|
|
151
179
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
152
180
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -222,11 +250,22 @@ export declare const DefinitionRecord: Schema.Struct<{
|
|
|
222
250
|
readonly [x: string]: Schema.Json;
|
|
223
251
|
};
|
|
224
252
|
readonly instructions?: string;
|
|
225
|
-
readonly compaction_policy?:
|
|
226
|
-
readonly context_window:
|
|
227
|
-
readonly reserve_tokens:
|
|
228
|
-
readonly keep_recent_tokens:
|
|
229
|
-
|
|
253
|
+
readonly compaction_policy?: {
|
|
254
|
+
readonly context_window: number;
|
|
255
|
+
readonly reserve_tokens: number;
|
|
256
|
+
readonly keep_recent_tokens: number;
|
|
257
|
+
readonly summary_model?: {
|
|
258
|
+
readonly provider: string;
|
|
259
|
+
readonly model: string;
|
|
260
|
+
readonly metadata?: {
|
|
261
|
+
readonly [x: string]: Schema.Json;
|
|
262
|
+
};
|
|
263
|
+
readonly registration_key?: string;
|
|
264
|
+
readonly request_options?: {
|
|
265
|
+
readonly [x: string]: Schema.Json;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
230
269
|
readonly output_schema_ref?: string;
|
|
231
270
|
readonly skill_definition_ids?: readonly string[];
|
|
232
271
|
readonly permission_rules?: {
|
|
@@ -259,11 +298,22 @@ export declare const DefinitionRecord: Schema.Struct<{
|
|
|
259
298
|
};
|
|
260
299
|
};
|
|
261
300
|
readonly instructions?: string;
|
|
262
|
-
readonly compaction_policy?:
|
|
263
|
-
readonly context_window:
|
|
264
|
-
readonly reserve_tokens:
|
|
265
|
-
readonly keep_recent_tokens:
|
|
266
|
-
|
|
301
|
+
readonly compaction_policy?: {
|
|
302
|
+
readonly context_window: number;
|
|
303
|
+
readonly reserve_tokens: number;
|
|
304
|
+
readonly keep_recent_tokens: number;
|
|
305
|
+
readonly summary_model?: {
|
|
306
|
+
readonly provider: string;
|
|
307
|
+
readonly model: string;
|
|
308
|
+
readonly metadata?: {
|
|
309
|
+
readonly [x: string]: Schema.Json;
|
|
310
|
+
};
|
|
311
|
+
readonly registration_key?: string;
|
|
312
|
+
readonly request_options?: {
|
|
313
|
+
readonly [x: string]: Schema.Json;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
267
317
|
readonly tool_names?: readonly string[];
|
|
268
318
|
readonly workspace_policy?: {
|
|
269
319
|
readonly mode: "share" | "fork";
|
|
@@ -313,11 +363,22 @@ export declare const DefinitionRevisionRecord: Schema.Struct<{
|
|
|
313
363
|
readonly [x: string]: Schema.Json;
|
|
314
364
|
};
|
|
315
365
|
readonly instructions?: string;
|
|
316
|
-
readonly compaction_policy?:
|
|
317
|
-
readonly context_window:
|
|
318
|
-
readonly reserve_tokens:
|
|
319
|
-
readonly keep_recent_tokens:
|
|
320
|
-
|
|
366
|
+
readonly compaction_policy?: {
|
|
367
|
+
readonly context_window: number;
|
|
368
|
+
readonly reserve_tokens: number;
|
|
369
|
+
readonly keep_recent_tokens: number;
|
|
370
|
+
readonly summary_model?: {
|
|
371
|
+
readonly provider: string;
|
|
372
|
+
readonly model: string;
|
|
373
|
+
readonly metadata?: {
|
|
374
|
+
readonly [x: string]: Schema.Json;
|
|
375
|
+
};
|
|
376
|
+
readonly registration_key?: string;
|
|
377
|
+
readonly request_options?: {
|
|
378
|
+
readonly [x: string]: Schema.Json;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
321
382
|
readonly output_schema_ref?: string;
|
|
322
383
|
readonly skill_definition_ids?: readonly string[];
|
|
323
384
|
readonly permission_rules?: {
|
|
@@ -350,11 +411,22 @@ export declare const DefinitionRevisionRecord: Schema.Struct<{
|
|
|
350
411
|
};
|
|
351
412
|
};
|
|
352
413
|
readonly instructions?: string;
|
|
353
|
-
readonly compaction_policy?:
|
|
354
|
-
readonly context_window:
|
|
355
|
-
readonly reserve_tokens:
|
|
356
|
-
readonly keep_recent_tokens:
|
|
357
|
-
|
|
414
|
+
readonly compaction_policy?: {
|
|
415
|
+
readonly context_window: number;
|
|
416
|
+
readonly reserve_tokens: number;
|
|
417
|
+
readonly keep_recent_tokens: number;
|
|
418
|
+
readonly summary_model?: {
|
|
419
|
+
readonly provider: string;
|
|
420
|
+
readonly model: string;
|
|
421
|
+
readonly metadata?: {
|
|
422
|
+
readonly [x: string]: Schema.Json;
|
|
423
|
+
};
|
|
424
|
+
readonly registration_key?: string;
|
|
425
|
+
readonly request_options?: {
|
|
426
|
+
readonly [x: string]: Schema.Json;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
358
430
|
readonly tool_names?: readonly string[];
|
|
359
431
|
readonly workspace_policy?: {
|
|
360
432
|
readonly mode: "share" | "fork";
|
|
@@ -402,11 +474,22 @@ export declare const RegisterDefinitionPayload: Schema.Struct<{
|
|
|
402
474
|
readonly [x: string]: Schema.Json;
|
|
403
475
|
};
|
|
404
476
|
readonly instructions?: string;
|
|
405
|
-
readonly compaction_policy?:
|
|
406
|
-
readonly context_window:
|
|
407
|
-
readonly reserve_tokens:
|
|
408
|
-
readonly keep_recent_tokens:
|
|
409
|
-
|
|
477
|
+
readonly compaction_policy?: {
|
|
478
|
+
readonly context_window: number;
|
|
479
|
+
readonly reserve_tokens: number;
|
|
480
|
+
readonly keep_recent_tokens: number;
|
|
481
|
+
readonly summary_model?: {
|
|
482
|
+
readonly provider: string;
|
|
483
|
+
readonly model: string;
|
|
484
|
+
readonly metadata?: {
|
|
485
|
+
readonly [x: string]: Schema.Json;
|
|
486
|
+
};
|
|
487
|
+
readonly registration_key?: string;
|
|
488
|
+
readonly request_options?: {
|
|
489
|
+
readonly [x: string]: Schema.Json;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
};
|
|
410
493
|
readonly output_schema_ref?: string;
|
|
411
494
|
readonly skill_definition_ids?: readonly string[];
|
|
412
495
|
readonly permission_rules?: {
|
|
@@ -439,11 +522,22 @@ export declare const RegisterDefinitionPayload: Schema.Struct<{
|
|
|
439
522
|
};
|
|
440
523
|
};
|
|
441
524
|
readonly instructions?: string;
|
|
442
|
-
readonly compaction_policy?:
|
|
443
|
-
readonly context_window:
|
|
444
|
-
readonly reserve_tokens:
|
|
445
|
-
readonly keep_recent_tokens:
|
|
446
|
-
|
|
525
|
+
readonly compaction_policy?: {
|
|
526
|
+
readonly context_window: number;
|
|
527
|
+
readonly reserve_tokens: number;
|
|
528
|
+
readonly keep_recent_tokens: number;
|
|
529
|
+
readonly summary_model?: {
|
|
530
|
+
readonly provider: string;
|
|
531
|
+
readonly model: string;
|
|
532
|
+
readonly metadata?: {
|
|
533
|
+
readonly [x: string]: Schema.Json;
|
|
534
|
+
};
|
|
535
|
+
readonly registration_key?: string;
|
|
536
|
+
readonly request_options?: {
|
|
537
|
+
readonly [x: string]: Schema.Json;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
};
|
|
447
541
|
readonly tool_names?: readonly string[];
|
|
448
542
|
readonly workspace_policy?: {
|
|
449
543
|
readonly mode: "share" | "fork";
|
|
@@ -491,11 +585,22 @@ export declare const DefinitionRegistered: Schema.Struct<{
|
|
|
491
585
|
readonly [x: string]: Schema.Json;
|
|
492
586
|
};
|
|
493
587
|
readonly instructions?: string;
|
|
494
|
-
readonly compaction_policy?:
|
|
495
|
-
readonly context_window:
|
|
496
|
-
readonly reserve_tokens:
|
|
497
|
-
readonly keep_recent_tokens:
|
|
498
|
-
|
|
588
|
+
readonly compaction_policy?: {
|
|
589
|
+
readonly context_window: number;
|
|
590
|
+
readonly reserve_tokens: number;
|
|
591
|
+
readonly keep_recent_tokens: number;
|
|
592
|
+
readonly summary_model?: {
|
|
593
|
+
readonly provider: string;
|
|
594
|
+
readonly model: string;
|
|
595
|
+
readonly metadata?: {
|
|
596
|
+
readonly [x: string]: Schema.Json;
|
|
597
|
+
};
|
|
598
|
+
readonly registration_key?: string;
|
|
599
|
+
readonly request_options?: {
|
|
600
|
+
readonly [x: string]: Schema.Json;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
};
|
|
499
604
|
readonly output_schema_ref?: string;
|
|
500
605
|
readonly skill_definition_ids?: readonly string[];
|
|
501
606
|
readonly permission_rules?: {
|
|
@@ -528,11 +633,22 @@ export declare const DefinitionRegistered: Schema.Struct<{
|
|
|
528
633
|
};
|
|
529
634
|
};
|
|
530
635
|
readonly instructions?: string;
|
|
531
|
-
readonly compaction_policy?:
|
|
532
|
-
readonly context_window:
|
|
533
|
-
readonly reserve_tokens:
|
|
534
|
-
readonly keep_recent_tokens:
|
|
535
|
-
|
|
636
|
+
readonly compaction_policy?: {
|
|
637
|
+
readonly context_window: number;
|
|
638
|
+
readonly reserve_tokens: number;
|
|
639
|
+
readonly keep_recent_tokens: number;
|
|
640
|
+
readonly summary_model?: {
|
|
641
|
+
readonly provider: string;
|
|
642
|
+
readonly model: string;
|
|
643
|
+
readonly metadata?: {
|
|
644
|
+
readonly [x: string]: Schema.Json;
|
|
645
|
+
};
|
|
646
|
+
readonly registration_key?: string;
|
|
647
|
+
readonly request_options?: {
|
|
648
|
+
readonly [x: string]: Schema.Json;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
};
|
|
536
652
|
readonly tool_names?: readonly string[];
|
|
537
653
|
readonly workspace_policy?: {
|
|
538
654
|
readonly mode: "share" | "fork";
|
|
@@ -584,11 +700,22 @@ export declare const DefinitionList: Schema.Struct<{
|
|
|
584
700
|
readonly [x: string]: Schema.Json;
|
|
585
701
|
};
|
|
586
702
|
readonly instructions?: string;
|
|
587
|
-
readonly compaction_policy?:
|
|
588
|
-
readonly context_window:
|
|
589
|
-
readonly reserve_tokens:
|
|
590
|
-
readonly keep_recent_tokens:
|
|
591
|
-
|
|
703
|
+
readonly compaction_policy?: {
|
|
704
|
+
readonly context_window: number;
|
|
705
|
+
readonly reserve_tokens: number;
|
|
706
|
+
readonly keep_recent_tokens: number;
|
|
707
|
+
readonly summary_model?: {
|
|
708
|
+
readonly provider: string;
|
|
709
|
+
readonly model: string;
|
|
710
|
+
readonly metadata?: {
|
|
711
|
+
readonly [x: string]: Schema.Json;
|
|
712
|
+
};
|
|
713
|
+
readonly registration_key?: string;
|
|
714
|
+
readonly request_options?: {
|
|
715
|
+
readonly [x: string]: Schema.Json;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
};
|
|
592
719
|
readonly output_schema_ref?: string;
|
|
593
720
|
readonly skill_definition_ids?: readonly string[];
|
|
594
721
|
readonly permission_rules?: {
|
|
@@ -621,11 +748,22 @@ export declare const DefinitionList: Schema.Struct<{
|
|
|
621
748
|
};
|
|
622
749
|
};
|
|
623
750
|
readonly instructions?: string;
|
|
624
|
-
readonly compaction_policy?:
|
|
625
|
-
readonly context_window:
|
|
626
|
-
readonly reserve_tokens:
|
|
627
|
-
readonly keep_recent_tokens:
|
|
628
|
-
|
|
751
|
+
readonly compaction_policy?: {
|
|
752
|
+
readonly context_window: number;
|
|
753
|
+
readonly reserve_tokens: number;
|
|
754
|
+
readonly keep_recent_tokens: number;
|
|
755
|
+
readonly summary_model?: {
|
|
756
|
+
readonly provider: string;
|
|
757
|
+
readonly model: string;
|
|
758
|
+
readonly metadata?: {
|
|
759
|
+
readonly [x: string]: Schema.Json;
|
|
760
|
+
};
|
|
761
|
+
readonly registration_key?: string;
|
|
762
|
+
readonly request_options?: {
|
|
763
|
+
readonly [x: string]: Schema.Json;
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
};
|
|
629
767
|
readonly tool_names?: readonly string[];
|
|
630
768
|
readonly workspace_policy?: {
|
|
631
769
|
readonly mode: "share" | "fork";
|
|
@@ -677,11 +815,22 @@ export declare const DefinitionRevisionList: Schema.Struct<{
|
|
|
677
815
|
readonly [x: string]: Schema.Json;
|
|
678
816
|
};
|
|
679
817
|
readonly instructions?: string;
|
|
680
|
-
readonly compaction_policy?:
|
|
681
|
-
readonly context_window:
|
|
682
|
-
readonly reserve_tokens:
|
|
683
|
-
readonly keep_recent_tokens:
|
|
684
|
-
|
|
818
|
+
readonly compaction_policy?: {
|
|
819
|
+
readonly context_window: number;
|
|
820
|
+
readonly reserve_tokens: number;
|
|
821
|
+
readonly keep_recent_tokens: number;
|
|
822
|
+
readonly summary_model?: {
|
|
823
|
+
readonly provider: string;
|
|
824
|
+
readonly model: string;
|
|
825
|
+
readonly metadata?: {
|
|
826
|
+
readonly [x: string]: Schema.Json;
|
|
827
|
+
};
|
|
828
|
+
readonly registration_key?: string;
|
|
829
|
+
readonly request_options?: {
|
|
830
|
+
readonly [x: string]: Schema.Json;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
};
|
|
685
834
|
readonly output_schema_ref?: string;
|
|
686
835
|
readonly skill_definition_ids?: readonly string[];
|
|
687
836
|
readonly permission_rules?: {
|
|
@@ -714,11 +863,22 @@ export declare const DefinitionRevisionList: Schema.Struct<{
|
|
|
714
863
|
};
|
|
715
864
|
};
|
|
716
865
|
readonly instructions?: string;
|
|
717
|
-
readonly compaction_policy?:
|
|
718
|
-
readonly context_window:
|
|
719
|
-
readonly reserve_tokens:
|
|
720
|
-
readonly keep_recent_tokens:
|
|
721
|
-
|
|
866
|
+
readonly compaction_policy?: {
|
|
867
|
+
readonly context_window: number;
|
|
868
|
+
readonly reserve_tokens: number;
|
|
869
|
+
readonly keep_recent_tokens: number;
|
|
870
|
+
readonly summary_model?: {
|
|
871
|
+
readonly provider: string;
|
|
872
|
+
readonly model: string;
|
|
873
|
+
readonly metadata?: {
|
|
874
|
+
readonly [x: string]: Schema.Json;
|
|
875
|
+
};
|
|
876
|
+
readonly registration_key?: string;
|
|
877
|
+
readonly request_options?: {
|
|
878
|
+
readonly [x: string]: Schema.Json;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
};
|
|
722
882
|
readonly tool_names?: readonly string[];
|
|
723
883
|
readonly workspace_policy?: {
|
|
724
884
|
readonly mode: "share" | "fork";
|
|
@@ -23,6 +23,13 @@ export declare const FanOutChild: Schema.Struct<{
|
|
|
23
23
|
readonly context_window: Schema.Number;
|
|
24
24
|
readonly reserve_tokens: Schema.Number;
|
|
25
25
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
|
@@ -113,6 +120,13 @@ export declare const FanOutDefinition: Schema.Struct<{
|
|
|
113
120
|
readonly context_window: Schema.Number;
|
|
114
121
|
readonly reserve_tokens: Schema.Number;
|
|
115
122
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
|
@@ -336,6 +350,13 @@ export declare const FanOutState: Schema.Struct<{
|
|
|
336
350
|
readonly context_window: Schema.Number;
|
|
337
351
|
readonly reserve_tokens: Schema.Number;
|
|
338
352
|
readonly keep_recent_tokens: Schema.Number;
|
|
353
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
354
|
+
readonly provider: Schema.String;
|
|
355
|
+
readonly model: Schema.String;
|
|
356
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
357
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
358
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
359
|
+
}>>;
|
|
339
360
|
}>>;
|
|
340
361
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
341
362
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -43,11 +43,22 @@ export declare const Execution: Schema.Struct<{
|
|
|
43
43
|
readonly [x: string]: Schema.Json;
|
|
44
44
|
};
|
|
45
45
|
readonly instructions?: string;
|
|
46
|
-
readonly compaction_policy?:
|
|
47
|
-
readonly context_window:
|
|
48
|
-
readonly reserve_tokens:
|
|
49
|
-
readonly keep_recent_tokens:
|
|
50
|
-
|
|
46
|
+
readonly compaction_policy?: {
|
|
47
|
+
readonly context_window: number;
|
|
48
|
+
readonly reserve_tokens: number;
|
|
49
|
+
readonly keep_recent_tokens: number;
|
|
50
|
+
readonly summary_model?: {
|
|
51
|
+
readonly provider: string;
|
|
52
|
+
readonly model: string;
|
|
53
|
+
readonly metadata?: {
|
|
54
|
+
readonly [x: string]: Schema.Json;
|
|
55
|
+
};
|
|
56
|
+
readonly registration_key?: string;
|
|
57
|
+
readonly request_options?: {
|
|
58
|
+
readonly [x: string]: Schema.Json;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
51
62
|
readonly output_schema_ref?: string;
|
|
52
63
|
readonly skill_definition_ids?: readonly string[];
|
|
53
64
|
readonly permission_rules?: {
|
|
@@ -80,11 +91,22 @@ export declare const Execution: Schema.Struct<{
|
|
|
80
91
|
};
|
|
81
92
|
};
|
|
82
93
|
readonly instructions?: string;
|
|
83
|
-
readonly compaction_policy?:
|
|
84
|
-
readonly context_window:
|
|
85
|
-
readonly reserve_tokens:
|
|
86
|
-
readonly keep_recent_tokens:
|
|
87
|
-
|
|
94
|
+
readonly compaction_policy?: {
|
|
95
|
+
readonly context_window: number;
|
|
96
|
+
readonly reserve_tokens: number;
|
|
97
|
+
readonly keep_recent_tokens: number;
|
|
98
|
+
readonly summary_model?: {
|
|
99
|
+
readonly provider: string;
|
|
100
|
+
readonly model: string;
|
|
101
|
+
readonly metadata?: {
|
|
102
|
+
readonly [x: string]: Schema.Json;
|
|
103
|
+
};
|
|
104
|
+
readonly registration_key?: string;
|
|
105
|
+
readonly request_options?: {
|
|
106
|
+
readonly [x: string]: Schema.Json;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
88
110
|
readonly tool_names?: readonly string[];
|
|
89
111
|
readonly workspace_policy?: {
|
|
90
112
|
readonly mode: "share" | "fork";
|
|
@@ -120,6 +142,13 @@ export declare const ChildRunContext: Schema.Struct<{
|
|
|
120
142
|
readonly context_window: Schema.Number;
|
|
121
143
|
readonly reserve_tokens: Schema.Number;
|
|
122
144
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>;
|
|
@@ -141,6 +170,13 @@ export declare const ChildRunOverride: Schema.Struct<{
|
|
|
141
170
|
readonly context_window: Schema.Number;
|
|
142
171
|
readonly reserve_tokens: Schema.Number;
|
|
143
172
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
|
@@ -166,6 +202,13 @@ export declare const ChildRunPreset: Schema.Struct<{
|
|
|
166
202
|
readonly context_window: Schema.Number;
|
|
167
203
|
readonly reserve_tokens: Schema.Number;
|
|
168
204
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
|
@@ -201,6 +244,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
201
244
|
readonly context_window: Schema.Number;
|
|
202
245
|
readonly reserve_tokens: Schema.Number;
|
|
203
246
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>;
|
|
@@ -220,6 +270,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
220
270
|
readonly context_window: Schema.Number;
|
|
221
271
|
readonly reserve_tokens: Schema.Number;
|
|
222
272
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
|
@@ -243,6 +300,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
243
300
|
readonly context_window: Schema.Number;
|
|
244
301
|
readonly reserve_tokens: Schema.Number;
|
|
245
302
|
readonly keep_recent_tokens: Schema.Number;
|
|
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>>;
|
package/package.json
CHANGED