@trops/dash-core 0.1.293 → 0.1.295
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/electron/index.js +5 -5
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +545 -345
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +545 -345
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -70293,7 +70293,7 @@ const widgetTools$1 = [
|
|
|
70293
70293
|
{
|
|
70294
70294
|
name: "add_widget",
|
|
70295
70295
|
description:
|
|
70296
|
-
"Add a widget to a dashboard by component name.
|
|
70296
|
+
"Add a widget to a dashboard by its scoped component name. IMPORTANT: Use the exact scoped name from list_widgets or search_widgets (format: 'scope.package.WidgetName', e.g. 'trops.gong.GongCallSearch'). Can be called multiple times. Returns the widget instance ID for use with configure_widget. If the dashboard has a grid layout, you can specify row/col for explicit placement, or omit them to auto-place in the next empty cell.",
|
|
70297
70297
|
inputSchema: {
|
|
70298
70298
|
type: "object",
|
|
70299
70299
|
properties: {
|
|
@@ -70305,7 +70305,7 @@ const widgetTools$1 = [
|
|
|
70305
70305
|
widgetName: {
|
|
70306
70306
|
type: "string",
|
|
70307
70307
|
description:
|
|
70308
|
-
"
|
|
70308
|
+
"Scoped component name from list_widgets/search_widgets (e.g. 'trops.gong.GongCallSearch', 'trops.slack.SlackChannelFeed')",
|
|
70309
70309
|
},
|
|
70310
70310
|
row: {
|
|
70311
70311
|
type: "number",
|
|
@@ -70367,7 +70367,7 @@ const widgetTools$1 = [
|
|
|
70367
70367
|
{
|
|
70368
70368
|
name: "list_widgets",
|
|
70369
70369
|
description:
|
|
70370
|
-
"List all available widgets from the registry
|
|
70370
|
+
"List all available widgets from the registry. Returns scoped component names (e.g. 'trops.gong.GongCallSearch') that can be passed directly to add_widget. Also includes description, provider requirements, and package info.",
|
|
70371
70371
|
inputSchema: {
|
|
70372
70372
|
type: "object",
|
|
70373
70373
|
properties: {},
|
|
@@ -70377,7 +70377,7 @@ const widgetTools$1 = [
|
|
|
70377
70377
|
{
|
|
70378
70378
|
name: "search_widgets",
|
|
70379
70379
|
description:
|
|
70380
|
-
"Search the widget registry by keyword. Returns matching widgets with
|
|
70380
|
+
"Search the widget registry by keyword. Returns matching widgets with scoped names (e.g. 'trops.slack.SlackChannelFeed') that can be passed directly to add_widget. Also includes description and provider info.",
|
|
70381
70381
|
inputSchema: {
|
|
70382
70382
|
type: "object",
|
|
70383
70383
|
properties: {
|
|
@@ -72569,7 +72569,7 @@ You are connected to Dash, a dashboard application. Here is what you can help wi
|
|
|
72569
72569
|
## Typical Workflow
|
|
72570
72570
|
1. Create a dashboard: create_dashboard("My Dashboard")
|
|
72571
72571
|
2. Search for widgets: search_widgets("slack") or list_widgets()
|
|
72572
|
-
3. Add widgets: add_widget(
|
|
72572
|
+
3. Add widgets: add_widget(scopedName, dashboardId) — use the name from search/list results (e.g. "trops.slack.SlackChannelFeed")
|
|
72573
72573
|
4. Configure: configure_widget(widgetId, config)
|
|
72574
72574
|
5. Style it: create_theme_from_url("https://example.com") then apply_theme(name)`,
|
|
72575
72575
|
|