@getdial/cli 0.23.0 → 0.23.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.
package/dist/cli.js CHANGED
@@ -110,7 +110,7 @@ number
110
110
  .option("--inbound-instruction <text>", "new system prompt for inbound calls to this number")
111
111
  .option("--inbound-voice-gender <male|female>", 'voice gender for inbound calls; pass "" to clear (reverts to the default, female)')
112
112
  .option("--nickname <text>", 'human-readable label for the number, e.g. "Support line"; pass "" to clear')
113
- .option("--max-call-duration <seconds>", "maximum inbound call duration cap for this number (seconds)", (v) => {
113
+ .option("--max-call-duration <seconds>", "call duration cap for this number, in seconds, applied as a hard ceiling to both inbound and outbound calls (the smallest of the per-number, account, and per-call caps wins)", (v) => {
114
114
  const n = parseInt(v, 10);
115
115
  if (!Number.isInteger(n) || n <= 0 || String(n) !== v.trim()) {
116
116
  console.error(`error: --max-call-duration must be a positive integer (seconds), got: ${v}`);
@@ -118,7 +118,7 @@ number
118
118
  }
119
119
  return n;
120
120
  })
121
- .option("--clear-max-call-duration", "remove the per-number inbound call duration cap")
121
+ .option("--clear-max-call-duration", "remove the per-number call duration cap")
122
122
  .option("--json", "machine-readable output")
123
123
  .action(async (numberArg, opts) => {
124
124
  let maxCallDurationSeconds;
@@ -7,7 +7,7 @@ const inputSchema = {
7
7
  inboundInstruction: z.string().min(1).optional().describe("New system prompt for inbound calls to this number"),
8
8
  inboundVoiceGender: z.enum(["male", "female"]).optional().describe("Voice gender for inbound calls to this number; the default is female"),
9
9
  nickname: z.string().max(100).optional().describe('Human-readable label for the number, e.g. "Support line". Pass an empty string to clear it.'),
10
- maxCallDurationSeconds: z.number().int().positive().nullable().optional().describe("Maximum inbound call duration cap for this number (seconds). Pass null to clear the cap; omit to leave it unchanged."),
10
+ maxCallDurationSeconds: z.number().int().positive().nullable().optional().describe("Call duration cap for this number, in seconds, applied as a hard ceiling to both inbound and outbound calls (the smallest of the per-number, account, and per-call caps wins). Pass null to clear the cap; omit to leave it unchanged."),
11
11
  };
12
12
  export const setNumberPropertiesTool = {
13
13
  name: "set_number_properties",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getdial/cli",
3
- "version": "0.23.0",
3
+ "version": "0.23.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