@eloxiv/cli 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +12 -2
- package/dist/AgentSkills.d.ts +51 -0
- package/dist/AgentSkills.d.ts.map +1 -0
- package/dist/AgentSkills.js +264 -0
- package/dist/AgentSkills.js.map +1 -0
- package/dist/AgentWeb.d.ts +83 -0
- package/dist/AgentWeb.d.ts.map +1 -0
- package/dist/AgentWeb.js +436 -0
- package/dist/AgentWeb.js.map +1 -0
- package/dist/App.d.ts +213 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/App.js +357 -0
- package/dist/App.js.map +1 -0
- package/dist/Blueprint.d.ts +47 -0
- package/dist/Blueprint.d.ts.map +1 -0
- package/dist/Blueprint.js +241 -0
- package/dist/Blueprint.js.map +1 -0
- package/dist/Brand.d.ts +42 -0
- package/dist/Brand.d.ts.map +1 -0
- package/dist/Brand.js +370 -0
- package/dist/Brand.js.map +1 -0
- package/dist/Changelog.d.ts +22 -0
- package/dist/Changelog.d.ts.map +1 -0
- package/dist/Changelog.js +117 -0
- package/dist/Changelog.js.map +1 -0
- package/dist/Cli.d.ts +17 -0
- package/dist/Cli.d.ts.map +1 -0
- package/dist/Cli.js +810 -0
- package/dist/Cli.js.map +1 -0
- package/dist/DbAdmin.d.ts +18 -0
- package/dist/DbAdmin.d.ts.map +1 -0
- package/dist/DbAdmin.js +91 -0
- package/dist/DbAdmin.js.map +1 -0
- package/dist/Dependencies.d.ts +53 -0
- package/dist/Dependencies.d.ts.map +1 -0
- package/dist/Dependencies.js +132 -0
- package/dist/Dependencies.js.map +1 -0
- package/dist/Deploy.d.ts +39 -0
- package/dist/Deploy.d.ts.map +1 -0
- package/dist/Deploy.js +458 -0
- package/dist/Deploy.js.map +1 -0
- package/dist/Docs.d.ts +71 -0
- package/dist/Docs.d.ts.map +1 -0
- package/dist/Docs.js +240 -0
- package/dist/Docs.js.map +1 -0
- package/dist/Doctor.d.ts +56 -0
- package/dist/Doctor.d.ts.map +1 -0
- package/dist/Doctor.js +368 -0
- package/dist/Doctor.js.map +1 -0
- package/dist/Dossier.d.ts +23 -0
- package/dist/Dossier.d.ts.map +1 -0
- package/dist/Dossier.js +92 -0
- package/dist/Dossier.js.map +1 -0
- package/dist/Emit.d.ts +26 -0
- package/dist/Emit.d.ts.map +1 -0
- package/dist/Emit.js +51 -0
- package/dist/Emit.js.map +1 -0
- package/dist/Errors.d.ts +26 -0
- package/dist/Errors.d.ts.map +1 -0
- package/dist/Errors.js +17 -0
- package/dist/Errors.js.map +1 -0
- package/dist/Evals.d.ts +52 -0
- package/dist/Evals.d.ts.map +1 -0
- package/dist/Evals.js +126 -0
- package/dist/Evals.js.map +1 -0
- package/dist/Files.d.ts +47 -0
- package/dist/Files.d.ts.map +1 -0
- package/dist/Files.js +145 -0
- package/dist/Files.js.map +1 -0
- package/dist/Generate.d.ts +80 -0
- package/dist/Generate.d.ts.map +1 -0
- package/dist/Generate.js +310 -0
- package/dist/Generate.js.map +1 -0
- package/dist/Guards.d.ts +45 -0
- package/dist/Guards.d.ts.map +1 -0
- package/dist/Guards.js +530 -0
- package/dist/Guards.js.map +1 -0
- package/dist/Inspect.d.ts +125 -0
- package/dist/Inspect.d.ts.map +1 -0
- package/dist/Inspect.js +270 -0
- package/dist/Inspect.js.map +1 -0
- package/dist/Keychain.d.ts +57 -0
- package/dist/Keychain.d.ts.map +1 -0
- package/dist/Keychain.js +73 -0
- package/dist/Keychain.js.map +1 -0
- package/dist/Lock.d.ts +13 -0
- package/dist/Lock.d.ts.map +1 -0
- package/dist/Lock.js +145 -0
- package/dist/Lock.js.map +1 -0
- package/dist/Mcp.d.ts +91 -0
- package/dist/Mcp.d.ts.map +1 -0
- package/dist/Mcp.js +128 -0
- package/dist/Mcp.js.map +1 -0
- package/dist/Merge.d.ts +18 -0
- package/dist/Merge.d.ts.map +1 -0
- package/dist/Merge.js +43 -0
- package/dist/Merge.js.map +1 -0
- package/dist/Migrate.d.ts +78 -0
- package/dist/Migrate.d.ts.map +1 -0
- package/dist/Migrate.js +288 -0
- package/dist/Migrate.js.map +1 -0
- package/dist/Plugins.d.ts +36 -0
- package/dist/Plugins.d.ts.map +1 -0
- package/dist/Plugins.js +304 -0
- package/dist/Plugins.js.map +1 -0
- package/dist/Postgres.d.ts +73 -0
- package/dist/Postgres.d.ts.map +1 -0
- package/dist/Postgres.js +294 -0
- package/dist/Postgres.js.map +1 -0
- package/dist/Publish.d.ts +23 -0
- package/dist/Publish.d.ts.map +1 -0
- package/dist/Publish.js +59 -0
- package/dist/Publish.js.map +1 -0
- package/dist/Registry.d.ts +539 -0
- package/dist/Registry.d.ts.map +1 -0
- package/dist/Registry.js +340 -0
- package/dist/Registry.js.map +1 -0
- package/dist/Remote.d.ts +90 -0
- package/dist/Remote.d.ts.map +1 -0
- package/dist/Remote.js +1006 -0
- package/dist/Remote.js.map +1 -0
- package/dist/Run.d.ts +120 -0
- package/dist/Run.d.ts.map +1 -0
- package/dist/Run.js +477 -0
- package/dist/Run.js.map +1 -0
- package/dist/SyncGen.d.ts +118 -0
- package/dist/SyncGen.d.ts.map +1 -0
- package/dist/SyncGen.js +392 -0
- package/dist/SyncGen.js.map +1 -0
- package/dist/Update.d.ts +301 -0
- package/dist/Update.d.ts.map +1 -0
- package/dist/Update.js +627 -0
- package/dist/Update.js.map +1 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +42 -0
- package/dist/bin.js.map +1 -0
- package/dist/docs/backlog.md +56 -0
- package/dist/docs/ci.md +277 -0
- package/dist/docs/cli.md +696 -0
- package/dist/docs/connectors/google.md +115 -0
- package/dist/docs/connectors/http-openapi.md +7 -0
- package/dist/docs/connectors/mcp.md +8 -0
- package/dist/docs/connectors/microsoft-graph.md +75 -0
- package/dist/docs/connectors/openai.md +25 -0
- package/dist/docs/connectors/slack.md +162 -0
- package/dist/docs/connectors/workos.md +39 -0
- package/dist/docs/contracts/README.md +173 -0
- package/dist/docs/contracts/action-consent.md +92 -0
- package/dist/docs/contracts/action-registry.md +85 -0
- package/dist/docs/contracts/actor.md +100 -0
- package/dist/docs/contracts/agent-resources.md +90 -0
- package/dist/docs/contracts/agent-runtime.md +257 -0
- package/dist/docs/contracts/approvals.md +126 -0
- package/dist/docs/contracts/audit.md +75 -0
- package/dist/docs/contracts/auth-provider.md +74 -0
- package/dist/docs/contracts/calendar-provider.md +46 -0
- package/dist/docs/contracts/client-sdk.md +245 -0
- package/dist/docs/contracts/collab-document.md +151 -0
- package/dist/docs/contracts/command.md +44 -0
- package/dist/docs/contracts/connections.md +235 -0
- package/dist/docs/contracts/context-accounting.md +50 -0
- package/dist/docs/contracts/daemon.md +243 -0
- package/dist/docs/contracts/db-tx.md +53 -0
- package/dist/docs/contracts/delegation.md +68 -0
- package/dist/docs/contracts/device-control.md +103 -0
- package/dist/docs/contracts/directory-provider.md +36 -0
- package/dist/docs/contracts/directory.md +161 -0
- package/dist/docs/contracts/document-source.md +33 -0
- package/dist/docs/contracts/files.md +115 -0
- package/dist/docs/contracts/flags.md +83 -0
- package/dist/docs/contracts/host.md +68 -0
- package/dist/docs/contracts/http-api.md +43 -0
- package/dist/docs/contracts/ingestion.md +130 -0
- package/dist/docs/contracts/ingress.md +141 -0
- package/dist/docs/contracts/invocation.md +260 -0
- package/dist/docs/contracts/local-client.md +108 -0
- package/dist/docs/contracts/locale.md +56 -0
- package/dist/docs/contracts/machine-identity.md +117 -0
- package/dist/docs/contracts/mail-provider.md +49 -0
- package/dist/docs/contracts/memory.md +53 -0
- package/dist/docs/contracts/messaging.md +40 -0
- package/dist/docs/contracts/metering.md +139 -0
- package/dist/docs/contracts/model-provider.md +84 -0
- package/dist/docs/contracts/module-manifest.md +213 -0
- package/dist/docs/contracts/notification-channel.md +90 -0
- package/dist/docs/contracts/notifications.md +123 -0
- package/dist/docs/contracts/outbox.md +80 -0
- package/dist/docs/contracts/privacy.md +110 -0
- package/dist/docs/contracts/progress.md +52 -0
- package/dist/docs/contracts/query-surface.md +108 -0
- package/dist/docs/contracts/readiness.md +63 -0
- package/dist/docs/contracts/release.md +142 -0
- package/dist/docs/contracts/result-rendering.md +61 -0
- package/dist/docs/contracts/sandbox.md +186 -0
- package/dist/docs/contracts/scheduler.md +148 -0
- package/dist/docs/contracts/screen-context.md +81 -0
- package/dist/docs/contracts/search.md +120 -0
- package/dist/docs/contracts/secrets.md +74 -0
- package/dist/docs/contracts/settings.md +109 -0
- package/dist/docs/contracts/sharing.md +77 -0
- package/dist/docs/contracts/slot.md +48 -0
- package/dist/docs/contracts/space.md +67 -0
- package/dist/docs/contracts/storage-adapter.md +45 -0
- package/dist/docs/contracts/storage-backend.md +56 -0
- package/dist/docs/contracts/sync.md +213 -0
- package/dist/docs/contracts/telemetry.md +80 -0
- package/dist/docs/contracts/theme-tokens.md +50 -0
- package/dist/docs/contracts/tool-source.md +58 -0
- package/dist/docs/contracts/versioning.md +99 -0
- package/dist/docs/contracts/view.md +65 -0
- package/dist/docs/contracts/work-items.md +99 -0
- package/dist/docs/contracts/workflow.md +82 -0
- package/dist/docs/decisions.md +163 -0
- package/dist/docs/example-app.md +192 -0
- package/dist/docs/getting-started.md +927 -0
- package/dist/docs/goal.md +54 -0
- package/dist/docs/parity.md +29 -0
- package/dist/docs/performance.md +129 -0
- package/dist/docs/registry/README.md +74 -0
- package/dist/docs/registry/app.md +38 -0
- package/dist/docs/registry/approvals-ui-foldkit.md +28 -0
- package/dist/docs/registry/calendar-ui-foldkit.md +27 -0
- package/dist/docs/registry/calendar.md +35 -0
- package/dist/docs/registry/chat-ui-foldkit.md +30 -0
- package/dist/docs/registry/desktop-rune.md +49 -0
- package/dist/docs/registry/desktop.md +32 -0
- package/dist/docs/registry/eloxiv-action.md +25 -0
- package/dist/docs/registry/eloxiv-connector.md +25 -0
- package/dist/docs/registry/eloxiv-module.md +25 -0
- package/dist/docs/registry/eloxiv-policy.md +25 -0
- package/dist/docs/registry/eloxiv-view.md +25 -0
- package/dist/docs/registry/hello-ui-foldkit.md +29 -0
- package/dist/docs/registry/hello.md +39 -0
- package/dist/docs/registry/home-ui-foldkit.md +27 -0
- package/dist/docs/registry/home.md +29 -0
- package/dist/docs/registry/inbox-ui-foldkit.md +27 -0
- package/dist/docs/registry/mail-ui-foldkit.md +27 -0
- package/dist/docs/registry/mail.md +34 -0
- package/dist/docs/registry/meeting-prep.md +26 -0
- package/dist/docs/registry/members-ui-foldkit.md +28 -0
- package/dist/docs/registry/mobile.md +37 -0
- package/dist/docs/registry/notes-ui-foldkit.md +27 -0
- package/dist/docs/registry/notes.md +26 -0
- package/dist/docs/registry/people-ui-foldkit.md +28 -0
- package/dist/docs/registry/people.md +38 -0
- package/dist/docs/registry/shell-foldkit.md +34 -0
- package/dist/docs/registry/theme.md +25 -0
- package/dist/docs/registry/ui-conformance.md +30 -0
- package/dist/docs/release.md +100 -0
- package/dist/docs/scaffold.md +826 -0
- package/dist/docs/security/threat-model.md +299 -0
- package/dist/docs/upstream/zero-cache-socket-handoff.md +105 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/package.json +48 -3
- package/src/AgentSkills.ts +329 -0
- package/src/AgentWeb.ts +507 -0
- package/src/App.ts +435 -0
- package/src/Blueprint.ts +276 -0
- package/src/Brand.ts +415 -0
- package/src/Changelog.ts +136 -0
- package/src/Cli.ts +1458 -0
- package/src/DbAdmin.ts +115 -0
- package/src/Dependencies.ts +170 -0
- package/src/Deploy.ts +563 -0
- package/src/Docs.ts +309 -0
- package/src/Doctor.ts +424 -0
- package/src/Dossier.ts +148 -0
- package/src/Emit.ts +68 -0
- package/src/Errors.ts +18 -0
- package/src/Evals.ts +153 -0
- package/src/Files.ts +152 -0
- package/src/Generate.ts +402 -0
- package/src/Guards.ts +541 -0
- package/src/Inspect.ts +358 -0
- package/src/Keychain.ts +107 -0
- package/src/Lock.ts +174 -0
- package/src/Mcp.ts +159 -0
- package/src/Merge.ts +70 -0
- package/src/Migrate.ts +331 -0
- package/src/Plugins.ts +347 -0
- package/src/Postgres.ts +353 -0
- package/src/Publish.ts +64 -0
- package/src/Registry.ts +405 -0
- package/src/Remote.ts +1158 -0
- package/src/Run.ts +541 -0
- package/src/SyncGen.ts +570 -0
- package/src/Update.ts +873 -0
- package/src/bin.ts +46 -0
- package/src/index.ts +7 -0
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reading registry items in the shadcn registry-item format, from a directory
|
|
3
|
+
* (`.../public/r`) or an HTTP(S) base URL, plus the content hash that is
|
|
4
|
+
* recorded as provenance.
|
|
5
|
+
*
|
|
6
|
+
* Layout of a published registry (see `Publish.ts`):
|
|
7
|
+
* <name>.json the latest version of each item (what `eloxiv add` installs)
|
|
8
|
+
* <name>/<version>.json every version ever published, immutable (the base `eloxiv update` merges from)
|
|
9
|
+
*
|
|
10
|
+
* For `https` registries (a private GitHub repository, for example), `ELOXIV_REGISTRY_TOKEN` is sent as
|
|
11
|
+
* `Authorization: Bearer <token>`. It is sent over https, or over plain http to a loopback host only, and
|
|
12
|
+
* dropped when a redirect leaves the registry's origin.
|
|
13
|
+
*
|
|
14
|
+
* A registry may also be a package (`npm:@eloxiv/registry`): its `r/` directory, as the running CLI resolves the
|
|
15
|
+
* package (`resolveRegistryLocation`). The CLI installed from npm depends on `@eloxiv/registry` and records this in a
|
|
16
|
+
* new app's `eloxiv.json`, so the app adds, diffs and updates items with no network access, and the location stays
|
|
17
|
+
* the same on every machine and after the CLI's package cache is cleared.
|
|
18
|
+
*/
|
|
19
|
+
import { Effect, FileSystem, Path, Schema } from "effect";
|
|
20
|
+
export declare const RegistryFile: Schema.Struct<{
|
|
21
|
+
readonly path: Schema.String;
|
|
22
|
+
readonly type: Schema.String;
|
|
23
|
+
readonly target: Schema.optional<Schema.String>;
|
|
24
|
+
readonly content: Schema.String;
|
|
25
|
+
}>;
|
|
26
|
+
export type RegistryFile = typeof RegistryFile.Type;
|
|
27
|
+
/**
|
|
28
|
+
* What an item is. Every kind is installed, diffed and updated the same way; only `module` is composed. A `space`
|
|
29
|
+
* is a set of kernel-provided modules an app asks for without a screen (`home`: the home space, headless).
|
|
30
|
+
*/
|
|
31
|
+
export declare const ItemKind: Schema.Literals<readonly ["app", "module", "ui", "shell", "desktop", "mobile", "connector", "skill", "theme", "space"]>;
|
|
32
|
+
export type ItemKind = typeof ItemKind.Type;
|
|
33
|
+
/** The kernel-provided modules a registry module or UI item can ask the composition for. */
|
|
34
|
+
export declare const KernelModuleName: Schema.Literals<readonly ["inbox", "sharing", "connections", "search", "agent", "spaces", "devices"]>;
|
|
35
|
+
export type KernelModuleName = typeof KernelModuleName.Type;
|
|
36
|
+
export declare const EloxivMeta: Schema.Struct<{
|
|
37
|
+
readonly kind: Schema.Literals<readonly ["app", "module", "ui", "shell", "desktop", "mobile", "connector", "skill", "theme", "space"]>;
|
|
38
|
+
readonly version: Schema.String;
|
|
39
|
+
readonly module: Schema.optional<Schema.String>;
|
|
40
|
+
readonly contract: Schema.optional<Schema.Struct<{
|
|
41
|
+
readonly file: Schema.String;
|
|
42
|
+
readonly export: Schema.String;
|
|
43
|
+
}>>;
|
|
44
|
+
readonly server: Schema.optional<Schema.Struct<{
|
|
45
|
+
readonly file: Schema.String;
|
|
46
|
+
readonly export: Schema.String;
|
|
47
|
+
}>>;
|
|
48
|
+
/**
|
|
49
|
+
* Modules: `file` holds the named queries; `tables` (default `sync.gen.ts` beside it) the Zero tables
|
|
50
|
+
* `eloxiv generate` writes from the module's Drizzle tables and entities.
|
|
51
|
+
*/
|
|
52
|
+
readonly sync: Schema.optional<Schema.Struct<{
|
|
53
|
+
readonly file: Schema.String;
|
|
54
|
+
readonly tables: Schema.optional<Schema.String>;
|
|
55
|
+
/** The module's generated mutators (`mutators.gen.ts`) when it has its own predictions: clients alone import it. */
|
|
56
|
+
readonly mutators: Schema.optional<Schema.String>;
|
|
57
|
+
}>>;
|
|
58
|
+
/**
|
|
59
|
+
* Modules, UI items and spaces: the kernel-provided modules it needs installed beside it (`inbox`: work items,
|
|
60
|
+
* notifications, approvals and consent; `sharing`; `connections`; `search`: Search and Ingestion; `agent`: the
|
|
61
|
+
* agent, with the inbox its consent needs; `spaces`: Spaces; `devices`: paired devices and runners, with the inbox
|
|
62
|
+
* its consent-marked `devices.sendTurn` needs). The composition installs each once and adds its
|
|
63
|
+
* synced tables and named queries to the app's sync schema.
|
|
64
|
+
*/
|
|
65
|
+
readonly kernelModules: Schema.optional<Schema.$Array<Schema.Literals<readonly ["inbox", "sharing", "connections", "search", "agent", "spaces", "devices"]>>>;
|
|
66
|
+
/** Connectors: the capability contracts the connector implements (`MailProvider`, ...). */
|
|
67
|
+
readonly provides: Schema.optional<Schema.$Array<Schema.String>>;
|
|
68
|
+
/** Skills: the skill's name as agents see it. */
|
|
69
|
+
readonly skill: Schema.optional<Schema.String>;
|
|
70
|
+
/**
|
|
71
|
+
* pnpm patches the app needs applied to its dependencies: `name@version` to the patch file (one of the item's
|
|
72
|
+
* files, by target), merged into the app's `pnpm.patchedDependencies` (`Dependencies.ts`).
|
|
73
|
+
*/
|
|
74
|
+
readonly patchedDependencies: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
75
|
+
readonly next: Schema.optional<Schema.$Array<Schema.String>>;
|
|
76
|
+
/**
|
|
77
|
+
* What versions of the item moved (modules, exports, stylesheets), applied to the app's own files by `eloxiv update`
|
|
78
|
+
* and `eloxiv migrate` (Migrate.ts).
|
|
79
|
+
*/
|
|
80
|
+
readonly migrations: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
81
|
+
readonly since: Schema.String;
|
|
82
|
+
readonly moves: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
83
|
+
readonly from: Schema.String;
|
|
84
|
+
readonly symbol: Schema.optional<Schema.String>;
|
|
85
|
+
readonly to: Schema.String;
|
|
86
|
+
readonly as: Schema.optional<Schema.String>;
|
|
87
|
+
}>>>;
|
|
88
|
+
readonly note: Schema.optional<Schema.String>;
|
|
89
|
+
}>>>;
|
|
90
|
+
}>;
|
|
91
|
+
export type EloxivMeta = typeof EloxivMeta.Type;
|
|
92
|
+
export declare const RegistryItem: Schema.Struct<{
|
|
93
|
+
readonly name: Schema.String;
|
|
94
|
+
readonly type: Schema.String;
|
|
95
|
+
readonly description: Schema.optional<Schema.String>;
|
|
96
|
+
readonly registryDependencies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
97
|
+
readonly dependencies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
98
|
+
readonly devDependencies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
99
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
100
|
+
readonly path: Schema.String;
|
|
101
|
+
readonly type: Schema.String;
|
|
102
|
+
readonly target: Schema.optional<Schema.String>;
|
|
103
|
+
readonly content: Schema.String;
|
|
104
|
+
}>>;
|
|
105
|
+
readonly meta: Schema.Struct<{
|
|
106
|
+
readonly eloxiv: Schema.Struct<{
|
|
107
|
+
readonly kind: Schema.Literals<readonly ["app", "module", "ui", "shell", "desktop", "mobile", "connector", "skill", "theme", "space"]>;
|
|
108
|
+
readonly version: Schema.String;
|
|
109
|
+
readonly module: Schema.optional<Schema.String>;
|
|
110
|
+
readonly contract: Schema.optional<Schema.Struct<{
|
|
111
|
+
readonly file: Schema.String;
|
|
112
|
+
readonly export: Schema.String;
|
|
113
|
+
}>>;
|
|
114
|
+
readonly server: Schema.optional<Schema.Struct<{
|
|
115
|
+
readonly file: Schema.String;
|
|
116
|
+
readonly export: Schema.String;
|
|
117
|
+
}>>;
|
|
118
|
+
/**
|
|
119
|
+
* Modules: `file` holds the named queries; `tables` (default `sync.gen.ts` beside it) the Zero tables
|
|
120
|
+
* `eloxiv generate` writes from the module's Drizzle tables and entities.
|
|
121
|
+
*/
|
|
122
|
+
readonly sync: Schema.optional<Schema.Struct<{
|
|
123
|
+
readonly file: Schema.String;
|
|
124
|
+
readonly tables: Schema.optional<Schema.String>;
|
|
125
|
+
/** The module's generated mutators (`mutators.gen.ts`) when it has its own predictions: clients alone import it. */
|
|
126
|
+
readonly mutators: Schema.optional<Schema.String>;
|
|
127
|
+
}>>;
|
|
128
|
+
/**
|
|
129
|
+
* Modules, UI items and spaces: the kernel-provided modules it needs installed beside it (`inbox`: work items,
|
|
130
|
+
* notifications, approvals and consent; `sharing`; `connections`; `search`: Search and Ingestion; `agent`: the
|
|
131
|
+
* agent, with the inbox its consent needs; `spaces`: Spaces; `devices`: paired devices and runners, with the inbox
|
|
132
|
+
* its consent-marked `devices.sendTurn` needs). The composition installs each once and adds its
|
|
133
|
+
* synced tables and named queries to the app's sync schema.
|
|
134
|
+
*/
|
|
135
|
+
readonly kernelModules: Schema.optional<Schema.$Array<Schema.Literals<readonly ["inbox", "sharing", "connections", "search", "agent", "spaces", "devices"]>>>;
|
|
136
|
+
/** Connectors: the capability contracts the connector implements (`MailProvider`, ...). */
|
|
137
|
+
readonly provides: Schema.optional<Schema.$Array<Schema.String>>;
|
|
138
|
+
/** Skills: the skill's name as agents see it. */
|
|
139
|
+
readonly skill: Schema.optional<Schema.String>;
|
|
140
|
+
/**
|
|
141
|
+
* pnpm patches the app needs applied to its dependencies: `name@version` to the patch file (one of the item's
|
|
142
|
+
* files, by target), merged into the app's `pnpm.patchedDependencies` (`Dependencies.ts`).
|
|
143
|
+
*/
|
|
144
|
+
readonly patchedDependencies: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
145
|
+
readonly next: Schema.optional<Schema.$Array<Schema.String>>;
|
|
146
|
+
/**
|
|
147
|
+
* What versions of the item moved (modules, exports, stylesheets), applied to the app's own files by `eloxiv update`
|
|
148
|
+
* and `eloxiv migrate` (Migrate.ts).
|
|
149
|
+
*/
|
|
150
|
+
readonly migrations: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
151
|
+
readonly since: Schema.String;
|
|
152
|
+
readonly moves: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
153
|
+
readonly from: Schema.String;
|
|
154
|
+
readonly symbol: Schema.optional<Schema.String>;
|
|
155
|
+
readonly to: Schema.String;
|
|
156
|
+
readonly as: Schema.optional<Schema.String>;
|
|
157
|
+
}>>>;
|
|
158
|
+
readonly note: Schema.optional<Schema.String>;
|
|
159
|
+
}>>>;
|
|
160
|
+
}>;
|
|
161
|
+
}>;
|
|
162
|
+
}>;
|
|
163
|
+
export type RegistryItem = typeof RegistryItem.Type;
|
|
164
|
+
declare const RegistryError_base: Schema.Class<RegistryError, Schema.TaggedStruct<"RegistryError", {
|
|
165
|
+
readonly message: Schema.String;
|
|
166
|
+
}>, import("effect/Cause").YieldableError>;
|
|
167
|
+
export declare class RegistryError extends RegistryError_base {
|
|
168
|
+
}
|
|
169
|
+
export declare const REGISTRY_TOKEN_ENV = "ELOXIV_REGISTRY_TOKEN";
|
|
170
|
+
export declare const isUrl: (source: string) => boolean;
|
|
171
|
+
/** Eloxiv's registry on GitHub: the default of a CLI run from a checkout. */
|
|
172
|
+
export declare const GITHUB_REGISTRY = "https://raw.githubusercontent.com/eloxiv/eloxiv/main/registry/public/r";
|
|
173
|
+
/** The registry package the published CLI depends on: the default of a CLI installed from npm. */
|
|
174
|
+
export declare const PACKAGE_REGISTRY = "npm:@eloxiv/registry";
|
|
175
|
+
/**
|
|
176
|
+
* A registry location as an app or a flag names it, made one the CLI reads: an https URL or an absolute directory as
|
|
177
|
+
* is; `npm:<package>` the package's `r/`, resolved from `from` (this CLI, by default: its own dependency); anything
|
|
178
|
+
* else a directory relative to `dir`. A package that cannot be resolved, or has no `r/`, is an error saying so.
|
|
179
|
+
*/
|
|
180
|
+
export declare const resolveRegistryLocation: (value: string, dir: string, from?: string) => {
|
|
181
|
+
readonly location: string;
|
|
182
|
+
} | {
|
|
183
|
+
readonly error: string;
|
|
184
|
+
};
|
|
185
|
+
/** The immutable path of one published version, relative to the registry. */
|
|
186
|
+
export declare const versionPath: (name: string, version: string) => string;
|
|
187
|
+
/** `text` with the registry token, if any, replaced: error messages must never carry it. */
|
|
188
|
+
export declare const redactToken: (text: string) => string;
|
|
189
|
+
/** Headers for a registry request: the token only where it cannot leak in clear or to another origin. */
|
|
190
|
+
export declare const registryHeaders: (url: URL, origin: string) => Record<string, string>;
|
|
191
|
+
/** Read `relative` (a path inside the registry) as text. */
|
|
192
|
+
export declare const readRegistryText: (source: string, relative: string) => Effect.Effect<string, RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
193
|
+
export declare const decodeItem: (text: string, what: string) => Effect.Effect<{
|
|
194
|
+
name: string;
|
|
195
|
+
type: string;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
registryDependencies?: readonly string[] | undefined;
|
|
198
|
+
dependencies?: readonly string[] | undefined;
|
|
199
|
+
devDependencies?: readonly string[] | undefined;
|
|
200
|
+
meta: {
|
|
201
|
+
readonly eloxiv: {
|
|
202
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
203
|
+
readonly version: string;
|
|
204
|
+
readonly module?: string | undefined;
|
|
205
|
+
readonly contract?: {
|
|
206
|
+
readonly file: string;
|
|
207
|
+
readonly export: string;
|
|
208
|
+
} | undefined;
|
|
209
|
+
readonly server?: {
|
|
210
|
+
readonly file: string;
|
|
211
|
+
readonly export: string;
|
|
212
|
+
} | undefined;
|
|
213
|
+
readonly sync?: {
|
|
214
|
+
readonly file: string;
|
|
215
|
+
readonly tables?: string | undefined;
|
|
216
|
+
readonly mutators?: string | undefined;
|
|
217
|
+
} | undefined;
|
|
218
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
219
|
+
readonly provides?: readonly string[] | undefined;
|
|
220
|
+
readonly skill?: string | undefined;
|
|
221
|
+
readonly patchedDependencies?: {
|
|
222
|
+
readonly [x: string]: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
readonly next?: readonly string[] | undefined;
|
|
225
|
+
readonly migrations?: readonly {
|
|
226
|
+
readonly since: string;
|
|
227
|
+
readonly moves?: readonly {
|
|
228
|
+
readonly from: string;
|
|
229
|
+
readonly symbol?: string | undefined;
|
|
230
|
+
readonly to: string;
|
|
231
|
+
readonly as?: string | undefined;
|
|
232
|
+
}[] | undefined;
|
|
233
|
+
readonly note?: string | undefined;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
files: {
|
|
238
|
+
readonly path: string;
|
|
239
|
+
readonly type: string;
|
|
240
|
+
readonly target?: string | undefined;
|
|
241
|
+
readonly content: string;
|
|
242
|
+
}[];
|
|
243
|
+
}, RegistryError, never>;
|
|
244
|
+
/**
|
|
245
|
+
* Fetch one item from `source` (a directory or base URL holding `<name>.json`): the latest version, or the
|
|
246
|
+
* immutable copy of `version`.
|
|
247
|
+
*/
|
|
248
|
+
export declare const fetchItem: (source: string, name: string, version?: string | undefined) => Effect.Effect<{
|
|
249
|
+
name: string;
|
|
250
|
+
type: string;
|
|
251
|
+
description?: string | undefined;
|
|
252
|
+
registryDependencies?: readonly string[] | undefined;
|
|
253
|
+
dependencies?: readonly string[] | undefined;
|
|
254
|
+
devDependencies?: readonly string[] | undefined;
|
|
255
|
+
meta: {
|
|
256
|
+
readonly eloxiv: {
|
|
257
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
258
|
+
readonly version: string;
|
|
259
|
+
readonly module?: string | undefined;
|
|
260
|
+
readonly contract?: {
|
|
261
|
+
readonly file: string;
|
|
262
|
+
readonly export: string;
|
|
263
|
+
} | undefined;
|
|
264
|
+
readonly server?: {
|
|
265
|
+
readonly file: string;
|
|
266
|
+
readonly export: string;
|
|
267
|
+
} | undefined;
|
|
268
|
+
readonly sync?: {
|
|
269
|
+
readonly file: string;
|
|
270
|
+
readonly tables?: string | undefined;
|
|
271
|
+
readonly mutators?: string | undefined;
|
|
272
|
+
} | undefined;
|
|
273
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
274
|
+
readonly provides?: readonly string[] | undefined;
|
|
275
|
+
readonly skill?: string | undefined;
|
|
276
|
+
readonly patchedDependencies?: {
|
|
277
|
+
readonly [x: string]: string;
|
|
278
|
+
} | undefined;
|
|
279
|
+
readonly next?: readonly string[] | undefined;
|
|
280
|
+
readonly migrations?: readonly {
|
|
281
|
+
readonly since: string;
|
|
282
|
+
readonly moves?: readonly {
|
|
283
|
+
readonly from: string;
|
|
284
|
+
readonly symbol?: string | undefined;
|
|
285
|
+
readonly to: string;
|
|
286
|
+
readonly as?: string | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
readonly note?: string | undefined;
|
|
289
|
+
}[] | undefined;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
files: {
|
|
293
|
+
readonly path: string;
|
|
294
|
+
readonly type: string;
|
|
295
|
+
readonly target?: string | undefined;
|
|
296
|
+
readonly content: string;
|
|
297
|
+
}[];
|
|
298
|
+
}, RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
299
|
+
/**
|
|
300
|
+
* Check that `item`, the registry's latest, is exactly its immutable copy `<name>/<version>.json`: the copy
|
|
301
|
+
* is what a later update merges from, so the app must never install anything else.
|
|
302
|
+
*/
|
|
303
|
+
export declare const verifyImmutable: (source: string, item: {
|
|
304
|
+
readonly name: string;
|
|
305
|
+
readonly type: string;
|
|
306
|
+
readonly description?: string | undefined;
|
|
307
|
+
readonly registryDependencies?: readonly string[] | undefined;
|
|
308
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
309
|
+
readonly devDependencies?: readonly string[] | undefined;
|
|
310
|
+
readonly files: readonly {
|
|
311
|
+
readonly path: string;
|
|
312
|
+
readonly type: string;
|
|
313
|
+
readonly target?: string | undefined;
|
|
314
|
+
readonly content: string;
|
|
315
|
+
}[];
|
|
316
|
+
readonly meta: {
|
|
317
|
+
readonly eloxiv: {
|
|
318
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
319
|
+
readonly version: string;
|
|
320
|
+
readonly module?: string | undefined;
|
|
321
|
+
readonly contract?: {
|
|
322
|
+
readonly file: string;
|
|
323
|
+
readonly export: string;
|
|
324
|
+
} | undefined;
|
|
325
|
+
readonly server?: {
|
|
326
|
+
readonly file: string;
|
|
327
|
+
readonly export: string;
|
|
328
|
+
} | undefined;
|
|
329
|
+
readonly sync?: {
|
|
330
|
+
readonly file: string;
|
|
331
|
+
readonly tables?: string | undefined;
|
|
332
|
+
readonly mutators?: string | undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
335
|
+
readonly provides?: readonly string[] | undefined;
|
|
336
|
+
readonly skill?: string | undefined;
|
|
337
|
+
readonly patchedDependencies?: {
|
|
338
|
+
readonly [x: string]: string;
|
|
339
|
+
} | undefined;
|
|
340
|
+
readonly next?: readonly string[] | undefined;
|
|
341
|
+
readonly migrations?: readonly {
|
|
342
|
+
readonly since: string;
|
|
343
|
+
readonly moves?: readonly {
|
|
344
|
+
readonly from: string;
|
|
345
|
+
readonly symbol?: string | undefined;
|
|
346
|
+
readonly to: string;
|
|
347
|
+
readonly as?: string | undefined;
|
|
348
|
+
}[] | undefined;
|
|
349
|
+
readonly note?: string | undefined;
|
|
350
|
+
}[] | undefined;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
}) => Effect.Effect<{
|
|
354
|
+
readonly name: string;
|
|
355
|
+
readonly type: string;
|
|
356
|
+
readonly description?: string | undefined;
|
|
357
|
+
readonly registryDependencies?: readonly string[] | undefined;
|
|
358
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
359
|
+
readonly devDependencies?: readonly string[] | undefined;
|
|
360
|
+
readonly files: readonly {
|
|
361
|
+
readonly path: string;
|
|
362
|
+
readonly type: string;
|
|
363
|
+
readonly target?: string | undefined;
|
|
364
|
+
readonly content: string;
|
|
365
|
+
}[];
|
|
366
|
+
readonly meta: {
|
|
367
|
+
readonly eloxiv: {
|
|
368
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
369
|
+
readonly version: string;
|
|
370
|
+
readonly module?: string | undefined;
|
|
371
|
+
readonly contract?: {
|
|
372
|
+
readonly file: string;
|
|
373
|
+
readonly export: string;
|
|
374
|
+
} | undefined;
|
|
375
|
+
readonly server?: {
|
|
376
|
+
readonly file: string;
|
|
377
|
+
readonly export: string;
|
|
378
|
+
} | undefined;
|
|
379
|
+
readonly sync?: {
|
|
380
|
+
readonly file: string;
|
|
381
|
+
readonly tables?: string | undefined;
|
|
382
|
+
readonly mutators?: string | undefined;
|
|
383
|
+
} | undefined;
|
|
384
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
385
|
+
readonly provides?: readonly string[] | undefined;
|
|
386
|
+
readonly skill?: string | undefined;
|
|
387
|
+
readonly patchedDependencies?: {
|
|
388
|
+
readonly [x: string]: string;
|
|
389
|
+
} | undefined;
|
|
390
|
+
readonly next?: readonly string[] | undefined;
|
|
391
|
+
readonly migrations?: readonly {
|
|
392
|
+
readonly since: string;
|
|
393
|
+
readonly moves?: readonly {
|
|
394
|
+
readonly from: string;
|
|
395
|
+
readonly symbol?: string | undefined;
|
|
396
|
+
readonly to: string;
|
|
397
|
+
readonly as?: string | undefined;
|
|
398
|
+
}[] | undefined;
|
|
399
|
+
readonly note?: string | undefined;
|
|
400
|
+
}[] | undefined;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
}, RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
404
|
+
/** The registry's latest version of `name`, checked against its immutable copy. */
|
|
405
|
+
export declare const fetchLatest: (source: string, name: string) => Effect.Effect<{
|
|
406
|
+
readonly name: string;
|
|
407
|
+
readonly type: string;
|
|
408
|
+
readonly description?: string | undefined;
|
|
409
|
+
readonly registryDependencies?: readonly string[] | undefined;
|
|
410
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
411
|
+
readonly devDependencies?: readonly string[] | undefined;
|
|
412
|
+
readonly files: readonly {
|
|
413
|
+
readonly path: string;
|
|
414
|
+
readonly type: string;
|
|
415
|
+
readonly target?: string | undefined;
|
|
416
|
+
readonly content: string;
|
|
417
|
+
}[];
|
|
418
|
+
readonly meta: {
|
|
419
|
+
readonly eloxiv: {
|
|
420
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
421
|
+
readonly version: string;
|
|
422
|
+
readonly module?: string | undefined;
|
|
423
|
+
readonly contract?: {
|
|
424
|
+
readonly file: string;
|
|
425
|
+
readonly export: string;
|
|
426
|
+
} | undefined;
|
|
427
|
+
readonly server?: {
|
|
428
|
+
readonly file: string;
|
|
429
|
+
readonly export: string;
|
|
430
|
+
} | undefined;
|
|
431
|
+
readonly sync?: {
|
|
432
|
+
readonly file: string;
|
|
433
|
+
readonly tables?: string | undefined;
|
|
434
|
+
readonly mutators?: string | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
437
|
+
readonly provides?: readonly string[] | undefined;
|
|
438
|
+
readonly skill?: string | undefined;
|
|
439
|
+
readonly patchedDependencies?: {
|
|
440
|
+
readonly [x: string]: string;
|
|
441
|
+
} | undefined;
|
|
442
|
+
readonly next?: readonly string[] | undefined;
|
|
443
|
+
readonly migrations?: readonly {
|
|
444
|
+
readonly since: string;
|
|
445
|
+
readonly moves?: readonly {
|
|
446
|
+
readonly from: string;
|
|
447
|
+
readonly symbol?: string | undefined;
|
|
448
|
+
readonly to: string;
|
|
449
|
+
readonly as?: string | undefined;
|
|
450
|
+
}[] | undefined;
|
|
451
|
+
readonly note?: string | undefined;
|
|
452
|
+
}[] | undefined;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
}, RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
456
|
+
/** An item retired at its last published version, which stays fetchable for the apps that installed it. */
|
|
457
|
+
export declare const Deprecation: Schema.Struct<{
|
|
458
|
+
/** The last version published. */
|
|
459
|
+
readonly version: Schema.String;
|
|
460
|
+
/** The item to use instead, if there is one. */
|
|
461
|
+
readonly replacement: Schema.optional<Schema.String>;
|
|
462
|
+
readonly reason: Schema.String;
|
|
463
|
+
}>;
|
|
464
|
+
export type Deprecation = typeof Deprecation.Type;
|
|
465
|
+
/** Where a registry lists its retired items: `{ "<name>": Deprecation }`. */
|
|
466
|
+
export declare const DEPRECATED_FILE = "deprecated.json";
|
|
467
|
+
/** The registry's retired items: none when it lists none (`deprecated.json` absent). */
|
|
468
|
+
export declare const fetchDeprecations: (source: string) => Effect.Effect<{
|
|
469
|
+
readonly [x: string]: {
|
|
470
|
+
readonly version: string;
|
|
471
|
+
readonly replacement?: string | undefined;
|
|
472
|
+
readonly reason: string;
|
|
473
|
+
};
|
|
474
|
+
}, RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
475
|
+
/** What the CLI says about a retired item. */
|
|
476
|
+
export declare const deprecationText: (name: string, deprecation: Deprecation) => string;
|
|
477
|
+
/** Resolve `names` and their registry dependencies, dependencies first. A retired item is refused. */
|
|
478
|
+
export declare const resolveItems: (source: string, names: readonly string[]) => Effect.Effect<{
|
|
479
|
+
readonly name: string;
|
|
480
|
+
readonly type: string;
|
|
481
|
+
readonly description?: string | undefined;
|
|
482
|
+
readonly registryDependencies?: readonly string[] | undefined;
|
|
483
|
+
readonly dependencies?: readonly string[] | undefined;
|
|
484
|
+
readonly devDependencies?: readonly string[] | undefined;
|
|
485
|
+
readonly files: readonly {
|
|
486
|
+
readonly path: string;
|
|
487
|
+
readonly type: string;
|
|
488
|
+
readonly target?: string | undefined;
|
|
489
|
+
readonly content: string;
|
|
490
|
+
}[];
|
|
491
|
+
readonly meta: {
|
|
492
|
+
readonly eloxiv: {
|
|
493
|
+
readonly kind: "app" | "connector" | "desktop" | "mobile" | "module" | "shell" | "skill" | "space" | "theme" | "ui";
|
|
494
|
+
readonly version: string;
|
|
495
|
+
readonly module?: string | undefined;
|
|
496
|
+
readonly contract?: {
|
|
497
|
+
readonly file: string;
|
|
498
|
+
readonly export: string;
|
|
499
|
+
} | undefined;
|
|
500
|
+
readonly server?: {
|
|
501
|
+
readonly file: string;
|
|
502
|
+
readonly export: string;
|
|
503
|
+
} | undefined;
|
|
504
|
+
readonly sync?: {
|
|
505
|
+
readonly file: string;
|
|
506
|
+
readonly tables?: string | undefined;
|
|
507
|
+
readonly mutators?: string | undefined;
|
|
508
|
+
} | undefined;
|
|
509
|
+
readonly kernelModules?: readonly ("agent" | "connections" | "devices" | "inbox" | "search" | "sharing" | "spaces")[] | undefined;
|
|
510
|
+
readonly provides?: readonly string[] | undefined;
|
|
511
|
+
readonly skill?: string | undefined;
|
|
512
|
+
readonly patchedDependencies?: {
|
|
513
|
+
readonly [x: string]: string;
|
|
514
|
+
} | undefined;
|
|
515
|
+
readonly next?: readonly string[] | undefined;
|
|
516
|
+
readonly migrations?: readonly {
|
|
517
|
+
readonly since: string;
|
|
518
|
+
readonly moves?: readonly {
|
|
519
|
+
readonly from: string;
|
|
520
|
+
readonly symbol?: string | undefined;
|
|
521
|
+
readonly to: string;
|
|
522
|
+
readonly as?: string | undefined;
|
|
523
|
+
}[] | undefined;
|
|
524
|
+
readonly note?: string | undefined;
|
|
525
|
+
}[] | undefined;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
}[], RegistryError, FileSystem.FileSystem | Path.Path>;
|
|
529
|
+
export declare const sha256: (text: string) => Promise<string>;
|
|
530
|
+
/** The target path of a file inside the app. */
|
|
531
|
+
export declare const targetOf: (file: RegistryFile) => string;
|
|
532
|
+
/**
|
|
533
|
+
* Content hash of an item as published: sha256 over the canonical JSON of everything installing and
|
|
534
|
+
* merging it uses (its name and type, its files by target, its npm and registry dependencies and its
|
|
535
|
+
* `meta.eloxiv`), so a base or a latest version that changed in any of these is detected.
|
|
536
|
+
*/
|
|
537
|
+
export declare const contentHash: (item: RegistryItem) => Effect.Effect<string, never, never>;
|
|
538
|
+
export {};
|
|
539
|
+
//# sourceMappingURL=Registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Registry.d.ts","sourceRoot":"","sources":["../src/Registry.ts"],"names":[],"mappings":"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"}
|