@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 +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -4
- package/package.json +1 -1
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
|
|
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
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",
|