@mininglamp-oss/octo-runtime-client 0.0.0-stage → 1.1.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/LICENSE +190 -0
- package/README.md +38 -2
- package/build-info.json +5 -0
- package/dist/async-question-reply.d.ts +30 -0
- package/dist/async-question-reply.js +199 -0
- package/dist/browser.d.ts +1 -0
- package/dist/browser.js +1 -0
- package/dist/client.d.ts +10 -0
- package/dist/client.js +465 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/internal.d.ts +4 -0
- package/dist/internal.js +5 -0
- package/dist/invocation-lifecycle.d.ts +59 -0
- package/dist/invocation-lifecycle.js +287 -0
- package/dist/notification.d.ts +1 -0
- package/dist/notification.js +1 -0
- package/dist/protocol.d.ts +1 -0
- package/dist/protocol.js +1 -0
- package/dist/runtime-path.d.ts +21 -0
- package/dist/runtime-path.js +138 -0
- package/dist/startup-catalog.d.ts +8 -0
- package/dist/startup-catalog.js +65 -0
- package/dist/startup-diagnostics.d.ts +82 -0
- package/dist/startup-diagnostics.js +371 -0
- package/dist/submission-error.d.ts +10 -0
- package/dist/submission-error.js +23 -0
- package/dist/types.d.ts +72 -0
- package/dist/types.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +58 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-hash.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +566 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +80 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +166 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +82 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +562 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +3022 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +124 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +709 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +129 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +177 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.js +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/json-size.js +91 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +166 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/notification.js +137 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.js +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +294 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +68 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.d.ts +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.js +56 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +15 -0
- package/package.json +55 -4
- package/schema/context-configuration-fixtures.json +1219 -0
- package/schema/context-fixtures.json +5988 -0
- package/schema/kernel-client.behavior.json +56 -0
- package/schema/kernel-ipc-fixtures.json +53 -0
- package/schema/kernel-ipc.schema.json +538 -0
- package/schema/native-invoke-fixtures.json +116 -0
- package/schema/protocol.schema.json +4525 -0
- package/schema/run-protocol-fixtures.json +761 -0
- package/schema/runtime-selection-fixtures.json +663 -0
- package/schema/session-name-fixtures.json +191 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "positive fractional timeout",
|
|
4
|
+
"value": {
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"type": "text",
|
|
8
|
+
"text": "test"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"contexts": {
|
|
12
|
+
"schema": "octo.context-envelope/v3",
|
|
13
|
+
"items": []
|
|
14
|
+
},
|
|
15
|
+
"agentConfig": {
|
|
16
|
+
"timeoutSeconds": 0.5
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"valid": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "zero timeout",
|
|
23
|
+
"value": {
|
|
24
|
+
"inputs": [
|
|
25
|
+
{
|
|
26
|
+
"type": "text",
|
|
27
|
+
"text": "test"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"contexts": {
|
|
31
|
+
"schema": "octo.context-envelope/v3",
|
|
32
|
+
"items": []
|
|
33
|
+
},
|
|
34
|
+
"agentConfig": {
|
|
35
|
+
"timeoutSeconds": 0
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"valid": false
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "negative timeout",
|
|
42
|
+
"value": {
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"type": "text",
|
|
46
|
+
"text": "test"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"contexts": {
|
|
50
|
+
"schema": "octo.context-envelope/v3",
|
|
51
|
+
"items": []
|
|
52
|
+
},
|
|
53
|
+
"agentConfig": {
|
|
54
|
+
"timeoutSeconds": -1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"valid": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "nonempty opaque provider session",
|
|
61
|
+
"value": {
|
|
62
|
+
"inputs": [
|
|
63
|
+
{
|
|
64
|
+
"type": "text",
|
|
65
|
+
"text": "test"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"contexts": {
|
|
69
|
+
"schema": "octo.context-envelope/v3",
|
|
70
|
+
"items": []
|
|
71
|
+
},
|
|
72
|
+
"providerSession": {
|
|
73
|
+
"sessionId": " abc "
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"valid": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "empty provider session",
|
|
80
|
+
"value": {
|
|
81
|
+
"inputs": [
|
|
82
|
+
{
|
|
83
|
+
"type": "text",
|
|
84
|
+
"text": "test"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"contexts": {
|
|
88
|
+
"schema": "octo.context-envelope/v3",
|
|
89
|
+
"items": []
|
|
90
|
+
},
|
|
91
|
+
"providerSession": {
|
|
92
|
+
"sessionId": ""
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"valid": false
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "whitespace provider session",
|
|
99
|
+
"value": {
|
|
100
|
+
"inputs": [
|
|
101
|
+
{
|
|
102
|
+
"type": "text",
|
|
103
|
+
"text": "test"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"contexts": {
|
|
107
|
+
"schema": "octo.context-envelope/v3",
|
|
108
|
+
"items": []
|
|
109
|
+
},
|
|
110
|
+
"providerSession": {
|
|
111
|
+
"sessionId": "\t \n "
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"valid": false
|
|
115
|
+
}
|
|
116
|
+
]
|