techne-sdk 0.3.2 → 0.3.3
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/CHANGELOG.md +23 -0
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +2 -0
- package/dist/catalog/catalog.gen.d.ts +6 -33
- package/dist/catalog/catalog.gen.js +536 -6
- package/dist/generated/index.d.ts +56 -0
- package/dist/generated/index.js +72 -0
- package/dist/generated/lexicons.d.ts +328 -6
- package/dist/generated/lexicons.js +201 -3
- package/dist/generated/nsid.d.ts +7 -0
- package/dist/generated/nsid.js +7 -0
- package/dist/generated/nsid.json +7 -0
- package/dist/generated/records.d.ts +48 -44
- package/dist/generated/types/pub/techne/draft/collective.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/placeResearch.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/placeResearch.js +26 -0
- package/dist/generated/types/pub/techne/draft/questionSet.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/summary.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/summary.js +12 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +22469 -21460
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
`techne-sdk` on npm and the `techne-sdk` crate share a version. Each entry names what changes for an app or
|
|
4
4
|
a crate user.
|
|
5
5
|
|
|
6
|
+
## 0.3.3 (2026-11-10)
|
|
7
|
+
|
|
8
|
+
Built on lexicons `v0.1.22-techne.64` (b1407281) and the platform's published API at platform
|
|
9
|
+
`e4cc8b0ef` (`inputs.pin.json`). The crate depends on `techne-lexicon-check` 0.3.3 from crates.io, packaged
|
|
10
|
+
from that lexicons tag. Additive only: no export is removed or renamed.
|
|
11
|
+
|
|
12
|
+
- **New record types `pub.techne.draft.placeResearch` and `pub.techne.draft.summary`.** `placeResearch` is
|
|
13
|
+
what a writer found out about a place (`subject`, `kind`, `about`, `website`, `facts`, `tags`, `sources`,
|
|
14
|
+
`confidence`); `summary` is a short text about any record (`subject`, `text`). Both are public, one per
|
|
15
|
+
subject per writer (`sidecar_rkey` of the subject's AT-URI). They get generated types, `NSID.PLACE_RESEARCH`
|
|
16
|
+
and `NSID.SUMMARY`, catalog and placement entries, and `put` and the WebAssembly validate them. The
|
|
17
|
+
publish scope (`authWrite`) now covers both.
|
|
18
|
+
- **`questionSet` has `howToAnswer`.** Optional answering instructions shared by every question in a set,
|
|
19
|
+
stated once; each question's `prompt` (still required) is then the question's own text.
|
|
20
|
+
- **Bigger question sets.** `questionSet.questions` and `assessment.answers` / `assessment.missing` now
|
|
21
|
+
allow up to 1000 items (was 200).
|
|
22
|
+
- **A collective can have an emoji.** Optional `collective.emoji`: one emoji (one grapheme cluster, checked by
|
|
23
|
+
the WebAssembly too). A client shows the avatar if there is one, else the emoji, else the name's first
|
|
24
|
+
letter.
|
|
25
|
+
- **`METHOD.GET_EVENT_ANNOTATIONS`** (`social.scenius.getEventAnnotations`), and the `social.scenius.ask`
|
|
26
|
+
method lexicon as the platform now publishes it (optional `chips` and `timeChip` on its answer), are in the
|
|
27
|
+
inputs (names only; no new client method).
|
|
28
|
+
|
|
6
29
|
## 0.3.2 (2026-11-10)
|
|
7
30
|
|
|
8
31
|
Built on lexicons `v0.1.22-techne.63` (693f27ce) and the platform's published API at regenOS main `d3f224e6a`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PUBLIC_HOMES: readonly ["pub.techne.draft.appConfig", "pub.techne.draft.approval", "pub.techne.draft.connection", "pub.techne.draft.contactChannel", "pub.techne.draft.channelVerification", "pub.techne.draft.containedIn", "pub.techne.draft.derivation", "pub.techne.draft.distinctFrom", "pub.techne.draft.geo", "pub.techne.draft.heldAt", "pub.techne.draft.operator", "pub.techne.draft.org", "pub.techne.draft.profile", "pub.techne.draft.assessment", "pub.techne.draft.provenance", "pub.techne.draft.questionSet", "pub.techne.draft.receipt", "pub.techne.draft.registry.typeRequest", "pub.techne.draft.verdict", "pub.techne.draft.verification", "pub.techne.draft.retirement", "pub.techne.draft.credential", "pub.techne.draft.credentialRevocation", "pub.techne.draft.publisher", "pub.techne.draft.sameAs", "pub.techne.draft.source", "pub.techne.draft.sourceAttribution", "pub.techne.draft.sourceRef", "pub.techne.draft.evaluation", "pub.techne.draft.event.config", "pub.techne.draft.event.listing", "pub.techne.draft.feed.recipe", "pub.techne.draft.query", "pub.techne.draft.invite", "pub.techne.draft.market.ask", "pub.techne.draft.market.offer", "pub.techne.draft.membership", "pub.techne.draft.place", "pub.techne.draft.presence", "pub.techne.draft.actor.profile", "pub.techne.draft.collective", "community.lexicon.calendar.event", "community.lexicon.calendar.rsvp"];
|
|
1
|
+
export declare const PUBLIC_HOMES: readonly ["pub.techne.draft.appConfig", "pub.techne.draft.approval", "pub.techne.draft.connection", "pub.techne.draft.contactChannel", "pub.techne.draft.channelVerification", "pub.techne.draft.containedIn", "pub.techne.draft.derivation", "pub.techne.draft.distinctFrom", "pub.techne.draft.geo", "pub.techne.draft.heldAt", "pub.techne.draft.operator", "pub.techne.draft.org", "pub.techne.draft.profile", "pub.techne.draft.assessment", "pub.techne.draft.placeResearch", "pub.techne.draft.summary", "pub.techne.draft.provenance", "pub.techne.draft.questionSet", "pub.techne.draft.receipt", "pub.techne.draft.registry.typeRequest", "pub.techne.draft.verdict", "pub.techne.draft.verification", "pub.techne.draft.retirement", "pub.techne.draft.credential", "pub.techne.draft.credentialRevocation", "pub.techne.draft.publisher", "pub.techne.draft.sameAs", "pub.techne.draft.source", "pub.techne.draft.sourceAttribution", "pub.techne.draft.sourceRef", "pub.techne.draft.evaluation", "pub.techne.draft.event.config", "pub.techne.draft.event.listing", "pub.techne.draft.feed.recipe", "pub.techne.draft.query", "pub.techne.draft.invite", "pub.techne.draft.market.ask", "pub.techne.draft.market.offer", "pub.techne.draft.membership", "pub.techne.draft.place", "pub.techne.draft.presence", "pub.techne.draft.actor.profile", "pub.techne.draft.collective", "community.lexicon.calendar.event", "community.lexicon.calendar.rsvp"];
|
|
@@ -546,6 +546,12 @@ export declare const catalog: {
|
|
|
546
546
|
required: boolean;
|
|
547
547
|
description: string;
|
|
548
548
|
knownValues?: undefined;
|
|
549
|
+
} | {
|
|
550
|
+
name: string;
|
|
551
|
+
type: string;
|
|
552
|
+
required: boolean;
|
|
553
|
+
description: string;
|
|
554
|
+
knownValues: string[];
|
|
549
555
|
})[];
|
|
550
556
|
doc: unknown;
|
|
551
557
|
params?: undefined;
|
|
@@ -798,39 +804,6 @@ export declare const catalog: {
|
|
|
798
804
|
}[];
|
|
799
805
|
doc: unknown;
|
|
800
806
|
params?: undefined;
|
|
801
|
-
} | {
|
|
802
|
-
nsid: string;
|
|
803
|
-
name: string;
|
|
804
|
-
group: string;
|
|
805
|
-
kind: string;
|
|
806
|
-
class: string;
|
|
807
|
-
description: string;
|
|
808
|
-
input: ({
|
|
809
|
-
name: string;
|
|
810
|
-
type: string;
|
|
811
|
-
required: boolean;
|
|
812
|
-
description?: undefined;
|
|
813
|
-
} | {
|
|
814
|
-
name: string;
|
|
815
|
-
type: string;
|
|
816
|
-
required: boolean;
|
|
817
|
-
description: string;
|
|
818
|
-
})[];
|
|
819
|
-
output: ({
|
|
820
|
-
name: string;
|
|
821
|
-
type: string;
|
|
822
|
-
required: boolean;
|
|
823
|
-
description: string;
|
|
824
|
-
knownValues?: undefined;
|
|
825
|
-
} | {
|
|
826
|
-
name: string;
|
|
827
|
-
type: string;
|
|
828
|
-
required: boolean;
|
|
829
|
-
description: string;
|
|
830
|
-
knownValues: string[];
|
|
831
|
-
})[];
|
|
832
|
-
doc: unknown;
|
|
833
|
-
params?: undefined;
|
|
834
807
|
})[];
|
|
835
808
|
counts: {
|
|
836
809
|
records: number;
|