@agent-native/toolkit 0.17.2 → 0.17.3
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.
|
@@ -506,7 +506,7 @@ function ModeSelector({ mode, onChange, planModeDisabled = false, planModeDisabl
|
|
|
506
506
|
const [open, setOpen] = useState(false);
|
|
507
507
|
const resolvedPlanModeDisabledReason = planModeDisabledReason ??
|
|
508
508
|
t("agentChat.composer.planDesktopRequired", {
|
|
509
|
-
defaultValue: "Open Agent
|
|
509
|
+
defaultValue: "Open Agent-Native Desktop to use Plan mode.",
|
|
510
510
|
});
|
|
511
511
|
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsxs("button", { type: "button", "aria-label": mode === "build"
|
|
512
512
|
? t("agentChat.composer.actMode", { defaultValue: "Act mode" })
|
|
@@ -905,7 +905,7 @@ function ModelSelector({ model, effort, engines, agents, selectedAgent, agentOnl
|
|
|
905
905
|
defaultValue: "Learn about harness agents",
|
|
906
906
|
}), onClick: (event) => event.stopPropagation(), className: `ms-1.5 ${PICKER_HELP_BUTTON_CLASS}`, children: _jsx(IconHelpCircle, { "aria-hidden": "true", className: PICKER_HELP_ICON_CLASS, strokeWidth: 1.8 }) }) }), _jsxs(TooltipContent, { side: "right", className: "max-w-xs", children: [_jsx("span", { className: "block", children: hostedHarness
|
|
907
907
|
? t("agentChat.composer.hostedHarnessDescription", {
|
|
908
|
-
defaultValue: "Hosted mode uses app tools only. For full coding with a repository and shell, use Agent
|
|
908
|
+
defaultValue: "Hosted mode uses app tools only. For full coding with a repository and shell, use Agent-Native Desktop.",
|
|
909
909
|
})
|
|
910
910
|
: t("agentChat.composer.harnessAgentDescription", {
|
|
911
911
|
defaultValue: "Harnesses run their own coding loop and local tools.",
|
|
@@ -227,7 +227,7 @@ describe("Realtime voice client transport", () => {
|
|
|
227
227
|
}));
|
|
228
228
|
expect(JSON.stringify(fetchMock.mock.calls)).not.toContain("OPENAI_API_KEY");
|
|
229
229
|
});
|
|
230
|
-
it("sends function calls to the authenticated Agent
|
|
230
|
+
it("sends function calls to the authenticated Agent-Native tool bridge", async () => {
|
|
231
231
|
const fetchMock = vi.fn(async () => Response.json({
|
|
232
232
|
callId: "call-1",
|
|
233
233
|
status: "completed",
|
package/package.json
CHANGED
|
@@ -917,7 +917,7 @@ function ModeSelector({
|
|
|
917
917
|
const resolvedPlanModeDisabledReason =
|
|
918
918
|
planModeDisabledReason ??
|
|
919
919
|
t("agentChat.composer.planDesktopRequired", {
|
|
920
|
-
defaultValue: "Open Agent
|
|
920
|
+
defaultValue: "Open Agent-Native Desktop to use Plan mode.",
|
|
921
921
|
});
|
|
922
922
|
|
|
923
923
|
return (
|
|
@@ -1646,7 +1646,7 @@ function ModelSelector({
|
|
|
1646
1646
|
{hostedHarness
|
|
1647
1647
|
? t("agentChat.composer.hostedHarnessDescription", {
|
|
1648
1648
|
defaultValue:
|
|
1649
|
-
"Hosted mode uses app tools only. For full coding with a repository and shell, use Agent
|
|
1649
|
+
"Hosted mode uses app tools only. For full coding with a repository and shell, use Agent-Native Desktop.",
|
|
1650
1650
|
})
|
|
1651
1651
|
: t("agentChat.composer.harnessAgentDescription", {
|
|
1652
1652
|
defaultValue:
|
|
@@ -327,7 +327,7 @@ describe("Realtime voice client transport", () => {
|
|
|
327
327
|
);
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
it("sends function calls to the authenticated Agent
|
|
330
|
+
it("sends function calls to the authenticated Agent-Native tool bridge", async () => {
|
|
331
331
|
const fetchMock = vi.fn(async () =>
|
|
332
332
|
Response.json({
|
|
333
333
|
callId: "call-1",
|