Commit graph

17 commits

Author SHA1 Message Date
flemming-it
70f04af438 feat: declareService — persist a host service via the new RPC
Some checks failed
Security / Security check (push) Failing after 1s
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-22 23:56:03 +02:00
flemming-it
a0c5725578 feat: StoreEntry.maintainers — regenerated stubs
Some checks failed
Security / Security check (push) Failing after 2s
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-22 22:01:44 +02:00
flemming-it
0eafaa763a feat: trust/exposure fields — installVerification, keyPinned, exposure
Some checks failed
Security / Security check (push) Failing after 2s
Regenerated stubs for the additive proto: per-entry
StoreEntry.installVerification, StoreSource.keyPinned, the
ListStoresResponse policy snapshot (requireSignatures /
trustedPublisherCount) and DeclaredService.exposure. New
listStoresFull() exposes the response-level snapshot; listStores()
stays as the plain source list.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-21 12:56:35 +02:00
flemming-it
ca9d8f2879 feat: InvocationList.detachedEnabled — detached feature flag on the list RPC
Some checks are pending
Security / Security check (push) Waiting to run
Regenerated stubs for the additive proto field; lets the runs
monitor distinguish 'feature off' from 'on, but no runs yet'.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-18 00:16:36 +02:00
flemming-it
aca36102e4 feat: planSetup — guided-setup plan preview over the hub connection
Some checks failed
Security / Security check (push) Failing after 2s
Wraps the new HubAdmin.PlanSetup RPC (pure plan assembly, no state
change). Regenerated stubs from the updated proto.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-17 00:59:01 +02:00
flemming-it
3381cb1728 feat: expose reload_required in AuthStatus; destale ~/.fai doc comments
Some checks failed
Security / Security check (push) Failing after 2s
Stubs regenerated from the current proto: AuthStatusResponse gains
reload_required (true when the hub's on-disk auth config or its env
vars diverge from the live validator — ReloadAuth pending), and the
generated comments pick up the .chain bundle wording. Hand-written
dartdoc in hub_client.dart updated from the pre-rename ~/.fai paths
and .fai bundle extension.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-15 05:39:22 +02:00
flemming-it
9141a91314 feat: authStatus() — read-only hub auth-policy snapshot
Some checks failed
Security / Security check (push) Failing after 2s
Regenerated stubs for the additive AuthStatus HubAdmin RPC and a
typed wrapper: active validator, anonymous flag, token entries with
scope grants, rate limits and env-var set-state. Secret values never
cross the wire.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-15 00:50:21 +02:00
flemming-it
3fe96c9487 feat: listInvocations() for the detached-runs monitor
Some checks failed
Security / Security check (push) Failing after 1s
Returns every tracked detached invocation (newest-first) with id,
phase, current step, timestamps, error, flow name and project.
Regenerated stubs from the platform hub.proto.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-12 14:34:24 +02:00
flemming-it
dd909b58f4 feat: project registry + per-project filters (stage 1 wire surface)
Some checks are pending
Security / Security check (push) Waiting to run
- listProjects() returns the shared hub's registry (general first;
  sealed areas never appear — they are their own hub instance).
- eventLog, streamEvents and listApprovals take an optional project:
  filter; LoggedEvent, PendingApprovalEntry and FlowSummary carry
  project. Stubs regenerated from the platform's hub.proto.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-12 13:33:08 +02:00
flemming-it
408f0eb850 refactor!: regenerate stubs — wire message FaiError is now ChainError
Some checks failed
Security / Security check (push) Failing after 1s
Lockstep with the platform's proto rename (binary wire-compatible;
protobuf field numbers unchanged).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-11 23:14:21 +02:00
flemming-it
58ff6b2376 chore(proto): regenerate stubs for Submit/RunSavedFlow project field
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-09 19:28:45 +02:00
flemming-it
cbe4478675 chore(proto): regenerate stubs for StoreEntry.canonical_category
Pin to platform hub.proto field 23/24 (canonical_category + label).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-09 17:01:48 +02:00
flemming-it
c46dc58ac3 feat: submitStreaming + detached-invocation client (T2/T3)
Some checks failed
Security / Security check (push) Failing after 2s
Regenerates the gRPC stubs from the updated proto and adds:
- HubClient.submitStreaming(...) -> Stream<SubmitStreamEvent>: follow a
  flow execution live (step markers, module emit-events, terminal
  result/error). Works over native gRPC and, on web, gRPC-Web (the
  same conditional channel factory the rest of the SDK uses).
- submit(..., detach: true) and getInvocationStatus /
  getInvocationResult / cancelInvocation wrappers (T3).
- SubmitStreamEvent + InvocationStatus re-exported as typedefs.

Shared _buildSubmitRequest between submit + submitStreaming. analyze
clean, tests pass.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-06 01:56:43 +02:00
flemming-it
0d2e939867 chore(proto): regenerate hub stubs for StoreEntry.source (22)
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-22 00:59:50 +02:00
flemming-it
9fea05df76 feat(sdk): addStore() accepts pinnedPubkeyPem
Some checks failed
Security / Security check (push) Failing after 1s
Regenerate Dart bindings for AddStoreRequest.pinned_pubkey_pem and
thread it through HubClient.addStore so clients can pin a per-store
publisher key.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-19 02:54:48 +02:00
flemming-it
d07a0a9777 feat(client): listStores / addStore / removeStore for the store manager
Some checks failed
Security / Security check (push) Failing after 2s
Regenerate the gRPC stubs for the new HubAdmin store-management RPCs and
wrap them in HubClient (returns StoreSource list / Add+RemoveStoreResponse)
so Studio can list and edit the module-store list from the GUI.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-18 15:49:23 +02:00
flemming-it
d680cf3462 refactor: regenerate gRPC stubs for chain.v1 wire package
Some checks are pending
Security / Security check (push) Waiting to run
The hub renamed its gRPC package fai.v1 -> chain.v1 (proto dir
proto/fai/v1 -> proto/chain/v1). Move the generated stubs to
generated/chain/v1 and rewrite the wire package + service paths
(/fai.v1.Hub/* -> /chain.v1.Hub/*) so the client talks to the
renamed hub. Pure package rename — no message/field changes.
HubClient public API is unchanged, so dependents need no edits.
dart analyze: clean.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-16 16:59:35 +02:00