@series-a/cli 0.2.1 → 0.6.0

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/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
- Copyright (c) AdvisorOS / Series A. All rights reserved.
1
+ Copyright (c) AdvisorPro / Series A. All rights reserved.
2
2
 
3
3
  This package is distributed under a proprietary license. Use is permitted only
4
- by AdvisorOS customers and partners against their own workspace API keys. Do not
4
+ by AdvisorPro customers and partners against their own workspace API keys. Do not
5
5
  redistribute, sublicense, or use against workspaces you do not own without
6
6
  written permission.
7
+
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @series-a/cli
2
2
 
3
- A command-line interface to the AdvisorOS platform — drive leads, campaigns, sequences and agents from your terminal. Built on top of the [`/agent-api`](https://github.com/series-a/advisoros/blob/main/docs/agent-api.md) M2M router, so anything the CLI does is auditable and workspace-scoped.
3
+ A command-line interface to the AdvisorPro platform — drive leads, campaigns, sequences and agents from your terminal. Built on top of the [`/agent-api`](https://github.com/series-a/advisoros/blob/main/docs/agent-api.md) M2M router, so anything the CLI does is auditable and workspace-scoped.
4
4
 
5
5
  ---
6
6
 
@@ -24,7 +24,7 @@ Requires **Node.js ≥ 20**.
24
24
 
25
25
  ## 1. Get an API key
26
26
 
27
- 1. Sign in to AdvisorOS.
27
+ 1. Sign in to AdvisorPro.
28
28
  2. Open **Settings → API Keys**.
29
29
  3. Click **New key** → choose **Workspace** scope (recommended).
30
30
  4. Copy the key — you won't see it again.
@@ -115,6 +115,20 @@ advisoros agents job <jobId>
115
115
 
116
116
  > **Heads-up:** `inbox send`/`reply` are intentionally **not** in v1. Outbound goes through `campaigns launch` (sender resolution + char limits + per-sender daily budget). For one-off DMs, use the web inbox.
117
117
 
118
+ ### Obsidian vault mirror (`kb`) — one-way
119
+
120
+ ```bash
121
+ advisoros kb link ./client-vault --workspace dmw9wj
122
+ advisoros kb status ./client-vault # dry-run preview
123
+ advisoros kb pull ./client-vault # mirror notes + graph entities
124
+ advisoros kb pull ./client-vault --preserve-local
125
+ ```
126
+
127
+ One-way push, AdvisorPro → Obsidian. Markdown notes with frontmatter, `[[wikilinks]]` and an
128
+ `## Entities` block, plus `Entities/<Type>/*.md` for graph nodes. Local edits are overwritten unless
129
+ `--preserve-local` is used (remote copy lands as `<slug>.remote.md`). Nothing is pushed back.
130
+
131
+
118
132
  ## Examples
119
133
 
120
134
  **Spin up a campaign from a fresh CSV:**
@@ -188,3 +202,4 @@ git push --follow-tags
188
202
  ## Full API reference
189
203
 
190
204
  See [`docs/agent-api.md`](../../docs/agent-api.md) for the underlying `/agent-api` envelope.
205
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@series-a/cli",
3
- "version": "0.2.1",
4
- "description": "AdvisorOS command-line interface — drive leads, campaigns, sequences and agents from your terminal.",
3
+ "version": "0.6.0",
4
+ "description": "AdvisorPro command-line interface — drive leads, campaigns, sequences and agents from your terminal.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "advisoros": "bin/advisoros.mjs"
@@ -55,6 +55,7 @@
55
55
  "sequences",
56
56
  "agent-api"
57
57
  ],
58
- "author": "AdvisorOS",
58
+ "author": "AdvisorPro",
59
59
  "license": "UNLICENSED"
60
60
  }
61
+
package/src/api.mjs CHANGED
@@ -10,7 +10,7 @@ export class AdvisorOSApiError extends Error {
10
10
  }
11
11
 
12
12
  /**
13
- * Invoke the AdvisorOS /agent-api router.
13
+ * Invoke the AdvisorPro /agent-api router.
14
14
  * Resolves credentials from --profile / env / saved config in that order.
15
15
  */
16
16
  export async function call(resource, action, params = {}, opts = {}) {
@@ -74,3 +74,4 @@ export async function call(resource, action, params = {}, opts = {}) {
74
74
  }
75
75
  return json;
76
76
  }
77
+