@gobi-ai/cli 0.6.5 → 0.6.6
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/commands/brain.js
CHANGED
|
@@ -74,7 +74,7 @@ export function registerBrainCommand(program) {
|
|
|
74
74
|
}
|
|
75
75
|
if (opts.mode != null)
|
|
76
76
|
body.mode = opts.mode;
|
|
77
|
-
const resp = (await apiPost(`/
|
|
77
|
+
const resp = (await apiPost(`/chat/targeted`, body));
|
|
78
78
|
const data = unwrapResp(resp);
|
|
79
79
|
if (isJsonMode(brain)) {
|
|
80
80
|
jsonOut(data);
|
|
@@ -16,7 +16,7 @@ export function registerSessionsCommand(program) {
|
|
|
16
16
|
};
|
|
17
17
|
if (opts.cursor)
|
|
18
18
|
params.cursor = opts.cursor;
|
|
19
|
-
const resp = (await apiGet(`/
|
|
19
|
+
const resp = (await apiGet(`/chat/${sessionId}`, params));
|
|
20
20
|
const data = unwrapResp(resp);
|
|
21
21
|
if (isJsonMode(sessions)) {
|
|
22
22
|
jsonOut(data);
|
|
@@ -56,7 +56,7 @@ export function registerSessionsCommand(program) {
|
|
|
56
56
|
const query = { limit: parseInt(opts.limit, 10) };
|
|
57
57
|
if (opts.cursor)
|
|
58
58
|
query.cursor = opts.cursor;
|
|
59
|
-
const resp = (await apiGet(`/
|
|
59
|
+
const resp = (await apiGet(`/chat/my-sessions`, query));
|
|
60
60
|
const items = (resp.data || []);
|
|
61
61
|
const pagination = (resp.pagination || {});
|
|
62
62
|
if (isJsonMode(sessions)) {
|
|
@@ -115,7 +115,7 @@ export function registerSessionsCommand(program) {
|
|
|
115
115
|
else {
|
|
116
116
|
body.content = opts.content;
|
|
117
117
|
}
|
|
118
|
-
const resp = (await apiPost(`/
|
|
118
|
+
const resp = (await apiPost(`/chat/${sessionId}/reply`, body));
|
|
119
119
|
const msg = unwrapResp(resp);
|
|
120
120
|
if (isJsonMode(sessions)) {
|
|
121
121
|
jsonOut(msg);
|
package/package.json
CHANGED
package/skills/gobi/SKILL.md
CHANGED
|
@@ -10,12 +10,12 @@ description: >-
|
|
|
10
10
|
allowed-tools: Bash(gobi:*)
|
|
11
11
|
metadata:
|
|
12
12
|
author: gobi-ai
|
|
13
|
-
version: "0.6.
|
|
13
|
+
version: "0.6.5"
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
# gobi-cli
|
|
17
17
|
|
|
18
|
-
A CLI client for the Gobi collaborative knowledge platform (v0.6.
|
|
18
|
+
A CLI client for the Gobi collaborative knowledge platform (v0.6.5).
|
|
19
19
|
|
|
20
20
|
## Prerequisites
|
|
21
21
|
|