geospec 0.1.0-beta.7 → 0.1.0-beta.8
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/agent/geospec-authoring/SKILL.md +11 -11
- package/agent/geospec-authoring/api-functions.md +1 -16
- package/agent/geospec-authoring/api-index.md +50 -46
- package/agent/geospec-authoring/api-types.md +188 -168
- package/agent/geospec-authoring/public-api-functions.md +29 -22
- package/agent/geospec-authoring/public-api-index.md +196 -183
- package/agent/geospec-authoring/public-api-types-2.md +188 -220
- package/agent/geospec-authoring/public-api-types-3.md +112 -99
- package/agent/geospec-authoring/public-api-types.md +236 -125
- package/agent/resources.js +12 -12
- package/agent/skills.json +2 -2
- package/dist/config/index.d.mts +1 -2
- package/dist/config/index.mjs +1 -1
- package/dist/config/types.d.mts +0 -3
- package/dist/config/validate.mjs +1 -1
- package/dist/mesh/index.d.mts +2 -2
- package/dist/model/index.d.mts +3 -3
- package/dist/model/index.mjs +1 -1
- package/dist/model/mesh-evidence-matchers.d.mts +12 -0
- package/dist/model/mesh-evidence-matchers.mjs +1 -0
- package/dist/model/native-model-loader.d.mts +8 -8
- package/dist/model/native-model-loader.mjs +1 -1
- package/dist/model/node/command-exporter.d.mts +31 -0
- package/dist/model/node/command-exporter.mjs +1 -0
- package/dist/model/node/index.d.mts +2 -0
- package/dist/model/node/index.mjs +1 -0
- package/dist/model/types.d.mts +111 -63
- package/dist/runner/collector.d.mts +0 -2
- package/dist/runner/node/index.d.mts +2 -0
- package/dist/runner/node/index.mjs +1 -0
- package/dist/runner/node/node-vm-filesystem.d.mts +22 -0
- package/dist/runner/node/node-vm-filesystem.mjs +1 -0
- package/dist/runner/pool/events.mjs +1 -0
- package/dist/runner/pool/pool-messages.d.mts +0 -10
- package/dist/runner/pool/pool.d.mts +36 -0
- package/dist/runner/pool/pool.mjs +1 -0
- package/dist/runner/pool/shard-planner.mjs +1 -0
- package/dist/runner/pool/shard-timings.d.mts +36 -0
- package/dist/runner/pool/transport.mjs +1 -0
- package/dist/runner/pool/worker-host.d.mts +36 -0
- package/dist/runner/pool/worker-host.mjs +1 -0
- package/dist/runner/run-geospec-module.mjs +1 -1
- package/dist/runner/types.d.mts +0 -4
- package/dist/runner/worker/index.d.mts +5 -2
- package/dist/runner/worker/index.mjs +1 -1
- package/dist/runner/worker/runner-types.d.mts +2 -14
- package/dist/runner/worker/serial-runner.mjs +1 -1
- package/package.json +14 -4
- package/dist/config/tau-project-artifact.d.mts +0 -54
- package/dist/config/tau-project-artifact.mjs +0 -3
- package/dist/model/export-intent.d.mts +0 -79
- package/dist/model/export-intent.mjs +0 -1
|
@@ -106,7 +106,7 @@ LoadModelOptions: LoadModelSourceOptions | LoadModelCodeOptions<Code> | LoadMode
|
|
|
106
106
|
rootDir?: string
|
|
107
107
|
// Geometry format to export
|
|
108
108
|
format?: GeoSpecModelFormat
|
|
109
|
-
// Explicit parameters passed to the
|
|
109
|
+
// Explicit parameters passed to the exporter
|
|
110
110
|
parameters?: Record<string, unknown>
|
|
111
111
|
// STEP reader strategy used for STEP exports
|
|
112
112
|
stepStreaming?: StepStreamingMode
|
|
@@ -129,6 +129,10 @@ export declare function it(name: string, function_: GeoSpecTestCallback): void;
|
|
|
129
129
|
// GeoSpec suite helper used inside VM-executed test modules
|
|
130
130
|
export declare function describe(name: string, function_: GeoSpecTestCallback): void;
|
|
131
131
|
skip(name: string, function_?: GeoSpecTestCallback): void;
|
|
132
|
+
|
|
133
|
+
// Alias for {@link it}
|
|
134
|
+
export declare function test(name: string, function_: GeoSpecTestCallback): void;
|
|
135
|
+
skip(name: string, function_?: GeoSpecTestCallback): void;
|
|
132
136
|
```
|
|
133
137
|
|
|
134
138
|
### Types
|
|
@@ -467,25 +471,21 @@ GeoSpecVoidWaypoint: Vec3 | {
|
|
|
467
471
|
occurrence: string;
|
|
468
472
|
}
|
|
469
473
|
|
|
470
|
-
//
|
|
471
|
-
|
|
472
|
-
// Source
|
|
473
|
-
code: Code
|
|
474
|
-
// Geometry format to export
|
|
474
|
+
// Direct geometry-source model load options
|
|
475
|
+
LoadModelSourceOptions: {
|
|
476
|
+
// Source geometry format
|
|
475
477
|
format?: GeoSpecModelFormat
|
|
476
|
-
// Explicit parameters
|
|
478
|
+
// Explicit parameters recorded in provenance
|
|
477
479
|
parameters?: Record<string, unknown>
|
|
478
480
|
// Whether STEP loading should also produce mesh evidence
|
|
479
481
|
mesh?: boolean
|
|
480
|
-
// … 10 more members in the API reference:
|
|
482
|
+
// … 10 more members in the API reference: source, resources, rootDir, path, name, sourceUnit, stepStreaming, meshLinearTolerance, meshAngularToleranceDegrees, workUnitLimit
|
|
481
483
|
}
|
|
482
|
-
|
|
483
|
-
RuntimeBackedModelFormat: Exclude<GeoSpecModelFormat, 'mesh-buffer'>
|
|
484
484
|
```
|
|
485
485
|
|
|
486
486
|
## API reference
|
|
487
487
|
|
|
488
|
-
To read any other signature, find its name in `api-index.md`, which lists all
|
|
488
|
+
To read any other signature, find its name in `api-index.md`, which lists all 368 symbols by file with the lines that hold each, and read that range of the named file.
|
|
489
489
|
|
|
490
490
|
- `api-functions.md` — Functions
|
|
491
491
|
- `api-constants.md` — Constants
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# geospec — Functions
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
6 top-level symbols. Signatures are verbatim typescript.
|
|
4
4
|
|
|
5
5
|
// GeoSpec suite helper used inside VM-executed test modules
|
|
6
6
|
// describe (function)
|
|
@@ -40,18 +40,3 @@ export declare function createModelLoader(defaults: CreateModelLoaderOptions): M
|
|
|
40
40
|
// loadModel (function)
|
|
41
41
|
export declare function loadModel<Code extends Record<string, string> = Record<string, string>>(_options: LoadModelOptions<Code>): Promise<GeoSpecSubject>;
|
|
42
42
|
// _options: Source, code, or file model load options
|
|
43
|
-
|
|
44
|
-
// resolveRuntimeExportIntent (function)
|
|
45
|
-
export declare function resolveRuntimeExportIntent(options: {
|
|
46
|
-
runtime: GeoSpecRuntimeClient;
|
|
47
|
-
format: RuntimeBackedModelFormat;
|
|
48
|
-
meshLinearTolerance?: number;
|
|
49
|
-
meshAngularToleranceDegrees?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The kernel that evaluates this source, when the host knows it. Routes are
|
|
52
|
-
* then chosen among that kernel's own, so a mesh-only kernel is told its
|
|
53
|
-
* BRep matchers are unsupported instead of being sent to another kernel's
|
|
54
|
-
* STEP route.
|
|
55
|
-
*/
|
|
56
|
-
kernelId?: string;
|
|
57
|
-
}): RuntimeExportIntent | RuntimeExportIntentFailure;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# geospec API index
|
|
2
2
|
|
|
3
|
-
geospec 0.1.0-beta.
|
|
3
|
+
geospec 0.1.0-beta.8 · 368 symbols · extracted by TypeScript 5.9.3.
|
|
4
4
|
|
|
5
5
|
Every symbol appears here exactly once. The heading above each block names the file with its signature, and each top-level symbol names the lines of that file which hold its declaration and members: read only that range.
|
|
6
6
|
|
|
@@ -15,7 +15,6 @@ test (function) [lines 25-30] [1 members] — Alias for {@link it}
|
|
|
15
15
|
test.skip (method)
|
|
16
16
|
createModelLoader (function) [lines 32-35] — Create a {@link loadModel} function over a host-supplied compiled engine
|
|
17
17
|
loadModel (function) [lines 37-42] — Load a CAD model into GeoSpec evidence
|
|
18
|
-
resolveRuntimeExportIntent (function) [lines 44-57]
|
|
19
18
|
|
|
20
19
|
## Constants — `api-constants.md`
|
|
21
20
|
|
|
@@ -282,84 +281,89 @@ StepEvidence (type) [lines 1288-1338] [6 members] — STEP/XDE evidence extracte
|
|
|
282
281
|
StepEvidence.xde (property) — Structured AP242 XDE read result (occurrences, subshape names, datum placements)
|
|
283
282
|
Vec3 (type) [lines 1340-1341] — Numeric 3D vector
|
|
284
283
|
GeoSpecVec3 (type) [lines 1343-1344] — Numeric 3D vector
|
|
285
|
-
|
|
286
|
-
RuntimeBackedModelFormat (type) [lines 1361-1361]
|
|
287
|
-
RuntimeClientWithRoutes (type) [lines 1363-1385] [3 members] — Runtime client shape for route-aware Tau runtimes
|
|
288
|
-
RuntimeClientWithRoutes.open (property)
|
|
289
|
-
RuntimeClientWithRoutes.on (method)
|
|
290
|
-
RuntimeClientWithRoutes.bestRouteFor (method)
|
|
291
|
-
RuntimeExportIntent (type) [lines 1387-1398] [3 members] — Resolved runtime export request and provenance for a GeoSpec model…
|
|
292
|
-
RuntimeExportIntent.options (property)
|
|
293
|
-
RuntimeExportIntent.provenance (property)
|
|
294
|
-
RuntimeExportIntent.sourceUnit (property)
|
|
295
|
-
RuntimeExportIntentFailure (type) [lines 1400-1408] [2 members] — Structured failure returned when a runtime cannot provide the requested…
|
|
296
|
-
RuntimeExportIntentFailure.success (property)
|
|
297
|
-
RuntimeExportIntentFailure.diagnostics (property)
|
|
298
|
-
CreateModelLoaderOptions (type) [lines 1410-1462] [10 members] — Defaults accepted by {@link import ('./load-model.js').createModelLoader}
|
|
284
|
+
CreateModelLoaderOptions (type) [lines 1346-1393] [9 members] — Defaults accepted by {@link import ('./load-model.js').createModelLoader}
|
|
299
285
|
CreateModelLoaderOptions.engine (property) — Initialized compiled engine supplied by the host, never selected by…
|
|
300
286
|
CreateModelLoaderOptions.readSource (property) — Rooted host reader for direct filesystem or URL sources
|
|
301
287
|
CreateModelLoaderOptions.format (property) — Geometry format to export when an individual call does not…
|
|
302
|
-
CreateModelLoaderOptions.
|
|
303
|
-
CreateModelLoaderOptions.
|
|
304
|
-
CreateModelLoaderOptions.projectPath (property) — Project root used by runtime integrations
|
|
288
|
+
CreateModelLoaderOptions.exporters (property) — Model exporters for source-kind files
|
|
289
|
+
CreateModelLoaderOptions.projectPath (property) — Absolute project root passed to the exporter
|
|
305
290
|
CreateModelLoaderOptions.stepStreaming (property) — STEP reader strategy used for STEP sources or exports
|
|
306
291
|
CreateModelLoaderOptions.mesh (property) — Whether STEP loading should also produce mesh evidence
|
|
307
292
|
CreateModelLoaderOptions.meshLinearTolerance (property) — Linear tolerance used while meshing exact BRep evidence
|
|
308
293
|
CreateModelLoaderOptions.meshAngularToleranceDegrees (property) — Angular tolerance in degrees used while meshing exact BRep evidence
|
|
309
|
-
|
|
294
|
+
GeoSpecExporterCapabilities (type) [lines 1395-1417] [4 members] — What a {@link GeoSpecModelExporter} declares it can do
|
|
295
|
+
GeoSpecExporterCapabilities.formats (property) — The formats `export` produces
|
|
296
|
+
GeoSpecExporterCapabilities.parameters (property) — Accepts `parameters`
|
|
297
|
+
GeoSpecExporterCapabilities.region (property) — Crops to `region` (an axis-aligned millimetre box) before export
|
|
298
|
+
GeoSpecExporterCapabilities.inlineSources (property) — Accepts `inline` sources, which back `loadModel({ code })`
|
|
299
|
+
GeoSpecExportFormat (type) [lines 1419-1420] — Formats a {@link GeoSpecModelExporter} may produce from a source-kind file
|
|
300
|
+
GeoSpecLoadRegion (type) [lines 1422-1430] [2 members] — Axis-aligned crop box in canonical Z-up millimetres
|
|
310
301
|
GeoSpecLoadRegion.min (property)
|
|
311
302
|
GeoSpecLoadRegion.max (property)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
303
|
+
GeoSpecModelArtifact (type) [lines 1432-1475] [7 members] — The bytes an exporter returns, in the canonical Z-up millimetre…
|
|
304
|
+
GeoSpecModelArtifact.bytes (property)
|
|
305
|
+
GeoSpecModelArtifact.format (property)
|
|
306
|
+
GeoSpecModelArtifact.sourceUnit (property) — Unit of raw GLB coordinates
|
|
307
|
+
GeoSpecModelArtifact.resources (property) — External resources the primary bytes reference, by name
|
|
308
|
+
GeoSpecModelArtifact.consumedSources (property) — Every source file the export read, as a path from…
|
|
309
|
+
GeoSpecModelArtifact.diagnostics (property) — Notices from a successful export, admitted with the subject so…
|
|
310
|
+
GeoSpecModelArtifact.exportOptions (property) — The export options the exporter applied, recorded in the load…
|
|
311
|
+
GeoSpecModelExporter (type) [lines 1477-1511] [6 members] — Turns a source-kind model file into GLB or STEP bytes…
|
|
312
|
+
GeoSpecModelExporter.id (property)
|
|
313
|
+
GeoSpecModelExporter.extensions (property)
|
|
314
|
+
GeoSpecModelExporter.capabilities (property)
|
|
315
|
+
GeoSpecModelExporter.export (method)
|
|
316
|
+
GeoSpecModelExporter.revision (method) — The sources an export of `file` would read now, without…
|
|
317
|
+
GeoSpecModelExporter.close (method) — Releases what the exporter created for one scope
|
|
318
|
+
GeoSpecModelExportRequest (type) [lines 1513-1557] [8 members] — One export request
|
|
319
|
+
GeoSpecModelExportRequest.file (property) — Entry file, as a path from the project root
|
|
320
|
+
GeoSpecModelExportRequest.projectPath (property) — Absolute project root the exporter resolves `file` and its imports…
|
|
321
|
+
GeoSpecModelExportRequest.format (property)
|
|
322
|
+
GeoSpecModelExportRequest.parameters (property) — JSON-serialisable parameter values
|
|
323
|
+
GeoSpecModelExportRequest.mesh (property) — Tessellation tolerances for a mesh export
|
|
324
|
+
GeoSpecModelExportRequest.region (property) — Millimetre crop box
|
|
325
|
+
GeoSpecModelExportRequest.inline (property) — Source text keyed by project-relative path
|
|
326
|
+
GeoSpecModelExportRequest.signal (property)
|
|
327
|
+
GeoSpecModelFormat (type) [lines 1559-1560] — Geometry formats accepted by {@link import ('./load-model.js').loadModel}
|
|
328
|
+
GeoSpecModelLoader (type) [lines 1562-1563] — Function shape used by GeoSpec runners to provide model loading…
|
|
329
|
+
ManagedGeoSpecModelLoader (type) [lines 1565-1571] [1 members] — A configured loader whose admissions can be released with its…
|
|
315
330
|
ManagedGeoSpecModelLoader.dispose (method)
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
GeoSpecRuntimeClient.on (method)
|
|
319
|
-
GeoSpecRuntimeClientFactory (type) [lines 1514-1515] — Lazy runtime factory consumed by `geospec/model`
|
|
320
|
-
GeoSpecRuntimeSourceAdapter (type) [lines 1517-1535] [3 members] — Explicit source adapter for formats whose runtime setup is not…
|
|
321
|
-
GeoSpecRuntimeSourceAdapter.id (property)
|
|
322
|
-
GeoSpecRuntimeSourceAdapter.extensions (property)
|
|
323
|
-
GeoSpecRuntimeSourceAdapter.createRuntime (method)
|
|
324
|
-
LoadModelCodeOptions (type) [lines 1537-1620] [14 members] — Inline code-CAD model load options
|
|
331
|
+
GeoSpecConsumedSources (type) [lines 1573-1577] — The source files one export read, each with its SHA-256…
|
|
332
|
+
LoadModelCodeOptions (type) [lines 1579-1651] [12 members] — Inline code-CAD model load options
|
|
325
333
|
LoadModelCodeOptions.code (property) — Source files keyed by project-relative path
|
|
326
334
|
LoadModelCodeOptions.file (property) — Entry path to render from {@link code }
|
|
327
335
|
LoadModelCodeOptions.rootDir (property) — Not accepted
|
|
328
336
|
LoadModelCodeOptions.format (property) — Geometry format to export
|
|
329
|
-
LoadModelCodeOptions.parameters (property) — Explicit parameters passed to the
|
|
330
|
-
LoadModelCodeOptions.
|
|
331
|
-
LoadModelCodeOptions.sourceAdapters (property) — Source-specific runtime adapters, e.g
|
|
332
|
-
LoadModelCodeOptions.projectPath (property) — Project root used by runtime integrations
|
|
337
|
+
LoadModelCodeOptions.parameters (property) — Explicit parameters passed to the exporter
|
|
338
|
+
LoadModelCodeOptions.projectPath (property) — Absolute project root passed to the exporter
|
|
333
339
|
LoadModelCodeOptions.stepStreaming (property) — STEP reader strategy used for STEP exports
|
|
334
340
|
LoadModelCodeOptions.mesh (property) — Whether STEP loading should also produce mesh evidence
|
|
335
341
|
LoadModelCodeOptions.meshLinearTolerance (property) — Linear tolerance used while meshing exact BRep evidence
|
|
336
342
|
LoadModelCodeOptions.meshAngularToleranceDegrees (property) — Angular tolerance in degrees used while meshing exact BRep evidence
|
|
337
343
|
LoadModelCodeOptions.workUnitLimit (property) — Default work-unit budget for every claim on this subject
|
|
338
|
-
LoadModelCodeOptions.region (property) — Axis-aligned millimetre box the
|
|
339
|
-
LoadModelFileOptions (type) [lines
|
|
344
|
+
LoadModelCodeOptions.region (property) — Axis-aligned millimetre box the exporter crops the model to before…
|
|
345
|
+
LoadModelFileOptions (type) [lines 1653-1727] [11 members] — Filesystem-backed model load options
|
|
340
346
|
LoadModelFileOptions.file (property) — Model file to render, as a path from the project…
|
|
341
347
|
LoadModelFileOptions.rootDir (property) — Project-relative folder `file` resolves in, for a suite that loads…
|
|
342
|
-
LoadModelFileOptions.projectPath (property) —
|
|
348
|
+
LoadModelFileOptions.projectPath (property) — Absolute project root passed to the exporter
|
|
343
349
|
LoadModelFileOptions.format (property) — Geometry format to export
|
|
344
|
-
LoadModelFileOptions.parameters (property) — Explicit parameters passed to the
|
|
345
|
-
LoadModelFileOptions.runtime (property) — Runtime client or lazy runtime factory
|
|
346
|
-
LoadModelFileOptions.sourceAdapters (property) — Source-specific runtime adapters, e.g
|
|
350
|
+
LoadModelFileOptions.parameters (property) — Explicit parameters passed to the exporter
|
|
347
351
|
LoadModelFileOptions.stepStreaming (property) — STEP reader strategy used for STEP exports
|
|
348
352
|
LoadModelFileOptions.mesh (property) — Whether STEP loading should also produce mesh evidence
|
|
349
353
|
LoadModelFileOptions.meshLinearTolerance (property) — Linear tolerance used while meshing exact BRep evidence
|
|
350
354
|
LoadModelFileOptions.meshAngularToleranceDegrees (property) — Angular tolerance in degrees used while meshing exact BRep evidence
|
|
351
355
|
LoadModelFileOptions.workUnitLimit (property) — Default work-unit budget for every claim on this subject
|
|
352
|
-
LoadModelFileOptions.region (property) — Axis-aligned millimetre box the
|
|
353
|
-
LoadModelOptions (type) [lines
|
|
356
|
+
LoadModelFileOptions.region (property) — Axis-aligned millimetre box the exporter crops the model to before…
|
|
357
|
+
LoadModelOptions (type) [lines 1729-1754] [8 members] — Options accepted by {@link import ('./load-model.js').loadModel}
|
|
354
358
|
LoadModelOptions.rootDir (property) — Project-relative folder `file` resolves in, for a suite that loads…
|
|
355
359
|
LoadModelOptions.format (property) — Geometry format to export
|
|
356
|
-
LoadModelOptions.parameters (property) — Explicit parameters passed to the
|
|
360
|
+
LoadModelOptions.parameters (property) — Explicit parameters passed to the exporter
|
|
357
361
|
LoadModelOptions.stepStreaming (property) — STEP reader strategy used for STEP exports
|
|
358
362
|
LoadModelOptions.mesh (property) — Whether STEP loading should also produce mesh evidence
|
|
359
363
|
LoadModelOptions.meshLinearTolerance (property) — Linear tolerance used while meshing exact BRep evidence
|
|
360
364
|
LoadModelOptions.meshAngularToleranceDegrees (property) — Angular tolerance in degrees used while meshing exact BRep evidence
|
|
361
365
|
LoadModelOptions.workUnitLimit (property) — Default work-unit budget for every claim on this subject
|
|
362
|
-
LoadModelSourceOptions (type) [lines
|
|
366
|
+
LoadModelSourceOptions (type) [lines 1756-1836] [13 members] — Direct geometry-source model load options
|
|
363
367
|
LoadModelSourceOptions.source (property) — Geometry bytes, path, browser file/blob, or in-memory mesh buffer
|
|
364
368
|
LoadModelSourceOptions.resources (property) — Named external resources consumed alongside the direct geometry bytes
|
|
365
369
|
LoadModelSourceOptions.rootDir (property) — Project-relative folder a path `source` and each resource path resolve…
|