Skip to content

docs(ai-services): the model capability (App-Hub#24) is coming, not served yet - #92

Merged
ymote merged 1 commit into
mainfrom
docs/ai-services-model
Sep 28, 2026
Merged

ymote merged 1 commit into
mainfrom
docs/ai-services-model

Conversation

@ymote

@ymote ymote commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #90. OctoSense-App-Hub#24 merged the model capability, for one-shot model.complete calls from contained apps. docs/ai-services.md and docs/ai-services.zh-CN.md now describe it as coming: App Hub admits it, but no shell has a model service yet. In card-host at App Hub e8601b8, a call answers no service answers "model" on this device, and the shells' App Hub pin (46d67e51) does not know the name. Docs only.

🤖 Generated with Claude Code

App Hub main admits `model` for one-shot model.complete calls; OctoSense has
no model service yet, so a call answers 'no service answers "model"'.
Stated in both languages, as coming, with the link.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ymote
ymote merged commit 809288e into main Sep 28, 2026
ymote added a commit that referenced this pull request Oct 2, 2026
… GPU timing, terminal shortcuts)

Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79),
Android HTTP without redirects (#75), the sheets font by crate (#80),
Linux GL remote grabs (#93), Android Vulkan without a debug messenger
(#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text
on phones (#82), the DrawText current-list fix (#89), terminal keyboard
shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's
keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87),
through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it.

- root Cargo.toml: makepad and octoscript-makepad revisions together;
  native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise
- both native-runtime.lock.json files
- runtime-patches.lock.json: the settings patch is rebased onto 39a9de88
  with the same added and removed lines; its touch-down line in
  MakepadActivity.java now sits next to #83's hint, and draw_text.rs
  context follows #87's cfg. The system-back, IME and two Windows patches
  reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches
  are dropped: they are makepad #79, #88 and #89, now upstream. New tree
  976bf55b.
- Cargo.lock: unchanged
- the three pinned-hash docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ymote added a commit that referenced this pull request Oct 2, 2026
… GPU timing, terminal shortcuts)

Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79),
Android HTTP without redirects (#75), the sheets font by crate (#80),
Linux GL remote grabs (#93), Android Vulkan without a debug messenger
(#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text
on phones (#82), the DrawText current-list fix (#89), terminal keyboard
shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's
keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87),
through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it.

- root Cargo.toml: makepad and octoscript-makepad revisions together;
  native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise
- both native-runtime.lock.json files
- runtime-patches.lock.json: the settings patch is rebased onto 39a9de88
  with the same added and removed lines; its touch-down line in
  MakepadActivity.java now sits next to #83's hint, and draw_text.rs
  context follows #87's cfg. The system-back, IME and two Windows patches
  reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches
  are dropped: they are makepad #79, #88 and #89, now upstream. New tree
  976bf55b.
- Cargo.lock: unchanged
- the pinned-hash docs under phone/docs; rom/docs/home-build.md follows in
  its own change, so this one does not trigger rom.yml (whose jobs local
  CI cannot run)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ymote added a commit that referenced this pull request Oct 2, 2026
… GPU timing, terminal shortcuts)

Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79),
Android HTTP without redirects (#75), the sheets font by crate (#80),
Linux GL remote grabs (#93), Android Vulkan without a debug messenger
(#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text
on phones (#82), the DrawText current-list fix (#89), terminal keyboard
shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's
keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87),
through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it.

- root Cargo.toml: makepad and octoscript-makepad revisions together;
  native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise
- both native-runtime.lock.json files
- runtime-patches.lock.json: the settings patch is rebased onto 39a9de88
  with the same added and removed lines; its touch-down line in
  MakepadActivity.java now sits next to #83's hint, and draw_text.rs
  context follows #87's cfg. The system-back, IME and two Windows patches
  reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches
  are dropped: they are makepad #79, #88 and #89, now upstream. New tree
  976bf55b.
- Cargo.lock: unchanged
- the pinned-hash docs under phone/docs; rom/docs/home-build.md follows in
  its own change, so this one does not trigger rom.yml (whose jobs local
  CI cannot run)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ymote added a commit that referenced this pull request Oct 6, 2026
OctosCode (octos-org/octoscode-app) is itself an octos client. Inside
OctoSense it gets no listener, no token and no pairing. Instead it opens a
kernel port that the shell's router holds to a coding scope (ADR 0003, item
9; the person chose this over host authority and over a new octos token).

- makepad (runtime patch makepad-ui-port, makepad #101): Makepad's
  `OctosUiPort`, parked for the host the way a peer link is.
- Kernel router: scoped consumers.
  - Each request of a scoped consumer is checked first, and a refused one is
    answered by the router (`scope_denied`) and logged.
  - A session's frames wait for the scope's preparation (its exact tool
    list).
  - The consumer hears only its own sessions; a host-only frame about one of
    them goes to the shell instead.
  - Results pass the scope's filter, and the consumer may answer only the
    kernel requests it was sent.
  - `serve_scoped` runs a port on the kernel's runtime, with `Reset` on a
    kernel restart.
- Shell: the module host claims ports per isolate, as it does peer links.
  native-apps.json `kernel: "coding"` grants one; any other port is closed
  with the reason. The coding scope (`coding_scope.rs`):
  - own sessions: `_main:api:code-<id>`, no topic, profile `_main`;
  - folders: its jail, or under a granted read-write root (home on a
    desktop), never OctoSense's or the kernel's data, a hidden top-level
    folder, or a folder holding any of them;
  - a coding client's methods only, and the supported methods it is told
    are trimmed to those;
  - each session's tool list is octos's external-turn list, so no command
    runs.
- Module host: point the preludes' `theme` at `mod.theme` before a module
  registers. A styled isolate's diverged, so a module's own theme roles
  never reached its widgets.
- OctosCode's entry: octos-org/octoscode-app #4, default on desktop and
  phone, `home:rw`, `kernel: coding`.
- Octoscript-Makepad is repinned to the design-lowering series (#77,
  stacked on #75), and octoscript-render is patched. AppCard's `Attrs`
  literal gains `padright`.
- Docs: ADR 0003 item 9; the architecture guides (App ↔ kernel, the native
  apps table); the README dependency table; AGENTS.md.

Tests:
- router 10, coding scope 4, module ports 2, generator 40;
- desktop shell 850 passed;
- phone shell 927 passed, plus 1 waiting for app-contract 1.3.0 (App Hub
  #92 reserves `octoscode`).

Verified in a hidden desktop shell:
- OctosCode opened a `code-…` session in a picked folder over the port;
- it ran read_file and list_dir;
- answers streamed in full;
- the strip returned to Ready.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant