@hearsay-tools/squawk 0.19.0-pr4481.8831 → 0.19.0-pr4481.8832
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.
|
@@ -46,9 +46,15 @@ export declare const AUTOMATION_ORIGIN_HEAL_SQL: string;
|
|
|
46
46
|
export declare const AUTOMATION_ORIGIN_HEAL_COMPLETE_KEY = "automation-origin-heal-v1";
|
|
47
47
|
/** Optional verification cache: a busy or read-only database must not fail boot. */
|
|
48
48
|
export declare function saveHealMeta(db: RunDatabase, meta: Record<string, string>): void;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* A repository identity, its host and the row revision all invalidate a scope verification. `v2`
|
|
51
|
+
* marks host-aware corroboration (hearsay-tools/squawk#4472): a stamp written under the older rule
|
|
52
|
+
* no longer matches, so each such row is verified once again. A handle without `host` names
|
|
53
|
+
* `github.com`.
|
|
54
|
+
*/
|
|
50
55
|
export declare function repoScopeStamp(handle: {
|
|
51
56
|
owner: string;
|
|
52
57
|
name: string;
|
|
58
|
+
host?: string;
|
|
53
59
|
}, revision: number): string;
|
|
54
60
|
export {};
|
package/dist/runs/store-open.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* between busy open attempts, the one-time import of a legacy `runs.json`, and the SQL that picks
|
|
4
4
|
* the rows open repairs. `open` and `openOnce` stay on `RunStore` as its constructors.
|
|
5
5
|
*/
|
|
6
|
+
import { DEFAULT_PULL_REQUEST_HOST } from '../contract/index.js';
|
|
6
7
|
import { join } from 'node:path';
|
|
7
8
|
import { guardedJsonSql } from './guarded-json-sql.js';
|
|
8
9
|
import { assertNoLegacyCockpit, assertNoLegacyWriter, backUpLegacyIndex, LEGACY_INDEX_FILE, readLegacyIndex } from './legacy-index.js';
|
|
@@ -97,8 +98,13 @@ export function saveHealMeta(db, meta) {
|
|
|
97
98
|
}
|
|
98
99
|
catch { /* Retry verification on the next read. */ }
|
|
99
100
|
}
|
|
100
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* A repository identity, its host and the row revision all invalidate a scope verification. `v2`
|
|
103
|
+
* marks host-aware corroboration (hearsay-tools/squawk#4472): a stamp written under the older rule
|
|
104
|
+
* no longer matches, so each such row is verified once again. A handle without `host` names
|
|
105
|
+
* `github.com`.
|
|
106
|
+
*/
|
|
101
107
|
export function repoScopeStamp(handle, revision) {
|
|
102
|
-
return
|
|
108
|
+
return `v2 ${(handle.host ?? DEFAULT_PULL_REQUEST_HOST).toLowerCase()}/${handle.owner.toLowerCase()}/${handle.name.toLowerCase()}@${revision}`;
|
|
103
109
|
}
|
|
104
110
|
//# sourceMappingURL=store-open.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-open.js","sourceRoot":"","sources":["../../src/runs/store-open.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACvI,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAoB,MAAM,mBAAmB,CAAC;AAK/E;;4CAE4C;AAC5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AAEnE,gGAAgG;AAChG,MAAM,UAAU,SAAS,CAAC,EAAU;IAClC,OAAO,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AACnE,CAAC;AAED;;iGAEiG;AACjG,IAAI,gBAA2F,CAAC;AAEhG,M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C,iDAAiD;IAC9I,0IAA0I,EAAE,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAExK,wFAAwF;AACxF,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAE/E,oFAAoF;AACpF,MAAM,UAAU,YAAY,CAAC,EAAe,EAAE,IAA4B;IACxE,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IAC3C,IAAI,CAAC;QAAC,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC,CAAC,0CAA0C,CAAC,CAAC;AAClH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,MAAsD,EAAE,QAAgB;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,yBAAyB,CAAC,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,QAAQ,EAAE,CAAC;AACjJ,CAAC"}
|
package/dist/server/server.d.ts
CHANGED
|
@@ -18086,9 +18086,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18086
18086
|
status: 404 | 409;
|
|
18087
18087
|
input: {
|
|
18088
18088
|
param: {
|
|
18089
|
-
sha: string;
|
|
18090
|
-
} & {
|
|
18091
18089
|
id: string;
|
|
18090
|
+
} & {
|
|
18091
|
+
sha: string;
|
|
18092
18092
|
};
|
|
18093
18093
|
};
|
|
18094
18094
|
} | {
|
|
@@ -18117,9 +18117,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18117
18117
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18118
18118
|
input: {
|
|
18119
18119
|
param: {
|
|
18120
|
-
sha: string;
|
|
18121
|
-
} & {
|
|
18122
18120
|
id: string;
|
|
18121
|
+
} & {
|
|
18122
|
+
sha: string;
|
|
18123
18123
|
};
|
|
18124
18124
|
};
|
|
18125
18125
|
};
|
|
@@ -33518,9 +33518,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33518
33518
|
status: 404 | 409;
|
|
33519
33519
|
input: {
|
|
33520
33520
|
param: {
|
|
33521
|
-
sha: string;
|
|
33522
|
-
} & {
|
|
33523
33521
|
id: string;
|
|
33522
|
+
} & {
|
|
33523
|
+
sha: string;
|
|
33524
33524
|
};
|
|
33525
33525
|
};
|
|
33526
33526
|
} | {
|
|
@@ -33549,9 +33549,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33549
33549
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33550
33550
|
input: {
|
|
33551
33551
|
param: {
|
|
33552
|
-
sha: string;
|
|
33553
|
-
} & {
|
|
33554
33552
|
id: string;
|
|
33553
|
+
} & {
|
|
33554
|
+
sha: string;
|
|
33555
33555
|
};
|
|
33556
33556
|
};
|
|
33557
33557
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-pr4481.
|
|
3
|
+
"version": "0.19.0-pr4481.8832",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/parser": "^8.0.8",
|
|
71
71
|
"@babel/types": "^8.0.8",
|
|
72
|
-
"@open-mercato/cezar-api-client": "0.19.0-pr4481.
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-pr4481.
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-pr4481.8832",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-pr4481.8832",
|
|
74
74
|
"@types/node": "^24.19.1",
|
|
75
75
|
"@types/ws": "^8.18.1",
|
|
76
76
|
"esbuild": "^0.28.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "2460363dd5c2ecb8fa5bcd0fb380a06edc0c175f"
|
|
91
91
|
}
|