records-cli 0.0.2 → 0.0.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.
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
- package/skill/SKILL.md +3 -2
- package/skill/references/REFERENCE.md +1 -1
package/dist/client.d.ts
CHANGED
package/dist/client.js
CHANGED
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
|
|
3
3
|
## name: records-cli
|
|
4
|
+
|
|
4
5
|
description: How to record new knowledge for the user via the Records CLI—create groups and records so ideas from the chat become stored documents. Use when the user asks to save, remember, or record something from the conversation, or when you should persist an explanation (lesson, reference, how-to) for later.
|
|
5
|
-
compatibility: Requires the `records-cli` npm package (or a local build). Uses HTTPS against `https://records
|
|
6
|
+
compatibility: Requires the `records-cli` npm package (or a local build). Uses HTTPS against `https://api-records.tolkee.dev` only. Commands that change data need a token; ask the user if you do not have one.
|
|
6
7
|
metadata:
|
|
7
8
|
cli-package: records-cli
|
|
8
9
|
spec-version: "1.0"
|
|
@@ -12,7 +13,7 @@ metadata:
|
|
|
12
13
|
## Install and environment
|
|
13
14
|
|
|
14
15
|
- **Package:** `records-cli` — install with `npm install -g records-cli` or run ad hoc with `npx records-cli`.
|
|
15
|
-
- **Server:** always `https://records
|
|
16
|
+
- **Server:** always `https://api-records.tolkee.dev` (not configurable).
|
|
16
17
|
- **Token:** For commands that mutate or list protected data, pass `-t <token>` or set `RECORDS_TOKEN` to the user’s plaintext key.
|
|
17
18
|
- **If you do not already have a key**, ask the user before running protected commands. Do not guess or fabricate a key. Once they share it, use it only for CLI invocations and avoid repeating the full secret in replies when unnecessary.
|
|
18
19
|
- If the user has no key yet, they may create one through their usual Records setup, or—where the server allows it—via the bootstrap flow described in the reference (creating the first key when none exist).
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| `-p, --pretty` | — | Pretty-print JSON on stdout |
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
All requests use `**https://records
|
|
12
|
+
All requests use `**https://api-records.tolkee.dev`** as the origin (fixed).
|
|
13
13
|
|
|
14
14
|
Successful responses are JSON on **stdout** (usually `{ "data": … }`). Failures print JSON with `error` (and `status` / `body` when available) on **stdout**; the process exits non-zero.
|
|
15
15
|
|