@happyvertical/smrt-education 0.57.16 → 0.57.18
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 +87 -0
- package/agents/catalog-sync.md +22 -0
- package/dist/catalog-contracts.d.ts +7 -0
- package/dist/catalog-contracts.d.ts.map +1 -1
- package/dist/catalog-sync-service.d.ts +20 -0
- package/dist/catalog-sync-service.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +739 -68
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/dist/sources/google-drive-adapter.d.ts.map +1 -1
- package/dist/sources/public-illustrative-mathematics-adapter.d.ts +17 -0
- package/dist/sources/public-illustrative-mathematics-adapter.d.ts.map +1 -0
- package/dist/sources/public-illustrative-mathematics-parser.d.ts +39 -0
- package/dist/sources/public-illustrative-mathematics-parser.d.ts.map +1 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -138,3 +138,90 @@ regressions, dialect coverage, and the existing DuckDB setup limitations.
|
|
|
138
138
|
- [Users and tenant hierarchy](../users/README.md)
|
|
139
139
|
- [Tenant isolation](../tenancy/README.md)
|
|
140
140
|
- [Assets](../assets/README.md)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Public first-edition Illustrative Mathematics
|
|
144
|
+
|
|
145
|
+
`createPublicIllustrativeMathematicsFirstEditionAdapter({ fetch })` returns both
|
|
146
|
+
`CatalogSyncAdapter` and `CatalogAcquireAdapter`; `fetch` is optional and defaults
|
|
147
|
+
to the standard global Fetch API. Use the same factory for discovery and explicit
|
|
148
|
+
private acquisition through `CatalogAcquisitionService`. No credential, mounted
|
|
149
|
+
provider module, schema extension, or PDF fetch is needed for discovery.
|
|
150
|
+
|
|
151
|
+
The declared scope is public PDFs with explicit student/family labels on the
|
|
152
|
+
first-edition Kendall Hunt K–5, 6–8, and high-school teacher/family hierarchy,
|
|
153
|
+
including Algebra 1 Supports and linked Spanish counterparts. Traversal starts
|
|
154
|
+
at the official homepage and fixed curriculum roots; it follows direct course,
|
|
155
|
+
unit, resources, family-materials, and lesson-preparation links. Teacher guides,
|
|
156
|
+
answers, assessments, presentations, login-only links, unknown labels, HTML-only
|
|
157
|
+
student lessons, non-PDF formats, and AccessIM/v.360 are excluded. Completion
|
|
158
|
+
means this declared scope only. Policy omissions appear in the bounded, invocation-local
|
|
159
|
+
`CatalogSyncReport.exclusionSummary`, rather than the durable failure ledger.
|
|
160
|
+
|
|
161
|
+
Each `enumerate` reads one HTML page (2 MB maximum) and at most four asset HEADs.
|
|
162
|
+
It never GETs PDF content. Version-1 JSON cursors contain the remaining validated
|
|
163
|
+
hierarchy paths and an artifact offset plus source fingerprint when needed;
|
|
164
|
+
persist the returned cursor unchanged. A fresh adapter can resume it. The cursor
|
|
165
|
+
is capped at 64 KB and 384 pending paths; source pages are capped at 128 children
|
|
166
|
+
and artifacts. Exceeding a bound, changing source metadata during a chunked page,
|
|
167
|
+
or a provider failure pauses with the current cursor, never a terminal success.
|
|
168
|
+
Normal `CatalogSyncService` invocation page budgets yield an unpaused, incomplete
|
|
169
|
+
checkpoint without inventing a source failure; resume it to complete the same generation.
|
|
170
|
+
|
|
171
|
+
The source fingerprint is SHA-256 of canonical JSON containing the canonical
|
|
172
|
+
path and parsed children, artifacts (asset ID, exact normalized label, allowed
|
|
173
|
+
role), exclusions, source attribution, notices, license decision, and title, in
|
|
174
|
+
source order. It excludes scripts, comments and transient CSRF markup. This is
|
|
175
|
+
necessary because official page weak ETags change for each anonymous request.
|
|
176
|
+
Acquisition rechecks that fingerprint, exact asset identity, role and license
|
|
177
|
+
before requesting bytes. The PDF revision additionally pins the strong ETag,
|
|
178
|
+
length and Last-Modified. A conditional PDF GET must return the identical
|
|
179
|
+
validators, PDF content type, exact declared/streamed length and `%PDF-` signature;
|
|
180
|
+
the adapter hashes the bytes with SHA-256. The generic service retains attribution
|
|
181
|
+
and image/trademark notices and provides tenant, selection and idempotence checks.
|
|
182
|
+
|
|
183
|
+
`timeoutMs` bounds the entire call, including streaming (default 20 seconds,
|
|
184
|
+
maximum 60 seconds). `maxPdfBytes` defaults to 32 MiB (maximum 64 MiB). Requests
|
|
185
|
+
use fixed official hosts and strict paths, reject redirects, and carry no source
|
|
186
|
+
credentials. Rate limiting returns a resumable pause with Retry-After information;
|
|
187
|
+
hosts must honor that delay before resuming rather than loop immediately.
|
|
188
|
+
|
|
189
|
+
License evidence comes from each exact official source page's attribution and
|
|
190
|
+
CC BY 4.0 footer, with retrieval time and retained exceptions. The official
|
|
191
|
+
[terms §7.1](https://illustrativemathematics.org/terms-of-use/) distinguish the
|
|
192
|
+
first edition's CC BY 4.0 curriculum from the separate v.360 terms in §7.2.
|
|
193
|
+
No v.360 grant is inferred.
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
Public IM PDF roles are local: a table artifact must belong to the same closed
|
|
197
|
+
row as its explicit first-cell label; a non-table artifact must be directly in
|
|
198
|
+
an `im-c-row__flex-resource` block with exactly one local `h3`/`h4` label.
|
|
199
|
+
Missing, ambiguous, nested, or cross-section labels are excluded. A preceding
|
|
200
|
+
student heading cannot authorize a separate teacher/unknown block. Structural
|
|
201
|
+
parsing is bounded to 50,000 tags and 256 open elements. Family unit pages may
|
|
202
|
+
follow their directed same-unit `family-materials.html` edge; family-materials
|
|
203
|
+
leaves never follow reverse unit navigation.
|
|
204
|
+
|
|
205
|
+
Adapters use `policyExclusions` for normal role/license/format/scope omissions;
|
|
206
|
+
IM emits page-wide omissions only on artifact offset zero and each artifact's
|
|
207
|
+
omission only in its processed chunk. `exclusions` retains its operational error
|
|
208
|
+
meaning: a current error/pause cannot advance the cursor, write returned partial
|
|
209
|
+
resources, withdraw unseen rows, or report completion. The report's
|
|
210
|
+
`exclusionSummary: { total, byCode: [{ code, count }], otherCount }` counts only
|
|
211
|
+
pages processed in that invocation, retains at most 32 public code tokens, and
|
|
212
|
+
is never stored in the checkpoint. Hosts may aggregate these invocation-local
|
|
213
|
+
counts explicitly; they are not full-generation coverage totals.
|
|
214
|
+
|
|
215
|
+
Durable failures remain the existing JSON array, compacted to 31 recent code
|
|
216
|
+
diagnostics plus an explicit overflow entry. Each entry's optional `count`
|
|
217
|
+
preserves occurrence totals; `omittedDetailCount` explicitly counts occurrences
|
|
218
|
+
whose diagnostic details were compacted/truncated. Messages and diagnostic
|
|
219
|
+
cursors are bounded to 512/256 characters; the actual resume cursor is preserved.
|
|
220
|
+
Missing legacy counts mean one; malformed counts are explicitly marked and
|
|
221
|
+
counted once. Unsafe integer totals fail closed. `failureSummary` distinguishes
|
|
222
|
+
`historicalCount` from this invocation's `currentCount`, with total and omitted
|
|
223
|
+
detail counts. Historical mixed-policy/error entries are retained as audit
|
|
224
|
+
history without guessed reclassification. An old coarse six-grade checkpoint
|
|
225
|
+
with no cursor starts the new adapter at its root, preserves its imported count
|
|
226
|
+
and history, and may complete/withdraw only at the new traversal's actual terminal
|
|
227
|
+
page. History alone does not create an active pause.
|
package/agents/catalog-sync.md
CHANGED
|
@@ -33,3 +33,25 @@ sole `LessonAsset` join; it never makes a browsed resource assignable. A host
|
|
|
33
33
|
may then supply curriculum and learner identifiers so the service calls the
|
|
34
34
|
existing guardian-authorized learner enrollment API. Missing provider subject
|
|
35
35
|
classification must be supplied explicitly by the guardian.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
`CatalogSyncPage.policyExclusions` contains normal policy omissions; the service
|
|
39
|
+
returns their bounded invocation-local `exclusionSummary` and never persists it.
|
|
40
|
+
A summary has `total`, up to 32 `{ code, count }` entries in `byCode`, and
|
|
41
|
+
`otherCount`. It is not a full-generation coverage count. Operational `exclusions`
|
|
42
|
+
or `paused` pages stay incomplete at the existing cursor and never withdraw.
|
|
43
|
+
|
|
44
|
+
The durable failure array stays backward compatible. It aggregates occurrence
|
|
45
|
+
`count` by code, caps retained diagnostics at 31 recent codes plus explicit
|
|
46
|
+
overflow, and declares compacted/truncated detail with `omittedDetailCount`.
|
|
47
|
+
Report-only `failureSummary` separates historical and current invocation counts.
|
|
48
|
+
Never infer that a legacy mixed ledger entry is a policy omission, or treat
|
|
49
|
+
history alone as a current error. A no-cursor historical checkpoint starts the
|
|
50
|
+
new adapter root and retains source rows until actual terminal withdrawal.
|
|
51
|
+
|
|
52
|
+
Valid coarse K–5 and unconfirmed OER snapshots use policy-only partial pages:
|
|
53
|
+
without a next cursor, their valid metadata is retained and the checkpoint
|
|
54
|
+
pauses for unconfirmed coverage, without inventing an operational failure or
|
|
55
|
+
withdrawing unseen rows. In Drive's catalog adapter, definite unsupported or
|
|
56
|
+
out-of-boundary shortcut omissions are policy; missing revisions and inaccessible
|
|
57
|
+
targets remain operational failures. The direct Drive discovery API is unchanged.
|
|
@@ -40,6 +40,10 @@ export interface CatalogSyncFailure {
|
|
|
40
40
|
code: string;
|
|
41
41
|
message: string;
|
|
42
42
|
retryAfterMs?: number;
|
|
43
|
+
/** Aggregated occurrence count; absent on legacy entries means one. */
|
|
44
|
+
count?: number;
|
|
45
|
+
/** Occurrences whose diagnostic detail was explicitly compacted or truncated. */
|
|
46
|
+
omittedDetailCount?: number;
|
|
43
47
|
}
|
|
44
48
|
/** One metadata-only enumeration result. `complete` only means this page is terminal. */
|
|
45
49
|
export interface CatalogSyncPage {
|
|
@@ -48,7 +52,10 @@ export interface CatalogSyncPage {
|
|
|
48
52
|
complete: boolean;
|
|
49
53
|
/** Honest non-terminal stop, e.g. missing source authorization. */
|
|
50
54
|
paused?: boolean;
|
|
55
|
+
/** Operational/access failures. These pause synchronization and remain durable. */
|
|
51
56
|
exclusions?: CatalogSyncFailure[];
|
|
57
|
+
/** Normal policy omissions; summarized only in this invocation's report. */
|
|
58
|
+
policyExclusions?: CatalogSyncFailure[];
|
|
52
59
|
}
|
|
53
60
|
export interface CatalogSyncCheckpoint {
|
|
54
61
|
providerId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-contracts.d.ts","sour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AE,MAAM,CAAC;IACtB,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,KAAK,EAAE;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,qBAAqB,CAAC;KACnC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,KAAK,EAAE;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,UAAU,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtE;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B"}
|
|
@@ -5,8 +5,28 @@ export interface CatalogSyncStore {
|
|
|
5
5
|
upsert(record: CatalogSourceRecord, runId: string): Promise<void>;
|
|
6
6
|
withdrawUnseen(providerId: string, runId: string): Promise<number>;
|
|
7
7
|
}
|
|
8
|
+
/** Policy counts cover only pages processed by the current sync invocation. */
|
|
9
|
+
export interface CatalogExclusionSummary {
|
|
10
|
+
total: number;
|
|
11
|
+
byCode: {
|
|
12
|
+
code: string;
|
|
13
|
+
count: number;
|
|
14
|
+
}[];
|
|
15
|
+
otherCount: number;
|
|
16
|
+
}
|
|
17
|
+
export interface CatalogFailureSummary {
|
|
18
|
+
total: number;
|
|
19
|
+
historical: boolean;
|
|
20
|
+
historicalCount: number;
|
|
21
|
+
currentCount: number;
|
|
22
|
+
omittedDetailCount: number;
|
|
23
|
+
}
|
|
8
24
|
export interface CatalogSyncReport extends CatalogSyncCheckpoint {
|
|
9
25
|
withdrawnCount: number;
|
|
26
|
+
/** Invocation-local, bounded, report-only; never a full-generation coverage total. */
|
|
27
|
+
exclusionSummary?: CatalogExclusionSummary;
|
|
28
|
+
/** Historical diagnostics do not imply a current active failure. */
|
|
29
|
+
failureSummary?: CatalogFailureSummary;
|
|
10
30
|
}
|
|
11
31
|
/** Durable metadata synchronization. It never invokes a content acquisition adapter. */
|
|
12
32
|
export declare class CatalogSyncService {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-sync-service.d.ts","sourceRoot":"","sources":["../src/catalog-sync-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EAEtB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAC9E,cAAc,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACpE;AAED,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,cAAc,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog-sync-service.d.ts","sourceRoot":"","sources":["../src/catalog-sync-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EAEtB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CA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{ CatalogReadStore, CatalogResourceView, } from './catalog-read-serv
|
|
|
15
15
|
export { CatalogReadService } from './catalog-read-service.js';
|
|
16
16
|
export type { CatalogActorContext, CatalogAuthorizer, CatalogReadRequest, TenantCatalogReadScope, } from './catalog-service.js';
|
|
17
17
|
export { CatalogAuthorizationError, CatalogService, } from './catalog-service.js';
|
|
18
|
-
export type { CatalogSyncReport, CatalogSyncStore, } from './catalog-sync-service.js';
|
|
18
|
+
export type { CatalogExclusionSummary, CatalogFailureSummary, CatalogSyncReport, CatalogSyncStore, } from './catalog-sync-service.js';
|
|
19
19
|
export { CatalogSyncService } from './catalog-sync-service.js';
|
|
20
20
|
export { AttestationCollection, AuthoredCourseCollection, CourseCollection, CourseSectionCollection, CurriculumCollection, EnrollmentCollection, ExerciseCollection, ExternalCompletionCollection, ExternalCourseCollection, GradeCollection, LearnerCollection, LessonAssetCollection, LessonCollection, LessonProgressCollection, ReadingCollection, ScannedSubmissionCollection, SubmissionAssetCollection, SubmissionCollection, SubmissionIntakeBindingCollection, VideoCollection, WorksheetCollection, } from './collections.js';
|
|
21
21
|
export type { CourseSourceConfig, CourseSourceKind, SourceSharing, } from './course-source.js';
|
|
@@ -39,6 +39,8 @@ export type { DriveCatalogRecord, DriveDiscoveryCheckpoint, DriveDiscoveryOption
|
|
|
39
39
|
export { DRIVE_CURRICULUM_SEED_ROOTS, GoogleDriveCurriculumAdapter, } from './sources/google-drive-adapter.js';
|
|
40
40
|
export { parseIllustrativeMathematicsK5Index } from './sources/illustrative-mathematics-parser.js';
|
|
41
41
|
export { parseOerCommonsRssFeed } from './sources/oer-commons-rss-parser.js';
|
|
42
|
+
export type { PublicIllustrativeMathematicsFirstEditionConfig } from './sources/public-illustrative-mathematics-adapter.js';
|
|
43
|
+
export { createPublicIllustrativeMathematicsFirstEditionAdapter } from './sources/public-illustrative-mathematics-adapter.js';
|
|
42
44
|
export type { SubmissionAssetClaim, SubmissionIntake, SubmissionPage, SubmissionServiceOptions, SubmissionView, } from './submission-service.js';
|
|
43
45
|
export { SubmissionService, SubmissionStorageCleanupError, } from './submission-service.js';
|
|
44
46
|
export type { ExternalCompletionReporter, GraderKind, SubmissionAssetRelationship, SubmissionKind, SubmissionStatus, } from './submissions.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,cAAc,EACd,MAAM,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,MAAM,EACN,OAAO,EACP,KAAK,EACL,SAAS,GACV,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,qBAAqB,EACrB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EACV,qBAAqB,EACrB,gCAAgC,EAChC,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AACrF,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,eA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