@getdial/cli 0.37.0 → 0.37.1

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.
@@ -116,7 +116,7 @@ function reportPendingPhone(result, json) {
116
116
  action: "ask_user",
117
117
  kind: "phone_number_required",
118
118
  question: "What phone number should this Dial account be registered to?",
119
- rationale: "Creating a Dial account requires a verified phone number as well as a verified email. Dial texts a 6-digit code to the number, and the user reads it back. The number is linked to the account permanently — a number can register only one Dial account — so it should be one the user keeps. It must be able to receive SMS, and a Dial number cannot be used.",
119
+ rationale: "Creating a Dial account requires a verified phone number as well as a verified email. Dial texts a 6-digit code to the number, and the user reads it back. It should be a number the user keeps, it must be able to receive SMS, and a Dial number cannot be used.",
120
120
  presentation: "Ask for the number in international form including the country code. Don't invent one, and don't reuse a Dial number.",
121
121
  useStructuredToolIfAvailable: true,
122
122
  onAnswer: REGISTER_NUMBER_COMMAND,
@@ -134,8 +134,7 @@ function reportPendingPhone(result, json) {
134
134
  console.log(``);
135
135
  console.log(` ${REGISTER_NUMBER_COMMAND}`);
136
136
  console.log(``);
137
- console.log(`That number is linked to the account permanently a number can register only one`);
138
- console.log(`Dial account — so use one the user keeps. A Dial number can't be used here.`);
137
+ console.log(`Use a number the user keeps. A Dial number can't be used here.`);
139
138
  console.log(``);
140
139
  console.log(`Dial texts a 6-digit code to it; then run:`);
141
140
  console.log(``);
@@ -17,9 +17,8 @@ export const authRegisterNumberTool = {
17
17
  title: "Auth Register Number",
18
18
  description: "Text a 6-digit verification code to the phone number that will own the account. Required to " +
19
19
  "CREATE an account (never needed to sign in), and only valid after auth_verify_otp reported " +
20
- "that a phone number is still required. The number becomes permanently bound to this " +
21
- "account a number can register only one Dial account. Submit the texted code with " +
22
- "auth_verify_otp using number: true.",
20
+ "that a phone number is still required. It should be a number the user keeps. Submit the " +
21
+ "texted code with auth_verify_otp using number: true.",
23
22
  inputSchema,
24
23
  outputSchema: {
25
24
  registrationId: z.string(),
@@ -121,7 +121,7 @@ export const authVerifyOtpTool = {
121
121
  email: r.email,
122
122
  skills: r.skills,
123
123
  nextTool: "auth_register_number",
124
- note: "The email is verified, but creating an account also requires a verified phone number. ASK THE USER for a phone number that can receive SMS, then call auth_register_number with it. No API key has been issued yet. The number is bound to the account permanently, and a Dial number cannot be used.",
124
+ note: "The email is verified, but creating an account also requires a verified phone number. ASK THE USER for a phone number that can receive SMS, then call auth_register_number with it. No API key has been issued yet. It should be a number the user keeps, and a Dial number cannot be used.",
125
125
  });
126
126
  }
127
127
  // Never surface the raw API key to the model; it's saved to disk for the CLI to read.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getdial/cli",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "description": "Dial CLI — install, sign up, and run the local listen service.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/skills.tar.gz CHANGED
Binary file