trigger.dev 4.0.0-v4-beta.28 → 4.0.0
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/README.md +26 -30
- package/dist/esm/version.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,10 +1,30 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/a45d1fa2-0ae8-4a39-4409-f4f934bfae00/public">
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/3f5ad4c1-c4c8-4277-b622-290e7f37bd00/public">
|
|
5
|
+
<img alt="Trigger.dev logo" src="https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/a45d1fa2-0ae8-4a39-4409-f4f934bfae00/public">
|
|
6
|
+
</picture>
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/trigger.dev)
|
|
9
|
+
[](https://www.npmjs.com/package/trigger.dev)
|
|
10
|
+
[](https://github.com/triggerdotdev/trigger.dev)
|
|
11
|
+
[](https://www.typescriptlang.org/)
|
|
12
|
+
[](https://opensource.org/licenses/MIT)
|
|
13
|
+
[](https://github.com/triggerdotdev/trigger.dev)
|
|
14
|
+
|
|
15
|
+
[Discord](https://trigger.dev/discord) | [Website](https://trigger.dev) | [Issues](https://github.com/triggerdotdev/trigger.dev/issues) | [Docs](https://trigger.dev/docs) | [Examples](https://trigger.dev/docs/examples)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
1
19
|
# Trigger.dev CLI
|
|
2
20
|
|
|
3
21
|
A CLI that allows you to create, run locally and deploy Trigger.dev background tasks.
|
|
4
22
|
|
|
5
23
|
Note: this only works with Trigger.dev v3 projects and later. For older projects use the [@trigger.dev/cli](https://www.npmjs.com/package/@trigger.dev/cli) package.
|
|
6
24
|
|
|
7
|
-
Trigger.dev
|
|
25
|
+
## About Trigger.dev
|
|
26
|
+
|
|
27
|
+
Trigger.dev is an open source platform for building and deploying fully-managed AI agents and workflows. Write workflows in normal async TypeScript for everything from simple tasks to long-running AI agents, heavy media processing, complex real-time systems and more. Complete with full observability, managed queues, and elastic infrastructure which handles the horizontal scaling.
|
|
8
28
|
|
|
9
29
|
## Commands
|
|
10
30
|
|
|
@@ -17,38 +37,14 @@ Trigger.dev is an open source platform that makes it easy to create event-driven
|
|
|
17
37
|
| [whoami](https://trigger.dev/docs/cli-whoami-commands) | Display the current logged in user and project details. |
|
|
18
38
|
| [logout](https://trigger.dev/docs/cli-logout-commands) | Logout of Trigger.dev. |
|
|
19
39
|
| [list-profiles](https://trigger.dev/docs/cli-list-profiles-commands) | List all of your CLI profiles. |
|
|
40
|
+
| [preview archive](https://trigger.dev/docs/cli-preview-archive) | Archive a preview branch. |
|
|
41
|
+
| [promote](https://trigger.dev/docs/cli-promote-commands) | Promote a previously deployed version to the current version. |
|
|
42
|
+
| [switch](https://trigger.dev/docs/cli-switch) | Switch between CLI profiles. |
|
|
20
43
|
| [update](https://trigger.dev/docs/cli-update-commands) | Updates all `@trigger.dev/*` packages to match the CLI version. |
|
|
21
44
|
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that allows you to provide custom tools
|
|
25
|
-
to agentic LLM clients, like [Claude for Desktop](https://docs.anthropic.com/en/docs/claude-for-desktop/overview), [Cursor](https://www.cursor.com/), [Windsurf](https://windsurf.com/), etc...
|
|
26
|
-
|
|
27
|
-
The Trigger.dev CLI can expose an MCP server and enable you interact with Trigger.dev in agentic LLM workflows. For example, you can use
|
|
28
|
-
it to trigger tasks via natural language, view task runs, view logs, debug issues with task runs, etc...
|
|
29
|
-
|
|
30
|
-
### Starting the Trigger.dev MCP Server
|
|
31
|
-
|
|
32
|
-
To start the Trigger.dev MCP server, simply pass the `--mcp` flag to the `dev` command:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
trigger dev --mcp
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
By default it runs on port `3333`. You can change this by passing the `--mcp-port` flag:
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
trigger dev --mcp --mcp-port 3334
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Configuring your MCP client
|
|
45
|
-
|
|
46
|
-
This depends on what tool you are using. For Cursor, the configuration is in the [.cursor/mcp.json](../../.cursor/mcp.json) file
|
|
47
|
-
and should be good to go as long as you use the default MCP server port.
|
|
48
|
-
|
|
49
|
-
Check out [Cursor's docs](https://docs.cursor.com/context/model-context-protocol) for further details.
|
|
45
|
+
## CLI documentation
|
|
50
46
|
|
|
51
|
-
|
|
47
|
+
For more information on the CLI, please refer to our [docs](https://trigger.dev/docs/cli-introduction).
|
|
52
48
|
|
|
53
49
|
## Support
|
|
54
50
|
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "4.0.0
|
|
1
|
+
export const VERSION = "4.0.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trigger.dev",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A Command-Line Interface for Trigger.dev (v3) projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"@opentelemetry/resources": "2.0.1",
|
|
81
81
|
"@opentelemetry/sdk-trace-node": "2.0.1",
|
|
82
82
|
"@opentelemetry/semantic-conventions": "1.36.0",
|
|
83
|
-
"@trigger.dev/build": "4.0.0
|
|
84
|
-
"@trigger.dev/core": "4.0.0
|
|
85
|
-
"@trigger.dev/schema-to-json": "4.0.0
|
|
83
|
+
"@trigger.dev/build": "4.0.0",
|
|
84
|
+
"@trigger.dev/core": "4.0.0",
|
|
85
|
+
"@trigger.dev/schema-to-json": "4.0.0",
|
|
86
86
|
"ansi-escapes": "^7.0.0",
|
|
87
87
|
"braces": "^3.0.3",
|
|
88
88
|
"c12": "^1.11.1",
|