@yolk-sdk/knowledge 0.1.0-canary.65 → 0.1.0-canary.67

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
@@ -1,6 +1,6 @@
1
1
  # @yolk-sdk/knowledge
2
2
 
3
- Domain-free knowledge document, file, context, search, and lookup/manage tool contracts for agents.
3
+ Domain-free knowledge document/source/file/context, ingestion, hybrid search, and lookup/manage tool helpers for agents.
4
4
 
5
5
  ## Install
6
6
 
@@ -16,8 +16,8 @@ type IngestKnowledgeDocumentInput = {
16
16
  };
17
17
  declare const ingestKnowledgeDocument: (input: IngestKnowledgeDocumentInput) => Effect.Effect<{
18
18
  readonly id: string;
19
- readonly scopeId: string;
20
19
  readonly status: "processing" | "ready" | "error";
20
+ readonly scopeId: string;
21
21
  readonly source: {
22
22
  readonly _tag: "File";
23
23
  readonly ref: string;
@@ -30,13 +30,13 @@ declare const ingestKnowledgeDocument: (input: IngestKnowledgeDocumentInput) =>
30
30
  readonly _tag: "Text";
31
31
  readonly label?: string | undefined;
32
32
  };
33
+ readonly summary?: string | undefined;
34
+ readonly errorMessage?: string | undefined;
33
35
  readonly metadata?: {
34
36
  readonly [x: string]: unknown;
35
37
  } | undefined;
36
- readonly tokenCount?: number | undefined;
37
- readonly summary?: string | undefined;
38
- readonly errorMessage?: string | undefined;
39
38
  readonly title?: string | undefined;
39
+ readonly tokenCount?: number | undefined;
40
40
  readonly contentHash?: string | undefined;
41
41
  readonly chunkCount?: number | undefined;
42
42
  }, KnowledgeIngestionError, KnowledgeSummarizer | KnowledgeChunker | KnowledgeEmbedder | KnowledgeExtractor | SearchIndexStore>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yolk-sdk/knowledge",
3
- "version": "0.1.0-canary.65",
4
- "description": "Domain-free durable knowledge document, file, search, context, and tool contracts for Yolk agents.",
3
+ "version": "0.1.0-canary.67",
4
+ "description": "Domain-free knowledge document/source/file/context, ingestion, hybrid search, and lookup/manage tool helpers for agents.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -106,7 +106,7 @@
106
106
  "dependencies": {
107
107
  "effect": "4.0.0-beta.65",
108
108
  "gpt-tokenizer": "^3.4.0",
109
- "@yolk-sdk/agent": "^0.1.0-canary.65"
109
+ "@yolk-sdk/agent": "^0.1.0-canary.67"
110
110
  },
111
111
  "scripts": {
112
112
  "build": "tsdown",