orbit-code-ai 0.1.18 → 0.1.20
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 +20 -38
- 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.20"}${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-
|
|
334233
|
+
const buildTime = new Date("2026-06-25T13:10:17.647Z").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.20"
|
|
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.20",
|
|
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.20",
|
|
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.20",
|
|
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.20",
|
|
471402
471402
|
" "
|
|
471403
471403
|
]
|
|
471404
471404
|
}, undefined, true, undefined, this);
|
|
@@ -475122,25 +475122,7 @@ ${readInstructions([
|
|
|
475122
475122
|
"components/common-utils.md"
|
|
475123
475123
|
])}
|
|
475124
475124
|
|
|
475125
|
-
|
|
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.
|
|
475125
|
+
Diagnose and fix the bug or error described by the user. Read all relevant project files first, then use the error-handling reference to understand framework error patterns. Write complete corrected versions.
|
|
475144
475126
|
|
|
475145
475127
|
## Common ACE Bugs to Check
|
|
475146
475128
|
|
|
@@ -475167,15 +475149,15 @@ write the full corrected file. Do not rewrite unrelated parts.
|
|
|
475167
475149
|
|
|
475168
475150
|
## Instructions
|
|
475169
475151
|
|
|
475170
|
-
1.
|
|
475171
|
-
|
|
475172
|
-
|
|
475173
|
-
|
|
475174
|
-
|
|
475175
|
-
|
|
475176
|
-
|
|
475177
|
-
|
|
475178
|
-
|
|
475152
|
+
1. Read the reference files listed in Step 0 (error handling, common utils)
|
|
475153
|
+
2. Read the file(s) mentioned by the user
|
|
475154
|
+
3. If error is a BIP message, use Glob scoped to the current working directory to find matching module/flow names — do NOT search outside cwd
|
|
475155
|
+
4. Identify the EXACT root cause — quote the problematic line
|
|
475156
|
+
5. Explain the bug in plain language
|
|
475157
|
+
6. Apply the minimal correct fix
|
|
475158
|
+
7. Write the full corrected file back to disk — never partial content
|
|
475159
|
+
8. Do NOT rewrite unrelated parts of the file
|
|
475160
|
+
9. If the user rejects a write, do NOT retry
|
|
475179
475161
|
|
|
475180
475162
|
## User's Bug Report
|
|
475181
475163
|
|
|
@@ -492037,7 +492019,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492037
492019
|
pendingHookMessages
|
|
492038
492020
|
}, renderAndRun);
|
|
492039
492021
|
}
|
|
492040
|
-
}).version("0.1.
|
|
492022
|
+
}).version("0.1.20 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492041
492023
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492042
492024
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492043
492025
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492559,7 +492541,7 @@ if (false) {}
|
|
|
492559
492541
|
async function main2() {
|
|
492560
492542
|
const args = process.argv.slice(2);
|
|
492561
492543
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492562
|
-
console.log(`${"0.1.
|
|
492544
|
+
console.log(`${"0.1.20"} (Orbit AI)`);
|
|
492563
492545
|
return;
|
|
492564
492546
|
}
|
|
492565
492547
|
if (args.includes("--provider")) {
|
|
@@ -492663,4 +492645,4 @@ async function main2() {
|
|
|
492663
492645
|
}
|
|
492664
492646
|
main2();
|
|
492665
492647
|
|
|
492666
|
-
//# debugId=
|
|
492648
|
+
//# debugId=A39291B213A3EECA64756E2164756E21
|