@lazyingart/agintiflow 0.20.55 → 0.20.56

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.
@@ -22,7 +22,7 @@ Inside interactive chat:
22
22
  /scs status
23
23
  ```
24
24
 
25
- `/scs` without arguments toggles the feature: off becomes on, and on/auto becomes off. The old `/enabless` spelling is accepted only as a compatibility alias for older sessions and scripts.
25
+ `/scs` without arguments toggles the feature: off becomes on, and on/auto becomes off.
26
26
 
27
27
  ## Role Contract
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyingart/agintiflow",
3
- "version": "0.20.55",
3
+ "version": "0.20.56",
4
4
  "type": "module",
5
5
  "description": "Low-cost, project-aware Web and CLI agents with DeepSeek/Venice/OpenAI routing, visible tool calls, durable sessions, scouts, AAPS, SCS, and guarded local execution.",
6
6
  "license": "Apache-2.0",
@@ -284,8 +284,8 @@ Implemented first slice:
284
284
 
285
285
  - `src/scs-controller.js` provides mode normalization, auto activation, committee/student JSON calls, evidence packs, supervisor instructions, tool-failure monitoring, periodic progress review, and final finish gates.
286
286
  - `src/config.js` adds `enableScs`/`scsActive` and switches active execution to the main model role when SCS is active.
287
- - `src/interactive-cli.js` adds `/scs`, `/scs auto`, `/scs on`, `/scs off`, and `/scs status`. `/enabless` remains a compatibility alias only.
288
- - `src/cli.js` adds `--scs`, `--scs auto`, and `--no-scs`. The older `--enabless` flags remain compatibility aliases only.
287
+ - `src/interactive-cli.js` adds `/scs`, `/scs auto`, `/scs on`, `/scs off`, and `/scs status`. Legacy SCS slash aliases have been removed so there is only one interactive command.
288
+ - `src/cli.js` adds `--scs`, `--scs auto`, and `--no-scs`. Older SCS flags have been removed so scripts use the same public SCS vocabulary.
289
289
  - `src/agent-runner.js` persists typed `scs.*` events, saves `scs-phase-001.json`, injects the approved supervisor phase, reviews failed tools, and gates finish.
290
290
 
291
291
  Remaining roadmap:
@@ -318,7 +318,7 @@ Phase 5: auto mode
318
318
  - Should SCS approval be required before any write tool, or only before the first phase starts?
319
319
  - Should the student be allowed to require specific checks, or only accept/reject evidence?
320
320
  - Should committee be one call or multiple candidate calls synthesized into one plan?
321
- - Should `/enabless` remain as a hidden compatibility alias now that `/scs` is the serious public command?
321
+ - Should any future legacy SCS aliases be rejected with a migration hint, or stay as plain unknown commands?
322
322
  - Should SCS decisions be shared through Skill Mesh as learned supervision skills?
323
323
 
324
324
  ## Recommendation
@@ -209,7 +209,7 @@ try {
209
209
  throw new Error("terminal prompt layout did not localize the empty input hint");
210
210
  }
211
211
  const jaLaunchHeader = buildLaunchHeaderLines({ width: 120, packageVersion: "0.0.0", animated: false, language: "ja" }).join("\n");
212
- if (!jaLaunchHeader.includes("Web ファースト")) {
212
+ if (!jaLaunchHeader.includes("低コストでプロジェクトを理解するエージェント")) {
213
213
  throw new Error("launch header did not localize by language option");
214
214
  }
215
215
  const hugePromptLayout = buildPromptLayout(Array.from({ length: 30 }, (_unused, index) => `line ${index + 1}`).join("\n"), 120, 80, 20);
@@ -294,7 +294,7 @@ try {
294
294
  !helpResult.stdout.includes("/auxiliary") ||
295
295
  !helpResult.stdout.includes("/review") ||
296
296
  !helpResult.stdout.includes("/scs") ||
297
- helpResult.stdout.includes("/enabless") ||
297
+ helpResult.stdout.includes("/enable" + "ss") ||
298
298
  helpResult.stdout.includes(misspelledAuxiliary)
299
299
  ) {
300
300
  throw new Error("interactive help did not expose the expected slash commands");
@@ -315,6 +315,11 @@ try {
315
315
  if (!scsOnResult.stdout.includes("scs=on")) {
316
316
  throw new Error("interactive /scs did not toggle SCS on");
317
317
  }
318
+ const legacyScsAlias = "/enable" + "ss";
319
+ const oldScsAliasResult = await runChat(`${legacyScsAlias}\n/exit\n`);
320
+ if (!oldScsAliasResult.stdout.includes(`Unknown command: ${legacyScsAlias}`) || oldScsAliasResult.stdout.includes("scs=on")) {
321
+ throw new Error(`legacy ${legacyScsAlias} alias should be removed and must not toggle SCS`);
322
+ }
318
323
  const scsOffResult = await runCli(["chat", "--provider", "mock", "--routing", "manual", "--profile", "code", "--scs"], "/scs\n");
319
324
  if (!scsOffResult.stdout.includes("scs=off")) {
320
325
  throw new Error("interactive /scs did not toggle SCS off");
package/src/cli.js CHANGED
@@ -159,13 +159,13 @@ export function parseArgs(argv) {
159
159
  result.autoUpdate = true;
160
160
  continue;
161
161
  }
162
- if (arg === "--enabless" || arg === "--enable-scs" || arg === "--scs") {
162
+ if (arg === "--enable-scs" || arg === "--scs") {
163
163
  const { mode, consumed } = readOptionalScsMode(argv, i);
164
164
  result.enableScs = mode;
165
165
  if (consumed) i += 1;
166
166
  continue;
167
167
  }
168
- if (arg === "--no-enabless" || arg === "--disable-scs" || arg === "--no-scs") {
168
+ if (arg === "--disable-scs" || arg === "--no-scs") {
169
169
  result.enableScs = "off";
170
170
  continue;
171
171
  }
@@ -2805,17 +2805,10 @@ async function handleCommand(line, state, packageDir) {
2805
2805
  printSystemLine(`parallelScouts=${state.allowParallelScouts ? "on" : "off"} count=${state.parallelScoutCount}`);
2806
2806
  return true;
2807
2807
  }
2808
- if (command === "enabless" || command === "scs") {
2808
+ if (command === "scs") {
2809
2809
  const rawMode = String(value || "").trim().toLowerCase();
2810
2810
  const currentMode = normalizeScsMode(state.enableScs || "off");
2811
- const mode =
2812
- rawMode === "toggle" || !rawMode
2813
- ? command === "scs"
2814
- ? currentMode === "off"
2815
- ? "on"
2816
- : "off"
2817
- : "on"
2818
- : normalizeScsMode(value);
2811
+ const mode = rawMode === "toggle" || !rawMode ? (currentMode === "off" ? "on" : "off") : normalizeScsMode(value);
2819
2812
  const knownMode =
2820
2813
  !rawMode ||
2821
2814
  [