@simfinity/constellation-ui 1.0.4 → 1.0.6

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/index.cjs CHANGED
@@ -60,7 +60,7 @@ function useConstellationClient() {
60
60
  if (!ctx) throw new Error("Must be used inside ConstellationProvider");
61
61
  return {
62
62
  supportedTools: async () => {
63
- return await ctx.client.fetchAvailableTools();
63
+ return await ctx.client.fetchSupportedTools();
64
64
  },
65
65
  startSession: async (audio, voice, tools = []) => {
66
66
  await ctx.client.startSession(audio, voice, tools);
package/dist/index.d.cts CHANGED
@@ -82,7 +82,7 @@ declare function ConstellationProvider({ client, children, }: {
82
82
  * @returns
83
83
  * Lifecycle control methods:
84
84
  *
85
- * fetchAvailableTools()
85
+ * supportedTools()
86
86
  * - Retrieve the list of tool names & descriptions that the server supports
87
87
  * - Tools can be selectively added to a session at creation time
88
88
  * - Tools included in a session are added to the model's context and available for it to use
package/dist/index.d.ts CHANGED
@@ -82,7 +82,7 @@ declare function ConstellationProvider({ client, children, }: {
82
82
  * @returns
83
83
  * Lifecycle control methods:
84
84
  *
85
- * fetchAvailableTools()
85
+ * supportedTools()
86
86
  * - Retrieve the list of tool names & descriptions that the server supports
87
87
  * - Tools can be selectively added to a session at creation time
88
88
  * - Tools included in a session are added to the model's context and available for it to use
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ function useConstellationClient() {
22
22
  if (!ctx) throw new Error("Must be used inside ConstellationProvider");
23
23
  return {
24
24
  supportedTools: async () => {
25
- return await ctx.client.fetchAvailableTools();
25
+ return await ctx.client.fetchSupportedTools();
26
26
  },
27
27
  startSession: async (audio, voice, tools = []) => {
28
28
  await ctx.client.startSession(audio, voice, tools);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simfinity/constellation-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -25,7 +25,7 @@
25
25
  "author": "Simfinity",
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
- "@simfinity/constellation-client": "^1.0.9"
28
+ "@simfinity/constellation-client": "^1.0.10"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/react": "^19.2.11",