@dura-run/cli 0.2.0 → 0.3.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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dura-run/cli",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "CLI for the dura.run managed automation platform",
5
- "license": "MIT",
5
+ "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "dura": "dist/dura.js"
@@ -17,14 +17,6 @@
17
17
  "node": ">=20"
18
18
  },
19
19
  "homepage": "https://dura.run",
20
- "bugs": {
21
- "url": "https://github.com/dura-run/dura-run/issues"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/dura-run/dura-run.git",
26
- "directory": "packages/cli"
27
- },
28
20
  "publishConfig": {
29
21
  "access": "public",
30
22
  "registry": "https://registry.npmjs.org"
@@ -45,11 +37,11 @@
45
37
  "test": "vitest run"
46
38
  },
47
39
  "dependencies": {
48
- "tsx": "^4.21.0"
40
+ "esbuild": "0.28.0",
41
+ "tsx": "4.21.0"
49
42
  },
50
43
  "devDependencies": {
51
44
  "@dura/shared": "workspace:*",
52
- "commander": "^14.0.3",
53
- "esbuild": "^0.28.0"
45
+ "commander": "^14.0.3"
54
46
  }
55
47
  }
@@ -1,4 +1,4 @@
1
- # Dura.run — Debugging Guide
1
+ # dura.run — Debugging Guide
2
2
 
3
3
  > This skill teaches an AI agent how to trigger automations, read logs, run diagnostics, replay executions, and use snapshot tests for debugging and quality assurance.
4
4
 
@@ -1,4 +1,4 @@
1
- # Dura.run — Deployment Guide
1
+ # dura.run — Deployment Guide
2
2
 
3
3
  > This skill teaches an AI agent how to deploy automations, manage deployments, handle rollbacks, and configure multi-environment workflows.
4
4
 
@@ -217,7 +217,7 @@ dura secrets remove OLD_API_KEY --project proj_abc123 --confirm
217
217
 
218
218
  ## Deployment Workflow — Step by Step
219
219
 
220
- Here is the recommended workflow for deploying a Dura project:
220
+ Here is the recommended workflow for deploying a dura project:
221
221
 
222
222
  ### 1. Develop and Test Locally
223
223
 
@@ -1,4 +1,4 @@
1
- # Dura.run — Development Guide
1
+ # dura.run — Development Guide
2
2
 
3
3
  > This skill teaches an AI agent how to scaffold projects, write automation handlers, use SDK globals, and run locally with `dura dev`.
4
4
 
@@ -34,7 +34,7 @@ my-api/
34
34
 
35
35
  ### `dura init` — Initialize an Existing Directory
36
36
 
37
- Use `dura init` when you already have a directory and want to turn it into a Dura project:
37
+ Use `dura init` when you already have a directory and want to turn it into a dura project:
38
38
 
39
39
  ```bash
40
40
  cd my-existing-project
@@ -1,10 +1,10 @@
1
- # Dura.run — Platform Overview
1
+ # dura.run — Platform Overview
2
2
 
3
- > This skill teaches an AI agent the core concepts, project structure, and deployment lifecycle of the Dura.run automation platform.
3
+ > This skill teaches an AI agent the core concepts, project structure, and deployment lifecycle of the dura.run automation platform.
4
4
 
5
- ## What Is Dura.run?
5
+ ## What Is dura.run?
6
6
 
7
- Dura.run is a managed automation platform where developers build, deploy, and debug JavaScript/TypeScript automations. Automations run in secure V8 isolates on the Dura cloud — you write handler functions, define triggers, and Dura handles execution, scaling, logging, and monitoring.
7
+ dura.run is a managed automation platform where developers build, deploy, and debug JavaScript/TypeScript automations. Automations run in secure V8 isolates on the dura cloud — you write handler functions, define triggers, and dura handles execution, scaling, logging, and monitoring.
8
8
 
9
9
  Think of it as "serverless functions with built-in observability and an automation-first developer experience."
10
10
 
@@ -61,7 +61,7 @@ Each environment has its own secrets, deployment state, and URL.
61
61
 
62
62
  ## Project Structure
63
63
 
64
- A Dura project is a directory with this layout:
64
+ A dura project is a directory with this layout:
65
65
 
66
66
  ```
67
67
  my-project/
@@ -178,9 +178,9 @@ export default async function handler(req: DuraRequest): Promise<DuraResponse> {
178
178
 
179
179
  | Command | Purpose |
180
180
  |---------|---------|
181
- | `dura login` | Authenticate with the Dura control plane |
182
- | `dura init` | Initialize a Dura project in the current directory |
183
- | `dura new <name>` | Scaffold a new Dura project in a new directory |
181
+ | `dura login` | Authenticate with the dura control plane |
182
+ | `dura init` | Initialize a dura project in the current directory |
183
+ | `dura new <name>` | Scaffold a new dura project in a new directory |
184
184
  | `dura dev` | Start local development server with hot-reload |
185
185
  | `dura deploy` | Bundle and deploy to an environment |
186
186
  | `dura run <name>` | Manually trigger an automation |