@industry-theme/alexandria-panels 0.1.15 → 0.1.16
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.map +1 -1
- package/dist/panels/GitHubProjectsPanel/index.d.ts.map +1 -1
- package/dist/panels/LocalProjectsPanel/LocalProjectCard.d.ts.map +1 -1
- package/dist/panels/WorkspaceCollectionPanel/WorkspaceCollectionPanel.stories.d.ts +13 -0
- package/dist/panels/WorkspaceCollectionPanel/WorkspaceCollectionPanel.stories.d.ts.map +1 -0
- package/dist/panels/WorkspaceCollectionPanel/index.d.ts +27 -0
- package/dist/panels/WorkspaceCollectionPanel/index.d.ts.map +1 -0
- package/dist/panels/WorkspaceCollectionPanel/tools.d.ts +35 -0
- package/dist/panels/WorkspaceCollectionPanel/tools.d.ts.map +1 -0
- package/dist/panels/WorkspaceCollectionPanel/types.d.ts +125 -0
- package/dist/panels/WorkspaceCollectionPanel/types.d.ts.map +1 -0
- package/dist/panels/WorkspaceRepositoriesPanel/WorkspaceRepositoriesPanel.stories.d.ts.map +1 -1
- package/dist/panels/WorkspacesListPanel/WorkspaceCard.d.ts.map +1 -1
- package/dist/panels/WorkspacesListPanel/types.d.ts +2 -0
- package/dist/panels/WorkspacesListPanel/types.d.ts.map +1 -1
- package/dist/panels/shared/GitHubRepositoryCard.d.ts.map +1 -1
- package/dist/panels/shared/github-types.d.ts +2 -0
- package/dist/panels/shared/github-types.d.ts.map +1 -1
- package/dist/panels.bundle.js +1210 -209
- 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 +151 -0
- package/package.json +1 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@
|
|
|
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
13
|
export { workspacesListPanelTools, workspacesListPanelToolsMetadata, filterWorkspacesTool, selectWorkspaceTool, openWorkspaceTool, createWorkspaceTool, } from '../panels/WorkspacesListPanel/tools';
|
|
14
|
+
export { workspaceCollectionPanelTools, workspaceCollectionPanelToolsMetadata, filterRepositoriesTool, selectRepositoryTool as selectCollectionRepositoryTool, navigateRepositoryTool, removeRepositoryTool, refreshWorkspaceCollectionTool, } from '../panels/WorkspaceCollectionPanel/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,wBAAwB,EACxB,gCAAgC,EAChC,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qCAAqC,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,6BAA6B,EAC7B,qCAAqC,EACrC,sBAAsB,EACtB,oBAAoB,IAAI,8BAA8B,EACtD,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,0CAA0C,CAAC"}
|
package/dist/tools.bundle.js
CHANGED
|
@@ -302,21 +302,172 @@ var workspacesListPanelToolsMetadata = {
|
|
|
302
302
|
description: "Tools for browsing and managing workspaces",
|
|
303
303
|
tools: workspacesListPanelTools
|
|
304
304
|
};
|
|
305
|
+
// src/panels/WorkspaceCollectionPanel/tools.ts
|
|
306
|
+
var PANEL_ID4 = "industry-theme.workspace-collection";
|
|
307
|
+
var filterRepositoriesTool = {
|
|
308
|
+
name: "filter_workspace_collection",
|
|
309
|
+
description: "Filters repositories in the workspace collection by search term",
|
|
310
|
+
inputs: {
|
|
311
|
+
type: "object",
|
|
312
|
+
properties: {
|
|
313
|
+
filter: {
|
|
314
|
+
type: "string",
|
|
315
|
+
description: "Search term to filter repositories by name, owner, or description"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
required: ["filter"]
|
|
319
|
+
},
|
|
320
|
+
outputs: {
|
|
321
|
+
type: "object",
|
|
322
|
+
properties: {
|
|
323
|
+
success: { type: "boolean" },
|
|
324
|
+
matchCount: { type: "number" }
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
tags: ["workspace", "repository", "filter", "search"],
|
|
328
|
+
tool_call_template: {
|
|
329
|
+
call_template_type: "panel_event",
|
|
330
|
+
event_type: `${PANEL_ID4}:filter`
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
var selectRepositoryTool2 = {
|
|
334
|
+
name: "select_collection_repository",
|
|
335
|
+
description: "Selects a repository in the workspace collection panel",
|
|
336
|
+
inputs: {
|
|
337
|
+
type: "object",
|
|
338
|
+
properties: {
|
|
339
|
+
repositoryKey: {
|
|
340
|
+
type: "string",
|
|
341
|
+
description: 'Repository identifier in "owner/repo" format or just the repository name'
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
required: ["repositoryKey"]
|
|
345
|
+
},
|
|
346
|
+
outputs: {
|
|
347
|
+
type: "object",
|
|
348
|
+
properties: {
|
|
349
|
+
success: { type: "boolean" },
|
|
350
|
+
message: { type: "string" }
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
tags: ["workspace", "repository", "select"],
|
|
354
|
+
tool_call_template: {
|
|
355
|
+
call_template_type: "panel_event",
|
|
356
|
+
event_type: `${PANEL_ID4}:select-repository`
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
var navigateRepositoryTool = {
|
|
360
|
+
name: "navigate_collection_repository",
|
|
361
|
+
description: "Navigates to the full repository page for a repository in the workspace",
|
|
362
|
+
inputs: {
|
|
363
|
+
type: "object",
|
|
364
|
+
properties: {
|
|
365
|
+
repositoryKey: {
|
|
366
|
+
type: "string",
|
|
367
|
+
description: 'Repository identifier in "owner/repo" format or just the repository name'
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
required: ["repositoryKey"]
|
|
371
|
+
},
|
|
372
|
+
outputs: {
|
|
373
|
+
type: "object",
|
|
374
|
+
properties: {
|
|
375
|
+
success: { type: "boolean" },
|
|
376
|
+
message: { type: "string" }
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
tags: ["workspace", "repository", "navigate", "open"],
|
|
380
|
+
tool_call_template: {
|
|
381
|
+
call_template_type: "panel_event",
|
|
382
|
+
event_type: `${PANEL_ID4}:navigate-repository`
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
var removeRepositoryTool = {
|
|
386
|
+
name: "remove_collection_repository",
|
|
387
|
+
description: "Removes a repository from the current workspace",
|
|
388
|
+
inputs: {
|
|
389
|
+
type: "object",
|
|
390
|
+
properties: {
|
|
391
|
+
repositoryKey: {
|
|
392
|
+
type: "string",
|
|
393
|
+
description: 'Repository identifier in "owner/repo" format or just the repository name'
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
required: ["repositoryKey"]
|
|
397
|
+
},
|
|
398
|
+
outputs: {
|
|
399
|
+
type: "object",
|
|
400
|
+
properties: {
|
|
401
|
+
success: { type: "boolean" },
|
|
402
|
+
message: { type: "string" }
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
tags: ["workspace", "repository", "remove", "delete"],
|
|
406
|
+
tool_call_template: {
|
|
407
|
+
call_template_type: "panel_event",
|
|
408
|
+
event_type: `${PANEL_ID4}:remove-repository`
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
var refreshWorkspaceCollectionTool = {
|
|
412
|
+
name: "refresh_workspace_collection",
|
|
413
|
+
description: "Refreshes the workspace collection repository list",
|
|
414
|
+
inputs: {
|
|
415
|
+
type: "object",
|
|
416
|
+
properties: {
|
|
417
|
+
force: {
|
|
418
|
+
type: "boolean",
|
|
419
|
+
description: "Force refresh even if data is fresh"
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
outputs: {
|
|
424
|
+
type: "object",
|
|
425
|
+
properties: {
|
|
426
|
+
success: { type: "boolean" },
|
|
427
|
+
repositoryCount: { type: "number" }
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
tags: ["workspace", "refresh"],
|
|
431
|
+
tool_call_template: {
|
|
432
|
+
call_template_type: "panel_event",
|
|
433
|
+
event_type: `${PANEL_ID4}:refresh-workspace`
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
var workspaceCollectionPanelTools = [
|
|
437
|
+
filterRepositoriesTool,
|
|
438
|
+
selectRepositoryTool2,
|
|
439
|
+
navigateRepositoryTool,
|
|
440
|
+
removeRepositoryTool,
|
|
441
|
+
refreshWorkspaceCollectionTool
|
|
442
|
+
];
|
|
443
|
+
var workspaceCollectionPanelToolsMetadata = {
|
|
444
|
+
id: PANEL_ID4,
|
|
445
|
+
name: "Workspace Collection Panel",
|
|
446
|
+
description: "Tools provided by the browser-based workspace collection panel",
|
|
447
|
+
tools: workspaceCollectionPanelTools
|
|
448
|
+
};
|
|
305
449
|
export {
|
|
306
450
|
workspacesListPanelToolsMetadata,
|
|
307
451
|
workspacesListPanelTools,
|
|
308
452
|
workspaceRepositoriesPanelToolsMetadata,
|
|
309
453
|
workspaceRepositoriesPanelTools,
|
|
454
|
+
workspaceCollectionPanelToolsMetadata,
|
|
455
|
+
workspaceCollectionPanelTools,
|
|
310
456
|
selectWorkspaceTool,
|
|
311
457
|
selectRepositoryTool,
|
|
312
458
|
selectProjectTool,
|
|
459
|
+
selectRepositoryTool2 as selectCollectionRepositoryTool,
|
|
460
|
+
removeRepositoryTool,
|
|
313
461
|
refreshWorkspaceTool,
|
|
462
|
+
refreshWorkspaceCollectionTool,
|
|
314
463
|
openWorkspaceTool,
|
|
315
464
|
openRepositoryTool,
|
|
316
465
|
openProjectTool,
|
|
466
|
+
navigateRepositoryTool,
|
|
317
467
|
localProjectsPanelToolsMetadata,
|
|
318
468
|
localProjectsPanelTools,
|
|
319
469
|
filterWorkspacesTool,
|
|
470
|
+
filterRepositoriesTool,
|
|
320
471
|
filterProjectsTool,
|
|
321
472
|
createWorkspaceTool
|
|
322
473
|
};
|