Skip to content

Commit 7a99252

Browse files
committed
sync: update from the development repository
Content snapshot from the private development repository. The two histories are independent by design; this commit carries the file contents, not the upstream commits.
1 parent 6503283 commit 7a99252

17 files changed

Lines changed: 594 additions & 543 deletions

File tree

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
*.swo
1414
.idea/
1515
.vscode/
16+
17+
# MCP server registration: names machine-local binaries, not shared
18+
.mcp.json

‎.serena/.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/cache
2+
/project.local.yml

‎.serena/project.yml‎

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
# the name by which the project can be referenced within Serena/when chatting with the LLM.
2+
project_name: "yu-hailo-infer"
3+
4+
# list of language servers to start when using the LSP backend; choose from:
5+
# ada al angular ansible bash
6+
# bsl clojure cpp cpp_ccls crystal
7+
# csharp csharp_omnisharp cue dart deno
8+
# elixir elm erlang fortran fsharp
9+
# gdscript gleam go groovy haskell
10+
# haxe hlsl html java json
11+
# julia kotlin latex lean4 lua
12+
# luau markdown matlab msl nextflow
13+
# nix ocaml pascal perl php
14+
# php_phpactor php_phpantom powershell python python_basedpyright
15+
# python_jedi python_pyrefly python_ty qml r
16+
# rego ruby ruby_solargraph rust scala
17+
# scss solidity svelte swift systemverilog
18+
# terraform toml typescript typescript_vts vue
19+
# wolfram yaml zig
20+
# (This list may be outdated; generated with scripts/print_language_list.py;
21+
# For the current list, see values of the LanguageServerId enum here:
22+
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py)
23+
# For some languages, there are several alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.)
24+
# Note:
25+
# - For C, use cpp
26+
# - For JavaScript, use typescript
27+
# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root)
28+
# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm)
29+
# - For Deno projects, use deno (serves the same .ts/.js files as typescript; requires the deno CLI on PATH)
30+
# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three)
31+
# - For Free Pascal/Lazarus, use pascal
32+
# Special requirements:
33+
# Some language servers require additional setup/installations.
34+
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
35+
# When using multiple language servers, the first language server that supports a given file will be used for that file.
36+
# The first language server is the default language and the respective language server will be used as a fallback.
37+
# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
38+
language_servers:
39+
- rust
40+
41+
# the encoding used by text files in the project
42+
# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
43+
encoding: "utf-8"
44+
45+
# optional shell command to run before the language backend (LSP or JetBrains) is initialised.
46+
# the command runs in the project root directory and is only executed if the project is trusted
47+
# (see trusted_project_path_patterns in the global configuration).
48+
# serena waits for the command to exit: a non-zero exit code is logged as an error but does not
49+
# abort activation. a per-project timeout (activation_command_timeout, default 180s) is the safety
50+
# backstop for non-terminating commands; on expiry the process is killed and activation continues.
51+
# example: activation_command: "npx nx run-many -t build"
52+
activation_command:
53+
54+
# maximum time in seconds to wait for activation_command to complete before killing it (default 180s).
55+
# must be a positive number.
56+
activation_command_timeout: 180.0
57+
58+
# line ending convention to use when writing source files.
59+
# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default)
60+
# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings.
61+
line_ending:
62+
63+
# The language backend to use for this project.
64+
# If not set, the global setting from serena_config.yml is used.
65+
# Valid values: LSP, JetBrains
66+
# Note: the backend is fixed at startup. If a project with a different backend
67+
# is activated post-init, an error will be returned.
68+
language_backend:
69+
70+
# whether to use project's .gitignore files to ignore files
71+
ignore_all_files_in_gitignore: true
72+
73+
# advanced configuration option allowing to configure language server-specific options.
74+
# Maps the language key to the options.
75+
# The settings are considered only if the project is trusted (see global configuration to define trusted projects).
76+
# See https://oraios.github.io/serena/02-usage/050_configuration.html#language-server-specific-settings
77+
ls_specific_settings: {}
78+
79+
# list of workspace folder paths (LSP backend only).
80+
# These folders will be used to build up Serena's symbol index.
81+
# Paths must be within the project root and should thus be relative to the project root.
82+
# Furthermore, the paths should not be filtered by ignore settings.
83+
# Default setting: The entire project root folder (".") is considered.
84+
# In (large) monorepos, this can be used to index only subfolders of the project root, e.g.
85+
# ls_workspace_folders:
86+
# - "./subproject1"
87+
# - "./subproject2"
88+
ls_workspace_folders:
89+
- "."
90+
91+
# list of additional workspace folder paths for cross-package reference support.
92+
# Paths can be absolute or relative to the project root.
93+
# Each folder is registered as an LSP workspace folder, enabling language servers to discover
94+
# symbols and references across package boundaries, but these folders are not indexed by Serena,
95+
# i.e. the respective symbols will not be found using Serena's symbol search tools.
96+
# Example:
97+
# additional_workspace_folders:
98+
# - ../sibling-package
99+
# - ../shared-lib
100+
ls_additional_workspace_folders: []
101+
102+
# list of additional paths to ignore in this project.
103+
# Same syntax as gitignore, so you can use * and **.
104+
# Important: quote patterns that start with `*`, otherwise YAML treats them as aliases.
105+
# Example:
106+
# ignored_paths:
107+
# - "examples/**"
108+
# - ".worktrees/**"
109+
# - "**/bin/**"
110+
# - "**/obj/**"
111+
# Note: global ignored_paths from serena_config.yml are also applied additively.
112+
ignored_paths: []
113+
114+
# whether the project is in read-only mode
115+
# If set to true, all editing tools will be disabled and attempts to use them will result in an error
116+
# Added on 2025-04-18
117+
read_only: false
118+
119+
# list of tool names to exclude.
120+
# This extends the existing exclusions (e.g. from the global configuration)
121+
# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html
122+
excluded_tools: []
123+
124+
# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default).
125+
# This extends the existing inclusions (e.g. from the global configuration).
126+
# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html
127+
included_optional_tools: []
128+
129+
# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools.
130+
# This cannot be combined with non-empty excluded_tools or included_optional_tools.
131+
# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html
132+
fixed_tools: []
133+
134+
# list of mode names that are to be activated by default, overriding the setting in the global configuration.
135+
# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes.
136+
# If the setting is undefined/empty, the default_modes from the global configuration (serena_config.yml) apply.
137+
# Otherwise, this overrides the setting from the global configuration (serena_config.yml).
138+
# Therefore, you can set this to [] if you do not want the default modes defined in the global config to apply
139+
# for this project.
140+
# This setting can, in turn, be overridden by CLI parameters (--mode).
141+
# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes
142+
default_modes:
143+
144+
# list of mode names to be activated additionally for this project, e.g. ["query-projects"]
145+
# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes.
146+
# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes
147+
added_modes:
148+
149+
# initial prompt for the project. It will always be given to the LLM upon activating the project
150+
# (contrary to the memories, which are loaded on demand).
151+
initial_prompt: ""
152+
153+
# time budget (seconds) per tool call for the retrieval of additional symbol information
154+
# such as docstrings or parameter information.
155+
# This overrides the corresponding setting in the global configuration; see the documentation there.
156+
# If null or missing, use the setting from the global configuration.
157+
symbol_info_budget:
158+
159+
# list of regex patterns which, when matched, mark a memory entry as read‑only.
160+
# Extends the list from the global configuration, merging the two lists.
161+
read_only_memory_patterns: []
162+
163+
# list of regex patterns for memories to completely ignore.
164+
# Matching memories will not appear in list_memories or activate_project output
165+
# and cannot be accessed via read_memory or write_memory.
166+
# To access ignored memory files, use the read_file tool on the raw file path.
167+
# Extends the list from the global configuration, merging the two lists.
168+
# Example: ["_archive/.*", "_episodes/.*"]
169+
ignored_memory_patterns: []

‎CHANGELOG.en.md‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77

88
---
99

10-
## [0.4.0] - 2026-09-03
11-
12-
### Added
13-
14-
- **`GET /healthz` now returns a `hailo_stub` field.** `true` when the
15-
binary was built without HailoRT headers (links the stub shim), `false`
16-
on a real-device build. Lets a caller (e.g. yu-server) distinguish a
17-
live Hailo-10H from a sidecar-only deployment instead of inferring it
18-
from probe heuristics (tracked as the permanent fix in yu_ai_manager's
19-
TODO.md, v4.689.47 entry).
20-
- **Added `scripts/hailo_infer_smoke.py`.** A real-hardware smoke test
21-
that hits `/v1/infer/*` directly on a bare `yu-hailo-infer` process — no
22-
yu-server, no database, no job manager (that end-to-end coverage lives
23-
in the caller's `yu_ai_manager/scripts/hailo_realhw_smoke.py`). Verified
24-
all 15 applicable checks pass against a real Hailo-10H with the HEFs
25-
under `~/hailo_models/` (CLIP image embedding, WD-Tagger, YOLO detect,
26-
LLM generate, VLM streaming generate, speech2text). CLIP text (ONNX)
27-
and WD-Tagger are reported as skipped when their model isn't present on
28-
disk.
10+
## [Unreleased]
2911

3012
### Changed
3113

‎CHANGELOG.md‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,7 @@
77

88
---
99

10-
## [0.4.0] - 2026-09-03
11-
12-
### Added
13-
14-
- **`GET /healthz` が `hailo_stub` フィールドを返すようになった。** ビルド時に
15-
HailoRT ヘッダが見つからずスタブシムをリンクした場合は `true`、実機ビルドでは
16-
`false`。呼び出し側(yu-server 等)がサイドカー生存とHailo実機の稼働を区別できる
17-
ようにするための恒久修正(yu_ai_manager TODO.md v4.689.47 記載分)。
18-
- **`scripts/hailo_infer_smoke.py` を新設した。** yu-server 経由ではなく
19-
`yu-hailo-infer` 単体プロセスに対して `/v1/infer/*` を直接叩く実機スモーク
20-
テスト。DB・JobManager・SSE 等の結合部は検証しない(それは呼び出し側の
21-
`yu_ai_manager/scripts/hailo_realhw_smoke.py` の役目)。Hailo-10H 実機 +
22-
`~/hailo_models/` 配下の HEF 一式で全15項目 PASS を確認済み(CLIP画像
23-
embedding・WD-Tagger・YOLO検出・LLM生成・VLMストリーミング生成・音声文字起こし)。
24-
CLIPテキスト(ONNXモデル)・WD-Taggerはモデル未配置の場合SKIPとして報告する。
10+
## [Unreleased]
2511

2612
### Changed
2713

‎Cargo.lock‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["yu-hailo-auth", "yu-hailo-infer-core", "yu-hailo-infer"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.4.0"
6+
version = "0.3.1"
77
edition = "2021"
88
# Measured 2026-09-03, not guessed: the workspace builds on 1.88.0 and cargo
99
# refuses 1.85.0. The floor comes from dependencies rather than from this

‎docs/ai-reference.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ features:
7878
- name: healthz
7979
endpoints: ["GET /healthz"]
8080
auth_required: false
81-
purpose: "Liveness probe. Returns {ok: true, uptime_secs, instance_id, hailo_stub}. hailo_stub is true when the binary was built without HailoRT headers (links the stub shim), letting callers (e.g. yu-server) distinguish a live device from a sidecar-only deployment."
81+
purpose: "Liveness probe. Returns {ok: true, uptime_seconds, instance_id}."
8282
related_code: "yu-hailo-infer/src/router.rs::healthz"
8383

8484
- name: scan_roots_hot_reload

0 commit comments

Comments
 (0)