mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-01 19:07:40 +01:00
Closed
opened 2025-12-29 07:20:02 +01:00 by adam
·
0 comments
No Branch/Tag Specified
main
pr-413
codex/cli-dev-plugin-dir-root
cli-improvements-2
mcp-client-plan
actions-system
omnara/premium-deviator
omnara/repose-aversion
copilot/create-beta-tag-for-main
v2026.3.0-beta.8
v2026.3.0-beta.7
v2026.3.0-beta.6
yaak-cli-0.4.0
yaak-cli-0.4.0-beta.10
yaak-cli-0.4.0-beta.9
yaak-cli-0.4.0-beta.8
yaak-cli-0.4.0-beta.7
yaak-cli-0.4.0-beta.6
yaak-cli-0.4.0-beta.4
yaak-cli-0.4.0-beta.5
yaak-cli-0.4.0-beta.3
yaak-api-0.8.3
yaak-api-0.8.1
yaak-api-0.8.2
yaak-cli-0.4.0-beta.2
yaak-cli-0.4.0-beta.1
v2026.3.0-beta.5
v2026.2.4
v2026.3.0-beta.4
v2026.2.3
v2026.3.0-beta.3
v2026.2.2
v2026.3.0-beta.2
v2026.2.1
v2026.2.1-beta.1
v2026.2.0
v2026.2.0-beta.12
v2026.2.0-beta.11
v2026.2.0-beta.10
v2026.2.0-beta.9
v2026.2.0-beta.8
v2026.2.0-beta.7
v2026.2.0-beta.6
v2026.2.0-beta.5
v2026.2.0-beta.4
v2026.2.0-beta.3
v2026.2.0-beta.2
v2026.1.2
v2026.2.0-beta.1
v2026.1.1
v2026.1.0
v2025.10.0-beta.15
v2025.10.0-beta.14
v2025.10.0-beta.13
v2025.10.0-beta.12
v2025.10.0-beta.11
v2025.10.0-beta.10
v2025.10.0-beta.9
v2025.10.0-beta.8
v2025.10.0-beta.7
v2025.10.0-beta.6
v2025.10.0-beta.5
v2025.10.0-beta.4
v2025.10.0-beta.3
v2025.9.3
v2025.10.0-beta.2
v2025.10.0-beta.1
v2025.9.2
v2025.9.2-beta.2
v2025.9.2-beta.1
v2025.9.1
v2025.9.0
v2025.9.0-beta.10
v2025.9.0-beta.9
v2025.9.0-beta.8
v2025.9.0-beta.7
v2025.9.0-beta.6
v2025.9.0-beta.5
v2025.9.0-beta.4
v2025.9.0-beta.3
v2025.9.0-beta.2
v2025.8.2
v2025.9.0-beta.1
v2025.8.1
v2025.8.0
v2025.8.0-beta.1
v2025.7.3
v2025.7.2
v2025.7.1
v2025.7.0
v2025.7.0-beta.5
v2025.7.0-beta.4
v2025.7.0-beta.3
v2025.7.0-beta.2
v2025.7.0-beta.1
v2025.6.1
v2025.6.0
v2025.6.0-beta.10
v2025.6.0-beta.9
v2025.6.0-beta.8
v2025.6.0-beta.7
v2025.6.0-beta.6
v2025.6.0-beta.5
v2025.6.0-beta.4
v2025.6.0-beta.3
v2025.6.0-beta.2
v2025.6.0-beta.1
v2025.5.6
v2025.5.5
v2025.5.4
v2025.5.3
v2025.5.2
v2025.5.1
v2025.5.0
v2025.5.0-beta.9
v2025.5.0-beta.8
v2025.5.0-beta.7
v2025.5.0-beta.6
v2025.5.0-beta.5
v2025.5.0-beta.4
v2025.5.0-beta.3
v2025.5.0-beta.2
v2025.5.0-beta.1
v2025.4.0
v2025.4.0-beta.5
v2025.4.0-beta.4
v2025.4.0-beta.3
v2025.4.0-beta.2
v2025.4.0-beta.1
v2025.3.1
v2025.3.0
v2025.3.0-beta.4
v2025.3.0-beta.3
v2025.2.3
v2025.3.0-beta.2
v2025.3.0-beta.1
v2025.2.2
v2025.2.1
v2025.2.0
v2025.2.0-beta.16
v2025.2.0-beta.15
v2025.2.0-beta.14
v2025.2.0-beta.13
v2025.2.0-beta.12
v2025.2.0-beta.11
v2025.2.0-beta.10
v2025.2.0-beta.9
v2025.2.0-beta.8
v2025.2.0-beta.7
v2025.2.0-beta.6
v2025.2.0-beta.5
v2025.2.0-beta.4
v2025.2.0-beta.3
v2025.2.0-beta.2
v2025.2.0-beta.1
v2025.1.2
v2025.1.1
v2025.1.0
v2025.1.0-rc.1
v2025.1.0-beta.15
v2025.1.0-beta.14
v2025.1.0-beta.13
v2025.1.0-beta.11
v2025.1.0-beta.10
v2025.1.0-beta.9
v2025.1.0-beta.8
v2025.1.0-beta.7
v2025.1.0-beta.6
v2025.1.0-beta.5
v2025.1.0-beta.4
v2025.1.0-beta.3
v2025.1.0-beta.2
v2025.1.0-beta.1
v2024.13.0
v2024.12.1
v2024.13.0-beta.1
v2024.12.0
v2024.12.0-beta.6
v2024.12.0-beta.5
v2024.12.0-beta.4
v2024.12.0-beta.3
v2024.12.0-beta.2
v2024.12.0-beta.1
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.11.0-beta.9
v2024.11.0-beta.8
v2024.11.0-beta.7
v2024.11.0-beta.6
v2024.11.0-beta.5
v2024.11.0-beta.4
v2024.11.0-beta.3
v2024.11.0-beta.2
v2024.11.0-beta.1
v2024.10.1
v2024.10.0
v2024.10.0-beta.6
v2024.10.0-beta.5
v2024.10.0-beta.4
v2024.10.0-beta.3
v2024.9.1
v2024.10.0-beta.2
v2024.9.0
v2024.10.0-beta.1
v2024.9.0-beta.3
v2024.9.0-beta.2
v2024.9.0-beta.1
v2024.8.2
v2024.8.1
v2024.8.0
v2024.8.0-beta.5
v2024.8.0-beta.4
v2024.8.0-beta.3
v2024.8.0-beta.2
v2024.8.0-beta.1
v2024.7.0
v2024.7.0-beta.11
v2024.7.0-beta.10
v2024.7.0-beta.9
v2024.7.0-beta.8
v2024.7.0-beta.7
v2024.7.0-beta.6
v2024.7.0-beta.5
v2024.7.0-beta.4
v2024.7.0-beta.3
v2024.7.0-beta.2
v2024.7.0-beta.1
v2024.6.6
v2024.6.5
v2024.6.4
v2024.6.3
v2024.6.2
v2024.6.1
v2024.6.0
v2024.6.0-beta.1
v2024.5.2
v2024.5.1
v2024.5.1-beta.1
v2024.5.0
v2024.5.0-beta.1
v2024.4.2
v2024.4.1
v2024.4.0
v2024.4.0-beta.3
v2024.4.0-beta.2
v2024.4.0-beta.1
v2024.3.10
v2024.3.9
v2024.3.8
v2024.3.7
v2024.3.6
v2024.3.5
v2024.3.4
v2024.3.3
v2024.3.2
v2024.3.1
v2024.3.0
v2024.3.0-beta.2
v2024.3.0-beta.1
v2024.2.0
v2024.1.0
v2024.0.1
v2024.0.1-beta.2
v2024.0.1-beta.1
v2024.0.0
v2023.4.0-beta.4
v2023.4.0-beta.3
v2023.4.0-beta.2
v2023.4.0-beta.1
v2023.3.0
v2023.3.0-beta.2
v2023.3.0-beta.1
v2023.2.0
v2023.1.7
v2023.0.20
v2023.0.19
v2023.0.18
v2023.0.17
v2023.0.16
v2023.0.15
v2023.0.14
v2023.0.12
v2023.0.11
v2023.0.10
v2023.0.9
v2023.0.8
v2023.0.7
v2023.0.6
v2023.0.5
v2023.0.4
v2023.0.3
v2022.0.1
v2023.0.1
v2023.0.0
v0.0.2
v0.0.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/yaak#246
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/324
Author: @turchinc
Created: 12/16/2025
Status: ✅ Merged
Merged: 12/29/2025
Merged by: @gschier
Base:
main← Head:main📝 Commits (10+)
e17aae2collection plugin actions218fdf3Merge main into turchinc/main (PR #324)6d5ba68Remove unnecessary ctx.file APIs - plugins can use node:fs directly07d743dUse workspace from plugin context instead of accepting it as parameter3855058Refactor new actions apis7446d62Add test actions to copy-curl plugin and add WebSocket request actions to Sidebar3c45464Get everything workingcdd5ba3Remove unused8e1959bUse generated types for FolderActionPlugin and WorkspaceActionPlugin1c29f4dMerge branch 'main' into main📊 Changes
21 files changed (+801 additions, -29 deletions)
View changed files
📝
packages/plugin-runtime-types/src/bindings/gen_events.ts(+33 -1)📝
packages/plugin-runtime-types/src/plugins/Context.ts(+8 -0)➕
packages/plugin-runtime-types/src/plugins/FolderActionPlugin.ts(+6 -0)➕
packages/plugin-runtime-types/src/plugins/WebSocketRequestActionPlugin.ts(+6 -0)➕
packages/plugin-runtime-types/src/plugins/WorkspaceActionPlugin.ts(+6 -0)📝
packages/plugin-runtime-types/src/plugins/index.ts(+8 -0)📝
packages/plugin-runtime/src/PluginInstance.ts(+104 -0)📝
src-tauri/src/http_request.rs(+6 -6)📝
src-tauri/src/lib.rs(+87 -6)📝
src-tauri/src/plugin_events.rs(+30 -3)📝
src-tauri/yaak-models/src/models.rs(+3 -3)📝
src-tauri/yaak-plugins/bindings/gen_events.ts(+33 -1)📝
src-tauri/yaak-plugins/src/events.rs(+145 -0)📝
src-tauri/yaak-plugins/src/manager.rs(+123 -8)📝
src-web/components/Sidebar.tsx(+23 -0)📝
src-web/components/WorkspaceActionsDropdown.tsx(+20 -1)📝
src-web/components/core/Editor/twig/twig.test.ts(+2 -0)➕
src-web/hooks/useFolderActions.ts(+50 -0)➕
src-web/hooks/useWebSocketRequestActions.ts(+52 -0)➕
src-web/hooks/useWorkspaceActions.ts(+50 -0)...and 1 more files
📄 Description
Plugin Runtime Types — Collection Actions
Primary use case: export actions or similar for all items in a collection, supporting folders, requests and exposing read/write to provide export (and potentially import)
PR should solve or enable solutions for:
httpCollectionActionsDefine custom actions that appear in folder/workspace context menus.
Field on
PluginDefinition:httpCollectionActions?: HttpCollectionActionPlugin[]HttpCollectionActionPluginshape:label: string— displayed in context menuicon?: Icon— optional icon for the actiononSelect(ctx: Context, args: CallHttpCollectionActionArgs)— called when user invokes the actionCallHttpCollectionActionArgsshape:folder?: Folder— present when action was invoked on a folderworkspace?: Workspace— present when action was invoked on a workspaceNotes:
ctx.folder.list()andctx.httpRequest.list()New Context APIs
ctx.folder.list(args)List all folders in a workspace.
ctx.file.writeText(filePath, content)Write text content to a file.
ctx.file.readText(filePath)Read text content from a file.
ctx.httpRequest.list(args)List all requests in a workspace or folder.
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.