@deepseek-ai/dsh-tool-cordis 0.1.2-alpha.4 → 0.1.2-alpha.5
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/lib/index.js +4 -4
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -3516,7 +3516,7 @@ const SERVICE_API = [
|
|
|
3516
3516
|
methods: [
|
|
3517
3517
|
{
|
|
3518
3518
|
signature: "async open<S extends DomainSpec>(spec: S): Promise<Domain<S>>",
|
|
3519
|
-
description: "Open one declared domain. Steps, each failing the whole call: reject a name that is already open (`already-open`); resolve the backend route (`backend-not-found` passes through from the hub); require its `kv` facet (`facet-unsupported`); open the unit projected from the spec (backend `version-mismatch`/`malformed-medium` pass through); load and validate every stored record against the spec's zod schemas (`invalid-record` with the offending table and key); construct the domain.\n\nLifecycle: the CALLER owns the returned handle and closes it via `Domain.close()` (typically as its own `ctx.effect` disposer) — the facility does not tie the domain to any consumer fiber. Domains still open when the facility unmounts are closed by the plugin disposer.",
|
|
3519
|
+
description: "Open one declared domain. Steps, each failing the whole call: reject a name that is already open (`already-open`); resolve the backend route (`backend-not-found` passes through from the hub); require its `kv` facet (`facet-unsupported`); open the unit projected from the spec (backend `version-mismatch`/`malformed-medium` pass through); load and validate every stored record against the spec's zod schemas (`invalid-record` with the offending table and key — unless the spec declares `invalidRecords: 'backup-and-skip'` and the unit can move documents aside, in which case the failing record is backed up, logged, and skipped); construct the domain.\n\nLifecycle: the CALLER owns the returned handle and closes it via `Domain.close()` (typically as its own `ctx.effect` disposer) — the facility does not tie the domain to any consumer fiber. Domains still open when the facility unmounts are closed by the plugin disposer.",
|
|
3520
3520
|
parameters: [{
|
|
3521
3521
|
name: "spec",
|
|
3522
3522
|
description: "The domain declaration, typically from `defineDomain`."
|
|
@@ -5946,7 +5946,7 @@ const TYPE_API = [
|
|
|
5946
5946
|
},
|
|
5947
5947
|
{
|
|
5948
5948
|
name: "DomainSpec",
|
|
5949
|
-
declaration: "export interface DomainSpec {\n readonly name: string;\n readonly version: number;\n readonly layout?: 'single' | 'per-record';\n readonly global?: DomainGlobalSpec<unknown>;\n readonly tables: Record<string, DomainTableSpec>;\n}"
|
|
5949
|
+
declaration: "export interface DomainSpec {\n readonly name: string;\n readonly version: number;\n readonly layout?: 'single' | 'per-record';\n readonly compatibleVersions?: readonly number[];\n readonly invalidRecords?: 'backup-and-skip';\n readonly global?: DomainGlobalSpec<unknown>;\n readonly tables: Record<string, DomainTableSpec>;\n}"
|
|
5950
5950
|
},
|
|
5951
5951
|
{
|
|
5952
5952
|
name: "DomainTableSpec",
|
|
@@ -6254,11 +6254,11 @@ const TYPE_API = [
|
|
|
6254
6254
|
},
|
|
6255
6255
|
{
|
|
6256
6256
|
name: "KvUnit",
|
|
6257
|
-
declaration: "export interface KvUnit {\n loadAll(): Promise<{\n tables: Record<string, Record<string, unknown>>;\n global: unknown;\n }>;\n putRecord(table: string, key: string, value: unknown): Promise<void>;\n deleteRecord(table: string, key: string): Promise<void>;\n setGlobal(value: unknown): Promise<void>;\n close(): Promise<void>;\n}"
|
|
6257
|
+
declaration: "export interface KvUnit {\n loadAll(): Promise<{\n tables: Record<string, Record<string, unknown>>;\n global: unknown;\n }>;\n putRecord(table: string, key: string, value: unknown): Promise<void>;\n deleteRecord(table: string, key: string): Promise<void>;\n backupRecord?(table: string, key: string): Promise<string>;\n setGlobal(value: unknown): Promise<void>;\n close(): Promise<void>;\n}"
|
|
6258
6258
|
},
|
|
6259
6259
|
{
|
|
6260
6260
|
name: "KvUnitDescriptor",
|
|
6261
|
-
declaration: "export interface KvUnitDescriptor {\n readonly name: string;\n readonly version: number;\n readonly tables: readonly string[];\n readonly hasGlobal: boolean;\n readonly layout?: 'single' | 'per-record';\n}"
|
|
6261
|
+
declaration: "export interface KvUnitDescriptor {\n readonly name: string;\n readonly version: number;\n readonly tables: readonly string[];\n readonly hasGlobal: boolean;\n readonly layout?: 'single' | 'per-record';\n readonly compatibleVersions?: readonly number[];\n}"
|
|
6262
6262
|
},
|
|
6263
6263
|
{
|
|
6264
6264
|
name: "LlmAdapter",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-cordis",
|
|
3
3
|
"description": "Self-referential cordis toolset: inspect the live runtime, mount and dispose model-written plugins",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.
|
|
33
|
-
"@deepseek-ai/dsh-scope": "^0.1.2-alpha.
|
|
34
|
-
"@deepseek-ai/dsh-session": "^0.1.2-alpha.
|
|
35
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.
|
|
36
|
-
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.
|
|
30
|
+
"@deepseek-ai/dsh-cordis-host-runner": "^0.1.2-alpha.5",
|
|
31
|
+
"@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
|
|
32
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
|
|
33
|
+
"@deepseek-ai/dsh-scope": "^0.1.2-alpha.5",
|
|
34
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.5",
|
|
35
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
|
|
36
|
+
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.5",
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
41
|
-
"@deepseek-ai/dsh-
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.
|
|
41
|
+
"@deepseek-ai/dsh-cordis-host-runner": "^0.1.2-alpha.5",
|
|
42
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
|
|
43
|
+
"@deepseek-ai/dsh-scope": "^0.1.2-alpha.5",
|
|
44
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.5",
|
|
45
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
|
|
46
|
+
"@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
|
|
47
|
+
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.5",
|
|
48
48
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
49
49
|
}
|
|
50
50
|
}
|