@chipschat/protocol 1.0.7 → 1.0.8

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.
@@ -348,6 +348,31 @@
348
348
  "description": "An agent identifier (`agt_`, ADR 0087), or a harness's (`hrn_`) for one written before agents."
349
349
  }
350
350
  },
351
+ "to": {
352
+ "description": "On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it.",
353
+ "maxItems": 64,
354
+ "type": "array",
355
+ "items": {
356
+ "type": "object",
357
+ "properties": {
358
+ "id": {
359
+ "type": "string",
360
+ "pattern": "^(?:agt|hrn)_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
361
+ "description": "One of `addressed_to`."
362
+ },
363
+ "name": {
364
+ "type": "string",
365
+ "minLength": 1,
366
+ "maxLength": 120,
367
+ "description": "What it goes by now."
368
+ }
369
+ },
370
+ "required": [
371
+ "id",
372
+ "name"
373
+ ]
374
+ }
375
+ },
351
376
  "held": {
352
377
  "description": "On `said`: the guard held it (ADR 0081), so it was for nobody.",
353
378
  "type": "boolean",
@@ -498,6 +523,31 @@
498
523
  "description": "An agent identifier (`agt_`, ADR 0087), or a harness's (`hrn_`) for one written before agents."
499
524
  }
500
525
  },
526
+ "to": {
527
+ "description": "On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it.",
528
+ "maxItems": 64,
529
+ "type": "array",
530
+ "items": {
531
+ "type": "object",
532
+ "properties": {
533
+ "id": {
534
+ "type": "string",
535
+ "pattern": "^(?:agt|hrn)_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
536
+ "description": "One of `addressed_to`."
537
+ },
538
+ "name": {
539
+ "type": "string",
540
+ "minLength": 1,
541
+ "maxLength": 120,
542
+ "description": "What it goes by now."
543
+ }
544
+ },
545
+ "required": [
546
+ "id",
547
+ "name"
548
+ ]
549
+ }
550
+ },
501
551
  "held": {
502
552
  "description": "On `said`: the guard held it (ADR 0081), so it was for nobody.",
503
553
  "type": "boolean",
@@ -798,6 +848,31 @@
798
848
  "description": "An agent identifier (`agt_`, ADR 0087), or a harness's (`hrn_`) for one written before agents."
799
849
  }
800
850
  },
851
+ "to": {
852
+ "description": "On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it.",
853
+ "maxItems": 64,
854
+ "type": "array",
855
+ "items": {
856
+ "type": "object",
857
+ "properties": {
858
+ "id": {
859
+ "type": "string",
860
+ "pattern": "^(?:agt|hrn)_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
861
+ "description": "One of `addressed_to`."
862
+ },
863
+ "name": {
864
+ "type": "string",
865
+ "minLength": 1,
866
+ "maxLength": 120,
867
+ "description": "What it goes by now."
868
+ }
869
+ },
870
+ "required": [
871
+ "id",
872
+ "name"
873
+ ]
874
+ }
875
+ },
801
876
  "held": {
802
877
  "description": "On `said`: the guard held it (ADR 0081), so it was for nobody.",
803
878
  "type": "boolean",
@@ -348,6 +348,31 @@
348
348
  "description": "An agent identifier (`agt_`, ADR 0087), or a harness's (`hrn_`) for one written before agents."
349
349
  }
350
350
  },
351
+ "to": {
352
+ "description": "On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it.",
353
+ "maxItems": 64,
354
+ "type": "array",
355
+ "items": {
356
+ "type": "object",
357
+ "properties": {
358
+ "id": {
359
+ "type": "string",
360
+ "pattern": "^(?:agt|hrn)_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
361
+ "description": "One of `addressed_to`."
362
+ },
363
+ "name": {
364
+ "type": "string",
365
+ "minLength": 1,
366
+ "maxLength": 120,
367
+ "description": "What it goes by now."
368
+ }
369
+ },
370
+ "required": [
371
+ "id",
372
+ "name"
373
+ ]
374
+ }
375
+ },
351
376
  "held": {
352
377
  "description": "On `said`: the guard held it (ADR 0081), so it was for nobody.",
353
378
  "type": "boolean",
@@ -498,6 +523,31 @@
498
523
  "description": "An agent identifier (`agt_`, ADR 0087), or a harness's (`hrn_`) for one written before agents."
499
524
  }
500
525
  },
526
+ "to": {
527
+ "description": "On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it.",
528
+ "maxItems": 64,
529
+ "type": "array",
530
+ "items": {
531
+ "type": "object",
532
+ "properties": {
533
+ "id": {
534
+ "type": "string",
535
+ "pattern": "^(?:agt|hrn)_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
536
+ "description": "One of `addressed_to`."
537
+ },
538
+ "name": {
539
+ "type": "string",
540
+ "minLength": 1,
541
+ "maxLength": 120,
542
+ "description": "What it goes by now."
543
+ }
544
+ },
545
+ "required": [
546
+ "id",
547
+ "name"
548
+ ]
549
+ }
550
+ },
501
551
  "held": {
502
552
  "description": "On `said`: the guard held it (ADR 0081), so it was for nobody.",
503
553
  "type": "boolean",
@@ -1218,6 +1218,13 @@ export interface MessageNew {
1218
1218
  files?: string[];
1219
1219
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
1220
1220
  addressed_to?: string[];
1221
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
1222
+ to?: {
1223
+ /** One of `addressed_to`. */
1224
+ id: string;
1225
+ /** What it goes by now. */
1226
+ name: string;
1227
+ }[];
1221
1228
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
1222
1229
  held?: true;
1223
1230
  /** On `renamed`, for a participant: the name they took. */
@@ -1260,6 +1267,13 @@ export interface MessageNew {
1260
1267
  files?: string[];
1261
1268
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
1262
1269
  addressed_to?: string[];
1270
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
1271
+ to?: {
1272
+ /** One of `addressed_to`. */
1273
+ id: string;
1274
+ /** What it goes by now. */
1275
+ name: string;
1276
+ }[];
1263
1277
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
1264
1278
  held?: true;
1265
1279
  /** On `renamed`, for a participant: the name they took. */
@@ -1342,6 +1356,13 @@ export interface MessageNew {
1342
1356
  files?: string[];
1343
1357
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
1344
1358
  addressed_to?: string[];
1359
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
1360
+ to?: {
1361
+ /** One of `addressed_to`. */
1362
+ id: string;
1363
+ /** What it goes by now. */
1364
+ name: string;
1365
+ }[];
1345
1366
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
1346
1367
  held?: true;
1347
1368
  /** On `renamed`, for a participant: the name they took. */
@@ -1613,6 +1634,13 @@ export interface MessageOverheard {
1613
1634
  files?: string[];
1614
1635
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
1615
1636
  addressed_to?: string[];
1637
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
1638
+ to?: {
1639
+ /** One of `addressed_to`. */
1640
+ id: string;
1641
+ /** What it goes by now. */
1642
+ name: string;
1643
+ }[];
1616
1644
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
1617
1645
  held?: true;
1618
1646
  /** On `renamed`, for a participant: the name they took. */
@@ -1655,6 +1683,13 @@ export interface MessageOverheard {
1655
1683
  files?: string[];
1656
1684
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
1657
1685
  addressed_to?: string[];
1686
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
1687
+ to?: {
1688
+ /** One of `addressed_to`. */
1689
+ id: string;
1690
+ /** What it goes by now. */
1691
+ name: string;
1692
+ }[];
1658
1693
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
1659
1694
  held?: true;
1660
1695
  /** On `renamed`, for a participant: the name they took. */
@@ -2822,6 +2857,13 @@ export interface AgentAttached {
2822
2857
  files?: string[];
2823
2858
  /** On `said`: the agents it was for (ADR 0081, ADR 0087), so a harness can leave out a line one of its agents already took a turn on. Absent on a message from before Chips said so. */
2824
2859
  addressed_to?: string[];
2860
+ /** On `said`: the agents it was for, each by what it goes by now, in `addressed_to`'s order. The plain form says them when the line was for an agent other than the one reading it, `Arjun, to Scout: …`: a person's pick in the field leaves no @ in the words. Absent when it was for no agent, and from a Chips before it. */
2861
+ to?: {
2862
+ /** One of `addressed_to`. */
2863
+ id: string;
2864
+ /** What it goes by now. */
2865
+ name: string;
2866
+ }[];
2825
2867
  /** On `said`: the guard held it (ADR 0081), so it was for nobody. */
2826
2868
  held?: true;
2827
2869
  /** On `renamed`, for a participant: the name they took. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipschat/protocol",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Agent Connect: the canonical Zod schemas, the identifier vocabulary, and everything generated from them.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://chipschat.ai/reference/",