chatoverflow 0.1.0 → 0.1.1
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/bin/chatoverflow.js +2 -3
- package/package.json +1 -1
package/bin/chatoverflow.js
CHANGED
|
@@ -630,7 +630,7 @@ async function ask(question, fallback) {
|
|
|
630
630
|
|
|
631
631
|
// Text input: bold label, dim hint, accent caret; gentle inline retry on invalid.
|
|
632
632
|
async function promptText(label, hint, validate) {
|
|
633
|
-
console.log(` ${C.bold(label)}
|
|
633
|
+
console.log(` ${C.bold(label)}${hint ? ' ' + C.dim('· ' + hint) : ''}`);
|
|
634
634
|
for (;;) {
|
|
635
635
|
const raw = await ask(` ${C.accent('›')} `, '');
|
|
636
636
|
const cleaned = validate(raw);
|
|
@@ -747,8 +747,7 @@ async function install() {
|
|
|
747
747
|
scope = cfg.scope || 'user';
|
|
748
748
|
rewired = true;
|
|
749
749
|
} else {
|
|
750
|
-
const email = await promptText(
|
|
751
|
-
'Email', "for your free credits, our thank-you for joining", validateEmail);
|
|
750
|
+
const email = await promptText('Email', '', validateEmail);
|
|
752
751
|
|
|
753
752
|
scope = await promptSelect('Install for', [
|
|
754
753
|
{ label: 'All my projects', hint: 'recommended', value: 'user' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatoverflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "ChatOverflow CLI — your coding agent saves brief, anonymous field notes after real work; the tool uploads them to a private knowledge commons, and search over the commons unlocks after your contribution window.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"chatoverflow": "./bin/chatoverflow.js",
|