@feltdb/core 0.12.1 → 0.13.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/dist/build-identity.json +13 -4
- package/dist/cli/commands.js +96 -45
- package/dist/cli/workspace-integration.js +8 -0
- package/dist/collection.d.ts +41 -4
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +116 -47
- package/dist/composition.d.ts.map +1 -1
- package/dist/composition.js +11 -1
- package/dist/create/build-identity.json +13 -4
- package/dist/create/cli.js +49 -40
- package/dist/create/create.js +32 -19
- package/dist/create/package-versions.js +1 -1
- package/dist/create/server-source/Cargo.lock +18 -3
- package/dist/create/server-source/Cargo.toml +4 -2
- package/dist/create/server-source/crates/feltdb/Cargo.toml +20 -0
- package/dist/create/server-source/crates/feltdb/LICENSE +21 -0
- package/dist/create/server-source/crates/feltdb/README.md +75 -0
- package/dist/create/server-source/crates/feltdb/src/agent_state.rs +320 -0
- package/dist/create/server-source/crates/feltdb/src/agent_transition_contract.rs +1545 -0
- package/dist/create/server-source/crates/feltdb/src/authority.rs +145 -15
- package/dist/create/server-source/crates/feltdb/src/lib.rs +227 -23
- package/dist/create/server-source/crates/feltdb/src/state_model.rs +1 -5
- package/dist/create/server-source/crates/feltdb/src/worker_mesh.rs +204 -1
- package/dist/create/server-source/crates/feltdb/src/workload.rs +685 -53
- package/dist/create/server-source/crates/feltdb/tests/agent_state_native.rs +1188 -0
- package/dist/create/server-source/crates/feltdb/tests/agent_transition_contract_conformance.rs +2884 -0
- package/dist/create/server-source/crates/feltdb/tests/authority_transaction_identity.rs +534 -0
- package/dist/create/server-source/crates/feltdb/tests/fixtures/agent_transition_corpus.json +23340 -0
- package/dist/create/server-source/crates/feltdb/tests/production_readiness_contract.rs +18 -12
- package/dist/create/server-source/crates/feltdb/tests/workload_envelope_contract.rs +17 -5
- package/dist/create/server-source/crates/feltdb-client/Cargo.toml +29 -0
- package/dist/create/server-source/crates/feltdb-client/LICENSE +21 -0
- package/dist/create/server-source/crates/feltdb-client/README.md +70 -0
- package/dist/create/server-source/crates/feltdb-client/src/application.rs +527 -0
- package/dist/create/server-source/crates/feltdb-client/src/authority.rs +679 -0
- package/dist/create/server-source/crates/feltdb-client/src/control.rs +292 -0
- package/dist/create/server-source/crates/feltdb-client/src/error.rs +227 -0
- package/dist/create/server-source/crates/feltdb-client/src/events.rs +146 -0
- package/dist/create/server-source/crates/feltdb-client/src/lib.rs +466 -0
- package/dist/create/server-source/crates/feltdb-client/tests/fixtures/README.md +4 -0
- package/dist/create/server-source/crates/feltdb-client/tests/fixtures/private-ca.pem +20 -0
- package/dist/create/server-source/crates/feltdb-client/tests/fixtures/server-key.pem +28 -0
- package/dist/create/server-source/crates/feltdb-client/tests/fixtures/server.pem +20 -0
- package/dist/create/server-source/crates/feltdb-client/tests/private_ca.rs +95 -0
- package/dist/create/server-source/crates/feltdb-server/Cargo.toml +20 -1
- package/dist/create/server-source/crates/feltdb-server/LICENSE +21 -0
- package/dist/create/server-source/crates/feltdb-server/README.md +12 -1
- package/dist/create/server-source/crates/feltdb-server/src/agent_execution.rs +511 -0
- package/dist/create/server-source/crates/feltdb-server/src/auth.rs +28 -0
- package/dist/create/server-source/crates/feltdb-server/src/backup.rs +6 -2
- package/dist/create/server-source/crates/feltdb-server/src/lib.rs +21 -0
- package/dist/create/server-source/crates/feltdb-server/src/main.rs +845 -138
- package/dist/create/server-source/crates/feltdb-server/tests/rust_client.rs +683 -0
- package/dist/create/server-source/crates/feltdb-wasm/Cargo.toml +3 -1
- package/dist/create/setup-summary.js +40 -0
- package/dist/create/template/default-project/README.md +12 -7
- package/dist/create/template/default-project/src/pages/Dashboard.tsx +1 -1
- package/dist/create/template/dot-feltdb-README.md +3 -3
- package/dist/db.d.ts +27 -1
- package/dist/db.d.ts.map +1 -1
- package/dist/db.js +60 -21
- package/dist/development-runtime-bridge.d.ts +20 -0
- package/dist/development-runtime-bridge.d.ts.map +1 -1
- package/dist/development-runtime-bridge.js +74 -4
- package/dist/embedded-transaction.d.ts +75 -8
- package/dist/embedded-transaction.d.ts.map +1 -1
- package/dist/embedded-transaction.js +124 -18
- package/dist/error-codes.d.ts +2 -0
- package/dist/error-codes.d.ts.map +1 -1
- package/dist/error-codes.js +2 -0
- package/dist/feltdb.d.ts +1 -11
- package/dist/feltdb.d.ts.map +1 -1
- package/dist/file-db.d.ts +6 -0
- package/dist/file-db.d.ts.map +1 -1
- package/dist/file-db.js +43 -11
- package/dist/http-db.d.ts +13 -0
- package/dist/http-db.d.ts.map +1 -1
- package/dist/http-db.js +33 -4
- package/dist/indexeddb-db.d.ts.map +1 -1
- package/dist/indexeddb-db.js +65 -41
- package/dist/memory-db.d.ts.map +1 -1
- package/dist/memory-db.js +29 -8
- package/dist/studio/{KeyManagementPanel-DZuSeWBK.js → KeyManagementPanel-skUNnKRw.js} +36 -28
- package/dist/studio/app.d.ts +8 -1
- package/dist/studio/app.d.ts.map +1 -1
- package/dist/studio/components/KeyManagementPanel.d.ts.map +1 -1
- package/dist/studio/components/KeyManagementPanel.js +1 -1
- package/dist/studio/components/RouteErrorBoundary.d.ts +5 -0
- package/dist/studio/components/RouteErrorBoundary.d.ts.map +1 -0
- package/dist/studio/components/index.js +2 -2
- package/dist/studio/{components-Bivm2lX6.js → components-BSGmHfif.js} +6 -6
- package/dist/studio/control-plane/Agents.d.ts.map +1 -1
- package/dist/studio/control-plane/Data.d.ts.map +1 -1
- package/dist/studio/control-plane/Instance.d.ts +4 -1
- package/dist/studio/control-plane/Instance.d.ts.map +1 -1
- package/dist/studio/control-plane/Operations.d.ts +4 -1
- package/dist/studio/control-plane/Operations.d.ts.map +1 -1
- package/dist/studio/control-plane/Overview.d.ts.map +1 -1
- package/dist/studio/control-plane/Schema.d.ts.map +1 -1
- package/dist/studio/control-plane/context.d.ts +4 -1
- package/dist/studio/control-plane/context.d.ts.map +1 -1
- package/dist/studio/control-plane/index.js +2 -2
- package/dist/studio/control-plane/primitives.d.ts +24 -0
- package/dist/studio/control-plane/primitives.d.ts.map +1 -1
- package/dist/studio/{control-plane-CLm69XwX.js → control-plane-CaBA7Rgv.js} +1374 -1298
- package/dist/studio/index.d.ts +1 -0
- package/dist/studio/index.d.ts.map +1 -1
- package/dist/studio/index.js +415 -237
- package/dist/studio/navigation.d.ts +57 -0
- package/dist/studio/navigation.d.ts.map +1 -0
- package/dist/studio/studio.css +1 -1
- package/dist/studio/utils/control-plane-api.d.ts +2 -0
- package/dist/studio/utils/control-plane-api.d.ts.map +1 -1
- package/dist/studio/utils/control-plane-api.js +9 -4
- package/dist/studio/utils/service-api.d.ts.map +1 -1
- package/dist/studio/utils/service-api.js +5 -4
- package/dist/studio-app/assets/{feltdb_wasm-DACcD-zs.js → feltdb_wasm-3hDngl1h.js} +1 -1
- package/dist/studio-app/assets/feltdb_wasm_bg-CFQT4gCy.wasm +0 -0
- package/dist/studio-app/assets/index-Dql1hS5m.js +30 -0
- package/dist/studio-app/assets/{index-CiC8VY-a.css → index-vi21oEQa.css} +1 -1
- package/dist/studio-app/index.html +2 -2
- package/dist/telemetry.d.ts +1 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +4 -3
- package/dist/transaction-identity.d.ts +62 -0
- package/dist/transaction-identity.d.ts.map +1 -0
- package/dist/transaction-identity.js +138 -0
- package/dist/transaction.d.ts +50 -5
- package/dist/transaction.d.ts.map +1 -1
- package/dist/transaction.js +28 -0
- package/dist/wasm/feltdb_wasm_bg.wasm +0 -0
- package/dist/wasm/package.json +1 -1
- package/dist/workspace/local-development-authority.d.ts +19 -0
- package/dist/workspace/local-development-authority.d.ts.map +1 -1
- package/dist/workspace/local-development-authority.js +335 -15
- package/package.json +1 -1
- package/dist/create/server-source/crates/feltdb-wasm/test.db +0 -0
- package/dist/studio-app/assets/feltdb_wasm_bg-BejThWID.wasm +0 -0
- package/dist/studio-app/assets/index-CoZaxnlm.js +0 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ServiceApiError as e, StudioServiceApi as t, safeDisplayValue as n, serviceApiErrorMessage as r } from "./utils/service-api.js";
|
|
2
2
|
import { StudioProposalApi as i, proposalErrorMessage as a, proposalSections as o } from "./utils/proposal-api.js";
|
|
3
|
-
import "./KeyManagementPanel-
|
|
3
|
+
import "./KeyManagementPanel-skUNnKRw.js";
|
|
4
4
|
import "./components/ManagedInstancePanel.js";
|
|
5
5
|
import s, { useCallback as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
6
6
|
import { Link as p } from "react-router-dom";
|
|
@@ -227,7 +227,7 @@ function M({ model: e }) {
|
|
|
227
227
|
children: [/* @__PURE__ */ g("header", { children: [
|
|
228
228
|
/* @__PURE__ */ h("span", {
|
|
229
229
|
className: "eyebrow",
|
|
230
|
-
children: "
|
|
230
|
+
children: "Build"
|
|
231
231
|
}),
|
|
232
232
|
/* @__PURE__ */ h("h1", { children: "Workflows" }),
|
|
233
233
|
/* @__PURE__ */ h("p", { children: "Durable state transitions declared by the application model." })
|
|
@@ -271,7 +271,7 @@ function N({ model: e }) {
|
|
|
271
271
|
children: [/* @__PURE__ */ g("header", { children: [
|
|
272
272
|
/* @__PURE__ */ h("span", {
|
|
273
273
|
className: "eyebrow",
|
|
274
|
-
children: "
|
|
274
|
+
children: "Build"
|
|
275
275
|
}),
|
|
276
276
|
/* @__PURE__ */ h("h1", { children: "Agents" }),
|
|
277
277
|
/* @__PURE__ */ h("p", { children: "Autonomous participants whose authority and workflows are part of the model." })
|
|
@@ -308,7 +308,7 @@ function F({ db: e, remoteUrl: t = "", token: n = "", applicationUrl: r = "", fe
|
|
|
308
308
|
c(t), d(n);
|
|
309
309
|
}, [t, n]), /* @__PURE__ */ g("div", {
|
|
310
310
|
className: "settings-panel",
|
|
311
|
-
children: [/* @__PURE__ */ h("
|
|
311
|
+
children: [/* @__PURE__ */ h("h1", { children: "Connection" }), /* @__PURE__ */ g("div", {
|
|
312
312
|
className: "settings-content",
|
|
313
313
|
children: [
|
|
314
314
|
/* @__PURE__ */ h("h3", { children: "Application" }),
|
|
@@ -1990,7 +1990,7 @@ function ie({ model: e, section: t }) {
|
|
|
1990
1990
|
className: "studio-model-page",
|
|
1991
1991
|
children: [/* @__PURE__ */ g("header", { children: [/* @__PURE__ */ h("span", {
|
|
1992
1992
|
className: "eyebrow",
|
|
1993
|
-
children: "
|
|
1993
|
+
children: "Build"
|
|
1994
1994
|
}), /* @__PURE__ */ h("h1", { children: t === "schema" ? "Schema" : "Policies" })] }), t === "schema" ? e.collections.map((e) => /* @__PURE__ */ g("article", {
|
|
1995
1995
|
className: "studio-card",
|
|
1996
1996
|
children: [
|
|
@@ -2020,7 +2020,7 @@ function Y({ model: e }) {
|
|
|
2020
2020
|
/* @__PURE__ */ g("header", { children: [
|
|
2021
2021
|
/* @__PURE__ */ h("span", {
|
|
2022
2022
|
className: "eyebrow",
|
|
2023
|
-
children: "
|
|
2023
|
+
children: "Build"
|
|
2024
2024
|
}),
|
|
2025
2025
|
/* @__PURE__ */ h("h1", { children: "Capabilities" }),
|
|
2026
2026
|
/* @__PURE__ */ g("p", { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Agents.d.ts","sourceRoot":"","sources":["../../src/control-plane/Agents.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Agents.d.ts","sourceRoot":"","sources":["../../src/control-plane/Agents.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAkSxC,wBAAgB,MAAM,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,qBA4DlG;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Data.d.ts","sourceRoot":"","sources":["../../src/control-plane/Data.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AA+PjD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"Data.d.ts","sourceRoot":"","sources":["../../src/control-plane/Data.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AA+PjD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,qBAoSjI;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -8,7 +8,10 @@ export declare function replicationAvailability(input: {
|
|
|
8
8
|
healthError: string;
|
|
9
9
|
hasHealth: boolean;
|
|
10
10
|
}): ReplicationAvailability;
|
|
11
|
-
|
|
11
|
+
/** `reason` is the instance's own explanation, shown whenever it gives one. */
|
|
12
|
+
export declare function ReplicationHealthUnavailable({ reason }?: {
|
|
13
|
+
reason?: string;
|
|
14
|
+
}): React.JSX.Element;
|
|
12
15
|
export declare function Replication(): React.JSX.Element;
|
|
13
16
|
export declare function Applications(): React.JSX.Element;
|
|
14
17
|
export declare function Monitoring(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Instance.d.ts","sourceRoot":"","sources":["../../src/control-plane/Instance.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,mBAAmB,GAAG,aAAa,GAAG,gBAAgB,GAAG,WAAW,CAAC;AAEvH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,GAAG,uBAAuB,CAO1B;AAED,wBAAgB,4BAA4B,
|
|
1
|
+
{"version":3,"file":"Instance.d.ts","sourceRoot":"","sources":["../../src/control-plane/Instance.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,mBAAmB,GAAG,aAAa,GAAG,gBAAgB,GAAG,WAAW,CAAC;AAEvH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,GAAG,uBAAuB,CAO1B;AAED,+EAA+E;AAC/E,wBAAgB,4BAA4B,CAAC,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,qBAQhF;AAED,wBAAgB,WAAW,sBAoF1B;AAED,wBAAgB,YAAY,sBA0C3B;AAED,wBAAgB,UAAU,sBAoCzB;AAED,wBAAgB,QAAQ,sBA0EvB;AAED,wBAAgB,SAAS,sBA8CxB"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export type OperationsAvailability = 'loading' | 'connection-failure' | 'unsupported' | 'supported';
|
|
3
3
|
export declare function operationsAvailability(loading: boolean, error: string, capabilityStatus: string): OperationsAvailability;
|
|
4
|
-
|
|
4
|
+
/** `reason` is the instance's own explanation, shown whenever it gives one. */
|
|
5
|
+
export declare function TransactionObservabilityUnavailable({ reason }?: {
|
|
6
|
+
reason?: string;
|
|
7
|
+
}): React.JSX.Element;
|
|
5
8
|
export declare function OperationsConsole({ onOpenRecord }: {
|
|
6
9
|
onOpenRecord: (collection: string, id: string) => void;
|
|
7
10
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operations.d.ts","sourceRoot":"","sources":["../../src/control-plane/Operations.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,oBAAoB,GAAG,aAAa,GAAG,WAAW,CAAC;AAEpG,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,sBAAsB,CAIxH;AAED,wBAAgB,mCAAmC,
|
|
1
|
+
{"version":3,"file":"Operations.d.ts","sourceRoot":"","sources":["../../src/control-plane/Operations.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,oBAAoB,GAAG,aAAa,GAAG,WAAW,CAAC;AAEpG,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,sBAAsB,CAIxH;AAED,+EAA+E;AAC/E,wBAAgB,mCAAmC,CAAC,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,qBASvF;AA2OD,wBAAgB,iBAAiB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,qBAqD7G;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../src/control-plane/Overview.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../src/control-plane/Overview.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,wBAAgB,gBAAgB,sBAwI/B;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/control-plane/Schema.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,wBAAgB,cAAc,
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/control-plane/Schema.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,wBAAgB,cAAc,sBA8J7B;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -7,6 +7,8 @@ export interface ControlPlaneContextValue {
|
|
|
7
7
|
error: string;
|
|
8
8
|
applicationId: string;
|
|
9
9
|
environment: string;
|
|
10
|
+
/** The runtime the connected application reports (`browser`, `node`, …); empty when unknown. */
|
|
11
|
+
runtime: string;
|
|
10
12
|
/**
|
|
11
13
|
* Where this instance is, and the credential for it.
|
|
12
14
|
*
|
|
@@ -18,8 +20,9 @@ export interface ControlPlaneContextValue {
|
|
|
18
20
|
token: string;
|
|
19
21
|
reload: () => void;
|
|
20
22
|
}
|
|
21
|
-
export declare function ControlPlaneProvider({ options, children }: {
|
|
23
|
+
export declare function ControlPlaneProvider({ options, runtime, children }: {
|
|
22
24
|
options: ControlPlaneOptions;
|
|
25
|
+
runtime?: string;
|
|
23
26
|
children: React.ReactNode;
|
|
24
27
|
}): React.JSX.Element;
|
|
25
28
|
export declare function useControlPlane(): ControlPlaneContextValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/control-plane/context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,eAAe,EAA4B,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEhI,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,eAAe,CAAC;IACrB,YAAY,EAAE,aAAa,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAID,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;IAAE,OAAO,EAAE,mBAAmB,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/control-plane/context.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,eAAe,EAA4B,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEhI,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,eAAe,CAAC;IACrB,YAAY,EAAE,aAAa,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAID,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,OAAY,EAAE,QAAQ,EAAE,EAAE;IAAE,OAAO,EAAE,mBAAmB,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBA8BtJ;AAED,wBAAgB,eAAe,IAAI,wBAAwB,CAI1D;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,IAAI,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,CAAC,CAAC,EAC1C,YAAY,EAAE,OAAO,EAAE,EACvB,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GACxE;IAAE,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,CA0BhF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r,
|
|
2
|
-
export {
|
|
1
|
+
import { A as e, C as t, D as n, E as r, F as i, I as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as h, d as g, f as _, g as v, h as y, i as b, j as x, k as S, l as C, m as w, n as T, o as E, p as D, r as O, s as k, t as A, u as j, v as M, w as N, x as P, y as F } from "../control-plane-CaBA7Rgv.js";
|
|
2
|
+
export { w as Agents, A as Applications, M as BrowserRuntimeNotice, F as Capable, g as CommittedRevision, l as ControlPlaneProvider, v as DataBrowser, T as Developer, m as Disconnected, P as Empty, u as Failure, _ as INTEGRITY_CHECK, t as Identity, f as InstanceOverview, N as Json, d as Loading, O as Monitoring, h as OperationsConsole, r as Page, n as PartialNotice, c as Path, b as Replication, p as ReplicationHealthUnavailable, y as SchemaExplorer, E as Settings, S as Stat, D as StateWorkbench, e as StatusPill, x as Tabs, o as Timestamp, C as TransactionObservabilityUnavailable, s as Unavailable, j as operationsAvailability, k as replicationAvailability, i as useControlPlane, a as useControlPlaneResource };
|
|
@@ -6,14 +6,30 @@ export declare function StatusPill({ status }: {
|
|
|
6
6
|
/**
|
|
7
7
|
* A capability this instance cannot perform, shown as such: an explained note
|
|
8
8
|
* (the shared Stack `Unavailable`), never a disabled control.
|
|
9
|
+
*
|
|
10
|
+
* Two different answers reach here and are not worded alike. A capability the
|
|
11
|
+
* instance declares as unsupported carries the instance's own reason. One it
|
|
12
|
+
* does not declare at all is simply not part of this instance; calling that
|
|
13
|
+
* "declared unsupported" would claim the instance said something it did not.
|
|
9
14
|
*/
|
|
10
15
|
export declare function Unavailable({ capability, title }: {
|
|
11
16
|
capability: string;
|
|
12
17
|
title?: string;
|
|
13
18
|
}): React.JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* The instance's declaration could not be read, so nothing is known about what
|
|
21
|
+
* it can do. That is a connection problem, said once with its cause, and not a
|
|
22
|
+
* verdict that the capability is missing.
|
|
23
|
+
*/
|
|
24
|
+
export declare function Disconnected({ message, onRetry }: {
|
|
25
|
+
message: string;
|
|
26
|
+
onRetry?: () => void;
|
|
27
|
+
}): React.JSX.Element;
|
|
14
28
|
/**
|
|
15
29
|
* Renders a screen only when the instance declares the capability behind it.
|
|
16
30
|
*
|
|
31
|
+
* Until the declaration is read, the screen is loading; if it cannot be read,
|
|
32
|
+
* the instance is unreachable — neither is a capability being unavailable.
|
|
17
33
|
* `requireFull` is for controls that need more than partial support — a bulk
|
|
18
34
|
* action, say, where "works for some inputs" is not enough to draw a button.
|
|
19
35
|
*/
|
|
@@ -79,4 +95,12 @@ export declare function Page({ eyebrow, title, description, children }: {
|
|
|
79
95
|
description?: string;
|
|
80
96
|
children: React.ReactNode;
|
|
81
97
|
}): React.JSX.Element;
|
|
98
|
+
/**
|
|
99
|
+
* An application that runs in a browser keeps its records in that browser's
|
|
100
|
+
* IndexedDB, on the application's own origin. Studio inspects the authority,
|
|
101
|
+
* which such an application does not write to, so an empty table here is the
|
|
102
|
+
* truth about the authority and not about the application. Said once, where an
|
|
103
|
+
* operator would otherwise read the emptiness as "nothing was saved".
|
|
104
|
+
*/
|
|
105
|
+
export declare function BrowserRuntimeNotice(): React.JSX.Element | null;
|
|
82
106
|
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/control-plane/primitives.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAgB,MAAM,OAAO,CAAC;AAUrC,OAAO,EAAmB,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEpG,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAAA;CAAE,qBAE3E;AAED
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/control-plane/primitives.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAgB,MAAM,OAAO,CAAC;AAUrC,OAAO,EAAmB,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEpG,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,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