gestalt-mobile 0.19.0 → 0.20.1

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.
@@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
16
16
  <link rel="icon" href="/icons/gestalt-mobile-192.png" />
17
17
  <link rel="apple-touch-icon" href="/icons/gestalt-mobile-180.png" />
18
18
  <title>Gestalt Mobile</title>
19
- <script type="module" crossorigin src="/assets/index-DXSIIlY0.js"></script>
19
+ <script type="module" crossorigin src="/assets/index-CnXbn39K.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="/assets/index-DYERmevO.css">
21
21
  </head>
22
22
  <body>
@@ -83,7 +83,7 @@ export function parseOrgPlanAttentionResponse(value) {
83
83
  export function toOrgPlanAttentionToolResponse(response) {
84
84
  return {
85
85
  success: true,
86
- contentItems: [{ type: 'input_text', text: JSON.stringify(response) }],
86
+ contentItems: [{ type: 'inputText', text: JSON.stringify(response) }],
87
87
  };
88
88
  }
89
89
  export function isOrgPlanAttentionToolResponse(value) {
@@ -92,7 +92,7 @@ export function isOrgPlanAttentionToolResponse(value) {
92
92
  const item = value.contentItems[0];
93
93
  if (value.contentItems.length !== 1 ||
94
94
  !isRecord(item) ||
95
- item.type !== 'input_text' ||
95
+ item.type !== 'inputText' ||
96
96
  typeof item.text !== 'string')
97
97
  return false;
98
98
  try {
@@ -92,7 +92,7 @@ export function toQuizToolResponse(answers) {
92
92
  return {
93
93
  contentItems: [
94
94
  {
95
- type: 'input_text',
95
+ type: 'inputText',
96
96
  text: JSON.stringify({
97
97
  answers: Object.fromEntries(answers
98
98
  .filter((answer) => answer.answer.trim())
@@ -109,7 +109,7 @@ export function isQuizToolResponseForQuiz(quiz, value) {
109
109
  const item = value.contentItems[0];
110
110
  if (value.contentItems.length !== 1 ||
111
111
  !isRecord(item) ||
112
- item.type !== 'input_text' ||
112
+ item.type !== 'inputText' ||
113
113
  typeof item.text !== 'string')
114
114
  return false;
115
115
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gestalt-mobile",
3
- "version": "0.19.0",
3
+ "version": "0.20.1",
4
4
  "description": "Mobile-first web relay for durable Codex development sessions",
5
5
  "keywords": [
6
6
  "codex",