@adhdev/daemon-core 0.9.82-rc.144 → 0.9.82-rc.146
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/index.js +80 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +80 -45
- package/dist/index.mjs.map +1 -1
- package/dist/providers/contracts.d.ts +23 -5
- package/dist/providers/sdk/v1/builders/cli/parse-session.d.ts +9 -0
- package/dist/providers/sdk/v1/index.d.ts +1 -1
- package/dist/providers/sdk/v1/types/cli/index.d.ts +11 -2
- package/package.json +1 -1
- package/src/commands/chat-commands.ts +13 -13
- package/src/commands/router.ts +1 -1
- package/src/providers/cli-provider-instance.ts +3 -3
- package/src/providers/contracts.ts +25 -5
- package/src/providers/provider-loader.ts +14 -9
- package/src/providers/provider-schema.ts +21 -18
- package/src/providers/sdk/v1/builders/cli/parse-session.ts +30 -1
- package/src/providers/sdk/v1/index.ts +1 -0
- package/src/providers/sdk/v1/schemas/cli/provider.schema.json +23 -7
- package/src/providers/sdk/v1/schemas/primitives/tui-session-id-extraction-v1.json +46 -0
- package/src/providers/sdk/v1/types/cli/index.ts +13 -3
|
@@ -258,9 +258,11 @@ export type CliListNativeHistoryFn = () => {
|
|
|
258
258
|
sessions: CliListNativeHistoryEntry[];
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
// ───
|
|
261
|
+
// ─── Native history config ─────────────────────────────────────────────
|
|
262
262
|
|
|
263
|
-
export interface
|
|
263
|
+
export interface CliNativeHistoryDef {
|
|
264
|
+
/** Built-in adapter $schema (e.g. "adhdev:native-history/claude-jsonl@1"). */
|
|
265
|
+
$schema?: string;
|
|
264
266
|
format: string;
|
|
265
267
|
watchPath: string;
|
|
266
268
|
mode: 'native-source' | 'daemon-mirror';
|
|
@@ -271,6 +273,12 @@ export interface CliCanonicalHistoryDef {
|
|
|
271
273
|
};
|
|
272
274
|
}
|
|
273
275
|
|
|
276
|
+
/**
|
|
277
|
+
* @deprecated Use {@link CliNativeHistoryDef}. Retained as an alias for one
|
|
278
|
+
* release so SDK consumers that referenced the v0 name keep compiling.
|
|
279
|
+
*/
|
|
280
|
+
export type CliCanonicalHistoryDef = CliNativeHistoryDef;
|
|
281
|
+
|
|
274
282
|
// ─── Patterns (legacy fallback detector hints) ─────────────────────────
|
|
275
283
|
|
|
276
284
|
export interface CliPatternEntry {
|
|
@@ -344,7 +352,9 @@ export interface CliProviderManifest {
|
|
|
344
352
|
/** Mesh coordinator setup */
|
|
345
353
|
meshCoordinator?: MeshCoordinatorDef;
|
|
346
354
|
|
|
347
|
-
/** Native history */
|
|
355
|
+
/** Native history (v1 canonical field name) */
|
|
356
|
+
nativeHistory?: CliNativeHistoryDef;
|
|
357
|
+
/** @deprecated v0 alias for `nativeHistory`. */
|
|
348
358
|
canonicalHistory?: CliCanonicalHistoryDef;
|
|
349
359
|
|
|
350
360
|
/** Settings (UI toggles persisted to ~/.adhdev/config.json) */
|