@withone/cli 1.55.4 → 1.56.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.
@@ -3,12 +3,12 @@ import {
3
3
  dotPathToJsonbExpr,
4
4
  memMigrateCommand,
5
5
  reviveStringifiedJson
6
- } from "./chunk-FS4HAKZ6.js";
6
+ } from "./chunk-XWTV7FA3.js";
7
7
  import "./chunk-44CV5IMX.js";
8
- import "./chunk-GNSR3NYN.js";
9
- import "./chunk-DDCDPVJH.js";
10
- import "./chunk-5O5KODGV.js";
11
- import "./chunk-EVEUGRCB.js";
8
+ import "./chunk-OLQ55K6B.js";
9
+ import "./chunk-VH46MAE4.js";
10
+ import "./chunk-YMUY55U2.js";
11
+ import "./chunk-6UB623BG.js";
12
12
  export {
13
13
  buildIdentityMap,
14
14
  dotPathToJsonbExpr,
@@ -5,9 +5,9 @@ import {
5
5
  resetBackendSingleton,
6
6
  updateRecord,
7
7
  upsertRecord
8
- } from "./chunk-DDCDPVJH.js";
9
- import "./chunk-5O5KODGV.js";
10
- import "./chunk-EVEUGRCB.js";
8
+ } from "./chunk-VH46MAE4.js";
9
+ import "./chunk-YMUY55U2.js";
10
+ import "./chunk-6UB623BG.js";
11
11
  export {
12
12
  addRecord,
13
13
  closeBackendIfCached,
@@ -3,12 +3,12 @@ import {
3
3
  note,
4
4
  okJson,
5
5
  requireMemoryInit
6
- } from "./chunk-GNSR3NYN.js";
6
+ } from "./chunk-OLQ55K6B.js";
7
7
  import {
8
8
  getBackend
9
- } from "./chunk-DDCDPVJH.js";
10
- import "./chunk-5O5KODGV.js";
11
- import "./chunk-EVEUGRCB.js";
9
+ } from "./chunk-VH46MAE4.js";
10
+ import "./chunk-YMUY55U2.js";
11
+ import "./chunk-6UB623BG.js";
12
12
 
13
13
  // src/lib/memory/sync/schema.ts
14
14
  import pc from "picocolors";
@@ -0,0 +1,12 @@
1
+ import {
2
+ memSqlCommand,
3
+ syncSqlCommand
4
+ } from "./chunk-KAF5SVJS.js";
5
+ import "./chunk-OLQ55K6B.js";
6
+ import "./chunk-VH46MAE4.js";
7
+ import "./chunk-YMUY55U2.js";
8
+ import "./chunk-6UB623BG.js";
9
+ export {
10
+ memSqlCommand,
11
+ syncSqlCommand
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withone/cli",
3
- "version": "1.55.4",
3
+ "version": "1.56.0",
4
4
  "description": "CLI for managing One",
5
5
  "type": "module",
6
6
  "files": [
@@ -33,6 +33,8 @@ one logout # Clear local credentials
33
33
 
34
34
  `one login` opens the browser for OAuth authentication and automatically creates and stores an API key. If already logged in, the user can choose to log in globally or for the current directory. `one logout` shows current session info and confirms before clearing credentials.
35
35
 
36
+ The consent page asks which harness will use the key (Claude Code, Codex, Cursor, …) and records the install location as tags on the key (`scope:global` / `scope:project`, `path:`, `host:`, `user:`, `harness:`, and `device:` unless telemetry is off). The CLI prints what it will send before opening the browser. `one whoami` shows the key's name once it is stored.
37
+
36
38
  **Onboarding a user with no prompts:** run `one init --auth browser` — it opens a login window (the user authenticates there), saves the key, and auto-installs this skill, all without blocking on stdin. Add `-g`/`-p` for scope (default global). For CI/CD or headless environments, use `one init --auth manual --api-key sk_live_...`.
37
39
 
38
40
  ## Core Workflow: search -> knowledge -> execute
@@ -1,12 +0,0 @@
1
- import {
2
- memSqlCommand,
3
- syncSqlCommand
4
- } from "./chunk-OWDR5L3Q.js";
5
- import "./chunk-GNSR3NYN.js";
6
- import "./chunk-DDCDPVJH.js";
7
- import "./chunk-5O5KODGV.js";
8
- import "./chunk-EVEUGRCB.js";
9
- export {
10
- memSqlCommand,
11
- syncSqlCommand
12
- };