chore: resolve runtime-v1 lockfile conflict and refresh AGENTS.md spec#28
Conversation
pnpm-lock.yaml contained unresolved git merge-conflict markers (committed in 1fe3d72), leaving runtime-v1/serve-instrument unresolvable. Regenerated the lockfile cleanly, pinning the latest published versions (runtime-v1 1.8.11, serve-instrument 0.0.12). Refreshed the AGENTS.md instrument specification to match the runtime-v1 @ 1.8.11 type surface (sourced from runtime-core's index.d.ts): - new FILE instrument kind; __runtimeVersion / id on BaseInstrument - string `password` variant + `placeholder`; deprecated number input min/max - record-array `disableAutoSuffix`, number-record `disableAutoPrefix` - PartialDeep initialValues - interactive content: defaultFullscreen, enableLanguage*, __injectHead - series content { items, params: { skipProgress } } - measures: `hidden` deprecated -> `visibility`; InstrumentMeasureValue - deprecated details.estimatedDuration/instructions; SPDX LicenseIdentifier - zod v3/v4 support; runtime helpers (addNotification, Translators, asSnakeCase) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughThis PR updates the AGENTS.md specification document to expand the instrument type system, refine type contracts across measures and form fields, enhance interactive instrument capabilities with UI options, and document new runtime helper APIs. ChangesInstruments Specification Expansion
🎯 2 (Simple) | ⏱️ ~10 minutes
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
pnpm-lock.yamlhad unresolved git merge-conflict markers (committed in1fe3d72), leaving@opendatacapture/runtime-v1/serve-instrumentunresolvable andpnpm installunable to run cleanly. Regenerated the lockfile, pinning the latest published versions (runtime-v1 1.8.11,serve-instrument 0.0.12).package.jsonalready specified these; no manifest change was needed.AGENTS.mdspec to match the actualruntime-v1 @ 1.8.11type surface (sourced fromruntime-core'sindex.d.ts). Note:@opendatacapture/runtime-coreand@opendatacapture/schemasare not standalone npm packages — they are bundled and served byruntime-v1, which is the only version lever.AGENTS.md changes
FILEinstrument kind (new §1.3.3 withfileGroups/FileType/FILE_TYPES);InstrumentKindupdated to 4 kinds.__runtimeVersion(auto-set) and optionalidonBaseInstrument.passwordvariant (calculateStrength) +placeholder;NumberFieldinputmin/maxmarked deprecated (usevalidationSchema).record-arraydisableAutoSuffix,number-recorddisableAutoPrefix;initialValuesisPartialDeep<TData>.content:defaultFullscreen,enableLanguageSelect/Toggle/Lock,__injectHead.contentmay be{ items, params: { skipProgress } }.hiddendeprecated →visibility; computedvaluereturnsInstrumentMeasureValue.details.estimatedDuration/instructionsdeprecated →clientDetails; license typed as SPDXLicenseIdentifier.addNotification, Translators,asSnakeCase).Test plan
pnpm install→ clean lockfile, 0 conflict markers, resolvesruntime-v1 1.8.11/serve-instrument 0.0.12.pnpm lint(tsc && eslint --fix lib) → passes; all instruments type-check against the pinned 1.8.11 types.🤖 Generated with Claude Code
Summary by CodeRabbit
hiddenproperty in favor ofvisibilityfor measures.