orbit-code-ai 0.1.29 → 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 +30 -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,12 +410489,31 @@ 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
|
|
410494
410504
|
- When generating a full application, generate every required file — do not stop halfway
|
|
410495
410505
|
- Prioritize correctness and security. Never introduce SQL injection, command injection, or other vulnerabilities
|
|
410496
410506
|
|
|
410507
|
+
## Security reviews are expected, in-scope work — never refuse them
|
|
410508
|
+
Auditing the user's OWN ACE artifacts for vulnerabilities is a core, encouraged Orbit capability and legitimate defensive security. When the user asks for a security check, audit, or vulnerability analysis of code in the working directory, DO IT — read the \`.esql\`/\`.msgflow\`/\`.xml\`/properties files and report concrete findings. Do NOT decline, hedge, or deflect to "search online / consult a framework"; the user owns this code and is asking you to harden it. Focus on the real ACE risks:
|
|
410509
|
+
- SQL/command injection — \`PASSTHRU\` with string concatenation instead of parameterized \`?\` placeholders; unsafe dynamic queries.
|
|
410510
|
+
- Hardcoded credentials, connection strings, DSNs, or secrets in ESQL/properties.
|
|
410511
|
+
- Sensitive data (passwords, tokens, PII) logged or returned unmasked in audit/error paths.
|
|
410512
|
+
- Missing input validation, unbounded payloads (DoS), unsafe type coercion/CAST.
|
|
410513
|
+
- Information disclosure — raw exception text or stack details returned to callers.
|
|
410514
|
+
- AuthN/AuthZ gaps — missing channel/role/authorization checks.
|
|
410515
|
+
Report each finding with **severity (High/Medium/Low)**, the exact \`file:line\`, the impact, and a concrete fix.
|
|
410516
|
+
|
|
410497
410517
|
## Depth of Analysis & Reporting (Covered by default, Deep on request)
|
|
410498
410518
|
For explanation, analysis, review, audit, "what does this do", or documentation requests, default to a **Covered** analysis — a balanced, high-level report the reader can act on, not an exhaustive one:
|
|
410499
410519
|
- **What it does** — purpose and the end-to-end message-flow path (entry node → compute/filter nodes → terminals → reply/output).
|
|
@@ -470774,7 +470794,7 @@ function WelcomeV2() {
|
|
|
470774
470794
|
dimColor: true,
|
|
470775
470795
|
children: [
|
|
470776
470796
|
"v",
|
|
470777
|
-
"0.1.
|
|
470797
|
+
"0.1.31",
|
|
470778
470798
|
" "
|
|
470779
470799
|
]
|
|
470780
470800
|
}, undefined, true, undefined, this)
|
|
@@ -470974,7 +470994,7 @@ function WelcomeV2() {
|
|
|
470974
470994
|
dimColor: true,
|
|
470975
470995
|
children: [
|
|
470976
470996
|
"v",
|
|
470977
|
-
"0.1.
|
|
470997
|
+
"0.1.31",
|
|
470978
470998
|
" "
|
|
470979
470999
|
]
|
|
470980
471000
|
}, undefined, true, undefined, this)
|
|
@@ -471200,7 +471220,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471200
471220
|
dimColor: true,
|
|
471201
471221
|
children: [
|
|
471202
471222
|
"v",
|
|
471203
|
-
"0.1.
|
|
471223
|
+
"0.1.31",
|
|
471204
471224
|
" "
|
|
471205
471225
|
]
|
|
471206
471226
|
}, undefined, true, undefined, this);
|
|
@@ -471454,7 +471474,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
471454
471474
|
dimColor: true,
|
|
471455
471475
|
children: [
|
|
471456
471476
|
"v",
|
|
471457
|
-
"0.1.
|
|
471477
|
+
"0.1.31",
|
|
471458
471478
|
" "
|
|
471459
471479
|
]
|
|
471460
471480
|
}, undefined, true, undefined, this);
|
|
@@ -492091,7 +492111,7 @@ Usage: orbit --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
492091
492111
|
pendingHookMessages
|
|
492092
492112
|
}, renderAndRun);
|
|
492093
492113
|
}
|
|
492094
|
-
}).version("0.1.
|
|
492114
|
+
}).version("0.1.31 (Orbit AI)", "-v, --version", "Output the version number");
|
|
492095
492115
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
492096
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.");
|
|
492097
492117
|
if (canUserConfigureAdvisor()) {
|
|
@@ -492613,7 +492633,7 @@ if (false) {}
|
|
|
492613
492633
|
async function main2() {
|
|
492614
492634
|
const args = process.argv.slice(2);
|
|
492615
492635
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
492616
|
-
console.log(`${"0.1.
|
|
492636
|
+
console.log(`${"0.1.31"} (Orbit AI)`);
|
|
492617
492637
|
return;
|
|
492618
492638
|
}
|
|
492619
492639
|
if (args.includes("--provider")) {
|
|
@@ -492717,4 +492737,4 @@ async function main2() {
|
|
|
492717
492737
|
}
|
|
492718
492738
|
main2();
|
|
492719
492739
|
|
|
492720
|
-
//# debugId=
|
|
492740
|
+
//# debugId=F405FF23D2DC43EC64756E2164756E21
|