orbit-code-ai 0.1.30 → 0.1.31
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 +20 -10
- 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.31"}${RESET}`);
|
|
83763
83763
|
out.push("");
|
|
83764
83764
|
process.stdout.write(out.join(`
|
|
83765
83765
|
`) + `
|
|
@@ -334266,7 +334266,7 @@ function getAnthropicEnvMetadata() {
|
|
|
334266
334266
|
function getBuildAgeMinutes() {
|
|
334267
334267
|
if (false)
|
|
334268
334268
|
;
|
|
334269
|
-
const buildTime = new Date("2026-06-
|
|
334269
|
+
const buildTime = new Date("2026-06-30T10:34:05.730Z").getTime();
|
|
334270
334270
|
if (isNaN(buildTime))
|
|
334271
334271
|
return;
|
|
334272
334272
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -358683,7 +358683,7 @@ function buildPrimarySection() {
|
|
|
358683
358683
|
}, undefined, false, undefined, this);
|
|
358684
358684
|
return [{
|
|
358685
358685
|
label: "Version",
|
|
358686
|
-
value: "0.1.
|
|
358686
|
+
value: "0.1.31"
|
|
358687
358687
|
}, {
|
|
358688
358688
|
label: "Session name",
|
|
358689
358689
|
value: nameValue
|
|
@@ -410438,6 +410438,7 @@ You specialize in writing, modifying, debugging, and architecting ACE artifacts
|
|
|
410438
410438
|
|
|
410439
410439
|
## Critical Rules — ALWAYS Apply
|
|
410440
410440
|
These hold for every ACE task, even quick edits. Load the detailed reference files (below) before generating substantial code.
|
|
410441
|
+
- **Ground every statement in code you have actually read — never assume.** This is the top rule. Do not claim a construct exists (a \`PASSTHRU\`, a node, a function, a field, a subflow, a DB call) because it is "typical" of ACE apps or common in similar projects. Grep/Read and confirm it in THIS codebase first. If you haven't verified it, don't say it.
|
|
410441
410442
|
- **Write complete files** — read before modifying, then write the full updated file. Never partial snippets.
|
|
410442
410443
|
- **ESQL:** use REFERENCE TO for repeated tree paths; evaluate CARDINALITY() once before loops (never in a WHILE condition); use \`SET OutputRoot = InputRoot;\` for full copies.
|
|
410443
410444
|
- **Security:** PASSTHRU with string concatenation is FORBIDDEN — always parameterize with \`?\` placeholders. Never introduce SQL/command injection.
|
|
@@ -410488,6 +410489,15 @@ Work like a precise engineer, not a crawler. Reading unneeded files wastes time
|
|
|
410488
410489
|
- **Narrow, don't widen.** If a search returns many matches, refine the query — don't read them all.
|
|
410489
410490
|
- **Whole-app analysis is the exception.** When the task is to explain, review, audit, or document an *entire application* (not fix one thing), read all of THAT application's own \`.esql\`, \`.msgflow\`, and \`.subflow\` files so your report is complete — but still never read the shared \`Framework/\`, \`Utils/\`, \`Qiwa/Framework/Lib\`, or \`lib/\` source (use the \`_agent_reference\` docs for framework behavior).
|
|
410490
410491
|
|
|
410492
|
+
## Evidence & Grounding — every line of output must trace to the code
|
|
410493
|
+
You are an analyst of THIS codebase, not a generator of plausible-sounding ACE advice. Hallucination — stating something the code does not actually contain — is the worst failure mode here; it erodes all trust, even when the surrounding analysis is good.
|
|
410494
|
+
- **Verify before you assert.** Before naming any construct, behavior, node, query, field, or data flow, confirm it by reading the actual file. If you can't point to where it is, don't state it.
|
|
410495
|
+
- **Cite your evidence.** Back factual claims with the real identifier — \`file:line\`, module name, terminal, node label. A claim you can't cite is one you haven't verified.
|
|
410496
|
+
- **No pattern-matching from "typical" apps.** Never infer the presence of \`PASSTHRU\`, Database nodes, ODM calls, specific subflows, etc. from how similar ACE apps are usually built. Each app is different — check THIS one.
|
|
410497
|
+
- **Recommendations must be grounded too.** Only propose a change premised on something that actually exists in the code (don't say "optimize the PASSTHRU queries" unless you confirmed PASSTHRU is used). If you give a generic best practice not tied to observed code, label it explicitly as a general suggestion, not a finding.
|
|
410498
|
+
- **Separate fact from inference.** State what the code does (verified) distinctly from what you suspect or recommend. Mark uncertainty plainly, and when unsure, search/read rather than guess — "let me check" beats a confident assumption.
|
|
410499
|
+
- **When corrected, re-verify from the code** — don't swap one assumption for another.
|
|
410500
|
+
|
|
410491
410501
|
## General Behavior
|
|
410492
410502
|
- Always read a file before modifying it (the specific file you will edit — not the whole project)
|
|
410493
410503
|
- Always write complete file content — never partial snippets
|
|
@@ -470784,7 +470794,7 @@ function WelcomeV2() {
|
|
|
470784
470794
|
dimColor: true,
|
|
470785
470795
|
children: [
|
|
470786
470796
|
"v",
|
|
470787
|
-
"0.1.
|
|
470797
|
+
"0.1.31",
|
|
470788
470798
|
" "
|
|
470789
470799
|
]
|
|
470790
470800
|
}, undefined, true, undefined, this)
|
|
@@ -470984,7 +470994,7 @@ function WelcomeV2() {
|
|
|
470984
470994
|
dimColor: true,
|
|
470985
470995
|
children: [
|
|
470986
470996
|
"v",
|
|
470987
|
-
"0.1.
|
|
470997
|
+
"0.1.31",
|
|
470988
470998
|
" "
|
|
470989
470999
|
]
|
|
470990
471000
|
}, undefined, true, undefined, this)
|
|
@@ -471210,7 +471220,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471210
471220
|
dimColor: true,
|
|
471211
471221
|
children: [
|
|
471212
471222
|
"v",
|
|
471213
|
-
"0.1.
|
|
471223
|
+
"0.1.31",
|
|
471214
471224
|
" "
|
|
471215
471225
|
]
|
|
471216
471226
|
}, undefined, true, undefined, this);
|
|
@@ -471464,7 +471474,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471464
471474
|
dimColor: true,
|
|
471465
471475
|
children: [
|
|
471466
471476
|
"v",
|
|
471467
|
-
"0.1.
|
|
471477
|
+
"0.1.31",
|
|
471468
471478
|
" "
|
|
471469
471479
|
]
|
|
471470
471480
|
}, undefined, true, undefined, this);
|
|
@@ -492101,7 +492111,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492101
492111
|
pendingHookMessages
|
|
492102
492112
|
}, renderAndRun);
|
|
492103
492113
|
}
|
|
492104
|
-
}).version("0.1.
|
|
492114
|
+
}).version("0.1.31 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492105
492115
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492106
492116
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
492107
492117
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492623,7 +492633,7 @@ if (false) {}
|
|
|
492623
492633
|
async function main2() {
|
|
492624
492634
|
const args = process.argv.slice(2);
|
|
492625
492635
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492626
|
-
console.log(`${"0.1.
|
|
492636
|
+
console.log(`${"0.1.31"} (Orbit AI)`);
|
|
492627
492637
|
return;
|
|
492628
492638
|
}
|
|
492629
492639
|
if (args.includes("--provider")) {
|
|
@@ -492727,4 +492737,4 @@ async function main2() {
|
|
|
492727
492737
|
}
|
|
492728
492738
|
main2();
|
|
492729
492739
|
|
|
492730
|
-
//# debugId=
|
|
492740
|
+
//# debugId=F405FF23D2DC43EC64756E2164756E21
|