A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
serial_tags.h
Go to the documentation of this file.
1/*
2 * Copyright 2026 The A11 Authors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
52#ifndef A11_DATA_SERIAL_TAGS_H_
53#define A11_DATA_SERIAL_TAGS_H_
54
55#include <string_view>
56
57namespace a11::data {
58
59// --- Core runtime -----------------------------------------------------------
60
61inline constexpr std::string_view kChunkMetadataTag = "a11.ChunkMetadata";
62inline constexpr std::string_view kChunkTag = "a11.Chunk";
63inline constexpr std::string_view kNodeRefTag = "a11.NodeRef";
64inline constexpr std::string_view kNodeFragmentTag = "a11.NodeFragment";
65inline constexpr std::string_view kPortTag = "a11.Port";
66inline constexpr std::string_view kActionMessageTag = "a11.ActionMessage";
67inline constexpr std::string_view kWireMessageTag = "a11.WireMessage";
68inline constexpr std::string_view kStatusTag = "a11.Status";
69inline constexpr std::string_view kTimeTag = "a11.Time";
70inline constexpr std::string_view kDurationTag = "a11.Duration";
71
72// --- Model-interaction SDK --------------------------------------------------
73
74inline constexpr std::string_view kInteractionTag = "a11.sdk.Interaction";
75inline constexpr std::string_view kPeerTag = "a11.sdk.Peer";
76inline constexpr std::string_view kActionConfigTag = "a11.sdk.ActionConfig";
77inline constexpr std::string_view kUsageMetadataTag = "a11.sdk.UsageMetadata";
78inline constexpr std::string_view kInteractWithClaudeConfigTag =
79 "a11.sdk.InteractWithClaudeConfig";
80inline constexpr std::string_view kInteractWithClaudeCodeConfigTag =
81 "a11.sdk.InteractWithClaudeCodeConfig";
82inline constexpr std::string_view kInteractWithGeminiConfigTag =
83 "a11.sdk.InteractWithGeminiConfig";
84inline constexpr std::string_view kInteractWithGptConfigTag =
85 "a11.sdk.InteractWithGptConfig";
86inline constexpr std::string_view kInteractWithCodexConfigTag =
87 "a11.sdk.InteractWithCodexConfig";
88inline constexpr std::string_view kInteractWithOllamaConfigTag =
89 "a11.sdk.InteractWithOllamaConfig";
90inline constexpr std::string_view kInteractWithVllmConfigTag =
91 "a11.sdk.InteractWithVllmConfig";
92inline constexpr std::string_view kInteractWithGemmaConfigTag =
93 "a11.sdk.InteractWithGemmaConfig";
94
95// --- Audio SDK --------------------------------------------------------------
96
97inline constexpr std::string_view kAudioBufferTag = "a11.sdk.AudioBuffer";
98inline constexpr std::string_view kAudioInputOptionsTag =
99 "a11.sdk.AudioInputOptions";
100inline constexpr std::string_view kSpeechRecognizerOptionsTag =
101 "a11.sdk.SpeechRecognizerOptions";
102inline constexpr std::string_view kAudioDeviceInfoTag =
103 "a11.sdk.AudioDeviceInfo";
104inline constexpr std::string_view kAudioControlEventTag =
105 "a11.sdk.AudioControlEvent";
106inline constexpr std::string_view kAudioCaptureEventTag =
107 "a11.sdk.AudioCaptureEvent";
108inline constexpr std::string_view kTranscriptionEventTag =
109 "a11.sdk.TranscriptionEvent";
110
111} // namespace a11::data
112
113#endif // A11_DATA_SERIAL_TAGS_H_
Definition json.cc:35
constexpr std::string_view kPeerTag
Definition serial_tags.h:75
constexpr std::string_view kAudioControlEventTag
Definition serial_tags.h:104
constexpr std::string_view kChunkTag
Definition serial_tags.h:62
constexpr std::string_view kChunkMetadataTag
Definition serial_tags.h:61
constexpr std::string_view kAudioInputOptionsTag
Definition serial_tags.h:98
constexpr std::string_view kTranscriptionEventTag
Definition serial_tags.h:108
constexpr std::string_view kPortTag
Definition serial_tags.h:65
constexpr std::string_view kAudioBufferTag
Definition serial_tags.h:97
constexpr std::string_view kInteractWithGemmaConfigTag
Definition serial_tags.h:92
constexpr std::string_view kActionMessageTag
Definition serial_tags.h:66
constexpr std::string_view kInteractionTag
Definition serial_tags.h:74
constexpr std::string_view kAudioDeviceInfoTag
Definition serial_tags.h:102
constexpr std::string_view kStatusTag
Definition serial_tags.h:68
constexpr std::string_view kInteractWithClaudeCodeConfigTag
Definition serial_tags.h:80
constexpr std::string_view kInteractWithCodexConfigTag
Definition serial_tags.h:86
constexpr std::string_view kNodeRefTag
Definition serial_tags.h:63
constexpr std::string_view kSpeechRecognizerOptionsTag
Definition serial_tags.h:100
constexpr std::string_view kAudioCaptureEventTag
Definition serial_tags.h:106
constexpr std::string_view kInteractWithGeminiConfigTag
Definition serial_tags.h:82
constexpr std::string_view kTimeTag
Definition serial_tags.h:69
constexpr std::string_view kInteractWithClaudeConfigTag
Definition serial_tags.h:78
constexpr std::string_view kInteractWithVllmConfigTag
Definition serial_tags.h:90
constexpr std::string_view kInteractWithGptConfigTag
Definition serial_tags.h:84
constexpr std::string_view kWireMessageTag
Definition serial_tags.h:67
constexpr std::string_view kUsageMetadataTag
Definition serial_tags.h:77
constexpr std::string_view kActionConfigTag
Definition serial_tags.h:76
constexpr std::string_view kDurationTag
Definition serial_tags.h:70
constexpr std::string_view kInteractWithOllamaConfigTag
Definition serial_tags.h:88
constexpr std::string_view kNodeFragmentTag
Definition serial_tags.h:64