orbit-code-ai 0.1.16 → 0.1.17
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 +43 -33
- 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.17"}${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-25T12:01:32.905Z").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.17"
|
|
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.17",
|
|
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.17",
|
|
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.17",
|
|
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.17",
|
|
471402
471402
|
" "
|
|
471403
471403
|
]
|
|
471404
471404
|
}, undefined, true, undefined, this);
|
|
@@ -475109,10 +475109,10 @@ ${args || "No description provided. Ask the user what flow they want to create."
|
|
|
475109
475109
|
name: "ace-fix",
|
|
475110
475110
|
description: "Diagnose and fix bugs in IBM ACE ESQL code or message flows",
|
|
475111
475111
|
aliases: ["ace-debug"],
|
|
475112
|
-
model: "gemini-3.1-
|
|
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: ["Read", "Write", "Edit", "Glob", "Grep", "Bash"],
|
|
475115
|
+
allowedTools: ["Agent", "Read", "Write", "Edit", "Glob", "Grep", "Bash"],
|
|
475116
475116
|
userInvocable: true,
|
|
475117
475117
|
async getPromptForCommand(args) {
|
|
475118
475118
|
const prompt = `# ACE Bug Diagnosis & Fix
|
|
@@ -475122,18 +475122,28 @@ ${readInstructions([
|
|
|
475122
475122
|
"components/common-utils.md"
|
|
475123
475123
|
])}
|
|
475124
475124
|
|
|
475125
|
-
|
|
475126
|
-
|
|
475127
|
-
the
|
|
475128
|
-
|
|
475129
|
-
|
|
475130
|
-
|
|
475131
|
-
|
|
475132
|
-
|
|
475133
|
-
|
|
475134
|
-
|
|
475135
|
-
|
|
475136
|
-
|
|
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.
|
|
475137
475147
|
|
|
475138
475148
|
## Common ACE Bugs to Check
|
|
475139
475149
|
|
|
@@ -475160,15 +475170,15 @@ the actual fix once you've identified the file to change.
|
|
|
475160
475170
|
|
|
475161
475171
|
## Instructions
|
|
475162
475172
|
|
|
475163
|
-
1.
|
|
475164
|
-
2.
|
|
475165
|
-
|
|
475166
|
-
|
|
475167
|
-
|
|
475168
|
-
|
|
475169
|
-
|
|
475170
|
-
|
|
475171
|
-
|
|
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.
|
|
475177
|
+
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.
|
|
475172
475182
|
|
|
475173
475183
|
## User's Bug Report
|
|
475174
475184
|
|
|
@@ -492030,7 +492040,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492030
492040
|
pendingHookMessages
|
|
492031
492041
|
}, renderAndRun);
|
|
492032
492042
|
}
|
|
492033
|
-
}).version("0.1.
|
|
492043
|
+
}).version("0.1.17 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492034
492044
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492035
492045
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492036
492046
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492552,7 +492562,7 @@ if (false) {}
|
|
|
492552
492562
|
async function main2() {
|
|
492553
492563
|
const args = process.argv.slice(2);
|
|
492554
492564
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492555
|
-
console.log(`${"0.1.
|
|
492565
|
+
console.log(`${"0.1.17"} (Orbit AI)`);
|
|
492556
492566
|
return;
|
|
492557
492567
|
}
|
|
492558
492568
|
if (args.includes("--provider")) {
|
|
@@ -492656,4 +492666,4 @@ async function main2() {
|
|
|
492656
492666
|
}
|
|
492657
492667
|
main2();
|
|
492658
492668
|
|
|
492659
|
-
//# debugId=
|
|
492669
|
+
//# debugId=7BF5D54BCA02C8DF64756E2164756E21
|