@scribed/cli 0.1.37 → 0.1.38

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/index.js CHANGED
@@ -53789,7 +53789,7 @@ var program = new Command;
53789
53789
  // package.json
53790
53790
  var package_default = {
53791
53791
  name: "@scribed/cli",
53792
- version: "0.1.37",
53792
+ version: "0.1.38",
53793
53793
  description: "Command-line client + MCP server for Scribed — CRM records, phone + texting, inbox, calendar + booking, transcriptions, HR, Vault, automations, Creative Studio, and Documents, derived from the scribed-agent tool catalog.",
53794
53794
  type: "module",
53795
53795
  license: "SEE LICENSE IN LICENSE",
@@ -79026,7 +79026,7 @@ class StreamableHTTPClientTransport {
79026
79026
  // package.json
79027
79027
  var package_default2 = {
79028
79028
  name: "@scribed/cli",
79029
- version: "0.1.37",
79029
+ version: "0.1.38",
79030
79030
  description: "Command-line client + MCP server for Scribed — CRM records, phone + texting, inbox, calendar + booking, transcriptions, HR, Vault, automations, Creative Studio, and Documents, derived from the scribed-agent tool catalog.",
79031
79031
  type: "module",
79032
79032
  license: "SEE LICENSE IN LICENSE",
@@ -97545,7 +97545,14 @@ var automationTriggerSchema = exports_external.discriminatedUnion("type", [
97545
97545
  preset: exports_external.enum(["hourly", "daily", "weekly"]),
97546
97546
  hour: exports_external.number().int().min(0).max(23).optional(),
97547
97547
  weekday: exports_external.number().int().min(0).max(6).optional(),
97548
- timeZone: exports_external.string().min(1).max(100).optional().describe("IANA zone `hour` / `weekday` are read in (e.g. 'America/Los_Angeles'); omitted = UTC.")
97548
+ timeZone: exports_external.string().trim().min(1).max(100).refine((value) => {
97549
+ try {
97550
+ new Intl.DateTimeFormat("en-US", { timeZone: value });
97551
+ return true;
97552
+ } catch {
97553
+ return false;
97554
+ }
97555
+ }, "timeZone must be an IANA time zone name").optional().describe("IANA zone `hour` / `weekday` are read in (e.g. 'America/Los_Angeles'). Pass the user's chosen zone explicitly. Omitted = UTC for account Runs and existing schedules; a newly created workspace Run defaults to that workspace's saved zone.")
97549
97556
  })
97550
97557
  }),
97551
97558
  exports_external.object({
@@ -101021,7 +101028,7 @@ var phoneMetricsOverview = selectedWorkspaceRestTool({
101021
101028
  path: (a) => `/api/phone/metrics/overview${query5({ from: toUtcIso(a.from), to: toUtcIso(a.to), tz: a.tz, mine: a.mine === undefined ? undefined : a.mine ? 1 : 0, provider: a.provider, direction: a.direction, number: a.number })}`
101022
101029
  });
101023
101030
  var phoneMetricsCalls = selectedWorkspaceRestTool({
101024
- description: "Call metrics for a date window: total, completed, answerRate, missedInbound, avgDurationSeconds, medianDurationSeconds, totalTalkTimeSeconds, longestCallSeconds, lastCallAt, withTranscript, withActionItems, uniqueCounterparties, byDirection, byStatus, and zero-filled perDay buckets (in tz). Filter by direction and/or one of the user's numbers. Rates are null when the denominator is empty.",
101031
+ description: "Call metrics for a date window: total, completed, answerRate, missedInbound, avgDurationSeconds, medianDurationSeconds, totalTalkTimeSeconds, longestCallSeconds, lastCallAt, withTranscript, withActionItems, uniqueCounterparties, byDirection, byStatus, byUser [{ userId, dials, answered }], and zero-filled perDay buckets (in tz). Use these aggregates for exact call counts rather than counting paginated transcripts; use workspace_members_list to resolve userIds to names. byUser uses the recorded caller userId (null = unassigned), dials counts outbound ledger rows, and answered uses the existing completed-status proxy, including manually logged voicemail and inbound calls unless direction is outbound. These are not verified human-answer or demo counts. Filter by direction and/or one of the user's numbers. Set explicit from/to bounds and tz from the saved review instructions; mine:false requests workspace totals only when your role permits them, otherwise the API applies your own history lens. Rates are null when the denominator is empty.",
101025
101032
  inputSchema: exports_external.object({
101026
101033
  ...PhoneMetricsWindow,
101027
101034
  provider: PhoneMetricsProvider,
@@ -112610,7 +112617,7 @@ var FRIENDLY_BY_CODE = {
112610
112617
  INVALID_NAME: "Enter your name using 1 to 200 characters.",
112611
112618
  PHONE_REQUIRED: "Enter a valid mobile number, including the country code.",
112612
112619
  PHONE_INVALID: "Enter a valid mobile number, including the country code.",
112613
- PHONE_COUNTRY_NOT_ALLOWED: "Sign-up currently supports mobile numbers from the US, Canada and the US territories.",
112620
+ PHONE_COUNTRY_NOT_ALLOWED: "This number cannot be used for account verification. Use another mobile number or contact support.",
112614
112621
  TERMS_REQUIRED: "Agree to the Terms of Service and acknowledge the Privacy Policy to create an account.",
112615
112622
  INVALID_ACCOUNT_TYPE: "Choose one role to continue.",
112616
112623
  PROFILE_FIELD_REQUIRED: "A required profile field is missing.",
@@ -70177,7 +70177,7 @@ class StdioServerTransport {
70177
70177
  // package.json
70178
70178
  var package_default = {
70179
70179
  name: "@scribed/cli",
70180
- version: "0.1.37",
70180
+ version: "0.1.38",
70181
70181
  description: "Command-line client + MCP server for Scribed — CRM records, phone + texting, inbox, calendar + booking, transcriptions, HR, Vault, automations, Creative Studio, and Documents, derived from the scribed-agent tool catalog.",
70182
70182
  type: "module",
70183
70183
  license: "SEE LICENSE IN LICENSE",
@@ -92534,7 +92534,14 @@ var automationTriggerSchema = exports_external.discriminatedUnion("type", [
92534
92534
  preset: exports_external.enum(["hourly", "daily", "weekly"]),
92535
92535
  hour: exports_external.number().int().min(0).max(23).optional(),
92536
92536
  weekday: exports_external.number().int().min(0).max(6).optional(),
92537
- timeZone: exports_external.string().min(1).max(100).optional().describe("IANA zone `hour` / `weekday` are read in (e.g. 'America/Los_Angeles'); omitted = UTC.")
92537
+ timeZone: exports_external.string().trim().min(1).max(100).refine((value) => {
92538
+ try {
92539
+ new Intl.DateTimeFormat("en-US", { timeZone: value });
92540
+ return true;
92541
+ } catch {
92542
+ return false;
92543
+ }
92544
+ }, "timeZone must be an IANA time zone name").optional().describe("IANA zone `hour` / `weekday` are read in (e.g. 'America/Los_Angeles'). Pass the user's chosen zone explicitly. Omitted = UTC for account Runs and existing schedules; a newly created workspace Run defaults to that workspace's saved zone.")
92538
92545
  })
92539
92546
  }),
92540
92547
  exports_external.object({
@@ -96010,7 +96017,7 @@ var phoneMetricsOverview = selectedWorkspaceRestTool({
96010
96017
  path: (a) => `/api/phone/metrics/overview${query5({ from: toUtcIso(a.from), to: toUtcIso(a.to), tz: a.tz, mine: a.mine === undefined ? undefined : a.mine ? 1 : 0, provider: a.provider, direction: a.direction, number: a.number })}`
96011
96018
  });
96012
96019
  var phoneMetricsCalls = selectedWorkspaceRestTool({
96013
- description: "Call metrics for a date window: total, completed, answerRate, missedInbound, avgDurationSeconds, medianDurationSeconds, totalTalkTimeSeconds, longestCallSeconds, lastCallAt, withTranscript, withActionItems, uniqueCounterparties, byDirection, byStatus, and zero-filled perDay buckets (in tz). Filter by direction and/or one of the user's numbers. Rates are null when the denominator is empty.",
96020
+ description: "Call metrics for a date window: total, completed, answerRate, missedInbound, avgDurationSeconds, medianDurationSeconds, totalTalkTimeSeconds, longestCallSeconds, lastCallAt, withTranscript, withActionItems, uniqueCounterparties, byDirection, byStatus, byUser [{ userId, dials, answered }], and zero-filled perDay buckets (in tz). Use these aggregates for exact call counts rather than counting paginated transcripts; use workspace_members_list to resolve userIds to names. byUser uses the recorded caller userId (null = unassigned), dials counts outbound ledger rows, and answered uses the existing completed-status proxy, including manually logged voicemail and inbound calls unless direction is outbound. These are not verified human-answer or demo counts. Filter by direction and/or one of the user's numbers. Set explicit from/to bounds and tz from the saved review instructions; mine:false requests workspace totals only when your role permits them, otherwise the API applies your own history lens. Rates are null when the denominator is empty.",
96014
96021
  inputSchema: exports_external.object({
96015
96022
  ...PhoneMetricsWindow,
96016
96023
  provider: PhoneMetricsProvider,
@@ -106745,7 +106752,7 @@ var FRIENDLY_BY_CODE = {
106745
106752
  INVALID_NAME: "Enter your name using 1 to 200 characters.",
106746
106753
  PHONE_REQUIRED: "Enter a valid mobile number, including the country code.",
106747
106754
  PHONE_INVALID: "Enter a valid mobile number, including the country code.",
106748
- PHONE_COUNTRY_NOT_ALLOWED: "Sign-up currently supports mobile numbers from the US, Canada and the US territories.",
106755
+ PHONE_COUNTRY_NOT_ALLOWED: "This number cannot be used for account verification. Use another mobile number or contact support.",
106749
106756
  TERMS_REQUIRED: "Agree to the Terms of Service and acknowledge the Privacy Policy to create an account.",
106750
106757
  INVALID_ACCOUNT_TYPE: "Choose one role to continue.",
106751
106758
  PROFILE_FIELD_REQUIRED: "A required profile field is missing.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scribed/cli",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "Command-line client + MCP server for Scribed — CRM records, phone + texting, inbox, calendar + booking, transcriptions, HR, Vault, automations, Creative Studio, and Documents, derived from the scribed-agent tool catalog.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,9 +39,9 @@
39
39
  "url": "git+https://github.com/q6th/scribed-works.git",
40
40
  "directory": "scribed-cli"
41
41
  },
42
- "gitHead": "d534f872d19f56ed797da4c5369afd77c4e029b4",
42
+ "gitHead": "2dae8b7fba760c0f38f97c02a04f9bb6c93d9bf8",
43
43
  "scribedRelease": {
44
44
  "repository": "q6th/scribed-works",
45
- "commit": "d534f872d19f56ed797da4c5369afd77c4e029b4"
45
+ "commit": "2dae8b7fba760c0f38f97c02a04f9bb6c93d9bf8"
46
46
  }
47
47
  }