run402 3.8.2 → 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.
@@ -1,214 +1,36 @@
1
- import { resolveProjectId } from "./config.mjs";
2
- import { getSdk } from "./sdk.mjs";
3
- import { reportSdkError, fail } from "./sdk-errors.mjs";
4
- import { assertKnownFlags, flagValue, normalizeArgv, positionalArgs } from "./argparse.mjs";
1
+ import { fail } from "./sdk-errors.mjs";
5
2
 
6
- const HELP = `run402 sender-domain — Manage custom email sender domain
3
+ const HELP = `run402 sender-domain — removed
7
4
 
8
5
  Usage:
9
- run402 sender-domain <subcommand> [args...]
6
+ run402 sender-domain --help
10
7
 
11
- Subcommands:
12
- register <domain> [--project <id>] Register a custom sender domain (returns DNS records)
13
- status [--project <id>] Check domain verification status
14
- remove [--project <id>] Remove custom sender domain
15
- inbound-enable <domain> [--project <id>] Enable inbound email (requires DKIM-verified)
16
- inbound-disable <domain> [--project <id>] Disable inbound email
8
+ The split sender-domain workflow has been replaced by ProjectDomain:
17
9
 
18
- Examples:
19
- run402 sender-domain register kysigned.com
20
- run402 sender-domain status
21
- run402 sender-domain remove
22
- run402 sender-domain inbound-enable kysigned.com
23
- run402 sender-domain inbound-disable kysigned.com
10
+ run402 domains connect <domain> --project <id> --email-send --email-receive --mailbox-addresses primary --addresses info
11
+ run402 domains status <domain> --project <id>
12
+ run402 domains repair <domain> --project <id>
24
13
  `;
25
14
 
26
- const SUB_HELP = {
27
- register: `run402 sender-domain register Register a custom sender domain
28
-
29
- Usage:
30
- run402 sender-domain register <domain> [--project <id>]
31
-
32
- Arguments:
33
- <domain> Custom sender domain (e.g. kysigned.com)
34
-
35
- Options:
36
- --project <id> Project ID (defaults to the active project)
37
-
38
- Notes:
39
- - Returns DNS records (DKIM, SPF, DMARC) to add at your DNS provider
40
- - Use 'run402 sender-domain status' to poll until verified
41
-
42
- Examples:
43
- run402 sender-domain register kysigned.com
44
- run402 sender-domain register kysigned.com --project prj_abc123
45
- `,
46
- status: `run402 sender-domain status — Check verification status of the project's sender domain
47
-
48
- Usage:
49
- run402 sender-domain status [--project <id>]
50
-
51
- Options:
52
- --project <id> Project ID (defaults to the active project)
53
-
54
- Examples:
55
- run402 sender-domain status
56
- run402 sender-domain status --project prj_abc123
57
- `,
58
- remove: `run402 sender-domain remove — Remove the project's custom sender domain
59
-
60
- Usage:
61
- run402 sender-domain remove [--project <id>]
62
-
63
- Options:
64
- --project <id> Project ID (defaults to the active project)
65
-
66
- Examples:
67
- run402 sender-domain remove
68
- run402 sender-domain remove --project prj_abc123
69
- `,
70
- "inbound-enable": `run402 sender-domain inbound-enable — Enable inbound email for a sender domain
71
-
72
- Usage:
73
- run402 sender-domain inbound-enable <domain> [--project <id>]
74
-
75
- Arguments:
76
- <domain> Custom sender domain to enable inbound on
77
-
78
- Options:
79
- --project <id> Project ID (defaults to the active project)
80
-
81
- Notes:
82
- - Requires the domain to be DKIM-verified first
83
-
84
- Examples:
85
- run402 sender-domain inbound-enable kysigned.com
86
- `,
87
- "inbound-disable": `run402 sender-domain inbound-disable — Disable inbound email for a sender domain
88
-
89
- Usage:
90
- run402 sender-domain inbound-disable <domain> [--project <id>]
91
-
92
- Arguments:
93
- <domain> Custom sender domain to disable inbound on
94
-
95
- Options:
96
- --project <id> Project ID (defaults to the active project)
97
-
98
- Examples:
99
- run402 sender-domain inbound-disable kysigned.com
100
- `,
101
- };
102
-
103
- function parseFlag(args, flag) {
104
- return flagValue(normalizeArgv(args), flag);
105
- }
106
-
107
- async function register(args) {
108
- const parsedArgs = normalizeArgv(args);
109
- const valueFlags = ["--project"];
110
- assertKnownFlags(parsedArgs, [...valueFlags, "--help", "-h"], valueFlags);
111
- const positionals = positionalArgs(parsedArgs, valueFlags);
112
- let domain = positionals[0] ?? null;
113
- let projectOpt = flagValue(parsedArgs, "--project");
114
- if (positionals.length > 1) {
115
- fail({ code: "BAD_USAGE", message: `Unexpected argument for sender-domain register: ${positionals[1]}` });
116
- }
117
- const projectId = resolveProjectId(projectOpt);
118
-
119
- if (!domain) {
120
- fail({
121
- code: "BAD_USAGE",
122
- message: "Missing domain.",
123
- hint: "run402 sender-domain register <domain>",
124
- });
125
- }
126
-
127
- try {
128
- const data = await getSdk().senderDomain.register(projectId, domain);
129
- console.log(JSON.stringify(data, null, 2));
130
- } catch (err) {
131
- reportSdkError(err);
132
- }
133
- }
134
-
135
- async function status(args) {
136
- const parsedArgs = normalizeArgv(args);
137
- const valueFlags = ["--project"];
138
- assertKnownFlags(parsedArgs, [...valueFlags, "--help", "-h"], valueFlags);
139
- const extra = positionalArgs(parsedArgs, valueFlags);
140
- if (extra.length > 0) {
141
- fail({ code: "BAD_USAGE", message: `Unexpected argument for sender-domain status: ${extra[0]}` });
142
- }
143
- const projectId = resolveProjectId(parseFlag(args, "--project"));
144
- try {
145
- const data = await getSdk().senderDomain.status(projectId);
146
- console.log(JSON.stringify(data, null, 2));
147
- } catch (err) {
148
- reportSdkError(err);
149
- }
15
+ function replacementFor(sub) {
16
+ if (sub === "status") return "run402 domains status <domain> --project <id>";
17
+ if (sub === "remove") return "run402 domains disconnect <domain> --project <id> --confirm";
18
+ if (sub === "inbound-enable") return "run402 domains connect <domain> --project <id> --email-receive";
19
+ if (sub === "inbound-disable") return "run402 domains disconnect <domain> --project <id> --confirm";
20
+ return "run402 domains connect <domain> --project <id> --email-send";
150
21
  }
151
22
 
152
- async function remove(args) {
153
- const parsedArgs = normalizeArgv(args);
154
- const valueFlags = ["--project"];
155
- assertKnownFlags(parsedArgs, [...valueFlags, "--help", "-h"], valueFlags);
156
- const extra = positionalArgs(parsedArgs, valueFlags);
157
- if (extra.length > 0) {
158
- fail({ code: "BAD_USAGE", message: `Unexpected argument for sender-domain remove: ${extra[0]}` });
159
- }
160
- const projectId = resolveProjectId(parseFlag(args, "--project"));
161
- try {
162
- await getSdk().senderDomain.remove(projectId);
163
- console.log(JSON.stringify({ project_id: projectId, removed: true }));
164
- } catch (err) {
165
- reportSdkError(err);
166
- }
167
- }
168
-
169
- async function inboundToggle(action, args) {
170
- const parsedArgs = normalizeArgv(args);
171
- const valueFlags = ["--project"];
172
- assertKnownFlags(parsedArgs, [...valueFlags, "--help", "-h"], valueFlags);
173
- const positionals = positionalArgs(parsedArgs, valueFlags);
174
- let domain = positionals[0] ?? null;
175
- let projectOpt = flagValue(parsedArgs, "--project");
176
- if (positionals.length > 1) {
177
- fail({ code: "BAD_USAGE", message: `Unexpected argument for sender-domain inbound-${action}: ${positionals[1]}` });
178
- }
179
- const projectId = resolveProjectId(projectOpt);
180
-
181
- if (!domain) {
182
- fail({
183
- code: "BAD_USAGE",
184
- message: "Missing domain.",
185
- hint: `run402 sender-domain inbound-${action} <domain>`,
186
- });
187
- }
188
-
189
- try {
190
- if (action === "enable") {
191
- const data = await getSdk().senderDomain.enableInbound(projectId, domain);
192
- console.log(JSON.stringify(data, null, 2));
193
- } else {
194
- await getSdk().senderDomain.disableInbound(projectId, domain);
195
- console.log(JSON.stringify({ project_id: projectId, domain, inbound_enabled: false }));
196
- }
197
- } catch (err) {
198
- reportSdkError(err);
199
- }
200
- }
201
-
202
- export async function run(sub, args) {
203
- if (!sub || sub === "--help" || sub === "-h") { console.log(HELP); process.exit(0); }
204
- if (Array.isArray(args) && (args.includes("--help") || args.includes("-h"))) { console.log(SUB_HELP[sub] || HELP); process.exit(0); }
205
- switch (sub) {
206
- case "register": await register(args); break;
207
- case "status": await status(args); break;
208
- case "remove": await remove(args); break;
209
- case "inbound-enable": await inboundToggle("enable", args); break;
210
- case "inbound-disable": await inboundToggle("disable", args); break;
211
- default:
212
- fail({ code: "UNKNOWN_SUBCOMMAND", message: `Unknown sender-domain subcommand: ${sub}`, hint: "Run `run402 sender-domain --help` for usage.", details: { command: "sender-domain", subcommand: sub } });
213
- }
23
+ export async function run(sub) {
24
+ if (!sub || sub === "--help" || sub === "-h") {
25
+ console.log(HELP);
26
+ process.exit(0);
27
+ }
28
+ const command = `run402 sender-domain ${sub}`;
29
+ const replacement = replacementFor(sub);
30
+ fail({
31
+ code: "COMMAND_REMOVED",
32
+ message: `${command} has been removed. Use ProjectDomain via ${replacement}.`,
33
+ details: { command, replacement },
34
+ next_actions: [{ type: "use_replacement_command", command: replacement }],
35
+ });
214
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "3.8.2",
3
+ "version": "4.0.0",
4
4
  "description": "CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,73 +1,166 @@
1
1
  /**
2
- * `domains` namespace — custom domains (BYODomain) mapped to run402
3
- * subdomains. Manages the registration/verification lifecycle and DNS
4
- * instructions surfaced back to the user's DNS provider.
2
+ * `domains` namespace — ProjectDomain lifecycle.
3
+ *
4
+ * Domain operations are project-scoped control-plane actions. They use the
5
+ * SDK credential provider's server auth (SIWX, control-plane session, or
6
+ * delegate) and deliberately do not require local project-key cache entries.
5
7
  */
6
8
  import type { Client } from "../kernel.js";
7
- export type DomainAuthMode = "principal" | "service_key";
8
- export interface DomainAddOptions {
9
- domain: string;
10
- subdomainName: string;
11
- authMode?: DomainAuthMode;
9
+ export type ProjectDomainStatus = "action_required" | "waiting" | "active" | "needs_repair" | "failed";
10
+ export type ProjectDomainReceiveStrategy = "auto" | "outbound_only" | "forwarding_mode" | "subdomain_mode" | "full_receive_takeover";
11
+ export type ProjectDomainMailboxAddressMode = "primary" | "alias" | "managed" | "none";
12
+ export type ProjectDomainActivationMode = "automatic_when_ready" | "manual";
13
+ export type ProjectDomainWaitUntil = "active" | "safe" | "receive-active";
14
+ export interface ProjectDomainMailboxAddressBinding {
15
+ local_part: string;
16
+ mailbox_slug: string;
17
+ create_mailbox?: boolean;
12
18
  }
13
- export interface DnsInstructions {
14
- cname_target?: string;
15
- txt_name?: string;
16
- txt_value?: string;
19
+ export interface ProjectDomainDesired {
20
+ web?: {
21
+ enabled: boolean;
22
+ target?: string;
23
+ role?: "primary" | "alias";
24
+ };
25
+ email?: {
26
+ send?: {
27
+ enabled: boolean;
28
+ };
29
+ receive?: {
30
+ enabled: boolean;
31
+ strategy?: ProjectDomainReceiveStrategy;
32
+ resolved_strategy?: ProjectDomainReceiveStrategy;
33
+ observed_mx_fingerprint?: string;
34
+ mail_subdomain?: string;
35
+ };
36
+ mailbox_addresses?: {
37
+ mode: ProjectDomainMailboxAddressMode;
38
+ addresses: ProjectDomainMailboxAddressBinding[];
39
+ };
40
+ activation?: ProjectDomainActivationMode;
41
+ };
17
42
  }
18
- export interface CustomDomainAddResult {
19
- domain: string;
20
- subdomain_name: string;
21
- url: string;
22
- subdomain_url: string;
23
- status: string;
24
- dns_instructions: DnsInstructions | null;
25
- project_id: string | null;
26
- created_at: string;
43
+ export interface ProjectDomainCheck {
44
+ id: string;
45
+ status: "unknown" | "pending" | "passed" | "failed" | "drifted" | "blocked";
46
+ blocking: boolean;
47
+ reason_code?: string;
48
+ summary?: string;
49
+ blocked_by?: string[];
50
+ checked_at?: string;
27
51
  }
28
- export interface CustomDomainSummary {
29
- domain: string;
30
- subdomain_name: string;
31
- url: string;
32
- subdomain_url: string;
33
- status: string;
34
- created_at: string;
52
+ export interface ProjectDomainDnsRecord {
53
+ id: string;
54
+ purpose: string;
55
+ type: string;
56
+ name: string;
57
+ value: string;
58
+ priority?: number;
59
+ required: boolean;
60
+ status: "unknown" | "missing" | "present" | "conflict";
61
+ safety: {
62
+ safe_to_auto_run: boolean;
63
+ confirmation_required: boolean;
64
+ destructive: boolean;
65
+ external_required: boolean;
66
+ conflict_policy?: string;
67
+ [key: string]: unknown;
68
+ };
69
+ bind?: string;
35
70
  }
36
- export interface CustomDomainListResult {
37
- domains: CustomDomainSummary[];
71
+ export interface ProjectDomainNextAction {
72
+ type: string;
73
+ method?: string;
74
+ path?: string;
75
+ auth?: string;
76
+ why?: string;
77
+ safe_to_auto_run?: boolean;
78
+ destructive?: boolean;
79
+ confirmation_required?: boolean;
80
+ external_required?: boolean;
81
+ affected_record_ids?: string[];
82
+ [key: string]: unknown;
38
83
  }
39
- export interface CustomDomainStatusResult {
40
- domain: string;
41
- subdomain_name: string;
42
- url: string;
43
- subdomain_url: string;
44
- status: string;
45
- dns_instructions: DnsInstructions | null;
84
+ export interface ProjectDomainReceiveTest {
85
+ id: string;
86
+ local_part: string;
87
+ address: string;
88
+ target_managed_address: string;
89
+ token: string;
90
+ status: "pending" | "passed" | "failed" | "stale";
46
91
  created_at: string;
92
+ passed_at?: string | null;
47
93
  }
48
- export interface CustomDomainRemoveOptions {
49
- projectId?: string;
50
- authMode?: DomainAuthMode;
51
- }
52
- export interface CustomDomainRemoveResult {
53
- status: string;
94
+ export interface ProjectDomain {
95
+ project_id: string;
54
96
  domain: string;
97
+ status: ProjectDomainStatus;
98
+ desired: ProjectDomainDesired;
99
+ observed: Record<string, unknown>;
100
+ effective: Record<string, unknown>;
101
+ authority: {
102
+ recommended_mode: string;
103
+ options: Array<Record<string, unknown>>;
104
+ };
105
+ dns_records: ProjectDomainDnsRecord[];
106
+ checks: ProjectDomainCheck[];
107
+ next_action: ProjectDomainNextAction | null;
108
+ alternate_actions: ProjectDomainNextAction[];
109
+ provenance: {
110
+ project: "server_control_plane";
111
+ desired: "server_control_plane";
112
+ observed_dns: "public_dns_resolvers";
113
+ effective: "run402_control_plane";
114
+ local_cache: "not_used";
115
+ };
116
+ created_at?: string;
117
+ updated_at?: string;
118
+ }
119
+ export interface ProjectDomainListResult {
120
+ domains: ProjectDomain[];
121
+ }
122
+ export interface ProjectDomainEnsureOptions {
123
+ desired: ProjectDomainDesired;
55
124
  }
56
- export interface DomainRequestOptions {
57
- authMode?: DomainAuthMode;
125
+ export interface ProjectDomainTestReceiveResult extends ProjectDomain {
126
+ receive_test: ProjectDomainReceiveTest;
58
127
  }
128
+ export interface ProjectDomainWaitOptions {
129
+ until?: ProjectDomainWaitUntil;
130
+ timeoutMs?: number;
131
+ intervalMs?: number;
132
+ }
133
+ export type DomainAddOptions = {
134
+ domain: string;
135
+ subdomainName?: string;
136
+ };
137
+ export type DomainRequestOptions = Record<string, never>;
138
+ export type CustomDomainRemoveOptions = {
139
+ projectId?: string;
140
+ };
59
141
  export declare class Domains {
60
142
  private readonly client;
61
143
  constructor(client: Client);
62
- /** Register a custom domain. Returns DNS records the user must add at their DNS provider. */
63
- add(projectId: string, opts: DomainAddOptions): Promise<CustomDomainAddResult>;
64
- /** @deprecated Two same-type strings are swap-prone. Use `add(projectId, { domain, subdomainName })`. */
65
- add(projectId: string, domain: string, subdomainName: string): Promise<CustomDomainAddResult>;
66
- /** List all custom domains registered for a project. */
67
- list(projectId: string, opts?: DomainRequestOptions): Promise<CustomDomainListResult>;
68
- /** Check verification/SSL status for a specific custom domain. */
69
- status(projectId: string, domain: string, opts?: DomainRequestOptions): Promise<CustomDomainStatusResult>;
70
- /** Release a custom domain. `projectId` is optional for ownership-free removal. */
71
- remove(domain: string, opts?: CustomDomainRemoveOptions): Promise<CustomDomainRemoveResult>;
144
+ ensure(projectId: string, domain: string, opts: ProjectDomainEnsureOptions): Promise<ProjectDomain>;
145
+ get(projectId: string, domain: string): Promise<ProjectDomain>;
146
+ list(projectId: string): Promise<ProjectDomainListResult>;
147
+ check(projectId: string, domain: string): Promise<ProjectDomain>;
148
+ apply(projectId: string, domain: string): Promise<ProjectDomain>;
149
+ repair(projectId: string, domain: string): Promise<ProjectDomain>;
150
+ testReceive(projectId: string, domain: string, to: string): Promise<ProjectDomainTestReceiveResult>;
151
+ activate(projectId: string, domain: string): Promise<ProjectDomain>;
152
+ disconnect(projectId: string, domain: string): Promise<{
153
+ status: string;
154
+ domain: string;
155
+ }>;
156
+ wait(projectId: string, domain: string, opts?: ProjectDomainWaitOptions): Promise<ProjectDomain>;
157
+ /** @deprecated Removed. Use ensure(projectId, domain, { desired }). */
158
+ add(projectId: string, opts: DomainAddOptions): Promise<never>;
159
+ /** @deprecated Removed. Use ensure(projectId, domain, { desired }). */
160
+ add(projectId: string, domain: string, subdomainName: string): Promise<never>;
161
+ /** @deprecated Removed. Use get(projectId, domain). */
162
+ status(projectId: string, domain: string): Promise<never>;
163
+ /** @deprecated Removed. Use disconnect(projectId, domain). */
164
+ remove(domain: string, opts?: CustomDomainRemoveOptions): Promise<never>;
72
165
  }
73
166
  //# sourceMappingURL=domains.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domains.d.ts","sourceRoot":"","sources":["../../src/namespaces/domains.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAI3C,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,aAAa,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,eAAe,GAAG,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAA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