@quireco/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/README.md
CHANGED
|
@@ -96,6 +96,27 @@ Each run writes `metadata.json`, `report.json`, and raw `emit-report.json` under
|
|
|
96
96
|
|
|
97
97
|
Local investigations run the Pi agent loop on your machine. Quire prefers local Pi/OpenAI Codex provider auth when it is configured, then falls back to Quire Credits through Quire's authenticated broker. Quire-owned provider auth is read from `~/.quire/model-auth.json` by default, with compatibility fallback to Pi's existing auth file. Set `QUIRE_MODEL_AUTH_PATH` to override the Quire-owned model auth file. `quire login` associates local runs with your Quire account for identity, wallet access, run upload, and future hosted workflows; personal model-provider auth remains a separate local-provider concern.
|
|
98
98
|
|
|
99
|
+
Use `quire connect chatgpt` when you want Quire to connect ChatGPT/Codex subscription auth without using the Pi CLI first:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
quire connect chatgpt
|
|
103
|
+
quire connect chatgpt --no-open
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
This starts Pi's OpenAI Codex OAuth flow and writes Pi-compatible credentials to Quire's local model-auth store. Existing Pi users do not need this step because Quire still reads Pi's existing auth file as a fallback.
|
|
107
|
+
|
|
108
|
+
Web investigations use the `agent-browser` package bundled with `@quireco/cli`; a separate global `agent-browser` install is not required. A usable Chrome/Chromium installation is still required for local browser automation unless the run uses an external browser provider or explicit executable path.
|
|
109
|
+
|
|
110
|
+
Remote agents can use an environment-scoped API token instead of browser login:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
export QUIRE_API_TOKEN=qk_...
|
|
114
|
+
quire whoami --json
|
|
115
|
+
quire investigate "Verify this PR" --json
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
API tokens are created in the web app under Settings → API Tokens. The CLI sends them with `X-Quire-API-Key`, uses `QUIRE_API_URL` when pointing at a non-production Quire app, and syncs runs under the token's environment name so Cursor Cloud, Codex, and CI activity can be grouped separately from direct human sessions.
|
|
119
|
+
|
|
99
120
|
## Hosted Model-Source Status
|
|
100
121
|
|
|
101
122
|
Use `quire whoami --json` to check the authenticated account and hosted model-source status before relying on remote Quire Credits behavior:
|
|
@@ -6,7 +6,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
10
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
|
+
var __exportAll = (all, no_symbols) => {
|
|
12
|
+
let target = {};
|
|
13
|
+
for (var name in all) __defProp(target, name, {
|
|
14
|
+
get: all[name],
|
|
15
|
+
enumerable: true
|
|
16
|
+
});
|
|
17
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
10
20
|
var __copyProps = (to, from, except, desc) => {
|
|
11
21
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
22
|
key = keys[i];
|
|
@@ -21,6 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
31
|
value: mod,
|
|
22
32
|
enumerable: true
|
|
23
33
|
}) : target, mod));
|
|
34
|
+
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
25
36
|
//#endregion
|
|
26
|
-
export { __require as n, __toESM as r, __commonJSMin as t };
|
|
37
|
+
export { __toCommonJS as a, __require as i, __esmMin as n, __toESM as o, __exportAll as r, __commonJSMin as t };
|