@kubohiroya/turbowarp-openai-realtime-api 0.5.2 → 0.6.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.
- package/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/turbowarp-openai-realtime-api.js +1 -1
- package/package.json +49 -3
package/README.ja.md
CHANGED
|
@@ -55,7 +55,7 @@ OpenAI Realtime APIと音声やテキストで会話し、ブロックで書い
|
|
|
55
55
|
npm packageとして使う場合は、検証済みのversionをexact pinします。
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
pnpm add --save-exact @kubohiroya/turbowarp-openai-realtime-api@0.
|
|
58
|
+
pnpm add --save-exact @kubohiroya/turbowarp-openai-realtime-api@0.6.1
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## クイックスタート
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ The reviewed JavaScript build is committed to this repository, so users do not n
|
|
|
61
61
|
Install an exact version that you have reviewed:
|
|
62
62
|
|
|
63
63
|
```bash
|
|
64
|
-
pnpm add --save-exact @kubohiroya/turbowarp-openai-realtime-api@0.
|
|
64
|
+
pnpm add --save-exact @kubohiroya/turbowarp-openai-realtime-api@0.6.1
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Standalone bundle:
|
|
@@ -558,7 +558,7 @@ var block_definitions_default = {
|
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
560
|
//#endregion
|
|
561
|
-
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-functions@0.
|
|
561
|
+
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-functions@0.5.0/node_modules/@kubohiroya/turbowarp-named-functions/dist/composition.js
|
|
562
562
|
/**
|
|
563
563
|
* A small JSON Schema validator for function arguments and returns. It interprets the schema at run time and
|
|
564
564
|
* never generates code, so it also works where `eval` is unavailable (for example Cloudflare Workers).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-openai-realtime-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "A TurboWarp extension for the OpenAI Realtime API, using a localhost relay for credentials.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Hiroya Kubo",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"typescript-eslint": "^8.66.0",
|
|
74
74
|
"vite": "^8.2.2",
|
|
75
75
|
"vitest": "^5.0.0",
|
|
76
|
-
"@kubohiroya/turbowarp-extension-data-editor": "^0.
|
|
76
|
+
"@kubohiroya/turbowarp-extension-data-editor": "^0.11.0"
|
|
77
77
|
},
|
|
78
78
|
"exports": {
|
|
79
79
|
"./composition": {
|
|
@@ -84,12 +84,58 @@
|
|
|
84
84
|
"./package.json": "./package.json"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@kubohiroya/turbowarp-named-functions": "^0.
|
|
87
|
+
"@kubohiroya/turbowarp-named-functions": "^0.5.0"
|
|
88
88
|
},
|
|
89
89
|
"gitHead": "2386a92f281d6285af4c9c61f19e2577453708e5",
|
|
90
90
|
"x-turbowarp-source": {
|
|
91
91
|
"revision": "2386a92f281d6285af4c9c61f19e2577453708e5",
|
|
92
92
|
"revisionRole": "base-commit",
|
|
93
93
|
"sourceState": "local-release-overlay"
|
|
94
|
+
},
|
|
95
|
+
"turbowarpExtension": {
|
|
96
|
+
"resourceDeclaration": {
|
|
97
|
+
"schemaVersion": 1,
|
|
98
|
+
"resources": [
|
|
99
|
+
{
|
|
100
|
+
"type": "network",
|
|
101
|
+
"usage": "required",
|
|
102
|
+
"purpose": {
|
|
103
|
+
"en": "Communicate with the local relay and OpenAI Realtime API",
|
|
104
|
+
"ja": "ローカル中継とOpenAI Realtime APIに接続する"
|
|
105
|
+
},
|
|
106
|
+
"data": {
|
|
107
|
+
"direction": "bidirectional",
|
|
108
|
+
"content": {
|
|
109
|
+
"en": "Session requests, conversation text, tool calls/results, enabled microphone input and selected audio/text responses",
|
|
110
|
+
"ja": "セッション要求、会話テキスト、ツール呼び出し・結果、有効にしたマイク入力、選択した音声・テキスト応答"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "microphone",
|
|
116
|
+
"usage": "conditional",
|
|
117
|
+
"purpose": {
|
|
118
|
+
"en": "Send microphone audio to the AI service",
|
|
119
|
+
"ja": "マイク音声をAIサービスへ送信する"
|
|
120
|
+
},
|
|
121
|
+
"condition": {
|
|
122
|
+
"en": "When microphone input is enabled for the session",
|
|
123
|
+
"ja": "セッションのマイク入力を有効にした場合"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "audio-output",
|
|
128
|
+
"usage": "conditional",
|
|
129
|
+
"purpose": {
|
|
130
|
+
"en": "Play the AI audio response",
|
|
131
|
+
"ja": "AIの音声応答を再生する"
|
|
132
|
+
},
|
|
133
|
+
"condition": {
|
|
134
|
+
"en": "When audio responses are selected",
|
|
135
|
+
"ja": "音声応答を選択した場合"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
94
140
|
}
|
|
95
141
|
}
|