@heroku/plugin-compute 0.1.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.
Files changed (48) hide show
  1. package/lib/commands/compute/display/telemetry-drain.d.ts +26 -0
  2. package/lib/commands/compute/display/telemetry-drain.js +77 -0
  3. package/lib/commands/compute/display/telemetry-drain.js.map +1 -0
  4. package/lib/commands/compute/{config/get.d.ts → get/config.d.ts} +2 -0
  5. package/lib/commands/compute/{config/get.js → get/config.js} +9 -2
  6. package/lib/commands/compute/get/config.js.map +1 -0
  7. package/lib/commands/compute/{config/list.d.ts → list/config.d.ts} +2 -0
  8. package/lib/commands/compute/{config/list.js → list/config.js} +9 -2
  9. package/lib/commands/compute/list/config.js.map +1 -0
  10. package/lib/commands/compute/list/telemetry-drain.d.ts +20 -0
  11. package/lib/commands/compute/list/telemetry-drain.js +89 -0
  12. package/lib/commands/compute/list/telemetry-drain.js.map +1 -0
  13. package/lib/commands/compute/{config/set.d.ts → set/config.d.ts} +2 -0
  14. package/lib/commands/compute/{config/set.js → set/config.js} +9 -2
  15. package/lib/commands/compute/set/config.js.map +1 -0
  16. package/lib/commands/compute/{config/unset.d.ts → unset/config.d.ts} +2 -0
  17. package/lib/commands/compute/{config/unset.js → unset/config.js} +9 -2
  18. package/lib/commands/compute/unset/config.js.map +1 -0
  19. package/lib/shared/computeConfig.js +2 -2
  20. package/lib/shared/computeConfig.js.map +1 -1
  21. package/lib/shared/computeQuery.d.ts +1 -0
  22. package/lib/shared/computeQuery.js +37 -42
  23. package/lib/shared/computeQuery.js.map +1 -1
  24. package/lib/shared/computeTelemetryDrain.js +23 -15
  25. package/lib/shared/computeTelemetryDrain.js.map +1 -1
  26. package/lib/shared/herokuProxyApi.d.ts +30 -0
  27. package/lib/shared/herokuProxyApi.js +102 -2
  28. package/lib/shared/herokuProxyApi.js.map +1 -1
  29. package/messages/compute.display.telemetry-drain.md +19 -0
  30. package/messages/compute.errors.md +35 -1
  31. package/messages/{compute.config.list.md → compute.list.config.md} +3 -3
  32. package/messages/compute.list.telemetry-drain.md +26 -0
  33. package/npm-shrinkwrap.json +292 -143
  34. package/oclif.manifest.json +304 -154
  35. package/package.json +12 -6
  36. package/schemas/compute-display-telemetry__drain.json +54 -0
  37. package/schemas/compute-list-telemetry__drain.json +43 -0
  38. package/lib/commands/compute/config/get.js.map +0 -1
  39. package/lib/commands/compute/config/list.js.map +0 -1
  40. package/lib/commands/compute/config/set.js.map +0 -1
  41. package/lib/commands/compute/config/unset.js.map +0 -1
  42. /package/messages/{compute.config.get.md → compute.get.config.md} +0 -0
  43. /package/messages/{compute.config.set.md → compute.set.config.md} +0 -0
  44. /package/messages/{compute.config.unset.md → compute.unset.config.md} +0 -0
  45. /package/schemas/{compute-config-get.json → compute-get-config.json} +0 -0
  46. /package/schemas/{compute-config-list.json → compute-list-config.json} +0 -0
  47. /package/schemas/{compute-config-set.json → compute-set-config.json} +0 -0
  48. /package/schemas/{compute-config-unset.json → compute-unset-config.json} +0 -0
@@ -0,0 +1,26 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type ComputeTelemetryDrainDisplayResult = {
3
+ app: string;
4
+ endpoint?: string;
5
+ exporterType?: string;
6
+ headers?: Record<string, string>;
7
+ id: string;
8
+ ownerId?: string;
9
+ ownerType?: 'app' | 'space';
10
+ signals: string[];
11
+ transport?: string;
12
+ };
13
+ export default class TelemetryDrainDisplay extends SfCommand<ComputeTelemetryDrainDisplayResult> {
14
+ static readonly args: {
15
+ id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
16
+ };
17
+ static readonly description: string;
18
+ static readonly examples: string[];
19
+ static readonly flags: {
20
+ 'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
21
+ };
22
+ static readonly requiresProject = false;
23
+ static readonly summary: string;
24
+ run(): Promise<ComputeTelemetryDrainDisplayResult>;
25
+ private resolveOwnerLabel;
26
+ }
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Args } from '@oclif/core';
17
+ import { Messages } from '@salesforce/core';
18
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
19
+ import { findDeveloperNameByHerokuAppId } from '../../../shared/computeQuery.js';
20
+ import { formatTelemetryDrainRows, transportLabelForExporterType } from '../../../shared/computeTelemetryDrain.js';
21
+ import { fetchTelemetryDrainViaProxy } from '../../../shared/herokuProxyApi.js';
22
+ import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
23
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
24
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.display.telemetry-drain');
25
+ export default class TelemetryDrainDisplay extends SfCommand {
26
+ // No --name: the drain ID is globally unique and the owning app comes from the drain's own owner.
27
+ static args = {
28
+ id: Args.string({
29
+ required: true,
30
+ summary: messages.getMessage('args.id.summary'),
31
+ }),
32
+ };
33
+ static description = messages.getMessage('description');
34
+ static examples = messages.getMessages('examples');
35
+ static flags = {
36
+ 'target-org': Flags.requiredOrg({ char: 'o' }),
37
+ };
38
+ static requiresProject = false;
39
+ static summary = messages.getMessage('summary');
40
+ async run() {
41
+ const { args, flags } = await this.parse(TelemetryDrainDisplay);
42
+ const connection = flags['target-org'].getConnection();
43
+ const drain = await fetchTelemetryDrainViaProxy(connection, { drainId: args.id });
44
+ const { app, display } = await this.resolveOwnerLabel(connection, drain.owner);
45
+ this.styledHeader('Telemetry Drain');
46
+ this.table({ data: formatTelemetryDrainRows(drain, display), columns: ['key', 'value'] });
47
+ return {
48
+ app,
49
+ ownerId: drain.owner?.id,
50
+ ownerType: drain.owner?.type,
51
+ id: drain.id ?? args.id,
52
+ signals: drain.signals ?? [],
53
+ endpoint: drain.exporter?.endpoint,
54
+ exporterType: drain.exporter?.type,
55
+ transport: drain.exporter?.type ? transportLabelForExporterType(drain.exporter.type) : undefined,
56
+ headers: drain.exporter?.headers,
57
+ };
58
+ }
59
+ // Best-effort owning-app label from the drain's owner. For an app-owned drain it maps the Heroku
60
+ // owner id back to the compute app's DeveloperName (the value --name accepts) through the org.
61
+ // Returns both the machine-readable `app` -- the resolved DeveloperName, or the raw owner id when
62
+ // the drain is space-owned, ownerless, or no compute app matches -- and the human `display`,
63
+ // which qualifies an unresolved Heroku id so a reader can't mistake it for a compute app name.
64
+ async resolveOwnerLabel(connection, owner) {
65
+ const ownerId = owner?.id ?? '-';
66
+ if (owner?.type !== 'app' || !owner.id) {
67
+ return { app: ownerId, display: ownerId };
68
+ }
69
+ const developerName = await findDeveloperNameByHerokuAppId(connection, owner.id);
70
+ if (developerName !== undefined) {
71
+ return { app: developerName, display: developerName };
72
+ }
73
+ this.debug('no compute app resolved for Heroku app id %s; labelling App with the id', owner.id);
74
+ return { app: owner.id, display: `${owner.id} (Heroku app id)` };
75
+ }
76
+ }
77
+ //# sourceMappingURL=telemetry-drain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry-drain.js","sourceRoot":"","sources":["../../../../src/commands/compute/display/telemetry-drain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAkB,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,8BAA8B,EAAC,MAAM,iCAA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AAO,EAAE,OAAO,EAAE,OAAO,EAAC,CAAC;QAC1C,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,8BAA8B,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QACjF,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAChC,OAAO,EAAC,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAC,CAAC;QACtD,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,yEAAyE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;QAChG,OAAO,EAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,EAAE,kBAAkB,EAAC,CAAC;IACjE,CAAC"}
@@ -7,12 +7,14 @@ export default class ConfigGet extends SfCommand<ComputeConfigGetResult> {
7
7
  static readonly args: {
8
8
  key: import("@oclif/core/interfaces").Arg<string[] | undefined, Record<string, unknown>>;
9
9
  };
10
+ static readonly deprecateAliases = true;
10
11
  static readonly description: string;
11
12
  static readonly examples: string[];
12
13
  static readonly flags: {
13
14
  name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
15
16
  };
17
+ static readonly hiddenAliases: string[];
16
18
  static readonly requiresProject = false;
17
19
  static readonly summary: string;
18
20
  run(): Promise<ComputeConfigGetResult>;
@@ -22,7 +22,7 @@ import { resolveHerokuAppId } from '../../../shared/computeQuery.js';
22
22
  import { fetchComputeConfigVarsViaProxy } from '../../../shared/herokuProxyApi.js';
23
23
  import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
24
24
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
25
- const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.config.get');
25
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.get.config');
26
26
  export default class ConfigGet extends SfCommand {
27
27
  static args = {
28
28
  key: Args.string({
@@ -30,6 +30,7 @@ export default class ConfigGet extends SfCommand {
30
30
  summary: messages.getMessage('args.key.summary'),
31
31
  }),
32
32
  };
33
+ static deprecateAliases = true;
33
34
  static description = messages.getMessage('description');
34
35
  static examples = messages.getMessages('examples');
35
36
  static flags = {
@@ -40,6 +41,12 @@ export default class ConfigGet extends SfCommand {
40
41
  }),
41
42
  'target-org': Flags.requiredOrg({ char: 'o' }),
42
43
  };
44
+ // Back-compat: the command was `compute config get` before the verb-noun migration (W-24542276).
45
+ // Kept as a hidden deprecated alias -- deprecateAliases above still prints a one-line warning
46
+ // steering users to the new id, and the old id stays out of --help and docs/. (It stays tracked
47
+ // in command-snapshot.json, but as its own `compute:config:get` entry rather than in this
48
+ // command's alias array -- see the hiddenAliases snapshot gotcha in AGENTS.md.)
49
+ static hiddenAliases = ['compute:config:get'];
43
50
  // Org-mediated lookup by --name -- no local project files are read.
44
51
  static requiresProject = false;
45
52
  static summary = messages.getMessage('summary');
@@ -73,4 +80,4 @@ export default class ConfigGet extends SfCommand {
73
80
  return { name, values };
74
81
  }
75
82
  }
76
- //# sourceMappingURL=get.js.map
83
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/commands/compute/get/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAC,MAAM,+BAA+B,CAAC;AACzG,OAAO,EAAC,oBAAoB,EAAE,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,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I,IAAI,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAChD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACjB,CAAC;QACH,CAAC;QAED,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;IACxB,CAAC"}
@@ -4,12 +4,14 @@ export type ComputeConfigResult = {
4
4
  name: string;
5
5
  };
6
6
  export default class ConfigList extends SfCommand<ComputeConfigResult> {
7
+ static readonly deprecateAliases = true;
7
8
  static readonly description: string;
8
9
  static readonly examples: string[];
9
10
  static readonly flags: {
10
11
  name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
12
13
  };
14
+ static readonly hiddenAliases: string[];
13
15
  static readonly requiresProject = false;
14
16
  static readonly summary: string;
15
17
  run(): Promise<ComputeConfigResult>;
@@ -21,8 +21,9 @@ import { resolveHerokuAppId } from '../../../shared/computeQuery.js';
21
21
  import { fetchComputeConfigVarsViaProxy } from '../../../shared/herokuProxyApi.js';
22
22
  import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
23
23
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
24
- const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.config.list');
24
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.list.config');
25
25
  export default class ConfigList extends SfCommand {
26
+ static deprecateAliases = true;
26
27
  static description = messages.getMessage('description');
27
28
  static examples = messages.getMessages('examples');
28
29
  static flags = {
@@ -33,6 +34,12 @@ export default class ConfigList extends SfCommand {
33
34
  }),
34
35
  'target-org': Flags.requiredOrg({ char: 'o' }),
35
36
  };
37
+ // Back-compat: the command was `compute config list` before the verb-noun migration (W-24542276).
38
+ // Kept as a hidden deprecated alias -- deprecateAliases above still prints a one-line warning
39
+ // steering users to the new id, and the old id stays out of --help and docs/. (It stays tracked
40
+ // in command-snapshot.json, but as its own `compute:config:list` entry rather than in this
41
+ // command's alias array -- see the hiddenAliases snapshot gotcha in AGENTS.md.)
42
+ static hiddenAliases = ['compute:config:list'];
36
43
  // Org-mediated lookup by --name -- no local project files are read.
37
44
  static requiresProject = false;
38
45
  static summary = messages.getMessage('summary');
@@ -54,4 +61,4 @@ export default class ConfigList extends SfCommand {
54
61
  return { name, configVars };
55
62
  }
56
63
  }
57
- //# sourceMappingURL=list.js.map
64
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/commands/compute/list/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAC,MAAM,+BAA+B,CAAC;AACzG,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAC,8BAA8B,EAAC,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,qBAAqB,CAAC,CAAC;AAO3E,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAA8B;IAC7D,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,C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AU,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QACjC,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,cAAc,CAAC,CAAC;QACzC,KAAK,MAAM,IAAI,IAAI,oBAAoB,CAAC,UAAU,CAAC,EAAE,CAAC;YACpD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;QAED,OAAO,EAAC,IAAI,EAAE,UAAU,EAAC,CAAC;IAC5B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type ComputeTelemetryDrainListResult = {
3
+ drains: Array<{
4
+ endpoint?: string;
5
+ id?: string;
6
+ signals: string[];
7
+ }>;
8
+ name: string;
9
+ };
10
+ export default class TelemetryDrainList extends SfCommand<ComputeTelemetryDrainListResult> {
11
+ static readonly description: string;
12
+ static readonly examples: string[];
13
+ static readonly flags: {
14
+ name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
16
+ };
17
+ static readonly requiresProject = false;
18
+ static readonly summary: string;
19
+ run(): Promise<ComputeTelemetryDrainListResult>;
20
+ }
@@ -0,0 +1,89 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { requireAppName, resolveComputeAppNameFromDir, validateName } from '../../../shared/computeApp.js';
19
+ import { resolveHerokuAppId } from '../../../shared/computeQuery.js';
20
+ import { listTelemetryDrainsViaProxy } from '../../../shared/herokuProxyApi.js';
21
+ import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
22
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
23
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.list.telemetry-drain');
24
+ // Dash placeholder for an empty table cell -- matches the other compute tables (see display.ts).
25
+ const DASH = '-';
26
+ // Alphabetical compare where undefined sorts last, so absent values collect at the bottom of the
27
+ // table (a `-` means "nothing here" and belongs below the real values).
28
+ function compareOptional(a, b) {
29
+ if (a === b)
30
+ return 0;
31
+ if (a === undefined)
32
+ return 1;
33
+ if (b === undefined)
34
+ return -1;
35
+ return a.localeCompare(b);
36
+ }
37
+ // Orders drains alphabetically by endpoint, tiebreaking by id so the result is a pure function of
38
+ // the data rather than the API's unspecified order. endpoint-less and id-less drains sort last.
39
+ function byEndpointThenId(a, b) {
40
+ return compareOptional(a.endpoint, b.endpoint) || compareOptional(a.id, b.id);
41
+ }
42
+ function toRow(drain) {
43
+ return {
44
+ id: drain.id ?? DASH,
45
+ signals: drain.signals.length > 0 ? drain.signals.join(', ') : DASH,
46
+ endpoint: drain.endpoint ?? DASH,
47
+ };
48
+ }
49
+ export default class TelemetryDrainList extends SfCommand {
50
+ static description = messages.getMessage('description');
51
+ static examples = messages.getMessages('examples');
52
+ static flags = {
53
+ name: Flags.string({
54
+ char: 'n',
55
+ env: 'COMPUTE_APP_NAME',
56
+ summary: messages.getMessage('flags.name.summary'),
57
+ }),
58
+ 'target-org': Flags.requiredOrg({ char: 'o' }),
59
+ };
60
+ // Org-mediated lookup by --name -- no local project files are read.
61
+ static requiresProject = false;
62
+ static summary = messages.getMessage('summary');
63
+ async run() {
64
+ const { flags } = await this.parse(TelemetryDrainList);
65
+ const name = requireAppName(flags.name ?? (await resolveComputeAppNameFromDir(process.cwd())));
66
+ validateName(name);
67
+ const connection = flags['target-org'].getConnection();
68
+ const appId = await resolveHerokuAppId(connection, name);
69
+ const fetched = await listTelemetryDrainsViaProxy(connection, { name, appId });
70
+ // The API order is unspecified, so sort client-side by endpoint for a stable, scannable table.
71
+ const drains = fetched
72
+ .map(drain => ({
73
+ id: drain.id,
74
+ signals: drain.signals ?? [],
75
+ endpoint: drain.exporter?.endpoint,
76
+ }))
77
+ .toSorted(byEndpointThenId);
78
+ if (drains.length === 0) {
79
+ this.info(messages.getMessage('info.noDrainsFound', [name]));
80
+ return { name, drains };
81
+ }
82
+ this.styledHeader(`${name} Telemetry Drains`);
83
+ const data = drains.map(drain => toRow(drain));
84
+ const columns = ['id', 'signals', 'endpoint'];
85
+ this.table({ data, columns });
86
+ return { name, drains };
87
+ }
88
+ }
89
+ //# sourceMappingURL=telemetry-drain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry-drain.js","sourceRoot":"","sources":["../../../../src/commands/compute/list/telemetry-drain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAC,MAAM,+BAA+B,CAAC;AACzG,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,8BAA8B,CAAC,CAAC;AAEpF,iGAAiG;AACjG,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C,CAAC,CAAC,CAAC;YAC7D,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;QACxB,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,mBAAmB,CAAC,CAAC;QAC9C,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/C,MAAM,OAAO,GAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;QAChE,IAAI,CAAC,KAAK,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC,CAAC;QAE5B,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;IACxB,CAAC"}
@@ -8,12 +8,14 @@ export default class ConfigSet extends SfCommand<ComputeConfigSetResult> {
8
8
  static readonly args: {
9
9
  pair: import("@oclif/core/interfaces").Arg<string[] | undefined, Record<string, unknown>>;
10
10
  };
11
+ static readonly deprecateAliases = true;
11
12
  static readonly description: string;
12
13
  static readonly examples: string[];
13
14
  static readonly flags: {
14
15
  name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
16
17
  };
18
+ static readonly hiddenAliases: string[];
17
19
  static readonly requiresProject = false;
18
20
  static readonly summary: string;
19
21
  run(): Promise<ComputeConfigSetResult>;
@@ -21,7 +21,7 @@ import { resolveHerokuAppId } from '../../../shared/computeQuery.js';
21
21
  import { fetchLatestReleaseVersionViaProxy, updateComputeConfigVarsViaProxy } from '../../../shared/herokuProxyApi.js';
22
22
  import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
23
23
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
24
- const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.config.set');
24
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.set.config');
25
25
  // Splits on the first = only, so a value that itself contains one (e.g. a connection string's
26
26
  // query params) isn't truncated. Requires a non-empty key.
27
27
  const PAIR_PATTERN = /^([^=]+)=(.*)$/v;
@@ -32,6 +32,7 @@ export default class ConfigSet extends SfCommand {
32
32
  summary: messages.getMessage('args.pair.summary'),
33
33
  }),
34
34
  };
35
+ static deprecateAliases = true;
35
36
  static description = messages.getMessage('description');
36
37
  static examples = messages.getMessages('examples');
37
38
  static flags = {
@@ -42,6 +43,12 @@ export default class ConfigSet extends SfCommand {
42
43
  }),
43
44
  'target-org': Flags.requiredOrg({ char: 'o' }),
44
45
  };
46
+ // Back-compat: the command was `compute config set` before the verb-noun migration (W-24542276).
47
+ // Kept as a hidden deprecated alias -- deprecateAliases above still prints a one-line warning
48
+ // steering users to the new id, and the old id stays out of --help and docs/. (It stays tracked
49
+ // in command-snapshot.json, but as its own `compute:config:set` entry rather than in this
50
+ // command's alias array -- see the hiddenAliases snapshot gotcha in AGENTS.md.)
51
+ static hiddenAliases = ['compute:config:set'];
45
52
  // Org-mediated lookup by --name -- no local project files are read.
46
53
  static requiresProject = false;
47
54
  static summary = messages.getMessage('summary');
@@ -96,4 +103,4 @@ export default class ConfigSet extends SfCommand {
96
103
  return release === undefined ? { name, configVars: updates } : { name, configVars: updates, release };
97
104
  }
98
105
  }
99
- //# sourceMappingURL=set.js.map
106
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/commands/compute/set/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAC,MAAM,+BAA+B,CAAC;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string[] | undefined, Record<string, unknown>>;
10
10
  };
11
+ static readonly deprecateAliases = true;
11
12
  static readonly description: string;
12
13
  static readonly examples: string[];
13
14
  static readonly flags: {
14
15
  name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
16
17
  };
18
+ static readonly hiddenAliases: string[];
17
19
  static readonly requiresProject = false;
18
20
  static readonly summary: string;
19
21
  run(): Promise<ComputeConfigUnsetResult>;
@@ -22,7 +22,7 @@ import { resolveHerokuAppId } from '../../../shared/computeQuery.js';
22
22
  import { fetchComputeConfigVarsViaProxy, fetchLatestReleaseVersionViaProxy, updateComputeConfigVarsViaProxy, } from '../../../shared/herokuProxyApi.js';
23
23
  import { PLUGIN_NAME } from '../../../shared/plugin-name.js';
24
24
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
25
- const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.config.unset');
25
+ const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.unset.config');
26
26
  export default class ConfigUnset extends SfCommand {
27
27
  static args = {
28
28
  key: Args.string({
@@ -30,6 +30,7 @@ export default class ConfigUnset extends SfCommand {
30
30
  summary: messages.getMessage('args.key.summary'),
31
31
  }),
32
32
  };
33
+ static deprecateAliases = true;
33
34
  static description = messages.getMessage('description');
34
35
  static examples = messages.getMessages('examples');
35
36
  static flags = {
@@ -40,6 +41,12 @@ export default class ConfigUnset extends SfCommand {
40
41
  }),
41
42
  'target-org': Flags.requiredOrg({ char: 'o' }),
42
43
  };
44
+ // Back-compat: the command was `compute config unset` before the verb-noun migration (W-24542276).
45
+ // Kept as a hidden deprecated alias -- deprecateAliases above still prints a one-line warning
46
+ // steering users to the new id, and the old id stays out of --help and docs/. (It stays tracked
47
+ // in command-snapshot.json, but as its own `compute:config:unset` entry rather than in this
48
+ // command's alias array -- see the hiddenAliases snapshot gotcha in AGENTS.md.)
49
+ static hiddenAliases = ['compute:config:unset'];
43
50
  // Org-mediated lookup by --name -- no local project files are read.
44
51
  static requiresProject = false;
45
52
  static summary = messages.getMessage('summary');
@@ -90,4 +97,4 @@ export default class ConfigUnset extends SfCommand {
90
97
  return release === undefined ? { name, unset: keys } : { name, unset: keys, release };
91
98
  }
92
99
  }
93
- //# sourceMappingURL=unset.js.map
100
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/commands/compute/unset/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,4BAA4B,EAAE,YAAY,EAAC,MAAM,+BAA+B,CAAC;AACzG,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AACnE,OAAO,EACL,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,sBAAsB,CAAC,CAAC;AAQ5E,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,SAAmC;IACnE,MAAM,CAAU,IAAI,GAAG;QAC5B,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC;YACf,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,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AAC,CAAC,CAAC;QAC/E,CAAC;QAAC,MAAM,CAAC;YACP,0EAA0E;QAC5E,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,OAAO,EAAE,CAAC,CAAC;QAExE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAC,CAAC;IACpF,CAAC"}
@@ -17,7 +17,7 @@ import { Messages } from '@salesforce/core';
17
17
  import { PLUGIN_NAME } from './plugin-name.js';
18
18
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
19
19
  const messages = Messages.loadMessages(PLUGIN_NAME, 'compute.errors');
20
- // Shared by `config get` and `config unset` -- both validate requested keys against the same
20
+ // Shared by `get config` and `unset config` -- both validate requested keys against the same
21
21
  // fetched map and must raise byte-identical text for a missing key, so this is the one source of
22
22
  // truth for that check rather than duplicating the message in each command's own .md file.
23
23
  export function requireConfigVar(configVars, name, key) {
@@ -27,7 +27,7 @@ export function requireConfigVar(configVars, name, key) {
27
27
  return configVars[key];
28
28
  }
29
29
  // Right-pads each key to the widest key's width (plus Heroku's own two-space minimum gap) so
30
- // values line up in a column -- shared by `config` (list) and multi-key `config get` so the two
30
+ // values line up in a column -- shared by `list config` and multi-key `get config` so the two
31
31
  // commands agree visually when run back-to-back.
32
32
  export function formatConfigVarLines(configVars) {
33
33
  const keys = Object.keys(configVars);
@@ -1 +1 @@
1
- {"version":3,"file":"computeConfig.js","sourceRoot":"","sources":["../../src/shared/computeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AA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E7C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;AAEtE,6FAA6F;AAC7F,iGAAiG;AACjG,2FAA2F;AAC3F,MAAM,UAAU,gBAAgB,CAAC,UAAkC,EAAE,IAAY,EAAE,GAAW;IAC5F,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,CAAC;QACpC,MAAM,QAAQ,CAAC,WAAW,CAAC,yBAAyB,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC;AACzB,CAAC;AAED,6FAA6F;AAC7F,8FAA8F;AAC9F,iDAAiD;AACjD,MAAM,UAAU,oBAAoB,CAAC,UAAkC;IACrE,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACrC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC3F,CAAC"}
@@ -49,4 +49,5 @@ export type ComputeAppSummary = {
49
49
  export declare function pickHerokuAppId(record: ComputeAppRecord): string | undefined;
50
50
  export declare function requireHerokuAppId(record: ComputeAppRecord, name: string): string;
51
51
  export declare function resolveHerokuAppId(connection: Connection, name: string): Promise<string>;
52
+ export declare function findDeveloperNameByHerokuAppId(connection: Connection, herokuAppId: string): Promise<string | undefined>;
52
53
  export declare function toComputeAppSummary(record: ComputeAppRecord): ComputeAppSummary;