orbit-code-ai 0.1.5 → 0.1.6
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 +45 -27
- 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.6"}${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-23T11:43:54.224Z").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.6"
|
|
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.6",
|
|
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.6",
|
|
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.6",
|
|
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.6",
|
|
471526
471526
|
" "
|
|
471527
471527
|
]
|
|
471528
471528
|
}, undefined, true, undefined, this);
|
|
@@ -474944,39 +474944,57 @@ ${args || "Review the entire ACE project in the current working directory only.
|
|
|
474944
474944
|
});
|
|
474945
474945
|
registerBundledSkill({
|
|
474946
474946
|
name: "ace-explain",
|
|
474947
|
-
description: "Explain an IBM ACE flow
|
|
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.
|
|
474950
|
-
whenToUse:
|
|
474951
|
-
argumentHint: "<file to explain>",
|
|
474952
|
-
allowedTools: ["Read", "Glob", "Grep"],
|
|
474949
|
+
model: "gemini-3.5-flash",
|
|
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
|
+
argumentHint: "<file, app folder, or service to explain>",
|
|
474952
|
+
allowedTools: ["Read", "Glob", "Grep", "Bash"],
|
|
474953
474953
|
userInvocable: true,
|
|
474954
474954
|
async getPromptForCommand(args) {
|
|
474955
474955
|
const prompt = `# ACE Code Explanation
|
|
474956
474956
|
|
|
474957
474957
|
${readInstructions([
|
|
474958
|
-
"components/common-utils.md"
|
|
474958
|
+
"components/common-utils.md",
|
|
474959
|
+
"msgflow-xml-reference.md"
|
|
474959
474960
|
])}
|
|
474960
474961
|
|
|
474961
|
-
|
|
474962
|
+
You must explain the target to a developer unfamiliar with it. The target may be a single
|
|
474963
|
+
file OR an entire application/service folder.
|
|
474964
|
+
|
|
474965
|
+
## MANDATORY procedure — do this before writing ANY explanation
|
|
474966
|
+
|
|
474967
|
+
1. **Enumerate every file** in the target. If it is a folder, list the whole tree
|
|
474968
|
+
(e.g. \`Glob\` with \`**/*\` under the target, or \`ls -R\`). Do not assume the file set.
|
|
474969
|
+
2. **Read EVERY artifact** — every \`.msgflow\`, \`.esql\`, \`.xsd\`, \`.json\`/Swagger,
|
|
474970
|
+
\`.subflow\`, \`.descriptor\`, and \`.properties\` file. Read them in full, not just one.
|
|
474971
|
+
3. Only AFTER you have read all of them, write the explanation.
|
|
474972
|
+
|
|
474973
|
+
⚠️ **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 the
|
|
474975
|
+
**\`.msgflow\`** files (node wiring, routing, which subflows run) and the **\`.esql\`** files
|
|
474976
|
+
(the transformation and business logic). An explanation derived only from the \`.json\` is
|
|
474977
|
+
incomplete and wrong. If you have not read the msgflows and ESQL, you have not done the task.
|
|
474978
|
+
Use the msgflow XML reference above to decode the \`.msgflow\` node/connection structure.
|
|
474962
474979
|
|
|
474963
474980
|
## What to Cover
|
|
474964
474981
|
|
|
474965
|
-
1. **Purpose:** What does this flow/module do in one sentence?
|
|
474966
|
-
2. **End-to-end walkthrough:** Trace the message path from input to output
|
|
474982
|
+
1. **Purpose:** What does this app/flow/module do, in one sentence?
|
|
474983
|
+
2. **End-to-end walkthrough:** Trace the message path from input to output across the flows —
|
|
474984
|
+
every node, subflow, and connection (read from the .msgflow files, not inferred).
|
|
474967
474985
|
3. **Message domains:** What parser domains are used (XMLNSC, JSON, SOAP, etc.)?
|
|
474968
|
-
4. **Key transformations:** What
|
|
474969
|
-
5. **Error handling:** How are
|
|
474970
|
-
6. **External dependencies:**
|
|
474971
|
-
7. **Framework usage:** Which Qiwa framework subflows are used and why
|
|
474972
|
-
8. **State management:** How
|
|
474973
|
-
9. **Non-obvious design decisions:** Anything a new developer might find confusing
|
|
474986
|
+
4. **Key transformations:** What the ESQL does to the message tree; which fields are mapped.
|
|
474987
|
+
5. **Error handling:** How errors are caught and routed; which terminals wire to error handlers.
|
|
474988
|
+
6. **External dependencies:** DB calls (stored procedures), SOAP/REST backends, queue names.
|
|
474989
|
+
7. **Framework usage:** Which Qiwa framework subflows are used and why.
|
|
474990
|
+
8. **State management:** How Environment.Variables carries intermediate state.
|
|
474991
|
+
9. **Non-obvious design decisions:** Anything a new developer might find confusing.
|
|
474974
474992
|
|
|
474975
|
-
Use plain language. Assume the reader knows basic integration concepts but not this
|
|
474993
|
+
Use plain language. Assume the reader knows basic integration concepts but not this service.
|
|
474976
474994
|
|
|
474977
474995
|
## Target
|
|
474978
474996
|
|
|
474979
|
-
${args || "The user did not specify a
|
|
474997
|
+
${args || "The user did not specify a target. Ask which file, application folder, or service they want explained."}`;
|
|
474980
474998
|
return [{ type: "text", text: prompt }];
|
|
474981
474999
|
}
|
|
474982
475000
|
});
|
|
@@ -492076,7 +492094,7 @@ Usage: orbitcode --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492076
492094
|
pendingHookMessages
|
|
492077
492095
|
}, renderAndRun);
|
|
492078
492096
|
}
|
|
492079
|
-
}).version("0.1.
|
|
492097
|
+
}).version("0.1.6 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492080
492098
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492081
492099
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492082
492100
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492598,7 +492616,7 @@ if (false) {}
|
|
|
492598
492616
|
async function main2() {
|
|
492599
492617
|
const args = process.argv.slice(2);
|
|
492600
492618
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492601
|
-
console.log(`${"0.1.
|
|
492619
|
+
console.log(`${"0.1.6"} (Orbit AI)`);
|
|
492602
492620
|
return;
|
|
492603
492621
|
}
|
|
492604
492622
|
if (args.includes("--provider")) {
|
|
@@ -492702,4 +492720,4 @@ async function main2() {
|
|
|
492702
492720
|
}
|
|
492703
492721
|
main2();
|
|
492704
492722
|
|
|
492705
|
-
//# debugId=
|
|
492723
|
+
//# debugId=412536CBF4AF9C5064756E2164756E21
|