@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 +2 -2
- package/dist/mcp/tools/set-number-properties.js +1 -1
- package/package.json +1 -1
- package/skills.tar.gz +0 -0
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>", "
|
|
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
|
|
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("
|
|
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
package/skills.tar.gz
CHANGED
|
Binary file
|