@hiveai/cli 0.13.0 → 0.13.1
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/index.js +27 -6
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -3012,7 +3012,7 @@ ${SEED_FOOTER(stack)}` });
|
|
|
3012
3012
|
}
|
|
3013
3013
|
|
|
3014
3014
|
// src/commands/init.ts
|
|
3015
|
-
var HAIVE_GITHUB_ACTION_REF = `v${"0.13.
|
|
3015
|
+
var HAIVE_GITHUB_ACTION_REF = `v${"0.13.1"}`;
|
|
3016
3016
|
var PROJECT_CONTEXT_TEMPLATE = `# Project context
|
|
3017
3017
|
|
|
3018
3018
|
> Generated by \`haive init\`. Run \`haive init --bootstrap\` to auto-fill from your codebase,
|
|
@@ -3176,6 +3176,27 @@ jobs:
|
|
|
3176
3176
|
# post-if-empty: 'true' # uncomment to always post (even when no memories found)
|
|
3177
3177
|
# max-memories: '5' # limit memories per file in the comment
|
|
3178
3178
|
|
|
3179
|
+
# On pull request: fail if the harness quality score regressed vs the committed baseline.
|
|
3180
|
+
# Measures whether the right memories still surface and the right sensors still fire.
|
|
3181
|
+
# No-op (passes) when no .ai/eval/baseline.json exists \u2014 safe to keep enabled before you
|
|
3182
|
+
# ever create one. To turn the gate on: run \`haive eval --baseline\` locally and commit
|
|
3183
|
+
# .ai/eval/baseline.json. Needs nothing external \u2014 no secrets, no services.
|
|
3184
|
+
pr-eval-gate:
|
|
3185
|
+
if: github.event_name == 'pull_request'
|
|
3186
|
+
runs-on: ubuntu-latest
|
|
3187
|
+
steps:
|
|
3188
|
+
- uses: actions/checkout@v4
|
|
3189
|
+
|
|
3190
|
+
- uses: actions/setup-node@v4
|
|
3191
|
+
with:
|
|
3192
|
+
node-version: '20'
|
|
3193
|
+
|
|
3194
|
+
- name: install haive
|
|
3195
|
+
run: npm install -g @hiveai/cli
|
|
3196
|
+
|
|
3197
|
+
- name: harness quality regression gate
|
|
3198
|
+
run: haive eval --regression-gate
|
|
3199
|
+
|
|
3179
3200
|
# On push to main: push shared memories to the hub (if hubPath is configured)
|
|
3180
3201
|
# Uncomment and configure hubPath in .ai/haive.config.json to enable.
|
|
3181
3202
|
# hub-push:
|
|
@@ -7891,7 +7912,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
|
|
|
7891
7912
|
};
|
|
7892
7913
|
}
|
|
7893
7914
|
var SERVER_NAME = "haive";
|
|
7894
|
-
var SERVER_VERSION = "0.13.
|
|
7915
|
+
var SERVER_VERSION = "0.13.1";
|
|
7895
7916
|
function jsonResult(data) {
|
|
7896
7917
|
return {
|
|
7897
7918
|
content: [
|
|
@@ -13460,7 +13481,7 @@ function registerDoctor(program2) {
|
|
|
13460
13481
|
fix: "Edit .ai/haive.config.json: set autoSessionEnd: true (or re-run `haive init` without --manual)."
|
|
13461
13482
|
});
|
|
13462
13483
|
}
|
|
13463
|
-
findings.push(...await collectInstallFindings(root, "0.13.
|
|
13484
|
+
findings.push(...await collectInstallFindings(root, "0.13.1"));
|
|
13464
13485
|
findings.push(...await collectToolchainFindings(root));
|
|
13465
13486
|
try {
|
|
13466
13487
|
const legacyRaw = execSync3("haive-mcp --version", {
|
|
@@ -13468,7 +13489,7 @@ function registerDoctor(program2) {
|
|
|
13468
13489
|
timeout: 3e3,
|
|
13469
13490
|
stdio: ["ignore", "pipe", "ignore"]
|
|
13470
13491
|
}).trim();
|
|
13471
|
-
const cliVersion = "0.13.
|
|
13492
|
+
const cliVersion = "0.13.1";
|
|
13472
13493
|
if (legacyRaw && legacyRaw !== cliVersion) {
|
|
13473
13494
|
findings.push({
|
|
13474
13495
|
severity: "warn",
|
|
@@ -15061,7 +15082,7 @@ async function buildEnforcementReport(dir, stage, sessionId) {
|
|
|
15061
15082
|
findings: [{ severity: "info", code: "enforcement-off", message: "hAIve enforcement is disabled." }]
|
|
15062
15083
|
});
|
|
15063
15084
|
}
|
|
15064
|
-
findings.push(...await inspectIntegrationVersions(root, "0.13.
|
|
15085
|
+
findings.push(...await inspectIntegrationVersions(root, "0.13.1"));
|
|
15065
15086
|
if (config.enforcement?.requireBriefingFirst !== false && stage !== "ci") {
|
|
15066
15087
|
const hasBriefing = await hasRecentBriefingMarker2(paths, sessionId);
|
|
15067
15088
|
findings.push(hasBriefing ? { severity: "ok", code: "briefing-loaded", message: "A recent hAIve briefing marker exists." } : {
|
|
@@ -16467,7 +16488,7 @@ function warnNum(n) {
|
|
|
16467
16488
|
|
|
16468
16489
|
// src/index.ts
|
|
16469
16490
|
var program = new Command58();
|
|
16470
|
-
program.name("haive").description("hAIve - repo-native memory and context policy for coding-agent harnesses").version("0.13.
|
|
16491
|
+
program.name("haive").description("hAIve - repo-native memory and context policy for coding-agent harnesses").version("0.13.1").option("--advanced", "show maintenance and experimental commands in help");
|
|
16471
16492
|
registerInit(program);
|
|
16472
16493
|
registerWelcome(program);
|
|
16473
16494
|
registerResolveProject(program);
|