Replies: 5 comments 2 replies
|
Hey! I'm working on a total overhaul of the extension api (look at the v1 branch). It bring's a lot of improvements (support for multiple clients, http extension, command completions...) Any help would be welcome! |
|
Hey! I just pushed a new release that implement the v1 api. Most of the documentation was outdated so I removed it, but you can take a look at the example to get a grasp of it. I would love to get your feedback on it :) |
|
Amazing! I will see if I can have a quick look this weekend or early next week. |
|
Looking at it already now for a bit. For my understanding, would it be possible to get a tldr on what was changed from when there was an From what I see for now:
Is it correct? And are there other changes from the extension standpoint? |
|
I love the using sunbeam. I was wondering if you ever considered having the mode be in the returned json instead having it ie instead of having mode in manifest "commands": [
{
"name": "list-entries",
"title": "List Entries from Docset",
"mode": "filter",
"hidden": false,
"params": [
{
"name": "slug",
"type": "string", // can be "string", "number", "boolean"
"title": "Docset Slug",
}
]
}
] What if the json returned could have the mode {
"mode": "filter",
"items": [...]
}This way the script could decide what the next view would be . Are there any obvious disadvantages to this approach ? |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I am a big fan of sunbeam and its integration with Raycast but I noticed that while being clause to v1 there are still some changes happening on the extension/command. I built a few extensions for me but I think that commands don't work yet in the latest version.
Would you like/need any help to get v1 out?
All reactions