micro-otter 1.47.0__py3-none-any.whl
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.
- micro_otter/__init__.py +28 -0
- micro_otter/_version.py +24 -0
- micro_otter/cli/__init__.py +9 -0
- micro_otter/cli/addons.py +381 -0
- micro_otter/cli/app.py +1880 -0
- micro_otter/cli/doctor.py +115 -0
- micro_otter/cli/info.py +144 -0
- micro_otter/cli/state.py +304 -0
- micro_otter/cli/toolchain.py +247 -0
- micro_otter/cli/webapp.py +421 -0
- micro_otter/config.py +924 -0
- micro_otter/dist/webapp/assets/favicon-JNnx-NtT.ico +0 -0
- micro_otter/dist/webapp/assets/main-BniRox9-.js +1 -0
- micro_otter/dist/webapp/assets/main-C7Cfe3NK.css +1 -0
- micro_otter/dist/webapp/device/capabilities/general.json +51 -0
- micro_otter/dist/webapp/device/capabilities/index.json +7 -0
- micro_otter/dist/webapp/device/capabilities/pins.json +108 -0
- micro_otter/dist/webapp/device/firmware/boards.json +53 -0
- micro_otter/dist/webapp/device/firmware/latest_versions.json +49 -0
- micro_otter/dist/webapp/device/firmware/release.json +7 -0
- micro_otter/dist/webapp/device/firmware/runtime_lineage.json +1990 -0
- micro_otter/dist/webapp/device/graphs/demo/catalog.json +7 -0
- micro_otter/dist/webapp/device/graphs/demo/welcome.json +3225 -0
- micro_otter/dist/webapp/device/manifest.json +8 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/data_types.json +20 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/bolt_boost_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/filter_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/lens_blur_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/mic_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/noise_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/pitch_shift_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/ring_mod_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/sine_wave_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/speaker_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/stat_minus_3_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/volume_up_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/icons/waterfall_chart_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/manifest.json +92 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/node_definitions.json +2443 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/node_generators.js +427 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/__init__.py +1 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/audio_chain.py +262 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/bitcrusher.py +122 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/downsampler.py +198 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/filter.py +98 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/gain.py +67 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/i2s_input.py +111 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/i2s_output.py +82 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/mix_ramp.py +78 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/noise.py +137 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/oscillator.py +272 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/overdrive.py +67 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/pitch_shifter.py +164 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/ring_mod.py +119 -0
- micro_otter/dist/webapp/device/node_pkgs/audio/otter_audio_viper/square_fuzz.py +159 -0
- micro_otter/dist/webapp/device/node_pkgs/core/data_types.json +20 -0
- micro_otter/dist/webapp/device/node_pkgs/core/generator_math_processor.js +298 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/arrow_split_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/calculate_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/call_merge_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/call_split_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/compare_arrows_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/digital_input_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/digital_output_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/division_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/fit_page_width_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/format_list_numbered_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/input_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/linear_scale_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/logic_ampersand_24dp.svg +3 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/memory_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/output_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/pwm_input_24dp.svg +6 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/pwm_output_24dp.svg +6 -0
- micro_otter/dist/webapp/device/node_pkgs/core/icons/time_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/core/manifest.json +45 -0
- micro_otter/dist/webapp/device/node_pkgs/core/node_capabilities.js +97 -0
- micro_otter/dist/webapp/device/node_pkgs/core/node_definitions.json +3931 -0
- micro_otter/dist/webapp/device/node_pkgs/core/node_generators.js +1316 -0
- micro_otter/dist/webapp/device/node_pkgs/core/otter_core/__init__.py +3 -0
- micro_otter/dist/webapp/device/node_pkgs/core/otter_core/system.py +32 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/123_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/binary_sensor_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/cloud_alert_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/home_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/menu_open_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/number_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/select_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/sensor_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/sensors_krx_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/smart_button_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/switch_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/icons/text_fields_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/manifest.json +52 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/node_capabilities.js +359 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/node_definitions.json +2236 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/node_generators.js +706 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/otter_hass/__init__.py +6 -0
- micro_otter/dist/webapp/device/node_pkgs/hass/otter_hass/runtime.py +762 -0
- micro_otter/dist/webapp/device/node_pkgs/index.json +49 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/icons/bolt_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/icons/toggle_on_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/manifest.json +43 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/node_capabilities.js +344 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/node_definitions.json +273 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/node_generators.js +249 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/otter_irq/__init__.py +12 -0
- micro_otter/dist/webapp/device/node_pkgs/irq/otter_irq/interrupts.py +235 -0
- micro_otter/dist/webapp/device/node_pkgs/led/icons/led_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/led/icons/lightbulb_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/led/icons/lightstrip_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/led/icons/table_large_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/led/manifest.json +50 -0
- micro_otter/dist/webapp/device/node_pkgs/led/node_definitions.json +596 -0
- micro_otter/dist/webapp/device/node_pkgs/led/node_generators.js +150 -0
- micro_otter/dist/webapp/device/node_pkgs/led/otter_led/__init__.py +2 -0
- micro_otter/dist/webapp/device/node_pkgs/led/otter_led/drivers/__init__.py +2 -0
- micro_otter/dist/webapp/device/node_pkgs/led/otter_led/drivers/neopixel.py +340 -0
- micro_otter/dist/webapp/device/node_pkgs/led/otter_led/drivers/pwm_strip.py +86 -0
- micro_otter/dist/webapp/device/node_pkgs/led/otter_led/drivers/single.py +64 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/icons/campaign_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/icons/cloud_check_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/icons/cloud_download_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/icons/cloud_off_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/icons/cloud_upload_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/manifest.json +54 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/node_definitions.json +966 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/node_generators.js +333 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/otter_mqtt/__init__.py +4 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/otter_mqtt/runtime.py +1017 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/otter_mqtt/umqtt/__init__.py +3 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/otter_mqtt/umqtt/robust.py +58 -0
- micro_otter/dist/webapp/device/node_pkgs/mqtt/otter_mqtt/umqtt/simple.py +221 -0
- micro_otter/dist/webapp/device/node_pkgs/power/icons/battery_4_bar_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/power/manifest.json +44 -0
- micro_otter/dist/webapp/device/node_pkgs/power/node_definitions.json +185 -0
- micro_otter/dist/webapp/device/node_pkgs/power/node_generators.js +89 -0
- micro_otter/dist/webapp/device/node_pkgs/power/otter_power/__init__.py +1 -0
- micro_otter/dist/webapp/device/node_pkgs/power/otter_power/battery.py +29 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/icons/servo_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/manifest.json +45 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/node_definitions.json +204 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/node_generators.js +67 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/otter_stdmo/__init__.py +4 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/otter_stdmo/servo.py +95 -0
- micro_otter/dist/webapp/device/node_pkgs/stdmo/otter_stdmo/servo_callable.py +65 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/calendar_month_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/hourglass_bottom_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/schedule_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/sync_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/text_fields_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/icons/timer_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/time/manifest.json +43 -0
- micro_otter/dist/webapp/device/node_pkgs/time/node_definitions.json +750 -0
- micro_otter/dist/webapp/device/node_pkgs/time/node_generators.js +159 -0
- micro_otter/dist/webapp/device/node_pkgs/time/otter_time/__init__.py +12 -0
- micro_otter/dist/webapp/device/node_pkgs/time/otter_time/parts.py +262 -0
- micro_otter/dist/webapp/device/node_pkgs/time/otter_time/service.py +502 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/data_types.json +20 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/casino_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/cell_merge_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/combine_columns_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/data_array_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/download_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/flex_no_wrap_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/key_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/login_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/logout_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/notifications_active_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/upload_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/variable_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/view_apps_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/icons/view_array_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/manifest.json +46 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/node_capabilities.js +265 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/node_definitions.json +3120 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/node_generators.js +634 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/otter_vars/__init__.py +6 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/otter_vars/arrays.py +1179 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/otter_vars/signals.py +139 -0
- micro_otter/dist/webapp/device/node_pkgs/vars/otter_vars/store.py +212 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/data_types.json +36 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_button.js +350 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_checkbox.js +475 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_column.js +56 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_content.js +157 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_graph_display.js +1040 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_joystick_display.js +1009 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_number_input.js +562 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_radar_display.js +769 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_row.js +56 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_select.js +606 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_slider.js +548 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_string_input.js +484 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_tile.js +108 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_title_content.js +183 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_value_store.js +141 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_value_table.js +275 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_web_page.js +50 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_web_root.js +113 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/generator_webview_shared.js +4852 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/123_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/check_box_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/column_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/content_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/dialogs_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/download_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/expand_circle_down_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/joystick_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/lists_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/login_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/logout_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/radar_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/row_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/save_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/show_chart_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/smart_button_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/table_rows_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/text_fields_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/tile_small_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/title_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/tune_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/upload_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/web_page_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/icons/web_root_24dp.svg +1 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/manifest.json +104 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/node_capabilities.js +250 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/node_definitions.json +4649 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/node_generators.js +19 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/__init__.py +11 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/data_registry.py +68 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/element_context.py +35 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/graph.py +84 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/input_control.py +468 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/joystick.py +318 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/radar.py +120 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/refresh_hook.py +401 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/utils.py +43 -0
- micro_otter/dist/webapp/device/node_pkgs/webview/otter_webview/web_data_store.py +107 -0
- micro_otter/dist/webapp/device/runtime/general/app/__init__.py +2 -0
- micro_otter/dist/webapp/device/runtime/general/app/main_loop.py +11 -0
- micro_otter/dist/webapp/device/runtime/general/custom_view.json +528 -0
- micro_otter/dist/webapp/device/runtime/general/html/index.html +88 -0
- micro_otter/dist/webapp/device/runtime/general/html/micro-otter-128px-white.svg +1 -0
- micro_otter/dist/webapp/device/runtime/general/html/micro-otter-head-64px.svg +22 -0
- micro_otter/dist/webapp/device/runtime/general/libs/__init__.py +2 -0
- micro_otter/dist/webapp/device/runtime/general/libs/display.py +66 -0
- micro_otter/dist/webapp/device/runtime/general/libs/motor.py +79 -0
- micro_otter/dist/webapp/device/runtime/general/libs/oscillation.py +42 -0
- micro_otter/dist/webapp/device/runtime/general/libs/receiver.py +156 -0
- micro_otter/dist/webapp/device/runtime/general/libs/servo.py +95 -0
- micro_otter/dist/webapp/device/runtime/general/libs/ultrasonic.py +46 -0
- micro_otter/dist/webapp/device/runtime/general/locales/de.json +80 -0
- micro_otter/dist/webapp/device/runtime/general/locales/en.json +81 -0
- micro_otter/dist/webapp/device/runtime/general/main.py +25 -0
- micro_otter/dist/webapp/device/runtime/general/manifest.json +83 -0
- micro_otter/dist/webapp/device/runtime/general/node_pkgs/README.md +44 -0
- micro_otter/dist/webapp/device/runtime/general/otter_main.py +589 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/__init__.py +4 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/custom_settings.py +718 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/http_request.py +199 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/logger.py +55 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/module_utils.py +27 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/mqtt_service.py +95 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/service_controller.py +168 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/services.py +24 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/settings_store.py +35 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/web_data_store.py +110 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/web_interface.py +924 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/web_server.py +901 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/webserver_service.py +70 -0
- micro_otter/dist/webapp/device/runtime/general/otter_runtime/wifi_boot.py +346 -0
- micro_otter/dist/webapp/device/runtime/manifest.json +4 -0
- micro_otter/dist/webapp/device/targets/arduino_uno.json +148 -0
- micro_otter/dist/webapp/device/targets/compile_target_mappings.json +75 -0
- micro_otter/dist/webapp/device/targets/esp32_s2.json +586 -0
- micro_otter/dist/webapp/device/targets/esp32_s3.json +606 -0
- micro_otter/dist/webapp/device/targets/esp32_s3_mini.json +13 -0
- micro_otter/dist/webapp/device/targets/esp32_wroom.json +1564 -0
- micro_otter/dist/webapp/device/targets/generic_micropython.json +81 -0
- micro_otter/dist/webapp/device/targets/index.json +41 -0
- micro_otter/dist/webapp/device/tools/__init__.py +37 -0
- micro_otter/dist/webapp/device/tools/fs_utils.py +128 -0
- micro_otter/dist/webapp/device/tools/manifest.json +29 -0
- micro_otter/dist/webapp/device/tools/runtime_info.py +28 -0
- micro_otter/dist/webapp/device/tools/runtime_log.py +160 -0
- micro_otter/dist/webapp/device/tools/set_wifi.py +45 -0
- micro_otter/dist/webapp/device/tools/wifi_diag.py +91 -0
- micro_otter/dist/webapp/device/tools/wifi_manager.py +954 -0
- micro_otter/dist/webapp/device/tools/wifi_probe.py +107 -0
- micro_otter/dist/webapp/html/icons/LICENSE +224 -0
- micro_otter/dist/webapp/html/icons/add_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/add_collection_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/archive_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/arrow_downward_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/arrow_drop_up_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/arrow_split_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/arrow_up_bold_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/arrow_upward_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/blood_pressure_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/bluetooth_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/bluetooth_disabled_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/bolt_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/cable_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/calculate_24dp.svg +13 -0
- micro_otter/dist/webapp/html/icons/check_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/check_circle_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/checkbox_multiple_blank_outline_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/checkbox_multiple_marked_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/circle_half_full_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/close_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/cloud_download_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/cloud_off_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/code_generator_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/colorize_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/compare_arrows_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/connect_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/content_copy_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/content_cut_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/content_paste_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/data_object_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/delete_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/delete_image_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/delete_sweep_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/deploy_collection_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/deployed_code_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/digital_in_out_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/digital_input_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/digital_output_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/download_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/edit_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/error_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/exit_to_app_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/file_copy_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/file_open_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/file_save_24dp4.svg +3 -0
- micro_otter/dist/webapp/html/icons/filter_list_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/filter_minus_outline_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/format_size_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/grid_on_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/hard_drive_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/hard_reset_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/heart_check_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2c_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2c_input_24dp.svg +8 -0
- micro_otter/dist/webapp/html/icons/i2c_output_24dp.svg +8 -0
- micro_otter/dist/webapp/html/icons/i2c_scl_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/i2c_sda_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/i2s_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2s_bclk_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2s_din_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2s_dout_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2s_mclk_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/i2s_ws_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/info_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/input_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/install_runtime_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/keyboard_arrow_down_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/keyboard_arrow_up_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/keyboard_double_arrow_up_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/language_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/logic_ampersand_24dp.svg +4 -0
- micro_otter/dist/webapp/html/icons/memory_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/menu_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/micro-otter-head-64px.ico +0 -0
- micro_otter/dist/webapp/html/icons/micro-otter-head-64px.png +0 -0
- micro_otter/dist/webapp/html/icons/micro-otter-head-64px.svg +22 -0
- micro_otter/dist/webapp/html/icons/micro-otter-head.png +0 -0
- micro_otter/dist/webapp/html/icons/micro-otter-white-128px.svg +1 -0
- micro_otter/dist/webapp/html/icons/mobiledata_arrows_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/moon_full_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/new_box_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_category_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_library_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_package_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_type_ui_select_large_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/node_type_ui_select_small_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/output_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/palette_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/pause_circle_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/person_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/play_arrow_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/plus_circle_outline_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/progress_question_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/pull_down_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/pull_up_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/pull_up_down_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/pwm_in_out_24dp.svg +7 -0
- micro_otter/dist/webapp/html/icons/pwm_input_24dp.svg +6 -0
- micro_otter/dist/webapp/html/icons/pwm_output_24dp.svg +6 -0
- micro_otter/dist/webapp/html/icons/redo_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/refresh_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/reload_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/remove_collection_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/remove_runtime_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/restart_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/save_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/select_all_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/serial_connect_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/serial_input_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/serial_output_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/settings_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/sort_by_alpha_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/spi_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/spi_cs_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/spi_input_24dp.svg +8 -0
- micro_otter/dist/webapp/html/icons/spi_miso_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/spi_mosi_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/spi_output_24dp.svg +8 -0
- micro_otter/dist/webapp/html/icons/spi_sck_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/stop_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/sync_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/sync_collection_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/time_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/tray_arrow_up_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/uart_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/unarchive_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/undo_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/upload_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/upload_file_24dp.svg +3 -0
- micro_otter/dist/webapp/html/icons/vital_signs_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/warning_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/wifi_24dp.svg +1 -0
- micro_otter/dist/webapp/html/icons/wifi_off_24dp.svg +1 -0
- micro_otter/dist/webapp/html/locales/de.json +1593 -0
- micro_otter/dist/webapp/html/locales/en.json +1592 -0
- micro_otter/dist/webapp/html/locales/icon-de.svg +6 -0
- micro_otter/dist/webapp/html/locales/icon-en.svg +7 -0
- micro_otter/dist/webapp/html/locales/locales.json +17 -0
- micro_otter/dist/webapp/html/styles/standard/activity-pulse.css +34 -0
- micro_otter/dist/webapp/html/styles/standard/all-settings-view.css +17 -0
- micro_otter/dist/webapp/html/styles/standard/code-view.css +165 -0
- micro_otter/dist/webapp/html/styles/standard/collapsible-view.css +159 -0
- micro_otter/dist/webapp/html/styles/standard/collection-diagram-view.css +47 -0
- micro_otter/dist/webapp/html/styles/standard/collection-settings-view.css +128 -0
- micro_otter/dist/webapp/html/styles/standard/collection-view.css +10 -0
- micro_otter/dist/webapp/html/styles/standard/collection-wiring-view.css +46 -0
- micro_otter/dist/webapp/html/styles/standard/connecting-progress-dialog.css +37 -0
- micro_otter/dist/webapp/html/styles/standard/console-log-view.css +270 -0
- micro_otter/dist/webapp/html/styles/standard/content-view.css +7 -0
- micro_otter/dist/webapp/html/styles/standard/controls/dropdown-control.css +227 -0
- micro_otter/dist/webapp/html/styles/standard/controls/icon-control.css +225 -0
- micro_otter/dist/webapp/html/styles/standard/controls/markdown-editor-control.css +64 -0
- micro_otter/dist/webapp/html/styles/standard/custom-runtime-controls.css +220 -0
- micro_otter/dist/webapp/html/styles/standard/data-table-view.css +92 -0
- micro_otter/dist/webapp/html/styles/standard/demo-collection-picker-dialog.css +66 -0
- micro_otter/dist/webapp/html/styles/standard/deployment-progress-dialog.css +44 -0
- micro_otter/dist/webapp/html/styles/standard/device-connection-dialog.css +47 -0
- micro_otter/dist/webapp/html/styles/standard/device-connection-view.css +143 -0
- micro_otter/dist/webapp/html/styles/standard/device-deployment-view.css +266 -0
- micro_otter/dist/webapp/html/styles/standard/file-picker-dialog.css +88 -0
- micro_otter/dist/webapp/html/styles/standard/firmware-build-view.css +497 -0
- micro_otter/dist/webapp/html/styles/standard/general-settings-view.css +69 -0
- micro_otter/dist/webapp/html/styles/standard/graph-panel-documentation-areas.css +347 -0
- micro_otter/dist/webapp/html/styles/standard/graph-panel-view.css +160 -0
- micro_otter/dist/webapp/html/styles/standard/graph-settings-view.css +216 -0
- micro_otter/dist/webapp/html/styles/standard/html-view.css +26 -0
- micro_otter/dist/webapp/html/styles/standard/initial-loading.css +82 -0
- micro_otter/dist/webapp/html/styles/standard/markdown-view.css +121 -0
- micro_otter/dist/webapp/html/styles/standard/menu.css +115 -0
- micro_otter/dist/webapp/html/styles/standard/message-view.css +61 -0
- micro_otter/dist/webapp/html/styles/standard/modal-dialog.css +487 -0
- micro_otter/dist/webapp/html/styles/standard/node-control-ui.css +220 -0
- micro_otter/dist/webapp/html/styles/standard/node-info-view.css +238 -0
- micro_otter/dist/webapp/html/styles/standard/node-palette-view.css +331 -0
- micro_otter/dist/webapp/html/styles/standard/node-type-ui.css +176 -0
- micro_otter/dist/webapp/html/styles/standard/overlay-window.css +173 -0
- micro_otter/dist/webapp/html/styles/standard/progress-bar-view.css +54 -0
- micro_otter/dist/webapp/html/styles/standard/progress-detail-view.css +66 -0
- micro_otter/dist/webapp/html/styles/standard/splash-screen.css +607 -0
- micro_otter/dist/webapp/html/styles/standard/split-view.css +140 -0
- micro_otter/dist/webapp/html/styles/standard/stack-view.css +64 -0
- micro_otter/dist/webapp/html/styles/standard/tabbed-view.css +505 -0
- micro_otter/dist/webapp/html/styles/standard/text-view.css +15 -0
- micro_otter/dist/webapp/html/styles/standard/toolbar-view.css +213 -0
- micro_otter/dist/webapp/html/styles/standard/transpiler-view.css +34 -0
- micro_otter/dist/webapp/html/styles/standard/view-manager.css +60 -0
- micro_otter/dist/webapp/html/styles/standard/view-system.css +259 -0
- micro_otter/dist/webapp/html/styles/standard/workspace-view.css +148 -0
- micro_otter/dist/webapp/html/styles/themes.json +55 -0
- micro_otter/dist/webapp/html/vendor/marked/marked.umd.js +74 -0
- micro_otter/dist/webapp/html/vendor/marked/marked.umd.js.map +1 -0
- micro_otter/dist/webapp/html/vendor/mdi/LICENSE +20 -0
- micro_otter/dist/webapp/html/vendor/mdi/icon-index.json +1 -0
- micro_otter/dist/webapp/html/vendor/mdi/materialdesignicons-webfont.woff2 +0 -0
- micro_otter/dist/webapp/html/vendor/prismjs/components/prism-python.js +65 -0
- micro_otter/dist/webapp/html/vendor/prismjs/prism.js +1946 -0
- micro_otter/dist/webapp/html/version.json +3 -0
- micro_otter/dist/webapp/index.html +22 -0
- micro_otter/dist/webapp/privacy.html +291 -0
- micro_otter/nodes/.htaccess +33 -0
- micro_otter/nodes/device/capabilities/general.json +51 -0
- micro_otter/nodes/device/capabilities/index.json +7 -0
- micro_otter/nodes/device/capabilities/pins.json +108 -0
- micro_otter/nodes/device/firmware/boards.json +53 -0
- micro_otter/nodes/device/firmware/latest_versions.json +49 -0
- micro_otter/nodes/device/firmware/release.json +7 -0
- micro_otter/nodes/device/firmware/runtime_lineage.json +1990 -0
- micro_otter/nodes/device/graphs/demo/catalog.json +7 -0
- micro_otter/nodes/device/graphs/demo/welcome.json +3225 -0
- micro_otter/nodes/device/manifest.json +8 -0
- micro_otter/nodes/device/node_pkgs/audio/data_types.json +20 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/bolt_boost_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/filter_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/lens_blur_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/mic_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/noise_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/pitch_shift_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/ring_mod_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/sine_wave_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/speaker_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/stat_minus_3_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/volume_up_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/icons/waterfall_chart_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/audio/manifest.json +92 -0
- micro_otter/nodes/device/node_pkgs/audio/node_definitions.json +2443 -0
- micro_otter/nodes/device/node_pkgs/audio/node_generators.js +427 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/__init__.py +1 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/audio_chain.py +262 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/bitcrusher.py +122 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/downsampler.py +198 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/filter.py +98 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/gain.py +67 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/i2s_input.py +111 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/i2s_output.py +82 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/mix_ramp.py +78 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/noise.py +137 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/oscillator.py +272 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/overdrive.py +67 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/pitch_shifter.py +164 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/ring_mod.py +119 -0
- micro_otter/nodes/device/node_pkgs/audio/otter_audio_viper/square_fuzz.py +159 -0
- micro_otter/nodes/device/node_pkgs/core/data_types.json +20 -0
- micro_otter/nodes/device/node_pkgs/core/generator_math_processor.js +298 -0
- micro_otter/nodes/device/node_pkgs/core/icons/arrow_split_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/calculate_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/call_merge_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/call_split_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/compare_arrows_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/digital_input_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/digital_output_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/division_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/fit_page_width_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/format_list_numbered_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/input_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/linear_scale_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/logic_ampersand_24dp.svg +3 -0
- micro_otter/nodes/device/node_pkgs/core/icons/memory_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/output_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/icons/pwm_input_24dp.svg +6 -0
- micro_otter/nodes/device/node_pkgs/core/icons/pwm_output_24dp.svg +6 -0
- micro_otter/nodes/device/node_pkgs/core/icons/time_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/core/manifest.json +45 -0
- micro_otter/nodes/device/node_pkgs/core/node_capabilities.js +97 -0
- micro_otter/nodes/device/node_pkgs/core/node_definitions.json +3931 -0
- micro_otter/nodes/device/node_pkgs/core/node_generators.js +1316 -0
- micro_otter/nodes/device/node_pkgs/core/otter_core/__init__.py +3 -0
- micro_otter/nodes/device/node_pkgs/core/otter_core/system.py +32 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/123_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/binary_sensor_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/cloud_alert_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/home_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/menu_open_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/number_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/select_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/sensor_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/sensors_krx_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/smart_button_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/switch_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/icons/text_fields_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/hass/manifest.json +52 -0
- micro_otter/nodes/device/node_pkgs/hass/node_capabilities.js +359 -0
- micro_otter/nodes/device/node_pkgs/hass/node_definitions.json +2236 -0
- micro_otter/nodes/device/node_pkgs/hass/node_generators.js +706 -0
- micro_otter/nodes/device/node_pkgs/hass/otter_hass/__init__.py +6 -0
- micro_otter/nodes/device/node_pkgs/hass/otter_hass/runtime.py +762 -0
- micro_otter/nodes/device/node_pkgs/index.json +49 -0
- micro_otter/nodes/device/node_pkgs/irq/icons/bolt_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/irq/icons/toggle_on_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/irq/manifest.json +43 -0
- micro_otter/nodes/device/node_pkgs/irq/node_capabilities.js +344 -0
- micro_otter/nodes/device/node_pkgs/irq/node_definitions.json +273 -0
- micro_otter/nodes/device/node_pkgs/irq/node_generators.js +249 -0
- micro_otter/nodes/device/node_pkgs/irq/otter_irq/__init__.py +12 -0
- micro_otter/nodes/device/node_pkgs/irq/otter_irq/interrupts.py +235 -0
- micro_otter/nodes/device/node_pkgs/led/icons/led_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/led/icons/lightbulb_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/led/icons/lightstrip_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/led/icons/table_large_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/led/manifest.json +50 -0
- micro_otter/nodes/device/node_pkgs/led/node_definitions.json +596 -0
- micro_otter/nodes/device/node_pkgs/led/node_generators.js +150 -0
- micro_otter/nodes/device/node_pkgs/led/otter_led/__init__.py +2 -0
- micro_otter/nodes/device/node_pkgs/led/otter_led/drivers/__init__.py +2 -0
- micro_otter/nodes/device/node_pkgs/led/otter_led/drivers/neopixel.py +340 -0
- micro_otter/nodes/device/node_pkgs/led/otter_led/drivers/pwm_strip.py +86 -0
- micro_otter/nodes/device/node_pkgs/led/otter_led/drivers/single.py +64 -0
- micro_otter/nodes/device/node_pkgs/mqtt/icons/campaign_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/mqtt/icons/cloud_check_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/mqtt/icons/cloud_download_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/mqtt/icons/cloud_off_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/mqtt/icons/cloud_upload_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/mqtt/manifest.json +54 -0
- micro_otter/nodes/device/node_pkgs/mqtt/node_definitions.json +966 -0
- micro_otter/nodes/device/node_pkgs/mqtt/node_generators.js +333 -0
- micro_otter/nodes/device/node_pkgs/mqtt/otter_mqtt/__init__.py +4 -0
- micro_otter/nodes/device/node_pkgs/mqtt/otter_mqtt/runtime.py +1017 -0
- micro_otter/nodes/device/node_pkgs/mqtt/otter_mqtt/umqtt/__init__.py +3 -0
- micro_otter/nodes/device/node_pkgs/mqtt/otter_mqtt/umqtt/robust.py +58 -0
- micro_otter/nodes/device/node_pkgs/mqtt/otter_mqtt/umqtt/simple.py +221 -0
- micro_otter/nodes/device/node_pkgs/power/icons/battery_4_bar_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/power/manifest.json +44 -0
- micro_otter/nodes/device/node_pkgs/power/node_definitions.json +185 -0
- micro_otter/nodes/device/node_pkgs/power/node_generators.js +89 -0
- micro_otter/nodes/device/node_pkgs/power/otter_power/__init__.py +1 -0
- micro_otter/nodes/device/node_pkgs/power/otter_power/battery.py +29 -0
- micro_otter/nodes/device/node_pkgs/stdmo/icons/servo_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/stdmo/manifest.json +45 -0
- micro_otter/nodes/device/node_pkgs/stdmo/node_definitions.json +204 -0
- micro_otter/nodes/device/node_pkgs/stdmo/node_generators.js +67 -0
- micro_otter/nodes/device/node_pkgs/stdmo/otter_stdmo/__init__.py +4 -0
- micro_otter/nodes/device/node_pkgs/stdmo/otter_stdmo/servo.py +95 -0
- micro_otter/nodes/device/node_pkgs/stdmo/otter_stdmo/servo_callable.py +65 -0
- micro_otter/nodes/device/node_pkgs/time/icons/calendar_month_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/icons/hourglass_bottom_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/icons/schedule_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/icons/sync_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/icons/text_fields_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/icons/timer_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/time/manifest.json +43 -0
- micro_otter/nodes/device/node_pkgs/time/node_definitions.json +750 -0
- micro_otter/nodes/device/node_pkgs/time/node_generators.js +159 -0
- micro_otter/nodes/device/node_pkgs/time/otter_time/__init__.py +12 -0
- micro_otter/nodes/device/node_pkgs/time/otter_time/parts.py +262 -0
- micro_otter/nodes/device/node_pkgs/time/otter_time/service.py +502 -0
- micro_otter/nodes/device/node_pkgs/vars/data_types.json +20 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/casino_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/cell_merge_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/combine_columns_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/data_array_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/download_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/flex_no_wrap_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/key_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/login_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/logout_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/notifications_active_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/upload_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/variable_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/view_apps_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/icons/view_array_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/vars/manifest.json +46 -0
- micro_otter/nodes/device/node_pkgs/vars/node_capabilities.js +265 -0
- micro_otter/nodes/device/node_pkgs/vars/node_definitions.json +3120 -0
- micro_otter/nodes/device/node_pkgs/vars/node_generators.js +634 -0
- micro_otter/nodes/device/node_pkgs/vars/otter_vars/__init__.py +6 -0
- micro_otter/nodes/device/node_pkgs/vars/otter_vars/arrays.py +1179 -0
- micro_otter/nodes/device/node_pkgs/vars/otter_vars/signals.py +139 -0
- micro_otter/nodes/device/node_pkgs/vars/otter_vars/store.py +212 -0
- micro_otter/nodes/device/node_pkgs/webview/data_types.json +36 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_button.js +350 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_checkbox.js +475 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_column.js +56 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_content.js +157 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_graph_display.js +1040 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_joystick_display.js +1009 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_number_input.js +562 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_radar_display.js +769 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_row.js +56 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_select.js +606 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_slider.js +548 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_string_input.js +484 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_tile.js +108 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_title_content.js +183 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_value_store.js +141 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_value_table.js +275 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_web_page.js +50 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_web_root.js +113 -0
- micro_otter/nodes/device/node_pkgs/webview/generator_webview_shared.js +4852 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/123_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/check_box_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/column_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/content_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/dialogs_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/download_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/expand_circle_down_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/joystick_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/lists_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/login_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/logout_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/radar_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/row_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/save_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/show_chart_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/smart_button_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/table_rows_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/text_fields_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/tile_small_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/title_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/tune_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/upload_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/web_page_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/icons/web_root_24dp.svg +1 -0
- micro_otter/nodes/device/node_pkgs/webview/manifest.json +104 -0
- micro_otter/nodes/device/node_pkgs/webview/node_capabilities.js +250 -0
- micro_otter/nodes/device/node_pkgs/webview/node_definitions.json +4649 -0
- micro_otter/nodes/device/node_pkgs/webview/node_generators.js +19 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/__init__.py +11 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/data_registry.py +68 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/element_context.py +35 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/graph.py +84 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/input_control.py +468 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/joystick.py +318 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/radar.py +120 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/refresh_hook.py +401 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/utils.py +43 -0
- micro_otter/nodes/device/node_pkgs/webview/otter_webview/web_data_store.py +107 -0
- micro_otter/nodes/device/runtime/general/app/__init__.py +2 -0
- micro_otter/nodes/device/runtime/general/app/main_loop.py +11 -0
- micro_otter/nodes/device/runtime/general/custom_view.json +528 -0
- micro_otter/nodes/device/runtime/general/html/index.html +88 -0
- micro_otter/nodes/device/runtime/general/html/micro-otter-128px-white.svg +1 -0
- micro_otter/nodes/device/runtime/general/html/micro-otter-head-64px.svg +22 -0
- micro_otter/nodes/device/runtime/general/libs/__init__.py +2 -0
- micro_otter/nodes/device/runtime/general/libs/display.py +66 -0
- micro_otter/nodes/device/runtime/general/libs/motor.py +79 -0
- micro_otter/nodes/device/runtime/general/libs/oscillation.py +42 -0
- micro_otter/nodes/device/runtime/general/libs/receiver.py +156 -0
- micro_otter/nodes/device/runtime/general/libs/servo.py +95 -0
- micro_otter/nodes/device/runtime/general/libs/ultrasonic.py +46 -0
- micro_otter/nodes/device/runtime/general/locales/de.json +80 -0
- micro_otter/nodes/device/runtime/general/locales/en.json +81 -0
- micro_otter/nodes/device/runtime/general/main.py +25 -0
- micro_otter/nodes/device/runtime/general/manifest.json +83 -0
- micro_otter/nodes/device/runtime/general/node_pkgs/README.md +44 -0
- micro_otter/nodes/device/runtime/general/otter_main.py +589 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/__init__.py +4 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/custom_settings.py +718 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/http_request.py +199 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/logger.py +55 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/module_utils.py +27 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/mqtt_service.py +95 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/service_controller.py +168 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/services.py +24 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/settings_store.py +35 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/web_data_store.py +110 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/web_interface.py +924 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/web_server.py +901 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/webserver_service.py +70 -0
- micro_otter/nodes/device/runtime/general/otter_runtime/wifi_boot.py +346 -0
- micro_otter/nodes/device/runtime/manifest.json +4 -0
- micro_otter/nodes/device/targets/arduino_uno.json +148 -0
- micro_otter/nodes/device/targets/compile_target_mappings.json +75 -0
- micro_otter/nodes/device/targets/esp32_s2.json +586 -0
- micro_otter/nodes/device/targets/esp32_s3.json +606 -0
- micro_otter/nodes/device/targets/esp32_s3_mini.json +13 -0
- micro_otter/nodes/device/targets/esp32_wroom.json +1564 -0
- micro_otter/nodes/device/targets/generic_micropython.json +81 -0
- micro_otter/nodes/device/targets/index.json +41 -0
- micro_otter/nodes/device/tools/__init__.py +37 -0
- micro_otter/nodes/device/tools/fs_utils.py +128 -0
- micro_otter/nodes/device/tools/manifest.json +29 -0
- micro_otter/nodes/device/tools/runtime_info.py +28 -0
- micro_otter/nodes/device/tools/runtime_log.py +160 -0
- micro_otter/nodes/device/tools/set_wifi.py +45 -0
- micro_otter/nodes/device/tools/wifi_diag.py +91 -0
- micro_otter/nodes/device/tools/wifi_manager.py +954 -0
- micro_otter/nodes/device/tools/wifi_probe.py +107 -0
- micro_otter/nodes/html/demos/collapsible-view-demo.html +128 -0
- micro_otter/nodes/html/favicon.ico +0 -0
- micro_otter/nodes/html/icons/LICENSE +224 -0
- micro_otter/nodes/html/icons/add_24dp.svg +3 -0
- micro_otter/nodes/html/icons/add_collection_24dp.svg +1 -0
- micro_otter/nodes/html/icons/archive_24dp.svg +1 -0
- micro_otter/nodes/html/icons/arrow_downward_24dp.svg +1 -0
- micro_otter/nodes/html/icons/arrow_drop_up_24dp.svg +3 -0
- micro_otter/nodes/html/icons/arrow_split_24dp.svg +1 -0
- micro_otter/nodes/html/icons/arrow_up_bold_24dp.svg +1 -0
- micro_otter/nodes/html/icons/arrow_upward_24dp.svg +1 -0
- micro_otter/nodes/html/icons/blood_pressure_24dp.svg +1 -0
- micro_otter/nodes/html/icons/bluetooth_24dp.svg +1 -0
- micro_otter/nodes/html/icons/bluetooth_disabled_24dp.svg +1 -0
- micro_otter/nodes/html/icons/bolt_24dp.svg +1 -0
- micro_otter/nodes/html/icons/cable_24dp.svg +1 -0
- micro_otter/nodes/html/icons/calculate_24dp.svg +13 -0
- micro_otter/nodes/html/icons/check_24dp.svg +1 -0
- micro_otter/nodes/html/icons/check_circle_24dp.svg +1 -0
- micro_otter/nodes/html/icons/checkbox_multiple_blank_outline_24dp.svg +1 -0
- micro_otter/nodes/html/icons/checkbox_multiple_marked_24dp.svg +1 -0
- micro_otter/nodes/html/icons/circle_half_full_24dp.svg +1 -0
- micro_otter/nodes/html/icons/close_24dp.svg +3 -0
- micro_otter/nodes/html/icons/cloud_download_24dp.svg +3 -0
- micro_otter/nodes/html/icons/cloud_off_24dp.svg +3 -0
- micro_otter/nodes/html/icons/code_generator_24dp.svg +1 -0
- micro_otter/nodes/html/icons/colorize_24dp.svg +1 -0
- micro_otter/nodes/html/icons/compare_arrows_24dp.svg +1 -0
- micro_otter/nodes/html/icons/connect_24dp.svg +1 -0
- micro_otter/nodes/html/icons/content_copy_24dp.svg +1 -0
- micro_otter/nodes/html/icons/content_cut_24dp.svg +1 -0
- micro_otter/nodes/html/icons/content_paste_24dp.svg +1 -0
- micro_otter/nodes/html/icons/data_object_24dp.svg +1 -0
- micro_otter/nodes/html/icons/delete_24dp.svg +3 -0
- micro_otter/nodes/html/icons/delete_image_24dp.svg +1 -0
- micro_otter/nodes/html/icons/delete_sweep_24dp.svg +1 -0
- micro_otter/nodes/html/icons/deploy_collection_24dp.svg +1 -0
- micro_otter/nodes/html/icons/deployed_code_24dp.svg +1 -0
- micro_otter/nodes/html/icons/digital_in_out_24dp.svg +1 -0
- micro_otter/nodes/html/icons/digital_input_24dp.svg +1 -0
- micro_otter/nodes/html/icons/digital_output_24dp.svg +1 -0
- micro_otter/nodes/html/icons/download_24dp.svg +3 -0
- micro_otter/nodes/html/icons/edit_24dp.svg +1 -0
- micro_otter/nodes/html/icons/error_24dp.svg +1 -0
- micro_otter/nodes/html/icons/exit_to_app_24dp.svg +3 -0
- micro_otter/nodes/html/icons/file_copy_24dp.svg +1 -0
- micro_otter/nodes/html/icons/file_open_24dp.svg +3 -0
- micro_otter/nodes/html/icons/file_save_24dp4.svg +3 -0
- micro_otter/nodes/html/icons/filter_list_24dp.svg +1 -0
- micro_otter/nodes/html/icons/filter_minus_outline_24dp.svg +1 -0
- micro_otter/nodes/html/icons/format_size_24dp.svg +1 -0
- micro_otter/nodes/html/icons/grid_on_24dp.svg +3 -0
- micro_otter/nodes/html/icons/hard_drive_24dp.svg +1 -0
- micro_otter/nodes/html/icons/hard_reset_24dp.svg +1 -0
- micro_otter/nodes/html/icons/heart_check_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2c_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2c_input_24dp.svg +8 -0
- micro_otter/nodes/html/icons/i2c_output_24dp.svg +8 -0
- micro_otter/nodes/html/icons/i2c_scl_24dp.svg +3 -0
- micro_otter/nodes/html/icons/i2c_sda_24dp.svg +3 -0
- micro_otter/nodes/html/icons/i2s_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2s_bclk_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2s_din_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2s_dout_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2s_mclk_24dp.svg +1 -0
- micro_otter/nodes/html/icons/i2s_ws_24dp.svg +1 -0
- micro_otter/nodes/html/icons/info_24dp.svg +1 -0
- micro_otter/nodes/html/icons/input_24dp.svg +1 -0
- micro_otter/nodes/html/icons/install_runtime_24dp.svg +1 -0
- micro_otter/nodes/html/icons/keyboard_arrow_down_24dp.svg +1 -0
- micro_otter/nodes/html/icons/keyboard_arrow_up_24dp.svg +1 -0
- micro_otter/nodes/html/icons/keyboard_double_arrow_up_24dp.svg +1 -0
- micro_otter/nodes/html/icons/language_24dp.svg +1 -0
- micro_otter/nodes/html/icons/logic_ampersand_24dp.svg +4 -0
- micro_otter/nodes/html/icons/memory_24dp.svg +1 -0
- micro_otter/nodes/html/icons/menu_24dp.svg +3 -0
- micro_otter/nodes/html/icons/micro-otter-head-64px.ico +0 -0
- micro_otter/nodes/html/icons/micro-otter-head-64px.png +0 -0
- micro_otter/nodes/html/icons/micro-otter-head-64px.svg +22 -0
- micro_otter/nodes/html/icons/micro-otter-head.png +0 -0
- micro_otter/nodes/html/icons/micro-otter-white-128px.svg +1 -0
- micro_otter/nodes/html/icons/mobiledata_arrows_24dp.svg +1 -0
- micro_otter/nodes/html/icons/moon_full_24dp.svg +1 -0
- micro_otter/nodes/html/icons/new_box_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_category_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_library_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_package_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_type_ui_select_large_24dp.svg +1 -0
- micro_otter/nodes/html/icons/node_type_ui_select_small_24dp.svg +1 -0
- micro_otter/nodes/html/icons/output_24dp.svg +1 -0
- micro_otter/nodes/html/icons/palette_24dp.svg +1 -0
- micro_otter/nodes/html/icons/pause_circle_24dp.svg +1 -0
- micro_otter/nodes/html/icons/person_24dp.svg +1 -0
- micro_otter/nodes/html/icons/play_arrow_24dp.svg +1 -0
- micro_otter/nodes/html/icons/plus_circle_outline_24dp.svg +1 -0
- micro_otter/nodes/html/icons/progress_question_24dp.svg +1 -0
- micro_otter/nodes/html/icons/pull_down_24dp.svg +1 -0
- micro_otter/nodes/html/icons/pull_up_24dp.svg +1 -0
- micro_otter/nodes/html/icons/pull_up_down_24dp.svg +1 -0
- micro_otter/nodes/html/icons/pwm_in_out_24dp.svg +7 -0
- micro_otter/nodes/html/icons/pwm_input_24dp.svg +6 -0
- micro_otter/nodes/html/icons/pwm_output_24dp.svg +6 -0
- micro_otter/nodes/html/icons/redo_24dp.svg +1 -0
- micro_otter/nodes/html/icons/refresh_24dp.svg +1 -0
- micro_otter/nodes/html/icons/reload_24dp.svg +1 -0
- micro_otter/nodes/html/icons/remove_collection_24dp.svg +1 -0
- micro_otter/nodes/html/icons/remove_runtime_24dp.svg +1 -0
- micro_otter/nodes/html/icons/restart_24dp.svg +1 -0
- micro_otter/nodes/html/icons/save_24dp.svg +3 -0
- micro_otter/nodes/html/icons/select_all_24dp.svg +1 -0
- micro_otter/nodes/html/icons/serial_connect_24dp.svg +1 -0
- micro_otter/nodes/html/icons/serial_input_24dp.svg +1 -0
- micro_otter/nodes/html/icons/serial_output_24dp.svg +1 -0
- micro_otter/nodes/html/icons/settings_24dp.svg +1 -0
- micro_otter/nodes/html/icons/sort_by_alpha_24dp.svg +1 -0
- micro_otter/nodes/html/icons/spi_24dp.svg +1 -0
- micro_otter/nodes/html/icons/spi_cs_24dp.svg +3 -0
- micro_otter/nodes/html/icons/spi_input_24dp.svg +8 -0
- micro_otter/nodes/html/icons/spi_miso_24dp.svg +3 -0
- micro_otter/nodes/html/icons/spi_mosi_24dp.svg +3 -0
- micro_otter/nodes/html/icons/spi_output_24dp.svg +8 -0
- micro_otter/nodes/html/icons/spi_sck_24dp.svg +3 -0
- micro_otter/nodes/html/icons/stop_24dp.svg +1 -0
- micro_otter/nodes/html/icons/sync_24dp.svg +1 -0
- micro_otter/nodes/html/icons/sync_collection_24dp.svg +1 -0
- micro_otter/nodes/html/icons/time_24dp.svg +1 -0
- micro_otter/nodes/html/icons/tray_arrow_up_24dp.svg +1 -0
- micro_otter/nodes/html/icons/uart_24dp.svg +1 -0
- micro_otter/nodes/html/icons/unarchive_24dp.svg +1 -0
- micro_otter/nodes/html/icons/undo_24dp.svg +1 -0
- micro_otter/nodes/html/icons/upload_24dp.svg +3 -0
- micro_otter/nodes/html/icons/upload_file_24dp.svg +3 -0
- micro_otter/nodes/html/icons/vital_signs_24dp.svg +1 -0
- micro_otter/nodes/html/icons/warning_24dp.svg +1 -0
- micro_otter/nodes/html/icons/wifi_24dp.svg +1 -0
- micro_otter/nodes/html/icons/wifi_off_24dp.svg +1 -0
- micro_otter/nodes/html/js/app/deployment-progress-controller.ts +514 -0
- micro_otter/nodes/html/js/app/feature-error-view.ts +171 -0
- micro_otter/nodes/html/js/app/first-run-consent-gate.ts +341 -0
- micro_otter/nodes/html/js/app/initial-loading.ts +85 -0
- micro_otter/nodes/html/js/app/main.ts +581 -0
- micro_otter/nodes/html/js/app/server-connection-controller.ts +208 -0
- micro_otter/nodes/html/js/core/_legacy/debug.js +118 -0
- micro_otter/nodes/html/js/core/_legacy/main-v2.js +149 -0
- micro_otter/nodes/html/js/core/_legacy/palette-v2.js +68 -0
- micro_otter/nodes/html/js/core/_legacy/render-v2.js +247 -0
- micro_otter/nodes/html/js/core/app-event-emitter.ts +143 -0
- micro_otter/nodes/html/js/core/app-event.ts +148 -0
- micro_otter/nodes/html/js/core/app-meta.ts +110 -0
- micro_otter/nodes/html/js/core/build-mode.ts +37 -0
- micro_otter/nodes/html/js/core/capability-requirements.ts +283 -0
- micro_otter/nodes/html/js/core/clipboard-manager.ts +511 -0
- micro_otter/nodes/html/js/core/demo-collection-inserter.ts +418 -0
- micro_otter/nodes/html/js/core/error-utils.ts +19 -0
- micro_otter/nodes/html/js/core/event-emitter.ts +133 -0
- micro_otter/nodes/html/js/core/feature-detector.ts +200 -0
- micro_otter/nodes/html/js/core/feature-requirements.ts +238 -0
- micro_otter/nodes/html/js/core/graph-clipboard.ts +243 -0
- micro_otter/nodes/html/js/core/graph-resource-validator.ts +568 -0
- micro_otter/nodes/html/js/core/graph-rule-registry.ts +187 -0
- micro_otter/nodes/html/js/core/graph-topic-validator.ts +391 -0
- micro_otter/nodes/html/js/core/katex-loader.ts +236 -0
- micro_otter/nodes/html/js/core/log.ts +260 -0
- micro_otter/nodes/html/js/core/markdown-renderer.ts +412 -0
- micro_otter/nodes/html/js/core/missing-node-type-issue.ts +110 -0
- micro_otter/nodes/html/js/core/node-capability-validator.ts +660 -0
- micro_otter/nodes/html/js/core/open-source-packages.generated.js +11 -0
- micro_otter/nodes/html/js/core/privacy-notice-url.ts +17 -0
- micro_otter/nodes/html/js/core/progress-events.ts +754 -0
- micro_otter/nodes/html/js/core/project-links.ts +40 -0
- micro_otter/nodes/html/js/core/render-documentation-markdown.ts +38 -0
- micro_otter/nodes/html/js/core/workspace.ts +1669 -0
- micro_otter/nodes/html/js/data/capability-registry.ts +146 -0
- micro_otter/nodes/html/js/data/collection-diagram.ts +296 -0
- micro_otter/nodes/html/js/data/collection-manager.ts +939 -0
- micro_otter/nodes/html/js/data/collection-runtime.ts +64 -0
- micro_otter/nodes/html/js/data/collection-store.ts +166 -0
- micro_otter/nodes/html/js/data/collection-verified-run.ts +413 -0
- micro_otter/nodes/html/js/data/collection-wiring.ts +417 -0
- micro_otter/nodes/html/js/data/collection.ts +1768 -0
- micro_otter/nodes/html/js/data/data-type-color-palette.ts +12 -0
- micro_otter/nodes/html/js/data/data-type-registry.ts +239 -0
- micro_otter/nodes/html/js/data/demo-collection-library.ts +513 -0
- micro_otter/nodes/html/js/data/device-runtime-collection.ts +307 -0
- micro_otter/nodes/html/js/data/device-runtime.ts +786 -0
- micro_otter/nodes/html/js/data/device-state.ts +492 -0
- micro_otter/nodes/html/js/data/device-target.ts +1244 -0
- micro_otter/nodes/html/js/data/diagram-svg.ts +386 -0
- micro_otter/nodes/html/js/data/documentation-area.ts +327 -0
- micro_otter/nodes/html/js/data/flagged-version.ts +186 -0
- micro_otter/nodes/html/js/data/function-node-definition.ts +360 -0
- micro_otter/nodes/html/js/data/graph-execution-settings.ts +241 -0
- micro_otter/nodes/html/js/data/graph-function-nodes.ts +311 -0
- micro_otter/nodes/html/js/data/graph-function-signature.ts +648 -0
- micro_otter/nodes/html/js/data/history-manager.ts +2372 -0
- micro_otter/nodes/html/js/data/indexed-store.ts +168 -0
- micro_otter/nodes/html/js/data/mdi-icons.ts +480 -0
- micro_otter/nodes/html/js/data/module-namespace.ts +52 -0
- micro_otter/nodes/html/js/data/node-control-base.ts +167 -0
- micro_otter/nodes/html/js/data/node-control-dropdown.ts +240 -0
- micro_otter/nodes/html/js/data/node-control-number.ts +80 -0
- micro_otter/nodes/html/js/data/node-control-text.ts +37 -0
- micro_otter/nodes/html/js/data/node-data.ts +670 -0
- micro_otter/nodes/html/js/data/node-graph.ts +3808 -0
- micro_otter/nodes/html/js/data/node-name-resolver.ts +132 -0
- micro_otter/nodes/html/js/data/node-package-usage.ts +101 -0
- micro_otter/nodes/html/js/data/node-package.ts +779 -0
- micro_otter/nodes/html/js/data/node-type.ts +595 -0
- micro_otter/nodes/html/js/data/node-width.ts +106 -0
- micro_otter/nodes/html/js/data/package-resolver.ts +309 -0
- micro_otter/nodes/html/js/data/runtime-data-type-registration.ts +56 -0
- micro_otter/nodes/html/js/data/runtime-node-definition-migration.ts +596 -0
- micro_otter/nodes/html/js/data/target-compatibility.ts +67 -0
- micro_otter/nodes/html/js/data/target-config-store.ts +307 -0
- micro_otter/nodes/html/js/data/target-payload.ts +79 -0
- micro_otter/nodes/html/js/data/target-resolution.ts +137 -0
- micro_otter/nodes/html/js/data/target-resolver.ts +298 -0
- micro_otter/nodes/html/js/data/type-conversions.ts +436 -0
- micro_otter/nodes/html/js/data/uuid.ts +39 -0
- micro_otter/nodes/html/js/data/view-store.ts +98 -0
- micro_otter/nodes/html/js/data/viewport-config.ts +39 -0
- micro_otter/nodes/html/js/data/wiring-pin-derivation.ts +389 -0
- micro_otter/nodes/html/js/data/workspace-config-store.ts +52 -0
- micro_otter/nodes/html/js/data/workspace-config.ts +101 -0
- micro_otter/nodes/html/js/deployment/bootstrap-setup-contract.ts +256 -0
- micro_otter/nodes/html/js/deployment/collection-deployment.ts +3034 -0
- micro_otter/nodes/html/js/deployment/deployment-utils.ts +295 -0
- micro_otter/nodes/html/js/deployment/device-deployment.ts +5283 -0
- micro_otter/nodes/html/js/deployment/embedded-module-plan.ts +465 -0
- micro_otter/nodes/html/js/deployment/hash-manifest-manager.ts +355 -0
- micro_otter/nodes/html/js/deployment/runtime-deployment.ts +2158 -0
- micro_otter/nodes/html/js/dev/transpile-debug-channel.ts +224 -0
- micro_otter/nodes/html/js/firmware/board-catalog.ts +154 -0
- micro_otter/nodes/html/js/firmware/firmware-client.ts +371 -0
- micro_otter/nodes/html/js/firmware/firmware-inventory.ts +487 -0
- micro_otter/nodes/html/js/firmware/firmware-job-state.ts +359 -0
- micro_otter/nodes/html/js/firmware/firmware-requests.ts +470 -0
- micro_otter/nodes/html/js/firmware/server-capabilities.ts +284 -0
- micro_otter/nodes/html/js/firmware/server-connection.ts +436 -0
- micro_otter/nodes/html/js/i18n/i18n-service.ts +449 -0
- micro_otter/nodes/html/js/nodes/availability-flags.ts +169 -0
- micro_otter/nodes/html/js/nodes/connection-geometry.ts +98 -0
- micro_otter/nodes/html/js/nodes/connection-preview-colors.ts +27 -0
- micro_otter/nodes/html/js/nodes/connections-ui.ts +874 -0
- micro_otter/nodes/html/js/nodes/controls/checkbox-control-ui.ts +198 -0
- micro_otter/nodes/html/js/nodes/controls/color-control-ui.ts +409 -0
- micro_otter/nodes/html/js/nodes/controls/control-ui-colors.ts +20 -0
- micro_otter/nodes/html/js/nodes/controls/icon-control-ui.ts +401 -0
- micro_otter/nodes/html/js/nodes/controls/index.ts +82 -0
- micro_otter/nodes/html/js/nodes/controls/node-control-ui.ts +616 -0
- micro_otter/nodes/html/js/nodes/controls/node-dropdown-control-ui.ts +852 -0
- micro_otter/nodes/html/js/nodes/controls/number-control-ui.ts +384 -0
- micro_otter/nodes/html/js/nodes/controls/slider-control-ui.ts +312 -0
- micro_otter/nodes/html/js/nodes/controls/text-control-ui.ts +289 -0
- micro_otter/nodes/html/js/nodes/data-type-colors.ts +36 -0
- micro_otter/nodes/html/js/nodes/function-consistency.ts +738 -0
- micro_otter/nodes/html/js/nodes/graph-topics.ts +157 -0
- micro_otter/nodes/html/js/nodes/irq-consistency.ts +334 -0
- micro_otter/nodes/html/js/nodes/irq-triggers.ts +167 -0
- micro_otter/nodes/html/js/nodes/mdi-glyph-font.ts +73 -0
- micro_otter/nodes/html/js/nodes/node-control-dynamic-resolver.ts +608 -0
- micro_otter/nodes/html/js/nodes/node-type-ui.ts +840 -0
- micro_otter/nodes/html/js/nodes/node-ui-constants.ts +240 -0
- micro_otter/nodes/html/js/nodes/node-ui-helpers.ts +1385 -0
- micro_otter/nodes/html/js/nodes/node-ui-hit-testing.ts +464 -0
- micro_otter/nodes/html/js/nodes/node-ui-rendering.ts +1143 -0
- micro_otter/nodes/html/js/nodes/node-ui.js.backup +1630 -0
- micro_otter/nodes/html/js/nodes/node-ui.ts +2026 -0
- micro_otter/nodes/html/js/nodes/organizational-palette.ts +92 -0
- micro_otter/nodes/html/js/nodes/signal-consistency.ts +310 -0
- micro_otter/nodes/html/js/nodes/signal-names.ts +112 -0
- micro_otter/nodes/html/js/nodes/var-consistency.ts +267 -0
- micro_otter/nodes/html/js/nodes/var-stores.ts +286 -0
- micro_otter/nodes/html/js/proc/transpiler-helpers.ts +466 -0
- micro_otter/nodes/html/js/proc/transpiler.ts +4290 -0
- micro_otter/nodes/html/js/serial/device-connection-monitor.ts +701 -0
- micro_otter/nodes/html/js/serial/device-connection.ts +4496 -0
- micro_otter/nodes/html/js/serial/mock-serial-connection.ts +139 -0
- micro_otter/nodes/html/js/serial/serial-connection-base.ts +233 -0
- micro_otter/nodes/html/js/serial/serial-ports.ts +98 -0
- micro_otter/nodes/html/js/serial/webserial-connection.ts +565 -0
- micro_otter/nodes/html/js/serial/websocket-connection.ts +336 -0
- micro_otter/nodes/html/js/views/about-dialog-view.ts +427 -0
- micro_otter/nodes/html/js/views/activity-pulse.ts +103 -0
- micro_otter/nodes/html/js/views/all-settings-view.ts +255 -0
- micro_otter/nodes/html/js/views/code-view.ts +225 -0
- micro_otter/nodes/html/js/views/collapsible-view.ts +901 -0
- micro_otter/nodes/html/js/views/collection-diagram-view.ts +1029 -0
- micro_otter/nodes/html/js/views/collection-settings-view.ts +1147 -0
- micro_otter/nodes/html/js/views/collection-view.ts +1554 -0
- micro_otter/nodes/html/js/views/collection-wiring-view.ts +845 -0
- micro_otter/nodes/html/js/views/confirmation-dialog-view.ts +273 -0
- micro_otter/nodes/html/js/views/connecting-progress-dialog-view.ts +446 -0
- micro_otter/nodes/html/js/views/console-log-view.ts +1257 -0
- micro_otter/nodes/html/js/views/content-view.ts +60 -0
- micro_otter/nodes/html/js/views/controls/custom-runtime-controls.ts +659 -0
- micro_otter/nodes/html/js/views/controls/dropdown-control.ts +797 -0
- micro_otter/nodes/html/js/views/controls/markdown-editor-control.ts +410 -0
- micro_otter/nodes/html/js/views/controls/mdi-icon-picker-control.ts +1105 -0
- micro_otter/nodes/html/js/views/custom-runtime-renderer.ts +1777 -0
- micro_otter/nodes/html/js/views/custom-runtime-view.ts +253 -0
- micro_otter/nodes/html/js/views/custom-view-controls.ts +14 -0
- micro_otter/nodes/html/js/views/data-table-view.ts +412 -0
- micro_otter/nodes/html/js/views/db-restore-dialog-view.ts +1142 -0
- micro_otter/nodes/html/js/views/demo-collection-picker-dialog-view.ts +378 -0
- micro_otter/nodes/html/js/views/demo-welcome-dialog-view.ts +157 -0
- micro_otter/nodes/html/js/views/deployment-progress-dialog-view.ts +348 -0
- micro_otter/nodes/html/js/views/device-connection-dialog-view.ts +734 -0
- micro_otter/nodes/html/js/views/device-connection-view.ts +1298 -0
- micro_otter/nodes/html/js/views/device-deployment-view.ts +2776 -0
- micro_otter/nodes/html/js/views/diagram-viewport.ts +244 -0
- micro_otter/nodes/html/js/views/documentation-area-hit-test.ts +79 -0
- micro_otter/nodes/html/js/views/documentation-area-menu.ts +181 -0
- micro_otter/nodes/html/js/views/error-dialog-view.ts +189 -0
- micro_otter/nodes/html/js/views/file-import-dialog-view.ts +351 -0
- micro_otter/nodes/html/js/views/file-picker-dialog-view.ts +393 -0
- micro_otter/nodes/html/js/views/firmware-build-types.ts +87 -0
- micro_otter/nodes/html/js/views/firmware-build-view.ts +3739 -0
- micro_otter/nodes/html/js/views/firmware-inventory-panel.ts +796 -0
- micro_otter/nodes/html/js/views/firmware-packages-panel.ts +1059 -0
- micro_otter/nodes/html/js/views/form-dialog-view.ts +564 -0
- micro_otter/nodes/html/js/views/general-settings-view.ts +382 -0
- micro_otter/nodes/html/js/views/graph-panel-clipboard.ts +439 -0
- micro_otter/nodes/html/js/views/graph-panel-documentation-layer.ts +946 -0
- micro_otter/nodes/html/js/views/graph-panel-interaction.ts +2012 -0
- micro_otter/nodes/html/js/views/graph-panel-rendering.ts +778 -0
- micro_otter/nodes/html/js/views/graph-panel-selection.ts +290 -0
- micro_otter/nodes/html/js/views/graph-panel-view.ts +5987 -0
- micro_otter/nodes/html/js/views/graph-panel-viewport.ts +442 -0
- micro_otter/nodes/html/js/views/graph-settings-view.ts +2870 -0
- micro_otter/nodes/html/js/views/html-view.ts +139 -0
- micro_otter/nodes/html/js/views/icon-data.generated.js +151 -0
- micro_otter/nodes/html/js/views/icon-provider.ts +926 -0
- micro_otter/nodes/html/js/views/language-picker-view.ts +263 -0
- micro_otter/nodes/html/js/views/manual-collection-selection-dialog-view.ts +515 -0
- micro_otter/nodes/html/js/views/markdown-view.ts +179 -0
- micro_otter/nodes/html/js/views/menu-view.ts +1082 -0
- micro_otter/nodes/html/js/views/menu-window.ts +317 -0
- micro_otter/nodes/html/js/views/message-view.ts +259 -0
- micro_otter/nodes/html/js/views/modal-dialog-view.ts +451 -0
- micro_otter/nodes/html/js/views/node-info-content.ts +252 -0
- micro_otter/nodes/html/js/views/node-info-view.ts +304 -0
- micro_otter/nodes/html/js/views/node-palette-view.ts +1592 -0
- micro_otter/nodes/html/js/views/overlay-position.ts +111 -0
- micro_otter/nodes/html/js/views/overlay-window.ts +920 -0
- micro_otter/nodes/html/js/views/progress-bar-view.ts +270 -0
- micro_otter/nodes/html/js/views/progress-detail-view.ts +439 -0
- micro_otter/nodes/html/js/views/splash-screen.ts +558 -0
- micro_otter/nodes/html/js/views/split-view-sizing.ts +367 -0
- micro_otter/nodes/html/js/views/split-view.ts +2063 -0
- micro_otter/nodes/html/js/views/stack-view.ts +435 -0
- micro_otter/nodes/html/js/views/tabbed-view.ts +2678 -0
- micro_otter/nodes/html/js/views/target-config-view.ts +1451 -0
- micro_otter/nodes/html/js/views/text-dialog-view.ts +221 -0
- micro_otter/nodes/html/js/views/text-view.ts +173 -0
- micro_otter/nodes/html/js/views/toolbar-view.ts +541 -0
- micro_otter/nodes/html/js/views/transpiler-view.ts +665 -0
- micro_otter/nodes/html/js/views/view-base.ts +688 -0
- micro_otter/nodes/html/js/views/view-factory.ts +211 -0
- micro_otter/nodes/html/js/views/view-manager.ts +1110 -0
- micro_otter/nodes/html/js/views/view-theme-registry.ts +300 -0
- micro_otter/nodes/html/js/views/workspace-view.ts +4103 -0
- micro_otter/nodes/html/locales/de.json +1593 -0
- micro_otter/nodes/html/locales/en.json +1592 -0
- micro_otter/nodes/html/locales/icon-de.svg +6 -0
- micro_otter/nodes/html/locales/icon-en.svg +7 -0
- micro_otter/nodes/html/locales/locales.json +17 -0
- micro_otter/nodes/html/styles/standard/activity-pulse.css +34 -0
- micro_otter/nodes/html/styles/standard/all-settings-view.css +17 -0
- micro_otter/nodes/html/styles/standard/code-view.css +165 -0
- micro_otter/nodes/html/styles/standard/collapsible-view.css +159 -0
- micro_otter/nodes/html/styles/standard/collection-diagram-view.css +47 -0
- micro_otter/nodes/html/styles/standard/collection-settings-view.css +128 -0
- micro_otter/nodes/html/styles/standard/collection-view.css +10 -0
- micro_otter/nodes/html/styles/standard/collection-wiring-view.css +46 -0
- micro_otter/nodes/html/styles/standard/connecting-progress-dialog.css +37 -0
- micro_otter/nodes/html/styles/standard/console-log-view.css +270 -0
- micro_otter/nodes/html/styles/standard/content-view.css +7 -0
- micro_otter/nodes/html/styles/standard/controls/dropdown-control.css +227 -0
- micro_otter/nodes/html/styles/standard/controls/icon-control.css +225 -0
- micro_otter/nodes/html/styles/standard/controls/markdown-editor-control.css +64 -0
- micro_otter/nodes/html/styles/standard/custom-runtime-controls.css +220 -0
- micro_otter/nodes/html/styles/standard/data-table-view.css +92 -0
- micro_otter/nodes/html/styles/standard/demo-collection-picker-dialog.css +66 -0
- micro_otter/nodes/html/styles/standard/deployment-progress-dialog.css +44 -0
- micro_otter/nodes/html/styles/standard/device-connection-dialog.css +47 -0
- micro_otter/nodes/html/styles/standard/device-connection-view.css +143 -0
- micro_otter/nodes/html/styles/standard/device-deployment-view.css +266 -0
- micro_otter/nodes/html/styles/standard/file-picker-dialog.css +88 -0
- micro_otter/nodes/html/styles/standard/firmware-build-view.css +497 -0
- micro_otter/nodes/html/styles/standard/general-settings-view.css +69 -0
- micro_otter/nodes/html/styles/standard/graph-panel-documentation-areas.css +347 -0
- micro_otter/nodes/html/styles/standard/graph-panel-view.css +160 -0
- micro_otter/nodes/html/styles/standard/graph-settings-view.css +216 -0
- micro_otter/nodes/html/styles/standard/html-view.css +26 -0
- micro_otter/nodes/html/styles/standard/initial-loading.css +82 -0
- micro_otter/nodes/html/styles/standard/markdown-view.css +121 -0
- micro_otter/nodes/html/styles/standard/menu.css +115 -0
- micro_otter/nodes/html/styles/standard/message-view.css +61 -0
- micro_otter/nodes/html/styles/standard/modal-dialog.css +487 -0
- micro_otter/nodes/html/styles/standard/node-control-ui.css +220 -0
- micro_otter/nodes/html/styles/standard/node-info-view.css +238 -0
- micro_otter/nodes/html/styles/standard/node-palette-view.css +331 -0
- micro_otter/nodes/html/styles/standard/node-type-ui.css +176 -0
- micro_otter/nodes/html/styles/standard/overlay-window.css +173 -0
- micro_otter/nodes/html/styles/standard/progress-bar-view.css +54 -0
- micro_otter/nodes/html/styles/standard/progress-detail-view.css +66 -0
- micro_otter/nodes/html/styles/standard/splash-screen.css +607 -0
- micro_otter/nodes/html/styles/standard/split-view.css +140 -0
- micro_otter/nodes/html/styles/standard/stack-view.css +64 -0
- micro_otter/nodes/html/styles/standard/tabbed-view.css +505 -0
- micro_otter/nodes/html/styles/standard/text-view.css +15 -0
- micro_otter/nodes/html/styles/standard/toolbar-view.css +213 -0
- micro_otter/nodes/html/styles/standard/transpiler-view.css +34 -0
- micro_otter/nodes/html/styles/standard/view-manager.css +60 -0
- micro_otter/nodes/html/styles/standard/view-system.css +259 -0
- micro_otter/nodes/html/styles/standard/workspace-view.css +148 -0
- micro_otter/nodes/html/styles/themes.json +55 -0
- micro_otter/nodes/html/vendor/marked/marked.umd.js +74 -0
- micro_otter/nodes/html/vendor/marked/marked.umd.js.map +1 -0
- micro_otter/nodes/html/vendor/mdi/LICENSE +20 -0
- micro_otter/nodes/html/vendor/mdi/icon-index.json +1 -0
- micro_otter/nodes/html/vendor/mdi/materialdesignicons-webfont.woff2 +0 -0
- micro_otter/nodes/html/vendor/prismjs/components/prism-python.js +65 -0
- micro_otter/nodes/html/vendor/prismjs/prism.js +1946 -0
- micro_otter/nodes/index.html +24 -0
- micro_otter/nodes/privacy.html +291 -0
- micro_otter/nodes/tests/deployment-manual-test.html +1070 -0
- micro_otter/nodes/tests/deployment-phase3-manual-test.html +661 -0
- micro_otter/nodes/tests/graph-panel-demo.html +346 -0
- micro_otter/nodes/tests/index.html +99 -0
- micro_otter/nodes/tests/menu-window-regression.html +66 -0
- micro_otter/nodes/tests/phase5-custom-view-test.html +240 -0
- micro_otter/nodes/tests/splash-screen-test.html +339 -0
- micro_otter/toolchain/__init__.py +33 -0
- micro_otter/toolchain/assets/README.md +91 -0
- micro_otter/toolchain/assets/bootstrap.sh +90 -0
- micro_otter/toolchain/assets/doctor.sh +84 -0
- micro_otter/toolchain/assets/esp-idf/bootstrap.sh +201 -0
- micro_otter/toolchain/assets/esp-idf/idf.py +46 -0
- micro_otter/toolchain/assets/versions.env +12 -0
- micro_otter/toolchain/assets.py +155 -0
- micro_otter/tools/__init__.py +3 -0
- micro_otter/tools/addon_archive.py +994 -0
- micro_otter/tools/addon_store.py +644 -0
- micro_otter/tools/archive_source.py +357 -0
- micro_otter/tools/doctor.py +314 -0
- micro_otter/tools/firmware_compile/__init__.py +301 -0
- micro_otter/tools/firmware_compile/backends/__init__.py +66 -0
- micro_otter/tools/firmware_compile/backends/base.py +258 -0
- micro_otter/tools/firmware_compile/backends/esp_idf.py +722 -0
- micro_otter/tools/firmware_compile/backends/registry.py +336 -0
- micro_otter/tools/firmware_compile/board_registry.py +192 -0
- micro_otter/tools/firmware_compile/board_target.py +130 -0
- micro_otter/tools/firmware_compile/build_artifact.py +243 -0
- micro_otter/tools/firmware_compile/build_identity.py +212 -0
- micro_otter/tools/firmware_compile/build_orchestration.py +206 -0
- micro_otter/tools/firmware_compile/build_precompile.py +120 -0
- micro_otter/tools/firmware_compile/build_preflight.py +162 -0
- micro_otter/tools/firmware_compile/build_profile.py +77 -0
- micro_otter/tools/firmware_compile/build_toolchain.py +78 -0
- micro_otter/tools/firmware_compile/capability_registry.py +42 -0
- micro_otter/tools/firmware_compile/capability_requirements.py +68 -0
- micro_otter/tools/firmware_compile/compile_command.py +1292 -0
- micro_otter/tools/firmware_compile/content_identity.py +234 -0
- micro_otter/tools/firmware_compile/firmware_deploy.py +494 -0
- micro_otter/tools/firmware_compile/firmware_history.py +84 -0
- micro_otter/tools/firmware_compile/firmware_inventory.py +461 -0
- micro_otter/tools/firmware_compile/firmware_notices.py +648 -0
- micro_otter/tools/firmware_compile/firmware_package.py +705 -0
- micro_otter/tools/firmware_compile/flash/__init__.py +64 -0
- micro_otter/tools/firmware_compile/flash/base.py +233 -0
- micro_otter/tools/firmware_compile/flash/esptool.py +224 -0
- micro_otter/tools/firmware_compile/flash/registry.py +335 -0
- micro_otter/tools/firmware_compile/git_source.py +147 -0
- micro_otter/tools/firmware_compile/imported_firmware.py +352 -0
- micro_otter/tools/firmware_compile/local_firmware.py +210 -0
- micro_otter/tools/firmware_compile/local_package_scan.py +628 -0
- micro_otter/tools/firmware_compile/mpy_precompile.py +709 -0
- micro_otter/tools/firmware_compile/mpy_precompile_device.py +82 -0
- micro_otter/tools/firmware_compile/mpy_probe.py +205 -0
- micro_otter/tools/firmware_compile/notices/README.md +25 -0
- micro_otter/tools/firmware_compile/notices/licenses/Apache-2.0.txt +202 -0
- micro_otter/tools/firmware_compile/notices/licenses/BSD-3-Clause.txt +25 -0
- micro_otter/tools/firmware_compile/notices/licenses/GPL-2.0-only.txt +339 -0
- micro_otter/tools/firmware_compile/notices/licenses/GPL-3.0-only.txt +674 -0
- micro_otter/tools/firmware_compile/notices/licenses/MIT.txt +89 -0
- micro_otter/tools/firmware_compile/package_resolver.py +447 -0
- micro_otter/tools/firmware_compile/package_versions.py +199 -0
- micro_otter/tools/firmware_compile/process_stream.py +410 -0
- micro_otter/tools/firmware_compile/resolved_contents.py +85 -0
- micro_otter/tools/firmware_compile/runtime_assets/manifest.json +4 -0
- micro_otter/tools/firmware_compile/runtime_assets/otter_runtime/bootstrap_setup_contract.py +175 -0
- micro_otter/tools/firmware_compile/runtime_assets/otter_runtime/bootstrap_setup_startup.py +89 -0
- micro_otter/tools/firmware_compile/runtime_assets/otter_runtime/embedded_metadata_api.py +471 -0
- micro_otter/tools/firmware_compile/staging_clean.py +100 -0
- micro_otter/tools/firmware_compile/staging_copy.py +39 -0
- micro_otter/tools/firmware_compile/staging_metadata.py +602 -0
- micro_otter/tools/firmware_compile/staging_models.py +189 -0
- micro_otter/tools/firmware_compile/staging_paths.py +77 -0
- micro_otter/tools/firmware_compile/staging_preflight.py +95 -0
- micro_otter/tools/firmware_compile/staging_resolver.py +321 -0
- micro_otter/tools/firmware_compile/staging_runner.py +221 -0
- micro_otter/tools/firmware_compile/staging_runtime_assets.py +88 -0
- micro_otter/tools/firmware_compile/staging_startup.py +70 -0
- micro_otter/tools/firmware_compile/staleness.py +470 -0
- micro_otter/tools/firmware_compile/target_context.py +221 -0
- micro_otter/tools/firmware_compile/target_mapping.py +492 -0
- micro_otter/tools/firmware_compile/target_resolution.py +248 -0
- micro_otter/tools/firmware_compile/version_identity.py +436 -0
- micro_otter/tools/firmware_compile/version_registry.py +610 -0
- micro_otter/tools/firmware_compile/version_semver.py +165 -0
- micro_otter/tools/firmware_ws_handler.py +1991 -0
- micro_otter/tools/host_policy.py +45 -0
- micro_otter/tools/local_files.py +252 -0
- micro_otter/tools/serial_bridge.py +514 -0
- micro_otter/tools/serve_nodes.py +394 -0
- micro_otter/tools/server_capabilities.py +442 -0
- micro_otter/tools/server_trust.py +200 -0
- micro_otter/tools/toolchain_install.py +148 -0
- micro_otter/tools/toolchain_status.py +417 -0
- micro_otter/tools/webapp_build.py +279 -0
- micro_otter/tools/webapp_errors.py +40 -0
- micro_otter/tools/webapp_manifest.py +271 -0
- micro_otter/tools/webapp_upload.py +1522 -0
- micro_otter-1.47.0.dist-info/METADATA +117 -0
- micro_otter-1.47.0.dist-info/RECORD +1299 -0
- micro_otter-1.47.0.dist-info/WHEEL +4 -0
- micro_otter-1.47.0.dist-info/entry_points.txt +3 -0
- micro_otter-1.47.0.dist-info/licenses/LICENSE +674 -0
micro_otter/__init__.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2025 Christian Perwass; SPDX-License-Identifier: GPL-3.0-only
|
|
2
|
+
"""Package identity: the installed version of ``micro-otter``.
|
|
3
|
+
|
|
4
|
+
``__version__`` has three producers, in priority order:
|
|
5
|
+
|
|
6
|
+
1. ``_version.py`` — written by hatch-vcs at install/build time from the git tag, and an ignored
|
|
7
|
+
build output, never tracked.
|
|
8
|
+
2. ``importlib.metadata`` — the installed distribution's metadata, which covers a wheel whose
|
|
9
|
+
``_version.py`` was not generated (a bare source checkout after ``pip install .``).
|
|
10
|
+
3. ``"0.0.0+unknown"`` — nothing resolved the version; callers must not crash on it.
|
|
11
|
+
|
|
12
|
+
A future reader who re-adds a tracked ``_version.py`` or a hand-written version string breaks the
|
|
13
|
+
first producer, so keep this chain the only source of truth.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
|
|
18
|
+
try: # written by hatch-vcs at install/build time
|
|
19
|
+
from ._version import __version__
|
|
20
|
+
except ImportError: # bare source checkout
|
|
21
|
+
try:
|
|
22
|
+
from importlib.metadata import version as _package_version
|
|
23
|
+
|
|
24
|
+
__version__ = _package_version("micro-otter")
|
|
25
|
+
except Exception: # no metadata either
|
|
26
|
+
__version__ = "0.0.0+unknown"
|
|
27
|
+
|
|
28
|
+
__all__ = ["__version__"]
|
micro_otter/_version.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
"__version__",
|
|
7
|
+
"__version_tuple__",
|
|
8
|
+
"version",
|
|
9
|
+
"version_tuple",
|
|
10
|
+
"__commit_id__",
|
|
11
|
+
"commit_id",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
version: str
|
|
15
|
+
__version__: str
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
20
|
+
|
|
21
|
+
__version__ = version = '1.47.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 47, 0)
|
|
23
|
+
|
|
24
|
+
__commit_id__ = commit_id = None
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
"""``micro-otter addons`` commands: ``list``, ``install``, ``uninstall``, ``validate``.
|
|
2
|
+
|
|
3
|
+
Rendering and argument handling only: validation, atomic install, and uninstall live in
|
|
4
|
+
:mod:`micro_otter.tools.addon_archive`, and the read-only inventory in
|
|
5
|
+
:mod:`micro_otter.tools.addon_store`, so both stay reusable without Typer or Rich.
|
|
6
|
+
|
|
7
|
+
Every command resolves configuration through ``micro-otter.toml`` / ``--config`` /
|
|
8
|
+
``MICRO_OTTER_*`` and exits ``2`` on a configuration error, ``1`` on a failed add-on
|
|
9
|
+
operation (with its stable error code), and ``0`` on success.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
import hashlib
|
|
15
|
+
import json
|
|
16
|
+
from pathlib import Path
|
|
17
|
+
from typing import Any
|
|
18
|
+
|
|
19
|
+
import typer
|
|
20
|
+
from rich import box
|
|
21
|
+
from rich.console import Console
|
|
22
|
+
from rich.table import Table
|
|
23
|
+
|
|
24
|
+
from micro_otter.cli.toolchain import fail_config
|
|
25
|
+
from micro_otter.config import Config, ConfigError, load_config
|
|
26
|
+
from micro_otter.tools.addon_archive import (
|
|
27
|
+
MAX_ARCHIVE_BYTES,
|
|
28
|
+
AddonInstallError,
|
|
29
|
+
install_addon,
|
|
30
|
+
uninstall_addon,
|
|
31
|
+
validate_addon_source,
|
|
32
|
+
validate_addon_tree,
|
|
33
|
+
)
|
|
34
|
+
from micro_otter.tools.addon_store import (
|
|
35
|
+
addon_inventory_payload,
|
|
36
|
+
builtin_package_ids,
|
|
37
|
+
)
|
|
38
|
+
from micro_otter.tools.archive_source import (
|
|
39
|
+
ArchiveSourceError,
|
|
40
|
+
package_addon_source,
|
|
41
|
+
resolve_archive_source,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
addons_app = typer.Typer(
|
|
45
|
+
add_completion=False,
|
|
46
|
+
help="Install, list, and remove add-on node packages",
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
DEVICE_SUBDIR = (Path("src") / "micro_otter" / "nodes" / "device")
|
|
50
|
+
"""Device root inside a workspace checkout, used to read the built-in package ids."""
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _device_root(config: Config) -> Path:
|
|
54
|
+
"""Return the built-in device root for the resolved workspace."""
|
|
55
|
+
|
|
56
|
+
return (config.workspace_root / DEVICE_SUBDIR).resolve()
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _load(config_path: Path | None) -> Config:
|
|
60
|
+
"""Resolve the configuration, printing a configuration error and exiting ``2``."""
|
|
61
|
+
|
|
62
|
+
try:
|
|
63
|
+
return load_config(config_path=config_path)
|
|
64
|
+
except ConfigError as error:
|
|
65
|
+
fail_config(error)
|
|
66
|
+
raise AssertionError("fail_config always raises") from error
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def _fail_addon(error: AddonInstallError) -> None:
|
|
70
|
+
"""Print an add-on failure with its stable code and hint, then exit ``1``."""
|
|
71
|
+
|
|
72
|
+
typer.echo(f"{error.code}: {error}", err=True)
|
|
73
|
+
if error.hint:
|
|
74
|
+
typer.echo(f"hint: {error.hint}", err=True)
|
|
75
|
+
raise typer.Exit(code=1)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def _fail_archive_source(error: ArchiveSourceError) -> None:
|
|
79
|
+
"""Print an archive-source failure with its stable code and hint, then exit ``1``."""
|
|
80
|
+
|
|
81
|
+
typer.echo(f"{error.code}: {error}", err=True)
|
|
82
|
+
if error.hint:
|
|
83
|
+
typer.echo(f"hint: {error.hint}", err=True)
|
|
84
|
+
raise typer.Exit(code=1)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def _sha256(path: Path) -> str:
|
|
88
|
+
"""Return the hex SHA-256 of the archive at *path*."""
|
|
89
|
+
|
|
90
|
+
return hashlib.sha256(path.read_bytes()).hexdigest()
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def _addons_table(rows: list[dict[str, Any]]) -> Table:
|
|
94
|
+
"""Build the ``Id | Version | Name | Variants | Module roots | Path | Provenance`` table."""
|
|
95
|
+
|
|
96
|
+
table = Table(title="Add-on node packages", box=box.SIMPLE_HEAD, header_style="bold")
|
|
97
|
+
table.add_column("Id")
|
|
98
|
+
table.add_column("Version")
|
|
99
|
+
table.add_column("Name")
|
|
100
|
+
table.add_column("Variants")
|
|
101
|
+
table.add_column("Module roots")
|
|
102
|
+
table.add_column("Path", overflow="fold")
|
|
103
|
+
table.add_column("Provenance")
|
|
104
|
+
for row in rows:
|
|
105
|
+
table.add_row(
|
|
106
|
+
str(row["id"]),
|
|
107
|
+
str(row["version"] or "-"),
|
|
108
|
+
str(row["name"] or "-"),
|
|
109
|
+
", ".join(row["variants"]) or "-",
|
|
110
|
+
", ".join(row["moduleRoots"]) or "-",
|
|
111
|
+
str(row["packageDir"]),
|
|
112
|
+
str(row["provenance"]),
|
|
113
|
+
)
|
|
114
|
+
return table
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
@addons_app.command("list")
|
|
118
|
+
def list_command(
|
|
119
|
+
json_output: bool = typer.Option(
|
|
120
|
+
False,
|
|
121
|
+
"--json-output",
|
|
122
|
+
help="Emit the machine-readable payload instead of a table",
|
|
123
|
+
),
|
|
124
|
+
config_path: Path | None = typer.Option(
|
|
125
|
+
None,
|
|
126
|
+
"--config",
|
|
127
|
+
help="micro-otter.toml to read instead of discovering one",
|
|
128
|
+
),
|
|
129
|
+
) -> None:
|
|
130
|
+
"""List the installed add-on node packages and their provenance.
|
|
131
|
+
|
|
132
|
+
Reads ``addons_dir`` from the resolved configuration and reports every package as
|
|
133
|
+
``addon`` (``builtin`` only for a hand-copied folder that shadows a shipped package,
|
|
134
|
+
which is also reported as a conflict). Nothing is written.
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
config = _load(config_path)
|
|
138
|
+
addons_root = config.addons_dir
|
|
139
|
+
device_root = _device_root(config)
|
|
140
|
+
payload = addon_inventory_payload(device_root, addons_root)
|
|
141
|
+
rows: list[dict[str, Any]] = payload["addons"]
|
|
142
|
+
warnings: list[str] = payload["warnings"]
|
|
143
|
+
|
|
144
|
+
if json_output:
|
|
145
|
+
typer.echo(json.dumps(payload, indent=2))
|
|
146
|
+
raise typer.Exit(code=0)
|
|
147
|
+
|
|
148
|
+
if not rows:
|
|
149
|
+
typer.echo(f"No add-ons installed in {addons_root}")
|
|
150
|
+
else:
|
|
151
|
+
Console().print(_addons_table(rows))
|
|
152
|
+
for warning in warnings:
|
|
153
|
+
typer.echo(f"warning: {warning}", err=True)
|
|
154
|
+
raise typer.Exit(code=0)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
@addons_app.command("install")
|
|
158
|
+
def install_command(
|
|
159
|
+
source: Path | None = typer.Argument(
|
|
160
|
+
None, help="Add-on archive (.zip) or package directory to install"
|
|
161
|
+
),
|
|
162
|
+
force: bool = typer.Option(
|
|
163
|
+
False,
|
|
164
|
+
"--force",
|
|
165
|
+
help="Replace an already installed add-on with the same id",
|
|
166
|
+
),
|
|
167
|
+
package_as: str | None = typer.Option(
|
|
168
|
+
None,
|
|
169
|
+
"--as",
|
|
170
|
+
help="Package id to use when the archive stores manifest.json at its root",
|
|
171
|
+
),
|
|
172
|
+
url: str | None = typer.Option(
|
|
173
|
+
None, "--url", help="https:// URL of the add-on archive"
|
|
174
|
+
),
|
|
175
|
+
json_output: bool = typer.Option(
|
|
176
|
+
False,
|
|
177
|
+
"--json-output",
|
|
178
|
+
help="Emit the machine-readable payload instead of text",
|
|
179
|
+
),
|
|
180
|
+
config_path: Path | None = typer.Option(
|
|
181
|
+
None,
|
|
182
|
+
"--config",
|
|
183
|
+
help="micro-otter.toml to read instead of discovering one",
|
|
184
|
+
),
|
|
185
|
+
) -> None:
|
|
186
|
+
"""Install one add-on package into ``<addons_dir>/<id>``.
|
|
187
|
+
|
|
188
|
+
The archive is validated (layout, ids, paths, sizes) and published with a single
|
|
189
|
+
rename, so a failed install leaves no package behind. An archive that reuses a
|
|
190
|
+
built-in package id is rejected. A directory installs a copy directly; an
|
|
191
|
+
archive or a ``--url`` is resolved by the server-side archive source (the CLI
|
|
192
|
+
fetches the URL itself under the same policy the server applies). Exits ``1``
|
|
193
|
+
with the stable error code on failure.
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
config = _load(config_path)
|
|
197
|
+
if (source is None) == (url is None):
|
|
198
|
+
typer.echo("Pass either a source path or --url, not both.", err=True)
|
|
199
|
+
raise typer.Exit(code=2)
|
|
200
|
+
|
|
201
|
+
builtin_ids = builtin_package_ids(_device_root(config))
|
|
202
|
+
if source is not None and source.is_dir():
|
|
203
|
+
try:
|
|
204
|
+
result = install_addon(
|
|
205
|
+
source,
|
|
206
|
+
addons_root=config.addons_dir,
|
|
207
|
+
builtin_ids=builtin_ids,
|
|
208
|
+
force=force,
|
|
209
|
+
package_id=package_as,
|
|
210
|
+
)
|
|
211
|
+
except AddonInstallError as error:
|
|
212
|
+
_fail_addon(error)
|
|
213
|
+
return
|
|
214
|
+
else:
|
|
215
|
+
try:
|
|
216
|
+
with resolve_archive_source(
|
|
217
|
+
path=str(source) if source is not None else None,
|
|
218
|
+
url=url,
|
|
219
|
+
max_bytes=MAX_ARCHIVE_BYTES,
|
|
220
|
+
label="addon",
|
|
221
|
+
) as archive:
|
|
222
|
+
result = install_addon(
|
|
223
|
+
archive,
|
|
224
|
+
addons_root=config.addons_dir,
|
|
225
|
+
builtin_ids=builtin_ids,
|
|
226
|
+
force=force,
|
|
227
|
+
package_id=package_as,
|
|
228
|
+
)
|
|
229
|
+
except AddonInstallError as error:
|
|
230
|
+
_fail_addon(error)
|
|
231
|
+
return
|
|
232
|
+
except ArchiveSourceError as error:
|
|
233
|
+
_fail_archive_source(error)
|
|
234
|
+
return
|
|
235
|
+
|
|
236
|
+
payload = {
|
|
237
|
+
"id": result.id,
|
|
238
|
+
"version": result.version,
|
|
239
|
+
"packageDir": str(result.package_dir),
|
|
240
|
+
"replaced": result.replaced,
|
|
241
|
+
"archiveSha256": result.archive_sha256,
|
|
242
|
+
}
|
|
243
|
+
if json_output:
|
|
244
|
+
typer.echo(json.dumps(payload, indent=2))
|
|
245
|
+
else:
|
|
246
|
+
verb = "Replaced" if result.replaced else "Installed"
|
|
247
|
+
typer.echo(f"{verb} {result.id} {result.version or ''} -> {result.package_dir}".strip())
|
|
248
|
+
raise typer.Exit(code=0)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
@addons_app.command("uninstall")
|
|
252
|
+
def uninstall_command(
|
|
253
|
+
package_id: str = typer.Argument(..., help="Id of the add-on package to remove"),
|
|
254
|
+
json_output: bool = typer.Option(
|
|
255
|
+
False,
|
|
256
|
+
"--json-output",
|
|
257
|
+
help="Emit the machine-readable payload instead of text",
|
|
258
|
+
),
|
|
259
|
+
config_path: Path | None = typer.Option(
|
|
260
|
+
None,
|
|
261
|
+
"--config",
|
|
262
|
+
help="micro-otter.toml to read instead of discovering one",
|
|
263
|
+
),
|
|
264
|
+
) -> None:
|
|
265
|
+
"""Remove an installed add-on package.
|
|
266
|
+
|
|
267
|
+
Removing an add-on changes local inventory only: firmware images, device
|
|
268
|
+
filesystems, and the collection deploy decision are untouched. An unknown id exits
|
|
269
|
+
``1`` with the installed ids in the hint.
|
|
270
|
+
"""
|
|
271
|
+
|
|
272
|
+
config = _load(config_path)
|
|
273
|
+
try:
|
|
274
|
+
result = uninstall_addon(package_id, addons_root=config.addons_dir)
|
|
275
|
+
except AddonInstallError as error:
|
|
276
|
+
_fail_addon(error)
|
|
277
|
+
return
|
|
278
|
+
|
|
279
|
+
payload = {"id": result.id, "version": result.version, "removed": True}
|
|
280
|
+
if json_output:
|
|
281
|
+
typer.echo(json.dumps(payload, indent=2))
|
|
282
|
+
else:
|
|
283
|
+
typer.echo(f"Removed {result.id} from {config.addons_dir}")
|
|
284
|
+
raise typer.Exit(code=0)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
@addons_app.command("validate")
|
|
288
|
+
def validate_command(
|
|
289
|
+
source: Path = typer.Argument(
|
|
290
|
+
...,
|
|
291
|
+
help="Add-on archive (.zip) or package directory to check",
|
|
292
|
+
),
|
|
293
|
+
package_as: str | None = typer.Option(
|
|
294
|
+
None,
|
|
295
|
+
"--as",
|
|
296
|
+
help="Package id to expect when the archive stores manifest.json at its root",
|
|
297
|
+
),
|
|
298
|
+
json_output: bool = typer.Option(
|
|
299
|
+
False,
|
|
300
|
+
"--json-output",
|
|
301
|
+
help="Emit the machine-readable payload instead of text",
|
|
302
|
+
),
|
|
303
|
+
config_path: Path | None = typer.Option(
|
|
304
|
+
None,
|
|
305
|
+
"--config",
|
|
306
|
+
help="micro-otter.toml to read instead of discovering one",
|
|
307
|
+
),
|
|
308
|
+
) -> None:
|
|
309
|
+
"""Validate an add-on archive or package folder without installing it.
|
|
310
|
+
|
|
311
|
+
Nothing is copied into the addons folder and no package directory is created, so
|
|
312
|
+
this is the command a package author runs against a release artifact.
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
config = _load(config_path)
|
|
316
|
+
try:
|
|
317
|
+
manifest = validate_addon_source(
|
|
318
|
+
source,
|
|
319
|
+
builtin_ids=builtin_package_ids(_device_root(config)),
|
|
320
|
+
package_id=package_as,
|
|
321
|
+
)
|
|
322
|
+
except AddonInstallError as error:
|
|
323
|
+
_fail_addon(error)
|
|
324
|
+
return
|
|
325
|
+
|
|
326
|
+
payload = {
|
|
327
|
+
"id": manifest.id,
|
|
328
|
+
"version": manifest.version,
|
|
329
|
+
"name": manifest.name,
|
|
330
|
+
"assets": list(manifest.assets),
|
|
331
|
+
"variants": [variant.id for variant in manifest.variants],
|
|
332
|
+
"moduleRoots": list(manifest.module_roots),
|
|
333
|
+
"valid": True,
|
|
334
|
+
}
|
|
335
|
+
if json_output:
|
|
336
|
+
typer.echo(json.dumps(payload, indent=2))
|
|
337
|
+
else:
|
|
338
|
+
variant_note = (
|
|
339
|
+
f" ({len(manifest.variants)} variant(s))" if manifest.variants else ""
|
|
340
|
+
)
|
|
341
|
+
typer.echo(
|
|
342
|
+
f"{manifest.id} {manifest.version} is a valid add-on package"
|
|
343
|
+
f"{variant_note} ({len(manifest.assets)} declared asset(s))"
|
|
344
|
+
)
|
|
345
|
+
raise typer.Exit(code=0)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
@addons_app.command("package")
|
|
349
|
+
def package_command(
|
|
350
|
+
source: Path = typer.Argument(..., help="Add-on package directory to package"),
|
|
351
|
+
output: Path | None = typer.Option(None, "--output", "-o", help="Output .zip path"),
|
|
352
|
+
force: bool = typer.Option(False, "--force", help="Overwrite an existing archive"),
|
|
353
|
+
config_path: Path | None = typer.Option(
|
|
354
|
+
None, "--config", help="micro-otter.toml to read instead of discovering one"
|
|
355
|
+
),
|
|
356
|
+
) -> None:
|
|
357
|
+
"""Package a validated add-on directory into a reproducible .zip archive.
|
|
358
|
+
|
|
359
|
+
Packaging is deterministic (fixed timestamps, sorted members, fixed mode), and
|
|
360
|
+
the archive is exactly what ``addons install`` and ``addon.install`` expect.
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
config = _load(config_path)
|
|
364
|
+
try:
|
|
365
|
+
validate_addon_tree(source, builtin_ids=builtin_package_ids(_device_root(config)))
|
|
366
|
+
except AddonInstallError as error:
|
|
367
|
+
_fail_addon(error)
|
|
368
|
+
return
|
|
369
|
+
try:
|
|
370
|
+
archive = package_addon_source(source, output, force=force)
|
|
371
|
+
except FileExistsError:
|
|
372
|
+
typer.echo("archive already exists; pass --force", err=True)
|
|
373
|
+
raise typer.Exit(code=1) from None
|
|
374
|
+
except ArchiveSourceError as error:
|
|
375
|
+
_fail_archive_source(error)
|
|
376
|
+
return
|
|
377
|
+
typer.echo(f"Wrote {archive} ({archive.stat().st_size} bytes)")
|
|
378
|
+
typer.echo(f"sha256: {_sha256(archive)}")
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
__all__ = ["addons_app"]
|