@inixiative/signet 0.9.0 → 0.10.0
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/package.json +2 -2
- package/src/contracts.ts +1 -0
- package/src/threads.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inixiative/signet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Present Kingdom Signets: the wire contracts, DPoP proofs, device pairing and a renewing client shared by Kingdom, Archive, Foundry and Oracle.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@asteasolutions/zod-to-openapi": "^9.1.0",
|
|
37
37
|
"@biomejs/biome": "2.5.2",
|
|
38
|
-
"@inixiative/config": "^0.5.
|
|
38
|
+
"@inixiative/config": "^0.5.169",
|
|
39
39
|
"@types/bun": "1.4.4",
|
|
40
40
|
"lefthook": "2.1.9",
|
|
41
41
|
"typescript": "6.0.3",
|
package/src/contracts.ts
CHANGED
|
@@ -449,6 +449,7 @@ export const accessInputSchema = z.strictObject({
|
|
|
449
449
|
postId: z.uuid().optional(),
|
|
450
450
|
text: z.string().min(1).max(threadTextLimit).optional(),
|
|
451
451
|
inReplyTo: foundryIdSchema.optional(),
|
|
452
|
+
aside: threadInputSchemas['thread.prompt'].shape.aside,
|
|
452
453
|
afterSeq: z.number().int().min(0).optional(),
|
|
453
454
|
floor: threadFloorActionSchema.optional(),
|
|
454
455
|
promptId: foundryIdSchema.optional(),
|
package/src/threads.ts
CHANGED
|
@@ -165,6 +165,12 @@ export const threadInputSchemas = {
|
|
|
165
165
|
text: z.string().min(1).max(threadTextLimit),
|
|
166
166
|
/** The invitation a `speak-when-spoken-to` reply answers. */
|
|
167
167
|
inReplyTo: foundryIdSchema.optional(),
|
|
168
|
+
/**
|
|
169
|
+
* An aside: person to person, out of the thread's log (entry kind `aside`). Every person in the
|
|
170
|
+
* thread sees it and no agent does, until someone promotes it to a post. A person types it, never
|
|
171
|
+
* an agent; it is not floor-gated and starts no turn.
|
|
172
|
+
*/
|
|
173
|
+
aside: z.literal(true).optional(),
|
|
168
174
|
}),
|
|
169
175
|
'thread.floor': z.strictObject({ threadId: threadIdSchema, floor: threadFloorActionSchema }),
|
|
170
176
|
'prompt.resolve': z.strictObject({
|