@ponraaj/dimple-sdk 0.0.0-alpha.8 → 0.0.0-alpha.9
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 +5 -5
- package/dist/dimple.d.ts +4 -0
- package/dist/index.js +1155 -754
- package/dist/internal/store/db-backend.d.ts +21 -2
- package/dist/internal/store/service.d.ts +28 -1
- package/dist/internal/store/topics/routing.d.ts +33 -0
- package/dist/internal/workflow/signals.d.ts +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ CPU, SQLite files on disk.
|
|
|
11
11
|
> **Package**: [npmx.dev/package/@ponraaj/dimple](https://npmx.dev/package/@ponraaj/dimple) ·
|
|
12
12
|
> **Status**: alpha (`0.0.0-alpha.n`) — the API is stabilizing.
|
|
13
13
|
|
|
14
|
-
This is the programmatic SDK. The [`@ponraaj/dimple`](https://
|
|
14
|
+
This is the programmatic SDK. The [`@ponraaj/dimple`](https://npmx.dev/package/@ponraaj/dimple)
|
|
15
15
|
CLI is a thin facade over it.
|
|
16
16
|
|
|
17
17
|
## Install
|
|
@@ -77,20 +77,20 @@ Errors are a closed hierarchy (`InputError`, `NotFound`, `DuplicateKey`,
|
|
|
77
77
|
except `embedding`. `dimple init` (CLI) writes the full annotated schema;
|
|
78
78
|
`${ENV_VAR}` placeholders keep tokens out of files. The complete reference
|
|
79
79
|
(store / jobs / embeddings / topics / graph / llm / logging / Turso) is on
|
|
80
|
-
the docs site: [Configuration reference](https://dimple.ponraaj.me/reference/config).
|
|
80
|
+
the docs site: [Configuration reference](https://dimple.ponraaj.me/reference/config/).
|
|
81
81
|
|
|
82
82
|
## MCP server
|
|
83
83
|
|
|
84
84
|
`dimple mcp` (from the CLI package) exposes dimple to any MCP client over
|
|
85
85
|
the 2026-07-28 protocol — API discovery plus sandboxed code execution with
|
|
86
86
|
the whole API as a `dimple` namespace. Guide:
|
|
87
|
-
[MCP server & code mode](https://dimple.ponraaj.me/guides/mcp).
|
|
87
|
+
[MCP server & code mode](https://dimple.ponraaj.me/guides/mcp/).
|
|
88
88
|
|
|
89
89
|
## Agent integration patterns
|
|
90
90
|
|
|
91
91
|
Session-start injection, the supersedes recipe, and namespaces as the
|
|
92
|
-
code/message partition are covered
|
|
93
|
-
|
|
92
|
+
code/message partition are covered in the Architecture section of the
|
|
93
|
+
docs site.
|
|
94
94
|
|
|
95
95
|
## Changelog
|
|
96
96
|
|
package/dist/dimple.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export interface QueryOptions {
|
|
|
22
22
|
* or `["text/plain", "text/markdown"]`) — the code-vs-message
|
|
23
23
|
* separation lever at query time. */
|
|
24
24
|
readonly contentType?: string | readonly string[];
|
|
25
|
+
/** Include the 384-float embedding on result memories (default false —
|
|
26
|
+
* search results never need vectors; the opt-in exists for callers that
|
|
27
|
+
* do post-processing with them). */
|
|
28
|
+
readonly includeEmbedding?: boolean;
|
|
25
29
|
/** Retrieval context budget (LLM-facing guardrail): `maxUnits` caps the
|
|
26
30
|
* row count, `maxChars` truncates result content to fit the total char
|
|
27
31
|
* budget, `maxMs` marks the result truncated when the query exceeds it.
|