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.
@@ -1271,7 +1271,7 @@ export declare const schemaDict: {
1271
1271
  };
1272
1272
  readonly answers: {
1273
1273
  readonly type: "array";
1274
- readonly maxLength: 200;
1274
+ readonly maxLength: 1000;
1275
1275
  readonly items: {
1276
1276
  readonly type: "ref";
1277
1277
  readonly ref: "lex:pub.techne.draft.assessment#answer";
@@ -1279,7 +1279,7 @@ export declare const schemaDict: {
1279
1279
  };
1280
1280
  readonly missing: {
1281
1281
  readonly type: "array";
1282
- readonly maxLength: 200;
1282
+ readonly maxLength: 1000;
1283
1283
  readonly items: {
1284
1284
  readonly type: "ref";
1285
1285
  readonly ref: "lex:pub.techne.draft.assessment#missingAnswer";
@@ -1564,6 +1564,12 @@ export declare const schemaDict: {
1564
1564
  readonly maxGraphemes: 256;
1565
1565
  readonly description: "A free-form description of the collective.";
1566
1566
  };
1567
+ readonly emoji: {
1568
+ readonly type: "string";
1569
+ readonly maxLength: 64;
1570
+ readonly maxGraphemes: 1;
1571
+ readonly description: "Optional: one emoji (one grapheme cluster), the collective's mark. A client shows the avatar if there is one, else this emoji, else the first letter of the name. No color is stored; a client may derive one from the collective's DID.";
1572
+ };
1567
1573
  readonly collectiveType: {
1568
1574
  readonly type: "string";
1569
1575
  readonly description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, where every member holds role 40 (where the platform holds the circle's credential, any member may add, remove and rename and nobody deletes it; a circle whose DID someone else holds is managed by its holder), and which a pub.techne.draft.accessRule#groupTarget may name.";
@@ -5599,6 +5605,122 @@ export declare const schemaDict: {
5599
5605
  };
5600
5606
  };
5601
5607
  };
5608
+ readonly PubTechneDraftPlaceResearch: {
5609
+ readonly lexicon: 1;
5610
+ readonly id: "pub.techne.draft.placeResearch";
5611
+ readonly description: "What open-web research found about a place: its kind, a short description of what going there is like, facts such as alcohol, food, step-free access and dogs, venue-level tags, and the sources read. A sidecar about the place; its derivation names the method and model. Written by a research rule in its own repo. PUBLIC.";
5612
+ readonly defs: {
5613
+ readonly main: {
5614
+ readonly type: "record";
5615
+ readonly key: "any";
5616
+ readonly description: "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. `any` permits that convention but cannot enforce it.";
5617
+ readonly record: {
5618
+ readonly type: "object";
5619
+ readonly required: ["subject", "createdAt"];
5620
+ readonly properties: {
5621
+ readonly subject: {
5622
+ readonly type: "ref";
5623
+ readonly ref: "lex:com.atproto.repo.strongRef";
5624
+ readonly description: "The curated place this is about.";
5625
+ };
5626
+ readonly kind: {
5627
+ readonly type: "string";
5628
+ readonly maxLength: 64;
5629
+ readonly knownValues: ["bar", "music_venue", "comedy_club", "theatre", "cinema", "gallery_museum", "library", "park", "community_centre", "cafe", "restaurant", "place_of_worship", "school_campus", "sports_venue", "shop", "outdoor_space", "event_space", "hotel", "farm", "not_a_venue", "other"];
5630
+ readonly description: "What kind of place it is. not_a_venue: the place is not somewhere people go for events (an address, a region, an online-only organiser).";
5631
+ };
5632
+ readonly about: {
5633
+ readonly type: "string";
5634
+ readonly maxLength: 2000;
5635
+ readonly maxGraphemes: 600;
5636
+ readonly description: "Two or three plain sentences on what going there is like.";
5637
+ };
5638
+ readonly website: {
5639
+ readonly type: "string";
5640
+ readonly format: "uri";
5641
+ readonly description: "The place's own website, when research found one.";
5642
+ };
5643
+ readonly facts: {
5644
+ readonly type: "array";
5645
+ readonly maxLength: 32;
5646
+ readonly items: {
5647
+ readonly type: "ref";
5648
+ readonly ref: "lex:pub.techne.draft.placeResearch#fact";
5649
+ };
5650
+ };
5651
+ readonly tags: {
5652
+ readonly type: "array";
5653
+ readonly maxLength: 200;
5654
+ readonly items: {
5655
+ readonly type: "ref";
5656
+ readonly ref: "lex:pub.techne.draft.placeResearch#tag";
5657
+ };
5658
+ readonly description: "Venue-level tags: whether each applies to the place as a whole.";
5659
+ };
5660
+ readonly sources: {
5661
+ readonly type: "array";
5662
+ readonly maxLength: 16;
5663
+ readonly items: {
5664
+ readonly type: "string";
5665
+ readonly format: "uri";
5666
+ };
5667
+ readonly description: "The pages research read.";
5668
+ };
5669
+ readonly confidence: {
5670
+ readonly type: "string";
5671
+ readonly knownValues: ["high", "medium", "low"];
5672
+ readonly description: "How sure the research is, overall.";
5673
+ };
5674
+ readonly createdAt: {
5675
+ readonly type: "string";
5676
+ readonly format: "datetime";
5677
+ };
5678
+ };
5679
+ };
5680
+ };
5681
+ readonly fact: {
5682
+ readonly type: "object";
5683
+ readonly required: ["name", "value"];
5684
+ readonly properties: {
5685
+ readonly name: {
5686
+ readonly type: "string";
5687
+ readonly maxLength: 64;
5688
+ readonly knownValues: ["serves_alcohol", "serves_food", "step_free_entrance", "wheelchair_accessible", "accessible_toilet", "dog_friendly", "outdoor_area", "seated", "kid_friendly", "drink_minimum", "door_policy", "typical_price"];
5689
+ };
5690
+ readonly value: {
5691
+ readonly type: "string";
5692
+ readonly maxLength: 32;
5693
+ readonly description: "yes, no or unknown; for door_policy one of all_ages, 18_plus, 21_plus, varies, unknown; for typical_price one of free, under_20, 20_50, 50_plus, varies, unknown.";
5694
+ };
5695
+ readonly evidence: {
5696
+ readonly type: "string";
5697
+ readonly maxLength: 400;
5698
+ readonly description: "What the source said, briefly.";
5699
+ };
5700
+ readonly source: {
5701
+ readonly type: "string";
5702
+ readonly format: "uri";
5703
+ readonly description: "The page the evidence is from.";
5704
+ };
5705
+ };
5706
+ };
5707
+ readonly tag: {
5708
+ readonly type: "object";
5709
+ readonly required: ["id", "value"];
5710
+ readonly properties: {
5711
+ readonly id: {
5712
+ readonly type: "string";
5713
+ readonly maxLength: 128;
5714
+ readonly description: "The tag's id.";
5715
+ };
5716
+ readonly value: {
5717
+ readonly type: "string";
5718
+ readonly knownValues: ["yes", "no"];
5719
+ };
5720
+ };
5721
+ };
5722
+ };
5723
+ };
5602
5724
  readonly PubTechneDraftPost: {
5603
5725
  readonly lexicon: 1;
5604
5726
  readonly id: "pub.techne.draft.post";
@@ -6912,6 +7034,11 @@ export declare const schemaDict: {
6912
7034
  readonly type: "string";
6913
7035
  readonly maxLength: 256;
6914
7036
  };
7037
+ readonly howToAnswer: {
7038
+ readonly type: "string";
7039
+ readonly maxLength: 8192;
7040
+ readonly description: "Answering instructions shared by every question in this set, stated once. Each question's prompt is then its own text, asked under these instructions.";
7041
+ };
6915
7042
  readonly questions: {
6916
7043
  readonly type: "array";
6917
7044
  readonly items: {
@@ -6919,7 +7046,7 @@ export declare const schemaDict: {
6919
7046
  readonly ref: "lex:pub.techne.draft.questionSet#question";
6920
7047
  };
6921
7048
  readonly minLength: 1;
6922
- readonly maxLength: 200;
7049
+ readonly maxLength: 1000;
6923
7050
  };
6924
7051
  };
6925
7052
  };
@@ -6944,6 +7071,7 @@ export declare const schemaDict: {
6944
7071
  readonly prompt: {
6945
7072
  readonly type: "string";
6946
7073
  readonly maxLength: 8192;
7074
+ readonly description: "What is asked for this question. With a set's howToAnswer, it is the question's own text and the shared instructions are howToAnswer's.";
6947
7075
  };
6948
7076
  readonly criteria: {
6949
7077
  readonly type: "array";
@@ -8288,6 +8416,39 @@ export declare const schemaDict: {
8288
8416
  };
8289
8417
  };
8290
8418
  };
8419
+ readonly PubTechneDraftSummary: {
8420
+ readonly lexicon: 1;
8421
+ readonly id: "pub.techne.draft.summary";
8422
+ readonly description: "A short factual line saying what a record is, for a card. Facts only; it names no venue, town, date or time, which the card shows from the record itself. Its derivation names the method and model. A sidecar about a curated record, written by a rule in its own repo. PUBLIC.";
8423
+ readonly defs: {
8424
+ readonly main: {
8425
+ readonly type: "record";
8426
+ readonly key: "any";
8427
+ readonly description: "Publishers use sidecar_rkey(subject AT-URI), one summary per record per writer. `any` permits that convention but cannot enforce it.";
8428
+ readonly record: {
8429
+ readonly type: "object";
8430
+ readonly required: ["subject", "text", "createdAt"];
8431
+ readonly properties: {
8432
+ readonly subject: {
8433
+ readonly type: "ref";
8434
+ readonly ref: "lex:com.atproto.repo.strongRef";
8435
+ readonly description: "The record this summarises.";
8436
+ };
8437
+ readonly text: {
8438
+ readonly type: "string";
8439
+ readonly maxLength: 400;
8440
+ readonly maxGraphemes: 100;
8441
+ readonly description: "The line, as plain text.";
8442
+ };
8443
+ readonly createdAt: {
8444
+ readonly type: "string";
8445
+ readonly format: "datetime";
8446
+ };
8447
+ };
8448
+ };
8449
+ };
8450
+ };
8451
+ };
8291
8452
  readonly PubTechneDraftSyncIndexRecord: {
8292
8453
  readonly lexicon: 1;
8293
8454
  readonly id: "pub.techne.draft.sync.indexRecord";
@@ -10992,7 +11153,7 @@ export declare const schemas: ({
10992
11153
  };
10993
11154
  readonly answers: {
10994
11155
  readonly type: "array";
10995
- readonly maxLength: 200;
11156
+ readonly maxLength: 1000;
10996
11157
  readonly items: {
10997
11158
  readonly type: "ref";
10998
11159
  readonly ref: "lex:pub.techne.draft.assessment#answer";
@@ -11000,7 +11161,7 @@ export declare const schemas: ({
11000
11161
  };
11001
11162
  readonly missing: {
11002
11163
  readonly type: "array";
11003
- readonly maxLength: 200;
11164
+ readonly maxLength: 1000;
11004
11165
  readonly items: {
11005
11166
  readonly type: "ref";
11006
11167
  readonly ref: "lex:pub.techne.draft.assessment#missingAnswer";
@@ -11277,6 +11438,12 @@ export declare const schemas: ({
11277
11438
  readonly maxGraphemes: 256;
11278
11439
  readonly description: "A free-form description of the collective.";
11279
11440
  };
11441
+ readonly emoji: {
11442
+ readonly type: "string";
11443
+ readonly maxLength: 64;
11444
+ readonly maxGraphemes: 1;
11445
+ readonly description: "Optional: one emoji (one grapheme cluster), the collective's mark. A client shows the avatar if there is one, else this emoji, else the first letter of the name. No color is stored; a client may derive one from the collective's DID.";
11446
+ };
11280
11447
  readonly collectiveType: {
11281
11448
  readonly type: "string";
11282
11449
  readonly description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, where every member holds role 40 (where the platform holds the circle's credential, any member may add, remove and rename and nobody deletes it; a circle whose DID someone else holds is managed by its holder), and which a pub.techne.draft.accessRule#groupTarget may name.";
@@ -15247,6 +15414,121 @@ export declare const schemas: ({
15247
15414
  };
15248
15415
  };
15249
15416
  };
15417
+ } | {
15418
+ readonly lexicon: 1;
15419
+ readonly id: "pub.techne.draft.placeResearch";
15420
+ readonly description: "What open-web research found about a place: its kind, a short description of what going there is like, facts such as alcohol, food, step-free access and dogs, venue-level tags, and the sources read. A sidecar about the place; its derivation names the method and model. Written by a research rule in its own repo. PUBLIC.";
15421
+ readonly defs: {
15422
+ readonly main: {
15423
+ readonly type: "record";
15424
+ readonly key: "any";
15425
+ readonly description: "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. `any` permits that convention but cannot enforce it.";
15426
+ readonly record: {
15427
+ readonly type: "object";
15428
+ readonly required: ["subject", "createdAt"];
15429
+ readonly properties: {
15430
+ readonly subject: {
15431
+ readonly type: "ref";
15432
+ readonly ref: "lex:com.atproto.repo.strongRef";
15433
+ readonly description: "The curated place this is about.";
15434
+ };
15435
+ readonly kind: {
15436
+ readonly type: "string";
15437
+ readonly maxLength: 64;
15438
+ readonly knownValues: ["bar", "music_venue", "comedy_club", "theatre", "cinema", "gallery_museum", "library", "park", "community_centre", "cafe", "restaurant", "place_of_worship", "school_campus", "sports_venue", "shop", "outdoor_space", "event_space", "hotel", "farm", "not_a_venue", "other"];
15439
+ readonly description: "What kind of place it is. not_a_venue: the place is not somewhere people go for events (an address, a region, an online-only organiser).";
15440
+ };
15441
+ readonly about: {
15442
+ readonly type: "string";
15443
+ readonly maxLength: 2000;
15444
+ readonly maxGraphemes: 600;
15445
+ readonly description: "Two or three plain sentences on what going there is like.";
15446
+ };
15447
+ readonly website: {
15448
+ readonly type: "string";
15449
+ readonly format: "uri";
15450
+ readonly description: "The place's own website, when research found one.";
15451
+ };
15452
+ readonly facts: {
15453
+ readonly type: "array";
15454
+ readonly maxLength: 32;
15455
+ readonly items: {
15456
+ readonly type: "ref";
15457
+ readonly ref: "lex:pub.techne.draft.placeResearch#fact";
15458
+ };
15459
+ };
15460
+ readonly tags: {
15461
+ readonly type: "array";
15462
+ readonly maxLength: 200;
15463
+ readonly items: {
15464
+ readonly type: "ref";
15465
+ readonly ref: "lex:pub.techne.draft.placeResearch#tag";
15466
+ };
15467
+ readonly description: "Venue-level tags: whether each applies to the place as a whole.";
15468
+ };
15469
+ readonly sources: {
15470
+ readonly type: "array";
15471
+ readonly maxLength: 16;
15472
+ readonly items: {
15473
+ readonly type: "string";
15474
+ readonly format: "uri";
15475
+ };
15476
+ readonly description: "The pages research read.";
15477
+ };
15478
+ readonly confidence: {
15479
+ readonly type: "string";
15480
+ readonly knownValues: ["high", "medium", "low"];
15481
+ readonly description: "How sure the research is, overall.";
15482
+ };
15483
+ readonly createdAt: {
15484
+ readonly type: "string";
15485
+ readonly format: "datetime";
15486
+ };
15487
+ };
15488
+ };
15489
+ };
15490
+ readonly fact: {
15491
+ readonly type: "object";
15492
+ readonly required: ["name", "value"];
15493
+ readonly properties: {
15494
+ readonly name: {
15495
+ readonly type: "string";
15496
+ readonly maxLength: 64;
15497
+ readonly knownValues: ["serves_alcohol", "serves_food", "step_free_entrance", "wheelchair_accessible", "accessible_toilet", "dog_friendly", "outdoor_area", "seated", "kid_friendly", "drink_minimum", "door_policy", "typical_price"];
15498
+ };
15499
+ readonly value: {
15500
+ readonly type: "string";
15501
+ readonly maxLength: 32;
15502
+ readonly description: "yes, no or unknown; for door_policy one of all_ages, 18_plus, 21_plus, varies, unknown; for typical_price one of free, under_20, 20_50, 50_plus, varies, unknown.";
15503
+ };
15504
+ readonly evidence: {
15505
+ readonly type: "string";
15506
+ readonly maxLength: 400;
15507
+ readonly description: "What the source said, briefly.";
15508
+ };
15509
+ readonly source: {
15510
+ readonly type: "string";
15511
+ readonly format: "uri";
15512
+ readonly description: "The page the evidence is from.";
15513
+ };
15514
+ };
15515
+ };
15516
+ readonly tag: {
15517
+ readonly type: "object";
15518
+ readonly required: ["id", "value"];
15519
+ readonly properties: {
15520
+ readonly id: {
15521
+ readonly type: "string";
15522
+ readonly maxLength: 128;
15523
+ readonly description: "The tag's id.";
15524
+ };
15525
+ readonly value: {
15526
+ readonly type: "string";
15527
+ readonly knownValues: ["yes", "no"];
15528
+ };
15529
+ };
15530
+ };
15531
+ };
15250
15532
  } | {
15251
15533
  readonly lexicon: 1;
15252
15534
  readonly id: "pub.techne.draft.post";
@@ -16550,6 +16832,11 @@ export declare const schemas: ({
16550
16832
  readonly type: "string";
16551
16833
  readonly maxLength: 256;
16552
16834
  };
16835
+ readonly howToAnswer: {
16836
+ readonly type: "string";
16837
+ readonly maxLength: 8192;
16838
+ readonly description: "Answering instructions shared by every question in this set, stated once. Each question's prompt is then its own text, asked under these instructions.";
16839
+ };
16553
16840
  readonly questions: {
16554
16841
  readonly type: "array";
16555
16842
  readonly items: {
@@ -16557,7 +16844,7 @@ export declare const schemas: ({
16557
16844
  readonly ref: "lex:pub.techne.draft.questionSet#question";
16558
16845
  };
16559
16846
  readonly minLength: 1;
16560
- readonly maxLength: 200;
16847
+ readonly maxLength: 1000;
16561
16848
  };
16562
16849
  };
16563
16850
  };
@@ -16582,6 +16869,7 @@ export declare const schemas: ({
16582
16869
  readonly prompt: {
16583
16870
  readonly type: "string";
16584
16871
  readonly maxLength: 8192;
16872
+ readonly description: "What is asked for this question. With a set's howToAnswer, it is the question's own text and the shared instructions are howToAnswer's.";
16585
16873
  };
16586
16874
  readonly criteria: {
16587
16875
  readonly type: "array";
@@ -17903,6 +18191,38 @@ export declare const schemas: ({
17903
18191
  };
17904
18192
  };
17905
18193
  };
18194
+ } | {
18195
+ readonly lexicon: 1;
18196
+ readonly id: "pub.techne.draft.summary";
18197
+ readonly description: "A short factual line saying what a record is, for a card. Facts only; it names no venue, town, date or time, which the card shows from the record itself. Its derivation names the method and model. A sidecar about a curated record, written by a rule in its own repo. PUBLIC.";
18198
+ readonly defs: {
18199
+ readonly main: {
18200
+ readonly type: "record";
18201
+ readonly key: "any";
18202
+ readonly description: "Publishers use sidecar_rkey(subject AT-URI), one summary per record per writer. `any` permits that convention but cannot enforce it.";
18203
+ readonly record: {
18204
+ readonly type: "object";
18205
+ readonly required: ["subject", "text", "createdAt"];
18206
+ readonly properties: {
18207
+ readonly subject: {
18208
+ readonly type: "ref";
18209
+ readonly ref: "lex:com.atproto.repo.strongRef";
18210
+ readonly description: "The record this summarises.";
18211
+ };
18212
+ readonly text: {
18213
+ readonly type: "string";
18214
+ readonly maxLength: 400;
18215
+ readonly maxGraphemes: 100;
18216
+ readonly description: "The line, as plain text.";
18217
+ };
18218
+ readonly createdAt: {
18219
+ readonly type: "string";
18220
+ readonly format: "datetime";
18221
+ };
18222
+ };
18223
+ };
18224
+ };
18225
+ };
17906
18226
  } | {
17907
18227
  readonly lexicon: 1;
17908
18228
  readonly id: "pub.techne.draft.sync.indexRecord";
@@ -19442,6 +19762,7 @@ export declare const ids: {
19442
19762
  readonly PubTechneDraftPermissionedPutRecord: "pub.techne.draft.permissioned.putRecord";
19443
19763
  readonly PubTechneDraftPermissionedPutRecords: "pub.techne.draft.permissioned.putRecords";
19444
19764
  readonly PubTechneDraftPlace: "pub.techne.draft.place";
19765
+ readonly PubTechneDraftPlaceResearch: "pub.techne.draft.placeResearch";
19445
19766
  readonly PubTechneDraftPost: "pub.techne.draft.post";
19446
19767
  readonly PubTechneDraftPresence: "pub.techne.draft.presence";
19447
19768
  readonly PubTechneDraftProfile: "pub.techne.draft.profile";
@@ -19475,6 +19796,7 @@ export declare const ids: {
19475
19796
  readonly PubTechneDraftSourceAttribution: "pub.techne.draft.sourceAttribution";
19476
19797
  readonly PubTechneDraftSourceRef: "pub.techne.draft.sourceRef";
19477
19798
  readonly PubTechneDraftSubjectPrefs: "pub.techne.draft.subjectPrefs";
19799
+ readonly PubTechneDraftSummary: "pub.techne.draft.summary";
19478
19800
  readonly PubTechneDraftSyncIndexRecord: "pub.techne.draft.sync.indexRecord";
19479
19801
  readonly PubTechneDraftVerdict: "pub.techne.draft.verdict";
19480
19802
  readonly PubTechneDraftVerification: "pub.techne.draft.verification";