@vimhead.dev/norn 0.1.0-tip.36824462948.1 → 0.1.0-tip.37307659560.1
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/api.d.ts +8 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -259,13 +259,20 @@ export type NornCommandRunResult = {
|
|
|
259
259
|
export type NornAgentBeforeSessionStartContext = {
|
|
260
260
|
readonly events: EventBus;
|
|
261
261
|
};
|
|
262
|
+
export type NornAgentModelReference = {
|
|
263
|
+
readonly provider: string;
|
|
264
|
+
readonly id: string;
|
|
265
|
+
};
|
|
262
266
|
export type NornAgentCreateSessionInput = {
|
|
263
267
|
readonly customTools?: readonly ToolDefinition[];
|
|
264
268
|
readonly label: string;
|
|
265
269
|
readonly cwd: string;
|
|
266
270
|
readonly tools?: string[];
|
|
267
271
|
readonly beforeSessionStart?: (context: NornAgentBeforeSessionStartContext) => MaybePromise<void>;
|
|
268
|
-
readonly
|
|
272
|
+
readonly models: readonly [
|
|
273
|
+
NornAgentModelReference,
|
|
274
|
+
...NornAgentModelReference[]
|
|
275
|
+
];
|
|
269
276
|
readonly thinkingLevel?: CreateAgentSessionOptions["thinkingLevel"];
|
|
270
277
|
readonly systemPrompt?: string;
|
|
271
278
|
readonly appendSystemPrompt?: readonly string[];
|
package/package.json
CHANGED