@poprobertdaniel/openclaw-memory 0.1.2 → 0.1.3
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/dist/{chunk-VB5GGBGB.js → chunk-7DNVIKQ3.js} +88 -4
- package/dist/chunk-7DNVIKQ3.js.map +1 -0
- package/dist/{chunk-RZPYOMPO.js → chunk-BTR4T5L3.js} +155 -25
- package/dist/chunk-BTR4T5L3.js.map +1 -0
- package/dist/{chunk-L2KRIMDA.cjs → chunk-CSGZH2SG.cjs} +5 -5
- package/dist/chunk-CSGZH2SG.cjs.map +1 -0
- package/dist/{chunk-5SZWJKD5.js → chunk-J2C5USXH.js} +2 -2
- package/dist/{chunk-HPGHPKK3.cjs → chunk-JYQB2DOK.cjs} +159 -29
- package/dist/chunk-JYQB2DOK.cjs.map +1 -0
- package/dist/chunk-LA5OP5VI.cjs.map +1 -1
- package/dist/{chunk-MQEBVCH5.cjs → chunk-NYZMAY73.cjs} +90 -6
- package/dist/chunk-NYZMAY73.cjs.map +1 -0
- package/dist/cli/index.cjs +3 -3
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -2
- package/dist/index.d.ts +52 -2
- package/dist/index.js +3 -3
- package/dist/memory-service-B2BAEKR2.cjs +9 -0
- package/dist/memory-service-B2BAEKR2.cjs.map +1 -0
- package/dist/memory-service-ZTLGPIUH.js +9 -0
- package/dist/{server-D-3OqU-T.d.ts → server-CtNlCow7.d.cts} +50 -0
- package/dist/{server-D-3OqU-T.d.cts → server-CtNlCow7.d.ts} +50 -0
- package/dist/server.cjs +3 -3
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HPGHPKK3.cjs.map +0 -1
- package/dist/chunk-L2KRIMDA.cjs.map +0 -1
- package/dist/chunk-MQEBVCH5.cjs.map +0 -1
- package/dist/chunk-RZPYOMPO.js.map +0 -1
- package/dist/chunk-VB5GGBGB.js.map +0 -1
- package/dist/memory-service-4ZPYUN4L.js +0 -9
- package/dist/memory-service-LURM3FBB.cjs +0 -9
- package/dist/memory-service-LURM3FBB.cjs.map +0 -1
- /package/dist/{chunk-5SZWJKD5.js.map → chunk-J2C5USXH.js.map} +0 -0
- /package/dist/{memory-service-4ZPYUN4L.js.map → memory-service-ZTLGPIUH.js.map} +0 -0
package/dist/cli/index.js
CHANGED
|
@@ -519,7 +519,7 @@ function storeCommand() {
|
|
|
519
519
|
const result = await apiPost(baseUrl, "/api/memories", body, config.auth.token);
|
|
520
520
|
output(result, opts.format);
|
|
521
521
|
} else {
|
|
522
|
-
const { MemoryService } = await import("../memory-service-
|
|
522
|
+
const { MemoryService } = await import("../memory-service-ZTLGPIUH.js");
|
|
523
523
|
const service = new MemoryService();
|
|
524
524
|
await service.init();
|
|
525
525
|
try {
|
|
@@ -562,7 +562,7 @@ function searchCommand() {
|
|
|
562
562
|
if (serverUp) {
|
|
563
563
|
result = await apiPost(baseUrl, "/api/search", body, config.auth.token);
|
|
564
564
|
} else {
|
|
565
|
-
const { MemoryService } = await import("../memory-service-
|
|
565
|
+
const { MemoryService } = await import("../memory-service-ZTLGPIUH.js");
|
|
566
566
|
const service = new MemoryService();
|
|
567
567
|
await service.init();
|
|
568
568
|
try {
|
|
@@ -618,7 +618,7 @@ function migrateCommand() {
|
|
|
618
618
|
if (serverUp) {
|
|
619
619
|
result = await apiPost(baseUrl, "/api/admin/migrate-markdown", body, config.auth.token);
|
|
620
620
|
} else {
|
|
621
|
-
const { MemoryService } = await import("../memory-service-
|
|
621
|
+
const { MemoryService } = await import("../memory-service-ZTLGPIUH.js");
|
|
622
622
|
const service = new MemoryService();
|
|
623
623
|
await service.init();
|
|
624
624
|
try {
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNYZMAY73cjs = require('./chunk-NYZMAY73.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkCSGZH2SGcjs = require('./chunk-CSGZH2SG.cjs');
|
|
8
|
+
require('./chunk-JYQB2DOK.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -44,5 +44,5 @@ var TIER_CAPABILITIES = {
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
exports.MemoryService =
|
|
47
|
+
exports.MemoryService = _chunkCSGZH2SGcjs.MemoryService; exports.TIER_CAPABILITIES = TIER_CAPABILITIES; exports.configSummary = _chunkLA5OP5VIcjs.configSummary; exports.createApp = _chunkNYZMAY73cjs.createApp; exports.createServer = _chunkNYZMAY73cjs.createServer; exports.defineConfig = _chunkLA5OP5VIcjs.defineConfig; exports.loadConfig = _chunkLA5OP5VIcjs.loadConfig;
|
|
48
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/
|
|
1
|
+
{"version":3,"sources":["/private/tmp/openclaw-memory-publish/dist/index.cjs","../src/core/types.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC4PO,IAAM,kBAAA,EAAoD;AAAA,EAC/D,IAAA,EAAM;AAAA,IACJ,MAAA,EAAQ,IAAA;AAAA,IACR,MAAA,EAAQ,KAAA;AAAA,IACR,GAAA,EAAK,KAAA;AAAA,IACL,UAAA,EAAY,KAAA;AAAA,IACZ,UAAA,EAAY;AAAA,EACd,CAAA;AAAA,EACA,QAAA,EAAU;AAAA,IACR,MAAA,EAAQ,IAAA;AAAA,IACR,MAAA,EAAQ,IAAA;AAAA,IACR,GAAA,EAAK,KAAA;AAAA,IACL,UAAA,EAAY,IAAA;AAAA,IACZ,UAAA,EAAY;AAAA,EACd,CAAA;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,MAAA,EAAQ,IAAA;AAAA,IACR,MAAA,EAAQ,IAAA;AAAA,IACR,GAAA,EAAK,IAAA;AAAA,IACL,UAAA,EAAY,IAAA;AAAA,IACZ,UAAA,EAAY;AAAA,EACd;AACF,CAAA;AD1PA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,kXAAC","file":"/private/tmp/openclaw-memory-publish/dist/index.cjs","sourcesContent":[null,"// ── Core Types ──────────────────────────────────────────────────────────\n\nexport type MemoryScope = \"user\" | \"agent\" | \"global\" | \"project\" | \"session\";\nexport type MemorySource = \"explicit\" | \"derived\" | \"observation\" | \"conversation_summary\" | \"entity_extraction\" | \"daily_digest\" | \"migration\";\nexport type EntityType = \"Person\" | \"Project\" | \"Organization\" | \"Decision\" | \"Preference\" | \"Event\" | \"Tool\" | \"Location\" | \"Concept\";\nexport type RelationshipType =\n | \"WORKS_ON\"\n | \"DECIDED\"\n | \"PREFERS\"\n | \"KNOWS\"\n | \"USES\"\n | \"LOCATED_AT\"\n | \"BELONGS_TO\"\n | \"MENTIONED_IN\"\n | \"RELATED_TO\"\n | \"CREATED_BY\"\n | \"DEPENDS_ON\";\n\nexport type Tier = \"lite\" | \"standard\" | \"full\";\n\n// ── Data Models ─────────────────────────────────────────────────────────\n\nexport interface ExtractedEntity {\n name: string;\n type: EntityType;\n properties: Record<string, string>;\n}\n\nexport interface ExtractedRelationship {\n from_entity: string;\n to_entity: string;\n relationship: RelationshipType;\n properties: Record<string, string>;\n}\n\nexport interface ExtractionResult {\n entities: ExtractedEntity[];\n relationships: ExtractedRelationship[];\n}\n\nexport interface Memory {\n id: string;\n agent_id: string;\n scope: MemoryScope;\n subject_id: string | null;\n content: string;\n tags: string[];\n entities: ExtractedEntity[];\n source: MemorySource;\n created_by: string | null;\n created_at: string;\n updated_at: string;\n expires_at: string | null;\n embedding_hash: string | null;\n}\n\n// ── API Request/Response Types (snake_case for HTTP API) ────────────────\n\nexport interface CreateMemoryRequest {\n agent_id: string;\n scope: MemoryScope;\n subject_id?: string | null;\n content: string;\n tags?: string[];\n source?: MemorySource;\n created_by?: string | null;\n extract_entities?: boolean;\n expires_at?: string | null;\n}\n\nexport interface UpdateMemoryRequest {\n content?: string;\n tags?: string[];\n scope?: MemoryScope;\n subject_id?: string | null;\n expires_at?: string | null;\n extract_entities?: boolean;\n}\n\nexport interface SearchRequest {\n agent_id: string;\n query: string;\n scopes?: MemoryScope[];\n subject_id?: string | null;\n limit?: number;\n include_graph?: boolean;\n cross_agent?: boolean;\n strategy?: \"auto\" | \"semantic\" | \"fulltext\" | \"graph\" | \"all\";\n}\n\nexport interface ScoredMemory {\n memory: Memory;\n score: number;\n source_layer: \"sqlite\" | \"qdrant\" | \"age\";\n graph_context?: {\n related_entities: Array<{\n type: EntityType;\n name: string;\n relationship: string;\n }>;\n };\n}\n\nexport interface SearchResponse {\n results: ScoredMemory[];\n strategy_used: string;\n layer_stats: {\n sqlite: { count: number; ms: number };\n qdrant: { count: number; ms: number };\n age: { count: number; ms: number };\n };\n}\n\nexport interface SyncStatus {\n sqlite: \"ok\";\n qdrant: \"ok\" | \"queued\" | \"failed\" | \"disabled\";\n age: \"ok\" | \"queued\" | \"failed\" | \"disabled\";\n}\n\nexport interface CreateMemoryResponse {\n id: string;\n agent_id: string;\n scope: MemoryScope;\n content: string;\n tags?: string[];\n entities: ExtractedEntity[];\n created_at: string;\n updated_at?: string;\n sync_status: SyncStatus;\n}\n\nexport interface ConversationLogEntry {\n agent_id: string;\n session_id: string;\n user_id: string;\n channel: string;\n role: string;\n content: string;\n timestamp: string;\n}\n\nexport interface SummarizeRequest {\n agent_id: string;\n session_id: string;\n user_id: string;\n channel: string;\n messages: Array<{\n role: \"user\" | \"assistant\" | \"system\";\n content: string;\n timestamp: string;\n }>;\n reason?: string;\n}\n\nexport interface SummarizeResponse {\n memory_id: string;\n summary: string;\n entities_extracted: ExtractedEntity[];\n relationships_created: number;\n}\n\nexport interface HealthResponse {\n sqlite: \"ok\" | \"error\" | \"disabled\";\n qdrant: \"ok\" | \"error\" | \"disabled\";\n age: \"ok\" | \"error\" | \"disabled\";\n tier: Tier;\n uptime: number;\n details?: Record<string, string>;\n}\n\nexport interface SyncQueueItem {\n id: number;\n memory_id: string;\n layer: \"qdrant\" | \"age\";\n operation: \"upsert\" | \"delete\";\n attempts: number;\n last_error: string | null;\n created_at: string;\n}\n\nexport interface ListMemoriesQuery {\n agent_id?: string;\n scope?: MemoryScope;\n subject_id?: string;\n source?: MemorySource;\n tags?: string;\n limit?: number;\n offset?: number;\n order?: \"asc\" | \"desc\";\n}\n\nexport interface MigrateMarkdownRequest {\n markdown_paths: string[];\n agent_id: string;\n dry_run?: boolean;\n}\n\n// ── Programmatic API Types (camelCase) ──────────────────────────────────\n\nexport interface StoreParams {\n agentId: string;\n scope: MemoryScope;\n subjectId?: string | null;\n content: string;\n tags?: string[];\n source?: MemorySource;\n createdBy?: string | null;\n extractEntities?: boolean;\n expiresAt?: string | null;\n}\n\nexport interface StoreResult {\n id: string;\n agentId: string;\n scope: MemoryScope;\n content: string;\n entities: ExtractedEntity[];\n createdAt: string;\n syncStatus: {\n sqlite: \"ok\";\n qdrant: \"ok\" | \"queued\" | \"failed\" | \"disabled\";\n age: \"ok\" | \"queued\" | \"failed\" | \"disabled\";\n };\n}\n\nexport interface SearchParams {\n agentId: string;\n query: string;\n scopes?: MemoryScope[];\n subjectId?: string | null;\n limit?: number;\n includeGraph?: boolean;\n crossAgent?: boolean;\n strategy?: \"auto\" | \"semantic\" | \"fulltext\" | \"graph\" | \"all\";\n}\n\nexport interface UpdateParams {\n content?: string;\n tags?: string[];\n scope?: MemoryScope;\n subjectId?: string | null;\n expiresAt?: string | null;\n extractEntities?: boolean;\n}\n\nexport interface ListParams {\n agentId?: string;\n scope?: MemoryScope;\n subjectId?: string;\n source?: MemorySource;\n tags?: string;\n limit?: number;\n offset?: number;\n order?: \"asc\" | \"desc\";\n}\n\n// ── Tier Capabilities ───────────────────────────────────────────────────\n\nexport interface TierCapabilities {\n sqlite: true;\n qdrant: boolean;\n age: boolean;\n embeddings: boolean;\n extraction: boolean;\n}\n\nexport const TIER_CAPABILITIES: Record<Tier, TierCapabilities> = {\n lite: {\n sqlite: true,\n qdrant: false,\n age: false,\n embeddings: false,\n extraction: false,\n },\n standard: {\n sqlite: true,\n qdrant: true,\n age: false,\n embeddings: true,\n extraction: true,\n },\n full: {\n sqlite: true,\n qdrant: true,\n age: true,\n embeddings: true,\n extraction: true,\n },\n};\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedConfig, C as Config, S as StoreParams, a as StoreResult, M as Memory, U as UpdateParams, L as ListParams, b as SearchParams, c as SearchResponse, d as ConversationLogEntry, e as SummarizeResponse, H as HealthResponse, T as Tier, f as StorageOrchestrator, g as CreateMemoryResponse, E as ExtractionResult, h as SyncQueueItem } from './server-
|
|
2
|
-
export { i as CreateMemoryRequest, j as EntityType, k as ExtractedEntity, l as ExtractedRelationship, m as ListMemoriesQuery, n as MemoryScope, o as MemorySource, p as MigrateMarkdownRequest, q as RelationshipType, r as ScoredMemory, s as SearchRequest, t as SummarizeRequest, u as SyncStatus, v as TIER_CAPABILITIES, w as TierCapabilities, x as UpdateMemoryRequest, y as createServer } from './server-
|
|
1
|
+
import { R as ResolvedConfig, C as Config, S as StoreParams, a as StoreResult, M as Memory, U as UpdateParams, L as ListParams, b as SearchParams, c as SearchResponse, d as ConversationLogEntry, e as SummarizeResponse, H as HealthResponse, T as Tier, f as StorageOrchestrator, g as CreateMemoryResponse, E as ExtractionResult, h as SyncQueueItem } from './server-CtNlCow7.cjs';
|
|
2
|
+
export { i as CreateMemoryRequest, j as EntityType, k as ExtractedEntity, l as ExtractedRelationship, m as ListMemoriesQuery, n as MemoryScope, o as MemorySource, p as MigrateMarkdownRequest, q as RelationshipType, r as ScoredMemory, s as SearchRequest, t as SummarizeRequest, u as SyncStatus, v as TIER_CAPABILITIES, w as TierCapabilities, x as UpdateMemoryRequest, y as createServer } from './server-CtNlCow7.cjs';
|
|
3
3
|
import { Elysia } from 'elysia';
|
|
4
4
|
|
|
5
5
|
declare function loadConfig(configPath?: string): Promise<ResolvedConfig>;
|
|
@@ -684,6 +684,56 @@ declare function createApp(orchestrator: StorageOrchestrator, config: ResolvedCo
|
|
|
684
684
|
};
|
|
685
685
|
};
|
|
686
686
|
};
|
|
687
|
+
} & {
|
|
688
|
+
api: {
|
|
689
|
+
admin: {
|
|
690
|
+
resync: {
|
|
691
|
+
post: {
|
|
692
|
+
body: unknown;
|
|
693
|
+
params: {};
|
|
694
|
+
query: {
|
|
695
|
+
layer?: "qdrant" | "age" | "both" | undefined;
|
|
696
|
+
batch?: string | undefined;
|
|
697
|
+
};
|
|
698
|
+
headers: unknown;
|
|
699
|
+
response: {
|
|
700
|
+
200: {
|
|
701
|
+
error: string;
|
|
702
|
+
details: string;
|
|
703
|
+
layer?: undefined;
|
|
704
|
+
layers?: undefined;
|
|
705
|
+
batch?: undefined;
|
|
706
|
+
memory_count?: undefined;
|
|
707
|
+
queued_items?: undefined;
|
|
708
|
+
sync_results?: undefined;
|
|
709
|
+
} | {
|
|
710
|
+
layer: "qdrant" | "age" | "both";
|
|
711
|
+
layers: ("qdrant" | "age")[];
|
|
712
|
+
batch: number;
|
|
713
|
+
memory_count: number;
|
|
714
|
+
queued_items: number;
|
|
715
|
+
sync_results: {
|
|
716
|
+
processed: number;
|
|
717
|
+
succeeded: number;
|
|
718
|
+
failed: number;
|
|
719
|
+
};
|
|
720
|
+
error?: undefined;
|
|
721
|
+
details?: undefined;
|
|
722
|
+
};
|
|
723
|
+
422: {
|
|
724
|
+
type: "validation";
|
|
725
|
+
on: string;
|
|
726
|
+
summary?: string;
|
|
727
|
+
message?: string;
|
|
728
|
+
found?: unknown;
|
|
729
|
+
property?: string;
|
|
730
|
+
expected?: string;
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
};
|
|
687
737
|
} & {
|
|
688
738
|
api: {
|
|
689
739
|
sync: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedConfig, C as Config, S as StoreParams, a as StoreResult, M as Memory, U as UpdateParams, L as ListParams, b as SearchParams, c as SearchResponse, d as ConversationLogEntry, e as SummarizeResponse, H as HealthResponse, T as Tier, f as StorageOrchestrator, g as CreateMemoryResponse, E as ExtractionResult, h as SyncQueueItem } from './server-
|
|
2
|
-
export { i as CreateMemoryRequest, j as EntityType, k as ExtractedEntity, l as ExtractedRelationship, m as ListMemoriesQuery, n as MemoryScope, o as MemorySource, p as MigrateMarkdownRequest, q as RelationshipType, r as ScoredMemory, s as SearchRequest, t as SummarizeRequest, u as SyncStatus, v as TIER_CAPABILITIES, w as TierCapabilities, x as UpdateMemoryRequest, y as createServer } from './server-
|
|
1
|
+
import { R as ResolvedConfig, C as Config, S as StoreParams, a as StoreResult, M as Memory, U as UpdateParams, L as ListParams, b as SearchParams, c as SearchResponse, d as ConversationLogEntry, e as SummarizeResponse, H as HealthResponse, T as Tier, f as StorageOrchestrator, g as CreateMemoryResponse, E as ExtractionResult, h as SyncQueueItem } from './server-CtNlCow7.js';
|
|
2
|
+
export { i as CreateMemoryRequest, j as EntityType, k as ExtractedEntity, l as ExtractedRelationship, m as ListMemoriesQuery, n as MemoryScope, o as MemorySource, p as MigrateMarkdownRequest, q as RelationshipType, r as ScoredMemory, s as SearchRequest, t as SummarizeRequest, u as SyncStatus, v as TIER_CAPABILITIES, w as TierCapabilities, x as UpdateMemoryRequest, y as createServer } from './server-CtNlCow7.js';
|
|
3
3
|
import { Elysia } from 'elysia';
|
|
4
4
|
|
|
5
5
|
declare function loadConfig(configPath?: string): Promise<ResolvedConfig>;
|
|
@@ -684,6 +684,56 @@ declare function createApp(orchestrator: StorageOrchestrator, config: ResolvedCo
|
|
|
684
684
|
};
|
|
685
685
|
};
|
|
686
686
|
};
|
|
687
|
+
} & {
|
|
688
|
+
api: {
|
|
689
|
+
admin: {
|
|
690
|
+
resync: {
|
|
691
|
+
post: {
|
|
692
|
+
body: unknown;
|
|
693
|
+
params: {};
|
|
694
|
+
query: {
|
|
695
|
+
layer?: "qdrant" | "age" | "both" | undefined;
|
|
696
|
+
batch?: string | undefined;
|
|
697
|
+
};
|
|
698
|
+
headers: unknown;
|
|
699
|
+
response: {
|
|
700
|
+
200: {
|
|
701
|
+
error: string;
|
|
702
|
+
details: string;
|
|
703
|
+
layer?: undefined;
|
|
704
|
+
layers?: undefined;
|
|
705
|
+
batch?: undefined;
|
|
706
|
+
memory_count?: undefined;
|
|
707
|
+
queued_items?: undefined;
|
|
708
|
+
sync_results?: undefined;
|
|
709
|
+
} | {
|
|
710
|
+
layer: "qdrant" | "age" | "both";
|
|
711
|
+
layers: ("qdrant" | "age")[];
|
|
712
|
+
batch: number;
|
|
713
|
+
memory_count: number;
|
|
714
|
+
queued_items: number;
|
|
715
|
+
sync_results: {
|
|
716
|
+
processed: number;
|
|
717
|
+
succeeded: number;
|
|
718
|
+
failed: number;
|
|
719
|
+
};
|
|
720
|
+
error?: undefined;
|
|
721
|
+
details?: undefined;
|
|
722
|
+
};
|
|
723
|
+
422: {
|
|
724
|
+
type: "validation";
|
|
725
|
+
on: string;
|
|
726
|
+
summary?: string;
|
|
727
|
+
message?: string;
|
|
728
|
+
found?: unknown;
|
|
729
|
+
property?: string;
|
|
730
|
+
expected?: string;
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
};
|
|
687
737
|
} & {
|
|
688
738
|
api: {
|
|
689
739
|
sync: {
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApp,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7DNVIKQ3.js";
|
|
5
5
|
import {
|
|
6
6
|
MemoryService
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-J2C5USXH.js";
|
|
8
|
+
import "./chunk-BTR4T5L3.js";
|
|
9
9
|
import {
|
|
10
10
|
configSummary,
|
|
11
11
|
defineConfig,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkCSGZH2SGcjs = require('./chunk-CSGZH2SG.cjs');
|
|
4
|
+
require('./chunk-JYQB2DOK.cjs');
|
|
5
|
+
require('./chunk-LA5OP5VI.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.MemoryService = _chunkCSGZH2SGcjs.MemoryService;
|
|
9
|
+
//# sourceMappingURL=memory-service-B2BAEKR2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/private/tmp/openclaw-memory-publish/dist/memory-service-B2BAEKR2.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,wDAAC","file":"/private/tmp/openclaw-memory-publish/dist/memory-service-B2BAEKR2.cjs"}
|
|
@@ -1090,6 +1090,56 @@ declare function createServer(configPath?: string): Promise<{
|
|
|
1090
1090
|
};
|
|
1091
1091
|
};
|
|
1092
1092
|
};
|
|
1093
|
+
} & {
|
|
1094
|
+
api: {
|
|
1095
|
+
admin: {
|
|
1096
|
+
resync: {
|
|
1097
|
+
post: {
|
|
1098
|
+
body: unknown;
|
|
1099
|
+
params: {};
|
|
1100
|
+
query: {
|
|
1101
|
+
layer?: "qdrant" | "age" | "both" | undefined;
|
|
1102
|
+
batch?: string | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
headers: unknown;
|
|
1105
|
+
response: {
|
|
1106
|
+
200: {
|
|
1107
|
+
error: string;
|
|
1108
|
+
details: string;
|
|
1109
|
+
layer?: undefined;
|
|
1110
|
+
layers?: undefined;
|
|
1111
|
+
batch?: undefined;
|
|
1112
|
+
memory_count?: undefined;
|
|
1113
|
+
queued_items?: undefined;
|
|
1114
|
+
sync_results?: undefined;
|
|
1115
|
+
} | {
|
|
1116
|
+
layer: "qdrant" | "age" | "both";
|
|
1117
|
+
layers: ("qdrant" | "age")[];
|
|
1118
|
+
batch: number;
|
|
1119
|
+
memory_count: number;
|
|
1120
|
+
queued_items: number;
|
|
1121
|
+
sync_results: {
|
|
1122
|
+
processed: number;
|
|
1123
|
+
succeeded: number;
|
|
1124
|
+
failed: number;
|
|
1125
|
+
};
|
|
1126
|
+
error?: undefined;
|
|
1127
|
+
details?: undefined;
|
|
1128
|
+
};
|
|
1129
|
+
422: {
|
|
1130
|
+
type: "validation";
|
|
1131
|
+
on: string;
|
|
1132
|
+
summary?: string;
|
|
1133
|
+
message?: string;
|
|
1134
|
+
found?: unknown;
|
|
1135
|
+
property?: string;
|
|
1136
|
+
expected?: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1093
1143
|
} & {
|
|
1094
1144
|
api: {
|
|
1095
1145
|
sync: {
|
|
@@ -1090,6 +1090,56 @@ declare function createServer(configPath?: string): Promise<{
|
|
|
1090
1090
|
};
|
|
1091
1091
|
};
|
|
1092
1092
|
};
|
|
1093
|
+
} & {
|
|
1094
|
+
api: {
|
|
1095
|
+
admin: {
|
|
1096
|
+
resync: {
|
|
1097
|
+
post: {
|
|
1098
|
+
body: unknown;
|
|
1099
|
+
params: {};
|
|
1100
|
+
query: {
|
|
1101
|
+
layer?: "qdrant" | "age" | "both" | undefined;
|
|
1102
|
+
batch?: string | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
headers: unknown;
|
|
1105
|
+
response: {
|
|
1106
|
+
200: {
|
|
1107
|
+
error: string;
|
|
1108
|
+
details: string;
|
|
1109
|
+
layer?: undefined;
|
|
1110
|
+
layers?: undefined;
|
|
1111
|
+
batch?: undefined;
|
|
1112
|
+
memory_count?: undefined;
|
|
1113
|
+
queued_items?: undefined;
|
|
1114
|
+
sync_results?: undefined;
|
|
1115
|
+
} | {
|
|
1116
|
+
layer: "qdrant" | "age" | "both";
|
|
1117
|
+
layers: ("qdrant" | "age")[];
|
|
1118
|
+
batch: number;
|
|
1119
|
+
memory_count: number;
|
|
1120
|
+
queued_items: number;
|
|
1121
|
+
sync_results: {
|
|
1122
|
+
processed: number;
|
|
1123
|
+
succeeded: number;
|
|
1124
|
+
failed: number;
|
|
1125
|
+
};
|
|
1126
|
+
error?: undefined;
|
|
1127
|
+
details?: undefined;
|
|
1128
|
+
};
|
|
1129
|
+
422: {
|
|
1130
|
+
type: "validation";
|
|
1131
|
+
on: string;
|
|
1132
|
+
summary?: string;
|
|
1133
|
+
message?: string;
|
|
1134
|
+
found?: unknown;
|
|
1135
|
+
property?: string;
|
|
1136
|
+
expected?: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1093
1143
|
} & {
|
|
1094
1144
|
api: {
|
|
1095
1145
|
sync: {
|
package/dist/server.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkNYZMAY73cjs = require('./chunk-NYZMAY73.cjs');
|
|
4
|
+
require('./chunk-JYQB2DOK.cjs');
|
|
5
5
|
require('./chunk-LA5OP5VI.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.createServer =
|
|
8
|
+
exports.createServer = _chunkNYZMAY73cjs.createServer;
|
|
9
9
|
//# sourceMappingURL=server.cjs.map
|
package/dist/server.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/
|
|
1
|
+
{"version":3,"sources":["/private/tmp/openclaw-memory-publish/dist/server.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,sDAAC","file":"/private/tmp/openclaw-memory-publish/dist/server.cjs"}
|
package/dist/server.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'elysia';
|
|
2
|
-
export { y as createServer } from './server-
|
|
2
|
+
export { y as createServer } from './server-CtNlCow7.cjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'elysia';
|
|
2
|
-
export { y as createServer } from './server-
|
|
2
|
+
export { y as createServer } from './server-CtNlCow7.js';
|
package/dist/server.js
CHANGED