@intentic/extension-ui 1.246.1 → 1.247.0
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
CHANGED
|
@@ -34,7 +34,7 @@ authors is a marketplace-phase task.
|
|
|
34
34
|
|
|
35
35
|
`AgentRunButton` and `useAgentRunPick` are re-exported because four extensions start an agent for the user:
|
|
36
36
|
pipelines, deployments, maintenance, acceptance: and each had reached its own answer about how you choose what
|
|
37
|
-
that costs. Press the primary half and the run opens on the sandbox's standing
|
|
37
|
+
that costs. Press the primary half and the run opens on the sandbox's standing model for the job the caller named; use the caret
|
|
38
38
|
and it opens on something else, for that run only. The choice covers the tier as well as the model
|
|
39
39
|
(`AgentRunChoice.effort`), so pass it on the turn you start beside `model`: the sandbox fills a pinned entry's
|
|
40
40
|
tier in only for a run that named no model, so dropping it runs the model you chose at the provider's default
|
|
@@ -9,7 +9,7 @@ export interface AgentRunChoice {
|
|
|
9
9
|
readonly effortLabel?: string | undefined;
|
|
10
10
|
}
|
|
11
11
|
export interface ModelPicking {
|
|
12
|
-
agentRun(): AgentRunChoice;
|
|
12
|
+
agentRun(role: string): AgentRunChoice;
|
|
13
13
|
pick(options: {
|
|
14
14
|
readonly anchor: HTMLElement;
|
|
15
15
|
readonly provider: string;
|
|
@@ -26,4 +26,4 @@ export interface AgentRunPicker {
|
|
|
26
26
|
readonly choose: (anchor: HTMLElement) => Promise<void>;
|
|
27
27
|
readonly clear: () => void;
|
|
28
28
|
}
|
|
29
|
-
export declare function useAgentRunPick(models: () => ModelPicking): AgentRunPicker;
|
|
29
|
+
export declare function useAgentRunPick(models: () => ModelPicking, role: string): AgentRunPicker;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.247.0",
|
|
4
4
|
"description": "The UI kit intentic extensions render with, host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|