@onbox/cli 0.5.1 → 0.5.3

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.
Files changed (2) hide show
  1. package/dist/onbox.js +8 -8
  2. package/package.json +3 -3
package/dist/onbox.js CHANGED
@@ -1025,7 +1025,7 @@ var openapi_default = {
1025
1025
  operationId: "get_account_status",
1026
1026
  tags: ["account"],
1027
1027
  summary: "Get Account Status",
1028
- description: "See where your Onbox organisation stands; start here. Onbox is the always-on agent that answers a business's customers on every channel, learns how to handle each request, and leaves to the team what it should not do alone. Returns the readiness checklist: each item done, missing or broken, a sentence and the tool that changes it. Mandatory: a connected inbox, a plan or trial, the brain built, someone who takes escalations. Others only state facts: tools, teammates, rules, triggers. Also onboarding completion, the company, each inbox's connection status, build progress and the next mandatory step. Read only; call it first, after every browser step the person completes (give them its webUrl), and every few minutes while the brain builds.",
1028
+ description: "See where your Onbox organisation stands; start here. Onbox is the always-on agent that answers a business's customers on every channel, learns how to handle each request, and leaves to the team what it should not do alone. Returns the readiness checklist: each item done, missing or broken, a sentence and the tool that changes it. Mandatory: a connected inbox, a plan or trial, the brain built, someone who takes escalations. Others only state facts: tools, teammates, rules, triggers. Also onboarding completion, the company, inbox connection status, brain build progress per source, and the next mandatory step. Read only. Call it first, after each browser step and every few minutes while the brain builds.",
1029
1029
  security: [
1030
1030
  {
1031
1031
  bearerAuth: []
@@ -6918,7 +6918,7 @@ var openapi_default = {
6918
6918
  operationId: "discard_pending_actions",
6919
6919
  tags: ["pending-actions"],
6920
6920
  summary: "Discard Pending Actions",
6921
- description: "Drop actions Onbox proposed that the person does not want. Only PENDING or FAILED ones can be; any other comes back in `errors`. Discarding a proposed reply takes the conversation over from Onbox, as in the app. The person can restore a discarded action from its conversation (webUrl) until it expires.",
6921
+ description: "Drop actions Onbox proposed that the person does not want. Only PENDING or FAILED actions can be discarded. Check `errors` for the IDs that could not be discarded. Discarding a proposed reply takes the conversation over from Onbox, as in the app. The person can restore a discarded action from its conversation (webUrl) until it expires.",
6922
6922
  security: [
6923
6923
  {
6924
6924
  bearerAuth: []
@@ -7035,7 +7035,7 @@ var openapi_default = {
7035
7035
  operationId: "discard_pending_actions__post_pending_actions_by_pendingActionId_discard",
7036
7036
  tags: ["pending-actions"],
7037
7037
  summary: "Discard Pending Actions",
7038
- description: "Drop actions Onbox proposed that the person does not want. Only PENDING or FAILED ones can be; any other comes back in `errors`. Discarding a proposed reply takes the conversation over from Onbox, as in the app. The person can restore a discarded action from its conversation (webUrl) until it expires.",
7038
+ description: "Drop actions Onbox proposed that the person does not want. Only PENDING or FAILED actions can be discarded. Check `errors` for the IDs that could not be discarded. Discarding a proposed reply takes the conversation over from Onbox, as in the app. The person can restore a discarded action from its conversation (webUrl) until it expires.",
7039
7039
  security: [
7040
7040
  {
7041
7041
  bearerAuth: []
@@ -7592,7 +7592,7 @@ var openapi_default = {
7592
7592
  operationId: "list_inboxes",
7593
7593
  tags: ["inboxes"],
7594
7594
  summary: "List Inboxes",
7595
- description: "List the inboxes you reach (personal, shared, delegated) with their id, name, address, type, send-as aliases, setupStatus (FINISHED once history is in), settings, connections and their status, and the settings webUrl to give the person. Use it to scope other tools (an inbox address as the `scope` of search_conversations) or to find someone's aliases before counting their sent mail.",
7595
+ description: "List the inboxes you reach (personal, shared, delegated), their addresses, aliases, connection and history import status, brain learning status, settings and settings webUrl. Use the inbox address as the scope of search_conversations.",
7596
7596
  security: [
7597
7597
  {
7598
7598
  bearerAuth: []
@@ -8928,7 +8928,7 @@ var openapi_default = {
8928
8928
  operationId: "list_integrations",
8929
8929
  tags: ["integrations"],
8930
8930
  summary: "List Integrations",
8931
- description: "List the tools Onbox can connect, to read live data (an order) or do a step outside the reply (save an invoice), and whether each is connected for you. accountMode shared: one account an admin connects for everyone; own: each person's. status: connected, not_connected (the person can connect it now) or needs_admin (only an admin can connect it). Give the person settingsUrl or webUrl for any browser step. customIntegrations: the organisation's own MCP servers, APIs and databases, whether their secret is set (poll after giving a secret link) and their last test. With id or slug: one integration with the operations it offers and the mode of each, which sets whether the Onbox agent may use it inside Onbox. Read only.",
8931
+ description: "List the tools Onbox can connect, to read live data (an order) or do a step outside the reply (save an invoice), and whether each is connected for you. accountMode shared: one account an admin connects for everyone; own: each person's. status: connected, not_connected (the person can connect it now) or needs_admin (only an admin can connect it). Give the person settingsUrl or webUrl for any browser step. customIntegrations: the organisation's own MCP servers, APIs and databases, whether their secret is set (poll after giving a secret link) and their last test. Brain sources include learning status. With id or slug: one integration with its operations and their modes. Read only.",
8932
8932
  security: [
8933
8933
  {
8934
8934
  bearerAuth: []
@@ -9246,7 +9246,7 @@ var openapi_default = {
9246
9246
  operationId: "list_integrations__get_integrations_by_integration",
9247
9247
  tags: ["integrations"],
9248
9248
  summary: "Get an Integration",
9249
- description: "List the tools Onbox can connect, to read live data (an order) or do a step outside the reply (save an invoice), and whether each is connected for you. accountMode shared: one account an admin connects for everyone; own: each person's. status: connected, not_connected (the person can connect it now) or needs_admin (only an admin can connect it). Give the person settingsUrl or webUrl for any browser step. customIntegrations: the organisation's own MCP servers, APIs and databases, whether their secret is set (poll after giving a secret link) and their last test. With id or slug: one integration with the operations it offers and the mode of each, which sets whether the Onbox agent may use it inside Onbox. Read only.\n\nReturns the one element the tool's result holds for this path, not the whole list or map.",
9249
+ description: "List the tools Onbox can connect, to read live data (an order) or do a step outside the reply (save an invoice), and whether each is connected for you. accountMode shared: one account an admin connects for everyone; own: each person's. status: connected, not_connected (the person can connect it now) or needs_admin (only an admin can connect it). Give the person settingsUrl or webUrl for any browser step. customIntegrations: the organisation's own MCP servers, APIs and databases, whether their secret is set (poll after giving a secret link) and their last test. Brain sources include learning status. With id or slug: one integration with its operations and their modes. Read only.\n\nReturns the one element the tool's result holds for this path, not the whole list or map.",
9250
9250
  security: [
9251
9251
  {
9252
9252
  bearerAuth: []
@@ -10039,7 +10039,7 @@ Admins only: a member is refused.`,
10039
10039
  operationId: "build_brain",
10040
10040
  tags: ["brain"],
10041
10041
  summary: "Build the Brain",
10042
- description: "Build the Onbox agent's brain: one learning run per connected inbox reads its history and writes skills and memories. The first build starts by itself once an inbox is connected and a plan is active (the free trial counts); call this to start it now, or with rebuild to learn again from inboxes whose build ended. Without an inbox or an active plan, it names what is missing and the fix. Safe to call again: a running build is left alone; a stuck or failed builder (brain.stuckBuilders) restarts. A build usually takes a few minutes: check get_account_status every minute or two, stop after an hour; webUrl is the page of the skills the brain holds. Admins only.\n\nAdmins only: a member is refused.",
10042
+ description: "Build the Onbox agent's brain: one learning run per connected inbox reads its history and writes skills and memories. The first build starts by itself once an inbox is connected and a plan is active (the free trial counts); call this to start it now, or with rebuild to learn again from inboxes whose build ended. Without an inbox or an active plan, it names what is missing and the fix. Safe to call again: a running build is left alone; a stuck or failed builder (brain.stuckBuilders) restarts. A build can take a while. Check get_account_status every minute or two and stop after an hour. Use webUrl to link to the skills page. Admins only.\n\nAdmins only: a member is refused.",
10043
10043
  security: [
10044
10044
  {
10045
10045
  bearerAuth: []
@@ -15589,7 +15589,7 @@ function callbackPage(ok) {
15589
15589
  // package.json
15590
15590
  var package_default = {
15591
15591
  name: "@onbox/cli",
15592
- version: "0.5.1",
15592
+ version: "0.5.3",
15593
15593
  description: "The onbox command line: the Onbox public API (/v1) from a terminal.",
15594
15594
  keywords: [
15595
15595
  "onbox",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onbox/cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "The onbox command line: the Onbox public API (/v1) from a terminal.",
5
5
  "keywords": [
6
6
  "onbox",
@@ -35,8 +35,8 @@
35
35
  "tsup": "^8.5.1",
36
36
  "typescript": "6.0.3",
37
37
  "vitest": "^5.1.0",
38
- "@repo/openapi": "1.0.0",
39
- "@repo/typescript-config": "0.0.0"
38
+ "@repo/typescript-config": "0.0.0",
39
+ "@repo/openapi": "1.0.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsup",