Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parsar is an optional, independently started task workspace using only the public
/v1Agents API. It preserves Parsar’s dense list/detail UI and connects Agents, projects, tasks, comments, conversations, capabilities and recurring work through public Sessions. Core builds, deployment and storage remain independent.Web and Feishu are the entry points. Feishu supports multi-bot long connections, group/private routing, quoted/media context, progress and result cards, durable delivery/recovery, QR registration and scheduled delivery. Other IM integrations, accounts and fine-grained product permissions are deferred. Execution is bypass-only.
Feishu onboarding defaults to connecting a bot, choosing an Agent and enabling private chat. The private-chat route is created automatically and new bindings inherit the Agent environment. Group routing, application credentials and delivery diagnostics stay behind advanced controls. Existing routes and shared selections are preserved; re-enabling group access is explicit, and readiness follows the actual transport state.
Build centers on Agent templates and environment templates. Agents own model, harness, instructions, Skills, MCP and their default environment binding. Environment templates prepare npm/Python dependencies, initialization scripts, write-only environment variables and initial text files before execution. Parsar uses only Core-managed hosted environments. Preparation travels inline through the public Session contract; template changes affect future Sessions while retries retain their original request. Feishu entries inherit the Agent default environment or specify an override; existing topics retain their assignment.
Feishu is a template-composed case under
examples/feishu/, including ordinary environment/Agent definitions and a client that imports them through Parsar resource APIs. Environments explicitly map account fields to tool variables; generic dispatch never selects Feishu CLI variables. The provider adapter owns OAuth wire behavior and the common lifecycle owns waiting, resume, refresh and revocation.Personal Feishu connections are product-owned: Agent templates declare application/scopes, while users authorize through a link and QR code. Tasks wait before Core Session creation, then automatically resume after verified consent. Grants are bound to the local operator or matching Feishu sender, refreshed before new Sessions, and revocable. App secrets and refresh tokens remain server-side; only a short-lived user token enters the hosted CLI environment. Existing Session credentials cannot be replaced through the public API, so expired snapshots require a new Session.
The Agent editor groups a single system-prompt area (main instructions plus ordered reusable fragments), model/environment, tools/knowledge and account/behavior. Resource bindings share a searchable selector with inline creation, inspection/editing, version selection and unbinding. Nested resource edits preserve the Agent draft and do not submit it.
Portable product features include model/resource management, per-Agent editor drafts and inline resource creation, Skill versions and directory import, MCP/OAuth credentials, versioned instruction-fragment/knowledge/Plugin capabilities and frontend slots, local Agent MCP exposure, business questions, usage/history, file uploads and artifacts, interval/Cron plans, localization and themes. Sessions expose a safe creation-time configuration summary alongside public Core references. English and Chinese documentation describes configuration and the local access boundary.
Sandbox list/rebuild/renew and external HTTP/A2A Agent executors remain blocked by the public API boundary. No privileged Core endpoint or alternate executor is introduced.
Validation:
outputs/template-check.md; credentials were checked as booleans only. This probe did not call Feishu business APIs.