You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves 9 conflicts arising from PR #10 (policy guardrails) landing on
main after this branch was cut. Strategy:
- Backend files where main has the real new policy feature (engine.ts,
permission-bridge.ts, run-session.ts, sdk/src/types.ts, protocol/src/
policy.ts, harness-server/services/srs-policy-decider.ts): took main's
version, then re-applied the customer-name scrub on top (Lyzr SRS
mentions, hardcoded srs-dev.test.studio.lyzr.ai URL).
- packages/sdk/src/types.ts: kept main's full ComputerAgentOptions
(policy field with structured spec) AND added back the telemetry?
field from the cleanup branch (AgentTelemetry hook). Both fields
coexist.
- 5 source files (engine.ts, permission-bridge.ts, types.ts,
run-session.ts, srs-policy-decider.ts) had stale
'import from "@computeragent/protocol"' lines from PR #10 — that
package name does not exist on public npm (the scope is unowned;
d19ada7 renamed the workspace package to @open-gitagent/protocol).
Updated all 5 imports to @open-gitagent/protocol, matching what the
other 19 workspace packages already use.
- examples/agentos-api.ts: union-merged HEAD's cookie-session login +
/me / /logout endpoints with main's SRS policy proxy block.
Scrubbed LYZR_API_KEY env var → SRS_API_KEY, dropped hardcoded
srs-dev.test.studio.lyzr.ai default (now requires explicit
SRS_BASE_URL).
- agentos files (App.tsx, vite.config.ts): HEAD's shadcn-based version
is strictly newer than main's hand-rolled one (Observability rail
item, AgentCard import, full ui/* primitives). Took HEAD.
Verification:
- pnpm -r build green across all 22 packages
- 0 hits of {lyzr, nordstrom, clawagent, shreyas-lyzr} in source
(excluding gitignored private.md / PLAN.md / docs.md, none of
which make the public surface)
returnnewResponse(JSON.stringify({error: {code: "SRS_NOT_CONFIGURED",message: "SRS_BASE_URL and SRS_API_KEY must be set"}}),{status: 503,headers: {"content-type": "application/json"}});
0 commit comments