@theoremjs/react 0.3.5-next.916.g7c8c948 → 0.3.5-next.918.g28ade76
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/package.json +3 -3
- package/ui/TheoremHost.js +2 -1
- package/ui/labels.d.ts +4 -0
- package/ui/labels.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theoremjs/react",
|
|
3
|
-
"version": "0.3.5-next.
|
|
3
|
+
"version": "0.3.5-next.918.g28ade76",
|
|
4
4
|
"description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@stylexjs/stylex": "0.19.0",
|
|
61
61
|
"react": "^19.0.0",
|
|
62
62
|
"react-dom": "^19.0.0",
|
|
63
|
-
"@theoremjs/agents": "^0.3.5-next.
|
|
64
|
-
"@theoremjs/web": "^0.3.5-next.
|
|
63
|
+
"@theoremjs/agents": "^0.3.5-next.918.g28ade76",
|
|
64
|
+
"@theoremjs/web": "^0.3.5-next.918.g28ade76"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@astryxdesign/core": {
|
package/ui/TheoremHost.js
CHANGED
|
@@ -9,7 +9,7 @@ import { StatusDot } from '@astryxdesign/core/StatusDot';
|
|
|
9
9
|
import { Text } from '@astryxdesign/core/Text';
|
|
10
10
|
import { Token } from '@astryxdesign/core/Token';
|
|
11
11
|
import { VStack } from '@astryxdesign/core/VStack';
|
|
12
|
-
import { IconMathFunction, IconWorld } from '@tabler/icons-react';
|
|
12
|
+
import { IconFileSmile, IconMathFunction, IconWorld } from '@tabler/icons-react';
|
|
13
13
|
import { createHostTransport, isRow, json, missingFields, } from '@theoremjs/web/client';
|
|
14
14
|
import { useMemo, useRef, useState } from 'react';
|
|
15
15
|
import { hostCallFailure, hostCallStatus, hostConsoleView, } from "../client/host-call.js";
|
|
@@ -59,6 +59,7 @@ const KIND_ICON = {
|
|
|
59
59
|
function: IconMathFunction,
|
|
60
60
|
http: IconWorld,
|
|
61
61
|
mcp: IconMcp,
|
|
62
|
+
agent: IconFileSmile,
|
|
62
63
|
};
|
|
63
64
|
/** The most room a row of the tool menu takes, and the lines of description it shows. */
|
|
64
65
|
const TOOL_MENU_PX = 440;
|
package/ui/labels.d.ts
CHANGED
|
@@ -880,6 +880,10 @@ export declare const THEOREM_UI_CATALOG: {
|
|
|
880
880
|
readonly defaultMessage: "MCP";
|
|
881
881
|
readonly description: "A tool served by an MCP server.";
|
|
882
882
|
};
|
|
883
|
+
readonly '@theorem.host.kind.agent': {
|
|
884
|
+
readonly defaultMessage: "Agent";
|
|
885
|
+
readonly description: "A tool that asks another agent.";
|
|
886
|
+
};
|
|
883
887
|
readonly '@theorem.tool.access.read-only': {
|
|
884
888
|
readonly defaultMessage: "Read only";
|
|
885
889
|
readonly description: "A tool that only reads.";
|
package/ui/labels.js
CHANGED
|
@@ -837,6 +837,10 @@ export const THEOREM_UI_CATALOG = {
|
|
|
837
837
|
defaultMessage: 'MCP',
|
|
838
838
|
description: 'A tool served by an MCP server.',
|
|
839
839
|
},
|
|
840
|
+
'@theorem.host.kind.agent': {
|
|
841
|
+
defaultMessage: 'Agent',
|
|
842
|
+
description: 'A tool that asks another agent.',
|
|
843
|
+
},
|
|
840
844
|
'@theorem.tool.access.read-only': {
|
|
841
845
|
defaultMessage: 'Read only',
|
|
842
846
|
description: 'A tool that only reads.',
|