orbit-code-ai 0.1.6 → 0.1.8
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 +37 -26
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -83712,7 +83712,7 @@ function printStartupScreen() {
|
|
|
83712
83712
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
83713
83713
|
out.push(boxRow(sRow, W2, sLen));
|
|
83714
83714
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
83715
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}orbit-ai ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
83715
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}orbit-ai ${RESET}${rgb(...ACCENT)}v${"0.1.8"}${RESET}`);
|
|
83716
83716
|
out.push("");
|
|
83717
83717
|
process.stdout.write(out.join(`
|
|
83718
83718
|
`) + `
|
|
@@ -334183,7 +334183,7 @@ function getAnthropicEnvMetadata() {
|
|
|
334183
334183
|
function getBuildAgeMinutes() {
|
|
334184
334184
|
if (false)
|
|
334185
334185
|
;
|
|
334186
|
-
const buildTime = new Date("2026-06-
|
|
334186
|
+
const buildTime = new Date("2026-06-23T12:29:02.429Z").getTime();
|
|
334187
334187
|
if (isNaN(buildTime))
|
|
334188
334188
|
return;
|
|
334189
334189
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -358600,7 +358600,7 @@ function buildPrimarySection() {
|
|
|
358600
358600
|
}, undefined, false, undefined, this);
|
|
358601
358601
|
return [{
|
|
358602
358602
|
label: "Version",
|
|
358603
|
-
value: "0.1.
|
|
358603
|
+
value: "0.1.8"
|
|
358604
358604
|
}, {
|
|
358605
358605
|
label: "Session name",
|
|
358606
358606
|
value: nameValue
|
|
@@ -470842,7 +470842,7 @@ function WelcomeV2() {
|
|
|
470842
470842
|
dimColor: true,
|
|
470843
470843
|
children: [
|
|
470844
470844
|
"v",
|
|
470845
|
-
"0.1.
|
|
470845
|
+
"0.1.8",
|
|
470846
470846
|
" "
|
|
470847
470847
|
]
|
|
470848
470848
|
}, undefined, true, undefined, this)
|
|
@@ -471042,7 +471042,7 @@ function WelcomeV2() {
|
|
|
471042
471042
|
dimColor: true,
|
|
471043
471043
|
children: [
|
|
471044
471044
|
"v",
|
|
471045
|
-
"0.1.
|
|
471045
|
+
"0.1.8",
|
|
471046
471046
|
" "
|
|
471047
471047
|
]
|
|
471048
471048
|
}, undefined, true, undefined, this)
|
|
@@ -471268,7 +471268,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471268
471268
|
dimColor: true,
|
|
471269
471269
|
children: [
|
|
471270
471270
|
"v",
|
|
471271
|
-
"0.1.
|
|
471271
|
+
"0.1.8",
|
|
471272
471272
|
" "
|
|
471273
471273
|
]
|
|
471274
471274
|
}, undefined, true, undefined, this);
|
|
@@ -471522,7 +471522,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471522
471522
|
dimColor: true,
|
|
471523
471523
|
children: [
|
|
471524
471524
|
"v",
|
|
471525
|
-
"0.1.
|
|
471525
|
+
"0.1.8",
|
|
471526
471526
|
" "
|
|
471527
471527
|
]
|
|
471528
471528
|
}, undefined, true, undefined, this);
|
|
@@ -474946,7 +474946,7 @@ ${args || "Review the entire ACE project in the current working directory only.
|
|
|
474946
474946
|
name: "ace-explain",
|
|
474947
474947
|
description: "Explain an IBM ACE flow, ESQL module, OR an entire application/service in plain language — what it does, how it works, and its role in the integration. Reads ALL artifacts (msgflows, ESQL, XSD, Swagger) before explaining, never just the Swagger.",
|
|
474948
474948
|
aliases: ["ace-doc"],
|
|
474949
|
-
model: "gemini-3.
|
|
474949
|
+
model: "gemini-3.1-flash-lite",
|
|
474950
474950
|
whenToUse: 'When the user wants to understand, summarize, document, or walk through what an ACE flow, ESQL module, application, service, or project does — including requests like "what does this app do" or "explain this service"',
|
|
474951
474951
|
argumentHint: "<file, app folder, or service to explain>",
|
|
474952
474952
|
allowedTools: ["Read", "Glob", "Grep", "Bash"],
|
|
@@ -474955,27 +474955,38 @@ ${args || "Review the entire ACE project in the current working directory only.
|
|
|
474955
474955
|
const prompt = `# ACE Code Explanation
|
|
474956
474956
|
|
|
474957
474957
|
${readInstructions([
|
|
474958
|
-
"components/common-utils.md"
|
|
474959
|
-
"msgflow-xml-reference.md"
|
|
474958
|
+
"components/common-utils.md"
|
|
474960
474959
|
])}
|
|
474961
474960
|
|
|
474962
|
-
You must explain the target to a developer unfamiliar with it. The target may be a
|
|
474963
|
-
file OR
|
|
474961
|
+
You must explain the target APPLICATION to a developer unfamiliar with it. The target may be a
|
|
474962
|
+
single file OR a single application/service folder.
|
|
474963
|
+
|
|
474964
|
+
## Method — gather this app's source in ONE shot (do not read files one at a time)
|
|
474965
|
+
|
|
474966
|
+
1. **Read ALL of this app's source with a SINGLE \`Bash\` command**, scoped to the target folder.
|
|
474967
|
+
Do NOT call the \`Read\` tool once per file — reading one file at a time re-processes the whole
|
|
474968
|
+
context on every step and is the main cost driver. Run one command that prints every relevant
|
|
474969
|
+
file with a header, e.g.:
|
|
474964
474970
|
|
|
474965
|
-
|
|
474971
|
+
\`\`\`bash
|
|
474972
|
+
find "<target>" -type f \\( -name '*.msgflow' -o -name '*.subflow' -o -name '*.esql' -o -name '*.xsd' -o -name '*.json' -o -name '*.properties' -o -name '*.xml' -o -name '*.descriptor' \\) -print -exec echo '----- ^ file above -----' \\; -exec cat {} \\;
|
|
474973
|
+
\`\`\`
|
|
474966
474974
|
|
|
474967
|
-
|
|
474968
|
-
|
|
474969
|
-
|
|
474970
|
-
|
|
474971
|
-
|
|
474975
|
+
Scope it to the **target app folder ONLY** — never the whole workspace, never sibling projects.
|
|
474976
|
+
2. **Do NOT read shared libraries or other projects — OUT OF SCOPE.** Anything under \`Framework/\`,
|
|
474977
|
+
\`Utils/\`, \`Qiwa/Framework/Lib\`, \`lib/\`, or a sibling application folder is shared
|
|
474978
|
+
infrastructure, NOT part of this app. The command above stays inside the target folder, so it
|
|
474979
|
+
won't pull them in. When this app references a framework subflow (\`HTTPRequestAdapter\`,
|
|
474980
|
+
\`InternalServiceCaller\`, \`ErrorHandler\`, \`PropertyReader\`, …), name it and describe its role
|
|
474981
|
+
from how THIS app uses it plus the common-utils reference above — do not open the library source.
|
|
474982
|
+
3. Only AFTER you have the app's source from that one command, write the explanation. If a file was
|
|
474983
|
+
truncated, read just that one file; otherwise do not issue per-file reads.
|
|
474972
474984
|
|
|
474973
474985
|
⚠️ **The Swagger/JSON is NOT enough.** It only describes the request/response *contract* —
|
|
474974
|
-
it tells you nothing about what the service actually does. The real behavior lives in
|
|
474975
|
-
**\`.msgflow\`** files (node wiring, routing, which subflows run) and
|
|
474976
|
-
|
|
474977
|
-
|
|
474978
|
-
Use the msgflow XML reference above to decode the \`.msgflow\` node/connection structure.
|
|
474986
|
+
it tells you nothing about what the service actually does. The real behavior lives in this app's
|
|
474987
|
+
**\`.msgflow\`** files (node wiring, routing, which subflows run) and **\`.esql\`** files (the
|
|
474988
|
+
transformation and business logic). An explanation derived only from the \`.json\` is incomplete
|
|
474989
|
+
and wrong. If you have not read this app's msgflows and ESQL, you have not done the task.
|
|
474979
474990
|
|
|
474980
474991
|
## What to Cover
|
|
474981
474992
|
|
|
@@ -492094,7 +492105,7 @@ Usage: orbitcode --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492094
492105
|
pendingHookMessages
|
|
492095
492106
|
}, renderAndRun);
|
|
492096
492107
|
}
|
|
492097
|
-
}).version("0.1.
|
|
492108
|
+
}).version("0.1.8 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492098
492109
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492099
492110
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492100
492111
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492616,7 +492627,7 @@ if (false) {}
|
|
|
492616
492627
|
async function main2() {
|
|
492617
492628
|
const args = process.argv.slice(2);
|
|
492618
492629
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492619
|
-
console.log(`${"0.1.
|
|
492630
|
+
console.log(`${"0.1.8"} (Orbit AI)`);
|
|
492620
492631
|
return;
|
|
492621
492632
|
}
|
|
492622
492633
|
if (args.includes("--provider")) {
|
|
@@ -492720,4 +492731,4 @@ async function main2() {
|
|
|
492720
492731
|
}
|
|
492721
492732
|
main2();
|
|
492722
492733
|
|
|
492723
|
-
//# debugId=
|
|
492734
|
+
//# debugId=766B3EDBF9651F7564756E2164756E21
|