@industry-theme/alexandria-panels 0.1.4 → 0.1.5
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.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/mocks/panelContext.d.ts +24 -0
- package/dist/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/DependenciesPanel/components/DependencyRow.d.ts.map +1 -1
- package/dist/panels/LocalProjectsPanel/LocalProjectCard.d.ts.map +1 -1
- package/dist/panels/LocalProjectsPanel/types.d.ts +0 -2
- package/dist/panels/LocalProjectsPanel/types.d.ts.map +1 -1
- package/dist/panels/WorkspaceRepositoriesPanel/index.d.ts.map +1 -1
- package/dist/panels/WorkspacesListPanel/WorkspaceCard.d.ts +7 -0
- package/dist/panels/WorkspacesListPanel/WorkspaceCard.d.ts.map +1 -0
- package/dist/panels/WorkspacesListPanel/WorkspacesListPanel.stories.d.ts +46 -0
- package/dist/panels/WorkspacesListPanel/WorkspacesListPanel.stories.d.ts.map +1 -0
- package/dist/panels/WorkspacesListPanel/index.d.ts +35 -0
- package/dist/panels/WorkspacesListPanel/index.d.ts.map +1 -0
- package/dist/panels/WorkspacesListPanel/tools.d.ts +36 -0
- package/dist/panels/WorkspacesListPanel/tools.d.ts.map +1 -0
- package/dist/panels/WorkspacesListPanel/types.d.ts +151 -0
- package/dist/panels/WorkspacesListPanel/types.d.ts.map +1 -0
- package/dist/panels.bundle.js +1239 -304
- package/dist/panels.bundle.js.map +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools.bundle.js +135 -6
- package/package.json +1 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export { localProjectsPanelTools, localProjectsPanelToolsMetadata, filterProjectsTool, selectProjectTool, openProjectTool, } from '../panels/LocalProjectsPanel/tools';
|
|
12
12
|
export { workspaceRepositoriesPanelTools, workspaceRepositoriesPanelToolsMetadata, selectRepositoryTool, refreshWorkspaceTool, openRepositoryTool, } from '../panels/WorkspaceRepositoriesPanel/tools';
|
|
13
|
+
export { workspacesListPanelTools, workspacesListPanelToolsMetadata, filterWorkspacesTool, selectWorkspaceTool, openWorkspaceTool, createWorkspaceTool, } from '../panels/WorkspacesListPanel/tools';
|
|
13
14
|
export { dependenciesPanelTools, dependenciesPanelToolsMetadata, filterDependenciesTool, selectDependencyTypeTool, selectPackageTool, } from '../panels/DependenciesPanel/tools';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,+BAA+B,EAC/B,uCAAuC,EACvC,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,+BAA+B,EAC/B,uCAAuC,EACvC,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,mCAAmC,CAAC"}
|
package/dist/tools.bundle.js
CHANGED
|
@@ -179,8 +179,131 @@ var workspaceRepositoriesPanelToolsMetadata = {
|
|
|
179
179
|
description: "Tools provided by the workspace repositories panel",
|
|
180
180
|
tools: workspaceRepositoriesPanelTools
|
|
181
181
|
};
|
|
182
|
+
// src/panels/WorkspacesListPanel/tools.ts
|
|
183
|
+
var PANEL_ID3 = "industry-theme.workspaces-list";
|
|
184
|
+
var filterWorkspacesTool = {
|
|
185
|
+
name: "filter_workspaces",
|
|
186
|
+
description: "Filter the workspaces list by workspace name, description, or repository names within workspaces",
|
|
187
|
+
inputs: {
|
|
188
|
+
type: "object",
|
|
189
|
+
properties: {
|
|
190
|
+
filter: {
|
|
191
|
+
type: "string",
|
|
192
|
+
description: "Search term to filter workspaces (matches workspace name, description, or repository names)"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
required: ["filter"]
|
|
196
|
+
},
|
|
197
|
+
outputs: {
|
|
198
|
+
type: "object",
|
|
199
|
+
properties: {
|
|
200
|
+
success: { type: "boolean" },
|
|
201
|
+
message: { type: "string" }
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
tags: ["filter", "search", "workspaces"],
|
|
205
|
+
tool_call_template: {
|
|
206
|
+
call_template_type: "panel_event",
|
|
207
|
+
event_type: `${PANEL_ID3}:filter`
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
var selectWorkspaceTool = {
|
|
211
|
+
name: "select_workspace",
|
|
212
|
+
description: "Select a workspace by its ID to view its details and repositories",
|
|
213
|
+
inputs: {
|
|
214
|
+
type: "object",
|
|
215
|
+
properties: {
|
|
216
|
+
workspaceId: {
|
|
217
|
+
type: "string",
|
|
218
|
+
description: "The workspace ID to select"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
required: ["workspaceId"]
|
|
222
|
+
},
|
|
223
|
+
outputs: {
|
|
224
|
+
type: "object",
|
|
225
|
+
properties: {
|
|
226
|
+
success: { type: "boolean" },
|
|
227
|
+
selectedWorkspace: { type: "string" }
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
tags: ["select", "workspace", "navigation"],
|
|
231
|
+
tool_call_template: {
|
|
232
|
+
call_template_type: "panel_event",
|
|
233
|
+
event_type: `${PANEL_ID3}:select-workspace`
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
var openWorkspaceTool = {
|
|
237
|
+
name: "open_workspace",
|
|
238
|
+
description: "Open a workspace in a dedicated window for full workspace management",
|
|
239
|
+
inputs: {
|
|
240
|
+
type: "object",
|
|
241
|
+
properties: {
|
|
242
|
+
workspaceId: {
|
|
243
|
+
type: "string",
|
|
244
|
+
description: "The workspace ID to open"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
required: ["workspaceId"]
|
|
248
|
+
},
|
|
249
|
+
outputs: {
|
|
250
|
+
type: "object",
|
|
251
|
+
properties: {
|
|
252
|
+
success: { type: "boolean" },
|
|
253
|
+
message: { type: "string" }
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
tags: ["open", "workspace", "window"],
|
|
257
|
+
tool_call_template: {
|
|
258
|
+
call_template_type: "panel_event",
|
|
259
|
+
event_type: `${PANEL_ID3}:open-workspace`
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
var createWorkspaceTool = {
|
|
263
|
+
name: "create_workspace",
|
|
264
|
+
description: "Create a new workspace with the specified name and optional description",
|
|
265
|
+
inputs: {
|
|
266
|
+
type: "object",
|
|
267
|
+
properties: {
|
|
268
|
+
name: {
|
|
269
|
+
type: "string",
|
|
270
|
+
description: "The name for the new workspace"
|
|
271
|
+
},
|
|
272
|
+
description: {
|
|
273
|
+
type: "string",
|
|
274
|
+
description: "Optional description for the workspace"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
required: ["name"]
|
|
278
|
+
},
|
|
279
|
+
outputs: {
|
|
280
|
+
type: "object",
|
|
281
|
+
properties: {
|
|
282
|
+
success: { type: "boolean" },
|
|
283
|
+
workspaceId: { type: "string" },
|
|
284
|
+
message: { type: "string" }
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
tags: ["create", "workspace", "new"],
|
|
288
|
+
tool_call_template: {
|
|
289
|
+
call_template_type: "panel_event",
|
|
290
|
+
event_type: `${PANEL_ID3}:create-workspace`
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
var workspacesListPanelTools = [
|
|
294
|
+
filterWorkspacesTool,
|
|
295
|
+
selectWorkspaceTool,
|
|
296
|
+
openWorkspaceTool,
|
|
297
|
+
createWorkspaceTool
|
|
298
|
+
];
|
|
299
|
+
var workspacesListPanelToolsMetadata = {
|
|
300
|
+
id: PANEL_ID3,
|
|
301
|
+
name: "Workspaces List Panel",
|
|
302
|
+
description: "Tools for browsing and managing workspaces",
|
|
303
|
+
tools: workspacesListPanelTools
|
|
304
|
+
};
|
|
182
305
|
// src/panels/DependenciesPanel/tools.ts
|
|
183
|
-
var
|
|
306
|
+
var PANEL_ID4 = "principal-ade.dependencies-panel";
|
|
184
307
|
var filterDependenciesTool = {
|
|
185
308
|
name: "filter_dependencies",
|
|
186
309
|
description: "Filter the dependencies list by package name",
|
|
@@ -204,7 +327,7 @@ var filterDependenciesTool = {
|
|
|
204
327
|
tags: ["filter", "search", "dependencies"],
|
|
205
328
|
tool_call_template: {
|
|
206
329
|
call_template_type: "panel_event",
|
|
207
|
-
event_type: `${
|
|
330
|
+
event_type: `${PANEL_ID4}:filter`
|
|
208
331
|
}
|
|
209
332
|
};
|
|
210
333
|
var selectDependencyTypeTool = {
|
|
@@ -231,7 +354,7 @@ var selectDependencyTypeTool = {
|
|
|
231
354
|
tags: ["filter", "type", "dependencies"],
|
|
232
355
|
tool_call_template: {
|
|
233
356
|
call_template_type: "panel_event",
|
|
234
|
-
event_type: `${
|
|
357
|
+
event_type: `${PANEL_ID4}:select-type`
|
|
235
358
|
}
|
|
236
359
|
};
|
|
237
360
|
var selectPackageTool = {
|
|
@@ -257,7 +380,7 @@ var selectPackageTool = {
|
|
|
257
380
|
tags: ["select", "package", "monorepo"],
|
|
258
381
|
tool_call_template: {
|
|
259
382
|
call_template_type: "panel_event",
|
|
260
|
-
event_type: `${
|
|
383
|
+
event_type: `${PANEL_ID4}:select-package`
|
|
261
384
|
}
|
|
262
385
|
};
|
|
263
386
|
var dependenciesPanelTools = [
|
|
@@ -266,25 +389,31 @@ var dependenciesPanelTools = [
|
|
|
266
389
|
selectPackageTool
|
|
267
390
|
];
|
|
268
391
|
var dependenciesPanelToolsMetadata = {
|
|
269
|
-
id:
|
|
392
|
+
id: PANEL_ID4,
|
|
270
393
|
name: "Dependencies Panel",
|
|
271
394
|
description: "Tools for viewing and exploring package dependencies",
|
|
272
395
|
tools: dependenciesPanelTools
|
|
273
396
|
};
|
|
274
397
|
export {
|
|
398
|
+
workspacesListPanelToolsMetadata,
|
|
399
|
+
workspacesListPanelTools,
|
|
275
400
|
workspaceRepositoriesPanelToolsMetadata,
|
|
276
401
|
workspaceRepositoriesPanelTools,
|
|
402
|
+
selectWorkspaceTool,
|
|
277
403
|
selectRepositoryTool,
|
|
278
404
|
selectProjectTool,
|
|
279
405
|
selectPackageTool,
|
|
280
406
|
selectDependencyTypeTool,
|
|
281
407
|
refreshWorkspaceTool,
|
|
408
|
+
openWorkspaceTool,
|
|
282
409
|
openRepositoryTool,
|
|
283
410
|
openProjectTool,
|
|
284
411
|
localProjectsPanelToolsMetadata,
|
|
285
412
|
localProjectsPanelTools,
|
|
413
|
+
filterWorkspacesTool,
|
|
286
414
|
filterProjectsTool,
|
|
287
415
|
filterDependenciesTool,
|
|
288
416
|
dependenciesPanelToolsMetadata,
|
|
289
|
-
dependenciesPanelTools
|
|
417
|
+
dependenciesPanelTools,
|
|
418
|
+
createWorkspaceTool
|
|
290
419
|
};
|