@polderlabs/bizar-omp 0.7.8 → 0.7.10
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/README.md +35 -4
- package/dist/cli/agents.d.ts.map +1 -1
- package/dist/cli/agents.js +46 -23
- package/dist/cli/agents.js.map +1 -1
- package/dist/cli/doctor.d.ts +4 -4
- package/dist/cli/install.d.ts +126 -9
- package/dist/cli/install.d.ts.map +1 -1
- package/dist/cli/install.js +19 -4
- package/dist/cli/install.js.map +1 -1
- package/dist/cli/mobile-claim.d.ts +143 -0
- package/dist/cli/mobile-claim.d.ts.map +1 -0
- package/dist/cli/mobile-claim.js +399 -0
- package/dist/cli/mobile-claim.js.map +1 -0
- package/dist/cli/omb-commands.d.ts +1 -1
- package/dist/cli/omb-commands.d.ts.map +1 -1
- package/dist/cli/omb-commands.js +22 -1
- package/dist/cli/omb-commands.js.map +1 -1
- package/dist/cli/omb-mobile.d.ts +47 -0
- package/dist/cli/omb-mobile.d.ts.map +1 -0
- package/dist/cli/omb-mobile.js +307 -0
- package/dist/cli/omb-mobile.js.map +1 -0
- package/dist/cli/omb-sessions.d.ts +64 -0
- package/dist/cli/omb-sessions.d.ts.map +1 -0
- package/dist/cli/omb-sessions.js +231 -0
- package/dist/cli/omb-sessions.js.map +1 -0
- package/dist/cli/omb-update.d.ts.map +1 -1
- package/dist/cli/omb-update.js +17 -2
- package/dist/cli/omb-update.js.map +1 -1
- package/dist/cli/omb.js +20 -15
- package/dist/cli/omb.js.map +1 -1
- package/dist/cli/omp-mobile-dispatch.d.ts +10 -0
- package/dist/cli/omp-mobile-dispatch.d.ts.map +1 -0
- package/dist/cli/omp-mobile-dispatch.js +148 -0
- package/dist/cli/omp-mobile-dispatch.js.map +1 -0
- package/dist/core/acceptance.d.ts.map +1 -1
- package/dist/core/acceptance.js +22 -2
- package/dist/core/acceptance.js.map +1 -1
- package/dist/core/transitions.d.ts.map +1 -1
- package/dist/core/transitions.js +17 -1
- package/dist/core/transitions.js.map +1 -1
- package/dist/extension.d.ts.map +1 -1
- package/dist/extension.js +62 -23
- package/dist/extension.js.map +1 -1
- package/dist/omp/compatibility-receipt.d.ts +69 -0
- package/dist/omp/compatibility-receipt.d.ts.map +1 -0
- package/dist/omp/compatibility-receipt.js +60 -0
- package/dist/omp/compatibility-receipt.js.map +1 -0
- package/dist/omp/compatibility.d.ts +5 -5
- package/dist/omp/compatibility.d.ts.map +1 -1
- package/dist/omp/compatibility.js +2 -2
- package/dist/omp/compatibility.js.map +1 -1
- package/dist/omp/daemon-service.d.ts +6 -0
- package/dist/omp/daemon-service.d.ts.map +1 -1
- package/dist/omp/daemon-service.js +452 -14
- package/dist/omp/daemon-service.js.map +1 -1
- package/dist/omp/omb-sessions.d.ts +10 -0
- package/dist/omp/omb-sessions.d.ts.map +1 -1
- package/dist/omp/omb-sessions.js +8 -6
- package/dist/omp/omb-sessions.js.map +1 -1
- package/dist/omp/tmux.d.ts +17 -0
- package/dist/omp/tmux.d.ts.map +1 -1
- package/dist/omp/tmux.js +51 -7
- package/dist/omp/tmux.js.map +1 -1
- package/dist/scripts/emit-compatibility-receipt.d.ts +2 -0
- package/dist/scripts/emit-compatibility-receipt.d.ts.map +1 -0
- package/dist/scripts/emit-compatibility-receipt.js +33 -0
- package/dist/scripts/emit-compatibility-receipt.js.map +1 -0
- package/dist/tools/workflow.d.ts.map +1 -1
- package/dist/tools/workflow.js +11 -1
- package/dist/tools/workflow.js.map +1 -1
- package/docs/07-bizarharness-integration.md +44 -0
- package/docs/compatibility/baseline.json +9 -8
- package/docs/compatibility/supported-surfaces.json +2 -1
- package/docs/development/ci-release-implementation-guide.md +3 -3
- package/docs/releases/0.7.10.md +27 -0
- package/docs/releases/0.7.9.md +18 -0
- package/docs/releases/npm-publishing.md +12 -12
- package/docs/releases/support-matrix.md +8 -1
- package/package.json +6 -4
- package/skills/omp-native-development/SKILL.md +1 -1
- package/skills/omp-native-development/references/accuracy-and-versioning.md +1 -1
- package/skills/omp-native-development/references/source-manifest.json +3 -3
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated compatibility receipt.
|
|
3
|
+
*
|
|
4
|
+
* The mobile project consumes Bizar's qualification evidence, and until this
|
|
5
|
+
* existed it had to hand-copy it. That is how `omp-mobile/docs/COMPATIBILITY.json`
|
|
6
|
+
* came to be pinned at Bizar 0.7.8 while 0.7.9 had already shipped the
|
|
7
|
+
* claim/release contract: nothing failed, the two files simply disagreed and
|
|
8
|
+
* nobody was told.
|
|
9
|
+
*
|
|
10
|
+
* Everything here is derived. The version and commit come from `package.json` and
|
|
11
|
+
* the caller's git invocation, the OMP baseline comes from the same constant
|
|
12
|
+
* `doctor` reports, and the capabilities are asserted by tests that fail if a
|
|
13
|
+
* command is removed. A hand-maintained receipt would drift in exactly the way
|
|
14
|
+
* this replaces.
|
|
15
|
+
*/
|
|
16
|
+
import { SUPPORTED_BUN, SUPPORTED_OMP } from "../omp/compatibility.js";
|
|
17
|
+
/**
|
|
18
|
+
* Mobile integration capabilities.
|
|
19
|
+
*
|
|
20
|
+
* Each one is a promise about the CLI surface, and each is covered by a test
|
|
21
|
+
* that fails when the promise stops being kept. Additions are forward
|
|
22
|
+
* compatible — a consumer ignores what it does not recognise. Removal or a
|
|
23
|
+
* change of meaning requires bumping `MOBILE_INTEGRATION_CONTRACT_VERSION`,
|
|
24
|
+
* because a consumer that sees an unknown capability can cope and a consumer
|
|
25
|
+
* that sees a *missing* one cannot.
|
|
26
|
+
*/
|
|
27
|
+
export const MOBILE_INTEGRATION_CONTRACT_VERSION = 1;
|
|
28
|
+
export const MOBILE_INTEGRATION_CAPABILITIES = [
|
|
29
|
+
"omb-mobile-delegate",
|
|
30
|
+
"host-capability-contract",
|
|
31
|
+
"session-inventory-authority",
|
|
32
|
+
"exact-generation-claim",
|
|
33
|
+
"claim-holder-pid",
|
|
34
|
+
"claim-release",
|
|
35
|
+
"claim-liveness-policy",
|
|
36
|
+
"local-attach-enforcement",
|
|
37
|
+
];
|
|
38
|
+
export function buildCompatibilityReceipt(inputs) {
|
|
39
|
+
return {
|
|
40
|
+
schemaVersion: 1,
|
|
41
|
+
generatedFrom: "source",
|
|
42
|
+
bizar: { packageVersion: inputs.packageVersion, commit: inputs.commit },
|
|
43
|
+
omp: {
|
|
44
|
+
qualifiedVersion: SUPPORTED_OMP.version,
|
|
45
|
+
qualifiedCommit: SUPPORTED_OMP.commit,
|
|
46
|
+
bun: SUPPORTED_BUN,
|
|
47
|
+
evidence: "qualified-baseline",
|
|
48
|
+
},
|
|
49
|
+
mobileIntegration: {
|
|
50
|
+
contractVersion: MOBILE_INTEGRATION_CONTRACT_VERSION,
|
|
51
|
+
capabilities: MOBILE_INTEGRATION_CAPABILITIES,
|
|
52
|
+
},
|
|
53
|
+
boundaries: { ombOwnsTerminalRuntime: true, mobileHostOwnsPhoneTransport: true },
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/** Renders the receipt as the file content, so generation and publication agree. */
|
|
57
|
+
export function renderCompatibilityReceipt(receipt) {
|
|
58
|
+
return `${JSON.stringify(receipt, null, 2)}\n`;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=compatibility-receipt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compatibility-receipt.js","sourceRoot":"","sources":["../../src/omp/compatibility-receipt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEvE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC;AAErD,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC9C,qBAAqB;IACrB,0BAA0B;IAC1B,6BAA6B;IAC7B,wBAAwB;IACxB,kBAAkB;IAClB,eAAe;IACf,uBAAuB;IACvB,0BAA0B;CACjB,CAAC;AA2CX,MAAM,UAAU,yBAAyB,CAAC,MAAqB;IAC9D,OAAO;QACN,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,QAAQ;QACvB,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;QACvE,GAAG,EAAE;YACJ,gBAAgB,EAAE,aAAa,CAAC,OAAO;YACvC,eAAe,EAAE,aAAa,CAAC,MAAM;YACrC,GAAG,EAAE,aAAa;YAClB,QAAQ,EAAE,oBAAoB;SAC9B;QACD,iBAAiB,EAAE;YAClB,eAAe,EAAE,mCAAmC;YACpD,YAAY,EAAE,+BAA+B;SAC7C;QACD,UAAU,EAAE,EAAE,sBAAsB,EAAE,IAAI,EAAE,4BAA4B,EAAE,IAAI,EAAE;KAChF,CAAC;AACH,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,0BAA0B,CAAC,OAA6B;IACvE,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AAChD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const SUPPORTED_OMP: {
|
|
2
|
-
readonly version: "18.4.
|
|
3
|
-
readonly commit: "
|
|
2
|
+
readonly version: "18.4.4";
|
|
3
|
+
readonly commit: "8ac1309bd8adaddc891eeb389c545345073875be";
|
|
4
4
|
};
|
|
5
|
-
export declare const QUALIFIED_OMP_VERSIONS: readonly ["18.2.4", "18.2.5", "18.2.6", "18.2.7", "18.2.8", "18.2.11", "18.3.0", "18.3.2", "18.4.1", "18.4.2"];
|
|
5
|
+
export declare const QUALIFIED_OMP_VERSIONS: readonly ["18.2.4", "18.2.5", "18.2.6", "18.2.7", "18.2.8", "18.2.11", "18.3.0", "18.3.2", "18.4.1", "18.4.2", "18.4.4"];
|
|
6
6
|
export declare const SUPPORTED_BUN = ">=1.3.14";
|
|
7
7
|
export declare function isQualifiedOmpVersion(version: string): boolean;
|
|
8
8
|
/** Highest semver currently in {@link QUALIFIED_OMP_VERSIONS}. */
|
|
@@ -28,8 +28,8 @@ export interface RuntimeProbe {
|
|
|
28
28
|
}
|
|
29
29
|
export declare function compatibilityReport(probe: RuntimeProbe): {
|
|
30
30
|
supportedBaseline: {
|
|
31
|
-
readonly version: "18.4.
|
|
32
|
-
readonly commit: "
|
|
31
|
+
readonly version: "18.4.4";
|
|
32
|
+
readonly commit: "8ac1309bd8adaddc891eeb389c545345073875be";
|
|
33
33
|
};
|
|
34
34
|
bun: string;
|
|
35
35
|
probe: RuntimeProbe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility.d.ts","sourceRoot":"","sources":["../../src/omp/compatibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;aAAK,OAAO,EAAE,QAAQ;aAAE,MAAM,EAAE,0CAA0C;CAAW,CAAC;AAChH,eAAO,MAAM,sBAAsB,YAAI,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"compatibility.d.ts","sourceRoot":"","sources":["../../src/omp/compatibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;aAAK,OAAO,EAAE,QAAQ;aAAE,MAAM,EAAE,0CAA0C;CAAW,CAAC;AAChH,eAAO,MAAM,sBAAsB,YAAI,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAC/J,eAAO,MAAM,aAAa,aAAa,CAAC;AAExC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAG9D;AAED,kEAAkE;AAClE,eAAO,MAAM,4BAA4B,QAGxC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAItE;AAED,MAAM,WAAW,gBAAgB;IAAG,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAAE;AAC3F,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAUlE;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAKjE;AAED,MAAM,WAAW,YAAY;IAAG,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,sBAAsB,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;CAAE;AACvI,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY;;0BA/Cf,QAAQ;yBAAU,0CAA0C;;;;;;EA+CqM"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const SUPPORTED_OMP = { version: "18.4.
|
|
2
|
-
export const QUALIFIED_OMP_VERSIONS = ["18.2.4", "18.2.5", "18.2.6", "18.2.7", "18.2.8", "18.2.11", "18.3.0", "18.3.2", "18.4.1", "18.4.2"];
|
|
1
|
+
export const SUPPORTED_OMP = { version: "18.4.4", commit: "8ac1309bd8adaddc891eeb389c545345073875be" };
|
|
2
|
+
export const QUALIFIED_OMP_VERSIONS = ["18.2.4", "18.2.5", "18.2.6", "18.2.7", "18.2.8", "18.2.11", "18.3.0", "18.3.2", "18.4.1", "18.4.2", "18.4.4"];
|
|
3
3
|
export const SUPPORTED_BUN = ">=1.3.14";
|
|
4
4
|
export function isQualifiedOmpVersion(version) {
|
|
5
5
|
const normalized = version.trim().replace(/^omp\//, "");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility.js","sourceRoot":"","sources":["../../src/omp/compatibility.ts"],"names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AC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9F,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAAC,MAAM,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAC9C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAAC,MAAM,UAAU,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;QAAC,IAAI,UAAU;YAAE,OAAO,UAAU,CAAC;IAAC,CAAC;IACvI,OAAO,CAAC,CAAC;AACX,CAAC;AAGD,MAAM,UAAU,mBAAmB,CAAC,KAAmB,IAAI,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,sBAAsB,IAAI,KAAK,CAAC,gBAAgB,EAAE,UAAU,EAAE,oFAAoF,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type OmbSessionInfo } from "./omb-sessions.js";
|
|
1
2
|
export interface DaemonServiceOptions {
|
|
2
3
|
/** Environment that supplies the state dir and the tmux/omp binaries. */
|
|
3
4
|
env?: NodeJS.ProcessEnv;
|
|
@@ -5,6 +6,8 @@ export interface DaemonServiceOptions {
|
|
|
5
6
|
port?: number;
|
|
6
7
|
/** Poll interval for the session scan loop. */
|
|
7
8
|
intervalMs?: number;
|
|
9
|
+
/** Deadline for reading one request body. Overridable so tests need not wait. */
|
|
10
|
+
bodyTimeoutMs?: number;
|
|
8
11
|
/** Called with one line per lifecycle event. */
|
|
9
12
|
log?: (line: string) => void;
|
|
10
13
|
}
|
|
@@ -16,6 +19,9 @@ export interface DaemonService {
|
|
|
16
19
|
}
|
|
17
20
|
export declare const DASHBOARD_MAX_BODY_BYTES: number;
|
|
18
21
|
export declare const DASHBOARD_BODY_TIMEOUT_MS = 10000;
|
|
22
|
+
/** A mobile delete is allowed only after one authoritative fresh scan proves
|
|
23
|
+
* the exact host-owned generation is fully stopped and no longer observable. */
|
|
24
|
+
export declare function isSafeMobileSessionRemoval(session: Pick<OmbSessionInfo, "authorityKnown" | "hosted" | "state" | "attached" | "uncertainLiveness" | "processObserved">): boolean;
|
|
19
25
|
/**
|
|
20
26
|
* Long-running half of the daemon: an authenticated HTTP boundary on
|
|
21
27
|
* 127.0.0.1 plus a scan loop that keeps the on-disk snapshot fresh. Spawned
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemon-service.d.ts","sourceRoot":"","sources":["../../src/omp/daemon-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"daemon-service.d.ts","sourceRoot":"","sources":["../../src/omp/daemon-service.ts"],"names":[],"mappings":"AAQA,OAAO,EAAyF,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AA6B/I,MAAM,WAAW,oBAAoB;IACnC,yEAAyE;IACzE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACrB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB;AAID,eAAO,MAAM,wBAAwB,QAAY,CAAC;AAClD,eAAO,MAAM,yBAAyB,QAAS,CAAC;AAmBhD;gFACgF;AAChF,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,mBAAmB,GAAG,iBAAiB,CAAC,GAAG,OAAO,CAE/K;AA0WD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,oBAAyB,GAAG,aAAa,CAs4BpF"}
|