@extra2001/labkit-runtime-types 0.0.0-types.1.tbbcffccdb5c75f91 → 0.0.0-types.1.tc5a440c107d253d3

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/README.md CHANGED
@@ -1,15 +1,21 @@
1
- # Experimental iLab Authoring Runtime Types
1
+ # @extra2001/labkit-runtime-types
2
2
 
3
- Generated from Runtime unity-webgl-shell-vue@3.4.1.
3
+ iLab 物理实验平台的 TypeScript 类型定义包,用于在 [LabKit](https://physics.buaaer.top/labkit-docs/) 项目中为 Behavior、Scorer 和 ContentEvaluator 提供实验模块与字段的完整类型提示。
4
4
 
5
- Runtime Types: labkit-runtime-minimal/v1/3.4.1/a2cad67875a1600f95071670377fede047276ea26f611771c0ffb906231de6c9
5
+ > 脚手架 `npm create @extra2001/labkit-app@latest` 会自动安装与当前平台匹配的版本;日常升级请使用 `npm run upgrade`。
6
6
 
7
- Install this tarball together with @extra2001/labkit-core@0.1.0; import BehaviorRuntimeTypes and runtimeTypesMetadata from @extra2001/labkit-runtime-types.
7
+ ## 导出入口
8
8
 
9
- SDK checks the selected type package identity and its recorded Core declaration fingerprint; Runtime does not audit author type packages. No semver-wide compatibility is implied. This is a scoped type projection, not a Runtime execution adapter.
9
+ | 入口 | 用途 |
10
+ | --- | --- |
11
+ | `@extra2001/labkit-runtime-types` | Behavior 基础类型(自定义仪器项目请导入项目内自动生成的 `.labkit/runtimeTypes.js`) |
12
+ | `@extra2001/labkit-runtime-types/scorer` | Scorer 类型(`ScorerRuntimeTypes`、`ScorerTableCellTarget`) |
13
+ | `@extra2001/labkit-runtime-types/content-evaluator` | ContentEvaluator 类型(`ContentEvaluatorRuntimeTypes`) |
10
14
 
11
- Public field scope is recorded in runtime-types.json. No Runtime source or private import paths are required. Do not edit generated declarations.
15
+ ## 文档
12
16
 
13
- Scorer authoring: import ScorerRuntimeTypes, ScorerDefinitionTypes and ScorerTableCellTarget from @extra2001/labkit-runtime-types/scorer, with @extra2001/labkit-core/scorer/authoring. scorer-runtime-types.json records its own scope, fingerprint and type identity. All Definition config/result types come from Runtime declarations; user data contains declared JSON fields and omits opaque extensions. SDK execution uses the same supported Definition keys. The existing open Target extension is preserved; use ScorerTableCellTarget for precise cell targets.
17
+ - [LabKit 开发者文档](https://physics.buaaer.top/labkit-docs/)
14
18
 
15
- ContentEvaluator authoring: import ContentEvaluatorRuntimeTypes from @extra2001/labkit-runtime-types/content-evaluator. The generated scope contains content identity/criteria, ordinary operation history, Data/DataPre values and complete scoring/completion result types. No private context or instrument snapshots are exposed.
19
+ ## 许可证
20
+
21
+ Apache-2.0
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "formatVersion": 1,
3
3
  "stability": "experimental",
4
- "id": "labkit-content-evaluator/v1/3.4.1/1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01",
5
- "version": "0.0.0-types.1.tbbcffccdb5c75f91",
6
- "fingerprint": "1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01",
4
+ "id": "labkit-content-evaluator/v1/3.4.1/2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf",
5
+ "version": "0.0.0-types.1.tc5a440c107d253d3",
6
+ "fingerprint": "2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf",
7
7
  "runtime": {
8
8
  "package": "unity-webgl-shell-vue",
9
9
  "version": "3.4.1",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "core": {
13
13
  "package": "@extra2001/labkit-core",
14
- "version": "0.1.0",
15
- "typesFingerprint": "203a9b2ae2941c3dc913d9befd1cfbf3b9f28159d41b500cfb85b95a35eba252",
14
+ "version": "0.1.1",
15
+ "typesFingerprint": "710d278e85e477a8f24a9a628dd9d2e21d44c295517fcacd0c6404c940b5734b",
16
16
  "authoringApi": "experimental"
17
17
  },
18
18
  "compiler": {
@@ -538,4 +538,4 @@ export type ContentEvaluatorResult = { "aiReason": string; "dimensions": Array<{
538
538
  export type ContentEvaluatorCompletion = { "aiReason": string; "completed": boolean; "userReason": string | { "en": string; "zh": string } }
539
539
  export type ContentEvaluatorDefinitions = ContentDefinitionTypes
540
540
  export type ContentEvaluatorRuntimeTypes = ContentEvaluatorRuntimeTypeMap<ContentEvaluatorItem, ContentEvaluatorHistory, ContentEvaluatorDefinitions, ContentEvaluatorResult, ContentEvaluatorCompletion>
541
- export declare const contentEvaluatorMetadata: { readonly "formatVersion": 1; readonly "stability": "experimental"; readonly "id": "labkit-content-evaluator/v1/3.4.1/1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01"; readonly "version": "0.0.0-types.1.tbbcffccdb5c75f91"; readonly "fingerprint": "1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01"; readonly "runtime": { readonly "package": "unity-webgl-shell-vue"; readonly "version": "3.4.1"; readonly "compatibility": "exact-version-and-types-fingerprint" }; readonly "core": { readonly "package": "@extra2001/labkit-core"; readonly "version": "0.1.0"; readonly "typesFingerprint": "203a9b2ae2941c3dc913d9befd1cfbf3b9f28159d41b500cfb85b95a35eba252"; readonly "authoringApi": "experimental" }; readonly "compiler": { readonly "typescript": "6.0.3" }; readonly "scope": { readonly "item": readonly ["id", "titleZh", "titleEn", "contextCriteria"]; readonly "history": readonly ["id", "timestamp", "operationSymbol", "paramValues", "inputValue", "output", "triggerContextValues", "contextSnapshot", "instrumentStatusSnapshot", "checkResult"]; readonly "definitions": "all" } }
541
+ export declare const contentEvaluatorMetadata: { readonly "formatVersion": 1; readonly "stability": "experimental"; readonly "id": "labkit-content-evaluator/v1/3.4.1/2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf"; readonly "version": "0.0.0-types.1.tc5a440c107d253d3"; readonly "fingerprint": "2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf"; readonly "runtime": { readonly "package": "unity-webgl-shell-vue"; readonly "version": "3.4.1"; readonly "compatibility": "exact-version-and-types-fingerprint" }; readonly "core": { readonly "package": "@extra2001/labkit-core"; readonly "version": "0.1.1"; readonly "typesFingerprint": "710d278e85e477a8f24a9a628dd9d2e21d44c295517fcacd0c6404c940b5734b"; readonly "authoringApi": "experimental" }; readonly "compiler": { readonly "typescript": "6.0.3" }; readonly "scope": { readonly "item": readonly ["id", "titleZh", "titleEn", "contextCriteria"]; readonly "history": readonly ["id", "timestamp", "operationSymbol", "paramValues", "inputValue", "output", "triggerContextValues", "contextSnapshot", "instrumentStatusSnapshot", "checkResult"]; readonly "definitions": "all" } }
@@ -1,9 +1,9 @@
1
1
  export const contentEvaluatorMetadata = {
2
2
  "formatVersion": 1,
3
3
  "stability": "experimental",
4
- "id": "labkit-content-evaluator/v1/3.4.1/1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01",
5
- "version": "0.0.0-types.1.tbbcffccdb5c75f91",
6
- "fingerprint": "1757f5d1ed01eedc848983ed082140c29f16208d9115baac52992a776f986d01",
4
+ "id": "labkit-content-evaluator/v1/3.4.1/2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf",
5
+ "version": "0.0.0-types.1.tc5a440c107d253d3",
6
+ "fingerprint": "2f1ae5edaea573526342cf4b3bd4390a06530f70015d8230185a2c66df3deadf",
7
7
  "runtime": {
8
8
  "package": "unity-webgl-shell-vue",
9
9
  "version": "3.4.1",
@@ -11,8 +11,8 @@ export const contentEvaluatorMetadata = {
11
11
  },
12
12
  "core": {
13
13
  "package": "@extra2001/labkit-core",
14
- "version": "0.1.0",
15
- "typesFingerprint": "203a9b2ae2941c3dc913d9befd1cfbf3b9f28159d41b500cfb85b95a35eba252",
14
+ "version": "0.1.1",
15
+ "typesFingerprint": "710d278e85e477a8f24a9a628dd9d2e21d44c295517fcacd0c6404c940b5734b",
16
16
  "authoringApi": "experimental"
17
17
  },
18
18
  "compiler": {