orbit-code-ai 0.1.20 → 0.1.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/dist/cli.mjs +38 -15
- 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.22"}${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-28T07:25:11.496Z").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.22"
|
|
358651
358651
|
}, {
|
|
358652
358652
|
label: "Session name",
|
|
358653
358653
|
value: nameValue
|
|
@@ -410444,8 +410444,15 @@ The \`_agent_reference\` folder contains the authoritative detailed standards, t
|
|
|
410444
410444
|
|
|
410445
410445
|
---
|
|
410446
410446
|
|
|
410447
|
+
## Code Navigation — Be Surgical (find the relevant file, read only it)
|
|
410448
|
+
Work like a precise engineer, not a crawler. Reading unneeded files wastes time and money and dilutes focus — find the file that matters, read it, and stop.
|
|
410449
|
+
- **Locate before you read.** Start from a concrete signal: a file/module/flow name, a symbol, an error or BIP code, a field. Use \`Grep\` (for a symbol or string) or \`Glob\` (for a filename), **scoped to the current working directory**, to find the exact file. Do not open files speculatively.
|
|
410450
|
+
- **Read only what the search points to**, plus the one or two files it directly references (e.g. a .msgflow's computeExpression → that .esql). Open a file ONLY when you have a concrete reason to.
|
|
410451
|
+
- **Never crawl.** Do not bulk-read directories, do not "read all the files first," and never read the shared framework/libraries to understand an application — anything under \`Framework/\`, \`Utils/\`, \`Qiwa/Framework/Lib\`, or \`lib/\` is shared infrastructure. Use the \`_agent_reference\` docs above for framework behavior instead of opening its source.
|
|
410452
|
+
- **Narrow, don't widen.** If a search returns many matches, refine the query — don't read them all.
|
|
410453
|
+
|
|
410447
410454
|
## General Behavior
|
|
410448
|
-
- Always read
|
|
410455
|
+
- Always read a file before modifying it (the specific file you will edit — not the whole project)
|
|
410449
410456
|
- Always write complete file content — never partial snippets
|
|
410450
410457
|
- When generating a full application, generate every required file — do not stop halfway
|
|
410451
410458
|
- Prioritize correctness and security. Never introduce SQL injection, command injection, or other vulnerabilities
|
|
@@ -470718,7 +470725,7 @@ function WelcomeV2() {
|
|
|
470718
470725
|
dimColor: true,
|
|
470719
470726
|
children: [
|
|
470720
470727
|
"v",
|
|
470721
|
-
"0.1.
|
|
470728
|
+
"0.1.22",
|
|
470722
470729
|
" "
|
|
470723
470730
|
]
|
|
470724
470731
|
}, undefined, true, undefined, this)
|
|
@@ -470918,7 +470925,7 @@ function WelcomeV2() {
|
|
|
470918
470925
|
dimColor: true,
|
|
470919
470926
|
children: [
|
|
470920
470927
|
"v",
|
|
470921
|
-
"0.1.
|
|
470928
|
+
"0.1.22",
|
|
470922
470929
|
" "
|
|
470923
470930
|
]
|
|
470924
470931
|
}, undefined, true, undefined, this)
|
|
@@ -471144,7 +471151,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471144
471151
|
dimColor: true,
|
|
471145
471152
|
children: [
|
|
471146
471153
|
"v",
|
|
471147
|
-
"0.1.
|
|
471154
|
+
"0.1.22",
|
|
471148
471155
|
" "
|
|
471149
471156
|
]
|
|
471150
471157
|
}, undefined, true, undefined, this);
|
|
@@ -471398,7 +471405,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471398
471405
|
dimColor: true,
|
|
471399
471406
|
children: [
|
|
471400
471407
|
"v",
|
|
471401
|
-
"0.1.
|
|
471408
|
+
"0.1.22",
|
|
471402
471409
|
" "
|
|
471403
471410
|
]
|
|
471404
471411
|
}, undefined, true, undefined, this);
|
|
@@ -475122,7 +475129,23 @@ ${readInstructions([
|
|
|
475122
475129
|
"components/common-utils.md"
|
|
475123
475130
|
])}
|
|
475124
475131
|
|
|
475125
|
-
Diagnose and fix the bug or error described by the user.
|
|
475132
|
+
Diagnose and fix the bug or error described by the user. Write complete corrected files.
|
|
475133
|
+
|
|
475134
|
+
## Investigate surgically — find the relevant file, read only it
|
|
475135
|
+
|
|
475136
|
+
Work like a precise debugger, NOT a crawler. Do NOT bulk-read directories or "read all the files" —
|
|
475137
|
+
that wastes time and money. Locate the specific file(s) that matter, read those, and stop:
|
|
475138
|
+
|
|
475139
|
+
1. Start from the concrete signal in the bug report — a BIP code, an ESQL module name, a flow/node
|
|
475140
|
+
name, a field, or an error string.
|
|
475141
|
+
2. Find it with a SCOPED search: \`Grep\` for the symbol/string, or \`Glob\` for the filename,
|
|
475142
|
+
restricted to the current working directory. Let the search point you to the exact file.
|
|
475143
|
+
3. Read ONLY the file(s) the search identifies, plus the one or two they directly reference (e.g. a
|
|
475144
|
+
\`.msgflow\`'s computeExpression → that \`.esql\`). Open a file ONLY when you have a concrete reason.
|
|
475145
|
+
4. **Never crawl shared infrastructure or unrelated apps** — do not read under \`Framework/\`,
|
|
475146
|
+
\`Utils/\`, \`Qiwa/Framework/Lib\`, \`lib/\`, or other application folders. Use the error-handling
|
|
475147
|
+
and common-utils references above for framework behavior instead of opening library source.
|
|
475148
|
+
5. If a search returns many hits, narrow the term — don't read them all.
|
|
475126
475149
|
|
|
475127
475150
|
## Common ACE Bugs to Check
|
|
475128
475151
|
|
|
@@ -475149,9 +475172,9 @@ Diagnose and fix the bug or error described by the user. Read all relevant proje
|
|
|
475149
475172
|
|
|
475150
475173
|
## Instructions
|
|
475151
475174
|
|
|
475152
|
-
1.
|
|
475153
|
-
2.
|
|
475154
|
-
3.
|
|
475175
|
+
1. From the bug report, pick the concrete signal (BIP code, module/flow name, field, error text)
|
|
475176
|
+
2. Locate the file with a cwd-scoped Grep/Glob — never search outside cwd, never crawl the framework
|
|
475177
|
+
3. Read ONLY the matched file(s) and any file they directly reference — do not bulk-read
|
|
475155
475178
|
4. Identify the EXACT root cause — quote the problematic line
|
|
475156
475179
|
5. Explain the bug in plain language
|
|
475157
475180
|
6. Apply the minimal correct fix
|
|
@@ -492019,7 +492042,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492019
492042
|
pendingHookMessages
|
|
492020
492043
|
}, renderAndRun);
|
|
492021
492044
|
}
|
|
492022
|
-
}).version("0.1.
|
|
492045
|
+
}).version("0.1.22 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492023
492046
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492024
492047
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492025
492048
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492541,7 +492564,7 @@ if (false) {}
|
|
|
492541
492564
|
async function main2() {
|
|
492542
492565
|
const args = process.argv.slice(2);
|
|
492543
492566
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492544
|
-
console.log(`${"0.1.
|
|
492567
|
+
console.log(`${"0.1.22"} (Orbit AI)`);
|
|
492545
492568
|
return;
|
|
492546
492569
|
}
|
|
492547
492570
|
if (args.includes("--provider")) {
|
|
@@ -492645,4 +492668,4 @@ async function main2() {
|
|
|
492645
492668
|
}
|
|
492646
492669
|
main2();
|
|
492647
492670
|
|
|
492648
|
-
//# debugId=
|
|
492671
|
+
//# debugId=464CEC6DB47A292F64756E2164756E21
|