orbit-code-ai 0.1.17 → 0.1.18
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/dist/cli.mjs +38 -41
- 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.
|
|
83762
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}orbit-code ${RESET}${rgb(...ACCENT)}v${"0.1.18"}${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:
|
|
334233
|
+
const buildTime = new Date("2026-06-25T12:27:48.148Z").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.
|
|
358650
|
+
value: "0.1.18"
|
|
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.
|
|
470721
|
+
"0.1.18",
|
|
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.
|
|
470921
|
+
"0.1.18",
|
|
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.
|
|
471147
|
+
"0.1.18",
|
|
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.
|
|
471401
|
+
"0.1.18",
|
|
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: ["
|
|
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 —
|
|
475126
|
-
|
|
475127
|
-
|
|
475128
|
-
|
|
475129
|
-
|
|
475130
|
-
|
|
475131
|
-
|
|
475132
|
-
|
|
475133
|
-
|
|
475134
|
-
|
|
475135
|
-
|
|
475136
|
-
|
|
475137
|
-
|
|
475138
|
-
|
|
475139
|
-
|
|
475140
|
-
|
|
475141
|
-
|
|
475142
|
-
|
|
475143
|
-
|
|
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.
|
|
475174
|
-
|
|
475175
|
-
|
|
475176
|
-
|
|
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.
|
|
475179
|
-
6.
|
|
475180
|
-
7.
|
|
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.
|
|
492040
|
+
}).version("0.1.18 (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.
|
|
492562
|
+
console.log(`${"0.1.18"} (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=
|
|
492666
|
+
//# debugId=A9306236E9B9B0DB64756E2164756E21
|