veryfront 0.1.535 → 0.1.537
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/esm/deno.d.ts +1 -0
- package/esm/deno.js +5 -4
- package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts.map +1 -1
- package/esm/extensions/ext-sandbox-shell-tools/src/index.js +3 -1
- package/esm/src/agent/runtime/provider-tool-compat.d.ts.map +1 -1
- package/esm/src/agent/runtime/provider-tool-compat.js +39 -2
- package/esm/src/agent/testing/index.d.ts +2 -2
- package/esm/src/agent/testing/index.d.ts.map +1 -1
- package/esm/src/agent/testing/index.js +2 -2
- package/esm/src/tool/remote-mcp.js +3 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
- package/src/deno.js +5 -4
- package/src/deps/esm.sh/@types/react-dom@19.2.3/client.d.ts +1 -1
- package/src/deps/esm.sh/@types/react@19.2.3/global.d.ts +165 -0
- package/src/deps/esm.sh/@types/react@19.2.3/index.d.ts +4301 -0
- package/src/deps/esm.sh/react-dom@19.2.4/client.d.ts +1 -1
- package/src/extensions/ext-sandbox-shell-tools/src/index.ts +3 -1
- package/src/src/agent/runtime/provider-tool-compat.ts +48 -2
- package/src/src/agent/testing/index.ts +7 -0
- package/src/src/tool/remote-mcp.ts +4 -4
- package/src/src/utils/version-constant.ts +1 -1
package/esm/deno.d.ts
CHANGED
|
@@ -308,6 +308,7 @@ declare namespace _default {
|
|
|
308
308
|
"lint:core-deps": string;
|
|
309
309
|
"lint:dependency-boundaries": string;
|
|
310
310
|
"lint:extension-contracts": string;
|
|
311
|
+
"lint:extension-capabilities": string;
|
|
311
312
|
"lint:ban-console": string;
|
|
312
313
|
"lint:ban-deep-imports": string;
|
|
313
314
|
"lint:imports": string;
|
package/esm/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.537",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"workspace": [
|
|
@@ -331,8 +331,8 @@ export default {
|
|
|
331
331
|
"fmt": "deno fmt src/ cli/ react/",
|
|
332
332
|
"fmt:check": "deno fmt --check src/ cli/ react/",
|
|
333
333
|
"typecheck": "deno task generate && deno check src/index.ts cli/main.ts src/server/index.ts src/routing/api/index.ts src/rendering/index.ts src/platform/index.ts src/platform/adapters/index.ts src/build/index.ts src/build/production-build/index.ts src/transforms/index.ts src/config/index.ts src/utils/index.ts src/data/index.ts src/security/index.ts src/middleware/index.ts src/server/handlers/dev/index.ts src/server/handlers/request/api/index.ts src/rendering/cache/index.ts src/rendering/cache/stores/index.ts src/rendering/rsc/actions/index.ts src/html/index.ts src/modules/index.ts src/proxy/main.ts src/chat/index.ts src/markdown/index.ts src/mdx/index.ts src/fs/index.ts src/oauth/index.ts src/agent/index.ts src/agent/service/route-export.check.ts src/tool/index.ts src/workflow/index.ts src/prompt/index.ts src/resource/index.ts src/jobs/index.ts src/mcp/index.ts src/provider/index.ts",
|
|
334
|
-
"verify": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task docs:validate && deno task typecheck && deno task test && deno task test:e2e:binary",
|
|
335
|
-
"verify:quick": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task docs:validate && deno task typecheck",
|
|
334
|
+
"verify": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task lint:extension-capabilities && deno task docs:validate && deno task typecheck && deno task test && deno task test:e2e:binary",
|
|
335
|
+
"verify:quick": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task lint:extension-capabilities && deno task docs:validate && deno task typecheck",
|
|
336
336
|
"docs": "rm -rf docs/reference && deno run --allow-read --allow-write --allow-run scripts/docs/generate-api-reference.ts",
|
|
337
337
|
"docs:copy": "rm -rf ../../docs/docs/code/reference && cp -r docs/reference/ ../../docs/docs/code/reference/",
|
|
338
338
|
"docs:validate": "deno run --allow-read scripts/docs/validate-api-reference.ts",
|
|
@@ -342,6 +342,7 @@ export default {
|
|
|
342
342
|
"lint:core-deps": "deno run --allow-read scripts/lint/audit-core-deps.ts",
|
|
343
343
|
"lint:dependency-boundaries": "deno run --allow-read scripts/lint/audit-dependency-boundaries.ts",
|
|
344
344
|
"lint:extension-contracts": "deno run --allow-read --allow-env --allow-sys scripts/lint/audit-extension-contracts.ts",
|
|
345
|
+
"lint:extension-capabilities": "deno run --allow-read --allow-env --allow-sys scripts/lint/audit-extension-capabilities.ts",
|
|
345
346
|
"lint:ban-console": "deno run --allow-read scripts/lint/ban-console.ts",
|
|
346
347
|
"lint:ban-deep-imports": "deno run --allow-read scripts/lint/ban-deep-imports.ts",
|
|
347
348
|
"lint:imports": "deno run --allow-read scripts/lint/no-cross-boundary-relative-imports.ts",
|
|
@@ -355,7 +356,7 @@ export default {
|
|
|
355
356
|
"lint:wildcard-exports": "deno run --allow-read scripts/lint/ban-wildcard-exports.ts",
|
|
356
357
|
"lint:deps": "deno run --allow-read scripts/lint/audit-deps.ts",
|
|
357
358
|
"lint:barrel-jsdoc": "deno run --allow-read scripts/lint/check-barrel-jsdoc.ts",
|
|
358
|
-
"test:scripts": "deno test --config=scripts/test.deno.json --no-check --allow-read --allow-write scripts/build/generate-sbom.test.ts scripts/build/npm-react-shims.test.ts scripts/lint/audit-core-deps.test.ts scripts/lint/audit-dependency-boundaries.test.ts scripts/lint/audit-extension-contracts.test.ts scripts/lint/audit-deps.test.ts scripts/security/audit-npm.test.ts scripts/security/submit-dependency-snapshot.test.ts",
|
|
359
|
+
"test:scripts": "deno test --config=scripts/test.deno.json --no-check --allow-read --allow-write scripts/build/generate-sbom.test.ts scripts/build/npm-react-shims.test.ts scripts/lint/audit-core-deps.test.ts scripts/lint/audit-dependency-boundaries.test.ts scripts/lint/audit-extension-capabilities.test.ts scripts/lint/audit-extension-contracts.test.ts scripts/lint/audit-deps.test.ts scripts/security/audit-npm.test.ts scripts/security/submit-dependency-snapshot.test.ts",
|
|
359
360
|
"test:cross-runtime": "deno run --allow-all src/platform/compat/cross-runtime.test.ts",
|
|
360
361
|
"test:node": "node ./tests/node/run-tests.mjs 'src/**/*.test.ts'",
|
|
361
362
|
"test:bun": "node ./tests/bun/run-tests.mjs src/",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-sandbox-shell-tools/src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAE/B,MAAM,0CAA0C,CAAC;AAGlD,KAAK,eAAe,GAAG,CACrB,KAAK,EAAE,4BAA4B,KAChC,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAC,CAAC;AAEjD,wBAAgB,+BAA+B,CAC7C,kBAAkB,EAAE,eAAe,GAClC,yBAAyB,CAE3B;AAED,QAAA,MAAM,QAAQ,2BAAkD,CAAC;AAEjE,QAAA,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-sandbox-shell-tools/src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAE/B,MAAM,0CAA0C,CAAC;AAGlD,KAAK,eAAe,GAAG,CACrB,KAAK,EAAE,4BAA4B,KAChC,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAAC,CAAC;AAEjD,wBAAgB,+BAA+B,CAC7C,kBAAkB,EAAE,eAAe,GAClC,yBAAyB,CAE3B;AAED,QAAA,MAAM,QAAQ,2BAAkD,CAAC;AAEjE,QAAA,MAAM,oBAAoB,EAAE,gBAa1B,CAAC;AAEH,eAAe,oBAAoB,CAAC;AACpC,OAAO,EAAE,QAAQ,IAAI,mCAAmC,EAAE,CAAC"}
|
|
@@ -15,7 +15,9 @@ const extSandboxShellTools = () => ({
|
|
|
15
15
|
contracts: {
|
|
16
16
|
provides: [SandboxShellToolsProviderName],
|
|
17
17
|
},
|
|
18
|
-
capabilities: [
|
|
18
|
+
capabilities: [
|
|
19
|
+
{ type: "sandbox:execute", tools: ["bash"] },
|
|
20
|
+
],
|
|
19
21
|
setup(ctx) {
|
|
20
22
|
ctx.provide(SandboxShellToolsProviderName, provider);
|
|
21
23
|
ctx.logger.info("[ext-sandbox-shell-tools] Sandbox shell tools provider registered");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-tool-compat.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/provider-tool-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,MAAM,0BAA0B,GAClC,WAAW,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;
|
|
1
|
+
{"version":3,"file":"provider-tool-compat.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/provider-tool-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,MAAM,0BAA0B,GAClC,WAAW,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAsBD,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAsB1E;AAeD,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,OAAO,GAAE,yBAA8B,GACtC,MAAM,EAAE,CAsBV;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,OAAO,GAAE,yBAA8B,GACtC,cAAc,EAAE,CAclB;AAuKD,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,IAAI,CAAC,yBAAyB,EAAE,OAAO,CAAM,GACrD,UAAU,CAWZ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const OPENAI_MAX_TOOLS = 128;
|
|
2
|
+
const PROVIDER_TOOL_PROPERTY_KEY_PATTERN = /^[a-zA-Z0-9_.-]{1,64}$/;
|
|
2
3
|
const GOOGLE_UNSUPPORTED_SCHEMA_KEYS = new Set([
|
|
3
4
|
"$id",
|
|
4
5
|
"$ref",
|
|
@@ -25,7 +26,7 @@ export function getProviderToolProfile(model) {
|
|
|
25
26
|
return { provider: "google", sanitizeSchema: true };
|
|
26
27
|
}
|
|
27
28
|
if (provider === "anthropic") {
|
|
28
|
-
return { provider: "anthropic", sanitizeSchema:
|
|
29
|
+
return { provider: "anthropic", sanitizeSchema: true };
|
|
29
30
|
}
|
|
30
31
|
if (provider === "moonshot") {
|
|
31
32
|
return { provider: "moonshot", sanitizeSchema: false };
|
|
@@ -132,6 +133,38 @@ function getGoogleCompatibleSchemaType(type) {
|
|
|
132
133
|
const nonNullTypes = type.filter((value) => value !== "null");
|
|
133
134
|
return nonNullTypes.length === 1 ? nonNullTypes[0] : undefined;
|
|
134
135
|
}
|
|
136
|
+
function sanitizeProviderSchemaPropertyKeys(value) {
|
|
137
|
+
if (Array.isArray(value)) {
|
|
138
|
+
return value.map((item) => sanitizeProviderSchemaPropertyKeys(item));
|
|
139
|
+
}
|
|
140
|
+
if (!isPlainRecord(value)) {
|
|
141
|
+
return value;
|
|
142
|
+
}
|
|
143
|
+
const sanitized = {};
|
|
144
|
+
const rawProperties = isPlainRecord(value.properties) ? value.properties : undefined;
|
|
145
|
+
const retainedPropertyNames = rawProperties ? new Set() : undefined;
|
|
146
|
+
for (const [key, child] of Object.entries(value)) {
|
|
147
|
+
if (key === "properties" && rawProperties) {
|
|
148
|
+
const properties = {};
|
|
149
|
+
for (const [propertyName, propertySchema] of Object.entries(rawProperties)) {
|
|
150
|
+
if (!PROVIDER_TOOL_PROPERTY_KEY_PATTERN.test(propertyName))
|
|
151
|
+
continue;
|
|
152
|
+
retainedPropertyNames?.add(propertyName);
|
|
153
|
+
properties[propertyName] = sanitizeProviderSchemaPropertyKeys(propertySchema);
|
|
154
|
+
}
|
|
155
|
+
sanitized.properties = properties;
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
if (key === "required" && Array.isArray(child)) {
|
|
159
|
+
sanitized.required = retainedPropertyNames
|
|
160
|
+
? child.filter((item) => typeof item === "string" && retainedPropertyNames.has(item))
|
|
161
|
+
: child.filter((item) => typeof item === "string");
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
sanitized[key] = sanitizeProviderSchemaPropertyKeys(child);
|
|
165
|
+
}
|
|
166
|
+
return sanitized;
|
|
167
|
+
}
|
|
135
168
|
function sanitizeGoogleSchemaValue(value) {
|
|
136
169
|
if (Array.isArray(value)) {
|
|
137
170
|
return value.map((item) => sanitizeGoogleSchemaValue(item));
|
|
@@ -190,5 +223,9 @@ export function sanitizeProviderToolSchema(schema, options = {}) {
|
|
|
190
223
|
const profile = getProviderToolProfile(options.model);
|
|
191
224
|
if (!profile.sanitizeSchema)
|
|
192
225
|
return schema;
|
|
193
|
-
|
|
226
|
+
const propertyKeySafeSchema = sanitizeProviderSchemaPropertyKeys(schema);
|
|
227
|
+
if (profile.provider === "google") {
|
|
228
|
+
return sanitizeGoogleSchemaValue(propertyKeySafeSchema);
|
|
229
|
+
}
|
|
230
|
+
return propertyKeySafeSchema;
|
|
194
231
|
}
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import "../../../_dnt.polyfills.js";
|
|
7
7
|
export { assertCompleted, assertContains, assertToolCalled, printTestResults, testAgent, type TestCase, type TestResult, type TestSuite, } from "./agent-tester.js";
|
|
8
|
-
export { assertCompleted as assertDurableRunCanaryCompleted, assertNoMalformedCreateFileToolCalls, collectAssistantText, createDurableRunCanaryApiClient, createDurableRunCanaryRunner, DEFAULT_DURABLE_RUN_CANARY_TIMEOUT_MS, type DurableRunCanaryApiClient, type DurableRunCanaryApiConfig, type DurableRunCanaryCase, type DurableRunCanaryCreateRootRunInput, type DurableRunCanaryEnvironment, type DurableRunCanaryMessage, type DurableRunCanaryPreparedCase, type DurableRunCanaryResult, type DurableRunCanaryRunnerConfig, durableRunCanaryRunnerInternals, type DurableRunCanaryRunSummary, type DurableRunCanarySendUserMessageInput, type DurableRunCanaryStartRunInput, findAssistantMessage, getDurableRunCanaryMessageSchema, parseDurableRunCanaryRunSummary, resolveDurableRunCanaryEnvironment, stringifyUnknown, } from "./durable-run-canaries/index.js";
|
|
9
|
-
export { buildFailureSuffix, buildLiveEvalCaseMetadata, type BuildLiveEvalCaseMetadataInput, buildLiveEvalCaseTagSummary, buildLiveEvalRequestBody, type BuildLiveEvalRequestBodyInput, buildLiveEvalRuntimeSummary, buildLiveEvalStatusSummary, buildProgressLine, buildRuntimePerformanceSummary, cancelLiveEvalInputRequest, containsOrderedSubsequence, containsSkillLoad, countStepStartedEvents, createFailedEvalResult, createLiveEvalApiClient, createLiveEvalCaseSupport, createLiveEvalConversation, createLiveEvalProjectUploadFixture, createLiveEvalRelease, createPassedEvalResult, createPlainTextPdf, createSkippedEvalResult, DEFAULT_LIVE_EVAL_AREA_TAG_RULES, DEFAULT_LIVE_EVAL_ENDPOINT, DEFAULT_LIVE_EVAL_OPTIONAL_JUDGE_CASE_PREFIXES, deleteLiveEvalConversation, deleteLiveEvalProjectFile, evaluateRuntimeConfidenceEnv, getLiveEvalProjectFile, hasEveryLiveEvalTag, hasFinished, listOpenLiveEvalInputRequests, type LiveEvalApiClient, type LiveEvalApiContext, type LiveEvalCase, type LiveEvalCaseMetadata, type LiveEvalCaseMetadataOptions, type LiveEvalCaseSelectionInput, type LiveEvalCaseSurface, type LiveEvalCaseTagRule, type LiveEvalContext, type LiveEvalConversationInput, type LiveEvalCreateConversationInput, type LiveEvalCreateReleaseInput, type LiveEvalEnvironment, type LiveEvalInputRequestInput, type LiveEvalInputRequestRecord, type LiveEvalInputResponseValues, type LiveEvalProjectFile, type LiveEvalProjectFileInput, type LiveEvalProjectFileReaderInput, type LiveEvalProjectUploadFixtureInput, type LiveEvalRequestBody, type LiveEvalRequestTimeoutInput, type LiveEvalResultForPerformance, type LiveEvalResultForReport, type LiveEvalResultRecord, type LiveEvalRunnerConfig, liveEvalRunnerInternals, type LiveEvalRuntime, type LiveEvalSubmitInputResponseInput, type LiveEvalWaitForOpenInputRequestInput, type PreparedLiveEvalInput, printRuntimeConfidencePreflight, resolveLiveEvalEnvironment, resolveLiveEvalRequestedCaseIds, type RuntimeConfidencePreflightResult, type RuntimePerformanceSummary, selectLiveEvalCases, submitLiveEvalInputResponse, waitForOpenLiveEvalInputRequest, withLiveEvalMetadata, } from "./live-evals/index.js";
|
|
8
|
+
export { assertCompleted as assertDurableRunCanaryCompleted, assertNoMalformedCreateFileToolCalls, collectAssistantText, createDurableRunCanaryApiClient, createDurableRunCanaryRunner, DEFAULT_DURABLE_RUN_CANARY_TIMEOUT_MS, type DurableRunCanaryApiClient, type DurableRunCanaryApiConfig, type DurableRunCanaryCase, type DurableRunCanaryCliCaseFactoryInput, type DurableRunCanaryCreateRootRunInput, type DurableRunCanaryEnvironment, type DurableRunCanaryMessage, type DurableRunCanaryPreparedCase, type DurableRunCanaryResult, type DurableRunCanaryRunnerConfig, durableRunCanaryRunnerInternals, type DurableRunCanaryRunSummary, type DurableRunCanarySendUserMessageInput, type DurableRunCanaryStartRunInput, findAssistantMessage, getDurableRunCanaryMessageSchema, parseDurableRunCanaryRunSummary, resolveDurableRunCanaryEnvironment, runDurableRunCanaryCli, type RunDurableRunCanaryCliInput, stringifyUnknown, } from "./durable-run-canaries/index.js";
|
|
9
|
+
export { buildFailureSuffix, buildLiveEvalCaseMetadata, type BuildLiveEvalCaseMetadataInput, buildLiveEvalCaseTagSummary, buildLiveEvalRequestBody, type BuildLiveEvalRequestBodyInput, buildLiveEvalRuntimeSummary, buildLiveEvalStatusSummary, buildProgressLine, buildRuntimePerformanceSummary, cancelLiveEvalInputRequest, containsOrderedSubsequence, containsSkillLoad, countStepStartedEvents, createFailedEvalResult, createLiveEvalApiClient, createLiveEvalCaseSupport, createLiveEvalConversation, createLiveEvalProjectUploadFixture, createLiveEvalRelease, createPassedEvalResult, createPlainTextPdf, createSkippedEvalResult, DEFAULT_LIVE_EVAL_AREA_TAG_RULES, DEFAULT_LIVE_EVAL_ENDPOINT, DEFAULT_LIVE_EVAL_OPTIONAL_JUDGE_CASE_PREFIXES, deleteLiveEvalConversation, deleteLiveEvalProjectFile, evaluateRuntimeConfidenceEnv, getLiveEvalProjectFile, hasEveryLiveEvalTag, hasFinished, listOpenLiveEvalInputRequests, type LiveEvalApiClient, type LiveEvalApiContext, type LiveEvalCase, type LiveEvalCaseMetadata, type LiveEvalCaseMetadataOptions, type LiveEvalCaseSelectionInput, type LiveEvalCaseSurface, type LiveEvalCaseTagRule, type LiveEvalCliCaseFactoryInput, type LiveEvalCliCaseGroups, type LiveEvalContext, type LiveEvalConversationInput, type LiveEvalCreateConversationInput, type LiveEvalCreateReleaseInput, type LiveEvalEnvironment, type LiveEvalInputRequestInput, type LiveEvalInputRequestRecord, type LiveEvalInputResponseValues, type LiveEvalProjectFile, type LiveEvalProjectFileInput, type LiveEvalProjectFileReaderInput, type LiveEvalProjectUploadFixtureInput, type LiveEvalRequestBody, type LiveEvalRequestTimeoutInput, type LiveEvalResultForPerformance, type LiveEvalResultForReport, type LiveEvalResultRecord, type LiveEvalRunnerConfig, liveEvalRunnerInternals, type LiveEvalRuntime, type LiveEvalSubmitInputResponseInput, type LiveEvalWaitForOpenInputRequestInput, type PreparedLiveEvalInput, printRuntimeConfidencePreflight, resolveLiveEvalEnvironment, resolveLiveEvalRequestedCaseIds, runLiveEvalCli, type RunLiveEvalCliInput, type RuntimeConfidencePreflightResult, type RuntimePerformanceSummary, selectLiveEvalCases, submitLiveEvalInputResponse, waitForOpenLiveEvalInputRequest, withLiveEvalMetadata, } from "./live-evals/index.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/testing/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,4BAA4B,CAAC;AAGpC,OAAO,EACL,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,eAAe,IAAI,+BAA+B,EAClD,oCAAoC,EACpC,oBAAoB,EACpB,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,+BAA+B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,6BAA6B,EAClC,oBAAoB,EACpB,gCAAgC,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,gBAAgB,GACjB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,KAAK,8BAA8B,EACnC,2BAA2B,EAC3B,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,2BAA2B,EAC3B,0BAA0B,EAC1B,iBAAiB,EACjB,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,kCAAkC,EAClC,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,8CAA8C,EAC9C,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,6BAA6B,EAC7B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,qBAAqB,EAC1B,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/testing/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,4BAA4B,CAAC;AAGpC,OAAO,EACL,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,eAAe,IAAI,+BAA+B,EAClD,oCAAoC,EACpC,oBAAoB,EACpB,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,mCAAmC,EACxC,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,+BAA+B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,6BAA6B,EAClC,oBAAoB,EACpB,gCAAgC,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,gBAAgB,GACjB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,KAAK,8BAA8B,EACnC,2BAA2B,EAC3B,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,2BAA2B,EAC3B,0BAA0B,EAC1B,iBAAiB,EACjB,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,kCAAkC,EAClC,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,8CAA8C,EAC9C,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,6BAA6B,EAC7B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,qBAAqB,EAC1B,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,EAC/B,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC"}
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import "../../../_dnt.polyfills.js";
|
|
7
7
|
export { assertCompleted, assertContains, assertToolCalled, printTestResults, testAgent, } from "./agent-tester.js";
|
|
8
|
-
export { assertCompleted as assertDurableRunCanaryCompleted, assertNoMalformedCreateFileToolCalls, collectAssistantText, createDurableRunCanaryApiClient, createDurableRunCanaryRunner, DEFAULT_DURABLE_RUN_CANARY_TIMEOUT_MS, durableRunCanaryRunnerInternals, findAssistantMessage, getDurableRunCanaryMessageSchema, parseDurableRunCanaryRunSummary, resolveDurableRunCanaryEnvironment, stringifyUnknown, } from "./durable-run-canaries/index.js";
|
|
9
|
-
export { buildFailureSuffix, buildLiveEvalCaseMetadata, buildLiveEvalCaseTagSummary, buildLiveEvalRequestBody, buildLiveEvalRuntimeSummary, buildLiveEvalStatusSummary, buildProgressLine, buildRuntimePerformanceSummary, cancelLiveEvalInputRequest, containsOrderedSubsequence, containsSkillLoad, countStepStartedEvents, createFailedEvalResult, createLiveEvalApiClient, createLiveEvalCaseSupport, createLiveEvalConversation, createLiveEvalProjectUploadFixture, createLiveEvalRelease, createPassedEvalResult, createPlainTextPdf, createSkippedEvalResult, DEFAULT_LIVE_EVAL_AREA_TAG_RULES, DEFAULT_LIVE_EVAL_ENDPOINT, DEFAULT_LIVE_EVAL_OPTIONAL_JUDGE_CASE_PREFIXES, deleteLiveEvalConversation, deleteLiveEvalProjectFile, evaluateRuntimeConfidenceEnv, getLiveEvalProjectFile, hasEveryLiveEvalTag, hasFinished, listOpenLiveEvalInputRequests, liveEvalRunnerInternals, printRuntimeConfidencePreflight, resolveLiveEvalEnvironment, resolveLiveEvalRequestedCaseIds, selectLiveEvalCases, submitLiveEvalInputResponse, waitForOpenLiveEvalInputRequest, withLiveEvalMetadata, } from "./live-evals/index.js";
|
|
8
|
+
export { assertCompleted as assertDurableRunCanaryCompleted, assertNoMalformedCreateFileToolCalls, collectAssistantText, createDurableRunCanaryApiClient, createDurableRunCanaryRunner, DEFAULT_DURABLE_RUN_CANARY_TIMEOUT_MS, durableRunCanaryRunnerInternals, findAssistantMessage, getDurableRunCanaryMessageSchema, parseDurableRunCanaryRunSummary, resolveDurableRunCanaryEnvironment, runDurableRunCanaryCli, stringifyUnknown, } from "./durable-run-canaries/index.js";
|
|
9
|
+
export { buildFailureSuffix, buildLiveEvalCaseMetadata, buildLiveEvalCaseTagSummary, buildLiveEvalRequestBody, buildLiveEvalRuntimeSummary, buildLiveEvalStatusSummary, buildProgressLine, buildRuntimePerformanceSummary, cancelLiveEvalInputRequest, containsOrderedSubsequence, containsSkillLoad, countStepStartedEvents, createFailedEvalResult, createLiveEvalApiClient, createLiveEvalCaseSupport, createLiveEvalConversation, createLiveEvalProjectUploadFixture, createLiveEvalRelease, createPassedEvalResult, createPlainTextPdf, createSkippedEvalResult, DEFAULT_LIVE_EVAL_AREA_TAG_RULES, DEFAULT_LIVE_EVAL_ENDPOINT, DEFAULT_LIVE_EVAL_OPTIONAL_JUDGE_CASE_PREFIXES, deleteLiveEvalConversation, deleteLiveEvalProjectFile, evaluateRuntimeConfidenceEnv, getLiveEvalProjectFile, hasEveryLiveEvalTag, hasFinished, listOpenLiveEvalInputRequests, liveEvalRunnerInternals, printRuntimeConfidencePreflight, resolveLiveEvalEnvironment, resolveLiveEvalRequestedCaseIds, runLiveEvalCli, selectLiveEvalCases, submitLiveEvalInputResponse, waitForOpenLiveEvalInputRequest, withLiveEvalMetadata, } from "./live-evals/index.js";
|
|
@@ -188,12 +188,12 @@ function normalizeCallToolResult(result) {
|
|
|
188
188
|
const rawContent = result.content;
|
|
189
189
|
if (Array.isArray(rawContent)) {
|
|
190
190
|
const text = joinCallToolText(rawContent.filter((item) => isRecord(item)));
|
|
191
|
-
if (hasToolExecutionErrorMarker(result)) {
|
|
192
|
-
return parseJsonText(text) ?? { error: "tool_error", message: text };
|
|
193
|
-
}
|
|
194
191
|
if ("structuredContent" in result) {
|
|
195
192
|
return result.structuredContent;
|
|
196
193
|
}
|
|
194
|
+
if (hasToolExecutionErrorMarker(result)) {
|
|
195
|
+
return parseJsonText(text) ?? { error: "tool_error", message: text };
|
|
196
|
+
}
|
|
197
197
|
return parseJsonText(text) ?? text;
|
|
198
198
|
}
|
|
199
199
|
if ("structuredContent" in result) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.537";
|
|
2
2
|
//# sourceMappingURL=version-constant.d.ts.map
|
package/package.json
CHANGED
package/src/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.537",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"workspace": [
|
|
@@ -331,8 +331,8 @@ export default {
|
|
|
331
331
|
"fmt": "deno fmt src/ cli/ react/",
|
|
332
332
|
"fmt:check": "deno fmt --check src/ cli/ react/",
|
|
333
333
|
"typecheck": "deno task generate && deno check src/index.ts cli/main.ts src/server/index.ts src/routing/api/index.ts src/rendering/index.ts src/platform/index.ts src/platform/adapters/index.ts src/build/index.ts src/build/production-build/index.ts src/transforms/index.ts src/config/index.ts src/utils/index.ts src/data/index.ts src/security/index.ts src/middleware/index.ts src/server/handlers/dev/index.ts src/server/handlers/request/api/index.ts src/rendering/cache/index.ts src/rendering/cache/stores/index.ts src/rendering/rsc/actions/index.ts src/html/index.ts src/modules/index.ts src/proxy/main.ts src/chat/index.ts src/markdown/index.ts src/mdx/index.ts src/fs/index.ts src/oauth/index.ts src/agent/index.ts src/agent/service/route-export.check.ts src/tool/index.ts src/workflow/index.ts src/prompt/index.ts src/resource/index.ts src/jobs/index.ts src/mcp/index.ts src/provider/index.ts",
|
|
334
|
-
"verify": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task docs:validate && deno task typecheck && deno task test && deno task test:e2e:binary",
|
|
335
|
-
"verify:quick": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task docs:validate && deno task typecheck",
|
|
334
|
+
"verify": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task lint:extension-capabilities && deno task docs:validate && deno task typecheck && deno task test && deno task test:e2e:binary",
|
|
335
|
+
"verify:quick": "deno task generate && deno fmt --check src/ cli/ react/ && DENO_NO_PACKAGE_JSON=1 deno lint src/ cli/ react/ && deno task lint:style && deno task lint:cli-boundary && deno task lint:wildcard-exports && deno task lint:barrel-jsdoc && deno task lint:ban-zod && deno task lint:core-deps && deno task lint:dependency-boundaries && deno task lint:extension-contracts && deno task lint:extension-capabilities && deno task docs:validate && deno task typecheck",
|
|
336
336
|
"docs": "rm -rf docs/reference && deno run --allow-read --allow-write --allow-run scripts/docs/generate-api-reference.ts",
|
|
337
337
|
"docs:copy": "rm -rf ../../docs/docs/code/reference && cp -r docs/reference/ ../../docs/docs/code/reference/",
|
|
338
338
|
"docs:validate": "deno run --allow-read scripts/docs/validate-api-reference.ts",
|
|
@@ -342,6 +342,7 @@ export default {
|
|
|
342
342
|
"lint:core-deps": "deno run --allow-read scripts/lint/audit-core-deps.ts",
|
|
343
343
|
"lint:dependency-boundaries": "deno run --allow-read scripts/lint/audit-dependency-boundaries.ts",
|
|
344
344
|
"lint:extension-contracts": "deno run --allow-read --allow-env --allow-sys scripts/lint/audit-extension-contracts.ts",
|
|
345
|
+
"lint:extension-capabilities": "deno run --allow-read --allow-env --allow-sys scripts/lint/audit-extension-capabilities.ts",
|
|
345
346
|
"lint:ban-console": "deno run --allow-read scripts/lint/ban-console.ts",
|
|
346
347
|
"lint:ban-deep-imports": "deno run --allow-read scripts/lint/ban-deep-imports.ts",
|
|
347
348
|
"lint:imports": "deno run --allow-read scripts/lint/no-cross-boundary-relative-imports.ts",
|
|
@@ -355,7 +356,7 @@ export default {
|
|
|
355
356
|
"lint:wildcard-exports": "deno run --allow-read scripts/lint/ban-wildcard-exports.ts",
|
|
356
357
|
"lint:deps": "deno run --allow-read scripts/lint/audit-deps.ts",
|
|
357
358
|
"lint:barrel-jsdoc": "deno run --allow-read scripts/lint/check-barrel-jsdoc.ts",
|
|
358
|
-
"test:scripts": "deno test --config=scripts/test.deno.json --no-check --allow-read --allow-write scripts/build/generate-sbom.test.ts scripts/build/npm-react-shims.test.ts scripts/lint/audit-core-deps.test.ts scripts/lint/audit-dependency-boundaries.test.ts scripts/lint/audit-extension-contracts.test.ts scripts/lint/audit-deps.test.ts scripts/security/audit-npm.test.ts scripts/security/submit-dependency-snapshot.test.ts",
|
|
359
|
+
"test:scripts": "deno test --config=scripts/test.deno.json --no-check --allow-read --allow-write scripts/build/generate-sbom.test.ts scripts/build/npm-react-shims.test.ts scripts/lint/audit-core-deps.test.ts scripts/lint/audit-dependency-boundaries.test.ts scripts/lint/audit-extension-capabilities.test.ts scripts/lint/audit-extension-contracts.test.ts scripts/lint/audit-deps.test.ts scripts/security/audit-npm.test.ts scripts/security/submit-dependency-snapshot.test.ts",
|
|
359
360
|
"test:cross-runtime": "deno run --allow-all src/platform/compat/cross-runtime.test.ts",
|
|
360
361
|
"test:node": "node ./tests/node/run-tests.mjs 'src/**/*.test.ts'",
|
|
361
362
|
"test:bun": "node ./tests/bun/run-tests.mjs src/",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// See https://github.com/facebook/react/blob/main/packages/react-dom/client.js to see how the exports are declared,
|
|
6
6
|
|
|
7
|
-
import React = require("https://esm.sh/@types/react@19.2.
|
|
7
|
+
import React = require("https://esm.sh/@types/react@19.2.3/index.d.ts");
|
|
8
8
|
|
|
9
9
|
export {};
|
|
10
10
|
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
React projects that don't include the DOM library need these interfaces to compile.
|
|
3
|
+
React Native applications use React, but there is no DOM available. The JavaScript runtime
|
|
4
|
+
is ES6/ES2015 only. These definitions allow such projects to compile with only `--lib ES6`.
|
|
5
|
+
|
|
6
|
+
Warning: all of these interfaces are empty. If you want type definitions for various properties
|
|
7
|
+
(such as HTMLInputElement.prototype.value), you need to add `--lib DOM` (via command line or tsconfig.json).
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
interface Event {}
|
|
11
|
+
interface AnimationEvent extends Event {}
|
|
12
|
+
interface ClipboardEvent extends Event {}
|
|
13
|
+
interface CompositionEvent extends Event {}
|
|
14
|
+
interface DragEvent extends Event {}
|
|
15
|
+
interface FocusEvent extends Event {}
|
|
16
|
+
interface InputEvent extends Event {}
|
|
17
|
+
interface KeyboardEvent extends Event {}
|
|
18
|
+
interface MouseEvent extends Event {}
|
|
19
|
+
interface TouchEvent extends Event {}
|
|
20
|
+
interface PointerEvent extends Event {}
|
|
21
|
+
interface ToggleEvent extends Event {}
|
|
22
|
+
interface TransitionEvent extends Event {}
|
|
23
|
+
interface UIEvent extends Event {}
|
|
24
|
+
interface WheelEvent extends Event {}
|
|
25
|
+
|
|
26
|
+
interface EventTarget {}
|
|
27
|
+
interface Document {}
|
|
28
|
+
interface DataTransfer {}
|
|
29
|
+
interface StyleMedia {}
|
|
30
|
+
|
|
31
|
+
interface Element {}
|
|
32
|
+
interface DocumentFragment {}
|
|
33
|
+
|
|
34
|
+
interface HTMLElement extends Element {}
|
|
35
|
+
interface HTMLAnchorElement extends HTMLElement {}
|
|
36
|
+
interface HTMLAreaElement extends HTMLElement {}
|
|
37
|
+
interface HTMLAudioElement extends HTMLElement {}
|
|
38
|
+
interface HTMLBaseElement extends HTMLElement {}
|
|
39
|
+
interface HTMLBodyElement extends HTMLElement {}
|
|
40
|
+
interface HTMLBRElement extends HTMLElement {}
|
|
41
|
+
interface HTMLButtonElement extends HTMLElement {}
|
|
42
|
+
interface HTMLCanvasElement extends HTMLElement {}
|
|
43
|
+
interface HTMLDataElement extends HTMLElement {}
|
|
44
|
+
interface HTMLDataListElement extends HTMLElement {}
|
|
45
|
+
interface HTMLDetailsElement extends HTMLElement {}
|
|
46
|
+
interface HTMLDialogElement extends HTMLElement {}
|
|
47
|
+
interface HTMLDivElement extends HTMLElement {}
|
|
48
|
+
interface HTMLDListElement extends HTMLElement {}
|
|
49
|
+
interface HTMLEmbedElement extends HTMLElement {}
|
|
50
|
+
interface HTMLFieldSetElement extends HTMLElement {}
|
|
51
|
+
interface HTMLFormElement extends HTMLElement {}
|
|
52
|
+
interface HTMLHeadingElement extends HTMLElement {}
|
|
53
|
+
interface HTMLHeadElement extends HTMLElement {}
|
|
54
|
+
interface HTMLHRElement extends HTMLElement {}
|
|
55
|
+
interface HTMLHtmlElement extends HTMLElement {}
|
|
56
|
+
interface HTMLIFrameElement extends HTMLElement {}
|
|
57
|
+
interface HTMLImageElement extends HTMLElement {}
|
|
58
|
+
interface HTMLInputElement extends HTMLElement {}
|
|
59
|
+
interface HTMLModElement extends HTMLElement {}
|
|
60
|
+
interface HTMLLabelElement extends HTMLElement {}
|
|
61
|
+
interface HTMLLegendElement extends HTMLElement {}
|
|
62
|
+
interface HTMLLIElement extends HTMLElement {}
|
|
63
|
+
interface HTMLLinkElement extends HTMLElement {}
|
|
64
|
+
interface HTMLMapElement extends HTMLElement {}
|
|
65
|
+
interface HTMLMetaElement extends HTMLElement {}
|
|
66
|
+
interface HTMLMeterElement extends HTMLElement {}
|
|
67
|
+
interface HTMLObjectElement extends HTMLElement {}
|
|
68
|
+
interface HTMLOListElement extends HTMLElement {}
|
|
69
|
+
interface HTMLOptGroupElement extends HTMLElement {}
|
|
70
|
+
interface HTMLOptionElement extends HTMLElement {}
|
|
71
|
+
interface HTMLOutputElement extends HTMLElement {}
|
|
72
|
+
interface HTMLParagraphElement extends HTMLElement {}
|
|
73
|
+
interface HTMLParamElement extends HTMLElement {}
|
|
74
|
+
interface HTMLPreElement extends HTMLElement {}
|
|
75
|
+
interface HTMLProgressElement extends HTMLElement {}
|
|
76
|
+
interface HTMLQuoteElement extends HTMLElement {}
|
|
77
|
+
interface HTMLSlotElement extends HTMLElement {}
|
|
78
|
+
interface HTMLScriptElement extends HTMLElement {}
|
|
79
|
+
interface HTMLSelectElement extends HTMLElement {}
|
|
80
|
+
interface HTMLSourceElement extends HTMLElement {}
|
|
81
|
+
interface HTMLSpanElement extends HTMLElement {}
|
|
82
|
+
interface HTMLStyleElement extends HTMLElement {}
|
|
83
|
+
interface HTMLTableElement extends HTMLElement {}
|
|
84
|
+
interface HTMLTableColElement extends HTMLElement {}
|
|
85
|
+
interface HTMLTableDataCellElement extends HTMLElement {}
|
|
86
|
+
interface HTMLTableHeaderCellElement extends HTMLElement {}
|
|
87
|
+
interface HTMLTableRowElement extends HTMLElement {}
|
|
88
|
+
interface HTMLTableSectionElement extends HTMLElement {}
|
|
89
|
+
interface HTMLTemplateElement extends HTMLElement {}
|
|
90
|
+
interface HTMLTextAreaElement extends HTMLElement {}
|
|
91
|
+
interface HTMLTimeElement extends HTMLElement {}
|
|
92
|
+
interface HTMLTitleElement extends HTMLElement {}
|
|
93
|
+
interface HTMLTrackElement extends HTMLElement {}
|
|
94
|
+
interface HTMLUListElement extends HTMLElement {}
|
|
95
|
+
interface HTMLVideoElement extends HTMLElement {}
|
|
96
|
+
interface HTMLWebViewElement extends HTMLElement {}
|
|
97
|
+
|
|
98
|
+
interface SVGElement extends Element {}
|
|
99
|
+
interface SVGSVGElement extends SVGElement {}
|
|
100
|
+
interface SVGCircleElement extends SVGElement {}
|
|
101
|
+
interface SVGClipPathElement extends SVGElement {}
|
|
102
|
+
interface SVGDefsElement extends SVGElement {}
|
|
103
|
+
interface SVGDescElement extends SVGElement {}
|
|
104
|
+
interface SVGEllipseElement extends SVGElement {}
|
|
105
|
+
interface SVGFEBlendElement extends SVGElement {}
|
|
106
|
+
interface SVGFEColorMatrixElement extends SVGElement {}
|
|
107
|
+
interface SVGFEComponentTransferElement extends SVGElement {}
|
|
108
|
+
interface SVGFECompositeElement extends SVGElement {}
|
|
109
|
+
interface SVGFEConvolveMatrixElement extends SVGElement {}
|
|
110
|
+
interface SVGFEDiffuseLightingElement extends SVGElement {}
|
|
111
|
+
interface SVGFEDisplacementMapElement extends SVGElement {}
|
|
112
|
+
interface SVGFEDistantLightElement extends SVGElement {}
|
|
113
|
+
interface SVGFEDropShadowElement extends SVGElement {}
|
|
114
|
+
interface SVGFEFloodElement extends SVGElement {}
|
|
115
|
+
interface SVGFEFuncAElement extends SVGElement {}
|
|
116
|
+
interface SVGFEFuncBElement extends SVGElement {}
|
|
117
|
+
interface SVGFEFuncGElement extends SVGElement {}
|
|
118
|
+
interface SVGFEFuncRElement extends SVGElement {}
|
|
119
|
+
interface SVGFEGaussianBlurElement extends SVGElement {}
|
|
120
|
+
interface SVGFEImageElement extends SVGElement {}
|
|
121
|
+
interface SVGFEMergeElement extends SVGElement {}
|
|
122
|
+
interface SVGFEMergeNodeElement extends SVGElement {}
|
|
123
|
+
interface SVGFEMorphologyElement extends SVGElement {}
|
|
124
|
+
interface SVGFEOffsetElement extends SVGElement {}
|
|
125
|
+
interface SVGFEPointLightElement extends SVGElement {}
|
|
126
|
+
interface SVGFESpecularLightingElement extends SVGElement {}
|
|
127
|
+
interface SVGFESpotLightElement extends SVGElement {}
|
|
128
|
+
interface SVGFETileElement extends SVGElement {}
|
|
129
|
+
interface SVGFETurbulenceElement extends SVGElement {}
|
|
130
|
+
interface SVGFilterElement extends SVGElement {}
|
|
131
|
+
interface SVGForeignObjectElement extends SVGElement {}
|
|
132
|
+
interface SVGGElement extends SVGElement {}
|
|
133
|
+
interface SVGImageElement extends SVGElement {}
|
|
134
|
+
interface SVGLineElement extends SVGElement {}
|
|
135
|
+
interface SVGLinearGradientElement extends SVGElement {}
|
|
136
|
+
interface SVGMarkerElement extends SVGElement {}
|
|
137
|
+
interface SVGMaskElement extends SVGElement {}
|
|
138
|
+
interface SVGMetadataElement extends SVGElement {}
|
|
139
|
+
interface SVGPathElement extends SVGElement {}
|
|
140
|
+
interface SVGPatternElement extends SVGElement {}
|
|
141
|
+
interface SVGPolygonElement extends SVGElement {}
|
|
142
|
+
interface SVGPolylineElement extends SVGElement {}
|
|
143
|
+
interface SVGRadialGradientElement extends SVGElement {}
|
|
144
|
+
interface SVGRectElement extends SVGElement {}
|
|
145
|
+
interface SVGSetElement extends SVGElement {}
|
|
146
|
+
interface SVGStopElement extends SVGElement {}
|
|
147
|
+
interface SVGSwitchElement extends SVGElement {}
|
|
148
|
+
interface SVGSymbolElement extends SVGElement {}
|
|
149
|
+
interface SVGTextElement extends SVGElement {}
|
|
150
|
+
interface SVGTextPathElement extends SVGElement {}
|
|
151
|
+
interface SVGTSpanElement extends SVGElement {}
|
|
152
|
+
interface SVGUseElement extends SVGElement {}
|
|
153
|
+
interface SVGViewElement extends SVGElement {}
|
|
154
|
+
|
|
155
|
+
interface FormData {}
|
|
156
|
+
interface Text {}
|
|
157
|
+
interface TouchList {}
|
|
158
|
+
interface WebGLRenderingContext {}
|
|
159
|
+
interface WebGL2RenderingContext {}
|
|
160
|
+
|
|
161
|
+
interface TrustedHTML {}
|
|
162
|
+
|
|
163
|
+
interface Blob {}
|
|
164
|
+
interface MediaStream {}
|
|
165
|
+
interface MediaSource {}
|