mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-30 23:59:20 -08:00
Remember the terminal or web console choice, refresh the launcher model menus (v3.2.2)
AI Assisted
This commit is contained in:
1 parent
f1d087ba47
commit
ccf82c4eb7
60 files changed
+477
-317
No files matched your search
@@ -1,6 +1,6 @@
|
||||
// Fails when the console opening paragraph of a skill drifts from the shared one.
|
||||
//
|
||||
// Eighteen skills open with the same "web console or terminal?" paragraph. Only
|
||||
// Twenty-one skills open with the same "terminal or web console?" paragraph. Only
|
||||
// the workflow name, the notes file and a few skill-specific clauses may differ;
|
||||
// the shared sentences below must read the same in every one, so a fix to one
|
||||
// skill's opening cannot silently skip the others. Matching ignores case and
|
||||
@@ -15,19 +15,16 @@ import { fileURLToPath } from "node:url";
|
||||
// own words on purpose is listed in EXEMPT with the reason.
|
||||
export const SHARED = [
|
||||
{ id: "first", text: "The FIRST thing you do, before anything else in this file" },
|
||||
{ id: "ask", text: "**web console** (browser page, suggested) or **terminal**?" },
|
||||
{ id: "ask", text: '**terminal** or **web console**? Run `node "<D>/console.mjs" interface`' },
|
||||
{ id: "rule", text: "and follow its rule: the request or the saved default decides; ask only if it says so or the command fails." },
|
||||
{ id: "run", text: 'run `node "<D>/console.mjs" open --workflow {w}` before reading' },
|
||||
{ id: "dir", text: "<D>: references/web-console/ beside this SKILL.md" },
|
||||
{ id: "dirfile", text: "or the dir in ~/.plan2code/console/console-dir" },
|
||||
{ id: "read", text: "then read <D>/console.md" },
|
||||
{ id: "switch", text: "Switchable anytime." },
|
||||
{ id: "web", text: "If the argument already says which (`--web` or `Use the web console for this session.`), take it and do not ask; drop the flag." },
|
||||
{ id: "dash", text: "Launched by the dashboard? Its session is already open: resume it (console-launches.md)" },
|
||||
];
|
||||
|
||||
export const EXEMPT = {
|
||||
// Implement + Review defers to Implementation Mode's own Interface question.
|
||||
"plan2code-3-implement-review": { ask: "defers to Implementation Mode's Interface question", run: "the question is Implementation Mode's" , switch: "Implementation Mode's Interface section says it" },
|
||||
// Git runs an instruction in the argument in the terminal at once and has its own hand-off lines.
|
||||
"plan2code-git": { dash: "also resumes from Commit it now and the Changelog hand-off", first: "opens with the run-at-once rule for an argument" },
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user