probe-research 0.43.0 → 0.44.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.
- package/bin/probe-research.js +10 -5
- package/package.json +1 -1
- package/upkeep.json +3 -0
package/bin/probe-research.js
CHANGED
|
@@ -158,8 +158,10 @@ const FIX_MIN = "0.385.0";
|
|
|
158
158
|
* 0.525.0 since install friction notes PR1: `feedback install`, the install's note to the Probe team on the
|
|
159
159
|
* person's Send (`isPromptCall`); an older CLI answers "No such command 'install'". 0.524.0 was cut before it
|
|
160
160
|
* merged. Launcher 0.41.0 carries it.
|
|
161
|
+
* 0.599.0 since install one-go: `status --check`, `import review --background`/`--renews` and per-source consent.
|
|
162
|
+
* Launcher 0.44.0 carries it.
|
|
161
163
|
*/
|
|
162
|
-
const AGENT_MIN_CLI = "0.
|
|
164
|
+
const AGENT_MIN_CLI = "0.599.0";
|
|
163
165
|
/** `install` flags only AGENT_MIN_CLI knows (D36). */
|
|
164
166
|
const AGENT_INSTALL_FLAGS = Object.freeze(["--recommended", "--who-records", "--session-default", "--session-control",
|
|
165
167
|
"--profile", "--attempt"]);
|
|
@@ -767,8 +769,9 @@ const DOWNLOAD_POLL_MS = 1000;
|
|
|
767
769
|
/** The uninstall barrier (`probe.shared.updates.uninstall_barrier.path`). */
|
|
768
770
|
const BARRIER_FILE = [".local", "state", "probe", "uninstall", "barrier.json"];
|
|
769
771
|
|
|
770
|
-
/** `status` flags only AGENT_MIN_CLI knows: the re-paste menu's answer (D84), the past-work offer's (PR24)
|
|
771
|
-
|
|
772
|
+
/** `status` flags only AGENT_MIN_CLI knows: the re-paste menu's answer (D84), the past-work offer's (PR24), the
|
|
773
|
+
* install check (install one-go). */
|
|
774
|
+
const AGENT_STATUS_FLAGS = Object.freeze(["--repaste-choice", "--past-work-choice", "--check"]);
|
|
772
775
|
/** `import` verbs only AGENT_MIN_CLI has: bringing in past work (D49, D74). `import wandb` is older. */
|
|
773
776
|
const AGENT_IMPORT_VERBS = Object.freeze(["folders", "review", "start", "status", "resume"]);
|
|
774
777
|
/** `session` verbs only AGENT_MIN_CLI takes from an agent: this chat's switch (T3), the new-chat default (D102), auto mode. */
|
|
@@ -1108,9 +1111,11 @@ async function sayInstalled(watch, startedMs) {
|
|
|
1108
1111
|
}
|
|
1109
1112
|
if (!watch.isApproved()) return;
|
|
1110
1113
|
watch.markSaid(approval.InstallStage.DONE);
|
|
1114
|
+
// Said as the next step, never as a time limit: "too little time left" read as a failure (11-15).
|
|
1115
|
+
const facts = watch.getRunAgainFacts(approval.InstallStage.DONE);
|
|
1111
1116
|
await refuseAgent(AgentStep.SIGN_IN_WAIT, agentRun.Reason.RUN_AGAIN,
|
|
1112
|
-
"Probe is installed
|
|
1113
|
-
agentRun.EXIT_AGAIN,
|
|
1117
|
+
"You're approved and Probe is installed: run the same command once more to finish signing in.",
|
|
1118
|
+
agentRun.EXIT_AGAIN, { ...facts, say: `${facts.say} Finishing your sign-in next.` });
|
|
1114
1119
|
}
|
|
1115
1120
|
|
|
1116
1121
|
/** A `probe` at the agent floor: the one here, else the first download's (started if none runs), waited
|
package/package.json
CHANGED
package/upkeep.json
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"import review": {
|
|
40
40
|
"--agent": 1,
|
|
41
|
+
"--background": 0,
|
|
41
42
|
"--chats-agent": 1,
|
|
42
43
|
"--chats-all": 0,
|
|
43
44
|
"--chats-folder": 1,
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"--chats-since": 1,
|
|
46
47
|
"--folder": 1,
|
|
47
48
|
"--json": 0,
|
|
49
|
+
"--renews": 1,
|
|
48
50
|
"--sessions": 1,
|
|
49
51
|
"--skip-files-over": 1,
|
|
50
52
|
"--wandb-folder": 1,
|
|
@@ -112,6 +114,7 @@
|
|
|
112
114
|
"-y": 0
|
|
113
115
|
},
|
|
114
116
|
"status": {
|
|
117
|
+
"--check": 0,
|
|
115
118
|
"--demo-choice": 1,
|
|
116
119
|
"--json": 0,
|
|
117
120
|
"--past-work-choice": 1,
|