@ai-matrx/agents 0.43.9 → 0.43.11
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 +12 -0
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/context/react/index.cjs +41 -23
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +4 -3
- package/dist/context/react/index.d.ts +4 -3
- package/dist/context/react/index.js +42 -24
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +117 -7
- package/dist/generated/api-types.d.ts +117 -7
- package/dist/generated/stream-events.cjs +296 -0
- package/dist/generated/stream-events.cjs.map +1 -1
- package/dist/generated/stream-events.d.cts +34 -2
- package/dist/generated/stream-events.d.ts +34 -2
- package/dist/generated/stream-events.js +296 -0
- package/dist/generated/stream-events.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{keys.generated-Dfy6RITs.d.cts → keys.generated-5CeTgBps.d.cts} +4 -4
- package/dist/{keys.generated-Dfy6RITs.d.ts → keys.generated-5CeTgBps.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/generated/api-types.ts +117 -7
- package/generated/stream-events.ts +333 -0
- package/mandates/snapshots/keys.0.43.10.json +653 -0
- package/mandates/snapshots/keys.0.43.11.json +653 -0
- package/package.json +1 -1
|
@@ -4786,6 +4786,42 @@ export interface ContextInputPart {
|
|
|
4786
4786
|
editable?: boolean | null;
|
|
4787
4787
|
}
|
|
4788
4788
|
|
|
4789
|
+
export interface RemarkAnswer {
|
|
4790
|
+
question: string;
|
|
4791
|
+
answer: string | boolean | number | string[];
|
|
4792
|
+
name?: string | null;
|
|
4793
|
+
type: "noul" | "choice" | "score" | "text" | null;
|
|
4794
|
+
}
|
|
4795
|
+
|
|
4796
|
+
export interface RemarkItem {
|
|
4797
|
+
kind: "comment" | "choice" | "edit" | "answers" | "interaction";
|
|
4798
|
+
target?: RemarkTarget | null;
|
|
4799
|
+
quote?: string | null;
|
|
4800
|
+
body?: string | null;
|
|
4801
|
+
diff?: string | null;
|
|
4802
|
+
answers?: RemarkAnswer[] | null;
|
|
4803
|
+
title?: string | null;
|
|
4804
|
+
comment_id?: string | null;
|
|
4805
|
+
metadata?: Record<string, unknown>;
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
export interface RemarkTarget {
|
|
4809
|
+
message_id?: string | null;
|
|
4810
|
+
record_token?: string | null;
|
|
4811
|
+
record_id?: string | null;
|
|
4812
|
+
record_title?: string | null;
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
export interface RemarksInputPart {
|
|
4816
|
+
metadata?: Record<string, unknown>;
|
|
4817
|
+
type: "input_remarks";
|
|
4818
|
+
items: RemarkItem[];
|
|
4819
|
+
convert_to_text?: boolean;
|
|
4820
|
+
optional_context?: boolean;
|
|
4821
|
+
keep_fresh?: boolean;
|
|
4822
|
+
editable?: boolean | null;
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4789
4825
|
export interface DecisionQuestion {
|
|
4790
4826
|
__kind?: string;
|
|
4791
4827
|
name: string;
|
|
@@ -4874,6 +4910,7 @@ export type MessagePart =
|
|
|
4874
4910
|
| ListInputPart
|
|
4875
4911
|
| DataInputPart
|
|
4876
4912
|
| ContextInputPart
|
|
4913
|
+
| RemarksInputPart
|
|
4877
4914
|
| DecisionQuestionsPart
|
|
4878
4915
|
| DecisionAnswersPart
|
|
4879
4916
|
| SpeechScriptPart;
|
|
@@ -7042,6 +7079,299 @@ const MESSAGE_PART_SCHEMA: MessagePartJsonSchema = {
|
|
|
7042
7079
|
"title": "ProjectInputPart",
|
|
7043
7080
|
"type": "object"
|
|
7044
7081
|
},
|
|
7082
|
+
"RemarkAnswer": {
|
|
7083
|
+
"additionalProperties": false,
|
|
7084
|
+
"description": "One answered question. ``name``/``type`` reuse the decision_questions\nquestion vocabulary (snake_case output name; noul/choice/score) so a\nquestionnaire built from decision questions maps 1:1; ``text`` covers the\nfree-text questions a decision batch does not have.",
|
|
7085
|
+
"properties": {
|
|
7086
|
+
"question": {
|
|
7087
|
+
"minLength": 1,
|
|
7088
|
+
"title": "Question",
|
|
7089
|
+
"type": "string"
|
|
7090
|
+
},
|
|
7091
|
+
"answer": {
|
|
7092
|
+
"anyOf": [
|
|
7093
|
+
{
|
|
7094
|
+
"type": "string"
|
|
7095
|
+
},
|
|
7096
|
+
{
|
|
7097
|
+
"type": "boolean"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
"type": "number"
|
|
7101
|
+
},
|
|
7102
|
+
{
|
|
7103
|
+
"items": {
|
|
7104
|
+
"type": "string"
|
|
7105
|
+
},
|
|
7106
|
+
"type": "array"
|
|
7107
|
+
}
|
|
7108
|
+
],
|
|
7109
|
+
"title": "Answer"
|
|
7110
|
+
},
|
|
7111
|
+
"name": {
|
|
7112
|
+
"anyOf": [
|
|
7113
|
+
{
|
|
7114
|
+
"type": "string"
|
|
7115
|
+
},
|
|
7116
|
+
{
|
|
7117
|
+
"type": "null"
|
|
7118
|
+
}
|
|
7119
|
+
],
|
|
7120
|
+
"default": null,
|
|
7121
|
+
"title": "Name"
|
|
7122
|
+
},
|
|
7123
|
+
"type": {
|
|
7124
|
+
"anyOf": [
|
|
7125
|
+
{
|
|
7126
|
+
"enum": [
|
|
7127
|
+
"noul",
|
|
7128
|
+
"choice",
|
|
7129
|
+
"score",
|
|
7130
|
+
"text"
|
|
7131
|
+
],
|
|
7132
|
+
"type": "string"
|
|
7133
|
+
},
|
|
7134
|
+
{
|
|
7135
|
+
"type": "null"
|
|
7136
|
+
}
|
|
7137
|
+
],
|
|
7138
|
+
"default": null,
|
|
7139
|
+
"title": "Type"
|
|
7140
|
+
}
|
|
7141
|
+
},
|
|
7142
|
+
"required": [
|
|
7143
|
+
"question",
|
|
7144
|
+
"answer"
|
|
7145
|
+
],
|
|
7146
|
+
"title": "RemarkAnswer",
|
|
7147
|
+
"type": "object"
|
|
7148
|
+
},
|
|
7149
|
+
"RemarkItem": {
|
|
7150
|
+
"additionalProperties": false,
|
|
7151
|
+
"description": "One staged remark. Structured on the wire and in storage; only the\nmodel-facing projection (``render_remark``) is text.",
|
|
7152
|
+
"properties": {
|
|
7153
|
+
"kind": {
|
|
7154
|
+
"enum": [
|
|
7155
|
+
"comment",
|
|
7156
|
+
"choice",
|
|
7157
|
+
"edit",
|
|
7158
|
+
"answers",
|
|
7159
|
+
"interaction"
|
|
7160
|
+
],
|
|
7161
|
+
"title": "Kind",
|
|
7162
|
+
"type": "string"
|
|
7163
|
+
},
|
|
7164
|
+
"target": {
|
|
7165
|
+
"anyOf": [
|
|
7166
|
+
{
|
|
7167
|
+
"$ref": "#/$defs/RemarkTarget"
|
|
7168
|
+
},
|
|
7169
|
+
{
|
|
7170
|
+
"type": "null"
|
|
7171
|
+
}
|
|
7172
|
+
],
|
|
7173
|
+
"default": null
|
|
7174
|
+
},
|
|
7175
|
+
"quote": {
|
|
7176
|
+
"anyOf": [
|
|
7177
|
+
{
|
|
7178
|
+
"type": "string"
|
|
7179
|
+
},
|
|
7180
|
+
{
|
|
7181
|
+
"type": "null"
|
|
7182
|
+
}
|
|
7183
|
+
],
|
|
7184
|
+
"default": null,
|
|
7185
|
+
"title": "Quote"
|
|
7186
|
+
},
|
|
7187
|
+
"body": {
|
|
7188
|
+
"anyOf": [
|
|
7189
|
+
{
|
|
7190
|
+
"type": "string"
|
|
7191
|
+
},
|
|
7192
|
+
{
|
|
7193
|
+
"type": "null"
|
|
7194
|
+
}
|
|
7195
|
+
],
|
|
7196
|
+
"default": null,
|
|
7197
|
+
"title": "Body"
|
|
7198
|
+
},
|
|
7199
|
+
"diff": {
|
|
7200
|
+
"anyOf": [
|
|
7201
|
+
{
|
|
7202
|
+
"type": "string"
|
|
7203
|
+
},
|
|
7204
|
+
{
|
|
7205
|
+
"type": "null"
|
|
7206
|
+
}
|
|
7207
|
+
],
|
|
7208
|
+
"default": null,
|
|
7209
|
+
"title": "Diff"
|
|
7210
|
+
},
|
|
7211
|
+
"answers": {
|
|
7212
|
+
"anyOf": [
|
|
7213
|
+
{
|
|
7214
|
+
"items": {
|
|
7215
|
+
"$ref": "#/$defs/RemarkAnswer"
|
|
7216
|
+
},
|
|
7217
|
+
"type": "array"
|
|
7218
|
+
},
|
|
7219
|
+
{
|
|
7220
|
+
"type": "null"
|
|
7221
|
+
}
|
|
7222
|
+
],
|
|
7223
|
+
"default": null,
|
|
7224
|
+
"title": "Answers"
|
|
7225
|
+
},
|
|
7226
|
+
"title": {
|
|
7227
|
+
"anyOf": [
|
|
7228
|
+
{
|
|
7229
|
+
"type": "string"
|
|
7230
|
+
},
|
|
7231
|
+
{
|
|
7232
|
+
"type": "null"
|
|
7233
|
+
}
|
|
7234
|
+
],
|
|
7235
|
+
"default": null,
|
|
7236
|
+
"title": "Title"
|
|
7237
|
+
},
|
|
7238
|
+
"comment_id": {
|
|
7239
|
+
"anyOf": [
|
|
7240
|
+
{
|
|
7241
|
+
"type": "string"
|
|
7242
|
+
},
|
|
7243
|
+
{
|
|
7244
|
+
"type": "null"
|
|
7245
|
+
}
|
|
7246
|
+
],
|
|
7247
|
+
"default": null,
|
|
7248
|
+
"title": "Comment Id"
|
|
7249
|
+
},
|
|
7250
|
+
"metadata": {
|
|
7251
|
+
"additionalProperties": true,
|
|
7252
|
+
"title": "Metadata",
|
|
7253
|
+
"type": "object"
|
|
7254
|
+
}
|
|
7255
|
+
},
|
|
7256
|
+
"required": [
|
|
7257
|
+
"kind"
|
|
7258
|
+
],
|
|
7259
|
+
"title": "RemarkItem",
|
|
7260
|
+
"type": "object"
|
|
7261
|
+
},
|
|
7262
|
+
"RemarkTarget": {
|
|
7263
|
+
"additionalProperties": false,
|
|
7264
|
+
"description": "What the remark is about. A chat reply (``message_id``) or any other\nplatform record (``record_token`` + ``record_id`` + ``record_title``).",
|
|
7265
|
+
"properties": {
|
|
7266
|
+
"message_id": {
|
|
7267
|
+
"anyOf": [
|
|
7268
|
+
{
|
|
7269
|
+
"type": "string"
|
|
7270
|
+
},
|
|
7271
|
+
{
|
|
7272
|
+
"type": "null"
|
|
7273
|
+
}
|
|
7274
|
+
],
|
|
7275
|
+
"default": null,
|
|
7276
|
+
"title": "Message Id"
|
|
7277
|
+
},
|
|
7278
|
+
"record_token": {
|
|
7279
|
+
"anyOf": [
|
|
7280
|
+
{
|
|
7281
|
+
"type": "string"
|
|
7282
|
+
},
|
|
7283
|
+
{
|
|
7284
|
+
"type": "null"
|
|
7285
|
+
}
|
|
7286
|
+
],
|
|
7287
|
+
"default": null,
|
|
7288
|
+
"title": "Record Token"
|
|
7289
|
+
},
|
|
7290
|
+
"record_id": {
|
|
7291
|
+
"anyOf": [
|
|
7292
|
+
{
|
|
7293
|
+
"type": "string"
|
|
7294
|
+
},
|
|
7295
|
+
{
|
|
7296
|
+
"type": "null"
|
|
7297
|
+
}
|
|
7298
|
+
],
|
|
7299
|
+
"default": null,
|
|
7300
|
+
"title": "Record Id"
|
|
7301
|
+
},
|
|
7302
|
+
"record_title": {
|
|
7303
|
+
"anyOf": [
|
|
7304
|
+
{
|
|
7305
|
+
"type": "string"
|
|
7306
|
+
},
|
|
7307
|
+
{
|
|
7308
|
+
"type": "null"
|
|
7309
|
+
}
|
|
7310
|
+
],
|
|
7311
|
+
"default": null,
|
|
7312
|
+
"title": "Record Title"
|
|
7313
|
+
}
|
|
7314
|
+
},
|
|
7315
|
+
"title": "RemarkTarget",
|
|
7316
|
+
"type": "object"
|
|
7317
|
+
},
|
|
7318
|
+
"RemarksInputPart": {
|
|
7319
|
+
"additionalProperties": false,
|
|
7320
|
+
"properties": {
|
|
7321
|
+
"metadata": {
|
|
7322
|
+
"additionalProperties": true,
|
|
7323
|
+
"title": "Metadata",
|
|
7324
|
+
"type": "object"
|
|
7325
|
+
},
|
|
7326
|
+
"type": {
|
|
7327
|
+
"const": "input_remarks",
|
|
7328
|
+
"default": "input_remarks",
|
|
7329
|
+
"title": "Type",
|
|
7330
|
+
"type": "string"
|
|
7331
|
+
},
|
|
7332
|
+
"items": {
|
|
7333
|
+
"items": {
|
|
7334
|
+
"$ref": "#/$defs/RemarkItem"
|
|
7335
|
+
},
|
|
7336
|
+
"minItems": 1,
|
|
7337
|
+
"title": "Items",
|
|
7338
|
+
"type": "array"
|
|
7339
|
+
},
|
|
7340
|
+
"convert_to_text": {
|
|
7341
|
+
"default": true,
|
|
7342
|
+
"title": "Convert To Text",
|
|
7343
|
+
"type": "boolean"
|
|
7344
|
+
},
|
|
7345
|
+
"optional_context": {
|
|
7346
|
+
"default": false,
|
|
7347
|
+
"title": "Optional Context",
|
|
7348
|
+
"type": "boolean"
|
|
7349
|
+
},
|
|
7350
|
+
"keep_fresh": {
|
|
7351
|
+
"default": false,
|
|
7352
|
+
"title": "Keep Fresh",
|
|
7353
|
+
"type": "boolean"
|
|
7354
|
+
},
|
|
7355
|
+
"editable": {
|
|
7356
|
+
"anyOf": [
|
|
7357
|
+
{
|
|
7358
|
+
"type": "boolean"
|
|
7359
|
+
},
|
|
7360
|
+
{
|
|
7361
|
+
"type": "null"
|
|
7362
|
+
}
|
|
7363
|
+
],
|
|
7364
|
+
"default": null,
|
|
7365
|
+
"title": "Editable"
|
|
7366
|
+
}
|
|
7367
|
+
},
|
|
7368
|
+
"required": [
|
|
7369
|
+
"items",
|
|
7370
|
+
"type"
|
|
7371
|
+
],
|
|
7372
|
+
"title": "RemarksInputPart",
|
|
7373
|
+
"type": "object"
|
|
7374
|
+
},
|
|
7045
7375
|
"ResourceRefInput": {
|
|
7046
7376
|
"anyOf": [
|
|
7047
7377
|
{
|
|
@@ -8524,6 +8854,9 @@ const MESSAGE_PART_SCHEMA: MessagePartJsonSchema = {
|
|
|
8524
8854
|
{
|
|
8525
8855
|
"$ref": "#/$defs/ContextInputPart"
|
|
8526
8856
|
},
|
|
8857
|
+
{
|
|
8858
|
+
"$ref": "#/$defs/RemarksInputPart"
|
|
8859
|
+
},
|
|
8527
8860
|
{
|
|
8528
8861
|
"$ref": "#/$defs/DecisionQuestionsPart"
|
|
8529
8862
|
},
|