heroku 9.4.0 → 9.5.0-beta.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/lib/commands/addons/create.js +17 -0
- package/oclif.manifest.json +698 -698
- package/package.json +2 -2
|
@@ -49,10 +49,27 @@ class Create extends command_1.Command {
|
|
|
49
49
|
const argv = restParse.argv
|
|
50
50
|
// oclif duplicates specified args in argv
|
|
51
51
|
.filter(arg => arg !== servicePlan);
|
|
52
|
+
const inferenceRegex = /^heroku-inference/;
|
|
53
|
+
const isInferenceAddon = inferenceRegex.test(servicePlan);
|
|
52
54
|
if (restParse.nonExistentFlags && restParse.nonExistentFlags.length > 0) {
|
|
53
55
|
process.stderr.write(` ${color_1.default.yellow('›')} For example: ${color_1.default.cyan(`heroku addons:create -a ${app} ${restParse.raw[0].input} -- ${restParse.nonExistentFlags.join(' ')}`)}`);
|
|
54
56
|
process.stderr.write(` ${color_1.default.yellow('›')} See https://devcenter.heroku.com/changelog-items/2925 for more info.\n`);
|
|
55
57
|
}
|
|
58
|
+
if (isInferenceAddon) {
|
|
59
|
+
core_1.ux.warn('\n\nThis pilot feature is a Beta Service. You may opt to try such Beta Service in your sole discretion. ' +
|
|
60
|
+
'Any use of the Beta Service is subject to the applicable Beta Services Terms provided at ' +
|
|
61
|
+
'https://www.salesforce.com/company/legal/customer-agreements/. While use of the pilot feature itself is free, ' +
|
|
62
|
+
'to the extent such use consumes a generally available Service, you may be charged for that consumption as set ' +
|
|
63
|
+
'forth in the Documentation. Your continued use of this pilot feature constitutes your acceptance of the foregoing.\n\n' +
|
|
64
|
+
'For clarity and without limitation, the various third-party machine learning and generative artificial intelligence ' +
|
|
65
|
+
'(AI) models and applications (each a “Platform”) integrated with the Beta Service are Non-SFDC Applications, ' +
|
|
66
|
+
'as that term is defined in the Beta Services Terms. Note that these third-party Platforms include features that use ' +
|
|
67
|
+
'generative AI technology. Due to the nature of generative AI, the output that a Platform generates may be ' +
|
|
68
|
+
'unpredictable, and may include inaccurate or harmful responses. Before using any generative AI output, Customer is ' +
|
|
69
|
+
'solely responsible for reviewing the output for accuracy, safety, and compliance with applicable laws and third-party ' +
|
|
70
|
+
'acceptable use policies. In addition, Customer’s use of each Platform may be subject to the Platform’s own terms and ' +
|
|
71
|
+
'conditions, compliance with which Customer is solely responsible.\n');
|
|
72
|
+
}
|
|
56
73
|
const config = parseConfig(argv);
|
|
57
74
|
let addon;
|
|
58
75
|
try {
|