Skip to content

Add dokploy-manager extension - #29418

Closed
merttopuz wants to merge 1 commit into
raycast:mainfrom
merttopuz:ext/dokploy-manager
Closed

merttopuz wants to merge 1 commit into
raycast:mainfrom
merttopuz:ext/dokploy-manager

Conversation

@merttopuz

@merttopuz merttopuz commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

Screencast

Checklist

- Rename extension to dokploy-manager
- Add Dokploy extension for Raycast
@raycastbot raycastbot added new extension Label for PRs with new extensions AI Extension platform: macOS labels Jul 13, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a new Raycast extension for managing Dokploy servers. The main changes are:

  • New Dokploy account storage and API client.
  • Project, service, deployment, log, and menu-bar views.
  • Service lifecycle actions for deploy, restart, stop, reload, rebuild, and delete.
  • Raycast AI tools for listing, inspecting, deploying, and controlling services.
  • Extension metadata, assets, changelog, and build configuration.

Confidence Score: 5/5

This looks safe to merge after small preference-typing cleanup.

  • No blocking runtime issue was found in the changed service, deployment, or account flows.
  • The remaining comments are about using Raycast-generated preference types instead of local copies.

extensions/dokploy-manager/src/menu-bar.tsx and extensions/dokploy-manager/src/components/service-logs.tsx

Important Files Changed

Filename Overview
extensions/dokploy-manager/package.json Adds the Raycast extension manifest, commands, tools, preferences, dependencies, and scripts.
extensions/dokploy-manager/src/api/client.ts Adds URL normalization and a Dokploy fetch wrapper with API-key auth, timeouts, and structured errors.
extensions/dokploy-manager/src/api/dokploy-api.ts Adds Dokploy API helpers for projects, services, lifecycle actions, logs, deployments, rollback, and domains.
extensions/dokploy-manager/src/lib/service-kinds.ts Adds the service-kind registry used for route names, ids, status fields, actions, and UI labels.
extensions/dokploy-manager/src/lib/ai.ts Adds shared AI-tool helpers for account selection, service loading, service matching, and safe summaries.
extensions/dokploy-manager/src/menu-bar.tsx Adds the Dokploy menu-bar status view and lifecycle shortcuts, with a local preference type that should use the generated Raycast type.
extensions/dokploy-manager/src/components/service-logs.tsx Adds service log viewing with a configurable tail length, with a local preference type that should use the generated Raycast type.
extensions/dokploy-manager/src/tools/control-service.ts Adds an AI tool for starting, stopping, and reloading services with confirmation details.
extensions/dokploy-manager/src/tools/deploy-service.ts Adds an AI tool for queuing the right deploy, redeploy, or rebuild action for each service kind.
Prompt To Fix All With AI
Fix the following 2 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 2
extensions/dokploy-manager/src/menu-bar.tsx:37-50
**Manual Preference Type Drift**

This command defines its own `Preferences` shape for `menuBarScope` instead of using the Raycast-generated type. If the command preference changes in `package.json`, this local copy can still typecheck while the command reads the wrong shape at runtime.

### Issue 2 of 2
extensions/dokploy-manager/src/components/service-logs.tsx:9-16
**Manual Preference Type Drift**

This component defines a local `Preferences` interface for `logTail`. Raycast generates this type from the manifest, so a later change to the preference schema can leave this code reading a stale field while TypeScript still accepts it.

Reviews (1): Last reviewed commit: "Add dokploy-manager extension" | Re-trigger Greptile

Comment on lines +37 to +50
interface Preferences {
/** Whether the menu bar watches every connected instance or only the active one. */
menuBarScope?: "all" | "active";
}

const LIFECYCLE_ACTIONS: ServiceAction[] = ["deploy", "redeploy", "rebuild", "start", "stop", "reload"];

/**
* Service health across every connected Dokploy instance. The icon turns red the moment anything
* anywhere is in `error`, which is the whole point - you find out without going looking.
*/
export default function MenuBar() {
const { accounts, activeAccount, isLoading: accountsLoading, hasAccounts } = useAccounts();
const { menuBarScope = "all" } = getPreferenceValues<Preferences>();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Manual Preference Type Drift

This command defines its own Preferences shape for menuBarScope instead of using the Raycast-generated type. If the command preference changes in package.json, this local copy can still typecheck while the command reads the wrong shape at runtime.

Rule Used: What: Don't manually define Preferences for `get... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/dokploy-manager/src/menu-bar.tsx
Line: 37-50

Comment:
**Manual Preference Type Drift**

This command defines its own `Preferences` shape for `menuBarScope` instead of using the Raycast-generated type. If the command preference changes in `package.json`, this local copy can still typecheck while the command reads the wrong shape at runtime.

**Rule Used:** What: Don't manually define `Preferences` for `get... ([source](https://app.greptile.com/raycast/-/custom-context?memory=d93fc9fb-a45d-4479-a6a4-b1b4af98ebc8))

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +9 to +16
interface Preferences {
logTail?: string;
}

const DEFAULT_TAIL = 200;

function resolveTail(): number {
const raw = getPreferenceValues<Preferences>().logTail;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Manual Preference Type Drift

This component defines a local Preferences interface for logTail. Raycast generates this type from the manifest, so a later change to the preference schema can leave this code reading a stale field while TypeScript still accepts it.

Rule Used: What: Don't manually define Preferences for `get... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/dokploy-manager/src/components/service-logs.tsx
Line: 9-16

Comment:
**Manual Preference Type Drift**

This component defines a local `Preferences` interface for `logTail`. Raycast generates this type from the manifest, so a later change to the preference schema can leave this code reading a stale field while TypeScript still accepts it.

**Rule Used:** What: Don't manually define `Preferences` for `get... ([source](https://app.greptile.com/raycast/-/custom-context?memory=d93fc9fb-a45d-4479-a6a4-b1b4af98ebc8))

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@merttopuz
merttopuz marked this pull request as ready for review July 13, 2026 16:43
@xmok

xmok commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Hi @merttopuz:

There's already a Dokploy extension in Store: https://www.raycast.com/xmok/dokploy.

Is it possible to incorporate your features into that one?

Also, see: Extensions Guidelines

Best!

@merttopuz

Copy link
Copy Markdown
Contributor Author

Hi, thanks for pointing this out - I hadn't seen xmok's extension in the Store.

I'm happy to contribute rather than duplicate. What I built is quite a bit broader in scope than the existing extension: it adds a menu-bar service monitor, multi-account switching, deploy/start/stop/reload actions, build and runtime log viewers, and a set of AI tools. I'd like to fold those into xmok/dokploy if the maintainer is open to it.

I'll open an issue on their side to propose it and coordinate. If the extension turns out to be unmaintained, or the maintainer would rather not take a change this large, would it be okay to revisit this PR then?

Thanks!

@xmok

xmok commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Hi again:

I'm sure the author would be open to integrating your features considering it's me 😅.

I haven't gone through all of your code but it should be possible to integrate most of the features w/o breaking existing user workflows.

Feel free to open a PR or ping me if you'd like to discuss first.

Best.

@0xdhrv 0xdhrv self-assigned this Jul 31, 2026
@0xdhrv

0xdhrv commented Jul 31, 2026

Copy link
Copy Markdown
Member

Closing this as per discussion above, and also since it is a duplicate of existing extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension new extension Label for PRs with new extensions platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants