heroku 10.0.0-beta.3 → 10.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.
|
@@ -56,19 +56,11 @@ class Create extends command_1.Command {
|
|
|
56
56
|
process.stderr.write(` ${color_1.default.yellow('›')} See https://devcenter.heroku.com/changelog-items/2925 for more info.\n`);
|
|
57
57
|
}
|
|
58
58
|
if (isInferenceAddon) {
|
|
59
|
-
core_1.ux.warn(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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');
|
|
59
|
+
core_1.ux.warn((0, tsheredoc_1.default) `
|
|
60
|
+
Heroku Managed Inference and Agent is a pilot or beta service that is subject to the Beta Services Terms at https://www.salesforce.com/company/legal/customer-agreements/ or a written Unified Pilot Agreement if executed by Customer, and the Non-GA Gen AI and Non-GA Credit Consumption terms in the Product Terms Directory at https://ptd.salesforce.com. While use of this pilot or beta service is itself free, such use may consume GA Heroku credits and/or resources for which the Customer may have paid or be charged. Use of this pilot or beta is at the Customer's sole discretion.
|
|
61
|
+
|
|
62
|
+
For clarity and without limitation, the various third-party machine learning and generative artificial intelligence (AI) models and applications (each a “Platform”) integrated with the Beta Service are Non-SFDC Applications, as that term is defined in the Beta Services Terms. Note that these third-party Platforms include features that use generative AI technology. Due to the nature of generative AI, the output that a Platform generates may be unpredictable, and may include inaccurate or harmful responses. Before using any generative AI output, Customer is solely responsible for reviewing the output for accuracy, safety, and compliance with applicable laws and third-party acceptable use policies. In addition, Customer’s use of each Platform may be subject to the Platform’s own terms and conditions, compliance with which Customer is solely responsible.
|
|
63
|
+
`);
|
|
72
64
|
}
|
|
73
65
|
const config = parseConfig(argv);
|
|
74
66
|
let addon;
|
|
@@ -62,7 +62,8 @@ function print(info, addons, collaborators, extended) {
|
|
|
62
62
|
data['Git URL'] = info.app.git_url;
|
|
63
63
|
data['Web URL'] = info.app.web_url;
|
|
64
64
|
data['Repo Size'] = (0, filesize_1.filesize)(info.app.repo_size, { standard: 'jedec', round: 0 });
|
|
65
|
-
|
|
65
|
+
if (info.app.generation.name !== 'fir')
|
|
66
|
+
data['Slug Size'] = (0, filesize_1.filesize)(info.app.slug_size, { standard: 'jedec', round: 0 });
|
|
66
67
|
data.Owner = info.app.owner.email;
|
|
67
68
|
data.Region = info.app.region.name;
|
|
68
69
|
data.Dynos = countBy(info.dynos, 'type');
|
|
@@ -115,7 +116,8 @@ class AppsInfo extends command_1.Command {
|
|
|
115
116
|
print('git_url', info.app.git_url);
|
|
116
117
|
print('web_url', info.app.web_url);
|
|
117
118
|
print('repo_size', (0, filesize_1.filesize)(info.app.repo_size, { standard: 'jedec', round: 0 }));
|
|
118
|
-
|
|
119
|
+
if (info.app.generation.name !== 'fir')
|
|
120
|
+
print('slug_size', (0, filesize_1.filesize)(info.app.slug_size, { standard: 'jedec', round: 0 }));
|
|
119
121
|
print('owner', info.app.owner.email);
|
|
120
122
|
print('region', info.app.region.name);
|
|
121
123
|
print('dynos', util.inspect(countBy(info.dynos, 'type')));
|
package/lib/lib/run/dyno.js
CHANGED
|
@@ -206,6 +206,7 @@ class Dyno extends stream_1.Duplex {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
_handle(localServer) {
|
|
209
|
+
var _a;
|
|
209
210
|
const addr = localServer.address();
|
|
210
211
|
const host = addr.address;
|
|
211
212
|
const port = addr.port;
|
|
@@ -235,13 +236,26 @@ class Dyno extends stream_1.Duplex {
|
|
|
235
236
|
sshProc.stdout.setEncoding('utf8');
|
|
236
237
|
sshProc.stdout.on('data', this._readData());
|
|
237
238
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
lastErr = data;
|
|
239
|
+
(_a = sshProc.stderr) === null || _a === void 0 ? void 0 : _a.on('data', data => {
|
|
240
|
+
var _a;
|
|
241
|
+
lastErr = data.toString();
|
|
241
242
|
// suppress host key and permission denied messages
|
|
242
|
-
|
|
243
|
+
const messages = [
|
|
244
|
+
"Warning: Permanently added '[127.0.0.1]"
|
|
245
|
+
];
|
|
246
|
+
const killMessages = [
|
|
247
|
+
'too many authentication failures',
|
|
248
|
+
'No more authentication methods to try',
|
|
249
|
+
'Permission denied (publickey).',
|
|
250
|
+
];
|
|
251
|
+
if (this._isDebug() || [...killMessages, ...messages].some(message => data.includes(message))) {
|
|
243
252
|
process.stderr.write(data);
|
|
244
253
|
}
|
|
254
|
+
if (killMessages.some(message => data.includes(message))) {
|
|
255
|
+
sshProc.kill();
|
|
256
|
+
localServer.close();
|
|
257
|
+
(_a = this.reject) === null || _a === void 0 ? void 0 : _a.call(this, lastErr);
|
|
258
|
+
}
|
|
245
259
|
});
|
|
246
260
|
sshProc.on('close', () => {
|
|
247
261
|
// there was a problem connecting with the ssh key
|
package/lib/lib/spaces/spaces.js
CHANGED
|
@@ -30,7 +30,7 @@ function renderInfo(space, json) {
|
|
|
30
30
|
State: space.state,
|
|
31
31
|
Shield: displayShieldState(space),
|
|
32
32
|
'Outbound IPs': displayNat(space.outbound_ips),
|
|
33
|
-
Generation: space.generation,
|
|
33
|
+
Generation: space.generation.name,
|
|
34
34
|
'Created at': space.created_at,
|
|
35
35
|
}, ['ID', 'Team', 'Region', 'CIDR', 'Data CIDR', 'State', 'Shield', 'Outbound IPs', 'Generation', 'Created at']);
|
|
36
36
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -14451,5 +14451,5 @@
|
|
|
14451
14451
|
]
|
|
14452
14452
|
}
|
|
14453
14453
|
},
|
|
14454
|
-
"version": "10.0.0
|
|
14454
|
+
"version": "10.0.0"
|
|
14455
14455
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "10.0.0
|
|
4
|
+
"version": "10.0.0",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@heroku-cli/color": "2.0.1",
|
|
10
10
|
"@heroku-cli/command": "^11.3.1",
|
|
11
11
|
"@heroku-cli/notifications": "^1.2.4",
|
|
12
|
-
"@heroku-cli/plugin-ps-exec": "2.6.0
|
|
12
|
+
"@heroku-cli/plugin-ps-exec": "2.6.0",
|
|
13
13
|
"@heroku-cli/schema": "^1.0.25",
|
|
14
14
|
"@heroku/buildpack-registry": "^1.0.1",
|
|
15
15
|
"@heroku/eventsource": "^1.0.7",
|
|
@@ -390,5 +390,5 @@
|
|
|
390
390
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
391
391
|
},
|
|
392
392
|
"types": "lib/index.d.ts",
|
|
393
|
-
"gitHead": "
|
|
393
|
+
"gitHead": "b08430831161b4169ab51b6e701cf1fa3f3217b6"
|
|
394
394
|
}
|