orbit-code-ai 0.1.19 → 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 +41 -36
- 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,25 +475129,23 @@ ${readInstructions([
|
|
|
475122
475129
|
"components/common-utils.md"
|
|
475123
475130
|
])}
|
|
475124
475131
|
|
|
475125
|
-
|
|
475132
|
+
Diagnose and fix the bug or error described by the user. Write complete corrected files.
|
|
475126
475133
|
|
|
475127
|
-
|
|
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.
|
|
475134
|
+
## Investigate surgically — find the relevant file, read only it
|
|
475131
475135
|
|
|
475132
|
-
|
|
475133
|
-
|
|
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.
|
|
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:
|
|
475140
475138
|
|
|
475141
|
-
|
|
475142
|
-
|
|
475143
|
-
|
|
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.
|
|
475144
475149
|
|
|
475145
475150
|
## Common ACE Bugs to Check
|
|
475146
475151
|
|
|
@@ -475167,15 +475172,15 @@ write the full corrected file. Do not rewrite unrelated parts.
|
|
|
475167
475172
|
|
|
475168
475173
|
## Instructions
|
|
475169
475174
|
|
|
475170
|
-
1.
|
|
475171
|
-
|
|
475172
|
-
|
|
475173
|
-
|
|
475174
|
-
|
|
475175
|
-
|
|
475176
|
-
|
|
475177
|
-
|
|
475178
|
-
|
|
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
|
|
475178
|
+
4. Identify the EXACT root cause — quote the problematic line
|
|
475179
|
+
5. Explain the bug in plain language
|
|
475180
|
+
6. Apply the minimal correct fix
|
|
475181
|
+
7. Write the full corrected file back to disk — never partial content
|
|
475182
|
+
8. Do NOT rewrite unrelated parts of the file
|
|
475183
|
+
9. If the user rejects a write, do NOT retry
|
|
475179
475184
|
|
|
475180
475185
|
## User's Bug Report
|
|
475181
475186
|
|
|
@@ -492037,7 +492042,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492037
492042
|
pendingHookMessages
|
|
492038
492043
|
}, renderAndRun);
|
|
492039
492044
|
}
|
|
492040
|
-
}).version("0.1.
|
|
492045
|
+
}).version("0.1.22 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492041
492046
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492042
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.");
|
|
492043
492048
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492559,7 +492564,7 @@ if (false) {}
|
|
|
492559
492564
|
async function main2() {
|
|
492560
492565
|
const args = process.argv.slice(2);
|
|
492561
492566
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492562
|
-
console.log(`${"0.1.
|
|
492567
|
+
console.log(`${"0.1.22"} (Orbit AI)`);
|
|
492563
492568
|
return;
|
|
492564
492569
|
}
|
|
492565
492570
|
if (args.includes("--provider")) {
|
|
@@ -492663,4 +492668,4 @@ async function main2() {
|
|
|
492663
492668
|
}
|
|
492664
492669
|
main2();
|
|
492665
492670
|
|
|
492666
|
-
//# debugId=
|
|
492671
|
+
//# debugId=464CEC6DB47A292F64756E2164756E21
|