@ggui-ai/ui-gen 0.6.0 → 0.6.1
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/adapters/generation-dispatch.d.ts +1 -1
- package/dist/adapters/generation-dispatch.js +226 -117
- package/dist/adapters/generation-dispatch.js.map +1 -1
- package/dist/advanced/index.d.ts +2 -2
- package/dist/advanced/index.js +226 -117
- package/dist/advanced/index.js.map +1 -1
- package/dist/check/index.d.ts +1 -1
- package/dist/{create-ui-generator-CQiyjb5D.d.ts → create-ui-generator-GX7tvbyH.d.ts} +1 -1
- package/dist/{dispatch-CzRfy1J7.d.ts → dispatch-Deo9qzrG.d.ts} +1 -1
- package/dist/evaluation/axis-checks/index.d.ts +3 -3
- package/dist/evaluation/axis-checks/registry.d.ts +1 -1
- package/dist/evaluation/index.d.ts +2 -2
- package/dist/harness/check/runtime-render/index.d.ts +1 -1
- package/dist/harness/index.d.ts +1 -1
- package/dist/harness/result-types.d.ts +1 -1
- package/dist/harness/runtime.d.ts +1 -1
- package/dist/harness/types-public.d.ts +1 -1
- package/dist/harness/validator-trace-sink.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +226 -117
- package/dist/index.js.map +1 -1
- package/dist/patch.d.ts +1 -1
- package/dist/provider-adapter-contract.js +49 -41
- package/dist/provider-adapter-contract.js.map +1 -1
- package/dist/{types-public-D9swfbNi.d.ts → types-public-C36k1q6s.d.ts} +1 -1
- package/dist/workflows.d.ts +1 -1
- package/package.json +12 -12
package/dist/patch.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PatchFn } from './harness/types-public.js';
|
|
2
2
|
import '@ggui-ai/protocol';
|
|
3
3
|
import './axes-CzLEMDeB.js';
|
|
4
|
-
import './types-public-
|
|
4
|
+
import './types-public-C36k1q6s.js';
|
|
5
5
|
import './types-BOvHNG7K.js';
|
|
6
6
|
import './llm.js';
|
|
7
7
|
import './policy.js';
|
|
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
44
44
|
|
|
45
45
|
// ../../node_modules/strip-literal/node_modules/js-tokens/index.js
|
|
46
46
|
var require_js_tokens = __commonJS({
|
|
47
|
-
"../../node_modules/strip-literal/node_modules/js-tokens/index.js"(exports
|
|
47
|
+
"../../node_modules/strip-literal/node_modules/js-tokens/index.js"(exports, module) {
|
|
48
48
|
var HashbangComment;
|
|
49
49
|
var Identifier;
|
|
50
50
|
var JSXIdentifier;
|
|
@@ -1782,36 +1782,36 @@ var init_magic_string_es = __esm({
|
|
|
1782
1782
|
|
|
1783
1783
|
// ../../node_modules/expect-type/dist/branding.js
|
|
1784
1784
|
var require_branding = __commonJS({
|
|
1785
|
-
"../../node_modules/expect-type/dist/branding.js"(exports
|
|
1786
|
-
Object.defineProperty(exports
|
|
1785
|
+
"../../node_modules/expect-type/dist/branding.js"(exports) {
|
|
1786
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1787
1787
|
}
|
|
1788
1788
|
});
|
|
1789
1789
|
|
|
1790
1790
|
// ../../node_modules/expect-type/dist/messages.js
|
|
1791
1791
|
var require_messages = __commonJS({
|
|
1792
|
-
"../../node_modules/expect-type/dist/messages.js"(exports
|
|
1793
|
-
Object.defineProperty(exports
|
|
1792
|
+
"../../node_modules/expect-type/dist/messages.js"(exports) {
|
|
1793
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1794
1794
|
}
|
|
1795
1795
|
});
|
|
1796
1796
|
|
|
1797
1797
|
// ../../node_modules/expect-type/dist/overloads.js
|
|
1798
1798
|
var require_overloads = __commonJS({
|
|
1799
|
-
"../../node_modules/expect-type/dist/overloads.js"(exports
|
|
1800
|
-
Object.defineProperty(exports
|
|
1799
|
+
"../../node_modules/expect-type/dist/overloads.js"(exports) {
|
|
1800
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1801
1801
|
}
|
|
1802
1802
|
});
|
|
1803
1803
|
|
|
1804
1804
|
// ../../node_modules/expect-type/dist/utils.js
|
|
1805
1805
|
var require_utils = __commonJS({
|
|
1806
|
-
"../../node_modules/expect-type/dist/utils.js"(exports
|
|
1807
|
-
Object.defineProperty(exports
|
|
1806
|
+
"../../node_modules/expect-type/dist/utils.js"(exports) {
|
|
1807
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1808
1808
|
}
|
|
1809
1809
|
});
|
|
1810
1810
|
|
|
1811
1811
|
// ../../node_modules/expect-type/dist/index.js
|
|
1812
1812
|
var require_dist = __commonJS({
|
|
1813
|
-
"../../node_modules/expect-type/dist/index.js"(exports
|
|
1814
|
-
var __createBinding = exports
|
|
1813
|
+
"../../node_modules/expect-type/dist/index.js"(exports) {
|
|
1814
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m4, k2, k22) {
|
|
1815
1815
|
if (k22 === void 0) k22 = k2;
|
|
1816
1816
|
var desc = Object.getOwnPropertyDescriptor(m4, k2);
|
|
1817
1817
|
if (!desc || ("get" in desc ? !m4.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -1824,15 +1824,15 @@ var require_dist = __commonJS({
|
|
|
1824
1824
|
if (k22 === void 0) k22 = k2;
|
|
1825
1825
|
o[k22] = m4[k2];
|
|
1826
1826
|
}));
|
|
1827
|
-
var __exportStar = exports
|
|
1827
|
+
var __exportStar = exports && exports.__exportStar || function(m4, exports2) {
|
|
1828
1828
|
for (var p5 in m4) if (p5 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p5)) __createBinding(exports2, m4, p5);
|
|
1829
1829
|
};
|
|
1830
|
-
Object.defineProperty(exports
|
|
1831
|
-
exports
|
|
1832
|
-
__exportStar(require_branding(), exports
|
|
1833
|
-
__exportStar(require_messages(), exports
|
|
1834
|
-
__exportStar(require_overloads(), exports
|
|
1835
|
-
__exportStar(require_utils(), exports
|
|
1830
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1831
|
+
exports.expectTypeOf = void 0;
|
|
1832
|
+
__exportStar(require_branding(), exports);
|
|
1833
|
+
__exportStar(require_messages(), exports);
|
|
1834
|
+
__exportStar(require_overloads(), exports);
|
|
1835
|
+
__exportStar(require_utils(), exports);
|
|
1836
1836
|
var fn2 = () => true;
|
|
1837
1837
|
var expectTypeOf2 = (_actual) => {
|
|
1838
1838
|
const nonFunctionProperties = [
|
|
@@ -1845,11 +1845,16 @@ var require_dist = __commonJS({
|
|
|
1845
1845
|
"thisParameter",
|
|
1846
1846
|
"instance",
|
|
1847
1847
|
"guards",
|
|
1848
|
-
"asserts"
|
|
1849
|
-
"branded"
|
|
1848
|
+
"asserts"
|
|
1850
1849
|
];
|
|
1850
|
+
function createBranded() {
|
|
1851
|
+
return {
|
|
1852
|
+
inspect: () => true,
|
|
1853
|
+
configure: () => createBranded(),
|
|
1854
|
+
toEqualTypeOf: fn2
|
|
1855
|
+
};
|
|
1856
|
+
}
|
|
1851
1857
|
const obj = {
|
|
1852
|
-
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
1853
1858
|
toBeAny: fn2,
|
|
1854
1859
|
toBeUnknown: fn2,
|
|
1855
1860
|
toBeNever: fn2,
|
|
@@ -1870,20 +1875,23 @@ var require_dist = __commonJS({
|
|
|
1870
1875
|
toBeConstructibleWith: fn2,
|
|
1871
1876
|
toMatchObjectType: fn2,
|
|
1872
1877
|
toExtend: fn2,
|
|
1873
|
-
map: exports
|
|
1874
|
-
toBeCallableWith: exports
|
|
1875
|
-
extract: exports
|
|
1876
|
-
exclude: exports
|
|
1877
|
-
pick: exports
|
|
1878
|
-
omit: exports
|
|
1879
|
-
toHaveProperty: exports
|
|
1880
|
-
parameter: exports
|
|
1878
|
+
map: exports.expectTypeOf,
|
|
1879
|
+
toBeCallableWith: exports.expectTypeOf,
|
|
1880
|
+
extract: exports.expectTypeOf,
|
|
1881
|
+
exclude: exports.expectTypeOf,
|
|
1882
|
+
pick: exports.expectTypeOf,
|
|
1883
|
+
omit: exports.expectTypeOf,
|
|
1884
|
+
toHaveProperty: exports.expectTypeOf,
|
|
1885
|
+
parameter: exports.expectTypeOf,
|
|
1886
|
+
get branded() {
|
|
1887
|
+
return createBranded();
|
|
1888
|
+
}
|
|
1881
1889
|
};
|
|
1882
1890
|
const getterProperties = nonFunctionProperties;
|
|
1883
|
-
getterProperties.forEach((prop) => Object.defineProperty(obj, prop, { get: () => (0, exports
|
|
1891
|
+
getterProperties.forEach((prop) => Object.defineProperty(obj, prop, { get: () => (0, exports.expectTypeOf)({}) }));
|
|
1884
1892
|
return obj;
|
|
1885
1893
|
};
|
|
1886
|
-
exports
|
|
1894
|
+
exports.expectTypeOf = expectTypeOf2;
|
|
1887
1895
|
}
|
|
1888
1896
|
});
|
|
1889
1897
|
|
|
@@ -10772,7 +10780,7 @@ for (const [name, as] of aliases) {
|
|
|
10772
10780
|
}
|
|
10773
10781
|
var used = [];
|
|
10774
10782
|
function use(fn2) {
|
|
10775
|
-
const exports
|
|
10783
|
+
const exports = {
|
|
10776
10784
|
use,
|
|
10777
10785
|
AssertionError,
|
|
10778
10786
|
util: utils_exports,
|
|
@@ -10783,10 +10791,10 @@ function use(fn2) {
|
|
|
10783
10791
|
...should_exports
|
|
10784
10792
|
};
|
|
10785
10793
|
if (!~used.indexOf(fn2)) {
|
|
10786
|
-
fn2(exports
|
|
10794
|
+
fn2(exports, utils_exports);
|
|
10787
10795
|
used.push(fn2);
|
|
10788
10796
|
}
|
|
10789
|
-
return exports
|
|
10797
|
+
return exports;
|
|
10790
10798
|
}
|
|
10791
10799
|
__name(use, "use");
|
|
10792
10800
|
|
|
@@ -16085,7 +16093,7 @@ var hasRequiredChaiSubset;
|
|
|
16085
16093
|
function requireChaiSubset() {
|
|
16086
16094
|
if (hasRequiredChaiSubset) return chaiSubset$1.exports;
|
|
16087
16095
|
hasRequiredChaiSubset = 1;
|
|
16088
|
-
(function(module, exports
|
|
16096
|
+
(function(module, exports) {
|
|
16089
16097
|
(function() {
|
|
16090
16098
|
(function(chaiSubset2) {
|
|
16091
16099
|
if (typeof commonjsRequire === "function" && true && true) {
|
|
@@ -16534,10 +16542,10 @@ var hasRequiredDeprecated;
|
|
|
16534
16542
|
function requireDeprecated() {
|
|
16535
16543
|
if (hasRequiredDeprecated) return deprecated;
|
|
16536
16544
|
hasRequiredDeprecated = 1;
|
|
16537
|
-
(function(exports
|
|
16538
|
-
exports
|
|
16545
|
+
(function(exports) {
|
|
16546
|
+
exports.wrap = function(func, msg) {
|
|
16539
16547
|
var wrapped = function() {
|
|
16540
|
-
exports
|
|
16548
|
+
exports.printWarning(msg);
|
|
16541
16549
|
return func.apply(this, arguments);
|
|
16542
16550
|
};
|
|
16543
16551
|
if (func.prototype) {
|
|
@@ -16545,10 +16553,10 @@ function requireDeprecated() {
|
|
|
16545
16553
|
}
|
|
16546
16554
|
return wrapped;
|
|
16547
16555
|
};
|
|
16548
|
-
exports
|
|
16556
|
+
exports.defaultMsg = function(packageName, funcName) {
|
|
16549
16557
|
return `${packageName}.${funcName} is deprecated and will be removed from the public API in a future version of ${packageName}.`;
|
|
16550
16558
|
};
|
|
16551
|
-
exports
|
|
16559
|
+
exports.printWarning = function(msg) {
|
|
16552
16560
|
if (typeof process === "object" && process.emitWarning) {
|
|
16553
16561
|
process.emitWarning(msg);
|
|
16554
16562
|
} else if (console.info) {
|
|
@@ -16687,7 +16695,7 @@ var hasRequiredTypeDetect;
|
|
|
16687
16695
|
function requireTypeDetect() {
|
|
16688
16696
|
if (hasRequiredTypeDetect) return typeDetect$1.exports;
|
|
16689
16697
|
hasRequiredTypeDetect = 1;
|
|
16690
|
-
(function(module, exports
|
|
16698
|
+
(function(module, exports) {
|
|
16691
16699
|
(function(global3, factory) {
|
|
16692
16700
|
module.exports = factory();
|
|
16693
16701
|
})(typeDetect, (function() {
|