@hraness/oh 0.2.3 → 0.2.7

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 CHANGED
@@ -37,13 +37,20 @@ indexes derived and replaceable.
37
37
  [Bun 1.3.14 or newer](https://bun.sh/docs/installation) is required for the
38
38
  CLI, local SDK, and SQLite authority. The runtime-neutral store contracts and
39
39
  direct libSQL authority also support Node 24 serverless runtimes. Install the
40
- current immutable release directly from GitHub:
40
+ exact current release from npm:
41
41
 
42
42
  ```sh
43
- bun add --global github:hraness/oh#v0.2.3
43
+ bun add --global @hraness/oh@0.2.7
44
44
  oh --help
45
45
  ```
46
46
 
47
+ The identical package bytes and their checksum are available from the
48
+ [immutable GitHub Release](https://github.com/hraness/oh/releases/tag/v0.2.7),
49
+ including the mirrored
50
+ [`hraness-oh-0.2.7.tgz`](https://github.com/hraness/oh/releases/download/v0.2.7/hraness-oh-0.2.7.tgz)
51
+ and
52
+ [`SHA256SUMS`](https://github.com/hraness/oh/releases/download/v0.2.7/SHA256SUMS).
53
+
47
54
  Oh writes to `.oh/oh.sqlite` and the `default` space unless you select another
48
55
  path or space. Keep `.oh/` out of source control.
49
56
 
@@ -100,7 +107,7 @@ For a project dependency, pin the same immutable release in `package.json`:
100
107
  ```json
101
108
  {
102
109
  "dependencies": {
103
- "@hraness/oh": "github:hraness/oh#v0.2.3"
110
+ "@hraness/oh": "0.2.7"
104
111
  }
105
112
  }
106
113
  ```
@@ -538,8 +545,10 @@ keep remote sync explicit.
538
545
  You can also give an agent this prompt:
539
546
 
540
547
  ```text
541
- Install hraness/oh and its Oh Agent Skill from the immutable v0.2.3 tag at
542
- https://github.com/hraness/oh. Verify the CLI with `oh --help` and `oh version`.
548
+ Install @hraness/oh@0.2.7 from npm and use its packaged Oh Agent Skill. The
549
+ exact npm tarball and SHA256SUMS are mirrored by the immutable v0.2.7 Release at
550
+ https://github.com/hraness/oh/releases/tag/v0.2.7. Verify the CLI with
551
+ `oh --help` and `oh version`.
543
552
  Do not create or modify an Oh database until I name its path and ask you to.
544
553
  ```
545
554
 
package/dist/cli.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env bun
2
- export declare const OH_PACKAGE_VERSION: "0.2.3";
2
+ export declare const OH_PACKAGE_VERSION: "0.2.7";
3
3
  export declare function runOhCli(arguments_: readonly string[]): Promise<number>;
4
4
  //# sourceMappingURL=cli.d.ts.map
package/dist/cli.js CHANGED
@@ -3072,7 +3072,7 @@ class Oh {
3072
3072
 
3073
3073
  // src/cli.ts
3074
3074
  import { readFile } from "fs/promises";
3075
- var OH_PACKAGE_VERSION = "0.2.3";
3075
+ var OH_PACKAGE_VERSION = "0.2.7";
3076
3076
  var KNOWN_OPTIONS = new Set([
3077
3077
  "actor",
3078
3078
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hraness/oh",
3
- "version": "0.2.3",
3
+ "version": "0.2.7",
4
4
  "description": "open-source tools for agentic research",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -83,23 +83,29 @@
83
83
  "LICENSE"
84
84
  ],
85
85
  "publishConfig": {
86
- "access": "public"
86
+ "access": "public",
87
+ "provenance": true,
88
+ "registry": "https://registry.npmjs.org"
87
89
  },
88
90
  "scripts": {
89
91
  "build": "bun run build:js && bun run build:portable && bun run build:types",
90
92
  "build:js": "bun build ./src/index.ts ./src/sdk.ts ./src/sqlite/index.ts ./src/sync.ts ./src/semantic.ts ./src/cli.ts --outdir ./dist --target bun --format esm --external bun:sqlite",
91
93
  "build:portable": "bun build ./src/store.ts ./src/libsql.ts ./src/projection-public.ts ./src/projection-suss.ts ./src/memory.ts --outdir ./dist --target node --format esm --external @suss/datalog",
92
94
  "build:types": "tsc -p tsconfig.build.json",
93
- "check": "bun run typecheck && bun run test && bun run build && bun run test:types:node && bun run test:node && bun run test:node-projection",
95
+ "check": "bun run typecheck && bun run typecheck:scripts && bun run test && bun run build && bun run test:types:node && bun run test:node && bun run test:node-projection && bun run test:package",
94
96
  "test:node": "node ./tests/node-portable.mjs",
95
97
  "test:types:node": "tsc -p tsconfig.node-portable.json --noEmit",
98
+ "test:package": "bun run ./scripts/package-smoke.ts",
99
+ "release:preflight": "bun run ./scripts/check-release-provider-preflight.ts",
96
100
  "test": "bun test ./src ./tests ./site/tests/source.test.ts",
97
101
  "test:node-projection": "node --test ./scripts/projection-node.test.mjs",
98
- "typecheck": "tsc -p tsconfig.json --noEmit"
102
+ "typecheck": "tsc -p tsconfig.json --noEmit",
103
+ "typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit"
99
104
  },
100
105
  "devDependencies": {
101
106
  "@suss/datalog": "0.20.0",
102
107
  "@types/bun": "1.3.14",
108
+ "sigstore": "4.1.1",
103
109
  "typescript": "5.9.3"
104
110
  },
105
111
  "peerDependencies": {
@@ -30,8 +30,9 @@ oh --help
30
30
  oh version
31
31
  ```
32
32
 
33
- The supported CLI is `@hraness/oh@0.2.3` from the immutable `v0.2.3` GitHub
34
- tag. It requires Bun 1.3.14 or newer. The versioned contract is published at
33
+ The supported CLI is the exact npm release `@hraness/oh@0.2.7`. Its identical
34
+ tarball and checksum are mirrored by the immutable GitHub Release `v0.2.7`.
35
+ It requires Bun 1.3.14 or newer. The versioned contract is published at
35
36
  <https://oh.computer/spec/>.
36
37
 
37
38
  ## Open an existing space
package/src/cli.ts CHANGED
@@ -9,7 +9,7 @@ import { Oh } from "./sdk";
9
9
  import { OH_SQLITE_SCHEMA_VERSION } from "./sqlite/migrations";
10
10
  import { createOhSyncBundleV1, parseOhSyncBundleV1 } from "./sync";
11
11
 
12
- export const OH_PACKAGE_VERSION = "0.2.3" as const;
12
+ export const OH_PACKAGE_VERSION = "0.2.7" as const;
13
13
 
14
14
  type ParsedArguments = { options: Map<string, string[]>; positionals: string[] };
15
15
  type ValidatedInvocation = Readonly<{