This repository was archived by the owner on Mar 30, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add lifecycle hooks to plugin manifests (AGE-203) #151
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4ccb018
feat: add hooks field to PluginManifestSchema (AGE-204)
0d4dc4d
feat: implement manifest hook execution engine (AGE-205)
912adfd
feat: integrate manifest hooks into provisioning pipeline (AGE-206)
705ba35
Merge remote-tracking branch 'origin/main' into feat/manifest-hooks-s…
c56046c
merge: main into feat/manifest-hooks-schema
ccb63c2
feat: test hooks E2E with echo-based stub manifests
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
packages/cli/__e2e__/helpers/fixtures/plugin-identity/plugins/test-linear.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: test-linear | ||
| displayName: Test Linear | ||
| installable: true | ||
| needsFunnel: true | ||
| configPath: plugins.entries | ||
| secrets: | ||
| apiKey: | ||
| envVar: LINEAR_API_KEY | ||
| scope: agent | ||
| isSecret: true | ||
| required: true | ||
| autoResolvable: false | ||
| validator: "lin_api_" | ||
| webhookSecret: | ||
| envVar: LINEAR_WEBHOOK_SECRET | ||
| scope: agent | ||
| isSecret: true | ||
| required: true | ||
| autoResolvable: false | ||
| linearUserUuid: | ||
| envVar: LINEAR_USER_UUID | ||
| scope: agent | ||
| isSecret: false | ||
| required: false | ||
| autoResolvable: true | ||
| internalKeys: | ||
| - agentId | ||
| - linearUserUuid | ||
| configTransforms: [] | ||
| webhookSetup: | ||
| urlPath: "/hooks/linear" | ||
| secretKey: webhookSecret | ||
| instructions: | ||
| - "1. Create webhook" | ||
| - "2. Paste URL" | ||
| configJsonPath: "plugins.entries.test-linear.config.webhookSecret" | ||
| hooks: | ||
| resolve: | ||
| linearUserUuid: 'echo "test-resolved-uuid-$(echo $LINEAR_API_KEY | cut -c1-8)"' |
22 changes: 22 additions & 0 deletions
22
packages/cli/__e2e__/helpers/fixtures/plugin-identity/plugins/test-slack.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: test-slack | ||
| displayName: Test Slack | ||
| installable: false | ||
| needsFunnel: false | ||
| configPath: channels | ||
| secrets: | ||
| botToken: | ||
| envVar: SLACK_BOT_TOKEN | ||
| scope: agent | ||
| isSecret: true | ||
| required: true | ||
| autoResolvable: false | ||
| validator: "xoxb-" | ||
| appToken: | ||
| envVar: SLACK_APP_TOKEN | ||
| scope: agent | ||
| isSecret: true | ||
| required: true | ||
| autoResolvable: false | ||
| validator: "xapp-" | ||
| internalKeys: [] | ||
| configTransforms: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: stepandel/clawup
Length of output: 183
Remove unused
runLifecycleHookimport from line 24.The function is imported but never used in this file. Only
resolvePluginSecretsfrom the same import is actually called (line 351).🤖 Prompt for AI Agents