@hasna/domains 0.0.46 → 0.0.47
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 +1 -1
- package/dist/cli/index.js +413 -158
- package/dist/db/database.d.ts +5 -3
- package/dist/db/database.d.ts.map +1 -1
- package/dist/index.js +340 -104
- package/dist/lib/app-home.d.ts +60 -0
- package/dist/lib/app-home.d.ts.map +1 -0
- package/dist/lib/config.d.ts +4 -3
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/mcp/index.js +360 -124
- package/dist/sdk/index.js +93 -15
- package/dist/server/migrations.d.ts +35 -0
- package/dist/server/migrations.d.ts.map +1 -1
- package/package.json +5 -3
- package/postinstall.js +42 -0
package/dist/db/database.d.ts
CHANGED
|
@@ -21,9 +21,11 @@ export interface LegacyDataDirMigrationReport {
|
|
|
21
21
|
*/
|
|
22
22
|
export declare function migrateLegacyDataDir(env?: NodeJS.ProcessEnv, dryRun?: boolean): LegacyDataDirMigrationReport;
|
|
23
23
|
/**
|
|
24
|
-
* The default data root
|
|
25
|
-
* (
|
|
26
|
-
*
|
|
24
|
+
* The default data root — the effective domains home, resolved through
|
|
25
|
+
* `@hasna/paths` (legacy `~/.hasna/domains` until the XDG data home is
|
|
26
|
+
* adopted). Env overrides (DOMAINS_DB_PATH / HASNA_DOMAINS_DB_PATH) and the
|
|
27
|
+
* exact-app overrides (HASNA_DOMAINS_HOME / DOMAINS_HOME / HASNA_DOMAINS_DIR /
|
|
28
|
+
* DOMAINS_DIR) are honored unchanged and win over the default.
|
|
27
29
|
*/
|
|
28
30
|
export declare function getDbPath(env?: NodeJS.ProcessEnv): string;
|
|
29
31
|
export declare function getDatabase(): Database;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/db/database.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/db/database.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAgCtC,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,UAAQ,GACb,4BAA4B,CAsD9B;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAkBtE;AAaD,wBAAgB,WAAW,IAAI,QAAQ,CA8CtC;AAED,wBAAgB,aAAa,IAAI,IAAI,CAKpC"}
|