@eventmodelers/cli 0.0.21 → 0.0.22
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/cli.js
CHANGED
|
@@ -835,7 +835,7 @@ async function configureMcp(options = {}) {
|
|
|
835
835
|
// read-only config resolution (`loadLocalConfig`/`fetchPlatformConfig`) is reused
|
|
836
836
|
// from the kit's lib/config.js, to avoid duplicating the config-file-walk logic.
|
|
837
837
|
// See `claude-modeling.md` in the kit's project root for the per-turn instructions
|
|
838
|
-
// this mode's
|
|
838
|
+
// this mode's modeling session follows.
|
|
839
839
|
async function runModeling(kitDir, projectDir) {
|
|
840
840
|
const configLibPath = join(kitDir, 'lib', 'config.js');
|
|
841
841
|
if (!existsSync(configLibPath)) {
|
|
@@ -866,7 +866,7 @@ async function runModeling(kitDir, projectDir) {
|
|
|
866
866
|
'relevant slice or column node on the board, then continue with your best interpretation of the prompt.\n\n';
|
|
867
867
|
|
|
868
868
|
// Sent once, on the first turn only — it's what tells CLAUDE.md's dispatcher to
|
|
869
|
-
// follow claude-modeling.md instead of claude-ralph.md, and gives the
|
|
869
|
+
// follow claude-modeling.md instead of claude-ralph.md, and gives the modeling
|
|
870
870
|
// session its one-time connect credentials. Every later turn only carries the
|
|
871
871
|
// per-prompt fields that actually vary (board_id, comment_id, ...).
|
|
872
872
|
let firstTurn = true;
|
|
@@ -952,7 +952,7 @@ async function runModeling(kitDir, projectDir) {
|
|
|
952
952
|
turn.reject(new Error(`claude process exited (${code}) mid-turn`));
|
|
953
953
|
}
|
|
954
954
|
});
|
|
955
|
-
log('
|
|
955
|
+
log('modeling session started');
|
|
956
956
|
}
|
|
957
957
|
|
|
958
958
|
function runClaudeWarm(text) {
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Modeling Direct-Dispatch —
|
|
1
|
+
# Modeling Direct-Dispatch — Modeling Session Mode
|
|
2
2
|
|
|
3
3
|
Used by `npx @eventmodelers/cli run --modeling`. The CLI itself subscribes to the board's realtime channel and writes each incoming prompt directly to your stdin as a new turn — there is **no `tasks.json` queue** in this mode. Each user message you receive already IS the one prompt to handle; there's nothing to read, pre-filter, or pick from.
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ You are a long-lived process handling many turns in a row. Don't redo one-time s
|
|
|
12
12
|
- if this turn's `board_id` differs from the one you last connected with, or
|
|
13
13
|
- if the last API call returned `401`/`403`.
|
|
14
14
|
|
|
15
|
-
Otherwise skip straight to executing the prompt — re-running `/connect` every turn defeats the point of a
|
|
15
|
+
Otherwise skip straight to executing the prompt — re-running `/connect` every turn defeats the point of a modeling session.
|
|
16
16
|
3. **Resolve `BOARD_ID`** from this turn's `board_id` field; if absent, fall back to `boardId` in `.eventmodelers/config.json`.
|
|
17
17
|
4. Execute the prompt using the skill matched in CLAUDE.md's Skill Selection table.
|
|
18
18
|
**Questioning rule**: you are running autonomously — no human is available to answer questions. If you need clarification, do not pause or ask interactively — post a `QUESTION`-type comment (`/handle-comment` with `action=place`, `type=QUESTION`) on the most relevant node, then continue with your best interpretation.
|