orbit-code-ai 0.1.17 → 0.1.19

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +38 -41
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -83759,7 +83759,7 @@ async function printStartupScreen() {
83759
83759
  const sLen = ` ● ${sL} Ready — type /help to begin`.length;
83760
83760
  out.push(boxRow(sRow, W2, sLen));
83761
83761
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
83762
- out.push(` ${DIM}${rgb(...DIMCOL)}orbit-code ${RESET}${rgb(...ACCENT)}v${"0.1.17"}${RESET}`);
83762
+ out.push(` ${DIM}${rgb(...DIMCOL)}orbit-code ${RESET}${rgb(...ACCENT)}v${"0.1.19"}${RESET}`);
83763
83763
  out.push("");
83764
83764
  process.stdout.write(out.join(`
83765
83765
  `) + `
@@ -334230,7 +334230,7 @@ function getAnthropicEnvMetadata() {
334230
334230
  function getBuildAgeMinutes() {
334231
334231
  if (false)
334232
334232
  ;
334233
- const buildTime = new Date("2026-06-25T12:01:32.905Z").getTime();
334233
+ const buildTime = new Date("2026-06-25T12:29:23.980Z").getTime();
334234
334234
  if (isNaN(buildTime))
334235
334235
  return;
334236
334236
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -358647,7 +358647,7 @@ function buildPrimarySection() {
358647
358647
  }, undefined, false, undefined, this);
358648
358648
  return [{
358649
358649
  label: "Version",
358650
- value: "0.1.17"
358650
+ value: "0.1.19"
358651
358651
  }, {
358652
358652
  label: "Session name",
358653
358653
  value: nameValue
@@ -470718,7 +470718,7 @@ function WelcomeV2() {
470718
470718
  dimColor: true,
470719
470719
  children: [
470720
470720
  "v",
470721
- "0.1.17",
470721
+ "0.1.19",
470722
470722
  " "
470723
470723
  ]
470724
470724
  }, undefined, true, undefined, this)
@@ -470918,7 +470918,7 @@ function WelcomeV2() {
470918
470918
  dimColor: true,
470919
470919
  children: [
470920
470920
  "v",
470921
- "0.1.17",
470921
+ "0.1.19",
470922
470922
  " "
470923
470923
  ]
470924
470924
  }, undefined, true, undefined, this)
@@ -471144,7 +471144,7 @@ function AppleTerminalWelcomeV2(t0) {
471144
471144
  dimColor: true,
471145
471145
  children: [
471146
471146
  "v",
471147
- "0.1.17",
471147
+ "0.1.19",
471148
471148
  " "
471149
471149
  ]
471150
471150
  }, undefined, true, undefined, this);
@@ -471398,7 +471398,7 @@ function AppleTerminalWelcomeV2(t0) {
471398
471398
  dimColor: true,
471399
471399
  children: [
471400
471400
  "v",
471401
- "0.1.17",
471401
+ "0.1.19",
471402
471402
  " "
471403
471403
  ]
471404
471404
  }, undefined, true, undefined, this);
@@ -475112,7 +475112,7 @@ ${args || "No description provided. Ask the user what flow they want to create."
475112
475112
  model: "gemini-3.1-pro-preview",
475113
475113
  whenToUse: "When the user reports a bug, error, BIP message, or unexpected behavior in their ACE flows or ESQL code and wants it diagnosed and fixed",
475114
475114
  argumentHint: "<file or error description>",
475115
- allowedTools: ["Agent", "Read", "Write", "Edit", "Glob", "Grep", "Bash"],
475115
+ allowedTools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash"],
475116
475116
  userInvocable: true,
475117
475117
  async getPromptForCommand(args) {
475118
475118
  const prompt = `# ACE Bug Diagnosis & Fix
@@ -475122,28 +475122,25 @@ ${readInstructions([
475122
475122
  "components/common-utils.md"
475123
475123
  ])}
475124
475124
 
475125
- ## How to work — cheap reader, expert fixer
475126
-
475127
- You are the DECIDER (running on a strong model). Push the token-heavy reading onto a sub-agent so
475128
- it runs on the cheap tier, and keep your own context small and focused.
475129
-
475130
- **Step 1 delegate gathering to a sub-agent.** Use the \`Agent\` tool with
475131
- \`subagent_type: "general-purpose"\` (or \`"Explore"\` if available) to collect the context. Tell the
475132
- sub-agent to:
475133
- - Find and read the user's buggy file PLUS the directly-related files in THIS application — e.g.
475134
- the \`.msgflow\` that wires a broken \`.esql\`, the \`.esql\` a compute node points at, the
475135
- relevant property \`.xml\`. Scope strictly to the app folder.
475136
- - **NOT** read shared libraries or other projects anything under \`Framework/\`, \`Utils/\`,
475137
- \`Qiwa/Framework/Lib\`, or \`lib/\` is OUT OF SCOPE.
475138
- - Return a digest with the **full verbatim contents (or exact line-numbered excerpts) of each
475139
- relevant file**, plus paths, the suspected problem area, node/terminal wiring, and any BIP
475140
- codes — NOT a lossy summary. You need the real code to fix correctly.
475141
- Do NOT bulk-read project files yourself in this step let the sub-agent do it.
475142
-
475143
- **Step 2 diagnose and fix (you).** From the digest, identify the EXACT root cause. Then read ONLY
475144
- the single file you will edit (to get its exact current bytes) and apply the minimal correct fix.
475145
- Use the error-handling and common-utils references above for framework error patterns/functions
475146
- instead of opening library source. Write complete corrected files — never partial content.
475125
+ ## How to work — read the real code, in as few steps as possible
475126
+
475127
+ Accurate diagnosis requires reading the ACTUAL code and choosing the relevant files YOURSELF. Do
475128
+ that directly do NOT delegate gathering to a sub-agent and do NOT work from a summary; a lossy
475129
+ digest causes wrong root-cause identification and wrong fixes. Keep cost down by minimizing the
475130
+ NUMBER of read steps, not by reading less.
475131
+
475132
+ **Step 1 — gather in ONE shot.** Identify the buggy file and its directly-related files in THIS
475133
+ application (the \`.msgflow\` that wires a broken \`.esql\`, the \`.esql\` a compute node points at,
475134
+ the relevant property \`.xml\`), then read them ALL with a SINGLE \`Bash\` command e.g. one
475135
+ \`cat fileA fileB …\` or \`find <app> … -exec cat\` scoped to the app folder — instead of many
475136
+ separate \`Read\` calls. One-file-at-a-time reading re-processes the whole context every step and is
475137
+ the main cost driver. **Do NOT read shared libraries or other projects** anything under
475138
+ \`Framework/\`, \`Utils/\`, \`Qiwa/Framework/Lib\`, or \`lib/\` is OUT OF SCOPE; use the
475139
+ error-handling/common-utils references above for framework patterns instead.
475140
+
475141
+ **Step 2 diagnose and fix.** From the real code you just read, identify the EXACT root cause
475142
+ (quote the offending line), explain it in plain language, then apply the minimal correct fix and
475143
+ write the full corrected file. Do not rewrite unrelated parts.
475147
475144
 
475148
475145
  ## Common ACE Bugs to Check
475149
475146
 
@@ -475170,15 +475167,15 @@ instead of opening library source. Write complete corrected files — never part
475170
475167
 
475171
475168
  ## Instructions
475172
475169
 
475173
- 1. Delegate context-gathering to the sub-agent (Step 1) — do NOT bulk-read files yourself.
475174
- 2. If the error is a BIP message, have the sub-agent Glob within the cwd to find matching
475175
- module/flow names — never search outside cwd.
475176
- 3. From the returned digest, identify the EXACT root cause — quote the problematic line.
475170
+ 1. Gather the buggy file + directly-related app files in ONE batch read (Step 1) — never bulk-read
475171
+ the framework (\`Framework/\`, \`Utils/\`, \`lib/\`) or other projects.
475172
+ 2. If the error is a BIP message, Glob within the cwd to find matching module/flow names — never
475173
+ search outside cwd.
475174
+ 3. Identify the EXACT root cause — quote the problematic line.
475177
475175
  4. Explain the bug in plain language.
475178
- 5. Read only the file you will change, then apply the minimal correct fix.
475179
- 6. Write the full corrected file back to disk — never partial content.
475180
- 7. Do NOT rewrite unrelated parts of the file.
475181
- 8. If the user rejects a write, do NOT retry.
475176
+ 5. Apply the minimal correct fix; write the full corrected file never partial content.
475177
+ 6. Do NOT rewrite unrelated parts of the file.
475178
+ 7. If the user rejects a write, do NOT retry.
475182
475179
 
475183
475180
  ## User's Bug Report
475184
475181
 
@@ -492040,7 +492037,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
492040
492037
  pendingHookMessages
492041
492038
  }, renderAndRun);
492042
492039
  }
492043
- }).version("0.1.17 (Orbit AI)", "-v, --version", "Output the version number");
492040
+ }).version("0.1.19 (Orbit AI)", "-v, --version", "Output the version number");
492044
492041
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
492045
492042
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
492046
492043
  if (canUserConfigureAdvisor()) {
@@ -492562,7 +492559,7 @@ if (false) {}
492562
492559
  async function main2() {
492563
492560
  const args = process.argv.slice(2);
492564
492561
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
492565
- console.log(`${"0.1.17"} (Orbit AI)`);
492562
+ console.log(`${"0.1.19"} (Orbit AI)`);
492566
492563
  return;
492567
492564
  }
492568
492565
  if (args.includes("--provider")) {
@@ -492666,4 +492663,4 @@ async function main2() {
492666
492663
  }
492667
492664
  main2();
492668
492665
 
492669
- //# debugId=7BF5D54BCA02C8DF64756E2164756E21
492666
+ //# debugId=54338F400F5338B064756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orbit-code-ai",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Orbit AI – Your AI-powered IBM ACE coding companion",
5
5
  "type": "module",
6
6
  "author": "moenawaf",