@opendatacapture/instrument-guidelines 2.5.2 → 2.7.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/AGENTS.md +2 -1
- package/package.json +15 -19
package/AGENTS.md
CHANGED
|
@@ -8,6 +8,7 @@ Adhere to the following guidelines:
|
|
|
8
8
|
4. If a request would misrepresent the source material, explain why and confirm whether the user wants to proceed anyway.
|
|
9
9
|
5. Place generated forms in lib/forms and interactive tasks in lib/interactive.
|
|
10
10
|
6. After generating or modifying an instrument, type-check and lint your work by running `pnpm lint`, and fix any errors it reports.
|
|
11
|
+
7. When modifying an existing scalar instrument, increment its `internal.edition` by one, unless your branch already increments it relative to the main branch. Open Data Capture identifies a scalar instrument by its `name` and `edition`, so a changed instrument with an unchanged edition cannot be uploaded alongside the previous one. If a series instrument references the modified instrument, update the `edition` in the series `content` to match.
|
|
11
12
|
|
|
12
13
|
# Instrument Specification
|
|
13
14
|
|
|
@@ -522,7 +523,7 @@ content: {
|
|
|
522
523
|
/** Enter fullscreen automatically when the instrument content is shown */
|
|
523
524
|
defaultFullscreen?: boolean;
|
|
524
525
|
|
|
525
|
-
/** Show an initial screen to select a language before the instrument begins */
|
|
526
|
+
/** Show an initial screen to select a language before the instrument begins, unless the host has already chosen one */
|
|
526
527
|
enableLanguageSelect?: boolean;
|
|
527
528
|
|
|
528
529
|
/** Show a button above the instrument to change languages */
|
package/package.json
CHANGED
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendatacapture/instrument-guidelines",
|
|
3
|
-
"
|
|
4
|
-
"version": "2.5.2",
|
|
3
|
+
"version": "2.7.0",
|
|
5
4
|
"description": "Guidelines for authoring Open Data Capture instruments, intended to be read by an AI agent (e.g. Claude Code).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"agent",
|
|
7
|
+
"claude",
|
|
8
|
+
"guidelines",
|
|
9
|
+
"instrument",
|
|
10
|
+
"opendatacapture"
|
|
11
|
+
],
|
|
6
12
|
"license": "Apache-2.0",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
13
|
"repository": {
|
|
11
14
|
"type": "git",
|
|
12
15
|
"url": "https://github.com/DouglasNeuroInformatics/OpenDataCapture.git",
|
|
13
16
|
"directory": "packages/instrument-guidelines"
|
|
14
17
|
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"opendatacapture",
|
|
17
|
-
"instrument",
|
|
18
|
-
"agent",
|
|
19
|
-
"guidelines",
|
|
20
|
-
"claude"
|
|
21
|
-
],
|
|
22
|
-
"exports": {
|
|
23
|
-
"./AGENTS.md": "./AGENTS.md",
|
|
24
|
-
"./package.json": "./package.json"
|
|
25
|
-
},
|
|
26
18
|
"bin": {
|
|
27
19
|
"instrument-guidelines": "./bin/cli.mjs"
|
|
28
20
|
},
|
|
@@ -30,8 +22,12 @@
|
|
|
30
22
|
"bin",
|
|
31
23
|
"AGENTS.md"
|
|
32
24
|
],
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
25
|
+
"type": "module",
|
|
26
|
+
"exports": {
|
|
27
|
+
"./AGENTS.md": "./AGENTS.md",
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
36
32
|
}
|
|
37
33
|
}
|