@okf-harness/core 0.1.0 → 0.2.0

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Core library for OKF Harness workspace parsing, config loading, manifest handling, path safety, linting, search, graph generation, and source registration.
4
4
 
5
- OKF Harness is an independent open-source project built on [Andrej Karpathy's LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) pattern and Google's [Open Knowledge Format](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing) / [OKF specification](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md).
5
+ OKF Harness is an independent open-source project built on Andrej Karpathy's [LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) pattern and Google's [Open Knowledge Format](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing) / [OKF specification](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md).
6
6
 
7
7
  Most users should install the CLI instead:
8
8
 
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ declare const workspaceConfigSchema: z.ZodObject<{
6
6
  workspace: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  created_at: z.ZodString;
9
- platform: z.ZodLiteral<"macos">;
10
9
  }, z.core.$strict>;
11
10
  okf: z.ZodObject<{
12
11
  bundle_root: z.ZodString;
package/dist/index.js CHANGED
@@ -95,8 +95,7 @@ var workspaceConfigSchema = z.object({
95
95
  version: z.union([z.literal(0.1), z.literal("0.1")]).transform(() => "0.1"),
96
96
  workspace: z.object({
97
97
  name: z.string().min(1),
98
- created_at: z.string().min(1),
99
- platform: z.literal("macos")
98
+ created_at: z.string().min(1)
100
99
  }).strict(),
101
100
  okf: z.object({
102
101
  bundle_root: configRelativePathSchema,
@@ -2499,8 +2498,7 @@ function createWorkspaceConfig(name, createdAt) {
2499
2498
  version: "0.1",
2500
2499
  workspace: {
2501
2500
  name,
2502
- created_at: createdAt,
2503
- platform: "macos"
2501
+ created_at: createdAt
2504
2502
  },
2505
2503
  okf: {
2506
2504
  bundle_root: "wiki",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okf-harness/core",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "OKF parsing, config, manifest, path safety, lint, search, graph, and source handling.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",